/* ============================================================================
   THA — Talal El Hassan Architects
   Design system.

   Inter throughout; ink #181213, off-white #F7F7F2, light #EEECEC, gold #CC953D,
   grey #75716E, dark #3B3735. Square corners, no shadows, 12px wide-tracked
   small caps for navigation and labels, and a lot of empty space.

   The home's statement screens, its news screen and the footer are the
   exceptions, and they are the source's own numbers: 4.8rem/500 headings (48px
   at 1440), 1.7rem/300 body copy, and the footer's destinations as body-size
   links rather than small caps.

   Two rules hold everywhere in this file:

   1. Nothing is withheld. There is no `opacity: 0` and no `visibility: hidden`
      on content, so a section with no records, or a script that never arrives,
      leaves a readable page rather than an empty one. The two home screens that
      arrive with a fade are armed by the script that reveals them (ok-reveal-
      armed), and nothing else is ever hidden.
   2. Exactly one thing is ever blurred: a statement screen's text wrapper as
      that screen leaves (`.ok-panel__textwrap.fade-out`), and the slideshow's
      arrows and counter as that section leaves (`.slideshow__foot.fade-out`).
      The screens, the film, the page and every hover state stay sharp.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens -- */
:root {
    --ink: #181213;
    --paper: #F7F7F2;
    --light: #EEECEC;
    --gold: #CC953D;
    --grey: #75716E;
    --dark: #3B3735;
    --alert: #B24A3F;

    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;

    --header-h: 78px;
    --gutter: clamp(18px, 3.2vw, 56px);
    --label: 12px;
    --track: .16em;

    --ease: cubic-bezier(.22, .61, .36, 1);

    --statement: clamp(28px, 3.2vw, 46px);

    /* The source's own scale, converted at 1440 (its 1rem is 10px): 4.8rem is
       48px, 1.7rem is 17px. The home's statements and its news headline take
       48px at 1440 and step down with the viewport, never below 26px. */
    --statement-home: clamp(26px, 3.333vw, 48px);
    --body-home: 17px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    background: var(--ink);
    scroll-behavior: smooth;
    /* Gentle snapping: the statement panels and the sections below them line up
       with the viewport without ever trapping a scroll. */
    scroll-snap-type: y proximity;
    /* The home panels are inserted above the viewport when Base answers, after
       the first paint. Scroll anchoring would keep whatever was on screen in
       place and open the page past the statements; the route holds its own top
       instead (site.js → okHoldTop). */
    overflow-anchor: none;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-anchor: none;
    /* `clip` rather than `hidden`: it prevents a stray horizontal scrollbar
       without turning <body> into a scroll container, which would take the
       scroll away from <html> and with it the snapping. */
    overflow-x: clip;
}

/* The loading screen holds the scroll until the first view has its data. */
body.ok-booting { overflow: hidden; }

/* Only the phone menu locks the page. */
html.ok-menu-open { overflow: hidden; }

/* The view content is mounted into the layout's <main body>. Giving it a
   stacking context of its own means no view can ever paint over the fixed
   header, however it layers its screens, films or slides — and it is what puts
   the page above the fixed footer, which shows through the room reserved for it
   at the end of the page (--footer-h, measured in site.js → okFooterHeight). */
[body] {
    position: relative;
    z-index: 1;
    padding-bottom: var(--footer-h, 0px);
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video { display: block; max-width: 100%; border: 0; }

h1, h2, h3, p, figure, blockquote { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

input,
textarea {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 1px solid var(--gold);
    outline-offset: 3px;
}

/* ------------------------------------------------------- shared typography -- */
.ok-label {
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--grey);
}

.ok-h1 {
    font-size: clamp(34px, 6.2vw, 88px);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: -.02em;
}

.ok-h2 {
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -.015em;
}

/* The big statement a Section record carries as its Title. */
.ok-statement {
    font-size: var(--statement);
    font-weight: 300;
    line-height: 1.25;
    letter-spacing: -.01em;
    max-width: 60ch;
    text-wrap: pretty;
}

/* A quiet empty state: the section says what it is waiting for, in the same
   12px wide-tracked voice as the labels. It is never a blank area. */
.ok-empty {
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--grey);
    max-width: 52ch;
    line-height: 1.8;
}

/* Carries the page's one <h1> where the design has no visible one. */
.ok-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.ok-back {
    display: inline-block;
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .42em;
    text-decoration-thickness: 1px;
}

.ok-back:hover { color: var(--gold); }

/* The one link a statement carries. */
.ok-cta {
    display: inline-block;
    margin-top: clamp(20px, 2.6vw, 34px);
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .5em;
    transition: color .3s var(--ease);
}

.ok-cta:hover { color: var(--gold); }

/* HTML that comes out of Base as HTML: project descriptions, office blocks. */
.ok-html { line-height: 1.65; }

.ok-html p { margin: 0 0 .9em; }
.ok-html p:last-child { margin-bottom: 0; }

.ok-html a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .16em;
    transition: color .3s var(--ease);
}

.ok-html a:hover { color: var(--gold); }

.ok-html ul { list-style: disc; padding-left: 1.1em; }
.ok-html strong { font-weight: 500; }

/* =========================================================== LOADING SCREEN == */
/* Painted by index.html before any script runs. site.js fades it out
   (.is-gone) as soon as a view has its first data back, and a six-second timer
   removes it regardless, so it can never hold the page. The breathing is on the
   logo only. */
.ok-boot {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--paper);
    transition: opacity .6s var(--ease);
}

.ok-boot.is-gone {
    opacity: 0;
    pointer-events: none;
}

.ok-boot svg {
    height: 2.2rem;
    width: auto;
    display: block;
    animation: ok-breathe 2.4s ease-in-out infinite;
}

@keyframes ok-breathe {
    0%, 100% { opacity: .34; transform: scale(.985); }
    50% { opacity: 1; transform: scale(1); }
}

/* Scripting off: index.html's noscript block takes over from the loader. */
.ok-nojs {
    min-height: 100svh;
    padding: clamp(48px, 10vw, 120px) var(--gutter);
    background: var(--ink);
    color: var(--paper);
}

.ok-nojs svg { height: 2.2rem; width: auto; display: block; }

.ok-nojs__title {
    margin-top: clamp(32px, 6vw, 72px);
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 300;
    letter-spacing: -.01em;
}

.ok-nojs__note {
    margin-top: 18px;
    max-width: 54ch;
    color: rgba(247, 247, 242, .72);
}

.ok-nojs__nav {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
}

.ok-nojs__nav a { text-decoration: underline; text-underline-offset: .5em; }

/* ================================================================ HEADER === */
.ok-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 120;
    height: var(--header-h);
    display: flex;
    align-items: center;
    color: var(--paper);
    background: transparent;
    opacity: 1;
    visibility: visible;
    transition: background-color .45s var(--ease), color .45s var(--ease);
}

.ok-header.is-solid {
    background: var(--ink);
    color: var(--paper);
}

/* While the light menu is open the bar above it is light too, so the logo, the
   two icon buttons and the motion toggle stay legible over the panel. */
html.ok-menu-open .ok-header,
html.ok-menu-open .ok-header.is-solid {
    background: var(--light);
    color: var(--ink);
}

/* A page whose top is paper-coloured starts with dark type and a dark logo, so
   a transparent header cannot vanish into it. Over media it stays off-white. */
html[data-header-theme="light"] .ok-header:not(.is-solid) { color: var(--ink); }

.ok-header__inner {
    width: 100%;
    padding-inline: var(--gutter);
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 54px);
}

.ok-header__brand {
    display: block;
    color: inherit;
    line-height: 0;
}

.ok-brand {
    height: 2.2rem;
    width: auto;
    display: block;
    color: currentColor;
}

/* The six destinations, centred in the bar whatever sits either side of them. */
.ok-header__nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.5vw, 28px);
}

.ok-nav__link {
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: .55em;
    text-decoration-thickness: 1px;
    transition: text-decoration-color .3s var(--ease), color .3s var(--ease);
    white-space: nowrap;
}

.ok-nav__link:hover { text-decoration-color: currentColor; }

.ok-header__tools {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 14px);
    margin-left: auto;
}

/* The two small square icon buttons: search and menu. */
.icon-btn {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid currentColor;
    color: inherit;
    transition: background-color .3s var(--ease), color .3s var(--ease);
}

.icon-btn svg { width: 14px; height: 14px; display: block; }

/* A neutral wash, so the same hover reads on the dark bar over media and on the
   paper-coloured one. */
.icon-btn:hover { background: rgba(128, 128, 128, .22); }

.icon-btn--menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    align-items: center;
}

.icon-btn--menu span {
    display: block;
    width: 14px;
    height: 1px;
    background: currentColor;
    transition: transform .35s var(--ease), opacity .25s var(--ease);
}

.icon-btn--menu.is-open span:first-child { transform: translateY(3px) rotate(45deg); }
.icon-btn--menu.is-open span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* The motion toggle: two small squares and its label. */
.ok-motion {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: inherit;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: .5em;
    transition: text-decoration-color .3s var(--ease), color .3s var(--ease);
    white-space: nowrap;
}

.ok-motion:hover { text-decoration-color: currentColor; }

.ok-motion__squares {
    display: inline-flex;
    gap: 3px;
}

.ok-motion__squares i {
    display: block;
    width: 5px;
    height: 5px;
    background: currentColor;
    transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}

.ok-motion.is-off { color: var(--gold); }

.ok-motion.is-off .ok-motion__squares i {
    background: transparent;
    box-shadow: inset 0 0 0 1px currentColor;
}

/* ============================================================= FULL MENU == */
/* The source's menu, the same panel at every width: a light #EEECEC sheet with
   dark #181213 type, opened from the header's menu button. Shut means
   display:none, open fades in, so nothing here is a hidden state waiting on a
   class. The header stays above the sheet, which is why the panel starts below
   it and carries its own close button. */
.ok-menu {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: var(--light);
    color: var(--ink);
    padding: calc(var(--header-h) + clamp(16px, 3vw, 40px)) 0 clamp(32px, 5vw, 64px);
    overflow-y: auto;
    display: none;
}

.ok-menu.is-open {
    display: block;
    animation: ok-fade .4s var(--ease) both;
}

.ok-menu__inner { position: relative; }

.ok-menu__close {
    position: absolute;
    top: 0;
    right: var(--gutter);
    font-size: 26px;
    line-height: 1;
    color: var(--ink);
    transition: color .3s var(--ease);
}

.ok-menu__close:hover { color: var(--gold); }

.ok-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(4px, 1vw, 12px);
    max-width: 1100px;
}

.ok-menu__group { display: block; }

.ok-menu__link {
    display: inline-block;
    font-size: clamp(22px, 3.4vw, 40px);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -.01em;
    transition: color .3s var(--ease);
}

.ok-menu__link:hover { color: var(--gold); }

/* Projects expanded: All projects, then the categories the records carry. */
.ok-menu__sub {
    display: flex;
    flex-wrap: wrap;
    gap: 6px clamp(14px, 2vw, 26px);
    margin: clamp(6px, 1vw, 12px) 0 clamp(10px, 1.6vw, 18px);
}

.ok-menu__sublink {
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--grey);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: .5em;
    text-decoration-thickness: 1px;
    transition: color .3s var(--ease), text-decoration-color .3s var(--ease);
}

.ok-menu__sublink:hover {
    color: var(--ink);
    text-decoration-color: currentColor;
}

.ok-menu__note {
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--grey);
}

/* ================================================================ SEARCH == */
/* A dark overlay with the field at the top; every project title is filtered as
   the visitor types. Shut means display:none, exactly like the menu. */
.ok-search {
    position: fixed;
    inset: 0;
    z-index: 130;
    background: rgba(24, 18, 19, .97);
    color: var(--paper);
    padding: clamp(24px, 5vw, 60px) 0;
    overflow-y: auto;
    display: none;
}

.ok-search.is-open {
    display: block;
    animation: ok-fade .3s var(--ease) both;
}

.ok-search__bar {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding-bottom: clamp(10px, 1.4vw, 16px);
    border-bottom: 1px solid rgba(247, 247, 242, .28);
}

.ok-search__input {
    flex: 1;
    min-width: 0;
    padding: .2em 0;
    background: transparent;
    border: 0;
    color: var(--paper);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 300;
    letter-spacing: -.01em;
}

.ok-search__input::placeholder { color: rgba(247, 247, 242, .45); }
.ok-search__input:focus { outline: none; }

.ok-search__close {
    flex: none;
    font-size: 26px;
    line-height: 1;
    color: var(--paper);
    transition: color .3s var(--ease);
}

.ok-search__close:hover { color: var(--gold); }

.ok-search__list {
    margin-top: clamp(16px, 3vw, 32px);
    display: flex;
    flex-direction: column;
}

.ok-search__link {
    display: block;
    padding: .5em 0;
    font-size: clamp(15px, 1.6vw, 19px);
    color: rgba(247, 247, 242, .86);
    border-bottom: 1px solid rgba(247, 247, 242, .08);
    transition: color .3s var(--ease);
}

.ok-search__link:hover { color: var(--paper); }

.ok-search__note {
    margin-top: clamp(16px, 2.4vw, 26px);
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: rgba(247, 247, 242, .55);
}

/* =============================================================== LAYOUT === */
/* The source's wrap: full width, the page gutter either side. Every screen's
   copy sits in one of these. */
.wrap {
    width: 100%;
    padding-inline: var(--gutter);
}

/* .text-wrap, .wide and .hero are the source's structural class names — the copy
   column of a screen, its wide measure and the closing hero screen. The measure
   is carried by the type itself (60ch on a statement), so only the full-width
   variant needs a rule of its own. */
.full-width { width: 100%; }

/* The home's one column. It holds the fixed film, the statement screens and the
   screens below them; nothing in it is positioned except the screens, so the
   film's fixed layer and the screens' z order (1..n) are compared in the same
   context as the page. */
.home-wrap {
    position: relative;
    background: var(--ink);
    color: var(--paper);
}

/* ======================================================= THE FIXED FILM === */
/* ONE fixed background layer for the whole run of statement screens: the height
   of the screen, black, .875 — and it holds one .section-image per screen, all
   of them stacked in the same place. Only the layer of the screen in view is at
   full strength; the others crossfade out over .9s and back in as their screen
   returns (site.js → okFilmCrossfade). Because the film lives here and never
   inside a screen, it can never scroll away from one. */
/* One id, so the .steel-bg utility on the same element cannot repaint it: this
   layer is black by definition, and its film sits on top of that at .875. */
#home-videos {
    position: fixed;
    inset: 0;
    height: 100vh;          /* fallback for browsers without lvh */
    height: 100lvh;
    z-index: 0;
    background: #000;
    opacity: .875;
    overflow: hidden;
    pointer-events: none;
}

.home-videos .section-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .9s linear;
}

.home-videos .section-image.is-on { opacity: 1; }

.section-image { margin: 0; }

.section-image__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* No film to be had — the request failed, so the element steps out of the way
   and the screen keeps its own black background instead. */
.section-image__video.is-failed { display: none; }

.section-image__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(0, 0, 0, .74) 0%,
        rgba(0, 0, 0, .46) 46%,
        rgba(0, 0, 0, .2) 100%);
    pointer-events: none;
}

/* ==================================================== STATEMENT SCREENS === */
.home-screens { position: relative; }

/* Each screen is a full screen tall, transparent, and stacked in its own z
   order (1..n, set inline from the record's place in the order) so the one
   arriving covers the one leaving. No media of its own: the fixed layer above
   shows through it. */
.home-screen {
    position: relative;
    height: 100vh;          /* fallback for browsers without svh */
    height: 100svh;
    display: flex;
    /* Statement low in the frame, plenty of sky above it. */
    align-items: flex-end;
    overflow: hidden;
    background: transparent;
    scroll-snap-align: start;
}

/* A statement screen advances on a click: the pointer says so, and the screen is
   focusable (tabindex="0" in home.view) so Enter does the same. The cursor is
   the only thing that changes here — the box, the type, the padding and the
   film are the screen's own (site.js → okAdvance). Text stays selectable: a
   drag that selects, or that scrolls the page, is not treated as a click. */
.home-screen[data-advance] { cursor: pointer; }

/* Focused from the keyboard: the same 1px gold ring every other focus uses,
   drawn inside the screen's own box so it is visible on all four edges at the
   edge of the viewport. Appearance only — no size, no position. */
.home-screen[data-advance]:focus-visible { outline-offset: -3px; }

/* The type block of a statement screen, measured off the source: 7 of the 12
   columns minus the gutter (1087.5px at 1440), 30px of padding all round, its
   left edge at x=0 and its bottom edge exactly on the bottom edge of the 100svh
   screen — the screen is a flex row aligned to its end, so nothing floats it up
   into the middle of the frame. #last-screen is the same block (below). */
.home-screen > .wrap {
    width: 100%;
    max-width: 1087.5px;
    padding: 30px;
}

/* ---- the scroll blur -------------------------------------------------------
   The text wrapper, and only the text wrapper, is filtered. It starts sharp
   (filter none) and the screen in view always keeps it so; the screen that
   leaves — the next one has taken the middle of the screen — gets .fade-out,
   and the blur eases in over .8s linear. Nothing here touches opacity,
   transform or scale, and no ancestor ever carries a filter. */
.ok-panel__textwrap {
    filter: none;
    transition: filter .8s linear;
}

.ok-panel__textwrap.fade-out { filter: blur(3rem); }

/* The statement itself: 4.8rem of the source's scale — 48px at 1440 — at weight
   500, so it reads as the heading it is rather than as light body copy. */
.home-screen__title {
    max-width: 1030px;
    color: #fff;
    font-size: var(--statement-home);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: .01em;
    text-wrap: pretty;
}

/* The closing screen's Text, one body size below its heading (1.7rem = 17px at
   1440), on the same measure. The statement screens have no paragraph at all —
   each of those is its heading alone, exactly like the source. */
.home-screen__body {
    margin-top: 20px;
    max-width: 1030px;
    font-size: var(--body-home);
    font-weight: 300;
    line-height: 1.6;
    color: #fff;
}

/* The record's btnText: an underlined link at the end of the heading itself,
   in the heading's own type — the source has one line, no button. */
.home-screen__link {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
    transition: color .3s var(--ease);
}

.home-screen__link:hover { color: var(--gold); }

/* The quiet screen stands in for the statements until Base answers, and then it
   is replaced by the real ones. It is deliberately not a snap area: when the area
   the scroll is snapped to is removed, the browser re-snaps to another one, and
   with four screens inserted above it that landed the visitor on the slideshow
   instead of the first statement. */
.home-screen--quiet { scroll-snap-align: none; }

.home-screen .ok-empty { color: rgba(247, 247, 242, .6); }

/* ========================================================= HOME PROJECTS == */
/* The slideshow screen: one full screen, the record's own photo full bleed in
   the frame, the arrows and the counted "01 / 03" over it. It fades in as it
   nears the viewport — the withheld state is armed by site.js and nothing is
   ever left hidden, see okReveals. */
.home-projects {
    position: relative;
    z-index: 10;
    height: 100vh;          /* fallback */
    height: 100svh;
    padding: 6rem 3rem;
    background: var(--ink);
    overflow: hidden;
    scroll-snap-align: start;
    opacity: 1;
    transition: opacity .9s var(--ease);
}

html.ok-reveal-armed .home-projects:not(.is-revealed),
html.ok-reveal-armed .home-news:not(.is-revealed) {
    opacity: 0;
}

.steel-bg { background: var(--ink); }
.white-text { color: var(--paper); }

.slideshow-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0B0909;
    touch-action: pan-y;
}

.slideshow__track {
    display: flex;
    height: 100%;
    will-change: transform;
    transition: transform 900ms var(--ease);
}

.slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    background: #0B0909;
    opacity: .3;
    transition: opacity 800ms var(--ease);
}

.slide.is-on { opacity: 1; }

/* The record's own photo fills the frame behind the type, with the scrim between
   them so the words stay legible. No filter, no grayscale, no invented image: a
   slide whose record has no photo keeps the plain dark field. */
.slide__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(0, 0, 0, .78) 0%,
        rgba(0, 0, 0, .5) 46%,
        rgba(0, 0, 0, .24) 100%);
}

/* One slide is one field: the photo behind, the type in front. */
.slide__text {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(12px, 1.4vw, 20px);
    padding: clamp(20px, 4vw, 72px);
}

.slide__index {
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    color: rgba(247, 247, 242, .6);
}

.slide__title {
    max-width: 26ch;
    font-size: clamp(26px, 3.6vw, 58px);
    font-weight: 300;
    line-height: 1.14;
    letter-spacing: -.015em;
    color: var(--paper);
}

.slide__address {
    font-size: clamp(13px, 1vw, 15px);
    color: rgba(238, 236, 236, .72);
}

.slide__link {
    display: inline-block;
    margin-top: 6px;
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--paper);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: .5em;
    transition: text-decoration-color .3s var(--ease), color .3s var(--ease);
}

.slide__link:hover { text-decoration-color: currentColor; }

/* No slides in Base yet: the frame holds a quiet note instead of an empty
   rectangle. */
.slideshow__empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: clamp(20px, 4vw, 72px);
    background: #0B0909;
}

.slideshow__empty .ok-empty { color: rgba(247, 247, 242, .6); }

/* ---- arrows and counter ----------------------------------------------------
   These leave the section the way a statement's text leaves a screen: the
   observer adds .fade-out and the arrows and counter blur out and fade over
   .4s linear. The slides themselves are untouched. */
.slideshow__foot {
    position: absolute;
    right: clamp(16px, 2.4vw, 34px);
    bottom: clamp(16px, 2.4vw, 34px);
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 32px);
    z-index: 3;
    filter: none;
    opacity: 1;
    transition: filter .4s linear, opacity .4s linear;
}

.slideshow__foot.fade-out {
    filter: blur(1.5rem);
    opacity: 0;
}

.slideshow__arrows { display: flex; gap: 8px; }

.arrow {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(247, 247, 242, .55);
    color: var(--paper);
    font-size: 15px;
    line-height: 1;
    transition: background-color .3s var(--ease), color .3s var(--ease),
        border-color .3s var(--ease);
}

.arrow:hover {
    background: var(--paper);
    border-color: var(--paper);
    color: var(--ink);
}

.slideshow__count {
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    color: var(--paper);
    white-space: nowrap;
}

/* =========================================================== NEWS SCREEN == */
/* The newest record as a full screen, in the source's own arrangement: a
   column, the record's photo in a figure that takes whatever height is left
   over (object-fit: cover, full width), and then a solid ink band at the bottom
   edge — the .wrap — carrying the headline. The headline is therefore never set
   straight over the photograph. */
.fullscreen {
    position: relative;
    height: 100vh;          /* fallback */
    height: 100svh;
    overflow: hidden;
}

.home-news {
    z-index: 20;
    display: flex;
    flex-direction: column;
    padding: 60px 30px 0;   /* the source's 6rem 3rem 0 */
    background: var(--ink);
    color: var(--paper);
    scroll-snap-align: start;
    opacity: 1;
    transition: opacity .9s var(--ease);
}

/* The photo's box: everything the band does not need. */
.home-news__figure {
    position: relative;
    flex: 1;
    min-height: 0;
    margin: 0;
    overflow: hidden;
}

.home-news__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-color {
    position: absolute;
    inset: 0;
    background: rgba(24, 18, 19, .55);
    pointer-events: none;
}

/* The band: full width, solid ink over whatever is behind it, pinned to the
   bottom edge of the screen. */
.home-news > .wrap {
    position: sticky;
    z-index: 1;
    bottom: 0;
    width: 100%;
    max-width: none;
    margin-top: auto;
    padding: 30px 0;
    background: var(--ink);
}

/* The record's headline: the same 48px/500 face as the statements, with its
   "Read more" underlined at the end of the sentence — one type block, no
   button. */
.home-news__title {
    max-width: 1030px;
    color: #fff;
    font-size: var(--statement-home);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: .01em;
    text-wrap: pretty;
}

.home-news__link {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .12em;
    transition: color .3s var(--ease);
}

.home-news__link:hover { color: var(--gold); }

.home-news .ok-empty { color: rgba(247, 247, 242, .6); }

/* ========================================================= LAST SCREEN ==== */
/* The closing screen carries its own film inside the section, in a
   figure.section-image, so that one scrolls with it; the statement and the
   newsletter form sit low in the frame, over the film and its scrim. Its type
   block is the statements' block: same measure, same padding, bottom edge on
   the bottom of the screen. */
#last-screen {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: flex-end;
    background: var(--ink);
    color: var(--paper);
    /* Deliberately not a snap area: the last stretch of the page is the room the
       fixed footer shows through, and snapping the screen to the top of the
       viewport there would pull the footer straight back out of sight. */
    scroll-snap-align: none;
}

#last-screen .section-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

#last-screen .section-image__video { opacity: .875; }

#last-screen > .wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1087.5px;
    padding: 30px;
}

/* The closing screen's own type block: the same measure the statements use, so
   its statement reads at the same size and on the same left edge. The form
   below keeps its own narrow column. */
.last-screen__inner { max-width: 1030px; }

/* The newsletter: one field and its button on the film, with the note inline
   under them. It posts to /Newsletter and answers where the note sits. */
.newsletter {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px clamp(14px, 2vw, 22px);
    width: 100%;
    max-width: 460px;
    margin-top: clamp(22px, 3vw, 36px);
}

.newsletter .ok-input {
    flex: 1 1 220px;
    min-width: 0;
    border-bottom-color: rgba(247, 247, 242, .38);
    color: var(--paper);
}

.newsletter .ok-input::placeholder { color: rgba(247, 247, 242, .6); }

.newsletter .ok-formnote {
    flex: 1 1 100%;
    color: rgba(247, 247, 242, .7);
}

.newsletter .ok-formnote.is-ok { color: var(--paper); }
.newsletter .ok-formnote.is-error { color: #E4806F; }

/* ========================================================= HOME SECTIONS == */
.ok-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: clamp(16px, 3vw, 48px);
    margin-bottom: clamp(24px, 3.4vw, 48px);
    padding-bottom: clamp(14px, 1.6vw, 22px);
    border-bottom: 1px solid rgba(24, 18, 19, .14);
}

.ok-section__more {
    flex: none;
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: .5em;
    transition: text-decoration-color .3s var(--ease), color .3s var(--ease);
}

.ok-section__more:hover {
    color: var(--gold);
    text-decoration-color: currentColor;
}

.ok-block {
    background: var(--paper);
    padding: clamp(48px, 7vw, 110px) var(--gutter);
}

.ok-block--form { padding-bottom: clamp(64px, 10vw, 150px); }

/* ============================================================ PROJECT CARD == */
/* The image area is the record's own cover photo from Base, object-fit: cover in
   a 4:3 box, with the photo's pixel width and height on the <img> so the card
   never jumps while it loads. A record with no photo keeps the near-black field
   carrying the project's number and a hairline rule: nothing is faked, and there
   is no <img> to break. */
.ok-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 64px) clamp(18px, 3vw, 48px);
}

.ok-card {
    display: block;
    color: var(--ink);
}

.ok-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--ink);
    transition: background-color .5s var(--ease);
}

.ok-card:hover .ok-card__media { background: #241E1F; }

/* The hairline belongs to the typographic fallback; over a photograph it would
   just be a line across the picture. */
.ok-card__media::after {
    content: "";
    position: absolute;
    left: clamp(14px, 1.6vw, 24px);
    right: clamp(14px, 1.6vw, 24px);
    bottom: clamp(14px, 1.6vw, 24px);
    height: 1px;
    background: rgba(247, 247, 242, .22);
}

.ok-card__media--photo::after { content: none; }

.ok-card__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ok-card__index {
    position: absolute;
    left: clamp(14px, 1.6vw, 24px);
    top: clamp(12px, 1.4vw, 20px);
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    color: rgba(247, 247, 242, .66);
}

.ok-card__title {
    display: block;
    margin-top: 16px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.3;
}

.ok-card__loc {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--grey);
}

/* The card's one affordance; the whole card is the link. */
.ok-card__more {
    display: inline-block;
    margin-top: 12px;
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: .55em;
    transition: text-decoration-color .3s var(--ease);
}

.ok-card:hover .ok-card__more { text-decoration-color: currentColor; }

/* ============================================================ FILTER ROW == */
/* ALL first, then one button per category name the records carry. The active one
   is underlined in ink; the rest are grey until hovered or focused. */
.ok-filters {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: clamp(10px, 1.6vw, 18px) clamp(16px, 3vw, 48px);
    margin-bottom: clamp(24px, 3vw, 44px);
    padding-bottom: clamp(14px, 1.6vw, 22px);
    border-bottom: 1px solid rgba(24, 18, 19, .14);
}

.ok-filters__row {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(8px, 1vw, 14px) clamp(12px, 2vw, 28px);
}

.ok-filter {
    padding: 0;
    background: none;
    border: 0;
    font: inherit;
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--grey);
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: .55em;
    transition: color .3s var(--ease), text-decoration-color .3s var(--ease);
}

.ok-filter:hover { color: var(--ink); }

.ok-filter.is-on {
    color: var(--ink);
    text-decoration-color: currentColor;
}

.ok-filter:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 4px;
}

.ok-filters__count {
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--grey);
    white-space: nowrap;
}

/* ========================================================= PROJECT DETAIL == */
.ok-project { background: var(--paper); }

.ok-project__hero {
    position: relative;
    height: clamp(46svh, 62svh, 760px);
    background: var(--ink);
    overflow: hidden;
}

.ok-project__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ok-project__hero::after {
    content: "";
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: clamp(24px, 4vw, 56px);
    height: 1px;
    background: rgba(247, 247, 242, .24);
}

.ok-project__index {
    position: absolute;
    left: var(--gutter);
    bottom: clamp(34px, 5vw, 72px);
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    color: rgba(247, 247, 242, .72);
}

.ok-project__head {
    padding: clamp(28px, 4vw, 56px) var(--gutter) clamp(64px, 10vw, 150px);
    max-width: 1080px;
}

.ok-project__title {
    margin-top: clamp(20px, 3vw, 36px);
    max-width: 24ch;
}

.ok-project__meta {
    margin-top: 14px;
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--grey);
}

.ok-project__intro {
    margin-top: clamp(24px, 3vw, 40px);
    max-width: 62ch;
    font-size: clamp(16px, 1.4vw, 19px);
}

/* Every further photo of the record's own album, in its own aspect ratio: the
   width and height on each <img> come from Base, so the column never jumps. */
.ok-gallery {
    background: var(--paper);
    padding: 0 var(--gutter) clamp(56px, 9vw, 150px);
}

.ok-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1.6vw, 24px);
}

.ok-gallery__item {
    margin: 0;
    background: var(--light);
    overflow: hidden;
}

.ok-gallery__photo {
    display: block;
    width: 100%;
    height: auto;
}

/* ============================================================ PAGE HEADER == */
.ok-pagehead {
    background: var(--paper);
    padding: calc(var(--header-h) + clamp(56px, 10vw, 150px)) var(--gutter) clamp(24px, 4vw, 48px);
}

.ok-pagehead .ok-label { margin-bottom: clamp(14px, 2vw, 24px); }

.ok-index {
    background: var(--paper);
    padding: 0 var(--gutter) clamp(64px, 10vw, 160px);
}

.ok-index .ok-empty { padding-top: clamp(8px, 1.4vw, 16px); }

/* ================================================================ ABOUT === */
.ok-mission {
    background: var(--ink);
    color: var(--paper);
    padding: clamp(48px, 8vw, 120px) var(--gutter);
}

.ok-mission__inner { max-width: 1200px; }

.ok-mission__inner .ok-cta { color: var(--paper); }
.ok-mission__inner .ok-cta:hover { color: var(--gold); }

.ok-mission__body {
    margin-top: clamp(20px, 2.6vw, 34px);
    max-width: 62ch;
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.65;
    color: rgba(247, 247, 242, .8);
}

.ok-mission .ok-empty { color: rgba(247, 247, 242, .6); }

.ok-mission--empty { padding-block: clamp(40px, 6vw, 80px); }

.ok-film {
    background: #000;
    padding: 0;
}

.ok-film__video {
    width: 100%;
    max-height: 86svh;
    height: auto;
    object-fit: cover;
    background: #000;
}

.ok-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 48px) clamp(20px, 3vw, 44px);
}

.ok-service {
    padding-top: clamp(14px, 1.6vw, 20px);
    border-top: 1px solid rgba(24, 18, 19, .16);
}

.ok-service__title {
    font-size: clamp(17px, 1.5vw, 21px);
    font-weight: 400;
    line-height: 1.3;
}

.ok-service__text {
    margin-top: 10px;
    max-width: 44ch;
    font-size: 15px;
    line-height: 1.6;
    color: var(--grey);
}

.ok-offices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(24px, 3vw, 48px) clamp(20px, 3vw, 44px);
}

.ok-office {
    padding-top: clamp(14px, 1.6vw, 20px);
    border-top: 1px solid rgba(24, 18, 19, .16);
}

.ok-office__title {
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ok-office__body {
    font-size: 15px;
    line-height: 1.65;
    color: var(--dark);
}

/* ================================================================ PEOPLE == */
.ok-team {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: clamp(22px, 3vw, 40px) clamp(18px, 2.6vw, 36px);
}

.ok-person {
    padding-top: clamp(12px, 1.4vw, 18px);
    border-top: 1px solid rgba(24, 18, 19, .16);
}

/* The record's own portrait, at 4:5 with object-fit: cover; the pixel size on
   the <img> keeps the grid steady while it loads. */
.ok-person__portrait {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--light);
    margin-bottom: clamp(12px, 1.4vw, 18px);
}

.ok-person__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.ok-person__name {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.35;
}

.ok-person__job {
    margin-top: 6px;
    font-size: 13px;
    color: var(--grey);
}

/* ================================================================ NEWS ==== */
.ok-newslist {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.ok-newsitem {
    padding: clamp(22px, 3vw, 40px) 0;
    border-top: 1px solid rgba(24, 18, 19, .16);
    max-width: 78ch;
}

.ok-newsitem:first-child { border-top: 0; padding-top: 0; }

/* The record's own cover photo, 16:9, above the words. */
.ok-newsitem__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--light);
    margin-bottom: clamp(16px, 2.2vw, 26px);
}

.ok-newsitem__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ok-newsitem__title {
    font-size: clamp(20px, 2.4vw, 32px);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.ok-newsitem__brief {
    margin-top: 12px;
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.65;
    color: var(--dark);
}

.ok-newsitem__body {
    margin-top: 14px;
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.65;
    color: var(--dark);
}

.ok-newsitem__date {
    margin-top: 14px;
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--grey);
}

/* ================================================================ FORMS === */
.ok-input {
    display: block;
    width: 100%;
    padding: .55em 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(24, 18, 19, .24);
    border-radius: 0;
    color: inherit;
    outline-offset: 4px;
    transition: border-color .3s var(--ease);
}

.ok-input::placeholder { color: var(--grey); }
.ok-input:focus { border-bottom-color: currentColor; }

.ok-input--area {
    border: 1px solid rgba(24, 18, 19, .24);
    padding: .8em;
    resize: vertical;
}

.ok-submit {
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .5em;
    transition: color .3s var(--ease);
    white-space: nowrap;
}

.ok-submit:hover { color: var(--gold); }

.ok-formnote {
    min-height: 1.4em;
    font-size: 13px;
    line-height: 1.45;
    color: var(--grey);
}

.ok-formnote.is-ok { color: var(--dark); }
.ok-formnote.is-error { color: var(--alert); }

.ok-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 36px) clamp(18px, 3vw, 40px);
    max-width: 900px;
}

.ok-form__row { display: flex; flex-direction: column; gap: 8px; }
.ok-form__row--wide { grid-column: 1 / -1; }

.ok-form__label {
    font-size: var(--label);
    font-weight: 500;
    letter-spacing: var(--track);
    text-transform: uppercase;
    color: var(--grey);
}

.ok-form__foot {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    gap: clamp(16px, 3vw, 32px);
    flex-wrap: wrap;
    padding-top: 6px;
}

/* ================================================================ FOOTER === */
/* The source's footer, to its own numbers: #181213 behind #fff, about 83px
   tall, fixed at the bottom of the page, behind the content (the page is the
   stacking context above it), and revealed as the last screen scrolls up. The
   room it needs is reserved under the page by [body]'s padding-bottom, and its
   height is measured into --footer-h by site.js → okFooterHeight.

   Two rows: the destinations as plain body-size links with the social accounts
   at the other end, then .copyright with the colophon in <small> and the motion
   toggle — the source's small circle — centred at the bottom. */
.ok-footer {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    min-height: 83px;
    padding: 16px 0 12px;
    background: var(--ink);
    color: #fff;
}

.ok-footer__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 0 30px;
}

/* Row 1: big white body links, not small caps — no text-transform, no wide
   tracking, about 3rem between them. */
.ok-footer__nav,
.ok-footer__social {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 30px;
}

/* Projects, About us and People keep their place in the list and are hidden
   here, exactly as the source hides its own three from this row: they are still
   in the header's row and in the full menu. */
.ok-footer__item--aside { display: none; }

.ok-footer__link {
    display: inline-block;
    font-size: var(--body-home);        /* 1.7rem — 17px at 1440 */
    font-weight: 300;
    line-height: 1.382;
    letter-spacing: .01em;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: .3em;
    transition: text-decoration-color .3s var(--ease), color .3s var(--ease);
}

.ok-footer__link:hover { text-decoration-color: currentColor; }

/* Row 2: the colophon, 0.765 of the body size, uppercase, 500, #3B3735. */
.ok-footer__meta {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--dark);
}

.ok-footer .copyright { align-items: center; }

/* The motion toggle: the source's circle, 1.8rem across, 3rem up from the
   bottom and centred — white while motion is on, grey when it is off. */
.ok-footer__motion {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: block;
    width: 18px;
    height: 18px;
}

.ok-motion__dot {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: background-color .3s var(--ease);
}

.ok-footer__motion.is-off { color: var(--grey); }

.ok-footer__motion.is-off .ok-motion__dot { background: var(--grey); }

/* ============================================================ PLACEHOLDERS == */
.ok-pending {
    min-height: 100vh;      /* fallback */
    min-height: 100svh;
    background: var(--paper);
    padding: calc(var(--header-h) + clamp(60px, 12vw, 180px)) var(--gutter) clamp(80px, 12vw, 180px);
    display: flex;
    align-items: flex-start;
}

.ok-pending__inner { max-width: 820px; }

.ok-pending__title {
    margin-top: clamp(16px, 2.4vw, 28px);
    font-size: clamp(28px, 4.4vw, 62px);
    font-weight: 300;
    line-height: 1.06;
    letter-spacing: -.02em;
}

.ok-pending__note {
    margin-top: clamp(20px, 3vw, 34px);
    max-width: 56ch;
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.6;
    color: var(--grey);
}

.ok-pending__links {
    margin-top: clamp(28px, 4vw, 48px);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
}

/* ================================================================ motion === */
@keyframes ok-fade {
    from { opacity: 0; }

    to { opacity: 1; }
}

/* ============================================================== responsive == */
@media (max-width: 1080px) {
    :root { --header-h: 62px; }

    /* The six destinations move into the full menu; the bar keeps the logo, the
       two icon buttons and the motion toggle. */
    .ok-header__nav { display: none; }

    .ok-header__inner { justify-content: space-between; }

    .ok-header__brand {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .ok-brand { height: 1.9rem; }

    .ok-header__tools { margin-left: auto; }

    .ok-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .ok-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    :root { --statement: 24px; --body-home: 16px; }

    /* The statements and the news headline step down with --statement-home and
       keep their weight; the type block keeps its 30px padding. */
    .home-screen > .wrap,
    #last-screen > .wrap { padding: 20px; }

    .home-news { padding: 48px 20px 0; }

    .home-news > .wrap { padding: 20px 0; }

    .home-projects { padding: 1.5rem; }

    /* Arrows sit over the slide, stacked above the counter in the bottom-right
       corner. */
    .slideshow__foot {
        right: 1.5rem;
        bottom: 1.5rem;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }

    .arrow {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, .35);
        border-color: rgba(247, 247, 242, .75);
    }

    .ok-grid { grid-template-columns: 1fr; }
    .ok-services { grid-template-columns: 1fr; }
    .ok-form { grid-template-columns: 1fr; }
    .ok-gallery__grid { grid-template-columns: 1fr; }

    /* The filter row and its count stack, the buttons still wrapping freely. */
    .ok-filters { align-items: flex-start; flex-direction: column; gap: 12px; }

    .ok-section__head { align-items: flex-start; flex-direction: column; gap: 10px; }

    .ok-project__head { padding-top: 24px; }

    /* The footer keeps its two rows; the destinations wrap rather than shrink
       into small caps, and the colophon and the centred circle stay as they
       are. */
    .ok-footer {
        padding: 16px 0 8px;
        gap: 10px;
    }

    .ok-footer__row { padding: 0 20px; }

    .ok-footer__nav,
    .ok-footer__social { gap: 4px 20px; }

    /* 0.765 of the smaller body size the phones use (16px). */
    .ok-footer__meta { font-size: 12px; }

    .ok-footer__motion { bottom: 22px; }

    .ok-menu__nav { gap: 2px; }
    .ok-menu__sub { gap: 4px 14px; }

    /* The two squares carry the toggle at this width; its label is in the
       header only, and the button keeps its accessible name. */
    .ok-header__tools .ok-motion__label { display: none; }
}

@media (max-width: 420px) {
    .slide__title { font-size: 24px; }

    .ok-footer__nav,
    .ok-footer__social { gap: 4px 14px; }
}

/* ======================================================= reduced motion ====
   Duplicated on purpose: an explicit Toggle Motion choice is not the same as the
   OS setting. Both switch the transitions off, and both remove the blur
   entirely — with motion reduced there is no blur at all, at any point. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .ok-panel__textwrap,
    .ok-panel__textwrap.fade-out {
        filter: none !important;
        transition: none !important;
    }

    .slideshow__foot,
    .slideshow__foot.fade-out {
        filter: none !important;
        opacity: 1 !important;
        transition: none !important;
    }

    .home-videos .section-image,
    .section-image__video,
    .slide,
    .slideshow__track,
    .ok-card__media,
    .ok-menu,
    .ok-search,
    .home-projects,
    .home-news,
    .ok-boot,
    .ok-nav__link,
    .ok-cta,
    .home-screen__link,
    .icon-btn,
    .ok-input,
    .ok-submit { transition: none; }

    /* Nothing is withheld from a visitor who has asked for less motion. */
    html.ok-reveal-armed .home-projects:not(.is-revealed),
    html.ok-reveal-armed .home-news:not(.is-revealed) { opacity: 1; }

    .slide { opacity: 1; }

    .ok-boot svg { animation: none; opacity: 1; transform: none; }
    .ok-menu.is-open,
    .ok-search.is-open { animation: none; }
}

html[data-motion="off"] .ok-panel__textwrap,
html[data-motion="off"] .ok-panel__textwrap.fade-out {
    filter: none !important;
    transition: none !important;
}

html[data-motion="off"] .slideshow__foot,
html[data-motion="off"] .slideshow__foot.fade-out {
    filter: none !important;
    opacity: 1 !important;
    transition: none !important;
}

html[data-motion="off"] {
    scroll-behavior: auto;
}

html[data-motion="off"] .home-videos .section-image,
html[data-motion="off"] .section-image__video,
html[data-motion="off"] .slide,
html[data-motion="off"] .slideshow__track,
html[data-motion="off"] .ok-card__media,
html[data-motion="off"] .ok-menu,
html[data-motion="off"] .ok-search,
html[data-motion="off"] .home-projects,
html[data-motion="off"] .home-news,
html[data-motion="off"] .ok-boot,
html[data-motion="off"] .ok-input,
html[data-motion="off"] .ok-submit { transition: none; }

/* An explicit Toggle Motion off withholds nothing either. */
html[data-motion="off"].ok-reveal-armed .home-projects:not(.is-revealed),
html[data-motion="off"].ok-reveal-armed .home-news:not(.is-revealed) { opacity: 1; }

html[data-motion="off"] .ok-boot svg { animation: none; opacity: 1; transform: none; }
html[data-motion="off"] .ok-menu.is-open,
html[data-motion="off"] .ok-search.is-open { animation: none; }
