/* The home page: the app's Home, laid out as the magazine it is the cover of. */

:root {
  --cover-ink: #111010;
  --cover-rule: #111010;
  --cover-rule-soft: rgba(17, 16, 16, 0.3);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cover-ink: #F1ECE3;
    --cover-rule: rgba(241, 236, 227, 0.55);
    --cover-rule-soft: rgba(241, 236, 227, 0.2);
  }
}
/* The same, when the visitor chooses dark on the site. */
:root[data-theme="dark"] {
  --cover-ink: #F1ECE3;
  --cover-rule: rgba(241, 236, 227, 0.55);
  --cover-rule-soft: rgba(241, 236, 227, 0.2);
}


section { position: relative; }
h2 {
  font-family: var(--serif-m);
  font-weight: 600;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
h3 {
  font-family: var(--serif-s);
  font-weight: 600;
  font-size: clamp(25px, 2.3vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.num {
  font-family: var(--serif-m);
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  color: var(--muted);
  font-variant-numeric: lining-nums;
}

/* ── Cover ─────────────────────────────────────────────────────────── */
.cover { background: var(--ground); color: var(--cover-ink); padding-bottom: 56px; }
.cover .topbar { color: var(--cover-ink); }
.masthead { margin-top: 6px; }
.masthead .wordmark { width: 100%; color: var(--wordmark-on-ground); }

.issue {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin-top: clamp(14px, 2vw, 26px);
  padding: 9px 0 10px;
  border-top: 1.5px solid var(--cover-rule);
  border-bottom: 1.5px solid var(--cover-rule);
  font-size: 15px; font-weight: 600; line-height: 1.35;
}
.issue { flex-wrap: wrap; row-gap: 2px; }
.issue .tagline { flex: 1 1 20em; }
.issue .date { white-space: nowrap; }

.cover-body { margin-top: 24px; display: grid; gap: 28px; }

/* Video and phone at one height: their columns are in the ratio of their
   shapes (phone 2.174 tall per wide, the clip 1.409), so they match at every
   width. The clip may lose a few pixels top and bottom to the phone's bezel. */
.cover-pair { display: grid; grid-template-columns: 1.543fr 1fr; gap: clamp(12px, 1.6vw, 20px); align-items: stretch; }
.cover-photo { margin: 0; position: relative; min-height: 0; }
.cover-photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #2C2A27; }
.phone.cover-phone { width: auto; min-width: 0; align-self: start; scroll-snap-align: none; }
.cover-phone picture, .cover-phone img { display: block; width: 100%; height: auto; }

.cover-side { display: flex; flex-direction: column; gap: 28px; }
.cover-lines { list-style: none; margin: 0; padding: 0; display: none; }
.cover-lines li { border-bottom: 1.5px solid var(--cover-rule-soft); }
.cover-lines li:first-child { border-top: 1.5px solid var(--cover-rule); }
.cover-lines a {
  display: block; padding: 16px 0 15px;
  font-family: var(--serif-m); font-weight: 600;
  font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -0.015em;
  text-decoration: none;
}
.cover-lines a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
:lang(ja) .cover-lines a { font-family: var(--ja-display); font-weight: 700; letter-spacing: 0.01em; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.4; }

.cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.note { margin-top: 12px; font-size: 14px; font-weight: 600; opacity: 0.72; }

@media (min-width: 900px) {
  .cover { padding-bottom: 64px; }
  .cover-body { grid-template-columns: minmax(0, 2.6fr) minmax(0, 2.2fr); gap: clamp(32px, 4vw, 56px); margin-top: 28px; align-items: start; }
  .cover-lines { display: block; }
}

/* ── Opening ───────────────────────────────────────────────────────── */
.opening { padding: clamp(72px, 9vw, 128px) 0; }
.lead {
  max-width: 21em;
  font-family: var(--serif-text); font-weight: 400;
  font-size: clamp(25px, 2.7vw, 34px); line-height: 1.36; letter-spacing: -0.005em;
}
:lang(ja) .lead { font-family: var(--sans); font-weight: 500; font-size: clamp(20px, 2.1vw, 26px); line-height: 1.8; letter-spacing: 0.02em; max-width: 30em; }
.follow { margin-top: 28px; max-width: 34em; font-size: 18px; color: var(--ink-2); }

/* ── Promise: an ink band, ruled like the Bread Week panel ──────────── */
.promise { background: var(--ink-fill); color: var(--on-ink); padding: clamp(80px, 10vw, 136px) 0; }
.promise .line {
  font-family: var(--serif-m); font-weight: 600;
  font-size: clamp(38px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -0.025em;
}
:lang(ja) .promise .line { font-family: var(--ja-display); font-weight: 700; letter-spacing: 0.01em; line-height: 1.3; font-size: clamp(30px, 4.6vw, 60px); }
.promise .accent {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 22px;
  max-width: 34em;
  color: var(--yolk);
  font-size: 19px; font-weight: 600; line-height: 1.4;
  position: relative;
}
.promise .accent::before {
  content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 10px;
  border-top: 4px solid var(--yolk); border-bottom: 1.5px solid var(--yolk);
}

/* ── The tour: App Store preview 1 in a phone, its captions as chapters ─
   On the yolk ground (the dark ground at night). While it plays, the line for
   what is on screen stays full strength and a rule fills under it; the rest
   step back. Each line plays from its own moment. */
.tour { background: var(--ground); color: var(--on-ground); padding: clamp(72px, 9vw, 120px) 0; }
.tour-in { display: grid; gap: 32px; justify-items: center; }
.tour .tour-phone { width: min(60%, 290px); scroll-snap-align: none; justify-self: center; }
.tour-side { width: 100%; }
.chapters { list-style: none; margin: 0; padding: 0; border-bottom: 1.5px solid var(--ground-rule); }
.chapters li { border-top: 1.5px solid var(--ground-rule); }
.chapters button {
  position: relative; display: block; width: 100%; margin: 0; padding: clamp(14px, 1.6vw, 22px) 0 clamp(13px, 1.5vw, 21px);
  border: 0; background: none; color: inherit; text-align: left; cursor: pointer;
  font-family: var(--serif-m); font-weight: 600;
  font-size: clamp(28px, 3.7vw, 54px); line-height: 1.06; letter-spacing: -0.02em;
  transition: color .45s var(--ease, ease);
}
:lang(ja) .chapters button { font-family: var(--ja-display); font-weight: 700; letter-spacing: 0.01em; font-size: clamp(22px, 2.7vw, 38px); line-height: 1.35; }
.chapters button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 3px;
  background: var(--on-ground); transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
}
.tour.playing .chapters button { color: var(--ground-muted); }
.tour.playing .chapters button[aria-current="true"],
.chapters button:hover, .chapters button:focus-visible { color: var(--on-ground); }
.tour-toggle { margin-top: 22px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.tour .phone-lg { box-shadow: 0 30px 60px -30px rgba(17, 16, 16, 0.5); }
@media (min-width: 900px) {
  .tour-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; justify-items: stretch; }
  .tour .tour-phone { width: min(100%, 360px); justify-self: start; }
}
/* Before a film loads, its screen is the page it will show. */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .film { background: #242321; } }
:root[data-theme="dark"] .film { background: #242321; }

/* ── The app, screen by screen ─────────────────────────────────────── */
.shots-section { padding: clamp(80px, 9vw, 120px) 0 clamp(64px, 7vw, 96px); overflow: hidden; }
.shots-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.shots-head h2 { max-width: 12em; }
.shots-nav { display: none; gap: 12px; flex: none; }
@media (min-width: 900px) { .shots-nav { display: flex; } }
.shots-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; padding: 0;
  background: var(--page); color: var(--ink);
  border: 1.5px solid var(--ink); cursor: pointer;
}
.shots-btn svg { width: 11px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.shots-btn:hover:not(:disabled) { background: var(--yolk); color: #111010; border-color: var(--yolk); }
.shots-btn:disabled { opacity: 0.25; cursor: default; }

.shots {
  --edge: max(var(--gutter), calc((100vw - var(--column)) / 2));
  display: flex; gap: clamp(20px, 2.4vw, 32px);
  margin-top: 40px;
  padding: 8px var(--edge) 36px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--edge);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.shots::-webkit-scrollbar { display: none; }
.shots:focus-visible { outline-offset: -3px; }

/* A phone: the capture in a plain off-black body, never cropped. */
.phone {
  flex: none; margin: 0; scroll-snap-align: start;
  width: clamp(220px, 21vw, 272px);
  padding: 7px; border-radius: 42px;
  background: #111010;
  box-shadow: 0 22px 44px -24px rgba(17, 16, 16, 0.45), 0 0 0 1px rgba(17, 16, 16, 0.06);
}
.phone img { width: 100%; height: auto; border-radius: 35px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phone { background: #0B0B0A; box-shadow: 0 0 0 1px rgba(241, 236, 227, 0.12); }
}
/* The same, when the visitor chooses dark on the site. */
:root[data-theme="dark"] .phone { background: #0B0B0A; box-shadow: 0 0 0 1px rgba(241, 236, 227, 0.12); }


/* ── Contents: ruled entries, like the app's Recipes ──────────────── */
.contents { padding: 24px 0 0; }
.contents + .coda, .spread + .contents { padding-top: clamp(56px, 7vw, 96px); }
.grid { display: grid; gap: 0 64px; }
@media (min-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
.entry { border-top: 1.5px solid var(--ink); padding: 26px 0 clamp(44px, 5vw, 64px); }
.entry-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.entry p { margin-top: 14px; max-width: 34em; color: var(--ink-2); }
.quote { margin-top: 22px !important; }
.quote > strong { display: block; color: var(--ink); font-weight: 600; font-size: 16px; }
.quote > span { display: block; color: var(--muted); font-size: 15px; }

/* ── The Proofreader: an ink spread with the app's big yellow numeral ─ */
.spread { background: var(--ink-fill); color: var(--on-ink); padding: clamp(72px, 9vw, 120px) 0; margin-top: clamp(16px, 3vw, 32px); }
.spread-in { display: grid; gap: 48px; align-items: center; }
.spread-copy { order: -1; }
.spread .num { display: block; font-family: var(--serif-l); font-size: clamp(96px, 12vw, 168px); line-height: 0.82; letter-spacing: -0.03em; color: var(--yolk); }
.spread h3 { margin-top: 28px; font-family: var(--serif-m); font-size: clamp(32px, 3.8vw, 50px); line-height: 1.04; letter-spacing: -0.02em; max-width: 12em; }
:lang(ja) .spread h3 { font-family: var(--ja-display); font-weight: 700; letter-spacing: 0.01em; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.35; }
.spread p { margin-top: 20px; max-width: 32em; color: rgba(250, 247, 240, 0.78); font-size: 18px; }
.spread .quote { padding-top: 22px; border-top: 1.5px solid var(--rule-on-ink); max-width: 32em; }
.spread .quote > strong { color: var(--on-ink); }
.spread .quote > span { color: var(--muted-on-ink); }
.phone-lg { width: min(100%, 340px); justify-self: center; box-shadow: 0 0 0 1px rgba(250, 247, 240, 0.1); }
@media (min-width: 900px) {
  .spread-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; }
  .spread-copy { order: 0; }
  .phone-lg { width: min(100%, 360px); justify-self: start; }
}

/* ── Coda: the last entry, its line set large ─────────────────────── */
.coda-in { display: grid; gap: 32px; border-top: 1.5px solid var(--ink); padding-top: 26px; }
.coda-copy p { margin-top: 14px; max-width: 34em; color: var(--ink-2); }
.pull > strong {
  display: block;
  font-family: var(--serif-s); font-style: italic; font-weight: 600;
  font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.015em;
}
:lang(ja) .pull > strong { font-family: var(--ja-display); font-weight: 700; font-style: normal; letter-spacing: 0.01em; line-height: 1.4; font-size: clamp(26px, 2.8vw, 36px); }
.pull > span { display: block; margin-top: 14px; color: var(--muted); font-size: 17px; }
@media (min-width: 900px) {
  .coda-in { grid-template-columns: 1fr 1fr; gap: 64px; }
  .pull { padding-top: 6px; }
}

/* ── Pricing: Premium is the chosen cell, so it is yolk ───────────── */
.pricing { padding: clamp(96px, 11vw, 144px) 0 clamp(72px, 8vw, 104px); }
.plans { display: grid; margin-top: 40px; }
.plan { border-top: 1.5px solid var(--ink); padding: 26px 0 40px; }
.plan h3 { font-size: clamp(27px, 2.5vw, 32px); }
.plan p { margin-top: 14px; color: var(--ink-2); }
.plan .list { font-size: 15.5px; line-height: 1.6; }
.plan.premium { background: var(--ground); color: var(--on-ground); border-top-color: var(--ground); padding: 26px var(--gutter) 40px; margin: 0 calc(var(--gutter) * -1); }
.plan.premium p { color: var(--ground-muted); }
.plan.premium p:first-of-type { color: var(--on-ground); }
.plan .meta { margin-top: 20px; font-size: 15px; font-weight: 600; color: var(--on-ground) !important; }
.languages { margin-top: 28px; font-size: 15px; color: var(--muted); }
@media (min-width: 900px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .plan { padding-right: 48px; }
  .plan.premium { margin: 0; padding: 26px 40px 44px; }
}

/* ── Closing: yolk again, as the app's Home ends ──────────────────── */
.closing { background: var(--ground); color: var(--on-ground); padding: clamp(96px, 11vw, 152px) 0; }
.closing-line {
  max-width: 13em;
  font-family: var(--serif-m); font-weight: 600;
  font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.025em;
}
:lang(ja) .closing-line { font-family: var(--ja-display); font-weight: 700; letter-spacing: 0.01em; line-height: 1.35; font-size: clamp(28px, 3.8vw, 48px); max-width: 16em; }
.closing .cta-row { margin-top: 40px; }

/* ── Explore: rows that fill yolk under the pointer, like PressRow ── */
.explore { padding: clamp(80px, 9vw, 120px) 0 clamp(88px, 10vw, 128px); }
.explore .sub { margin-top: 16px; max-width: 36em; color: var(--ink-2); }
.rows { margin-top: 36px; border-bottom: 1.5px solid var(--rule); }
/* The fill runs to the screen's margins; the rule stays on the column. */
.row {
  position: relative;
  display: grid; gap: 6px;
  margin: 0 calc(var(--gutter) * -1); padding: 24px var(--gutter);
  text-decoration: none;
  
}
.row::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1.5px solid var(--rule); }
.rows .row:first-child::before { border-top-color: var(--ink); }
.row:hover::before, .row:hover + .row::before { border-top-color: transparent; }
.row .t { font-family: var(--serif-s); font-weight: 600; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -0.01em; }
:lang(ja) .row .t { font-family: var(--ja-display); font-weight: 700; letter-spacing: 0.01em; }
.row .d { color: var(--ink-2); max-width: 34em; }
.row:hover, .row:active { color: #111010; }
.row:hover .d, .row:active .d { color: #3A3000; }
@media (min-width: 900px) {
  .row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: baseline; gap: 48px; }
}
.freeze { margin-top: 36px; max-width: 38em; color: var(--ink-2); }
.next { margin-top: 12px; font-size: 15px; color: var(--muted); }
.next b { color: var(--ink); font-weight: 600; }

/* ── Motion ──────────────────────────────────────────────────────── */

/* The cover phone: real screens, pushed and popped like the app's own
   navigation (motion.js moves them; this is the slide). */
.screens { position: relative; overflow: hidden; border-radius: 35px; aspect-ratio: 660 / 1435; background: #FBC800; isolation: isolate; }
.screens .screen { position: absolute; inset: 0; transform: translateX(100%); transition: transform 0.62s var(--ease-ios), filter 0.62s var(--ease-ios); will-change: transform; }
.screens .screen img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.screens .screen.is-on { transform: none; }
.screens .screen.is-past { transform: translateX(-28%); filter: brightness(0.78); }
.screens .screen.no-anim { transition: none; }
.screens .screen:first-child { transform: translateX(-28%); filter: brightness(0.78); }
.screens .screen:first-child.is-on { transform: none; filter: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .screens { background: #242321; }
}
/* The same, when the visitor chooses dark on the site. */
:root[data-theme="dark"] .screens { background: #242321; }


/* The cover assembles once, on arrival: the wordmark wipes in like ink, the
   issue line follows, then the pair rises, the cover lines, the badge. */
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.motion .cover .topbar { animation: fade 0.8s var(--ease) 0.05s both; }
.motion .masthead .wordmark { animation: wipe 1.25s var(--ease) 0.1s both; }
.motion .issue { animation: wipe 1.1s var(--ease) 0.42s both; }
.motion .cover-photo { animation: rise 1.1s var(--ease) 0.55s both; }
.motion .cover-phone { animation: rise 1.1s var(--ease) 0.68s both; }
.motion .cover-lines li { animation: rise 0.95s var(--ease) both; }
.motion .cover-lines li:nth-child(1) { animation-delay: 0.78s; }
.motion .cover-lines li:nth-child(2) { animation-delay: 0.85s; }
.motion .cover-lines li:nth-child(3) { animation-delay: 0.92s; }
.motion .cover-lines li:nth-child(4) { animation-delay: 0.99s; }
.motion .cover-cta { animation: rise 0.95s var(--ease) 1.08s both; }

/* The promise lines rise out of their own baselines. */
.motion .promise .line[data-reveal] { opacity: 1; transform: none; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.motion .promise .line .rise { display: block; transform: translate3d(0, 108%, 0); transition: transform 1.15s var(--ease) var(--d, 0ms); }
.motion .promise .line.in .rise { transform: none; }
/* The double rule under them draws across. */
.motion .promise .accent::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.4s var(--ease) calc(var(--d, 0ms) + 0.1s); }
.motion .promise .accent.in::before { transform: none; }

/* Explore rows draw their rules in, too. */
.motion .row::before { transform: scaleX(0); transform-origin: left center; transition: transform 1.3s var(--ease) var(--d, 0ms); }
.motion .row.in::before { transform: none; }

/* Phones in the strip lift under the pointer. */
.shots .phone { transition: translate 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.shots .phone:hover { translate: 0 -8px; box-shadow: 0 34px 60px -28px rgba(17, 16, 16, 0.55), 0 0 0 1px rgba(17, 16, 16, 0.06); }

/* A slow drift as the Proofreader spread passes: the phone up, the numeral down. */
@supports (animation-timeline: view()) {
  .motion .spread .phone-lg { animation: drift-up linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  .motion .spread .num { animation: drift-down linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  .motion .cover-photo video { animation: settle linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
}
@keyframes drift-up { from { translate: 0 56px; } to { translate: 0 -56px; } }
@keyframes drift-down { from { translate: 0 -24px; } to { translate: 0 32px; } }
@keyframes settle { from { scale: 1; } to { scale: 1.06; } }

/* ── Explore: the app's own library, shelf by shelf ─────────────────── */
.library { padding: clamp(88px, 10vw, 136px) 0 clamp(24px, 4vw, 48px); }
.library-in { display: grid; gap: 40px; margin-top: 36px; }
.library-side { display: flex; justify-content: center; }
.library-phone { width: min(76%, 320px); position: relative; }
@media (min-width: 900px) {
  .library-in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
  .library-side { position: sticky; top: 72px; justify-content: flex-start; }
  .library-phone { width: min(100%, 340px); }
}
/* A video playing inside a captured screen, exactly where the app plays it. */
.phone { position: relative; }
.phone-video { position: absolute; object-fit: cover; background: #DCD5C8; }

.shelves { display: grid; gap: clamp(36px, 4vw, 52px); }
.shelf-label { display: block; font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.shelf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; }
@media (min-width: 640px) { .shelf-list { grid-template-columns: 1fr 1fr; } }
.shelf-list li { border-top: 1.5px solid var(--ink); padding: 16px 0 22px; }
.shelf-list .t { display: block; font-family: var(--serif-s); font-weight: 600; font-size: clamp(22px, 2vw, 26px); line-height: 1.12; letter-spacing: -0.01em; }
:lang(ja) .shelf-list .t { font-family: var(--ja-display); font-weight: 700; letter-spacing: 0.01em; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.4; }
.shelf-list .d { display: block; margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* Pizza, as the app shows it: a photo with the type on a dark shade. */
.pizza-card { position: relative; margin: 0; overflow: hidden; background: var(--ink-fill); }
.pizza-card img { width: 100%; height: auto; aspect-ratio: 1000 / 492; object-fit: cover; }
.pizza-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 48px 24px 20px;
  background: linear-gradient(to bottom, rgba(17, 16, 16, 0), rgba(17, 16, 16, 0.82));
  color: #FFFFFF;
}
.pizza-card .shelf-label { color: rgba(255, 255, 255, 0.78); margin-bottom: 4px; }
.pizza-card .t { display: block; font-family: var(--serif-m); font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.02em; }
:lang(ja) .pizza-card .t { font-family: var(--ja-display); font-weight: 700; letter-spacing: 0.01em; }
.pizza-card .d { display: block; margin-top: 6px; font-size: 16px; color: rgba(255, 255, 255, 0.85); }
.motion .pizza-card img { transition: scale 1.2s var(--ease); }
.pizza-card:hover img { scale: 1.03; }

/* ── Features with the app working beside them ─────────────────────── */
.feature { padding: clamp(64px, 8vw, 112px) 0 0; }
.feature-in { display: grid; gap: 36px; border-top: 1.5px solid var(--ink); padding-top: 28px; }
.feature-copy { order: -1; }
.feature-copy .num { display: block; font-family: var(--serif-l); font-size: clamp(72px, 9vw, 128px); line-height: 0.85; letter-spacing: -0.03em; color: var(--ink); }
.feature-copy h3 { margin-top: 22px; font-family: var(--serif-m); font-size: clamp(32px, 3.6vw, 48px); line-height: 1.04; letter-spacing: -0.02em; max-width: 13em; }
:lang(ja) .feature-copy h3 { font-family: var(--ja-display); font-weight: 700; letter-spacing: 0.01em; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.35; }
.feature-copy > p { margin-top: 18px; max-width: 32em; font-size: 18px; color: var(--ink-2); }
.feature-copy .quote { padding-top: 20px; border-top: 1.5px solid var(--rule); max-width: 32em; }
.feature-phones { display: flex; gap: clamp(14px, 2vw, 24px); justify-content: center; align-items: flex-start; }
.feature-phones .phone { width: min(72%, 320px); }
.feature-pair .feature-phones .phone { width: min(47%, 290px); }
.feature-pair .feature-phones .phone:nth-child(2) { margin-top: 48px; }
.film { display: block; width: 100%; height: auto; aspect-ratio: 600 / 1304; border-radius: 35px; background: #FAF7F0; object-fit: cover; }
@media (min-width: 900px) {
  .feature-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; align-items: center; padding-top: 40px; }
  .feature-copy { order: 0; }
  .feature-flip .feature-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .feature-flip .feature-phones { order: 2; }
  .feature-phones { justify-content: flex-start; }
  .feature-flip .feature-phones { justify-content: flex-end; }
}
.feature + .contents { padding-top: clamp(64px, 8vw, 112px); }
.contents + .spread { margin-top: clamp(48px, 6vw, 80px); }
.spread + .feature { padding-top: clamp(64px, 8vw, 112px); }
.feature + .coda { padding-top: clamp(64px, 8vw, 112px); }
.spread .film { border-radius: 35px; }

/* ── Light or dark: one switch for every phone on the page ──────────── */
.tools { display: flex; align-items: center; gap: 14px; }
.look { display: inline-flex; flex: none; gap: 2px; padding: 3px; border-radius: 999px; border: 1.5px solid currentColor; }
.look button {
  font: inherit; font-size: 14px; font-weight: 600; line-height: 1; color: inherit;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 32px; min-width: 32px; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.look button svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.look button[data-look="dark"] svg { fill: currentColor; stroke: none; }
/* Chosen = yolk, as in the app's own Appearance setting. On the cover's yolk ground, ink. */
.look button[aria-pressed="true"] { background: var(--yolk); color: #111010; }
.cover .look button[aria-pressed="true"] { background: var(--on-ground); color: var(--ground); }
.look-labelled { color: var(--ink); }
.look-labelled button { padding: 0 14px 0 11px; height: 36px; }
.shots-tools { display: flex; align-items: center; gap: 20px; flex: none; }
@media (max-width: 899px) { .shots-head { flex-direction: column; align-items: flex-start; gap: 20px; } }
/* A quick settle as the screens change over. */
.relook .phone picture img { animation: relook .6s var(--ease); }
@keyframes relook { from { opacity: .35; transform: scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .relook .phone picture img { animation: none; } }
/* The site itself eases over to light or dark when the visitor switches. */
.relook body, .relook header, .relook section, .relook footer { transition: background-color .45s var(--ease), color .45s var(--ease); }
