/* ==========================================================================
   Darkroom · tejasvaswan.xyz
   A darkroom: warm black, fibre-paper whites, and one safelight.
   The safelight red means one thing everywhere: live, current, on.

   1. Tokens          6. Hero              11. Approach, contact, footer
   2. Base            7. About             12. Photography page
   3. Layout          8. Film strip        13. Lightbox
   4. Shared parts    9. What I do         14. Motion states + fallbacks
   5. Chrome          10. Work + cases
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Colour */
  --ink: #0B0A09;          /* the room */
  --ink-raised: #131110;   /* the tray: figures, panels */
  --ink-hover: #1B1815;
  --rule: #2A2622;         /* hairlines, contact-sheet edges */
  --rule-strong: #463F38;
  --paper: #ECE5D8;        /* fibre paper: primary text */
  --paper-dim: #B3AA9C;    /* secondary text (8.8:1) */
  --paper-mute: #8C8478;   /* labels, captions (5.4:1) */
  --safelight: #C23B2E;    /* indicators only */
  --safelight-glow: #E25A4A; /* red text, when it must be read (5:1) */

  /* Type: one variable grotesk (wdth 75–100) + one mono for technical literals */
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --t-mono: 0.75rem;                                   /* 12 */
  --t-small: 0.875rem;                                 /* 14 */
  --t-body: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);   /* 16 → 18 */
  --t-lead: clamp(1.25rem, 1.06rem + 0.72vw, 1.75rem); /* 20 → 28 */
  --t-h4: clamp(1.375rem, 1.1rem + 1vw, 2.125rem);     /* 22 → 34 */
  --t-h3: clamp(2rem, 1.3rem + 2.5vw, 3.75rem);        /* 32 → 60 */
  --t-h2: clamp(3rem, 1.3rem + 6.2vw, 8.75rem);        /* 48 → 140 */
  --t-display: clamp(3.75rem, 0.9rem + 10.4vw, 12.5rem); /* 60 → 200 */

  /* Space: 8-point scale */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem; --s-11: 12rem;
  --section: clamp(6rem, 2.5rem + 9.5vw, 12rem);
  --margin: clamp(1.25rem, 0.45rem + 3.4vw, 4.5rem);
  --gutter: clamp(0.75rem, 0.35rem + 1.25vw, 1.75rem);
  --header-h: 4.5rem;

  /* Motion: one language, three durations */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --d-1: 0.4s;
  --d-2: 0.8s;
  --d-3: 1.2s;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--ink);
  color: var(--paper);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: var(--t-body);
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  font-kerning: normal;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  background: var(--ink);
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, h5, figure, dl, dd, ol, ul, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { font-weight: 400; text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
strong { font-weight: 600; color: var(--paper); }
code {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 0.1em 0.35em;
  border: 1px solid var(--rule);
  border-radius: 3px;
  color: var(--paper);
  white-space: nowrap;
}

::selection { background: #FFFFFF; color: var(--ink); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 4px;
  border-radius: 2px;
}
main:focus-visible { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  left: var(--margin);
  top: 0.75rem;
  z-index: 300;
  padding: 0.7rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
  font-size: var(--t-small);
  transform: translateY(-180%);
  transition: transform var(--d-1) var(--ease-out);
}
.skip:focus { transform: none; }

.mono {
  font-family: var(--mono);
  font-size: var(--t-mono);
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.num { font-variant-numeric: tabular-nums lining-nums; }

/* 3. Layout ---------------------------------------------------------------- */
.wrap { padding-inline: var(--margin); }

.grid {
  --cols: 12;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gutter);
}
@media (max-width: 1023px) { .grid { --cols: 8; } }
@media (max-width: 639px) { .grid { --cols: 4; } }

/* A contact-sheet edge: the hairline that opens each section. */
.rule {
  height: 1px;
  background: var(--rule);
  transform-origin: 0 50%;
}

/* 4. Shared parts ---------------------------------------------------------- */
/* SplitText line masks: tight display leading would clip ascenders and descenders */
.hl-mask { padding-block: 0.1em 0.24em; margin-block: -0.1em -0.24em; }

.dot {
  display: inline-block;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--safelight);
  box-shadow: 0 0 0 3px rgb(194 59 46 / 0.16), 0 0 14px rgb(194 59 46 / 0.6);
}

.sec-title {
  font-size: var(--t-h2);
  font-stretch: 75%;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-left: -0.04em;           /* optical: cap side-bearing at large sizes */
}

.sec-head { padding-top: var(--s-6); row-gap: var(--s-5); align-items: end; }
.sec-head .sec-title { grid-column: 1 / -1; }
.sec-head--split .sec-title { grid-column: 1 / span 7; }
.sec-aside {
  grid-column: 9 / -1;
  color: var(--paper-dim);
  max-width: 24em;
  padding-bottom: 0.45em;
}
@media (max-width: 1023px) {
  .sec-head--split .sec-title, .sec-aside { grid-column: 1 / -1; }
}

.kicker {
  font-style: italic;
  font-size: var(--t-lead);
  color: var(--paper-dim);
  letter-spacing: -0.01em;
  margin-bottom: var(--s-4);
}

.label {
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--paper-mute);
  margin-bottom: var(--s-3);
  line-height: 1.4;
}

.note {
  font-size: var(--t-small);
  color: var(--paper-mute);
}

/* Text link: a hairline that wipes in from the left on hover */
.text-link {
  position: relative;
  display: inline-block;
  color: var(--paper);
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform var(--d-2) var(--ease-out);
}
@media (hover: hover) {
  .text-link:hover::after { transform: scaleX(1); transform-origin: 0 50%; animation: relink var(--d-2) var(--ease-out) 0.15s forwards; }
}
@keyframes relink { to { transform: scaleX(0); transform-origin: 100% 50%; } }

/* Buttons: rectangular, like a print label. No pills. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: 0.005em;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--d-1) var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink-hover);
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform var(--d-1) var(--ease-out);
}
.btn--quiet {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--rule-strong);
}
.btn--quiet::before { background: var(--paper); }
@media (hover: hover) {
  .btn:hover { color: var(--paper); }
  .btn:hover::before { transform: scaleY(1); }
  .btn--quiet:hover { color: var(--ink); }
}

/* External link with a drawn arrow (consistent stroke, not a font glyph) */
.i-ext {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin-left: 0.3em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  vertical-align: 0.02em;
  transition: transform var(--d-1) var(--ease-out);
}
.ext {
  display: inline-flex;
  align-items: center;
  color: var(--paper);
  border-bottom: 1px solid var(--rule-strong);
  transition: border-color var(--d-1) var(--ease-out);
}
@media (hover: hover) {
  .ext:hover { border-color: var(--paper); }
  .ext:hover .i-ext, .visit:hover .i-ext, .row-link:hover .i-ext { transform: translate(2px, -2px); }
}
.ext--big { font-size: var(--t-lead); font-stretch: 85%; margin-top: var(--s-5); align-self: flex-start; }

/* Facts: a definition list with hairlines, like the back of a print */
.facts { border-top: 1px solid var(--rule); }
.facts > div {
  display: grid;
  grid-template-columns: minmax(6.5rem, 30%) 1fr;
  gap: var(--s-4);
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--rule);
  font-size: var(--t-small);
  line-height: 1.5;
}
.facts dt { color: var(--paper-mute); }
.facts dd { color: var(--paper); }
.facts dd .dot { width: 6px; height: 6px; margin-right: 0.6em; vertical-align: 0.1em; }

/* 5. Chrome: header, menu, preloader, curtain, grain, cursor --------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding-inline: var(--margin);
  transition: transform var(--d-2) var(--ease-inout);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(11 10 9 / 0.95);
  border-bottom: 1px solid var(--rule);
  opacity: 0;
  transition: opacity var(--d-1) linear;
}
.is-scrolled .site-header::before { opacity: 1; }
.is-header-hidden .site-header { transform: translateY(-101%); }
.is-menu-open .site-header { transform: none; }
.is-menu-open .site-header::before { opacity: 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding-block: 0.5rem;
}
.brand .dot { width: 7px; height: 7px; }

.nav__list { display: flex; gap: clamp(1.25rem, 2.6vw, 2.5rem); }
.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 0.5rem;
  font-size: 0.9375rem;
  color: var(--paper-dim);
  transition: color var(--d-1) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.3rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform var(--d-2) var(--ease-out);
}
.nav__link::before {
  content: "";
  position: absolute;
  left: -0.85rem;
  top: 50%;
  width: 5px; height: 5px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--safelight);
  box-shadow: 0 0 10px rgb(194 59 46 / 0.7);
  transform: scale(0);
  transition: transform var(--d-1) var(--ease-out);
}
.nav__link.is-active, .nav__link[aria-current="page"] { color: var(--paper); }
.nav__link.is-active::before, .nav__link[aria-current="page"]::before { transform: scale(1); }
@media (hover: hover) {
  .nav__link:hover { color: var(--paper); }
  .nav__link:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
}

.menu-btn {
  display: none;
  position: relative;
  height: 2.75rem;
  padding-inline: 0.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  overflow: hidden;
}
.menu-btn__open, .menu-btn__close { display: block; transition: transform var(--d-1) var(--ease-out); }
.menu-btn__close { position: absolute; left: 0.25rem; top: 50%; transform: translateY(120%); margin-top: -0.8em; }
.is-menu-open .menu-btn__open { transform: translateY(-160%); }
.is-menu-open .menu-btn__close { transform: none; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + var(--s-6)) var(--margin) var(--s-6);
  background: var(--ink);
}
.menu[hidden] { display: none; }
.menu__list a {
  display: block;
  padding-block: 0.25rem;
  font-size: clamp(2.75rem, 13vw, 4.5rem);
  font-stretch: 75%;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.menu__list li { border-bottom: 1px solid var(--rule); padding-block: 0.35rem; }
.menu__foot { display: grid; gap: var(--s-2); font-size: var(--t-body); }
.menu__meta { color: var(--paper-mute); font-size: var(--t-small); }

@media (max-width: 767px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
}

/* Preloader: first visit only (class set before paint). */
.preloader { display: none; }
.is-loading .preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 var(--margin) clamp(0.5rem, 1.4vw, 1.5rem);
  background: var(--ink);
}
.is-loading { overflow: hidden; }
.preloader__top {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9375rem;
  font-weight: 500;
}
.preloader__brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.preloader__label { color: var(--paper-mute); font-weight: 400; font-size: var(--t-small); }
.preloader__count {
  overflow: clip;
  font-size: clamp(6rem, 21vw, 22rem);
  font-stretch: 75%;
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.045em;
  margin-left: -0.04em;
  padding-top: 0.04em;
  color: var(--safelight-glow);
  font-variant-numeric: tabular-nums;
}
.preloader__digits { display: inline-block; }
/* Hold the counter until the display face is in (max ~0.45s) so it never flashes a fallback */
.is-loading .preloader__count { opacity: 0; transition: opacity 0.3s linear; }
.is-loading.fonts-in .preloader__count { opacity: 1; }

/* Curtain: page transitions between index and photography */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--margin) clamp(0.75rem, 1.6vw, 1.75rem);
  background: var(--ink);
  pointer-events: none;
  visibility: hidden;
  clip-path: inset(100% 0 0 0);
}
.is-arriving .curtain { visibility: visible; clip-path: inset(0 0 0 0); }
.curtain__label {
  font-size: clamp(3.5rem, 12vw, 12rem);
  font-stretch: 75%;
  line-height: 0.85;
  letter-spacing: -0.045em;
  color: var(--paper);
}

/* Grain: one tiled noise layer, moved in 10 hard steps per second.
   Transform-only, so it costs a composite, not a paint. */
.grain {
  position: fixed;
  inset: -12rem;
  z-index: 180;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' 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.8 -0.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 192px 192px;
}
.motion .grain { animation: grain 1s steps(1, end) infinite; }
@keyframes grain {
  0%   { transform: translate3d(0, 0, 0); }
  10%  { transform: translate3d(-4rem, 2rem, 0); }
  20%  { transform: translate3d(3rem, -5rem, 0); }
  30%  { transform: translate3d(-6rem, -3rem, 0); }
  40%  { transform: translate3d(5rem, 4rem, 0); }
  50%  { transform: translate3d(-2rem, 6rem, 0); }
  60%  { transform: translate3d(6rem, -1rem, 0); }
  70%  { transform: translate3d(-5rem, -6rem, 0); }
  80%  { transform: translate3d(2rem, 3rem, 0); }
  90%  { transform: translate3d(-3rem, -2rem, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* Cursor label: only over media, only for fine pointers. A dot that opens into a label. */
.cursor { position: fixed; left: 0; top: 0; z-index: 170; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0.5rem;
  min-height: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transform: scale(0);
  opacity: 0;
}
.has-cursor [data-cursor] { cursor: none; }

/* 6. Hero ------------------------------------------------------------------ */
.hero { position: relative; isolation: isolate; }

.hero__stage {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100svh;
  min-height: 34rem;
  z-index: 0;
}
.hero__media {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: #0d1019;
  transform-origin: 50% 50%;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% 50%;
  transform-origin: 64% 38%;
}
/* "Burning in" the edges so the type always sits on dark tone */
.hero__burn {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgb(11 10 9 / 0.6) 0%, rgb(11 10 9 / 0) 22%),
    linear-gradient(0deg, rgb(11 10 9 / 0.92) 0%, rgb(11 10 9 / 0.5) 26%, rgb(11 10 9 / 0) 50%),
    radial-gradient(130% 95% at 62% 38%, rgb(11 10 9 / 0) 50%, rgb(11 10 9 / 0.55) 100%);
}

.hero__title {
  position: relative;
  z-index: 1;
  height: 100svh;
  min-height: 34rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr auto auto;
  column-gap: var(--gutter);
  padding-bottom: clamp(0.5rem, 1.4vw, 1.5rem);
}
.hero__role {
  grid-column: 1 / span 7;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  font-size: clamp(0.9375rem, 0.85rem + 0.35vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  padding-bottom: clamp(0.25rem, 0.8vw, 0.75rem);
}
.hero__place { color: var(--paper-dim); font-weight: 400; }
.hero__cap {
  grid-column: 8 / -1;
  grid-row: 2;
  justify-self: end;
  align-self: end;
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  font-size: var(--t-small);
  color: var(--paper-dim);
  padding-bottom: clamp(0.25rem, 0.8vw, 0.75rem);
}
.hero__cap .mono { color: var(--paper); }
.hero__name {
  grid-column: 1 / -1;
  grid-row: 3;
  font-size: calc((100vw - 2 * var(--margin)) * 0.2465);
  font-stretch: 75%;
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.045em;
  padding-bottom: 0.17em;
  white-space: nowrap;
}

.hero__intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding-top: var(--section);
}
.hero__text { grid-column: 1 / span 8; }
.hero__headline {
  font-size: clamp(2.25rem, 1.1rem + 3.6vw, 4.75rem);
  font-stretch: 75%;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-left: -0.03em;
}
.hero__headline > span { display: block; }
.hero__lede {
  margin-top: var(--s-6);
  max-width: 33em;
  font-size: clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--paper-dim);
}
.hero__links {
  margin-top: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-5);
}
.hero__links .text-link { font-size: var(--t-small); margin-left: var(--s-2); }
.hero__slot { display: none; }

@media (max-width: 1023px) {
  .hero__text { grid-column: 1 / -1; }
}

/* Scroll-scrubbed hero (set by JS on wide, tall-enough screens): the photograph
   stays put while the page scrolls, and shrinks into a print in .hero__slot. */
.hero-scrub .hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 0;
}
/* The negative margin sits on the title, not the sticky stage: a sticky element's
   margin box must keep its full height or it never lets go. */
.hero-scrub .hero__title { height: 100vh; min-height: 0; margin-top: -100vh; }
.hero-scrub .hero__intro {
  height: 100vh;
  padding-top: calc(var(--header-h) + 3vh);
  padding-bottom: 5vh;
  align-items: center;
  align-content: center;
}
.hero-scrub .hero__text { grid-column: 1 / span 6; }
.hero-scrub .hero__slot {
  display: block;
  position: relative;
  grid-column: 8 / -1;
  aspect-ratio: 3 / 2;
  margin: 0 0 2.5rem;
}
.hero__slot-frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--rule-strong);
  opacity: 0;
}
.hero__slot-cap {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 0; right: 0;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: var(--t-small);
  color: var(--paper-dim);
  opacity: 0;
}
.hero__slot-cap .mono:first-child { color: var(--paper); }
.hero__slot-meta { margin-left: auto; color: var(--paper-mute); }

@media (max-width: 1023px) {
  .hero-scrub .hero__intro { align-content: center; row-gap: 3.5rem; }
  .hero-scrub .hero__slot { grid-column: 1 / span 8; grid-row: 1; margin-bottom: 1.5rem; }
  .hero-scrub .hero__text { grid-column: 1 / -1; grid-row: 2; }
}

/* 7. About ----------------------------------------------------------------- */
.about { padding-top: var(--section); }
.about__grid { margin-top: var(--s-8); row-gap: var(--s-8); align-items: start; }
.about__portrait { grid-column: 1 / span 4; }
.about__text { grid-column: 6 / -1; }
.about__text .sec-title { margin-bottom: var(--s-7); }
.about__lead {
  font-size: clamp(1.5rem, 1rem + 1.7vw, 2.625rem);
  font-stretch: 88%;
  line-height: 1.22;
  letter-spacing: -0.018em;
  max-width: 21em;
}
.about__body {
  margin-top: var(--s-6);
  max-width: 34em;
  font-size: var(--t-lead);
  line-height: 1.5;
  color: var(--paper-dim);
}
.facts--about { margin-top: var(--s-8); max-width: 38rem; }

/* A print: image on paper-tone ground, caption underneath */
.print { margin: 0; }
.print__paper {
  position: relative;
  overflow: hidden;
  background: var(--ink-raised);
  aspect-ratio: 4 / 5;
}
.print__paper img { width: 100%; height: 100%; object-fit: cover; }
.print__cap {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  margin-top: 0.875rem;
  font-size: var(--t-small);
  color: var(--paper-dim);
}
.print__cap .mono { color: var(--paper-mute); }
/* The developing bath: paper-white that the image emerges from (JS adds it) */
.print__develop {
  position: absolute;
  inset: 0;
  background: #E6DDCD;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .about__portrait { grid-column: 1 / span 4; }
  .about__text { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .about__portrait { grid-column: 1 / span 3; grid-row: 2; }
  .about__text { display: contents; }
  .about__text .sec-title { grid-column: 1 / -1; grid-row: 1; margin-bottom: 0; }
  .about__lead, .about__body, .facts--about { grid-column: 1 / -1; }
  .about__grid { row-gap: var(--s-6); }
  .about__body, .facts--about { margin-top: 0; }
}

/* 8. Film strip ------------------------------------------------------------ */
.roll { position: relative; padding-top: var(--section); }
.roll__pin { position: relative; }
.roll__track {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  padding-inline: var(--margin);
}
.roll__head { max-width: 36rem; }
.roll__head .sec-title { margin-bottom: var(--s-6); font-size: clamp(3rem, 1rem + 5.2vw, 7rem); }
.roll__intro { color: var(--paper-dim); max-width: 30em; font-size: var(--t-lead); line-height: 1.45; }
.roll__head .note { margin-top: var(--s-4); }
.roll__head .text-link { margin-top: var(--s-6); }

.roll__frames { display: flex; flex-direction: column; gap: var(--s-8); }
.frame { margin: 0; }
.frame__link { display: block; }
.frame__window {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink-raised);
  aspect-ratio: var(--r, 1.5);
}
.frame__img {
  position: absolute;
  top: 0;
  left: -6%;
  width: 112%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
.frame__edge {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  margin-bottom: 0.6rem;
  color: var(--paper-mute);
}
.frame__edge .mono:first-child { color: var(--paper); }
.frame__cap {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: 0.75rem;
  font-size: var(--t-small);
}
.frame__title { color: var(--paper); }
.frame__series { color: var(--paper-mute); white-space: nowrap; }
@media (hover: hover) {
  .frame__window::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgb(236 229 216 / 0);
    transition: box-shadow var(--d-1) var(--ease-out);
  }
  .frame__link:hover .frame__window::after { box-shadow: inset 0 0 0 1px rgb(236 229 216 / 0.5); }
}

.roll__end {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-6);
  padding: var(--s-5);
  border: 1px solid var(--rule-strong);
  min-height: 16rem;
  transition: background-color var(--d-1) var(--ease-out), border-color var(--d-1) var(--ease-out);
}
.roll__end-count { color: var(--paper-mute); }
.roll__end-title {
  font-size: var(--t-h3);
  font-stretch: 75%;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.roll__end-sub { font-size: var(--t-small); color: var(--paper-dim); }
@media (hover: hover) {
  .roll__end:hover { background: var(--ink-raised); border-color: var(--paper-mute); }
}
.roll__hud { display: none; }

/* Without the pin (phones, tablets, reduced motion) the roll is laid out as a contact sheet.
   Phones: one frame per row with an offset rhythm. Wider: justified rows from w/h, nothing cropped. */
html:not(.roll-pinned) .frame__img { left: 0; width: 100%; }
@media (max-width: 639px) {
  .frame:nth-child(even) { margin-left: auto; }
  .frame[data-portrait] { width: 78%; }
}
@media (min-width: 640px) {
  html:not(.roll-pinned) .roll__frames {
    --row-h: clamp(12rem, 4rem + 17vw, 21rem);
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--s-7) var(--gutter);
  }
  html:not(.roll-pinned) .roll__frames::after { content: ""; flex-grow: 999999; flex-basis: 0; }
  html:not(.roll-pinned) .frame {
    flex-grow: calc(var(--r) * 100);
    flex-basis: calc(var(--r) * var(--row-h));
    min-width: 0;
  }
  html:not(.roll-pinned) .roll__end { min-height: 0; flex-direction: row; align-items: baseline; flex-wrap: wrap; }
  html:not(.roll-pinned) .roll__end-title { font-size: var(--t-h4); }
  html:not(.roll-pinned) .roll__end-sub { margin-left: auto; }
}

/* Pinned film strip (JS adds .roll-pinned on wide screens with motion) */
.roll-pinned .roll { padding-top: var(--s-9); }
.roll-pinned .roll__pin {
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.roll-pinned .roll__track {
  --frame-h: min(60vh, 38vw);
  flex-direction: row;
  align-items: flex-end;
  gap: clamp(2.5rem, 4.5vw, 5.5rem);
  width: max-content;
  padding-right: var(--margin);
}
.roll-pinned .roll__head {
  flex: none;
  width: clamp(22rem, 30vw, 34rem);
  align-self: center;
  padding-right: var(--s-6);
}
.roll-pinned .roll__frames {
  flex-direction: row;
  align-items: flex-end;
  gap: clamp(2.5rem, 4.5vw, 5.5rem);
}
.roll-pinned .frame { flex: none; }
.roll-pinned .frame__window { height: var(--frame-h); width: auto; }
.roll-pinned .frame[data-portrait] { width: auto; }
.roll-pinned .roll__end {
  flex: none;
  height: var(--frame-h);
  aspect-ratio: 4 / 5;
  min-height: 0;
  margin-bottom: 2.2rem;
}
.roll-pinned .roll__hud {
  position: absolute;
  left: var(--margin);
  right: var(--margin);
  bottom: clamp(1rem, 3vh, 2rem);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--paper-dim);
}
.roll__hud-n { display: inline-block; color: var(--paper); }
.roll__hud-bar {
  position: relative;
  flex: 1;
  height: 1px;
  background: var(--rule);
  overflow: hidden;
}
.roll__hud-fill {
  position: absolute;
  inset: 0;
  background: var(--paper-dim);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* 9. What I do ------------------------------------------------------------- */
.disc { padding-top: var(--section); }
.disc__list { margin-top: var(--s-8); border-bottom: 1px solid var(--rule); }
.disc__item {
  row-gap: var(--s-4);
  padding-block: var(--s-6) var(--s-8);
  border-top: 1px solid var(--rule);
  align-items: start;
}
.disc__name {
  grid-column: 1 / span 5;
  font-size: var(--t-h3);
  font-stretch: 75%;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.disc__text { grid-column: 6 / span 4; color: var(--paper-dim); max-width: 32em; padding-top: 0.35em; }
.disc__item .tags { grid-column: 10 / -1; padding-top: 0.35em; }
.tags li { font-size: var(--t-small); color: var(--paper-mute); line-height: 1.5; padding-block: 0.2rem; }
@media (max-width: 1023px) {
  .disc__name { grid-column: 1 / -1; }
  .disc__text { grid-column: 1 / span 5; }
  .disc__item .tags { grid-column: 6 / -1; }
}
@media (max-width: 639px) {
  .disc__text, .disc__item .tags { grid-column: 1 / -1; }
  .disc__item .tags { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
}

/* 10. Work ----------------------------------------------------------------- */
.work { padding-top: var(--section); }

.index { margin-top: var(--s-8); border-bottom: 1px solid var(--rule); }
.index__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: baseline;
  padding-block: clamp(1rem, 1.5vw, 1.75rem);
  border-top: 1px solid var(--rule);
  transition: opacity var(--d-1) var(--ease-out);
}
.index__num { grid-column: 1; color: var(--paper-mute); }
.index__name {
  grid-column: 2 / span 6;
  font-size: clamp(2.25rem, 0.9rem + 4.3vw, 6.25rem);
  font-stretch: 75%;
  line-height: 0.95;
  letter-spacing: -0.035em;
  transition: transform var(--d-2) var(--ease-out);
}
.index__desc { grid-column: 8 / span 3; color: var(--paper-dim); font-size: var(--t-small); line-height: 1.5; }
.index__meta {
  grid-column: 11 / -1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--t-small);
  color: var(--paper-mute);
  white-space: nowrap;
}
.index__meta .dot { width: 6px; height: 6px; }
.index__thumb { display: none; }
@media (hover: hover) and (pointer: fine) {
  .index:hover .index__row { opacity: 0.3; }
  .index:hover .index__row:hover, .index .index__row:focus-visible { opacity: 1; }
  .index__row:hover .index__name { transform: translateX(0.14em); }
}
/* Touch: no hover-only information. Thumbnails sit inline. */
@media (hover: none), (pointer: coarse) {
  .index__thumb {
    display: block;
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: var(--s-4);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ink-raised);
    max-width: 28rem;
  }
  .index__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
}
@media (max-width: 1023px) {
  .index__row { row-gap: var(--s-2); }
  .index__num { grid-column: 1 / -1; grid-row: 1; }
  .index__name { grid-column: 1 / -1; grid-row: 2; }
  .index__desc { grid-column: 1 / span 5; grid-row: 4; padding-top: var(--s-3); }
  .index__meta { grid-column: 6 / -1; grid-row: 4; padding-top: var(--s-3); }
  .index__thumb { grid-row: 3; }
}
@media (max-width: 639px) {
  .index__desc { grid-column: 1 / -1; }
  .index__meta { grid-column: 1 / -1; grid-row: 5; justify-self: start; padding-top: 0; }
}

.mini-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  background: #171411;
  color: var(--paper-dim);
}
.mini-card b { font-weight: 400; font-size: 2.5rem; font-stretch: 75%; line-height: 1; letter-spacing: -0.03em; color: var(--paper); }

/* Floating preview that follows the cursor */
.preview {
  position: fixed;
  left: 0; top: 0;
  z-index: 40;
  width: clamp(17rem, 25vw, 29rem);
  aspect-ratio: 16 / 10;
  pointer-events: none;
  visibility: hidden;
  container-type: inline-size;
}
.preview__inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ink-raised);
  box-shadow: 0 2rem 5rem -1.5rem rgb(0 0 0 / 0.7);
}
.preview__slide { position: absolute; inset: 0; overflow: hidden; }
.preview__slide img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
@media (hover: none), (pointer: coarse) { .preview { display: none; } }

.pcard {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4cqw;
  padding: 7cqw;
  background: #15120F;
  color: var(--paper-dim);
}
.pcard .mono { font-size: max(0.6875rem, 3cqw); }
.pcard__big {
  font-size: 22cqw;
  font-stretch: 75%;
  line-height: 0.8;
  letter-spacing: -0.045em;
  color: var(--paper);
}
.pcard__meter { display: flex; gap: 0.8cqw; }
.pcard__meter i { flex: 1; height: 4cqw; background: var(--paper); opacity: 0.88; }
.pcard--pulse { flex-direction: row; align-items: stretch; }
.pcard__phone {
  flex: none;
  width: 34%;
  border: 1px solid var(--paper-mute);
  border-radius: 4cqw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5cqw;
  padding: 3cqw;
  text-align: center;
}
.pcard__phone .mono { font-size: max(0.625rem, 2.6cqw); color: var(--paper); }
.pcard__arrow { width: 1px; height: 4cqw; background: var(--paper-mute); }
.pcard--pulse .pcard__big { align-self: flex-end; }

/* Case studies */
.case { padding-top: var(--section); }
.case__head { row-gap: var(--s-6); align-items: end; }
.case__num { grid-column: 1; align-self: start; color: var(--paper-mute); padding-top: 0.6rem; }
.case__titles { grid-column: 2 / span 7; }
.case__title {
  font-size: var(--t-display);
  font-stretch: 75%;
  line-height: 0.84;
  letter-spacing: -0.045em;
  margin-left: -0.045em;
}
.case__title--small { font-size: var(--t-h3); line-height: 0.95; letter-spacing: -0.03em; }
.case__line {
  margin-top: var(--s-5);
  font-size: var(--t-lead);
  line-height: 1.35;
  color: var(--paper-dim);
  max-width: 24em;
}
.case__facts { grid-column: 9 / -1; align-self: end; }
@media (max-width: 1023px) {
  .case__num { grid-column: 1 / -1; padding-top: 0; }
  .case__titles, .case__facts { grid-column: 1 / -1; }
}

.case__lead { font-size: var(--t-lead); line-height: 1.42; color: var(--paper); max-width: 26em; }
.case__rule {
  margin-block: var(--s-7);
  font-size: var(--t-h3);
  font-stretch: 75%;
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 9em;
}
.case__rule::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  margin-bottom: var(--s-5);
  background: var(--paper-mute);
}

.case__body { margin-top: var(--s-9); row-gap: var(--s-7); align-items: start; }
.case__summary { grid-column: 2 / span 5; }
.case__built { grid-column: 8 / -1; color: var(--paper-dim); max-width: 36em; }
.case__built p + p { margin-top: var(--s-4); }
@media (max-width: 1023px) {
  .case__summary, .case__built { grid-column: 1 / -1; }
}

/* Screenshots, treated as figures */
.shot { margin: var(--s-8) 0 0; }
.shot__frame {
  position: relative;
  overflow: hidden;
  background: var(--ink-raised);
}
.shot__frame::after {           /* hairline that sits on top of the image */
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgb(236 229 216 / 0.1);
  pointer-events: none;
}
.shot__frame img { width: 100%; height: auto; }
.shot__frame[data-href] { cursor: pointer; }
.shot__cap {
  display: flex;
  gap: var(--s-4);
  align-items: baseline;
  margin-top: 0.875rem;
  font-size: var(--t-small);
  line-height: 1.5;
  color: var(--paper-mute);
  max-width: 52em;
}
.shot__cap .mono { flex: none; color: var(--paper-dim); }
.shot--phone .shot__frame { aspect-ratio: 780 / 1688; }
.shot--phone .shot__frame img { height: 100%; object-fit: cover; }

/* Pipeline: six stages on one line */
.pipeline { margin-top: var(--s-9); }
.pipeline__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: var(--gutter);
}
.pipeline__steps::before, .pipeline__steps::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: var(--rule-strong);
}
.pipeline__steps::after { background: var(--paper); transform: scaleX(var(--p, 1)); transform-origin: 0 50%; }
.pipeline__steps li {
  position: relative;
  padding-top: var(--s-5);
  font-size: clamp(1.25rem, 0.85rem + 1.3vw, 2.25rem);
  font-stretch: 80%;
  line-height: 1;
  letter-spacing: -0.015em;
}
.pipeline__steps li::before {
  content: "";
  position: absolute;
  left: 0; top: -3px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--paper);
  transform: scale(var(--node, 1));
}
.pipeline__steps .mono { display: block; margin-bottom: var(--s-3); color: var(--paper-mute); }
.pipeline__cap {
  display: flex;
  gap: var(--s-4);
  align-items: baseline;
  margin-top: var(--s-6);
  font-size: var(--t-small);
  color: var(--paper-mute);
}
.pipeline__cap .mono { color: var(--paper-dim); flex: none; }
@media (max-width: 767px) {
  .pipeline__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s-6); }
  .pipeline__steps::before, .pipeline__steps::after { display: none; }
  .pipeline__steps li { border-top: 1px solid var(--rule-strong); }
}

/* Proof points: figures set large, labels small */
.proof {
  margin-top: var(--s-9);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--s-6);
}
.proof li {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
}
.proof__n {
  font-size: clamp(2.5rem, 1.1rem + 4.2vw, 6rem);
  font-stretch: 75%;
  line-height: 0.88;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
.proof__l { font-size: var(--t-small); color: var(--paper-mute); max-width: 14em; }
.proof__n--long { font-size: clamp(2rem, 0.9rem + 2.9vw, 4.25rem); padding-top: 0.32em; }
@media (max-width: 1023px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.case__gallery { margin-top: var(--s-9); align-items: end; row-gap: var(--s-7); }
.case__gallery .shot { margin: 0; }
.case__gallery .shot--wide { grid-column: 1 / span 9; }
.case__gallery .shot--phone { grid-column: 10 / -1; }
@media (max-width: 1023px) {
  .case__gallery .shot--wide { grid-column: 1 / -1; }
  .case__gallery .shot--phone { grid-column: 1 / span 4; }
}
@media (max-width: 639px) { .case__gallery .shot--phone { grid-column: 1 / span 3; } }

.case__foot { margin-top: var(--s-9); row-gap: var(--s-7); align-items: end; }
.stack { grid-column: 1 / span 7; }
.stack__list { display: flex; flex-wrap: wrap; row-gap: 0.4rem; }
.stack__list li {
  font-size: var(--t-small);
  color: var(--paper-dim);
  padding-right: 0.9rem;
  margin-right: 0.9rem;
  border-right: 1px solid var(--rule-strong);
  line-height: 1.3;
}
.stack__list li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

/* The live link, set large and labelled */
.visit {
  grid-column: 8 / -1;
  justify-self: end;
  width: min(100%, 30rem);
  display: grid;
  gap: 0.35rem;
  padding-bottom: 0.9rem;
  position: relative;
}
.visit::before, .visit::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--rule-strong);
}
.visit::after {
  background: var(--paper);
  transform: scaleX(0.18);
  transform-origin: 0 50%;
  transition: transform var(--d-2) var(--ease-out);
}
.visit__label { font-size: var(--t-small); color: var(--paper-mute); }
.visit__url {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  font-size: var(--t-h4);
  font-stretch: 85%;
  line-height: 1.15;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
@media (hover: hover) { .visit:hover::after { transform: scaleX(1); } }
@media (max-width: 1023px) { .stack, .visit { grid-column: 1 / -1; justify-self: start; } }

/* PluginPeek: sticky statement beside the screenshots */
.split { margin-top: var(--s-9); align-items: start; row-gap: var(--s-7); }
.split__text { grid-column: 1 / span 5; align-self: stretch; }
.split__sticky { position: sticky; top: calc(var(--header-h) + 3rem); }
.split__sticky .case__rule { margin-bottom: 0; }
.split__media { grid-column: 7 / -1; display: grid; gap: var(--s-8); }
.split__media .shot { margin: 0; }
.case__body--pp { margin-top: var(--s-9); align-items: end; }
.case__body--pp .case__built { grid-column: 1 / span 6; }
.case__body--pp .shot--phone { grid-column: 8 / span 2; margin: 0; }
.case__body--pp .why { grid-column: 10 / -1; }
@media (max-width: 1023px) {
  .split__text, .split__media { grid-column: 1 / -1; }
  .split__sticky { position: static; }
  .case__body--pp .case__built { grid-column: 1 / -1; }
  .case__body--pp .shot--phone { grid-column: 1 / span 3; }
  .case__body--pp .why { grid-column: 4 / -1; }
}
@media (max-width: 639px) {
  .case__body--pp .shot--phone { grid-column: 1 / span 2; }
  .case__body--pp .why { grid-column: 1 / -1; }
}
.why { padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.why__n {
  font-size: clamp(3rem, 1.5rem + 4.5vw, 6.5rem);
  font-stretch: 75%;
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-block: var(--s-2) var(--s-4);
}
.why__text { color: var(--paper-dim); font-size: var(--t-small); line-height: 1.55; max-width: 24em; }
.why__src { margin-top: var(--s-3); color: var(--paper-mute); }
.why__src .text-link { font-size: var(--t-mono); }

/* The ThinkPad server: typographic set piece */
.case--system .case__titles { align-self: end; }
.case--system .case__line { margin-top: var(--s-3); font-size: var(--t-body); color: var(--paper-mute); }
.sys__statement {
  margin-top: var(--s-9);
  font-size: clamp(3.5rem, 0.6rem + 10.8vw, 13.5rem);
  font-stretch: 75%;
  line-height: 0.86;
  letter-spacing: -0.048em;
  max-width: 9.5em;
}
.sys__lede { margin-top: var(--s-8); }
.sys__lede .case__lead { grid-column: 6 / span 6; max-width: 30em; color: var(--paper-dim); }
@media (max-width: 1023px) { .sys__lede .case__lead { grid-column: 1 / -1; } }

.budget { margin-top: var(--s-9); margin-inline: 0; }
.budget__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s-5);
  margin-bottom: var(--s-4);
}
.budget__head .label { margin: 0; }
.budget__value {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15em;
  font-size: clamp(3rem, 1.4rem + 5vw, 7.5rem);
  font-stretch: 75%;
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.budget__unit { font-size: 0.42em; letter-spacing: -0.02em; color: var(--paper-dim); }
.budget__cells {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 3px;
  height: clamp(1.75rem, 3.4vw, 3rem);
}
.budget__cells i {
  display: block;
  background: #D9D1C3;
  transform-origin: 50% 100%;
}
.budget__cells i:nth-child(even) { background: #C9C0B1; }
/* Scale labels sit exactly on the GiB boundaries */
.budget__scale {
  position: relative;
  display: block;
  height: 1.1rem;
  margin-top: var(--s-3);
  color: var(--paper-mute);
}
.budget__scale span { position: absolute; top: 0; transform: translateX(-50%); }
.budget__scale span:nth-child(1) { left: 0; transform: none; }
.budget__scale span:nth-child(2) { left: calc(100% * 2 / 14); }
.budget__scale span:nth-child(3) { left: calc(100% * 4 / 14); }
.budget__scale span:nth-child(4) { left: calc(100% * 6 / 14); }
.budget__scale span:nth-child(5) { left: calc(100% * 8 / 14); }
.budget__scale span:nth-child(6) { left: calc(100% * 10 / 14); }
.budget__scale span:nth-child(7) { left: calc(100% * 12 / 14); }
.budget__scale span:nth-child(8) { right: 0; left: auto; transform: none; color: var(--paper); }
@media (max-width: 639px) {
  .budget__scale span:nth-child(2), .budget__scale span:nth-child(4),
  .budget__scale span:nth-child(6), .budget__scale span:nth-child(7) { display: none; }
}
.budget__cap {
  display: flex;
  gap: var(--s-4);
  align-items: baseline;
  margin-top: var(--s-5);
  font-size: var(--t-small);
  color: var(--paper-mute);
  max-width: 48em;
}
.budget__cap .mono { color: var(--paper-dim); flex: none; }
.budget__path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  color: var(--paper-dim);
}
.budget__arrow {
  width: 1.75rem;
  height: 1px;
  background: var(--paper-mute);
  position: relative;
}
.budget__arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  border: 3.5px solid transparent;
  border-left: 5px solid var(--paper-mute);
  border-right: 0;
}

.frames { margin-top: var(--s-9); }
.frames__label { margin-bottom: var(--s-5); }
.frames__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
}
.frame-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 20rem;
  padding: var(--s-5);
  background: var(--ink-raised);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.frame-card__n { color: var(--paper-mute); margin-bottom: auto; padding-bottom: var(--s-8); }
.frame-card__title {
  font-size: var(--t-h4);
  font-stretch: 78%;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
}
.frame-card p { font-size: var(--t-small); line-height: 1.55; color: var(--paper-dim); }
@media (max-width: 1023px) { .frames__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .frames__list { grid-template-columns: 1fr; }
  .frame-card { min-height: 0; }
  .frame-card__n { padding-bottom: var(--s-5); }
}
.proof__n--word { font-size: clamp(2.5rem, 1.1rem + 4.2vw, 6rem); }

/* TrueBuild + Pulse */
.minor { padding-top: var(--section); row-gap: var(--s-9); align-items: start; }
.case--minor { padding-top: 0; display: flex; flex-direction: column; }
.case--minor .shot { margin: 0 0 var(--s-6); }
#truebuild { grid-column: 1 / span 7; }
#pulse { grid-column: 9 / -1; }
.minor__head { display: flex; align-items: baseline; gap: var(--s-4); }
.minor__head .case__num { padding: 0; }
.minor__title {
  font-size: var(--t-h3);
  font-stretch: 75%;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.minor__line { margin-block: var(--s-3) var(--s-5); font-size: var(--t-lead); color: var(--paper-dim); line-height: 1.35; }
.case--minor > p { color: var(--paper-dim); max-width: 36em; }
.case--minor > .label { margin-top: var(--s-5); }
.facts--inline { margin-top: var(--s-6); }
@media (max-width: 1023px) {
  #truebuild, #pulse { grid-column: 1 / -1; }
  .case--pulse .pulse-fig { max-width: 26rem; }
}

.pulse-fig { margin: 0 0 var(--s-6); }
.pulse-fig__phone {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 34rem;
  margin-inline: auto;
  border: 1px solid var(--rule-strong);
  border-radius: 2.25rem;
  padding: 3.25rem 1.1rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  background: linear-gradient(180deg, #161310, #100E0C);
}
.pulse-fig__notch {
  position: absolute;
  top: 0.9rem; left: 50%;
  width: 28%; height: 0.45rem;
  margin-left: -14%;
  border-radius: 1rem;
  background: var(--rule);
}
.pulse-fig__node {
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--rule-strong);
  background: var(--ink);
}
.pulse-fig__node .mono { color: var(--paper); font-size: 0.75rem; }
.pulse-fig__sub { font-size: 0.75rem; color: var(--paper-mute); line-height: 1.35; }
.pulse-fig__node--next { margin-top: 0.5rem; border-style: dashed; background: transparent; }
.pulse-fig__node--next .mono { color: var(--paper-dim); }
.pulse-fig__link { align-self: center; width: 1px; height: 1.75rem; background: var(--paper-mute); }

/* 11. Approach, contact, footer -------------------------------------------- */
.approach { padding-top: var(--section); }
.principles {
  margin-top: var(--s-8);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gutter);
}
.principle {
  padding: var(--s-5) var(--s-7) var(--s-9) 0;
  border-top: 1px solid var(--rule);
}
.principle__title {
  font-size: var(--t-h3);
  font-stretch: 75%;
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 11em;
}
.principle p { margin-top: var(--s-5); color: var(--paper-dim); max-width: 30em; }
.principle em { color: var(--paper); }
@media (max-width: 767px) {
  .principles { grid-template-columns: 1fr; }
  .principle { padding: var(--s-5) 0 var(--s-8); }
}

.contact { padding-block: var(--section) var(--s-9); }
.contact__title {
  margin-top: var(--s-6);
  font-size: clamp(3.5rem, 0.6rem + 10.4vw, 13rem);
  font-stretch: 75%;
  line-height: 0.85;
  letter-spacing: -0.048em;
  margin-left: -0.04em;
  max-width: 8.5em;
}
.contact__grid { margin-top: var(--s-9); row-gap: var(--s-8); align-items: start; }
.contact__main { grid-column: 1 / span 7; }
.contact__line { color: var(--paper-dim); max-width: 30em; font-size: var(--t-lead); line-height: 1.45; }
.contact__email {
  position: relative;
  display: inline-block;
  margin-top: var(--s-6);
  padding-bottom: 0.2em;
  font-size: clamp(1.75rem, 0.9rem + 3vw, 4rem);
  font-stretch: 80%;
  line-height: 1.05;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.contact__email::before, .contact__email::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--rule-strong);
}
.contact__email::after {
  background: var(--paper);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform var(--d-2) var(--ease-out);
}
@media (hover: hover) { .contact__email:hover::after { transform: scaleX(1); transform-origin: 0 50%; } }
.contact__side { grid-column: 9 / -1; display: grid; gap: var(--s-7); }
.contact__links { border-bottom: 1px solid var(--rule); }
.row-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-4);
  padding-block: 0.9rem;
  border-top: 1px solid var(--rule);
  font-size: var(--t-lead);
  font-stretch: 88%;
  letter-spacing: -0.01em;
  transition: padding var(--d-1) var(--ease-out);
}
.row-link__meta { color: var(--paper-mute); display: inline-flex; align-items: center; }
@media (hover: hover) { .row-link:hover { padding-left: 0.5rem; } }
@media (max-width: 1023px) {
  .contact__main, .contact__side { grid-column: 1 / -1; }
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3) var(--s-6);
  padding-block: var(--s-6) var(--s-7);
  border-top: 1px solid var(--rule);
  margin-inline: var(--margin);
  padding-inline: 0;
  font-size: var(--t-small);
  color: var(--paper-mute);
}
.site-footer__domain { color: var(--paper-dim); }
.site-footer .text-link { color: var(--paper-dim); }

/* 12. Photography page ----------------------------------------------------- */
.g-head { padding-top: calc(var(--header-h) + var(--s-9)); }
.g-title {
  font-size: calc((100vw - 2 * var(--margin)) * 0.2205);
  font-stretch: 75%;
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.g-head__row { margin-top: var(--s-8); row-gap: var(--s-6); align-items: end; }
.g-intro { grid-column: 1 / span 6; font-size: var(--t-lead); line-height: 1.45; color: var(--paper-dim); max-width: 30em; }
.g-intro + .note { grid-column: 1 / span 6; }
.filters {
  grid-column: 8 / -1;
  grid-row: 1 / span 2;
  align-self: end;
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  font-size: var(--t-small);
  color: var(--paper-dim);
  box-shadow: inset 0 0 0 1px var(--rule-strong);
  transition: color var(--d-1) var(--ease-out), box-shadow var(--d-1) var(--ease-out), background-color var(--d-1) var(--ease-out);
}
.filter .mono { color: var(--paper-mute); transition: color var(--d-1) var(--ease-out); }
.filter[aria-pressed="true"] { color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--paper); }
.filter[aria-pressed="true"] .mono { color: var(--ink); }
@media (hover: hover) { .filter:hover:not([aria-pressed="true"]) { color: var(--paper); box-shadow: inset 0 0 0 1px var(--paper-mute); } }
@media (max-width: 1023px) {
  .g-intro, .g-intro + .note, .filters { grid-column: 1 / -1; grid-row: auto; justify-self: start; }
}

.gallery { padding-top: var(--s-8); padding-bottom: var(--section); }
.gallery__grid {
  --row-h: clamp(11rem, 6rem + 14vw, 22rem);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-7) var(--gutter);
}
/* Justified rows from w/h alone: each tile grows in proportion to its aspect ratio,
   so every tile in a row ends up the same height and no photograph is cropped. */
.gallery__grid::after { content: ""; flex-grow: 999999; flex-basis: 0; }
.tile {
  flex-grow: calc(var(--r) * 100);
  flex-basis: calc(var(--r) * var(--row-h));
  min-width: 0;
  margin: 0;
}
.tile[hidden] { display: none; }
.tile__btn { display: block; width: 100%; text-align: left; }
.tile__frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: var(--r);
  background: var(--ink-raised);
}
.tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d-3) var(--ease-out), opacity var(--d-1) linear; }
.tile__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgb(236 229 216 / 0);
  transition: box-shadow var(--d-1) var(--ease-out);
}
@media (hover: hover) {
  .tile__btn:hover .tile__img { transform: scale(1.035); }
  .tile__btn:hover .tile__frame::after { box-shadow: inset 0 0 0 1px rgb(236 229 216 / 0.45); }
}
.tile__cap {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  margin-top: 0.7rem;
  font-size: var(--t-small);
  color: var(--paper-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tile__cap .mono { color: var(--paper-mute); }
.tile__title { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 639px) {
  .gallery__grid { --row-h: 9.5rem; row-gap: var(--s-6); }
  .tile__cap { font-size: 0.8125rem; }
}

.g-next { padding-bottom: var(--s-9); }
.g-next__grid { row-gap: var(--s-6); padding-top: var(--s-6); align-items: end; }
.g-next__title {
  grid-column: 1 / span 8;
  font-size: var(--t-h2);
  font-stretch: 75%;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.g-next__links { grid-column: 9 / -1; justify-self: end; display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (max-width: 1023px) { .g-next__title, .g-next__links { grid-column: 1 / -1; justify-self: start; } }

/* 13. Lightbox ------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  grid-template-rows: var(--header-h) 1fr auto;
  color: var(--paper);
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: #080706;
}
.lightbox__top, .lightbox__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding-inline: var(--margin);
}
.lightbox__counter { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--paper-dim); }
.lightbox__counter [data-lb-index] { color: var(--paper); }
.lightbox__stage {
  position: relative;
  z-index: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-2) var(--margin);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.lightbox__img {
  display: block;
  max-width: none;
  object-fit: contain;
  background: var(--ink-raised);
  transform-origin: 50% 50%;
  -webkit-user-drag: none;
}
.lightbox__bottom {
  align-items: flex-end;
  padding-block: var(--s-4) var(--s-5);
}
.lightbox__caption { min-width: 0; }
.lightbox__title {
  font-size: var(--t-h4);
  font-stretch: 80%;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.lightbox__meta { margin-top: 0.35rem; font-size: var(--t-small); color: var(--paper-mute); }
.lightbox__meta span + span::before { content: ""; display: inline-block; width: 1px; height: 0.8em; margin: 0 0.7em; background: var(--rule-strong); vertical-align: -0.05em; }
.lightbox__nav { display: flex; gap: 0.5rem; flex: none; }
.lb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
  font-size: var(--t-small);
  color: var(--paper-dim);
  box-shadow: inset 0 0 0 1px var(--rule-strong);
  transition: color var(--d-1) var(--ease-out), box-shadow var(--d-1) var(--ease-out);
}
@media (hover: hover) { .lb-btn:hover { color: var(--paper); box-shadow: inset 0 0 0 1px var(--paper-mute); } }
.lb-btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.3; }
@media (max-width: 639px) {
  .lightbox__bottom { flex-direction: column; align-items: stretch; gap: var(--s-4); }
  .lightbox__nav { justify-content: space-between; }
  .lightbox__nav .lb-btn { flex: 1; }
}

/* 14. Motion states + fallbacks -------------------------------------------- */
/* Hidden-before-reveal states exist only when motion is on and JS is running. */
.motion .hero__name,
.motion [data-hero-fade],
.motion [data-g-title],
.motion .site-header { opacity: 0; }
.motion.is-intro-done .site-header { opacity: 1; }

/* Reduced motion: nothing moves on its own; content is simply there. */
.reduce .grain { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Failsafe: if scripts stall, everything is visible. */
.is-failsafe .hero__name,
.is-failsafe [data-hero-fade],
.is-failsafe [data-g-title],
.is-failsafe .site-header { opacity: 1 !important; transform: none !important; }
.is-failsafe .preloader, .is-failsafe .curtain { display: none !important; }

/* No JS at all: the page is complete without it. */
.no-js .cursor, .no-js .preview { display: none; }

/* 15. Reorder (2026-10-12): portrait hero, then Engineering, Photography, Fitness ---- */
.hero__img { object-position: 50% 32%; }
.hero-scrub .hero__slot { aspect-ratio: 4 / 5; width: min(100%, 52vh); justify-self: end; }
@media (max-width: 1023px) { .hero-scrub .hero__slot { width: min(100%, 34vh); justify-self: start; } }
.about__text { grid-column: 4 / span 8; }
@media (max-width: 1023px) { .about__text { grid-column: 1 / -1; } }

.fitness { padding-top: var(--section); }
.fitness__grid { margin-top: var(--s-8); row-gap: var(--s-8); align-items: start; }
.fitness__text { grid-column: 1 / span 5; }
.fitness__text .sec-title { margin: var(--s-3) 0 var(--s-7); }
.fitness__text .note { margin-top: var(--s-6); }
.fitness__print--a { grid-column: 7 / span 3; }
.fitness__print--b { grid-column: 10 / span 3; margin-top: var(--s-9); }
.fitness .principles { margin-top: var(--s-10); }
@media (max-width: 1023px) {
  .fitness__text { grid-column: 1 / -1; }
  .fitness__print--a { grid-column: 1 / span 4; }
  .fitness__print--b { grid-column: 5 / span 4; }
  .fitness .principles { margin-top: var(--s-8); }
}
@media (max-width: 639px) {
  .fitness__print--a { grid-column: 1 / span 2; }
  .fitness__print--b { grid-column: 3 / span 2; margin-top: var(--s-7); }
  .fitness .principles { grid-template-columns: 1fr; }
}
/* Real portrait (near-square, subject on the left third): keep him in frame at every width */
.hero__img { object-position: 18% 50%; }
.hero-scrub .hero__slot { aspect-ratio: 4 / 3; width: auto; justify-self: stretch; }
@media (max-width: 1023px) { .hero-scrub .hero__slot { width: min(100%, 60vh); justify-self: start; } }
/* Smaller, left-aligned name (2026-10-12): no longer stretched to the full width */
.hero__name { font-size: clamp(3.25rem, 1.6rem + 6.4vw, 9rem); justify-self: start; text-align: left; }
/* 2026-10-12: bigger name again (between full-width and small); Fitness = one real print + numbers */
.hero__name { font-size: clamp(3.5rem, 2rem + 12.5vw, 15rem); }
.fitness__print--a { grid-column: 7 / span 5; }
.fitness__proof { margin-top: var(--s-9); }
@media (max-width: 1023px) { .fitness__print--a { grid-column: 1 / span 5; } }
@media (max-width: 639px) { .fitness__print--a { grid-column: 1 / -1; } }
/* Name: one centimetre larger, but never wider than the page on phones */
.hero__name { font-size: min(calc(clamp(3.5rem, 2rem + 12.5vw, 15rem) + 1cm), calc((100vw - 2 * var(--margin)) * 0.2465)); }

/* Contact form ------------------------------------------------------------ */
.cform { margin-top: var(--s-8); display: grid; gap: var(--s-6); max-width: 46rem; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--gutter); }
.cform__field { display: grid; gap: var(--s-2); }
.cform__label { font-size: var(--t-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--paper-mute); }
.cform__input {
  width: 100%; background: transparent; color: var(--paper); font: inherit; font-size: var(--t-body);
  border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0; padding: 0.6rem 0 0.7rem;
  transition: border-color var(--d-1) var(--ease-out);
}
.cform__input:hover { border-bottom-color: var(--paper-mute); }
.cform__input:focus { outline: none; border-bottom-color: var(--safelight-glow); }
.cform__input:-webkit-autofill { -webkit-text-fill-color: var(--paper); transition: background-color 600000s 0s; }
.cform__textarea { resize: vertical; min-height: 8rem; line-height: 1.5; }
.cform__topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.cform__topics legend { padding: 0; margin-bottom: var(--s-3); }
.cform__chip { position: relative; cursor: pointer; }
.cform__chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cform__chip span {
  display: inline-block; padding: 0.5rem 0.9rem; border: 1px solid var(--rule-strong);
  font-size: var(--t-small); color: var(--paper-dim);
  transition: color var(--d-1) var(--ease-out), border-color var(--d-1) var(--ease-out), background-color var(--d-1) var(--ease-out);
}
.cform__chip:hover span { color: var(--paper); border-color: var(--paper-mute); }
.cform__chip input:checked + span { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.cform__chip input:focus-visible + span { outline: 1px solid var(--safelight-glow); outline-offset: 3px; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); }
.cform .btn:disabled { opacity: 0.6; cursor: progress; }
.cform__status { font-size: var(--t-mono); color: var(--paper-dim); }
.cform__status.is-error { color: var(--safelight-glow); }
.cform__or { margin-top: var(--s-8); font-size: var(--t-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--paper-mute); }
@media (max-width: 639px) { .cform__row { grid-template-columns: 1fr; } }
