/* ============================================================
   JOURNAL — main page, article page and the full-screen viewer
   Soft cream-grey from the design; the article darkens as you read.
   ============================================================ */

:root {
  --bg: #dedad3;
  --fg: #1f1d1b;
  --fg-dim: rgba(31, 29, 27, 0.62);
  --fg-faint: rgba(31, 29, 27, 0.14);
  --accent: #5b1818;
  --line: rgba(31, 29, 27, 0.13);
  --night: #111312;
  --t: 0;
  color-scheme: light;
}
body { background: linear-gradient(90deg, #d3cec5 0%, #e9e7e2 100%); }

/* the article grows darker as you go deeper (article.js sets --t from 0 to 1) */
.dusk {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--night);
  opacity: var(--t);
}
html.is-dusk {
  --bg: #161817;
  --fg: #ebe7df;
  --fg-dim: rgba(235, 231, 223, 0.66);
  --fg-faint: rgba(235, 231, 223, 0.16);
  --accent: #e2a198;
  --line: rgba(235, 231, 223, 0.14);
  color-scheme: dark;
}
.journal-page body, .journal-page .nav__link, .journal-page .logo, .journal-page .foot,
.article-page main, .article-page .slate, .article-page .foot__list a {
  transition: color 0.9s var(--ease-in-out), border-color 0.9s var(--ease-in-out);
}

/* ---------- page-to-page morph (journal ⇄ article) ---------- */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: 0.9s; animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.6s; }
.vt-in .curtain { display: none; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* small pill button */
.pillbtn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 99px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  transition: border-color 0.4s, background-color 0.4s, color 0.4s;
}
.pillbtn i { font-style: normal; transition: transform 0.5s var(--ease-out); }
.pillbtn:hover { border-color: var(--fg); }
.pillbtn:hover i { transform: translate(3px, -3px); }

/* ============================================================
   JOURNAL MAIN
   ============================================================ */

/* ---------- hero ---------- */
.jhero__pin {
  height: 100svh;
  display: flex; flex-direction: column;
  padding-top: var(--nav-h);
}
.jhero__frame { position: relative; flex: 1; overflow: hidden; background: #6f7a80; isolation: isolate; }
.jhero__slides { position: absolute; inset: -6% 0; }
.jhero__slide { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.jhero__slide.is-active { clip-path: inset(0 0 0 0); z-index: 1; }
.jhero__slide .media { position: absolute; inset: 0; --ph-ink: rgba(255, 255, 255, 0.55); }
.jhero__slide .media__ph { place-items: start end; padding: 18px var(--gutter); }
.jhero__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(12, 12, 12, 0.62) 0%, rgba(12, 12, 12, 0) 52%),
    linear-gradient(180deg, rgba(12, 12, 12, 0.28) 0%, rgba(12, 12, 12, 0) 22%);
}
.jhero__label {
  position: absolute; z-index: 3; top: clamp(18px, 2.4vw, 34px); left: var(--gutter);
  display: flex; align-items: baseline; gap: 14px;
  font-size: 12.5px; font-weight: 300; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.82);
}
.jhero__label span { font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; }
.jhero__copy { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(24px, 4vw, 56px); color: #fff; }
.jhero__text { position: absolute; left: 0; bottom: 0; max-width: 760px; visibility: hidden; }
.jhero__text.is-active { position: relative; visibility: visible; }
.jhero__kicker { font-size: 11.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.jhero__title {
  margin-top: 10px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(64px, 9vw, 168px); line-height: 0.86; letter-spacing: 0.005em; text-transform: uppercase;
}
.jhero__title a { display: inline-block; }
.jhero__line { margin-top: 16px; max-width: 46ch; font-size: clamp(15px, 1.25vw, 19px); font-weight: 300; line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
.jhero__read {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding-bottom: 5px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
}
.jhero__read i { font-style: normal; transition: transform 0.5s var(--ease-out); }
.jhero__read:hover i { transform: translateX(5px); }
.jhero__dots { display: flex; justify-content: center; gap: 10px; padding: 16px 0 18px; }
.jhero__dots button { position: relative; width: 40px; height: 22px; display: grid; align-items: center; }
.jhero__dots button::before { content: ""; height: 5px; border-radius: 5px; border: 1px solid var(--accent); }
/* the fill runs while the pointer rests on the hero, then the next highlight comes in */
.jhero__dots i { position: absolute; left: 0; right: 0; top: 8.5px; height: 5px; border-radius: 5px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.jhero__dots button.is-done i, .jhero__dots button.is-active i { transform: scaleX(1); }
@media (max-width: 760px) {
  .jhero__pin { height: 88svh; }
  .jhero__label { flex-direction: column; gap: 4px; }
}

/* ---------- featured card (pill, from the design) ---------- */
.feature { padding-top: clamp(40px, 6vw, 90px); }
.fcard {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr); align-items: stretch;
  min-height: clamp(150px, 14vw, 220px);
  border-radius: 999px;
  background: #ebe7dc;
  box-shadow: 0 1px 0 rgba(31, 29, 27, 0.04), 0 40px 80px -60px rgba(31, 29, 27, 0.45);
  transition: transform 0.8s var(--ease-out), box-shadow 0.8s var(--ease-out);
}
.fcard__text { display: flex; flex-direction: column; justify-content: center; padding: 24px clamp(26px, 3.4vw, 60px); }
.fcard__kicker { font-size: 10.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.fcard__title { margin-top: 8px; font-size: clamp(22px, 2.4vw, 40px); font-weight: 800; line-height: 1.02; letter-spacing: -0.01em; text-transform: uppercase; }
.fcard__soft { margin-top: 4px; font-size: clamp(18px, 1.9vw, 32px); font-weight: 300; line-height: 1.05; text-transform: uppercase; }
.fcard__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim); transition: color 0.4s; }
.fcard__go i { font-style: normal; transition: transform 0.5s var(--ease-out); }
.fcard__strip {
  position: relative; overflow: hidden;
  border-radius: 999px;
  background: #1c2420;
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* keeps the rounded clip on Safari while the track moves */
}
.fcard__track { display: flex; height: 100%; width: max-content; animation: drift 60s linear infinite; }
.fcard__thumb { position: relative; height: 100%; aspect-ratio: 16 / 10; flex: none; }
.fcard__thumb .media { position: absolute; inset: 0; --ph-ink: rgba(255, 255, 255, 0.5); transition: filter 0.8s; filter: brightness(0.82); }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.fcard:hover, .fcard:focus-visible { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(31, 29, 27, 0.04), 0 50px 90px -50px rgba(31, 29, 27, 0.55); }
.fcard:hover .fcard__track { animation-duration: 22s; }
.fcard:hover .fcard__thumb .media { filter: brightness(1); }
.fcard:hover .fcard__go { color: var(--fg); }
.fcard:hover .fcard__go i { transform: translateX(6px); }
@media (max-width: 760px) {
  .fcard { grid-template-columns: 1fr; border-radius: 30px; padding: 8px; }
  .fcard__text { padding: 18px 16px 18px; }
  .fcard__strip { height: 150px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) { .fcard__track { animation: none; } }

/* ---------- entries ---------- */
.entries { padding-block: clamp(100px, 12vw, 180px) clamp(60px, 8vw, 120px); }
.entries__head {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap;
  gap: 18px 60px; margin-bottom: clamp(26px, 3vw, 44px);
}
.entries__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(76px, 10vw, 180px); line-height: 0.82; text-transform: uppercase; }
.entries__intro { max-width: 44ch; padding-bottom: 0.5em; font-size: clamp(15px, 1.2vw, 18px); font-weight: 300; line-height: 1.6; color: var(--fg-dim); }

.topics {
  display: flex; gap: 8px;
  margin-bottom: clamp(30px, 4vw, 60px);
  overflow-x: auto; scrollbar-width: none;
  padding-bottom: 4px;
}
.topics::-webkit-scrollbar { display: none; }
.topic {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 99px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--fg-dim);
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}
.topic sup { font-size: 10px; font-weight: 500; letter-spacing: 0; opacity: 0.7; top: -0.4em; }
.topic:hover { border-color: var(--fg); color: var(--fg); }
.topic[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #f4efe9; }
.topic.is-empty:not([aria-pressed="true"]) { color: rgba(31, 29, 27, 0.4); }

.list { border-top: 1px solid var(--line); }
.entry { border-bottom: 1px solid var(--line); }
.entry__link {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center;
  gap: clamp(24px, 4vw, 72px);
  padding-block: clamp(26px, 3vw, 44px);
}
.entry__media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: #1c2420; }
.entry__media .media { position: absolute; inset: 0; --ph-ink: rgba(255, 255, 255, 0.5); transition: transform 1.4s var(--ease-out); }
.entry__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.entry__meta span + span { color: var(--fg-dim); }
.entry__title { margin-top: 14px; font-family: var(--font-display); font-weight: 400; font-size: clamp(56px, 6.4vw, 118px); line-height: 0.86; text-transform: uppercase; }
.entry__excerpt { margin-top: 18px; max-width: 40ch; font-size: clamp(16px, 1.25vw, 19px); font-weight: 300; line-height: 1.6; color: var(--fg-dim); }
.entry__foot { display: flex; align-items: center; gap: 24px; margin-top: 26px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim); }
.entry__read { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; color: var(--fg); }
.entry__read i { font-style: normal; transition: transform 0.5s var(--ease-out); }
.entry__link:hover .entry__media .media { transform: scale(1.04); }
.entry__link:hover .entry__read i { transform: translateX(6px); }
.list__empty { padding: clamp(40px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.list__empty b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4.4vw, 72px); line-height: 0.95; text-transform: uppercase; color: var(--fg-faint); }
.list__empty span { display: block; margin-top: 10px; font-size: 16px; font-weight: 300; color: var(--fg-dim); }
@media (max-width: 820px) {
  .entry__link { grid-template-columns: 1fr; }
  .entry__foot { gap: 16px; }
}

/* ============================================================
   ARTICLE
   ============================================================ */
.ahead { position: relative; padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 90px)); text-align: center; }
.back {
  position: absolute; left: var(--gutter); top: calc(var(--nav-h) + 10px);
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim);
  transition: color 0.3s;
}
.back i { font-style: normal; transition: transform 0.5s var(--ease-out); }
.back:hover { color: var(--fg); }
.back:hover i { transform: translateX(-5px); }
.ahead__kicker { display: inline-flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); }
.tagline { padding: 4px 10px; border: 1px solid currentColor; border-radius: 99px; font-size: 10px; }
.ahead__title {
  margin-top: 18px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(96px, 15vw, 270px); line-height: 0.8; letter-spacing: 0.005em; text-transform: uppercase;
  view-transition-name: article-title;
}
.ahead__title span { display: inline-block; }
.ahead__deck { margin: clamp(22px, 2.6vw, 36px) auto 0; max-width: 54ch; font-size: clamp(17px, 1.45vw, 22px); font-weight: 300; line-height: 1.6; color: var(--fg-dim); }
.ahead__meta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 28px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim); }
.cover { padding-top: clamp(40px, 5vw, 70px); }
.cover__frame { position: relative; aspect-ratio: 21 / 9; border-radius: var(--radius); overflow: hidden; background: #8d979e; view-transition-name: article-cover; }
.cover__frame .media { position: absolute; inset: 0; }
@media (max-width: 760px) {
  .back { position: static; margin-bottom: 26px; }
  .ahead { text-align: left; }
  .ahead__deck { margin-left: 0; }
  .ahead__meta { justify-content: flex-start; }
  .cover__frame { aspect-ratio: 4 / 3; }
}

/* ---------- sections ---------- */
.sec { padding-top: clamp(100px, 12vw, 190px); }
.sec__head { margin-bottom: clamp(36px, 4.6vw, 70px); }
.sec__title { font-size: clamp(30px, 3.4vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -0.015em; }

.unit { display: grid; align-items: center; gap: clamp(28px, 4.6vw, 84px); }
.unit + .unit { margin-top: clamp(60px, 8vw, 130px); }
.unit__title { font-size: clamp(20px, 1.7vw, 27px); font-weight: 800; line-height: 1.15; letter-spacing: -0.005em; }
.unit__body { margin-top: 16px; }
.unit__body p { max-width: 38ch; font-size: clamp(17px, 1.3vw, 20px); font-weight: 300; line-height: 1.65; }
.unit__body p + p { margin-top: 0.8em; }
.statement { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 4.4vw, 76px) !important; line-height: 0.95 !important; text-transform: uppercase; max-width: 16ch !important; }

.unit--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.unit--left { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.unit--right { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.unit--right .unit__media { order: 2; }
.unit--char { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.unit--char.unit--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.unit--char.unit--flip .unit__media { order: -1; }
.unit--eye { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.unit--pair { grid-template-columns: 1fr; }
.unit--pair .unit__text { max-width: 560px; }

/* every image or video in the article is a "frame" you can open full screen */
.frame {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px; overflow: hidden;
  background: var(--ph, #cfcac1);
  cursor: zoom-in;
}
.frame .media { position: absolute; inset: 0; transition: transform 1.2s var(--ease-out); }
.frame::after {
  content: "Full screen ↗";
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  height: 30px; display: inline-flex; align-items: center; padding: 0 12px;
  border-radius: 99px; background: rgba(17, 19, 18, 0.62); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
}
.frame:hover .media, .frame:focus-visible .media { transform: scale(1.03); }
.frame:hover::after, .frame:focus-visible::after { opacity: 1; transform: none; }
.frame.is-flying { visibility: hidden; }
@media (hover: none) { .frame::after { opacity: 1; transform: none; content: "↗"; padding: 0 10px; } }

.unit__media figcaption, .shot__media figcaption { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-dim); }

.steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.steps li { height: 32px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 13.5px; font-weight: 700; }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); align-items: start; }
.pair .frame { aspect-ratio: 4 / 5; }
.pair .unit__media:nth-child(2) { margin-top: clamp(40px, 8vw, 140px); }

@media (max-width: 860px) {
  .unit, .unit--wide, .unit--left, .unit--right, .unit--char, .unit--char.unit--flip, .unit--eye { grid-template-columns: 1fr; gap: 22px; }
  .unit--right .unit__media, .unit--char .unit__media { order: -1; }
  .pair .unit__media:nth-child(2) { margin-top: 40px; }
}

/* ---------- shots explained ---------- */
.shot {
  display: grid; align-items: end;
  grid-template-columns: auto minmax(0, 7fr) minmax(0, 3fr);
  gap: clamp(18px, 2.6vw, 44px);
  margin-top: clamp(70px, 9vw, 140px);
}
.shot--r { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) auto; }
.shot--r .shot__text { order: -1; text-align: right; justify-self: end; }
.shot--r .shot__num { order: 3; }
.shot__num {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(150px, 21vw, 380px); line-height: 0.74;
  color: var(--fg);
  transition: color 0.9s var(--ease-in-out);
}
.shot__num small { display: block; margin-bottom: 0.9em; font-family: var(--font); font-size: 12px; font-weight: 800; letter-spacing: 0.26em; text-transform: uppercase; color: var(--fg-dim); }
.shot__text { margin: 0; padding-bottom: 6px; }
.shot__text p { max-width: 30ch; font-size: clamp(16px, 1.2vw, 19px); }
.shot--r .shot__text p { margin-left: auto; }
@media (max-width: 860px) {
  .shot, .shot--r { grid-template-columns: 1fr; gap: 14px; }
  .shot__num, .shot--r .shot__num { order: -1; font-size: 120px; }
  .shot--r .shot__text { text-align: left; justify-self: start; }
  .shot--r .shot__text p { margin-left: 0; }
}

/* ---------- repeated framing (pinned: one frame, four shots) ---------- */
.repeat__pin {
  min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  align-content: center; gap: clamp(22px, 3vw, 44px) clamp(28px, 4vw, 72px);
  padding-block: calc(var(--nav-h) + 10px) 40px;
}
.repeat__intro { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px 40px; }
.repeat__intro .statement { max-width: none !important; font-size: clamp(30px, 3.2vw, 54px) !important; }
.repeat__stage { position: relative; align-self: center; }
.repeat__frame .media { opacity: 0; transition: opacity 0.9s var(--ease-in-out), transform 1.2s var(--ease-out); }
.repeat__frame .media.is-on { opacity: 1; }
.repeat__badge {
  position: absolute; left: clamp(14px, 1.6vw, 26px); bottom: clamp(10px, 1.4vw, 22px); z-index: 2; pointer-events: none;
  font-family: var(--font-display); font-size: clamp(70px, 7vw, 130px); line-height: 0.8; color: #fff;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.35);
}
.repeat__badge small { display: block; margin-bottom: 8px; font-family: var(--font); font-size: 11px; font-weight: 800; letter-spacing: 0.26em; text-transform: uppercase; }
.repeat__text p { max-width: 40ch; font-size: clamp(15px, 1.1vw, 18px); color: var(--fg-dim); }
.stages { margin-top: 22px; display: flex; flex-direction: column; }
.stages li {
  padding: 14px 0; border-top: 1px solid var(--line);
  font-size: clamp(15px, 1.15vw, 18px); font-weight: 300; line-height: 1.55;
  opacity: 0.32; transition: opacity 0.7s var(--ease-out);
}
.stages li b { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; }
.stages li.is-on { opacity: 1; }
@media (max-width: 860px) {
  .repeat__pin { grid-template-columns: 1fr; align-content: start; gap: 18px; padding-top: calc(var(--nav-h) + 4px); }
  .repeat__text > p { display: none; }
  .stages { margin-top: 0; }
  .stages li { display: none; border-top: 0; padding: 0; opacity: 1; }
  .stages li.is-on { display: block; }
}
.no-pin .repeat__pin { min-height: 0; }
.no-pin .stages li { opacity: 1; display: block; }

/* ---------- full circle (drag to compare) ---------- */
.circle { grid-template-columns: 1fr; }
.circle__head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px clamp(28px, 4vw, 72px); align-items: start; }
.circle__head .unit__body { margin-top: 0; }
.circle__head .unit__body p { max-width: 52ch; }
.compare {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: 14px; overflow: hidden;
  background: #262b22;
  user-select: none; -webkit-user-select: none;
}
.compare .media { position: absolute; inset: 0; }
.compare__b { clip-path: inset(0 0 0 var(--split)); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--split); width: 1px; background: rgba(255, 255, 255, 0.85); z-index: 2; pointer-events: none; }
.compare__line i {
  position: absolute; top: 50%; left: 0; width: 46px; height: 46px; translate: -50% -50%;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(17, 19, 18, 0.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.compare__line i::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 17px; letter-spacing: 0.2em; }
.compare__tag { position: absolute; bottom: 16px; z-index: 2; pointer-events: none; font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 44px); line-height: 0.9; color: #fff; text-transform: uppercase; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4); }
.compare__tag small { display: block; margin-top: 6px; font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; }
.compare__tag--a { left: 18px; }
.compare__tag--b { right: 18px; text-align: right; }
.compare__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare:has(.compare__range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
.circle__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.circle__hint { font-size: 13px; color: var(--fg-dim); }
@media (max-width: 860px) {
  .circle__head { grid-template-columns: 1fr; }
  .compare { aspect-ratio: 4 / 3; }
}

/* ---------- end ---------- */
.aend { padding-block: clamp(120px, 14vw, 220px) clamp(60px, 8vw, 100px); text-align: center; }
.aend__note { font-size: 15px; font-weight: 300; color: var(--fg-dim); }
.aend__back { display: inline-flex; align-items: center; gap: 16px; margin-top: 14px; font-family: var(--font-display); font-size: clamp(48px, 6vw, 110px); line-height: 0.9; text-transform: uppercase; }
.aend__back i { font-style: normal; transition: transform 0.6s var(--ease-out); }
.aend__back:hover i { transform: translateX(-10px); }
.article-page .foot { border-top-color: var(--line); }

/* ============================================================
   FULL-SCREEN VIEWER — the article, one idea at a time
   ============================================================ */
.viewer { position: fixed; inset: 0; z-index: 120; --vt: 0; color: #1f1d1b; }
.viewer[hidden] { display: none; }
.viewer.is-dark { color: #ebe7df; }
.viewer__bg { position: absolute; inset: 0; background: linear-gradient(90deg, #d3cec5 0%, #e9e7e2 100%); }
.viewer__bg::after { content: ""; position: absolute; inset: 0; background: var(--night); opacity: var(--vt); transition: opacity 0.9s var(--ease-in-out); }
.viewer, .viewer__bar, .viewer__nav button { transition: color 0.9s var(--ease-in-out), border-color 0.9s; }
.viewer.is-instant, .viewer.is-instant .viewer__bg::after, .viewer.is-instant .viewer__bar, .viewer.is-instant .viewer__nav button { transition: none; }
.viewer__scroll {
  position: absolute; inset: 0;
  overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
/* the page fades out under the bar at the top and the controls at the bottom, so text never runs into them */
.viewer__scroll {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 36px, #000 calc(var(--nav-h) + 70px), #000 calc(100% - 104px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, transparent 36px, #000 calc(var(--nav-h) + 70px), #000 calc(100% - 104px), transparent 100%);
}
.viewer__bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; gap: 24px;
  height: var(--nav-h);
  padding: env(safe-area-inset-top) max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
  pointer-events: none;
}
.viewer__bar > * { pointer-events: auto; }
.viewer__progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(127, 127, 127, 0.2); }
.viewer__progress i { position: absolute; inset: 0; background: currentColor; transform: scaleX(var(--p, 0)); transform-origin: left; }
.viewer__where { display: flex; align-items: baseline; gap: 14px; margin-right: auto; font-size: 11.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.viewer__where span { opacity: 0.55; }
.viewer__count { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; }
.viewer__count b { font-family: var(--font-display); font-weight: 400; font-size: 26px; letter-spacing: 0.02em; margin-right: 2px; }
.viewer__close {
  display: inline-flex; align-items: center; gap: 12px;
  height: 44px; padding: 0 8px 0 18px;
  border: 1px solid currentColor; border-radius: 99px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.viewer__close i { position: relative; width: 28px; height: 28px; border-radius: 50%; background: currentColor; transition: transform 0.6s var(--ease-out); }
.viewer__close i::before, .viewer__close i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13.5px; height: 1.5px; background: #dedad3; transform: rotate(45deg); }
.viewer.is-dark .viewer__close i::before, .viewer.is-dark .viewer__close i::after { background: #161817; }
.viewer__close i::after { transform: rotate(-45deg); }
.viewer__close:hover i { transform: rotate(90deg); }
.viewer__nav { position: absolute; right: max(var(--gutter), env(safe-area-inset-right)); bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 3; display: flex; gap: 8px; }
.viewer__nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: background-color 0.4s, opacity 0.4s; }
.viewer__nav button i { font-style: normal; font-size: 18px; }
.viewer__nav button:hover { background: rgba(127, 127, 127, 0.16); }
.viewer__nav button:disabled { opacity: 0.25; cursor: default; }
.viewer__hint { position: absolute; left: max(var(--gutter), env(safe-area-inset-left)); bottom: calc(36px + env(safe-area-inset-bottom)); z-index: 3; font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.5; }
@media (hover: none) { .viewer__hint { display: none; } }

/* ---------- scenes ---------- */
.vscene { position: relative; }
.vscene__stage { position: relative; }
.vscene__back {
  position: absolute; inset: -12%; z-index: 0; pointer-events: none;
  background: radial-gradient(48% 52% at var(--bx, 34%) 50%, color-mix(in srgb, var(--ph, #6f6a63) 42%, transparent), transparent 74%);
}
.vscene--flip .vscene__back { --bx: 66%; }
.vscene__blur { position: absolute; inset: 0; background-size: cover; background-position: center; filter: blur(70px) saturate(1.15); opacity: 0.4; }
.vscene__num {
  position: absolute; z-index: 0; right: 2.5vw; bottom: -0.1em; pointer-events: none;
  font-family: var(--font-display); font-size: clamp(320px, 40vw, 700px); line-height: 0.75;
  opacity: 0.08;
}
.vscene--flip .vscene__num { right: auto; left: 2.5vw; }
.vscene__media { position: relative; z-index: 1; display: grid; gap: 14px; justify-items: center; align-content: center; }
.vscene--two .vscene__media, .vscene--four .vscene__media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vfig { margin: 0; width: 100%; will-change: transform; }
.vclip { position: relative; aspect-ratio: var(--r, 1.778); border-radius: 18px; overflow: hidden; background: var(--ph, #cfcac1); }
.vclip .media { position: absolute; inset: 0; }
.vfig figcaption { margin-top: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.7; }
.vscene__text { position: relative; z-index: 2; }
.vscene__kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.62; }
.vscene__title { margin-top: 12px; font-family: var(--font-display); font-weight: 400; font-size: clamp(54px, 5.2vw, 104px); line-height: 0.9; text-transform: uppercase; transform-origin: 0 0; }
.vscene__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.04em; }
.vscene__title .w > span { display: inline-block; }
.vscene__rule { display: block; width: 64px; height: 1px; margin: 22px 0 20px; background: currentColor; opacity: 0.5; transform-origin: left; }
.vscene__body p, .vscene__body li { font-size: clamp(16px, 1.2vw, 19px); font-weight: 300; line-height: 1.65; max-width: 36ch; }
.vscene__body p + p { margin-top: 0.8em; }
.vscene__body .statement { font-size: clamp(34px, 3vw, 54px) !important; }
.vscene__body .steps { margin: 16px 0; }
.vscene__body .steps li { border-color: currentColor; opacity: 0.9; font-size: 13.5px; }
.vscene__body .stages { margin-top: 14px; }
.vscene__body .stages li { opacity: 1; display: block; padding: 10px 0; font-size: 15px; border-color: rgba(127, 127, 127, 0.3); }

/* cinema: each scene holds still while you scroll through it, and the next one slides up over it */
.vscene { color: #1f1d1b; }
.vscene.is-dark-scene { color: #ebe7df; }
.vscene__dim { display: none; }
/* one continuous page: each scene starts in the light of the one before and eases into its own,
   so there are no panels, just one canvas that slowly changes tone */
.vscene { background: linear-gradient(to bottom, var(--sbg-prev, var(--sbg)) 0%, var(--sbg) 38%, var(--sbg) 100%); }
.is-cinema .vscene__stage {
  position: relative;
  min-height: 84svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 6.4fr) minmax(0, 3.6fr); align-items: center;
  gap: clamp(36px, 5vw, 96px);
  padding: calc(var(--nav-h) + 8px) clamp(32px, 6vw, 120px) 56px;
}
.is-cinema .vscene--flip .vscene__stage { grid-template-columns: minmax(0, 3.6fr) minmax(0, 6.4fr); }
.is-cinema .vscene--flip .vscene__media { order: 2; }
.is-cinema .vscene--one .vfig { max-width: calc((100svh - var(--nav-h) - 170px) * var(--r)); }
.is-cinema .vscene--two .vfig { max-width: calc((100svh - var(--nav-h) - 200px) * var(--r)); }
.is-cinema .vscene--four .vfig { max-width: calc((50svh - var(--nav-h) / 2 - 90px) * var(--r)); }

/* flow: phones and portrait tablets read top to bottom */
.is-flow .vscene__dim { display: none; }
.is-flow .vscene__stage {
  display: flex; flex-direction: column; gap: 24px;
  padding: calc(var(--nav-h) + 12px) max(16px, 6vw) 64px;
  overflow: hidden;
}
.is-flow .vscene:last-child .vscene__stage { padding-bottom: 140px; }
.is-flow .vscene__blur { display: none; }
.is-flow .vscene__back { inset: 0; --bx: 50%; background: radial-gradient(70% 40% at 50% 28%, color-mix(in srgb, var(--ph, #6f6a63) 34%, transparent), transparent 80%); }
.is-flow .vscene__num { font-size: 62vw; top: calc(var(--nav-h) - 0.05em); bottom: auto; right: -1vw; left: auto; opacity: 0.07; }
.is-flow .vscene__media { gap: 8px; }
.is-flow .vscene--two .vscene__media { align-items: start; }
.is-flow .vclip { border-radius: 14px; }
.is-flow .vscene__title { font-size: clamp(46px, 11vw, 84px); }
.is-flow .vscene__body p, .is-flow .vscene__body li { max-width: 60ch; font-size: 17px; }
@media (min-width: 700px) {
  .is-flow .vscene__text { max-width: 640px; }
}
@media (hover: none) { .vscene__blur { display: none; } }
@media (max-width: 860px) {
  .viewer__where span { display: none; }
  .viewer__close span { display: none; }
  .viewer__close { padding: 0 7px; }
}
