/* Wildflour Bistro · "the red table". Everything sits on their glossy red tabletops. Plates are round and white.
   The hours live on the chalkboard by the door. Gloock for the big words, Hanken Grotesk for reading, Caveat for chalk. */
:root {
  --red: #b5121b;
  --red-deep: #8e0d14;
  --red-glow: #d4202a;
  --plate: #fbf7f0;
  --cream: #f4ece0;
  --ink: #1f1a17;
  --ink-soft: #5a4b43;
  --chalk-bg: #22211e;
  --chalk: #e6e1d6;
  --bg: var(--plate);
  --surface: var(--cream);
  --muted: var(--ink-soft);
  --accent: var(--red);
  --accent2: var(--red-glow);
  --light: var(--plate);
  --font-display: "Gloock";
  --font-body: "Hanken Grotesk";
  --font-chalk: "Caveat";
  --shadow-plate: 0 30px 60px -20px rgba(60, 0, 0, .55), 0 2px 0 rgba(255,255,255,.6) inset;
}
body { background: var(--plate); color: var(--ink); }
h1, h2, h3 { font-weight: 400; letter-spacing: -.015em; }
.wrap { width: min(1280px, 100% - var(--gutter) * 2); margin-inline: auto; }

/* red tabletop texture: a soft specular sheen plus a faint vignette */
.table-bg, .hero, .plates, .menu, .site-footer {
  background:
    radial-gradient(120% 70% at 20% 0%, rgba(255,255,255,.14), transparent 55%),
    radial-gradient(80% 60% at 100% 100%, rgba(0,0,0,.28), transparent 60%),
    var(--red);
  color: var(--plate);
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: 15px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: var(--step-0); line-height: 1; border: 0; cursor: pointer; transition: transform .25s var(--ease-out), background .25s; }
.btn-light { background: var(--plate); color: var(--red); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--plate); box-shadow: 0 0 0 1.5px rgba(251,247,240,.55) inset; }
.btn-ghost:hover { box-shadow: 0 0 0 1.5px var(--plate) inset; }
.btn-red { background: var(--red); color: var(--plate); }
.btn-red:hover { background: var(--red-glow); }

/* header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 14px var(--gutter); color: var(--plate); }
.site-header.is-solid { background: rgba(142, 13, 20, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-plate { width: 44px; height: 44px; border-radius: 50%; background: #fff; overflow: hidden; flex: none; box-shadow: 0 6px 14px rgba(0,0,0,.25); display: grid; place-items: center; }
.brand-plate img { width: 92%; height: 92%; object-fit: contain; }
.brand-word { font-family: var(--font-display); font-size: var(--step-1); letter-spacing: -.01em; line-height: 1; }
.brand-word em { font-family: var(--font-chalk); font-style: normal; font-weight: 600; font-size: .95em; opacity: .9; margin-left: .15em; }
.site-nav { display: flex; justify-content: center; gap: clamp(16px, 2.6vw, 36px); font-size: var(--step--1); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.site-nav a { text-decoration: none; opacity: .85; position: relative; padding: 6px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: currentColor; transition: right .3s var(--ease-out); }
.site-nav a:hover { opacity: 1; } .site-nav a:hover::after { right: 0; }
.call { padding: 12px 20px; border-radius: 999px; background: var(--plate); color: var(--red); text-decoration: none; font-weight: 700; font-size: var(--step--1); white-space: nowrap; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; padding: calc(80px + 4vh) var(--gutter) 10vh; overflow: hidden; }
.hero-copy { position: relative; z-index: 3; }
.hero-kicker { font-size: var(--step--1); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-bottom: 2.5vh; }
.hero-title { font-size: clamp(5.2rem, 16.5vw, 19rem); line-height: .82; margin-left: -.04em; white-space: nowrap; position: relative; z-index: 3; text-shadow: 0 2px 0 rgba(0,0,0,.08); }
.hero-sub { max-width: 34rem; font-size: var(--step-1); line-height: 1.45; margin-top: 3vh; font-weight: 400; color: rgba(251,247,240,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 3.5vh; }
.hero-hours { position: absolute; left: var(--gutter); bottom: 3vh; font-size: var(--step--1); opacity: .85; z-index: 3; }
.hero-hours strong { font-weight: 700; }

.hero-plate { margin: 0; position: relative; z-index: 2; justify-self: end; width: min(100%, 44vw); }
.plate { position: relative; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0 68%, #f1ebe2 69% 78%, #fff 79% 100%); box-shadow: var(--shadow-plate); aspect-ratio: 1; }
.plate::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.05) inset, 0 -8px 20px rgba(0,0,0,.06) inset; pointer-events: none; }
.plate-well { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; background: #e9e2d7; }
.plate-well img { width: 100%; height: 100%; object-fit: cover; }
.hero-slides { position: absolute; inset: 0; }
.hero-caption { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding-left: 6%; }
.slide-cap { font-size: var(--step--1); opacity: .9; min-height: 1.4em; }
[data-slides-dots] button { background: rgba(251,247,240,.3); } [data-slides-dots] button i { background: var(--plate); }

/* ---------- STORY ---------- */
.story { background: var(--cream); color: var(--ink); padding: clamp(80px, 12vh, 150px) 0; position: relative; }
.story-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: auto auto; gap: clamp(32px, 5vw, 80px) clamp(32px, 6vw, 96px); align-items: start; }
.story-quote { margin: 0; grid-column: 1; }
.quote-big { font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 4.4rem); line-height: 1.02; color: var(--red); text-wrap: balance; }
.story-quote cite { display: block; margin-top: 20px; font-style: normal; font-size: var(--step--1); color: var(--ink-soft); font-weight: 600; letter-spacing: .02em; }
.story-body { grid-column: 1; max-width: 42rem; font-size: var(--step-0); line-height: 1.7; color: var(--ink-soft); }
.story-body p + p { margin-top: 1.2em; }
.story-amber { font-family: var(--font-display); font-size: var(--step-1); color: var(--ink); line-height: 1.3; border-left: 3px solid var(--red); padding-left: 18px; }
.story-amber span { display: block; font-family: var(--font-body); font-size: var(--step--1); color: var(--ink-soft); margin-top: 6px; font-weight: 600; }
.bread-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bread-list li { padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 8px 18px -12px rgba(0,0,0,.25); font-weight: 600; font-size: var(--step--1); color: var(--ink); }
.story-photo { grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: stretch; border-radius: 28px 28px 240px 28px; overflow: hidden; min-height: 520px; position: relative; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.story-photo figcaption { position: absolute; left: 20px; bottom: 20px; background: rgba(251,247,240,.92); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-size: var(--step--1); font-weight: 600; }

/* ---------- PLATES ---------- */
.plates { padding: clamp(80px, 12vh, 150px) 0 clamp(60px, 8vh, 120px); overflow: hidden; }
.plates-title { font-size: clamp(3rem, 8vw, 8.5rem); line-height: .9; max-width: 11ch; }
.plates-intro { margin-top: 24px; max-width: 36rem; font-size: var(--step-0); color: rgba(251,247,240,.85); }
.plate-list { list-style: none; margin: clamp(60px, 8vh, 110px) 0 0; padding: 0; counter-reset: plate; }
.plate-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding: clamp(20px, 3vh, 40px) var(--gutter); counter-increment: plate; }
.plate-row .plate { width: min(100%, 520px); }
.plate-row[data-side="left"] .plate { justify-self: start; margin-left: -6vw; }
.plate-row[data-side="right"] .plate { grid-column: 2; grid-row: 1; justify-self: end; margin-right: -6vw; }
.plate-row[data-side="right"] .plate-text { grid-column: 1; grid-row: 1; text-align: right; justify-self: end; }
.plate-text { max-width: 30rem; }
.plate-text::before { content: counter(plate, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: var(--step-1); opacity: .5; margin-bottom: 10px; }
.plate-text h3 { font-size: clamp(2rem, 4vw, 4rem); line-height: .95; }
.plate-text .price { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: var(--step-0); background: var(--plate); color: var(--red); padding: 6px 12px; border-radius: 999px; vertical-align: middle; margin-left: .3em; white-space: nowrap; transform: translateY(-.3em); }
.plate-text p { margin-top: 16px; font-size: var(--step-0); line-height: 1.6; color: rgba(251,247,240,.86); }

/* ---------- MENU ---------- */
.menu { padding: clamp(60px, 10vh, 140px) 0 clamp(90px, 14vh, 180px); }
.menu-head { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 6vh, 80px); }
.menu-head h2 { font-size: clamp(3.4rem, 9vw, 9.5rem); line-height: .85; }
.menu-head p { max-width: 32rem; color: rgba(251,247,240,.85); padding-bottom: .6em; }
.menu-card { position: relative; background: #fff; color: var(--ink); border-radius: 14px; padding: clamp(28px, 4vw, 64px); transform: rotate(-1deg); box-shadow: 0 50px 80px -30px rgba(40,0,0,.6), 0 1px 0 rgba(255,255,255,.8) inset; overflow: hidden; }
.menu-card-gloss { position: absolute; inset: -40% -20% auto; height: 70%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%); pointer-events: none; mix-blend-mode: screen; }
.menu-logo { width: clamp(110px, 12vw, 160px); margin: 0 0 24px; }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); }
.menu-group h3 { font-family: var(--font-display); font-size: clamp(2.2rem, 3.6vw, 3.6rem); color: var(--red); margin: 28px 0 12px; line-height: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.menu-group h3:first-child { margin-top: 0; }
.menu-group h3 small { font-family: var(--font-body); font-size: var(--step--1); color: var(--ink-soft); font-weight: 500; }
.menu-group dl { margin: 0; }
.menu-group dl > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 18px; padding: 12px 0; border-top: 1px solid rgba(31,26,23,.1); }
.menu-group dl > div:first-child { border-top: 0; }
.menu-group dt { font-weight: 700; font-size: var(--step-0); letter-spacing: .01em; }
.menu-group dd { margin: 0; grid-column: 1; font-size: var(--step--1); color: var(--ink-soft); line-height: 1.5; }
.menu-group data { grid-column: 2; grid-row: 1; font-family: var(--font-display); font-size: var(--step-1); color: var(--red); white-space: nowrap; }
.menu-group dl.compact > div { grid-template-columns: 1fr auto; padding: 8px 0; }
.menu-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px clamp(20px, 3vw, 48px); margin-top: 40px; padding-top: 28px; border-top: 2px solid var(--red); }
.menu-foot h4 { font-family: var(--font-display); font-size: var(--step-2); color: var(--red); margin-bottom: 10px; }
.menu-foot ul { list-style: none; margin: 0; padding: 0; font-size: var(--step--1); color: var(--ink-soft); }
.menu-foot li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.menu-foot li span { font-weight: 600; color: var(--ink); }
.menu-note { margin-top: 28px; font-size: .78rem; color: var(--ink-soft); }

/* ---------- CHALKBOARD ---------- */
.board { background: var(--chalk-bg); color: var(--chalk); padding: clamp(80px, 12vh, 150px) 0; position: relative; }
.board::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(60% 50% at 30% 30%, rgba(255,255,255,.07), transparent 70%), radial-gradient(50% 60% at 80% 80%, rgba(255,255,255,.05), transparent 70%); }
.board-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; position: relative; }
.chalk { font-family: var(--font-chalk); font-weight: 600; }
.chalk-welcome { font-size: clamp(2.8rem, 6.5vw, 6.5rem); line-height: .95; letter-spacing: .01em; transform: rotate(-2deg); transform-origin: left; margin-bottom: 36px; text-shadow: 0 0 12px rgba(230,225,214,.25); }
.hours { margin: 0; max-width: 30rem; }
.hours > div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px dashed rgba(230,225,214,.25); font-size: var(--step-1); font-family: var(--font-chalk); font-weight: 600; }
.hours dt { opacity: .9; } .hours dd { margin: 0; }
.hours .closed dd { color: #e4a19d; }
.chalk-small { margin-top: 28px; font-size: var(--step-1); opacity: .8; transform: rotate(1deg); transform-origin: left; max-width: 28rem; line-height: 1.3; }
.board-photo { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); transform: rotate(2deg); border: 10px solid #3a3531; }
.board-photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; }

/* ---------- VISIT ---------- */
.visit { background: var(--cream); color: var(--ink); padding: clamp(80px, 12vh, 150px) 0; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: clamp(28px, 4vw, 56px); align-items: start; }
.visit-copy h2 { font-size: clamp(2.8rem, 6vw, 6.5rem); line-height: .9; color: var(--red); }
.visit-copy address { font-style: normal; margin-top: 28px; display: grid; gap: 6px; font-size: var(--step-1); font-weight: 600; }
.visit-copy address a { text-decoration: none; }
.visit-copy address a:hover { color: var(--red); }
.visit-copy p { margin-top: 20px; color: var(--ink-soft); max-width: 30rem; line-height: 1.6; }
.visit-links { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.social { font-weight: 600; font-size: var(--step--1); color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--red); padding-bottom: 2px; }
.visit-photo { margin: 0; grid-column: 2; grid-row: 1 / span 2; border-radius: 240px 240px 24px 24px; overflow: hidden; min-height: 560px; position: relative; }
.visit-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit-map { grid-column: 1; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; filter: saturate(.75) contrast(1.05); box-shadow: 0 20px 40px -24px rgba(0,0,0,.4); }
.visit-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- NOTE FORM ---------- */
.note { background: var(--plate); padding: clamp(80px, 12vh, 150px) 0; }
.note-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.note-copy h2 { font-size: clamp(2.6rem, 5.4vw, 5.6rem); line-height: .92; }
.note-copy p { margin-top: 22px; color: var(--ink-soft); line-height: 1.65; max-width: 30rem; }
.note-form { display: grid; gap: 16px; padding: clamp(24px, 3vw, 40px); background: #fff; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(60,0,0,.35), 0 0 0 1px rgba(31,26,23,.06); }
.note-form label { display: grid; gap: 8px; font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); }
.note-form input, .note-form textarea { padding: 14px 16px; border-radius: 12px; border: 1.5px solid rgba(31,26,23,.14); background: var(--plate); outline: none; transition: border-color .2s; }
.note-form input:focus, .note-form textarea:focus { border-color: var(--red); }
.note-form button { justify-self: start; margin-top: 6px; }

/* ---------- FOOTER ---------- */
.site-footer { padding: 56px 0 110px; }
.foot-grid { display: grid; gap: 10px; justify-items: start; font-size: var(--step--1); color: rgba(251,247,240,.85); }
.brand-foot { margin-bottom: 10px; color: var(--plate); }
.foot-grid a { color: inherit; }
.foot-small { opacity: .7; margin-top: 10px; }

/* sticky call bar on phones */
.callbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; gap: 8px; }
.callbar a { flex: 1; text-align: center; padding: 15px; border-radius: 999px; background: var(--plate); color: var(--red); font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.callbar a:first-child { background: var(--ink); color: var(--plate); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .hero-title { font-size: clamp(5rem, 15vw, 14rem); }
  .site-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; padding-bottom: 14vh; gap: 28px; }
  .hero-title { font-size: clamp(4.4rem, 19vw, 10rem); white-space: nowrap; }
  .hero-plate { width: min(78vw, 420px); justify-self: center; margin-top: 10px; }
  .hero-caption { justify-content: center; padding-left: 0; }
  .hero-hours { position: static; margin-top: 10px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-photo { grid-column: 1; grid-row: auto; min-height: 380px; border-radius: 24px 24px 160px 24px; }
  .plate-row { grid-template-columns: 1fr; gap: 20px; }
  .plate-row .plate { width: min(72vw, 360px); }
  .plate-row[data-side="left"] .plate { margin-left: -10vw; }
  .plate-row[data-side="right"] .plate { grid-column: 1; grid-row: auto; margin-right: -10vw; }
  .plate-row[data-side="right"] .plate-text { grid-column: 1; grid-row: auto; text-align: left; justify-self: start; }
  .menu-head { grid-template-columns: 1fr; }
  .menu-card { transform: none; }
  .menu-cols { grid-template-columns: 1fr; }
  .menu-foot { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr; }
  .board-photo { max-width: 420px; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-photo { grid-column: 1; grid-row: auto; min-height: 360px; border-radius: 160px 160px 20px 20px; }
  .note-grid { grid-template-columns: 1fr; }
  .callbar { display: flex; } .call { display: none; }
  .site-footer { padding-bottom: 120px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: min(18.5vw, 5.2rem); white-space: nowrap; letter-spacing: -.03em; margin-left: -.03em; }
  .hero-kicker { letter-spacing: .08em; }
  .plate-text h3 { font-size: 2rem; }
  .plate-text .price { transform: none; margin: 8px 0 0; display: inline-block; }
  .chalk-welcome { font-size: 3rem; }
  .hours > div { font-size: var(--step-0); }
}
