/* COET — design pass (2026-11-12). Loaded last; each block overrides an earlier rule on purpose.
   1 hero hierarchy · 2 footer wordmark as an outline · 3 spacing rhythm and a quiet numbers line · 4 the client band joins the dark palette */

/* ── 1. Hero: the globe sits up and to the left (see orb.js); the headline and the paragraph each get calm ground ── */
@media (min-width: 901px) {
  .ws-catch { text-shadow: none; }
  .ws-intro { left: 63%; top: 19%; max-width: 21.5em; font: 400 clamp(17px, 1.3vw, 19px)/1.45 var(--apple); letter-spacing: -.005em; color: #d2d2d2; text-shadow: none; }
}

/* ── 2. Footer: the giant wordmark is solid white, no outline ── */
.foot__mark svg { color: #fff; overflow: visible; }
/* the footer COET can't be selected: a long press or a drag across it never highlights it */
.foot__mark, .foot__mark * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
/* 2026-11-14: no graphic can be selected, long-pressed for a callout or dragged out: the particle stage, the orb,
   the globe, the drawings, every canvas, svg and picture */
canvas, svg, img, picture, video, [data-forms], .ws-orb, .ws-home, .stage, .team__globe, .scene {
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent; }
.foot__mark svg path { fill: #fff; stroke: none; }
/* Light mode: the same ink as the headings, and fully solid (the lift-in fade would otherwise leave it grey) */
/* hover: the wordmark turns to dust and comes straight back (dust.js); while it plays, the canvas stands in for it */
.dust { position: relative; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .dust { cursor: none; } }   /* only the particles show where the pointer is */
.dust__canvas { position: absolute; pointer-events: none; visibility: hidden; }
.dust.dust--on .dust__canvas { visibility: visible; }
.dust.dust--on svg { visibility: hidden; }

/* ── 3. Rhythm: sections breathe a little less; the four numbers become one quiet line ── */
:root { --section: clamp(var(--s8), 8.5vw, var(--s10)); }
.specs { padding-block: clamp(var(--s6), 4vw, var(--s7)); }
.specs__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4) var(--s6); }
.specs__row li, .specs__row li:first-child, .specs__row li:nth-child(3) { display: flex; align-items: baseline; gap: 10px; padding: 0; border: 0; }
.specs__n { font: 500 clamp(22px, 2vw, 28px)/1 var(--apple); letter-spacing: -.02em; }
.specs__l { max-width: none; font: 400 clamp(14px, 1.1vw, 16px)/1.3 var(--apple); letter-spacing: 0; text-transform: none; color: var(--apple-grey, #868686); }
.statement { padding-block: clamp(var(--s8), 8vw, var(--s10)); }
@media (min-width: 901px) { .svc__stage .stage { aspect-ratio: 5 / 4; } }   /* the stage ends where the list ends */
@media (max-width: 900px) { .specs__row { display: grid; grid-template-columns: 1fr 1fr; row-gap: var(--s4); } }

/* ── 4. Client band: dark like the rest, set apart by a hairline and a slightly raised surface ── */
.client, html.has-gsap main > .client { background: #0a0a0a; color: #f5f5f5; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); min-height: 64vh; }
.client__kicker { color: var(--signal); }
.quote__text { font-size: clamp(26px, 2.9vw, 44px); line-height: 1.14; max-width: 22ch; }
.quote__role { color: var(--apple-grey, #868686); }
.client__photo { filter: grayscale(1) contrast(1.05) brightness(.92); }
@media (min-width: 901px) {   /* the portrait becomes an inset card, so the band reads as one dark surface */
  .client { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; padding: clamp(var(--s7), 6vw, var(--s9)) var(--gutter); gap: clamp(var(--s6), 5vw, var(--s9)); }
  .client__photo { height: auto; aspect-ratio: 4 / 5; max-height: 70vh; border-radius: 14px; }
  .client__body { padding: 0; }
}

/* ── 5. UI review pass: a real call to action in the hero, disciplined amber, a little surface depth ── */
.ws-cta { display: flex; align-items: center; gap: 22px; margin-top: 24px; }
/* 2026-11-14: nothing happens on hover (the glow, the rolling label and the magnet pull are gone) */
.ws-cta__main { display: inline-flex; align-items: center; height: 38px; padding: 0 22px; border-radius: 999px; background: #fff; color: #000; font: 500 15px/1 var(--apple); letter-spacing: -.01em; }
.ws-cta__main:active { background: #e8e8e8; }
/* the dock around the button only exists as a box on phones and tablets (mobile-home.css) */
.ws-dock { display: contents; }
.ws-cta a:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
/* split titles are revealed by motion.js; they must not also wait for the plain rise-in */
html.has-gsap .is-split[data-rise] { opacity: 1; transform: none; }
.is-split { padding-bottom: .08em; }                    /* room for descenders inside the line masks */
/* the "accepting projects" flag: an outline chip, not a solid amber block */
.flag { padding: 7px 12px; border-radius: 999px; background: color-mix(in srgb, var(--signal) 8%, transparent); color: var(--signal); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--signal) 55%, transparent); }
.flag::before { background: var(--signal); }
/* cards catch a little light on their top edge */
.plan { box-shadow: inset 0 1px 0 rgb(255 255 255 / .07); }

/* ── 6. No menu page: the bar carries the section links itself ── */
.mnav__links { justify-self: start; display: flex; align-items: center; gap: clamp(12px, 1.4vw, 20px); }
.mnav__links a { display: inline-flex; align-items: center; min-height: 44px; color: #f5f5f5; opacity: .78; font: 500 13px/1 var(--apple); letter-spacing: -.005em; transition: opacity .2s; }
.mnav__links a:hover, .mnav__links a:focus-visible { opacity: 1; }
@media (max-width: 760px) { .mnav__links a:nth-child(n+3) { display: none; } }   /* phones: Work and Services; the rest is one scroll away */

/* ── 7. The COET mark in the bar: plain solid fill, no stroke and no hover change. `currentColor` rather than
   #fff, so the menu's dark-on-light state still works. */
.mnav__logo svg path, .nav__logo svg path { fill: currentColor; stroke: none; }

/* ── 8. The hero's call to action sits at the bottom of the screen ──
   It used to hang off the end of the paragraph, which put the one thing a visitor is meant to press halfway up
   the right-hand side with nothing under it. On its own at the foot of the stage it closes the screen: the
   headline reads, then the eye falls to the button. Aligned with the headline's own left edge rather than the
   paragraph's, because that is the line the composition is built on. */
@media (min-width: 901px) {
  .ws-cta { position: absolute; left: 33.5%; right: var(--gutter); bottom: clamp(28px, 4.5vh, 56px); margin-top: 0; z-index: 2; }
}
@media (max-width: 900px) {
  /* The phone home is a pill column that scrolls behind everything (metalab.css), and the paragraph the button
     used to hang off is hidden there — so it goes to the very bottom edge, inside the band where the column's
     own mask has already faded the pills out. */
  .ws-cta { position: absolute; left: 16px; right: 16px; bottom: 20px; margin-top: 0; z-index: 3; gap: 18px; }
  .ws-cta__main { height: 36px; padding: 0 20px; }
}

/* ── 9. Home is one screen ──
   The stage is the whole home page now: the numbers, the statement, services, pricing, the client, the team and
   the contact form all moved to /services/. So the home page does not scroll at all — the stage fills the
   viewport, and the footer (the only thing left under it) is dropped rather than left hanging below the fold. */
html:has(body.is-home), body.is-home { height: 100%; overflow: hidden; overscroll-behavior: none; }
body.is-home .foot { display: none; }
body.is-home main { height: 100svh; }
body.is-home .ws { height: 100svh; min-height: 0; }

/* ── 10. Case studies run the full width ──
   The 1440px cap made the plates float in the middle of a wide screen while the panels behind them went
   edge to edge. Dropping it lets the screenshots fill the plate they sit on; the gutter still holds the sides,
   and the long text blocks keep their own ch-based measures, so nothing becomes a 200-character line. */
main.cs .cs-wrap { max-width: none; }
/* 2026-11-14: every section and the footer share one width: the gutter alone holds the sides, on every page */
.wrap, .cs-wrap { max-width: none; }

/* ── 11. Medium is the heaviest weight on a case study ──
   § "Flat Apple typography" in metalab.css set every case-study display line to semibold. At 100px+ that reads
   heavy and dated; medium (500) holds the same hierarchy by size alone. Nothing here goes above 500. */
.cs-title, .cs-help__title, .wi-name, .ws-shot--type span { font-weight: 500; }
.dg-t { font-weight: 500; }

/* ── 12. The case-study hero is shorter ──
   It opened with ~194px of air above the title and another ~96px under the meta row, which made the header
   read as a tall empty bar before the work appeared. The title now sits just clear of the floating nav. */
.cs-hero, .is-sub .cs-hero { padding-top: calc(66px + clamp(48px, 6vw, 88px)); }   /* the room the "All work" link used to take */

/* ── 13. Who we are, the roles opening soon, and the studios (services page) ── */
.roles__list, .studios__list { border-top: 1px solid var(--hair); }
.roles__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: var(--s4) clamp(var(--s5), 3vw, var(--s8));
  padding: clamp(var(--s4), 2.2vw, var(--s5)) 0; border-bottom: 1px solid var(--hair); }
.roles__k { color: var(--apple-grey); font-variant-numeric: tabular-nums; }
.roles__body h3 { font: 500 clamp(19px, 1.7vw, 26px)/1.2 var(--apple); letter-spacing: -.015em; color: #f5f5f5; }
.roles__body p { margin-top: 6px; font: 400 clamp(14px, 1.1vw, 16px)/1.45 var(--apple); color: var(--apple-grey); max-width: 52ch; }
.roles__when { color: var(--signal); white-space: nowrap; }
.studios__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; gap: clamp(var(--s5), 3vw, var(--s7)); }
.studios__list li { padding-top: var(--s5); border-top: 1px solid var(--hair-2); }
.studios__k { color: var(--signal); }
.studios__name { margin-top: 10px; font: 500 clamp(22px, 2vw, 30px)/1.15 var(--apple); letter-spacing: -.02em; color: #f5f5f5; }
.studios__meta { margin-top: 8px; font: 400 clamp(14px, 1.1vw, 16px)/1.45 var(--apple); color: var(--apple-grey); }
@media (max-width: 900px) {
  .roles__list li { grid-template-columns: auto minmax(0, 1fr); }
  .roles__when { grid-column: 2; }
  .studios__list { grid-template-columns: 1fr; }
}

/* ── 14. Legal pages (privacy): one measured column, the Apple face the services page uses, numbered sections ── */
.lg__in { max-width: calc(760px + 2 * var(--gutter)); margin-inline: auto; font-family: var(--apple); }
.lg__stamp { color: var(--apple-grey); }
.lg__lede { margin-top: var(--s5); font: 400 clamp(21px, 2vw, 28px)/1.34 var(--apple); letter-spacing: -.015em; color: #f5f5f5; text-wrap: pretty; }
.lg__h { display: flex; gap: var(--s4); align-items: baseline; margin-top: clamp(var(--s7), 5vw, var(--s9));
  padding-top: var(--s5); border-top: 1px solid var(--hair); font: 500 clamp(22px, 2vw, 30px)/1.2 var(--apple); letter-spacing: -.02em; color: #f5f5f5; }
/* Scoped past `.lg__in .mono`, which the span also carries. */
.lg__in .lg__n { flex: none; font-size: 12px; color: var(--signal); }
.lg__h3 { margin-top: var(--s6); font: 500 clamp(17px, 1.4vw, 20px)/1.3 var(--apple); color: #f5f5f5; }
.lg .lg__in p:not(.lg__stamp):not(.lg__lede) { margin-top: var(--s4); font: 400 clamp(15px, 1.2vw, 17px)/1.6 var(--apple); color: var(--apple-grey); text-wrap: pretty; }
.lg__in strong { color: var(--ink); font-weight: 500; }
/* Only the literal values quoted in a sentence; the section numbers carry .mono too and stay amber. */
.lg__in p .mono { font-size: .9em; color: var(--ink-2); }
.lg__in a { color: var(--ink); border-bottom: 1px solid var(--hair-2); }
.lg__in a:hover { color: var(--signal); border-bottom-color: var(--signal); }
.lg__list { margin-top: var(--s4); display: grid; gap: var(--s4); }
.lg__list li { font: 400 clamp(15px, 1.2vw, 17px)/1.6 var(--apple); color: var(--apple-grey); padding-left: var(--s4); border-left: 1px solid var(--hair-2); }
.lg__rows { margin-top: var(--s5); border-top: 1px solid var(--hair); }
.lg__rows li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: var(--s2) clamp(var(--s5), 3vw, var(--s7));
  padding: var(--s5) 0; border-bottom: 1px solid var(--hair); }
.lg__rows h4 { font: 500 17px/1.3 var(--apple); color: #f5f5f5; }
.lg .lg__rows p { margin-top: 0; }
@media (max-width: 760px) {
  .lg__rows li { grid-template-columns: 1fr; }
  .lg__h { gap: var(--s3); }
}

/* ── Type ceiling (2026-11-14): nothing on the site is heavier than medium ── */
b, strong { font-weight: 500; }

/* ── Main headings only are set in Orbitron: the hero line, page titles and section titles. Orbitron is wide, so it
      gets its own spacing and a slightly smaller size; everything else stays in the system face. ── */
.ws-catch, .cs-title, .head__title, .services .head__title, .ap-title, .close__title, .cs-help__title {
  font-family: "Orbitron", var(--apple); font-weight: 500; letter-spacing: -.01em; }
@media (min-width: 901px) { .ws-catch { font-size: clamp(40px, 4.9vw, 78px); line-height: 1.04; } }
@media (max-width: 900px) { .ws-catch { font-size: clamp(24px, 6.8vw, 52px); } }

/* Case study names and headings join them: the project name on the home stage and in the work list, the line shown
   in a hover preview or cover, the next-project name, and the big statements inside each case study. */
.ws-name, .ws-shot--type span, .wi-name, .wi-prev__in--type span, html.has-cover::after {
  font-family: "Orbitron", var(--apple); font-weight: 500; letter-spacing: -.01em; }
.ws-name { font-size: clamp(40px, 4.6vw, 72px); }
.wi-name { font-size: clamp(22px, 2.1vw, 32px); line-height: 1.1; }
@media (max-width: 900px) { .ws-name { font-size: clamp(30px, 8.4vw, 50px); } }

/* ── Top bar logo: on hover a quick diagonal glint sweeps through the wordmark once, clipped to the letterforms ── */
.mnav__mark { position: relative; display: inline-flex; }
.mnav__shine { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, currentColor 50%, transparent 60%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0;
  -webkit-mask: url(logo-mask.svg) center / 100% 100% no-repeat; mask: url(logo-mask.svg) center / 100% 100% no-repeat; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mnav__logo:hover .mnav__mark svg { animation: mnav-dim .75s ease forwards; }
  .mnav__logo:hover .mnav__shine { animation: mnav-glint .75s cubic-bezier(.4, 0, .2, 1) both; }
}
@keyframes mnav-glint { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@keyframes mnav-dim { 0% { opacity: 1; } 40% { opacity: .6; } 100% { opacity: 1; } }

/* ── Hero layout (2026-11-14): the particle forms take the middle, so the words step aside. The paragraph and its
      two buttons are one column pinned to the right edge (the buttons right under the paragraph); the headline
      sits lower and further right. On phones .ws-side is display: contents and the old placements stand. ── */
.ws-side { display: contents; }
@media (min-width: 901px) {
  .ws-side { display: block; position: absolute; z-index: 2; right: clamp(24px, 3.2vw, 56px); top: 19%; width: min(21.5em, 27vw);
    font-size: clamp(17px, 1.3vw, 19px); }
  .ws-side .ws-intro { position: static; max-width: none; }
  /* 2026-11-15: the column is main's (after the stage), laid over the stage's right side; it fades with the
     stage's home layer when a project is up, as it did when it lived inside it */
  body.is-home main { position: relative; }
  .ws-side { transition: opacity .35s ease .08s; }
  .ws:has(.ws-home:not(.is-on)) + .ws-side { opacity: 0; pointer-events: none; transition: opacity .12s ease-out; }
  /* 2026-11-15: the button is back right under the paragraph */
  .ws-side .ws-cta { position: static; margin-top: 26px; }
  .ws-catch { top: 65%; }
  .ws-catch__a { margin-left: 35%; }
  .ws-catch__b { margin-left: 42%; }
}

/* ── 2026-11-14: the footer wordmark's loose grains may drift past the mark (dust.js pads its canvas on every side);
   the footer clips sideways only, so nothing scrolls horizontally ── */
.foot { overflow: visible; overflow-x: clip; }
.foot__left { display: flex; align-items: center; gap: var(--s5); }   /* the ©, a plain line of text, sits level with the 44px links */

/* ── Phones (2026-11-14): the wordmark leads, the links follow under it as stacked columns, and the © closes the
   footer as a small caption. A finger swiped across the mark breaks it apart (dust.js); vertical drags still scroll. ── */
@media (max-width: 760px) {
  .foot { display: flex; flex-direction: column; padding-top: var(--s6); }
  .foot__mark { order: -1; margin-top: 0; touch-action: pan-y; }
  /* two columns of three, pushed to either side: the site links left, the socials right; the © caption runs under both */
  .foot__row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--s4) var(--s5); margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--hair); }
  .foot__left { display: contents; }
  .foot__row nav { flex-direction: column; align-items: flex-start; gap: 0; }
  .foot__row nav[aria-label="Social"] { align-items: flex-end; }
  .foot__row nav a { min-height: 40px; }
  .foot__copy { order: 3; flex-basis: 100%; margin-top: var(--s3); font-size: 10px; letter-spacing: .12em; color: var(--muted); }
}

/* ── Policy pages (privacy, accessibility): MetaLab's legal layout. One centred 920px column on black, a 40px
   title, 32px section heads, 20/32 body in a soft grey with 32px between paragraphs, and plain underlined links.
   No hero and no numbering: the page is the document. The title stays in Orbitron like every page title here. ── */
.policy { max-width: calc(920px + 48px); margin-inline: auto; padding: 216px 24px clamp(96px, 12vw, 160px); font-family: var(--apple); }
.policy__title { margin: 0 0 12px; font: 500 40px/48px "Orbitron", var(--apple); letter-spacing: -.01em; color: #fff; }
.policy__stamp { margin: 0 0 48px; color: #8b8b8b; font: 400 15px/24px var(--apple); }
.policy__h { margin: 68px 0 12px; font: 400 32px/40px var(--apple); letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.policy__h3 { margin: 40px 0 12px; font: 500 22px/30px var(--apple); letter-spacing: -.005em; color: #fff; }
.policy p, .policy li { font: 400 20px/32px var(--apple); letter-spacing: .01em; color: #c6c6c6; text-wrap: pretty; }
.policy p { margin: 0 0 32px; }
.policy strong { color: #fff; font-weight: 500; }
.policy a { color: #fff; text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.policy a:hover { text-decoration-thickness: 2px; }
.policy .mono { font-size: .9em; color: #fff; }
.policy__list { margin: 0 0 32px; padding-left: 48px; list-style: disc; }
.policy__list li + li { margin-top: 12px; }
.policy__rows { margin: 0 0 32px; padding: 0; list-style: none; }
.policy__rows li { padding: 20px 0; border-top: 1px solid rgb(255 255 255 / .12); }
.policy__rows li:last-child { border-bottom: 1px solid rgb(255 255 255 / .12); }
.policy__rows h4 { margin: 0 0 6px; font: 500 20px/28px var(--apple); color: #fff; }
.policy__rows p { margin: 0; }
@media (max-width: 760px) {
  .policy { padding: 132px 16px 96px; }
  .policy__title { font-size: 30px; line-height: 38px; }
  .policy__h { margin-top: 52px; font-size: 26px; line-height: 32px; }
  .policy p, .policy li { font-size: 17px; line-height: 28px; }
  .policy p { margin-bottom: 24px; }
  .policy__list { padding-left: 28px; }
}

/* ── Phones (2026-11-14): the scrolling case-study list, the headline's room, full-width calls to action and a bar
   that lines up with the page ── */
.ws-pillbox { display: contents; }
@media (max-width: 900px) {
  /* The column's fade moves off the scroller onto a frame around it (iOS Safari won't touch-scroll a masked
     scroller). The fade ends above the full-width button so a pill never sits under it. */
  .ws-pillbox { display: block; position: absolute; inset: 0; z-index: 2;
    -webkit-mask-image: linear-gradient(rgb(0 0 0 / 0) 26%, #000 36%, #000 74%, rgb(0 0 0 / 0) 84%);
    mask-image: linear-gradient(rgb(0 0 0 / 0) 26%, #000 36%, #000 74%, rgb(0 0 0 / 0) 84%); }
  .ws-pills { -webkit-mask-image: none; mask-image: none; touch-action: pan-y; overscroll-behavior: contain; }

  /* More air between the bar and the headline */
  .ws-catch { top: calc(env(safe-area-inset-top, 0px) + 132px); }

  /* The bar's resting state has no inner padding, so Menu and the icons sit on the same 16px line as the headline,
     pills and button. Folded into its glass pill on scroll, the glass edge takes that line and the contents step in. */
  .mnav { padding-inline: 16px; }
  .mnav__bar { padding: 0; }
  .mnav.is-compact .mnav__bar { padding: 0 12px; }
}
/* Every primary "Get in touch" (and the contact form's Send) runs the full width on phones */
@media (max-width: 760px) {
  .ws-cta { left: 16px; right: 16px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  .ws-cta__main { width: 100%; height: 48px; justify-content: center; font-size: 16px; }
  .close form .btn[type="submit"] { width: 100%; min-height: 48px; }
}
/* Nothing on a phone scrolls sideways */
@media (max-width: 900px) { html, body { overflow-x: clip; } }
