/* ============================================================================
   NUANSE — home.css · the home page's seven sections

   Loaded after core.css, and only by index.html. None of this is chassis: a
   project page would never use the fanned service cards or the manifesto
   envelope, so carrying them in core.css would be dead weight on every other
   page.

   Every value that was a `style` attribute in the single-file build is a class
   here — .frame-ox, .ra-a, .sw-navy and so on. That is what lets the CSP drop
   'unsafe-inline' from style-src: the directive blocks style attributes in
   markup as well as <style> blocks, so the attributes had to go. GSAP is
   unaffected either way, because it writes through the CSSOM rather than
   setting a style attribute.
   ========================================================================== */

/* ============ 1 · HERO ============ */
.hero{height:100vh;height:100svh;min-height:620px;background:var(--cream);overflow:hidden}
/* B3 - the ground behind slide 1, darker and higher contrast. CAPPED, and
   the cap is the whole story. Read this before changing the number.

   The item asked for darker AND higher contrast, and .40 delivers exactly
   that: measured on the rendered frame with the hero's own layers hidden -
   ground and nothing but ground, 316,800 samples - the band goes from 0.177
   of relative luminance around a mean of 0.846, to 0.410 around 0.746. The
   wash becomes a swirl you can see moving.

   .40 also FAILS WCAG AA, and not on the buttons. The binding node is the
   rotating word in the headline: --copper at 171px, which needs 3:1 against
   the ground beneath it. Scored per node against the darkest ground pixel
   inside that node's own box:

       opacity   slot word   ground mean
       .15        3.52         0.852      (what it was)
       .20        3.29         0.829
       .24        3.31         0.816      <- here
       .27        3.23         0.807
       .30        3.00         0.796      (exactly on the threshold)
       .40        2.68         0.748      FAILS
       .44        2.30         0.724      FAILS

   The arithmetic has no middle in it. --copper's relative luminance is 0.195,
   so for 3:1 the ground under it must stay LIGHTER than 0.684 or go darker
   than 0.032, which is nearly black. Darkening this swirl moves the ground
   toward the copper word, not away from it. "Darker ground" and "a copper
   word standing on it" are in direct conflict, and the conflict is in the
   brief rather than in this file.

   .24 and not .30, although .30 measures 3.00: the shader drifts, so the
   patch under the slot is never the same patch twice, and two runs at .15
   gave 3.38 and 3.52. Anything inside ~0.2 of the threshold is not a result.
   .24 keeps a real margin and still carries about half the darkening .40 had.

   THE DECISION IS OPEN, not settled. Dropping the slot to --copper-ink would
   let this go to .40 and measures ~3.7:1 - but README says --copper-ink is
   for small text and --copper is the only copper on every large accent, and
   this is the most prominent element on the site. That is a palette call for
   the client review, not for a verification pass. See BUILD-LOG.

   saturate(.85) is the one taste call: raising the opacity brings the ramp's
   copper stop up with everything else, and 05-conventions.md says copper is
   ~3% of a page. Pulling saturation back 15% keeps the band reading as light
   and shadow on foil rather than as a tan wash, and leaves luminance - which
   is what carries the contrast - untouched. */
.hero-foil{position:absolute;inset:0;z-index:0;width:100%;height:100%;display:block;opacity:.24;
  filter:saturate(.85);pointer-events:none}
/* The ground shows on every device now. The background is a still of the
   same foil: an empty canvas (no WebGL, a failed shader, no script) is
   transparent, so the still shows through it instead of a bare section. */
.hero-foil{background:url(../brand/grounds/foil-hero.jpg) center/cover}
.hero-layer{position:absolute;inset:0}
.hero-inner{position:absolute;inset:0;
  padding:clamp(104px,14vh,150px) var(--gut) clamp(40px,7vh,72px);
  display:flex;flex-direction:column;justify-content:space-between}
/* Reverted to fit-content. The stretch above was only ever in service of
   .hl-mid's right alignment — the lens's dashed measure box then had to
   reach the hero's full width instead of hugging the type it is measuring.
   With the alignment undone the reason for the trade is gone too. */
.hero-h-wrap{position:relative;align-self:flex-start}
/* Five written lines, not a paragraph left to wrap: the second line is a slot
   whose word changes, and a slot that shares a line with other words would
   push them sideways four times a rotation. No max-width and no balance —
   the line breaks are the typography here, and the browser has no say. */
/* B1 - bigger, and no longer one size for all five lines.

   Five lines are a vertical constraint as much as a horizontal one, so the
   unit is bound by both: 14.5vw is what the longest line can take before it
   reaches the gutter at 390px, 19vh is what the block can take before it
   reaches the CTAs on a short window. That is the same two-axis shape the
   line had before, with both terms grown - 12vw/13.5vh/118px becomes
   14.5vw/19vh/186px, a 45% larger headline at 1440x900.

   The growth is not uniform, and that is the point of the item. "We design"
   and the slot under it carry the full unit; "for businesses", "that refuse
   to" and "be ordinary." step down after it - .82, .64, .46 - a cascade
   rather than a single quiet half. Four sizes now, not three, so the block
   narrows toward its own foot instead of dropping once.

   Why the unit can grow this far and no further: the five lines now measure
   (1 + 1 + .82 + .64 + .46) x .92 = 3.61 units tall - the couplet's middle
   step costs .18 unit over the previous even split. At 19vh that is 68.6vh
   of type, which leaves 14vh of nav clearance and 7vh of floor inside one
   viewport with ~4.7vh spare rather than ~8 - tighter, and still clear of
   the 52px CTA row at 900px. Re-measure this margin if --hu's ceiling ever
   moves again. */
.hero-h{--hu:clamp(46px,min(14.5vw,19vh),186px);
  font-family:var(--serif);font-weight:400;font-size:var(--hu);
  line-height:.92;letter-spacing:.025em;margin:0}
/* One tracking value for all five lines, and one fixed gap between them -
   calc(var(--hu)*.09) rather than line-height alone, so the gap stays equal
   even where the cascade below drops to a smaller font-size. "that refuse
   to" keeps its own smaller gap and the subtle left nudge asked for
   separately - the one deliberate exception to the shared rhythm. */
.hl{display:block;white-space:nowrap}
.hl + .hl{margin-top:calc(var(--hu)*.09)}
/* "for businesses" stays on the left, and is the first step of a cascade.

   Two readings were tried and both corrected: right-aligned (first pass),
   then slanted and matched in size to this line (second pass). The review
   settled it plainly - all three of this line and the couplet below start
   at the same left edge, straight, each a size smaller than the one above:
   "for businesses" longest and biggest, "that refuse to" next and shorter,
   "be ordinary." shortest and smallest of the three. This is the first
   step, at the unit's own .82. */
.hl-mid{font-size:.64em}
/* The closing couplet. Straight - no transform, no italic; two sizes, not
   one, continuing the cascade .hl-mid began rather than matching it.
   .hl-tail carries what both lines share; the -a/-b modifiers carry the one
   thing that tells them apart. */
.hl-tail-a{font-size:.64em;margin-top:calc(var(--hu)*.03)}
.hl-tail-b{font-size:.64em}
/* the slot: the word rides in its own mask, and the line holds its height
   whichever of the four is in it. nowrap because B2 sets the word in the mono
   face mid-flip, where it is wider than the serif it replaces - a slot
   allowed to wrap would move the three lines under it, which is the one thing
   the verification forbids. */
.hl-rot{color:var(--copper);white-space:nowrap}
.hl-rot .w{display:block;padding-bottom:.3em;margin-bottom:-.3em}
/* campaigns carries a p and a g: the mask runs deep enough for both
   descenders, and the line below sits clear of them */
.hl-rot + .hl{margin-top:calc(var(--hu)*.17)}
.rot{display:inline-block}
/* B2 - the glyph noise.

   A character mid-flip is set in the mono face, so the word visibly dissolves
   into type-specimen noise and resolves out of it rather than sliding. .74em
   is a width decision, not a style one: IBM Plex Mono advances .6em per glyph
   against Gloock's ~.52em, so at a larger size a ten-glyph frame mid-flip ran
   wider than the word itself and past the gutter on a phone. At .74 no frame
   is wider than the word it becomes, and the denser texture is what noise
   should look like next to the serif anyway.

   NO COLOUR OF ITS OWN, and that is a correction. The noise was set in
   --copper-l to separate it from the resolved word. Measured against the
   ground actually under the slot it came to 1.73:1 where large text needs 3:1
   - and it failed at the OLD foil opacity too, so it was mine and not B3's.
   #D58A4E is a light copper on a light ground and there was never room for
   it. Inheriting --copper from .hl-rot puts the noise at the same ink as the
   word it is dissolving, which measures 3.95:1 under the slot and is the
   better design besides: the flip is about the glyphs changing, not about the
   colour changing underneath them. */
.rot .gl{font-family:var(--mono);font-size:.74em;letter-spacing:.02em}
.hero-eyebrow{position:relative;align-self:flex-start}
.hero-foot{display:flex;justify-content:flex-end;align-items:flex-end;gap:32px;flex-wrap:wrap}
/* a measured fact row carries the lower left, not a paragraph */
.hero-facts{position:relative;display:flex;margin:0;color:var(--mute)}
.hero-facts>div{padding:0 clamp(16px,1.6vw,24px);border-left:1px solid rgba(13,26,65,.18)}
.hero-facts>div:first-child{padding-left:0;border-left:0}
.hero-facts dt{margin:0;color:var(--navy)}
.hero-facts dd{margin:5px 0 0}
.hero-ctas{position:relative;display:flex;gap:12px;flex-wrap:wrap}

/* --- the lens: an opaque navy layer clipped to a circle under the pointer,
       revealing the type specs beneath --- */
/* The ground inside the loupe is a lit blue rather than a flat one. The note
   asked for the ground to get "brighter with the blue element rather than
   plain", and plain is what it was: one navy fill under a 350px circle.

   Two layers do it, and the gradient is the one that matters. The foil canvas
   is gated off on touch, on reduced motion and wherever WebGL will not start,
   so a fill alone would leave every one of those paths with the flat navy the
   note was about. The gradient is what they get, and it is brighter than the
   navy it replaces on its own. The canvas is the living version on top.

   #16245A is --royal, already in the tokens. It is the brightest thing in
   here and --copper-l 10px annotations measure 5.28:1 against it. */
/* overflow:hidden is not about what you can see — clip-path already decides
   that, and .hero clips besides. It is about the scrollable overflow area.
   .lens-scale is a full-bleed clone scaled 1.03 about a transform-origin that
   home.js moves to wherever the lens is, so its transformed box reaches past
   the hero's right edge by up to ~17px at 1440, and transformed boxes count
   toward an ancestor's scrollable overflow. That is what made section.hero
   report scrollWidth 1447 against clientWidth 1440. Nothing was visible and
   no scrollbar appeared, because body hides overflow-x — which is precisely
   why it went unnoticed. Clipping it at the layer removes the overflow
   without changing a pixel of what renders. */
.hero .lens{background:linear-gradient(162deg,var(--royal) 0%,var(--navy) 54%,var(--night) 100%);
  color:var(--cream);clip-path:circle(0px at 50% 50%);overflow:hidden;
  pointer-events:none;z-index:3}
.lens-foil{position:absolute;inset:0;z-index:0;width:100%;height:100%;display:block;
  opacity:.55;pointer-events:none}
.touch .lens-foil,.rm .lens-foil{display:none}
.lens-scale{position:absolute;inset:0;z-index:1;transform:scale(1.03)}
.lens .hero-facts{color:var(--mute-d)}
.lens .hero-facts dt{color:var(--cream)}
.lens .hero-facts>div{border-left-color:var(--hair-c)}
/* B4 - every S inside the lens is turned, and only inside it.

   This is the reference's model (nuanse-house.html:77,
   .layer.x .s{transform:scaleX(-1)}) and it replaces the per-glyph hover
   marking that used to run here. The reason the old approach existed was that
   the lens closed over the headline, so a turned S could be read on the page
   underneath; now that the lens is always live and is the cursor in the hero,
   the circle itself is what shows the turn. Move it across a line and each S
   it covers is mirrored and copper, and reverts the moment it passes - which
   is requirement 3 of brief/01-requirements.md done BY the device rather than
   worked around it.

   The base layer keeps its own hover turn, below, for the keyboard and for
   the visitor who has latched the lens open. */
.lens .s{color:var(--copper-l);outline:1px dashed rgba(213,138,78,.55);
  outline-offset:1px;transform:scaleX(-1)}

/* The hero's own turn: one letter at a time, and driven by home.js rather
   than by :hover. The reason is the lens — an opaque clone of this layer that
   follows the pointer. A :hover turn happens on the layer underneath, where
   it cannot be seen; .is-turn is put on the glyph and on its twin in the
   clone, so the letter reads the same whichever layer you are looking at. */
.hero .hero-h .s.is-turn{transform:scaleX(-1);color:var(--copper)}
.lens .btn.solid{background:var(--cream);color:var(--navy);border-color:var(--cream)}
.lens .btn{color:var(--cream)}
.lens .hero-h-wrap{outline:1px dashed var(--copper-l);outline-offset:14px}
.lens .hero-facts,.lens .hero-ctas{outline:1px dashed rgba(213,138,78,.55);outline-offset:10px}
.an{position:absolute;font-family:var(--mono);font-size:10px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--copper-l);white-space:nowrap;line-height:1.3;
  display:flex;align-items:center;gap:8px}
.an::before{content:"";width:18px;height:1px;background:currentColor}
.an-h1{top:-40px;left:-14px}
.an-h2{bottom:-42px;left:-14px}
.an-h3{top:30%;right:-14px;transform:translateX(100%);flex-direction:row}
.an-cta{bottom:-34px;left:-10px}
.an-eb{top:50%;left:calc(100% + 20px);transform:translateY(-50%)}
.swatches{position:absolute;right:var(--gut);top:clamp(104px,14vh,150px);display:flex;
  flex-direction:column;gap:8px;align-items:flex-end}
.sw{display:flex;align-items:center;gap:10px;font-family:var(--mono);font-size:10px;
  letter-spacing:.12em;text-transform:uppercase;color:var(--cream)}
.sw i{width:22px;height:22px;border:1px solid rgba(252,247,241,.5)}
/* the three swatch grounds, as classes rather than style attributes */
.sw-navy{background:#0D1A41}
.sw-cream{background:#FCF7F1}
.sw-copper{background:#B56528}

.hero-hint{position:absolute;right:var(--gut);top:clamp(104px,14vh,150px);color:var(--mute);
  z-index:2;margin:0;display:flex;align-items:center;gap:10px}
.hero-hint i{width:9px;height:9px;border-radius:50%;border:1px solid var(--copper)}
/* The bubble: the lens at rest.

   This used to be a button shown only to touch and reduced motion, because a
   pointer could drive the lens directly. It is now the resting state of the
   lens on every device — a bubble floating at the right of the hero. Move into
   the hero and it recedes while the lens opens under the pointer; leave, or go
   still, and the lens closes and the bubble floats back. One object with two
   states, rather than an effect that appears from nowhere.

   It recedes to a quarter opacity rather than to nothing, because it stays
   focusable the whole time and a focusable control you cannot see is a
   WCAG 2.4.7 failure. Centring is done with margin-top, not translate, so the
   transform is free for the float and the recede.

   margin-top is half the height. If one changes, change the other. */
.lens-toggle{display:inline-flex;position:absolute;right:var(--gut);top:50%;margin-top:-46px;
  z-index:5;width:92px;height:92px;border-radius:50%;
  border:1px solid var(--navy);background:var(--cream);color:var(--navy);
  flex-direction:column;align-items:center;justify-content:center;gap:7px;
  font-size:9px;line-height:1.3;text-align:center;padding:0}
.lens-toggle span{display:block;max-width:64px}
.lens-toggle i{width:8px;height:8px;border-radius:50%;background:var(--copper)}
.lens-toggle.on{background:var(--navy);color:var(--cream);border-color:var(--cream)}
.lens-toggle.on i{background:var(--copper-l)}
/* The float and the recede are both pure CSS, using the independent `translate`
   and `scale` properties so they compose without fighting over one transform.
   Nothing here needs GSAP: on a page where it never loads, the bubble still
   floats, still recedes and still opens the lens. */
/* B4 - the bubble no longer bobs.

   It used to float because it was the lens at rest and nothing else on the
   screen was moving. The lens now drifts on its own after 2.4s idle, so the
   bob would be a second moving thing on a screen that is allowed one - see
   05-conventions.md. The button stays, relabelled "Click here" per D2: on a
   fine pointer the lens is already live and the bubble is the keyboard path,
   on touch and under reduced motion it is the only path.

   Receded, it is still focusable, so focus has to outrank .away or it is a
   WCAG 2.4.7 failure - a focused control at a quarter opacity is a control
   you cannot see. */
.lens-toggle{transition:scale var(--t-mid) var(--ease),opacity var(--t-mid) var(--ease)}
.lens-toggle.away{opacity:.25;scale:.82}
.lens-toggle.away:focus-visible{opacity:1;scale:1}
.rm .lens-toggle.away,.touch .lens-toggle.away{opacity:1;scale:1}
/* B4 - the lens IS the cursor here, so nothing else is.
   core's copper ring is stood down from home.js with .cur.off (A's class: it
   survives core's own pointermove handler, where .hide does not) and the
   native pointer goes with it, or the circle would trail an arrow. Fine
   pointers only, the same gate .cur itself carries - touch has no cursor to
   hide and reduced motion has no lens. */
/* The controls are the exception, in CSS as in home.js: the lens yields over
   a button and the native pointer comes back with it, because a control you
   cannot see yourself aiming at is worse than a second cursor. */
@media (pointer:fine){.hero{cursor:none}.hero .btn,.hero .lens-toggle{cursor:var(--cur-press)}}
/* Latched open, the lens covers the whole hero and is no longer following
   anything, so the pointer comes back: without it there was no cursor at all
   until you left the hero. */
@media (pointer:fine){.hero.lens-on{cursor:inherit}}
.touch .hero-hint,.rm .hero-hint{display:none}

/* ============ 2 · MARQUEE ============ */
.marquee{background:var(--navy);color:var(--cream);padding:clamp(36px,5vw,72px) 0;overflow:hidden;
  border-top:1px solid var(--hair-c)}
.mq-track{display:flex;width:max-content;will-change:transform}
.mq-set{display:flex;align-items:center}
.mq-item{font-family:var(--serif);font-size:clamp(48px,8.4vw,112px);line-height:1;
  letter-spacing:-.035em;padding:0 .32em;white-space:nowrap}
/* the separator is the mark, so it is the asset — not a mirrored glyph */
.mq-sep{display:flex;align-items:center;flex:0 0 auto}
.mq-sep .mark{width:auto;height:clamp(26px,3.6vw,56px);filter:brightness(1.22)}
.mq-meta{display:flex;justify-content:space-between;padding:0 var(--gut);margin-bottom:22px;
  color:var(--mute-d)}

/* ============ 3 · MANIFESTO ============ */
.manifesto{background:var(--stone)}
.mf-stage{height:100vh;height:100svh;position:relative;overflow:hidden;display:grid;place-items:center}
.mf-label{position:absolute;top:clamp(86px,12vh,120px);left:var(--gut);z-index:0;margin:0;
  display:flex;align-items:center;gap:12px;color:var(--mute)}
.mf-label::before{content:"";width:28px;height:1px;background:var(--copper)}
.mf-note{position:absolute;top:clamp(86px,12vh,120px);right:var(--gut);z-index:5;color:var(--mute);
  text-align:right}
/* B5 - the envelope holds, so it has to leave the letter room.

   At 44vh and bottom:-2vh the front flap's top edge sat at 58vh, and the V
   notch put it across the letter's lower third. That was invisible while the
   envelope slid off the bottom of the screen as the letter rose; now that it
   stays for the whole read it is the whole problem. 34vh at bottom:-4vh puts
   the flap's top at 70vh, and home.js measures the rest - it settles the
   envelope by exactly the distance that clears the letter's own box, rather
   than by a number guessed here.

   26vh below 760px because the letter wraps much taller at 88vw, so there is
   less room above the envelope and the envelope has to ask for less.

   pointer-events:none because both halves are aria-hidden decoration, and in
   flight (below) they cross the section underneath. */
.env-back,.env-front{position:absolute;left:50%;width:min(780px,94vw);
  margin-left:calc(min(780px,94vw) / -2);bottom:-4vh;height:34vh;pointer-events:none}
@media (max-width:760px){.env-back,.env-front{height:26vh}}
.env-back{background:var(--night);z-index:1}
.env-back::before{content:"";position:absolute;left:0;right:0;top:-46%;height:46%;
  background:var(--royal);clip-path:polygon(0 100%,100% 100%,50% 0)}
.env-front{background:var(--navy);z-index:3;
  clip-path:polygon(0 0,50% 52%,100% 0,100% 100%,0 100%);
  box-shadow:inset 0 1px 0 rgba(252,247,241,.15)}
.env-front .mono{position:absolute;left:28px;bottom:26px;color:var(--mute-d)}
.env-front .seal{position:absolute;left:50%;top:52%;width:54px;height:54px;margin:-27px 0 0 -27px;
  border-radius:50%;border:1px solid var(--copper-l);display:grid;place-items:center;padding:12px}
.env-front .seal .mark{filter:brightness(1.22)}
/* The letter is centred by the GRID, not by translate(-50%,-50%). GSAP
   animates `y` on it, and animating a pixel y onto a percentage translate
   loses the -50% doing the vertical centring — the letter then comes to rest
   hanging below the middle with the envelope covering the rest of it. With
   grid centring, y is purely additive and y:0 means dead centre. */
.letter{position:relative;z-index:2;width:min(640px,88vw);background:var(--cream);
  padding:clamp(26px,4.4vw,56px);
  box-shadow:0 1px 0 rgba(13,26,65,.06),0 30px 60px rgba(8,17,46,.18);
  border:1px solid rgba(13,26,65,.08)}
.letter-meta{display:flex;justify-content:space-between;color:var(--mute);margin:0 0 22px}
.letter-h{font-family:var(--serif);font-weight:400;font-size:clamp(28px,3.6vw,44px);line-height:.98;
  letter-spacing:-.03em;margin:0 0 22px;text-wrap:balance}
.letter-b{margin:0 0 14px;font-size:clamp(15px,1.25vw,17px);max-width:52ch}
.letter-sign{margin:22px 0 0;display:flex;justify-content:space-between;align-items:baseline}
.letter-sign .sig{font-family:var(--serif);font-size:24px;letter-spacing:.02em}
.mw{display:inline;white-space:nowrap}
.kw{background:linear-gradient(var(--copper),var(--copper)) 0 100%/0% 1.5px no-repeat;
  padding-bottom:2px}
.rm .kw{background-size:100% 1.5px}


/* ============ 5 · BEFORE / AFTER ============
   One slide: the heading, and a board of the eight pieces a brand kit is
   made of. Both kits sit in the same grid areas so the wipe lines a piece up
   with its own replacement. Each tile is a size container; everything inside
   is sized in cq units, so the board scales as one picture.

   The before is built from what a small business actually has installed:
   Times, Arial, Comic Sans, the Office palette, clip-art and file names to
   match. Bland, not broken - every piece is a real-world default. The after
   is its own brand, not NUANSE's: Tomato, Butter, Forest and Flour, Gloock
   for the voice and Plex Mono for labels. */
.ba-sec{background:var(--cream)}
.ba-stage{height:100vh;height:100svh;display:flex;flex-direction:column;position:relative;
  padding:clamp(84px,12vh,124px) var(--gut) clamp(16px,3vh,30px)}
.ba-defs{position:absolute;width:0;height:0;overflow:hidden;color:#E0482F;stroke:#F3C95C}
.ba-h{display:flex;align-items:center;justify-content:space-between;gap:clamp(12px,3vw,48px);
  margin:0 0 clamp(12px,2.4vh,26px);font-family:var(--serif);font-weight:400;
  font-size:clamp(44px,2.6vw + 4.6vh,116px);line-height:.9;letter-spacing:.025em;color:var(--navy)}
/* A ruled arrow, not a pen stroke: one hairline from a dot to a fine head,
   drawn left to right as the after wipes in. */
.ba-h .ba-arr{position:relative;flex:1 1 auto;max-width:min(420px,34vw);min-width:72px;height:auto;
  align-self:center;margin-top:.08em}
.ba-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ba-board{position:relative;flex:1 1 auto;min-height:0}
.ba-kit{position:absolute;inset:0;display:grid;gap:clamp(5px,.7vw,10px);padding:clamp(6px,.8vw,12px);
  grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));
  grid-template-areas:"logo logo web web web mob" "logo logo web web web mob"
                      "pal pat mag card card mob" "ico ico mag card card mob"}
.t-logo{grid-area:logo}.t-pal{grid-area:pal}.t-pat{grid-area:pat}.t-ico{grid-area:ico}
.t-mag{grid-area:mag}.t-card{grid-area:card}.t-web{grid-area:web}.t-mob{grid-area:mob}
.ba-before{z-index:0}
.ba-after{z-index:1}
.ba-t{position:relative;overflow:hidden;container-type:size;min-width:0;min-height:0}
/* JS starts the after fully clipped and the rule at the right edge. This is
   the reduced-motion and no-script frame: half of each. */
.ba-after{clip-path:inset(0 0 0 50%)}
.ba-line{position:absolute;top:-8px;bottom:-8px;left:50%;width:2px;margin-left:-1px;z-index:3;
  background:var(--navy);pointer-events:none}
.ba-line::after{content:"";position:absolute;top:50%;left:50%;width:14px;height:14px;border-radius:50%;
  background:var(--copper);transform:translate(-50%,-50%);box-shadow:0 0 0 4px var(--cream)}
/* the doodles: drawn strokes, one weight at any size */
.dd{position:absolute;overflow:visible;pointer-events:none;height:auto}
.dd path{fill:none;stroke:var(--dd,#E0482F);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;
  vector-effect:non-scaling-stroke}
/* scaling stroke on purpose: drawSVG measures in the viewBox, and a
   non-scaling stroke would repeat the dash along a stretched rule */
.ba-arr path{stroke:var(--copper);stroke-width:1;stroke-linecap:butt;vector-effect:none}
.ba-arr path+path{stroke-linecap:round}
.ba-arr circle{fill:var(--copper)}

/* phones: a fixed 9:19 that fits whichever way the tile is short */
.ph{position:absolute;top:50%;left:50%;width:min(86cqw,43.6cqh);aspect-ratio:9/19;
  transform:translate(-50%,-50%);container-type:inline-size}
.ph-s{position:absolute;inset:3.4cqw;overflow:hidden;border-radius:10cqw}

/* ---------- before ---------- */
.ba-before{--cap:17px;background:#E7E6E6;font-family:Arial,Helvetica,sans-serif;color:#000}
.ba-before .ba-t{background:#fff;border:1px solid #BFBFBF}
.ba-before .cap{position:absolute;left:0;right:0;bottom:0;z-index:2;height:var(--cap);
  background:#F2F2F2;border-top:1px solid #D9D9D9;font:400 9px/var(--cap) Tahoma,Arial,sans-serif;
  color:#595959;padding:0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bl,.bpat,.bico,.bmag,.bcd,.bw{position:absolute;top:0;left:0;right:0;bottom:var(--cap)}
.bm-ph,.bw-sl em,.bm-img{border:1px solid #A6A6A6;background:
  linear-gradient(to top right,transparent calc(50% - .6px),#A6A6A6 50%,transparent calc(50% + .6px)),
  linear-gradient(to top left,transparent calc(50% - .6px),#A6A6A6 50%,transparent calc(50% + .6px)),#F2F2F2}

.bl{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3cqmin;text-align:center}
.bl-art{position:relative;width:22cqmin;height:22cqmin;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#BDD7EE,#2E75B6 55%,#1F4E79);
  box-shadow:.8cqmin .8cqmin 1.4cqmin rgba(0,0,0,.35)}
.bl-art::after{content:"";position:absolute;left:12%;right:12%;top:46%;height:12%;border-radius:50%;
  background:#FFC000;transform:rotate(-20deg)}
.bl b{font:700 min(10cqmin,7.2cqw)/1 "Times New Roman",Times,serif;color:#1F4E79;white-space:nowrap;
  text-shadow:.5cqmin .5cqmin 0 #A6A6A6;transform:scaleX(1.25)}
.bl i{font:italic 5cqmin/1 Arial,sans-serif;color:#7F7F7F}

.bpal{position:absolute;top:14%;left:10%;right:10%;bottom:calc(var(--cap) + 14%);
  display:grid;grid-template-columns:repeat(5,1fr);gap:6%}
.bpal i{border:1px solid #7F7F7F;box-shadow:2px 2px 0 rgba(0,0,0,.18)}
.bpal i:nth-child(1){background:#1F4E79}
.bpal i:nth-child(2){background:#5B9BD5}
.bpal i:nth-child(3){background:#A5A5A5}
.bpal i:nth-child(4){background:#C00000}
.bpal i:nth-child(5){background:#FFC000}

.bpat{background:repeating-linear-gradient(135deg,rgba(255,255,255,.4) 0 2px,transparent 2px 10px),
  linear-gradient(#DEEBF7,#5B9BD5)}

.bico{display:flex;align-items:center;justify-content:space-evenly;flex-wrap:wrap;
  font-family:"Segoe UI Symbol","Arial Unicode MS",Arial,sans-serif}
.bico span{display:grid;place-items:center;line-height:1}
.bico span:nth-child(1){font-size:24cqmin}
.bico span:nth-child(2){font-size:15cqmin;color:#fff;background:#2E75B6;width:26cqmin;height:26cqmin}
.bico span:nth-child(3){font-size:30cqmin;color:#70AD47}
.bico span:nth-child(4){font-size:20cqmin;color:#FFC000;text-shadow:1px 1px 0 #7F7F7F}
.bico span:nth-child(5){font-size:13cqmin;color:#fff;background:#C00000;border-radius:50%;
  width:24cqmin;height:24cqmin}

.bmag{padding:7cqw;display:flex;flex-direction:column;align-items:center;gap:2.4cqh;text-align:center;
  font-family:"Times New Roman",Times,serif}
.bmag b{font-size:10cqw;line-height:1;color:#1F4E79}
.bm-s{font:700 8cqw/1 Arial,sans-serif;letter-spacing:.1em;color:#C00000}
.bm-i{width:100%;font-size:5.6cqw;font-style:italic;color:#595959;padding:1cqh 0;
  border-top:1px solid #000;border-bottom:1px solid #000}
.bm-ph{flex:1 1 auto;width:100%;min-height:0}
.bm-l{width:100%;font-size:6cqw;line-height:1.35;text-align:left}

.bcd{background:linear-gradient(#2E75B6,#1F4E79);color:#fff;padding:4%;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:2.4cqh;text-align:center;
  font-family:"Arial Black",Arial,sans-serif;font-weight:900}
.bcd b{font-size:9cqmin;line-height:1;text-shadow:2px 2px 0 #000}
.bc-o{font-size:20cqmin;line-height:.9;color:#FFC000;text-shadow:3px 3px 0 #C00000}
.bc-s{font:700 6cqmin/1 Arial,sans-serif}
.bc-c{font-size:6cqmin;background:#FFC000;color:#C00000;padding:1.6cqmin 4cqmin;border-radius:4cqmin;
  border:2px solid #fff}
.bcd small{font:400 3.6cqmin/1 Arial,sans-serif;opacity:.85}

.bw{display:flex;flex-direction:column;background:#fff}
.bw-bar{flex:0 0 auto;height:3.6cqw;display:flex;align-items:center;gap:.8cqw;padding:0 1.2cqw;
  background:#D9D9D9;border-bottom:1px solid #A6A6A6}
.bw-bar i{width:1.4cqw;height:1.4cqw;border-radius:50%;background:#A6A6A6}
.bw-bar span{flex:1;margin-left:1.2cqw;background:#fff;border:1px solid #BFBFBF;color:#595959;
  font-size:1.6cqw;line-height:2.4cqw;padding:0 1cqw;white-space:nowrap;overflow:hidden}
.bw-hd{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:2cqw;
  padding:1.4cqw 2cqw;background:#1F4E79;color:#BDD7EE;border-bottom:.6cqw solid #FFC000;font-size:1.6cqw}
.bw-hd b{font:700 3.2cqw/1 "Times New Roman",serif;color:#fff;text-shadow:1px 1px 0 #000;white-space:nowrap}
.bw-hd u{color:#fff}
.bw-wel{flex:0 0 auto;text-align:center;padding:1.4cqw 0;color:#C00000;
  font:700 3cqw/1 "Comic Sans MS","Comic Sans",cursive}
.bw-sl{flex:1 1 auto;min-height:0;margin:0 2cqw;display:flex;align-items:center;
  background:#F2F2F2;border:1px solid #BFBFBF}
.bw-sl span{font-size:2.4cqw;color:#7F7F7F;padding:0 1cqw}
.bw-sl em{flex:1;align-self:stretch;margin:1.2cqw 0}
.bw-cols{flex:0 0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:1.6cqw;padding:1.4cqw 2cqw}
.bw-cols div{display:flex;flex-direction:column;gap:.6cqw;padding:1.2cqw;background:#F2F2F2;
  border:1px solid #BFBFBF}
.bw-cols b{font:700 1.9cqw/1 "Times New Roman",serif;color:#1F4E79}
.bw-cols u{font-size:1.5cqw;color:#0563C1}
.bw-ft{flex:0 0 auto;background:#404040;color:#BFBFBF;text-align:center;font-size:1.3cqw;padding:.9cqw}

.bph{background:#111;border-radius:13%/6.2%}
.bph .ph-s{background:#fff;padding:4cqw;display:flex;flex-direction:column;gap:3cqw;border-radius:9cqw}
.bm-hd{margin:-4cqw -4cqw 0;padding:11cqw 0 2cqw;text-align:center;background:#1F4E79;color:#fff;
  border-bottom:2cqw solid #FFC000;font:700 9cqw/1.3 "Times New Roman",serif}
.bm-nav{font-size:4.6cqw;line-height:1.5;text-align:center;color:#0563C1}
.bm-wel{font:700 7cqw/1.1 "Comic Sans MS","Comic Sans",cursive;color:#C00000;text-align:center}
.bm-img{flex:0 0 auto;height:34cqw}
.bph p{margin:0;font-size:4.4cqw;line-height:1.3;text-align:justify}
.bm-btn{align-self:center;padding:3cqw 6cqw;border:1px solid #BF9000;border-radius:2cqw;
  background:linear-gradient(#FFD966,#FFC000);font:700 5cqw/1 Arial,sans-serif}
.bm-pop{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:space-between;gap:2cqw;
  padding:5cqw 5cqw 9cqw;background:#C00000;color:#fff;font:700 5cqw/1.2 Arial,sans-serif}

/* ---------- after ---------- */
.ba-after{--tom:#E0482F;--but:#F3C95C;--for:#1D3A2E;--flo:#FBF3E3;--pink:#F2B5C0;
  background:var(--for);font-family:var(--sans);color:var(--for)}
.ba-after .ba-t{border-radius:clamp(6px,.9vw,14px);background:var(--flo)}
.ba-after .tg{position:absolute;right:8px;bottom:8px;z-index:2;padding:4px 7px 3px;border-radius:99px;
  background:var(--for);color:var(--flo);font:500 9px/1 var(--mono);letter-spacing:.12em;
  text-transform:uppercase;white-space:nowrap}
.mk{display:block;height:auto;color:var(--tom);stroke:var(--flo);overflow:visible}

.al-in{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2.4cqmin;text-align:center}
.al .mk{width:30cqmin}
.al b{font:400 13cqmin/.95 var(--serif);letter-spacing:-.02em}
.al-in span{font:500 3.6cqmin/1 var(--mono);letter-spacing:.18em;text-transform:uppercase;color:var(--tom)}
.dd-loop{width:48cqmin;left:50%;top:50%;transform:translate(-50%,-80%)}
.dd-sp1{width:9cqmin;right:14%;top:13%}
.dd-sp2{width:6cqmin;left:15%;bottom:18%;--dd:var(--for)}

.ap{display:grid;grid-template-rows:repeat(4,1fr)}
.ap i{display:flex;align-items:center;padding:0 8%;font:500 clamp(7px,9cqh,11px)/1 var(--mono);
  font-style:normal;letter-spacing:.12em;text-transform:uppercase}
.ap .p1{background:var(--tom);color:var(--flo)}
.ap .p2{background:var(--but)}
.ap .p3{background:var(--for);color:var(--flo)}
.ap .p4{background:var(--flo)}

.ba-after .apt{background:var(--but)}
.apt-s,.aw-pt,.am-today svg{position:absolute;inset:0;width:100%;height:100%}

.ai-in{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-evenly;flex-wrap:wrap;
  padding:4%}
.ai svg{width:min(34cqh,19cqw);height:auto;padding:min(6cqh,3.4cqw);border-radius:50%;background:var(--but);
  fill:none;stroke:var(--for);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
  box-sizing:content-box}
@container (max-width:200px){ .ai svg{width:26cqw;padding:5cqw} }

.ba-after .am{background:var(--tom);color:var(--flo);display:flex;flex-direction:column;padding:7%;
  --dd:var(--flo)}
.am-top{display:flex;justify-content:space-between;font:500 4.6cqw/1 var(--mono);letter-spacing:.14em;
  text-transform:uppercase}
.am-mast{font:400 26cqw/.9 var(--serif);letter-spacing:-.03em;margin-top:3cqh}
.am-mk{width:52cqw;margin:auto;color:var(--but);stroke:var(--tom)}
.am-line{max-width:80%;margin-bottom:22px;font:400 7cqw/1.15 var(--serif)}
.am-stk{position:absolute;right:6cqw;top:40%;width:24cqw;height:24cqw;border-radius:50%;display:grid;
  place-items:center;text-align:center;background:var(--pink);color:var(--for);transform:rotate(12deg);
  font:600 4.4cqw/1.05 var(--sans);text-transform:uppercase}
.dd-ring{width:40cqw;left:63cqw;top:calc(40% - 5cqw)}

.ba-after .ac{background:var(--pink);padding:clamp(10px,5%,24px);display:flex;flex-direction:column;
  justify-content:space-between}
.ac-k{font:500 4cqmin/1 var(--mono);letter-spacing:.14em;text-transform:uppercase}
.ac b{position:relative;align-self:flex-start;font:400 26cqmin/.86 var(--serif);letter-spacing:-.03em}
.ac-mk{position:absolute;right:7cqmin;top:10cqmin;width:26cqmin;transform:rotate(-10deg);stroke:var(--pink)}
.dd-heart{width:10cqmin;right:38cqmin;top:8cqmin}
.dd-tick{width:.42em;right:-.5em;top:.62em;--dd:var(--for)}

.aw{display:flex;flex-direction:column}
.aw-bar{flex:0 0 auto;height:3.6cqw;display:flex;align-items:center;gap:.8cqw;padding:0 1.4cqw;
  background:#EFE5D2}
.aw-bar i{width:1.2cqw;height:1.2cqw;border-radius:50%;background:rgba(29,58,46,.25)}
.aw-bar span{margin:0 auto;padding:0 3cqw;border-radius:99px;background:var(--flo);
  color:rgba(29,58,46,.7);font:500 1.5cqw/2.2cqw var(--mono)}
.aw-nav{flex:0 0 auto;display:flex;align-items:center;gap:2.6cqw;padding:2cqw 3.4cqw;
  font:500 1.5cqw/1 var(--mono);letter-spacing:.12em;text-transform:uppercase}
.aw-nav .mk{width:4.4cqw}
.aw-nav b{margin:0 auto 0 -1.4cqw;font:400 2.6cqw/1 var(--serif);letter-spacing:-.01em;text-transform:none}
.aw-nav em{font-style:normal;padding:1.1cqw 2cqw;border-radius:99px;background:var(--tom);color:var(--flo)}
.aw-hero{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:1.15fr 1fr;gap:3cqw;
  padding:0 3.4cqw 3.4cqw;align-items:center}
.aw-txt{min-width:0}
.aw-txt b{display:block;font:400 5.4cqw/.95 var(--serif);letter-spacing:-.025em}
.aw-u{position:relative;white-space:nowrap}
.dd-sq{left:-2%;bottom:-.16em;width:104%;height:.24em}
.aw-txt p{margin:2.2cqw 0 2.6cqw;max-width:34ch;font-size:1.75cqw;line-height:1.4;color:rgba(29,58,46,.8)}
.aw-txt em{display:inline-block;font-style:normal;padding:1.3cqw 2.2cqw;border-radius:99px;
  background:var(--for);color:var(--flo);font:500 1.5cqw/1 var(--mono);letter-spacing:.12em;
  text-transform:uppercase}
.aw-art{position:relative;align-self:stretch;overflow:hidden;display:grid;place-items:center;
  border-radius:2cqw;background:var(--but)}
.aw-pt{opacity:.55}
.aw-art .mk{position:relative;width:42%;stroke:var(--but)}
.aw-art span{position:absolute;left:2cqw;top:2cqw;width:9cqw;height:9cqw;border-radius:50%;display:grid;
  place-items:center;text-align:center;background:var(--pink);transform:rotate(-12deg);
  font:600 1.4cqw/1.05 var(--sans);text-transform:uppercase}
@container (max-width:460px){ .aw-txt p{display:none} .aw-nav span{display:none} }

.ba-after .amob{background:var(--but)}
.aph{background:var(--for);border-radius:14%/6.6%}
.aph .ph-s{background:var(--flo);padding:6cqw;display:flex;flex-direction:column;gap:4cqw;border-radius:9cqw}
.am-bar{display:flex;justify-content:space-between;align-items:center;padding-top:8cqw}
.am-bar .mk{width:14cqw}
.am-bar i{width:9cqw;height:5cqw;border-top:1.2cqw solid var(--for);border-bottom:1.2cqw solid var(--for)}
.aph b{margin-top:4cqw;font:400 13cqw/.95 var(--serif);letter-spacing:-.02em}
.aph p{margin:0;font-size:5.2cqw;line-height:1.35;color:rgba(29,58,46,.8)}
.aph em{font-style:normal;text-align:center;padding:4.4cqw;border-radius:99px;background:var(--tom);
  color:var(--flo);font:500 4.4cqw/1 var(--mono);letter-spacing:.12em;text-transform:uppercase}
.am-today{position:relative;margin-top:auto;height:34cqw;display:flex;align-items:flex-end;padding:4cqw;
  overflow:hidden;border-radius:5cqw;background:var(--but)}
.am-today svg{opacity:.6}
.am-today span{position:relative;padding:2.4cqw 3.4cqw;border-radius:99px;background:var(--flo);
  font:500 3.6cqw/1 var(--mono);letter-spacing:.06em}
.dd-sp3{width:10cqmin;left:8%;top:3%}
.dd-zz{width:16cqmin;left:8%;bottom:3%;--dd:var(--for)}

/* ============ 4c · THE CLIENT STRIP ============
   H3 and H4 of brief/09-feedback-round.md: the page featured two clients and
   the note asked for the rest of them, continuously moving.

   The marks are the built ones — tools/build-client-marks.py emitted them and
   index.html links the generated _grounds.css for the .clm-* grounds, so the
   sampled ground behind each mark is read off that client's own file and not
   chosen here. That matters more than it sounds: four of the seven grounds
   are lighter than the cream, and without them those four marks are four
   empty plates.

   Seven clients have a mark. The other five carry their initials set in
   Gloock, and those are deliberately NOT dimmed the way a mark is: on /work
   that is the difference between a logo we hold and a setting we made, and
   the strip keeps it. --cream and not --stone for the plate, because the
   strip's own ground is stone and a stone plate on stone is nothing.

   The track wraps by default and only goes to one rolling line when home.js
   has cloned the set and added .is-rolling. That is the whole no-GSAP,
   reduced-motion and file:// path: twelve clients as a block, all readable,
   nothing moving, no second markup. */
.clients{background:var(--stone);padding:var(--sec-y) 0;overflow:hidden}
.cl-head{padding:0 var(--gut);margin-bottom:var(--gap-md);position:relative}
/* Round 3 · the proof pen: one copper stroke weight at any size, as the
   before/after doodles. The loop is placed by home.js over "every one."; it
   stays hidden until it has been placed, so it never shows in the wrong spot. */
.cl-ring{position:absolute;left:0;top:0;width:0;height:0;overflow:visible;pointer-events:none;
  visibility:hidden}
.cl-ring.is-placed{visibility:visible}
.cl-ring path,.cl-arrow path{fill:none;stroke:var(--copper);stroke-width:2.4;stroke-linecap:round;
  stroke-linejoin:round;vector-effect:non-scaling-stroke}
/* the pointer under "Take a look" is the one stroke here that has to be
   found at a glance, so it is drawn heavier and in the darker ink */
.cl-arrow path{stroke:var(--copper-ink);stroke-width:3}
.cl-note{position:absolute;right:var(--gut);bottom:calc(var(--gap-md) * -1 + 4px);margin:0;
  display:flex;flex-direction:column;align-items:flex-start;gap:6px;pointer-events:none}
.cl-note span{font-family:var(--serif);font-size:clamp(22px,2vw,30px);line-height:1;
  letter-spacing:-.02em;color:var(--copper-ink);transform:rotate(-4deg);transform-origin:left center}
.cl-arrow{width:76px;height:96px;margin-left:14px;overflow:visible}
.cl-head .lede{margin-top:22px}
.cl-rail{position:relative;overflow:hidden}
.cl-track{display:flex;flex-wrap:wrap;gap:clamp(28px,4vw,64px);padding:0 var(--gut)}
/* rolling, the gutter padding goes: a padded track shows a gap at the seam */
.cl-track.is-rolling{flex-wrap:nowrap;width:max-content;padding:0;will-change:transform}
/* Rolling, a set is one rigid item and the track is two of them side by side.
   Standing still, there is only ever one set and it has to be the width of
   the rail or it will not wrap — flex:0 0 auto sizes it to its content, which
   is twelve cells wide, and .cl-rail would clip seven of them. */
.cl-set{display:flex;align-items:center;gap:clamp(28px,4vw,64px);flex:0 0 auto;flex-wrap:nowrap}
.cl-track:not(.is-rolling) .cl-set{flex:1 1 100%;width:100%;flex-wrap:wrap}
.cl-cell{display:flex;align-items:center;gap:14px;flex:0 0 auto;color:inherit;text-decoration:none}
/* 80px and not the roster's 44px. On /work a mark is a chip identifying a row
   that already carries the client's name, sector and line; here it is half of
   what the section is for, and a lockup trimmed to its ink needs the size to
   read as a mark rather than as a smudge of client colour. 96 and 192 cover
   80px at 1x and 2x, which is why the sources are the ones already built. */
.cl-mark{flex:0 0 80px;width:80px;height:80px;overflow:hidden;position:relative;
  border-radius:28%;border:1px solid rgba(13,26,65,.1);filter:saturate(.68);opacity:.82;
  box-shadow:0 1px 2px rgba(13,26,65,.06),0 8px 22px -10px rgba(13,26,65,.28);
  transition:filter var(--t-sm) var(--ease),opacity var(--t-sm) var(--ease)}
.cl-mark picture,.cl-mark img{display:block;width:100%;height:100%}
.cl-mark img{object-fit:cover}
/* no file on hand: our own setting, so it is not dimmed like a mark */
.cl-init{display:grid;place-items:center;background:var(--cream);color:var(--navy);
  font-family:var(--serif);font-size:30px;letter-spacing:.01em;line-height:1;
  filter:none;opacity:1}
.cl-name{font-family:var(--serif);font-weight:400;font-size:clamp(21px,2.3vw,34px);
  line-height:1;letter-spacing:-.025em;color:var(--navy);white-space:nowrap}
@media (hover:hover){.cl-cell:hover .cl-mark{filter:none;opacity:1}.cl-cell:hover .cl-name{color:var(--copper-ink)}}
.cl-all{padding:0 var(--gut);margin:var(--gap-md) 0 0}

/* ============ 9 · AUDIT ============ */
.audit{background:var(--navy);color:var(--cream);overflow:hidden;text-align:center;min-height:90vh;
  display:grid;place-items:center}
.audit-foil{position:absolute;inset:0;z-index:0;width:100%;height:100%;display:block;opacity:.3;
  pointer-events:none}
.audit-foil{background:url(../brand/grounds/foil-audit.jpg) center/cover}
.audit-in{position:relative;z-index:2;max-width:980px;margin:0 auto;display:flex;
  flex-direction:column;align-items:center}
.audit .h2{font-size:clamp(64px,13vw,224px)}
.audit .lede{margin:28px auto 36px;text-align:center}
.audit-meta{margin-top:22px;color:var(--mute-d)}
.trail{position:absolute;inset:0;z-index:1;pointer-events:none}
.tmark{position:absolute;top:0;left:0;font-family:var(--mono);font-size:12px;letter-spacing:.1em;
  text-transform:uppercase;color:var(--copper-l);white-space:nowrap;display:grid;place-items:center}
.tmark.ring{width:34px;height:34px;border:1px dashed var(--copper-l);border-radius:50%;
  font-size:13px}
.tmark.big{font-family:var(--sans);font-size:24px;letter-spacing:0}
/* Two inks, not five. The marks say what kind of detail they are by how they
   are set: the system's own rules in copper, the surfaces it has to survive
   in the quieter ink, and a colour value carries its own swatch. Five tints
   would read as a legend nobody was given. */
.tmark.tm-colour{color:var(--cream);display:flex;align-items:center;gap:7px}
.tmark.tm-colour::before{content:"";width:9px;height:9px;border-radius:50%;
  background:currentColor;opacity:.75}
.tmark.tm-colour.big::before{display:none}
.tmark.tm-app,.tmark.tm-listing{color:var(--mute-d)}

/* --- audit modal ---
   MOVED OUT, 2026-10-20, session A, item A5. The markup and the engine now
   live on two pages — index.html and the new contact.html — so by the test
   in README ("if a second page imports it, it is not that page's any more")
   these styles are chassis and sit in core.css, directly above the footer.
   Nothing was redesigned in the move; the one change is .modal.open, which
   now also sets opacity:1 so the dialog is visible on the no-GSAP path,
   where there is no tween to raise it from 0.

   This is session A reaching into home.css, session B's file this round.
   Declared on the board before the edit and again in the commit message. It
   is the same carve-out as the engine's move out of home.js §9; the removed
   block was home.css:370-397 and nothing else in this file was touched. */

/* ============ REDUCED MOTION ============
   Pinned sections unpin and stack. Every one of these exists so that content
   whose reveal is scroll-driven is still reachable when nothing scrolls. */
.rm .mf-stage{height:auto;padding:120px var(--gut)}
.rm .letter{position:relative;left:auto;top:auto;transform:none;margin:0 auto}
.rm .env-back,.rm .env-front{display:none}

/* ============ RESPONSIVE ============ */
@media (max-width:1100px){
  .an-h3{display:none}
}
@media (max-width:900px){
  .swatches,.an-eb{display:none}
}
/* the board re-deals for a phone: same eight pieces, four columns */
@media (max-width:700px){
  .ba-kit{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(7,minmax(0,1fr));
    grid-template-areas:"logo logo mob mob" "logo logo mob mob" "pal pat mob mob"
                        "web web web web" "web web web web" "mag card card ico" "mag card card ico"}
  .ba-before{--cap:13px}
  .ba-before .cap{font-size:7.5px;padding:0 4px}
  .ba-after .tg{right:4px;bottom:4px;padding:3px 5px 2px;font-size:7px}
  .ba-line::after{width:10px;height:10px}
}
@media (max-width:600px){
  /* the strip gives the mark back its chip size on a phone: at 80px square a
     cell is most of the screen and two clients at a time is not a roster */
  .cl-mark{flex-basis:56px;width:56px;height:56px}
  .cl-note{position:static;margin-top:var(--s3);flex-direction:row;align-items:flex-end}
  .cl-arrow{width:48px;height:60px}
  /* Before, the arrow and After share one line at any width: the words
     scale with the screen and the arrow gives way first, down to a stub */
  .ba-h{font-size:min(9.6vw,46px);gap:10px}
  .ba-h .ba-arr{min-width:32px}
  .cl-init{font-size:22px}
  .hero-foot{flex-direction:column;align-items:flex-start;gap:22px}
  /* A big headline on a phone, so the hero is type and not a gap, sized so
     the widest line, the slot mid-flip in the mono face, stays inside the
     gutter with the opened-up tracking. Every line is nowrap, so nothing
     can re-wrap and move the lines under it. */
  .hero-h{--hu:min(15.2vw,10.5vh)}
  .letter-meta span:last-child{display:none}
  .mf-note{display:none}
  .env-back,.env-front{height:38vh}
  .an{font-size:8.5px}
  .an-h1{top:-34px}
  .lens .hero-h-wrap{outline-offset:8px}
  .lens .hero-facts,.lens .hero-ctas{outline-offset:6px}
  .lens-toggle{top:auto;margin-top:0;bottom:clamp(40px,7vh,72px);width:78px;height:78px}
}
/* The letter has to FIT the stage. .mf-stage is one viewport tall with
   overflow:hidden, so at full size the letter is taller than the stage on any
   short desktop — a 1366x768 laptop has roughly 660px of viewport — and gets
   clipped. These are height-only queries on purpose: a wide, short laptop
   never matches a rule that also requires max-width. */
@media (max-height:980px){
  .letter{padding:clamp(22px,3.2vw,40px)}
  .letter-meta{margin-bottom:15px}
  .letter-h{font-size:clamp(26px,2.9vw,36px);margin-bottom:16px}
  .letter-b{font-size:15.5px;margin-bottom:11px;line-height:1.5}
  .letter-sign{margin-top:16px}
  .letter-sign .sig{font-size:21px}
}
@media (max-height:780px){
  .letter{padding:clamp(18px,2.4vw,28px)}
  .letter-meta{margin-bottom:11px}
  .letter-h{font-size:clamp(22px,2.4vw,29px);margin-bottom:12px}
  .letter-b{font-size:14px;margin-bottom:8px;line-height:1.46}
  .letter-sign{margin-top:12px}
  .letter-sign .sig{font-size:18px}
}
@media (max-height:700px) and (max-width:600px){
  .letter{padding:20px}
  .letter-h{font-size:24px;margin-bottom:12px}
  .letter-b{font-size:13.5px;margin-bottom:8px;line-height:1.45}
  .letter-meta{margin-bottom:12px}
  .letter-sign{margin-top:12px}
}

/* A gallery wall in perspective. The plate in focus hangs square to you
   under a picture light; its neighbours hang either side, turned away along
   the wall and dimmed, and the one behind waits out of sight. Changing plate
   moves every frame along the wall at once, so the next one comes forward
   while the last one steps back: one continuous move rather than a fade.

   The figures are display:contents, so each plate joins one shared room
   (row 1) and each caption one shared line under it (row 2), while every
   slide stays one figure with its own caption for a screen reader. home.js
   sets data-pos on each: 0 in focus, 1 and -1 beside it, 2 behind. */
.feat{--fe-h:clamp(280px,calc(100vh - 480px),540px);--fe-p:clamp(10px,1.2vw,18px);
  --fe-off:clamp(240px,31vw,480px);background:var(--navy);
  color:var(--cream);padding:clamp(56px,9vh,104px) var(--gut);overflow:hidden}
.fe-head{display:grid;grid-template-columns:1fr;align-items:end;gap:0 24px;margin-bottom:clamp(20px,3vh,36px);
  padding-bottom:18px;border-bottom:1px solid rgba(252,247,241,.18)}
.fe-head .eyebrow{margin-bottom:10px}
.fe-head .h2{margin:0;font-size:clamp(40px,4.6vw,72px)}
.fe{position:relative;touch-action:pan-y}
.fe-stage{position:relative;display:grid;grid-template-columns:minmax(0,1fr);
  grid-template-rows:calc(var(--fe-h) + 2 * var(--fe-p) + 28px) auto;
  perspective:1700px;perspective-origin:50% 42%}
/* the picture light, and the floor it falls on */
.fe-stage::before{content:"";position:absolute;left:50%;top:-6%;width:min(980px,90%);height:96%;
  transform:translateX(-50%);pointer-events:none;
  background:radial-gradient(50% 46% at 50% 26%,rgba(252,247,241,.10),rgba(252,247,241,0) 72%)}
.fe-slide{display:contents;margin:0}
.fe-plate{grid-row:1;grid-column:1;place-self:center;display:inline-flex;padding:var(--fe-p);
  background:var(--cream);position:relative;max-width:min(62%,880px);cursor:var(--cur-press);
  box-shadow:0 50px 80px -46px rgba(0,0,0,.85),0 2px 0 rgba(0,0,0,.08);
  -webkit-box-reflect:below 14px linear-gradient(transparent 78%,rgba(255,255,255,.09));
  transform:translate3d(0,0,-760px) scale(.82);opacity:0;filter:brightness(.4);z-index:1;
  transition:transform 1.3s cubic-bezier(.65,0,.18,1),opacity 1s cubic-bezier(.65,0,.18,1),
             filter 1.1s cubic-bezier(.65,0,.18,1);will-change:transform}
.fe-plate::after{content:"";position:absolute;inset:clamp(5px,.7vw,10px);border:1px solid rgba(181,101,40,.45);pointer-events:none}
.fe-plate picture{display:block}
.fe-plate img{display:block;width:auto;height:auto;max-width:100%;max-height:var(--fe-h)}
.fe-slide[data-pos="0"] .fe-plate{transform:none;opacity:1;filter:none;z-index:3;cursor:inherit}
.fe-slide[data-pos="1"] .fe-plate{transform:translate3d(var(--fe-off),0,-380px) rotateY(-36deg);
  opacity:.62;filter:brightness(.5) saturate(.8);z-index:2}
.fe-slide[data-pos="-1"] .fe-plate{transform:translate3d(calc(-1 * var(--fe-off)),0,-380px) rotateY(36deg);
  opacity:.62;filter:brightness(.5) saturate(.8);z-index:2}
.fe-slide[data-pos="1"] .fe-plate:hover,.fe-slide[data-pos="-1"] .fe-plate:hover{filter:brightness(.72) saturate(.9);opacity:.85}
/* the caption line under the plate in focus */
.fe-txt{grid-row:2;grid-column:1;justify-self:center;display:flex;flex-direction:column;align-items:center;
  text-align:center;gap:8px;margin-top:clamp(14px,2.2vh,26px);opacity:0;visibility:hidden;transform:translateY(10px);
  transition:opacity .5s var(--ease),transform .7s var(--ease),visibility 0s linear .5s}
.fe-slide.on .fe-txt{opacity:1;visibility:visible;transform:none;
  transition:opacity .7s var(--ease) .45s,transform .9s var(--ease) .45s,visibility 0s}
.fe-no{display:none}
.fe-kind{font-size:11px;letter-spacing:.14em;opacity:.7}
.fe-txt b{font-family:var(--serif);font-weight:400;font-size:clamp(24px,2.2vw,34px);line-height:1.05;letter-spacing:-.005em}
.fe-line{font-family:var(--serif);font-style:italic;font-size:16px;line-height:1.4;opacity:.8;max-width:40ch}
.fe-ctl{display:flex;align-items:center;justify-content:center;gap:16px 22px;margin:clamp(18px,3vh,30px) auto 0;
  width:min(520px,100%)}
.fe-n{margin:0;font-size:12px;order:2}
.fe-n b{color:var(--copper-l);font-weight:500}
.fe-dots{display:flex;gap:6px;flex:1 1 80px;order:3}
.fe-dots i{flex:1;height:1px;background:rgba(252,247,241,.25);position:relative;overflow:hidden}
.fe-dots i::after{content:"";position:absolute;inset:0;background:var(--copper-l);transform:scaleX(0);transform-origin:left}
.fe-dots i.done::after{transform:none}
.fe-dots i.on::after{animation:fe-run var(--fe-t,5.5s) linear forwards}
.fe.hold .fe-dots i.on::after{animation-play-state:paused}
@keyframes fe-run{to{transform:none}}
.fe-arrows{display:contents}
.fe-prev{order:1}
.fe-next{order:4}
.fe-arrows button{width:46px;height:46px;flex:0 0 auto;border-radius:50%;border:1px solid rgba(252,247,241,.35);
  background:none;color:var(--cream);font-size:18px;
  transition:background var(--t-sm) var(--ease),border-color var(--t-sm) var(--ease),color var(--t-sm) var(--ease)}
.fe-arrows button:hover,.fe-arrows button:focus-visible{background:var(--cream);color:var(--navy);border-color:var(--cream)}
.rm .fe-plate{transform:none!important;transition:opacity .3s;filter:none}
.rm .fe-slide:not([data-pos="0"]) .fe-plate{opacity:0}
.rm .fe-txt{transition:opacity .3s}
.rm .fe-dots i.on::after{animation:none;transform:none}
@media (max-width:900px){
  .feat{--fe-h:46vh;--fe-off:64vw}
  .fe-plate{max-width:76%}
  .fe-slide[data-pos="1"] .fe-plate{transform:translate3d(var(--fe-off),0,-300px) rotateY(-30deg)}
  .fe-slide[data-pos="-1"] .fe-plate{transform:translate3d(calc(-1 * var(--fe-off)),0,-300px) rotateY(30deg)}
  .fe-ctl{gap:14px}
}
