/* =============================================================================
   LUMIN V3, the Cinematic Connected Experience: one design system for seven pages.
   Direction: concept D (owner's choice, 2026-11-17) with concept C's connected navigation.
   Tokens: V3-only. Since 2026-11-18 the owner-approved Matte Charcoal palette (#232628 page, #1B1E20 structure, teal LED #30E4D0,
   cool-white LED #E3FFFC); V2 and production keep #100F0C. The file is layered: base, Design Refinement, Living Light, Matte Charcoal
   (last, so it wins). Identity kept: the LUMIN logo, the Aperture (four corners), the grid, sparse teal particles, Sora / Hanken
   Grotesk / JetBrains Mono, the single teal accent. Warm light appears only inside artwork and the About room, never as a UI colour.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
/* Self-hosted fonts: the three families V3 already used, as Google Fonts serves them (variable WOFF2, Latin and Latin Extended,
   the same unicode ranges and weights). SIL Open Font License 1.1, licence texts beside the files in /assets/v3/fonts/. */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/v3/fonts/hanken-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/v3/fonts/hanken-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/v3/fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/v3/fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/v3/fonts/sora-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/v3/fonts/sora-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* MATTE CHARCOAL, Powered by Light (2026-11-18, owner-approved concept board; V3 only, V2 and production keep #100F0C).
     Darkness defines the structure; light reveals its purpose. Surfaces are matte (no gloss, a fine grain), lit only at their edges. */
  --bg: #232628;                 /* matte charcoal: the page */
  --bg-header: #1b1e20;          /* structural charcoal: header, footer, bands */
  --raised: #2a2e30;             /* a surface that sits on the page */
  --raised-2: #303437;           /* a surface under the hand, or the top face of a panel */
  --inset: #15191a;              /* deep optical inset: screen wells, fields */
  --ink: #f1f5f4;                /* soft white */
  --ink-soft: rgb(var(--l-white) / .84);
  --ink-muted: rgb(var(--l-white) / .7);
  --line: rgb(var(--l-line) / .11);
  --line-soft: rgb(var(--l-line) / .065);
  --accent: #30e4d0;             /* teal LED core (the logo file keeps the brand teal #2FD4C2) */
  --accent-deep: #17a596;
  --accent-bright: #7ff3e7;
  --accent-ink: #04201d;
  --cool: #e3fffc;               /* cool-white LED */
  /* light channels: every glow, edge and pool is one of these at an alpha, so the palette is set here and only here */
  --l-white: 241 245 244;   /* soft white */
  --l-teal: 48 228 208;     /* teal LED */
  --l-cyan: 150 236 226;    /* cool cyan */
  --l-core: 236 255 252;    /* the white-hot core of a light */
  --l-cool: 227 255 252;    /* cool-white LED */
  --l-warm: 255 236 214;    /* faint warm-white (About room only) */
  --l-line: 222 238 235;    /* hairlines */
  --l-bg: 35 38 40;         /* the page, as a channel */
  --l-deep: 21 25 26;       /* the inset, as a channel */
  /* LED edge: a 1px channel of light with its glow, for the few panels that carry one */
  --led-edge: linear-gradient(90deg, transparent, rgb(var(--l-teal) / .9) 18%, rgb(var(--l-cool)) 50%, rgb(var(--l-teal) / .9) 82%, transparent);
  --glow-sm: 0 0 12px rgb(var(--l-teal) / .35);
  --glow: 0 0 22px rgb(var(--l-teal) / .32), 0 0 2px rgb(var(--l-cool) / .6);
  /* matte: a fine static grain (an inline SVG, allowed by img-src data:), laid on surfaces at a few per cent */
  --matte: 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 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  /* type scale (minor third, fluid at the top) */
  --t-xs: .8125rem; --t-sm: .9375rem; --t-md: 1.0625rem;
  --t-lg: clamp(1.12rem, 1.04rem + .35vw, 1.3rem);
  --t-xl: clamp(1.5rem, 1.15rem + 1.4vw, 2.2rem);
  --t-2xl: clamp(2rem, 1.3rem + 2.8vw, 3.4rem);
  --t-3xl: clamp(2.5rem, 1.35rem + 4.6vw, 5.1rem);
  /* spacing */
  --s-1: .5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2rem; --s-5: 3rem; --s-6: 4rem; --s-7: 6rem;
  --section: clamp(4rem, 8vw, 7rem);
  --wrap: 1240px; --gutter: clamp(1.15rem, 4vw, 2.5rem); --hd-h: 4.5rem;
  --grid: 84px;
  --r-sm: 6px; --r: 10px; --r-lg: 14px; --r-pill: 999px;
  --ease: cubic-bezier(.22, 1, .36, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur-1: .2s; --dur-2: .45s; --dur-3: .8s;
  --corner: 18px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; scrollbar-color: rgb(var(--l-line) / .22) var(--bg); }
body { font-family: var(--font-body); font-size: var(--t-md); line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; overflow-wrap: break-word; min-height: 100vh; min-height: 100svh; isolation: isolate; display: flex; flex-direction: column; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .28em; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; overflow-wrap: anywhere; }
p, li, dd { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
a[href^="mailto"] { overflow-wrap: anywhere; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
main { overflow-x: clip; flex: 1 0 auto; }   /* short pages (the 404) keep the footer at the foot of the screen */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ environment: grid, particles, grain */
.env-grid { position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(to right, rgb(var(--l-line) / .034) 1px, transparent 1px), linear-gradient(to bottom, rgb(var(--l-line) / .034) 1px, transparent 1px);
  background-size: var(--grid) var(--grid);
  -webkit-mask-image: radial-gradient(160% 140% at 50% 40%, #000 60%, transparent 100%); mask-image: radial-gradient(160% 140% at 50% 40%, #000 60%, transparent 100%);
  view-transition-name: env-grid; }


/* ------------------------------------------------------------------ header and navigation */
.skip { position: absolute; left: var(--gutter); top: -4rem; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; font-weight: 600; text-decoration: none; border-radius: var(--r-sm); }
.skip:focus { top: .75rem; }
.hd { position: sticky; top: 0; z-index: 50; view-transition-name: hd; }
.hd::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgb(var(--l-bg) / .96), rgb(var(--l-bg) / .84)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.hd__in { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); min-height: var(--hd-h); }
.hd__logo { display: inline-flex; padding-block: .6rem; flex: none; }
.hd__logo .logo { width: 118px; height: auto; overflow: visible; }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: clamp(.4rem, 1.2vw, 1.1rem); }
.nav a { position: relative; display: inline-block; padding: .55rem .7rem; color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; transition: color var(--dur-1) var(--ease); }
.nav a:hover { color: var(--ink); }
/* where you are: the Aperture's four corners around the current destination; it travels between pages with the transition */
.nav a[aria-current="page"] { color: var(--ink); view-transition-name: nav-current; }
.nav a[aria-current="page"]::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(var(--accent), var(--accent)) left top / 7px 1.5px, linear-gradient(var(--accent), var(--accent)) left top / 1.5px 7px,
    linear-gradient(var(--accent), var(--accent)) right top / 7px 1.5px, linear-gradient(var(--accent), var(--accent)) right top / 1.5px 7px,
    linear-gradient(var(--accent), var(--accent)) right bottom / 7px 1.5px, linear-gradient(var(--accent), var(--accent)) right bottom / 1.5px 7px,
    linear-gradient(var(--accent), var(--accent)) left bottom / 7px 1.5px, linear-gradient(var(--accent), var(--accent)) left bottom / 1.5px 7px;
  background-repeat: no-repeat; }
.hd__cta { flex: none; }
.menu { display: none; margin-left: auto; }
.menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; font-weight: 500; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after { content: ""; width: 8px; height: 8px; border: solid var(--ink); border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform var(--dur-2) var(--ease); }
.menu[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.menu__panel { position: fixed; left: 0; right: 0; top: var(--hd-h); bottom: 0; overflow-y: auto; overscroll-behavior: contain; display: grid; align-content: space-between; gap: 2rem; padding: clamp(1.25rem, 5vw, 2.5rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  background: linear-gradient(rgb(var(--l-line) / .035) 1px, transparent 1px) 0 0 / 100% var(--grid), linear-gradient(90deg, rgb(var(--l-line) / .035) 1px, transparent 1px) 0 0 / var(--grid) 100%, var(--bg); }
.menu__panel ul { display: grid; }
.menu__panel li { border-bottom: 1px solid var(--line-soft); }
.menu__panel nav a { position: relative; display: flex; align-items: center; min-height: 3.6rem; padding-block: .35rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 1.2rem + 3vw, 2.4rem); letter-spacing: -.03em; color: var(--ink-soft); text-decoration: none; transition: color var(--dur-1) var(--ease); }
.menu__panel nav a:hover, .menu__panel nav a:focus-visible { color: var(--ink); }
.menu__panel nav a[aria-current="page"] { color: var(--ink); }
.menu__panel nav a[aria-current="page"]::after { content: ""; width: 10px; height: 10px; margin-left: .9rem; background: var(--accent); transform: rotate(45deg); }
.menu__mail { font-size: var(--t-sm); color: var(--ink-muted); }
.menu__mail a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-soft); text-decoration-color: rgb(var(--l-teal) / .6); text-underline-offset: .3em; }
html:has(.menu[open]) { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .menu[open] .menu__panel li { animation: menu-in .55s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms + 40ms); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 939px) { .hd .nav, .hd .hd__cta { display: none; } .hd .menu { display: block; } }

/* ------------------------------------------------------------------ buttons, links, labels */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: 0 1.4rem; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), box-shadow var(--dur-2) var(--ease), transform var(--dur-1) var(--ease); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-bright); box-shadow: 0 0 30px -8px rgb(var(--l-teal) / .7); }
.btn--primary:active { transform: translateY(1px); background: var(--accent-deep); }
.btn--line { border-color: var(--accent); color: var(--ink); background: rgb(var(--l-teal) / .05); }
.btn--line:hover { background: rgb(var(--l-teal) / .14); }
.btn--line:active { transform: translateY(1px); }
.btn .arrow { transition: transform var(--dur-1) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgb(var(--l-teal) / .75); text-underline-offset: .32em; }
.link:hover { color: var(--accent); }
.status { display: inline-flex; align-items: baseline; gap: .55rem; font-size: .88rem; color: var(--ink-muted); }
.status::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--accent); transform: translateY(-.1em) rotate(45deg); }
.corner { position: absolute; width: var(--corner); height: var(--corner); border: solid var(--accent); border-width: 2px 0 0 2px; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.crumbs { font-size: .88rem; color: var(--ink-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; }
.crumbs li + li::before { content: "/"; margin-right: .45rem; color: rgb(var(--l-white) / .35); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ------------------------------------------------------------------ sections and page heroes */
.section { padding-block: var(--section); }
.home-hero + .section { padding-top: clamp(2rem, 4vw, 3rem); }
.section + .section { border-top: 1px solid var(--line-soft); }



.page-hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero__in { position: relative; display: grid; gap: 1.1rem; }
.page-hero + .section { padding-top: clamp(1rem, 3vw, 2.5rem); border-top: 0; }
.page-hero .corner { left: calc(-1 * clamp(.9rem, 2.2vw, 1.8rem)); top: -.8rem; }
.page-hero h1 { font-size: var(--t-3xl); line-height: 1; letter-spacing: -.04em; max-width: 14em; }
.page-hero__lead { font-size: var(--t-lg); color: var(--ink-soft); line-height: 1.5; max-width: 36rem; }
@media (min-width: 940px) {
  .page-hero--split .page-hero__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: clamp(2rem, 5vw, 5rem); }
  .page-hero--split .crumbs, .page-hero--split h1 { grid-column: 1; }
  .page-hero--split .page-hero__lead { grid-column: 2; grid-row: 2; padding-bottom: .5rem; }
}

/* ------------------------------------------------------------------ framed screens: real captures in drawn frames, lit like plates */
.frame { position: relative; isolation: isolate; }
.frame::before { content: ""; position: absolute; inset: -14% -10% -12% -14%; z-index: -1; pointer-events: none; -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent); mask-image: radial-gradient(closest-side, #000 45%, transparent); background: radial-gradient(52% 46% at 24% 14%, rgba(244, 226, 200, .09), transparent 70%), radial-gradient(40% 40% at 90% 80%, rgb(var(--l-teal) / .07), transparent 70%); }
.frame__body { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--inset); box-shadow: 0 0 0 1px rgb(var(--l-line) / .12), 1px 0 0 rgb(var(--l-teal) / .4), 0 50px 100px -40px rgba(0, 0, 0, .95), 0 18px 40px -20px rgba(0, 0, 0, .7); }
.frame__bar { display: flex; align-items: center; gap: .9rem; height: 34px; padding: 0 .9rem; border-bottom: 1px solid rgb(var(--l-line) / .08); background: linear-gradient(var(--raised-2), var(--raised)); }
.frame__dots { display: flex; gap: 6px; }
.frame__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgb(var(--l-line) / .18); }
.frame__url { flex: 1; max-width: 22rem; margin-inline: auto; height: 20px; border-radius: 999px; background: rgb(var(--l-line) / .06); font: 500 11px/20px var(--font-mono); color: rgb(var(--l-white) / .62); text-align: center; overflow: hidden; white-space: nowrap; }
.frame__shot { position: relative; }
.frame__shot img { width: 100%; }
.frame__shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 246, 232, .08), transparent 32%); }
.frame figcaption, .frame__caption { margin-top: 1rem; font-size: var(--t-sm); color: var(--ink-muted); max-width: 46rem; }

/* ------------------------------------------------------------------ previous / next destinations */
.trail { padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.trail__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.trail a { display: grid; gap: .2rem; padding: clamp(1.1rem, 3vw, 1.75rem); background: var(--bg); text-decoration: none; transition: background-color var(--dur-2) var(--ease); }
.trail a:hover { background: var(--raised-2); }
.trail span { font-size: var(--t-xs); color: var(--ink-muted); }
.trail b { font-family: var(--font-display); font-weight: 600; font-size: var(--t-xl); letter-spacing: -.025em; overflow-wrap: anywhere; }
.trail__next { text-align: right; }

/* ------------------------------------------------------------------ closing horizon */
.horizon { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(4.5rem, 9vw, 7rem) clamp(7rem, 13vw, 10rem); text-align: center; }
.horizon__in { display: grid; gap: 1rem; justify-items: center; }
.horizon h2 { font-size: var(--t-2xl); }
.horizon p { color: var(--ink-soft); max-width: 34rem; }
.horizon .actions { justify-content: center; margin-top: .5rem; }
.horizon__arc { position: absolute; z-index: -1; left: 50%; top: 66%; width: 190vw; height: 190vw; max-width: 2600px; max-height: 2600px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, var(--bg) 97%, rgb(var(--l-teal) / .45) 99.4%, rgb(var(--l-teal) / 0) 100%); box-shadow: 0 -1px 0 rgb(var(--l-cyan) / .6), 0 -14px 50px -10px rgb(var(--l-teal) / .38), 0 -60px 140px -40px rgb(var(--l-teal) / .2); }
@media (min-width: 900px) { .horizon__arc { top: 72%; width: 140vw; height: 140vw; } }

/* ------------------------------------------------------------------ footer: see LIVING LIGHT, the final scene */

/* =================================================================== HOME */
/* the hero: one composition of the headline and the Aperture. The live glass (WebGL) fades in over a still of the same
   silhouette; without scripts or WebGL the still stays. The stage fades out at its foot into the page below. */
.home-hero { position: relative; isolation: isolate; overflow: clip; display: grid; align-items: center; min-height: max(34rem, min(calc(100svh - var(--hd-h)), 56rem)); }
.aperture-stage { position: absolute; inset: 0; z-index: -1; touch-action: pan-y; }
/* the live glass fades its own light at the foot (scene.footFade); only the Canvas 2D fallback (no WebGL) needs the CSS mask */
.aperture-stage.is-2d { -webkit-mask-image: linear-gradient(to bottom, #000 86%, transparent); mask-image: linear-gradient(to bottom, #000 86%, transparent); }
.aperture-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--ease-out); }
.aperture-stage.is-live .aperture-stage__gl, .aperture-stage.is-2d .aperture-stage__fx { opacity: 1; }
.aperture-stage__fx { mix-blend-mode: screen; }
.aperture-still { position: absolute; width: min(42vw, 600px); aspect-ratio: 1; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); top: 50%; transform: translateY(-50%); pointer-events: none; transition: opacity 1.4s var(--ease-out); }
.aperture-stage.is-placed .aperture-still { right: auto; left: var(--still-x); top: var(--still-y); width: var(--still-s); transform: none; }
.aperture-stage.is-live .aperture-still { opacity: 0; }
/* with scripts, the still waits (hidden) until it is placed where the live glass will be, so it never jumps (no layout shift); without scripts it shows at once */
@media (scripting: enabled) { .aperture-stage:not(.is-ready) .aperture-still { visibility: hidden; opacity: 0; } }
.home-hero__in { position: relative; padding-block: clamp(2.5rem, 6vw, 4.5rem); pointer-events: none; }
.home-hero__text { display: grid; gap: 1.25rem; max-width: min(40rem, 48vw); }
.home-hero__text > * { pointer-events: auto; }
.home-hero h1 { font-size: clamp(2.3rem, 1.15rem + 3.5vw, 4.4rem); line-height: 1.02; letter-spacing: -.038em; text-wrap: balance; }
.home-hero__lead { font-size: var(--t-lg); line-height: 1.5; color: var(--ink-soft); max-width: 31rem; }
.home-hero__place { font-size: var(--t-sm); color: var(--ink-muted); }
.home-hero__place a { color: var(--ink-soft); text-decoration-color: rgb(var(--l-teal) / .6); }
.home-hero__place a:hover { color: var(--ink); }
@media (max-width: 819px) {
  .home-hero { align-items: start; min-height: max(calc(100svh - var(--hd-h)), 34rem); }
  .home-hero__in { padding-block: clamp(1.5rem, 5vw, 2.5rem) 0; }
  .home-hero__text { max-width: 40rem; gap: 1rem; }
  .aperture-still { right: 50%; transform: translateX(50%); top: auto; bottom: 6%; width: min(80vw, 400px); }
}
@media (max-width: 380px) { .home-hero h1 { font-size: 2.05rem; } .home-hero__lead { font-size: 1.04rem; } }

/* selected work, the services in brief, the product: one strong picture or index each, alternating sides */
.home-work__in, .home-product__in, .home-services__in { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: center; }
.home-work__text, .home-product__text { display: grid; gap: .9rem; align-content: start; max-width: 32rem; }
.home-work__text h2, .home-product__text h2, .home-services__head h2 { font-size: var(--t-2xl); }
.home-work__text h3 { font-size: var(--t-xl); margin-top: .35rem; }
.home-work__text p, .home-product__text p, .home-services__head p { color: var(--ink-soft); }
.home-work__text .actions, .home-product__text .actions { margin-top: .4rem; }
p.home-work__aside { margin-top: .6rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); font-size: var(--t-sm); color: var(--ink-muted); }
.home-services__in { align-items: start; }
.home-services__head { display: grid; gap: .8rem; max-width: 30rem; }
.home-services__list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.home-services__list li { display: grid; gap: .5rem; align-content: start; padding: clamp(1.2rem, 2.6vw, 1.75rem); background: var(--bg); }
.home-services__list h3 { font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); letter-spacing: -.02em; line-height: 1.15; }
.home-services__list p { color: var(--ink-soft); font-size: var(--t-sm); line-height: 1.55; }
.home-product__shot { position: relative; }
@media (min-width: 700px) { .home-services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .home-work__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(2.5rem, 5vw, 4.5rem); }
  .home-services__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(2.5rem, 5vw, 4.5rem); }
  .home-product__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2.5rem, 5vw, 4.5rem); }
  .home-product__shot { order: -1; }
}

/* the Aperture frame that follows what is being read (production behaviour, V3 tokens) */
.aperture { --ax: 0px; --ay: 0px; --aw: 0px; --ah: 0px; --ac: clamp(12px, 1.1vw, 16px); position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); z-index: 3; }
.aperture.is-on { opacity: 1; }
.aperture i { position: absolute; left: 0; top: 0; width: var(--ac); height: var(--ac); border: 0 solid var(--accent); transition: transform .5s var(--ease); }
.aperture i:nth-child(1) { border-width: 2px 0 0 2px; transform: translate(var(--ax), var(--ay)); }
.aperture i:nth-child(2) { border-width: 2px 2px 0 0; transform: translate(calc(var(--ax) + var(--aw) - var(--ac)), var(--ay)); }
.aperture i:nth-child(3) { border-width: 0 2px 2px 0; transform: translate(calc(var(--ax) + var(--aw) - var(--ac)), calc(var(--ay) + var(--ah) - var(--ac))); }
.aperture i:nth-child(4) { border-width: 0 0 2px 2px; transform: translate(var(--ax), calc(var(--ay) + var(--ah) - var(--ac))); }
html:not(.js) .aperture { display: none; }

/* =================================================================== WORK */
.feature { display: grid; gap: clamp(1.75rem, 4vw, 2.5rem); }
.feature__text { display: grid; gap: .9rem; align-content: start; max-width: 34rem; }
.feature__text h2 { font-size: var(--t-2xl); }
.feature__text p { color: var(--ink-soft); }
@media (min-width: 1000px) { .feature { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: center; column-gap: clamp(2.5rem, 5vw, 4.5rem); } }









.note { margin-top: 1.5rem; font-size: var(--t-sm); color: var(--ink-muted); max-width: 46rem; }

/* case study */
.case-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.case-hero__in { position: relative; display: grid; gap: 1.1rem; }
.case-hero h1 { font-size: var(--t-3xl); letter-spacing: -.04em; line-height: 1; }
.case-hero__lead { font-size: var(--t-lg); color: var(--ink-soft); max-width: 40rem; line-height: 1.5; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem 2rem; margin-top: 1rem; padding-block: 1.1rem; border-block: 1px solid var(--line); }
.facts div { display: grid; gap: .15rem; }
.facts dt { font-size: var(--t-xs); color: var(--ink-muted); }
.facts dd { font-weight: 500; }
.case-shot { padding-bottom: clamp(3rem, 6vw, 5rem); }
.story { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.story__block { display: grid; gap: .7rem; }
.story__block h2 { font-size: var(--t-xl); }
.story__block p, .story__block li { color: var(--ink-soft); max-width: 42rem; }
.story__block ul { display: grid; gap: .45rem; padding-left: 1.1rem; }
@media (min-width: 1000px) { .story__block { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 4rem; } .story__block > :not(h2) { grid-column: 2; } .story__block h2 { grid-row: 1 / span 4; } }
.screens { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 1000px) { .screens { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; } .screens .frame:first-child { grid-column: 1 / -1; } }

/* =================================================================== SERVICES (Direction B, approved, in V3 tokens) */
.services { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "core" "more"; row-gap: clamp(2rem, 5vw, 3.25rem); }
.services__core { grid-area: core; position: relative; }

@media (min-width: 1000px) { .services { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head core" "more core"; grid-template-rows: auto 1fr; column-gap: clamp(3rem, 6vw, 6rem); } }

/* the five stages (a real sequence, so numbered) on a line of nodes */
.steps { display: grid; gap: 1.5rem; position: relative; }
.steps li { position: relative; padding-left: 1.8rem; }
.steps__node { position: absolute; left: 0; top: .3rem; width: 12px; height: 12px; border: 1.5px solid var(--accent); border-radius: 50%; background: var(--bg); box-shadow: 0 0 12px rgb(var(--l-teal) / .45); }
.steps li::before { content: ""; position: absolute; left: 5.5px; top: 1.2rem; bottom: -1.5rem; width: 1px; background: rgb(var(--l-teal) / .35); }
.steps li:last-child::before { display: none; }
.steps__n { font-size: var(--t-xs); color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.15rem; letter-spacing: -.012em; margin-top: .1rem; }
.steps p { margin-top: .3rem; font-size: var(--t-sm); line-height: 1.55; color: var(--ink-muted); }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.75rem; }
  .steps::before { content: ""; position: absolute; left: 6px; right: 12%; top: .67rem; height: 1px; background: linear-gradient(to right, rgb(var(--l-teal) / .6), rgb(var(--l-teal) / .15)); }
  .steps li { padding: 1.9rem 0 0; }
  .steps li::before { display: none; }
}

/* =================================================================== PRODUCTS */
.product { display: grid; gap: clamp(2rem, 4vw, 3rem); }







.app .frame__body { border-radius: var(--r-lg); }

.cards { display: grid; gap: 1.75rem 2.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); align-items: start; }
.cards .note { margin-top: 0; align-self: end; }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 15rem) minmax(0, 1fr); } }
.cards figure { display: grid; gap: .7rem; }
.cards img { width: min(100%, 15rem); border-radius: var(--r); box-shadow: 0 0 0 1px rgb(var(--l-line) / .12), 0 24px 50px -24px rgba(0, 0, 0, .9); }
.cards figcaption { font-size: var(--t-sm); color: var(--ink-muted); max-width: 15rem; }






















/* =================================================================== TEMPLATES */




















/* =================================================================== ABOUT: typographic, editorial; the mark in glass carries the picture */
.about-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 3vw, 2rem); }
.about-hero__in { display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); }
.about-hero__in { position: relative; }
.about-hero .corner { left: calc(-1 * clamp(.9rem, 2.2vw, 1.8rem)); top: -.8rem; }
.about-hero h1 { font-size: clamp(2.6rem, .9rem + 6.2vw, 6rem); line-height: .96; letter-spacing: -.04em; }
.about-hero h1 span { display: block; }
@media (min-width: 1000px) { .about-hero h1 span + span { padding-left: calc(100% / 12 * 3); } }
.about-hero__body { font-size: var(--t-lg); line-height: 1.6; color: var(--ink-soft); max-width: 38rem; }
@media (min-width: 1000px) { .about-hero__in { grid-template-columns: repeat(12, minmax(0, 1fr)); } .about-hero .crumbs, .about-hero h1 { grid-column: 1 / -1; } .about-hero__body { grid-column: 4 / span 6; padding-top: 1.5rem; border-top: 1px solid var(--line); } }







.mark { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.mark__glyph { position: relative; width: 100%; aspect-ratio: 1; }
.about-mark .mark__text .actions { margin-top: .4rem; }
.mark__text { display: grid; gap: .8rem; max-width: 36rem; }
.mark__text h2 { font-size: var(--t-2xl); }
.mark__text p { color: var(--ink-soft); }
@media (min-width: 800px) { .mark { grid-template-columns: auto minmax(0, 1fr); } }

/* =================================================================== CONTACT */
.contact { display: grid; gap: clamp(2.5rem, 5vw, 4rem); padding-block: clamp(2.5rem, 6vw, 5rem) var(--section); }
.contact__intro { position: relative; display: grid; gap: 1.1rem; align-content: start; }
.contact__intro .corner { left: calc(-1 * clamp(.9rem, 2.2vw, 1.8rem)); top: -.8rem; }
.contact__intro h1 { font-size: var(--t-3xl); line-height: 1; letter-spacing: -.04em; }
.contact__intro p { color: var(--ink-soft); font-size: var(--t-lg); line-height: 1.5; max-width: 30rem; }
.contact__mail { font-family: var(--font-display); font-weight: 600; font-size: var(--t-xl); letter-spacing: -.02em; }
.contact__next { display: grid; gap: .5rem; padding: 0; list-style: none; margin-top: .5rem; color: var(--ink-muted); font-size: var(--t-sm); }
.contact__next li { display: flex; gap: .6rem; }
.contact__next li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: .62em; background: var(--accent); transform: rotate(45deg); }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(3rem, 6vw, 6rem); } }
.contact-form { position: relative; display: grid; gap: .4rem; padding: clamp(1.4rem, 3.5vw, 2.4rem); border: 1px solid var(--line-soft); border-radius: var(--r); background: rgb(var(--l-bg) / .72); }
.ff-field { position: relative; margin-top: .9rem; }
.ff-field input, .ff-field textarea { display: block; width: 100%; min-height: 52px; padding: 1.35rem .95rem .45rem; border: 1px solid var(--line); border-radius: var(--r); background: rgb(var(--l-bg) / .6); color: var(--ink); font-size: 1rem; transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease); }
.ff-field textarea { min-height: 9rem; resize: vertical; }
.ff-field label { position: absolute; left: .95rem; top: 1rem; color: var(--ink-muted); font-size: 1rem; pointer-events: none; transform-origin: left top; transition: transform var(--dur-1) var(--ease), color var(--dur-1) var(--ease); }
.ff-field input:focus, .ff-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(var(--l-teal) / .2); }
.ff-field input:focus + label, .ff-field textarea:focus + label, .ff-field input:not(:placeholder-shown) + label, .ff-field textarea:not(:placeholder-shown) + label, .ff-field.is-filled label { transform: translateY(-.62rem) scale(.78); color: var(--ink-soft); }
.ff-field.is-stacked label { position: static; display: block; margin-bottom: .35rem; transform: none; }
.ff-field.is-stacked input, .ff-field.is-stacked textarea { padding-top: .8rem; }
.field__opt { color: var(--ink-muted); font-weight: 400; }
.field__error { color: #ff9c8a; font-size: var(--t-sm); }
.chips { margin-top: 1.2rem; border: 0; padding: 0; }
.chips__legend { font-size: var(--t-sm); color: var(--ink-soft); margin-bottom: .6rem; padding: 0; }
.chips__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 .95rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--t-sm); transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease); }
.chip input:checked + span { background: rgb(var(--l-teal) / .14); border-color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn--block { width: 100%; margin-top: 1.4rem; }
.btn__icon { flex: none; }
.contact-form__note { font-size: var(--t-sm); color: var(--ink-soft); margin-top: .6rem; }
.contact-form__note--error { color: #ffb4a6; }
.contact-form__note a { color: var(--ink); }
.contact-form__about { font-size: var(--t-sm); color: var(--ink-muted); }

/* =================================================================== DESIGN REFINEMENT (2026-11-17)
   One environment: the home page's darkness, precise light and Aperture geometry recur on every page in lighter forms.
   Each page has one authored moment (Work: the screen develops; Services: the process line draws; Products: the views open like an
   aperture; Templates: the index previews; About: the drawing draws), and every linked screen answers the pointer.
   Everything is visible by default; motion only adds, and rests under reduced motion. */

/* browser surfaces in the palette */
html { caret-color: var(--accent); accent-color: var(--accent); }
input::placeholder, textarea::placeholder { color: transparent; }
svg.arrow { flex: none; width: 1em; height: 1em; }

/* the ray: light from beyond the header lands on the Aperture corner where each page begins */
.case-hero__in .corner { left: calc(-1 * clamp(.9rem, 2.2vw, 1.8rem)); top: -.8rem; }

@keyframes ray-in { from { opacity: 0; transform: rotate(-3.4deg) scaleX(.35); } }
@keyframes glint { from { opacity: 0; transform: scale(.4); } }

/* linked screens: a second, pointer-only link; the frame lifts 2px, the screen eases in 2% inside it, the edge catches the light */
.shot-link { display: block; color: inherit; text-decoration: none; }
.shot-link .frame__body { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.shot-link .frame__shot img { transition: transform 1.1s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .shot-link:hover .frame__body { transform: translateY(-2px); box-shadow: 0 0 0 1px rgb(var(--l-teal) / .45), 1px 0 0 rgb(var(--l-teal) / .6), 0 60px 110px -40px rgba(0, 0, 0, .95), 0 18px 40px -20px rgba(0, 0, 0, .7); }
  .shot-link:hover .frame__shot img { transform: scale(1.02); }
}

/* WORK: an exhibition plate */
@media (max-width: 899px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }










/* the moment: the large screen develops once, from the top, with a band of light passing down it (scripted; visible by default) */
html.js [data-develop].is-waiting .frame__shot { clip-path: inset(0 0 100% 0); }
[data-develop] .frame__shot { clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease-out); }
[data-develop] .frame__shot::before { content: ""; position: absolute; left: 0; right: 0; top: -30%; height: 30%; z-index: 1; pointer-events: none; opacity: 0; background: linear-gradient(transparent, rgb(var(--l-core) / .1), transparent); }
[data-develop].is-shown .frame__shot::before { animation: develop-light 1.5s .1s var(--ease-out) both; }
@keyframes develop-light { 0% { opacity: 1; top: -30%; } 100% { opacity: 0; top: 100%; } }

/* SERVICES: the process line draws through the five stages once (scripted; drawn by default) */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  html.js .steps[data-draw].is-waiting .steps__node { opacity: .25; transform: scale(.6); }
  .steps[data-draw] .steps__node { transition: opacity .5s var(--ease), transform .5s var(--ease-out); transition-delay: calc(var(--n, 0) * 160ms + 200ms); }
}

/* PRODUCTS: four views of the running application, one at a time; the next one opens like an aperture. With scripting on, the final
   layout (one stage, the tab row under it) is set from the first paint, so nothing moves when the script arrives; without scripts every
   view is shown with its caption and the tab row is hidden. */





   /* the wide screen fills its stage (block layout honours justify-items in current browsers); only the cards are centred */

















   /* the cards at their captured size (319 px) */


/* TEMPLATES: an index set large, previewing each template beside it (CSS only: :has() follows hover and focus) */













/* ABOUT: the mark as a construction drawing: guides on the grid, two leaders, the parts named in the page's own words */
.mark { align-items: center; }
.drawing { position: relative; width: min(100%, 28rem); margin: 0; }
.drawing__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.drawing__guide { stroke: rgb(var(--l-line) / .14); stroke-dasharray: .6 .9; }
.drawing__lead { stroke: rgb(var(--l-teal) / .75); }
.drawing__dot { fill: var(--accent); }
.drawing__notes { display: grid; gap: .6rem; margin-top: 1.5rem; }
.drawing__note { display: grid; font-size: var(--t-sm); color: var(--ink-muted); line-height: 1.4; }
.drawing__note b { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: var(--t-md); letter-spacing: -.01em; }
.drawing__lead, .drawing__dot { display: none; }
@media (min-width: 1000px) {
  .mark { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2.5rem, 5vw, 5rem); }
  .drawing { width: min(100%, 29rem); margin-right: 13rem; }
  .drawing__lead, .drawing__dot { display: inline; }
  .drawing__notes { position: absolute; inset: 0; margin: 0; pointer-events: none; }
  .drawing__note { position: absolute; left: calc(100% + 1rem); width: 12rem; transform: translateY(-50%); }
  .drawing__note--frame { top: 12%; }
  .drawing__note--facet { top: 50%; }
}
/* the moment: the guides and leaders draw, then the names appear (scripted; drawn by default) */
@media (prefers-reduced-motion: no-preference) {
  .drawing__lead { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease-out) .3s; }
  html.js .drawing.is-waiting .drawing__lead { stroke-dashoffset: 1; }
  .drawing__note, .drawing__dot, .drawing__guide { transition: opacity .8s var(--ease) .9s; }
  html.js .drawing.is-waiting .drawing__note, html.js .drawing.is-waiting .drawing__dot { opacity: 0; transition-duration: 0s; transition-delay: 0s; }   /* waiting below the fold: hidden at once, never mid-fade */
  html.js .drawing.is-waiting .drawing__guide { opacity: 0; transition-delay: 0s; }
}

/* CONTACT: the form inside a quiet Aperture frame */
.contact__form { position: relative; }
.aperture.contact__frame { left: -10px; top: -10px; width: calc(100% + 20px); height: calc(100% + 20px); }
.aperture.contact__frame i:nth-child(1) { transform: none; }
.aperture.contact__frame i:nth-child(2) { left: auto; right: 0; transform: none; }
.aperture.contact__frame i:nth-child(3) { left: auto; top: auto; right: 0; bottom: 0; transform: none; }
.aperture.contact__frame i:nth-child(4) { top: auto; bottom: 0; transform: none; }
.contact__intro h1 { font-size: clamp(2.4rem, 1.2rem + 3.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.038em; text-wrap: balance; max-width: 10em; }
.contact-form__privacy { margin-top: 1rem; font-size: var(--t-sm); line-height: 1.5; color: var(--ink-muted); }
.contact { padding-bottom: clamp(3rem, 6vw, 4.5rem); }

/* =================================================================== LIVING LIGHT (2026-11-17)
   Light is the signature language. One system, three levels, four colours.
     Colours      soft white (LUMIN Daylight), teal (the accent), cool cyan, and a white-hot core; a faint warm-white only in the About room
     Ambient      the room: a pool of light placed differently on each page, the architectural grid, the sparse particles. Barely there.
     Interactive  answers the visitor: lit edges, spotlights, luminous underlines, the nav light, focus. On hover, keyboard focus and tap.
     Signature    the Aperture on the home page emits from inside the glass; every page's headline holds the light; the footer's mark.
   Technique: custom properties written by one pointer listener (light.js), gradients, pseudo-elements and masks. No WebGL outside the
   home hero, no filter on a large or moving surface. Everything is visible and readable without scripts; motion rests under reduced
   motion. Text stays text: the luminous headlines are real, selectable headings with a plain colour where the effect is unsupported. */
/* the light channels are defined with the other tokens at the top (Matte Charcoal) */

/* ---------------------------------------------- the room (ambient): a pool of light per page, the grid, the particles */
body { --room-x: 72%; --room-y: 22%; --room-tint: var(--l-cyan); }
body[data-page="home"] { --room-x: 74%; --room-y: 38%; }
body[data-page="work"], body[data-page="case"] { --room-x: 16%; --room-y: 12%; }
body[data-page="services"] { --room-x: 84%; --room-y: 18%; }
body[data-page="products"] { --room-x: 50%; --room-y: 52%; }
body[data-page="templates"] { --room-x: 30%; --room-y: 24%; }
body[data-page="about"] { --room-x: 62%; --room-y: 8%; --room-tint: var(--l-warm); }
body[data-page="contact"] { --room-x: 80%; --room-y: 40%; }
.env-ambient { position: fixed; inset: -6%; z-index: -3; pointer-events: none; will-change: transform;
  background:
    radial-gradient(40% 36% at var(--room-x) var(--room-y), rgb(var(--l-teal) / .085), transparent 72%),
    radial-gradient(24% 22% at var(--room-x) var(--room-y), rgb(var(--room-tint) / .05), transparent 70%),
    radial-gradient(34% 26% at calc(100% - var(--room-x)) 0%, rgb(var(--l-white) / .026), transparent 70%),
    radial-gradient(150% 110% at 50% 45%, transparent 52%, rgb(0 0 0 / .42) 100%); }
/* the grid is architectural: fine lines every cell, brighter structural lines every four, lit around the room's light */
.env-grid {
  background-image:
    linear-gradient(to right, rgb(var(--l-cyan) / .05) 1px, transparent 1px), linear-gradient(to bottom, rgb(var(--l-cyan) / .05) 1px, transparent 1px),
    linear-gradient(to right, rgb(var(--l-line) / .03) 1px, transparent 1px), linear-gradient(to bottom, rgb(var(--l-line) / .03) 1px, transparent 1px);
  background-size: calc(var(--grid) * 4) calc(var(--grid) * 4), calc(var(--grid) * 4) calc(var(--grid) * 4), var(--grid) var(--grid), var(--grid) var(--grid);
  -webkit-mask-image: radial-gradient(125% 100% at var(--room-x) var(--room-y), #000 18%, rgb(0 0 0 / .55) 60%, transparent 100%);
  mask-image: radial-gradient(125% 100% at var(--room-x) var(--room-y), #000 18%, rgb(0 0 0 / .55) 60%, transparent 100%); }
/* the lens: the grid turns teal under the pointer (production behaviour). Moved by transform only: a small masked window travels with
   the pointer and the grid inside it is moved back the other way, so it stays on the room's grid. Nothing repaints as it moves
   (measured: repainting a full-screen mask every pointer frame cost about a fifth of the Aperture's frame rate on integrated graphics). */
/* only a fine pointer moves the lens and the pool: elsewhere (touch, reduced motion) they cost no layer at all */
.env-ambient { will-change: auto; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .env-ambient { will-change: transform; } }


/* ---------------------------------------------- header: the logo's facet, the hairline that catches the pointer, the nav light */
.hd { --hx: 50vw; --hx-rest: 50vw; --hl: 0; }
.hd::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: radial-gradient(240px 1px at var(--hx) 50%, rgb(var(--l-core) / calc(.75 * var(--hl))), transparent),
    radial-gradient(150px 1px at var(--hx-rest) 50%, rgb(var(--l-teal) / .5), transparent); }
.hd__logo { position: relative; isolation: isolate; --near: 0; }
.hd__logo::before { content: ""; position: absolute; z-index: -1; left: -7.5px; top: calc(50% - 26px); width: 52px; height: 52px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(var(--l-core) / .5), rgb(var(--l-teal) / .2) 42%, transparent);
  opacity: calc(.2 + .8 * var(--near)); transform: scale(calc(.72 + .42 * var(--near))); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.hd__logo:is(:hover, :focus-visible)::before { opacity: 1; transform: scale(1.12); }
.nav { position: relative; }
.nav a:is(:hover, :focus-visible) { color: var(--ink); text-shadow: 0 0 18px rgb(var(--l-teal) / .5); }
.nav a[aria-current="page"]::before { filter: drop-shadow(0 0 3px rgb(var(--l-teal) / .8)); }
/* the page's length as a line of light under the header (scroll timeline where supported, light.js otherwise) */

@keyframes hd-progress { to { transform: scaleX(1); } }
/* page change: as a link is followed the line runs out to the edge */

/* ---------------------------------------------- the phone menu: a lit sheet; a line of light passes down it as it opens */
.menu > summary { transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.menu > summary:hover, .menu[open] > summary { border-color: rgb(var(--l-teal) / .6); box-shadow: 0 0 20px -6px rgb(var(--l-teal) / .7); }
.menu__panel { background:
    radial-gradient(75% 38% at 92% 0%, rgb(var(--l-teal) / .14), transparent 70%), radial-gradient(70% 30% at 0% 100%, rgb(var(--l-cyan) / .05), transparent 70%),
    linear-gradient(rgb(var(--l-line) / .035) 1px, transparent 1px) 0 0 / 100% var(--grid), linear-gradient(90deg, rgb(var(--l-line) / .035) 1px, transparent 1px) 0 0 / var(--grid) 100%, var(--bg); }
.menu__panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none; opacity: 0; background: linear-gradient(90deg, transparent, rgb(var(--l-core)), transparent); }
@media (prefers-reduced-motion: no-preference) { .menu[open] .menu__panel::before { animation: menu-sweep 1.2s var(--ease-out) both; } }
@keyframes menu-sweep { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(62vh); } }
.menu__panel li { position: relative; }
.menu__panel li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, rgb(var(--l-core)), rgb(var(--l-teal) / .5) 40%, transparent); transition: transform .6s var(--ease-out); }
.menu__panel li:has(a:is(:hover, :focus-visible, [aria-current="page"]))::after { transform: scaleX(1); }
.menu__panel nav a:is(:hover, :focus-visible) { text-shadow: 0 0 26px rgb(var(--l-teal) / .45); }
.menu__panel nav a[aria-current="page"]::after { box-shadow: 0 0 14px rgb(var(--l-teal) / .85); }
.menu__foot { display: grid; gap: 1rem; justify-items: start; }

/* ---------------------------------------------- buttons: light under the pointer, an edge that catches it, a press you can feel */
.btn { position: relative; isolation: isolate; overflow: hidden; --lx: 50%; --ly: 50%; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(90px circle at var(--lx) var(--ly), rgb(255 255 255 / .42), transparent 70%); }
.btn--line::before { background: radial-gradient(120px circle at var(--lx) var(--ly), rgb(var(--l-teal) / .22), transparent 70%); }
.btn--line::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(70px circle at var(--lx) var(--ly), rgb(var(--l-core)), transparent 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.btn:is(:hover, :focus-visible, .is-touched)::before, .btn--line:is(:hover, :focus-visible, .is-touched)::after { opacity: 1; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn:active::before { opacity: 1; background-size: 140% 140%; }
.btn--line:is(:hover, :focus-visible) .arrow { filter: drop-shadow(0 0 3px rgb(var(--l-teal))); }
.btn--line .arrow { color: var(--accent); }

/* ---------------------------------------------- links: a luminous underline draws across; the words take the light */
.link { text-decoration: none; padding-bottom: .14em; background-repeat: no-repeat; background-position: 0 100%, 0 100%;
  background-image: linear-gradient(90deg, rgb(var(--l-core)), rgb(var(--l-teal))), linear-gradient(rgb(var(--l-teal) / .62), rgb(var(--l-teal) / .62)); background-size: 0% 1px, 100% 1px;
  transition: background-size .55s var(--ease), color var(--dur-1) var(--ease), text-shadow .3s var(--ease); }
.link:is(:hover, :focus-visible) { color: var(--ink); background-size: 100% 1px, 100% 1px; text-shadow: 0 0 16px rgb(var(--l-teal) / .45); }
main :is(p, li, dd) a:not(.btn):not(.link):is(:hover, :focus-visible), .crumbs a:is(:hover, :focus-visible) { color: var(--ink); text-shadow: 0 0 14px rgb(var(--l-teal) / .4); }

/* ---------------------------------------------- glowing details: the Aperture's corners, status marks, tabs, focus */
.corner { filter: drop-shadow(0 0 5px rgb(var(--l-teal) / .7)); }
.aperture i { filter: drop-shadow(0 0 4px rgb(var(--l-teal) / .6)); }
.status::before, .contact__next li::before { box-shadow: 0 0 8px rgb(var(--l-teal) / .6); }
:focus-visible { box-shadow: 0 0 0 4px rgb(var(--l-teal) / .14), 0 0 22px rgb(var(--l-teal) / .32); }


:focus-visible) { text-shadow: 0 0 16px rgb(var(--l-teal) / .4); }

/* ---------------------------------------------- luminous headlines (signature): light rests near the Aperture corner, follows the pointer,
   and crosses each heading once as it arrives. The heading stays a heading: plain colour without background-clip, in forced colours,
   and when selected. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .lumen, main h2.is-swept {
    background-image: linear-gradient(100deg, transparent 44%, rgb(var(--l-cyan) / .9) 49%, rgb(var(--l-core)) 50%, rgb(var(--l-cyan) / .9) 51%, transparent 56%), linear-gradient(var(--ink), var(--ink));
    background-size: 320% 100%, 100% 100%; background-position: 0% 0, 0 0; background-repeat: no-repeat;
    -webkit-background-clip: text; background-clip: text; color: transparent; }
  .lumen--lit {
    background-image: linear-gradient(100deg, transparent 44%, rgb(var(--l-cyan) / .9) 49%, rgb(var(--l-core)) 50%, rgb(var(--l-cyan) / .9) 51%, transparent 56%),
      radial-gradient(min(20rem, 56vw) circle at var(--lx, 6%) var(--ly, 22%), rgb(var(--l-core)), rgb(var(--l-cyan) / .42) 24%, transparent 60%),
      linear-gradient(var(--ink), var(--ink));
    background-size: 320% 100%, 100% 100%, 100% 100%; background-position: 0% 0, 0 0, 0 0; }
  .lumen::selection, .lumen *::selection, main h2.is-swept::selection { color: var(--accent-ink); background: var(--accent); }
  @media (prefers-reduced-motion: no-preference) {
    .lumen { animation: lumen-sweep 1.9s .35s var(--ease) both; }
    main h2.is-swept { animation: lumen-sweep 1.6s .1s var(--ease) both; }
  }
}
@keyframes lumen-sweep { from { background-position: 100% 0, 0 0, 0 0; } to { background-position: 0% 0, 0 0, 0 0; } }
@media (forced-colors: active) { .lumen, main h2.is-swept { background: none; color: CanvasText; } }

/* ---------------------------------------------- surfaces: one light, a different composition for each kind of content */
/* cells (What we make, home): a spotlight under the pointer and a lit top edge */
.home-services__list > li { position: relative; isolation: isolate; overflow: hidden; }
.home-services__list > li::before, .home-services__list > li::after { content: ""; position: absolute; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
.home-services__list > li::before { inset: 0; z-index: -1; background: radial-gradient(300px circle at var(--lx, 0px) var(--ly, 0px), rgb(var(--l-teal) / .1), transparent 70%); }
.home-services__list > li::after { left: 0; right: 0; top: 0; height: 1px; background: radial-gradient(170px 1px at var(--lx, 0px) 50%, rgb(var(--l-core) / .9), transparent); }
.home-services__list > li:is(:hover, .is-touched)::before, .home-services__list > li:is(:hover, .is-touched)::after { opacity: 1; }
/* rails (examples on Work): the rule above each one carries a light along it */


.is-touched)::before { transform: scaleX(1); }
/* doors (previous / next): a spotlight and a lit threshold */
.trail a { position: relative; isolation: isolate; overflow: hidden; }
.trail a::before, .trail a::after { content: ""; position: absolute; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); }
.trail a::before { inset: 0; z-index: -1; background: radial-gradient(320px circle at var(--lx, 50%) var(--ly, 50%), rgb(var(--l-teal) / .1), transparent 70%); }
.trail a::after { left: 0; right: 0; bottom: 0; height: 1px; background: radial-gradient(220px 1px at var(--lx, 50%) 50%, rgb(var(--l-core)), transparent); }
.trail a:is(:hover, :focus-visible, .is-touched)::before, .trail a:is(:hover, :focus-visible, .is-touched)::after { opacity: 1; }
.trail a:is(:hover, :focus-visible) b { text-shadow: 0 0 22px rgb(var(--l-teal) / .35); }
/* plates (every framed screen): the edge catches light from the corner, and from the pointer as it nears */
.frame__body::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; padding: 1px; pointer-events: none; opacity: .55; transition: opacity .6s var(--ease);
  background: radial-gradient(300px circle at var(--lx, 18%) var(--ly, 0%), rgb(var(--l-core) / .75), rgb(var(--l-teal) / .22) 42%, transparent 72%), radial-gradient(260px circle at 10% 0%, rgb(var(--l-white) / .32), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.shot-link:is(:hover, :focus-visible) .frame__body::after, .frame__body.is-touched::after { opacity: 1; }
/* the instrument (product record): a lit top edge */


/* the spotlight on Products follows the pointer over the stage */

/* columns (About principles): the divider catches the light at the pointer's height */

/* the index (Templates): the rule under the row in view lights, and its name takes the light */


:focus-visible, .is-touched)::after { opacity: 1; }

/* the form (Contact): a faint light inside that moves with the pointer; fields light when they take focus */
.contact-form { isolation: isolate; }
.contact-form::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--lx, 85%) var(--ly, 0%), rgb(var(--l-teal) / .06), transparent 70%); }
.ff-field input:focus, .ff-field textarea:focus { box-shadow: 0 0 0 3px rgb(var(--l-teal) / .2), 0 0 28px -8px rgb(var(--l-teal) / .7); }
/* Services keeps Direction B (approved): only the discipline being read takes a little more light, and the process line carries a pulse */
@media (min-width: 1000px) and (prefers-reduced-motion: no-preference) {
  .steps::after { content: ""; position: absolute; left: 6px; right: 12%; top: calc(.67rem - 1px); height: 3px; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgb(var(--l-core)), transparent) -160px 0 / 160px 100% no-repeat; }
  html.js .steps[data-draw]:not(.is-waiting)::after { animation: steps-pulse 2.4s .55s var(--ease-out) both; }
}
@keyframes steps-pulse { from { background-position: -160px 0; } to { background-position: calc(100% + 160px) 0; } }

/* ---------------------------------------------- page heroes: the Aperture corner is the light source. It emits the ray (above) and
   a broad, soft cone over the headline; each page's room tints it. Decorative, static, below the words. */
:is(.page-hero__in, .case-hero__in, .about-hero__in, .contact__intro)::before { content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: calc(-1 * clamp(.9rem, 2.2vw, 1.8rem) - 700px); top: calc(-.8rem - 420px); width: 2000px; height: 1240px;   /* the light is centred on the corner and fades out well inside the box: no edges */
  background: radial-gradient(min(900px, 120vw) min(520px, 80vw) at 700px 420px, rgb(var(--l-teal) / .1), rgb(var(--room-tint) / .035) 36%, transparent 70%), radial-gradient(260px 180px at 700px 420px, rgb(var(--l-core) / .07), transparent 70%); }
.corner::before { content: ""; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgb(var(--l-core) / .9), rgb(var(--l-teal) / .3) 50%, transparent); }
/* the seams between sections carry a little of the room's light */
.section { position: relative; }
.section + .section::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; pointer-events: none; background: radial-gradient(36% 1px at var(--room-x) 50%, rgb(var(--l-teal) / .38), transparent); }

/* ---------------------------------------------- the closing horizon rises as it comes into view (scroll timeline where supported) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .horizon__arc { animation: arc-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  }
}
@keyframes arc-rise { from { opacity: .3; transform: translateX(-50%) translateY(48px); } }

/* ---------------------------------------------- the final scene: the invitation, the way back, and the mark standing on a line of light */
.ft { position: relative; isolation: isolate; overflow: clip; padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line-soft); color: var(--ink-muted); font-size: var(--t-sm); }
.ft__brand { display: grid; gap: .9rem; }
.ft__line { max-width: 27rem; color: var(--ink-soft); }
.ft a { color: var(--ink-soft); text-decoration: none; transition: color var(--dur-1) var(--ease), text-shadow .3s var(--ease), background-size .6s var(--ease); }
.ft a:is(:hover, :focus-visible) { color: var(--ink); text-shadow: 0 0 16px rgb(var(--l-teal) / .45); }

/* the logo itself (the same file the header uses), as a mask filled with light: lit from the horizon below, and from the pointer */

/* the facet keeps its teal: the one thing inside the frame */

/* =================================================================== page-to-page continuity
   Cross-document view transitions: real links and real page loads. Supporting browsers move the header's Aperture marker to the new
   destination and grow a home-page room into its page; others just load the page. Off under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(*) { animation-duration: .5s; animation-timing-function: var(--ease-out); }
  ::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in .5s var(--ease-out) both; }
  ::view-transition-old(env-grid), ::view-transition-new(env-grid), ::view-transition-old(hd), ::view-transition-new(hd) { animation: none; }
  ::view-transition-group(nav-current) { animation-duration: .45s; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
@media print { .env-grid, .env-ambient, .hd, .trail, .horizon__arc{ display: none; } body { background: #fff; color: #000; } }

/* =================================================================== MATTE CHARCOAL, POWERED BY LIGHT (2026-11-18)
   The owner's concept board translated into a system, not copied: its text, projects and figures are not used.
     Material   page #232628, structure #1B1E20, raised #2A2E30, top face #303437, inset #15191A; a fine static grain (matte, not gloss).
     Light      Ambient: an overhead cool light and the page's pool. Interactive: lit edges, the nav light, focus, the pointer's spotlight.
                Signature: the Aperture (a teal LED core, cool-white LED strips in its bevels), the luminous headline, the footer's floor.
     Rule       darkness defines the structure; light reveals its purpose. An LED edge only on the few panels that carry one (the
                product console, the contact form, the product display); every other surface is lit only by the hand.
   Technique: background layers, box-shadows, masks and pseudo-elements. No WebGL outside the hero, no filter on a large or moving
   surface, no constant animation: one light runs once round an LED-edged panel as it arrives, and rests under reduced motion. */

/* ---------------------------------------------- material and room */
body { background: var(--matte) 0 0 / 160px, var(--bg); }
.env-ambient { background:
    radial-gradient(70% 30% at 50% -4%, rgb(var(--l-cool) / .06), transparent 72%),
    radial-gradient(40% 36% at var(--room-x) var(--room-y), rgb(var(--l-teal) / .06), transparent 72%),
    radial-gradient(24% 22% at var(--room-x) var(--room-y), rgb(var(--room-tint) / .035), transparent 70%),
    radial-gradient(150% 110% at 50% 45%, transparent 55%, rgb(0 0 0 / .3) 100%); }
.env-grid { background-image:
    linear-gradient(to right, rgb(var(--l-line) / .04) 1px, transparent 1px), linear-gradient(to bottom, rgb(var(--l-line) / .04) 1px, transparent 1px),
    linear-gradient(to right, rgb(var(--l-line) / .022) 1px, transparent 1px), linear-gradient(to bottom, rgb(var(--l-line) / .022) 1px, transparent 1px); }
.section + .section { border-top-color: rgb(var(--l-line) / .06); }

/* ---------------------------------------------- the panel: one matte surface, a bevel highlight on its top face, a soft shadow */
:is(.home-services__list > li, .contact-form, .case-hero .facts, .trail a {
  border: 1px solid; border-color: rgb(var(--l-cool) / .14) rgb(var(--l-line) / .07) rgb(var(--l-line) / .05); border-radius: var(--r-lg);   /* lit from above */
  background: radial-gradient(180px 90px at 0 0, rgb(var(--l-teal) / .075), transparent 70%), linear-gradient(180deg, rgb(var(--l-white) / .03), transparent 42%), var(--matte) 0 0 / 160px, var(--raised);
  box-shadow: inset 0 1px 0 rgb(var(--l-white) / .055), 0 26px 50px -32px rgb(0 0 0 / .8); }
/* the LED edge: a 1px channel of light along the top face, its glow falling onto the surface */
.contact-form) {
  background: var(--led-edge) 50% 0 / 100% 1px no-repeat, radial-gradient(55% 34px at 50% 0, rgb(var(--l-teal) / .13), transparent),
    linear-gradient(180deg, rgb(var(--l-white) / .03), transparent 42%), var(--matte) 0 0 / 160px, var(--raised);
  box-shadow: inset 0 1px 0 rgb(var(--l-white) / .05), 0 -6px 24px -14px rgb(var(--l-teal) / .5), 0 30px 60px -34px rgb(0 0 0 / .85); }
/* a light runs once round the LED-edged panels as they arrive (registered angle; a still edge where unsupported) */
@property --beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.contact-form)::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; z-index: 2;
  background: conic-gradient(from var(--beam), transparent 0 78%, rgb(var(--l-teal) / .9) 92%, rgb(var(--l-cool)) 97%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
@media (prefers-reduced-motion: no-preference) { .contact-form).is-swept::after { animation: beam-run 2.8s var(--ease-out) .15s both; } }
@keyframes beam-run { 0% { opacity: 0; --beam: -40deg; } 12% { opacity: 1; } 84% { opacity: 1; } 100% { opacity: 0; --beam: 340deg; } }

/* ---------------------------------------------- header: a structural charcoal band; the current destination lit from below */
.hd::before { background: linear-gradient(to bottom, rgb(27 30 32 / .95), rgb(27 30 32 / .88)); border-bottom-color: rgb(var(--l-line) / .07); }
.nav a { color: rgb(var(--l-white) / .74); }
.nav a[aria-current="page"]::before { opacity: .75; filter: drop-shadow(0 0 3px rgb(var(--l-teal) / .7)); }
/* the nav light (from 21st.dev "Limelight Nav", idea only): an LED bar with a cone of light rising from it onto the word */
.hd__cta { padding-inline: 1.25rem; min-height: 44px; }

/* ---------------------------------------------- buttons: a teal LED you can press; an outlined pill that catches the light */
.btn--primary { color: var(--accent-ink); background: linear-gradient(180deg, #8ef5ea, var(--accent) 52%, #1fcab6);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), inset 0 -1px 0 rgb(0 70 62 / .35), 0 0 0 1px rgb(var(--l-teal) / .55), 0 0 22px -4px rgb(var(--l-teal) / .55), 0 12px 24px -14px rgb(0 0 0 / .8);
  transition: box-shadow .35s var(--ease), filter .35s var(--ease), transform var(--dur-1) var(--ease); }
.btn--primary:hover { background: linear-gradient(180deg, #b4f9f1, #5cefde 52%, #26d4c0); box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), inset 0 -1px 0 rgb(0 70 62 / .3), 0 0 0 1px rgb(var(--l-cool) / .7), 0 0 34px -2px rgb(var(--l-teal) / .7), 0 12px 24px -14px rgb(0 0 0 / .8); }
.btn--primary:active { background: linear-gradient(180deg, #4fe6d4, #1fc4b0); box-shadow: inset 0 2px 6px rgb(0 60 52 / .45), 0 0 0 1px rgb(var(--l-teal) / .6), 0 0 16px -4px rgb(var(--l-teal) / .5); }
.btn--line { border-color: rgb(var(--l-line) / .3); color: var(--ink); background: rgb(var(--l-white) / .035); box-shadow: inset 0 1px 0 rgb(var(--l-white) / .06); }
.btn--line:hover { border-color: rgb(var(--l-teal) / .8); background: rgb(var(--l-teal) / .08); box-shadow: 0 0 22px -6px rgb(var(--l-teal) / .65), inset 0 0 14px -8px rgb(var(--l-teal) / .6); }
.status::before { background: var(--accent); }

/* ---------------------------------------------- icons: one stroke family, drawn as masks so they take the light's colour */
.ico { display: inline-block; flex: none; width: 1.25rem; height: 1.25rem; background: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
/* the icon tile (21st.dev "ReUI Icon Tile", idea only): a small top-lit charcoal square; the stroke glows when the row is lit */
.tile-ico { position: relative; display: inline-grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: var(--r);
  border: 1px solid rgb(var(--l-line) / .1); background: linear-gradient(180deg, rgb(var(--l-white) / .07), rgb(var(--l-white) / .015)), var(--inset);
  box-shadow: inset 0 1px 0 rgb(var(--l-white) / .07); color: var(--accent); }
.tile-ico::before { content: ""; width: 1.15rem; height: 1.15rem; background: currentColor; filter: drop-shadow(0 0 4px rgb(var(--l-teal) / .55));
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }

/* ---------------------------------------------- frames: real captures behind glass, in a charcoal bezel, lit from above */
.frame::before { background: radial-gradient(52% 46% at 24% 14%, rgb(var(--l-cool) / .07), transparent 70%), radial-gradient(50% 50% at 80% 90%, rgb(var(--l-teal) / .05), transparent 70%); }
.frame__body { border-radius: var(--r-lg); background: var(--inset);
  box-shadow: 0 0 0 1px rgb(var(--l-line) / .14), inset 0 1px 0 rgb(var(--l-white) / .08), 0 54px 96px -46px rgb(0 0 0 / .9), 0 0 70px -36px rgb(var(--l-teal) / .35); }
.frame__bar { background: linear-gradient(180deg, #303537, #26292b); border-bottom-color: rgb(var(--l-line) / .07); }
.frame__dots i { background: rgb(var(--l-line) / .22); }
.frame__dots i:first-child { background: rgb(var(--l-teal) / .75); box-shadow: 0 0 6px rgb(var(--l-teal) / .7); }
.frame__shot::after { background: linear-gradient(115deg, rgb(var(--l-cool) / .07), transparent 30%); }
@media (hover: hover) { .shot-link:hover .frame__body { box-shadow: 0 0 0 1px rgb(var(--l-teal) / .55), inset 0 1px 0 rgb(var(--l-white) / .1), 0 60px 110px -44px rgb(0 0 0 / .92), 0 0 60px -20px rgb(var(--l-teal) / .45); } }
/* the product display: a thicker charcoal bezel with an LED edge, standing on a restrained reflection (WebKit/Blink; none elsewhere) */
:is(.home-product__shot { padding: clamp(6px, .8vw, 11px); border-radius: calc(var(--r-lg) + 6px);
  background: var(--led-edge) 50% 0 / 86% 1px no-repeat, linear-gradient(180deg, #363b3e, #222628 60%, #1c1f21);
  box-shadow: 0 0 0 1px rgb(var(--l-line) / .16), inset 0 1px 0 rgb(var(--l-white) / .1), 0 -10px 40px -24px rgb(var(--l-teal) / .6), 0 54px 96px -46px rgb(0 0 0 / .9); }
:is(.home-product__shot { overflow: hidden; border-radius: var(--r); box-shadow: 0 0 0 1px rgb(0 0 0 / .6); }
:is(.home-product__shot { -webkit-box-reflect: below 18px linear-gradient(transparent 82%, rgb(0 0 0 / .1)); }

/* ---------------------------------------------- pills: filters and tabs lit like the concept's selectors */
.chip span { border-color: rgb(var(--l-line) / .2); background: rgb(var(--l-white) / .03); }
.chip input:checked + span { color: var(--accent-ink); background: linear-gradient(180deg, #8ef5ea, var(--accent)); border-color: transparent; box-shadow: 0 0 18px -4px rgb(var(--l-teal) / .6), inset 0 1px 0 rgb(255 255 255 / .5); font-weight: 600; }





/* ---------------------------------------------- fields: deep insets that light at the edge when they take focus */
.ff-field input, .ff-field textarea { background: var(--inset); border-color: rgb(var(--l-line) / .11); box-shadow: inset 0 2px 6px rgb(0 0 0 / .35); }
.ff-field input:focus, .ff-field textarea:focus { border-color: rgb(var(--l-teal) / .9); box-shadow: inset 0 2px 6px rgb(0 0 0 / .3), 0 0 0 3px rgb(var(--l-teal) / .16), 0 0 22px -6px rgb(var(--l-teal) / .6); }

/* ---------------------------------------------- the phone menu: a charcoal sheet lit from the corner the menu opens from */
.menu > summary { background: rgb(var(--l-white) / .035); border-color: rgb(var(--l-line) / .24); box-shadow: inset 0 1px 0 rgb(var(--l-white) / .06); }
.menu > summary::before { content: ""; width: 14px; height: 9px; background: linear-gradient(currentColor 0 0) 0 0 / 100% 1.5px no-repeat, linear-gradient(currentColor 0 0) 0 100% / 64% 1.5px no-repeat; order: -1; }
.menu > summary::after { display: none; }
.menu[open] > summary::before { background: linear-gradient(var(--accent) 0 0) 0 0 / 100% 1.5px no-repeat, linear-gradient(var(--accent) 0 0) 0 100% / 100% 1.5px no-repeat; }
.menu__panel { background: radial-gradient(85% 40% at 100% 0%, rgb(var(--l-teal) / .13), transparent 70%), radial-gradient(70% 30% at 0% 100%, rgb(var(--l-cool) / .05), transparent 70%),
    linear-gradient(rgb(var(--l-line) / .03) 1px, transparent 1px) 0 0 / 100% var(--grid), var(--matte) 0 0 / 160px, var(--bg-header); }
.menu__panel nav a[aria-current="page"] { color: var(--ink); text-shadow: 0 0 22px rgb(var(--l-teal) / .4); }

/* ---------------------------------------------- footer: the final scene stands on a floor of light */
.ft { border-top: 0; background: linear-gradient(180deg, transparent, rgb(var(--l-deep) / .55) 70%); }
.ft::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(var(--l-teal) / .35) 25%, rgb(var(--l-cool) / .5) 50%, rgb(var(--l-teal) / .35) 75%, transparent); }

.trail__in { gap: clamp(.5rem, 1vw, .75rem); background: none; border: 0; border-radius: 0; overflow: visible; }
.trail a:hover { background: linear-gradient(180deg, rgb(var(--l-teal) / .07), transparent 60%), var(--matte) 0 0 / 160px, var(--raised-2); border-color: rgb(var(--l-teal) / .3); }

/* =================================================================== pages */
/* ---------------------------------------------- home: the services as four lit tiles (no icons: the services rule) */
.home-services__list { gap: clamp(.6rem, 1.2vw, .9rem); background: none; border: 0; border-radius: 0; overflow: visible; }
.home-services__list > li { padding: clamp(1.2rem, 2.4vw, 1.6rem); }
.home-services__list > li::after { left: 12px; right: 12px; }

/* ---------------------------------------------- work: an exhibition; the facts as an instrument strip with lit icons */
.case-hero .facts { padding: clamp(1rem, 2.2vw, 1.35rem) clamp(1rem, 2.4vw, 1.6rem); border-block: 1px solid rgb(var(--l-line) / .085); }
.case-hero .facts) > div { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .8rem; align-items: start; }
.case-hero .facts) dt { grid-column: 2; }
.case-hero .facts) dd { grid-column: 2; }
.case-hero .facts) > div::before { content: ""; grid-row: 1 / span 2; width: 2.25rem; height: 2.25rem; border-radius: var(--r);
  border: 1px solid rgb(var(--l-line) / .1); background: radial-gradient(60% 60% at 50% 30%, rgb(var(--l-teal) / .14), transparent 70%), var(--inset); box-shadow: inset 0 1px 0 rgb(var(--l-white) / .07); }
.case-hero .facts) > div::after { content: ""; position: absolute; width: 1.05rem; height: 1.05rem; margin: .6rem; background: var(--accent); filter: drop-shadow(0 0 3px rgb(var(--l-teal) / .6));
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.case-hero .facts) > div { position: relative; }
.case-hero .facts) > div:nth-child(1) { --ic: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath%20d=%27m12%203%209%205-9%205-9-5z%27/%3E%3Cpath%20d=%27m3%2013%209%205%209-5%27/%3E%3C/svg%3E"); }
.case-hero .facts) > div:nth-child(2) { --ic: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M3%2012h4l3-7%204%2014%203-7h4%27/%3E%3C/svg%3E"); }
.case-hero .facts) > div:nth-child(3) { --ic: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath%20d=%27m8%207-5%205%205%205%27/%3E%3Cpath%20d=%27m16%207%205%205-5%205%27/%3E%3C/svg%3E"); }
.case-hero .facts) > div:nth-child(4) { --ic: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle%20cx=%2712%27%20cy=%275%27%20r=%272%27/%3E%3Cpath%20d=%27M11%207%206%2021%27/%3E%3Cpath%20d=%27m13%207%205%2014%27/%3E%3Cpath%20d=%27M8%2015.5h8%27/%3E%3C/svg%3E"); }





/* ---------------------------------------------- services: Direction B's index is unchanged (site rule); the architecture around it
   carries the light: the Aperture frame in LED white and teal, and the process as a conduit whose nodes light in order */
.aperture i { border-color: rgb(var(--l-cool)); filter: drop-shadow(0 0 3px rgb(var(--l-teal))) drop-shadow(0 0 8px rgb(var(--l-teal) / .55)); }
.steps__node { background: var(--inset); border-color: rgb(var(--l-teal) / .9); }
.steps li::before { background: linear-gradient(rgb(var(--l-teal) / .55), rgb(var(--l-teal) / .15)); box-shadow: 0 0 6px rgb(var(--l-teal) / .35); }

/* ---------------------------------------------- products: a display on a stage; the four views as lit selectors; the record a console */








/* ---------------------------------------------- templates: a showroom; each template's notes on a matte plate beside its screen */




/* ---------------------------------------------- about: the ridge of light (Armenia's mountain country, drawn, not a particular peak) */
.about-hero { position: relative; isolation: isolate; padding-bottom: clamp(8rem, 16vw, 14rem); }












/* ---------------------------------------------- contact: the form is the lit doorway; the way a message goes, in icons */
.contact__mail { display: inline-flex; align-items: center; gap: .75rem; font-size: clamp(1.15rem, .8rem + 1.25vw, 1.6rem); }
.contact__mail::before { content: ""; --ic: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect%20x=%273%27%20y=%275%27%20width=%2718%27%20height=%2714%27%20rx=%272%27/%3E%3Cpath%20d=%27m3.5%206.5%208.5%206.5%208.5-6.5%27/%3E%3C/svg%3E"); width: 1.35rem; height: 1.35rem; flex: none; background: var(--accent); filter: drop-shadow(0 0 4px rgb(var(--l-teal) / .6));
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.contact__next { gap: .7rem; }
.contact__next li { align-items: center; gap: .8rem; }
.contact__next li::before { width: 2.1rem; height: 2.1rem; margin: 0; transform: none; border-radius: var(--r); box-shadow: none;
  background: var(--accent); -webkit-mask: none; mask: none; }
.contact__next li { --ic: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M21%203%2010.5%2013.5%27/%3E%3Cpath%20d=%27M21%203%2014.5%2021l-4-7.5L3%209.5z%27/%3E%3C/svg%3E"); }
.contact__next li:nth-child(2) { --ic: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M9%2014%204%209l5-5%27/%3E%3Cpath%20d=%27M4%209h10a6%206%200%200%201%206%206v4%27/%3E%3C/svg%3E"); }
.contact__next li:nth-child(3) { --ic: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%271.6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath%20d=%27M12%203%205%206v6c0%204.2%203%207.6%207%209%204-1.4%207-4.8%207-9V6z%27/%3E%3Cpath%20d=%27m9%2012%202%202%204-4%27/%3E%3C/svg%3E"); }
.contact__next li::before { background: radial-gradient(60% 60% at 50% 30%, rgb(var(--l-teal) / .14), transparent 70%), var(--inset); border: 1px solid rgb(var(--l-line) / .1); }
.contact__next li { position: relative; }
.contact__next li::after { content: ""; position: absolute; left: .55rem; top: 50%; width: 1rem; height: 1rem; margin-top: -.5rem; background: var(--accent); filter: drop-shadow(0 0 3px rgb(var(--l-teal) / .6));
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.aperture.contact__frame { left: -14px; top: -14px; width: calc(100% + 28px); height: calc(100% + 28px); }

/* ---------------------------------------------- forced colours and print: the light is decoration and steps aside */
@media (forced-colors: active) { .contact-form)::after { display: none; } }
@media print {  body { background: #fff; } }

/* ---------------------------------------------- fix (found 2026-11-18, present since 999da40): a tab panel's own display rule
   overrode the hidden attribute, so the product record showed all four parts under its tabs */


/* =================================================================== ARCHITECTURAL RESET (2026-11-18)
   The owner's correction round: a calmer, better organised site. Home introduces the studio and its services; each destination
   has one job. The header is quiet by default (the current page marked by the Aperture's corners, the labels' letters swapping
   on hover and focus), the footer is editorial with the LUMIN logo drawn as a large outline, and the room is matte charcoal with
   the grid almost gone. Effects are the exception: the site must read as a serious studio with every animation switched off. */

/* ---------------------------------------------- the room: matte charcoal, the grid barely there, no particles, no pointer grid */
.env-grid { background-image: linear-gradient(to right, rgb(var(--l-line) / .016) 1px, transparent 1px), linear-gradient(to bottom, rgb(var(--l-line) / .016) 1px, transparent 1px); background-size: var(--grid) var(--grid); }
.env-ambient { background:
    radial-gradient(70% 30% at 50% -4%, rgb(var(--l-cool) / .045), transparent 72%),
    radial-gradient(40% 36% at var(--room-x) var(--room-y), rgb(var(--l-teal) / .03), transparent 72%),
    radial-gradient(150% 110% at 50% 45%, transparent 55%, rgb(0 0 0 / .28) 100%); }
.home-hero { background: radial-gradient(38% 52% at 74% 50%, rgb(var(--l-cool) / .022), transparent 70%); }   /* the still and no-WebGL views get the same lift the renderer draws */

/* ---------------------------------------------- header: quiet by default */
.hd { --hd-h: 4.75rem; }
.hd__in { min-height: var(--hd-h); gap: clamp(1rem, 3vw, 3rem); }
.hd::before { background: rgb(27 30 32 / .94); border-bottom: 1px solid rgb(var(--l-line) / .075); }
.hd::after { display: none; }
.hd__logo .logo { width: 128px; }
.hd__logo::before { opacity: 0; transform: scale(.9); }
.hd__logo:is(:hover, :focus-visible)::before { opacity: .55; transform: scale(1); }
.nav ul { gap: clamp(.15rem, .8vw, .6rem); }
.nav a { padding: .6rem .8rem; font-size: .94rem; font-weight: 500; letter-spacing: .005em; color: rgb(var(--l-white) / .7); text-shadow: none; transition: color .25s var(--ease); }
.nav a:is(:hover, :focus-visible) { color: var(--ink); text-shadow: none; }
.nav a[aria-current="page"] { color: var(--ink); }
/* where you are: the Aperture's four corners, in cool white with a teal edge (no bar, no cone, nothing that follows the pointer) */
.nav a[aria-current="page"]::before { inset: 1px -1px; opacity: 1; filter: drop-shadow(0 0 2px rgb(var(--l-teal) / .55));
  background:
    linear-gradient(var(--cool), var(--cool)) left top / 6px 1.5px, linear-gradient(var(--cool), var(--cool)) left top / 1.5px 6px,
    linear-gradient(var(--cool), var(--cool)) right top / 6px 1.5px, linear-gradient(var(--cool), var(--cool)) right top / 1.5px 6px,
    linear-gradient(var(--cool), var(--cool)) right bottom / 6px 1.5px, linear-gradient(var(--cool), var(--cool)) right bottom / 1.5px 6px,
    linear-gradient(var(--cool), var(--cool)) left bottom / 6px 1.5px, linear-gradient(var(--cool), var(--cool)) left bottom / 1.5px 6px;
  background-repeat: no-repeat; }
.nav__light, .hd__progress { display: none; }
.hd__cta { min-height: 42px; padding-inline: 1.15rem; font-size: .92rem; }
.hd__cta[aria-current="page"] { border-color: rgb(var(--l-teal) / .7); }

/* the letter swap (owner's reference: "random letter swap"): each letter slides up and is replaced by itself from below, in a
   shuffled order set at build time (--d), 25 ms apart. Width never changes; nothing is announced; nothing moves without a hover
   or a keyboard focus, and nothing at all under reduced motion or on touch screens */
.swap { display: inline-flex; white-space: pre; }
.swap__l { position: relative; display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; vertical-align: top; }
.swap__l > span { display: block; transition: transform .55s cubic-bezier(.2, .85, .25, 1) calc(var(--d) * 25ms); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .nav a:is(:hover, :focus-visible) .swap__l > span { transform: translateY(-100%); }
}
@media (prefers-reduced-motion: reduce) { .swap__l > span { transition: none; } }

/* the phone menu: a full sheet under the header, the control reads "Close" while it is open */
.menu > summary { gap: .55rem; }
.menu__close { display: none; }
.menu[open] .menu__open { display: none; }
.menu[open] .menu__close { display: inline; }
.menu__panel { background: radial-gradient(85% 34% at 100% 0%, rgb(var(--l-teal) / .08), transparent 70%), var(--matte) 0 0 / 160px, var(--bg-header); }
.menu__panel::before { display: none; }
.menu__panel nav a { color: rgb(var(--l-white) / .78); }
.menu__panel nav a[aria-current="page"] { color: var(--ink); text-shadow: none; }

/* ---------------------------------------------- the hero: calm type, the Aperture alone on the right */
.home-hero__lead { color: var(--ink-soft); }
.home-hero .lumen { text-shadow: none; }

/* ---------------------------------------------- the glyphs: one line drawing per core discipline; the teal part is the point */
.glyph { width: 2.75rem; height: 2.75rem; flex: none; fill: none; stroke: rgb(var(--l-cool) / .78); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.glyph .g-accent { stroke: var(--accent); fill: rgb(var(--l-teal) / .16); }

/* ---------------------------------------------- home: what we make */




.disciplines { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); column-gap: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--line); }
.discipline { position: relative; display: grid; gap: .8rem; align-content: start; padding: clamp(1.6rem, 3vw, 2.2rem) 0 clamp(1.8rem, 3.2vw, 2.4rem); border-bottom: 1px solid var(--line); }
.discipline h3 { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.7rem); letter-spacing: -.022em; line-height: 1.12; }
.discipline p { color: var(--ink-soft); max-width: 30rem; }
.discipline::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, rgb(var(--l-cool) / .8), rgb(var(--l-teal) / .5) 45%, transparent); transition: transform .6s var(--ease-out); }
.discipline:hover::after { transform: scaleX(1); }
.also { display: grid; gap: 1rem; }
.also__lead { font-size: var(--t-sm); color: var(--ink-muted); }
.also__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1.4rem 2rem; }
.also__list h3 { font-size: 1.05rem; letter-spacing: -.012em; line-height: 1.25; }
.also__list p { margin-top: .35rem; font-size: var(--t-sm); line-height: 1.55; color: var(--ink-muted); }
@media (min-width: 1000px) {
  
  
  .also { grid-column: 2; }
}

/* ---------------------------------------------- home: how a project runs */





/* ---------------------------------------------- the closing: where to go next, as a quiet index under the invitation */
.explore { width: min(100%, 60rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); text-align: left; }
.explore ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); column-gap: 1.5rem; border-top: 1px solid var(--line); }
.explore a { display: grid; gap: .2rem; padding: 1.05rem 0 1.15rem; text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.explore b { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.015em; transition: color .25s var(--ease); }
.explore span { font-size: var(--t-sm); color: var(--ink-muted); }
.explore a:is(:hover, :focus-visible) b { color: var(--accent); }

/* ---------------------------------------------- services: the eight services by importance */



.svc__core { border-top: 1px solid var(--line); }
.svc-row { display: grid; gap: .9rem 2.5rem; padding: clamp(1.7rem, 3.4vw, 2.6rem) clamp(.4rem, 1.6vw, 1.5rem); border-bottom: 1px solid var(--line); }
.svc-row__name { display: flex; gap: 1rem; align-items: center; }
.svc-row__name h3 { font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.3rem); line-height: 1.06; letter-spacing: -.03em; transition: color .4s var(--ease); }
.svc-row__desc { color: var(--ink-soft); font-size: var(--t-lg); line-height: 1.5; max-width: 34rem; }
.svc-row__label { font-size: var(--t-xs); color: var(--ink-muted); margin-bottom: .55rem; }
.svc-row__inc ul { display: grid; gap: .4rem; }
.svc-row__inc li { display: flex; gap: .6rem; font-size: var(--t-sm); }
.svc-row__inc li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: .6em; background: var(--accent); transform: rotate(45deg); }
.services__core.is-tracking .svc-row:not(.is-active) .svc-row__name h3 { color: rgb(var(--l-white) / .74); }
@media (min-width: 900px) { .svc-row { grid-template-columns: minmax(0, 5fr) minmax(0, 4.2fr) minmax(0, 2.8fr); align-items: start; } .svc-row__name { align-items: flex-start; } }









/* ---------------------------------------------- footer: editorial columns and the logo as a large outline (owner's reference) */
.ft { padding-top: clamp(4rem, 8vw, 6rem); color: var(--ink-muted); font-size: var(--t-sm);
  background: var(--matte) 0 0 / 160px, var(--bg-header); border-top: 1px solid rgb(var(--l-line) / .07); }
.ft::before { background: linear-gradient(90deg, transparent, rgb(var(--l-cool) / .16) 30%, rgb(var(--l-cool) / .16) 70%, transparent); }
.ft__top { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
.ft__brand { display: grid; gap: 1rem; align-content: start; justify-items: start; }
.ft__logo { display: inline-flex; }
.ft__logo .logo { width: 112px; height: auto; }
.ft__line { max-width: 22rem; color: var(--ink-soft); }
.ft__copy { font-size: var(--t-xs); color: var(--ink-muted); }
.ft__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }
.ft__h { margin-bottom: .9rem; font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: -.005em; color: var(--ink); }
.ft__col ul { display: grid; gap: .2rem; }
.ft__col a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink-muted); text-decoration: none; overflow-wrap: anywhere; transition: color .25s var(--ease); }
.ft__col a:is(:hover, :focus-visible) { color: var(--ink); text-shadow: none; }
@media (min-width: 760px) { .ft__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ft__top { grid-template-columns: minmax(0, 3.6fr) minmax(0, 8.4fr); } }
.ft__word { margin-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(1.25rem, 3vw, 2.25rem); }
.ft__word-svg { display: block; width: 100%; height: auto; overflow: visible; }
.ft__word-svg :is(polygon, path) { fill: none; stroke: rgb(var(--l-cool) / .3); stroke-width: 1.1px; vector-effect: non-scaling-stroke; stroke-linejoin: miter; }
.ft__word-svg .ow-facet { stroke: rgb(var(--l-teal) / .9); fill: rgb(var(--l-teal) / .1); }
/* scroll entry: armed by light.js (so it is always visible without scripts), it rises once into place */
.ft__word.is-armed { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.ft__word.is-armed.is-swept { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ft__word.is-armed { opacity: 1; transform: none; transition: none; } }
@media (forced-colors: active) { .ft__word-svg :is(polygon, path) { stroke: CanvasText; } }

@media (max-width: 759px) { .ft__col:last-child { grid-column: 1 / -1; } }
:is(.page-hero__in, .case-hero__in, .about-hero__in, .contact__intro)::before { opacity: .55; }   /* the page heroes keep their corner light, quieter */

/* ---------------------------------------------- critique pass (Impeccable craft floor): headlines are solid type, not gradient fills; the caret takes the accent */
html :is(.lumen, main h2.is-swept) { background: none; color: var(--ink); -webkit-text-fill-color: currentColor; animation: none; text-shadow: none; }
input, textarea { caret-color: var(--accent); }

/* =================================================================== INTELLIGENT STRUCTURE (2026-11-19)
   The owner's next round: each page has one role (Home: positioning, services, process, next step; Work: real projects;
   Services: what the studio does; Products: LUMIN's own software; Templates: the full catalogue; About: the studio). The hero mark
   behaves like an attentive eye. The header and footer are refined: letters that switch on like LEDs instead of rolling (the
   roll collided mid-flight), one clear current-page marker, and a footer that ends the page as an architectural plate. */

/* ---------------------------------------------- header: the label's letters switch on like LEDs, in a seeded order */
.swap { display: inline; white-space: nowrap; }
.swap__l { display: inline; color: rgb(var(--l-white) / .64); transition: color .32s var(--ease) calc(var(--d) * 13ms), text-shadow .32s var(--ease) calc(var(--d) * 13ms); }
.nav a { color: rgb(var(--l-white) / .64); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .nav a:is(:hover, :focus-visible) .swap__l { color: var(--ink); text-shadow: 0 0 12px rgb(var(--l-cool) / .42); transition-duration: .22s; transition-delay: calc(var(--d) * 32ms); }
}
@media (hover: none), (prefers-reduced-motion: reduce) { .nav a:is(:hover, :focus-visible) .swap__l { color: var(--ink); transition: none; } }
/* where you are: the label fully lit and the teal facet beneath it (the same mark the phone menu uses); nothing else glows */
.nav a[aria-current="page"] .swap__l { color: var(--ink); }
.nav a[aria-current="page"]::before { display: none; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: .08rem; width: 5px; height: 5px; pointer-events: none;
  background: var(--accent); transform: translateX(-50%) rotate(45deg); box-shadow: 0 0 6px rgb(var(--l-teal) / .9), 0 0 16px rgb(var(--l-teal) / .35); }
@media (forced-colors: active) { .nav a[aria-current="page"]::after { background: CanvasText; box-shadow: none; } .nav a[aria-current="page"] { text-decoration: underline; } }

/* ---------------------------------------------- footer: one plate. Columns, the outline revealed by one scan of light, a base row */
.ft__top { align-items: start; }
.ft__plate { position: relative; }
.ft__word-svg :is(polygon, path) { stroke: rgb(var(--l-cool) / .34); }
.ft__word-svg .ow-frame polygon { stroke: rgb(var(--l-cool) / .46); }
.ft__word-svg .ow-facet { stroke: rgb(var(--l-teal) / .95); fill: rgb(var(--l-teal) / .14); filter: drop-shadow(0 0 10px rgb(var(--l-teal) / .45)); }
.ft__scan { position: absolute; top: -6%; bottom: -6%; left: 0; width: 1px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, rgb(var(--l-cool) / .9) 20%, rgb(var(--l-cool) / .9) 80%, transparent);
  box-shadow: 0 0 14px 2px rgb(var(--l-cool) / .35), 0 0 40px 6px rgb(var(--l-teal) / .12); }
/* armed by light.js only (visible without scripts): the outline is uncovered left to right as the scan passes, once */
.ft__word.is-armed { opacity: 1; transform: none; transition: none; }
.ft__word.is-armed .ft__word-svg { clip-path: inset(-4% 100% -4% 0); }
.ft__word.is-armed.is-swept .ft__word-svg { clip-path: inset(-4% 0 -4% 0); transition: clip-path 2.1s cubic-bezier(.45, .05, .25, 1); }
.ft__word.is-armed.is-swept .ft__scan { animation: ft-scan 2.1s cubic-bezier(.45, .05, .25, 1) both; }
@keyframes ft-scan { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ft__word.is-armed .ft__word-svg { clip-path: none; transition: none; } .ft__scan { display: none; } }
.ft__base { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2rem; padding-block: 1.4rem 1.8rem; border-top: 1px solid rgb(var(--l-line) / .08); font-size: var(--t-xs); color: var(--ink-muted); }
.ft__time { flex: 1 1 auto; }
.ft__up { color: var(--ink-soft); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; gap: .45rem; }
.ft__up::before { content: ""; width: 5px; height: 5px; border: 1px solid currentColor; transform: rotate(45deg); transition: background .25s var(--ease), border-color .25s var(--ease); }
.ft__up:is(:hover, :focus-visible) { color: var(--ink); }
.ft__up:is(:hover, :focus-visible)::before { background: var(--accent); border-color: var(--accent); }
.ft__word { padding-bottom: clamp(1.75rem, 4vw, 3rem); }

/* ---------------------------------------------- products: the PC Monitor cover, composed from the real captures */
.cover { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); margin-block: clamp(2rem, 4vw, 3rem) 1rem; }
.cover__stage { position: relative; isolation: isolate; padding-bottom: clamp(5.5rem, 13vw, 9.5rem); }
.cover__lift { position: absolute; inset: -12% -8% -6% -8%; z-index: -1; pointer-events: none;
  background: radial-gradient(46% 52% at 36% 42%, rgb(var(--l-teal) / .075), transparent 72%), radial-gradient(36% 40% at 82% 86%, rgb(var(--l-cool) / .05), transparent 72%); }
.cover__window { position: relative; width: 80%; border-radius: 14px; overflow: hidden; background: #0a0b0b;
  box-shadow: 0 0 0 1px rgb(var(--l-cool) / .17), 0 50px 90px -40px rgb(0 0 0 / .9), 0 0 70px -24px rgb(var(--l-teal) / .32); }
.cover__window::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1px 0 rgb(var(--l-cool) / .22); background: linear-gradient(180deg, transparent 62%, rgb(10 11 11 / .55)); }
.cover__window img, .cover__card img { display: block; width: 100%; height: auto; }
.cover__cards { position: absolute; right: 0; bottom: 0; display: flex; align-items: flex-end; gap: clamp(.55rem, 1.3vw, 1.1rem); width: min(60%, 46rem); }
.cover__card { flex: 1 1 0; border-radius: 8px; overflow: hidden; background: #0b0c0c; transform: translateY(calc((2 - var(--k)) * -1 * clamp(.4rem, 1.4vw, 1.1rem)));
  box-shadow: 0 0 0 1px rgb(var(--l-cool) / .24), 0 0 26px -8px rgb(var(--l-cool) / .28), 0 30px 60px -22px rgb(0 0 0 / .95); }
.cover__legend ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem 2rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.cover__legend li { display: grid; gap: .25rem; font-size: var(--t-sm); color: var(--ink-muted); }
.cover__legend b { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .98rem; }
@media (max-width: 600px) {
  .cover__window { width: 88%; }
  .cover__cards { width: 92%; }
  .cover__stage { padding-bottom: 22vw; }
}
@media (forced-colors: active) { .cover__window, .cover__card { border: 1px solid CanvasText; } }

/* ---------------------------------------------- about: Masis and Sis, computed from elevation data */
.about-hero { padding-bottom: 0; }
.masis { position: relative; overflow: hidden; margin-top: clamp(1.5rem, 4vw, 3rem); padding-top: 2.6rem; }
.masis__art { position: relative; width: max(150%, 960px); margin-left: calc(50% - .397 * max(150%, 960px)); }
.masis__svg { display: block; width: 100%; height: auto; overflow: visible; }
.masis__svg :is(polyline, polygon) { vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.masis__svg .m-body { fill: url(#masis-body); stroke: none; }
.masis__svg .m-ridge { fill: none; stroke: rgb(var(--l-teal) / .2); stroke-width: 1; }
.masis__svg .m-glow { fill: none; stroke: rgb(var(--l-cool) / .1); stroke-width: 6; filter: blur(3px); }
.masis__svg .m-sky { fill: none; stroke: rgb(var(--l-cool) / .9); stroke-width: 1.4; }
.masis__peak { position: absolute; left: var(--x); top: var(--y); display: grid; justify-items: center; gap: .35rem; transform: translate(-50%, calc(-100% - .55rem));
  font-size: var(--t-xs); letter-spacing: .02em; color: var(--ink-soft); white-space: nowrap; }
.masis__peak i { order: 2; width: 1px; height: .7rem; background: linear-gradient(rgb(var(--l-cool) / .7), rgb(var(--l-cool) / 0)); }
.masis figcaption { width: min(100% - 2 * var(--gutter), var(--wrap)); margin: clamp(1rem, 2vw, 1.4rem) auto 0; padding-bottom: clamp(2.5rem, 5vw, 3.5rem); font-size: var(--t-xs); color: var(--ink-muted); max-width: var(--wrap); }
/* one reveal: the skyline is lit from left to right as the page opens (CSS only; still under reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .masis__svg .m-sky, .masis__svg .m-glow { animation: masis-lit 2.4s cubic-bezier(.45, .05, .25, 1) .25s both; }
  .masis__peak { animation: masis-name .8s var(--ease-out) 1.6s both; }
}
@keyframes masis-lit { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }
@keyframes masis-name { from { opacity: 0; } to { opacity: 1; } }
@media (forced-colors: active) { .masis__svg .m-sky { stroke: CanvasText; } .masis__svg .m-body, .masis__svg .m-glow { display: none; } }

/* ---------------------------------------------- about: the studio, what it builds, how it works, Armenia */
.ab-studio__in { display: grid; gap: 1.5rem clamp(2.5rem, 5vw, 5rem); }
.ab-studio h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.035em; max-width: 16em; }
.ab-studio__text { display: grid; gap: 1rem; max-width: 36rem; color: var(--ink-soft); font-size: var(--t-lg); line-height: 1.6; }
@media (min-width: 1000px) { .ab-studio__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.ab-index { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); border-top: 1px solid var(--line); }
.ab-index a { position: relative; display: grid; gap: .45rem; align-content: start; height: 100%; padding: 1.6rem clamp(.2rem, 1.5vw, 1.4rem) 1.8rem 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.ab-index__n { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.ab-index b { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -.015em; transition: color .25s var(--ease); }
.ab-index a > span:last-child { color: var(--ink-muted); font-size: var(--t-sm); max-width: 22rem; }
.ab-index a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-out);
  background: linear-gradient(90deg, rgb(var(--l-cool) / .8), rgb(var(--l-teal) / .5) 50%, transparent); }
.ab-index a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.ab-index a:is(:hover, :focus-visible) b { color: var(--accent); }
.ab-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.ab-ways > div { display: grid; gap: .6rem; align-content: start; padding: 1.6rem 0 1.9rem; border-bottom: 1px solid var(--line-soft); }
.ab-ways dt { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); letter-spacing: -.02em; line-height: 1.2; }
.ab-ways dd { color: var(--ink-soft); max-width: 34rem; }
.ab-ways dd .link { display: inline-block; margin-top: .35rem; }
.ab-place__in { display: grid; gap: 1.25rem clamp(2.5rem, 5vw, 5rem); }
.ab-place h2 { font-size: var(--t-2xl); }
.ab-place__text { display: grid; gap: 1rem; max-width: 38rem; color: var(--ink-soft); font-size: var(--t-lg); line-height: 1.6; }
@media (min-width: 1000px) { .ab-place__in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }

/* ---------------------------------------------- work: an index of real projects, then one exhibit each */


.wk-index { padding-block: 0 clamp(2.5rem, 6vw, 4.5rem); }






:focus-visible)::after { transform: scaleX(1); }


.wk { border-top: 1px solid var(--line-soft); scroll-margin-top: calc(var(--hd-h) + 1rem); }






























.wk-note { padding-top: 0; }

/* ---------------------------------------------- services: one real visual per core discipline, and where to see it */

















@media (min-width: 900px) { .svc-row { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3.4fr); } }

.ab-index__n--mark { display: grid; align-items: center; height: clamp(2.4rem, 1.6rem + 2.6vw, 3.6rem); }
.ab-index__n--mark::before { content: ""; width: 14px; height: 14px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 10px rgb(var(--l-teal) / .7); }
.nav a { display: inline-flex; align-items: center; }   /* the LED letters are plain inline text: centre their line in the link box */
.nav .swap { line-height: 1.3; }   /* the same line box the rolling version used, so the label sits where it always did */

/* =============================================================================
   FINAL REFINEMENT (2026-11-20, owner's six corrections). Last layer, so it wins.
   Scale: measured on the owner's laptop (Chrome at 100%, Windows at 125%: a 1536 x 695 CSS viewport), the page headings and the
   section spacing were too large for the first screen. One type scale and one spacing scale, smaller at the top end; the home hero
   stays a step larger than the other pages. Grid: every section head, page hero, row and gallery sits on one 12-column grid with
   one column gap (--cg), so the 2-, 3- and 4-column layouts all share the same edges.
   ========================================================================== */
:root {
  --t-lg: clamp(1.06rem, 1rem + .2vw, 1.18rem);
  --t-xl: clamp(1.28rem, 1.08rem + .7vw, 1.7rem);
  --t-2xl: clamp(1.7rem, 1.2rem + 1.6vw, 2.55rem);
  --t-3xl: clamp(2.1rem, 1.25rem + 2.6vw, 3.6rem);
  --t-hero: clamp(2.25rem, 1.1rem + 3.2vw, 4.1rem);
  --section: clamp(3.25rem, 6vw, 5.25rem);
  --cg: clamp(1rem, 2.4vw, 2rem);
  --head-gap: clamp(1.75rem, 3.2vw, 2.5rem);
}
@media (min-width: 900px) and (max-height: 800px) { :root { --section: clamp(3rem, 5vw, 4.5rem); --head-gap: clamp(1.5rem, 2.6vw, 2.1rem); } }

/* ---------------------------------------------- page heroes: one size for every secondary page, less height */
.home-hero h1 { font-size: var(--t-hero); }
.page-hero { padding-block: clamp(1.75rem, 4vw, 3.25rem) clamp(1.75rem, 3.5vw, 2.75rem); }
.page-hero + .section, .page-hero + .wrap + .section { padding-top: clamp(.75rem, 2vw, 1.5rem); border-top: 0; }
:is(.page-hero, .case-hero, .contact__intro) h1 { font-size: var(--t-3xl); line-height: 1.02; letter-spacing: -.036em; }
.page-hero__lead, .case-hero__lead { font-size: var(--t-lg); line-height: 1.55; max-width: 34rem; }
.case-hero { padding-block: clamp(1.75rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.5rem); }
.about-hero { padding-top: clamp(1.75rem, 4vw, 3.25rem); }
.about-hero h1 { font-size: clamp(2.2rem, 1.2rem + 3vw, 3.9rem); line-height: 1; }
.about-hero__body { font-size: var(--t-lg); }
.contact { padding-top: clamp(1.75rem, 4vw, 3.25rem); }
@media (min-width: 900px) {
  .page-hero--split .page-hero__in { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); align-items: end; }
  .page-hero--split .page-hero__in > :where(:not(.corner)) { grid-column: 1 / -1; }
  .page-hero--split .page-hero__in > .crumbs { grid-row: 1; }
  .page-hero--split .page-hero__in > h1 { grid-column: 1 / span 6; grid-row: 2; }
  .page-hero--split .page-hero__in > .page-hero__lead { grid-column: 7 / -1; grid-row: 2; padding-bottom: .35rem; }
}
@media (min-width: 900px) and (max-height: 800px) { .page-hero, .case-hero { padding-block: 1.5rem 1.75rem; } .about-hero { padding-top: 1.5rem; } }

/* ---------------------------------------------- the one section head */
.head { display: grid; gap: .9rem var(--cg); margin-bottom: var(--head-gap); }
.head__title { display: grid; gap: .65rem; align-content: end; }
.head h2 { font-size: var(--t-2xl); line-height: 1.04; letter-spacing: -.032em; max-width: 18em; }
.head__aside { display: grid; gap: .7rem; align-content: end; max-width: 34rem; color: var(--ink-soft); font-size: var(--t-lg); line-height: 1.5; }
.head__aside .link { font-size: var(--t-md); }
@media (min-width: 900px) {
  .head { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
  .head__title { grid-column: 1 / span 6; }
  .head__aside { grid-column: 7 / -1; }
}
.horizon h2, .ab-place h2, .mark__text h2 { font-size: var(--t-2xl); }
.ab-studio h2 { font-size: var(--t-2xl); line-height: 1.06; }
.trail b { font-size: var(--t-xl); }
.ab-index__n, .ab-index__n--mark { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); height: auto; }
.ab-ways dt { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
.ab-studio__in, .ab-place__in { column-gap: var(--cg); }
@media (min-width: 1000px) {
  .ab-studio__in, .ab-place__in { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .ab-studio__in > h2, .ab-place__in > h2 { grid-column: 1 / span 6; }
  .ab-studio__text, .ab-place__text { grid-column: 7 / -1; }
}
.ab-index, .ab-ways { column-gap: var(--cg); }

/* ---------------------------------------------- the four core disciplines (home): one row of four, headings and texts aligned */
.disciplines { grid-template-columns: minmax(0, 1fr); column-gap: var(--cg); }
.discipline { grid-row: span 3; grid-template-rows: subgrid; row-gap: .75rem; padding: clamp(1.4rem, 2.6vw, 1.9rem) 0 clamp(1.5rem, 2.8vw, 2rem); }
.discipline h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.15; align-self: start; }
.discipline p { font-size: var(--t-md); line-height: 1.6; }
@media (min-width: 640px) { .disciplines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .disciplines { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@supports not (grid-template-rows: subgrid) { .discipline { grid-row: auto; } }
.glyph--sm { width: 1.75rem; height: 1.75rem; stroke-width: 1.5; }

/* the studio also takes on: the same four columns, quieter */
.also { display: grid; gap: 1.1rem; margin-top: clamp(2rem, 4vw, 2.75rem); grid-column: auto; }
.also__lead { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -.01em; color: var(--ink); }
.also__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem var(--cg); border-top: 0; }
.also__list li { display: grid; grid-row: span 2; grid-template-rows: subgrid; grid-template-columns: 1.75rem minmax(0, 1fr); column-gap: .85rem; row-gap: .35rem;
  align-content: start; padding: 1.1rem 0 0; border-top: 1px solid var(--line-soft); border-bottom: 0; }
.also__list li > .glyph { grid-row: 1 / span 2; }
.also__list :is(h3, h4) { grid-column: 2; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.012em; line-height: 1.25; }
.also__list p { grid-column: 2; margin: 0; font-size: var(--t-sm); line-height: 1.55; color: var(--ink-muted); }
@media (min-width: 640px) { .also__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .also__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@supports not (grid-template-rows: subgrid) { .also__list li { grid-row: auto; } }
.also--svc { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------------------------------------------- services: text on the left five columns, the illustration on the right six */
.svc-row { display: grid; gap: 1.5rem; padding: clamp(1.75rem, 3.2vw, 2.5rem) 0; border-bottom: 1px solid var(--line); }
.svc-row__text { display: grid; gap: 1rem; align-content: start; }
.svc-row__name { display: flex; gap: .9rem; align-items: center; }
.svc-row__name h3 { font-size: clamp(1.3rem, 1.05rem + .9vw, 1.8rem); line-height: 1.08; letter-spacing: -.028em; }
.svc-row__desc { font-size: var(--t-lg); max-width: 32rem; }
.svc-row__inc ul { display: flex; flex-wrap: wrap; gap: .45rem 1.3rem; }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); align-items: center; }
  .svc-row__text { grid-column: 1 / span 5; }
  .svc-row .ill { grid-column: 7 / -1; }
}
.services__core .aperture { --pad: clamp(6px, 1.1vw, 16px); }
.services__core .aperture i:nth-child(1) { transform: translate(calc(var(--ax) - var(--pad)), calc(var(--ay) + var(--pad))); }
.services__core .aperture i:nth-child(2) { transform: translate(calc(var(--ax) + var(--aw) - var(--ac) + var(--pad)), calc(var(--ay) + var(--pad))); }
.services__core .aperture i:nth-child(3) { transform: translate(calc(var(--ax) + var(--aw) - var(--ac) + var(--pad)), calc(var(--ay) + var(--ah) - var(--ac) - var(--pad))); }
.services__core .aperture i:nth-child(4) { transform: translate(calc(var(--ax) - var(--pad)), calc(var(--ay) + var(--ah) - var(--ac) - var(--pad))); }
.services__core.is-tracking .svc-row:not(.is-active) .ill { opacity: .78; }

/* ---------------------------------------------- the illustration system (Services) */
.ill { position: relative; isolation: isolate; aspect-ratio: 16 / 10; margin: 0; overflow: hidden; border-radius: 12px; transition: opacity .5s var(--ease), box-shadow .5s var(--ease);
  background: radial-gradient(circle at 1px 1px, rgb(var(--l-cool) / .075) 1px, transparent 1.5px) 10px 10px / 20px 20px,
    radial-gradient(80% 90% at 50% 42%, rgb(var(--l-teal) / .05), transparent 70%), var(--matte) 0 0 / 160px, rgb(var(--l-deep) / .62);
  box-shadow: inset 0 0 0 1px rgb(var(--l-cool) / .12); }
.ill svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ill::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(260px circle at var(--lx, -999px) var(--ly, -999px), rgb(var(--l-teal) / .09), transparent 70%); }
.ill__tag { position: absolute; left: .85rem; top: .65rem; z-index: 2; font-size: .72rem; letter-spacing: .02em; color: var(--ink-muted); }
.svc-row:is(:hover, .is-active) .ill { box-shadow: inset 0 0 0 1px rgb(var(--l-cool) / .2), 0 30px 60px -40px rgb(var(--l-teal) / .35); }
.ill :is(path, rect, circle, polygon, polyline, ellipse) { vector-effect: non-scaling-stroke; }
.ill .i-guide { fill: none; stroke: rgb(var(--l-cool) / .1); stroke-width: 1; }
.ill .i-dash { stroke-dasharray: 3 5; }
.ill .i-line { fill: none; stroke: rgb(var(--l-cool) / .32); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.ill .i-box { fill: rgb(var(--l-deep) / .88); stroke: rgb(var(--l-cool) / .42); stroke-width: 1.2; }
.ill .i-pane { fill: rgb(var(--l-cool) / .05); stroke: rgb(var(--l-cool) / .16); stroke-width: 1; }
.ill .i-f1 { fill: rgb(var(--l-cool) / .08); } .ill .i-f2 { fill: rgb(var(--l-cool) / .17); } .ill .i-f3 { fill: rgb(var(--l-cool) / .34); }
.ill .i-corner { fill: rgb(var(--l-cool) / .1); stroke: rgb(var(--l-cool) / .78); stroke-width: 1.3; stroke-linejoin: miter; }
.ill .i-acc { fill: rgb(var(--l-teal) / .22); stroke: var(--accent); stroke-width: 1.3; filter: drop-shadow(0 0 5px rgb(var(--l-teal) / .55)); transition: filter .5s var(--ease); }
.ill .i-acc-line { fill: none; stroke: var(--accent); stroke-width: 1.4; }
.ill .i-ring { fill: none; stroke: rgb(var(--l-teal) / .45); stroke-width: 1; stroke-dasharray: 4 5; transform-box: fill-box; transform-origin: center; }
.ill .i-tag { fill: rgb(var(--l-teal) / .1); stroke: rgb(var(--l-teal) / .6); stroke-width: 1; }
.ill .i-type { font-family: var(--font-display); font-weight: 600; font-size: 66px; letter-spacing: -.03em; fill: rgb(var(--l-cool) / .92); }
.ill .i-sw { stroke: rgb(var(--l-cool) / .4); stroke-width: 1; } .ill .i-sw--ink { fill: #232628; } .ill .i-sw--teal { fill: var(--accent); } .ill .i-sw--white { fill: var(--cool); }
.ill .i-row { fill: rgb(var(--l-teal) / .2); stroke: rgb(var(--l-teal) / .7); stroke-width: 1; opacity: 0; }
.ill .i-row--on { opacity: 1; }
.ill .i-check { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0;
  transition: stroke-dashoffset .5s var(--ease-out); transition-delay: calc(.5s + var(--i, 0) * .18s); }
.ill .i-ping { fill: none; stroke: var(--accent); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.ill .i-pulse { fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-dasharray: .08 .92; stroke-dashoffset: 1; opacity: 0; }
.svc-row:is(:hover, :focus-within, .is-active) .ill .i-acc { filter: drop-shadow(0 0 9px rgb(var(--l-teal) / .8)); }
/* assembly: only for a panel that starts below the fold (v3.js sets is-waiting, then is-shown) */
.ill .i-a { transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); transform-box: fill-box; transform-origin: center; }
.ill.is-waiting .i-a { opacity: 0; transform: translateY(10px); }
.ill.is-waiting .i-a--tl { transform: translate(-16px, -16px); } .ill.is-waiting .i-a--tr { transform: translate(16px, -16px); }
.ill.is-waiting .i-a--br { transform: translate(16px, 16px); } .ill.is-waiting .i-a--bl { transform: translate(-16px, 16px); }
.ill.is-waiting .i-a--scale { transform: scale(.35) rotate(-45deg); }
.ill.is-waiting .i-a--phone { transform: translateX(18px); }
.ill.is-waiting .i-check { stroke-dashoffset: 1; }
@media (prefers-reduced-motion: no-preference) {
  .ill.is-live .i-pulse { opacity: .95; animation: i-pulse 3s cubic-bezier(.45, .05, .25, 1) var(--dl, 0s) infinite; }
  .ill.is-live .i-ping { animation: i-ping 2.8s ease-out var(--dl, 0s) infinite; }
  .ill.is-live .i-row { animation: i-row 4.8s linear calc(var(--k, 0) * 1.2s) infinite; }
  .ill.is-live .i-breathe { animation: i-breathe 4s ease-in-out infinite; }
}
@keyframes i-pulse { to { stroke-dashoffset: 0; } }
@keyframes i-ping { 0% { opacity: .9; transform: scale(.55); } 70%, 100% { opacity: 0; transform: scale(1.7); } }
@keyframes i-row { 0% { opacity: 0; } 4%, 22% { opacity: 1; } 27%, 100% { opacity: 0; } }
@keyframes i-breathe { 0%, 100% { opacity: .45; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@media (forced-colors: active) { .ill { forced-color-adjust: auto; } .ill :is(.i-line, .i-box, .i-corner, .i-acc) { stroke: CanvasText; } }

/* ---------------------------------------------- status tags (Work, Products, Templates) */
.tag { display: inline-flex; align-items: center; gap: .45rem; min-height: 1.6rem; padding: 0 .7rem; border-radius: 999px; font-size: .78rem; font-weight: 500; letter-spacing: .01em; line-height: 1;
  color: var(--ink-soft); background: rgb(var(--l-white) / .04); box-shadow: inset 0 0 0 1px rgb(var(--l-line) / .16); white-space: nowrap; }
.tag::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--l-white) / .4); }
.tag--live::before { background: var(--accent); box-shadow: 0 0 6px rgb(var(--l-teal) / .8); }
.tag--staging::before { background: var(--cool); }
.tag--dev::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--accent); }
.tag--hold { color: var(--ink); box-shadow: inset 0 0 0 1px rgb(var(--l-cool) / .34); }
.tag--hold::before { border-radius: 0; background: transparent; box-shadow: inset 0 0 0 1.2px var(--ink); transform: rotate(45deg); }

/* ---------------------------------------------- owner-only note (private review build only) */
.owner-bar { margin-block: 0 clamp(1.25rem, 2.5vw, 1.75rem); padding: .7rem 1rem; border: 1px dashed rgb(var(--l-teal) / .45); border-radius: 10px; background: rgb(var(--l-teal) / .045); color: var(--ink-soft); font-size: var(--t-sm); }
.owner-bar b { margin-right: .6rem; color: var(--accent); font-weight: 600; }

/* ---------------------------------------------- Work: the gallery index */
.wk-index { padding-block: clamp(.75rem, 2vw, 1.5rem) var(--section); }
.wk-group + .wk-group { margin-top: clamp(2.25rem, 4.5vw, 3.25rem); }
.wk-group__label { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1.1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.wk-group__label span { font-family: var(--font-body); font-weight: 500; font-size: var(--t-xs); color: var(--ink-muted); }
:is(.ex-cards, .tg-cards) { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.75rem, 3vw, 2.25rem) var(--cg); }
@media (min-width: 640px) { :is(.ex-cards, .tg-cards) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { :is(.ex-cards, .tg-cards) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
:is(.ex-card, .tg-card) { position: relative; display: grid; gap: .8rem; align-content: start; height: 100%; color: inherit; text-decoration: none; border-radius: 12px; }
:is(.ex-card__img, .tg-card__img) { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: var(--inset);
  box-shadow: 0 0 0 1px rgb(var(--l-line) / .12), 0 30px 60px -38px rgb(0 0 0 / .9); transition: box-shadow .45s var(--ease); }
:is(.ex-card__img, .tg-card__img) :is(picture, img) { display: block; width: 100%; height: 100%; }
:is(.ex-card__img, .tg-card__img) img { object-fit: cover; object-position: 50% 0; transition: transform .8s var(--ease-out); }
:is(.ex-card__img, .tg-card__img)::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(240px circle at var(--lx, -999px) var(--ly, -999px), rgb(var(--l-cool) / .1), transparent 70%); }
:is(.ex-card__text, .tg-card__text) { display: grid; gap: .15rem; }
:is(.ex-card__text, .tg-card__text) b { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -.015em; line-height: 1.25; transition: color .25s var(--ease); }
:is(.ex-card__text, .tg-card__text) span { font-size: var(--t-sm); color: var(--ink-muted); }
.ex-card__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
:is(.ex-card, .tg-card):hover :is(.ex-card__img, .tg-card__img) { box-shadow: 0 0 0 1px rgb(var(--l-cool) / .3), 0 30px 60px -34px rgb(0 0 0 / .95); }
:is(.ex-card, .tg-card):hover img { transform: scale(1.025); }
:is(.ex-card, .tg-card):is(:hover, :focus-visible) b { color: var(--accent); }
:is(.ex-card, .tg-card):focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.tg-card[aria-current="true"] .tg-card__img { box-shadow: 0 0 0 2px var(--accent), 0 0 26px -6px rgb(var(--l-teal) / .6); }
.tg-card[aria-current="true"] .tg-card__text b { color: var(--accent); }
.tg-card[aria-current="true"] .tg-card__text b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 .55rem .12em 0; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 8px rgb(var(--l-teal) / .8); }
.ex-card__pending { display: grid; place-items: center; align-content: center; gap: .7rem; height: 100%; font-size: var(--t-sm); color: var(--ink-muted);
  border: 1px dashed rgb(var(--l-cool) / .2); border-radius: 12px; background: var(--matte) 0 0 / 160px, rgb(var(--l-deep) / .5); }
.pending__mark { display: block; width: 14px; height: 14px; border: 1.5px solid rgb(var(--l-teal) / .8); transform: rotate(45deg); }

/* ---------------------------------------------- Work: one exhibit per project */
.ex { scroll-margin-top: calc(var(--hd-h) + .5rem); }
.ex__head { display: grid; gap: 1rem var(--cg); margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.ex__title { display: grid; gap: .6rem; align-content: end; }
.ex__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.ex__title h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.04; letter-spacing: -.03em; }
.ex__kind { display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: var(--t-sm); color: var(--ink-soft); }
.ex__kind span { color: var(--ink-muted); }
.ex__line { max-width: 36rem; color: var(--ink-soft); font-size: var(--t-lg); line-height: 1.5; align-self: end; }
@media (min-width: 900px) { .ex__head { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; } .ex__title { grid-column: 1 / span 6; } .ex__line { grid-column: 7 / -1; } }
.ex-stage { position: relative; display: grid; gap: var(--cg); }
.ex-stage .frame { margin: 0; }
.ex-phone { position: relative; z-index: 2; justify-self: end; width: min(38%, 176px); margin: -24% 6% 0 0; border-radius: 18px; overflow: hidden; background: #0b0c0c;
  box-shadow: 0 0 0 1px rgb(var(--l-cool) / .28), 0 0 30px -10px rgb(var(--l-cool) / .3), 0 30px 60px -24px rgb(0 0 0 / .9); }
.ex-phone img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) {
  .ex-stage { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .ex-stage__main { grid-column: 1 / span 10; grid-row: 1; }
  .ex-stage--pair .ex-stage__main { grid-column: 1 / span 8; }
  .ex-stage--pair .ex-stage__second { grid-column: 9 / -1; grid-row: 1; }
  .ex-phone { grid-column: 10 / -1; grid-row: 1; align-self: end; justify-self: start; width: clamp(120px, 13vw, 176px); margin: 0 0 -1.75rem; }
  .ex-stage--pair .ex-phone { grid-column: 11 / -1; justify-self: end; margin-right: clamp(.5rem, 1.5vw, 1.25rem); }
  .ex-stage__main:only-child { grid-column: 1 / -1; }   /* a single wide screen (no second view, no phone) uses the full width */
}
.pending { display: grid; place-items: center; align-content: center; gap: .9rem; padding: 2rem; text-align: center; border-radius: 14px;
  border: 1px dashed rgb(var(--l-cool) / .22); background: radial-gradient(60% 70% at 50% 40%, rgb(var(--l-teal) / .05), transparent 70%), var(--matte) 0 0 / 160px, rgb(var(--l-deep) / .5); }
.pending p { max-width: 36rem; color: var(--ink-muted); font-size: var(--t-sm); }
.pending b { display: block; margin-bottom: .3rem; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.pending--wide { aspect-ratio: 16 / 4.6; }
.pending--card { height: 100%; aspect-ratio: auto; padding: 1rem; font-size: var(--t-sm); color: var(--ink-muted); }
@media (max-width: 640px) { .pending--wide { aspect-ratio: auto; min-height: 13rem; } }
.ex__detail { display: grid; gap: 1.75rem var(--cg); margin-top: clamp(2.5rem, 4.5vw, 3.5rem); }
@media (min-width: 900px) { .ex__detail { grid-template-columns: repeat(12, minmax(0, 1fr)); } .ex__facts { grid-column: 1 / span 6; } .ex__built { grid-column: 7 / -1; } }
.ex__facts { display: grid; align-content: start; border-top: 1px solid var(--line); }
.ex__facts > div { display: grid; grid-template-columns: minmax(7.5rem, 2fr) minmax(0, 5fr); gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line-soft); }
.ex__facts dt { font-size: var(--t-sm); color: var(--ink-muted); }
.ex__facts dd { font-size: var(--t-sm); color: var(--ink-soft); }
.ex__built h3 { padding-bottom: .75rem; margin-bottom: .85rem; border-bottom: 1px solid var(--line); font-size: 1rem; letter-spacing: -.01em; }
:is(.ex__built ul, .tick-list) { display: grid; gap: .5rem; padding: 0; list-style: none; }
:is(.ex__built li, .tick-list li) { display: flex; gap: .65rem; font-size: var(--t-sm); color: var(--ink-soft); }
:is(.ex__built li, .tick-list li)::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: .62em; background: var(--accent); transform: rotate(45deg); }
.ex__built .link { display: inline-block; margin-top: 1rem; }
.ex__links { display: flex; flex-wrap: wrap; column-gap: 1.75rem; }
.wk-note { margin: 0 auto var(--section); }
/* versions of one site, in order (owner, 2026-11-23): the same cards as the Work index, two across; the one being read is marked */
.case-hero__also { margin-top: 1rem; }
@media (min-width: 1100px) { .ex-cards--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ex-card__go { font-size: var(--t-sm); font-weight: 600; color: var(--accent); }
.ex-card[aria-current] .ex-card__go { font-weight: 500; color: var(--ink-muted); }
.ex-card[aria-current] .ex-card__img { box-shadow: 0 0 0 1px rgb(var(--l-teal) / .55); }
.ex-card[aria-current]:hover img { transform: none; }
.ex-card[aria-current]:hover b { color: inherit; }

/* ---------------------------------------------- Products: the head, then the composed cover as the centrepiece */
.product .head { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); align-items: start; }
.product .head :is(.head__title, .head__aside) { align-content: start; }
.pfacts { display: flex; flex-wrap: wrap; gap: .5rem 2.25rem; margin-top: .25rem; font-size: var(--t-sm); }
.pfacts div { display: grid; gap: .1rem; }
.pfacts dt { font-size: var(--t-xs); color: var(--ink-muted); }
.pfacts dd { color: var(--ink); }

/* ---------------------------------------------- Templates: the selected template */
.tg-stage { padding-top: 0; border-top: 0; }
.tg-detail { scroll-margin-top: calc(var(--hd-h) + .75rem); outline: none; border-radius: 14px; }
.tg-detail:focus-visible { outline: 2px solid var(--accent); outline-offset: 10px; }
.tg-stage.is-live .tg-detail { display: none; }
.tg-stage.is-live .tg-detail.is-selected { display: block; }
.tg-stage:not(.is-live):has(.tg-detail:target) .tg-detail:not(:target) { display: none; }
.tg-stage:not(.is-live):not(:has(.tg-detail:target)) .tg-detail:not(:first-of-type) { display: none; }
.tg-detail__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.tg-detail__bar p { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.tg-back { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--ink-soft); font-size: var(--t-sm); font-weight: 600; text-decoration: underline; text-decoration-color: rgb(var(--l-teal) / .6); text-underline-offset: .3em; }
.tg-back::before { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 1.5px 0 0 1.5px; transform: translateY(.15em) rotate(45deg); }
.tg-back:hover { color: var(--ink); }
.tg-detail__in { display: grid; gap: 1.5rem var(--cg); }
@media (min-width: 900px) { .tg-detail__in { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; } .tg-detail__in > .shot-link { grid-column: 1 / span 7; } .tg-detail__text { grid-column: 8 / -1; } }
.tg-detail__text { display: grid; gap: .85rem; align-content: start; }
.tg-detail__text h3 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.2rem); line-height: 1.05; letter-spacing: -.03em; }
.tg-detail__text > p:not(.ex__chips, .actions, .tg-detail__kind) { color: var(--ink-soft); }
.tg-detail__kind { display: flex; flex-wrap: wrap; gap: .2rem .9rem; color: var(--ink-soft); font-size: var(--t-sm); }
.tg-detail__kind span { color: var(--ink-muted); }
.tg-detail details { border-top: 1px solid var(--line-soft); padding-top: .4rem; }
.tg-detail summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-weight: 600; font-size: var(--t-sm); }
.tg-detail summary:hover { color: var(--accent); }
.tg-detail details dl { display: grid; gap: .6rem; padding-bottom: .5rem; }
.tg-detail details dt { font-size: var(--t-xs); color: var(--ink-muted); }
.tg-detail details dd { font-size: var(--t-sm); color: var(--ink-soft); }
.tg-stage .note { margin-top: clamp(2rem, 4vw, 2.75rem); }
@media (prefers-reduced-motion: reduce) { :is(.ex-card, .tg-card) img { transition: none; } }
.ab-ways { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .ab-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------- Final visual finish (2026-11-24): Work and Templates galleries */
/* Work: a group's grid follows its size: two projects side by side, one project as a wide card whose picture lines up with the
   left card of a two-project group (same column, same gap). No empty third column. */
@media (min-width: 1100px) { .ex-cards--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ex-card__line { display: none; }
@media (min-width: 640px) {
  .ex-cards--n1 { grid-template-columns: minmax(0, 1fr); }
  .ex-cards--n1 .ex-card { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; column-gap: var(--cg); align-items: start; }
  .ex-cards--n1 .ex-card__img { grid-column: 1; grid-row: 1 / span 3; }
  .ex-cards--n1 .ex-card__text { grid-column: 2; grid-row: 1; padding-top: clamp(.25rem, 1.5vw, 1.25rem); }
  .ex-cards--n1 .ex-card__text b { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); }
  .ex-cards--n1 .ex-card__line { display: block; grid-column: 2; grid-row: 2; max-width: 30rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }
  .ex-cards--n1 .ex-card__chips { grid-column: 2; grid-row: 3; align-self: start; }
}
/* the project's phone view rises from the lower edge of its cover, below the screen's own heading: the same genuine capture as on
   its exhibit, in a drawn frame (its foot is cut by the cover's edge) */
.ex-card__phone { position: absolute; z-index: 1; right: 5.5%; top: 40%; width: 20%; border-radius: clamp(8px, 1.2vw, 14px); overflow: hidden; background: #0b0c0c;
  box-shadow: 0 0 0 1px rgb(var(--l-cool) / .3), 0 0 22px -10px rgb(var(--l-cool) / .35), 0 22px 40px -16px rgb(0 0 0 / .95); transition: transform .6s var(--ease-out); }
.ex-card__phone :is(picture, img) { height: auto !important; }
.ex-card__phone img { object-fit: fill !important; transform: none !important; }
@media (hover: hover) { :is(.ex-card, .tg-card):hover .ex-card__phone { transform: translateY(-4px); } }
/* a template card's phone stands a little lower than a project's: the template heroes keep their headline on the left, and the
   phone covers the right-hand picture only from below its middle */
.tg-card__img .ex-card__phone { top: 44%; width: 18%; }
/* larger Work groups (the private review): three in a row; four as two pairs; five as three, then a wide pair (versions of one
   site stay side by side in the first row) */
@media (min-width: 1100px) {
  .ex-cards--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ex-cards--n5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ex-cards--n5 > li { grid-column: span 2; }
  .ex-cards--n5 > li:nth-child(n+4) { grid-column: span 3; }
}

/* Templates: seven covers in a 2 / 3 / 2 rhythm (two wide cards open and close the gallery); between 640 and 1100 px the first card
   is wide and the other six pair up, so no card is left alone on a row. */
@media (min-width: 640px) { .tg-cards--rhythm > li:first-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .tg-cards--rhythm { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tg-cards--rhythm > li { grid-column: span 2; }
  .tg-cards--rhythm > li:nth-child(-n+2), .tg-cards--rhythm > li:nth-last-child(-n+2) { grid-column: span 3; }
}
/* the selected template: its home page on a laptop, and on a phone standing at the frame's lower right */
.tg-detail .shot-link { position: relative; padding-bottom: 1.75rem; }
.tg-phone { position: absolute; z-index: 2; right: 5%; bottom: 0; width: clamp(80px, 19%, 150px); border-radius: clamp(10px, 1.4vw, 16px); overflow: hidden; background: #0b0c0c;
  box-shadow: 0 0 0 1px rgb(var(--l-cool) / .28), 0 0 30px -10px rgb(var(--l-cool) / .3), 0 30px 60px -24px rgb(0 0 0 / .9); transition: transform .5s var(--ease); }
.tg-phone :is(picture, img) { display: block; width: 100%; height: auto; }
@media (hover: hover) { .shot-link:hover .tg-phone { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .ex-card__phone, .tg-phone { transition: none; } }
