@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight-var.woff2") format("woff2-variations"), url("/assets/fonts/inter-tight-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {

  --ink: #0f0f0f;
  --paper: #f2f0eb;
  --red: #fa3122;
  --bg: var(--ink);
  --fg: var(--paper);
  --muted: #9a978f;
  --line: rgb(242 240 235 / .16);
  --accent: var(--red);
  --accent-fg: var(--ink);
  --grid-line: rgb(242 240 235 / .05);
  --surface: #181817;
  color-scheme: dark;

  --font-display: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-text: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  --step--1: clamp(.8rem, .78rem + .1vw, .875rem);
  --step-0: clamp(1rem, .96rem + .19vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.12rem + .38vw, 1.5rem);
  --step-2: clamp(1.44rem, 1.28rem + .7vw, 2rem);
  --step-3: clamp(1.73rem, 1.45rem + 1.2vw, 2.66rem);
  --step-4: clamp(2.07rem, 1.6rem + 2vw, 3.55rem);
  --step-5: clamp(2.5rem, 1.7rem + 3.4vw, 4.75rem);
  --step-6: clamp(2.75rem, 1.4rem + 6vw, 7rem);
  --step-7: clamp(3.25rem, .9rem + 10vw, 11.5rem);

  --space-2xs: .25rem;
  --space-xs: .5rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: clamp(2rem, 1.6rem + 1.6vw, 3rem);
  --space-xl: clamp(3rem, 2.2rem + 3.4vw, 5.5rem);
  --space-section: clamp(5rem, 2.5rem + 9vw, 11rem);

  --gutter: clamp(16px, 4vw, 64px);
  --col-gap: clamp(12px, 1.6vw, 24px);
  --max: 100%;
  --header-h: 64px;
  --radius: 4px;
  /* the page's own ground, kept as resolved here so a section that redefines --bg (the credits, the footer) can still
     paint with it */
  --page-bg: var(--bg);   /* every frame, card and window; only the call-to-action pill is round */

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.7, 0, .3, 1);
  --dur: .9s;
  --dur-fast: .35s;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: var(--paper); --fg: var(--ink); --muted: #5c5a55; --line: rgb(15 15 15 / .16);
    --accent: #c8251a; --accent-fg: var(--paper); --surface: #e8e5de; --grid-line: rgb(15 15 15 / .07); color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: var(--paper); --fg: var(--ink); --muted: #5c5a55; --line: rgb(15 15 15 / .16);
  --accent: #c8251a; --accent-fg: var(--paper); --surface: #e8e5de; --grid-line: rgb(15 15 15 / .07); color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  background: var(--bg);
  color: var(--fg);
  font: 400 var(--step-0)/1.55 var(--font-text);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; max-width: 62ch; }
::selection { background: var(--accent); color: var(--accent-fg); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed; left: var(--gutter); top: .5rem; z-index: 1000;
  padding: .75rem 1rem; background: var(--accent); color: var(--accent-fg);
  transform: translateY(-200%); transition: transform var(--dur-fast) var(--ease);
}
.skip-link:focus-visible { transform: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
.section { padding-block: var(--space-section); }
.section + .section { border-top: 1px solid var(--line); }

/* Section titles, one system for every section: the render pass on the left (the header bar counts the same six),
   one line in the serif italic on the right that says it in a human voice, and the section's name under them set
   huge in the grotesk, with its count beside it as in the menu. The name's letters rise in on scroll (data-reveal="chars"). */
.section-head {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: var(--space-s);
  margin-bottom: var(--space-xl); align-items: end;
}
.sh-idx {
  grid-column: 1 / -1; display: flex; align-items: center; gap: .5em; max-width: none;
  font: 500 var(--step--1)/1 var(--font-mono); letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums;
}
.sh-idx b { font-weight: 500; color: var(--accent); }
.sh-idx::after { content: ""; flex: 0 0 2.5em; height: 1px; margin-left: .4em; background: currentColor; opacity: .6; }
.sh-title {
  grid-column: 1 / -1; display: flex; align-items: flex-start; gap: .3rem; margin-left: -.06em;
  font: 500 clamp(4rem, 15.5vw, 17rem)/.8 var(--font-display); letter-spacing: -.07em; text-transform: uppercase;
}
.sh-word { padding-bottom: .04em; }
.sh-count { margin-top: .5rem; font: 500 var(--step--1)/1 var(--font-mono); letter-spacing: .04em; color: var(--muted); }
.sh-voice { grid-column: 1 / -1; font: italic 400 var(--step-3)/1.05 var(--font-serif); letter-spacing: -.01em; max-width: 20ch; }
@media (min-width: 768px) {
  .section-head { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .sh-idx { grid-column: 1 / 5; grid-row: 1; align-self: end; padding-bottom: .4em; }
  .sh-voice { grid-column: 7 / -1; grid-row: 1; justify-self: end; text-align: right; }
  .sh-title { grid-row: 2; }
}

.eyebrow {
  font: 500 var(--step--1)/1.4 var(--font-mono);
  letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}
.serif { font-family: var(--font-serif); font-weight: 400; }

em, .italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: 1.06em; }

.link-line { position: relative; display: inline-block; }
.link-line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.15em; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur-fast) var(--ease);
}
.link-line:hover::after, .link-line:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.rule { height: 1px; background: var(--accent); transform-origin: left; }

/* Two kinds of button, no more: the pill is the one call to action of a screen (red, its label rolls and its arrow
   runs through its disc), and .line-btn is everything secondary. */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--accent-fg);
  display: inline-flex; align-items: center; gap: .9em; min-height: 52px; padding: .45em .45em .45em 1.4em;
  background: var(--btn-bg); color: var(--btn-fg); border-radius: 999px;
  font: 500 var(--step-0)/1 var(--font-text); letter-spacing: -.01em; white-space: nowrap;
}
.btn-ic { flex: none; display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; overflow: hidden; background: var(--btn-fg); color: var(--btn-bg); }
.btn-ic svg { width: .9em; height: .9em; }
.btn:hover .btn-ic svg, .btn:focus-visible .btn-ic svg { animation: btn-arrow .6s cubic-bezier(.7, 0, .2, 1); }
@keyframes btn-arrow { 45% { transform: translateX(180%); } 45.01% { transform: translateX(-180%); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .btn:hover .btn-ic svg { animation: none; } }
.magnetic { display: inline-block; will-change: transform; }

kbd {
  display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 .3em;
  border: 1px solid currentColor; border-radius: 4px; font: 500 .7em/1 var(--font-mono); opacity: .7;
}

.ph {
  background: transparent; color: inherit;
  outline: 1px dashed var(--accent); outline-offset: 2px;
}
.ph-box {
  display: grid; place-items: center; aspect-ratio: 16 / 10; padding: var(--space-m);
  border: 1px dashed var(--accent); color: var(--muted); text-align: center;
  font: 500 var(--step--1)/1.5 var(--font-mono); background: var(--surface);
}

/* frameless, full width; white through mix-blend difference so it reads on any section, as on outpost.design */
.site-header { position: fixed; inset: 12px 0 auto; z-index: 100; height: 0; pointer-events: none; mix-blend-mode: difference; color: #fff; }
.bar {
  position: absolute; left: 0; right: 0; top: 0; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; pointer-events: none;
}
.bar > * { pointer-events: auto; }
.bar > .logo, .bar > .bar-msg, .bar > .menu-btn { height: 44px; }
.bar > .menu-btn { justify-self: end; }
.logo { justify-self: start; display: inline-flex; align-items: center; font: 700 1.05rem/1 var(--font-display); letter-spacing: -.04em; }
.logo i { color: transparent; font-style: normal; }
/* the blend would invert the red dot on light grounds, so the dot is drawn again outside it, over the logo */
.logo-ghost {
  position: fixed; top: 12px; left: var(--gutter); z-index: 101; height: 44px; display: flex; align-items: center; pointer-events: none;
  font: 700 1.05rem/1 var(--font-display); letter-spacing: -.04em; color: transparent;
}
.logo-ghost i { color: var(--red); font-style: normal; }
.bar-msg {
  margin: 0; max-width: none; text-align: center; overflow: hidden; display: grid; place-items: center;
  font: 500 10.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; opacity: .85;
}
.bar-msg span { display: inline-block; }
.menu-btn { display: grid; place-items: center; width: 44px; margin-right: -14px; }
.burger { display: grid; gap: 4px; width: 26px; justify-items: start; }
@media (min-width: 1024px) { .burger { width: 32px; } }
.burger i {
  position: relative; display: block; width: 100%; height: 1.5px; overflow: hidden; border-radius: 1px;
  transition: transform .5s cubic-bezier(.25, 1, .5, 1), opacity .5s cubic-bezier(.25, 1, .5, 1), width .5s cubic-bezier(.25, 1, .5, 1);
}
.burger i:nth-child(2) { width: 70%; }
.burger i:nth-child(3) { width: 37%; }
.burger i::before, .burger i::after {
  content: ""; position: absolute; inset: 0; background: currentColor;
  transition: transform .6s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--d, 0) * 60ms);
}
.burger i::after { transform: translateX(-125%); }
.burger i:nth-child(2) { --d: 1; }
.burger i:nth-child(3) { --d: 2; }
@media (hover: hover) {
  .menu-btn[aria-expanded="false"]:hover .burger i::before { transform: translateX(125%); }
  .menu-btn[aria-expanded="false"]:hover .burger i::after { transform: none; }
}
.menu-btn[aria-expanded="true"] .burger i:first-child { transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; transform: translateX(-50%); }
.menu-btn[aria-expanded="true"] .burger i:last-child { width: 100%; transform: translateY(-5.5px) rotate(-45deg); }

.menu {
  --b-line: rgb(242 240 235 / .14);
  position: fixed; inset: 0; z-index: 99; pointer-events: auto; overflow: auto; overscroll-behavior: contain;
  display: grid; grid-template: 1fr auto auto / minmax(0, 1fr); align-content: start;
  padding: calc(12px + 44px + clamp(2rem, 7vh, 5rem)) var(--gutter) clamp(1rem, 3vh, 2rem);
  background: #000; color: var(--paper);
}
@media (min-width: 1024px) {
  .menu { grid-template: 1fr auto / minmax(0, 1fr) minmax(300px, 400px); column-gap: var(--gutter); }
  .menu-cta { align-self: end; }
  .menu-foot { grid-column: 1 / -1; }
}
.menu[hidden] { display: none; }
.menu-list { margin: 0; padding: 0; list-style: none; align-self: start; }
.menu-list a {
  display: flex; align-items: flex-start; gap: .25em; width: fit-content; padding: .05em 0;
  font: 600 clamp(2.75rem, min(10vh, 12vw), 8.5rem)/.88 var(--font-display); letter-spacing: -.05em; text-transform: uppercase;
  transition: opacity .8s cubic-bezier(.25, 1, .5, 1);
}
@media (hover: hover) { .menu-list:hover a:not(:hover) { opacity: .35; } }
.mc-w { display: inline-flex; }
.mc { display: inline-block; clip-path: inset(-.3em 0); }
.mc-i { position: relative; display: inline-block; transition: transform .6s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--i) * 18ms); }
.mc-i::before { content: attr(data-c); position: absolute; left: 0; top: 0; color: var(--red); transform: translateX(-115%); }
.menu-list a:hover .mc-i, .menu-list a:focus-visible .mc-i { transform: translateX(115%); }
.mi-n { order: -1; min-width: 2.2rem; padding-top: .55em; font: 500 11px/1 var(--font-mono); letter-spacing: 0; opacity: .55; }
.menu-list small { padding-top: .55em; font: 500 11px/1 var(--font-mono); letter-spacing: 0; opacity: .6; }
.menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: clamp(2rem, 5vh, 3rem); }
@media (min-width: 1024px) { .menu-cta { margin-top: 0; } }
.mbtn {
  display: grid; place-items: center; min-height: 46px; padding: 0 10px; border-radius: 4px; text-align: center;
  background: var(--paper); color: var(--ink); font: 600 10.5px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.mbtn:hover, .mbtn:focus-visible { background: var(--red); color: var(--ink); }
.mbtn--line { grid-column: 1 / -1; background: transparent; color: var(--paper); border: 1px solid var(--b-line); }
.menu-px { grid-column: 1 / -1; position: relative; height: 120px; border: 1px solid var(--b-line); border-radius: 4px; overflow: hidden; color: var(--paper);
  background: linear-gradient(rgb(242 240 235 / .05) 1px, transparent 1px) 0 0 / 100% 12px; }
.menu-px canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.menu-foot {
  display: flex; justify-content: space-between; align-items: center; margin-top: clamp(1.5rem, 4vh, 2.5rem); padding-top: 10px; border-top: 1px solid var(--b-line);
  font: 500 10.5px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; opacity: .75;
}
.menu-theme { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.menu-theme svg { width: 14px; height: 14px; }
.menu-scrim { position: fixed; inset: 0; z-index: 98; background: rgb(10 10 10 / .35); }
@supports (backdrop-filter: blur(1px)) { .menu-scrim { backdrop-filter: blur(14px); background: rgb(10 10 10 / .2); } }
.menu-scrim[hidden] { display: none; }

.touch {
  position: absolute; right: calc(var(--gutter) + 44px + 1rem); top: 0; display: none; align-items: center; pointer-events: auto;
  font: 600 10.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: .35em; margin-top: 15px;
}
@media (min-width: 1100px) { .touch { display: inline-flex; } }
.site-header.is-open .touch { opacity: 0; pointer-events: none; }

.frame { position: relative; overflow: hidden; background: var(--surface); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

main { padding-top: var(--header-h); }

.hero { min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; padding-block: var(--space-xl) var(--space-l); }
.hero-stage { flex: 1; display: flex; flex-direction: column; gap: var(--space-l); }
.hero-stage > h1 { margin-top: auto; }
/* titles: tight uppercase grotesk against a lowercase italic serif, lines set off one another */
/* the hero headline: sized so its longest line ("based in Athens, Greece", ~10.8em) spans the content box,
   and each line starts on one of the page's six column lines (--o, in columns) */
.hero h1 { font: 500 clamp(2.4rem, calc((100vw - 2 * var(--gutter)) / 11.2), 12rem)/.86 var(--font-display); letter-spacing: -.07em; text-transform: uppercase; max-width: none; }
.hero h1 .h1-l { display: block; }
@media (max-width: 767px) { .hero h1 { font-size: clamp(2.2rem, 11.5vw, 4rem); } }
@media (min-width: 768px) { .hero h1 .h1-l { padding-left: calc(100% / 6 * var(--o, 0)); } }
.hero h1 em { color: var(--accent); text-transform: none; letter-spacing: -.035em; }
.hero h1 .h1-sub {
  display: flex; align-items: center; gap: 1em; margin-top: 1.4rem;
  font: 500 clamp(.8rem, .6rem + .6vw, 1.15rem)/1.2 var(--font-mono); letter-spacing: .08em;
}
.hero h1 .h1-sub::before { content: ""; flex: none; width: 3em; height: 1px; background: currentColor; }
@media (min-width: 768px) { .hero h1 .h1-sub { padding-left: calc(1.4 * clamp(3rem, 11vw, 15rem)); } }
h1 em, h2 em { text-transform: none; letter-spacing: -.02em; }
.hero-foot { row-gap: var(--space-l); align-items: end; }
@media (min-width: 768px) { .hero-foot .hero-cta { grid-column: 9 / -1; justify-content: flex-end; } }
.nowrap { white-space: nowrap; }
.hero-lead { grid-column: 1 / -1; font-size: var(--step-1); line-height: 1.4; max-width: 34ch; }
/* The statement under the hero: one paragraph set large, in capitals, justified edge to edge */
.statement { padding-block: var(--space-section) 0; }
.st-text {
  max-width: none; margin: 0; text-align: left; hyphens: none;
  font: 400 clamp(2rem, .6rem + 5.6vw, 7.25rem)/.95 var(--font-display); letter-spacing: -.035em; text-transform: uppercase;
}
.st-text em { font: italic 400 1.06em/1 var(--font-serif); letter-spacing: -.01em; text-transform: none; color: var(--accent); }
.st-rule { display: inline-block; width: 1.6em; height: max(1px, .045em); margin-inline: .1em; vertical-align: .32em; background: currentColor; }
.st-text .sl { text-align: left; }
@media (max-width: 767px) { .st-text { font-size: 9.6vw; line-height: .95; } }
.hero-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-s); }
@media (min-width: 768px) {
  .hero-lead { grid-column: 1 / 6; }
  .hero-cta { grid-column: 8 / -1; justify-content: flex-end; }
}

/* Selected work: two columns set off one another, as a contact sheet. Each project is its picture (and its film
   under the mouse), its name and one line; the rest is on its own page */
.cases { list-style: none; padding: 0; display: grid; gap: var(--space-xl) var(--col-gap); }
.case-card { position: relative; }
.case-inner { position: relative; display: grid; align-content: start; }
.case-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.case-media picture { position: absolute; inset: 0; }
/* the covers come from five different shoots, so they share one treatment: black and white at rest, like the portraits
   and the palette, and in colour only for the project in hand (under the mouse; on touch, crossing the middle) */
.case-media img { filter: grayscale(1) contrast(1.04); transition: scale 1.1s var(--ease), filter .7s var(--ease); }
.case-media.is-live img { filter: none; }
.case-media video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.case-media.is-playing video { opacity: 1; }
.case-name { margin-top: 1rem; font: 500 clamp(1.5rem, .9rem + 1.6vw, 2.6rem)/.95 var(--font-display); letter-spacing: -.045em; text-transform: uppercase; }
.case-name a::after { content: ""; position: absolute; inset: 0; z-index: 4; }
.case-name a:focus-visible { outline: none; }
.case-inner:has(.case-name a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 8px; }
/* the caption: the name across, then the line and the year on one row, like the slate under a still */
.case-inner { grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; }
.case-media, .case-name { grid-column: 1 / -1; }
.case-year { margin-top: .55rem; font: 500 11px/1.3 var(--font-mono); letter-spacing: .05em; color: var(--muted); font-variant-numeric: tabular-nums; }
.case-tag { margin-top: .55rem; font: 500 11px/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
@media (hover: hover) and (pointer: fine) {
  .case-inner:hover .case-media img { scale: 1.05; filter: none; }
}
/* phones: one column, the tall frames kept tall so the rhythm of the desktop sheet still shows */
.case-card:nth-child(3n + 1) .case-media { aspect-ratio: 4 / 5; }

@media (min-width: 992px) {
  .cases { grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: clamp(3rem, 7vw, 7rem); padding-top: var(--space-l); }
  /* two, then one, and again: a tall frame on the left with a wide one lower on the right, then one wide frame
     in the middle; any number of projects keeps the beat (nth-child 3n) */
  .case-card:nth-child(3n + 1) { grid-column: 1 / 5; }
  .case-card:nth-child(3n + 2) { grid-column: 7 / 13; align-self: start; margin-top: clamp(6rem, 12vw, 14rem); }
  .case-card:nth-child(3n + 2) .case-media { aspect-ratio: 16 / 10; }
  .case-card:nth-child(3n) { grid-column: 4 / 10; }
  .case-card:nth-child(3n) .case-media { aspect-ratio: 16 / 9; }
}

/* the reveal of a project frame: twelve bands in the picture's own colour fold away one after another, top first
   (main.js curtains(), data-curtain="rows" data-color) */
/* Work in WebGL while the page moves (work-gl.js): the canvas over the page, and while it is drawing, the real covers
   are clipped away under their bent copies (clip-path does not change what the canvas reads) */
.work-gl { position: fixed; inset: 0; z-index: 40; width: 100%; height: 100%; pointer-events: none; }
html.work-gl-on #work [data-gl] { clip-path: inset(0 0 100% 0); }
.curtain.curtain--rows i:nth-child(n) { position: absolute; left: -1px; right: -1px; inset-block: auto; height: calc(100% / 12 + 1px); background: var(--c, var(--ink)); transform-origin: 100% 50%; }

.morph { position: fixed; z-index: 870; overflow: hidden; pointer-events: none; border-radius: 4px; }
.morph img { width: 100%; height: 100%; object-fit: cover; }

.work-preview {
  position: fixed; left: 0; top: 0; z-index: 50; width: clamp(240px, 24vw, 420px); aspect-ratio: 7 / 5;
  pointer-events: none; opacity: 0; transform: translate(-50%, -50%); overflow: hidden;
}
.work-preview { transition: opacity var(--dur-fast) var(--ease); }
.work-preview.is-on { opacity: 1; }
.work-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity var(--dur-fast) var(--ease), transform var(--dur) var(--ease); }
.work-preview img.is-on { opacity: 1; transform: none; }
.work-foot { margin-top: var(--space-l); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-s); align-items: center; color: var(--muted); font-size: var(--step--1); }

/* Services, as the end credits of a film, in the page's own type: the names in the grotesk capitals with their serif
   second voice, the roles in mono like every label on the page, ink and grain like the preloader and the footer.
   With motion the section holds the screen and the roll rises through it, fading in at the bottom edge and out at
   the top, until the last card, the statement, stops in the middle (main.js credits()). */
.credits {
  --bg: var(--ink); --fg: var(--paper); --muted: #8d8a83; --line: rgb(242 240 235 / .16); --accent: var(--red); --accent-fg: var(--ink);
  position: relative; overflow: hidden; background: var(--bg); color: var(--fg);
}
.credits ::selection { background: var(--red); color: var(--ink); }
.credits-roll { display: grid; gap: clamp(6rem, 16vh, 11rem); padding-block: var(--space-section); }
.credits .section-head { margin-bottom: 0; }
.cr-pre { justify-self: center; max-width: none; margin: 0; font: 500 var(--step--1)/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cr-pre em { font: italic 400 2em/1 var(--font-serif); text-transform: none; letter-spacing: 0; color: var(--fg); margin-left: .2em; }
.cr-film { display: grid; justify-items: center; gap: clamp(1.5rem, 4vh, 2.5rem); text-align: center; }
.cr-title { margin: 0; font: 500 clamp(3rem, 11vw, 11rem)/.86 var(--font-display); letter-spacing: -.065em; text-transform: uppercase; }
.cr-title em { color: var(--accent); text-transform: none; letter-spacing: -.03em; }
.cr-dl { display: grid; gap: .7rem; width: min(100%, 44rem); margin: 0; }
.cr-dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 1.75rem; align-items: baseline; }
.cr-dl dt { text-align: right; font: 500 11px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cr-dl dd { margin: 0; text-align: left; font: 400 var(--step-1)/1.25 var(--font-text); letter-spacing: -.01em; }
.cr-end { display: grid; justify-items: center; gap: clamp(1.5rem, 4vh, 2.5rem); text-align: center; padding-bottom: 6vh; }
.cr-statement { max-width: 18ch; margin: 0; font: 500 clamp(2.2rem, 5.4vw, 6rem)/.92 var(--font-display); letter-spacing: -.055em; text-transform: uppercase; }
.cr-statement em { color: inherit; text-transform: none; }
.cr-statement em:last-of-type { color: var(--accent); }
/* the last card is a signature, not a sales pitch: where it was made, and the small print every film ends on */
.cr-sign { margin: 0; font: 500 var(--step--1)/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cr-sign .cr-voice { font: italic 400 2em/1 var(--font-serif); text-transform: none; letter-spacing: 0; color: var(--fg); margin-left: .3em; }
.cr-fine { margin: 0; max-width: none; font: 400 11px/1.4 var(--font-mono); letter-spacing: .04em; color: var(--muted); opacity: .7; }
@media (max-width: 767px) {
  .cr-dl div { grid-template-columns: 1fr; text-align: center; row-gap: .2rem; }
  .cr-dl dt, .cr-dl dd { text-align: center; }
}
html.motion .credits { height: 100vh; height: 100svh; }
html.motion .credits-view { height: 100%; -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); }
html.motion .credits-roll { will-change: transform; }
/* the lights come up: once the roll has stopped on the statement, CODE and Craft slide across above and below it, then
   the curtain of the page transitions rises, red first, and hands over to the page's own colour */
.cr-words, .cr-curtain { display: none; }
html.motion .cr-words {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between;
  padding-block: calc(var(--header-h) + 1vh) 2vh; pointer-events: none; white-space: nowrap;
}
.cr-word { margin: 0; max-width: none; font: 500 clamp(4.5rem, 17vw, 19rem)/.82 var(--font-display); letter-spacing: -.065em; text-transform: uppercase; will-change: transform; }
.cr-word--top { align-self: flex-start; }
.cr-word--bottom { align-self: flex-end; font: italic 400 clamp(5.5rem, 21vw, 23rem)/.82 var(--font-serif); letter-spacing: -.03em; text-transform: none; }
html.motion .cr-curtain { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; pointer-events: none; }
.cr-curtain i { flex: 1 1 0; display: block; margin-top: -1px; background: var(--page-bg); transform: scaleY(0); transform-origin: 50% 100%; }
.cr-curtain i:first-child { margin-top: 0; }
html.motion .cr-curtain--red { z-index: 29; }
.cr-curtain--red i { background: var(--red); }
@media (max-width: 767px) { .cr-word { font-size: 26vw; } .cr-word--bottom { font-size: 30vw; } }
/* each line's letters (or words) turn on a drum as they come in and go out (main.js credits()) */
.cr-w { display: inline-block; white-space: nowrap; perspective: 600px; }
.cr-b { display: inline-block; transform-origin: 50% 100%; backface-visibility: hidden; }

.about { row-gap: var(--space-l); align-items: start; --about-w: 360px; }
.about-photo { grid-column: 1 / -1; position: relative; width: 100%; max-width: var(--about-w); margin: 0; }
.about-shot { aspect-ratio: 3 / 4; border-radius: var(--radius); }
.about-shot img { filter: grayscale(1) contrast(1.05); }
.about-cap { display: flex; justify-content: space-between; margin-top: .7rem; font: 500 11px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.about-body { grid-column: 1 / -1; display: grid; gap: var(--space-m); align-content: start; }
.about-body .lead { font: 500 var(--step-4)/1.02 var(--font-display); letter-spacing: -.045em; max-width: 18ch; }
/* set as a page of a magazine, not a website: a small label sits at the start of the line and the text begins further
   in, then runs back to the full measure (the statement under the hero does the same) */
.st-label, .lead-label { margin: 0; font: 500 11px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
/* the lead's first line starts further in behind an empty inline box (text-indent would indent every line once the
   reveal splits the text into lines); on a phone the label simply sits above */
.lead .indent { display: none; }
@media (min-width: 768px) {
  .about-body .lead-label { grid-row: 1; grid-column: 1; align-self: start; padding-top: .9em; }
  .about-body .lead { grid-row: 1; grid-column: 1; max-width: 26ch; }
  .lead .indent { display: inline-block; width: 22%; }
}
.about-body .lead em { color: var(--accent); }
.about-body > p:not(.lead) { color: var(--muted); max-width: 46ch; }
.off { margin-top: var(--space-s); }
.off-head { margin-bottom: .6rem; font: 500 var(--step--1)/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.off-list { margin: 0; border-bottom: 1px solid var(--line); }
.off-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--col-gap); align-items: baseline; padding-block: .85rem; border-top: 1px solid var(--line); }
.off-row dt { font: 500 var(--step-2)/1 var(--font-display); letter-spacing: -.04em; text-transform: uppercase; }
.off-row dd { margin: 0; font: italic 400 var(--step-1)/1.2 var(--font-serif); }
.off-row dd em { color: var(--accent); font-size: 1em; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); border-top: 1px solid var(--line); padding-top: var(--space-m); margin-top: var(--space-s); }
.fact b { display: block; font: 500 var(--step-5)/1 var(--font-display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.fact > span { font: 500 var(--step--1)/1.3 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
@media (min-width: 768px) {
  /* the portrait is capped at --about-w, so the text takes everything to its right */
  .about-photo { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + var(--space-m)); }
  .about-body { grid-column: 5 / -1; padding-left: var(--col-gap); }
}

.award-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); margin-bottom: var(--space-xl); padding: 0; list-style: none; }
/* a quiet summary under the section's name, which is already the big type here: the count small, the red on it */
.award-highlights li { border-top: 1px solid var(--line); padding-top: var(--space-s); display: grid; gap: .35rem; }
.award-highlights b { font: 500 var(--step-3)/1 var(--font-display); letter-spacing: -.05em; color: var(--accent); }
.award-highlights span { font-size: var(--step--1); color: var(--muted); }
@media (min-width: 768px) { .award-highlights { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.award-list { border-bottom: 1px solid var(--line); }
html.js .award--more { display: none; }
html.js .award-list.is-open .award--more { display: grid; }
.award-more { margin-top: var(--space-m); }
html:not(.js) .award-more { display: none; }
.award {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: .25rem;
  padding-block: var(--space-s); border-top: 1px solid var(--line); align-items: baseline;
  transition: opacity var(--dur-fast) var(--ease);
}
.award-name { grid-column: 1 / -1; font: 500 clamp(1.15rem, .85rem + .9vw, 1.7rem)/1.15 var(--font-display); letter-spacing: -.025em; text-transform: uppercase; transition: transform var(--dur) var(--ease); }
.award-name em { font: inherit; letter-spacing: inherit; }
.award-project, .award time { font: 500 var(--step--1)/1.4 var(--font-mono); color: var(--muted); }
.award-project { grid-column: 1 / 4; }
.award time { grid-column: 4 / -1; text-align: right; }
@media (min-width: 768px) {
  .award { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .award-name { grid-column: 1 / 8; }
  .award-project { grid-column: 8 / 11; }
  .award time { grid-column: 11 / -1; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
  .award-list:hover .award { opacity: .35; }
  .award-list .award:hover { opacity: 1; }
  .award:hover .award-name { transform: translateX(.35em); }
}
/* the row in hand, after interactive-list-preview (Hyperiux Vault): a red bar slides behind it from row to row and
   its words turn ink; leaving the list, the bar folds down (main.js hoverPreviews(), fine pointers only) */
.award-list { position: relative; }
.award { position: relative; z-index: 1; }
.award-bar {
  position: absolute; left: -.6rem; right: -.6rem; top: 0; z-index: 0; height: var(--h, 0px);
  background: var(--red); pointer-events: none;
  transform: translateY(var(--y, 0px)) scaleY(0); transform-origin: 50% 100%;
  transition: transform .55s var(--ease), height .55s var(--ease);
}
.award-bar.is-on { transform: translateY(var(--y, 0px)) scaleY(1); }
.award-bar.is-jump { transition: none; }
.award.is-hot, .award.is-hot .award-project, .award.is-hot time { color: var(--ink); transition: color .3s var(--ease), opacity var(--dur-fast) var(--ease); }
.award.is-hot .award-name em { color: inherit; }
.work-preview--tall { width: clamp(200px, 17vw, 300px); aspect-ratio: 5 / 7; }
/* the certificate opens upwards out of its frame; the one before closes upwards out of the way */
.work-preview--tall img, .work-preview--tall img.is-on { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path .65s var(--ease); }
.work-preview--tall img.is-on { clip-path: inset(0 0 0 0); }
.work-preview--tall img.is-off { clip-path: inset(0 0 100% 0); }

.contact { text-align: left; }
.contact h2 em { color: var(--accent); }
.contact-row { margin-top: var(--space-xl); row-gap: var(--space-l); align-items: end; }
.contact-mail { grid-column: 1 / -1; display: grid; gap: var(--space-s); }
.contact-mail > a { font: 500 var(--step-4)/1.1 var(--font-display); letter-spacing: -.04em; word-break: break-word; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-s) var(--space-m); }
.contact-meta { grid-column: 1 / -1; display: grid; gap: var(--space-xs); font-size: var(--step--1); color: var(--muted); }
.contact-meta a { color: var(--fg); }
@media (min-width: 768px) {
  .contact-mail { grid-column: 1 / 8; }
  .contact-meta { grid-column: 9 / -1; }
}

main { position: relative; z-index: 1; background: var(--bg); }
.site-footer {
  --bg: var(--ink); --fg: var(--paper); --muted: #9a978f; --line: rgb(242 240 235 / .16); --accent: var(--red); --accent-fg: var(--ink);
  position: relative; z-index: 0; background: var(--bg); color: var(--fg); overflow: hidden;
  min-height: 100vh; min-height: 100svh; display: flex;
}
.site-footer.footer--reveal { position: sticky; bottom: 0; }
html.motion .site-footer { visibility: hidden; }
html.motion .site-footer.is-near, html.motion .site-footer:not(.footer--reveal).is-ready { visibility: visible; }
.footer-inner { display: flex; flex-direction: column; min-height: inherit; padding-block: calc(var(--header-h) + var(--space-m)) var(--space-s); }
.footer-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-l) var(--col-gap); font-size: var(--step--1); }
.fcol { display: grid; gap: .35rem; align-content: start; justify-items: start; }
.fcol .eyebrow { margin-bottom: .35rem; }
.fcol a { padding-block: .1rem; }
.fcol--built { grid-column: 1 / -1; color: var(--muted); }
.fcol--built p { max-width: 40ch; }
.fcol--built b { color: var(--fg); font-weight: 500; }
.fcol--built .line-btn { color: var(--fg); margin-top: .25rem; }
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 2fr 2fr 3fr; }
  .fcol--built { grid-column: auto; }
}

.wordmark {
  margin-top: auto; width: 100%; max-width: none; white-space: nowrap; overflow: hidden;
  font: 700 30vw/.8 var(--font-display); letter-spacing: -.065em; padding-top: .04em;
}
.wordmark .wm-c { display: inline-block; will-change: transform; }
.wordmark .wm-c:last-child { color: var(--red); }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-m); margin-top: var(--space-s);
  font: 500 var(--step--1)/1.4 var(--font-mono); color: var(--muted);
}
.footer-base a { color: var(--fg); }

.case-hero { padding-block: var(--space-xl) var(--space-l); }
.back { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-size: var(--step--1); font-weight: 500; }
/* the way back and the case's place in the list, on one line */
.case-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-s); }
.case-top .sh-idx { width: auto; }
.case-top .sh-idx::after { display: none; }
.case-hero h1 { font: 500 var(--step-7)/.88 var(--font-display); letter-spacing: -.06em; margin-block: var(--space-l) var(--space-m); }
.case-hero .summary { font-size: var(--step-1); line-height: 1.4; max-width: 40ch; }
.case-meta { margin-top: var(--space-xl); border-top: 1px solid var(--line); padding-top: var(--space-m); row-gap: var(--space-m); }
.case-meta div { grid-column: span 2; display: grid; gap: .25rem; align-content: start; font-size: var(--step--1); }
.case-meta dt { font: 500 var(--step--1) var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
@media (min-width: 768px) { .case-meta div { grid-column: span 3; } }
.case-cover { aspect-ratio: 4 / 3; margin-bottom: var(--space-l); view-transition-name: case-cover; }
@media (min-width: 1024px) { .case-cover { aspect-ratio: 16 / 9; } }

/* Page transitions between documents (Chrome, Edge, Safari 18.2+). The old page lifts and dims as the two-colour
   curtain sweeps up over it (red, then ink); the destination's name rises on the ink and holds long enough to be read;
   then the curtain leaves upwards and the new page rises into place under it. The case card's cover flies above it all
   into the case page's cover. Browsers without it keep the GSAP curtain. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
.vt-band { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.vt-band--red { background: var(--red); view-transition-name: vt-red; }
.vt-band--ink { background: var(--ink); color: var(--paper); display: grid; place-items: center; padding: var(--gutter); view-transition-name: vt-ink; }
.vt-band--ink .pt-label { view-transition-name: vt-label; }
::view-transition-group(*) { animation-duration: 1.5s; animation-timing-function: cubic-bezier(.7, 0, .2, 1); }
::view-transition-old(root) { animation: vt-page-out 1.5s linear both; }
::view-transition-new(root) { animation: vt-page-in 1.5s linear both; }
@keyframes vt-page-out {
  0% { transform: none; filter: brightness(1); animation-timing-function: cubic-bezier(.7, 0, .2, 1); }
  34% { transform: translateY(-9vh) scale(.97); filter: brightness(.45); opacity: 1; }
  34.1%, 100% { opacity: 0; }
}
@keyframes vt-page-in {
  0%, 59.9% { opacity: 0; transform: translateY(14vh); }
  60% { opacity: 1; transform: translateY(14vh); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  100% { opacity: 1; transform: none; }
}
::view-transition-group(vt-red) { z-index: 1; }
::view-transition-group(vt-ink) { z-index: 2; }
::view-transition-group(vt-label) { z-index: 3; }
::view-transition-group(case-cover) { z-index: 4; overflow: clip; }
/* red rises first and leaves last, ink rides inside it: in on red, out on red, as the GSAP curtain does */
::view-transition-old(vt-red) { animation: vt-band-red 1.5s linear both; }
::view-transition-old(vt-ink) { animation: vt-band-ink 1.5s linear both; }
::view-transition-old(vt-label) { animation: vt-label 1.5s linear both; }
@keyframes vt-band-red {
  0% { transform: translateY(100%); animation-timing-function: cubic-bezier(.7, 0, .2, 1); }
  28% { transform: translateY(0); }
  70% { transform: translateY(0); animation-timing-function: cubic-bezier(.7, 0, .2, 1); }
  100% { transform: translateY(-100%); }
}
@keyframes vt-band-ink {
  0%, 6% { transform: translateY(100%); animation-timing-function: cubic-bezier(.7, 0, .2, 1); }
  34% { transform: translateY(0); }
  60% { transform: translateY(0); animation-timing-function: cubic-bezier(.7, 0, .2, 1); }
  92%, 100% { transform: translateY(-100%); }
}
@keyframes vt-label {
  0%, 30% { opacity: 0; transform: translateY(45%); clip-path: inset(0 0 100% 0); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  46% { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
  58% { opacity: 1; transform: none; clip-path: inset(0 0 0 0); animation-timing-function: cubic-bezier(.7, 0, .84, 0); }
  68%, 100% { opacity: 0; transform: translateY(-45%); clip-path: inset(100% 0 0 0); }
}::view-transition-old(case-cover), ::view-transition-new(case-cover) { height: 100%; object-fit: cover; }

.case-block { padding-block: var(--space-xl); border-top: 1px solid var(--line); row-gap: var(--space-m); }
/* every chapter of a case opens the same way: its number, as the sections of the home page count theirs, then its name */
.cb-head { grid-column: 1 / -1; display: grid; gap: .9rem; align-content: start; }
.cb-head h2 { margin: 0; font: 500 var(--step-4)/.9 var(--font-display); letter-spacing: -.055em; text-transform: uppercase; }
.case-block .body { grid-column: 1 / -1; display: grid; gap: var(--space-s); }
@media (min-width: 768px) {
  .case-block .cb-head { grid-column: 1 / 5; }
  .case-block .body { grid-column: 6 / -1; }
}
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--col-gap); }
.result { border-top: 1px solid var(--accent); padding-top: var(--space-s); display: grid; gap: .25rem; }
.result b { font: 600 var(--step-5)/1 var(--font-display); letter-spacing: -.045em; color: var(--accent); overflow-wrap: anywhere; }
.result span { font-size: var(--step--1); color: var(--muted); }
.walk { display: grid; gap: var(--space-l); padding-block: var(--space-xl); }
.case-walk { padding-block: var(--space-xl) 0; border-top: 1px solid var(--line); }
.case-walk .walk { padding-block: var(--space-l) var(--space-xl); }
.walk figure { display: grid; gap: var(--space-xs); }
.walk figcaption { font: 500 var(--step--1)/1.4 var(--font-mono); color: var(--muted); }
@media (min-width: 768px) { .walk { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); } .walk figure:first-child { grid-column: 1 / -1; } }
.next-case { display: block; padding-block: var(--space-xl); border-top: 1px solid var(--line); }
.next-case { position: relative; isolation: isolate; padding-block: var(--space-xl) calc(var(--space-xl) * 1.2); transition: color .5s var(--ease); }
/* the next case is the page's finale: under the mouse the red band of the page transitions rises through it, full
   bleed, as on the service lines of the home page, and the name turns ink */
.next-case::before {
  content: ""; position: absolute; z-index: -1; inset: -1px calc(-1 * var(--gutter)); background: var(--red);
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .8s cubic-bezier(.7, 0, .2, 1);
}
.next-case .sh-idx { margin-bottom: var(--space-m); transition: color .5s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .next-case:hover, .next-case:hover .sh-idx { color: var(--ink); }
  .next-case:hover::before { transform: scaleY(1); }
}
.next-case b { display: block; font: 600 var(--step-7)/.88 var(--font-display); letter-spacing: -.06em; transition: transform var(--dur) var(--ease); }
.next-case:hover b { transform: translateX(.15em); }

.notfound { min-height: calc(100svh - var(--header-h)); display: grid; align-content: center; gap: var(--space-l); }
.notfound h1 { font: 500 var(--step-7)/.86 var(--font-display); letter-spacing: -.06em; text-transform: uppercase; }

html.motion [data-reveal] { visibility: hidden; }

html.motion [data-reveal="lines"], html.motion [data-reveal="chars"] { visibility: visible; opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

.muted { color: var(--muted); }
.accent { color: var(--accent); }

.preloader { position: fixed; inset: 0; overflow: hidden; }
.preloader {
  z-index: 901; color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--gutter) * .75) var(--gutter) var(--gutter);
}
.preloader[hidden] { display: none; }
/* the panel is the two bands of the page transitions, ink over red: leaving, the ink lifts first and the red after it */
.pre-red, .pre-ink { position: absolute; inset: 0; }
.pre-red { background: var(--red); }
.pre-ink { background: var(--ink); }
/* the portrait opens behind its mask as the counter climbs, settling from a little larger (main.js loader()) */
.pre-face { position: absolute; left: 50%; top: 50%; z-index: 1; width: clamp(128px, 14vw, 210px); aspect-ratio: 3 / 4; margin: 0; translate: -50% -54%; }
.pre-shot { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius); background: #000; clip-path: inset(100% 0% 0% 0% round 4px); }
.pre-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transform: scale(1.18); }
/* the second portrait rises over the first with a red band on its leading edge, as the page curtain does */
.pre-band, .pre-b { clip-path: inset(100% 0% 0% 0%); }
.pre-band { position: absolute; inset: 0; background: var(--red); }
.pre-mode { display: inline-block; overflow: hidden; vertical-align: top; }
.pre-mode span { display: inline-block; }
.pre-cap {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); display: flex; justify-content: space-between;
  font: 500 10.5px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; opacity: .6; font-variant-numeric: tabular-nums;
}
.pre-word span { display: block; }
@media (max-width: 767px) { .pre-face { translate: -50% -70%; } }
.pre-top, .pre-bottom { position: relative; z-index: 1; }
.pre-top { display: flex; justify-content: space-between; font: 500 var(--step--1)/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .04em; }
.pre-top .pre-brand { font: 700 var(--step-1)/1 var(--font-display); text-transform: none; letter-spacing: -.04em; }
.pre-top .pre-brand i { color: var(--red); }
.pre-top .pre-meta { opacity: .6; }
.pre-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-m); }
.pre-label { margin: 0 0 .6rem; font: 500 var(--step--1)/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .04em; opacity: .6; }
.pre-count { display: flex; align-items: flex-end; font: 600 clamp(3.2rem, 12.5vw, 12rem)/1 var(--font-display); color: var(--red); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.pre-digit { display: block; height: 1em; overflow: hidden; transition: opacity .4s; }
.pre-digit.is-lead { opacity: .18; }
.pre-sep { width: .14em; flex: none; }
.pre-strip { display: flex; flex-direction: column; transform: translateY(calc(var(--d, 0) * -1em)); transition: transform var(--t, .6s) cubic-bezier(.65, 0, .35, 1); }
.pre-strip span { display: block; height: 1em; line-height: 1em; text-align: center; }
.pre-percent { font-size: .22em; line-height: 1; margin-left: .12em; padding-bottom: .1em; }
.pre-word { margin: 0; font: italic clamp(2rem, 4.5vw, 4rem)/.95 var(--font-serif); padding: 0 .1em .12em 0; text-align: right; }
@media (max-width: 767px) { .pre-word { text-align: left; } }
.pre-bar { position: absolute; z-index: 1; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; }
@media (max-width: 767px) { .pre-bottom { flex-direction: column-reverse; align-items: flex-start; } }

.pt { position: fixed; inset: 0; z-index: 880; pointer-events: none; visibility: hidden; }
.pt-red, .pt-ink { position: absolute; inset: 0; transform: translateY(100%); will-change: transform; }
.pt-red { background: var(--red); }
.pt-ink { background: var(--ink); color: var(--paper); display: grid; place-items: center; padding: var(--gutter); }
.pt-label { max-width: 14ch; margin-inline: auto; font: 600 clamp(2.75rem, 1rem + 7vw, 9.5rem)/.88 var(--font-display); letter-spacing: -.055em; text-align: center; text-wrap: balance; overflow: hidden; padding-bottom: .1em; }
.pt-label span { display: inline-block; }
html.pt-arrive .pt { visibility: visible; }
html.pt-arrive .pt-red, html.pt-arrive .pt-ink { transform: none; }
.pt-shot { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; visibility: hidden; will-change: transform; }
.pt-shot img { width: 100%; height: 100%; object-fit: cover; }
html.pt-arrive.pt-photo .pt-shot { visibility: visible; }
html.pt-arrive.pt-photo .pt-label { visibility: hidden; }



/* film grain on the dark scenes only (the preloader, the credits, the footer), so they read as film and the paper
   stays clean: an SVG noise tile, shifted a few times a second */
.preloader::after, .credits::after, .site-footer::after {
  content: ""; position: absolute; inset: -50%; z-index: 28; pointer-events: none; opacity: .09;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.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 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .6s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-6%, 4%); } 50% { transform: translate(5%, -7%); } 75% { transform: translate(-3%, -4%); } 100% { transform: translate(4%, 6%); } }
@media (prefers-reduced-motion: reduce) { .preloader::after, .credits::after, .site-footer::after { animation: none; } }

.roll { display: inline-block; overflow: hidden; vertical-align: top; line-height: inherit; }
.roll__char { display: inline-block; text-shadow: 0 1lh currentColor; transition: transform .55s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--i) * 18ms); }
a:hover .roll__char, a:focus-visible .roll__char, button:hover .roll__char, button:focus-visible .roll__char { transform: translateY(-1lh); }
.line-btn {
  position: relative; display: inline-flex; align-items: center; gap: .9rem; min-height: 44px; padding: .55rem 0 .6rem;
  font: 600 .8rem/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: inherit;
}
.line-btn::before, .line-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: .35rem; height: 1px; background: currentColor; }
.line-btn::before { transform-origin: right; transition: transform .5s cubic-bezier(.65, 0, .35, 1); }
.line-btn::after { transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.65, 0, .35, 1) .28s; }
.line-btn:hover::before, .line-btn:focus-visible::before { transform: scaleX(0); }
.line-btn:hover::after, .line-btn:focus-visible::after { transform: scaleX(1); }
.line-btn svg { width: .75rem; height: .75rem; flex: none; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.line-btn:hover svg { transform: translate(.2rem, -.2rem); }
.lb-plus { display: inline-block; width: .75rem; text-align: center; font: 500 1rem/1 var(--font-mono); transition: transform .45s cubic-bezier(.65, 0, .35, 1); }
[aria-expanded="true"] > .lb-plus { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .roll__char, .pre-strip, .mc-i, .burger i, .burger i::before, .burger i::after { transition: none; } }



.sl-mask { padding-bottom: .14em; margin-bottom: -.14em; }

.hero { position: relative; isolation: isolate; }
.hero-lens { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }

.hold { cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
.hold svg { width: 1.15em; height: 1.15em; transform: rotate(-90deg); fill: none; stroke-width: 2; }
.hold:hover svg { transform: rotate(-90deg); }
.hold-track { stroke: currentColor; opacity: .25; }
.hold-ring { stroke: var(--accent); stroke-dasharray: 50.27; stroke-dashoffset: 50.27; transition: stroke-dashoffset .25s var(--ease); }
.hold.is-holding .hold-ring { stroke-dashoffset: 0; transition: stroke-dashoffset .8s linear; }
.hold[aria-pressed="true"] .hold-ring { stroke-dashoffset: 0; }
.hold.is-nudge { animation: hold-nudge .42s var(--ease); }
.hold.is-hint .hold-ring { animation: hold-hint 1.4s var(--ease); }
@keyframes hold-nudge { 25% { transform: translateX(-4px); } 60% { transform: translateX(4px); } }
@keyframes hold-hint { 0% { stroke-dashoffset: 50.27; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 50.27; } }
@media (prefers-reduced-motion: reduce) { .hold.is-nudge, .hold.is-hint .hold-ring { animation: none; } }

.work-name, .case-hero h1, .next-case b, .pt-label { text-transform: uppercase; }
.work-name { font-size: clamp(2rem, 1.2rem + 2.8vw, 4rem); letter-spacing: -.03em; }
.case-hero h1, .next-case b { letter-spacing: -.045em; }
.case-hero h1, .next-case b { font-size: min(var(--step-7), calc((100vw - 2 * var(--gutter)) / 7.2)); }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; align-items: center; align-content: center; }
.tags li { display: inline-flex; align-items: center; min-height: 36px; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); font: 500 var(--step--1)/1 var(--font-mono); text-transform: uppercase; letter-spacing: .04em; }
.case-awards { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.case-awards li { display: flex; justify-content: space-between; gap: var(--space-s); padding-block: .85rem; border-top: 1px solid var(--line); font: 500 var(--step-1)/1.2 var(--font-display); letter-spacing: -.02em; }
.case-awards time { font: 500 var(--step--1)/1.6 var(--font-mono); color: var(--muted); white-space: nowrap; }
.walk .frame { aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .walk--one { grid-template-columns: 1fr; } }

.roll-words { display: inline; }
.roll { white-space: nowrap; }
@media (min-width: 768px) { .walk--two figure:first-child { grid-column: auto; } }

.case-film { padding-block: var(--space-xl); border-top: 1px solid var(--line); }
.film-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-s); margin-bottom: var(--space-l); }
.film-meta { display: flex; align-items: center; gap: var(--space-m); }
.film-head h2 { margin: 0; }
.film { display: grid; gap: var(--space-xs); margin: 0; }
.film-screen { aspect-ratio: 16 / 10; outline: 1px solid var(--line); }
.film-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.film-cues { position: absolute; inset: 0; pointer-events: none; }
.film-cue {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  border: 1px dashed var(--red); opacity: 0; transform: scale(.985);
  transition: opacity .35s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
}
.film-cue.on { opacity: 1; transform: none; }
.film-cue b {
  position: absolute; left: -1px; bottom: 100%; margin-bottom: 3px; padding: .35em .55em; white-space: nowrap;
  font: 500 .6875rem/1 var(--font-mono); background: var(--red); color: var(--ink);
}
.film-time { position: absolute; right: .6rem; bottom: .6rem; padding: .35em .55em; font: 500 .6875rem/1 var(--font-mono); font-variant-numeric: tabular-nums; background: var(--ink); color: var(--paper); }
.film figcaption { font: 500 var(--step--1)/1.4 var(--font-mono); color: var(--muted); max-width: 70ch; }
@media (max-width: 767px) { .film-cue b { font-size: .625rem; } }
@media (prefers-reduced-motion: reduce) { .film-cue { transition: none; } }
.case-about { font-size: var(--step-1); line-height: 1.45; max-width: 46ch; }

.cursor { position: fixed; left: 0; top: 0; z-index: 2000; width: 8px; height: 8px; border-radius: 4px; pointer-events: none;
  background: var(--fg); border: 1px solid transparent; opacity: 0; transition: opacity .25s, background-color .25s, border-color .25s; will-change: transform; }
.cursor.is-on { opacity: 1; }
.cursor.is-snap { background: color-mix(in srgb, var(--fg) 6%, transparent); border-color: color-mix(in srgb, var(--fg) 55%, transparent); }
.cursor.is-big { background: transparent; border-color: var(--fg); }
.cursor { display: grid; place-items: center; }
.cursor::after { content: attr(data-label); font: 500 11px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-fg); opacity: 0; transition: opacity .2s; }
.cursor[data-label]:not([data-label=""]) { background: var(--accent); border-color: var(--accent); }
.cursor[data-label]:not([data-label=""])::after { opacity: 1; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor :is(input, textarea, select, [contenteditable]) { cursor: auto !important; }

/* ---------- Selected work: cover render (work.js) ---------- */
/* the curtain on a picture: the red and ink bands of the page transitions, lifted off on scroll (main.js curtains()) */
.curtain { position: absolute; inset: 0; z-index: 3; display: none; pointer-events: none; }
html.motion .curtain { display: block; }
.curtain[hidden] { display: none; }
.curtain i { position: absolute; inset: -1px; }
.curtain i:first-child { background: var(--red); }
.curtain i:last-child { background: var(--ink); }
.case-media.is-playing video { opacity: 1; }
.case-file { position: absolute; left: 12px; bottom: 12px; z-index: 3; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 6px 8px; font: 500 10px/1 var(--font-mono); letter-spacing: .04em; background: var(--bg); color: var(--fg); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.case-file:empty { display: none; }
.case-media.is-rendering .case-file { opacity: 1; }
@media (hover: hover) { .case-inner:hover .case-file { opacity: 1; } }

/* "How I work": three cards. With motion they stack: each one sticks under the header and the next slides over it. */
.px-rules { display: grid; gap: var(--space-l); }
.px-rules > li { display: flex; flex-direction: column; gap: var(--space-m); padding: var(--space-l); border-radius: var(--radius); background: var(--surface); color: var(--fg); }
/* monochrome cards, surface and its inverse in turn, so each one that slides over the last reads against it;
   the red is only in the rule numbers */
.px-rules > li:nth-child(2) { background: var(--fg); color: var(--bg); }
.px-rules h3 { font: 500 var(--step-3)/.95 var(--font-display); letter-spacing: -.045em; text-transform: uppercase; margin-block: .35em .4em; }
.px-rules p { color: inherit; opacity: .72; max-width: 30ch; }
.px-n { font: 500 var(--step--1)/1 var(--font-mono); color: var(--accent); letter-spacing: .04em; }
@media (min-width: 768px) { .px-rules { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); } }

html.motion .px-rules { grid-template-columns: none; gap: 10vh; padding-bottom: 6vh; }
html.motion .px-rules > li {
  position: sticky; top: calc(var(--header-h) + var(--space-s) + var(--i, 0) * 18px);
  min-height: min(68svh, 640px); justify-content: space-between; transform-origin: 50% 0;
}
html.motion .px-rules > li:nth-child(2) { --i: 1; }
html.motion .px-rules > li:nth-child(3) { --i: 2; }
html.motion .px-rules h3 { font-size: var(--step-6); max-width: 14ch; }
html.motion .px-rules p { font-size: var(--step-1); }
@media (max-width: 767px) {
  html.motion .px-rules > li { min-height: 60svh; padding: var(--space-m); }
  html.motion .px-rules h3 { font-size: var(--step-4); }
}

/* The first screen and the reel are one pinned scene: the window set in the headline, between "Paul" and "Vlassis",
   opens to the full screen, then shrinks into the slot beside the statement (main.js reel()).
   Without motion: the headline, the statement, then the film below it. */
.reel { position: relative; }
.h1-slot {
  display: inline-block; width: 1.9em; height: .7em; margin-inline: .06em .1em; vertical-align: baseline;
  border-radius: var(--radius); background: var(--ink); transform-origin: 50% 100%;
}
@media (max-width: 767px) { .h1-slot { width: 1.25em; } }
.hero-foot { align-items: center; }
/* The annotated page: Paul comments his own page the way code is commented. A red number in the text, and beside it,
   set off the grid on purpose, a note in mono that starts with //. Some notes are measured live (main.js notes()). */
.note { display: flex; gap: .6em; align-items: baseline; max-width: 34ch; margin: 0; font: 400 11px/1.5 var(--font-mono); letter-spacing: .01em; color: var(--muted); }
.note code { font: inherit; }
.note-n { flex: none; font-weight: 500; color: var(--accent); }
.note:target { color: var(--fg); }
.fn { font: 500 .26em/1 var(--font-mono); letter-spacing: 0; vertical-align: super; margin-left: .25em; }
.fn a { color: var(--accent); }
.hero-foot .note { grid-column: 1 / -1; }
@media (min-width: 768px) { .hero-foot .note { grid-column: 3 / 7; } }
.px-rules .note { margin-top: auto; align-self: flex-end; text-align: right; color: inherit; opacity: .6; }
.px-rules > li:nth-child(2) .note-n { color: var(--accent); }
.note--facts { margin-left: calc(66.66% + var(--col-gap) / 3); }
@media (max-width: 767px) { .note--facts { margin-left: 0; } }

/* the headline's words switch voice under the mouse: grotesk capitals roll up into the serif italic, and back
   (main.js heroType()) */
.hw { position: relative; display: inline-block; vertical-align: top; clip-path: inset(-.08em -.25em -.18em -.08em); }
.hw-a, .hw-b { display: inline-block; white-space: nowrap; }
.hw-b { position: absolute; left: 0; top: 0; font: italic 400 1.06em var(--font-serif); line-height: inherit; letter-spacing: -.02em; text-transform: none; color: var(--accent); }
.hw-b--sans { font: 500 .94em var(--font-display); line-height: inherit; letter-spacing: -.07em; text-transform: uppercase; color: var(--fg); }
.hc { display: inline-block; transition: transform .6s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--i) * 22ms); }
.hw-b .hc { transform: translateY(150%); }
.hw:hover .hw-a .hc { transform: translateY(-150%); }
.hw:hover .hw-b .hc { transform: none; }
@media (prefers-reduced-motion: reduce) { .hc { transition: none; } }
.reel-text { display: grid; gap: var(--space-l); padding: var(--space-section) var(--gutter) var(--space-l); }
.reel-text .st-text { font-size: clamp(2rem, .6rem + 4.2vw, 5.5rem); }
.reel-slot { display: none; }
.reel-mask { position: relative; overflow: hidden; margin-inline: var(--gutter); aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--ink); }
.reel-media { position: absolute; inset: 0; will-change: transform; }
.reel-media :is(picture, img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-media video { opacity: 0; transition: opacity .8s var(--ease); }
.reel.is-playing .reel-media video { opacity: 1; }
.reel-cap { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: var(--space-m); display: flex; justify-content: space-between; gap: 1rem;
  margin: 0; color: #f2f0eb; font: 500 var(--step--1)/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 1px 12px rgb(0 0 0 / .45); }

html.motion .reel { height: 100vh; height: 100svh; overflow: hidden; margin-top: calc(-1 * var(--header-h)); }
html.motion .reel > .hero { position: absolute; inset: 0; z-index: 1; min-height: 0; padding-top: calc(var(--header-h) + var(--space-xl)); }
html.motion .reel-text {
  position: absolute; inset: 0; z-index: 1; align-items: center; align-content: center;
  grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
  padding: calc(var(--header-h) + var(--space-m)) var(--gutter) var(--space-l);
}
html.motion .reel-text .st-text { grid-column: 1 / -1; font-size: clamp(2.2rem, .6rem + 4.8vw, 6.6rem); visibility: hidden; }
.reel-text .st-text { text-indent: 25%; }
.reel-text .st-label { grid-row: 1; grid-column: 1 / -1; align-self: start; padding-top: 1.2em; }
html.motion .reel-text .st-text { grid-row: 1; }
html.motion .reel-text .st-label { grid-column: 1 / 4; visibility: hidden; }
/* the film docks into this box, floated into the paragraph so the words wrap around it */
html.motion .reel-slot { display: block; float: right; width: clamp(9rem, 30%, 28rem); aspect-ratio: 16 / 10; margin: .12em 0 .25em .45em; }
/* the mask's box is set by main.js, from the headline's window; it shows once the headline has risen into place */
html.motion .reel-mask { position: absolute; z-index: 2; left: 0; top: 0; width: 0; height: 0; margin: 0; aspect-ratio: auto; opacity: 0; transition: opacity .7s var(--ease); }
html.motion.hero-in .reel.is-ready .reel-mask { opacity: 1; }
/* with WebGL the mask covers the whole scene and main.js clips it to the card; the canvas never changes size */
.reel-gl { display: none; }
html.motion .reel--gl .reel-mask { inset: 0; width: auto; height: auto; border-radius: 0; }
html.motion .reel--gl .reel-media { display: none; }
html.motion .reel--gl .reel-gl { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 767px) {
  html.motion .reel-text { grid-template-columns: minmax(0, 1fr); align-content: start; row-gap: var(--space-m); }
  html.motion .reel-text .st-text { font-size: 10vw; line-height: .98; }
  html.motion .reel-slot { width: 46%; }
}

/* Images drift inside their frames on scroll: the image is taller than the frame and slides inside it */
html.motion .about-shot picture { position: absolute; inset: 0; }
html.motion :is(.case-media, .about-shot) img { height: 114%; }

/* the menu's frame: the wordmark, its letters rising when the menu opens */
.menu-wm { display: flex; align-items: center; justify-content: center; background: none; }
.menu-wm-t { display: flex; overflow: hidden; padding-top: .06em; font: 700 clamp(3rem, 12vw, 5.5rem)/.9 var(--font-display); letter-spacing: -.065em; }
.menu-wm-c { display: inline-block; }
.menu-wm-c:last-child { color: var(--red); }


/* Footer: the wordmark rebuilt from its pixels (wordmark.js); the letters stay for layout */
.wordmark { position: relative; }

/* 404 */
.nf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-s) var(--space-m); }


/* The page's column lines: six columns, fixed, drawn inside main's own layer so they sit on its background
   Sections with their own colour paint over them. */
main::before {
  content: ""; position: fixed; z-index: -1; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(100%, var(--max)); padding-inline: var(--gutter); box-sizing: border-box; pointer-events: none;
  border-right: 1px solid transparent;
  background: repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px calc(100% / 6)) content-box,
              linear-gradient(var(--grid-line), var(--grid-line)) right var(--gutter) top 0 / 1px 100% no-repeat;
}
@media (max-width: 767px) { main::before { background: repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px calc(100% / 2)) content-box, linear-gradient(var(--grid-line), var(--grid-line)) right var(--gutter) top 0 / 1px 100% no-repeat; } }
