/* The Whittaker Table. One stylesheet, no framework. */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* Look B, revised 20 Sep 2026. Luke: "I am not loving the green CTA nor the
   rounded corners. I am more of a fan of clean and crisp like tesla and apple."

   So: no brand colour at all. The palette is a true neutral grey scale, the
   accent is near black, and every corner is square. The old neutrals were not
   neutral either, they all carried a green cast (#f2f5f2, #e2e7e3, #121714),
   which is what made the page read soft. Greys with no hue in them are most of
   the "crisp".

   The only colour left on the site is the food. That is the point. */
:root {
  /* Sampled straight off the supplied logo sheet, 21 Sep 2026: the field is
     #F7F5F2 and the ink is #1A1917. Both are warm. The previous palette was
     Apple's cool neutrals, which made the logo sit on the page like it had been
     pasted in from somewhere else. Cards stay pure white so they lift off the
     warm field instead of needing a shadow. */
  /* 23 Sep 2026, Luke: "I tend to like the cleaner white look" (the rental
     sites). The page is white now; linen is kept for bands such as the signup
     panel. */
  --linen: #f7f5f2;
  --paper: #ffffff;
  --oat: #efede8;
  --line: #e4e0d9;
  --ink: #1a1917;
  --soft: #6b6862;
  --green: #1a1917;        /* kept as a name so nothing breaks; it is ink now */
  --green-deep: #000000;
  --clay: #1a1917;
  --clay-tint: #efede8;
  --radius: 0px;
  --wrap: 1080px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 0; }

h1, h2, h3 {
  /* Eased back from 800 / -0.032em on 21 Sep 2026. The supplied wordmark is a
     300 weight with very wide tracking; an 800 weight with tight negative
     tracking beside it read as two different brands sharing a page. 600 with
     almost no tracking keeps the headline strong without fighting the mark. */
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip {
  position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff;
  padding: 8px 14px; border-radius: 6px; z-index: 10;
}
.skip:focus { left: 8px; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 92px;
}
/* The lockup, revised 21 Sep 2026. Luke: "have the icon to the left with the
   box around it". So: the mark in its dark square, then the wordmark beside it
   with the rule under it. Same arrangement as the share card, so the header and
   anything shared from the site are the one lockup rather than two.
   Figtree at 300 approximates the supplied letterforms; swap in the designer's
   font or an SVG if one ever turns up. */
.mark {
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 15px;
}
.mark .box {
  width: 50px; height: 50px; flex: none;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
}
/* Explicit pixels, not percentages. A percentage width on an SVG inside a
   grid box resolved to zero and the mark silently vanished from the header
   on phones on 21 Sep 2026, leaving a plain black square. */
.mark .box svg { width: 31px; height: 31px; }
.mark .wm {
  display: inline-block; line-height: 1;
  padding-bottom: 7px; border-bottom: 1px solid var(--ink);
}
.mark .the {
  display: block;
  font-size: 0.5rem; font-weight: 400; letter-spacing: 0.42em;
  text-transform: uppercase; margin-bottom: 8px;
}
.mark .nm {
  display: block; white-space: nowrap;
  font-size: 1rem; font-weight: 300; letter-spacing: 0.26em;
  text-transform: uppercase;
}
/* One line of wide-tracked caps plus a box plus a nav does not fit a phone at
   full size, so the whole lockup steps down rather than wrapping. */
@media (max-width: 640px) {
  .mark { gap: 11px; }
  .mark .box { width: 40px; height: 40px; }
  .mark .box svg { width: 25px; height: 25px; }
  .mark .the { font-size: 0.44rem; letter-spacing: 0.34em; margin-bottom: 6px; }
  .mark .nm { font-size: 0.8rem; letter-spacing: 0.17em; }
  .site-head .wrap { min-height: 76px; }
  .nav { gap: 15px; }
  .nav a { font-size: 0.85rem; }
}
.nav { display: flex; gap: 22px; align-items: center; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 8px 0;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 0.98rem;
  padding: 13px 22px; border-radius: var(--radius); border: 2px solid var(--green);
  background: var(--green); color: #fff; text-decoration: none; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--green); color: #fff; }
.btn.small { padding: 9px 16px; font-size: 0.9rem; }

/* Home hero */
.hero { padding: 56px 0 40px; }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.eyebrow {
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--soft); margin: 0 0 14px;
}
.hero p.lead { font-size: 1.15rem; color: var(--soft); max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero figure { margin: 0; position: relative; }
.hero figure img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius);
}
.hero figcaption {
  position: absolute; left: 14px; bottom: 14px; background: var(--paper);
  border-radius: 0; padding: 8px 12px; font-size: 0.85rem; font-weight: 600;
  border: 1px solid var(--line);
}
.hero figcaption a { color: var(--ink); text-decoration: none; }
.hero figcaption a:hover { color: var(--green); }

/* Sections */
.section { padding: 44px 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 22px;
}
.section-head h2 { margin: 0; }
.section-head a { font-weight: 700; font-size: 0.95rem; white-space: nowrap; }

/* Cards */
.grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  list-style: none; margin: 0; padding: 0;
}
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--ink); }
.card a { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.card .thumb { aspect-ratio: 4 / 3; background: var(--oat); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .thumb.empty {
  display: flex; align-items: center; justify-content: center; color: var(--soft);
}
.card .thumb.empty svg { width: 64px; height: 64px; opacity: 0.55; }

/* No photo worth using: the slot carries the ingredients instead of a
   placeholder graphic. See empty_thumb() in build.py. */
.card .thumb.written {
  background: var(--clay-tint);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
  padding: 18px 20px;
}
.card .thumb.written .written-in { width: 100%; }
.card .thumb.written .written-h {
  display: block; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--green); margin-bottom: 9px;
}
.card .thumb.written ul {
  margin: 0; padding: 0; list-style: none;
  font-size: 0.92rem; line-height: 1.45; color: var(--ink);
}
.card .thumb.written li {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card .thumb.written li + li { margin-top: 2px; }
.card .thumb.written li.more { color: var(--soft); font-size: 0.84rem; }
@media (max-width: 600px) {
  .card .thumb.written ul { font-size: 0.88rem; }
}
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card .cat {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--soft);
}
.card h3 { margin: 0; font-size: 1.22rem; }
.card .meta { margin-top: auto; font-size: 0.86rem; color: var(--soft); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li {
  font-size: 0.8rem; font-weight: 600; color: var(--green-deep);
  background: var(--oat); border-radius: 0; padding: 4px 12px;
}

/* Signup and follow panel */
.panel {
  background: var(--linen); border: 0; border-radius: var(--radius);
  padding: 30px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center;
}
.panel h2 { margin-bottom: 8px; }
.panel p { margin: 0; color: var(--soft); }
.panel form { display: flex; gap: 10px; flex-wrap: wrap; }
.panel input[type="email"] {
  flex: 1 1 220px; font: inherit; padding: 13px 14px; border-radius: var(--radius);
  border: 1px solid #8b857b; background: var(--paper); color: var(--ink);
}
.panel .fine { font-size: 0.82rem; margin-top: 10px; }
.panel .right { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Recipe page */
.crumbs { font-size: 0.86rem; color: var(--soft); padding: 22px 0 0; }
.crumbs a { color: var(--soft); }
.recipe-head { padding: 18px 0 26px; }
.recipe-head .top { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.recipe-head .lead { font-family: var(--serif); font-style: italic; font-size: 1.24rem; line-height: 1.5; color: var(--ink); }
.notes h2 { font-family: var(--sans); }
.byline { font-size: 0.92rem; color: var(--soft); margin: 0 0 18px; }
.recipe-head figure { margin: 0; }
.recipe-head figure img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius);
}
.recipe-head.no-photo .top { grid-template-columns: 1fr; max-width: 760px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.facts li {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 14px; font-size: 0.9rem;
}
.facts b {
  display: block; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--soft); font-weight: 700;
}
.tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.recipe-body { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 44px; padding: 10px 0 30px; align-items: start; }
.ingredients {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 18px; position: sticky; top: 18px;
}
.ingredients ul { list-style: none; margin: 0; padding: 0; }
.ingredients li { border-top: 1px solid var(--line); }
.ingredients li:first-child { border-top: 0; }
.ingredients label { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; cursor: pointer; }
.ingredients input {
  appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 3px 0 0;
  border: 1px solid var(--line); border-radius: 0; background: var(--paper); cursor: pointer;
}
.ingredients input:checked { background: var(--green); border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ingredients input:checked + span { color: var(--soft); text-decoration: line-through; }

.steps ol { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 0 0 22px; }
.steps li::before {
  content: counter(step); font-family: var(--sans); font-weight: 800; font-size: 1.45rem;
  line-height: 1.25; color: var(--green);
}
.steps li p { margin: 0; }
.video-note {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 22px;
}
.video-note p { margin: 0 0 12px; }
.notes {
  background: var(--clay-tint); border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin-top: 8px;
}
.notes h2 { font-size: 1.25rem; margin-bottom: 10px; }
.notes ul { margin: 0; padding-left: 20px; }
.notes li { margin-bottom: 8px; }
.notes li:last-child { margin-bottom: 0; }
.source { font-size: 0.92rem; color: var(--soft); margin-top: 22px; }

/* Her Reel, under the recipe (24 Oct 2026). The video keeps its own 9:16
   frame; cropping it to the page's 4:3 photo shape would cut off her hands and
   her captions. Square corners and ink, like every other control here. */
.watch { border-top: 1px solid var(--line); padding: 46px 0 50px; }
.watch-in {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: center;
  max-width: 860px; margin: 0 auto;
}
.watch-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 12px; }
.watch-meta { font-size: 1.05rem; margin: 0 0 6px; }
.watch-from { color: var(--soft); font-size: 0.95rem; margin: 0; }
.watch-from a { color: var(--soft); }
.reel { position: relative; margin: 0; width: 100%; aspect-ratio: 9 / 16; background: var(--ink); }
.reel video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.reel .play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 0; background: var(--ink); color: var(--paper); cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.reel .play:hover { background: #000; transform: scale(1.04); }
.reel .play svg { width: 30px; height: 30px; margin-left: 3px; }
.reel .play[hidden] { display: none; }
.card .thumb { position: relative; }
.has-video {
  position: absolute; right: 10px; top: 10px; width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper);
}
.has-video svg { width: 15px; height: 15px; margin-left: 2px; }

/* Plain pages */
.prose { max-width: 720px; padding: 40px 0 20px; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.prose h2 { margin-top: 1.6em; font-size: 1.35rem; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 30px 0 44px; color: var(--soft); font-size: 0.92rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-foot a { color: var(--soft); }

/* Small screens */
@media (max-width: 860px) {
  .hero { padding: 34px 0 24px; }
  .hero .wrap, .recipe-head .top, .recipe-body, .panel { grid-template-columns: 1fr; gap: 26px; }
  .hero figure { order: -1; }
  .hero figure img { aspect-ratio: 4 / 3; }
  .recipe-head figure { order: -1; }
  .ingredients { position: static; }
  .panel .right { justify-content: flex-start; }
  .nav { gap: 16px; }
  .watch { padding: 34px 0 38px; }
  .watch-in { grid-template-columns: 1fr; gap: 22px; max-width: 460px; }
}
/* Small phones: 360px overflowed by 9px with the lockup, the rule and two nav
   links on one line. Tracking is the cheapest thing to give up. Checked at
   320, 360 and 390. */
@media (max-width: 430px) {
  .mark { gap: 9px; }
  .mark .box { width: 36px; height: 36px; }
  .mark .box svg { width: 22px; height: 22px; }
  .mark .the { font-size: 0.4rem; letter-spacing: 0.26em; margin-bottom: 5px; }
  .mark .nm { font-size: 0.72rem; letter-spacing: 0.11em; }
  .nav { gap: 13px; }
  .nav a { font-size: 0.8rem; }
}
@media (max-width: 420px) {
  /* Was hiding .mark svg here. That dated from the old two-circle mark, and
     once the icon moved into its box it left a plain black square on every
     phone. The lockup already steps down at 640px and fits 390px with no
     overflow, so there is nothing to hide. */
  .btn { width: 100%; }
  .tools .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
}

/* Print: the recipe and nothing else */
@media print {
  body { background: #fff; font-size: 12pt; }
  .site-head, .site-foot, .crumbs, .tools, .panel, .more, .skip, .recipe-head figure, .video-note .btn, .watch { display: none !important; }
  .recipe-head .top, .recipe-body { display: block; }
  .ingredients { position: static; border: 0; padding: 0; margin-bottom: 18pt; }
  .ingredients input { display: none; }
  .notes { border: 1px solid #999; background: #fff; }
  a { color: #000; text-decoration: none; }
  .source::after { content: " " attr(data-url); }
}

/* Batch scaling */
.batch { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.batch-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--soft);
}
.batch-set { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.batch-set button {
  font: inherit; font-weight: 700; font-size: 0.9rem; line-height: 1;
  padding: 9px 15px; border: 0; border-left: 1px solid var(--line);
  background: var(--paper); color: var(--soft); cursor: pointer;
}
.batch-set button:first-child { border-left: 0; }
.batch-set button[aria-pressed="true"] { background: var(--green); color: #fff; }
.scaled .ingredients { box-shadow: inset 3px 0 0 var(--green); }
[data-cook][aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
@media print { .batch { display: none !important; } }

/* Mailchimp's honeypot. Off screen, out of the tab order, hidden from screen
   readers. A bot fills it and the signup is discarded; a person never sees it.
   Not display:none, because some bots skip fields that are display:none. */
.panel .pot {
  position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden;
}

.index-lead { max-width: 38em; color: var(--soft); }

/* ------------------------------------------------------------------
   Trip guide, 21 Sep 2026. A route map that follows the reader, a pacing
   strip, and a card per day. Same system as the rest of the site: ink on
   linen, square corners, one-pixel lines, no shadows. The only tints are
   three greys for how full a day was planned to be.

   There are no inline styles anywhere on this page on purpose: the site's
   Content-Security-Policy is style-src 'self', which silently drops every
   style="" attribute. Anything that varies is a class.
   ------------------------------------------------------------------ */
.k {
  display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--soft); margin-bottom: 2px;
}
.dot { color: var(--line); padding: 0 4px; }

.trip-head h1 { max-width: 16em; }
.trip-head .lead { font-size: 1.15rem; color: var(--soft); max-width: 36em; }
.trip-head .around { margin: 18px 0 0; max-width: 40em; font-size: 0.98rem; }

.trip-body {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 52px; align-items: start; padding-top: 34px;
}
.trip-panel { position: sticky; top: 18px; }
.tmap-box {
  background: #e2ddd4; border: 1px solid var(--line);
  aspect-ratio: 4 / 3; overflow: hidden;
}
.tmap { display: block; width: 100%; height: 100%; }
.tmap-box { position: relative; }
/* a scale bar, because "how far is that drive" is the first thing a map is for */
.tscale {
  position: absolute; left: 12px; bottom: 10px; margin: 0; display: flex; align-items: center; gap: 8px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; color: var(--soft); pointer-events: none;
  background: rgba(251, 250, 248, 0.88); padding: 4px 7px;
}
.tscale[hidden] { display: none; }
.tscale i { display: block; height: 5px; border: 1px solid var(--soft); border-top: 0; }
.tmap .land { fill: #fbfaf8; stroke: #bdb7ac; stroke-width: 1; vector-effect: non-scaling-stroke; }
.tmap .leg, .legend .leg { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.tmap .leg.car, .legend .leg.car { stroke-dasharray: 5 4; }
/* 4 Oct 2026, for Greece and Iceland: a boat is a row of dots, a flight a thinner dashed arc */
.tmap .leg.ferry, .legend .leg.ferry { stroke-width: 2.5; stroke-dasharray: 0.5 5; stroke-linecap: round; }
.tmap .leg.flight, .legend .leg.flight { stroke-width: 1.5; stroke-dasharray: 7 4; }
.tmap .leg { transition: stroke 0.4s ease; }
.tmap .leg.todo { stroke: #b4aea3; }
.tmap .spur {
  fill: none; stroke: var(--ink); stroke-width: 1.25; vector-effect: non-scaling-stroke;
  opacity: 0; transition: opacity 0.4s ease;
}
.tmap .spur.car { stroke-dasharray: 4 3; }
.tmap .spur.ferry { stroke-width: 2; stroke-dasharray: 0.5 4; stroke-linecap: round; }
.tmap .spur.show { opacity: 1; }
.tmap .pl rect, .tmap .pl path { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.tmap .pl.stop rect, .tmap .pl.stop path { fill: var(--ink); stroke: var(--paper); stroke-width: 1; }
.tmap .pl.stop { opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.tmap .pl.stop.show { opacity: 1; }
.tmap .pl.base { cursor: pointer; }
.tmap .pl.base.active rect, .tmap .pl.base:hover rect { fill: var(--ink); }
.tmap .num { font: 700 10.5px/1 var(--sans); fill: var(--ink); }
.tmap .pl.base.active .num, .tmap .pl.base:hover .num { fill: #fff; }
.tmap .lbl {
  font: 600 12px/1 var(--sans); fill: var(--ink);
  paint-order: stroke; stroke: #fbfaf8; stroke-width: 4px; stroke-linejoin: round;
  opacity: 0; transition: opacity 0.3s ease;
}
.tmap .pl.stop .lbl { font-weight: 500; font-size: 11px; stroke-width: 3.5px; }
.tmap .pl.on .lbl { opacity: 1; }
.tmap .pl.area { opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.tmap .pl.area.on { opacity: 1; }
.tmap .ar { font: 600 9.5px/1 var(--sans); letter-spacing: 0.22em; fill: #8b857b; }
.tmap a:focus-visible { outline: none; }
.tmap a:focus-visible rect { stroke-width: 3; }

.tmap-cap {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin: 12px 0 0; font-size: 0.95rem;
}
.tmap-cap b { font-weight: 600; }
.tmap-cap span { color: var(--soft); font-size: 0.86rem; }

/* one cell per day; the groups are the stops, sized by how many days they hold */
.pace { display: flex; gap: 5px; margin-top: 10px; }
.pace .pg { display: flex; gap: 2px; min-width: 0; padding-bottom: 5px; border-bottom: 2px solid transparent; }
.pace .pg.active { border-bottom-color: var(--ink); }
.pace .n1 { flex: 1 1 0; } .pace .n2 { flex: 2 1 0; } .pace .n3 { flex: 3 1 0; }
.pace .n4 { flex: 4 1 0; } .pace .n5 { flex: 5 1 0; } .pace .n6 { flex: 6 1 0; }
.pace .n7 { flex: 7 1 0; } .pace .n8 { flex: 8 1 0; } .pace .n9 { flex: 9 1 0; }
.pace a { flex: 1 1 0; height: 16px; min-width: 0; }
.e-low { background: #ddd8cf; }
.e-medium { background: #8b857b; }
.e-full { background: var(--ink); }
.e-travel { background: transparent; box-shadow: inset 0 0 0 1px #b4aea3; }
.e-none { background: #d6d0c6; } /* a plan that never rated its days: one even tone, no key */
.pace a.now { outline: 2px solid var(--ink); outline-offset: 1px; position: relative; z-index: 1; }
.pace a:hover { outline: 1px solid var(--ink); outline-offset: 1px; }

.legend {
  list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-size: 0.8rem; color: var(--soft);
}
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend svg { width: 26px; height: 8px; }
.legend .sw { width: 12px; height: 12px; display: inline-block; }
.credit { font-size: 0.72rem; color: var(--soft); margin: 12px 0 0; max-width: 40em; }
.in-head, .in-flow { display: none; }
.trip-head .legend { margin-top: 18px; }

.base { padding: 0 0 46px; scroll-margin-top: 20px; }
.base + .base { padding-top: 6px; }
.base-head { display: flex; align-items: center; gap: 16px; }
.base-n {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--ink); color: var(--linen); font-weight: 600; font-size: 1.15rem;
}
.base-head h2 { margin: 0; }
.base-meta { margin: 2px 0 0; color: var(--soft); font-size: 0.92rem; }
.stay { margin: 18px 0 0; }
.said { margin: 22px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--ink); }
.said p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.45; margin: 0 0 6px; }
.said cite {
  font-style: normal; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--soft);
}
.said-trip { max-width: 34em; margin-top: 20px; } /* one caption for the whole trip, under the intro */

/* Stories, as they were shot: upright frames in a row that scrolls sideways */
.strip {
  list-style: none; margin: 22px 0 0; padding: 0 0 6px; display: flex; gap: 8px;
  overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.strip li { flex: none; width: 118px; aspect-ratio: 9 / 16; background: var(--oat); scroll-snap-align: start; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip.empty .slot { background: transparent; border: 1px dashed #b4aea3; }

.days { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.day { padding: 22px 0 24px; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.day-top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--soft);
}
.en { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); white-space: nowrap; }
.en i { width: 8px; height: 8px; border: 1px solid var(--ink); display: inline-block; }
.en i.f { background: var(--ink); }
.en i:last-of-type { margin-right: 6px; }
.day h3 { margin: 9px 0 10px; font-size: 1.28rem; }
.day .plan { margin: 0 0 14px; padding-left: 19px; list-style: square; }
.day .plan li { margin-bottom: 3px; }
.day .cut, .day .booked { margin: 0 0 10px; font-size: 0.97rem; }
.day .go { margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.9rem; }
.day .go .k { flex-basis: 100%; }

.rules ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 52px; max-width: 920px; }
.rules li { margin-bottom: 10px; break-inside: avoid; }
.ate ul, .trip-list { list-style: none; margin: 0; padding: 0; }
.ate li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); max-width: 640px; }
.ate li span { color: var(--soft); font-size: 0.92rem; }
.trip-list li { border-top: 1px solid var(--line); }
.trip-list a { display: block; padding: 22px 0; color: inherit; text-decoration: none; max-width: 760px; }
.trip-list a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.trip-list .cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.trip-list h3 { margin: 6px 0 8px; font-size: 1.4rem; }
.trip-list p { margin: 0; color: var(--soft); }

/* Draft and review. None of this is emitted in a public build. */
.draft-bar { background: var(--ink); color: var(--linen); font-size: 0.86rem; padding: 9px 0; }
.draft-bar b { font-weight: 700; }
.rv-note { font-size: 0.8rem; color: var(--soft); margin: 12px 0 6px; }
.rv { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rv-set { display: inline-flex; border: 1px solid var(--ink); }
.rv-set button {
  font: inherit; font-size: 0.8rem; font-weight: 600; padding: 8px 11px; border: 0;
  border-left: 1px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer;
}
.rv-set button:first-child { border-left: 0; }
.rv-set button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.rv input[type="text"], .rv-out {
  flex: 1 1 200px; font: inherit; font-size: 0.9rem; padding: 8px 10px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 0;
}
.rv-out { display: block; width: 100%; max-width: 760px; margin-top: 12px; }
.review h3 { margin-top: 34px; }
.rv-list { margin: 0; padding: 0; list-style: none; max-width: 760px; }
ol.rv-list { list-style: decimal; padding-left: 22px; }
.rv-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.rv-list p { margin: 0 0 8px; }
.rv-list p span { color: var(--soft); font-size: 0.9rem; }

@media (max-width: 959px) {
  .trip-body { display: block; padding-top: 24px; }
  /* the map rides along under the reader's thumb: full bleed, stuck to the top */
  .trip-panel {
    top: 0; z-index: 5; background: var(--paper); margin: 0 -20px 28px; padding: 0 20px 10px;
    border-bottom: 1px solid var(--line);
  }
  .tmap-box { aspect-ratio: 2.1 / 1; margin: 0 -20px; border-left: 0; border-right: 0; }
  .tmap-cap { margin-top: 9px; }
  .pace { margin-top: 8px; }
  .pace a { height: 12px; }
  .in-panel { display: none; }
  .in-head, .in-flow { display: flex; }
  .credit.in-flow { display: block; }
  .base, .day { scroll-margin-top: calc(100vw / 2.1 + 86px); }
  .rules ol { columns: 1; }
  .strip li { width: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  .tmap .leg, .tmap .spur, .tmap .lbl, .tmap .pl.stop { transition: none; }
}
@media print {
  .trip-panel { position: static; }
  .draft-bar, .review, .rv, .rv-note, .strip.empty { display: none !important; }
}

/* Home: the way into the trips. 3 Oct 2026, Luke on the live Japan guide:
   "is this live on the site, i dont see it". */
.trip-feature {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  border: 1px solid var(--line); background: var(--paper);
  color: inherit; text-decoration: none; transition: border-color 0.15s ease;
}
.trip-feature:hover { border-color: var(--ink); }
.trip-feature img { display: block; width: 100%; height: auto; background: #e2ddd4; }
.trip-feature .body { padding: 30px 34px; align-self: center; }
.trip-feature .cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.trip-feature h3 { margin: 8px 0 12px; font-size: 1.55rem; line-height: 1.2; }
.trip-feature p { margin: 0 0 12px; color: var(--soft); }
.trip-feature .facts-line { color: var(--ink); font-weight: 600; }
.trip-feature .go { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.trip-feature:hover .go { text-decoration-thickness: 2px; }
@media (max-width: 760px) {
  .trip-feature { grid-template-columns: 1fr; }
  .trip-feature .body { padding: 20px 20px 24px; }
  .trip-feature h3 { font-size: 1.3rem; }
}
/* Three nav links (Recipes, Trips, Instagram) overflow a 320px phone by 39px.
   Below 350px the header drops Instagram, which is still in the hero button
   and the footer. 3 Oct 2026. */
@media (max-width: 350px) {
  .nav a[href*="instagram.com"] { display: none; }
}
/* Trip photos, 3 Oct 2026. The strip was drawn for 9:16 Story frames; her post
   photos are 3:4 and some are cropped wider, so each keeps its own shape at one
   height and the row scrolls sideways. Draft slots keep the Story shape. */
.strip li { width: auto; height: 260px; aspect-ratio: auto; }
.strip img { width: auto; height: 100%; object-fit: contain; }
.strip.empty li { width: 118px; height: auto; aspect-ratio: 9 / 16; }
@media (max-width: 760px) {
  .strip li { height: 220px; }
}

/* ------------------------------------------------------------------
   /trips/, 24 Oct 2026. Luke: "can you make this page look better... add
   some maps or something.. it looks boring and uninviting". It was a list of
   three paragraphs. Now: a dotted world map with a pin per trip, then a card
   per trip with its route map, the numbers, where we slept in order, and a
   way in. Same system as everywhere else: white, ink, hairlines, square. */
.trips-top { padding: 44px 0 10px; }
.trips-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; }
.trips-intro { max-width: 680px; }
.trips-intro .index-lead { margin-bottom: 0; }
.trip-stats { margin: 0; flex-wrap: nowrap; }
.trip-stats li { min-width: 92px; }

.world-frame { margin: 34px 0 6px; }
.world { position: relative; }
.world img { display: block; width: 100%; height: auto; }
.pin {
  position: absolute; display: flex; align-items: center; gap: 8px;
  transform: translate(-6px, -50%); white-space: nowrap;
  color: var(--soft); text-decoration: none; font-size: 0.92rem; line-height: 1;
}
.pin i { display: block; flex: none; width: 12px; height: 12px; background: var(--ink); }
.pin span { background: rgba(255, 255, 255, 0.9); padding: 4px 6px; }
.pin b { color: var(--ink); font-weight: 700; }
.pin.left { flex-direction: row-reverse; transform: translate(calc(-100% + 6px), -50%); }
.pin:hover b, .pin:focus-visible b { text-decoration: underline; text-underline-offset: 3px; }

.tcards { display: grid; gap: 28px; padding: 26px 0 40px; }
.tcard {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  border: 1px solid var(--line); background: var(--paper); scroll-margin-top: 20px;
  transition: border-color 0.15s ease;
}
.tcard:hover { border-color: #c9c3b8; }
.tcard.flip .tcard-map { order: 2; }
.tcard-map { display: block; background: #e2ddd4; }
.tcard-map img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tcard-body { padding: 32px 36px 34px; align-self: center; }
.tcard .cat {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--soft); margin: 0 0 10px;
}
.tcard h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin: 0 0 10px; }
.tcard h2 a { color: inherit; text-decoration: none; }
.tcard h2 a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.tcard-line { margin: 0 0 18px; color: var(--soft); font-size: 1.02rem; line-height: 1.55; }
.tcard-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; }
.tcard-facts li { border: 1px solid var(--line); padding: 8px 12px; font-size: 0.92rem; line-height: 1.3; }
.tcard-facts b {
  display: block; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--soft); font-weight: 700; margin-bottom: 2px;
}
.stays { margin: 0 0 24px; }
.stays-h {
  font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  color: var(--soft); margin: 0 0 8px;
}
.bar { display: flex; gap: 2px; list-style: none; margin: 0 0 10px; padding: 0; height: 26px; }
.bar li {
  flex: 1 1 0; min-width: 18px; display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--paper); font-size: 0.74rem; font-weight: 700;
}
.bar .n2 { flex-grow: 2; } .bar .n3 { flex-grow: 3; } .bar .n4 { flex-grow: 4; } .bar .n5 { flex-grow: 5; }
.bar .n6 { flex-grow: 6; } .bar .n7 { flex-grow: 7; } .bar .n8 { flex-grow: 8; } .bar .n9 { flex-grow: 9; }
.bar .n10 { flex-grow: 10; } .bar .n11 { flex-grow: 11; } .bar .n12 { flex-grow: 12; } .bar .n13 { flex-grow: 13; }
.bar .n14 { flex-grow: 14; }
.stays-key { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; margin: 0; padding: 0; font-size: 0.86rem; }
.stays-key li { display: inline-flex; align-items: center; gap: 6px; }
.stays-key b {
  display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px;
  border: 1px solid var(--ink); font-size: 0.68rem; font-weight: 700;
}
.stays-key span { color: var(--soft); }
.tcard-photos {
  /* last in every card: on a flipped card the map has order 2, and without this the strip
     would take the row under the text and push the map below it */
  order: 3;
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px;
  list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); background: var(--paper);
}
.tcard-photos a { display: block; }
.tcard-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 860px) {
  .trips-head { grid-template-columns: 1fr; }
  .tcard, .tcard.flip { grid-template-columns: 1fr; }
  .tcard.flip .tcard-map { order: 0; }
  .tcard-map img { height: auto; }
  .tcard-body { padding: 22px 20px 26px; }
}
@media (max-width: 640px) {
  /* a phone shows the half of the world the trips are in, at a size the dots can be seen */
  .world-frame { overflow: hidden; margin: 26px -20px 0; }
  .world { width: 185%; margin-left: -74%; }
  .pin { font-size: 0.8rem; gap: 6px; }
  .pin i { width: 10px; height: 10px; }
  .tcards { gap: 22px; padding-top: 18px; }
  .tcard-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print { .world-frame, .tcard-photos { display: none !important; } }
