/* =====================================================================
   Sweet Cordelia's Cake & Bake Shoppe
   Premium patisserie design system
   Palette drawn from the bakery's real storefront sign:
   dusty blush + warm taupe-gold serif + ivory
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Neutrals */
  --ivory:        #FBF7F1;
  --ivory-2:      #F5ECE2;   /* warm sand */
  --cream:        #FFFFFF;
  --sand:         #EFE3D6;

  /* Brand */
  --blush:        #E7D0CB;   /* sign background */
  --blush-soft:   #F2E2DD;
  --rose:         #D2A9A1;   /* deeper rose */
  --bronze:       #A87A56;   /* gold-taupe lettering */
  --bronze-deep:  #8C633F;
  --plum:         #5E3A44;   /* deep accent from buttercream roses */

  /* Ink */
  --espresso:     #36291F;   /* primary text (warm near-black) */
  --cocoa:        #5A4A3D;   /* secondary text */
  --muted:        #8A7868;   /* tertiary / captions */
  --hairline:     rgba(54, 41, 31, 0.14);

  /* Type */
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans:    "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vh, 156px);
  --radius: 4px;
  --radius-lg: 10px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;

  --shadow-sm: 0 2px 14px rgba(54,41,31,0.07);
  --shadow:    0 18px 50px -22px rgba(54,41,31,0.32);
  --shadow-lg: 0 40px 90px -40px rgba(54,41,31,0.45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--espresso);
  background: var(--ivory);
  line-height: 1.72;
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.125rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--rose); color: #fff; }

/* ---------- Grain overlay ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--bronze), var(--rose));
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-block;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  background: var(--bronze);
  vertical-align: middle;
  margin-right: 14px;
  margin-bottom: 3px;
}
.eyebrow.center::after {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  background: var(--bronze);
  vertical-align: middle;
  margin-left: 14px;
  margin-bottom: 3px;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.05; letter-spacing: 0.005em; color: var(--espresso); }
.display { font-size: clamp(2.8rem, 7vw, 6.5rem); line-height: 0.98; font-weight: 500; }
.h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
.h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.serif-italic { font-style: italic; }
.lede { font-size: clamp(1.12rem, 1.4vw, 1.4rem); line-height: 1.7; color: var(--cocoa); font-weight: 300; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1480px; }
.container-narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.bg-ivory2 { background: var(--ivory-2); }
.bg-blush { background: var(--blush-soft); }
.bg-espresso { background: var(--espresso); color: var(--blush-soft); }
.bg-espresso h1,.bg-espresso h2,.bg-espresso h3 { color: var(--ivory); }
.center { text-align: center; }
.lead-block { max-width: 720px; }
.lead-block.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--espresso);
  --fg: var(--ivory);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 1.02em 2.1em;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--bg);
  border-radius: 100px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.4s var(--ease);
  z-index: 0;
}
.btn span { position: relative; z-index: 2; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--bronze);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--bronze); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(0) scale(0.985); }

.btn--outline { --bg: transparent; --fg: var(--espresso); border-color: var(--espresso); }
.btn--outline:hover { color: var(--ivory); }
.btn--light { --bg: var(--ivory); --fg: var(--espresso); }
.btn--light:hover { color: var(--ivory); }
.btn--ghost { --bg: transparent; --fg: var(--ivory); border-color: rgba(251,247,241,0.5); }
.btn--ghost:hover { color: var(--espresso); }
.btn--ghost::after { background: var(--ivory); }

.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

.textlink {
  position: relative; font-weight: 400; color: var(--bronze-deep);
  letter-spacing: 0.04em;
}
.textlink::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.textlink:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--espresso);
  color: var(--blush-soft);
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 16px;
  font-weight: 300;
}
.announce a { color: var(--rose); border-bottom: 1px solid rgba(210,169,161,0.5); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding-block: 18px;
}
.site-header.scrolled {
  background: rgba(251,247,241,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--hairline);
  padding-block: 10px;
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2vw, 1.75rem);
  letter-spacing: 0.04em; color: var(--espresso); text-transform: uppercase;
}
.brand__sub {
  font-family: var(--sans); font-weight: 400; font-size: 0.56rem; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--bronze); margin-top: 5px;
}
.nav__links { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.nav__links a {
  font-family: var(--sans); font-weight: 400; font-size: 0.78rem; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--cocoa); position: relative; padding-block: 6px;
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--bronze); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--espresso); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { margin-left: 6px; }

.nav__toggle {
  /* Vertical padding brings the tap target to ~47px, above the 44px touch minimum */
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: 0; padding: 16px 8px; margin-right: -8px;
}
.nav__toggle span { width: 26px; height: 1.5px; background: var(--espresso); transition: 0.35s var(--ease); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1500;
  background: var(--ivory);
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  padding: 40px;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--display); font-size: clamp(2rem, 8vw, 3rem); font-weight: 500; color: var(--espresso);
  opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu .close {
  position: absolute; top: 22px; right: var(--gutter); background: none; border: 0;
  font-size: 2rem; color: var(--espresso); line-height: 1;
}
.mobile-menu .m-contact { margin-top: 24px; font-family: var(--sans); font-size: 0.9rem; letter-spacing: 0.1em; color: var(--bronze-deep); }

/* ---------- Hero ---------- */
/* Height is capped so the hero never balloons on tall monitors, which is what
   used to leave a big empty band between the header and the headline. */
.hero { position: relative; min-height: min(74vh, 700px); display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(34,25,17,0.80) 0%, rgba(34,25,17,0.55) 30%, rgba(34,25,17,0.20) 58%, rgba(34,25,17,0) 80%),
    linear-gradient(180deg, rgba(34,25,17,0.28) 0%, rgba(34,25,17,0) 42%, rgba(34,25,17,0.40) 100%);
}
.hero__inner { padding-bottom: 40px; padding-top: 44px; color: var(--ivory); width: 100%; }
.hero .eyebrow { color: var(--blush-soft); text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
.hero .eyebrow::before, .hero .eyebrow::after { background: var(--blush-soft); }
.hero__title { color: var(--ivory); max-width: 16ch; margin-block: 0.2em 0.35em; text-shadow: 0 2px 28px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.35); }
.hero__sub { max-width: 46ch; color: rgba(251,247,241,0.96); font-weight: 300; font-size: clamp(1.05rem,1.3vw,1.3rem); text-shadow: 0 1px 14px rgba(0,0,0,0.55); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 40px; writing-mode: vertical-rl;
  font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory);
  display: flex; align-items: center; gap: 12px;
}
.hero__scroll::after { content:""; width:1px; height:46px; background: var(--ivory); animation: scrolldot 2s var(--ease) infinite; }
@keyframes scrolldot { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* Page banner (interior pages) */
.page-hero { position: relative; min-height: 56vh; display: flex; align-items: center; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content:""; position:absolute; inset:0; background:
  linear-gradient(100deg, rgba(34,25,17,0.82) 0%, rgba(34,25,17,0.60) 42%, rgba(34,25,17,0.34) 78%),
  linear-gradient(180deg, rgba(34,25,17,0.34) 0%, rgba(34,25,17,0.20) 50%, rgba(34,25,17,0.46) 100%); }
.page-hero__inner { color: var(--ivory); padding-top: 90px; }
.page-hero .eyebrow { color: var(--blush-soft); text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { background: var(--blush-soft); }
.page-hero h1 { color: var(--ivory); text-shadow: 0 2px 26px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.35); }
.page-hero p { color: rgba(251,247,241,0.96); max-width: 52ch; margin-top: 16px; text-shadow: 0 1px 14px rgba(0,0,0,0.55); }
.breadcrumb { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(251,247,241,0.85); margin-bottom: 18px; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Reveal animations ----------
   Initial hidden state is gated behind html.js, so without JavaScript
   (or before it runs) all content is fully visible — no blank sections. */
.reveal { transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal-img { transition: clip-path 1.05s var(--ease); }
html.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(34px); }
html.js .reveal-img:not(.is-visible) { clip-path: inset(0 0 100% 0); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-img.is-visible { clip-path: inset(0 0 0 0); }
[data-delay="1"]{transition-delay:.08s}[data-delay="2"]{transition-delay:.16s}[data-delay="3"]{transition-delay:.24s}[data-delay="4"]{transition-delay:.32s}[data-delay="5"]{transition-delay:.4s}[data-delay="6"]{transition-delay:.48s}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-img { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .hero__scroll::after { animation: none; }
  .marquee__track { animation: none !important; }
}

/* ---------- Split / editorial ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split__media--stack { aspect-ratio: 4/5; }
.media-frame { position: relative; }
.media-frame::before {
  content:""; position:absolute; inset: 14px; border: 1px solid rgba(255,255,255,0.6); border-radius: var(--radius-lg);
  z-index: 2; pointer-events: none; mix-blend-mode: overlay;
}
.img-zoom { overflow: hidden; border-radius: var(--radius-lg); }
.img-zoom img { transition: transform 1.1s var(--ease); width: 100%; }
.img-zoom:hover img { transform: scale(1.05); }

.stat-pill {
  position: absolute; bottom: -26px; right: -10px; background: var(--ivory); color: var(--espresso);
  padding: 18px 26px; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  text-align: center; z-index: 3;
}
.stat-pill .num { font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--bronze-deep); }
.stat-pill .lbl { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ---------- Feature / bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 280px; box-shadow: var(--shadow-sm); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(34,25,17,0) 26%, rgba(34,25,17,0.5) 60%, rgba(34,25,17,0.9) 100%); }
.tile__label { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 26px; color: var(--ivory); width: 100%; }
.tile__label .k { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 500; line-height: 1.12; text-shadow: 0 1px 12px rgba(0,0,0,0.5); }
.tile__label .s { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.92; margin-top: 7px; text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.tile .arrow { position:absolute; top:22px; right:22px; z-index:2; color:var(--ivory); opacity:0; transform: translate(-6px,6px); transition: 0.4s var(--ease); }
.tile:hover .arrow { opacity:1; transform: none; }
.col-3{grid-column: span 3}.col-4{grid-column: span 4}.col-5{grid-column: span 5}.col-6{grid-column: span 6}.col-7{grid-column: span 7}.col-8{grid-column: span 8}
.tile--tall{min-height: 580px}

/* ---------- Cards (3 up) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.card { background: var(--cream); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 3/2; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 26px 26px 30px; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { color: var(--cocoa); font-size: 0.98rem; }
.card__icon { color: var(--bronze); margin-bottom: 14px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--hairline); padding-block: 26px; }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--display); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2.2rem); color: var(--espresso); display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee__item::after { content: "✦"; color: var(--rose); font-style: normal; font-size: 0.8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Menu list ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(40px, 6vw, 88px) clamp(48px, 8vw, 120px); }
.menu-cat__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--hairline); }
.menu-cat__head h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.menu-cat__count { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); margin-left: auto; }
.menu-items { columns: 2; column-gap: 30px; }
.menu-items li { break-inside: avoid; padding: 6px 0; color: var(--cocoa); font-size: 0.96rem; position: relative; padding-left: 18px; }
.menu-items li::before { content: "·"; position: absolute; left: 2px; color: var(--rose); font-size: 1.4em; line-height: 0.7; }
.menu-items.one-col { columns: 1; }
.menu-note { font-size: 0.82rem; color: var(--muted); font-style: italic; margin-top: 10px; }

/* ---------- Quote ---------- */
.quote { text-align: center; max-width: 980px; margin-inline: auto; }
.quote blockquote { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 3.1rem); line-height: 1.18; color: var(--espresso); }
.quote .mark { font-size: 4rem; color: var(--rose); line-height: 0.5; font-family: var(--display); }
.quote cite { display: block; margin-top: 26px; font-style: normal; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); counter-reset: step; }
.step { position: relative; padding-top: 70px; border-top: 1px solid var(--hairline); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--bronze); position: absolute; top: 24px; left: 0; }
.step h4 { font-size: 1.4rem; margin: 0 0 10px; }
.step p { color: var(--cocoa); font-size: 0.96rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--cream); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.field label .req { color: var(--rose); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-weight: 300; font-size: 1rem; color: var(--espresso);
  background: var(--ivory); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 13px 16px; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(168,122,86,0.12); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.radio-row { display: flex; flex-direction: column; gap: 10px; }
.radio-row label {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 12px 16px; border: 1px solid var(--hairline);
  border-radius: 12px; cursor: pointer; font-size: 0.9rem; line-height: 1.3; letter-spacing: 0.01em; text-transform: none; color: var(--cocoa);
  transition: 0.3s var(--ease);
}
.radio-row input { width: 17px; height: 17px; flex: 0 0 auto; margin: 0; accent-color: var(--bronze); }
.radio-row label:hover { border-color: var(--bronze); color: var(--espresso); background: var(--ivory); }
.form-foot { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form-note { font-size: 0.8rem; color: var(--muted); }

/* ---------- Info / contact ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.info-card { padding: 34px 30px; background: var(--cream); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.info-card .k { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bronze); margin-bottom: 14px; }
.info-card .v { font-family: var(--display); font-size: 1.5rem; line-height: 1.25; }
.info-card .v a:hover { color: var(--bronze-deep); }
.info-card .v a[href^="tel"] { white-space: nowrap; }
.info-card .v a[href^="mailto"] { overflow-wrap: anywhere; }

/* Inline call/email pair (e.g. homepage "come say hello") */
.contact-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 40px); }
.contact-value { font-family: var(--display); font-weight: 500; line-height: 1.18; color: var(--espresso); display: inline-block; transition: color 0.3s var(--ease); }
.contact-value:hover { color: var(--bronze-deep); }
.contact-value--phone { white-space: nowrap; font-size: clamp(1.2rem, 0.6vw + 1rem, 1.45rem); }
.contact-value--email { overflow-wrap: anywhere; font-size: clamp(1rem, 0.5vw + 0.9rem, 1.18rem); }
/* Stack call/email so the long email address always gets full width */
@media (max-width: 700px) { .contact-pair { grid-template-columns: 1fr; gap: 22px; } }
.hours-list li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--hairline); font-size: 0.98rem; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { color: var(--cocoa); letter-spacing: 0.04em; }
.hours-list .time { color: var(--espresso); font-weight: 400; }
.hours-list .closed { color: var(--muted); font-style: italic; }
.map-embed { border: 1px solid var(--hairline); width: 100%; height: 100%; min-height: 360px; border-radius: var(--radius-lg); filter: grayscale(0.25) sepia(0.12); background: var(--ivory-2); box-shadow: var(--shadow-sm); }

/* ---------- Gallery ---------- */
.gallery { columns: 3; column-gap: 16px; }
.gallery img { width: 100%; margin-bottom: 16px; border-radius: var(--radius-lg); break-inside: avoid; transition: transform 0.6s var(--ease), filter 0.6s var(--ease); box-shadow: var(--shadow-sm); }
.gallery img:hover { transform: scale(1.02); }

/* ---------- Allergen note ---------- */
.allergen { background: var(--ivory-2); border-radius: var(--radius-lg); padding: clamp(28px,4vw,46px); border: 1px solid var(--hairline); }
.allergen .tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.allergen .tag { padding: 7px 16px; background: var(--cream); border: 1px solid var(--hairline); border-radius: 100px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cocoa); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--ivory); max-width: 20ch; margin-inline: auto; }
.cta-band p { color: rgba(251,247,241,0.85); max-width: 48ch; margin: 18px auto 30px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: rgba(251,247,241,0.7); padding-top: clamp(64px, 9vh, 110px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(251,247,241,0.14); }
.footer-brand .brand__name { color: var(--ivory); display: block; }
.footer-brand .brand__sub { color: var(--rose); display: block; }
.footer-brand p { margin-top: 18px; max-width: 34ch; font-size: 0.92rem; }
.footer-col h4 { font-family: var(--sans); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose); margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; font-size: 0.94rem; }
.footer-col a:hover { color: var(--ivory); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(251,247,241,0.22); border-radius: 50%; transition: 0.35s var(--ease); }
.footer-social a:hover { background: var(--bronze); border-color: var(--bronze); color: var(--espresso); transform: translateY(-3px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px; font-size: 0.78rem; letter-spacing: 0.04em; }
.footer-bottom a:hover { color: var(--ivory); }

/* ---------- Misc ---------- */
.divider-leaf { text-align: center; color: var(--rose); font-size: 1.2rem; margin-block: 8px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill { padding: 8px 18px; border: 1px solid var(--hairline); border-radius: 100px; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--cocoa); background: var(--cream); }
.mt-s{margin-top:14px}.mt-m{margin-top:26px}.mt-l{margin-top:44px}
.maxw-prose{max-width:62ch}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .tile--tall { min-height: 420px; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .col-3,.col-4,.col-5,.col-6,.col-7,.col-8 { grid-column: span 6; }
  .gallery { columns: 2; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-pill { right: 10px; }
}
@media (max-width: 768px) {
  /* Center the hero text on smaller screens so it doesn't sit low */
  .hero { min-height: min(62vh, 540px); align-items: center; }
  .hero__inner { padding-top: 32px; padding-bottom: 34px; }
}
@media (max-width: 520px) {
  .menu-items { columns: 1; }
  .gallery { columns: 1; }
  .hero { min-height: min(60vh, 480px); align-items: center; }
  .hero__inner { padding-top: 28px; padding-bottom: 30px; }
  .hero__title { margin-block: 0.1em 0.3em; }
  .display { font-size: clamp(2.3rem, 8.6vw, 3.4rem); }
  .footer-top { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}

/* ---- Upcoming events (content database) ---- */
.events-grid,
.home-events {
  display: grid;
  /* Capped at 340px so a single event stays a card instead of stretching to
     fill the whole row. justify-content centres however many there are. */
  grid-template-columns: repeat(auto-fit, minmax(258px, 340px));
  justify-content: center;
  /* 1080px = three 340px cards plus two 28px gaps. auto-fit counts tracks by
     the MAX track size when it is a fixed length, so the container has to be
     wide enough for three full-size cards or it drops to two. */
  gap: 28px; max-width: 1080px; margin-inline: auto;
  /* Cards keep their own height. Without this, a card with no photo stretches
     to match one that has a photo and leaves a large empty block. */
  align-items: start;
}

.event-card {
  background: var(--cream); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.event-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(54,41,31,0.10); }
/* Event photos are often flyers with text, so they keep their real shape
   rather than being cropped to a fixed ratio. 460px clears a standard 3:4
   portrait flyer at full card width; anything taller is letterboxed on the
   sand background instead of running away with the card. */
.event-photo { width: 100%; height: auto; max-height: 460px; object-fit: contain; display: block; background: var(--sand); }
.event-body { padding: 26px 28px 28px; }
.event-when { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); margin-bottom: 10px; }
.event-title { font-family: var(--display); font-size: 1.55rem; color: var(--espresso); line-height: 1.15; }
.event-desc { color: var(--cocoa); margin-top: 8px; font-size: 0.95rem; line-height: 1.65; }
/* Optional outbound link, e.g. a Facebook event page. Padding keeps the tap
   target at roughly 46px, above the 44px touch minimum. */
.event-link {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--espresso); background: transparent;
  border: 1px solid var(--espresso); border-radius: 100px; padding: 12px 22px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.event-link:hover, .event-link:focus-visible { background: var(--espresso); color: var(--ivory); }
.event-link svg { flex: none; }
@media (max-width: 560px) {
  .events-grid, .home-events { grid-template-columns: minmax(0, 340px); gap: 20px; }
}

/* ---- Social: header, mobile menu, and homepage band ---- */
.nav__social { display: flex; align-items: center; gap: 14px; }
.nav__social a { display: flex; padding: 7px; margin: -7px; color: var(--muted); transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
.nav__social a:hover { color: var(--bronze-deep); transform: translateY(-2px); }

.mobile-menu .m-social { display: flex; gap: 12px; margin-top: 26px; }
.mobile-menu .m-social a {
  /* Padding lifts the tap target to 48px, above the 44px touch minimum */
  padding: 9px; font-size: 0; line-height: 0; color: var(--espresso);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s var(--ease);
}
.mobile-menu.open .m-social a { opacity: 1; transform: translateY(0); }
.mobile-menu .m-social a:hover { color: var(--bronze-deep); }

.social-band__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.social-band__links { display: flex; flex-direction: column; gap: 14px; }
.social-pill {
  display: flex; align-items: center; gap: 16px;
  background: var(--cream); border: 1px solid var(--hairline); border-radius: 999px;
  padding: 16px 28px; color: var(--espresso);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.social-pill:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(54,41,31,0.10); border-color: var(--rose); }
.social-pill svg { color: var(--bronze); flex: none; }
.social-pill .sp-handle { font-family: var(--sans); font-size: 1.02rem; letter-spacing: 0.03em; display: block; }
.social-pill .sp-sub { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
@media (max-width: 860px) {
  .nav__social { display: none; }
  .social-band__inner { grid-template-columns: 1fr; gap: 30px; }
}
