/* Nordvik Studio — concept site by webtheory.co
   One strict grid (12 columns, 6 on phones), one grotesk, a palette of concrete and blue hour. */

@font-face {
  font-family: "Inter Tight";
  src: url("fonts/InterTight-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  src: url("fonts/InterTight-arrows.woff2") format("woff2");
  font-weight: 300 600;
  font-display: swap;
  unicode-range: U+2190-2193, U+2197;
}

:root {
  --bg: #121315;
  --bg-2: #181a1d;
  --fg: #e8e4dc;
  --fg-2: #aaa59c;
  --fg-3: #8f8b84;
  --line: rgba(232, 228, 220, .14);
  --line-2: rgba(232, 228, 220, .32);
  --paper: #d8d4cb;
  --ink: #1c1d1f;
  --ink-2: #55534e;
  --glow: #f2c27e;
  --error: #e3a38f;

  --cols: 12;
  --m: clamp(20px, 4.4vw, 72px);
  --g: clamp(12px, 1.6vw, 24px);
  --max: 1600px;

  --sp-s: clamp(20px, 2.6vw, 36px);
  --sp-m: clamp(40px, 5.5vw, 88px);
  --sp-l: clamp(88px, 11vw, 184px);

  --t-xs: .8125rem;
  --t-s: .9375rem;
  --t-m: 1.0625rem;
  --t-l: clamp(1.25rem, 1.02rem + .95vw, 1.8rem);
  --t-xl: clamp(2.3rem, 1.5rem + 2.6vw, 3.9rem);
  --t-xxl: clamp(2.8rem, 1.2rem + 5.8vw, 7.25rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@media (max-width: 759px) {
  :root { --cols: 6; }
}

/* ── base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 var(--t-m)/1.6 var(--font);
  letter-spacing: .003em;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ol, ul { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--glow); color: var(--bg); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 1px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--g); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.no-js .needs-js { display: none; }

.skip {
  position: absolute; left: var(--m); top: 8px; z-index: 100;
  padding: 12px 16px; background: var(--fg); color: var(--bg); text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ── concept bar, header, footer ──────────────────────────────────────── */
.concept {
  padding: 10px var(--m);
  border-bottom: 1px solid var(--line);
  font-size: var(--t-xs);
  line-height: 1.5;
  color: var(--fg-2);
  text-align: center;
}
.concept a {
  display: inline-block;
  padding-block: 13px;
  margin-block: -13px;
  color: var(--fg);
  text-decoration-color: var(--line-2);
}
.concept a:hover { text-decoration-color: currentColor; }

.site-header .grid { align-items: center; min-height: 84px; }
.brand {
  grid-column: 1 / span 4;
  justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  font-weight: 500; letter-spacing: -.01em;
  text-decoration: none;
}
.brand svg { width: 22px; height: 22px; flex: none; }
.nav { grid-column: 9 / -1; }
.nav ul { display: flex; gap: clamp(4px, 2.4vw, 40px); }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 2px;
  color: var(--fg-2); text-decoration: none; transition: color .3s var(--ease);
}
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .5em; }

.site-footer { margin-top: var(--sp-l); border-top: 1px solid var(--line); font-size: var(--t-s); }
.site-footer .grid { padding-block: var(--sp-m) var(--sp-s); row-gap: var(--sp-s); }
.footer__brand { grid-column: 1 / span 5; }
.footer__brand strong { display: block; font-weight: 500; }
.footer__brand span { color: var(--fg-3); }
.footer__nav { grid-column: 9 / -1; }
.footer__nav ul { display: flex; gap: clamp(4px, 2.4vw, 40px); }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 2px; color: var(--fg-2); text-decoration: none; }
.footer__nav a:hover { color: var(--fg); }
.footer__base {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  padding-top: var(--sp-s); border-top: 1px solid var(--line);
  font-size: var(--t-xs); color: var(--fg-3);
}
.footer__base a { color: var(--fg); display: inline-block; padding-block: 12px; margin-block: -12px; }
.grid-toggle {
  min-height: 44px; padding: 0 2px; border: 0; background: none; cursor: pointer;
  color: var(--fg-2); font-size: var(--t-xs); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .3em;
}
.grid-toggle:hover, .grid-toggle[aria-pressed="true"] { color: var(--fg); }

.grid-overlay { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.grid-overlay .grid { height: 100%; }
.grid-overlay span { background: rgba(120, 160, 210, .07); border-inline: 1px solid rgba(140, 175, 220, .22); }
@media (max-width: 759px) { .grid-overlay span:nth-child(n + 7) { display: none; } }

/* ── shared pieces ─────────────────────────────────────────────────────── */
.art { display: block; position: relative; overflow: hidden; background: #1a1f26; }
.art img { width: 100%; height: 100%; object-fit: cover; }
.art::after {   /* static film grain over the drawn images */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.lead { font-size: var(--t-l); font-weight: 300; line-height: 1.34; letter-spacing: -.012em; }
.small { font-size: var(--t-xs); color: var(--fg-3); }

/* stage label: numeral · title · distance, sitting on a hairline, on the grid */
.label {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: subgrid;
  padding-top: 14px; margin-bottom: var(--sp-m);
  border-top: 1px solid var(--line);
  font-size: var(--t-xs); font-weight: 500; letter-spacing: .02em; line-height: 1.4;
}
.label .n { grid-column: 1; color: var(--fg-3); }
.label .t { grid-column: 2 / span 4; }
.label .d { grid-column: -4 / -1; justify-self: end; color: var(--fg-3); font-weight: 400; }
@media (max-width: 759px) {
  .label .t { grid-column: 2 / span 3; }
  .label .d { grid-column: 5 / -1; }
}

/* reveal on scroll: opacity + a short rise, only when JS runs and motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
  .js-rv [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(18px); }
  .js-rv [data-reveal="fade"]:not(.is-in) { transform: none; }
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }
}

/* ── index ─────────────────────────────────────────────────────────────── */
.index { padding-top: clamp(8px, 1.4vw, 20px); align-items: start; }
.preview { grid-column: 1 / span 7; position: sticky; top: 24px; }
.preview__frame { height: clamp(460px, calc(100svh - 196px), 900px); }
.preview__frame img { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.preview__frame img.is-active { opacity: 1; }
.preview__cap {
  display: grid; grid-template-columns: 3rem 1fr auto; gap: var(--g);
  padding-top: 12px; font-size: var(--t-xs); color: var(--fg-3);
}
.preview__cap b { font-weight: 500; color: var(--fg); }

.side { grid-column: 9 / -1; align-self: stretch; display: flex; flex-direction: column; }
.side h1 { font-size: var(--t-xl); font-weight: 300; line-height: 1; letter-spacing: -.042em; }
.side .intro { margin-top: var(--sp-s); max-width: 34em; color: var(--fg-2); font-size: var(--t-s); }

.filters { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: auto; padding-top: var(--sp-s); }
.filters button {
  min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--fg-3); font-size: var(--t-s);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .45em;
  transition: color .3s var(--ease), text-decoration-color .3s var(--ease);
}
.filters button sup { font-size: .68em; margin-left: 2px; color: var(--fg-3); }
.filters button:hover { color: var(--fg); }
.filters button[aria-pressed="true"] { color: var(--fg); text-decoration-color: var(--line-2); }

.list { margin-top: 8px; border-bottom: 1px solid var(--line); }
.no-js .list { margin-top: var(--sp-s); }
.list li { border-top: 1px solid var(--line); }
.list a {
  display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline;
  padding-block: 12px 13px; min-height: 44px; text-decoration: none;
  transition: color .35s var(--ease);
}
.row__no, .row__year { font-size: var(--t-xs); color: var(--fg-3); }
.row__name { font-size: 1.1875rem; letter-spacing: -.012em; line-height: 1.3; }
.row__meta { grid-column: 2 / -1; font-size: var(--t-xs); line-height: 1.4; color: var(--fg-3); }
.row__thumb { display: none; }
@media (hover: hover) {
  .list:hover a { color: var(--fg-3); }
  .list:hover a:hover { color: var(--fg); }
}
.list a:focus-visible { outline-offset: 4px; }
.list li.is-current .row__no { color: var(--glow); }

@media (max-width: 1199px) {
  .preview { grid-column: 1 / span 6; }
  .side { grid-column: 8 / -1; }
  .nav, .footer__nav { grid-column: 8 / -1; }
}
@media (max-width: 899px) {
  .preview { display: none; }
  .side { grid-column: 1 / -1; }
  .side h1 { max-width: 10em; }
  .filters { margin-top: var(--sp-m); padding-top: 0; }
  .list a { grid-template-columns: minmax(0, 34%) minmax(0, 1fr) auto; grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 4px; padding-block: 12px; align-items: start; }
  .row__thumb { display: block; grid-row: 1 / span 2; aspect-ratio: 4 / 3; height: auto; }
  .row__thumb img { height: 100%; }
  .row__no { display: none; }
  .row__name { grid-column: 2; font-size: 1.0625rem; }
  .row__year { grid-column: 3; }
  .row__meta { grid-column: 2 / -1; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--g); margin-top: 20px; border-bottom: 0; }
  .list li { border-top: 0; }
  .list a { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; padding-block: 0 32px; row-gap: 2px; }
  .row__thumb { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 10; margin-bottom: 12px; }
  .row__name { grid-column: 1; grid-row: 2; }
  .row__year { grid-column: 2; grid-row: 2; }
  .row__meta { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 759px) {
  .site-header .grid { display: flex; justify-content: space-between; gap: 12px; min-height: 72px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__nav { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 399px) {
  .brand svg { display: none; }
  .nav ul { gap: 14px; }
}

/* ── project ───────────────────────────────────────────────────────────── */
.js .project { display: none; }
.js[data-id="fjord"] #fjord, .js[data-id="chapel"] #chapel, .js[data-id="baths"] #baths,
.js[data-id="treeline"] #treeline, .js[data-id="plateau"] #plateau, .js[data-id="lake"] #lake,
.js[data-id="missing"] #missing { display: block !important; }
.no-js .project + .project { margin-top: var(--sp-l); border-top: 1px solid var(--line-2); }

.p-head { padding-block: clamp(24px, 4vw, 64px) var(--sp-s); row-gap: 18px; align-items: end; }
.p-kicker { grid-column: 1 / -1; font-size: var(--t-xs); color: var(--fg-3); }
.p-kicker a { color: var(--fg-2); text-decoration: none; display: inline-block; padding-block: 12px; margin-block: -12px; }
.p-kicker a:hover { color: var(--fg); }
.p-head h1 { grid-column: 1 / span 8; font-size: var(--t-xxl); font-weight: 300; line-height: .94; letter-spacing: -.05em; }
.p-place { grid-column: 9 / -1; font-size: var(--t-s); color: var(--fg-2); line-height: 1.5; padding-bottom: .5em; }

.p-land { height: min(56.25vw, 82svh); min-height: 420px; }
.p-land img { object-position: 50% 70%; }
.p-intro { padding-top: var(--sp-m); row-gap: var(--sp-s); }
.p-intro .label { margin-bottom: 0; }
.p-intro .lead { grid-column: 2 / span 6; }
.facts { grid-column: 9 / -1; font-size: var(--t-xs); align-self: start; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--fg-3); }
.facts dd { text-align: right; }

.stage { padding-top: var(--sp-l); row-gap: var(--sp-s); }
.stage .label { margin-bottom: 0; }
.stage__img { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
.stage__text { grid-column: 9 / -1; align-self: end; max-width: 30em; color: var(--fg-2); }
.stage__text p + p { margin-top: 1em; }

.detail__img { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.detail__body { grid-column: 7 / -1; }
.detail__body > p { color: var(--fg-2); max-width: 32em; }
.mats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-s) var(--g); margin-top: var(--sp-m); }
.mat h3 { margin-top: 14px; font-size: var(--t-s); font-weight: 500; }
.mat p { margin-top: 2px; font-size: var(--t-xs); color: var(--fg-3); line-height: 1.5; }
.sw { display: block; aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.sw::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .18)); }
.sw--concrete { background: repeating-linear-gradient(180deg, #8d8a84 0 17px, #7c7974 17px 18px, #93908a 18px 35px, #807d77 35px 36px), #8d8a84; }
.sw--oak {
  background:
    repeating-linear-gradient(91deg, rgba(70, 48, 26, .16) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(88.5deg, rgba(255, 240, 220, .08) 0 2px, transparent 2px 19px),
    repeating-linear-gradient(90deg, rgba(70, 48, 26, .09) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, #9b8365, #ab9374 28%, #a0886a 52%, #b09a7b 78%, #a28a6b);
}
.sw--zinc { background: repeating-linear-gradient(90deg, #7b838b 0 30px, #5d646b 30px 32px, #858d95 32px 33px); }
.sw--glass { background: linear-gradient(180deg, #56636f, #2c3540 60%, #3b4652); }
.sw--glass::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(242, 194, 126, .35) 41%, transparent 58%); }
.sw--stone { background: repeating-linear-gradient(180deg, #6f6e69 0 13px, #4d4c49 13px 15px, #7c7a74 15px 31px, #4d4c49 31px 33px, #676661 33px 44px, #4d4c49 44px 46px); }
.sw--lime { background: #d3cdc2; }
.sw--bronze { background: linear-gradient(135deg, #6d5638, #8e7148 45%, #5a462e); }
.sw--larch { background: repeating-linear-gradient(90deg, #171615 0 14px, #272422 14px 15px, #111010 15px 27px, #2d2926 27px 28px); }
.sw--birch { background: repeating-linear-gradient(0deg, #c6b89d 0 60px, #b6a88c 60px 61px), #c6b89d; }
.sw--steel { background: linear-gradient(90deg, #6c7278, #a3a9ae 40%, #7c8288 60%, #5b6066); }
.sw--wool { background: repeating-linear-gradient(45deg, #4c535d 0 2px, #545b65 2px 4px); }
.sw--lime::before, .sw--concrete::before, .sw--stone::before {
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* drawings, on paper */
.paper { background: var(--paper); color: var(--ink); }
.paper ::selection { background: var(--ink); color: var(--paper); }
.drawings { margin-top: var(--sp-l); padding-block: var(--sp-m) var(--sp-l); }
.drawings .grid { row-gap: var(--sp-m); }
.drawings .label { margin-bottom: 0; border-color: rgba(28, 29, 31, .22); }
.drawings .label .n, .drawings .label .d { color: var(--ink-2); }
.drawing { position: relative; }
.drawing--plan { grid-column: 1 / -1; }
.drawing--section { grid-column: 1 / span 7; }
.drawing--left { grid-column: 1 / span 7; }
.drawing--right { grid-column: 6 / -1; }
.drawing__art { position: relative; }
.drawing__art img { width: 100%; }
.tag {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  padding: 2px 4px; background: var(--paper);
  font-size: .75rem; font-weight: 500; line-height: 1; white-space: nowrap;
}
.tag--plain { background: none; padding: 0; font-weight: 400; color: var(--ink-2); }
.drawing figcaption { margin-top: 16px; font-size: var(--t-xs); color: var(--ink-2); max-width: 44em; }
.drawing figcaption b { color: var(--ink); font-weight: 500; }
.legend { grid-column: 9 / -1; align-self: end; font-size: var(--t-xs); }
.legend li { display: grid; grid-template-columns: 2rem 1fr; padding-block: 8px; border-top: 1px solid rgba(28, 29, 31, .22); }
.legend li:last-child { border-bottom: 1px solid rgba(28, 29, 31, .22); }
.legend span { font-weight: 500; }

.p-next { padding-top: var(--sp-l); row-gap: var(--sp-s); }
.p-next .label { margin-bottom: 0; }
.p-next a { text-decoration: none; display: block; }
.p-next__prev { grid-column: 1 / span 4; grid-row: 2; }
.p-next__next { grid-column: 9 / -1; grid-row: 2; text-align: right; }
.p-next__all { grid-column: 5 / span 4; grid-row: 2; align-self: end; justify-self: center; display: inline-flex !important; align-items: center; min-height: 44px; color: var(--fg-2); }
.p-next__all:hover { color: var(--fg); }
.p-next .art { aspect-ratio: 16 / 10; }
.p-next .art img { transition: transform 1.2s var(--ease); }
.p-next small { display: block; margin-top: 14px; font-size: var(--t-xs); color: var(--fg-3); }
.p-next strong { display: block; margin-top: 2px; font-weight: 400; font-size: var(--t-l); letter-spacing: -.02em; line-height: 1.2; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .p-next a:hover .art img { transform: scale(1.03); }
}

@media (max-width: 1199px) {
  .p-intro .lead { grid-column: 1 / span 7; }
}
@media (max-width: 899px) {
  .p-head h1 { grid-column: 1 / -1; }
  .p-place { grid-column: 1 / -1; padding: 0; }
  .p-intro .lead, .facts, .stage__img, .stage__text, .detail__img, .detail__body,
  .drawing--section, .drawing--left, .drawing--right, .legend { grid-column: 1 / -1; }
  .stage__text { max-width: 36em; }
  .detail__img { aspect-ratio: 4 / 5; }
}
@media (max-width: 759px) {
  .p-land { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .mats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-next__prev { grid-column: 1 / span 3; }
  .p-next__next { grid-column: 4 / -1; }
  .p-next__all { grid-column: 1 / -1; grid-row: 3; justify-self: start; }
  .p-next strong { font-size: var(--t-m); }
}

/* ── studio ────────────────────────────────────────────────────────────── */
.s-head { padding-block: clamp(24px, 4vw, 64px) var(--sp-m); row-gap: var(--sp-s); }
.s-head h1 { grid-column: 1 / span 9; font-size: var(--t-xxl); font-weight: 300; line-height: .94; letter-spacing: -.05em; }
.s-head .lead { grid-column: 2 / span 7; color: var(--fg); }
.survey { padding-block: var(--sp-m) var(--sp-s); }
.survey figcaption { margin-top: 16px; font-size: var(--t-xs); color: var(--ink-2); }
@media (max-width: 759px) {
  .survey img { aspect-ratio: 1; object-fit: cover; object-position: 62% 60%; }
}

.principles { padding-top: var(--sp-l); row-gap: var(--sp-s); }
.principles .label, .process .label, .contact .label { margin-bottom: 0; }
.principle { grid-column: span 4; }
.principle .n { font-size: var(--t-xs); color: var(--fg-3); }
.principle h3 { margin-top: 10px; font-size: var(--t-l); font-weight: 300; letter-spacing: -.02em; line-height: 1.2; }
.principle p { margin-top: 12px; color: var(--fg-2); font-size: var(--t-s); max-width: 30em; }

.process { padding-top: var(--sp-l); row-gap: var(--sp-s); }
.steps { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; border-bottom: 1px solid var(--line); }
.step { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; padding-block: 18px 20px; border-top: 1px solid var(--line); align-items: baseline; }
.step .n { grid-column: 1; font-size: var(--t-xs); color: var(--fg-3); }
.step h3 { grid-column: 2 / span 2; font-size: var(--t-m); font-weight: 500; }
.step p { grid-column: 4 / span 5; color: var(--fg-2); font-size: var(--t-s); }
.step .you { grid-column: 10 / -1; font-size: var(--t-xs); color: var(--fg-3); }
.step .you b { display: block; font-weight: 500; color: var(--fg-2); }

.contact { padding-top: var(--sp-l); row-gap: var(--sp-s); scroll-margin-top: 24px; }
.contact__intro { grid-column: 1 / span 5; }
.contact__intro h2 { font-size: var(--t-xl); font-weight: 300; line-height: 1.02; letter-spacing: -.04em; }
.contact__intro p { margin-top: var(--sp-s); color: var(--fg-2); font-size: var(--t-s); }
.form { grid-column: 7 / -1; display: grid; grid-template-columns: subgrid; row-gap: 28px; align-content: start; }
.field { grid-column: span 3; display: flex; flex-direction: column; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: var(--t-xs); font-weight: 500; color: var(--fg-2); }
.field .hint { font-size: var(--t-xs); color: var(--fg-3); }
.field input, .field textarea {
  margin-top: 6px; padding: 10px 0 12px; min-height: 48px;
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent;
  font-size: var(--t-m); transition: border-color .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 148px; line-height: 1.55; }
.field input:hover, .field textarea:hover { border-color: var(--fg-3); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--fg); box-shadow: 0 1px 0 0 var(--fg); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .error { margin-top: 8px; font-size: var(--t-xs); color: var(--error); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 1px solid var(--fg); background: var(--fg); color: var(--bg); cursor: pointer;
  font-size: var(--t-s); font-weight: 500; transition: background-color .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--fg); }
.form__note { font-size: var(--t-xs); color: var(--fg-3); max-width: 30em; }
.form__summary { grid-column: 1 / -1; font-size: var(--t-xs); color: var(--error); }
.form__summary:empty { display: none; }
.done {
  grid-column: 7 / -1; align-self: start; padding: 24px 0; border-top: 1px solid var(--glow); border-bottom: 1px solid var(--line);
}
.done:focus { outline: none; }
.done:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.done p { color: var(--fg-2); font-size: var(--t-s); }
.done p:first-child { color: var(--fg); font-size: var(--t-l); font-weight: 300; letter-spacing: -.015em; line-height: 1.3; }
.done p + p { margin-top: 10px; }
.done button { margin-top: 16px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: .3em; cursor: pointer; }

@media (max-width: 1199px) {
  .s-head .lead { grid-column: 1 / span 9; }
  .step h3 { grid-column: 2 / span 3; }
  .step p { grid-column: 5 / span 5; }
}
@media (max-width: 899px) {
  .s-head h1, .s-head .lead { grid-column: 1 / -1; }
  .principle { grid-column: 1 / -1; }
  .principle + .principle { margin-top: 12px; }
  .contact__intro, .form, .done { grid-column: 1 / -1; }
  .step h3 { grid-column: 2 / span 3; }
  .step p { grid-column: 5 / -1; }
  .step .you { grid-column: 5 / -1; margin-top: 6px; }
}
@media (max-width: 759px) {
  .step { row-gap: 6px; }
  .step h3 { grid-column: 2 / -1; }
  .step p, .step .you { grid-column: 2 / -1; }
  .field { grid-column: 1 / -1; }
}

/* ── 404 ───────────────────────────────────────────────────────────────── */
.lost { padding-block: clamp(24px, 4vw, 64px) 0; row-gap: var(--sp-s); }
.lost h1 { grid-column: 1 / span 8; font-size: var(--t-xxl); font-weight: 300; line-height: .94; letter-spacing: -.05em; }
.lost p { grid-column: 1 / span 5; color: var(--fg-2); }
.lost a { color: var(--fg); display: inline-flex; align-items: center; min-height: 44px; }
.lost .art { grid-column: 1 / -1; aspect-ratio: 21 / 9; margin-top: var(--sp-m); }
@media (max-width: 759px) {
  .lost h1, .lost p { grid-column: 1 / -1; }
  .lost .art { aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
