/* ==========================================================================
   GOLDEN LAW — golden.law  ·  stylesheet v0.2
   Design source: GL Master Website Desktop v50.ai (1440×900 artboards)
   Units: --u = 1 artboard point at the current desktop viewport; --m = 1 point of a 390-wide phone.

   PINNING RULE (v0.2)
   1. Every scene has two zones. The bottom zone stacks upward from the bottom margin; the top zone
      hangs from the top line. Only the space BETWEEN the zones flexes with screen size.
   2. A Fiona display word anchors its column: bottom-left words sit on the bottom margin, top-right
      words hang from the top line. Text panels stack against their column's word at a fixed gap.
   3. A column with no word at the bottom pins its panel to the bottom margin, level with the word
      across from it.
   4. Spacing inside a stack is fixed in design units: panel→word 26, caption→word 10, block→block 36,
      under a top word 40.
   ========================================================================== */

@font-face{font-family:"Equity B Caps";src:url("../fonts/equity_b_caps_regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Triplicate B Poly Caps";src:url("../fonts/triplicate_b_poly_caps_regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}

:root{
  --sumi:#212223; --parchment:#E2DCD0; --patina:#A5987B; --charcoal:#343434;
  --ink:6 6 7; --ink-heavy:34 34 34;
  --f-caps:"Equity B Caps", "Iowan Old Style", Georgia, serif;
  --f-sans:neue-haas-grotesk-display, "Neue Haas Grotesk Display Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-type:"Triplicate B Poly Caps", "Courier New", monospace;
  --u:min(calc(100vw / 1440), calc(100vh / 900));
  --m:min(calc(100vw / 390), calc(100vh / 844), 1.3px);
  --ease:cubic-bezier(.2,.7,.1,1);
  /* type scale (desktop, artboard points) — tunable live in #studio */
  --t-body:15.5; --t-lh:1.34; --t-head:28; --t-hero:35; --t-bio:25; --t-card:19; --t-quote:20; --t-atticus:21; --t-poem:15; --t-nav:19.42; --t-btn:12.6;
  /* type scale (phone, 390 points) */
  --tm-body:15; --tm-head:22; --tm-quote:16; --tm-poem:13.5;
  /* layout constants */
  --sb:62; --st:92; --stl:171; --fade:150;
}

/* responsive line breaks and per-breakpoint elements (moved out of the page head so the CSP needs no inline styles) */
@media (max-aspect-ratio: 1/1), (max-width: 760px){ br.d{display:none} .d-only{display:none!important} }
@media (min-aspect-ratio: 1001/1000) and (min-width: 761px){ .mob-only{display:none!important} }

/* email: the @ is drawn by CSS and the link is assembled by site.js, so the address never sits whole in the HTML */
.at::before{content:"\40"}
.at{font-style:normal}

/* skip links: invisible until focused */
.skips{position:fixed;left:12px;top:12px;z-index:60;display:flex;gap:8px}
.skip{position:absolute;left:-9999px;top:0;background:var(--sumi);color:var(--parchment);border:1px solid var(--parchment);padding:10px 14px;font:14px/1.2 var(--f-sans);cursor:pointer;white-space:nowrap}
.skip:focus{position:static}
.lnk{background:none;border:0;padding:0;font:inherit;color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.lnk:hover,.lnk:focus-visible{color:var(--parchment)}
.foot__l p+p{margin-top:.5em}
.foot__h{font-size:1.05em;color:var(--patina);margin-right:.35em}

/* calm: reduce motion on request (also applied automatically under prefers-reduced-motion) */
html.calm .grain,html.calm .cue::after{animation:none}
@media (prefers-contrast: more){ :root{--ink:33 34 35} .pnl--r,.pnl--l{background:rgb(33 34 35/.9)} .nav a,.body{color:#FAFAF8} }   /* brand-legal: sumi + White, never pure black/white */
*{box-sizing:border-box;margin:0;padding:0}
html{background:var(--sumi);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{background:var(--sumi);color:var(--parchment);font-family:var(--f-sans);overflow-x:clip;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img{display:block}
address{font-style:normal}
button{font:inherit;color:inherit}
a{color:inherit;text-decoration:none}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
::selection{background:rgb(165 152 123 / .45);color:var(--parchment)}
:focus-visible{outline:1px solid var(--parchment);outline-offset:4px}

/* ---------- scroll tracks ---------- */
.track{height:calc(var(--len,1) * 100vh);pointer-events:none}

/* ---------- stage: plates ---------- */
.stage{position:fixed;inset:0;z-index:1;overflow:hidden;background:var(--sumi);contain:strict}
.plate{position:absolute;inset:0;visibility:hidden;overflow:hidden}
.plate.is-on{visibility:visible}
.plate__img{position:absolute;inset:0;overflow:hidden}
.plate__img img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 50%);will-change:transform}
.depth{position:absolute;inset:0;opacity:0}
.depth__l{position:absolute;inset:0;will-change:transform}
.depth__l img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 50%);will-change:transform}
.plate.has-depth .depth{opacity:1}
.plate.has-depth>.plate__img{visibility:hidden}
.plate--split .plate__img--a{right:50%}
.plate--split .plate__img--b{left:calc(715.1 / 1440 * 100%)}
.shade{position:absolute;left:0;right:0;pointer-events:none}
.shade--t{top:0;height:calc(195 * var(--u));background:linear-gradient(to bottom,rgb(var(--ink)/.30) 0%,rgb(var(--ink)/.30) 10%,rgb(var(--ink)/.29) 25%,rgb(var(--ink)/.25) 50%,rgb(var(--ink)/.16) 75%,rgb(var(--ink)/.08) 90%,rgb(var(--ink)/0) 100%)}
.shade--b{bottom:0;height:calc(195 * var(--u));background:linear-gradient(to top,rgb(var(--ink)/.50) 0%,rgb(var(--ink)/.50) 10%,rgb(var(--ink)/.49) 25%,rgb(var(--ink)/.42) 50%,rgb(var(--ink)/.26) 75%,rgb(var(--ink)/.12) 90%,rgb(var(--ink)/0) 100%)}
.plate--heavy .shade--t{background:linear-gradient(to bottom,rgb(var(--ink-heavy)/.60) 0%,rgb(var(--ink-heavy)/.80) 5%,rgb(var(--ink-heavy)/.78) 25%,rgb(var(--ink-heavy)/.65) 50%,rgb(var(--ink-heavy)/.42) 75%,rgb(var(--ink-heavy)/.20) 90%,rgb(var(--ink-heavy)/0) 100%)}
.plate--heavy .shade--b{background:linear-gradient(to top,rgb(var(--ink-heavy)/.80) 0%,rgb(var(--ink-heavy)/.80) 10%,rgb(var(--ink-heavy)/.78) 25%,rgb(var(--ink-heavy)/.66) 50%,rgb(var(--ink-heavy)/.42) 75%,rgb(var(--ink-heavy)/.19) 90%,rgb(var(--ink-heavy)/0) 100%)}
.grain{position:absolute;inset:-50%;z-index:5;pointer-events:none;opacity:var(--grain,.055);mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation:grain .9s steps(6) infinite}
@keyframes grain{0%{transform:translate(0,0)}20%{transform:translate(-6%,3%)}40%{transform:translate(4%,-5%)}60%{transform:translate(-3%,6%)}80%{transform:translate(5%,2%)}100%{transform:translate(0,0)}}
html.no-grain .grain{display:none}

.fx{position:absolute;inset:0;z-index:4;pointer-events:none}
.fx--louver{display:flex}
.slat{position:relative;height:100%;transform-style:preserve-3d;will-change:transform}
.face{position:absolute;inset:0;overflow:hidden;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.face--b{transform:rotateY(180deg)}
.face .dim{position:absolute;inset:0;background:rgb(var(--ink));opacity:0}
.ring{position:absolute;left:50%;top:50%;border:1px solid var(--patina);transform:translate(-50%,-50%);pointer-events:none}
.seam{position:absolute;top:0;bottom:0;left:50%;width:1px;background:var(--patina);opacity:0;pointer-events:none}
.veil{position:absolute;inset:0;background:rgb(var(--ink));opacity:0;pointer-events:none}

/* ---------- scenes ---------- */
.scenes{position:fixed;inset:0;z-index:2;pointer-events:none}
.scene{position:absolute;inset:0;visibility:hidden}
.scene.is-on{visibility:visible}
.scene.is-on .hit{pointer-events:auto}
.lift{position:absolute;inset:0}

/* absolute placement (title boxes) */
.p{position:absolute}
.C{left:calc(50% + (var(--x) - 720) * var(--u))}
.M{top:calc(50% + (var(--y) - 450) * var(--u))}
.W{width:calc(var(--w) * var(--u))}
.H{height:calc(var(--h) * var(--u))}
.center{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}

/* stacks — the pinning rule */
.stack{position:absolute;display:flex;flex-direction:column;pointer-events:none}
.stack--bl{left:0;right:0;bottom:calc(var(--sb) * var(--u));align-items:flex-start}
.stack--br{right:0;bottom:calc(var(--sb) * var(--u));align-items:flex-end}
.stack--tr{right:0;top:calc(var(--st) * var(--u));align-items:flex-end}
.stack--tl{left:0;top:calc(var(--stl) * var(--u));align-items:flex-start}
.gw{margin-bottom:calc(26 * var(--u))}
.gc{margin-bottom:calc(10 * var(--u))}
.gb{margin-bottom:calc(36 * var(--u))}
.gt{margin-top:calc(40 * var(--u))}
.wx{margin-left:calc(var(--wx) * var(--u))}
.wr{margin-right:calc(var(--wr) * var(--u))}

/* Fiona display words */
.word{display:block;color:var(--patina);overflow:visible;position:relative;width:calc(var(--w) * var(--u));clip-path:inset(-60% -6% 0 -6%);flex:none}
.word.top{clip-path:inset(0 -6% -60% -6%)}
.word svg{display:block;width:100%;height:auto;overflow:visible;fill:currentColor}
.box__word{position:absolute}

/* type */
.caps{font-family:var(--f-caps);color:var(--patina);font-weight:400;letter-spacing:0;line-height:1.1;font-feature-settings:"kern" 1,"liga" 1}
.s{font-size:70%;text-transform:uppercase}
.th{font-size:calc(var(--t-head) * var(--u))}
.th-hero{font-size:calc(var(--t-hero) * var(--u))}
.th-bio{font-size:calc(var(--t-bio) * var(--u))}
.hc{font-size:calc(var(--t-card) * var(--u))}
.quote{font-family:var(--f-caps);color:var(--patina);font-size:calc(var(--t-quote) * var(--u));line-height:1.4;text-align:center;letter-spacing:0;white-space:nowrap}
.body{font-family:var(--f-sans);font-size:max(14px,calc(var(--t-body) * var(--u)));line-height:var(--t-lh);color:var(--parchment);font-weight:400;letter-spacing:.0225em}
.body p+p{margin-top:.8em}
.upper{text-transform:uppercase;letter-spacing:.024em}
.just{text-align:justify;hyphens:manual}
.poem{font-family:var(--f-type);font-size:max(12px,calc(var(--t-poem) * var(--u)));line-height:1.3;color:var(--parchment);letter-spacing:0}
.poem p+p{margin-top:1.05em}
.poem span{display:block}
.rt{text-align:right}
.ctr{text-align:center}
.nc{text-transform:none}
.hd{margin-bottom:calc(10 * var(--u))}
.g{margin-bottom:calc(var(--g) * var(--u))}
.ind{text-indent:calc(var(--ind) * var(--u))}
.pg p+p{margin-top:calc(var(--pg) * var(--u))}
.ny{margin-top:calc(22 * var(--u))}
.m-yield{transition:opacity .45s var(--ease)}
/* Reframe poems: left poem sits on LAW (rule 2), right poem hangs under ART */
.poems{position:absolute;inset:0;pointer-events:none}
.poem--l{position:absolute;left:calc(44 * var(--u));bottom:calc((var(--sb) + 105.7 + 26) * var(--u))}
.poem--r{position:absolute;right:calc(48 * var(--u));top:calc((var(--st) + 103.1 + 40) * var(--u))}

/* panels: the feathered bands of v50, now sized by their content */
.pnl{position:relative;padding:calc(var(--pt,16) * var(--u)) calc(var(--pr,var(--fade)) * var(--u)) calc(var(--pb,18) * var(--u)) calc(var(--pl,42) * var(--u))}
.pnl .w{width:calc(var(--w) * var(--u))}
.pnl--r{background:linear-gradient(90deg,rgb(var(--ink)/var(--pa,.5)) 0,rgb(var(--ink)/var(--pa,.5)) calc(100% - var(--fade) * var(--u)),rgb(var(--ink)/.22) calc(100% - var(--fade) * .45 * var(--u)),rgb(var(--ink)/0) 100%)}
.pnl--l{--pl:var(--fade);--pr:42;background:linear-gradient(270deg,rgb(var(--ink)/var(--pa,.5)) 0,rgb(var(--ink)/var(--pa,.5)) calc(100% - var(--fade) * var(--u)),rgb(var(--ink)/.22) calc(100% - var(--fade) * .45 * var(--u)),rgb(var(--ink)/0) 100%)}
.pnl--rh{background:linear-gradient(90deg,rgb(var(--ink-heavy)/.8) 0,rgb(var(--ink-heavy)/.8) calc(100% - var(--fade) * var(--u)),rgb(var(--ink-heavy)/.35) calc(100% - var(--fade) * .45 * var(--u)),rgb(var(--ink-heavy)/0) 100%)}
.pnl--lh{--pl:var(--fade);--pr:42;background:linear-gradient(270deg,rgb(var(--ink-heavy)/.8) 0,rgb(var(--ink-heavy)/.8) calc(100% - var(--fade) * var(--u)),rgb(var(--ink-heavy)/.35) calc(100% - var(--fade) * .45 * var(--u)),rgb(var(--ink-heavy)/0) 100%)}

/* expandable text */
.clamp{position:relative;overflow:hidden}
.clamp.is-clamped{-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 1.5em),transparent 100%);mask-image:linear-gradient(to bottom,#000 calc(100% - 1.5em),transparent 100%)}
.clamp.is-scroll{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--patina) transparent}
.more{display:inline-flex;align-items:center;gap:calc(9 * var(--u));margin-top:calc(10 * var(--u));padding:calc(6 * var(--u)) 0;background:none;border:0;cursor:pointer;font-family:var(--f-caps);color:var(--patina);font-size:calc(16 * var(--u));letter-spacing:.02em;transition:color .3s var(--ease)}
.more:hover,.more:focus-visible{color:var(--parchment)}
.pm{position:relative;display:inline-block;width:calc(9 * var(--u));height:calc(9 * var(--u));flex:none}
.pm::before,.pm::after{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:currentColor;transition:transform .4s var(--ease)}
.pm::after{transform:rotate(90deg)}
[aria-expanded="true"] .pm::after{transform:rotate(0deg)}

/* title box (center square) */
.box{position:absolute}
.box__fill{position:absolute;inset:0;background:var(--sumi);opacity:.84}
.box__rule{position:absolute;inset:0;border:1px solid var(--patina)}
.box__rule--in{inset:calc(41.9 * var(--u))}
.box__quote{position:absolute;left:4%;right:4%;top:19%;margin:0}
.box__quote .quote{font-size:calc(var(--t-atticus) * var(--u))}
.box__cite{display:block;margin-top:calc(26 * var(--u))}

/* counsel quote frame (sized by content, centered) */
.qbox{position:relative;width:calc(382.87 * var(--u));padding:calc(30 * var(--u)) calc(16 * var(--u))}
.qbox .qlist{position:relative;display:flex;flex-direction:column;align-items:center;gap:calc(17 * var(--u));margin:0}
.qbox .quote{line-height:1.2}
.qbox::before{content:"";position:absolute;inset:0;background:var(--sumi);opacity:.74}

/* practice */
.slot{display:grid;align-items:end;justify-items:start}
.slot>*{grid-area:1/1}
.cards{display:flex;align-items:flex-end;gap:calc(19.8 * var(--u));padding-left:calc(36.66 * var(--u))}
.card{position:relative;width:calc(211.28 * var(--u));flex:none}
.card__bg{position:absolute;inset:0;background:rgb(var(--ink));opacity:.42}
.card__h{position:relative;display:flex;justify-content:space-between;align-items:center;gap:calc(8 * var(--u));width:100%;padding:calc(13 * var(--u)) calc(12 * var(--u));background:none;border:0;cursor:pointer;text-align:left;color:var(--patina);transition:color .3s var(--ease)}
.card__h:hover,.card__h:focus-visible{color:var(--parchment)}
.card__h .caps{color:inherit;white-space:nowrap}
.card__t{font-size:inherit;font-weight:inherit}
.card__b{position:relative;height:0;overflow:hidden;visibility:hidden}
.card__b.is-open{visibility:visible}
.card__b p{padding:0 calc(12 * var(--u)) calc(16 * var(--u))}

/* press row */
.press{position:relative;align-self:stretch;display:flex;justify-content:space-between;align-items:center;padding:0 calc(36 * var(--u)) 0 calc(37.5 * var(--u))}
.press img{height:calc(var(--h) * var(--u));width:auto;object-fit:contain;opacity:var(--press-o,1)}

/* double-rule button */
.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:calc(193.73 * var(--u));height:calc(57.49 * var(--u));color:var(--patina);font-family:var(--f-caps);font-size:calc(var(--t-btn) * var(--u));letter-spacing:.04em;text-transform:uppercase;transition:color .35s var(--ease)}
.btn::before,.btn::after{content:"";position:absolute;border:1px solid var(--patina);transition:border-color .35s var(--ease)}
.btn::before{inset:0}
.btn::after{inset:calc(13 * var(--u)) calc(15.75 * var(--u))}
.btn span{position:relative}
.btn:hover,.btn:focus-visible{color:var(--parchment);outline:none}
.btn:hover::before,.btn:hover::after,.btn:focus-visible::before,.btn:focus-visible::after{border-color:var(--parchment)}
.btnrow{margin-top:calc(26 * var(--u))}

/* footer (Engage, final state) */
.foot{position:absolute;left:0;right:0;bottom:0;z-index:3;background:rgb(33 34 35 / .95);border-top:1px solid rgb(165 152 123 / .35);padding:calc(22 * var(--u)) calc(46 * var(--u)) calc(24 * var(--u));display:grid;grid-template-columns:1.6fr 1fr;gap:calc(14 * var(--u)) calc(60 * var(--u));font-family:var(--f-sans);font-size:max(12.5px,calc(13.5 * var(--u)));line-height:1.5;letter-spacing:.015em;color:rgb(226 220 208 / .8)}
.foot .caps{font-size:max(13px,calc(16 * var(--u)));margin-bottom:calc(6 * var(--u))}
.foot a{text-decoration:underline;text-underline-offset:3px}
.foot .r{text-align:right;align-self:end}
.foot p{max-width:none}

/* ---------- chrome ---------- */
.chrome{position:fixed;inset:0 0 auto 0;z-index:10;height:0;pointer-events:none}
.mono{position:absolute;left:calc(20.1 * var(--u));top:calc(17.4 * var(--u));width:calc(72 * var(--u));height:calc(72 * var(--u));pointer-events:auto;color:var(--patina);display:block;transition:color .35s var(--ease)}
.mono svg{width:100%;height:100%;overflow:visible}
.mono:hover,.mono:focus-visible{color:var(--parchment);outline:none}
.place{position:absolute;left:calc(122 * var(--u));top:calc(23.6 * var(--u));font-size:calc(var(--t-nav) * var(--u));white-space:nowrap}
.nav{position:absolute;right:calc(20 * var(--u));top:calc(23.6 * var(--u));display:flex;gap:calc(47.6 * var(--u));pointer-events:auto}
.nav a{font-size:calc(var(--t-nav) * var(--u));white-space:nowrap;position:relative;transition:color .35s var(--ease)}
.nav a::after{content:"";position:absolute;left:0;right:0;bottom:calc(-6 * var(--u));height:1px;background:var(--parchment);transform:scaleX(0);transform-origin:left;transition:transform .5s var(--ease)}
.nav a:hover,.nav a:focus-visible,.nav a[aria-current="true"]{color:var(--parchment);outline:none}
.nav a:hover::after,.nav a:focus-visible::after,.nav a[aria-current="true"]::after{transform:scaleX(1)}
.menu-btn,.menu{display:none}
.cue{position:absolute;right:calc(36 * var(--u));bottom:calc(34 * var(--u));width:1px;height:calc(64 * var(--u));background:rgb(165 152 123 / .25);overflow:hidden}
.cue::after{content:"";position:absolute;left:0;top:0;width:1px;height:40%;background:var(--patina);animation:cue 2.4s var(--ease) infinite}
@keyframes cue{0%{transform:translateY(-100%)}60%,100%{transform:translateY(260%)}}

/* ---------- studio panel (#studio) ---------- */
.studio{position:fixed;right:12px;bottom:12px;z-index:50;background:rgb(33 34 35 / .95);border:1px solid var(--patina);color:var(--parchment);font:12px/1.4 var(--f-sans);padding:12px 14px;width:258px;display:none;backdrop-filter:blur(6px);max-height:calc(100vh - 24px);overflow:auto}
html.studio-open .studio{display:block}
.studio .code{font-family:var(--f-type);font-size:12px;color:var(--parchment);margin:10px 0 6px;letter-spacing:.04em;word-spacing:.2em}
.studio .copy{width:100%}
.labbtn{position:fixed;left:50%;top:max(12px, env(safe-area-inset-top));transform:translateX(-50%);z-index:61;height:36px;padding:0 16px;background:rgb(33 34 35/.85);color:var(--patina);border:1px solid var(--patina);font:14px/1 var(--f-sans);letter-spacing:.08em;cursor:pointer}
html.embed :is(.studio,.skips,.labbtn){display:none!important}
@media (max-aspect-ratio: 1/1), (max-width: 760px){ .studio{left:8px;right:8px;bottom:8px;width:auto;max-height:62vh} }
.studio h4{font-family:var(--f-caps);color:var(--patina);font-weight:400;font-size:15px;letter-spacing:.06em;margin:4px 0 8px}
.studio label{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:6px 0}
.studio output{min-width:30px;text-align:right;color:var(--patina)}
.studio select,.studio input[type=range]{font:inherit;background:var(--sumi);color:var(--parchment);border:1px solid #4F4E4D;padding:4px;min-height:30px;max-width:120px}
.studio .jump{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:8px}
.studio button{font:inherit;background:transparent;color:var(--patina);border:1px solid #4F4E4D;padding:6px 0;cursor:pointer;min-height:30px}
.studio button:hover{border-color:var(--parchment);color:var(--parchment)}
.studio .hide{position:absolute;top:6px;right:8px;border:0;min-height:0;padding:2px 6px}

/* ---------- single-page reading mode (no JS, or "Read the site as a single page") ---------- */
html.no-js .tracks,html.no-js .stage,html.static .tracks,html.static .stage,html.no-js .cue,html.static .cue,html.no-js .menu-btn,html.static .menu-btn{display:none}
html.no-js body,html.static body{overflow:auto}
html.no-js .chrome,html.static .chrome{position:absolute}
html.no-js .scenes,html.static .scenes{position:relative;inset:auto;pointer-events:auto}
html.no-js .scene,html.static .scene{position:relative;inset:auto;visibility:visible;opacity:1;min-height:100vh;display:flex;flex-direction:column;justify-content:flex-end;gap:calc(28 * var(--u));padding:calc(120 * var(--u)) 0 calc(36 * var(--u));background:var(--sumi) center/cover no-repeat;overflow:hidden}
html.no-js .scene .hit,html.static .scene .hit{pointer-events:auto}
html.no-js :is(.stack,.box,.center,.poems,.lift,.poem--l,.poem--r,.foot),html.static :is(.stack,.box,.center,.poems,.lift,.poem--l,.poem--r,.foot){position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important}
html.no-js :is(.stack--tr,.stack--br),html.static :is(.stack--tr,.stack--br){align-self:flex-end}
html.no-js .box,html.static .box{margin:0 auto}
html.no-js .box:has(.box__quote) .box__word,html.static .box:has(.box__quote) .box__word{display:none}
html.no-js .poems,html.static .poems{display:flex;justify-content:space-between;gap:24px;padding:0 calc(44 * var(--u))}
html.no-js .pia,html.static .pia,html.no-js .more,html.static .more{display:none}
html.no-js .clamp,html.static .clamp{height:auto!important;-webkit-mask-image:none;mask-image:none}
html.no-js .card__b,html.static .card__b{height:auto!important;visibility:visible}
html.no-js .cards,html.static .cards{flex-wrap:wrap}
html.no-js .foot,html.static .foot{margin-top:calc(20 * var(--u))}
html.no-js #home,html.static #home{background-image:linear-gradient(rgb(6 6 7/.25),rgb(6 6 7/.55)),url(../img/home-1440.webp)}
html.no-js #reframe,html.static #reframe{background-image:linear-gradient(rgb(6 6 7/.35),rgb(6 6 7/.6)),url(../img/reframe-1440.webp)}
html.no-js #counsel,html.static #counsel{background-image:linear-gradient(rgb(6 6 7/.35),rgb(6 6 7/.6)),url(../img/trump-960.webp),url(../img/ye-960.webp);background-size:cover,50% auto,50% auto;background-position:center,left center,right center}
html.no-js #us,html.static #us{background-image:linear-gradient(rgb(6 6 7/.35),rgb(6 6 7/.6)),url(../img/us-1440.webp)}
html.no-js #practice,html.static #practice{background-image:linear-gradient(rgb(6 6 7/.35),rgb(6 6 7/.6)),url(../img/practice-1440.webp)}
html.no-js #media,html.static #media{background-image:linear-gradient(rgb(6 6 7/.35),rgb(6 6 7/.6)),url(../img/media-1440.webp)}
html.no-js #opposition,html.static #opposition{background-image:linear-gradient(rgb(34 34 34/.45),rgb(34 34 34/.7)),url(../img/opposition-1440.webp)}
html.no-js #engage,html.static #engage{background-image:linear-gradient(rgb(34 34 34/.45),rgb(34 34 34/.7)),url(../img/engage-1440.webp)}
body.nf{display:grid;place-items:center;min-height:100vh;text-align:center}
body.nf .body a{text-decoration:underline;color:var(--parchment)}

/* ==========================================================================
   PHONE / PORTRAIT (iPhone reference 390×844)
   ========================================================================== */
@media (max-aspect-ratio: 1/1), (max-width: 760px){
  .shade--t{height:calc(150 * var(--m))}
  .shade--b{height:calc(280 * var(--m))}
  .plate--split .plate__img--a{right:0;height:100%}
  .plate--split .plate__img--b{left:0;top:100%;height:100%}
  .plate__img img,.depth__l img{object-position:var(--mpos,var(--pos,50% 50%))}

  .mono{left:calc(16 * var(--m));top:max(14px, env(safe-area-inset-top));width:calc(48 * var(--m));height:calc(48 * var(--m))}
  .place,.nav{display:none}
  .menu-btn{display:block;position:absolute;right:calc(16 * var(--m));top:max(14px, env(safe-area-inset-top));height:calc(48 * var(--m));padding:0 calc(4 * var(--m));font-family:var(--f-caps);font-size:calc(19 * var(--m));color:var(--patina);background:none;border:0;pointer-events:auto;cursor:pointer}
  .menu{display:flex;position:fixed;inset:0;z-index:20;background:rgb(33 34 35 / .96);flex-direction:column;justify-content:center;padding:0 calc(32 * var(--m));gap:calc(22 * var(--m));opacity:0;visibility:hidden;transition:opacity .45s var(--ease),visibility .45s}
  html.menu-open .menu{opacity:1;visibility:visible}
  .menu a{font-family:var(--f-caps);font-size:calc(40 * var(--m));color:var(--patina)}
  .menu .menu-mail{font-size:calc(15 * var(--m));color:var(--parchment);margin-top:calc(24 * var(--m));letter-spacing:.08em}
  .menu-close{position:absolute;right:calc(16 * var(--m));top:max(14px, env(safe-area-inset-top));height:calc(48 * var(--m));background:none;border:0;color:var(--patina);font-family:var(--f-caps);font-size:calc(19 * var(--m))}

  .stack--bl,.stack--br{left:0;right:0;bottom:calc(var(--msb,24) * var(--m))}
  .stack--br{align-items:stretch}
  .stack--tr,.stack--tl{left:0;right:0;top:calc(var(--mst,82) * var(--m))}
  .stack--br.m-top{bottom:auto;top:calc(var(--mst,176) * var(--m))}
  .stack--tl.m-bottom{top:auto;bottom:calc(var(--msb,24) * var(--m))}
  .g{margin-bottom:calc(min(var(--g), 12) * var(--m))}
  .ind{text-indent:calc(min(var(--ind), 14) * var(--m))}
  .pg p+p{margin-top:calc(min(var(--pg), 12) * var(--m))}
  .ny{margin-top:calc(16 * var(--m))}
  .scene.has-open .m-yield{opacity:0}
  .poems{top:calc(156 * var(--m));bottom:calc(104 * var(--m));display:grid;align-items:center}
  html.static .poems,html.no-js .poems{flex-direction:column}
  .poem--l,.poem--r{position:static;grid-area:1/1;padding:0 calc(22 * var(--m))}
  .gw{margin-bottom:calc(18 * var(--m))}.gc{margin-bottom:calc(8 * var(--m))}.gb{margin-bottom:calc(20 * var(--m))}.gt{margin-top:calc(22 * var(--m))}
  .wx{margin-left:calc(22 * var(--m))}
  .wr{margin-right:calc(22 * var(--m))}
  .word{width:calc(var(--mw) * var(--m))}
  .stack--tr .word{margin-left:auto}

  .th,.th-bio{font-size:calc(var(--tm-head) * var(--m))}
  .th-hero{font-size:calc(26 * var(--m))}
  .hc{font-size:calc(19 * var(--m))}
  .quote{font-size:calc(var(--tm-quote) * var(--m));white-space:normal}
  .box__quote .quote{font-size:calc(14.5 * var(--m));white-space:nowrap}
  .body{font-size:calc(var(--tm-body) * var(--m));line-height:1.38}
  .just{text-align:left}
  .poem{font-size:calc(var(--tm-poem) * var(--m));line-height:1.32}
  .rt.mlt{text-align:left}
  .hd{margin-bottom:calc(8 * var(--m))}
  .more{font-size:calc(15 * var(--m));gap:calc(8 * var(--m));margin-top:calc(8 * var(--m))}
  .pm{width:calc(9 * var(--m));height:calc(9 * var(--m))}

  .pnl{--pt:16;--pb:16;padding:calc(16 * var(--m)) calc(22 * var(--m));align-self:stretch;background:rgb(var(--ink)/var(--pa,.56))}
  .pnl--rh,.pnl--lh{background:rgb(var(--ink-heavy)/.84)}
  .pnl .w{width:auto}

  .box__rule--in{inset:calc(30 * var(--m))}
  .mcx{left:calc(50% - var(--mw) * var(--m) / 2)!important;right:auto!important}
  .mt{top:calc(var(--mt) * var(--m))!important}
  .mw{width:calc(var(--mw) * var(--m))!important}
  .mh{height:calc(var(--mh) * var(--m))!important}
  .box__cite{margin-top:calc(14 * var(--m))}
  .qbox{width:calc(330 * var(--m));padding:calc(22 * var(--m)) calc(12 * var(--m))}
  .qbox::before{opacity:.84}
  .qbox .qlist{gap:calc(12 * var(--m))}

  .slot{align-self:stretch;justify-items:stretch}
  .cards{flex-direction:column;align-items:stretch;gap:calc(6 * var(--m));padding:0 calc(16 * var(--m))}
  .card{width:auto}
  .card__bg{opacity:.62}
  .card__h{padding:calc(13 * var(--m)) calc(16 * var(--m))}
  .card__b p{padding:0 calc(16 * var(--m)) calc(16 * var(--m))}
  .press{display:grid;grid-template-columns:repeat(4,1fr);row-gap:calc(16 * var(--m));column-gap:calc(10 * var(--m));justify-items:center;padding:0 calc(22 * var(--m))}
  .press img{height:calc(var(--h) * .62 * var(--m));max-width:100%}
  .btn{width:calc(200 * var(--m));height:calc(56 * var(--m));font-size:calc(13 * var(--m))}
  .btn::after{inset:calc(12 * var(--m)) calc(15 * var(--m))}
  .btnrow{margin-top:calc(18 * var(--m))}
  .foot{grid-template-columns:1fr;padding:calc(16 * var(--m)) calc(22 * var(--m)) calc(max(16px, env(safe-area-inset-bottom)));font-size:12.5px;gap:8px}
  .foot .r{text-align:left}
  .cue{right:calc(22 * var(--m));bottom:calc(28 * var(--m));height:calc(56 * var(--m))}
}

/* ---------- alternate version ---------- */
.mast{position:absolute;left:50%;top:calc(74 * var(--u));width:calc(1159 * var(--u));margin-left:calc(-579.5 * var(--u));color:var(--patina);clip-path:inset(-60% -6% 0 -6%)}
.mast svg{display:block;width:100%;height:auto;overflow:visible;fill:currentColor}
.statement{max-width:calc(1060 * var(--u));text-align:center;padding:calc(48 * var(--u)) calc(70 * var(--u));background:radial-gradient(ellipse at center,rgb(var(--ink-heavy)/.82) 0,rgb(var(--ink-heavy)/.6) 55%,rgb(var(--ink-heavy)/0) 78%)}
.eyebrow{font-size:calc(18 * var(--u));letter-spacing:.14em;margin-bottom:calc(20 * var(--u))}
.stmt{font-size:calc(44 * var(--u));line-height:1.18;color:var(--parchment)}
.dim{position:absolute;inset:0;background:var(--sumi);opacity:0;pointer-events:none}
.seal-wrap{z-index:2}
.seal{display:flex;flex-direction:column;align-items:center}
.seal__mono{width:calc(210 * var(--u));height:calc(210 * var(--u));color:var(--patina);overflow:visible}
.seal__mono rect{stroke-dasharray:1;stroke-dashoffset:0}
@media (max-aspect-ratio: 1/1), (max-width: 760px){
  .mast{top:calc(74 * var(--m));width:calc(346 * var(--m));margin-left:calc(-173 * var(--m))}
  .statement{max-width:none;margin:0 calc(14 * var(--m));padding:calc(28 * var(--m)) calc(18 * var(--m));background:rgb(var(--ink-heavy)/.82)}
  .eyebrow{font-size:calc(14 * var(--m))}
  .stmt{font-size:calc(25 * var(--m))}
  .seal__mono{width:calc(150 * var(--m));height:calc(150 * var(--m))}
  .seal-wrap{align-items:flex-start;padding-top:calc(150 * var(--m))}
}
html.static .mast,html.no-js .mast{display:none}

/* ==========================================================================
   v0.6 LAYOUT — side boxes (Counsel, Us, Engage), placards (Practice, Media, Opposition), title-box sequences
   ========================================================================== */
/* Home: the line under Legal Atelier, one point smaller */
.hero-sub{font-size:max(13px,calc((var(--t-body) - 1) * var(--u)))}
/* title-box text that carries no citation sits centred in the box */
.box__quote--c{top:50%;transform:translateY(-50%)}
/* the expander is the + alone */
.more{min-width:max(24px,calc(28 * var(--u)));min-height:max(24px,calc(28 * var(--u)))}
.rt .more{justify-content:flex-end}
.more .pm{width:calc(12 * var(--u));height:calc(12 * var(--u))}
/* placards: the P4 card at half the screen, one template on all three slides, whatever the Lab's P setting */
:root .scene .pnl.plk{--pl:30;--pr:30;--pt:22;--pb:24;margin-left:calc(26 * var(--u));background:rgb(33 34 35/.9);outline:1px solid rgb(165 152 123/.45);outline-offset:calc(-9 * var(--u));-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
:root .scene .pnl.plk::before{content:none}
/* the six practice areas: one row under The Practice, starting at its left edge */
.cwrap{align-self:stretch}
.cards{padding-left:calc(26 * var(--u))}
.card{width:calc(214.8 * var(--u))}
/* side boxes stop feathering where the centre box begins, so no band runs behind it */
.tpnl,.ypnl,.kbio,.abio,.epnl{--fade:66}
.eaddr{--fade:46}
/* a box whose text already fits shows no fade and no + (the + keeps its place so the three placards stay one height) */
.clamp.fits{-webkit-mask-image:none!important;mask-image:none!important}
.clamp.fits+div .more{visibility:hidden}
/* B5 on a right-hand box: the underline grows from the right */
.rt .btn::before{transform-origin:right}
/* small type over the photographs (nav, place line) carries a soft dark halo so it reads on bright skies */
.nav a,.place{text-shadow:0 0 10px rgb(6 6 7/.85),0 0 24px rgb(6 6 7/.65)}
/* the Media quote sits over the bright fireplace: its band is denser */
.mq .pnl--lh{background:linear-gradient(270deg,rgb(var(--ink-heavy)/.9) 0,rgb(var(--ink-heavy)/.9) calc(100% - var(--fade) * var(--u)),rgb(var(--ink-heavy)/.4) calc(100% - var(--fade) * .45 * var(--u)),rgb(var(--ink-heavy)/0) 100%)}
/* Us: ANDREW hangs over a bright storefront; the top shade runs deeper there */
html[data-g="6"] .plate[data-id="us"] .shade--t{height:calc(330 * var(--u))}
/* iPhone: the same halo for the Menu control, the hero lines and the Reframe poems; Engage's contact box is dense
   because the footer lifts it over open sky; ANDREW's top shade runs deeper over the storefront */
@media (max-aspect-ratio: 1/1), (max-width: 760px){
  .menu-btn,.hero-firm,.hero-atelier{text-shadow:0 0 10px rgb(6 6 7/.85),0 0 24px rgb(6 6 7/.65)}
  .poem{text-shadow:0 0 8px rgb(6 6 7/.9),0 0 20px rgb(6 6 7/.7)}
  .epnl,.eaddr{background:rgb(var(--ink-heavy)/.88)}
  .kbio,.abio{--pa:.72}
  .tpnl,.ypnl{--pa:.68}
  html[data-g="6"] .plate[data-id="us"] .shade--t{height:calc(300 * var(--m))}
  html[data-g="6"] .shade--t{height:calc(190 * var(--m))}
  /* the Reframe poems run over the bright middle of the plate on a phone: each sits on the panel band */
  .poem--l,.poem--r{align-self:center;background:rgb(var(--ink)/.6);padding:calc(18 * var(--m)) calc(22 * var(--m))}
}
/* Engage: both offices side by side on one band */
.addr2{display:grid;grid-template-columns:auto auto;column-gap:calc(56 * var(--u))}
@media (max-aspect-ratio: 1/1), (max-width: 760px){
  .hero-sub{font-size:calc((var(--tm-body) - 1) * var(--m))}
  :root .scene .pnl.plk{margin-left:calc(12 * var(--m));margin-right:calc(12 * var(--m));padding:calc(22 * var(--m)) calc(22 * var(--m)) calc(20 * var(--m));outline-offset:calc(-7 * var(--m))}
  .cards{padding:0 calc(12 * var(--m))}
  .card{width:auto}
  .addr2{grid-template-columns:1fr;row-gap:calc(14 * var(--m))}
  .more{min-width:32px;min-height:32px}
  .more .pm{width:calc(11 * var(--m));height:calc(11 * var(--m))}
  /* Andrew's bio reads left on the phone, where justified right-hand text would be hard to read */
  .abio,.abio .rt{text-align:left}
  .abio .rt .more{justify-content:flex-start}
}

/* ==========================================================================
   v0.7 THE FLOOR — every box sits on the line the hero's Legal Atelier box sits on
   Desktop: --floor design points from the bottom. A box above a word keeps the gap that remains (.gf, from the word's
   height --wh and the word's margin --sb); a box with nothing under it stands on the floor (.lvl).
   Phone: the hero's word-to-box distance (54.5) above each word; free-standing boxes level with the box across.
   ========================================================================== */
:root{--floor:240;--mfloor:234.5}
.gf{margin-bottom:calc((var(--floor) - var(--sb) - var(--wh)) * var(--u))}
.stack--br.lvl{bottom:calc(var(--floor) * var(--u))}
.gp{margin-bottom:calc(12 * var(--u))}
.press{margin-bottom:calc(18 * var(--u))}
#counsel .center{align-items:flex-end;padding-bottom:calc(var(--floor) * var(--u))}   /* the quotes share the side boxes' bottom line */
.poem--l{bottom:calc(var(--floor) * var(--u))}
/* Practice: the six areas are The Practice's own sub-boxes — a 3 × 2 grid at its width, directly beneath it */
/* v0.8: the six practice areas run in one row across the screen, under The Practice */
.cwrap{align-self:stretch;width:auto;margin-left:calc(26 * var(--u));margin-right:calc(26 * var(--u))}
.cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:calc(12 * var(--u));padding:0;align-items:start}
/* v0.8: Practice and Opposition placards show their whole text on desktop; no + is drawn */
@media (min-aspect-ratio: 1001/1000) and (min-width: 761px){
  .plk.full .clamp{height:auto!important;-webkit-mask-image:none!important;mask-image:none!important}
  .plk.full .clamp+div{display:none}
}
.cards .card{width:auto}
.card__bg{background:var(--sumi);opacity:.88}
.card__b.is-scroll{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--patina) transparent}
/* Engage: the offices stacked */
.addr1>div+div{margin-top:calc(22 * var(--u))}
@media (max-aspect-ratio: 1/1), (max-width: 760px){
  .gf{margin-bottom:calc(var(--gfm, 54.5) * var(--m))}
  .stack--br.lvl{bottom:calc(var(--mfloor) * var(--m))}
  html[data-m="2"] .stack--br.lvl{bottom:calc((var(--mfloor) + 60) * var(--m))}
  .press{margin-bottom:calc(14 * var(--m))}
  #counsel .center{align-items:center;padding-bottom:0}
  .gp{margin-bottom:calc(10 * var(--m))}
  .cwrap{width:auto;margin-left:0;margin-right:0;align-self:stretch}
  .cards{display:flex;flex-direction:column;align-items:stretch;gap:calc(6 * var(--m));padding:0 calc(12 * var(--m))}
  .addr1>div+div{margin-top:calc(14 * var(--m))}
}

/* ==========================================================================
   OPTIONS LAB — every option is a data attribute on <html>; codes match the Lab and compare page
   ========================================================================== */
/* B · buttons */
html[data-b="2"] .btn{width:auto;height:auto;padding:calc(15 * var(--u)) calc(26 * var(--u))}
html[data-b="2"] .btn::after{display:none}
html[data-b="2"] .btn span::after{content:"→";display:inline-block;margin-left:.7em;transition:transform .4s var(--ease)}
html[data-b="2"] .btn:hover span::after,html[data-b="2"] .btn:focus-visible span::after{transform:translateX(5px)}
html[data-b="3"] .btn{width:auto;height:auto;padding:calc(17 * var(--u)) calc(30 * var(--u));background:var(--patina);color:var(--sumi)}
html[data-b="3"] .btn::before,html[data-b="3"] .btn::after{display:none}
html[data-b="3"] .btn:hover,html[data-b="3"] .btn:focus-visible{background:var(--parchment);color:var(--sumi)}
html[data-b="4"] .btn{width:auto;height:auto;padding:calc(17 * var(--u)) calc(30 * var(--u));--tk:calc(12 * var(--u));
  background:linear-gradient(var(--c,var(--patina)),var(--c,var(--patina))) 0 0/var(--tk) 1px,linear-gradient(var(--c,var(--patina)),var(--c,var(--patina))) 0 0/1px var(--tk),
  linear-gradient(var(--c,var(--patina)),var(--c,var(--patina))) 100% 0/var(--tk) 1px,linear-gradient(var(--c,var(--patina)),var(--c,var(--patina))) 100% 0/1px var(--tk),
  linear-gradient(var(--c,var(--patina)),var(--c,var(--patina))) 0 100%/var(--tk) 1px,linear-gradient(var(--c,var(--patina)),var(--c,var(--patina))) 0 100%/1px var(--tk),
  linear-gradient(var(--c,var(--patina)),var(--c,var(--patina))) 100% 100%/var(--tk) 1px,linear-gradient(var(--c,var(--patina)),var(--c,var(--patina))) 100% 100%/1px var(--tk);background-repeat:no-repeat}
html[data-b="4"] .btn::before,html[data-b="4"] .btn::after{display:none}
html[data-b="4"] .btn:hover,html[data-b="4"] .btn:focus-visible{--c:var(--parchment)}
html[data-b="5"] .btn{width:auto;height:auto;padding:calc(8 * var(--u)) 0}
html[data-b="5"] .btn::after{display:none}
html[data-b="5"] .btn::before{inset:auto 0 0 0;height:1px;border:0;background:currentColor;transform:scaleX(.3);transform-origin:left;transition:transform .5s var(--ease)}
html[data-b="5"] .btn:hover::before,html[data-b="5"] .btn:focus-visible::before{transform:scaleX(1)}

/* P · text boxes */
html[data-p="2"] .pnl:not(.hero-pnl),html[data-p="4"] .pnl:not(.hero-pnl){--pl:30;--pr:30;--pt:22;--pb:24}
html[data-p="2"] :is(.stack--bl,.stack--tl)>.pnl,html[data-p="2"] .slot>.pnl,html[data-p="4"] :is(.stack--bl,.stack--tl)>.pnl,html[data-p="4"] .slot>.pnl{margin-left:calc(26 * var(--u))}
html[data-p="2"] :is(.stack--br,.stack--tr)>.pnl,html[data-p="4"] :is(.stack--br,.stack--tr)>.pnl{margin-right:calc(26 * var(--u))}
html[data-p="2"] .pnl{background:rgb(var(--ink)/.3);-webkit-backdrop-filter:blur(16px) saturate(1.15);backdrop-filter:blur(16px) saturate(1.15);box-shadow:inset 0 0 0 1px rgb(226 220 208/.14)}
html[data-p="3"] .pnl{background:radial-gradient(ellipse 85% 120% at 30% 50%,rgb(var(--ink)/.6) 0,rgb(var(--ink)/.35) 55%,rgb(var(--ink)/0) 100%);--pl:30;--pr:42}
html[data-p="3"] .pnl>div{border-left:1px solid var(--patina);padding-left:calc(22 * var(--u))}
html[data-p="3"] :is(.stack--br,.stack--tr) .pnl>div{border-left:0;border-right:1px solid var(--patina);padding-left:0;padding-right:calc(22 * var(--u))}
html[data-p="3"] :is(.stack--br,.stack--tr) .pnl{--pl:42;--pr:30;background:radial-gradient(ellipse 85% 120% at 70% 50%,rgb(var(--ink)/.6) 0,rgb(var(--ink)/.35) 55%,rgb(var(--ink)/0) 100%)}
html[data-p="4"] .pnl{background:rgb(33 34 35/.9);outline:1px solid rgb(165 152 123/.45);outline-offset:calc(-9 * var(--u))}
html[data-p="5"] .pnl{background:none}
html[data-p="5"] .pnl :is(.body,.caps,.quote){text-shadow:0 1px 2px rgb(33 34 35/.6),0 0 24px rgb(33 34 35/.6)}
html[data-p="5"] .shade--b{height:calc(330 * var(--u))}

html[data-p="6"] :is(.pnl--r,.pnl--rh){background:linear-gradient(90deg,rgb(33 34 35/.9) 0,rgb(33 34 35/.9) calc(100% - var(--fade) * var(--u)),rgb(33 34 35/.42) calc(100% - var(--fade) * .45 * var(--u)),rgb(33 34 35/0) 100%)}
html[data-p="6"] :is(.pnl--l,.pnl--lh){background:linear-gradient(270deg,rgb(33 34 35/.9) 0,rgb(33 34 35/.9) calc(100% - var(--fade) * var(--u)),rgb(33 34 35/.42) calc(100% - var(--fade) * .45 * var(--u)),rgb(33 34 35/0) 100%)}
html[data-p="6"] .pnl::before{content:"";position:absolute;inset:calc(9 * var(--u));border:1px solid rgb(165 152 123/.45);pointer-events:none;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - var(--fade) * 1.1 * var(--u)),transparent calc(100% - var(--fade) * .5 * var(--u)));mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - var(--fade) * 1.1 * var(--u)),transparent calc(100% - var(--fade) * .5 * var(--u)))}
html[data-p="6"] :is(.pnl--l,.pnl--lh)::before{-webkit-mask-image:linear-gradient(270deg,#000 0,#000 calc(100% - var(--fade) * 1.1 * var(--u)),transparent calc(100% - var(--fade) * .5 * var(--u)));mask-image:linear-gradient(270deg,#000 0,#000 calc(100% - var(--fade) * 1.1 * var(--u)),transparent calc(100% - var(--fade) * .5 * var(--u)))}

/* G · gradients and scrims */
html[data-g="2"] .shade--b{height:calc(440 * var(--u));background:linear-gradient(to top,rgb(var(--ink)/.86) 0,rgb(var(--ink)/.62) 30%,rgb(var(--ink)/.26) 65%,rgb(var(--ink)/0) 100%)}
html[data-g="2"] .shade--t{height:calc(170 * var(--u));background:linear-gradient(to bottom,rgb(var(--ink)/.55),rgb(var(--ink)/0))}
html[data-g="2"] .plate::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 75% 70% at 50% 45%,rgb(var(--ink)/0) 55%,rgb(var(--ink)/.58) 100%)}
html[data-g="3"] .shade--b{height:calc(360 * var(--u));background:linear-gradient(to top,rgb(30 26 22/.88) 0,rgb(30 26 22/.55) 35%,rgb(30 26 22/0) 100%)}
html[data-g="3"] .plate::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgb(165 152 123/.22),rgb(165 152 123/0) 55%);mix-blend-mode:soft-light}

/* N · navigation */
html[data-n="2"] .nav{counter-reset:nv}
html[data-n="2"] .nav a::before{counter-increment:nv;content:"0" counter(nv);font-family:var(--f-type);font-size:.6em;color:rgb(165 152 123/.75);margin-right:.55em;vertical-align:.18em;text-transform:none}
@media (min-aspect-ratio: 1001/1000) and (min-width: 761px){
  html[data-n="3"] .nav,html[data-n="3"] .place{display:none}
  html[data-n="3"] .menu-btn{display:block;position:absolute;right:calc(20 * var(--u));top:calc(20 * var(--u));background:none;border:0;cursor:pointer;pointer-events:auto;font-family:var(--f-caps);font-size:calc(19.42 * var(--u));color:var(--patina);letter-spacing:.02em}
  html[data-n="3"] .menu{display:flex;position:fixed;inset:0;z-index:20;background:rgb(33 34 35/.94);flex-direction:column;justify-content:center;align-items:center;gap:calc(14 * var(--u));opacity:0;visibility:hidden;transition:opacity .5s var(--ease),visibility .5s}
  html[data-n="3"].menu-open .menu{opacity:1;visibility:visible}
  html[data-n="3"] .menu a{font-family:var(--f-caps);font-size:calc(62 * var(--u));color:var(--patina);letter-spacing:.01em;transition:color .3s var(--ease)}
  html[data-n="3"] .menu a:hover{color:var(--parchment)}
  html[data-n="3"] .menu .menu-mail{font-size:calc(16 * var(--u));color:var(--parchment);margin-top:calc(30 * var(--u));letter-spacing:.1em}
  html[data-n="3"] .menu-close{position:absolute;right:calc(20 * var(--u));top:calc(20 * var(--u));background:none;border:0;cursor:pointer;color:var(--patina);font-family:var(--f-caps);font-size:calc(19.42 * var(--u))}
}

/* R · progress */
.rail,.counter{display:none}
html[data-r="1"] .rail{display:flex;position:fixed;right:calc(22 * var(--u));top:50%;transform:translateY(-50%);z-index:9;flex-direction:column;gap:calc(14 * var(--u));pointer-events:auto}
.rail button{position:relative;width:calc(22 * var(--u));height:calc(10 * var(--u));min-height:12px;background:none;border:0;cursor:pointer;padding:0}
.rail button::before{content:"";position:absolute;right:0;top:50%;width:calc(10 * var(--u));height:1px;background:rgb(226 220 208/.45);transition:width .4s var(--ease),background .4s}
.rail button[aria-current="true"]::before{width:calc(22 * var(--u));background:var(--patina)}
.rail button:hover::before{background:var(--parchment)}
html[data-r="2"] .counter{display:block;position:fixed;right:calc(76 * var(--u));bottom:calc(30 * var(--u));z-index:9;font-family:var(--f-type);font-size:calc(13 * var(--u));letter-spacing:.06em;color:rgb(226 220 208/.75);pointer-events:none}
.counter b{color:var(--patina);font-weight:400}

/* T · line-mask text reveals (lines are wrapped by site.js) */
.ln{display:block;overflow:hidden;padding-bottom:.06em;margin-bottom:-.06em}
.ln>span{display:block}

/* K · cursor */
.cursor{display:none}
html[data-k="1"] .cursor{display:block;position:fixed;left:0;top:0;z-index:70;width:30px;height:30px;margin:-15px 0 0 -15px;border:1px solid var(--patina);border-radius:50%;pointer-events:none;transition:width .35s var(--ease),height .35s var(--ease),margin .35s var(--ease),background .35s,border-color .35s;mix-blend-mode:normal}
html[data-k="1"] .cursor.is-hot{width:58px;height:58px;margin:-29px 0 0 -29px;background:rgb(165 152 123/.12);border-color:var(--parchment)}
@media (pointer: coarse){ html[data-k="1"] .cursor{display:none} }

/* M · iPhone navigation */
.mbar{display:none}
@media (max-aspect-ratio: 1/1), (max-width: 760px){
  html[data-m="2"] .menu-btn{display:none}
  html[data-m="2"] .mbar{display:flex;position:fixed;left:calc(12 * var(--m));right:calc(12 * var(--m));bottom:max(10px, env(safe-area-inset-bottom));z-index:12;height:54px;align-items:center;justify-content:space-between;padding:0 6px 0 16px;background:rgb(33 34 35/.72);-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);box-shadow:inset 0 0 0 1px rgb(165 152 123/.3);pointer-events:auto}
  .mbar__t{font-family:var(--f-caps);font-size:17px;color:var(--parchment);letter-spacing:.02em}
  .mbar__t b{font-family:var(--f-type);font-weight:400;font-size:12px;color:var(--patina);margin-right:8px;letter-spacing:.04em}
  .mbar button{height:44px;padding:0 14px;background:none;border:0;color:var(--patina);font-family:var(--f-caps);font-size:17px;cursor:pointer}
  html[data-m="2"] :is(.stack--bl,.stack--br:not(.m-top)){bottom:calc((var(--msb,24) + 60) * var(--m))}
  html[data-m="2"] .foot{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
  html[data-m="2"] .cue{display:none}
}

@media (prefers-reduced-motion: reduce){ .grain,.cue::after{animation:none} }

@media (max-aspect-ratio:1/1),(max-width:760px){ html[data-r] .rail{display:none} }

/* G4-G6 · plate-tinted cinematic: the G2 structure, with each slide's own deepest color (measured from the C1 plates) as the wash */
.plate[data-id="home"]{--wash:22 31 28}
.plate[data-id="reframe"]{--wash:23 38 39}
.plate[data-id="trumpye"]{--wash:37 35 34}
.plate[data-id="us"]{--wash:25 38 33}
.plate[data-id="practice"]{--wash:11 40 37}
.plate[data-id="media"]{--wash:35 36 34}
.plate[data-id="opposition"]{--wash:28 38 32}
.plate[data-id="engage"]{--wash:37 36 28}
html[data-g="4"] .shade--b{height:calc(440 * var(--u));background:linear-gradient(to top,rgb(var(--wash,var(--ink))/0.8) 0,rgb(var(--wash,var(--ink))/0.56) 30%,rgb(var(--wash,var(--ink))/0.22) 65%,rgb(var(--wash,var(--ink))/0) 100%)}
html[data-g="4"] .shade--t{height:calc(170 * var(--u));background:linear-gradient(to bottom,rgb(var(--wash,var(--ink))/0.45),rgb(var(--wash,var(--ink))/0))}
html[data-g="4"] .plate::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 75% 70% at 50% 45%,rgb(var(--wash,var(--ink))/0) 58%,rgb(var(--wash,var(--ink))/0.42) 100%)}
html[data-g="5"] .shade--b{height:calc(440 * var(--u));background:linear-gradient(to top,rgb(var(--wash,var(--ink))/0.88) 0,rgb(var(--wash,var(--ink))/0.64) 30%,rgb(var(--wash,var(--ink))/0.28) 65%,rgb(var(--wash,var(--ink))/0) 100%)}
html[data-g="5"] .shade--t{height:calc(170 * var(--u));background:linear-gradient(to bottom,rgb(var(--wash,var(--ink))/0.55),rgb(var(--wash,var(--ink))/0))}
html[data-g="5"] .plate::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 75% 70% at 50% 45%,rgb(var(--wash,var(--ink))/0) 55%,rgb(var(--wash,var(--ink))/0.55) 100%)}
/* v0.8: lighter, but dense where the words sit (62–166 up); it now clears by 450 instead of 520 */
html[data-g="6"] .shade--b{height:calc(450 * var(--u));background:linear-gradient(to top,rgb(var(--wash,var(--ink))/0.94) 0,rgb(var(--wash,var(--ink))/0.74) calc(170 * var(--u)),rgb(var(--wash,var(--ink))/0.24) calc(330 * var(--u)),rgb(var(--wash,var(--ink))/0) 100%)}
html[data-g="6"] .shade--t{height:calc(260 * var(--u));background:linear-gradient(to bottom,rgb(var(--wash,var(--ink))/0.84) 0,rgb(var(--wash,var(--ink))/0.74) 22%,rgb(var(--wash,var(--ink))/0.38) 58%,rgb(var(--wash,var(--ink))/0) 100%)}
html[data-g="6"] .plate::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 75% 70% at 50% 45%,rgb(var(--wash,var(--ink))/0) 50%,rgb(var(--wash,var(--ink))/0.52) 100%)}
@media (max-aspect-ratio:1/1),(max-width:760px){ html:is([data-g="4"],[data-g="5"]) .shade--b{height:calc(330 * var(--m))} html[data-g="6"] .shade--b{height:calc(340 * var(--m));background:linear-gradient(to top,rgb(var(--wash,var(--ink))/0.9) 0,rgb(var(--wash,var(--ink))/0.72) calc(180 * var(--m)),rgb(var(--wash,var(--ink))/0.3) calc(260 * var(--m)),rgb(var(--wash,var(--ink))/0) 100%)} html:is([data-g="4"],[data-g="5"],[data-g="6"]) .shade--t{height:calc(150 * var(--m))} }

/* F · body sans. F1 Adobe kit Display (approved), F2 Adobe kit Text cut, F3 Helvetica Neue from the device, F4 the device's system face */
html[data-f="2"]{--f-sans:neue-haas-grotesk-text,"Neue Haas Grotesk Text Pro","Helvetica Neue",Helvetica,Arial,sans-serif}
html[data-f="3"]{--f-sans:"Helvetica Neue",Helvetica,Arial,sans-serif}
html[data-f="4"]{--f-sans:-apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",Roboto,sans-serif}
