/* menusnapp.com · "Travel notebook" (site.css)
   The stylesheet of the converted pages: the homepage, the practical guide
   and the six menu guides. terms, privacy, delete-account and get keep the
   old /styles.css. Everything a guide page needs is in here (see "menu
   guides" at the end); a new guide only writes markup.

   The Warm Paper palette (planned for the app too), set as a notebook: cream paper,
   brown ink, ruled hairlines, captions in Newsreader italic and a few pen
   marks in the one terracotta. A box is drawn only around something you
   press (the store buttons) or something that is a picture (the screens,
   the printed menu, a cut-out of the app). The app pictures show today's
   app, whose white screens are framed by a hairline and a soft shadow. */

/* ── fonts (self-hosted, no third-party requests) ───────────────────────── */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/newsreader-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/newsreader-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/newsreader-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/newsreader-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/instrument-sans-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── tokens: Warm Paper ────────────────────────────────────────────────── */
:root {
  --paper: #fcf8f2;          /* the canvas */
  --wash: #fbeee0;           /* warm wash at the top of the page */
  --dust: #f4ebdf;           /* insets */
  --ink: #1d120a;            /* 17.4:1 on paper: headings, their italic word */
  --ink-soft: #4a3b30;       /* 10.1:1 body */
  --muted: #716050;          /* 5.7:1 small print */
  --caramel: #93582b;        /* 5.4:1 margin notes, original dish names */
  --accent: #c2410c;         /* 4.9:1 the one terracotta: the hero's last line,
                                the closing "example menu", links, converted
                                prices, "Get the app", the pen */
  --green: #2f6f4f;
  --gold: #b8740a;           /* icons only */
  --hair: rgba(110, 72, 36, 0.16);
  --hair-strong: rgba(110, 72, 36, 0.28);
  --edge: rgba(110, 72, 36, 0.14);
  --lift: 0 1px 2px rgba(80, 45, 15, 0.08), 0 14px 28px -16px rgba(80, 45, 15, 0.38);

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Inter, 'Helvetica Neue', Arial, sans-serif;
  --word: 'Instrument Sans', var(--sans);

  --gutter: 20px;
  --pen: 2.1px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
section[id] { scroll-margin-top: 16px; }

/* No overflow-x: hidden here on purpose: anything too wide must show up in QA. */
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  background-color: var(--paper);
  background-image: linear-gradient(to bottom, var(--wash) 0, rgba(251, 238, 224, 0) 620px);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(194, 65, 12, 0.45); }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; text-decoration: none; }
.skip:focus { left: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.sheet { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.nowrap { white-space: nowrap; }
.hide-sm { display: none; }

/* ── type roles ─────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -0.015em; }
h2 { font-size: 36px; line-height: 1.06; margin-bottom: 18px; }
/* no one-word last lines ("free.", "judge.", "me.") in a heading */
h2 { text-wrap: balance; }
/* the stressed word in a heading: italic, same ink. Only three headings stress
   a word (the hero's last line, "myself" in the note, "example menu" in the
   closing line); the rest are set roman, so the italic stays a voice and not
   a formula. Terracotta is kept for the hero's last line and the closing line
   only. */
h1 em, h2 em { font-style: italic; font-weight: 500; color: inherit; }
p + p { margin-top: 14px; }
p, .caption, .note, figcaption { text-wrap: pretty; }

/* the app's section label, small caps in soft ink. Used on about half the
   sections, so it doesn't stamp every one the same way. */
.kicker {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 14px;
}

/* margin notes and captions: Newsreader italic, the hand of the notebook.
   The ruled .note is kept for three asides only (How it works, Say it, FAQ);
   everything else that explains a picture is a plain .caption. */
.note {
  font-family: var(--serif); font-style: italic; font-size: 17.5px; line-height: 1.38; color: var(--caramel);
  margin-top: 22px; padding-top: 12px; max-width: 30ch; position: relative;
}
.note::before { content: ''; position: absolute; left: 0; top: 0; width: 28px; border-top: 1px solid var(--hair-strong); }
.caption { font-family: var(--serif); font-style: italic; font-size: 16.5px; line-height: 1.4; color: var(--ink-soft); }
.conv { color: var(--accent); font-style: normal; font-family: var(--sans); font-weight: 600; }

/* pen strokes: one terracotta ink, round nib, never scaled thicker or thinner */
.pen { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pen path { fill: none; stroke: var(--accent); stroke-width: var(--pen); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* dotted leaders, as on a printed menu */
.leader { flex: 1 1 auto; min-width: 24px; border-bottom: 2px dotted var(--hair-strong); transform: translateY(-5px); }

/* a cut-out of an app screen: square, a hairline and the paper's shadow */
.clip img { width: 100%; height: auto; box-shadow: 0 0 0 1px var(--edge), var(--lift); }
.clip .caption { margin-top: 12px; }

/* ── masthead ───────────────────────────────────────────────────────────── */
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.wordmark { font-family: var(--word); font-weight: 600; font-size: 21px; letter-spacing: -0.5px; color: var(--ink); line-height: 1; }
.wordmark em { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.1em; letter-spacing: 0; color: var(--accent); }
.topnav { display: flex; gap: 22px; align-items: center; font-size: 15px; }
.topnav a { color: var(--ink-soft); text-decoration: none; }
.topnav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--hair-strong); }
.topnav .topnav-get { color: var(--accent); font-weight: 600; }

/* ── store buttons (the only boxes you press) ───────────────────────────── */
.store-row { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px;
  background: var(--ink); color: #fff; border-radius: 12px; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.store:hover { background: #000; transform: translateY(-1px); }
.store svg { width: 22px; height: 22px; flex: none; }
.store svg.play { width: 20px; height: 20px; }
.store span { display: flex; flex-direction: column; line-height: 1.05; }
.store small { font-size: 10.5px; letter-spacing: 0.02em; opacity: 0.92; }
.store b { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.store-note { font-size: 14.5px; color: var(--muted); margin-top: 12px; text-wrap: balance; }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero { padding-top: 22px; padding-bottom: 64px; }
/* three lines at every width: sized from the column, "understand it." is
   about 6 em wide */
.hero-title { font-size: min(60px, calc((100vw - 2 * var(--gutter)) / 6.2)); line-height: 0.98; letter-spacing: -0.035em; margin-bottom: 22px; }
.hero-title em { display: inline-block; margin-top: 2px; color: var(--accent); }
.lede { font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 34em; margin-bottom: 26px; }

/* the spread: a printed menu photo and the phone, placed by hand.
   Coordinates are a 358×667 sheet on phones and 640×800 from 720px, so the
   pen marks (drawn in the same coordinates) land on the same words. */
.stage { position: relative; margin-top: 44px; width: 100%; }
.board { position: relative; width: 100%; aspect-ratio: 358 / 667; }
.stage .paper {
  position: absolute; left: 0; top: 0; width: 69.83%;
  transform: rotate(-2.5deg); box-shadow: var(--lift); border-radius: 2px;
}
.stage .paper img { width: 100%; height: auto; border-radius: 2px; }
.stage .phone {
  position: absolute; left: 33.52%; top: 37.48%; width: 66.48%; aspect-ratio: 560 / 963; overflow: hidden;
  border-radius: 11.3% 11.3% 0 0 / 6.54% 6.54% 0 0; box-shadow: 0 0 0 1px var(--edge), var(--lift); background: var(--paper);
}
.stage .phone img { width: 100%; height: auto; }
.pen-wide { display: none; }
.stage-cap { margin-top: 22px; max-width: 36ch; }

/* ── how it works: four steps set like a menu ───────────────────────────── */
.how { padding-top: 56px; padding-bottom: 72px; border-top: 1px solid var(--hair); }
.carte { list-style: none; }
.carte li { padding: 18px 0 20px; border-bottom: 1px solid var(--hair); }
.carte li:first-child { border-top: 1px solid var(--hair); }
.carte h3 { display: flex; align-items: baseline; gap: 10px; font-size: 25px; line-height: 1.2; margin-bottom: 6px; }
.carte-name { flex: none; max-width: 80%; }
.carte-num { flex: none; font-family: var(--serif); font-weight: 500; font-size: 25px; color: var(--accent); font-variant-numeric: lining-nums; }
.carte li p { max-width: 36em; font-size: 16.5px; }
.how-head { margin-bottom: 26px; }
.how-head .note { margin-top: 12px; }

/* ── the screens ────────────────────────────────────────────────────────── */
/* phones and tablets: a row you swipe, bleeding off the right edge.
   From 1100px: all four screens on the page, staggered, nothing to scroll. */
.reel { padding-top: 64px; padding-bottom: 72px; border-top: 1px solid var(--hair); }
.reel-head { margin-bottom: 28px; }
.reel-hint { margin-top: 10px; max-width: 34ch; }
.reel-scroll {
  position: relative;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--hair-strong) transparent;
}
.reel-scroll:focus-visible { outline-offset: -3px; }
.reel-strip { list-style: none; display: flex; gap: 22px; width: max-content; padding: 10px var(--gutter) 22px; }
.reel-strip li { flex: none; width: min(62vw, 260px); scroll-snap-align: start; }
.reel-strip li:nth-child(even) { margin-top: 34px; }
.reel-strip img { width: 100%; height: auto; border-radius: 11.3% / 5.2%; box-shadow: 0 0 0 1px var(--edge), var(--lift); }
.reel-strip .caption { margin-top: 14px; font-size: 16px; }
.step { position: relative; font-family: var(--serif); font-style: normal; font-weight: 600; font-size: 16px; color: var(--ink); margin-right: 8px; font-variant-numeric: lining-nums; }
.step [aria-hidden] { margin: 0 4px; color: var(--muted); font-weight: 400; }

/* ── translated by meaning ──────────────────────────────────────────────── */
.meaning { padding-top: 72px; padding-bottom: 80px; border-top: 1px solid var(--hair); }
.big { font-size: 40px; line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 26px; }
.underlined { position: relative; display: inline-block; }
.pen-under { top: auto; bottom: -0.12em; height: 0.26em; left: -2%; width: 104%; }
.meaning-body { max-width: 36em; }
.glossary { margin-top: 40px; }
.gl-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--hair); align-items: baseline; }
.gl-headrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 0; border-bottom-color: var(--hair-strong); }
.gl-orig { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--caramel); line-height: 1.25; }
.gl-read { font-weight: 600; color: var(--ink); font-size: 16.5px; line-height: 1.3; }
.gl-read small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 14.5px; margin-top: 3px; line-height: 1.4; }

/* ── prices: one line of the menu, set large ────────────────────────────── */
.prices { padding-top: 64px; padding-bottom: 40px; border-top: 1px solid var(--hair); }
.priceline { margin-bottom: 40px; }
.bigline { display: flex; align-items: baseline; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 5.2vw, 72px); line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
.bl-name { flex: none; }
/* printed-menu dots: real full stops, letter-spaced, cut to fit */
.bl-dots { flex: 1 1 auto; min-width: 0.8em; overflow: hidden; white-space: nowrap; margin: 0 0.3em; color: var(--hair-strong); font-weight: 400; }
.bl-dots::before { content: '. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .'; }
/* on a phone the converted price drops under the menu price, as in the app */
.bl-price { flex: none; display: flex; flex-direction: column; align-items: flex-end; font-family: var(--sans); font-weight: 600; font-size: 0.74em; letter-spacing: -0.025em; line-height: 1.12; }
.priceline .caption { margin-top: 14px; max-width: 30ch; }
.prices-text > p:not(.note) { max-width: 34em; }
/* the Menu settings sheet keeps its own rounded top corners (60 px of
   780 × 528 in the render), so the hairline and shadow follow them */
.clip-sheet { margin-top: 36px; max-width: 420px; transform: rotate(0.8deg); }
.clip-sheet img { border-radius: 7.7% 7.7% 0 0 / 11.4% 11.4% 0 0; }

/* ── where you're sitting ───────────────────────────────────────────────── */
.sitting { padding-top: 48px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 34px; }
.sitting-text > p:not(.note) { max-width: 34em; }
.clip-history { width: 72%; max-width: 300px; margin-left: 6%; transform: rotate(-1.2deg); }

/* ── the dish page, further down (a cut-out below the status bar) ──────── */
.dish { padding-top: 64px; padding-bottom: 72px; border-top: 1px solid var(--hair); display: flex; flex-direction: column; gap: 32px; }
.clip-dish { width: 72%; max-width: 300px; margin-left: auto; }
.clip-dish img { transform: rotate(1deg); }
.clip-dish .caption { margin-top: 16px; }

/* ── say it ─────────────────────────────────────────────────────────────── */
.say { padding-top: 64px; padding-bottom: 80px; border-top: 1px solid var(--hair); }
.say-word { margin: 30px 0 0; }
.say-orig { display: block; font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--caramel); margin-bottom: 2px; }
/* sized from the column, and allowed to wrap at its spaces if it ever must */
.say-phon { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(34px, 9.2vw, 124px); line-height: 1.02; letter-spacing: -0.03em; color: var(--ink); }
.say-cap { max-width: 32ch; margin-top: 16px; margin-bottom: 30px; }
.say-text { max-width: 36em; }
.legend { list-style: none; margin-top: 22px; }
.legend li { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--hair); }
.legend li:last-child { border-bottom: 1px solid var(--hair); }
.legend img { height: 30px; width: auto; }
.legend span { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.35; color: var(--ink-soft); }

/* ── pricing: a price list ──────────────────────────────────────────────── */
.pricing { padding-top: 8px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 36px; }
.tariff-title { font-family: var(--serif); font-size: 15px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--caramel); margin-bottom: 10px; text-align: center; }
.carte-prices div { display: flex; align-items: baseline; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--hair); }
.carte-prices div:first-child { border-top: 1px solid var(--hair-strong); }
.carte-prices dt { display: flex; align-items: baseline; gap: 10px; flex: 1 1 auto; font-family: var(--serif); font-size: 22px; color: var(--ink); line-height: 1.2; }
.carte-prices dt .carte-name { max-width: none; }
.carte-prices sup { font-size: 0.6em; color: var(--caramel); margin-left: 2px; vertical-align: 0.55em; line-height: 0; }
.carte-prices dd { flex: none; font-family: var(--sans); font-weight: 600; font-size: 18px; color: var(--ink); }
.carte-prices dd small { font-weight: 400; font-size: 14px; color: var(--muted); }
.carte-prices div:first-child dd { color: var(--green); font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 22px; }
.tariff-foot { margin-top: 16px; font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); max-width: 40em; }
.tariff-foot p + p { margin-top: 8px; }
.fn { font-family: var(--serif); color: var(--caramel); margin-right: 5px; }

/* ── faq ────────────────────────────────────────────────────────────────── */
.faq { padding-top: 64px; padding-bottom: 72px; border-top: 1px solid var(--hair); }
.faq-head { margin-bottom: 26px; }
.faq-list details { border-bottom: 1px solid var(--hair); }
.faq-list details:first-child { border-top: 1px solid var(--hair-strong); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; gap: 16px; justify-content: space-between; align-items: baseline;
  padding: 17px 0; font-family: var(--serif); font-size: 21px; line-height: 1.28; color: var(--ink); font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-family: var(--sans); font-weight: 400; font-size: 24px; line-height: 1; color: var(--accent); flex: none; transform: translateY(2px); }
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list details p { padding: 0 0 20px; max-width: 38em; font-size: 16.5px; }

/* ── guides: a wine list, grouped by region ─────────────────────────────── */
.guides { padding-top: 40px; padding-bottom: 72px; }
.guides-head { margin-bottom: 22px; max-width: 34em; }
.region { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 19px; color: var(--caramel); letter-spacing: 0; margin: 26px 0 6px; }
.region:first-child { margin-top: 0; }
.guide-index { list-style: none; }
.guide-index li { border-bottom: 1px solid var(--hair); }
.guide-index li:first-child { border-top: 1px solid var(--hair-strong); }
.guide-index a { display: block; padding: 14px 0 15px; text-decoration: none; }
.gi-line { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
.gi-line .leader { display: none; }
.gi-name { font-family: var(--serif); font-size: 25px; line-height: 1.15; color: var(--ink); }
.guide-index a:hover .gi-name { color: var(--accent); }
.gi-hint { flex-basis: 100%; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.4; color: var(--caramel); }
.gi-what { display: block; margin-top: 4px; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); max-width: 40em; text-wrap: pretty; }

/* ── what MenuSnapp is: the disclosure, set as plain labelled small print.
   Ruled rows with a label on the left, like the back page of a menu. No box,
   no icons: it has to read as a statement, so it is the plainest block on
   the page. ─────────────────────────────────────────────────────────────── */
.aboutapp { padding-top: 64px; padding-bottom: 72px; border-top: 1px solid var(--hair); }
.aboutapp-head h2 { margin-bottom: 16px; }
.aboutapp-purpose { font-size: 17.5px; line-height: 1.6; color: var(--ink-soft); max-width: 36em; }
.disclosure { margin-top: 30px; }
.disclosure > div { padding: 18px 0 20px; border-bottom: 1px solid var(--hair); }
.disclosure > div:first-child { border-top: 1px solid var(--hair-strong); }
.disclosure dt { font-family: var(--serif); font-size: 22px; line-height: 1.25; color: var(--ink); font-weight: 500; margin-bottom: 8px; text-wrap: balance; }
.disclosure dd { font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); max-width: 40em; }
.services { list-style: none; }
.services li { padding: 6px 0 6px 18px; position: relative; }
.services li::before { content: ''; position: absolute; left: 0; top: 0.95em; width: 8px; border-top: 1px solid var(--caramel); }
.services b { font-weight: 600; color: var(--ink); }

/* ── the maker's note ───────────────────────────────────────────────────── */
.letter { padding-top: 64px; padding-bottom: 40px; border-top: 1px solid var(--hair); }
.letter-page h2 { margin-bottom: 26px; }
/* written on faint ruled lines; a new paragraph starts on the next line,
   indented, the way a letter does it, so no rule is ever left empty */
.letter-body { --lh: 34px; --rule-shift: -5px; background-image: linear-gradient(to bottom, transparent calc(var(--lh) - 1px), rgba(110, 72, 36, 0.11) calc(var(--lh) - 1px)); background-size: 100% var(--lh); background-position: 0 var(--rule-shift); }
.letter-body p { font-family: var(--serif); font-size: 20px; line-height: var(--lh); color: var(--ink); }
.letter-body p + p { margin-top: 0; text-indent: 2em; }
.letter-body a { color: var(--ink); text-decoration-color: var(--accent); }
.sig-links { margin-top: 22px; font-size: 15px; color: var(--ink-soft); }
.sig-links a { color: var(--ink-soft); }

/* ── closing ────────────────────────────────────────────────────────────── */
.closing { padding-top: 80px; padding-bottom: 88px; }
.closing-line { font-size: 40px; line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 28px; max-width: 14em; }
.closing-line em { color: var(--accent); }

/* ── footer ─────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--hair); font-size: 14px; color: var(--muted); }
.footer-row { padding-top: 22px; padding-bottom: 30px; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

/* ── 720+ ───────────────────────────────────────────────────────────────── */
@media (min-width: 720px) {
  :root { --gutter: 40px; }
  .hide-sm { display: inline; }
  .kicker { font-size: 12px; letter-spacing: 0.14em; }
  .hero-title { font-size: min(80px, calc((100vw - 2 * var(--gutter)) / 6.2)); }
  h2 { font-size: 46px; }
  .big { font-size: 58px; }
  .stage { max-width: 600px; }
  .board { aspect-ratio: 640 / 800; }
  .stage .paper { top: 1.25%; width: 53.125%; }
  .stage .phone { left: 51.5625%; top: 18.75%; width: 46.875%; aspect-ratio: 560 / 1212; border-radius: 11.3% / 5.2%; }
  .pen-narrow { display: none; }
  .pen-wide { display: block; }
  .stage-cap { position: absolute; left: 0; top: 74%; width: 44%; margin: 0; font-size: 16px; }
  .reel-strip li { width: min(34vw, 250px); }
  .bl-price { flex-direction: row; align-items: baseline; gap: 0.3em; }
  .priceline .caption { margin-left: auto; text-align: right; max-width: 42ch; }
  .gi-line .leader { display: block; min-width: 20px; }
  .gi-hint { flex-basis: auto; flex: none; }
  .disclosure > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 28px; align-items: baseline; }
  .disclosure dt { margin-bottom: 0; }
  .closing-line { font-size: 56px; }
  .footer-row { flex-direction: row; justify-content: space-between; align-items: baseline; }
}

/* ── 900+: the hero goes side by side ───────────────────────────────────── */
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; align-items: start; }
  .hero-text { grid-column: 1 / span 6; padding-top: 28px; }
  .hero-title { font-size: min(84px, calc((min(100vw, 1240px) - 2 * var(--gutter) - 28px) / 2 / 6.2)); }
  .hero .stage { grid-column: 7 / span 6; margin-top: 0; max-width: none; }
  .hero .stage-cap { position: static; width: auto; margin-top: 20px; max-width: 40ch; }
}

/* ── desktop: the notebook page ─────────────────────────────────────────── */
@media (min-width: 1100px) {
  :root { --gutter: 56px; }
  .hide-lg { display: none; } /* the reel stops scrolling here, so the swipe hint goes too */
  .sheet { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; }
  .masthead-row { display: flex; }
  .footer-row { display: flex; }

  .hero { padding-top: 40px; padding-bottom: 96px; }
  .hero-text { padding-top: 44px; }
  .lede { font-size: 19px; max-width: 30em; }
  .hero .stage { justify-self: end; width: 100%; max-width: 600px; }
  .hero .stage-cap { position: absolute; left: 0; top: 73%; width: 45%; margin: 0; }

  .how { padding-top: 88px; padding-bottom: 104px; }
  .how-head { grid-column: 1 / span 4; }
  .how-head h2 { font-size: 44px; }
  .carte { grid-column: 6 / span 7; }
  .carte h3 { font-size: 30px; }
  .carte-num { font-size: 30px; }

  .reel { padding-top: 88px; padding-bottom: 96px; }
  .reel-head { display: block; }
  .reel-head > * { max-width: 40em; }
  .reel-scroll { overflow: visible; scroll-snap-type: none; }
  .reel-strip {
    width: 100%; max-width: 1240px; margin: 0 auto; padding: 10px var(--gutter) 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 40px; align-items: start;
  }
  .reel-strip li { width: auto; }
  .reel-strip li:nth-child(1) { margin-top: 0; }
  .reel-strip li:nth-child(2) { margin-top: 56px; }
  .reel-strip li:nth-child(3) { margin-top: 16px; }
  .reel-strip li:nth-child(4) { margin-top: 70px; }
  .reel-strip .caption { padding-right: 6px; }

  .meaning { padding-top: 104px; padding-bottom: 112px; row-gap: 0; }
  .meaning .kicker { grid-column: 1 / span 12; }
  .big { grid-column: 1 / span 10; font-size: 80px; margin-bottom: 48px; }
  .meaning-body { grid-column: 1 / span 5; }
  .glossary { grid-column: 7 / span 6; margin-top: 0; }

  .prices { padding-top: 96px; padding-bottom: 32px; row-gap: 0; align-items: start; }
  .priceline { grid-column: 1 / span 12; margin-bottom: 64px; }
  .prices-text { grid-column: 1 / span 6; }
  .prices-text h2 { font-size: 50px; }
  .clip-sheet { grid-column: 8 / span 5; margin-top: 8px; max-width: none; }

  .sitting { display: grid; padding-top: 72px; padding-bottom: 112px; align-items: center; }
  .sitting-text { grid-column: 6 / span 6; grid-row: 1; }
  .sitting-text h2 { font-size: 50px; }
  .clip-history { grid-column: 2 / span 3; grid-row: 1; width: 100%; max-width: none; margin: 0; transform: rotate(-1.4deg); }

  .dish { display: grid; padding-top: 96px; padding-bottom: 104px; align-items: start; }
  .dish-text { grid-column: 1 / span 5; align-self: center; }
  /* the cut-out and its caption side by side: the caption sits in the margin */
  .clip-dish { grid-column: 7 / span 6; width: 100%; max-width: none; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 28px; align-items: center; }
  .clip-dish img { grid-column: 1 / span 3; }
  .clip-dish .caption { grid-column: 4 / span 3; margin-top: 0; }

  .say { padding-top: 104px; padding-bottom: 112px; row-gap: 0; align-items: start; }
  .say h2 { grid-column: 1 / span 12; font-size: 46px; }
  .say-word { grid-column: 1 / span 12; margin: 34px 0 0; }
  .say-phon { margin-left: -6px; }
  .say-orig { font-size: 26px; margin-bottom: 4px; }
  .say-cap { grid-column: 2 / span 4; margin: 40px 0 0; }
  .say-text { grid-column: 7 / span 5; margin-top: 40px; }

  .pricing { display: grid; padding-top: 96px; padding-bottom: 112px; align-items: start; }
  .pricing-text { grid-column: 1 / span 5; }
  .tariff { grid-column: 7 / span 6; padding-top: 8px; }
  .carte-prices dt { font-size: 26px; }
  .carte-prices dd { font-size: 20px; }
  .carte-prices div:first-child dd { font-size: 26px; }

  .faq { padding-top: 96px; padding-bottom: 104px; align-items: start; }
  .faq-head { display: contents; }
  .faq-head .kicker, .faq-head h2 { grid-column: 1 / span 8; }
  .faq-head h2 { font-size: 56px; margin-bottom: 30px; }
  .faq-head .note { grid-column: 10 / span 3; grid-row: 3; margin-top: 0; align-self: start; }
  .faq-list { grid-column: 1 / span 8; grid-row: 3; }
  .faq-list summary { font-size: 23px; }

  .guides { padding-top: 48px; padding-bottom: 96px; align-items: start; }
  .guides-head { grid-column: 1 / span 4; position: sticky; top: 24px; }
  .guide-regions { grid-column: 6 / span 7; }
  .gi-name { font-size: 27px; }

  .aboutapp { padding-top: 96px; padding-bottom: 104px; row-gap: 0; }
  .aboutapp-head { grid-column: 1 / span 8; }
  .aboutapp-head h2 { font-size: 46px; margin-bottom: 22px; }
  .aboutapp-purpose { font-size: 19px; }
  .disclosure { grid-column: 1 / -1; margin-top: 44px; }
  .disclosure > div { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .disclosure dt { grid-column: 1 / span 3; font-size: 24px; padding-right: 12px; }
  .disclosure dd { grid-column: 4 / span 7; font-size: 17px; }

  .letter { padding-top: 104px; padding-bottom: 40px; }
  .letter-page { grid-column: 4 / span 7; }
  .letter-page h2 { font-size: 56px; }
  .letter-body { --lh: 40px; --rule-shift: -7px; }
  .letter-body p { font-size: 23px; }

  .closing { padding-top: 112px; padding-bottom: 120px; align-items: end; }
  .closing-line { grid-column: 1 / span 8; font-size: 72px; margin-bottom: 0; }
  .closing .store-row { grid-column: 9 / span 4; }
  .closing .store-note { grid-column: 9 / span 4; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store { transition: none; }
  .store:hover { transform: none; }
}


/* ══ menu guides ═════════════════════════════════════════════════════════
   One template for the six menu guides and the practical guide, so a new or
   ported guide only writes markup. The page is <main class="guide"> holding
   one <article>:
     header.g-head.sheet        crumbs, kicker, h1.g-title, p.lede.g-lede,
                                optional p.note.g-head-note
     section.g-sec.sheet        a div.g-main column, plus an optional
                                aside.g-margin (a .note or a figure) that
                                moves to the right margin from 1100px
     aside.g-cta.sheet          the app: one line and the two store buttons
     nav.g-more.sheet           the other guides, as on the homepage
   Inside .g-main: prose (p), .gloss (terms with dots and their English),
   .gloss.phrases, .terms (small print), .dishlist (dishes with their
   pronunciation), .tips (advice, numbered or not), .guide-index (links to
   guides) and .g-shot / .g-stage (pictures). Reference page:
   translate-italian-menu.html. ─────────────────────────────────────────── */

/* the head */
.guide .g-head { padding-top: 20px; padding-bottom: 36px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--ink-soft); text-decoration-color: var(--hair-strong); }
.crumbs span { margin: 0 4px; }
.g-title { font-size: 46px; line-height: 1; letter-spacing: -0.03em; margin-bottom: 20px; text-wrap: balance; }
.g-lede { max-width: 36em; margin-bottom: 0; }
.g-head-note { margin-top: 22px; }

/* a section */
.g-sec { padding-top: 40px; padding-bottom: 40px; border-top: 1px solid var(--hair); }
.g-sec h2 { font-size: 30px; margin-bottom: 14px; }
/* a sub-heading inside a section, when one section needs two parts */
.g-main h3 { font-size: 22px; line-height: 1.2; margin: 30px 0 10px; }
.g-main > p { max-width: 36em; }
.g-main > :is(ul, ol, dl, figure) + p { margin-top: 20px; }
.g-main > p + :is(ul, ol, dl, figure) { margin-top: 22px; }
.g-main > :is(ul, ol, dl) + :is(ul, ol, dl) { margin-top: 28px; }
.g-main strong, .g-margin strong { font-weight: 600; color: var(--ink); }
.g-margin { margin-top: 24px; }
.g-margin .note { margin-top: 0; }

/* .gloss: a list set like the menu itself, the local word, dots, the
   English; under it what it means (.gl-what) or how to say it (.gl-say) */
.gloss { list-style: none; max-width: 40em; }
.gloss > li { padding: 13px 0 14px; border-bottom: 1px solid var(--hair); }
.gloss > li:first-child { border-top: 1px solid var(--hair-strong); }
.gl-line { display: flex; align-items: baseline; gap: 10px; font-family: var(--serif); color: var(--ink); }
.gl-it { flex: 0 1 auto; font-size: 23px; line-height: 1.2; }
.gl-it small { font-style: italic; font-size: 0.72em; color: var(--muted); }
.gl-en { flex: none; max-width: 48%; text-align: right; font-style: italic; font-size: 18px; line-height: 1.25; color: var(--caramel); }
.gl-what { display: block; margin-top: 4px; font-size: 16px; line-height: 1.55; color: var(--ink-soft); }
.gl-say { display: block; margin-top: 3px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--caramel); }
/* .gloss.phrases: whole sentences to say at the table */
.phrases .gl-it { font-style: italic; font-size: 22px; }
.phrases .gl-en { font-family: var(--sans); font-style: normal; font-size: 16px; color: var(--ink-soft); }
/* on a phone a long phrase stacks instead of squeezing its dots to nothing */
@media (max-width: 719px) {
  .phrases .gl-line { display: block; }
  .phrases .leader { display: none; }
  .phrases .gl-en { display: block; max-width: none; text-align: left; margin-top: 2px; }
}

/* a word in its own script next to its Latin spelling (定食 Teishoku,
   Μουσακάς Moussaka): smaller, upright, in the margin-note colour */
.gl-script, .dl-script { font-style: normal; font-size: 0.82em; color: var(--caramel); margin-right: 0.3em; }
/* Japanese, Chinese, Korean and Thai have no italic: set them upright */
:is(.gl-it, .dl-name, .say-orig):is(:lang(ja), :lang(zh), :lang(ko), :lang(th)) { font-style: normal; }

/* .terms: the small print, a term (with an alternative in a span) and what
   it means */
.terms { max-width: 46em; }
.terms > div { padding: 13px 0; border-bottom: 1px solid var(--hair); }
.terms > div:first-child { border-top: 1px solid var(--hair-strong); }
.terms dt { font-family: var(--serif); font-size: 22px; line-height: 1.25; color: var(--ink); margin-bottom: 2px; }
.terms dt span { font-style: italic; font-size: 17px; color: var(--caramel); }
.terms dd { font-size: 16.5px; }

/* .dishlist: the dish glossary. Name, its respelling (.dl-say), what it is */
.dishlist { list-style: none; }
.dishlist li { padding: 14px 0; border-bottom: 1px solid var(--hair); }
.dishlist li:first-child { border-top: 1px solid var(--hair-strong); }
/* the gap sits after the name, so a respelling that wraps starts flush left */
.dl-name { font-family: var(--serif); font-size: 23px; color: var(--ink); line-height: 1.25; margin-right: 6px; }
.dl-say { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--caramel); }
.dl-what { display: block; font-size: 16.5px; margin-top: 3px; }

/* .tips: advice, one item each. The <strong> that opens an item is its
   title, set on its own line. ol.tips numbers the items in the margin,
   ul.tips doesn't. */
.tips { list-style: none; max-width: 40em; counter-reset: tip; }
.tips > li { position: relative; padding: 14px 0 16px; border-bottom: 1px solid var(--hair); font-size: 16.5px; }
.tips > li:first-child { border-top: 1px solid var(--hair-strong); }
.tips > li > strong:first-child { display: block; margin-bottom: 3px; font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.25; color: var(--ink); }
ol.tips > li { padding-left: 38px; counter-increment: tip; }
ol.tips > li::before { content: counter(tip); position: absolute; left: 0; top: 13px; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.25; color: var(--accent); font-variant-numeric: lining-nums; }

/* .guide-index works inside a section too (the practical guide's list of
   country guides); the homepage rules above set it */
.g-main .guide-index { max-width: 40em; }

/* pictures. .g-shot: one app screen with a caption. .g-stage: the printed
   menu and the phone with the pen marks (copy it from the Italian guide,
   paths and all; it belongs in the margin of a .g-sec-spread section) */
.g-shot { max-width: 260px; }
.g-shot img { width: 100%; height: auto; border-radius: 11.3% / 5.2%; box-shadow: 0 0 0 1px var(--edge), var(--lift); }
.g-shot .caption { margin-top: 14px; }
.g-stage { margin-top: 28px; max-width: 420px; }
.g-stage .stage-cap { position: static; width: auto; margin-top: 18px; }

/* the app */
.g-cta { padding-top: 64px; padding-bottom: 64px; border-top: 1px solid var(--hair); }
.g-cta-line { font-family: var(--serif); font-weight: 500; color: var(--ink); font-size: 34px; line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 24px; text-wrap: balance; }
.g-cta-line em { font-style: italic; color: var(--accent); }

/* the other guides */
.g-more { padding-top: 48px; padding-bottom: 80px; border-top: 1px solid var(--hair); }
.g-more-title { font-size: 30px; margin-bottom: 18px; }

@media (min-width: 720px) {
  .g-title { font-size: 68px; }
  .terms > div { display: grid; grid-template-columns: 220px 1fr; column-gap: 24px; align-items: baseline; }
  .terms dt { margin: 0; }
  .g-cta-line { font-size: 48px; }
  .gl-it { font-size: 25px; }
  .gl-en { font-size: 19px; }
  .phrases .gl-en { font-size: 17px; }
  .tips > li > strong:first-child { font-size: 23px; }
  ol.tips > li { padding-left: 46px; }
  ol.tips > li::before { font-size: 25px; }
  .g-stage { max-width: 560px; }
  .g-shot { max-width: 280px; }
}
@media (min-width: 1100px) {
  .guide .g-head { padding-top: 40px; padding-bottom: 56px; }
  .g-head > * { grid-column: 1 / span 9; }
  .g-title { font-size: 92px; }
  .g-lede { grid-column: 1 / span 7; font-size: 20px; }
  .g-head-note { grid-column: 9 / span 4; grid-row: 4; align-self: end; margin: 0; }
  .g-sec { padding-top: 56px; padding-bottom: 56px; align-items: start; }
  .g-sec h2 { font-size: 40px; margin-bottom: 22px; }
  .g-main h3 { font-size: 25px; }
  .g-main { grid-column: 1 / span 7; }
  .g-margin { grid-column: 9 / span 4; margin-top: 0; padding-top: 74px; }
  /* the dish list runs in two columns across the page */
  .g-sec-dishes .g-main { grid-column: 1 / span 12; }
  .g-sec-dishes .dishlist { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .g-sec-dishes .dishlist li:nth-child(2) { border-top: 1px solid var(--hair-strong); }
  /* a section that carries the paper-and-phone spread in its margin */
  .g-sec-spread .g-main { grid-column: 1 / span 6; }
  .g-sec-spread .g-margin { grid-column: 7 / span 6; padding-top: 0; }
  .g-stage { max-width: none; margin: 0; justify-self: end; }
  .g-stage .stage-cap { position: absolute; left: 0; top: 74%; width: 44%; margin: 0; font-size: 16px; }
  .g-sec-spread .g-main .note { margin-top: 28px; }
  .g-cta { padding-top: 88px; padding-bottom: 88px; align-items: end; }
  .g-cta-inner { grid-column: 1 / span 12; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; align-items: end; }
  .g-cta-line { grid-column: 1 / span 7; font-size: 60px; margin: 0; }
  .g-cta-act { grid-column: 9 / span 4; }
  .g-more { padding-top: 72px; padding-bottom: 104px; align-items: start; }
  .g-more-title { grid-column: 1 / span 4; font-size: 40px; }
  .g-more .guide-regions { grid-column: 6 / span 7; }
}
