/* ==========================================================
   Jacob Hodson
   Concept: photo vs. context — the page reads like an
   architect's annotated print. Ink, blueprint blue, and
   ochre reserved for anything about light.
   ========================================================== */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f5f5f2;
  --white: #ffffff;
  --stone: #e7e8e3;
  --ink: #16202e;
  --ink-2: #3a4554;
  --muted: #677180;
  --blue: #2f5486;
  --blue-soft: #dfe6f0;
  --sun: #dda52a;
  --sun-soft: #f6ead0;
  --rule: #cdd1d6;
  --rule-dark: rgba(245, 245, 242, .16);

  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;

  /* type scale (1.25 minor third-ish, tuned) */
  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-md: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: clamp(1.45rem, 2vw, 1.75rem);
  --t-2xl: clamp(1.9rem, 3.2vw, 2.75rem);
  --t-3xl: clamp(2.5rem, 5.2vw, 4.4rem);

  --r: 3px;
  --container: min(100% - 2.5rem, 1280px);
  --gap: clamp(1.25rem, 2.5vw, 2rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-md)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -.022em;
  text-wrap: balance;
}

h1 {
  font-size: var(--t-3xl);
  line-height: 1.02;
  letter-spacing: -.035em;
}

h2 {
  font-size: var(--t-2xl);
  line-height: 1.08;
}

h3 {
  font-size: var(--t-lg);
  line-height: 1.3;
  letter-spacing: -.01em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--r);
  font: 500 var(--t-sm)/1.1 var(--sans);
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.button--ink {
  background: var(--ink);
  color: var(--paper);
}

.button--ink:hover {
  background: var(--blue);
}

.button--line {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.button--line:hover {
  background: var(--ink);
  color: var(--paper);
}

.button--paper {
  background: var(--paper);
  color: var(--ink);
}

.button--paper:hover {
  background: var(--white);
}

.button--ghost-light {
  border-color: rgba(245, 245, 242, .4);
  color: var(--paper);
  background: transparent;
}

.button--ghost-light:hover {
  border-color: var(--paper);
}

/* ---------- Notice + header ---------- */
.header-notice {
  border-bottom: 1px solid var(--rule);
  font-size: var(--t-xs);
  color: var(--muted);
}

.header-notice__inner {
  display: flex;
  gap: .6rem;
  align-items: baseline;
  padding-block: .45rem;
}

.header-notice__label {
  color: var(--ink);
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 245, 242, .92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--rule);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 30px;
  height: 30px;
}

.desktop-nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding-block: .4rem;
  font-size: var(--t-sm);
  color: var(--ink-2);
  text-decoration: none;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.desktop-nav a:hover {
  color: var(--ink);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  padding: .7rem 1.1rem;
  border-radius: var(--r);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--t-sm);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease;
}

.header-cta:hover {
  background: var(--blue);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: transparent;
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--paper);
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s;
}

.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
}

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: var(--container);
  margin-inline: auto;
  padding-bottom: 1.5rem;
}

.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid var(--rule);
}

.menu-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
}

.mobile-nav nav {
  display: grid;
  margin: 1rem 0 2rem;
}

.mobile-nav nav a {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -.02em;
  text-decoration: none;
}

.mobile-nav .button {
  margin-top: auto;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.kicker {
  margin-bottom: 1.6rem;
  font-size: var(--t-sm);
  color: var(--blue);
  font-weight: 500;
}

.hero h1 {
  max-width: 11ch;
}

.hero-lede {
  max-width: 46ch;
  margin-top: 1.8rem;
  font-size: var(--t-lg);
  line-height: 1.55;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.2rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 3rem 0 0;
  border-top: 1px solid var(--ink);
}

.hero-facts div {
  padding: 1rem 1rem 0 0;
}

.hero-facts div+div {
  padding-left: 1rem;
  border-left: 1px solid var(--rule);
}

.hero-facts dt {
  font-weight: 600;
}

.hero-facts dd {
  margin: .15rem 0 0;
  font-size: var(--t-sm);
  color: var(--muted);
}

/* The lens: photo vs. context */
.lens {
  margin: 0;
}

.lens-frame {
  position: relative;
  aspect-ratio: 4 / 4.6;
  max-height: 78vh;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--stone);
}

.lens-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transition: filter .6s ease;
}

.lens-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  background-image:
    linear-gradient(rgba(22, 32, 46, .32), rgba(22, 32, 46, .32)),
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}

.lens.is-context .lens-frame img {
  filter: saturate(.45) contrast(1.04);
}

.lens.is-context .lens-overlay {
  opacity: 1;
}

.lens-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ln {
  fill: none;
  stroke-width: .38;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s cubic-bezier(.6, 0, .2, 1);
}

.ln-sun {
  stroke: var(--sun);
}

.ln-path,
.ln-drive {
  stroke: #fff;
}

.lens.is-context .ln {
  stroke-dashoffset: 0;
}

.lens.is-context .ln-path {
  transition-delay: .35s;
}

.lens.is-context .ln-drive {
  transition-delay: .55s;
}

.sun-dot {
  position: absolute;
  left: 76.4%;
  top: 14.8%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 6px rgba(221, 165, 42, .25);
  transform: scale(0);
  transition: transform .4s ease .9s;
}

.lens.is-context .sun-dot {
  transform: scale(1);
}

.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  max-width: 13.5rem;
  padding: .55rem .7rem .6rem;
  border-radius: var(--r);
  background: var(--white);
  color: var(--ink-2);
  font-size: var(--t-xs);
  line-height: 1.35;
  box-shadow: 0 6px 18px rgba(22, 32, 46, .18);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}

.pin b {
  display: block;
  color: var(--blue);
  font-size: var(--t-xs);
  font-weight: 600;
}

.pin--sun b {
  color: #9a6c06;
}

.pin::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid #fff;
}

.pin--sun::before {
  background: var(--sun);
}

.lens.is-context .pin {
  opacity: 1;
  transform: none;
}

.lens.is-context .pin:nth-of-type(2) {
  transition-delay: .7s;
}

.lens.is-context .pin:nth-of-type(3) {
  transition-delay: .9s;
}

.lens.is-context .pin:nth-of-type(4) {
  transition-delay: 1.1s;
}

.lens.is-context .pin:nth-of-type(5) {
  transition-delay: 1.3s;
}

.lens-bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1rem;
  font-size: var(--t-xs);
  color: var(--muted);
}

.segmented {
  flex: none;
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--rule);
  border-radius: calc(var(--r) + 2px);
  background: var(--white);
}

.segmented button {
  min-width: 84px;
  padding: .5rem .9rem;
  border: 0;
  border-radius: var(--r);
  background: transparent;
  color: var(--ink-2);
  font: 500 var(--t-sm)/1 var(--sans);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.segmented button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Regions ---------- */
.regions {
  border-block: 1px solid var(--rule);
  background: var(--white);
}

.regions__inner {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding-block: 1.1rem;
}

.regions__label {
  flex: none;
  font-size: var(--t-sm);
  font-weight: 600;
}

.regions ul {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--t-sm);
  color: var(--ink-2);
}

/* ---------- Story ---------- */
.story-photo {
  margin: 0;
}

.story-photo img {
  width: 100%;
  aspect-ratio: 2.2 / 1;
  object-fit: cover;
  border-radius: var(--r);
}

.story-photo figcaption,
.pictures-b figcaption,
.article-figure figcaption,
.difference-photo figcaption {
  margin-top: .7rem;
  font-size: var(--t-xs);
  color: var(--muted);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.story-grid h2 {
  grid-column: 1 / span 4;
}

.story-text {
  grid-column: 5 / span 5;
  display: grid;
  gap: 1.2rem;
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.7;
}

.margin-note,
.note {
  font-size: var(--t-sm);
  line-height: 1.5;
  color: var(--ink-2);
}

.margin-note {
  grid-column: 10 / span 3;
  align-self: start;
  padding-left: 1rem;
  border-left: 2px solid var(--blue);
}

.margin-note__q {
  margin-bottom: .8rem;
  color: var(--blue);
  font-weight: 500;
}

/* ---------- Pictures ---------- */
.pictures {
  padding-top: 0;
}

.pictures-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: end;
}

.pictures-grid figure {
  margin: 0;
}

.pictures-grid img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--r);
}

.pictures-a {
  grid-column: 1 / span 5;
}

.pictures-a img {
  aspect-ratio: 4 / 5;
}

.pictures-copy {
  grid-column: 6 / span 4;
  display: grid;
  gap: 1.1rem;
  align-self: center;
  color: var(--ink-2);
}

.pictures-copy h2 {
  margin-bottom: .6rem;
  color: var(--ink);
}

.pictures-b {
  grid-column: 10 / span 3;
}

.pictures-b img {
  aspect-ratio: 1;
}

/* ---------- Article ---------- */
.article-section {
  position: relative;
  background: var(--white);
  border-top: 1px solid var(--rule);
}

.read-progress {
  position: sticky;
  top: 72px;
  z-index: 5;
  height: 2px;
  margin-top: calc(-1 * var(--section));
  margin-bottom: var(--section);
}

.read-progress span {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  background: var(--blue);
}

.article {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}

.article > * {
  grid-column: 3 / span 7;
}

.article-head {
  margin-bottom: 2.5rem;
}

.article-meta {
  margin-bottom: 1.2rem;
  font-size: var(--t-sm);
  color: var(--muted);
}

.article-head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.article-lead {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-size: 1.375rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.article-row {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 3 / span 10;
  margin-bottom: 1.6rem;
}

.article-row > :first-child {
  grid-column: span 7;
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.75;
}

.article-row h3 {
  margin: 1rem 0 1rem;
  font-family: var(--sans);
  font-size: var(--t-xl);
  line-height: 1.25;
}

.article-row > div > p {
  font-family: var(--serif);
}

.note {
  grid-column: span 3;
  align-self: start;
  margin-top: .45rem;
  padding-left: .9rem;
  border-left: 2px solid var(--blue);
}

.note b {
  display: block;
  color: var(--blue);
  font-weight: 600;
}

.note--sun {
  border-left-color: var(--sun);
}

.note--sun b {
  color: #9a6c06;
}

.article-figure {
  grid-column: 2 / span 10 !important;
  margin: 1.5rem 0 3rem;
}

.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 40%;
  border-radius: var(--r);
}

.statement {
  grid-column: 2 / span 10 !important;
  margin: 2.5rem 0 3rem;
  padding: 2.5rem 0;
  border-block: 1px solid var(--ink);
}

.statement p {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -.025em;
  font-weight: 500;
}

.statement__old {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.statement__new {
  margin-top: .5rem;
}

/* ---------- Levels ---------- */
.section-intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-intro h2 {
  grid-column: 1 / span 6;
}

.section-intro p {
  grid-column: 8 / span 5;
  align-self: end;
  color: var(--ink-2);
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
}

.level {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem 0 0;
}

.level+.level {
  padding-left: 1.5rem;
  border-left: 1px solid var(--rule);
}

.plan {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin-bottom: 1.8rem;
  overflow: visible;
}

.plan .p-main {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.plan .p-thin {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1;
}

.plan .p-dash {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.plan .p-fill {
  fill: var(--blue-soft);
  stroke: none;
}

.plan .p-accent {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-dasharray: 5 4;
  stroke-linecap: round;
}

.plan .p-dot {
  fill: var(--blue);
}

.plan .p-sun {
  fill: none;
  stroke: var(--sun);
  stroke-width: 1.6;
  stroke-dasharray: 4 4;
}

.plan .p-sunfill {
  fill: var(--sun);
}

.plan .p-sunray {
  stroke: var(--sun);
  stroke-width: 1;
  opacity: .7;
}

.plan .p-accentfill {
  fill: var(--blue-soft);
}

.plan .p-q {
  font: 600 16px var(--sans);
  fill: var(--blue);
}

.level h3 {
  margin-bottom: .7rem;
}

.level p {
  color: var(--ink-2);
  font-size: var(--t-sm);
}

.level .level-rule {
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--blue);
  font-weight: 500;
}

/* ---------- Process ---------- */
.process {
  background: var(--ink);
  color: var(--paper);
}

.section-intro--dark p {
  color: rgba(245, 245, 242, .72);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps li {
  position: relative;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule-dark);
}

.steps li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2.4rem;
  height: 2px;
  background: var(--paper);
}

.steps__n {
  display: block;
  margin-bottom: 1.6rem;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
  color: rgba(245, 245, 242, .38);
}

.steps h3 {
  margin-bottom: .7rem;
  color: var(--paper);
}

.steps p {
  font-size: var(--t-sm);
  color: rgba(245, 245, 242, .72);
}

.memo-wrap {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: clamp(4rem, 8vw, 7rem);
  align-items: center;
}

.memo-copy {
  grid-column: 1 / span 4;
}

.memo-copy h3 {
  margin-bottom: 1rem;
  font-size: var(--t-2xl);
  line-height: 1.08;
  letter-spacing: -.022em;
}

.memo-copy p {
  color: rgba(245, 245, 242, .72);
}

.memo-copy .memo-hint {
  margin: 1rem 0 2rem;
  font-size: var(--t-sm);
  color: rgba(245, 245, 242, .5);
}

.memo {
  grid-column: 6 / span 7;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .35);
  transform: rotate(-.6deg);
}

.memo__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 2px solid var(--ink);
}

.memo__title {
  font-size: var(--t-xl);
  font-weight: 600;
  letter-spacing: -.02em;
}

.memo__sub {
  margin-top: .2rem;
  font-size: var(--t-sm);
  color: var(--muted);
}

.memo__stamp {
  padding: .3rem .6rem;
  border: 1.5px solid var(--blue);
  border-radius: var(--r);
  color: var(--blue);
  font-size: var(--t-xs);
  font-weight: 600;
  transform: rotate(3deg);
}

.memo__rows {
  margin: 0;
}

.memo__rows div {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.memo__rows div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.memo__rows dt {
  font-weight: 600;
  font-size: var(--t-sm);
}

.memo__rows dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.status {
  padding: .2rem .5rem;
  border-radius: var(--r);
  font-size: var(--t-xs);
  font-weight: 600;
  white-space: nowrap;
}

.status--open {
  background: var(--sun-soft);
  color: #7d5703;
}

.status--known {
  background: var(--blue-soft);
  color: var(--blue);
}

/* ---------- Difference ---------- */
.difference-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}

.difference-photo {
  grid-column: 1 / span 6;
  margin: 0;
  position: sticky;
  top: 100px;
}

.difference-photo img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--r);
}

.difference-copy {
  grid-column: 8 / span 5;
}

.difference-lede {
  margin-top: 1.2rem;
  font-size: var(--t-lg);
  color: var(--ink-2);
}

.principles {
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--ink);
}

.principles div {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.principles dt {
  font-size: var(--t-lg);
  font-weight: 500;
  letter-spacing: -.01em;
}

.principles dd {
  margin: .5rem 0 0;
  color: var(--ink-2);
}

/* ---------- Request ---------- */
.request {
  background: var(--stone);
  border-top: 1px solid var(--rule);
}

.request-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}

.wizard {
  grid-column: 1 / span 7;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  border-radius: var(--r);
  background: var(--white);
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 2.2rem;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--rule);
}

.wizard-steps li {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-bottom: .9rem;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  font-size: var(--t-sm);
  color: var(--muted);
  transition: color .2s, border-color .2s;
}

.wizard-steps span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: var(--t-xs);
  font-weight: 600;
}

.wizard-steps li.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.wizard-steps li.is-done {
  color: var(--blue);
}

.wizard-steps li.is-done span {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.wizard-panel {
  display: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.wizard-panel.is-active {
  display: block;
}

.wizard-panel legend {
  padding: 0;
  font-size: var(--t-xl);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.015em;
}

.hint {
  margin: .4rem 0 1.5rem;
  font-size: var(--t-sm);
  color: var(--muted);
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}

.profile-chip {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 52px;
  padding: .7rem .9rem;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--white);
  color: var(--ink);
  font: 400 var(--t-sm)/1.2 var(--sans);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}

.profile-chip i {
  font-size: 1.2rem;
  color: var(--muted);
}

.profile-chip:hover {
  border-color: var(--ink);
}

.profile-chip.is-active {
  border-color: var(--blue);
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.profile-chip.is-active i {
  color: var(--blue);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1rem;
}

.field {
  display: grid;
  gap: .4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field span {
  font-size: var(--t-sm);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem .9rem;
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
  transition: border-color .15s, background-color .15s;
}

.field textarea {
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.field.is-invalid input {
  border-color: #b3261e;
  background: #fdf4f3;
}

.check-field {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin-top: 1.3rem;
  font-size: var(--t-sm);
  color: var(--ink-2);
}

.check-field input {
  width: 18px;
  height: 18px;
  margin: .15rem 0 0;
  accent-color: var(--ink);
}

.field-error {
  margin-top: 1rem;
  padding: .7rem .9rem;
  border-left: 2px solid #b3261e;
  background: #fdf4f3;
  color: #8c1d18;
  font-size: var(--t-sm);
}

.wizard-nav {
  display: flex;
  justify-content: flex-end;
  gap: .6rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.wizard-nav [data-prev] {
  margin-right: auto;
}

.wizard-nav [hidden] {
  display: none;
}

.profile-sheet {
  grid-column: 8 / span 5;
  position: sticky;
  top: 100px;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--r);
  background: var(--paper);
  border: 1px solid var(--rule);
  background-image:
    linear-gradient(rgba(47, 84, 134, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 84, 134, .06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.profile-sheet__title {
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
  font-size: var(--t-lg);
  font-weight: 600;
  letter-spacing: -.015em;
}

.profile-sheet dl {
  margin: 0;
}

.profile-sheet dl div {
  padding: .9rem 0;
  border-bottom: 1px solid var(--rule);
}

.profile-sheet dt {
  font-size: var(--t-xs);
  color: var(--muted);
}

.profile-sheet dd {
  margin: .2rem 0 0;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.45;
  word-break: break-word;
}

.profile-sheet dd.is-empty {
  color: var(--muted);
  font-style: italic;
}

.profile-sheet dd.is-updated {
  animation: ink .6s ease;
}

@keyframes ink {
  from {
    background: var(--blue-soft);
  }

  to {
    background: transparent;
  }
}

.profile-sheet__contact {
  margin-top: 1.4rem;
  font-size: var(--t-sm);
  color: var(--ink-2);
}

.profile-sheet__contact a {
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.faq-grid h2 {
  grid-column: 1 / span 4;
}

.faq {
  grid-column: 5 / span 8;
  border-top: 1px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  position: relative;
  padding: 1.35rem 3rem 1.35rem 0;
  font-size: var(--t-lg);
  font-weight: 500;
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: .4rem;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .2s ease;
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0);
}

.faq details p {
  max-width: 62ch;
  padding-bottom: 1.5rem;
  color: var(--ink-2);
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  background: var(--ink);
  color: rgba(245, 245, 242, .7);
  font-size: var(--t-sm);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.site-footer .brand {
  margin-bottom: 1rem;
  color: var(--paper);
}

.site-footer .brand img {
  outline: 1px solid var(--rule-dark);
  border-radius: 6px;
}

.footer-brand p {
  max-width: 32ch;
}

.footer-title {
  margin-bottom: .9rem;
  color: var(--paper);
  font-weight: 600;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: .5rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-contact p {
  margin-bottom: .25rem;
}

.footer-disclaimer {
  padding-block: 1.6rem;
  border-top: 1px solid var(--rule-dark);
  font-size: var(--t-xs);
  line-height: 1.6;
  color: rgba(245, 245, 242, .5);
}

.footer-disclaimer p {
  max-width: 110ch;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.2rem 1.6rem;
  border-top: 1px solid var(--rule-dark);
  font-size: var(--t-xs);
  color: rgba(245, 245, 242, .5);
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  width: min(420px, calc(100vw - 2.5rem));
  padding: 1.3rem;
  border-radius: var(--r);
  background: var(--ink);
  color: rgba(245, 245, 242, .78);
  font-size: var(--t-sm);
  line-height: 1.5;
  box-shadow: 0 24px 60px rgba(22, 32, 46, .35);
  transform: translateY(calc(100% + 2rem));
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.cookie-banner.show {
  transform: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: .3rem;
  color: var(--paper);
}

.cookie-banner a {
  color: var(--paper);
}

.cookie-banner__actions {
  display: flex;
  gap: .5rem;
  margin-top: 1rem;
}

.cookie-banner__actions .button {
  flex: 1;
  min-height: 44px;
  padding-inline: .8rem;
}

/* ---------- Legal pages ---------- */
.legal-hero,
.thanks-hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule);
}

.legal-hero .eyebrow,
.thanks-hero .eyebrow {
  display: block;
  margin-bottom: 1rem;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--blue);
}

.legal-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: end;
}

.legal-hero__grid > :first-child {
  grid-column: 1 / span 6;
}

.legal-hero__grid > p {
  grid-column: 8 / span 5;
  color: var(--ink-2);
}

.legal-main .section--white {
  background: var(--white);
}

.legal-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
}

.legal-aside {
  grid-column: 1 / span 3;
  position: sticky;
  top: 100px;
  display: grid;
  gap: .2rem;
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
  font-size: var(--t-sm);
}

.legal-aside span {
  color: var(--muted);
}

.legal-aside b {
  font-size: var(--t-lg);
  font-weight: 600;
}

.legal-aside small {
  color: var(--muted);
}

.legal-content {
  grid-column: 4 / span 7;
}

.legal-content h2 {
  margin: 2.5rem 0 .8rem;
  font-size: var(--t-xl);
  line-height: 1.25;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin: 1.6rem 0 .5rem;
  font-size: var(--t-lg);
}

.legal-content p,
.legal-content li {
  color: var(--ink-2);
}

.legal-content p+p {
  margin-top: .8rem;
}

.legal-content a {
  color: var(--blue);
}

.legal-content table {
  width: 100%;
  margin: 1rem 0 1.6rem;
  border-collapse: collapse;
  font-size: var(--t-sm);
}

.legal-content th,
.legal-content td {
  padding: .7rem .8rem;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: var(--paper);
}

/* ---------- Thanks page ---------- */
.thanks-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: center;
}

.thanks-hero__grid > :first-child {
  grid-column: 1 / span 7;
}

.thanks-hero h1 {
  margin-bottom: 1.4rem;
}

.thanks-hero p {
  max-width: 48ch;
  margin-bottom: 2rem;
  font-size: var(--t-lg);
  color: var(--ink-2);
}

.thanks-card {
  grid-column: 9 / span 4;
  padding: 1.8rem;
  border-radius: var(--r);
  background: var(--white);
  border: 1px solid var(--rule);
}

.thanks-card__label {
  display: block;
  margin-bottom: 1rem;
  padding-bottom: .8rem;
  border-bottom: 2px solid var(--ink);
  font-weight: 600;
}

.thanks-card p {
  margin: 0 !important;
  font-size: var(--t-sm) !important;
  color: var(--muted) !important;
}

.thanks-card strong {
  display: block;
  margin: .3rem 0 1rem;
  font-size: var(--t-lg);
  font-weight: 500;
  word-break: break-word;
}

.thanks-card small {
  color: var(--muted);
  font-size: var(--t-sm);
}

.rule {
  height: 1px;
  margin: 1rem 0;
  background: var(--rule);
}

.section--white {
  background: var(--white);
}

.section--paper {
  background: var(--paper);
}

.section--stone {
  background: var(--stone);
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.section-number {
  grid-column: 1 / span 3;
  font-weight: 600;
}

.next-steps {
  grid-column: 4 / span 9;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.next-steps article {
  padding-top: 1.2rem;
  border-top: 1px solid var(--ink);
}

.next-steps span {
  display: block;
  margin-bottom: 1rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--muted);
}

.next-steps h2 {
  margin-bottom: .6rem;
  font-size: var(--t-lg);
}

.next-steps p {
  font-size: var(--t-sm);
  color: var(--ink-2);
}

.prep-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.prep-grid > :first-child {
  grid-column: 1 / span 5;
}

.prep-grid .eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--blue);
  font-weight: 500;
}

.prep-copy {
  grid-column: 7 / span 6;
  border-top: 1px solid var(--ink);
}

.prep-copy p {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}

.prep-copy strong {
  color: var(--ink);
  font-weight: 600;
}

.contact-wide {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: end;
}

.contact-wide .eyebrow {
  grid-column: 1 / -1;
  color: var(--blue);
  font-weight: 500;
}

.contact-wide h2 {
  grid-column: 1 / span 6;
}

.contact-wide div {
  grid-column: 8 / span 5;
  color: var(--ink-2);
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    transition-delay: 0s !important;
    animation: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .levels-grid {
    grid-template-columns: 1fr 1fr;
  }

  .level:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .level:nth-child(n+3) {
    margin-top: 2.5rem;
    border-top: 1px solid var(--rule);
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 3rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .lens-frame {
    aspect-ratio: 4 / 4.4;
  }

  .story-grid > *,
  .pictures-grid > *,
  .section-intro > *,
  .memo-wrap > *,
  .difference-grid > *,
  .request-grid > *,
  .faq-grid > *,
  .legal-hero__grid > *,
  .legal-layout > *,
  .thanks-hero__grid > *,
  .next-grid > *,
  .prep-grid > *,
  .contact-wide > * {
    grid-column: 1 / -1 !important;
  }

  .story-text {
    margin-top: .5rem;
  }

  .pictures-b {
    max-width: 60%;
  }

  .article > *,
  .article-row,
  .article-figure,
  .statement {
    grid-column: 1 / -1 !important;
  }

  .article-row {
    display: block;
  }

  .note {
    margin: 1.2rem 0 0;
  }

  .memo {
    transform: none;
  }

  .difference-photo,
  .profile-sheet,
  .legal-aside {
    position: static;
  }


  .next-steps {
    grid-template-columns: 1fr;
  }

  .regions__inner {
    flex-direction: column;
    gap: .5rem;
  }
}

@media (max-width: 600px) {
  :root {
    --container: min(100% - 2rem, 1280px);
  }

  .header-notice__inner {
    padding-block: .5rem;
    line-height: 1.4;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div,
  .hero-facts div+div {
    display: flex;
    justify-content: space-between;
    padding: .75rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--rule);
  }

  .hero-facts dd {
    margin: 0;
  }

  .lens-frame {
    aspect-ratio: 4 / 5.2;
  }

  .pin {
    max-width: 10.5rem;
    font-size: .75rem;
  }

  .lens-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
  }

  .levels-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .level,
  .level+.level {
    padding: 2rem 0 0;
    border-left: 0;
  }

  .level+.level {
    margin-top: 2rem;
    border-top: 1px solid var(--rule);
  }

  .memo__rows div {
    grid-template-columns: 1fr auto;
  }

  .memo__rows dd {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .chip-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .wizard-steps li {
    font-size: var(--t-xs);
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .pictures-b {
    max-width: none;
  }
}
