/* ==========================================================================
   Lusco's Restaurant — "Behind the Curtain" spec build
   Est. 1933 · Taylor, Mississippi · six generations of distinctive dining
   Supper-club warmth: ivory rooms, oxblood velvet, brass hairlines, one
   painterly moment hung like art. Typography carries the appetite appeal.
   ========================================================================== */

:root {
  --ivory:        #f8f4ea;
  --paper:        #fffcf4;
  --ink:          #262019;
  --ink-soft:     #5c5040;
  --ink-muted:    #6b5d4a;
  --oxblood:      #7c2128;
  --oxblood-deep: #591419;
  --delta:        #31424e;
  --delta-deep:   #212e37;
  --brass:        #a98a52;
  --brass-text:   #7d5f2a;
  --brass-light:  #ddc697;
  --walnut:       #3c2a1d;
  --blush:        #f2e2dc;
  --mist:         #e8ebe4;
  --line:         rgba(38, 32, 25, 0.14);
  --line-brass:   rgba(169, 138, 82, 0.45);
  --shadow-soft:  0 20px 46px rgba(38, 32, 25, 0.14);
  --shadow-card:  0 30px 70px rgba(38, 32, 25, 0.12);
  --f-display:    "Cormorant Garamond", Georgia, serif;
  --f-script:     "Pinyon Script", cursive;
  --f-label:      "Jost", -apple-system, BlinkMacSystemFont, sans-serif;
  --container:    1320px;
  --gutter:       clamp(20px, 4vw, 56px);
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-display);
  font-size: 19px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--oxblood); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--oxblood-deep); }
::selection { background: var(--blush); color: var(--oxblood-deep); }
h1, h2, h3, h4, h5 { font-family: var(--f-display); color: var(--ink); font-weight: 600; }
p { margin: 0 0 14px; }
em { font-style: italic; }

.container {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--ivory); padding: 12px 20px; border-radius: 4px;
  font-family: var(--f-label); font-size: 13px; letter-spacing: 0.06em;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--f-label); font-size: 12.5px; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--brass-text); margin: 0 0 14px;
}
.eyebrow--light { color: var(--brass-light); }
.script-line {
  font-family: var(--f-script); font-size: clamp(28px, 3.4vw, 40px); font-weight: 400;
  color: var(--oxblood); line-height: 1; margin: 0 0 18px;
}
.display {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.005em; text-wrap: balance;
}
.display em { font-style: italic; font-weight: 500; color: var(--oxblood); }
.band-delta .display { color: #f4f1e8; }
.band-delta .display em, .band-delta .eyebrow { color: var(--brass-light); }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }

/* ---------- ornament divider (double rule + diamond) ---------- */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; max-width: 240px; margin: 0 auto 26px; }
.ornament .oline { flex: 1; height: 6px; position: relative; }
.ornament .oline::before, .ornament .oline::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--brass);
}
.ornament .oline::before { top: 0; }
.ornament .oline::after { top: 5px; }
.ornament .odot { width: 7px; height: 7px; background: var(--brass); transform: rotate(45deg); flex: none; }
.band-delta .ornament .oline::before, .band-delta .ornament .oline::after { background: var(--brass-light); }
.band-delta .ornament .odot { background: var(--brass-light); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px;
  font-family: var(--f-label); font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; border-radius: 2px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-oxblood { background: var(--oxblood); color: var(--ivory); box-shadow: 0 10px 22px rgba(124, 33, 40, 0.26); }
.btn-oxblood:hover { background: var(--oxblood-deep); color: var(--ivory); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { border-color: var(--oxblood); color: var(--oxblood-deep); }
.btn-ghost-light { background: transparent; color: var(--ivory); border-color: rgba(248, 244, 234, 0.6); }
.btn-ghost-light:hover { border-color: var(--ivory); color: var(--ivory); }
.hdr-cta { font-size: 11.5px; padding: 11px 20px; }
.hdr-cta-sub { opacity: 0.85; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: rgba(248, 244, 234, 0.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr-inner {
  width: calc(100% - var(--gutter) * 2); max-width: var(--container);
  margin-left: auto; margin-right: auto;
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 20px; padding: 10px 0;
}
.brand { display: flex; align-items: flex-start; gap: 10px; }
.brand-logo { width: 46px; height: auto; mix-blend-mode: multiply; }
.brand-est { font-family: var(--f-script); font-size: 20px; color: var(--oxblood); line-height: 1; margin-top: 10px; white-space: nowrap; }
.primary-nav ul { list-style: none; display: flex; gap: clamp(16px, 2vw, 34px); justify-content: center; margin: 0; padding: 0; }
.primary-nav a {
  font-family: var(--f-label); font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft); padding: 6px 0; position: relative; white-space: nowrap;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--oxblood); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after { transform: scaleX(1); }

.hamburger { display: none; appearance: none; background: none; border: 1px solid var(--line); border-radius: 6px; width: 42px; height: 42px; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.hamburger span { width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 16px var(--gutter) 24px; background: var(--ivory); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a { display: block; padding: 13px 0; font-family: var(--f-display); font-size: 21px; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav .m-call { color: var(--oxblood); font-family: var(--f-label); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- curtain-scallop edge (signature motif) ---------- */
.curtain-edge {
  height: 30px; width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 30'%3E%3Cpath d='M0,0 C18,30 54,30 72,0 Z' fill='%237c2128'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 72px 30px;
  background-position: left top;
}
.curtain-edge--hero { position: absolute; left: 0; right: 0; bottom: 0; }
.curtain-edge--footer { margin: 0; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(128px, 17vh, 172px) 0 clamp(66px, 9vw, 100px); background: var(--ivory); }
.hero::before {
  content: ""; position: absolute; top: -260px; left: -220px; width: 620px; height: 620px;
  border-radius: 50%; background: radial-gradient(circle, var(--blush) 0%, rgba(242, 226, 220, 0) 68%);
  pointer-events: none;
}
.hero-inner {
  width: calc(100% - var(--gutter) * 2); max-width: var(--container);
  margin-left: auto; margin-right: auto;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 6vw, 88px); align-items: center;
  position: relative; z-index: 1;
}
.hero-title {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.18; margin: 0 0 24px; letter-spacing: -0.008em;
  max-width: 600px; text-wrap: balance;
}
.hero-title em { font-style: italic; font-weight: 500; color: var(--oxblood); white-space: nowrap; }
.hero-tag { max-width: 480px; font-size: clamp(17.5px, 1.8vw, 20px); color: var(--ink-soft); margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* framed watercolor — hung art */
.hero-art { display: flex; flex-direction: column; align-items: center; }
.gallery-frame {
  position: relative; margin: 14px 0 0; padding: 18px 18px 14px;
  background: var(--paper); box-shadow: var(--shadow-soft);
  width: 100%; max-width: 400px;
}
.gallery-frame::before {
  content: ""; position: absolute; left: 50%; top: -22px; width: 1px; height: 22px;
  background: rgba(38, 32, 25, 0.35); transform: translateX(-50%);
}
.gallery-frame::after {
  content: ""; position: absolute; left: 50%; top: -26px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brass); transform: translateX(-50%); box-shadow: 0 1px 3px rgba(38, 32, 25, 0.4);
}
.frame-inner { border: 3px solid var(--walnut); overflow: hidden; }
.frame-inner picture, .frame-inner img { width: 100%; aspect-ratio: 989 / 1075; object-fit: cover; }
.art-caption {
  font-family: var(--f-display); font-style: italic; font-size: 14.5px; color: var(--ink-muted);
  text-align: center; max-width: 340px; margin: 18px 0 0;
}

/* ---------- heritage strip ---------- */
.heritage { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.heritage-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.h-item { flex: 1; min-width: 140px; text-align: center; padding: 0 14px; position: relative; }
.h-item + .h-item::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--line-brass); }
.h-num { display: block; font-family: var(--f-display); font-weight: 600; font-style: italic; font-size: clamp(19px, 2.2vw, 25px); color: var(--oxblood); line-height: 1; }
.h-lbl { display: block; font-family: var(--f-label); font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); margin-top: 8px; }

/* ---------- bands ---------- */
.band { padding: clamp(76px, 9vw, 124px) 0; }
.band-ivory { background: var(--ivory); }
.band-paper { background: var(--paper); }
.band-blush { background: var(--blush); }
.band-delta { background: linear-gradient(180deg, var(--delta) 0%, var(--delta-deep) 140%); color: #eef1ed; }
.band-delta p { color: rgba(238, 241, 237, 0.86); }

/* ---------- story / booth emblem ---------- */
.story-wrap { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.booth-emblem { display: flex; flex-direction: column; align-items: center; text-align: center; }
.booth-emblem img { width: 100%; max-width: 180px; mix-blend-mode: multiply; }
.booth-emblem-cap { font-family: var(--f-label); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-text); margin: 16px 0 0; }
.story-copy .eyebrow { text-align: left; }
.story-copy h2 { text-align: left; }
.story-copy p { max-width: 640px; }
.story-sign { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 21px; color: var(--oxblood-deep); margin-top: 20px; }

/* ---------- timeline band ---------- */
.timeline { margin-top: clamp(20px, 4vw, 40px); position: relative; }
.timeline-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative;
}
.timeline-row::before {
  content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px;
  background: rgba(221, 198, 151, 0.4);
}
.t-node { position: relative; padding-top: 32px; text-align: left; }
.t-node::before {
  content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--brass-light); border: 2px solid var(--delta-deep);
}
.t-year { display: block; font-family: var(--f-label); font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 8px; }
.t-title { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 19px; color: #fff; margin: 0 0 8px; }
.t-copy { font-size: 15.5px; line-height: 1.6; margin: 0; }
.t-copy cite { display: block; font-family: var(--f-label); font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-light); margin-top: 8px; }

/* ---------- menu keepsake card ---------- */
.band-menu { background: var(--ivory); }
.menu-frame {
  width: calc(100% - var(--gutter) * 2); max-width: 860px;
  margin-left: auto; margin-right: auto; padding: 7px;
  border: 1px solid var(--brass); box-shadow: var(--shadow-card);
}
.menu-card-inner {
  border: 1px solid var(--brass); background: var(--paper);
  padding: clamp(32px, 5vw, 60px) clamp(22px, 5vw, 68px) clamp(40px, 5vw, 58px);
}
.menu-mark {
  text-align: center; font-family: var(--f-script); font-size: 26px; color: var(--oxblood); margin: 0 0 8px;
}
.menu-tagline { text-align: center; font-family: var(--f-label); font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass-text); margin: 0 0 34px; }

.entree-note { text-align: center; font-family: var(--f-display); font-style: italic; font-size: 15px; color: var(--ink-muted); max-width: 480px; margin: -6px auto 34px; padding-top: 20px; border-top: 1px dashed var(--line-brass); }

.menu-section { margin-bottom: 32px; }
.menu-section:last-of-type { margin-bottom: 0; }
.menu-section-head { text-align: center; margin-bottom: 6px; }
.menu-h {
  text-align: center; font-family: var(--f-label); font-weight: 600; font-size: 13.5px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--ink); margin: 0 0 8px; position: relative; padding-bottom: 14px;
}
.menu-h::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 44px; height: 1px; background: var(--brass);
}
.menu-note { text-align: center; font-family: var(--f-display); font-style: italic; font-size: 14.5px; color: var(--ink-muted); margin: 0 0 18px; }

.menu-row { padding: 8px 0; }
.menu-row-top { display: flex; align-items: baseline; gap: 8px; }
.d-name { font-family: var(--f-display); font-weight: 600; font-size: 17.5px; color: var(--ink); }
.leader { flex: 1; border-bottom: 2px dotted var(--brass); opacity: 0.6; margin-bottom: 5px; min-width: 20px; }
.d-price { font-family: var(--f-display); font-weight: 600; font-size: 16.5px; color: var(--oxblood); white-space: nowrap; }
.d-desc { font-family: var(--f-display); font-style: italic; font-size: 14.5px; color: var(--ink-muted); margin: 3px 0 0; }
.d-shared-cap { font-family: var(--f-display); font-style: italic; font-size: 14.5px; color: var(--ink-muted); margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed var(--line-brass); }

.menu-footnote { margin-top: 36px; padding-top: 26px; border-top: 1px dashed var(--line-brass); text-align: center; }
.mf-cash { font-family: var(--f-label); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-soft); margin: 0; }
.mf-cash strong { color: var(--oxblood-deep); }

/* ---------- press ---------- */
.press-wrap { text-align: center; max-width: 780px; }
.lead-quote { margin: 0; }
.lead-quote p {
  font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.38; color: var(--ink); margin: 0 0 16px;
}
.lead-quote cite { font-family: var(--f-label); font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-text); }

/* ---------- visit ---------- */
.visit-card {
  text-align: center; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--oxblood);
  padding: clamp(42px, 6vw, 70px) clamp(24px, 5vw, 78px);
}
.visit-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 46px); margin: 32px 0 36px; text-align: left; }
.visit-cols h3 { font-family: var(--f-label); font-weight: 600; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--oxblood); margin: 0 0 12px; }
.visit-cols p { margin: 0 0 8px; font-size: 16.5px; }
.fine { font-style: italic; font-size: 14.5px; color: var(--ink-muted); }
.callout { font-style: italic; color: var(--ink-soft); }
.big-cta { font-size: 13.5px; padding: 18px 40px; }

/* ---------- footer ---------- */
.site-footer { background: var(--delta-deep); color: #dce2dc; padding: 60px 0 26px; }
.ft-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 58px); }
.ft-brand { font-family: var(--f-display); font-weight: 600; font-size: 25px; color: #fff; margin: 0 0 4px; }
.ft-brand em { font-style: italic; font-weight: 400; color: var(--brass-light); }
.ft-script { font-family: var(--f-script); font-size: 26px; color: var(--brass-light); margin: 0 0 14px; }
.ft-blurb { font-size: 15px; color: #aeb8ae; max-width: 280px; margin: 0; }
.ft-col h5 { font-family: var(--f-label); font-size: 10.5px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brass-light); margin: 0 0 14px; }
.ft-col p { margin: 0 0 8px; font-size: 15.5px; overflow-wrap: break-word; }
.ft-col a { color: #dce2dc; }
.ft-col a:hover { color: #fff; }
.ft-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(220, 226, 220, 0.16); font-family: var(--f-label); font-size: 12px; letter-spacing: 0.04em; color: #97a197; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation: none !important; }
}

/* ---------- responsive ----------
   Desktop composition (two-column hero, 3-col visit, horizontal timeline,
   4-col footer) holds down to 861px; stacked layout begins with the
   hamburger at 860px per spec. */
@media (max-width: 860px) {
  .primary-nav, .hdr-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.open { display: block; }
  .hero { padding-top: 108px; }
  .brand-logo { width: 38px; }
  .brand-est { font-size: 17px; margin-top: 8px; }
  .heritage-row { justify-content: center; }
  .h-item { min-width: 42%; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 400px; margin: 0 auto 8px; }
  .story-wrap { grid-template-columns: 1fr; text-align: center; }
  .booth-emblem { order: -1; }
  .story-copy .eyebrow, .story-copy h2 { text-align: center; }
  .story-copy p { margin-left: auto; margin-right: auto; }
  .timeline-row { grid-template-columns: 1fr; gap: 30px; }
  .timeline-row::before { left: 9px; top: 0; bottom: 0; right: auto; width: 1px; height: auto; }
  .t-node { padding-top: 0; padding-left: 30px; }
  .t-node::before { left: 0; top: 6px; }
  .visit-cols { grid-template-columns: 1fr; text-align: center; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ft-grid { grid-template-columns: 1fr; }
  .menu-row-top { flex-wrap: wrap; row-gap: 4px; }
  .d-name { white-space: normal; flex: 1 1 100%; }
  .leader { order: 2; }
  .d-price { order: 3; margin-left: auto; }
  .hero-title em { white-space: normal; }
}
