/* ============================================================
   LC-A Studio — B10 editorial blocks · B11 director portraits
                 + accreditation marks · opening statement
   ------------------------------------------------------------
   ⚠️ BUILT FROM SOURCE by tools/build-studio-css.js. DO NOT EDIT BY
   HAND — the next build silently discards anything added here.
   Change the generator, which asserts what must survive the lift,
   then re-run it. To check the generator still reproduces this
   file: run it and confirm "git diff" is empty.
   Lifted from studio.html:105-200. Loaded only where a studio
   widget is present (get_style_depends), so the other pages
   never fetch it.

   Assertions carried by tools/build-studio-css.js and re-checked
   on every build: one perspective host (.stmt__in, risk #4), no
   transformPerspective, .titlecard carries NO hardcoded near-white
   (studio's statement sits on the PAGE background, unlike index and
   orbit whose heroes sit on dark video — copying their colour would
   render the title near-white on cream in day mode), the portrait
   perspective on .portrait itself, --accred-h as the single mark
   size knob, and the day-only RIBA compensation.

   DEVIATIONS from the static source:

   1 · .block__head sticky clearance is derived, not a hardcoded 108px:
     calc(var(--nav-h,70px) + var(--lca-admin-bar,0px) + 38px).
     COMPONENTS.md B10 asks for the --nav-h half. core.js now publishes --nav-h
     from a live measurement of .nav (70.19px), so the value is real rather than
     the 70px fallback it used to land on by luck. The --lca-admin-bar term is
     ours: the nav is fixed and the admin bar moves its BOTTOM edge without
     changing its height, which had quietly cut the authored 38px of clearance to
     5.8px for logged-in editors.

   2 · .prose .drop dropped. COMPONENTS.md records it as a DEAD RULE (0 matches in
     markup) and CLAUDE.md says not to port dead rules into widgets.

   3 · The three typographic rules a Title Style can replace — .stmt__xl, .block h2
     and .portrait__name — are narrowed with :not([class*="lc-title-"]).
     .block h2 is (0,1,1) and would beat .lc-title-* (0,1,0) outright; the other
     two tie at (0,1,0) and would be decided by stylesheet order, which is not a
     contract. Narrowing makes the named style win deterministically, and leaves
     the extracted rule as the default when no style is chosen. Only the
     TYPOGRAPHIC rule is narrowed — the structural ones (.stmt__xl .ln, and the
     :nth-child(3) tonal step) still apply to every instance.

   4 · The five .accred__logo rules are scoped .accred img.accred__logo.
     MEASURED, not guessed: Elementor's custom-frontend.min.css carries
     `.elementor img{border:none;border-radius:0;box-shadow:none;height:auto;max-width:100%}`.
     That is (0,1,1) against .accred__logo's (0,1,0), so its height:auto won and
     the marks rendered at their intrinsic aspect inside the column — 429.4px
     tall instead of 58.1px, wide enough to push the document into horizontal
     scroll. (0,2,1) wins outright, whatever the stylesheet order.
     The :hover and both mode overrides are raised in step; leaving one behind
     would have silently dropped the RIBA compensation and the night invert.
     Same failure class as the hero embed's max-width — Elementor's frontend
     reset reaches inside extracted markup, and only specificity stops it.

   NOTE .eyebrow / .eyebrow .tick are byte-identical to the copy in
   contact.css. They are deliberately duplicated rather than promoted
   to core.css: the two files never load on the same page, and the
   hero's .eyebrow is a THIRD variant (hardcoded near-white over
   video). Promoting one of the three would silently restyle another.
   ============================================================ */


/* ---- OPENING TYPOGRAPHIC STATEMENT (Smart Design Elegance) ---- */
.stmt{position:relative;padding:clamp(140px,22vh,240px) clamp(20px,4vw,56px) clamp(48px,9vh,110px);overflow:hidden}
.stmt__motif{position:absolute;inset:0;z-index:0;pointer-events:none;color:var(--motif);opacity:.5}
html[data-mode="day"] .stmt__motif{mix-blend-mode:multiply}
html[data-mode="night"] .stmt__motif{mix-blend-mode:screen}
.stmt__motif path{fill:none;stroke:currentColor;stroke-width:1;vector-effect:non-scaling-stroke}
/* 3D HOVER HOST — mirrors .hero__inner on index.html / orbit.html. The projection USED to be
   applied twice: this ancestor perspective plus a transformPerspective GSAP wrote into
   .titlecard's own transform. The compounding roughly squared the magnification and pushed
   glyphs past the viewport edge; the transformPerspective was removed 2026-07-29 and this
   ancestor is now the single source. perspective-origin is centred to match transform-origin —
   an off-axis vanishing point would re-introduce displacement. See the JS for the full note. */
.stmt__in{position:relative;z-index:1;width:var(--shell);margin:0 auto;perspective:1000px;perspective-origin:50% 50%}
/* index/orbit also pin a hardcoded near-white on .titlecard because their heroes sit on dark
   video and imagery. Studio's statement sits on the page background and inherits --fg /
   --fg-soft, so that colour is DELIBERATELY omitted — copying it would render the title
   near-white on cream in day mode. The splice guard asserts it did not come across. */
.titlecard{transform-style:preserve-3d;will-change:transform}
.eyebrow{font-size:11px;letter-spacing:var(--track-wide);text-transform:uppercase;color:var(--muted);
  margin-bottom:26px;display:flex;align-items:center;gap:16px}
.eyebrow .tick{width:40px;height:1px;background:currentColor;opacity:.7}
.stmt__xl:not([class*="lc-title-"]){font-family:var(--font-disp);font-stretch:100%;font-weight:600;line-height:.9;letter-spacing:-.005em;
  font-size:clamp(3.1rem,13.5vw,13rem);text-transform:uppercase}
.stmt__xl .ln{display:block;overflow:hidden}
.stmt__xl .ln span{display:block}
/* Flush left (2026-07-28). The three lines were progressively indented by a per-line left
   pad of .06em on line 2 and .12em on line 3 — an em unit, so it scaled with the title
   (~12px / ~23px at a 1440px viewport). The :nth-child(2) rule held nothing else and is gone.
   The :nth-child(3) rule is KEPT for its --fg-soft tonal step on ELEGANCE; only the pad went. */
.stmt__xl .ln:nth-child(3){color:var(--fg-soft)}
.stmt__sub{max-width:52ch;margin-top:clamp(30px,4.5vh,54px);font-weight:300;color:var(--fg-soft);
  font-size:clamp(1rem,1.6vw,1.2rem);line-height:1.75}
.stmt__sub strong{font-weight:500;color:var(--fg)}

/* ---- EDITORIAL BLOCKS (heading left, prose right; stacks on mobile) ---- */
.block{position:relative;width:var(--shell);margin:0 auto;
  padding:clamp(44px,8vh,96px) clamp(20px,4vw,56px);border-top:1px solid var(--line-soft)}
.block__in{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:clamp(34px,6vw,120px);align-items:start}
/* + var(--lca-admin-bar,0px): the nav is position:fixed and the admin bar pushes
   it down, so its BOTTOM edge moves while its height does not. Without this term
   the authored 38px of clearance silently shrank to 5.8px for logged-in editors
   — measured. --nav-h is now published by core.js, so this is finally the real
   header height rather than the 70px fallback. */
.block__head{display:flex;flex-direction:column;gap:16px;position:sticky;
  top:calc(var(--nav-h,70px) + var(--lca-admin-bar,0px) + 38px)}
.block__num{font-size:11px;letter-spacing:var(--track-wide);color:var(--muted);font-weight:500}
.block h2:not([class*="lc-title-"]){font-family:var(--font-disp);font-stretch:100%;font-weight:600;line-height:1;letter-spacing:.005em;
  font-size:clamp(1.9rem,4.4vw,3.4rem)}
.block__body{display:flex;flex-direction:column;gap:clamp(20px,2.6vh,30px)}
.prose{max-width:64ch;font-weight:300;color:var(--fg-soft);
  font-size:clamp(1.02rem,1.35vw,1.2rem);line-height:1.78}
.prose strong{font-weight:500;color:var(--fg)}
@media(max-width:880px){
  .block__in{grid-template-columns:1fr;gap:clamp(22px,5vw,34px)}
  .block__head{position:static;top:auto}
}

/* ---- DIRECTORS — twin tilt portraits + shared bio (reuses the pane tilt system) ---- */
.dir__portraits{display:grid;grid-template-columns:1fr 1fr;gap:clamp(26px,4.5vw,64px);
  margin-bottom:clamp(40px,7vh,84px)}
.portrait{position:relative;perspective:1300px}
.portrait .pane__media{position:relative;aspect-ratio:3/4}
.portrait .pane__lift{position:absolute;inset:0;z-index:2;transform-style:preserve-3d;border-radius:3px;will-change:transform}
.portrait .pane__frame{position:absolute;inset:0;border-radius:3px;overflow:hidden;border:1px solid var(--pane-edge);
  box-shadow:0 2px 0 rgba(255,255,255,.05) inset,0 1px 1px rgba(0,0,0,.12);background:var(--bg-2)}
.portrait .pane__frame img{width:100%;height:100%;object-fit:cover;object-position:50% 22%}
.portrait .pane__glow{position:absolute;left:3%;right:3%;top:22%;bottom:-18%;z-index:0;
  background:radial-gradient(56% 62% at 50% 56%,var(--cast),transparent 73%);
  filter:blur(46px);opacity:var(--cast-op,.85);will-change:transform,opacity;transition:opacity var(--mode-fade)}
.portrait__cap{margin-top:22px;display:flex;flex-direction:column;gap:6px}
.portrait__name:not([class*="lc-title-"]){font-family:var(--font-disp);font-stretch:100%;font-weight:600;letter-spacing:.005em;
  font-size:clamp(1.15rem,2vw,1.6rem);color:var(--fg)}
.portrait__role{font-size:10px;letter-spacing:var(--track-wide);text-transform:uppercase;color:var(--muted);font-weight:500}
.dir__bio{max-width:none}
.dir__bio .prose{max-width:78ch}
@media(max-width:620px){.dir__portraits{grid-template-columns:1fr;gap:clamp(30px,9vw,44px)}}

/* ---- ACCREDITATIONS — quiet chartered-membership marks ---- */
/* --accred-h is the single size knob for both marks. The <=620px height derives from it
   (x .85, preserving the original 34/40 ratio), so one value moves desktop and mobile. */
.accred{--accred-h:58.1px;
  margin-top:clamp(38px,6vh,68px);padding-top:clamp(24px,3.6vh,36px);border-top:1px solid var(--line-soft);
  display:flex;align-items:center;gap:clamp(22px,4vw,54px);flex-wrap:wrap}
.accred__label{font-size:10px;letter-spacing:var(--track-wide);text-transform:uppercase;color:var(--muted);
  font-weight:500;max-width:14ch;line-height:1.6}
.accred__marks{display:flex;align-items:center;gap:clamp(26px,3.5vw,44px)}
.accred img.accred__logo{height:var(--accred-h,58.1px);width:auto;opacity:var(--accred-op,.55);filter:grayscale(1) contrast(1.05);
  transition:opacity .35s var(--ease-soft),filter var(--mode-fade)}
/* hover keeps the original +.37 step: .55 -> .92 exactly as before, and .73 -> 1.10 clamps to 1 */
.accred img.accred__logo:hover{opacity:calc(var(--accred-op,.55) + .37)}
/* OPTICAL BALANCE — RIBA's supplied artwork is mid-grey (darkest ink 83/255) against ARB's
   near-black (29/255), and it is a hairline serif against a heavy sans, so an identical .55
   left it at 2.60:1 versus ARB's 3.88:1 over --bg. .73 is solved, not eyeballed:
   a*80.8 + (1-a)*254 = 128 -> a = .727, i.e. it composites to ARB's value.
   DAY ONLY — night's invert(1) brightness(1.45) lifts RIBA and clips ARB, landing them at
   138 vs 141 already; compensating there too would overshoot. */
html[data-mode="day"] .accred img.accred__logo.-riba{--accred-op:.73}
html[data-mode="night"] .accred img.accred__logo{filter:grayscale(1) invert(1) brightness(1.45) contrast(.95)}
@media(max-width:620px){.accred__marks{gap:30px}.accred img.accred__logo{height:calc(var(--accred-h,58.1px) * .85)}}
