/* Snack Chez Joe — warm bistro-café identity
   Palette: deep wood + cream + gold + burgundy accent
   Type:    Fraunces (variable serif, characterful italics), Inter (body)
*/

:root {
  --bg: #1a100a;
  --bg-soft: #2a1a10;
  --bg-deep: #110a05;
  --ink: #f5ecd9;
  --ink-dim: #b8a989;
  --gold: #d4a24c;
  --gold-bright: #ebbe66;
  --burgundy: #8b2332;
  --burgundy-bright: #b13142;
  --line: rgba(245, 236, 217, 0.12);
  --radius: 14px;
  --maxw: 1200px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.6);

  --display: "Fraunces", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
}
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 1rem;
  background: var(--gold); color: var(--bg-deep); padding: .5rem 1rem; font-weight: 700;
}
.skip-link:focus { left: 1rem; z-index: 1000; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--pad);
  background: rgba(26, 16, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  display: inline-flex; align-items: center; gap: .7rem;
}
.nav__mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}
.nav__mark em {
  font-style: italic;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.nav__links {
  display: flex; gap: clamp(1rem, 3vw, 2rem); align-items: center;
  font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em;
}
.nav__links a { color: var(--ink-dim); transition: color .15s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { color: var(--gold) !important; font-weight: 700 !important; }
.nav__phone {
  background: var(--gold); color: var(--bg-deep) !important;
  padding: .5rem .9rem; border-radius: 999px;
  font-weight: 800; letter-spacing: .02em;
}
.nav__phone:hover { background: var(--gold-bright); color: var(--bg-deep) !important; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 800px);
  display: grid; place-items: center;
  padding: clamp(3rem, 8vw, 6rem) var(--pad);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(212, 162, 76, 0.10), transparent 60%),
    radial-gradient(80% 60% at 0% 100%, rgba(139, 35, 50, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  overflow: hidden;
  text-align: center;
}
.hero__glow {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(-18deg,
      transparent 0 120px,
      rgba(245, 236, 217, 0.015) 120px 122px);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 900px; }
.hero__kicker {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .78rem;
  margin: 0 0 1.25rem;
}
.hero__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  line-height: .92;
  margin: 0;
  letter-spacing: -0.02em;
  display: flex; flex-direction: column; align-items: center;
  gap: .1em;
  color: var(--ink);
}
.hero__word { display: block; }
.hero__word--italic {
  font-style: italic;
  font-weight: 900;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: .9em;
}
/* SplitText creates char divs — propagate the gradient fill so they render */
.hero__word--italic > div {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  margin: 1.6rem auto 0;
  color: var(--ink-dim);
  font-weight: 500;
}
.hero__tagline .dot { color: var(--gold); margin: 0 .5rem; }
.hero__cta {
  display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap;
  margin-top: 2rem;
}
.hero__meta {
  margin-top: 2.5rem;
  color: var(--ink-dim);
  font-size: .9rem;
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  text-transform: uppercase; letter-spacing: .12em;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: .95rem;
  letter-spacing: .03em; text-transform: uppercase;
  transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--gold);
  color: var(--bg-deep);
  box-shadow: 0 10px 24px -10px rgba(212, 162, 76, 0.6);
}
.btn--primary:hover { background: var(--gold-bright); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg-deep); }
.btn--burgundy {
  background: var(--burgundy);
  color: var(--ink);
  box-shadow: 0 10px 24px -12px rgba(139, 35, 50, 0.7);
}
.btn--burgundy:hover { background: var(--burgundy-bright); }
.btn--big { padding: 1.1rem 2rem; font-size: 1rem; }
.btn__badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--bg-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ---------- STRIP MARQUEE ---------- */
.strip {
  background: #ebe0c6;
  color: var(--bg-deep);
  overflow: hidden;
  border-top: 2px solid var(--bg-deep);
  border-bottom: 2px solid var(--bg-deep);
}
.strip__track {
  display: flex;
  width: max-content;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.8vw, 1.9rem);
  letter-spacing: .01em;
  padding: .9rem 0;
  white-space: nowrap;
  will-change: transform;
  animation: slide 32s linear infinite;
}
.strip__track span { display: inline-block; flex-shrink: 0; margin-right: 2rem; }
.strip__track span:nth-child(even) { color: var(--burgundy); }
@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---------- SECTIONS ---------- */
section { padding: clamp(4rem, 8vw, 7rem) var(--pad); }
.section__head { max-width: var(--maxw); margin: 0 auto 3rem; text-align: center; }
.section__kicker {
  color: var(--burgundy-bright);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  margin: 0 0 .9rem;
}
.section__kicker--light { color: var(--gold); }
.section__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.015em;
}
.section__title--light { color: var(--ink); }
.hl {
  font-style: italic;
  font-weight: 900;
  color: var(--gold-bright);
}
.hl--gold { color: var(--gold-bright); }
.section__lede {
  max-width: 640px; margin: 1.3rem auto 0;
  color: var(--ink-dim); font-size: 1.05rem;
}

/* ---------- MENU CARDS ---------- */
.menu { background: var(--bg); }
.cards {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.2,.7,.2,1),
              border-color .25s ease,
              box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 24px 44px -28px rgba(212, 162, 76, 0.45);
}
.card__media {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-deep);
  cursor: zoom-in;
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card__media img { transform: scale(1.06); }
.card__tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--gold); color: var(--bg-deep);
  font-size: .72rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 4px;
}
.card__body { padding: 1.3rem 1.4rem 1.6rem; }
.card__body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  margin: 0 0 .5rem;
  color: var(--ink);
}
.card__body p { margin: 0; color: var(--ink-dim); font-size: .95rem; }

.menu__note {
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  text-align: center;
  color: var(--ink-dim);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .18em;
}

/* ---------- ORDER ---------- */
.order {
  background:
    radial-gradient(60% 100% at 80% 20%, rgba(212, 162, 76, 0.12), transparent 70%),
    radial-gradient(50% 80% at 10% 80%, rgba(139, 35, 50, 0.18), transparent 70%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.order__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.order__brand {
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  padding: 2.4rem 2rem 1.8rem;
  background: var(--bg-deep);
  border: 1px solid rgba(212, 162, 76, 0.12);
  border-radius: 18px;
  min-width: 240px;
  box-shadow: 0 24px 50px -32px rgba(0, 0, 0, 0.8);
}
.order__brand-tile {
  display: grid; place-items: center;
  width: 168px; height: 168px;
}
.order__brand-tile img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 22px;
}
.order__phone-art {
  width: 96px; height: 96px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--bg-deep);
  display: grid; place-items: center;
}
.order__partner {
  margin: 0;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--gold-bright);
  font-weight: 800;
  text-align: center;
  line-height: 1.4;
}
.order__body { text-align: left; }
.order__lede {
  color: var(--ink-dim);
  font-size: 1.05rem;
  margin: 1.3rem 0 1.8rem;
  max-width: 560px;
}
.order__lede strong { color: var(--gold-bright); font-weight: 800; }
.order__cta {
  display: flex; gap: .8rem; flex-wrap: wrap;
  margin-bottom: 1.3rem;
}
.order__note {
  margin: 0;
  font-size: .82rem;
  color: var(--ink-dim);
  letter-spacing: .04em;
  max-width: 560px;
}

/* ---------- HOURS ---------- */
.hours {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hours__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hours__left { text-align: left; }
.hours__lede { color: var(--ink-dim); margin: 1.2rem 0 1.8rem; max-width: 440px; }
.hours__list {
  list-style: none; padding: 0; margin: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.hours__list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.hours__list li:last-child { border-bottom: none; }
.hours__list span {
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-dim);
  font-size: .85rem;
}
.hours__list strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--gold-bright);
}

/* ---------- ACCESS ---------- */
.access { background: var(--bg); }
.access__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: stretch;
}
.access__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  background: var(--bg-soft);
}
.access__map iframe {
  width: 100%; height: 100%; border: 0; min-height: 420px;
  filter: saturate(0.85) contrast(1.05);
}
.access__info {
  display: flex; flex-direction: column; gap: 1.2rem;
  justify-content: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.info-block__label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .22em;
  color: var(--gold); margin: 0 0 .35rem; font-weight: 700;
}
.info-block__value { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.info-block__value a { border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.info-block__value a:hover { color: var(--gold-bright); }
.info-block__socials { display: flex; gap: .7rem; flex-wrap: wrap; margin: 0; }
.info-block__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--bg);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.info-block__socials a:hover {
  background: var(--gold);
  color: var(--bg-deep);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.info-block__socials svg { display: block; }

/* ---------- FOOTER ---------- */
.foot {
  background: var(--bg-deep);
  padding: 3rem var(--pad) 2rem;
  text-align: center;
  border-top: 4px solid var(--gold);
}
.foot__brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  line-height: 1;
}
.foot__brand em {
  font-style: italic;
  font-weight: 900;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.foot__tag {
  color: var(--gold);
  font-weight: 700; text-transform: uppercase; letter-spacing: .18em;
  font-size: .8rem;
  margin: .6rem 0 1.8rem;
}
.foot__legal { color: var(--ink-dim); font-size: .8rem; margin: 0; }
.foot__legal a { color: var(--ink); border-bottom: 1px solid var(--line); }
.foot__credit {
  margin: 1.4rem 0 0;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.foot__credit a {
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.foot__credit a:hover { border-bottom-color: var(--gold); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 820px) {
  .order__inner { grid-template-columns: 1fr; }
  .order__brand { flex-direction: row; justify-content: flex-start; max-width: 100%; }
  .order__phone-art { width: 72px; height: 72px; }
  .order__phone-art svg { width: 42px; height: 42px; }
  .access__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hours__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { padding: .8rem var(--pad); }
  .nav__name { display: none; }
  .nav__links { gap: .9rem; font-size: .8rem; }
  .nav__links a:not(.nav__phone) { display: none; }
  .nav__phone { display: inline-flex; }
}

/* ---------- MOBILE TYPOGRAPHY POLISH ---------- */
@media (max-width: 640px) {
  .hero { min-height: min(88vh, 720px); }
  .hero__kicker { font-size: .72rem; letter-spacing: .2em; }
  .hero__title {
    line-height: .95;
    letter-spacing: -0.01em;
  }
  .hero__tagline { font-size: 1rem; line-height: 1.4; }
  .hero__meta { font-size: .75rem; letter-spacing: .1em; margin-top: 2rem; }
  .hero__cta .btn { padding: .85rem 1.3rem; font-size: .88rem; }

  .strip__track { padding: .75rem 0; animation-duration: 24s; }
  .strip__track span { margin-right: 1.5rem; }

  .section__kicker { font-size: .72rem; letter-spacing: .18em; }
  .section__title { line-height: 1.05; letter-spacing: -0.01em; }
  .section__lede { font-size: .98rem; }

  .card__body h3 { font-size: 1.35rem; }
  .card__body p { font-size: .92rem; }

  .hours__list li { padding: .85rem 1.15rem; }
  .hours__list strong { font-size: 1.1rem; }

  .order__lede { font-size: 1rem; }
  .order__note { font-size: .78rem; line-height: 1.5; }
}

/* ================================================================
   PREMIUM TIER — interactions, gated by pointer:fine & reduced-motion
   ================================================================ */

/* ----- Native smooth scroll (no JS hijack) ----- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ----- Nav intensify on scroll ----- */
.nav {
  transition: background .3s ease, border-color .3s ease, padding .25s ease;
}
.nav.is-scrolled {
  background: rgba(17, 10, 5, 0.92);
  border-bottom-color: rgba(212, 162, 76, 0.25);
  padding-top: .7rem;
  padding-bottom: .7rem;
}

/* ----- Hero mesh backdrop (STATIC — was the biggest twitch source) -----
   Animated blurred layers re-rasterize every frame. Keep the warm color bloom
   as a static layer — it still reads premium and costs nothing. */
.hero__mesh {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 35% at 100% 0%, rgba(212, 162, 76, 0.08), transparent 70%),
    radial-gradient(40% 35% at 0% 100%, rgba(139, 35, 50, 0.08), transparent 70%);
}

/* ----- Reveals: pure CSS, no JS frame loop -----
   Hero elements fade-up on page load with stagger.
   [data-reveal] blocks animate when IntersectionObserver adds .is-visible. */
@keyframes rise-in {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

.hero__word.split,
.hero__kicker.reveal,
.hero__tagline.reveal,
.hero__cta.reveal,
.hero__meta.reveal {
  opacity: 0;
  animation: rise-in .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__word.split                     { animation-delay: .05s; }
.hero__word--italic.split             { animation-delay: .25s; }
.hero__kicker.reveal                  { animation-delay: .45s; }
.hero__tagline.reveal                 { animation-delay: .60s; }
.hero__cta.reveal                     { animation-delay: .75s; }
.hero__meta.reveal                    { animation-delay: .90s; }

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .hero__word.split,
  .hero__kicker.reveal,
  .hero__tagline.reveal,
  .hero__cta.reveal,
  .hero__meta.reveal,
  [data-reveal] {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ----- Button lift on hover (pure CSS — premium cue, zero per-frame cost) ----- */
.magnetic {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, background .2s, color .2s, border-color .2s;
}
.magnetic:hover { transform: translateY(-2px) scale(1.02); }

/* ----- Card hover: already handled by .card:hover (lift + image zoom) -----
   .tilt is kept as a marker class in case we add non-transform treatments later. */
.tilt { position: relative; }

/* ----- Featured card: subtle static zoom — no infinite animation ----- */
.kenburns img { transform: scale(1.04); }

/* ----- Featured card visual emphasis ----- */
.card--featured {
  position: relative;
  border-color: rgba(212, 162, 76, 0.4);
  box-shadow: 0 30px 60px -40px rgba(212, 162, 76, 0.55);
}
.card--featured::before {
  content: "✦ Signature";
  position: absolute;
  top: -10px; right: 1.2rem;
  background: var(--burgundy);
  color: var(--ink);
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  padding: .35rem .8rem;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 8px 18px -8px rgba(139, 35, 50, 0.6);
}
.card--featured .card__tag { display: none; }

/* Let the spotlight pass above map but below modal content */
.hero, .menu, .order, .hours, .access { position: relative; z-index: 1; }
.nav { z-index: 50; }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition: none !important; }
  html { scroll-behavior: auto; }
  /* Keep decorative branding marquee alive — it's the heartbeat of the page */
  .strip__track { animation: slide 32s linear infinite !important; }
  @media (max-width: 640px) {
    .strip__track { animation-duration: 24s !important; }
  }
}

/* ================================================================
   CONTACT: premium form, bistro palette, solid card (Brave-safe).
   ================================================================ */
.contact {
  background:
    radial-gradient(60% 100% at 80% 20%, rgba(212, 162, 76, 0.10), transparent 70%),
    radial-gradient(50% 80% at 10% 80%, rgba(139, 35, 50, 0.14), transparent 70%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: stretch;
}
.contact__head { display: flex; flex-direction: column; justify-content: center; text-align: left; }
.contact__lede {
  color: var(--ink-dim);
  font-size: 1.05rem;
  margin: 1.2rem 0 0;
  max-width: 460px;
}

/* Form card: no backdrop-filter (Brave-friendly compositor). */
.contact-form {
  position: relative;
  background: linear-gradient(180deg, rgba(42, 26, 16, 0.95), rgba(26, 16, 10, 0.98));
  border: 1px solid rgba(212, 162, 76, 0.18);
  border-radius: 18px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow:
    0 30px 70px -40px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(245, 236, 217, 0.03) inset;
}
.contact-form__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
  color: var(--ink);
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form__honey {
  position: absolute !important;
  left: -9999px !important; top: -9999px !important;
  opacity: 0; pointer-events: none;
}

.field {
  display: block;
  margin-bottom: 1.05rem;
}
.field__label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold);
  margin: 0 0 .45rem;
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: rgba(17, 10, 5, 0.55);
  border: 1px solid rgba(245, 236, 217, 0.12);
  border-radius: 10px;
  padding: .85rem 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(184, 169, 137, 0.55);
}
.field input:hover,
.field textarea:hover {
  border-color: rgba(212, 162, 76, 0.35);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(17, 10, 5, 0.75);
  box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.18);
}
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(177, 49, 66, 0.55);
}

.contact-form__actions {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap;
  margin-top: .4rem;
}
.contact-form__actions .btn {
  flex: 1 1 auto;
  min-width: 180px;
  justify-content: center;
}

.contact-form__status {
  margin-top: 1rem;
  font-size: .92rem;
  min-height: 1.4em;
  line-height: 1.4;
}
.contact-form__status.is-ok    { color: #9bd5a3; }
.contact-form__status.is-error { color: #e8a7af; }
.contact-form__status.is-pending { color: var(--gold); }

@media (max-width: 820px) {
  .contact__inner { grid-template-columns: 1fr; }
  .contact__channels { max-width: none; }
}
@media (max-width: 540px) {
  .contact-form__row { grid-template-columns: 1fr; gap: 0; }
}
