/* La Fondita de Marta
   Tokens: Andrew's own colors (olive, pastel green, pink, Prairie Dust) + logo red and ink.
   Signature: Marta's portrait as a misregistered four-panel screen print (.pop). */

:root {
  --paper: #F4E9DC;
  --paper-2: #EADBC7;
  --prairie: #C9A98A;
  --prairie-dk: #9C7C5E;
  --olive: #59612F;
  --olive-dk: #3D431F;
  --sage: #CAD5A0;
  --rosa: #F2B6C3;
  --rosa-dk: #E3889E;
  --red: #C8141B;
  --red-dk: #9F0E14;
  --ink: #1F1A17;
  --ink-2: #4A413A;
  --cream: #FAF1E6;

  --f-display: "Shrikhand", "Georgia", serif;
  --f-body: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --f-mono: "Courier Prime", "Courier New", monospace;

  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 9vw, 120px);
  --r: 16px;
  --r-sm: 10px;
  --shadow: 4px 4px 0 var(--ink);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.dim { color: var(--ink-2); opacity: .85; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.6vw, 5.2rem);
  letter-spacing: -.01em;
  line-height: .98;
}
h1 em, h2 em { font-style: normal; color: var(--red); }
h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.005em; }
h3 { font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
.eyebrow {
  font: 700 .8rem/1.3 var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--olive);
  margin-bottom: 14px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 34em; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 24px;
  border: 2px solid var(--ink); border-radius: 999px;
  font: 700 1rem/1 var(--f-body); text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.red { background: var(--red); color: var(--cream); }
.btn.red:hover { background: var(--red-dk); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--cream); }
.btn.cream { background: var(--cream); color: var(--ink); }
.btn.sm { min-height: 42px; padding: 9px 18px; font-size: .94rem; }
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- utility bar + nav ---------- */
.util { background: var(--olive-dk); color: var(--cream); font: 400 .82rem/1 var(--f-mono); }
.util .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.util b { background: var(--rosa); color: var(--ink); padding: 3px 7px; border-radius: 4px; margin-right: 6px; text-transform: uppercase; letter-spacing: .06em; }
.util a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; }
.util svg { width: 14px; height: 14px; }

.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px solid var(--ink); }
.nav .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 56px; height: auto; }
.brand span { font: 400 1.05rem/1 var(--f-display); color: var(--red); }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav-links a:hover { background: var(--paper-2); }
.nav-links a[aria-current="page"] { background: var(--ink); color: var(--cream); }
.navtoggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; font: 700 .8rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::before { /* faint halftone wash, like a screen-print plate */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(201, 169, 138, .38) 1.2px, transparent 1.6px) 0 0 / 14px 14px;
  -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 85%);
  mask-image: linear-gradient(115deg, transparent 35%, #000 85%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 { margin-bottom: 22px; }

.sat {
  display: flex; align-items: center; gap: 14px; margin-top: 32px; padding: 14px 18px;
  background: var(--cream); border: 2px solid var(--ink); border-radius: var(--r); max-width: 480px;
}
.sat > div { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.sat b { font-weight: 800; }
.sat span { font-size: .92rem; color: var(--ink-2); }
.sat a { font: 700 .8rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.sat-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--prairie); flex: none; }
.sat.is-open .sat-dot { background: #3FA34D; box-shadow: 0 0 0 0 rgba(63, 163, 77, .5); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(63, 163, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 163, 77, 0); } }

/* ---------- SIGNATURE: the pop-art portrait grid ---------- */
.pop {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 3px solid var(--ink); border-radius: 6px;
  box-shadow: 10px 10px 0 var(--ink);
  background: var(--ink); gap: 3px;
  transform: rotate(1.2deg);
  width: 100%; max-width: 540px; justify-self: end;
}
.pop .p {
  --bg: var(--rosa); --ink-c: var(--ink); --off: var(--red);
  position: relative; aspect-ratio: 760 / 900; overflow: hidden;
  background: radial-gradient(circle, rgba(31, 26, 23, .09) 1px, transparent 1.4px) 0 0 / 7px 7px, var(--bg);
}
.pop .p::before, .pop .p::after {
  content: ""; position: absolute; inset: 9% 4% -2% 4%;
  -webkit-mask: url(../img/marta-mask.png) center bottom / contain no-repeat;
  mask: url(../img/marta-mask.png) center bottom / contain no-repeat;
}
.pop .p::before { background: var(--off); transform: translate(var(--dx, 7px), var(--dy, 5px)); mix-blend-mode: multiply; opacity: .9; }
.pop .p::after { background: var(--ink-c); }
.pop .p1 { --bg: var(--rosa); --ink-c: var(--ink); --off: var(--red); }
.pop .p2 { --bg: var(--olive); --ink-c: var(--rosa); --off: var(--olive-dk); --dx: -6px; --dy: 6px; }
.pop .p3 { --bg: var(--prairie); --ink-c: var(--red); --off: var(--olive-dk); --dx: 6px; --dy: -5px; }
.pop .p4 { --bg: var(--sage); --ink-c: var(--ink); --off: var(--rosa-dk); --dx: -7px; --dy: -4px; }

/* print run: panels drop in one at a time, then the colour plate slides off register */
.pop .p { animation: plate .7s var(--ease) both; }
.pop .p2 { animation-delay: .12s; } .pop .p3 { animation-delay: .24s; } .pop .p4 { animation-delay: .36s; }
.pop .p::before { animation: register 1.1s .55s var(--ease) both; }
@keyframes plate { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes register { from { transform: translate(0, 0); opacity: 0; } to { opacity: .9; } }
.pop .p:hover::before { transform: translate(calc(var(--dx, 7px) * 1.8), calc(var(--dy, 5px) * 1.8)); transition: transform .4s var(--ease); }

/* ---------- ticker ---------- */
.ticker { background: var(--red); color: var(--cream); border-block: 2px solid var(--ink); overflow: hidden; }
.track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.track span { font: 400 1.25rem/1 var(--f-display); padding: 16px 22px; white-space: nowrap; display: flex; align-items: center; gap: 44px; }
.track span::after { content: "✿"; font-family: var(--f-body); font-size: 1rem; color: var(--rosa); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: var(--sec) 0; }
.head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; max-width: none; }
.note { max-width: 380px; color: var(--ink-2); margin: 0; }
.note a { color: var(--red); font-weight: 700; }

/* three ways */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.way { background: var(--cream); border: 2px solid var(--ink); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.way h3 { font: 400 1.7rem/1.05 var(--f-display); margin: 14px 0 10px; }
.way p { color: var(--ink-2); flex: 1; }
.way .tag { align-self: flex-start; font: 700 .74rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; background: var(--sage); padding: 6px 9px; border-radius: 4px; }
.way.feature { background: var(--rosa); }
.way.feature .tag { background: var(--ink); color: var(--cream); }
.way.feature p { color: var(--ink); }
.go { background: none; border: 0; padding: 0; text-align: left; font-weight: 800; color: var(--red); text-decoration: none; }
.go:hover { text-decoration: underline; text-underline-offset: 4px; }

/* dishes: 3D coverflow over a blurred copy of the current photo */
.plates { position: relative; overflow: hidden; background: var(--paper-2); border-block: 2px solid var(--ink); }
.plates > .wrap { position: relative; z-index: 1; }
/* a soft wash of the current dish's colours, faded into the sand background */
.cf-amb { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cf-amb img { width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: saturate(1.3) blur(48px); transform: scale(1.2); transition: opacity .5s var(--ease); }
.cf-amb img.swap { opacity: 0; }
.cf-amb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 62%, rgba(234, 219, 199, 0) 0%, var(--paper-2) 72%); }

.cf { --cw: clamp(250px, 26vw, 330px); --ch: calc(var(--cw) * 1.5); position: relative; border-radius: 20px; }
.cf:focus-visible { outline: 3px solid var(--red); outline-offset: 10px; }
.cf-stage { position: relative; height: calc(var(--ch) + 24px); display: flex; align-items: center; justify-content: center; perspective: 1400px; touch-action: pan-y; }
.cf-card {
  position: absolute; width: var(--cw); height: var(--ch);
  border: 3px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--ink);
  opacity: 0; transform: scale(.4); pointer-events: none; cursor: pointer;
  transition: transform .8s cubic-bezier(.25, 1, .5, 1), opacity .8s, filter .8s, box-shadow .8s;
}
.cf-card[data-pos="0"] { opacity: 1; transform: none; z-index: 30; pointer-events: auto; cursor: default; box-shadow: 10px 10px 0 var(--ink); }
.cf-card[data-pos="1"] { opacity: 1; transform: translateX(calc(var(--cw) * .86)) scale(.84) rotateY(-24deg); z-index: 20; filter: brightness(.82) saturate(.9); pointer-events: auto; }
.cf-card[data-pos="-1"] { opacity: 1; transform: translateX(calc(var(--cw) * -.86)) scale(.84) rotateY(24deg); z-index: 20; filter: brightness(.82) saturate(.9); pointer-events: auto; }
.cf-card[data-pos="2"] { opacity: .9; transform: translateX(calc(var(--cw) * 1.55)) scale(.68) rotateY(-38deg); z-index: 10; filter: brightness(.7) saturate(.8) blur(1px); pointer-events: auto; }
.cf-card[data-pos="-2"] { opacity: .9; transform: translateX(calc(var(--cw) * -1.55)) scale(.68) rotateY(38deg); z-index: 10; filter: brightness(.7) saturate(.8) blur(1px); pointer-events: auto; }
.cf-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cf-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, transparent 28%, rgba(31, 26, 23, .7) 58%, rgba(31, 26, 23, .97) 100%); }
.cf-tag {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font: 700 .76rem/1 var(--f-mono); letter-spacing: .04em;
  background: var(--rosa); color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; padding: 6px 9px;
  transform: rotate(3deg); opacity: 0; transition: opacity .5s;
}
.cf-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 22px 20px 24px; text-align: center;
  opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s;
}
.cf-card[data-pos="0"] .cf-body, .cf-card[data-pos="0"] .cf-tag { opacity: 1; }
.cf-card[data-pos="0"] .cf-body { transform: none; }
.cf-body h3 { font: 400 clamp(1.7rem, 2.4vw, 2.1rem)/1.02 var(--f-display); color: var(--cream); text-shadow: 0 3px 12px rgba(0, 0, 0, .8); }
.cf-sub { font: 700 .84rem/1.3 var(--f-mono); color: var(--sage); }
.cf-body p { font-size: .9rem; line-height: 1.4; margin: 6px 0 12px; max-width: 26ch; color: rgba(250, 241, 230, .92); }
.cf-body .btn { box-shadow: 3px 3px 0 var(--ink); }
.cf-arrow {
  position: absolute; top: calc((var(--ch) + 24px) / 2); transform: translateY(-50%); z-index: 40;
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--ink); border: 2px solid var(--ink); box-shadow: var(--shadow);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.cf-arrow:hover { transform: translate(-2px, calc(-50% - 2px)); box-shadow: 6px 6px 0 var(--ink); }
.cf-arrow.prev { left: 0; }
.cf-arrow.next { right: 0; }
.cf-foot { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 30px; }
.cf-dots { display: flex; gap: 8px; }
.cf-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(31, 26, 23, .25); transition: width .3s var(--ease), background .3s; }
.cf-dots button[aria-current="true"] { width: 30px; background: var(--red); }

/* story band */
.story-band { background: var(--olive); color: var(--cream); }
.story-band .eyebrow { color: var(--sage); }
.story-band h2 { color: var(--rosa); margin-bottom: 20px; }
.story-band p { max-width: 34em; font-size: 1.08rem; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.badge-ring { aspect-ratio: 1; border-radius: 50%; background: var(--cream); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--olive-dk); display: grid; place-items: center; padding: 12%; max-width: 440px; margin: 0 auto; }
.story-band .btn { margin-top: 10px; }

/* catering band */
.cater { background: var(--rosa); border-bottom: 2px solid var(--ink); }
.cater-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cater p { max-width: 36em; font-size: 1.08rem; }
.cater .eyebrow { color: var(--red-dk); }
.cater-cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ---------- page heroes ---------- */
.page-hero { padding: clamp(40px, 6vw, 84px) 0 clamp(40px, 6vw, 72px); border-bottom: 2px solid var(--ink); }
.page-hero h1 { margin-bottom: 20px; max-width: 14em; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-photo { margin: 0; border: 3px solid var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: 10px 10px 0 var(--ink); transform: rotate(-1.4deg); aspect-ratio: 4 / 5; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-pop { max-width: 420px; }
.contact-hero { background: var(--sage); }
.contact-hero .eyebrow { color: var(--olive-dk); }

/* ---------- menu ---------- */
.menu-jump { position: sticky; top: 78px; z-index: 30; background: var(--ink); }
.menu-jump .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.menu-jump .wrap::-webkit-scrollbar { display: none; }
.menu-jump a { flex: none; color: var(--cream); text-decoration: none; font: 700 .82rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; padding: 9px 14px; border: 1.5px solid rgba(250, 241, 230, .3); border-radius: 999px; }
.menu-jump a:hover { background: var(--rosa); color: var(--ink); border-color: var(--rosa); }

.carta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card-sec { background: var(--cream); border: 2px solid var(--ink); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.card-sec h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--red); margin-bottom: 10px; }
.card-sec .eyebrow { margin-bottom: 6px; }
.card-sec .how { color: var(--ink-2); margin-bottom: 22px; }
#platos, #sanguiches, #drinks { grid-column: 1 / -1; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
#mamposteao .steps { grid-template-columns: 1fr; gap: 18px; }
.steps h3 { font-size: 1rem; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }
.steps h3 span { width: 24px; height: 24px; border-radius: 50%; background: var(--olive); color: var(--cream); display: grid; place-items: center; font: 700 .78rem/1 var(--f-mono); }
.steps h3 + .mini { margin-top: -4px; }
.mini { font-size: .94rem; color: var(--ink-2); margin-bottom: 14px; }
.leaders { list-style: none; margin: 0 0 6px; padding: 0; }
.leaders li { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; }
.leaders li i { flex: 1; border-bottom: 2px dotted var(--prairie); transform: translateY(-4px); min-width: 16px; }
.leaders b { font: 700 .95rem/1 var(--f-mono); white-space: nowrap; }
.leaders .dim { font-size: .88rem; }

.items { list-style: none; margin: 0; padding: 0; }
.item { padding: 12px 0; border-bottom: 1.5px dashed var(--prairie); }
.item:last-child { border-bottom: 0; }
.item-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.item h4 { font-size: 1.08rem; font-weight: 800; }
.item p { margin: 4px 0 0; font-size: .94rem; color: var(--ink-2); }
.sizes { display: flex; gap: 10px; font: 700 .9rem/1 var(--f-mono); }
.sizes em { font-style: normal; font-weight: 400; color: var(--ink-2); }
.drinks { background: var(--sage); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; }
.drinks .eyebrow { flex-basis: 100%; }
.drink-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.drink-list li { font: 400 1.4rem/1.1 var(--f-display); }
.fine { font: 400 .8rem/1.5 var(--f-mono); color: var(--ink-2); margin-top: 26px; }

/* builder + ticket */
.build-sec { background: var(--olive); color: var(--cream); border-block: 2px solid var(--ink); }
.build-sec .eyebrow { color: var(--sage); }
.build-sec h2 { color: var(--rosa); }
.build-sec .note { color: var(--cream); opacity: .9; }
.builder { display: grid; grid-template-columns: 1.35fr .65fr; gap: 28px; align-items: start; }
.b-tabs { display: inline-flex; flex-wrap: wrap; gap: 2px; background: var(--olive-dk); border-radius: 26px; padding: 5px; margin-bottom: 22px; }
.b-tabs button { border: 0; background: transparent; color: var(--cream); padding: 10px 20px; border-radius: 999px; font-weight: 700; }
.b-tabs button[aria-selected="true"] { background: var(--rosa); color: var(--ink); }
.b-group { margin-bottom: 22px; border: 0; padding: 0; }
.b-group legend { font: 700 .8rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--olive-dk); margin-bottom: 10px; padding: 0; }
.b-group legend small { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .85; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; gap: 8px; align-items: baseline; padding: 10px 16px; border: 2px solid var(--ink); background: #FFFDF8; color: var(--ink); border-radius: 999px; font-weight: 600; transition: background .15s, color .15s, transform .15s; }
.chip span small { font: 700 .8rem/1 var(--f-mono); opacity: .8; }
.chip:hover span { background: var(--sage); }
.chip input:checked + span { background: var(--olive-dk); color: var(--cream); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.chip input:checked + span::before { content: "✓"; font-weight: 800; color: var(--rosa); }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.chip input:disabled + span { opacity: .4; }

.ticket {
  position: sticky; top: 150px;
  background: #FFFDF8; color: var(--ink); padding: 24px 22px 22px; font-family: var(--f-mono);
  box-shadow: 8px 8px 0 var(--ink); border: 2px solid var(--ink);
  -webkit-mask: radial-gradient(circle 7px at 50% 0, transparent 98%, #000) 0 0 / 22px 100% repeat-x;
  mask: radial-gradient(circle 7px at 50% 0, transparent 98%, #000) 0 0 / 22px 100% repeat-x;
  transform: rotate(.8deg);
}
.t-head { display: flex; justify-content: space-between; font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; padding-bottom: 12px; border-bottom: 2px dashed var(--ink); }
.t-lines { list-style: none; margin: 12px 0; padding: 0; min-height: 90px; font-size: .94rem; }
.t-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.t-lines li.sub { padding-left: 14px; color: var(--ink-2); font-size: .86rem; }
.t-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px dashed var(--ink); padding-top: 12px; font-weight: 700; text-transform: uppercase; }
.t-total b { font: 400 2rem/1 var(--f-display); color: var(--red); text-transform: none; }
.t-note { font-size: .78rem; color: var(--ink-2); margin: 6px 0 16px; }
.t-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.t-actions .btn { font-family: var(--f-body); }

.final-cta { background: var(--red); color: var(--cream); text-align: center; }
.final-cta h2 { color: var(--cream); font-size: clamp(2.6rem, 7vw, 5rem); }
.final-cta .btns { justify-content: center; }

/* ---------- story page ---------- */
.prose-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose-side { position: sticky; top: 110px; background: var(--cream); border: 2px solid var(--ink); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.legend li { display: flex; flex-direction: column; padding-left: 16px; border-left: 4px solid var(--red); }
.legend b { font-weight: 800; }
.legend span { color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.prose { max-width: 640px; font-size: 1.1rem; line-height: 1.72; }
.prose h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--olive); margin: 1.6em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; background: var(--rosa); border: 2px solid var(--ink); border-radius: var(--r); font: 400 clamp(1.4rem, 2.6vw, 1.9rem)/1.2 var(--f-display); box-shadow: var(--shadow); transform: rotate(-.6deg); }
.sign { font: 700 1rem/1 var(--f-mono); color: var(--red); margin-top: 2em; }

.values { background: var(--paper-2); border-block: 2px solid var(--ink); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { border: 2px solid var(--ink); border-radius: var(--r); padding: 30px 26px; box-shadow: var(--shadow); }
.value h3 { font: 400 2rem/1 var(--f-display); margin-bottom: 12px; }
.value.v1 { background: var(--sage); } .value.v2 { background: var(--rosa); } .value.v3 { background: var(--prairie); }

.posts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.post { display: grid; grid-template-columns: 160px 1fr; gap: 20px; background: var(--cream); border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.post img { width: 100%; height: 100%; object-fit: cover; border-right: 2px solid var(--ink); }
.post > div { padding: 20px 20px 18px 0; }
.post .k { font: 700 .76rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--olive); }
.post h3 { margin: 8px 0; }
.post p { font-size: .96rem; color: var(--ink-2); margin: 0; }
.post a { color: var(--red); font-weight: 700; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.form { background: var(--cream); border: 2px solid var(--ink); border-radius: var(--r); padding: clamp(22px, 3.4vw, 40px); box-shadow: 8px 8px 0 var(--ink); }
.form h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--red); margin-bottom: 22px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fld > span { font-weight: 700; font-size: .95rem; }
.fld em { font-style: normal; font-weight: 400; color: var(--ink-2); }
.fld input, .fld textarea {
  font: 400 1rem/1.4 var(--f-body); color: var(--ink);
  padding: 13px 14px; border: 2px solid var(--ink); border-radius: var(--r-sm); background: #FFFDF8; width: 100%;
}
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 20, 27, .18); }
.fld input[aria-invalid="true"] { border-color: var(--red); background: #FFF1F1; }
.seg { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { font-weight: 700; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-block; padding: 10px 18px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; }
.seg input:checked + span { background: var(--olive); color: var(--cream); }
.seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.form-err { color: var(--red-dk); font-weight: 700; }
.form-note { font-size: .88rem; color: var(--ink-2); margin: 14px 0 0; }
.form-done { margin-top: 18px; padding: 18px; background: var(--sage); border: 2px solid var(--ink); border-radius: var(--r-sm); }
.form-done pre { white-space: pre-wrap; font: 400 .86rem/1.5 var(--f-mono); background: #FFFDF8; padding: 12px; border-radius: 8px; border: 1.5px dashed var(--ink); margin: 10px 0 0; }
.info-card { background: var(--paper-2); border: 2px solid var(--ink); border-radius: var(--r); padding: 26px; }
.info-card .eyebrow { margin: 18px 0 8px; }
.info-card .eyebrow:first-child { margin-top: 0; }
.info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.info-list li { display: flex; gap: 10px; align-items: flex-start; }
.info-list svg { flex: none; margin-top: 4px; color: var(--red); }
.info-list a { font-weight: 700; }
.info .pickup-vid { margin-top: 24px; }

/* ---------- social ---------- */
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; transition: background .15s, color .15s; }
.social a:hover { background: var(--rosa); color: var(--ink); border-color: var(--rosa); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--cream); padding: clamp(56px, 7vw, 88px) 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { width: 190px; height: auto; }
.foot-h { font: 700 .78rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--rosa); margin: 0 0 12px; }
.foot p + .foot-h, .foot address + .foot-h, .foot ul + .foot-h { margin-top: 26px; }
.foot address { font-style: normal; line-height: 1.6; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot a, .foot .linkish { color: var(--cream); }
.foot .dim { color: var(--prairie); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(250, 241, 230, .18); font: 400 .8rem/1.4 var(--f-mono); color: var(--prairie); }

/* ---------- order sheet ---------- */
.sheet {
  width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  border: 3px solid var(--ink); border-radius: 20px; padding: 30px 26px 24px;
  background: var(--paper); color: var(--ink); box-shadow: 10px 10px 0 var(--ink);
}
.sheet::backdrop { background: rgba(31, 26, 23, .55); backdrop-filter: blur(3px); }
.sheet[open] { animation: rise .35s var(--ease); }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
.sheet h2 { font-size: 2.2rem; color: var(--red); margin-bottom: 18px; }
.sheet-x { position: absolute; top: 12px; right: 12px; margin: 0; }
.sheet-x button { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); background: var(--cream); font-size: 1.5rem; line-height: 1; }
.opts { display: flex; flex-direction: column; gap: 12px; }
.opt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 54px 18px 18px; border: 2px solid var(--ink); border-radius: var(--r); text-decoration: none; background: var(--cream); box-shadow: var(--shadow); transition: transform .18s var(--ease), box-shadow .18s; }
.opt:first-child { background: var(--rosa); }
.opt:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.opt .k { font: 700 .74rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--olive-dk); }
.opt b { font-size: 1.2rem; font-weight: 800; }
.opt .d { font-size: .93rem; color: var(--ink-2); line-height: 1.4; }
.opt i { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 1.5rem; font-weight: 800; }
.sheet-note { font-size: .9rem; color: var(--ink-2); margin: 16px 0 0; }
.ticket-echo { font: 400 .86rem/1.5 var(--f-mono); background: #FFFDF8; border: 1.5px dashed var(--ink); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; white-space: pre-line; }

/* ---------- mobile call bar ---------- */
.callbar { display: none; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.on { opacity: 1; transform: none; }
.in1, .in2, .in3, .in4 { animation: up .8s var(--ease) both; }
.in2 { animation-delay: .08s; } .in3 { animation-delay: .18s; } .in4 { animation-delay: .3s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
.no-js .rv { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
/* ---------- cart, item sheet, checkout ---------- */
.cart-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--sage); font-weight: 800; box-shadow: var(--shadow); }
.cart-btn b { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--red); color: var(--cream); font-size: .8rem; }
.cart-btn[hidden] { display: none; }
.cart-lines { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.cart-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1.5px dashed var(--ink); }
.cart-lines small { display: block; color: var(--ink-2); font-size: .86rem; line-height: 1.35; }
.cart-sub { display: flex; justify-content: space-between; font-size: 1.02rem; padding: 4px 0; }
.cart-empty { color: var(--ink-2); }
.qty { display: inline-flex; align-items: center; gap: 10px; }
.qty button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); background: var(--cream); font-weight: 800; line-height: 1; }
.item .add { margin-top: 10px; }
.item-sheet .b-group { margin: 0 0 16px; }
.item-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: sticky; bottom: -1px; padding: 14px 0 4px; background: inherit; }
.chip input:disabled + span { opacity: .45; }
.co { display: grid; grid-template-columns: 1fr minmax(280px, 360px); gap: 28px; align-items: start; }
.co-main { display: grid; gap: 18px; }
.co-box { border: 2px solid var(--ink); border-radius: var(--r); background: var(--cream); padding: 18px; margin: 0; display: grid; gap: 12px; }
.co-box legend { font: 700 .8rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; padding: 0 6px; }
.co-box label { display: grid; gap: 6px; font-weight: 600; }
.co-box input, .co-box select { font: inherit; padding: 12px; border: 2px solid var(--ink); border-radius: var(--r-sm); background: #FFFDF8; }
.co-when { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card-field { min-height: 48px; padding: 12px; border: 2px solid var(--ink); border-radius: var(--r-sm); background: #FFFDF8; }
.card-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.co-sum { position: sticky; top: 100px; display: grid; gap: 8px; }
.co-sum .btn { margin-top: 10px; width: 100%; }
.pickup-vid { margin: 0; max-width: 340px; }
.pickup-vid video { display: block; width: 100%; height: auto; aspect-ratio: 486 / 864; background: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-sm); box-shadow: var(--shadow); }
.pickup-vid figcaption { margin-top: 12px; font-size: .92rem; color: var(--ink-2); }
.co-done .pickup-vid { margin-top: 22px; }
.co-done { max-width: 640px; margin: 0 auto; padding: 28px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--sage); box-shadow: var(--shadow); }
@media (max-width: 880px) {
  .co { grid-template-columns: 1fr; }
  .co-sum { position: static; }
  .card-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  .nav-links a { padding: 9px 10px; font-size: .92rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .navtoggle { display: block; }
  .nav-cta { display: none; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 10px var(--gut) 18px; background: var(--paper); border-bottom: 2px solid var(--ink); display: none; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { font-size: 1.1rem; padding: 14px 16px; }
  .hero-grid, .page-hero-grid, .story-grid, .cater-grid, .builder, .contact-grid, .prose-grid { grid-template-columns: 1fr; }
  .pop { justify-self: center; max-width: 440px; }
  .ways, .value-grid, .posts, .carta-grid { grid-template-columns: 1fr; }
  .split-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ticket { position: static; transform: none; }
  .prose-side { position: static; order: 2; }
  .hero-photo { max-width: 420px; aspect-ratio: 4 / 3; }
  .menu-jump { top: 76px; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 2px solid var(--ink);
  }
  .callbar .btn { min-height: 48px; box-shadow: 3px 3px 0 var(--ink); }
  body { padding-bottom: 76px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .util .u-l { font-size: .74rem; line-height: 1.3; }
  .util .u-v { display: none; }
  .util a span { display: none; }
  .brand img { width: 48px; }
  .brand span { font-size: .95rem; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .post { grid-template-columns: 1fr; }
  .cf { --cw: min(68vw, 280px); }
  .cf-card[data-pos="2"], .cf-card[data-pos="-2"] { opacity: 0; pointer-events: none; }
  .cf-card[data-pos="1"] { transform: translateX(calc(var(--cw) * .62)) scale(.8) rotateY(-28deg); }
  .cf-card[data-pos="-1"] { transform: translateX(calc(var(--cw) * -.62)) scale(.8) rotateY(28deg); }
  .cf-arrow { width: 42px; height: 42px; top: auto; bottom: -8px; transform: none; }
  .cf-arrow:hover { transform: translate(-2px, -2px); }
  .cf-foot { margin-top: 22px; min-height: 42px; }
  .post img { aspect-ratio: 16 / 9; border-right: 0; border-bottom: 2px solid var(--ink); }
  .post > div { padding: 0 18px 18px; }
  .pop { box-shadow: 6px 6px 0 var(--ink); }
  .btns .btn { flex: 1 1 auto; }
  .sat a { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .pop .p::before { opacity: .9; }
}

/* ---------- menu layout: full width, photos, cards ---------- */
.carta-grid { grid-template-columns: 1fr; gap: 26px; }
.card-sec.feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.feat-photo { margin: 0; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.feat-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature .item { border: 0; padding: 0; }
.feature .from { font: 700 1.3rem/1 var(--f-mono); color: var(--olive-dk); margin: 6px 0 10px; }
.feature .item .add { margin-top: 14px; }
.items.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 16px; }
.items.grid .item { display: flex; flex-direction: column; gap: 10px; background: #FFFDF8; border: 2px solid var(--ink); border-radius: var(--r-sm); padding: 16px; box-shadow: 3px 3px 0 var(--ink); }
.items.grid .item .add { margin-top: auto; align-self: flex-start; }
.items.grid .item .mini { margin: 8px 0 14px; }
.sizes { color: var(--olive-dk); white-space: nowrap; }
.build-sec .b-group legend { color: var(--sage); }
.build-sec .chip span { border-color: var(--cream); background: transparent; color: var(--cream); }
.build-sec .chip:hover span { background: rgba(250, 241, 230, .18); }
.build-sec .chip input:checked + span { background: var(--rosa); color: var(--ink); border-color: var(--ink); }
.build-sec .chip input:checked + span::before { color: var(--red); }
.form-err { color: var(--red-dk); font-weight: 700; margin: 8px 0 0; }
@media (max-width: 880px) { .card-sec.feature { grid-template-columns: 1fr; } .feat-photo { order: -1; aspect-ratio: 16 / 9; } }

/* ---------- options sheet readability ---------- */
.item-sheet { width: min(640px, calc(100% - 24px)); background: var(--cream); }
.item-sheet h2 { margin-right: 48px; }
.item-sheet .b-group { margin: 0 0 18px; padding: 14px; background: #FFFDF8; border: 2px solid var(--ink); border-radius: var(--r-sm); }
.item-sheet .b-group legend { font-size: .86rem; color: var(--ink); background: var(--sage); padding: 5px 10px; border: 2px solid var(--ink); border-radius: 999px; margin-bottom: 12px; }
.item-sheet .b-group legend small { font-weight: 700; color: var(--olive-dk); opacity: 1; }
.item-foot { background: var(--cream); border-top: 2px solid var(--ink); margin-top: 8px; padding: 14px 0 4px; }

/* ---------- checkout: clear sections, small card fields ---------- */
.co-sec { background: var(--paper-2); }
.co-box { background: #FFFDF8; box-shadow: 4px 4px 0 var(--ink); }
.co-box legend { background: var(--sage); border: 2px solid var(--ink); border-radius: 999px; padding: 6px 12px; color: var(--ink); }
.co-box .chip { display: inline-block; }
.co-box .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.card-field { height: 46px; padding: 0 12px; overflow: hidden; background: #FFFFFF; }
.card-field iframe { height: 100% !important; width: 100% !important; }
.card-row { gap: 10px; }
.b-group legend { font-size: .86rem; } .b-group legend small { font-weight: 700; opacity: 1; }
.co [hidden] { display: none !important; }

/* ---------- pickup vs delivery banner ---------- */
.ways-bar { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; margin: 0 0 26px; }
.ways-bar .wb { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 16px 18px; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: 4px 4px 0 var(--ink); }
.wb-pick { background: var(--sage); }
.wb-del { background: #FFFDF8; }
.ways-bar .k { font: 700 .74rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--olive-dk); }
.ways-bar b { font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.ways-bar .d { font-size: .94rem; color: var(--ink-2); line-height: 1.4; }
.ways-bar .btn { margin-top: 4px; }
.ways-bar.compact { margin-bottom: 22px; }
@media (max-width: 720px) { .ways-bar { grid-template-columns: 1fr; } }

/* ---------- menu photos + option notes ---------- */
.item-ph { margin: -16px -16px 4px; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 2px solid var(--ink); border-radius: calc(var(--r-sm) - 2px) calc(var(--r-sm) - 2px) 0 0; background: var(--ink); }
.item-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-note { margin: -4px 0 10px; font-size: .88rem; color: var(--ink-2); }
.build-sec .g-note { color: var(--sage); }
/* Included in the item (combo tostones + drink): ticked and locked, but not faded. */
.chip input:checked:disabled + span { opacity: 1; cursor: default; }
