/* Southpaw Kitchen: fictional concept by AXOW. Original brand, copy and layout. */
@font-face { font-family: 'Archivo'; font-weight: 400 900; font-display: swap; src: url(fonts/archivo-latin.woff2) format('woff2'); }
@font-face { font-family: 'DM Serif Display'; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/dmserif-italic-latin.woff2) format('woff2'); }

:root {
  --cream: #FFF4E4;
  --paper: #FFFBF4;
  --ink: #24160E;
  --ink-2: #5A4636;
  --gold: #F2A93B;
  --gold-deep: #C77A12;
  --red: #C8331F;        /* AA on cream: 4.9:1 */
  --green: #3E6B2F;
  --peach: #F7B49A;
  --font: 'Archivo', system-ui, sans-serif;
  --serif: 'DM Serif Display', Georgia, serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--cream); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--cream); padding: 10px 16px; z-index: 100; }
.skip:focus { top: 12px; }

/* type */
.big { font-weight: 900; letter-spacing: -.045em; line-height: .9; }
.big i, .accent { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--red); display: block; line-height: 1.05; }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13px; letter-spacing: .04em; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 26px; font-weight: 800; font-size: 16px; text-decoration: none; border: 2.5px solid var(--ink); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--ink); }
.tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 2px solid var(--ink); font-family: ui-monospace, Menlo, monospace; font-size: 13px; background: var(--paper); }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 2.5px solid transparent; transition: border-color .3s; }
.top.is-stuck { border-bottom-color: var(--ink); }
.top .wrap { height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.top nav { display: flex; gap: 26px; font-weight: 700; font-size: 15px; }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--red); }
.logo { justify-self: center; text-decoration: none; text-align: center; line-height: .8; }
.logo b { display: block; font-weight: 900; font-size: 30px; letter-spacing: -.05em; }
.logo span { font-size: 10px; font-weight: 800; letter-spacing: .5em; padding-left: .5em; }
.cart { justify-self: end; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 8px 0 16px; background: var(--ink); color: var(--cream); border: 0; font-weight: 800; }
.cart output { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 14px; }

/* hero */
.hero { padding: 48px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(56px, 7.2vw, 112px); }
.hero h1 i { font-size: .78em; margin-top: .1em; white-space: nowrap; }
.hero p.lead { margin: 28px 0 32px; font-size: 19px; max-width: 34ch; color: var(--ink-2); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.modes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.plate { position: relative; aspect-ratio: 1; max-width: 560px; justify-self: center; width: 100%; }
.plate .sun { position: absolute; inset: 4%; border-radius: 50%; background: var(--peach); box-shadow: inset 0 0 0 14px rgba(255,255,255,.18); }
.plate .food { position: absolute; inset: 14% 4% 18% 6%; border-radius: 18px; overflow: hidden; rotate: -4deg; box-shadow: 0 30px 50px -20px rgba(36,22,14,.55); }
.polaroid { position: absolute; left: -6%; bottom: 2%; width: 40%; background: #fff; padding: 10px 10px 34px; border: 2.5px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); rotate: -7deg; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; }
.sticker { position: absolute; right: -2%; top: -2%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--gold); border: 2.5px solid var(--ink); display: grid; place-items: center; text-align: center; font-weight: 900; font-size: clamp(12px, 1.3vw, 17px); line-height: 1; rotate: 12deg; animation: wobble 6s ease-in-out infinite; }
.sticker small { display: block; font-size: .6em; letter-spacing: .2em; margin-top: 4px; }
@keyframes wobble { 50% { rotate: 4deg; } }

/* food photos */
.food img, .polaroid img, .card img, img.tile { display: block; width: 100%; height: auto; object-fit: cover; }
.food img { height: 100%; }
.polaroid img { aspect-ratio: 1; }
.card img { aspect-ratio: 4 / 3; border: 2.5px solid var(--ink); }

/* placeholder images (until real food photos are added) */
.ph { display: grid; place-items: center; text-align: center; padding: 12px; color: rgba(36,22,14,.7); font-size: 13px; font-weight: 700;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,.18) 0 12px, transparent 12px 24px), var(--bg, #E9B872); }

/* marquee */
.ticker { position: relative; background: var(--red); color: var(--cream); border-top: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); overflow: hidden; padding: 14px 0; }
.ticker-track { display: flex; gap: 36px; width: max-content; animation: tick 40s linear infinite; font-weight: 900; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; }
.ticker-track span::after { content: "✦"; margin-left: 36px; color: var(--gold); }
.tick-btn { position: absolute; right: 10px; top: 50%; translate: 0 -50%; z-index: 2; min-height: 34px; padding: 0 12px; background: var(--ink); color: var(--cream); border: 2px solid var(--cream); font-weight: 800; font-size: 13px; }
.ticker:hover .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* section heads */
.sec { padding: 110px 0; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.head h2 { font-size: clamp(48px, 6.4vw, 96px); }
.head p { max-width: 34ch; color: var(--ink-2); }
.arrows { display: flex; gap: 10px; align-items: center; }
.arrows a { font-weight: 800; color: var(--red); margin-right: 10px; }
.circle { width: 52px; height: 52px; border-radius: 50%; border: 2.5px solid var(--ink); background: transparent; font-size: 20px; }
.circle.solid { background: var(--ink); color: var(--cream); }

/* menu cards */
.menu { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 26vw, 330px); gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px clamp(20px, 5vw, 80px) 36px; scrollbar-width: none; }
.menu::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; border: 2.5px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 14px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); rotate: -1.5deg; transition: rotate .4s var(--ease), translate .4s var(--ease); }
.card:nth-child(even) { rotate: 1.5deg; }
.card:hover { rotate: 0deg; translate: 0 -6px; }
.card .ph { aspect-ratio: 4 / 3; border: 2.5px solid var(--ink); }
.card h3 { font-size: 28px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.card p { font-size: 15px; flex: 1; }
.card .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.card .price { font-family: ui-monospace, Menlo, monospace; font-size: 17px; font-weight: 700; }
.add { min-height: 42px; padding: 0 14px; border: 2.5px solid var(--ink); background: var(--ink); color: var(--cream); font-weight: 800; }
.card.c-red { background: var(--red); color: var(--cream); } .card.c-red .add { background: var(--cream); color: var(--ink); }
.card.c-gold { background: var(--gold); }
.card.c-green { background: var(--green); color: var(--cream); } .card.c-green .add { background: var(--cream); color: var(--ink); }
.card.c-peach { background: var(--peach); }
.card.c-paper { background: var(--paper); }

/* steps band with wavy edges */
.band { background: var(--gold); position: relative; padding: 110px 0; }
.band::before, .band::after { content: ""; position: absolute; left: 0; right: 0; height: 22px; background: radial-gradient(circle at 12px -2px, transparent 13px, var(--gold) 14px) repeat-x; background-size: 24px 22px; }
.band::before { top: -21px; transform: scaleY(-1); }
.band::after { bottom: -21px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.steps div { border-top: 2.5px solid var(--ink); padding-top: 18px; }
.steps b { font-family: ui-monospace, Menlo, monospace; font-size: 14px; }
.steps h3 { font-size: 34px; font-weight: 900; letter-spacing: -.03em; margin: 6px 0 8px; }

/* sides + combo */
.sides { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 26px; align-items: start; }
.tile { border: 2.5px solid var(--ink); aspect-ratio: 4 / 5; }
.tile + .cap { margin-top: 10px; }
.ticket { background: var(--paper); border: 2.5px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 26px; }
.ticket .kicker { color: var(--red); }
.ticket h3 { font-size: 30px; font-weight: 900; letter-spacing: -.03em; margin: 6px 0 2px; }
.perf { border: 0; border-top: 2.5px dashed var(--ink); margin: 18px -26px; position: relative; }
.ticket fieldset { border: 0; margin-bottom: 14px; }
.ticket legend { font-family: ui-monospace, Menlo, monospace; font-size: 13px; margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opts span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border: 2px solid var(--ink); font-weight: 700; font-size: 14px; background: var(--cream); }
.opts input:checked + span { background: var(--ink); color: var(--cream); }
.opts input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.sum { display: grid; gap: 6px; font-size: 15px; }
.sum div { display: flex; justify-content: space-between; }
.sum .off { color: var(--green); font-weight: 700; }
.sum .tot { font-weight: 900; font-size: 20px; border-top: 2px solid var(--ink); padding-top: 8px; margin-top: 4px; }
.ticket .btn { width: 100%; justify-content: center; margin-top: 16px; }

/* ways */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.way { border: 2.5px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 26px; min-height: 260px; display: flex; flex-direction: column; gap: 10px; }
.way h3 { font-size: 36px; font-weight: 900; letter-spacing: -.03em; }
.way.w1 { background: var(--red); color: var(--cream); } .way.w2 { background: var(--green); color: var(--cream); } .way.w3 { background: var(--ink); color: var(--cream); box-shadow: 8px 8px 0 var(--red); }
.hoods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.hoods span { border: 2px solid currentColor; padding: 2px 10px; font-size: 13px; font-family: ui-monospace, Menlo, monospace; }

/* visit */
.visit { background: var(--peach); position: relative; padding: 120px 0; margin-top: 40px; }
.visit::before { content: ""; position: absolute; left: 0; right: 0; top: -21px; height: 22px; background: radial-gradient(circle at 12px 24px, transparent 13px, var(--peach) 14px) repeat-x; background-size: 24px 22px; }
.visit .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.visit h2 { font-size: clamp(48px, 6vw, 88px); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; margin-top: 36px; }
.facts dt { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.facts dd { font-weight: 800; font-size: 18px; }
.map { position: relative; aspect-ratio: 4 / 3; border: 2.5px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); background: var(--paper); overflow: hidden; }
.map .st { position: absolute; background: #F3D9BE; }
.map .h1 { left: -10%; right: -10%; top: 38%; height: 34px; rotate: -12deg; }
.map .h2 { left: -10%; right: -10%; top: 72%; height: 22px; rotate: 4deg; }
.map .v1 { top: -10%; bottom: -10%; left: 30%; width: 26px; rotate: 6deg; }
.map .v2 { top: -10%; bottom: -10%; left: 68%; width: 22px; rotate: -3deg; }
.map .park { position: absolute; right: -6%; bottom: -14%; width: 40%; aspect-ratio: 1; border-radius: 50%; background: #9DBE78; border: 2.5px solid var(--ink); }
.map .label { position: absolute; left: 24%; top: 47%; rotate: -12deg; font-family: ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: .2em; color: var(--ink-2); }
.pin { position: absolute; left: 50%; top: 30%; width: 44px; height: 44px; background: var(--red); border: 2.5px solid var(--ink); border-radius: 50% 50% 50% 0; rotate: -45deg; }
.pin::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.pin-tag { position: absolute; left: calc(50% + 40px); top: 30%; background: var(--ink); color: var(--cream); padding: 6px 12px; font-weight: 800; font-size: 14px; }

/* footer */
.foot { background: var(--ink); color: var(--cream); padding: 64px 0 36px; }
.foot .wrap { display: grid; gap: 28px; }
.foot .logo { justify-self: start; text-align: left; }
.notice { max-width: 62ch; color: #E8D8C6; font-size: 15px; }
.notice a { color: var(--gold); }
.foot .small { font-size: 13px; color: #CDB9A4; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid #4A3528; padding-top: 18px; }
.foot .small a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* reveal */
.rv { opacity: 0; translate: 0 24px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.rv.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .sticker { animation: none; }
  .tick-btn { display: none; }
  .rv { opacity: 1; translate: none; transition: none; }
  .card, .btn { transition: none; }
}

@media (max-width: 960px) {
  .top nav { display: none; }
  .top .wrap { grid-template-columns: auto 1fr; }
  .logo { justify-self: start; text-align: left; }
  .hero .wrap, .visit .wrap { grid-template-columns: 1fr; }
  .plate { max-width: 440px; }
  .sides { grid-template-columns: 1fr 1fr; }
  .ticket { grid-column: 1 / -1; }
  .ways, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero h1 i { white-space: normal; }
  .facts { grid-template-columns: 1fr; }
  .sides { grid-template-columns: 1fr; }
  .polaroid { left: 0; }
}
