@import url("fonts/fonts.css");

/* Offload, "Ketchup & Mustard" look with Ben's colors (Nov 11): diner cream, deep red, bright blue and mustard, slab headlines, pill buttons.
   The diner guest check is the signature. Real objects (checks, phones, notes) get paper and shadow;
   everything else sits on rules, not cards. */
:root {
  /* Colors. The seven picked ones (marked "pick") come from the color packet; the rest are worked out
     from them by _tools/bake-colors.js. To change colors, re-run it with new picks; don't hand-edit. */
  color-scheme: light;
  --canvas: #FBF4E6;      /* pick: Background, Diner cream */
  --paper: #FFFDF8;       /* pick: Cards (guest check, letter, demo box), Warm white */
  --card: #FFFEFD;        /* inputs and demo cards */
  --well: #F7F6F5;        /* quoted message inside a card */
  --stage: #EEE7DA;       /* demo stage */
  --ink: #1E1A17;         /* pick: Text, Diner black */
  --muted: #656059;
  --faint: #989289;       /* placeholder text like "pick one" */
  --line: #DCD5C9;
  --line-soft: #EDECEB;
  --line-strong: #B9B3A8;
  --tomato: #C60C0C;      /* pick: Buttons, prices, big numbers, custom */
  --tomato-dark: #C60C0C; /* the button color, dark enough for small text */
  --tomato-soft: #F7DDDD;
  --on-accent: #FFFFFF;   /* words on buttons */
  --green: #0B93F6;       /* pick: Keep it human, custom */
  --green-soft: #DFF1FE;
  --mustard: #FCBF49;     /* pick: Highlight on dark bands, Mustard */
  --band: #1E1A17;        /* pick: Dark bands (footer, booking band), Diner black */
  --band-ink: #FBF4E6;
  --band-muted: #C4BEB2;
  --bubble: #E9E3D5;      /* phone demo: their text bubbles */
  --bub-out: #0976C5;     /* phone demo: your text bubbles */
  --shadow: 30, 26, 23;
  /* Type: Alfa Slab One headlines, Work Sans text (self-hosted in assets/fonts) */
  --display: "Alfa Slab One", Rockwell, Georgia, serif;
  --body: "Work Sans", "Segoe UI", Arial, sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --h-case: none;         /* headline case */
  --h-track: 0em;         /* headline letter spacing */
  --h-scale: .9;          /* headline size multiplier (Alfa Slab runs wide) */
  /* Shape */
  --btn-radius: 999px;    /* pill buttons */
  --radius: 12px;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-synthesis: none; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 1.125rem/1.6 var(--body); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.015em; font-variant-ligatures: none; }
h1 { font-size: calc(clamp(2.4rem, 5.6vw, 4.1rem) * var(--h-scale)); font-weight: 800; letter-spacing: calc(var(--h-track) - .005em); text-transform: var(--h-case); }
h2 { font-size: calc(clamp(1.85rem, 3.6vw, 2.7rem) * var(--h-scale)); font-weight: 800; letter-spacing: var(--h-track); text-transform: var(--h-case); }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; border-radius: 3px; }
.on-ink :focus-visible { outline-color: var(--mustard); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -4rem; background: var(--ink); color: var(--canvas); padding: .75rem 1rem; z-index: 30; border-radius: 6px; }
.skip:focus { top: .5rem; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section + .section:not(.on-ink) > .wrap:first-child { background: linear-gradient(var(--ink), var(--ink)) center top / calc(100% - 2 * var(--gutter)) 1.5px no-repeat; padding-top: clamp(2.5rem, 6vw, 4rem); }
.section.flush { padding-top: 0; }
.on-ink { background: var(--band); color: var(--band-ink); }
.on-ink .muted, .on-ink .lede { color: var(--band-muted); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
.head { display: grid; gap: .9rem; margin-bottom: clamp(2rem, 4.5vw, 3rem); max-width: 46rem; }
.head h2 { text-wrap: balance; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.1rem; padding: .75rem 1.35rem; border-radius: var(--btn-radius);
  font: 700 1.0625rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--tomato); color: var(--on-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--tomato) 84%, var(--ink)); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--canvas); }
.on-ink .btn-line { color: var(--band-ink); border-color: var(--band-ink); }
.on-ink .btn-line:hover { background: var(--band-ink); color: var(--band); }
.btn-lg { min-height: 3.5rem; padding: .9rem 1.6rem; font-size: 1.15rem; }
.btn-sm { min-height: 2.75rem; padding: .55rem 1rem; font-size: 1rem; }
.arrow { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; text-decoration-color: var(--tomato); }
.arrow::after { content: " \2192"; }
.arrow:hover { color: var(--tomato-dark); }
.on-ink .arrow { text-decoration-color: var(--mustard); }
.on-ink .arrow:hover { color: var(--mustard); }

/* Header: the logo, a short menu, the phone number (wider screens) and the booking button */
.site-header .bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; padding-block: 1rem .9rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; border-radius: .4rem; }
.logo img { display: block; height: 4rem; width: auto; } /* the diner-sign logo (Nov 11); source in Brand */
.head-phone { display: none; font-weight: 700; text-decoration: none; white-space: nowrap; }
.head-phone:hover { text-decoration: underline; }
@media (min-width: 48rem) { .head-phone { display: inline; } }
/* The menu sits on its own line on phones and tablets, beside the logo on wide screens. */
.site-nav { order: 3; width: 100%; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.site-nav a { display: inline-block; text-decoration: none; font-weight: 600; font-size: 1rem; padding-block: .35rem; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--ink); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--tomato); }
@media (min-width: 60rem) { .site-nav { order: 0; width: auto; margin-right: auto; } .logo { margin-right: 1.5rem; } }

/* Mobile booking bar */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; gap: .5rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: var(--canvas); border-top: 1.5px solid var(--ink); transform: translateY(110%); transition: transform .25s ease; }
.mobile-cta.show { transform: none; }
.mobile-cta .btn-primary { flex: 1; }
.mobile-cta .btn-line { flex: none; }
@media (min-width: 48rem) { .mobile-cta { display: none; } }
@media (max-width: 47.99rem) { body.has-cta { padding-bottom: 4.5rem; } }

/* Home: the header section */
.hero { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem); }
.hero-copy { display: grid; gap: 1.4rem; align-content: start; max-width: 50rem; }
.hero-copy .lede { color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.35rem); max-width: 44rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.call-line { color: var(--muted); font-size: 1.02rem; }
.call-line a { color: var(--ink); font-weight: 700; white-space: nowrap; }
.local-line { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: 1.02rem; }
.local-line svg { width: 1.2rem; height: 1.2rem; color: var(--tomato); flex: none; }
/* The "Send us a question" form beside the header copy (below it on phones) */
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }
.inquiry { background: var(--paper); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(var(--shadow),.08), 0 24px 50px -34px rgba(var(--shadow),.5); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: .9rem; width: 100%; max-width: 34rem; justify-self: center; }
.inquiry h2 { font-size: clamp(1.45rem, 2.6vw, 1.8rem); }
.inquiry .sub { color: var(--muted); font-size: 1.02rem; }
.inquiry-form { display: grid; gap: .9rem; }
.inquiry-form .btn { width: 100%; }
.choices { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: .5rem; }
.choices legend { font-weight: 700; font-size: 1rem; margin-bottom: .5rem; padding: 0; }
.choices label { display: flex; gap: .6rem; align-items: center; padding: .7rem .85rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--card); cursor: pointer; font-size: 1.02rem; }
.choices input { accent-color: var(--tomato); width: 1.1rem; height: 1.1rem; flex: none; margin: 0; }
.choices label:has(input:checked) { border-color: var(--ink); }

/* Check-mark lists (home page and booking page) */
.ticks li { display: flex; gap: .6rem; padding-block: .3rem; line-height: 1.45; }
.ticks li::before { content: ""; flex: none; width: .9rem; height: .5rem; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); margin-top: .4rem; }

/* Home: what Offload does. Two lists: what AI can handle (red checks) and what stays human (blue checks). */
.head .lede + .lede { margin-top: -.2rem; }
.lists { display: grid; gap: 2rem 3rem; }
.list-box { border-top: 2px solid var(--ink); padding-top: 1.1rem; display: grid; gap: .75rem; align-content: start; }
.list-box h3 { font-size: 1.35rem; }
.list-box li { font-size: 1.1rem; }
.list-box:not(.human) .ticks li::before { border-color: var(--tomato); }
@media (min-width: 48rem) { .lists { grid-template-columns: 1fr 1fr; } }

/* Home: how it works, five numbered steps */
.steps { counter-reset: step; max-width: 52rem; }
.steps li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1.25rem; row-gap: .45rem; align-content: start; padding-block: 1.4rem; border-top: 2px solid var(--ink); }
.steps li:last-child { border-bottom: 2px solid var(--ink); }
.steps li::before { counter-increment: step; content: counter(step); grid-column: 1; grid-row: 1 / span 3; font: 400 2.5rem/1 var(--display); color: var(--tomato); }
.steps li > * { grid-column: 2; }
.steps h3 { font-size: clamp(1.3rem, 2.4vw, 1.55rem); }
.steps p { font-size: 1.1rem; max-width: 42rem; }
.steps .tag { justify-self: start; font-weight: 700; font-size: .95rem; line-height: 1.2; padding: .3rem .75rem; border-radius: 999px; background: var(--mustard); color: var(--ink); }
@media (max-width: 30rem) { .steps li { grid-template-columns: 2.2rem minmax(0, 1fr); column-gap: .9rem; } .steps li::before { font-size: 2rem; } }

/* Book band (bottom of pages) */
.book-band { overflow-x: clip; }
.book-band .wrap { display: grid; gap: 2.5rem; align-items: center; }
.book-band .copy { display: grid; gap: 1.25rem; align-content: start; max-width: 46rem; }


/* Footer */
.site-footer { padding-block: 3rem 2.5rem; }
.site-footer .wrap { display: grid; gap: 1.5rem; }
.foot-row { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: space-between; align-items: center; }
.site-footer .logo { margin: 0; }
.site-footer .logo img { height: 3.6rem; }
.site-footer p, .site-footer li { color: var(--band-muted); font-size: 1rem; }
.site-footer a { color: var(--band-ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* ---------- Book a meeting page ---------- */
.book { padding-block: clamp(1.25rem, 3vw, 2.5rem) clamp(3rem, 7vw, 5rem); }
.book .wrap { display: grid; gap: 2.5rem; align-items: start; }
.book-head { display: grid; gap: .9rem; margin-bottom: 2rem; }
.book-head .lede { color: var(--ink); }
form.meeting { display: grid; gap: 2.25rem; }
.pick-label { font-weight: 700; margin-bottom: -.4rem; }
.pills + .pick-label { margin-top: .6rem; }
.stepbox { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1rem; }
.stepbox > legend, .stepbox > .legend { display: flex; align-items: baseline; gap: .75rem; font: 800 1.45rem/1.2 var(--display); letter-spacing: -0.01em; padding: 0; margin-bottom: 1rem; float: left; width: 100%; }
.stepbox > legend + *, .stepbox > .legend + * { clear: both; }
.stepbox .n { flex: none; display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--canvas); font: 800 1rem/1 var(--display); transform: translateY(-.1rem); }
.stepbox .opt { font: 400 1rem/1 var(--body); color: var(--muted); }
.days-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.2rem, 1fr)); gap: .5rem; }
.day { display: grid; gap: .15rem; justify-items: center; padding: .7rem .4rem; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--paper); cursor: pointer; font: 600 1rem/1.2 var(--body); color: var(--ink); min-height: 4.2rem; }
.day small { font-weight: 400; font-size: .85rem; color: var(--muted); }
.day b { font: 800 1.35rem/1 var(--display); }
.day:hover { background: var(--card); }
.day[aria-pressed="true"] { background: var(--ink); color: var(--canvas); }
.day[aria-pressed="true"] small { color: inherit; opacity: .75; }
.day.flex-day { grid-column: 1 / -1; min-height: 3rem; grid-auto-flow: column; gap: .5rem; }
.js .no-js-days { display: none; }
.days-grid[hidden] { display: none; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills label { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; min-width: 4.8rem; padding: .45rem .95rem; border: 1.5px solid var(--ink); border-radius: var(--radius); background: var(--paper); cursor: pointer; font-weight: 600; }
.pills label:hover { background: var(--card); }
.pills input:checked + label { background: var(--ink); color: var(--canvas); }
.pills input:focus-visible + label { outline: 3px solid var(--tomato); outline-offset: 2px; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 700; font-size: 1rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 400 1.0625rem/1.4 var(--body); color: var(--ink); background: var(--card);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius); padding: .75rem .85rem; width: 100%; min-height: 3rem;
}
.field textarea { min-height: 6rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tomato) 25%, transparent); }
.two { display: grid; gap: 1rem; }
@media (min-width: 36rem) { .two { grid-template-columns: 1fr 1fr; } }
.err { color: var(--tomato-dark); font-weight: 700; font-size: 1rem; }
.err[hidden] { display: none; }
.submit-row { display: grid; gap: .8rem; }
.submit-row .btn { width: 100%; }
.form-note { font-size: .95rem; color: var(--muted); }
.portable-msg { font-weight: 600; }
.book-aside { display: grid; gap: 1.5rem; align-content: start; }
.book-aside .call-card { border-top: 1.5px solid var(--ink); padding-top: 1rem; display: grid; gap: .25rem; }
.book-aside .call-card a { font: 800 1.7rem/1.1 var(--display); text-decoration: none; color: var(--tomato-dark); }
.book-aside .call-card a:hover { text-decoration: underline; }
.next-list { counter-reset: nx; display: grid; gap: .6rem; }
.next-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .6rem; font-size: 1rem; }
.next-list li::before { counter-increment: nx; content: counter(nx) "."; font-weight: 800; color: var(--tomato-dark); }
@media (min-width: 60rem) {
  .book .wrap { grid-template-columns: 1.3fr .7fr; gap: 4rem; }
  .book-aside { position: sticky; top: 1.5rem; }
}

/* ---------- Testimonials page ---------- */
.quotes { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quote { margin: 0; background: var(--paper); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(var(--shadow),.08), 0 18px 40px -30px rgba(var(--shadow),.5); padding: clamp(1.25rem, 3vw, 1.75rem); display: grid; gap: 1rem; align-content: start; }
.quote blockquote { margin: 0; font-size: 1.15rem; }
.quote figcaption { color: var(--muted); font-size: .98rem; }
.quote figcaption b { display: block; color: var(--ink); font: 400 1.1rem/1.3 var(--display); }
.quotes-empty { grid-column: 1 / -1; border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: .9rem; max-width: 46rem; }
.quotes-empty h2 { font-size: clamp(1.35rem, 2.4vw, 1.6rem); }
.share > * { max-width: 46rem; }

/* ---------- Who you'll meet (Ben and Nathan) ---------- */
.kicker { font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tomato); }
.partners { display: grid; gap: 2.25rem 3rem; }
@media (min-width: 48rem) { .partners { grid-template-columns: 1fr 1fr; } }
.partner { border-top: 2px solid var(--ink); padding-top: 1.25rem; display: grid; gap: 1rem; align-content: start; }
.partner-top { display: flex; align-items: center; gap: 1rem; }
.initials { flex: none; width: 3.75rem; height: 3.75rem; border-radius: 50%; display: grid; place-items: center; font: 400 1.35rem/1 var(--display); letter-spacing: .03em; color: var(--on-accent); background: var(--tomato); }
.initials.nathan { background: var(--green); }
.partner h3 { font-size: 1.45rem; }
.partner .role { color: var(--muted); font-weight: 600; font-size: 1rem; margin-top: .25rem; }
.partner > p { font-size: 1.1rem; max-width: 34rem; }

/* ---------- Home page video ---------- */
.film-frame { position: relative; max-width: 60rem; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: 0 1px 0 rgba(var(--shadow),.08), 0 24px 50px -30px rgba(var(--shadow),.55); }
.film-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink); }
.film-play { position: absolute; inset: 0; margin: auto; width: clamp(4rem, 10vw, 5.5rem); height: clamp(4rem, 10vw, 5.5rem); border: 0; border-radius: 50%; background: var(--tomato); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(var(--shadow),.6); }
.film-play[hidden] { display: none; }
.film-play svg { width: 42%; height: 42%; margin-left: 8%; }
.film-play:hover { background: var(--tomato-dark); }
.film-play:focus-visible { outline: 3px solid var(--mustard); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) { .film-play { transition: transform .15s ease, background-color .15s ease; } .film-play:hover { transform: scale(1.06); } }

/* Simple pages */
.page { padding-block: clamp(2.5rem, 7vw, 5rem); }
.page .wrap { max-width: 46rem; display: grid; gap: 1.2rem; }
.page ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .4rem; }
.page h2 { font-size: 1.5rem; margin-top: 1rem; }
.page .recap { font-weight: 600; font-size: 1.1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Phones: a tighter home page header (Nov 12, Ben: "tighten it"). Same words and form, less height. */
@media (max-width: 36rem) {
  .hero { padding-block: 1rem 2.75rem; }
  .hero-grid { gap: 2rem; }
  .hero-copy { gap: 1.05rem; }
  .hero-copy .lede { font-size: 1.0625rem; line-height: 1.55; }
  .local-line { align-items: flex-start; font-size: .97rem; }
  .local-line svg { margin-top: .15rem; }
  .inquiry { gap: .7rem; }
  .inquiry .sub { font-size: .98rem; }
  .inquiry-form { gap: .75rem; }
  .inquiry-form .field { gap: .3rem; }
  .inquiry-form .field input { min-height: 2.8rem; padding-block: .6rem; }
  .inquiry-form .field textarea { min-height: 4.75rem; }
}
