/* 01_tokens.css */
/* ==========================================================================
   Arqist — design tokens
   Every colour, size, space and timing used by the site lives here.
   Proportions are measured from the reference screenshots (desktop ~1400px):
   left margin 5.3%, right margin 2.4%, column gap 2.8%, home gap 3.6%.

   Breakpoints (CSS variables cannot be used inside media queries,
   so these are the only values repeated in the other files):
     phone   ≤ 699px
     tablet  700px – 1023px
     desktop ≥ 1024px
     wide    ≥ 2000px (content width is capped)
   ========================================================================== */

/* Space Grotesk: headlines (wordmark, headings, names, captions, menu).
   IBM Plex Sans: body text. IBM Plex Mono: small labels.
   Only the styles the site uses are shipped. */
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Manrope: the Arqist name (homepage wordmark and the banner finale) */
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colours — the six Arqist colours. Everything below uses these. */
  --brand-white: #ffffff;
  --brand-yellow: #ffc20e;
  --brand-orange: #bf561c;     /* burnt orange (dark enough to read on white) */
  --brand-red: #e3241b;     /* true red (no pink) */
  --brand-charcoal: #2b2b2b;
  --brand-concrete: #e7e4df;   /* sixth colour: warm concrete grey, for lines and empty photo boxes */

  /* Colour roles */
  --c-bg: var(--brand-white);
  --c-text: var(--brand-charcoal);
  --c-muted: #666462;
  --c-hairline: var(--brand-concrete);
  --c-placeholder: var(--brand-concrete);
  --c-accent: var(--brand-orange);     /* hover, current page, links */
  --c-highlight: var(--brand-yellow);  /* text selection, underline marks */
  --c-alert: var(--brand-red);
  --c-caption-light: var(--brand-white);
  --c-caption-dark: var(--brand-charcoal);
  --c-scrim: rgba(43, 43, 43, 0.18);
  --c-focus: var(--brand-orange);

  /* Type — the three families are defined here and nowhere else.
     Display (Space Grotesk): wordmark, headings, names, captions, menu, page-end links.
     Text (IBM Plex Sans): descriptions, spec lines, About, Legals.
     Mono (IBM Plex Mono): small labels — tile sub-lines, tagline, footer, photo labels. */
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-text: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --font-brand: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --fw-display: 500;
  --fw-display-strong: 700;   /* section titles */
  --fw-text: 400;

  /* Text sizes (IBM Plex Sans / Mono) */
  --fs-micro: clamp(0.6875rem, 0.62rem + 0.16vw, 0.8125rem);   /* footer, photo labels */
  --fs-small: clamp(0.8125rem, 0.78rem + 0.12vw, 0.9375rem);         /* spec lines */
  --fs-body: clamp(1rem, 0.96rem + 0.16vw, 1.125rem);        /* paragraphs */
  --fs-lead: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem);       /* line under a name (client, year) */

  /* Display sizes (Space Grotesk) */
  --fs-caption-sub: clamp(0.625rem, 0.58rem + 0.14vw, 0.75rem); /* tile type line */
  --fs-caption: clamp(0.9375rem, 0.87rem + 0.24vw, 1.125rem);   /* tile NAME */
  --fs-section: clamp(0.875rem, 0.83rem + 0.14vw, 1rem); /* Legals section titles */
  --fs-name: clamp(1.5rem, 1.3rem + 0.65vw, 2rem);          /* detail page NAME, page titles */
  --fs-band: clamp(1.25rem, 1rem + 0.9vw, 2rem);        /* category band label */
  --fs-menu: clamp(1.375rem, 1.25rem + 0.45vw, 1.75rem);
  --fs-wordmark: clamp(1.375rem, 1.15rem + 0.75vw, 2.125rem);
  --fs-tagline: clamp(0.6875rem, 0.64rem + 0.16vw, 0.8125rem);
  --lh-tight: 1.2;
  --lh-spec: 1.45;
  --lh-body: 1.6;
  --track-caps: 0.06em;
  --track-micro: 0.1em;
  --track-wide: 0.22em;
  --measure: 34em;

  /* Page frame */
  /* Equal white gaps left and right. Each is the average of the old left
     (5.3vw) and right (2.45vw) gaps, so the content keeps exactly its width. */
  --m-left: clamp(1.25rem, 3.875vw, 6rem);
  --m-right: clamp(1.25rem, 3.875vw, 6rem);
  --content-max: 2200px;

  /* Spacing */
  --gap: clamp(0.75rem, 2.8vw, 3.5rem);        /* between columns and rows */
  --gap-home: clamp(0.75rem, 3.6vw, 4.5rem);   /* between home tiles */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2.5rem;
  --space-7: 4rem;
  --space-8: 6rem;
  --top-offset: clamp(4.5rem, 7.4vw, 8.5rem);  /* space above the first tiles */
  --home-head: clamp(5rem, 9.6vw, 11rem);      /* wordmark area on HOME */
  --caption-top: clamp(0.75rem, 2.15vw, 2.25rem);

  /* Menu button */
  --menu-btn: 36px;
  --menu-inset: clamp(0.875rem, 1.45vw, 1.5rem);
  --menu-width: min(26rem, 100vw);

  /* Motion */
  --t-fast: 200ms ease;
  --t-fade: 400ms ease;
  --t-menu: 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (max-width: 699px) {
  :root {
    --m-left: 1.25rem;
    --m-right: 1.25rem;
    --gap: 1.25rem;
    --gap-home: 1.25rem;
    --top-offset: 4.75rem;
    --home-head: 5.5rem;
    --menu-inset: 0.875rem;
  }
}

/* 02_base.css */
/* Base: reset, typography, accessibility helpers, page frame. */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-text);
  font-weight: var(--fw-text);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

h1, h2, h3 {
  font-weight: inherit;
}

/* Display typeface (Space Grotesk): the complete list of what uses it.
   Small labels use the mono typeface (list below); everything else is set
   in the text typeface (IBM Plex Sans). */
.wordmark,
.page-title,
.spec__name,
.tile__caption,
.menu__list,
.menu__brand,
.page-end,
.legal-section__title,
.prose h2,
.prose h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-display);
  font-variant-numeric: lining-nums;
}
/* Section titles are bolder */
.legal-section__title,
.prose h2,
.prose h3 {
  font-weight: var(--fw-display-strong);
}
/* Mono typeface (IBM Plex Mono): small labels */
.tile__sub,
.menu__brand,
.wordmark__tag,
.ph__label,
.gallery__item figcaption,
.spec__download,
.site-footer {
  font-family: var(--font-mono);
  font-weight: 400;
}

ul, ol {
  padding: 0;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

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

::selection {
  background: var(--c-highlight);
  color: var(--c-text);
}

:focus-visible {
  outline: 2px solid var(--c-focus);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  padding: var(--space-2) var(--space-3);
  background: var(--c-bg);
  font-size: var(--fs-small);
}
.skip-link:focus {
  top: var(--space-4);
}

/* The page frame: content sits slightly right of centre, leaving the left
   strip to the fixed menu button (as in the reference). */
.frame {
  width: 100%;
  max-width: calc(var(--content-max) + var(--m-left) + var(--m-right));
  margin-inline: auto;
  padding-left: var(--m-left);
  padding-right: var(--m-right);
}

.empty-note {
  padding: var(--space-8) 0;
  text-align: center;
  color: var(--c-muted);
}

/* Rich text (About, Legals, descriptions) */
.prose {
  max-width: var(--measure);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.prose p + p,
.prose ul,
.prose ol {
  margin-top: 0.85em;
}
.prose h2,
.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.4em;
  font-size: var(--fs-section);
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
}
.prose ul,
.prose ol {
  padding-left: 1.2em;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--c-accent);
  transition: color var(--t-fast);
}
.prose a:hover {
  color: var(--c-accent);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* 03_menu.css */
/* Menu: small boxed button fixed top-left (reference), opening a quiet panel
   with the six pages as plain text links. Works without JavaScript via
   #menu:target; menu.js adds the .menu-open class, focus handling and Escape. */

.menu-toggle,
.menu__close {
  position: fixed;
  top: var(--menu-inset);
  left: var(--menu-inset);
  z-index: 60;
  width: var(--menu-btn);
  height: var(--menu-btn);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--c-bg);
  border: 1px solid var(--c-text);
  transition: opacity var(--t-fast);
}
.menu-toggle span,
.menu__close span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--c-text);
}
.menu-toggle:hover,
.menu__close:hover {
  opacity: 0.7;
}

.menu__close {
  gap: 0;
}
.menu__close span:first-child {
  transform: translateY(0.5px) rotate(45deg);
}
.menu__close span:last-child {
  transform: translateY(-0.5px) rotate(-45deg);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  transition: visibility 0s linear var(--t-menu);
}
.menu__scrim {
  position: absolute;
  inset: 0;
  background: var(--c-scrim);
  opacity: 0;
  transition: opacity var(--t-menu);
}
.menu__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--menu-width);
  display: flex;
  flex-direction: column;
  padding: calc(var(--menu-inset) + var(--menu-btn) + var(--space-7)) var(--space-6) var(--space-6) var(--m-left);
  background: var(--c-bg);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--t-menu);
}

.menu:target,
.menu-open .menu {
  visibility: visible;
  transition: visibility 0s;
}
.menu:target .menu__scrim,
.menu-open .menu .menu__scrim {
  opacity: 1;
}
.menu:target .menu__panel,
.menu-open .menu .menu__panel {
  transform: none;
}

.menu__list {
  list-style: none;
}
.menu__list a {
  display: inline-block;
  padding: 0.3em 0;
  font-size: var(--fs-menu);
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  transition: color var(--t-fast);
}
.menu__list a:hover {
  color: var(--c-accent);
}
.menu__list a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--c-highlight);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.28em;
}

.menu__brand {
  margin-top: auto;
  padding-top: var(--space-7);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  color: var(--c-muted);
}

/* Keep the page still while the menu is open */
.menu-open body {
  overflow: hidden;
}

@media (max-width: 699px) {
  .menu__panel {
    width: 100vw;
    padding-left: var(--m-left);
  }
}

/* 04_tiles.css */
/* Photo tiles, placeholders, listing grid, home mosaic. */

/* --- Media ------------------------------------------------------------- */
.media--cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--natural {
  width: 100%;
  height: auto;
}

/* Placeholder: a warm neutral block with a quiet label saying which photo is needed */
.ph {
  position: relative;
  background: var(--ph, var(--c-placeholder));
}
.ph.media--natural {
  aspect-ratio: 4 / 5;
}
.ph__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--space-4);
  padding-inline: var(--space-4);
  text-align: center;
  font-size: var(--fs-micro);
  letter-spacing: 0.02em;
}
.ph--on-dark .ph__label {
  color: rgba(255, 255, 255, 0.62);
}
.ph--on-light .ph__label {
  color: rgba(43, 43, 43, 0.55);
}
/* When a box changes shape per screen size, only that size's label shows */
.ph__label--t,
.ph__label--m {
  display: none;
}
@media (max-width: 1023px) {
  .ph__label--d {
    display: none;
  }
  .ph__label--t {
    display: block;
  }
}
@media (max-width: 699px) {
  .ph__label--t {
    display: none;
  }
  .ph__label--m {
    display: block;
  }
}

/* --- Tile --------------------------------------------------------------- */
.tile {
  min-width: 0;
}
.tile__link {
  position: relative;
  display: block;
}
.tile__media {
  position: relative;
  aspect-ratio: var(--ar, 4 / 3);
  overflow: hidden;
  background: var(--c-placeholder);
}
.tile__media > picture,
.tile__media > .ph {
  position: absolute;
  inset: 0;
}
.tile__media img {
  transition: opacity var(--t-fade);
}
a.tile__link:hover .tile__media > * {
  opacity: 0.9;
}
a.tile__link:focus-visible {
  outline-offset: 4px;
}

.tile__caption {
  position: absolute;
  top: var(--caption-top);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
  padding-inline: var(--space-4);
  text-align: center;
  line-height: var(--lh-tight);
  pointer-events: none;
}
.tile__caption.is-light {
  color: var(--c-caption-light);
}
.tile__caption.is-dark {
  color: var(--c-caption-dark);
}
.tile__name {
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
}
.tile__sub {
  font-size: var(--fs-caption-sub);
  text-transform: uppercase;
  letter-spacing: var(--track-micro);
}
.tile--band .tile__name {
  font-size: var(--fs-band);
}

/* --- Listing (Work, Services, Studio) ---------------------------------- */
.listing-page {
  padding-top: var(--top-offset);
}
.listing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}
.listing .tile--lone {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - var(--gap) / 2);
}

/* --- Home mosaic ----------------------------------------------------------- */
.home-head {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--home-head);
  padding: var(--space-4) calc(var(--menu-btn) + var(--menu-inset) * 2);
}
.wordmark a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}
.wordmark__name {
  font-size: var(--fs-wordmark);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  /* letter-spacing adds space after the last letter; pull it back to stay centred */
  margin-right: calc(var(--track-wide) * -1);
}
.wordmark__tag {
  font-size: var(--fs-tagline);
  text-transform: uppercase;
  letter-spacing: var(--track-micro);
  color: var(--c-muted);
}
.wordmark__logo {
  max-height: clamp(2.5rem, 4vw, 4.5rem);
  width: auto;
}

.mosaic {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.mosaic-row {
  display: grid;
  grid-template-columns: var(--cols, repeat(4, minmax(0, 1fr)));
  column-gap: var(--gap-home);
  row-gap: var(--gap);
}
.mosaic-row--single {
  grid-template-columns: minmax(0, 1fr);
}
.mosaic-row--single > .tile {
  justify-self: center;
  width: calc(50% - var(--gap-home) / 2);
}
.mosaic-full .tile__media {
  max-height: 100vh;
}

/* Wide: spans the content width and is exactly as tall as a row of four small
   tiles. A small tile is (content width − 3 gaps) / 4 wide and 3:4 in shape,
   so its height is (content width − 3 gaps) / 3. 100cqw = the frame's content
   width (the frame is a size container). */
.frame--measure {
  container-type: inline-size;
}
.tile--wide .tile__media {
  aspect-ratio: auto;
  height: calc((100cqw - 3 * var(--gap-home)) / 3);
}

/* --- Tablet: small tiles two per row, medium tiles full width ------------- */
@media (max-width: 1023px) {
  .mosaic-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row dense;
    column-gap: var(--gap);
  }
  .mosaic-row .tile__media,
  .tile--wide .tile__media,
  .tile--large .tile__media,
  .tile--full .tile__media {
    height: auto;
    aspect-ratio: var(--ar-t, var(--ar));
  }
  .mosaic-row .tile--medium {
    grid-column: 1 / -1;
  }
  .mosaic-row .tile--odd-last,
  .mosaic-row--single > .tile {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - var(--gap) / 2);
  }
}

/* --- Phone: one column, stronger portrait shapes -------------------------- */
@media (max-width: 699px) {
  .listing,
  .mosaic-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .listing .tile--lone,
  .mosaic-row .tile--odd-last,
  .mosaic-row--single > .tile {
    width: 100%;
  }
  .mosaic-row .tile__media,
  .tile--wide .tile__media,
  .tile--large .tile__media,
  .tile--full .tile__media {
    height: auto;
    aspect-ratio: var(--ar-m, var(--ar));
  }
  .mosaic-full .tile__media {
    max-height: none;
  }
}

/* 05_pages.css */
/* Detail pages (product, interior project), text pages, page endings, footer. */

/* --- Full-bleed hero ------------------------------------------------------ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 26rem;
  overflow: hidden;
  background: var(--c-placeholder);
}
.hero > picture,
.hero > .ph {
  position: absolute;
  inset: 0;
}

/* --- Spec block (name, meta line, detail lines, download) -------------------- */
.spec {
  padding-top: clamp(2rem, 3.2vw, 3.5rem);
  max-width: 40rem;
}
.spec__name {
  font-size: var(--fs-name);
  line-height: var(--lh-tight);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.spec__meta {
  margin-top: 0.3em;
  font-size: var(--fs-lead);
  line-height: var(--lh-tight);
}
.spec__lines {
  margin-top: 0.6em;
  font-size: var(--fs-small);
  line-height: var(--lh-spec);
}
.spec__download {
  margin-top: 0.15em;
  font-size: var(--fs-small);
  line-height: var(--lh-spec);
}
.spec__download a {
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--c-highlight);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  transition: color var(--t-fast);
}
.spec__download a:hover {
  color: var(--c-accent);
}
.spec__description {
  margin-top: var(--space-5);
  font-size: var(--fs-small);
  line-height: var(--lh-body);
}

/* --- Gallery: two staggered columns --------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: calc(var(--gap) * 1.15);
  align-items: start;
  margin-top: clamp(2.5rem, 3.6vw, 4rem);
}
.gallery__col {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3.5vw, 3.5rem);
}
.gallery__item figcaption {
  margin-top: var(--space-2);
  font-size: var(--fs-micro);
  color: var(--c-muted);
  letter-spacing: 0.02em;
}

@media (min-width: 700px) and (max-width: 1023px) {
  .hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 699px) {
  .hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }
  .gallery {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--gap);
  }
  /* On phones the two columns merge back into the chosen photo order */
  .gallery__col {
    display: contents;
  }
  .gallery__item {
    order: var(--i);
  }
}

/* --- Text pages (About, Legals, 404) --------------------------------------- */
.text-page {
  padding-top: var(--top-offset);
}
.page-title {
  margin-bottom: var(--space-6);
  font-size: var(--fs-name);
  line-height: var(--lh-tight);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.text-page > .gallery {
  margin-top: var(--space-7);
}
.legal-section + .legal-section {
  margin-top: var(--space-6);
}
.legal-section__title {
  margin-bottom: var(--space-3);
  font-size: var(--fs-section);
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
}
.legal-section .prose {
  font-size: var(--fs-small);
}
.not-found .prose {
  color: var(--c-muted);
}

/* --- "EXPLORE MORE · HOME" ------------------------------------------------ */
.page-end {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4) clamp(2rem, 4vw, 4rem);
  padding: clamp(4rem, 7vw, 7rem) var(--m-right) clamp(3rem, 5vw, 5rem) var(--m-left);
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: var(--track-caps);
}
.page-end a {
  transition: color var(--t-fast);
}
.page-end a:hover {
  color: var(--c-accent);
}

/* --- Footer ----------------------------------------------------------------- */
.site-footer {
  padding-bottom: clamp(2rem, 3vw, 3rem);
}
.site-footer__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) clamp(1.25rem, 2.2vw, 2.25rem);
  padding-top: var(--space-5);
  border-top: 1px solid var(--c-hairline);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--c-muted);
}
.site-footer__line a {
  transition: color var(--t-fast);
}
.site-footer__line a:hover {
  color: var(--c-accent);
}
.site-footer__line a[href^="mailto:"] {
  text-transform: none;
  letter-spacing: 0.04em;
}
.site-footer__brand {
  color: var(--c-text);
  letter-spacing: var(--track-wide);
}

/* Home has no page-end links, so give the footer air above it */
.page-home .site-footer {
  margin-top: clamp(4rem, 7vw, 7rem);
}

/* 06_expressive.css */
/* ==========================================================================
   Expressive layer — the Arqist look.
   Loaded last, so it refines the calm base styles above:
   white everywhere, giant confident type, captions under the photos with
   running numbers, bold geometric placeholders, a live particle banner and
   playful (but quiet) hover moments. Everything moving stops for visitors who
   ask their device for reduced motion.
   ========================================================================== */

:root {
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius-pop: clamp(1.25rem, 3vw, 3rem);
  --fs-title: clamp(2.75rem, 1.4rem + 6vw, 8rem);      /* page titles */
  --fs-huge: clamp(2rem, 1.2rem + 3.6vw, 4.75rem);     /* detail names, page-end, footer email */
  --fs-tile: clamp(1.125rem, 1rem + 0.45vw, 1.5rem);   /* tile names */
}

html,
body {
  background: #ffffff;
}

/* --- Home: the first screen (artwork + centred wordmark) ------------------ */
.home-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 30rem;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}
.home-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  min-height: 0;
  padding: clamp(1.25rem, 3vw, 2.5rem) calc(var(--menu-btn) + var(--menu-inset) * 2);
  pointer-events: none;
}
.home-head a {
  pointer-events: auto;
}
.wordmark a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* A small white card so the name stays readable over the moving particles */
  padding: 0.35rem 0.8rem;
  background: #ffffff;
}
/* The name: small, in Manrope, like a signature */
.wordmark__name {
  margin-right: 0;
  font-family: var(--font-brand);
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: none;
}
.home-head .wordmark__tag {
  display: none;
}
.wordmark__logo {
  max-height: clamp(4rem, 12vw, 11rem);
}

/* --- Main banner: live particle artwork (src/js/banner.js) ----------------- */
.banner {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
}
/* Without JavaScript: a still field of brand-coloured dots */
.banner:not(.is-live) {
  background:
    radial-gradient(circle, var(--brand-yellow) 0 3px, transparent 3.5px) 0 0 / 28px 28px,
    radial-gradient(circle, var(--brand-red) 0 2px, transparent 2.5px) 14px 14px / 28px 28px;
}
.banner canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.banner__caption {
  position: absolute;
  left: var(--m-left);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  max-width: min(34rem, 90%);
  padding: 0.7em 1em;
  background: #ffffff;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  line-height: 1.35;
  pointer-events: none;
}
.banner__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lead);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.banner__formula {
  color: var(--c-muted);
  font-size: var(--fs-micro);
}
/* Small shapes in the colours of the scene on screen */
.banner__swatches {
  display: flex;
  gap: 0.45em;
  margin-top: 0.25em;
}
.banner__swatches:empty {
  display: none;
}
.banner__swatches i {
  width: 0.8em;
  height: 0.8em;
}
.banner__swatches .sw-1 { border-radius: 50%; }
.banner__swatches .sw-2 { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
/* Finale: only ARQIST (drawn by the particles) and the caption remain */
.home-head {
  transition: opacity 900ms ease;
}
.home-hero.is-finale .home-head {
  opacity: 0;
}
/* The last 6 seconds: the name in plain text, with one yellow dot */
.banner canvas {
  transition: opacity 700ms ease;
}
.home-hero.is-plain .banner canvas {
  opacity: 0;
}
.banner__finale {
  position: absolute;
  top: 54%;
  left: 50%;
  z-index: 1;
  margin: 0;
  transform: translate(-50%, -50%);
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--c-text);
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: none;
}
.home-hero.is-plain .banner__finale {
  opacity: 1;
}
/* Coda: the name sits in a square that changes colour (set by banner.js) */
.banner__finale.is-boxed {
  display: grid;
  place-items: center;
  width: 5.4em;
  aspect-ratio: 1;
}
.banner__finale.has-dot .banner__dot {
  display: inline-block;
}
.banner__dot {
  display: none;
  width: 0.32em;
  height: 0.32em;
  margin-left: 0.1em;
  border-radius: 50%;
  background: var(--brand-yellow);
}
/* "Scroll" hint at the bottom of the first screen */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--c-text);
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 1.75rem;
  background: var(--c-text);
  transform-origin: top;
  animation: scroll-line 2.4s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 699px) {
  .banner__caption { left: 0; max-width: 68%; }
  .scroll-hint { left: auto; right: var(--m-right); transform: none; }
}

/* --- Tiles: caption under the photo, with a running number ------------------ */
.mosaic,
.listing {
  counter-reset: tile;
}
.tile {
  counter-increment: tile;
}
.tile__media {
  background: #ffffff;
  transition: border-radius 450ms var(--ease-pop);
}
a.tile__link:hover .tile__media {
  border-radius: var(--radius-pop);
}
a.tile__link:hover .tile__media > * {
  opacity: 1;
}
.tile__media img {
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
a.tile__link:hover .tile__media img {
  transform: scale(1.04);
}

.tile__caption {
  position: static;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75em;
  row-gap: 0.3em;
  align-items: baseline;
  padding: 0.85em 0 0;
  text-align: left;
  color: var(--c-text);
}
.tile__caption.is-light,
.tile__caption.is-dark {
  color: var(--c-text);
}
.tile__caption::before {
  content: counter(tile, decimal-leading-zero);
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: var(--fs-caption-sub);
  color: var(--c-muted);
}
.tile__name {
  font-size: var(--fs-tile);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: none;
  background-image: linear-gradient(var(--brand-yellow), var(--brand-yellow));
  background-size: 0 0.4em;
  background-position: 0 88%;
  background-repeat: no-repeat;
  transition: background-size 350ms ease;
}
a.tile__link:hover .tile__name {
  background-size: 100% 0.4em;
}
.tile__sub {
  grid-column: 2;
  color: var(--c-muted);
}

/* Bands (Work / Services / Studio): one giant word on the photo */
.tile--band .tile__caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(1rem, 2.5vw, 2.5rem);
}
.tile--band .tile__caption::before {
  content: none;
}
.tile--band .tile__caption.is-light {
  color: var(--c-caption-light);
}
.tile--band .tile__name {
  font-size: clamp(3rem, 1rem + 11vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  background: none;
  transition: letter-spacing 500ms var(--ease-pop);
}
a.tile__link:hover .tile--band .tile__name,
.tile--band a.tile__link:hover .tile__name {
  letter-spacing: -0.02em;
}
.tile--band .tile__sub {
  display: none;
}

/* Editorial photos on the homepage with a title: same caption style */
.tile--wide .tile__name,
.tile--large:not(.tile--band) .tile__name {
  font-size: var(--fs-huge);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

/* --- Placeholders: a white card with one bold shape ------------------------- */
.ph.ph--art {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--c-hairline);
  overflow: hidden;
}
.ph--art::before,
.ph--art::after {
  content: "";
  position: absolute;
  transition: transform 700ms var(--ease-pop);
}
.ph--art .ph__label {
  z-index: 1;
  left: var(--space-4);
  right: auto;
  bottom: var(--space-3);
  padding: 0.2em 0.5em;
  background: #ffffff;
  color: var(--c-muted);
  text-align: left;
}
/* 0 · sun: a big circle and a small square */
.ph--art-0::before { width: 58%; aspect-ratio: 1; left: 21%; top: 50%; translate: 0 -50%; border-radius: 50%; background: var(--ph-a); }
.ph--art-0::after { width: 14%; aspect-ratio: 1; left: 8%; top: 9%; background: var(--ph-b); }
/* 1 · rise: a half circle coming up from the bottom and a dot */
.ph--art-1::before { width: 92%; aspect-ratio: 1; left: 4%; bottom: 0; translate: 0 50%; border-radius: 50%; background: var(--ph-a); }
.ph--art-1::after { width: 16%; aspect-ratio: 1; right: 10%; top: 12%; border-radius: 50%; background: var(--ph-b); }
/* 2 · quarter: a quarter circle in the corner and a bar */
.ph--art-2::before { width: 78%; aspect-ratio: 1; left: 0; top: 0; border-radius: 0 0 100% 0; background: var(--ph-a); }
.ph--art-2::after { height: 12%; left: 0; right: 0; bottom: 18%; background: var(--ph-b); }
/* 3 · stripes: bold stripes and a circle */
.ph--art-3::before { inset: 0 0 0 46%; background: repeating-linear-gradient(90deg, var(--ph-a) 0 1.4rem, transparent 1.4rem 2.8rem); }
.ph--art-3::after { width: 36%; aspect-ratio: 1; left: 14%; top: 50%; translate: 0 -50%; border-radius: 50%; background: var(--ph-b); }
/* 4 · pill: a tilted pill and a dot */
.ph--art-4::before { width: 84%; height: 30%; left: 8%; top: 35%; border-radius: 999px; rotate: -14deg; background: var(--ph-a); }
.ph--art-4::after { width: 13%; aspect-ratio: 1; right: 12%; bottom: 14%; border-radius: 50%; background: var(--ph-b); }
/* 5 · arch: an arch and a ball on top */
.ph--art-5::before { width: 54%; height: 64%; left: 23%; bottom: 0; border-radius: 999px 999px 0 0; background: var(--ph-a); }
.ph--art-5::after { width: 22%; aspect-ratio: 1; left: 39%; bottom: 66%; border-radius: 50%; background: var(--ph-b); }

a.tile__link:hover .ph--art::before { transform: rotate(-8deg) scale(1.04); }
a.tile__link:hover .ph--art::after { transform: translateY(-12%) rotate(45deg); }
.ph--art-1::before,
.ph--art-4::before { transform-origin: 50% 50%; }

/* Bands: the shape sits low and to the right, leaving room for the word */
.tile--band .ph--art::before { width: 46%; left: auto; right: 6%; top: auto; bottom: 0; translate: 0 38%; height: auto; aspect-ratio: 1; border-radius: 50%; rotate: 0deg; inset-inline-start: auto; }
.tile--band .ph--art::after { width: 12%; height: auto; aspect-ratio: 1; left: auto; right: 44%; top: auto; bottom: 16%; translate: none; border-radius: 0; rotate: 0deg; }

/* --- Page titles ------------------------------------------------------------ */
.page-title {
  font-size: var(--fs-title);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
}
.page-title::after {
  content: "";
  display: inline-block;
  width: 0.2em;
  height: 0.2em;
  margin-left: 0.06em;
  border-radius: 50%;
  background: var(--brand-orange);
}
.listing-page {
  padding-top: calc(var(--menu-inset) * 2 + var(--menu-btn) + var(--space-5));
}
.text-page {
  padding-top: calc(var(--menu-inset) * 2 + var(--menu-btn) + var(--space-5));
}
.text-page .prose > p:first-child + p,
.text-page .prose > p:only-child {
  font-size: var(--fs-lead);
}

/* --- Detail pages ----------------------------------------------------------- */
.hero {
  background: #ffffff;
}
.spec {
  max-width: none;
}
.spec__name {
  font-size: var(--fs-huge);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.spec__meta {
  margin-top: 0.8em;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: var(--track-micro);
  color: var(--c-muted);
}
.spec__lines {
  max-width: 40rem;
  margin-top: 1.2em;
  font-size: var(--fs-body);
}
.spec__lines p {
  position: relative;
  padding-left: 1.1em;
}
.spec__lines p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45em;
  height: 0.45em;
  background: var(--brand-yellow);
}
.spec__lines p:nth-child(2)::before { background: var(--brand-orange); }
.spec__lines p:nth-child(3)::before { background: var(--brand-red); }
.spec__lines p:nth-child(4)::before { background: var(--brand-charcoal); }
.spec__download {
  margin-top: 1.4em;
}
.spec__download a {
  display: inline-block;
  padding: 0.7em 1.3em;
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--c-text);
  text-decoration: none;
  transition: transform 300ms var(--ease-pop), background-color var(--t-fast);
}
.spec__download a:hover {
  color: var(--c-text);
  background: var(--brand-orange);
  transform: rotate(-3deg) scale(1.05);
}
.spec__description {
  max-width: 40rem;
  font-size: var(--fs-body);
}

/* --- "Explore more · Home": big links --------------------------------------- */
.page-end {
  justify-content: flex-start;
  gap: var(--space-3) clamp(1.5rem, 4vw, 4rem);
  font-size: var(--fs-huge);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.page-end a::after {
  content: " →";
  display: inline-block;
  transition: transform 300ms var(--ease-pop);
}
.page-end a:hover::after {
  transform: translateX(0.2em);
}

/* --- Menu: the spinning film reel opens a full-screen menu ----------------- */
.menu-toggle {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
/* Only the reel picture turns; the button itself stays still and easy to click */
.menu-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='49' fill='%232b2b2b'/><circle cx='50' cy='50' r='44' fill='none' stroke='%23ffc20e' stroke-width='2'/><circle cx='50.0' cy='22.0' r='11.5' fill='%23fff'/><circle cx='74.2' cy='36.0' r='11.5' fill='%23fff'/><circle cx='74.2' cy='64.0' r='11.5' fill='%23fff'/><circle cx='50.0' cy='78.0' r='11.5' fill='%23fff'/><circle cx='25.8' cy='64.0' r='11.5' fill='%23fff'/><circle cx='25.8' cy='36.0' r='11.5' fill='%23fff'/><circle cx='50' cy='50' r='9' fill='%23e3241b'/><circle cx='50' cy='50' r='3.5' fill='%23fff'/></svg>") center / contain no-repeat;
  animation: spin 8s linear infinite;
}
.menu-toggle span {
  display: none;
}
/* The small word next to the reel */
.menu-toggle__word {
  position: absolute;
  top: 50%;
  left: calc(100% + 0.6rem);
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-style: normal;
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--c-text);
  white-space: nowrap;
  padding: 0.2em 0.45em;
  background: #ffffff;
}
.menu-toggle:hover {
  opacity: 1;
}
.menu-toggle:hover::before {
  animation-duration: 1.6s;
}
.menu__close {
  border: 0;
  border-radius: 50%;
  background: var(--brand-yellow);
  transition: transform 300ms var(--ease-pop);
}
.menu__close span {
  width: 16px;
  height: 2px;
  background: var(--brand-charcoal);
}
.menu__close:hover {
  opacity: 1;
  transform: rotate(90deg) scale(1.08);
}
.menu__close span:first-child {
  transform: translateY(1px) rotate(45deg);
}
.menu__close span:last-child {
  transform: translateY(-1px) rotate(-45deg);
}
.menu__panel {
  width: 100vw;
  padding-left: var(--m-left);
}
.menu__list {
  counter-reset: menu;
}
.menu__list li {
  counter-increment: menu;
}
.menu__list a {
  position: relative;
  padding: 0.02em 0;
  font-size: clamp(2.5rem, 1.2rem + 5.5vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color var(--t-fast), transform 350ms var(--ease-pop);
}
.menu__list a::before {
  content: counter(menu, decimal-leading-zero);
  position: absolute;
  left: -2.4em;
  top: 0.55em;
  font-family: var(--font-mono);
  font-size: 0.16em;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--c-muted);
}
.menu__list a:hover {
  color: var(--brand-orange);
  transform: translateX(0.12em);
}
.menu__list li:nth-child(3n + 2) a:hover { color: var(--brand-red); }
.menu__list li:nth-child(3n) a:hover { color: var(--brand-charcoal); transform: translateX(0.12em) skewX(-8deg); }
.menu__list a[aria-current="page"] {
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.12em;
}

/* --- Motion ------------------------------------------------------------------ */
@keyframes spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-hint::after {
    animation: none;
  }
  .menu-toggle::before {
    animation: none;
  }
}

@media (max-width: 699px) {
  .menu__list a::before {
    display: none;
  }
  .ph--art-3::before {
    background: repeating-linear-gradient(90deg, var(--ph-a) 0 0.9rem, transparent 0.9rem 1.8rem);
  }
}

/* 07_client_cards.css */
/* ==========================================================================
   Client cards — "four mini symphonies" (template: src/templates/client-card.js,
   behaviour: src/js/cards.js). Each card loops every 6 seconds with its own
   tempo. Pure SVG + CSS: cheap to run, and paused whenever the card is off
   screen. The keyframe percentages are seconds ÷ 6 (1 s ≈ 16.67%).
   ========================================================================== */

.client-card .tile__link {
  display: block;
}
.cc {
  position: relative;
  aspect-ratio: var(--ar, 3 / 4);
  overflow: hidden;
  container-type: inline-size;
  background: var(--cc-paper, #ffffff);
}
.cc-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 250ms ease;
}
.cc-art * {
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
  animation-play-state: paused;
}
/* Only cards on screen play (cards.js adds .is-on) */
.client-card.is-on .cc-art * {
  animation-play-state: running;
}

/* A real photo under the animation: the shapes stay on top as a light overlay */
.cc-photo,
.cc-photo > picture {
  position: absolute;
  inset: 0;
}
.cc--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.28);   /* a light veil so the shapes read */
  pointer-events: none;
}
.cc--photo .cc-art {
  z-index: 1;
  mix-blend-mode: multiply;
}
.cc--photo .cc-logo {
  z-index: 2;
}

/* Caption under the card */
.client-card .cc-caption {
  position: static;
  padding: var(--space-3) 0 0;
  color: var(--c-text);
}

/* --- Logo layer: shown on hover (computer) or once on scroll (phone) ------- */
.cc-logo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12%;
  background: #ffffff;
  color: #1d1d1f;
  transition: opacity 200ms ease;
}
/* (stronger than the photo-tile hover fade in 04_tiles.css) */
.client-card a.tile__link .tile__media > .cc-art,
.client-card a.tile__link:hover .tile__media > .cc-art {
  opacity: 1;
}
.client-card a.tile__link .tile__media > .cc-logo {
  opacity: 0;
}
.client-card.is-logo a.tile__link .tile__media > .cc-logo {
  opacity: 1;
}
.client-card.is-logo a.tile__link .tile__media > .cc-art {
  opacity: 0;
}
.cc-logo__img {
  max-width: 55%;
  max-height: 45%;
  width: auto;
  height: auto;
  filter: brightness(0);                 /* black logo on light colours */
}
.cc-logo.is-dark {
  color: #ffffff;
}
.cc-logo.is-dark .cc-logo__img {
  filter: brightness(0) invert(1);       /* white logo on dark colours */
}
.cc-logo__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14cqw;
  line-height: 1;
  letter-spacing: -0.01em;
  text-align: center;
}
.cc-logo--small .cc-logo__img { max-width: 38%; max-height: 30%; }
.cc-logo--large .cc-logo__img { max-width: 72%; max-height: 60%; }
.cc-logo--small .cc-logo__text { font-size: 10cqw; }
.cc-logo--large .cc-logo__text { font-size: 19cqw; }

/* --- 1 · Briefed (news): FAST ------------------------------------------------
   Headline bars slide in one after another (0–0.8 s), squeeze together
   (1.2–1.6 s), then a red square lands like a full stop (1.8–2.5 s). */
.cc--news { --cc-paper: #f4f2ee; }
.cc--news .cc-bar { fill: #1d1d1f; }
.cc--news .cc-stop { fill: #e3241b; }
.cc--news .cc-bar1 { animation-name: cc-news-bar1; }
.cc--news .cc-bar2 { animation-name: cc-news-bar2; }
.cc--news .cc-bar3 { animation-name: cc-news-bar3; }
.cc--news .cc-stop { animation-name: cc-news-stop; }
@keyframes cc-news-bar1 {
  0%, 0.00% { transform: translate(-330px, -12px); animation-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1); }
  5.00% { transform: translate(0, -12px); }
  20.00% { transform: translate(0, -12px); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  26.67% { transform: translate(0, 0); }
  88.33% { opacity: 1; transform: translate(0, 0); }
  96.67%, 100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes cc-news-bar2 {
  0%, 4.17% { transform: translate(-330px, 0px); animation-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1); }
  9.17% { transform: translate(0, 0px); }
  20.00% { transform: translate(0, 0px); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  26.67% { transform: translate(0, 0); }
  88.33% { opacity: 1; transform: translate(0, 0); }
  96.67%, 100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes cc-news-bar3 {
  0%, 8.33% { transform: translate(-330px, 12px); animation-timing-function: cubic-bezier(0.2, 0.9, 0.2, 1); }
  13.33% { transform: translate(0, 12px); }
  20.00% { transform: translate(0, 12px); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  26.67% { transform: translate(0, 0); }
  88.33% { opacity: 1; transform: translate(0, 0); }
  96.67%, 100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes cc-news-stop {
  0%, 30.00% { transform: translateY(-280px); opacity: 0; animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.5); }
  30.83% { opacity: 1; }
  35.83% { transform: translateY(0); animation-timing-function: ease-out; }
  38.33% { transform: translateY(-14px); animation-timing-function: ease-in; }
  40.83% { transform: translateY(0); opacity: 1; }
  88.33% { opacity: 1; transform: translateY(0); }
  96.67%, 100% { opacity: 0; transform: translateY(0); }
}

/* --- 2 · Morelles (interior): SLOW and soft ----------------------------------
   An arch draws itself (0–2.6 s), a pendant light swings gently down
   (1–3.4 s, then a soft sway), a chair settles in (2.8–4.2 s). */
.cc--interior { --cc-paper: #efe7dc; }
.cc--interior .cc-arch { fill: none; stroke: #3b3129; stroke-width: 4; stroke-dasharray: 1; animation-name: cc-int-arch; }
.cc--interior .cc-pendant { stroke: #3b3129; stroke-width: 2; fill: #3b3129; transform-box: view-box; transform-origin: 150px 0; animation-name: cc-int-pendant; }
.cc--interior .cc-chair { fill: #c8643c; animation-name: cc-int-chair; }
@keyframes cc-int-arch {
  0% { stroke-dashoffset: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.3, 1); }
  43.33% { stroke-dashoffset: 0; }
  88.33% { opacity: 1; stroke-dashoffset: 0; }
  96.67%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes cc-int-pendant {
  0%, 16.67% { transform: translateY(-190px) rotate(0deg); animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1); }
  50.00% { transform: translateY(0) rotate(4deg); animation-timing-function: ease-in-out; }
  61.67% { transform: translateY(0) rotate(-3deg); animation-timing-function: ease-in-out; }
  73.33% { transform: translateY(0) rotate(1.5deg); animation-timing-function: ease-in-out; }
  83.33% { transform: translateY(0) rotate(0deg); }
  88.33% { opacity: 1; transform: translateY(0) rotate(0deg); }
  96.67%, 100% { opacity: 0; transform: translateY(0) rotate(0deg); }
}
@keyframes cc-int-chair {
  0%, 46.67% { transform: translateY(-30px); opacity: 0; animation-timing-function: cubic-bezier(0.25, 0, 0.2, 1); }
  70.00% { transform: translateY(0); opacity: 1; }
  88.33% { opacity: 1; transform: translateY(0); }
  96.67%, 100% { opacity: 0; transform: translateY(0); }
}

/* --- 3 · Aexys (architect): PRECISE -------------------------------------------
   Thin golden-ratio lines draw across (0–1.9 s), then a facade forms line by
   line (2–4 s, one line every 0.2 s). */
.cc--architect { --cc-paper: #ffffff; box-shadow: inset 0 0 0 1px #e4e2dd; }
.cc--architect .cc-golden > * { fill: none; stroke: #9b9b9b; stroke-width: 1.2; stroke-dasharray: 1; }
.cc--architect .cc-golden .cc-arc { stroke: #2446c9; stroke-width: 2; }
.cc--architect .cc-golden rect { animation-name: cc-arc-rect; }
.cc--architect .cc-golden line { animation-name: cc-arc-line; }
.cc--architect .cc-golden path { animation-name: cc-arc-path; }
.cc--architect .cc-facade line { stroke: #1d1d1f; stroke-width: 1.6; transform-box: fill-box; transform-origin: 0 50%; }
.cc--architect .cc-facade .cc-edge { transform-origin: 50% 0; }
@keyframes cc-arc-rect {
  0%, 0.00% { stroke-dashoffset: 1; animation-timing-function: linear; }
  15.00% { stroke-dashoffset: 0; }
  88.33% { opacity: 1; stroke-dashoffset: 0; }
  96.67%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes cc-arc-line {
  0%, 10.00% { stroke-dashoffset: 1; animation-timing-function: linear; }
  20.00% { stroke-dashoffset: 0; }
  88.33% { opacity: 1; stroke-dashoffset: 0; }
  96.67%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes cc-arc-path {
  0%, 16.67% { stroke-dashoffset: 1; animation-timing-function: linear; }
  31.67% { stroke-dashoffset: 0; }
  88.33% { opacity: 1; stroke-dashoffset: 0; }
  96.67%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
.cc--architect .cc-facade .cc-fl0 { animation-name: cc-fac-0; }
@keyframes cc-fac-0 {
  0%, 33.33% { transform: scaleX(0); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  38.33% { transform: scaleX(1); }
  88.33% { opacity: 1; transform: scaleX(1); }
  96.67%, 100% { opacity: 0; transform: scaleX(1); }
}
.cc--architect .cc-facade .cc-fl1 { animation-name: cc-fac-1; }
@keyframes cc-fac-1 {
  0%, 36.67% { transform: scaleX(0); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  41.67% { transform: scaleX(1); }
  88.33% { opacity: 1; transform: scaleX(1); }
  96.67%, 100% { opacity: 0; transform: scaleX(1); }
}
.cc--architect .cc-facade .cc-fl2 { animation-name: cc-fac-2; }
@keyframes cc-fac-2 {
  0%, 40.00% { transform: scaleX(0); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  45.00% { transform: scaleX(1); }
  88.33% { opacity: 1; transform: scaleX(1); }
  96.67%, 100% { opacity: 0; transform: scaleX(1); }
}
.cc--architect .cc-facade .cc-fl3 { animation-name: cc-fac-3; }
@keyframes cc-fac-3 {
  0%, 43.33% { transform: scaleX(0); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  48.33% { transform: scaleX(1); }
  88.33% { opacity: 1; transform: scaleX(1); }
  96.67%, 100% { opacity: 0; transform: scaleX(1); }
}
.cc--architect .cc-facade .cc-fl4 { animation-name: cc-fac-4; }
@keyframes cc-fac-4 {
  0%, 46.67% { transform: scaleX(0); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  51.67% { transform: scaleX(1); }
  88.33% { opacity: 1; transform: scaleX(1); }
  96.67%, 100% { opacity: 0; transform: scaleX(1); }
}
.cc--architect .cc-facade .cc-fl5 { animation-name: cc-fac-5; }
@keyframes cc-fac-5 {
  0%, 50.00% { transform: scaleX(0); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  55.00% { transform: scaleX(1); }
  88.33% { opacity: 1; transform: scaleX(1); }
  96.67%, 100% { opacity: 0; transform: scaleX(1); }
}
.cc--architect .cc-facade .cc-fl6 { animation-name: cc-fac-6; }
@keyframes cc-fac-6 {
  0%, 53.33% { transform: scaleX(0); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  58.33% { transform: scaleX(1); }
  88.33% { opacity: 1; transform: scaleX(1); }
  96.67%, 100% { opacity: 0; transform: scaleX(1); }
}
.cc--architect .cc-facade .cc-fl7 { animation-name: cc-fac-7; }
@keyframes cc-fac-7 {
  0%, 56.67% { transform: scaleX(0); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  61.67% { transform: scaleX(1); }
  88.33% { opacity: 1; transform: scaleX(1); }
  96.67%, 100% { opacity: 0; transform: scaleX(1); }
}
.cc--architect .cc-facade .cc-fl8 { animation-name: cc-fac-8; }
@keyframes cc-fac-8 {
  0%, 60.00% { transform: scaleY(0); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  65.00% { transform: scaleY(1); }
  88.33% { opacity: 1; transform: scaleY(1); }
  96.67%, 100% { opacity: 0; transform: scaleY(1); }
}
.cc--architect .cc-facade .cc-fl9 { animation-name: cc-fac-9; }
@keyframes cc-fac-9 {
  0%, 63.33% { transform: scaleY(0); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  68.33% { transform: scaleY(1); }
  88.33% { opacity: 1; transform: scaleY(1); }
  96.67%, 100% { opacity: 0; transform: scaleY(1); }
}

/* --- 4 · Buildaly (builder): STRONG and bouncy --------------------------------
   Blocks drop and stack with a small bounce (0.2, 0.8 and 1.4 s), then a beam
   slides across the top (2.4–3.2 s). */
.cc--builder { --cc-paper: #ecebe7; }
.cc--builder .cc-block { fill: #1d1d1f; transform-box: fill-box; transform-origin: 50% 100%; }
.cc--builder .cc-beam { fill: #ff6b35; }
.cc--builder .cc-block1 { animation-name: cc-bld-1; }
.cc--builder .cc-block2 { animation-name: cc-bld-2; }
.cc--builder .cc-block3 { animation-name: cc-bld-3; }
.cc--builder .cc-beam { animation-name: cc-bld-beam; }
@keyframes cc-bld-1 {
  0%, 3.33% { transform: translateY(-440px); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  10.00% { transform: translateY(0) scale(1.06, 0.86); animation-timing-function: ease-out; }
  12.50% { transform: translateY(-14px) scale(0.98, 1.03); animation-timing-function: ease-in; }
  15.00% { transform: translateY(0) scale(1, 1); }
  88.33% { opacity: 1; transform: translateY(0) scale(1, 1); }
  96.67%, 100% { opacity: 0; transform: translateY(0) scale(1, 1); }
}
@keyframes cc-bld-2 {
  0%, 13.33% { transform: translateY(-440px); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  20.00% { transform: translateY(0) scale(1.06, 0.86); animation-timing-function: ease-out; }
  22.50% { transform: translateY(-14px) scale(0.98, 1.03); animation-timing-function: ease-in; }
  25.00% { transform: translateY(0) scale(1, 1); }
  88.33% { opacity: 1; transform: translateY(0) scale(1, 1); }
  96.67%, 100% { opacity: 0; transform: translateY(0) scale(1, 1); }
}
@keyframes cc-bld-3 {
  0%, 23.33% { transform: translateY(-440px); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  30.00% { transform: translateY(0) scale(1.06, 0.86); animation-timing-function: ease-out; }
  32.50% { transform: translateY(-14px) scale(0.98, 1.03); animation-timing-function: ease-in; }
  35.00% { transform: translateY(0) scale(1, 1); }
  88.33% { opacity: 1; transform: translateY(0) scale(1, 1); }
  96.67%, 100% { opacity: 0; transform: translateY(0) scale(1, 1); }
}
@keyframes cc-bld-beam {
  0%, 40.00% { transform: translateX(-340px); animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1); }
  49.17% { transform: translateX(12px); animation-timing-function: ease-in-out; }
  53.33% { transform: translateX(0); }
  88.33% { opacity: 1; transform: translateX(0); }
  96.67%, 100% { opacity: 0; transform: translateX(0); }
}


/* --- 5 · Loudname (domain marketplace): LENTO, elegant -----------------------
   A thin address-bar line draws slowly (0–2.8 s), the domain's dot lands on it
   (3–3.8 s), a square seal stamps down quietly (3.9–4.5 s). */
.cc--auction { --cc-paper: #f6f2ea; }
.cc--auction .cc-bar-line { fill: none; stroke: #1d1d1f; stroke-width: 2; stroke-dasharray: 1; animation-name: cc-auc-line; }
.cc--auction .cc-domain-dot { fill: #ffc20e; animation-name: cc-auc-dot; }
.cc--auction .cc-seal { fill: #1d1d1f; transform-box: fill-box; transform-origin: center; animation-name: cc-auc-seal; }
@keyframes cc-auc-line {
  0% { stroke-dashoffset: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  46.67% { stroke-dashoffset: 0; }
  88.33% { opacity: 1; stroke-dashoffset: 0; }
  96.67%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes cc-auc-dot {
  0%, 50.00% { transform: translateY(-70px); opacity: 0; animation-timing-function: cubic-bezier(0.2, 0.6, 0.3, 1); }
  63.33% { transform: translateY(0); opacity: 1; }
  88.33% { opacity: 1; transform: translateY(0); }
  96.67%, 100% { opacity: 0; transform: translateY(0); }
}
@keyframes cc-auc-seal {
  0%, 65.00% { transform: scale(1.35) rotate(-4deg); opacity: 0; animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1); }
  75.00% { transform: scale(1) rotate(0deg); opacity: 1; }
  88.33% { opacity: 1; transform: scale(1); }
  96.67%, 100% { opacity: 0; transform: scale(1); }
}

/* --- 6 · DotReply (AI outreach): PRESTO, staccato -----------------------------
   Two volleys of dots fire out in three lanes, left to right (0.1–2.4 s), then
   one red dot comes back and lands in the box (3.0–3.8 s): the reply. */
.cc--relay { --cc-paper: #f1f3f6; }
.cc--relay .cc-mail { fill: #1d1d1f; opacity: 0; }
.cc--relay .cc-inbox { fill: none; stroke: #1d1d1f; stroke-width: 3; transform-box: fill-box; transform-origin: center; animation-name: cc-rel-box; }
.cc--relay .cc-reply { fill: #e3241b; transform-box: fill-box; transform-origin: center; animation-name: cc-rel-reply; }
.cc--relay .cc-mail0 { animation-name: cc-rel-0; }
@keyframes cc-rel-0 {
  0%, 1.67% { transform: translateX(0); opacity: 0; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  2.00% { opacity: 1; }
  7.33% { transform: translateX(280px); opacity: 1; }
  7.50%, 21.67% { transform: translateX(0); opacity: 0; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  22.00% { opacity: 1; }
  27.33% { transform: translateX(280px); opacity: 1; }
  27.50%, 100% { transform: translateX(280px); opacity: 0; }
}
.cc--relay .cc-mail1 { animation-name: cc-rel-1; }
@keyframes cc-rel-1 {
  0%, 4.17% { transform: translateX(0); opacity: 0; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  4.50% { opacity: 1; }
  9.83% { transform: translateX(280px); opacity: 1; }
  10.00%, 24.17% { transform: translateX(0); opacity: 0; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  24.50% { opacity: 1; }
  29.83% { transform: translateX(280px); opacity: 1; }
  30.00%, 100% { transform: translateX(280px); opacity: 0; }
}
.cc--relay .cc-mail2 { animation-name: cc-rel-2; }
@keyframes cc-rel-2 {
  0%, 6.67% { transform: translateX(0); opacity: 0; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  7.00% { opacity: 1; }
  12.33% { transform: translateX(280px); opacity: 1; }
  12.50%, 26.67% { transform: translateX(0); opacity: 0; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  27.00% { opacity: 1; }
  32.33% { transform: translateX(280px); opacity: 1; }
  32.50%, 100% { transform: translateX(280px); opacity: 0; }
}
.cc--relay .cc-mail3 { animation-name: cc-rel-3; }
@keyframes cc-rel-3 {
  0%, 9.17% { transform: translateX(0); opacity: 0; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  9.50% { opacity: 1; }
  14.83% { transform: translateX(280px); opacity: 1; }
  15.00%, 29.17% { transform: translateX(0); opacity: 0; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  29.50% { opacity: 1; }
  34.83% { transform: translateX(280px); opacity: 1; }
  35.00%, 100% { transform: translateX(280px); opacity: 0; }
}
.cc--relay .cc-mail4 { animation-name: cc-rel-4; }
@keyframes cc-rel-4 {
  0%, 11.67% { transform: translateX(0); opacity: 0; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  12.00% { opacity: 1; }
  17.33% { transform: translateX(280px); opacity: 1; }
  17.50%, 31.67% { transform: translateX(0); opacity: 0; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  32.00% { opacity: 1; }
  37.33% { transform: translateX(280px); opacity: 1; }
  37.50%, 100% { transform: translateX(280px); opacity: 0; }
}
.cc--relay .cc-mail5 { animation-name: cc-rel-5; }
@keyframes cc-rel-5 {
  0%, 14.17% { transform: translateX(0); opacity: 0; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  14.50% { opacity: 1; }
  19.83% { transform: translateX(280px); opacity: 1; }
  20.00%, 34.17% { transform: translateX(0); opacity: 0; animation-timing-function: cubic-bezier(0.4, 0, 1, 1); }
  34.50% { opacity: 1; }
  39.83% { transform: translateX(280px); opacity: 1; }
  40.00%, 100% { transform: translateX(280px); opacity: 0; }
}
@keyframes cc-rel-box {
  0%, 43.33% { opacity: 0; transform: scale(0.9); }
  48.33% { opacity: 1; transform: scale(1); }
  63.33% { transform: scale(1); }
  65.83% { transform: scale(1.1); }
  69.17% { transform: scale(1); }
  88.33% { opacity: 1; transform: scale(1); }
  96.67%, 100% { opacity: 0; transform: scale(1); }
}
@keyframes cc-rel-reply {
  0%, 49.17% { transform: translate(220px, -150px); opacity: 0; animation-timing-function: cubic-bezier(0.5, 0, 0.8, 0.4); }
  50.00% { opacity: 1; }
  61.67% { transform: translate(0, 0) scale(1); animation-timing-function: ease-out; }
  64.17% { transform: translate(0, -10px) scale(1.15); animation-timing-function: ease-in; }
  66.67% { transform: translate(0, 0) scale(1); opacity: 1; }
  88.33% { opacity: 1; transform: translate(0, 0); }
  96.67%, 100% { opacity: 0; transform: translate(0, 0); }
}

/* --- 7 · Clechy (modern clothing): ALLEGRETTO, playful --------------------------
   A diagonal line slices the rectangle (0.6–1.1 s), the pieces slide and bounce
   out into a T-shirt (1.2–2.4 s), then a dotted stitch line runs across (2.6–3.6 s). */
.cc--cut { --cc-paper: #fff6e0; }
.cc--cut .cc-piece { fill: #bf561c; transform-box: view-box; }
.cc--cut .cc-body { transform-box: fill-box; transform-origin: 50% 0; animation-name: cc-cut-body; }
.cc--cut .cc-left { animation-name: cc-cut-left; }
.cc--cut .cc-right { animation-name: cc-cut-right; }
.cc--cut .cc-slice { stroke: #1d1d1f; stroke-width: 3; stroke-dasharray: 1; animation-name: cc-cut-slice; }
.cc--cut .cc-stitch { stroke: #fff6e0; stroke-width: 3; stroke-dasharray: 6 7; transform-box: fill-box; transform-origin: 0 50%; animation-name: cc-cut-stitch; }
@keyframes cc-cut-slice {
  0%, 10.00% { stroke-dashoffset: 1; opacity: 1; animation-timing-function: cubic-bezier(0.6, 0, 0.3, 1); }
  18.33% { stroke-dashoffset: 0; opacity: 1; }
  26.67%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes cc-cut-left {
  0%, 20.00% { transform: translate(30px, 0) rotate(0deg); animation-timing-function: cubic-bezier(0.3, 0, 0.3, 1); }
  29.17% { transform: translate(-10px, -8px) rotate(-6deg); animation-timing-function: ease-in-out; }
  34.17% { transform: translate(4px, 3px) rotate(2deg); animation-timing-function: ease-in-out; }
  40.00% { transform: translate(0, 0) rotate(0deg); }
  88.33% { opacity: 1; transform: translate(0, 0); }
  96.67%, 100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes cc-cut-right {
  0%, 20.00% { transform: translate(-30px, 0) rotate(0deg); animation-timing-function: cubic-bezier(0.3, 0, 0.3, 1); }
  29.17% { transform: translate(10px, -8px) rotate(6deg); animation-timing-function: ease-in-out; }
  34.17% { transform: translate(-4px, 3px) rotate(-2deg); animation-timing-function: ease-in-out; }
  40.00% { transform: translate(0, 0) rotate(0deg); }
  88.33% { opacity: 1; transform: translate(0, 0); }
  96.67%, 100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes cc-cut-body {
  0%, 20.00% { transform: scale(1, 1); }
  26.67% { transform: scale(1.04, 0.95); }
  32.50% { transform: scale(0.98, 1.02); }
  38.33% { transform: scale(1, 1); }
  88.33% { opacity: 1; transform: scale(1, 1); }
  96.67%, 100% { opacity: 0; transform: scale(1, 1); }
}
@keyframes cc-cut-stitch {
  0%, 43.33% { transform: scaleX(0); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  60.00% { transform: scaleX(1); }
  88.33% { opacity: 1; transform: scaleX(1); }
  96.67%, 100% { opacity: 0; transform: scaleX(1); }
}

/* --- 8 · Blaune (luxury clothing): LARGO, very slow -----------------------------
   One soft curve falls like silk (0–2.7 s), folds once (2.7–3.6 s), settles
   (to 4.2 s), then one accent dot appears (4.1–4.7 s). */
.cc--drape { --cc-paper: #efe9e1; }
.cc--drape .cc-silk { fill: none; stroke: #3b3129; stroke-width: 10; stroke-linecap: round; }
.cc--drape .cc-silk-a { opacity: 0; animation-name: cc-drp-a; }   /* still picture: the folded curve only */
.cc--drape .cc-silk-b { animation-name: cc-drp-b; }
.cc--drape .cc-drape-dot { fill: #bf561c; transform-box: fill-box; transform-origin: center; animation-name: cc-drp-dot; }
@keyframes cc-drp-a {
  0% { transform: translateY(-260px); opacity: 0; animation-timing-function: cubic-bezier(0.2, 0.5, 0.2, 1); }
  6.67% { opacity: 1; }
  45.00% { transform: translateY(0); opacity: 1; }
  60.00%, 100% { transform: translateY(0); opacity: 0; }
}
@keyframes cc-drp-b {
  0%, 45.00% { transform: translateY(0); opacity: 0; animation-timing-function: ease-in-out; }
  60.00% { transform: translateY(8px); opacity: 1; animation-timing-function: ease-in-out; }
  70.00% { transform: translateY(0); opacity: 1; }
  88.33% { opacity: 1; transform: translateY(0); }
  96.67%, 100% { opacity: 0; transform: translateY(0); }
}
@keyframes cc-drp-dot {
  0%, 68.33% { transform: scale(0.3); opacity: 0; animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1); }
  78.33% { transform: scale(1); opacity: 1; }
  88.33% { opacity: 1; transform: scale(1); }
  96.67%, 100% { opacity: 0; transform: scale(1); }
}

/* ==========================================================================
   Service cards: six mini symphonies, 5 s loops (percentages = seconds ÷ 5,
   1 s = 20%). No logo on hover. Everything holds, then fades at 4.3–4.8 s.
   ========================================================================== */
.cc--g-service .cc-art *,
.cc--g-studio .cc-art * {
  animation-duration: 5s;
}

/* --- Brand Strategy: scattered dots align into an arrow (0.3–2.4 s) --------- */
.cc--strategy { --cc-paper: #f4f1ea; }
.cc--strategy .cc-sd { fill: #1d1d1f; }
.cc--strategy .cc-sd-tip { fill: #ffc20e; }
.cc--strategy .cc-sd0 { animation-name: cc-sd0; }
@keyframes cc-sd0 {
  0% { opacity: 0; transform: translate(20px, -130px); }
  5.00%, 6.00% { opacity: 1; transform: translate(20px, -130px); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  28.00% { opacity: 1; transform: translate(0, 0); }
  86.00% { opacity: 1; transform: translate(0, 0); }
  96.00%, 100% { opacity: 0; transform: translate(0, 0); }
}
.cc--strategy .cc-sd1 { animation-name: cc-sd1; }
@keyframes cc-sd1 {
  0% { opacity: 0; transform: translate(60px, 120px); }
  5.00%, 8.40% { opacity: 1; transform: translate(60px, 120px); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  30.40% { opacity: 1; transform: translate(0, 0); }
  86.00% { opacity: 1; transform: translate(0, 0); }
  96.00%, 100% { opacity: 0; transform: translate(0, 0); }
}
.cc--strategy .cc-sd2 { animation-name: cc-sd2; }
@keyframes cc-sd2 {
  0% { opacity: 0; transform: translate(-10px, -70px); }
  5.00%, 10.80% { opacity: 1; transform: translate(-10px, -70px); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  32.80% { opacity: 1; transform: translate(0, 0); }
  86.00% { opacity: 1; transform: translate(0, 0); }
  96.00%, 100% { opacity: 0; transform: translate(0, 0); }
}
.cc--strategy .cc-sd3 { animation-name: cc-sd3; }
@keyframes cc-sd3 {
  0% { opacity: 0; transform: translate(40px, 100px); }
  5.00%, 13.20% { opacity: 1; transform: translate(40px, 100px); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  35.20% { opacity: 1; transform: translate(0, 0); }
  86.00% { opacity: 1; transform: translate(0, 0); }
  96.00%, 100% { opacity: 0; transform: translate(0, 0); }
}
.cc--strategy .cc-sd4 { animation-name: cc-sd4; }
@keyframes cc-sd4 {
  0% { opacity: 0; transform: translate(-130px, -110px); }
  5.00%, 15.60% { opacity: 1; transform: translate(-130px, -110px); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  37.60% { opacity: 1; transform: translate(0, 0); }
  86.00% { opacity: 1; transform: translate(0, 0); }
  96.00%, 100% { opacity: 0; transform: translate(0, 0); }
}
.cc--strategy .cc-sd5 { animation-name: cc-sd5; }
@keyframes cc-sd5 {
  0% { opacity: 0; transform: translate(-70px, 130px); }
  5.00%, 18.00% { opacity: 1; transform: translate(-70px, 130px); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  40.00% { opacity: 1; transform: translate(0, 0); }
  86.00% { opacity: 1; transform: translate(0, 0); }
  96.00%, 100% { opacity: 0; transform: translate(0, 0); }
}
.cc--strategy .cc-sd6 { animation-name: cc-sd6; }
@keyframes cc-sd6 {
  0% { opacity: 0; transform: translate(90px, -20px); }
  5.00%, 20.40% { opacity: 1; transform: translate(90px, -20px); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  42.40% { opacity: 1; transform: translate(0, 0); }
  86.00% { opacity: 1; transform: translate(0, 0); }
  96.00%, 100% { opacity: 0; transform: translate(0, 0); }
}
.cc--strategy .cc-sd7 { animation-name: cc-sd7; }
@keyframes cc-sd7 {
  0% { opacity: 0; transform: translate(-100px, -150px); }
  5.00%, 22.80% { opacity: 1; transform: translate(-100px, -150px); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  44.80% { opacity: 1; transform: translate(0, 0); }
  86.00% { opacity: 1; transform: translate(0, 0); }
  96.00%, 100% { opacity: 0; transform: translate(0, 0); }
}
.cc--strategy .cc-sd8 { animation-name: cc-sd8; }
@keyframes cc-sd8 {
  0% { opacity: 0; transform: translate(80px, 50px); }
  5.00%, 25.20% { opacity: 1; transform: translate(80px, 50px); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  47.20% { opacity: 1; transform: translate(0, 0); }
  86.00% { opacity: 1; transform: translate(0, 0); }
  96.00%, 100% { opacity: 0; transform: translate(0, 0); }
}

/* --- Identity & Design: circle, square and triangle lock into one mark ------
   circle from the left (0.3–1.1 s), square from below (0.8–1.6 s), triangle
   from above (1.3–2.1 s). */
.cc--identity { --cc-paper: #ffffff; }
.cc--identity .cc-id-sq { fill: #1d1d1f; animation-name: cc-id-sq; }
.cc--identity .cc-id-tri { fill: #e3241b; animation-name: cc-id-tri; }
.cc--identity .cc-id-ci { fill: #ffc20e; animation-name: cc-id-ci; }
@keyframes cc-id-ci {
  0%, 6.00% { opacity: 1; transform: translateX(-240px); animation-timing-function: cubic-bezier(0.3, 1.45, 0.5, 1); }
  22.00% { opacity: 1; transform: translate(0, 0); }
  86.00% { opacity: 1; transform: translate(0, 0); }
  96.00%, 100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes cc-id-sq {
  0%, 16.00% { opacity: 1; transform: translateY(240px); animation-timing-function: cubic-bezier(0.3, 1.45, 0.5, 1); }
  32.00% { opacity: 1; transform: translate(0, 0); }
  86.00% { opacity: 1; transform: translate(0, 0); }
  96.00%, 100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes cc-id-tri {
  0%, 26.00% { opacity: 1; transform: translateY(-220px); animation-timing-function: cubic-bezier(0.3, 1.45, 0.5, 1); }
  42.00% { opacity: 1; transform: translate(0, 0); }
  86.00% { opacity: 1; transform: translate(0, 0); }
  96.00%, 100% { opacity: 0; transform: translate(0, 0); }
}

/* --- Visual Content: an aperture opens (0.6–1.8 s) on a yellow dot, holds,
   and closes (2.9–4.0 s). Seamless loop, no fade. */
.cc--visual { --cc-paper: #eef0ee; }
.cc--visual .cc-ap-dot { fill: #ffc20e; }
.cc--visual .cc-ap-blades { clip-path: circle(100px at 150px 200px) view-box; }
.cc--visual .cc-ap-blade { fill: #1d1d1f; stroke: #eef0ee; stroke-width: 2; stroke-linejoin: round; transform-origin: 80px -139px; transform: rotate(-34deg); animation-name: cc-ap; }
.cc--visual .cc-ap-ring { fill: none; stroke: #1d1d1f; stroke-width: 6; }
@keyframes cc-ap {
  0%, 12.00% { transform: rotate(0deg); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  36.00%, 58.00% { transform: rotate(-34deg); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  80.00%, 100% { transform: rotate(0deg); }
}

/* --- Digital: a dot draws a browser frame (0.2–2.0 s), the address bar
   appears, then four tiles pop in (2.2–3.1 s). */
.cc--digital { --cc-paper: #f1f3f6; }
.cc--digital .cc-web-frame { fill: none; stroke: #1d1d1f; stroke-width: 4; stroke-dasharray: 1; animation-name: cc-web-frame; }
.cc--digital .cc-web-bar { stroke: #1d1d1f; stroke-width: 3; animation-name: cc-web-bar; }
.cc--digital .cc-web-pen { fill: #e3241b; opacity: 0; animation-name: cc-web-pen; }
.cc--digital .cc-web-tile { fill: #1d1d1f; transform-box: fill-box; transform-origin: center; }
.cc--digital .cc-web-t1 { fill: #ffc20e; }
.cc--digital .cc-web-t2 { fill: #bf561c; }
@keyframes cc-web-frame {
  0%, 4.00% { opacity: 1; stroke-dashoffset: 1; animation-timing-function: linear; }
  40.00% { opacity: 1; stroke-dashoffset: 0; }
  86.00% { opacity: 1; stroke-dashoffset: 0; }
  96.00%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes cc-web-pen {
  0% { opacity: 0; transform: translate(0, 0); }
  4.00% { opacity: 1; transform: translate(0, 0); animation-timing-function: linear; }
  13.72% { transform: translate(200px, 0); animation-timing-function: linear; }
  22.00% { transform: translate(200px, 170px); animation-timing-function: linear; }
  30.80% { transform: translate(0, 170px); animation-timing-function: linear; }
  40.00% { opacity: 1; transform: translate(0, 0); }
  46.00%, 100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes cc-web-bar {
  0%, 40.00% { opacity: 0; }
  44.00%, 86.00% { opacity: 1; }
  96.00%, 100% { opacity: 0; }
}
.cc--digital .cc-web-t0 { animation-name: cc-web-t0; }
@keyframes cc-web-t0 {
  0%, 44.00% { opacity: 0; transform: scale(0); animation-timing-function: cubic-bezier(0.3, 1.45, 0.5, 1); }
  51.00% { opacity: 1; transform: scale(1); }
  86.00% { opacity: 1; transform: scale(1); }
  96.00%, 100% { opacity: 0; transform: scale(1); }
}
.cc--digital .cc-web-t1 { animation-name: cc-web-t1; }
@keyframes cc-web-t1 {
  0%, 50.00% { opacity: 0; transform: scale(0); animation-timing-function: cubic-bezier(0.3, 1.45, 0.5, 1); }
  57.00% { opacity: 1; transform: scale(1); }
  86.00% { opacity: 1; transform: scale(1); }
  96.00%, 100% { opacity: 0; transform: scale(1); }
}
.cc--digital .cc-web-t2 { animation-name: cc-web-t2; }
@keyframes cc-web-t2 {
  0%, 56.00% { opacity: 0; transform: scale(0); animation-timing-function: cubic-bezier(0.3, 1.45, 0.5, 1); }
  63.00% { opacity: 1; transform: scale(1); }
  86.00% { opacity: 1; transform: scale(1); }
  96.00%, 100% { opacity: 0; transform: scale(1); }
}
.cc--digital .cc-web-t3 { animation-name: cc-web-t3; }
@keyframes cc-web-t3 {
  0%, 62.00% { opacity: 0; transform: scale(0); animation-timing-function: cubic-bezier(0.3, 1.45, 0.5, 1); }
  69.00% { opacity: 1; transform: scale(1); }
  86.00% { opacity: 1; transform: scale(1); }
  96.00%, 100% { opacity: 0; transform: scale(1); }
}

/* --- Thought Leadership & PR: five text bars drop and stack (0.2–1.7 s),
   then a big quote mark lands on top (2.0–2.6 s). */
.cc--thought { --cc-paper: #fff6e0; }
.cc--thought .cc-tl-bar { fill: #1d1d1f; }
.cc--thought .cc-tl-quote { fill: #bf561c; font-family: var(--font-display); font-weight: 700; font-size: 220px; transform-box: fill-box; transform-origin: center; animation-name: cc-tl-quote; }
@keyframes cc-tl-quote {
  0%, 40.00% { opacity: 0; transform: translateY(-160px) scale(1.4); animation-timing-function: cubic-bezier(0.3, 1.45, 0.5, 1); }
  52.00% { opacity: 1; transform: translateY(0) scale(1); }
  86.00% { opacity: 1; transform: translateY(0) scale(1); }
  96.00%, 100% { opacity: 0; transform: translateY(0) scale(1); }
}
.cc--thought .cc-tl-b0 { animation-name: cc-tl-b0; }
@keyframes cc-tl-b0 {
  0%, 4.00% { opacity: 0; transform: translateY(-240px); animation-timing-function: cubic-bezier(0.3, 1.45, 0.5, 1); }
  12.00% { opacity: 1; transform: translateY(0); }
  86.00% { opacity: 1; transform: translateY(0); }
  96.00%, 100% { opacity: 0; transform: translateY(0); }
}
.cc--thought .cc-tl-b1 { animation-name: cc-tl-b1; }
@keyframes cc-tl-b1 {
  0%, 10.00% { opacity: 0; transform: translateY(-216px); animation-timing-function: cubic-bezier(0.3, 1.45, 0.5, 1); }
  18.00% { opacity: 1; transform: translateY(0); }
  86.00% { opacity: 1; transform: translateY(0); }
  96.00%, 100% { opacity: 0; transform: translateY(0); }
}
.cc--thought .cc-tl-b2 { animation-name: cc-tl-b2; }
@keyframes cc-tl-b2 {
  0%, 16.00% { opacity: 0; transform: translateY(-192px); animation-timing-function: cubic-bezier(0.3, 1.45, 0.5, 1); }
  24.00% { opacity: 1; transform: translateY(0); }
  86.00% { opacity: 1; transform: translateY(0); }
  96.00%, 100% { opacity: 0; transform: translateY(0); }
}
.cc--thought .cc-tl-b3 { animation-name: cc-tl-b3; }
@keyframes cc-tl-b3 {
  0%, 22.00% { opacity: 0; transform: translateY(-168px); animation-timing-function: cubic-bezier(0.3, 1.45, 0.5, 1); }
  30.00% { opacity: 1; transform: translateY(0); }
  86.00% { opacity: 1; transform: translateY(0); }
  96.00%, 100% { opacity: 0; transform: translateY(0); }
}
.cc--thought .cc-tl-b4 { animation-name: cc-tl-b4; }
@keyframes cc-tl-b4 {
  0%, 28.00% { opacity: 0; transform: translateY(-144px); animation-timing-function: cubic-bezier(0.3, 1.45, 0.5, 1); }
  36.00% { opacity: 1; transform: translateY(0); }
  86.00% { opacity: 1; transform: translateY(0); }
  96.00%, 100% { opacity: 0; transform: translateY(0); }
}

/* --- Bids & Pitches: three pages stack (0.2–1.15 s), four bars rise
   (1.4–2.5 s), and the winning bar turns yellow (3.0–3.3 s). */
.cc--bids { --cc-paper: #f6f2ea; }
.cc--bids .cc-bd-page { fill: #ffffff; stroke: #1d1d1f; stroke-width: 3; }
.cc--bids .cc-bd-bar { fill: #1d1d1f; transform-box: fill-box; transform-origin: 50% 100%; }
.cc--bids .cc-bd-b2 { fill: #ffc20e; }
.cc--bids .cc-bd-base { stroke: #1d1d1f; stroke-width: 3; }
.cc--bids .cc-bd-p0 { animation-name: cc-bd-p0; }
@keyframes cc-bd-p0 {
  0%, 4.00% { opacity: 0; transform: translateY(-200px); animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
  11.00% { opacity: 1; transform: translateY(0); }
  86.00% { opacity: 1; transform: translateY(0); }
  96.00%, 100% { opacity: 0; transform: translateY(0); }
}
.cc--bids .cc-bd-p1 { animation-name: cc-bd-p1; }
@keyframes cc-bd-p1 {
  0%, 10.00% { opacity: 0; transform: translateY(-200px); animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
  17.00% { opacity: 1; transform: translateY(0); }
  86.00% { opacity: 1; transform: translateY(0); }
  96.00%, 100% { opacity: 0; transform: translateY(0); }
}
.cc--bids .cc-bd-p2 { animation-name: cc-bd-p2; }
@keyframes cc-bd-p2 {
  0%, 16.00% { opacity: 0; transform: translateY(-200px); animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); }
  23.00% { opacity: 1; transform: translateY(0); }
  86.00% { opacity: 1; transform: translateY(0); }
  96.00%, 100% { opacity: 0; transform: translateY(0); }
}
.cc--bids .cc-bd-b0 { animation-name: cc-bd-b0; }
@keyframes cc-bd-b0 {
  0%, 28.00% { opacity: 1; transform: scaleY(0); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  38.00% { opacity: 1; transform: scaleY(1); }
  86.00% { opacity: 1; transform: scaleY(1); }
  96.00%, 100% { opacity: 0; transform: scaleY(1); }
}
.cc--bids .cc-bd-b1 { animation-name: cc-bd-b1; }
@keyframes cc-bd-b1 {
  0%, 32.00% { opacity: 1; transform: scaleY(0); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  42.00% { opacity: 1; transform: scaleY(1); }
  86.00% { opacity: 1; transform: scaleY(1); }
  96.00%, 100% { opacity: 0; transform: scaleY(1); }
}
.cc--bids .cc-bd-b2 { animation-name: cc-bd-b2; }
@keyframes cc-bd-b2 {
  0%, 36.00% { opacity: 1; fill: #1d1d1f; transform: scaleY(0); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  46.00% { opacity: 1; fill: #1d1d1f; transform: scaleY(1); }
  60.00% { fill: #1d1d1f; transform: scaleY(1); }
  66.00% { fill: #ffc20e; transform: scaleY(1); }
  86.00% { opacity: 1; transform: scaleY(1); }
  96.00%, 100% { opacity: 0; transform: scaleY(1); }
}
.cc--bids .cc-bd-b3 { animation-name: cc-bd-b3; }
@keyframes cc-bd-b3 {
  0%, 40.00% { opacity: 1; transform: scaleY(0); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  50.00% { opacity: 1; transform: scaleY(1); }
  86.00% { opacity: 1; transform: scaleY(1); }
  96.00%, 100% { opacity: 0; transform: scaleY(1); }
}

/* ==========================================================================
   Studio cards: 5 s loops (1 s = 20%), no logo on hover.
   ========================================================================== */

/* --- Drone Days: a dot rises (0.3–3.3 s) while the grid below shrinks ------ */
.cc--drone { --cc-paper: #eef3f6; }
.cc--drone .cc-dr-grid { stroke: #1d1d1f; stroke-width: 2; transform-box: fill-box; transform-origin: 50% 50%; transform: scale(0.35); animation-name: cc-dr-grid; }
.cc--drone .cc-dr-dot { fill: #ffc20e; transform: translateY(-170px); animation-name: cc-dr-dot; }
@keyframes cc-dr-grid {
  0%, 6.00% { opacity: 1; transform: scale(1); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  66.00% { opacity: 1; transform: scale(0.35); }
  86.00% { opacity: 1; transform: scale(0.35); }
  96.00%, 100% { opacity: 0; transform: scale(0.35); }
}
@keyframes cc-dr-dot {
  0% { opacity: 0; transform: translateY(0); }
  6.00% { opacity: 1; transform: translateY(0); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  66.00% { opacity: 1; transform: translateY(-170px); }
  86.00% { opacity: 1; transform: translateY(-170px); }
  96.00%, 100% { opacity: 0; transform: translateY(-170px); }
}

/* --- Colour Lab: three circles slide together (0.3–1.8 s) and mix where they
   overlap; their colours then pass round gently (2.2–3.2 s, one change a second
   at most). */
.cc--colour { --cc-paper: #ffffff; }
.cc--colour .cc-co { mix-blend-mode: multiply; }
.cc--colour .cc-co0 { fill: #bf561c; animation-name: cc-co0; }
.cc--colour .cc-co1 { fill: #ffc20e; animation-name: cc-co1; }
.cc--colour .cc-co2 { fill: #e3241b; animation-name: cc-co2; }
@keyframes cc-co0 {
  0% { opacity: 0; fill: #ffc20e; transform: translate(0, -90px); }
  6.00% { opacity: 1; fill: #ffc20e; transform: translate(0, -90px); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  36.00%, 44.00% { opacity: 1; fill: #ffc20e; transform: translate(0, 0); }
  64.00% { opacity: 1; fill: #bf561c; transform: translate(0, 0); }
  86.00% { opacity: 1; fill: #bf561c; transform: translate(0, 0); }
  96.00%, 100% { opacity: 0; fill: #bf561c; transform: translate(0, 0); }
}
@keyframes cc-co1 {
  0% { opacity: 0; fill: #e3241b; transform: translate(-80px, 50px); }
  6.00% { opacity: 1; fill: #e3241b; transform: translate(-80px, 50px); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  36.00%, 44.00% { opacity: 1; fill: #e3241b; transform: translate(0, 0); }
  64.00% { opacity: 1; fill: #ffc20e; transform: translate(0, 0); }
  86.00% { opacity: 1; fill: #ffc20e; transform: translate(0, 0); }
  96.00%, 100% { opacity: 0; fill: #ffc20e; transform: translate(0, 0); }
}
@keyframes cc-co2 {
  0% { opacity: 0; fill: #bf561c; transform: translate(80px, 50px); }
  6.00% { opacity: 1; fill: #bf561c; transform: translate(80px, 50px); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  36.00%, 44.00% { opacity: 1; fill: #bf561c; transform: translate(0, 0); }
  64.00% { opacity: 1; fill: #e3241b; transform: translate(0, 0); }
  86.00% { opacity: 1; fill: #e3241b; transform: translate(0, 0); }
  96.00%, 100% { opacity: 0; fill: #e3241b; transform: translate(0, 0); }
}

/* --- Night Shoot: the card dims to black (0.2–1.2 s), tiny dots twinkle
   softly, one yellow light sweeps across (1.4–3.8 s), then day returns. */
.cc--night { --cc-paper: #f4f2ee; }
.cc--night .cc-nt-dark { fill: #0d0d0d; opacity: 0.94; animation-name: cc-nt-dark; }
.cc--night .cc-nt-star { fill: #ffffff; opacity: 0.8; }
.cc--night .cc-nt-beam { fill: #ffc20e; opacity: 0.8; filter: blur(14px); transform: rotate(18deg); transform-box: fill-box; transform-origin: center; animation-name: cc-nt-beam; }
@keyframes cc-nt-dark {
  0%, 4.00% { opacity: 0; animation-timing-function: ease-in-out; }
  24.00%, 86.00% { opacity: 0.94; animation-timing-function: ease-in-out; }
  96.00%, 100% { opacity: 0; }
}
@keyframes cc-nt-beam {
  0%, 28.00% { opacity: 0; transform: translateX(-260px) rotate(18deg); animation-timing-function: ease-in-out; }
  36.00% { opacity: 0.8; }
  68.00% { opacity: 0.8; }
  76.00%, 100% { opacity: 0; transform: translateX(260px) rotate(18deg); }
}
.cc--night .cc-nt-s0 { animation-name: cc-nt-s0; }
@keyframes cc-nt-s0 {
  0%, 24.00% { opacity: 0; animation-timing-function: ease-in-out; }
  38.00% { opacity: 0.9; animation-timing-function: ease-in-out; }
  54.00% { opacity: 0.25; animation-timing-function: ease-in-out; }
  70.00% { opacity: 0.9; animation-timing-function: ease-in-out; }
  96.00%, 100% { opacity: 0; }
}
.cc--night .cc-nt-s1 { animation-name: cc-nt-s1; }
@keyframes cc-nt-s1 {
  0%, 31.00% { opacity: 0; animation-timing-function: ease-in-out; }
  45.00% { opacity: 0.9; animation-timing-function: ease-in-out; }
  61.00% { opacity: 0.25; animation-timing-function: ease-in-out; }
  77.00% { opacity: 0.9; animation-timing-function: ease-in-out; }
  96.00%, 100% { opacity: 0; }
}
.cc--night .cc-nt-s2 { animation-name: cc-nt-s2; }
@keyframes cc-nt-s2 {
  0%, 38.00% { opacity: 0; animation-timing-function: ease-in-out; }
  52.00% { opacity: 0.9; animation-timing-function: ease-in-out; }
  68.00% { opacity: 0.25; animation-timing-function: ease-in-out; }
  84.00% { opacity: 0.9; animation-timing-function: ease-in-out; }
  96.00%, 100% { opacity: 0; }
}

/* --- Type Specimen: guide lines draw across (0.2–1.4 s), the letters rise
   onto the baseline (1.3–2.1 s), a yellow full stop lands (2.3–2.8 s). */
.cc--type { --cc-paper: #f6f2ea; }
.cc--type .cc-ty-line { stroke: #1d1d1f; stroke-width: 1.5; stroke-dasharray: 1; }
.cc--type .cc-ty-l1 { stroke: #bf561c; }
.cc--type .cc-ty-glyph { fill: #1d1d1f; font-family: var(--font-display); font-weight: 700; font-size: 150px; letter-spacing: -0.04em; animation-name: cc-ty-glyph; }
.cc--type .cc-ty-dot { fill: #ffc20e; animation-name: cc-ty-dot; }
@keyframes cc-ty-glyph {
  0%, 26.00% { opacity: 0; transform: translateY(40px); animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  42.00% { opacity: 1; transform: translateY(0); }
  86.00% { opacity: 1; transform: translateY(0); }
  96.00%, 100% { opacity: 0; transform: translateY(0); }
}
@keyframes cc-ty-dot {
  0%, 46.00% { opacity: 0; transform: translateY(-130px); animation-timing-function: cubic-bezier(0.3, 1.45, 0.5, 1); }
  56.00% { opacity: 1; transform: translateY(0); }
  86.00% { opacity: 1; transform: translateY(0); }
  96.00%, 100% { opacity: 0; transform: translateY(0); }
}
.cc--type .cc-ty-l0 { animation-name: cc-ty-l0; }
@keyframes cc-ty-l0 {
  0%, 4.00% { opacity: 1; stroke-dashoffset: 1; animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  16.00%, 86.00% { opacity: 1; stroke-dashoffset: 0; }
  96.00%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
.cc--type .cc-ty-l1 { animation-name: cc-ty-l1; }
@keyframes cc-ty-l1 {
  0%, 10.00% { opacity: 1; stroke-dashoffset: 1; animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  22.00%, 86.00% { opacity: 1; stroke-dashoffset: 0; }
  96.00%, 100% { opacity: 0; stroke-dashoffset: 0; }
}
.cc--type .cc-ty-l2 { animation-name: cc-ty-l2; }
@keyframes cc-ty-l2 {
  0%, 16.00% { opacity: 1; stroke-dashoffset: 1; animation-timing-function: cubic-bezier(0.6, 0, 0.2, 1); }
  28.00%, 86.00% { opacity: 1; stroke-dashoffset: 0; }
  96.00%, 100% { opacity: 0; stroke-dashoffset: 0; }
}

/* --- Reduce motion: still shapes, no colour change ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  .cc-art * {
    animation: none !important;
  }
}

/* 08_sections.css */
/* ==========================================================================
   Homepage sections — the video, Work, Services and Studio sections, the
   footer, and a few site-wide rules. Behaviour: src/js/sections.js.
   Every animation here plays only while its section is on screen
   (sections.js adds .is-on) and stops for "reduce motion".
   ========================================================================== */

/* --- Placeholder labels ("Main photo · portrait 3:4 · 1200×1600") ----------
   Visitors never see them; the admin preview shows them (preview.js adds
   .is-admin-preview to the page it previews). */
html:not(.is-admin-preview) .ph__label {
  display: none !important;
}

/* --- Menu wheel: half size, grows to full size on hover ---------------------- */
.menu-toggle {
  width: 24px;
  height: 24px;
  transition: width 250ms ease, height 250ms ease, top 250ms ease, left 250ms ease;
}
.menu-toggle:hover,
.menu-toggle:focus-visible {
  width: 48px;
  height: 48px;
}
/* keep the reel's centre where it was, so it grows out from its middle */
.menu-toggle {
  top: calc(var(--menu-inset) + 12px);
  left: calc(var(--menu-inset) + 12px);
}
.menu-toggle:hover,
.menu-toggle:focus-visible {
  top: var(--menu-inset);
  left: var(--menu-inset);
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle { transition: none; }
}

/* --- Video section: "The Ride" (4.4 s), then the video --------------------
   Thin black ink lines on white; the yellow dot is the only colour.
   0–1 s      snowfall (the dots are drawn by src/js/sections.js)
   1–2 s      the snow settles into the hillside; the fort wall draws on the ridge
   2–3.2 s    the road winds away to the right; handlebars, mirrors and the
              speedometer draw up from the bottom; the needle sweeps to the yellow dot
   3.2–4.4 s  the poster / video fades in underneath and the lines melt away
   Once started it always plays to the end (it never pauses). */
.vsec {
  margin: 0;
}
.vs-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ffffff;
}
.vs-real,
.vs-poster,
.vs-poster > picture,
.vs-poster > .ph,
.vs-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vs-video {
  object-fit: cover;
}
.vs-real { opacity: 0; }
.vs-ride {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.vs-line { fill: none; stroke: #1d1d1f; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.vs-mount { stroke-width: 1.6; }
.vs-ticks { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; }
.vs-needle .vs-line { stroke-dasharray: none; stroke-dashoffset: 0; stroke-width: 3; }
.vs-needle { opacity: 0; transform: rotate(-200deg); }
.vs-needle-dot { fill: var(--brand-yellow, #ffc20e); }
.vs-hub { fill: #1d1d1f; opacity: 0; }
.vs-snow circle { fill: #1d1d1f; }
.vs-mirror-word { fill: #1d1d1f; font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: -0.01em; text-anchor: middle; opacity: 0; }
.vs-bike { transform: translateY(260px); }

.vsec.is-playing .vs-real { animation: vs-real 4.4s linear both; }
.vsec.is-playing .vs-ride { animation: vs-melt 4.4s linear both; }
.vsec.is-playing .vs-mount { animation: vs-draw-mount 4.4s linear both; }
.vsec.is-playing .vs-hill { animation: vs-draw-hill 4.4s linear both; }
.vsec.is-playing .vs-fort { animation: vs-draw-fort 4.4s linear both; }
.vsec.is-playing .vs-road-l { animation: vs-draw-road-l 4.4s linear both; }
.vsec.is-playing .vs-road-r { animation: vs-draw-road-r 4.4s linear both; }
.vsec.is-playing .vs-bike { animation: vs-bike 4.4s linear both; }
.vsec.is-playing .vs-bars,
.vsec.is-playing .vs-stem,
.vsec.is-playing .vs-mirror,
.vsec.is-playing .vs-speedo { animation: vs-draw-bike 4.4s linear both; }
.vsec.is-playing .vs-ticks,
.vsec.is-playing .vs-hub { animation: vs-ticks 4.4s linear both; }
.vsec.is-playing .vs-needle { animation: vs-needle 4.4s linear both; }
.vsec.is-playing .vs-mirror-word { animation: vs-word 4.4s linear both; }
@keyframes vs-draw-mount {
  0%, 22.73% { stroke-dashoffset: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  43.18%, 100% { stroke-dashoffset: 0; }
}
@keyframes vs-draw-hill {
  0%, 22.73% { stroke-dashoffset: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  40.91%, 100% { stroke-dashoffset: 0; }
}
@keyframes vs-draw-fort {
  0%, 29.55% { stroke-dashoffset: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  47.73%, 100% { stroke-dashoffset: 0; }
}
@keyframes vs-draw-road-l {
  0%, 45.45% { stroke-dashoffset: 1; animation-timing-function: cubic-bezier(0.3, 0, 0.3, 1); }
  63.64%, 100% { stroke-dashoffset: 0; }
}
@keyframes vs-draw-road-r {
  0%, 47.73% { stroke-dashoffset: 1; animation-timing-function: cubic-bezier(0.3, 0, 0.3, 1); }
  65.91%, 100% { stroke-dashoffset: 0; }
}
@keyframes vs-draw-bike {
  0%, 50.00% { stroke-dashoffset: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.25, 1); }
  68.18%, 100% { stroke-dashoffset: 0; }
}
@keyframes vs-bike {
  0%, 50.00% { transform: translateY(260px); animation-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1); }
  65.91%, 100% { transform: translateY(0); }
}
@keyframes vs-ticks {
  0%, 61.36% { opacity: 0; }
  65.91%, 100% { opacity: 1; }
}
@keyframes vs-needle {
  0%, 59.09% { opacity: 0; transform: rotate(-200deg); animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1); }
  61.36% { opacity: 1; transform: rotate(-196deg); animation-timing-function: cubic-bezier(0.3, 0, 0.2, 1); }
  72.73%, 100% { opacity: 1; transform: rotate(-60deg); }
}
@keyframes vs-word {
  0%, 63.64% { opacity: 0; }
  70.45%, 100% { opacity: 1; }
}
@keyframes vs-real {
  0%, 72.73% { opacity: 0; animation-timing-function: ease-in-out; }
  90.91%, 100% { opacity: 1; }
}
@keyframes vs-melt {
  0%, 77.27% { opacity: 1; filter: blur(0); animation-timing-function: ease-in; }
  100% { opacity: 0; filter: blur(6px); }
}
/* After the intro (sections.js adds .is-open) the drawing is gone for good */
.vsec.is-open .vs-ride { display: none; }
.vsec.is-open .vs-real { opacity: 1; animation: none; }

/* Sound on/off */
.vs-sound {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.45em 0.8em;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--c-text);
  font: 400 var(--fs-micro) / 1 var(--font-mono);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  cursor: pointer;
}
.vs-sound__icon {
  width: 0.7em;
  height: 0.7em;
  border-radius: 50%;
  background: var(--brand-charcoal);
}
.vs-sound[aria-pressed="true"] .vs-sound__icon {
  background: var(--brand-yellow);
}
.vs-caption {
  position: static;
  padding: var(--space-3) 0 0;
  color: var(--c-text);
}

/* Reduce motion: the poster only, no drawing */
@media (prefers-reduced-motion: reduce) {
  .vs-ride { display: none; }
  .vs-real { opacity: 1; animation: none !important; }
}

/* --- Work: "The Spotlight" -------------------------------------------------
   Everything is dim; a soft circle of light (sections.js sets --x, --y) shows
   the lit copy: shapes in full colour, the quote bright. */
.wsec { margin: 0; }
.ws-stage {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #151515;
  color: #ffffff;
  --x: 70%;
  --y: 45%;
  --r: clamp(160px, 22vw, 340px);
}
.ws-layer {
  position: absolute;
  inset: 0;
}
.ws-art,
.ws-art > picture,
.ws-art > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ws-art img { width: 100%; height: 100%; object-fit: cover; }
.ws-base .ws-art { opacity: 0.22; filter: grayscale(1); }
.ws-base .ws-copy { color: #6d6d6d; }
.ws-lit {
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, #000 30%, transparent 100%);
  mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0%, #000 30%, transparent 100%);
}
.ws-lit .ws-copy { color: #ffffff; }
/* the light itself: a soft glow on the dark stage */
.ws-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle var(--r) at var(--x) var(--y), rgba(255, 244, 214, 0.1), transparent 70%);
}
.ws-copy {
  position: absolute;
  left: clamp(1.25rem, 4vw, 4rem);
  top: clamp(1.25rem, 4vw, 3.5rem);
  right: 45%;
}
.ws-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 1rem + 11vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.ws-sub {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: var(--track-micro);
}
.ws-quote {
  margin: clamp(1.25rem, 3vw, 2.5rem) 0 0;
  max-width: 21ch;
}
.ws-quote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 0.9rem + 2.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.ws-quote footer,
.ws-quote .ws-credit {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
}
@media (max-width: 699px) {
  .ws-stage { aspect-ratio: 4 / 5; }
  .ws-copy { right: var(--m-right); }
}
/* Reduce motion: a still light in the middle */
@media (prefers-reduced-motion: reduce) {
  .ws-stage { --x: 50%; --y: 50%; }
}

/* --- Services: "The Compass" ----------------------------------------------
   6 s, once, while on screen. Arc lengths: 1.4, 1.15, 0.95, 0.8, 0.7, 0.6 s
   (slow start, quicker finish); a name appears as its arc closes. */
.csec { margin: 0; }
.cs-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ffffff;
  color: var(--ink, #111111);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}
.cs-photo { position: absolute; inset: 0; }
.cs-photo picture, .cs-photo img { width: 100%; height: 100%; object-fit: cover; }
.cs-stage--photo::before { content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.82); z-index: 1; }
.cs-art, .cs-copy { position: relative; z-index: 2; }
.cs-art svg { display: block; width: 100%; height: 100%; }
.cs-copy {
  padding: clamp(1.25rem, 4vw, 3.5rem) clamp(1.25rem, 4vw, 4rem) clamp(1.25rem, 4vw, 3.5rem) 0;
  display: flex;
  flex-direction: column;
}
.cs-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 0.5rem + 8vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.cs-sub { margin-top: 0.6rem; font-family: var(--font-mono); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--track-micro); }
.cs-list { list-style: none; margin: auto 0 0; padding: 0; }
.cs-item {
  display: flex;
  gap: 0.9em;
  align-items: baseline;
  padding: 0.45em 0;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1rem, 0.7rem + 1vw, 1.75rem);
  letter-spacing: -0.02em;
}
.cs-n { font-family: var(--font-mono); font-size: 0.55em; color: #bf561c; letter-spacing: 0.04em; }
.sc-base { stroke: rgba(17, 17, 17, 0.14); stroke-width: 2; }
.sc-arc { fill: none; stroke: #111111; stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 0; }
.sc-num { font-family: var(--font-mono); font-size: 30px; fill: #6d6d6d; text-anchor: middle; }
.sc-arm polyline { fill: none; stroke: #111111; stroke-width: 4; stroke-linejoin: round; }
.sc-hinge { fill: #111111; }
.sc-tip { fill: #bf561c; }
.sc-arm { opacity: 0; transform-origin: 0 0; }
.sc-pivot { fill: #ffc20e; }
@media (max-width: 699px) {
  .cs-stage { grid-template-columns: 1fr; aspect-ratio: auto; }
  .cs-copy { order: -1; padding: 1.25rem 1.25rem 0; }
  .cs-art { aspect-ratio: 1 / 1; }
  .cs-list { margin-top: 1rem; }
}

@keyframes sc-arm0 { 0%, 3.33% { opacity: 0; transform: rotate(0deg); } 3.50% { opacity: 1; transform: rotate(-0.64deg); } 26.67% { opacity: 1; transform: rotate(-90deg); } 26.83%, 100% { opacity: 0; transform: rotate(-90deg); } }
@keyframes sc-arc0 { 0%, 3.33% { stroke-dashoffset: 1; } 26.67%, 100% { stroke-dashoffset: 0; } }
@keyframes sc-show0 { 0%, 26.67% { opacity: 0; transform: translateY(0.3em); } 31.67%, 100% { opacity: 1; transform: none; } }
.csec .sc-arm0 { animation: sc-arm0 6s linear both paused; }
.csec .sc-arc0 { animation: sc-arc0 6s linear both paused; }
.csec .sc-num0, .csec .cs-item0 { animation: sc-show0 6s linear both paused; }
@keyframes sc-arm1 { 0%, 26.67% { opacity: 0; transform: rotate(-90deg); } 26.83% { opacity: 1; transform: rotate(-89.22deg); } 45.83% { opacity: 1; transform: rotate(0deg); } 46.00%, 100% { opacity: 0; transform: rotate(0deg); } }
@keyframes sc-arc1 { 0%, 26.67% { stroke-dashoffset: 1; } 45.83%, 100% { stroke-dashoffset: 0; } }
@keyframes sc-show1 { 0%, 45.83% { opacity: 0; transform: translateY(0.3em); } 50.83%, 100% { opacity: 1; transform: none; } }
.csec .sc-arm1 { animation: sc-arm1 6s linear both paused; }
.csec .sc-arc1 { animation: sc-arc1 6s linear both paused; }
.csec .sc-num1, .csec .cs-item1 { animation: sc-show1 6s linear both paused; }
@keyframes sc-arm2 { 0%, 45.83% { opacity: 0; transform: rotate(0deg); } 46.00% { opacity: 1; transform: rotate(-0.95deg); } 61.67% { opacity: 1; transform: rotate(-90deg); } 61.83%, 100% { opacity: 0; transform: rotate(-90deg); } }
@keyframes sc-arc2 { 0%, 45.83% { stroke-dashoffset: 1; } 61.67%, 100% { stroke-dashoffset: 0; } }
@keyframes sc-show2 { 0%, 61.67% { opacity: 0; transform: translateY(0.3em); } 66.67%, 100% { opacity: 1; transform: none; } }
.csec .sc-arm2 { animation: sc-arm2 6s linear both paused; }
.csec .sc-arc2 { animation: sc-arc2 6s linear both paused; }
.csec .sc-num2, .csec .cs-item2 { animation: sc-show2 6s linear both paused; }
@keyframes sc-arm3 { 0%, 61.67% { opacity: 0; transform: rotate(-90deg); } 61.83% { opacity: 1; transform: rotate(-88.88deg); } 75.00% { opacity: 1; transform: rotate(0deg); } 75.17%, 100% { opacity: 0; transform: rotate(0deg); } }
@keyframes sc-arc3 { 0%, 61.67% { stroke-dashoffset: 1; } 75.00%, 100% { stroke-dashoffset: 0; } }
@keyframes sc-show3 { 0%, 75.00% { opacity: 0; transform: translateY(0.3em); } 80.00%, 100% { opacity: 1; transform: none; } }
.csec .sc-arm3 { animation: sc-arm3 6s linear both paused; }
.csec .sc-arc3 { animation: sc-arc3 6s linear both paused; }
.csec .sc-num3, .csec .cs-item3 { animation: sc-show3 6s linear both paused; }
@keyframes sc-arm4 { 0%, 75.00% { opacity: 0; transform: rotate(0deg); } 75.17% { opacity: 1; transform: rotate(-1.29deg); } 86.67% { opacity: 1; transform: rotate(-90deg); } 86.83%, 100% { opacity: 0; transform: rotate(-90deg); } }
@keyframes sc-arc4 { 0%, 75.00% { stroke-dashoffset: 1; } 86.67%, 100% { stroke-dashoffset: 0; } }
@keyframes sc-show4 { 0%, 86.67% { opacity: 0; transform: translateY(0.3em); } 91.67%, 100% { opacity: 1; transform: none; } }
.csec .sc-arm4 { animation: sc-arm4 6s linear both paused; }
.csec .sc-arc4 { animation: sc-arc4 6s linear both paused; }
.csec .sc-num4, .csec .cs-item4 { animation: sc-show4 6s linear both paused; }
@keyframes sc-arm5 { 0%, 86.67% { opacity: 0; transform: rotate(-90deg); } 86.83% { opacity: 1; transform: rotate(-88.50deg); } 96.67% { opacity: 1; transform: rotate(0deg); } 100% { opacity: 0; transform: rotate(0deg); } }
@keyframes sc-arc5 { 0%, 86.67% { stroke-dashoffset: 1; } 96.67%, 100% { stroke-dashoffset: 0; } }
@keyframes sc-show5 { 0%, 96.67% { opacity: 0; transform: translateY(0.3em); } 100.00%, 100% { opacity: 1; transform: none; } }
.csec .sc-arm5 { animation: sc-arm5 6s linear both paused; }
.csec .sc-arc5 { animation: sc-arc5 6s linear both paused; }
.csec .sc-num5, .csec .cs-item5 { animation: sc-show5 6s linear both paused; }
.csec.is-on .sc-arm, .csec.is-on .sc-arc, .csec.is-on .sc-num, .csec.is-on .cs-item { animation-play-state: running; }
@media (prefers-reduced-motion: reduce) {
  .csec .sc-arm, .csec .sc-arc, .csec .sc-num, .csec .cs-item { animation: none; }
}

/* --- Studio: "The Studio in Space" (particles: src/js/sections.js) --------- */
.ssec { margin: 0; }
.ss-stage {
  position: relative;
  display: block;
  aspect-ratio: 21 / 9;
  min-height: 420px;
  overflow: hidden;
  background: #0d0d0d;
  color: #ffffff;
}
.ss-photo { position: absolute; inset: 0; }
.ss-photo picture, .ss-photo img { width: 100%; height: 100%; object-fit: cover; }
/* The photo stays hidden while the particles play twice, then fades in (1.6 s)
   as the particles fade out; a soft shade at the bottom keeps the title readable. */
.ss-photo { opacity: 0; transition: opacity 1.6s ease; }
.ss-canvas { transition: opacity 1.6s ease; }
.ssec.is-photo .ss-photo { opacity: 1; }
.ssec.is-photo .ss-canvas { opacity: 0; }
.ss-stage--photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(13, 13, 13, 0.55), rgba(13, 13, 13, 0) 55%); opacity: 0; transition: opacity 1.6s ease; }
.ssec.is-photo .ss-stage--photo::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .ss-photo, .ss-canvas, .ss-stage--photo::before { transition: none; }
}
.ss-canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: block; }
.ss-copy {
  position: absolute;
  z-index: 3;
  left: clamp(1.25rem, 4vw, 4rem);
  bottom: clamp(1.25rem, 4vw, 3.5rem);
  max-width: 40%;
  pointer-events: none;
}
.ss-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 1rem + 11vw, 12rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
.ss-sub { margin-top: 0.6rem; font-family: var(--font-mono); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--track-micro); color: #bdbdbd; }
.ss-quote { margin: 1rem 0 0; }
.ss-quote p { font-family: var(--font-display); font-size: clamp(1rem, 0.8rem + 1vw, 1.75rem); line-height: 1.15; }
.ss-quote footer { margin-top: 0.5rem; font-family: var(--font-mono); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: var(--track-micro); color: #bdbdbd; }
@media (max-width: 699px) {
  .ss-stage { aspect-ratio: 4 / 5; min-height: 0; }
  .ss-copy { max-width: none; right: 1.25rem; }
}

/* --- Footer: black, the name huge and centred, one small line ------------- */
.site-footer {
  margin-top: clamp(4rem, 7vw, 7rem);
  padding: clamp(3rem, 7vw, 7rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  background: #0d0d0d;
  color: #ffffff;
}
.page-home .site-footer { margin-top: clamp(4rem, 7vw, 7rem); }
.site-footer__name {
  display: flex;
  justify-content: center;
  align-items: baseline;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(4.5rem, 1rem + 21vw, 22rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-align: center;
  color: #ffffff;
}
.site-footer__dot {
  width: 0.14em;
  height: 0.14em;
  margin-left: 0.04em;
  border-radius: 50%;
  background: var(--brand-yellow, #ffc20e);
}
.site-footer .site-footer__line {
  justify-content: center;
  margin-top: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #9a9a9a;
}
.site-footer .site-footer__line a:hover { color: var(--brand-yellow, #ffc20e); }

/* --- Menu wheel: floats (fixed) over the left margin, never pushes the page;
   the word MENU stands under it, one letter per line. */
.menu-toggle { position: fixed; }
.menu-toggle .menu-toggle__word {
  top: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3em 0.35em;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: center;
}
.menu-toggle__word i { display: block; font-style: normal; }

/* --- "Arqist Original" label on a tile (switched on per item in the admin) -- */
.tile__media { position: relative; }
.tile__badge {
  position: absolute;
  z-index: 3;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.35em 0.6em;
  background: #ffffff;
  color: #1d1d1f;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  line-height: 1;
  pointer-events: none;
}
.tile__badge::before {
  content: '';
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--brand-yellow, #ffc20e);
}

/* --- Menu wheel on phones: a small white circle in the top-left corner ------
   On a phone the side margin is too narrow for the floating wheel and the
   stacked MENU letters, so they drifted over the content while scrolling.
   Here the wheel sits inside a white circle with a thin border, tucked into
   the corner, and the letters are hidden. It stays the same size (no hover
   growth on touch screens) and a tap still opens the menu.
   Computers and tablets (700 px and wider) are not affected. */
@media (max-width: 699px) {
  .menu-toggle,
  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    top: 8px;
    left: 8px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(29, 29, 31, 0.16);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    transition: none;
  }
  .menu-toggle::before {
    inset: 7px;               /* the reel, 26 px, centred in the circle */
  }
  .menu-toggle .menu-toggle__word {
    display: none;
  }
}

/* 09_contact.css */
/* --- Contact page and form (src/templates/pages.js, src/js/contact.js) ----- */
.contact-intro {
  max-width: 34ch;
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 0.9rem + 1.4vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--gap);
  margin-top: clamp(2rem, 5vw, 4rem);
}
.contact-side__label,
.contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--c-muted);
}
.contact-side a { font-family: var(--font-display); font-size: 1.25rem; border-bottom: 2px solid var(--brand-yellow); }
.cf-optional { text-transform: none; letter-spacing: 0; }
.cf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--space-5); }
.cf-field { margin-bottom: var(--space-5); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 1px solid #1d1d1f;
  border-radius: 0;
  background: #ffffff;
  color: #1d1d1f;
  font: inherit;
  font-size: 1rem;
}
.contact-form textarea { resize: vertical; min-height: 9rem; }
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 0;
}
.contact-form [aria-invalid="true"] { border-color: var(--brand-red); }
.cf-error, .cf-status { margin-top: 0.4rem; color: var(--brand-red); font-size: 0.9rem; }
.cf-status { margin: 0 0 var(--space-4); }
/* Shown only when a message could not be saved: the email address instead */
.cf-backup { margin: 0 0 var(--space-4); padding: var(--space-4); border-left: 4px solid var(--brand-yellow); background: #fffbea; }
.cf-backup[hidden] { display: none; }
.cf-backup p + p { margin-top: 0.5rem; }
.cf-backup a { border-bottom: 2px solid var(--brand-yellow); }
.cf-backup__mail { font-weight: 700; }
.cf-send {
  min-height: 52px;
  padding: 0 2rem;
  border: 0;
  background: #1d1d1f;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  cursor: pointer;
}
.cf-send:hover, .cf-send:focus-visible { background: var(--brand-yellow); color: #1d1d1f; }
.cf-send[disabled] { opacity: 0.6; cursor: progress; }
/* The spam trap: out of sight and out of reach for people */
.cf-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-thanks { padding: var(--space-6) 0; outline: none; }
.contact-thanks__big {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1rem + 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.contact-thanks__big::after {
  content: '';
  display: inline-block;
  width: 0.22em;
  height: 0.22em;
  margin-left: 0.08em;
  border-radius: 50%;
  background: var(--brand-yellow);
}
@media (max-width: 699px) {
  .contact-layout, .cf-grid { grid-template-columns: 1fr; }
}

/* 10_case_study.css */
/* --- Case study pages (src/templates/pages.js caseStudyBody) -------------- */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--space-3);
}
.case-original::before {
  content: '';
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  margin-right: 0.4em;
  border-radius: 50%;
  background: var(--brand-yellow);
}
.case-head { max-width: 52rem; }
.case-lead {
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + 1.4vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.case-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.1rem;
  margin-top: var(--space-5);
  font-size: var(--fs-small);
}
.case-services span {
  margin-right: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--c-muted);
  align-self: center;
}
.case-services a { border-bottom: 2px solid var(--brand-yellow); }
.case-services a:hover { background: var(--brand-yellow); }
.case-services i { font-style: normal; color: var(--c-muted); }

.case-sec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: var(--space-3) var(--gap);
  margin-top: clamp(3rem, 7vw, 6.5rem);
  padding-top: var(--space-4);
  border-top: 1px solid var(--c-hairline);
}
.case-sec > :not(.case-sec__title) { grid-column: 2; }
.case-sec > .gallery { grid-column: 1 / -1; margin-top: var(--space-5); }
.case-sec__title {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
}
.case-sec .prose { max-width: 38rem; font-size: 1.125rem; }
.case-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: var(--space-5) var(--gap);
  margin: 0;
}
.case-numbers dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 1.5rem + 5vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.case-numbers dd { margin: var(--space-2) 0 0; max-width: 18ch; color: var(--c-muted); }
.case-quote {
  margin: clamp(3rem, 7vw, 6.5rem) 0 0;
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--c-hairline);
}
.case-quote blockquote { margin: 0; }
.case-quote blockquote p {
  max-width: 24ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 1rem + 3vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.case-quote blockquote p:first-child::before { content: '“'; }
.case-quote blockquote p:last-child::after { content: '”'; }
.case-quote figcaption {
  margin-top: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--c-muted);
}
.case-credits { list-style: none; margin: 0; padding: 0; font-family: var(--font-mono); font-size: var(--fs-small); line-height: 2; }

/* Next project: a big black band at the bottom */
.next-project { margin-top: clamp(4rem, 8vw, 7rem); background: #0d0d0d; }
.next-project a {
  display: block;
  padding: clamp(2rem, 5vw, 4.5rem) var(--m-left);
  color: #ffffff;
}
.next-project__label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: #9a9a9a;
}
.next-project__name {
  display: inline-block;
  margin-top: var(--space-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 1rem + 7vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.next-project__name::after { content: ' →'; color: var(--brand-yellow); }
.next-project a:hover .next-project__name { color: var(--brand-yellow); }

/* Service page: the case studies that used it */
.service-cases__list { list-style: none; margin: 0; padding: 0; }
.service-cases__list li { border-top: 1px solid var(--c-hairline); }
.service-cases__list a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem; padding: 0.9rem 0; font-family: var(--font-display); font-size: 1.35rem; }
.service-cases__list a:hover { color: var(--brand-orange, #bf561c); }
.service-cases__list small { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: var(--track-micro); text-transform: uppercase; color: var(--c-muted); }

@media (max-width: 699px) {
  .case-sec { grid-template-columns: 1fr; }
  .case-sec > :not(.case-sec__title) { grid-column: 1; }
}

/* 11_hero.css */
/* =============================================================================
   11 · Hero styles "Video" and "Image" (Homepage manager → Hero).
   The Symphony (the default) is styled in 06_expressive.css and is unchanged.
   ============================================================================= */
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--brand-charcoal);
}
.hero-media picture,
.hero-media img,
.hero-media .ph,
.hero-media__poster,
.hero-media__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img,
.hero-media__video {
  object-fit: cover;
}
/* The poster stays underneath until the video really plays */
.hero-media__video {
  opacity: 0;
  transition: opacity 600ms ease;
}
.hero-media.is-playing .hero-media__video,
.hero-media:not(:has(.hero-media__poster)) .hero-media__video {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero-media__video { opacity: 1; }
}
.hero-sound {
  right: var(--m-right);
  bottom: clamp(1rem, 2.5vw, 2rem);
}
/* The tagline: real text on the photo or video, in a white card like the Symphony's caption */
.hero-tagline {
  position: absolute;
  left: 50%;
  top: 54%;
  z-index: 2;
  max-width: min(46rem, calc(100% - 2.5rem));
  margin: 0;
  padding: 0.35em 0.6em;
  transform: translate(-50%, -50%);
  background: #ffffff;
  color: var(--c-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.2rem + 2.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-align: center;
}
.home-hero--media .scroll-hint {
  padding: 0.4rem 0.6rem;
  background: #ffffff;
}
.home-hero--media .scroll-hint::after {
  display: none;
}
@media (max-width: 699px) {
  .hero-sound { right: auto; left: var(--m-left); }
}

/* 12_logo_wall.css */
/* =============================================================================
   12 · Client logo wall (src/templates/logo-wall.js), under the first row of
   client cards. Grey at rest, full colour on hover (phones: a slow fade, one
   logo at a time, from src/js/logo-wall.js).
   ============================================================================= */
.logo-wall {
  padding: clamp(1.5rem, 3vw, 2.75rem) 0;
  border-top: 1px solid var(--c-hairline);
  border-bottom: 1px solid var(--c-hairline);
}
.logo-wall__title {
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--c-muted);
}
.logo-wall__list {
  display: grid;
  grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr));
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 3vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.logo-wall__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(2.25rem, 3.2vw, 3.25rem);
}
.logo-wall__item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 400ms ease, opacity 400ms ease;
}
.logo-wall__item:hover img,
.logo-wall__item:focus-visible img,
.logo-wall__item.is-lit img,
.logo-wall.is-still .logo-wall__item img {
  filter: none;
  opacity: 1;
}
@media (max-width: 1023px) {
  .logo-wall__list { grid-template-columns: repeat(var(--cols-t, 4), minmax(0, 1fr)); }
}
/* Phones: two rows (up to four logos each), never tiny */
@media (max-width: 699px) {
  .logo-wall__list {
    grid-template-columns: repeat(var(--cols-m, 3), minmax(4.5rem, 1fr));
    gap: 1.5rem 0.75rem;
  }
  .logo-wall__item { height: 2.5rem; }
  .logo-wall__item img { transition-duration: 1200ms; }
}

/* 13_journal.css */
/* =============================================================================
   13 · Journal (src/templates/journal.js): the article grid, the service
   filter, the article page, the default "symphony" cover and the homepage
   "From the Journal" section.
   ============================================================================= */

/* --- The grid of articles ------------------------------------------------- */
.jgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 3.5vw, 3.5rem) var(--gap);
}
@media (max-width: 1023px) {
  .jgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .jgrid { grid-template-columns: 1fr; }
}
.jcard[hidden] { display: none; }
.jcard__link {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: inherit;
}
.jcard__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--c-placeholder);
}
.jcard__media picture,
.jcard__media img,
.jcard__media .ph,
.jcard__media .jcover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.jcard__media img {
  object-fit: cover;
  transition: transform 600ms ease;
}
.jcard__link:hover .jcard__media img { transform: scale(1.03); }
.jcard__tag,
.jcard__meta,
.article-tags,
.article-meta,
.home-journal__all {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
}
.jcard__tag {
  margin-top: 0.4rem;
  color: var(--c-accent);
}
.jcard__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.625rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.jcard__link:hover .jcard__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; text-decoration-color: var(--brand-yellow); }
.jcard__intro {
  color: var(--c-muted);
  font-size: var(--fs-small);
  line-height: 1.5;
}
.jcard__meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  color: var(--c-muted);
}

/* --- The default cover: a small symphony of brand shapes ----------------- */
.jcover svg {
  display: block;
  width: 100%;
  height: 100%;
}
.jcover__a { transform-box: fill-box; transform-origin: center; animation: jcover-breathe 9s ease-in-out infinite; }
.jcover__b { transform-box: fill-box; animation: jcover-slide 11s ease-in-out infinite; }
.jcover__dot { transform-box: fill-box; transform-origin: center; animation: jcover-breathe 5s ease-in-out infinite; }
@keyframes jcover-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes jcover-slide { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(40px); } }
@media (prefers-reduced-motion: reduce) {
  .jcover__a, .jcover__b, .jcover__dot { animation: none; }
}

/* --- Filter by service ---------------------------------------------------- */
.jfilter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
}
.jfilter[hidden] { display: none; }
.jfilter__btn {
  padding: 0.5em 0.9em;
  border: 1px solid var(--c-text);
  border-radius: 999px;
  background: #ffffff;
  color: var(--c-text);
  font: 400 var(--fs-micro) / 1 var(--font-mono);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  cursor: pointer;
}
.jfilter__btn:hover { background: var(--brand-concrete); }
.jfilter__btn[aria-pressed="true"] {
  background: var(--c-text);
  color: #ffffff;
}
@media (max-width: 699px) {
  /* one scrolling line of filters on phones */
  .jfilter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--m-left) * -1); padding-inline: var(--m-left); scrollbar-width: none; }
  .jfilter::-webkit-scrollbar { display: none; }
  .jfilter__btn { flex: none; }
}

/* --- One article ---------------------------------------------------------- */
.article-head {
  max-width: calc(52rem + var(--m-left) + var(--m-right));
  padding-top: calc(var(--menu-inset) * 2 + var(--menu-btn) + var(--space-5));
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.article-tags a { color: var(--c-accent); }
.article-tags a:hover { text-decoration: underline; }
.article-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.article-intro {
  margin-top: 1.25rem;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--c-muted);
}
.article-meta { margin-top: 1.25rem; }
.article-meta > * + *::before {
  content: "";
  display: inline-block;
  width: 0.35em;
  height: 0.35em;
  margin-right: 1rem;
  border-radius: 50%;
  background: var(--brand-yellow);
  vertical-align: middle;
}
.article-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-placeholder);
}
.article-cover picture,
.article-cover img,
.article-cover .ph,
.article-cover .jcover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.article-cover img { object-fit: cover; }
@media (max-width: 699px) {
  .article-cover { aspect-ratio: 4 / 3; }
}
.article-body {
  max-width: 42rem;
  margin: clamp(2.5rem, 5vw, 4.5rem) auto 0;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.7;
}
.article-body h2,
.article-body h3 {
  text-transform: none;
  letter-spacing: -0.01em;
}
.article-body h2 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); }
.article-body h3 { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem); }
.article-body ul,
.article-body ol { margin-top: 0.85em; }
.article-body li + li { margin-top: 0.35em; }
.article-body * + p,
.article-body * + blockquote,
.article-body * + figure { margin-top: 1em; }
.article-body blockquote {
  margin: 1.8em 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--brand-yellow);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.article-body figure { margin: 2em 0; }
.article-body img {
  display: block;
  width: 100%;
  height: auto;
}
.article-body figcaption {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  color: var(--c-muted);
}
.article-more {
  margin-top: clamp(4rem, 7vw, 6.5rem);
}
.article-more__title,
.home-journal__title {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}
.article-cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}
@media (max-width: 1023px) {
  .article-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .article-cases { grid-template-columns: 1fr; }
}

/* --- Homepage: "From the Journal", just above the footer ----------------- */
.home-journal {
  margin-top: clamp(4rem, 7vw, 7rem);
  margin-bottom: clamp(3rem, 6vw, 6rem);
}
.home-journal__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.home-journal__all {
  color: var(--c-text);
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--brand-yellow);
}

/* 14_founder.css */
/* =============================================================================
   14 · Founder note (src/templates/founder.js): homepage, just above the
   Studio section, and the About page. A round photo, the name with the
   yellow dot, the role, one or two lines and a LinkedIn link.
   ============================================================================= */
.founder {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.founder__photo {
  flex: 0 0 auto;
  width: clamp(5.5rem, 4.5rem + 3vw, 7.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--c-placeholder);
}
.founder__photo picture,
.founder__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.founder__photo .media { width: 100%; height: 100%; aspect-ratio: auto; }
.founder__initial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--brand-charcoal, #2b2b2b);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.6rem + 1.5vw, 3rem);
}
.founder__name {
  display: flex;
  align-items: baseline;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-name);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.founder__dot {
  flex: 0 0 auto;
  width: 0.28em;
  height: 0.28em;
  margin-left: 0.12em;
  border-radius: 50%;
  background: var(--brand-yellow, #ffc20e);
}
.founder__role {
  margin: 0.4rem 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: var(--track-micro);
  text-transform: uppercase;
  color: var(--c-muted);
}
.founder__text {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  font-size: var(--fs-body);
  line-height: 1.55;
}
.founder__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: var(--fs-small);
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--c-highlight);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}
.founder__link:hover { color: var(--c-accent); }
.founder__link:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; }
/* On the About page it sits under the text, left-aligned with it */
.text-page .founder { margin: clamp(1.5rem, 4vw, 3rem) 0 0; padding: clamp(1.5rem, 4vw, 2.5rem) 0; border-top: 1px solid var(--c-hairline); max-width: none; }
@media (max-width: 699px) {
  .founder { align-items: flex-start; }
}

/* 15_menu_blueprint.css */
/* Menu redesign: calmer Manrope items on the left, and "the blueprint
   reveals" in the black half on the right (the lower part on phones).
   The drawing never moves: a soft light (menu.js) moves over it and shows
   a full-strength copy of the same lines. Only transforms change, so it
   stays smooth on budget phones. */

/* --- The items: Manrope, about half the old size, more air ----------------- */
.menu__list a {
  font-family: var(--font-brand);
  font-size: clamp(1.25rem, 0.6rem + 2.75vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  padding: 0.3em 0;
}
.menu__list li + li {
  margin-top: clamp(0.35rem, 0.9vw, 0.9rem);
}
.menu__list a::before {
  top: 50%;
  left: -3.2em;
  transform: translateY(-50%);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  opacity: 0.55;
}
.menu__list a[aria-current="page"] {
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

/* --- The black stage --------------------------------------------------------- */
.menu__stage {
  --bp-light: 320px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  background: #0b0b0b;
  transform: translateX(100%);
  transition: transform var(--t-menu);
  contain: strict;
}
.menu:target .menu__stage,
.menu-open .menu .menu__stage {
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  .menu__stage.is-live {
    cursor: none;
  }
}

.menu__bp {
  position: absolute;
  inset: 6% 6%;
  width: 88%;
  height: 88%;
  overflow: visible;
}
.menu__bp path,
.menu__bp use {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
/* Almost invisible until the light finds it */
.menu__stage > .menu__bp {
  opacity: 0.05;
}

/* --- The light: a soft circle that shows the full-strength lines ----------- */
.menu__light {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--bp-light);
  height: var(--bp-light);
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
  background: radial-gradient(circle closest-side, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03) 60%, transparent);
  -webkit-mask-image: radial-gradient(circle closest-side, #000 45%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 45%, transparent 100%);
  transition: opacity 450ms ease;
  will-change: transform;
  pointer-events: none;
}
.menu__stage.is-lit .menu__light {
  opacity: 1;
}
/* The copy of the drawing inside the light, held still by menu.js */
.menu__lit {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--bp-w, 100%);
  height: var(--bp-h, 100%);
  will-change: transform;
}
.menu__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--brand-yellow);
}

/* --- Phones: the stage is the lower part of the menu ------------------------ */
@media (max-width: 699px) {
  .menu__stage {
    --bp-light: 220px;
    top: auto;
    width: 100%;
    height: 38vh;
    height: 38svh;
    transform: translateY(100%);
  }
  .menu__panel {
    padding-bottom: calc(38vh + var(--space-5));
    padding-bottom: calc(38svh + var(--space-5));
  }
  .menu__bp {
    inset: 8% 4%;
    width: 92%;
    height: 84%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu__stage,
  .menu__light {
    transition: none;
  }
}

/* 16_work_cards.css */
/* ==========================================================================
   Work cards (Work page) — black and white, full colour on hover
   (template: src/templates/work-card.js, behaviour: src/js/work-cards.js).
   Every symphony loops every 6 seconds. Pure SVG + CSS, paused off screen.
   ========================================================================== */

.work-card {
  --ink: #1a1a1a;                 /* shapes, name and number */
  --wc-muted: #6f6d6b;
  --wc-y: var(--ink);
  --wc-r: var(--ink);
  --wc-o: var(--ink);
  --wc-k: var(--ink);
  position: relative;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #e6e4e1;
  transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 300ms ease;
}
.work-card .tile__link {
  display: block;
  color: inherit;
}
.work-card .wc-media,
.work-card a.tile__link:hover .tile__media {
  background: transparent;
  border-radius: 0;
}

/* --- The colour reveal ---------------------------------------------------
   Computer: hover or keyboard focus (Tab). Phone: a tap (work-cards.js adds .is-colour). */
.work-card.is-colour,
.work-card:has(.tile__link:focus-visible) {
  --wc-y: #fdc311;
  --wc-r: #e63329;
  --wc-o: #c4622d;
  transform: translateY(-8px);
  box-shadow: inset 0 0 0 1px #e6e4e1, 0 16px 34px -14px rgba(0, 0, 0, 0.28);
}
@media (hover: hover) and (pointer: fine) {
  .work-card:hover {
    --wc-y: #fdc311;
    --wc-r: #e63329;
    --wc-o: #c4622d;
    transform: translateY(-8px);
    box-shadow: inset 0 0 0 1px #e6e4e1, 0 16px 34px -14px rgba(0, 0, 0, 0.28);
  }
}

/* --- Symphony ------------------------------------------------------------ */
.wc-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.wc-art .f { fill: var(--wc-c); stroke: none; }
.wc-art .l { fill: none; stroke: var(--wc-c); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.wc-art .l.thin { stroke-width: 2; }
.wc-art .k { --wc-c: var(--wc-k); }
.wc-art .y { --wc-c: var(--wc-y); }
.wc-art .r { --wc-c: var(--wc-r); }
.wc-art .o { --wc-c: var(--wc-o); }
.wc-art .f,
.wc-art .l {
  transition: fill 300ms ease, stroke 300ms ease;
}
.wc-art [class*="a-"] {
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
  animation-play-state: paused;
  transform-box: fill-box;
  transform-origin: center;
}
/* Only cards on screen play (work-cards.js adds .is-on) */
.work-card.is-on .wc-art [class*="a-"] {
  animation-play-state: running;
}

/* Draw a line, hold it, fade out, draw again */
.wc-art .a-draw { stroke-dasharray: 1 1; animation-name: wc-draw; animation-timing-function: ease-in-out; }
@keyframes wc-draw {
  0% { stroke-dashoffset: 1; opacity: 1; }
  40% { stroke-dashoffset: 0; }
  85% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
/* Grow from nothing, hold, fade */
.wc-art .a-pop { animation-name: wc-pop; animation-timing-function: cubic-bezier(0.3, 1.4, 0.5, 1); }
@keyframes wc-pop {
  0% { transform: scale(0); opacity: 1; }
  18% { transform: scale(1); }
  85% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
/* Pulse */
.wc-art .a-breathe { animation-name: wc-breathe; animation-timing-function: ease-in-out; }
.wc-art .a-breathe.a-late { animation-delay: -1.5s; }
@keyframes wc-breathe {
  0%, 100% { transform: scale(0.84); }
  50% { transform: scale(1.06); }
}
/* Orbit: the dot turns around the card centre */
.wc-art .a-spin { animation-name: wc-spin; animation-timing-function: linear; transform-box: view-box; transform-origin: 200px 200px; }
@keyframes wc-spin { to { transform: rotate(360deg); } }
/* Diamond: a quarter turn per loop (a diamond looks the same after 90°) */
.wc-art .a-quarter { animation-name: wc-quarter; animation-timing-function: linear; transform-box: view-box; transform-origin: 200px 200px; }
@keyframes wc-quarter { to { transform: rotate(90deg); } }
/* Ripple */
.wc-art .a-ripple { animation-name: wc-ripple; animation-timing-function: ease-out; }
@keyframes wc-ripple {
  0% { transform: scale(0.08); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
/* Cascade */
.wc-art .a-fall { animation-name: wc-fall; animation-timing-function: cubic-bezier(0.5, 0, 0.8, 0.6); }
@keyframes wc-fall {
  0% { transform: translateY(-150px); opacity: 0; }
  15% { opacity: 1; }
  75% { opacity: 1; }
  100% { transform: translateY(150px); opacity: 0; }
}
/* Rise */
.wc-art .a-grow { animation-name: wc-grow; animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1); transform-origin: 50% 100%; }
@keyframes wc-grow {
  0% { transform: scaleY(0); opacity: 1; }
  30% { transform: scaleY(1); }
  85% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
/* Fold: the flap turns over the diagonal, then opens again */
.wc-art .a-fold { animation-name: wc-fold; animation-timing-function: ease-in-out; transform-box: view-box; transform-origin: 200px 200px; }
@keyframes wc-fold {
  0%, 15% { transform: rotate(45deg) scaleY(1) rotate(-45deg); }
  45%, 70% { transform: rotate(45deg) scaleY(-1) rotate(-45deg); }
  100% { transform: rotate(45deg) scaleY(1) rotate(-45deg); }
}
/* Stack */
.wc-art .a-drop { animation-name: wc-drop; animation-timing-function: cubic-bezier(0.3, 1.25, 0.5, 1); }
@keyframes wc-drop {
  0% { transform: translateY(-240px); opacity: 0; }
  8% { opacity: 1; }
  24% { transform: translateY(0); }
  85% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(0); opacity: 0; }
}
/* Dash: dashes move along each line (one full pattern = 24 px) */
.wc-art .a-march { stroke-dasharray: 14 10; animation-name: wc-march; animation-timing-function: linear; }
.wc-art .a-march.a-rev { animation-direction: reverse; }
@keyframes wc-march { to { stroke-dashoffset: -240; } }
/* Wave: one wavelength (160 px) per loop; the dot rides it */
.wc-art .a-wave { animation-name: wc-wave; animation-timing-function: linear; transform-box: view-box; }
@keyframes wc-wave { to { transform: translateX(-160px); } }
.wc-art .a-bob { animation-name: wc-bob; }
@keyframes wc-bob {
  0% { transform: translateY(0); animation-timing-function: ease-out; }
  25% { transform: translateY(-46px); animation-timing-function: ease-in; }
  50% { transform: translateY(0); animation-timing-function: ease-out; }
  75% { transform: translateY(46px); animation-timing-function: ease-in; }
  100% { transform: translateY(0); }
}
/* Scatter: dots appear here and there, then gather into a ring */
.wc-art .a-gather { animation-name: wc-gather; animation-timing-function: cubic-bezier(0.5, 0, 0.2, 1); }
@keyframes wc-gather {
  0% { transform: translate(var(--x), var(--y)) scale(0); opacity: 1; }
  12% { transform: translate(var(--x), var(--y)) scale(1); }
  30% { transform: translate(var(--x), var(--y)) scale(1); }
  58% { transform: translate(0, 0) scale(1); }
  85% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(0, 0) scale(1); opacity: 0; }
}

/* --- Logo: greyscale, full colour on hover ------------------------------- */
.wc-logo {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  width: auto;
  max-width: 55%;
  height: 34px;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1) contrast(1.1);
  transition: filter 300ms ease;
}
.wc-logo--small { height: 24px; }
.wc-logo--large { height: 48px; }
.work-card.is-colour .wc-logo,
.work-card:has(.tile__link:focus-visible) .wc-logo {
  filter: none;
}
@media (hover: hover) and (pointer: fine) {
  .work-card:hover .wc-logo { filter: none; }
}

/* --- Name and number, inside the card ------------------------------------ */
.work-card .wc-caption,
.work-card .wc-caption.is-light,
.work-card .wc-caption.is-dark {
  padding: 0.85em 1rem 1rem;
  color: var(--ink);
}
.work-card .wc-caption::before,
.work-card .wc-caption .tile__sub {
  color: var(--wc-muted);
}

/* Keyboard users see where they are */
.work-card a.tile__link:focus-visible {
  outline: 2px solid #fdc311;
  outline-offset: 3px;
}

/* Reduce motion: still shapes (the finished drawing), colour still changes */
@media (prefers-reduced-motion: reduce) {
  .wc-art [class*="a-"] {
    animation: none !important;
  }
  .work-card,
  .work-card:hover,
  .work-card.is-colour {
    transform: none;
  }
}

/* The yellow underline runs under the name only */
.work-card .tile__name {
  justify-self: start;
}
