/* Option 4 — "As It Is Today"
   A reproduction of the live BentoBox site, measured off smithfieldpizzahouse.com
   so the owners can compare the three new directions against what they already
   have. Loads after v-common.css.

   Measured from the live site:
     body            #303030, white, Open Sans 16 / 1.8
     display face    Unica One 400, letter-spacing 1–2px  (h1 60, h2 44)
     sidebar         .site-header-desktop — position fixed, 300px, #303030
     buttons         2px solid #fff, square, Unica One 18.4px, padding 4.8px 20px
     split columns   two halves, centred text, 0 30px padding
*/

:root {
  --bg:        #303030;
  --bg-2:      #303030;
  --surface:   #3a3a3a;
  --ink:       #ffffff;
  --ink-2:     #e2e2e2;
  --dim:       #b3b3b3;
  --line:      rgba(255,255,255,.22);
  --accent:    #ffffff;
  --accent-ink:#303030;
  --accent-2:  #ffffff;
  --alert:     #c8102e;

  --rail: 300px;

  --sans: "Unica One", "Arial Narrow", sans-serif;   /* display */
  --serif: "Open Sans", system-ui, sans-serif;       /* body */
  --radius: 0px;
  --pad: 30px;
  --measure: 40rem;
}

body { font-family: var(--serif); font-size: 16px; line-height: 1.8; }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.15;
}

/* ───────────────────────── fixed rail ─────────────────────────
   The live site uses position:fixed here. This uses a sticky rail
   inside a flex row instead, which behaves the same but cannot cover
   the design-option bar sitting above it. */
.bento { display: flex; align-items: flex-start; }
.rail {
  position: sticky; top: 0; height: 100vh;
  flex: 0 0 var(--rail); width: var(--rail);
  background: #303030; z-index: 60;
  display: flex; flex-direction: column; align-items: center;
  padding: 18px 8px 20px; overflow-y: auto; text-align: center;
}
.rail__logo { width: 285px; max-width: 100%; display: block; }
.rail__addr {
  font-family: var(--serif); font-size: 13px; line-height: 1.55;
  color: #fff; margin: 14px 0 4px;
}
.rail__addr a { color: #fff; text-decoration: none; }
.rail__btn {
  display: block; width: 240px; margin: 14px auto;
  border: 2px solid #fff; color: #fff; text-decoration: none;
  font-family: var(--sans); font-size: 18.4px; letter-spacing: 2px;
  padding: 5px 20px;
}
.rail__btn:hover { background: #fff; color: #303030; }
.rail__nav { width: 285px; margin: 6px auto 0; }
.rail__nav a {
  display: block; padding: 8px; color: #fff; text-decoration: none;
  font-family: var(--sans); font-size: 18.4px; letter-spacing: 2px;
  border-bottom: 1px solid var(--line);
}
.rail__nav a:first-child { border-top: 1px solid var(--line); }
.rail__nav a:hover, .rail__nav a[aria-current="page"] { color: #bdbdbd; }
.rail__foot { margin-top: auto; padding-top: 18px; font-size: 11px; letter-spacing: 1px; color: #8d8d8d; font-family: var(--sans); }

/* ───────────────────────── content column ───────────────────── */
.stage { flex: 1 1 auto; min-width: 0; }

.alertbar {
  background: #fff; color: var(--alert);
  font-family: var(--serif); font-size: 16px; text-align: center;
  padding: 12px 40px 12px 30px; position: relative;
}
.alertbar a { color: var(--alert); }
.alertbar__x {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #303030; font-size: 18px; cursor: pointer; line-height: 1;
}
.noticebar {
  background: #fff; color: #303030; text-align: center;
  font-family: var(--serif); font-size: 16px; padding: 10px 30px 16px;
}
.noticebar b { display: block; font-weight: 600; }

/* hero carousel */
.bhero { position: relative; height: 585px; overflow: hidden; background: #1d1d1d; }
.bhero__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background-size: cover; background-position: center;
}
.bhero__slide.is-on { opacity: 1; }
.bhero__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #fff; font-size: 44px; line-height: 1;
  padding: 10px 18px; cursor: pointer; text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.bhero__btn--prev { left: 6px; }
.bhero__btn--next { right: 6px; }
.bhero__scroll {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  font-family: var(--sans); font-size: 13px; letter-spacing: 2px; color: #fff; opacity: .85;
}

/* centred text block */
.bone { text-align: center; padding: 96px 30px 104px; }
.bone h1 { font-size: 60px; margin: 0 0 .35em; }
.bone p { font-size: 44px; font-family: var(--sans); letter-spacing: 1px; margin: 0 auto; max-width: 30em; }

/* split rows */
.bsplit { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.bsplit--alt .bsplit__media { order: 2; }
.bsplit__media { min-height: 520px; background-size: cover; background-position: center; }
.bsplit__col { text-align: center; padding: 60px 30px; }
.bsplit__col h2 { font-size: 44px; margin: 0 0 .5em; }
.bsplit__col p { font-size: 16px; line-height: 1.8; margin: 0 auto 1.6em; max-width: 34em; }

.bbtn {
  display: inline-block; border: 2px solid #fff; color: #fff; text-decoration: none;
  font-family: var(--sans); font-size: 18.4px; letter-spacing: 1px; padding: 5px 20px;
}
.bbtn:hover { background: #fff; color: #303030; }

/* dimmed overlay tout */
.btout {
  position: relative; min-height: 585px; display: grid; place-items: center;
  background-size: cover; background-position: center; text-align: center;
}
.btout::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.btout__in { position: relative; padding: 60px 30px; max-width: 46em; }
.btout__in h2 { font-size: 44px; margin: 0 0 .4em; text-transform: uppercase; }
.btout__in p { margin: 0 auto 1.4em; }

.bfoot {
  text-align: center; padding: 56px 30px; border-top: 1px solid var(--line);
  font-family: var(--sans); letter-spacing: 2px;
}
.bfoot a { color: #fff; text-decoration: none; display: inline-block; margin: 0 14px; }
.bfoot a:hover { color: #bdbdbd; }
.bfoot small { display: block; margin-top: 18px; font-family: var(--serif); letter-spacing: 0; color: var(--dim); font-size: 13px; }

/* ── the shared interior bodies, dressed the BentoBox way ── */
.pagehead { text-align: center; padding: 70px 30px 0; }
.pagehead h1 { font-size: 60px; }
.pagehead p { margin-left: auto; margin-right: auto; color: var(--ink-2); }
.menunav { background: #272727; border-color: var(--line); }
.menunav a { color: #fff; font-family: var(--sans); letter-spacing: 1px; font-size: 16px; font-weight: 400; }
.menunav a:hover { background: #3a3a3a; }
.menusection__head { border-bottom-color: var(--line); }
.menusection h2 { font-size: 40px; }
.item__name { font-family: var(--sans); font-weight: 400; font-size: 20px; letter-spacing: 1px; }
.item__price { font-family: var(--sans); font-weight: 400; font-size: 19px; }
.item__size { font-family: var(--serif); }
.item { border-bottom-color: var(--line); }
.item__leader { border-bottom-color: var(--line); }
.hourcard { background: #383838; border-color: var(--line); }
.hourcard dt { font-family: var(--sans); font-weight: 400; letter-spacing: 1px; font-size: 18px; }
.hourcard dd { font-family: var(--serif); }
.hourcard dl > div { border-bottom-color: var(--line); }
.band { background: #272727; color: #fff; }
.band .btn { background: transparent; color: #fff; border: 2px solid #fff; font-family: var(--sans); font-weight: 400; letter-spacing: 1px; }
.btn { font-family: var(--sans); font-weight: 400; letter-spacing: 1px; }
.footnote { border-left-color: #fff; color: var(--dim); }
.field input, .field textarea { background: #383838; color: #fff; border-color: var(--line); }
.field span { font-family: var(--sans); font-weight: 400; letter-spacing: 1px; }

@media (max-width: 1024px) {
  .bento { display: block; }
  .rail {
    position: static; width: auto; height: auto; inset: auto;
    flex-direction: column; padding: 16px 20px 22px;
  }
  .bsplit { grid-template-columns: 1fr; }
  .bsplit--alt .bsplit__media { order: 0; }
  .bsplit__media { min-height: 300px; }
  .bhero { height: 380px; }
  .bone h1 { font-size: 40px; }
  .bone p, .bsplit__col h2, .btout__in h2 { font-size: 30px; }
  .pagehead h1 { font-size: 40px; }
}

/* ── page types the interior pages use ───────────────────────── */

/* title banner: the live Events and Menus pages open with one */
.bbanner {
  min-height: 420px; display: grid; place-items: center; text-align: center;
  padding: 60px 30px; position: relative;
}
.bbanner--short { min-height: 300px; }
.bbanner h1 { font-size: 60px; margin: 0; max-width: 18em; }
.bbanner__chev { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font-size: 30px; opacity: .8; }

/* running prose */
.bprose { max-width: 52em; margin: 0 auto; padding: 0 30px 70px; text-align: center; }
.bprose h2 { font-size: 44px; margin: 0 0 .5em; }
.bprose p { font-size: 16px; line-height: 1.8; margin: 0 auto 1.4em; max-width: 46em; }

/* three-up info columns on Hours & Location */
.bcols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  max-width: 1100px; margin: 0 auto; padding: 0 30px 80px; text-align: center;
}
.bcols h2 { font-size: 30px; margin: 0 0 .6em; }
.bcols p { font-size: 16px; line-height: 1.8; margin: 0 auto 1em; }
.bcols a { color: #fff; }
.bmap { padding: 0 0 70px; }
.bmap iframe { display: block; border: 0; }

/* forms on Contact and Jobs */
.bform { max-width: 640px; margin: 0 auto; padding: 0 30px 90px; }
.bform .field span { font-family: var(--serif); font-size: 14px; letter-spacing: 0; color: var(--ink-2); }
.bform input, .bform textarea, .bform select {
  width: 100%; font: inherit; font-family: var(--serif); font-size: 16px;
  padding: 10px 12px; background: #3a3a3a; color: #fff;
  border: 1px solid var(--line); border-radius: 0;
}
.bform textarea { min-height: 150px; resize: vertical; }
.bform button { background: none; cursor: pointer; margin-top: 8px; }
.bform__note { font-size: 13px; color: var(--dim); margin-top: 18px; line-height: 1.6; }

/* the live menu sets item names in caps */
.item__name { text-transform: uppercase; }

@media (max-width: 1024px) {
  .bcols { grid-template-columns: 1fr; }
  .bbanner h1 { font-size: 40px; }
  .bbanner { min-height: 280px; }
}
