/* ==========================================================================
   Westlake — editorial layer
   Loaded after main.css. Keeps the site's class names and re-voices them:
   serif display, compact chrome, cinematic image bands, ruled schedules.
   ========================================================================== */

@font-face{
  font-family:"Source Serif 4";
  src:url("../fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight:400 700; font-style:normal; font-display:swap;
}

:root{
  --serif:"Source Serif 4",Georgia,"Times New Roman",serif;
  --navy-deep:#02132f;
  --head-h:56px;
  --band:clamp(2.75rem,5.5vw,5rem);
}

/* <picture> wrappers must not create their own box — the img has to size
   against the component that contains it */
picture{display:contents}

/* ---------- base type ---------- */

body{
  font-family:var(--sans);
  font-size:1.0625rem;
  line-height:1.62;
  background:var(--white);
}

h1,h2,h3,h4,.h-serif{
  font-family:var(--serif);
  font-weight:600;
  letter-spacing:-.015em;
}

h1{font-size:clamp(2rem,1.2rem+3.2vw,3.5rem);line-height:1.05;letter-spacing:-.02em}
h2{font-size:clamp(1.55rem,1.05rem+2vw,2.5rem);line-height:1.1;letter-spacing:-.018em}
h3{font-size:1.25rem;line-height:1.25;letter-spacing:-.012em}

.lead{font-size:1.125rem;line-height:1.6;color:var(--ink-2)}
.lbl{letter-spacing:.15em;font-size:.6875rem;color:var(--ink-2)}

/* ---------- utility bar ---------- */

.util{
  background:var(--white);
  border-bottom:1px solid var(--rule);
  font-size:.625rem;
  letter-spacing:.06em;
  color:var(--ink-2);
}
.util .wrap{
  display:flex;align-items:center;justify-content:space-between;
  gap:1rem;min-height:26px;
}
.util b{color:var(--navy);font-weight:600}
.util a{text-decoration:none;color:var(--ink-2)}
.util a:hover{color:var(--navy)}

/* ---------- header ---------- */

.site-head{
  background:var(--white);
  border-bottom:1px solid var(--rule);
}
.head-in{
  min-height:var(--head-h);
  gap:2.2rem;
  justify-content:flex-start;
}
.brand img{height:31px;width:auto}
.brand{flex:none}

.nav{margin-right:auto}
.nav ul{gap:.15rem}
.nav-btn,.nav-item > a{
  font-size:.8125rem;
  font-weight:500;
  padding:.45rem .7rem;
  letter-spacing:0;
}
.nav-panel a{font-size:.8125rem}
.nav-panel a span:last-child{font-size:.625rem;letter-spacing:.1em;text-transform:uppercase}

.head-cta{
  font-size:.625rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:.72rem 1rem;
  min-height:36px;
  border-radius:2px;
  flex:none;
}

.nav-toggle{font-size:.625rem;letter-spacing:.12em;padding:.5rem .65rem}

@media (min-width:1000px){
  .nav{display:block}
  .head-cta{display:inline-flex}
  .nav-toggle{display:none}
}

/* ---------- buttons ---------- */

.btn{
  font-size:.6875rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  min-height:46px;
  padding:.9rem 1.35rem;
  border-radius:2px;
}
.btn--sm{min-height:36px;padding:.6rem 1rem;font-size:.625rem}
.btn--cta{background:var(--orange);color:var(--navy);border-color:var(--orange)}
.btn--cta:hover{background:var(--orange-lift);border-color:var(--orange-lift)}
.btn--ghost{border-color:var(--rule-2);color:var(--navy)}
.btn--ghost:hover{border-color:var(--navy);background:rgba(5,41,101,.04)}
.band--ink .btn--ghost{color:#fff;border-color:rgba(255,255,255,.45)}

.btn-outline{
  display:inline-flex;align-items:center;
  min-height:44px;padding:.65rem 1.15rem;
  border:1px solid rgba(255,255,255,.55);color:#fff;text-decoration:none;
  font-size:.625rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  border-radius:2px;
}
.btn-outline:hover{border-color:#fff;background:rgba(255,255,255,.08)}

/* ---------- bands ---------- */

.band{padding-block:var(--band)}
.band--ink{background:var(--navy);color:#fff;border-top:0}
.band--ink h1,.band--ink h2,.band--ink h3{color:#fff}
.band--ink p,.band--ink li{color:rgba(255,255,255,.82)}

.sec-head h2{max-width:24ch}
.sec-head p{color:var(--ink-2);max-width:58ch}

/* ---------- inner page head ---------- */

.page-head{padding-block:clamp(1.9rem,3.5vw,3rem) clamp(2rem,3.5vw,3rem)}
.page-head h1{max-width:20ch;font-size:clamp(1.9rem,1.15rem+2.8vw,3.2rem)}
.page-head .lead{max-width:56ch}
.page-head .btn-row{margin-top:1.8rem}

.crumbs{font-size:.625rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3)}
.crumbs a{color:var(--ink-3);text-decoration:none}
.crumbs a:hover{color:var(--navy)}

/* ---------- page hero band (inner pages) ---------- */

.page-head--hero{
  position:relative;isolation:isolate;overflow:hidden;
  display:flex;align-items:center;
  min-height:clamp(420px,54vh,560px);
  padding-block:clamp(3.5rem,8vw,7rem) clamp(3rem,6vw,5rem);
  background:var(--navy-deep);color:#fff;
}
.page-head--hero .wrap{position:relative;z-index:2;width:100%}

.page-head--hero::before{
  content:"";position:absolute;inset:0;z-index:0;
  background-image:var(--hero);background-size:cover;background-position:center;
  filter:contrast(1.06) brightness(.7) saturate(1.05);
  animation:ph-push 9s cubic-bezier(.16,1,.3,1) both;
}
.page-head--hero::after{
  content:"";position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(90deg,rgba(2,19,47,.94) 0%,rgba(2,19,47,.74) 55%,rgba(2,19,47,.52) 100%),
    linear-gradient(0deg,rgba(2,19,47,.82) 0%,transparent 55%);
}

.page-head--hero h1{color:#fff;max-width:18ch}
.page-head--hero .lead{color:rgba(255,255,255,.82);max-width:52ch}
.page-head--hero .crumbs{color:rgba(255,255,255,.6);margin:0 0 1.15rem}
.page-head--hero .crumbs a{color:rgba(255,255,255,.6)}
.page-head--hero .crumbs a:hover{color:#fff}
.page-head--hero .btn--ghost{color:#fff;border-color:rgba(255,255,255,.45)}
.page-head--hero .btn--ghost:hover{border-color:#fff;background:rgba(255,255,255,.1)}

/* detail schedules that live inside a hero (location pages) */
.page-head--hero .dl dt{color:rgba(255,255,255,.62)}
.page-head--hero .dl dd{color:#fff}
.page-head--hero .dl > div{border-top-color:rgba(255,255,255,.18)}
.page-head--hero .dl a{color:#fff;border-bottom-color:rgba(255,255,255,.4)}
.page-head--hero .dl a:hover{border-bottom-color:#fff}
.page-head--hero .cf{color:#fff;border-color:rgba(255,255,255,.55)}

.page-head--hero .crumbs,
.page-head--hero h1,
.page-head--hero .lead,
.page-head--hero .btn-row{animation:ph-rise .7s cubic-bezier(.23,1,.32,1) both}
.page-head--hero h1{animation-delay:.06s}
.page-head--hero .lead{animation-delay:.12s}
.page-head--hero .btn-row{animation-delay:.18s}

@keyframes ph-push{from{transform:scale(1.06)}to{transform:scale(1.005)}}
@keyframes ph-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}

@media(prefers-reduced-motion:reduce){
  .page-head--hero::before{animation:none;transform:none}
  .page-head--hero h1,
  .page-head--hero .lead,
  .page-head--hero .btn-row{animation:ph-fade .5s linear both}
  @keyframes ph-fade{from{opacity:0}to{opacity:1}}
}

/* ---------- ruled index columns ---------- */

.index-col > .lbl{display:block;padding-bottom:.6rem;border-bottom:1.5px solid var(--navy)}
.index-col ul li a{font-size:1rem}
.index-col ul li a span:first-child{font-weight:500}
.index-col ul li a svg{transition:transform 160ms cubic-bezier(.23,1,.32,1)}
.index-col ul li a:hover svg{transform:translateX(2px)}

/* ---------- ledger table ---------- */

.ledger th,.ledger thead th{
  font-size:.625rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-2);
}
.ledger td{font-size:.9375rem}

/* ---------- definition schedule ---------- */

.dl dt{font-size:.625rem;letter-spacing:.13em;text-transform:uppercase;color:var(--ink-3)}
.dl dd{font-size:.9375rem}

/* ---------- steps ---------- */

.steps li h3{font-family:var(--serif);font-size:1.1875rem}
.steps li::before{font-family:var(--serif);font-weight:600}

/* ---------- faq ---------- */

.faq details summary{font-family:var(--serif);font-size:1.0625rem;font-weight:600;letter-spacing:-.01em}
.faq details .answer p{font-size:.9375rem;color:var(--ink-2)}

/* ---------- offices ---------- */

.offices .office{background:var(--paper);padding:1.6rem}
.office h3{font-family:var(--serif);font-size:1.35rem;margin-bottom:.7rem}
.office h3 span{font-family:var(--sans);font-size:.625rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}

/* ---------- callouts, notes, plates ---------- */

.callout{background:var(--paper);border-left:0;border-top:1.5px solid var(--navy);padding:1.25rem 1.4rem}
.aside-note{background:var(--paper);border-left:0;border-top:1.5px solid var(--rule-2)}
.risk{border-top:1.5px solid var(--navy)}
.risk h3{font-family:var(--serif)}
.plate figcaption{font-size:.75rem;color:var(--ink-3)}
.band--ink .plate img{border-color:rgba(255,255,255,.18)}
.band--ink .plate figcaption{color:rgba(255,255,255,.7)}

/* ---------- closing cta block ---------- */

.cta-block{
  background:var(--navy-deep);
  color:#fff;
  border-top:0;
  padding:clamp(2rem,4vw,3.25rem);
}
.cta-block h2{color:#fff;max-width:22ch}
.cta-block p{color:rgba(255,255,255,.78)}
.cta-block .btn--ghost{color:#fff;border-color:rgba(255,255,255,.45)}
.cta-block .btn--ghost:hover{border-color:#fff;background:rgba(255,255,255,.08)}

/* ==========================================================================
   Homepage — hero, purpose, tiles, mosaic, story, guides, offices
   ========================================================================== */

.ed-hero{position:relative;isolation:isolate;overflow:hidden;background:var(--navy-deep);color:#fff}
.ed-stage{position:relative;height:clamp(480px,76vh,680px)}
@media(min-width:760px){.ed-stage{height:clamp(560px,80vh,780px)}}

.ed-slide{position:absolute;inset:0;opacity:0;transition:opacity .9s cubic-bezier(.23,1,.32,1);pointer-events:none}
.ed-slide[data-active]{opacity:1;pointer-events:auto}

.ed-media{position:absolute;inset:0;overflow:hidden}
.ed-media img{width:100%;height:100%;object-fit:cover;filter:contrast(1.08) brightness(.68) saturate(1.05)}
.ed-media::after{content:"";position:absolute;inset:0;z-index:2;
  background:linear-gradient(90deg,rgba(2,19,47,.93) 0%,rgba(2,19,47,.58) 48%,rgba(5,41,101,.22) 100%),
             linear-gradient(0deg,rgba(2,19,47,.86),transparent 62%)}
.ed-media::before{content:"";position:absolute;inset:0;z-index:3;
  background:radial-gradient(120% 90% at 78% 28%,rgba(70,201,247,.24),transparent 60%),
             radial-gradient(90% 70% at 10% 80%,rgba(249,116,13,.18),transparent 62%);
  mix-blend-mode:screen}

/* glitch: full-size copies clipped to bands, under the gradient */
.ed-glitch{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.6;
  -webkit-mask-image:linear-gradient(90deg,transparent 24%,#000 58%);
  mask-image:linear-gradient(90deg,transparent 24%,#000 58%)}
.ed-glitch i{position:absolute;inset:0;display:block;background-repeat:no-repeat;
  background-size:cover;background-position:center;will-change:transform}
.ed-glitch i:nth-child(1){clip-path:inset(37% 0 57% 0);transform:translateX(13px);filter:saturate(1.3)}
.ed-glitch i:nth-child(2){clip-path:inset(62% 0 32% 0);transform:translateX(-15px);filter:hue-rotate(12deg) saturate(1.6)}
.ed-glitch i:nth-child(3){clip-path:inset(79% 0 15% 0);transform:translateX(10px);filter:hue-rotate(-10deg) saturate(1.4)}

/* glitch confined to a subject (the hard hats): slices exist only inside a soft
   circle over the cap, so the effect reads as coming out of the helmet rather
   than as a band across the whole frame */
.ed-glitch--cap{
  opacity:.95;
  -webkit-mask-image:radial-gradient(circle at var(--gx,50%) var(--gy,50%),#000 0 13%,rgba(0,0,0,.55) 25%,transparent 42%);
  mask-image:radial-gradient(circle at var(--gx,50%) var(--gy,50%),#000 0 13%,rgba(0,0,0,.55) 25%,transparent 42%);
}
.ed-glitch--cap i:nth-child(1){clip-path:inset(30% 0 62% 0);transform:translateX(18px);filter:hue-rotate(185deg) saturate(3)}
.ed-glitch--cap i:nth-child(2){clip-path:inset(44% 0 48% 0);transform:translateX(-24px);filter:hue-rotate(305deg) saturate(2.6)}
.ed-glitch--cap i:nth-child(3){clip-path:inset(56% 0 34% 0);transform:translateX(28px);filter:hue-rotate(120deg) saturate(3.2)}

/* a faint energy bloom on the cap itself */
.ed-halo{position:absolute;inset:0;z-index:3;pointer-events:none;
  background:radial-gradient(circle at var(--gx,50%) var(--gy,50%),rgba(70,201,247,.3),transparent 20%)}

/* AXA-style block displacement: eight rectangular shards, each a full-size copy
   of the frame clipped to a block over the helmet and offset a few pixels.
   Registration is automatic because every shard is the whole image, clipped —
   never a resized crop. Confined to the helmet; nothing else on the frame moves. */
.ed-glitch--shard{opacity:.72;-webkit-mask-image:none;mask-image:none}
.ed-glitch--shard i{animation:none;mix-blend-mode:normal}
.ed-glitch--shard i:nth-child(1){clip-path:inset(62% 34% 30% 50%);transform:translateX(10px);filter:saturate(1.3) contrast(1.04)}
.ed-glitch--shard i:nth-child(2){clip-path:inset(67% 26% 27% 52%);transform:translateX(-12px);filter:hue-rotate(165deg) saturate(1.7)}
.ed-glitch--shard i:nth-child(3){clip-path:inset(73% 32% 21% 51%);transform:translateX(14px);filter:saturate(1.4)}
.ed-glitch--shard i:nth-child(4){clip-path:inset(78% 24% 16% 54%);transform:translateX(-9px);filter:hue-rotate(195deg) saturate(1.8)}
.ed-glitch--shard i:nth-child(5){clip-path:inset(83% 34% 11% 52%);transform:translateX(7px);filter:brightness(1.08) saturate(1.3)}
.ed-glitch--shard i:nth-child(6){clip-path:inset(88% 28% 6% 56%);transform:translateX(-11px);filter:hue-rotate(175deg) saturate(1.7)}
.ed-glitch--shard i:nth-child(7){clip-path:inset(69% 38% 25% 48%);transform:translateX(8px);filter:saturate(1.25)}
.ed-glitch--shard i:nth-child(8){clip-path:inset(72% 34% 20% 60%);transform:translateX(-7px);
  mix-blend-mode:screen;opacity:.3;filter:brightness(1.1) saturate(1.4)}

/* The craft slide keeps the source photograph's warm sunset colour. The scrim
   only builds under the copy, instead of washing the whole frame navy. */
.ed-slide--craft .ed-media img{filter:contrast(1.05) brightness(.82) saturate(1.08)}
.ed-slide--craft .ed-media::after{
  background:
    linear-gradient(90deg,rgba(2,19,47,.96) 0%,rgba(2,19,47,.68) 42%,rgba(2,19,47,.18) 76%,rgba(2,19,47,.1) 100%),
    linear-gradient(0deg,rgba(2,19,47,.68) 0%,transparent 52%);
}
@media(prefers-reduced-motion:no-preference){
  .ed-glitch i{animation:ed-flicker 8s steps(1) infinite}
  .ed-glitch i:nth-child(2){animation-delay:.9s}
  .ed-glitch i:nth-child(3){animation-delay:1.7s}
  @keyframes ed-flicker{0%,90%{opacity:.6}91%{opacity:.25}92%{opacity:.6}94%{opacity:.4}95%{opacity:.6}100%{opacity:.6}}
}

.ed-copy{position:relative;z-index:4;height:100%;display:flex;flex-direction:column;justify-content:center;
  padding-block:clamp(2rem,5vw,4rem) clamp(5.5rem,10vw,8rem)}
.ed-copy > *{max-width:33rem}

/* entrance / slide-change choreography: copy rises in sequence,
   the frame settles out of a slow push-in */
.ed-slide[data-active] .ed-copy > *{
  animation:ed-rise .72s cubic-bezier(.23,1,.32,1) both;
}
.ed-slide[data-active] .ed-copy > *:nth-child(1){animation-delay:.06s}
.ed-slide[data-active] .ed-copy > *:nth-child(2){animation-delay:.14s}
.ed-slide[data-active] .ed-copy > *:nth-child(3){animation-delay:.22s}
.ed-slide[data-active] .ed-copy > *:nth-child(4){animation-delay:.3s}
.ed-slide[data-active] .ed-media img{
  animation:ed-push 5.4s cubic-bezier(.16,1,.3,1) both;
}
@keyframes ed-rise{
  from{opacity:0;transform:translateY(16px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes ed-push{
  from{transform:scale(1.075)}
  to{transform:scale(1.005)}
}
.ed-copy .lbl{color:rgba(255,255,255,.72);margin:0 0 1.05rem;letter-spacing:.16em}
.ed-copy h1{font-family:var(--serif);font-weight:600;font-size:clamp(1.95rem,1.1rem+2.9vw,3.5rem);
  line-height:1.04;letter-spacing:-.018em;margin:0;text-wrap:balance;color:#fff}
.ed-copy p{margin:1.15rem 0 0;color:rgba(255,255,255,.8);font-size:1rem;max-width:29rem;line-height:1.6}
.ed-cta{display:inline-flex;align-items:center;justify-content:center;margin-top:1.9rem;min-height:46px;
  padding:.9rem 1.45rem;background:var(--orange);color:var(--navy);font-weight:700;font-size:.6875rem;
  letter-spacing:.12em;text-transform:uppercase;text-decoration:none;border-radius:2px;width:max-content}
.ed-cta:hover{background:var(--orange-lift)}

/* slide index: one track per slide */
.ed-index{position:absolute;left:0;right:0;bottom:0;z-index:5;
  background:linear-gradient(0deg,rgba(2,19,47,.94),rgba(2,19,47,.5) 72%,transparent)}
.ed-index .wrap{padding-top:.55rem;padding-bottom:1.15rem}
.ed-controls{display:flex;align-items:center;height:20px;margin-bottom:.4rem}
.ed-pause{display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;background:none;
  color:#fff;opacity:.85;cursor:pointer}
.ed-pause:hover{opacity:1}
.ed-pause svg{width:10px;height:10px;fill:currentColor;display:block}
.ed-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1.5rem}
@media(min-width:760px){.ed-tabs{grid-template-columns:repeat(5,minmax(0,1fr));gap:0 1.5rem}}
.ed-tab{appearance:none;background:none;border:0;padding:0;text-align:left;cursor:pointer;font:inherit;color:#fff}
.ed-track{display:block;height:2px;background:rgba(255,255,255,.3);position:relative;overflow:hidden}
.ed-track i{position:absolute;top:0;bottom:0;left:0;width:0;background:var(--orange);display:block}
.ed-tab[aria-current="true"] .ed-track i{animation:ed-fill 5s linear forwards}
.ed-hero.is-paused .ed-tab[aria-current="true"] .ed-track i{animation-play-state:paused}
@keyframes ed-fill{from{width:0}to{width:100%}}
.ed-tab .lbl{display:block;margin:.7rem 0 0;font-size:.625rem;letter-spacing:.14em;color:rgba(255,255,255,.55);transition:color .2s}
.ed-tab:hover .lbl{color:rgba(255,255,255,.8)}
.ed-tab[aria-current="true"] .lbl{color:#fff}
@media(max-width:759px){.ed-tab:nth-child(n+3){display:none}.ed-tabs{gap:0 1.25rem}}

/* purpose band */
.ed-purpose{background:var(--navy);color:#fff;padding-block:var(--band);position:relative;overflow:hidden}
.ed-purpose::before{content:"";position:absolute;inset:0;opacity:.5;
  background-image:radial-gradient(rgba(70,201,247,.35) 1.1px,transparent 1.2px);background-size:9px 9px;
  -webkit-mask-image:radial-gradient(80% 60% at 80% 20%,#000,transparent 72%);
  mask-image:radial-gradient(80% 60% at 80% 20%,#000,transparent 72%)}
.ed-purpose .wrap{position:relative;display:grid;gap:2.5rem}
@media(min-width:900px){.ed-purpose .wrap{grid-template-columns:1.25fr .75fr;align-items:end;gap:4rem}}
.ed-purpose .lbl{color:var(--sky)}
.ed-purpose h2{color:#fff;font-size:clamp(1.8rem,1.1rem+2.6vw,3.2rem);line-height:1.06;margin:.8rem 0 0;max-width:20ch}
.ed-purpose p{color:rgba(255,255,255,.78);margin:1.2rem 0 0;max-width:44ch}
.ed-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;border-top:1px solid rgba(255,255,255,.25);padding-top:1.6rem}
.ed-stat b{display:block;font-family:var(--serif);font-weight:600;font-size:clamp(2rem,1.2rem+2.4vw,3.4rem);line-height:1;letter-spacing:-.02em;color:#fff}
.ed-stat span{display:block;margin-top:.5rem;font-size:.6875rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.66)}

/* section head */
.ed-sec{padding-block:var(--band)}
.ed-head{max-width:56rem}
.ed-head h2{font-size:clamp(1.7rem,1.1rem+2.2vw,2.7rem);line-height:1.08;margin:.7rem 0 0;max-width:24ch}
.ed-head p{color:var(--ink-2);margin:1rem 0 0;max-width:58ch}

/* portrait tiles */
.ed-tiles{display:grid;gap:1.1rem;margin-top:2.4rem}
@media(min-width:760px){.ed-tiles{grid-template-columns:repeat(3,1fr)}}
.ed-tile{position:relative;display:block;aspect-ratio:7/10;overflow:hidden;text-decoration:none;background:var(--navy);
  transition:transform 160ms cubic-bezier(.23,1,.32,1)}
.ed-tile:active{transform:scale(.995)}
.ed-tile img{width:100%;height:100%;object-fit:cover;filter:contrast(1.03) saturate(1.03);transition:transform .7s cubic-bezier(.23,1,.32,1)}
.ed-tile:hover img{transform:scale(1.04)}
.ed-tile::after{content:"";position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(2,19,47,.96) 0%,rgba(2,19,47,.62) 44%,rgba(2,19,47,.06) 76%)}
.ed-tile-body{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:1.4rem;color:#fff}
.ed-tile-body .lbl{color:rgba(255,255,255,.7)}
.ed-tile-body h3{font-size:1.5rem;line-height:1.12;margin:.5rem 0 0;color:#fff}
.ed-more{display:inline-flex;align-items:center;gap:.4rem;margin-top:1rem;font-size:.625rem;
  font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#fff}
.ed-tile:hover .ed-more{color:var(--orange)}

/* mosaic */
.ed-mosaic{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;margin-top:2.2rem}
@media(min-width:760px){.ed-mosaic{grid-template-columns:repeat(4,1fr)}}
.ed-mosaic figure{margin:0;position:relative;aspect-ratio:1/1;overflow:hidden;background:var(--navy)}
.ed-mosaic img{width:100%;height:100%;object-fit:cover;filter:contrast(1.05) brightness(.94) saturate(1.03)}
.ed-mosaic figcaption{position:absolute;left:0;right:0;bottom:0;padding:.9rem;color:#fff;
  font-size:.625rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  background:linear-gradient(0deg,rgba(2,19,47,.9),transparent)}

/* story: image + offset panel */
.ed-story{background:var(--paper);padding-block:var(--band)}
.ed-story-grid{display:grid;gap:0}
@media(min-width:900px){.ed-story-grid{grid-template-columns:1.15fr .85fr;align-items:center}}
.ed-story-media{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--navy)}
.ed-story-media img{width:100%;height:100%;object-fit:cover;filter:contrast(1.04) saturate(1.03)}
@media(min-width:900px){.ed-story-media{aspect-ratio:16/10}}
.ed-story-panel{background:var(--navy);color:#fff;padding:clamp(1.6rem,3vw,3rem)}
@media(min-width:900px){.ed-story-panel{margin-left:-4rem;position:relative;z-index:2}}
.ed-story-panel .lbl{color:var(--sky)}
.ed-story-panel h2{color:#fff;font-size:clamp(1.5rem,1.1rem+1.6vw,2.2rem);line-height:1.1;margin:.7rem 0 0}
.ed-story-panel p{color:rgba(255,255,255,.8);margin:1rem 0 0;font-size:.9375rem}
.ed-story-panel .btn-outline{margin-top:1.6rem}

/* guides list */
.ed-guides{display:grid;gap:0 3rem;margin-top:2.2rem}
@media(min-width:820px){.ed-guides{grid-template-columns:1fr 1fr}}
.ed-guide{display:grid;grid-template-columns:7rem 1fr;gap:1.2rem;padding:1.15rem 0;border-top:1px solid var(--rule);
  text-decoration:none;align-items:baseline;color:inherit}
.ed-guide:hover .ed-gt{color:var(--orange)}
.ed-guide .lbl{font-size:.625rem;line-height:1.5}
.ed-gt{font-family:var(--serif);font-weight:600;font-size:1.125rem;line-height:1.25;letter-spacing:-.01em;transition:color .2s}

/* offices */
.ed-offices{display:grid;gap:1rem;margin-top:2.2rem}
@media(min-width:760px){.ed-offices{grid-template-columns:1fr 1fr}}
.ed-office{background:var(--paper);padding:1.6rem}
.ed-office h3{font-size:1.35rem;margin:0 0 .8rem}
.ed-office h3 span{font-family:var(--sans);font-size:.625rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3)}
.ed-office dl{margin:0;font-size:.9375rem}
.ed-office dl div{display:grid;grid-template-columns:6.5rem 1fr;gap:.8rem;padding:.45rem 0;border-top:1px solid var(--rule)}
.ed-office dt{font-size:.625rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);padding-top:.2rem}
.ed-office dd{margin:0}
.ed-office a{color:var(--navy);text-decoration:none;border-bottom:1px solid var(--rule-2)}
.ed-office a:hover{border-bottom-color:var(--orange)}

/* closer */
.ed-closer{background:var(--navy-deep);color:#fff;padding-block:var(--band)}
.ed-closer .wrap{display:grid;gap:2rem;align-items:end}
@media(min-width:900px){.ed-closer .wrap{grid-template-columns:1.3fr .7fr}}
.ed-closer h2{color:#fff;font-size:clamp(1.8rem,1.2rem+2.4vw,3rem);line-height:1.06;margin:0;max-width:22ch}
.ed-closer p{color:rgba(255,255,255,.78);margin:1rem 0 0;max-width:46ch}
.ed-closer .ed-actions{display:flex;gap:.75rem;flex-wrap:wrap}
.ed-closer .ed-cta{margin-top:0}

/* ---------- footer ---------- */

.site-foot{background:var(--navy-deep);color:rgba(255,255,255,.72)}
.foot-brand p{font-family:var(--serif);font-size:1rem;color:rgba(255,255,255,.85)}
.foot-col > .lbl{color:rgba(255,255,255,.5)}
.foot-col a{font-size:.875rem}
.foot-bar,.foot-note{color:rgba(255,255,255,.55)}

/* ---------- mobile action bar ---------- */

.actionbar a{font-size:.6875rem;letter-spacing:.1em;text-transform:uppercase;font-weight:700}

/* ---------- mobile menu: bridge the display switch ---------- */

@media (prefers-reduced-motion: no-preference){
  .sheet[data-open="true"]{animation:sheet-in 240ms cubic-bezier(.23,1,.32,1) both}
  @keyframes sheet-in{
    from{opacity:0;transform:translateY(-8px)}
    to{opacity:1;transform:translateY(0)}
  }
}

/* ---------- hover interactions (pointer devices only) ---------- */

@media (hover:hover) and (pointer:fine){
  .nav-btn,.nav-item > a{position:relative}
  .nav-btn::after,.nav-item > a::after{
    content:"";position:absolute;left:.7rem;right:.7rem;bottom:.22rem;height:1px;
    background:currentColor;transform:scaleX(0);transform-origin:left;
    transition:transform 160ms cubic-bezier(.23,1,.32,1);
  }
  .nav-btn:hover::after,.nav-item > a:hover::after{transform:scaleX(1)}

  .plate img{transition:transform 420ms cubic-bezier(.23,1,.32,1)}
  .plate:hover img{transform:scale(1.015)}

  .ledger tbody tr{transition:background-color 160ms linear}
  .ledger tbody tr:hover{background:rgba(5,41,101,.035)}
}

/* ---------- motion / print guards ---------- */

/* Reduced motion: keep the fade, drop the movement. The carousel still
   advances (it has a pause control), but nothing travels across the screen. */
@media(prefers-reduced-motion:reduce){
  .ed-slide{transition:opacity .5s linear}
  .ed-glitch i{animation:none}
  .ed-tile img{transition:none}
  .ed-slide[data-active] .ed-copy > *{animation:ed-fade .5s linear both}
  .ed-slide[data-active] .ed-media img{animation:none}
  @keyframes ed-fade{from{opacity:0}to{opacity:1}}
}

@media(max-width:759px){
  .ed-copy{justify-content:flex-end;padding-bottom:8.5rem}
  .ed-copy h1{font-size:clamp(1.75rem,1.1rem+4vw,2.4rem)}
  .ed-copy p{display:none}
  .ed-glitch{opacity:.4}
  .head-in{gap:1rem}
  .brand img{height:24px}

  .page-head--hero{min-height:0;padding-block:2.5rem 2.25rem}
  .page-head--hero h1{font-size:clamp(1.75rem,1.2rem+3vw,2.3rem)}
  .page-head--hero .lead{font-size:.9375rem;line-height:1.55;margin-top:.9rem}
  .page-head--hero .btn-row{margin-top:1.4rem}
  .page-head--hero .crumbs{margin-bottom:.9rem}
}
