/* ============================================================
   OLD 41 RESTAURANT — Design System
   "Golden Hour Roadside" — modern 70s Americana
   Edit the tokens below to re-theme the whole site.
   ============================================================ */

:root {
  /* Color tokens */
  --sand:            #F5EBDD;   /* page background */
  --sand-deep:       #EDDFC9;   /* alternate bands */
  --cream:           #FDF8EF;   /* cards, raised surfaces */
  --white:           #FFFEFB;
  --terracotta:      #C8501E;   /* primary CTA */
  --terracotta-dark: #A23F15;   /* CTA hover / strong text accent */
  --amber:           #E8A33D;   /* highlights, sunburst, stars */
  --amber-soft:      #F3CE8E;   /* subtle fills */
  --espresso:        #2E211A;   /* primary text */
  --espresso-soft:   #6B5645;   /* secondary text */
  --line:            #E2D3BD;   /* hairline borders */

  /* Type */
  --font-display: 'Young Serif', Georgia, serif;
  --font-body: 'Figtree', -apple-system, 'Segoe UI', sans-serif;

  /* Shape & motion */
  --radius: 22px;
  --radius-sm: 14px;
  --arch: 200px 200px 22px 22px;  /* sunrise-arch image shape */
  --shadow: 0 14px 40px -18px rgba(46, 33, 26, .28);
  --ease: cubic-bezier(.22, .7, .3, 1);

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--espresso);
  background: var(--sand);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--amber); color: var(--espresso); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p  { color: var(--espresso-soft); }
strong { color: var(--espresso); }

.container { width: min(1160px, 92vw); margin-inline: auto; }

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 999;
  background: var(--espresso); color: var(--cream);
  padding: .6rem 1.2rem; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .85rem 1.9rem;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1.02rem; text-decoration: none;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
  touch-action: manipulation;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-outline { border-color: var(--espresso); color: var(--espresso); background: transparent; }
.btn-outline:hover { background: var(--espresso); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--espresso); }
.btn-light:hover { background: var(--white); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 6px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(245, 235, 221, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: baseline; gap: .4rem; text-decoration: none; }
.brand-mark {
  font-family: var(--font-display); font-size: 1.55rem; color: var(--espresso); line-height: 1;
}
.brand-mark em { font-style: normal; color: var(--terracotta); }
.brand-sub {
  font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--espresso-soft);
}
.main-nav { display: flex; align-items: center; gap: 1.7rem; }
.main-nav a {
  text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--espresso);
  padding: .35rem 0; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover { color: var(--terracotta); }
.main-nav a[aria-current="page"] { color: var(--terracotta); border-bottom-color: var(--amber); }
.header-cta { display: flex; align-items: center; gap: .8rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 800; text-decoration: none; color: var(--espresso); font-size: 1rem;
}
.header-phone svg { width: 18px; height: 18px; color: var(--terracotta); }
.header-phone:hover { color: var(--terracotta); }
.nav-toggle {
  display: none; background: none; border: 0; width: 48px; height: 48px;
  align-items: center; justify-content: center; color: var(--espresso);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 200; display: none;
}
.mobile-drawer.open { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(46, 33, 26, .55); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
  background: var(--cream); padding: 1.3rem 1.6rem 2rem;
  display: flex; flex-direction: column; gap: .4rem;
  box-shadow: -20px 0 60px rgba(46,33,26,.25);
  animation: drawerIn .28s var(--ease);
}
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.drawer-close { background: none; border: 0; width: 48px; height: 48px; color: var(--espresso); }
.drawer-close svg { width: 26px; height: 26px; }
.drawer-panel nav { display: flex; flex-direction: column; }
.drawer-panel nav a {
  text-decoration: none; color: var(--espresso); font-weight: 700; font-size: 1.15rem;
  padding: .85rem .2rem; border-bottom: 1px solid var(--line);
}
.drawer-panel nav a[aria-current="page"] { color: var(--terracotta); }
.drawer-panel .btn { margin-top: 1.2rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.6rem, 8vw, 6.5rem) 0; }
.section-deep { background: var(--sand-deep); }
.section-espresso { background: var(--espresso); }
.section-espresso h2, .section-espresso h3 { color: var(--cream); }
.section-espresso p { color: #CBB9A8; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--terracotta-dark); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber); border-radius: 2px; }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--amber); border-radius: 2px; }
.section-head p { margin-top: .9rem; font-size: 1.06rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow);
}

/* Sunrise arch image */
.arch-img { border-radius: var(--arch); overflow: hidden; }
.arch-img img { width: 100%; height: 100%; object-fit: cover; }

/* Stars */
.stars { display: inline-flex; gap: 3px; color: var(--amber); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--espresso);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  text-align: center;
}
.page-hero::before {
  /* sunburst rays */
  content: ""; position: absolute; left: 50%; top: 100%;
  width: 1700px; height: 1700px; transform: translate(-50%, -22%);
  background: repeating-conic-gradient(from -90deg at 50% 50%,
    rgba(232, 163, 61, .14) 0deg 6deg, transparent 6deg 16deg);
  border-radius: 50%; pointer-events: none;
}
.page-hero::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%);
  width: min(900px, 120vw); height: 110px;
  background: var(--sand); border-radius: 100% 100% 0 0 / 200% 200% 0 0;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--cream); margin: .4rem 0 .9rem; }
.page-hero p { color: #D8C6B4; max-width: 620px; margin-inline: auto; font-size: 1.08rem; }
.page-hero .eyebrow { color: var(--amber); }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { background: var(--terracotta); }
.breadcrumbs {
  position: relative; z-index: 2;
  display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap;
  margin-top: 1.4rem; font-size: .88rem; color: #B49A82;
}
.breadcrumbs a { color: #D8C6B4; text-decoration: none; }
.breadcrumbs a:hover { color: var(--amber); }

/* Quick answer (AEO) */
.quick-answer {
  background: var(--cream); border: 1px solid var(--line); border-left: 6px solid var(--amber);
  border-radius: var(--radius-sm); padding: 1.4rem 1.6rem; margin-bottom: 2.2rem;
}
.quick-answer h2 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta-dark); margin-bottom: .5rem; }
.quick-answer p { color: var(--espresso); font-size: 1.05rem; }

/* Key facts table */
.facts-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.facts-table th, .facts-table td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
.facts-table th { color: var(--espresso-soft); font-weight: 600; white-space: nowrap; width: 38%; }
.facts-table td { color: var(--espresso); font-weight: 600; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }

/* ---------- FAQ accordion ---------- */
.faq-item {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: .9rem; overflow: hidden;
}
.faq-item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem; font-weight: 700; font-size: 1.05rem; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--sand-deep); color: var(--terracotta-dark);
  display: grid; place-items: center; transition: transform .25s var(--ease), background .2s;
}
.faq-item summary .faq-icon svg { width: 16px; height: 16px; }
.faq-item[open] summary .faq-icon { transform: rotate(45deg); background: var(--amber-soft); }
.faq-item .faq-body { padding: 0 1.4rem 1.25rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; }
.form-grid .row2 { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .4rem; }
.field label .req { color: var(--terracotta); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--espresso); font: inherit;
  transition: border-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--amber); outline: none; }
.form-note { font-size: .88rem; color: var(--espresso-soft); }
.form-success {
  display: none; background: #E8F3E4; border: 1px solid #BBDCB0; color: #2E5524;
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-weight: 600;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--espresso); color: #CBB9A8;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; margin-top: 0;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%) translateY(-55%);
  width: 1300px; height: 1300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,163,61,.12) 0%, transparent 62%);
  pointer-events: none;
}
.footer-grid {
  position: relative; display: grid; gap: 2.4rem;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr; margin-bottom: 2.6rem;
}
.footer-brand .brand-mark { color: var(--cream); font-size: 1.7rem; }
.footer-brand p { margin-top: .8rem; font-size: .95rem; max-width: 300px; }
.site-footer h4 { color: var(--cream); font-size: 1.02rem; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.site-footer ul { list-style: none; display: grid; gap: .55rem; font-size: .96rem; }
.site-footer a { color: #CBB9A8; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--amber); }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; }
.footer-hours strong { color: var(--cream); }
.footer-bottom {
  position: relative; border-top: 1px solid rgba(232,163,61,.18); padding-top: 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: #AD9784;
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .4s; }

/* Sticky mobile call bar */
.mobile-call-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(46,33,26,.96); backdrop-filter: blur(8px);
  gap: .7rem;
}
.mobile-call-bar .btn { flex: 1; min-height: 50px; font-size: .98rem; padding: .6rem 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .form-grid .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 74px; }
  .header-phone span { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
