/*
Theme Name: ALLReady Construction
Theme URI: https://allready-construction.com
Author: Arbalest Solutions
Description: Bespoke theme for All Ready Construction Inc. Navy and gold taken from the
  client's own logo and live site; Newsreader and Libre Franklin for type. Deliberately
  not a page builder: the design system is this one stylesheet, and the project pages are
  a custom post type so the repeating content has a real editing surface.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: Proprietary
Text Domain: allready
*/

/* ============================================================
   ALL READY CONSTRUCTION - proposed home page, draft 02
   Palette and type taken from the live site and the logo file:
     navy  #0A1936   logo ground / site rgb(10,25,54)
     gold  #C49D3D   site brand gold
     grey  #5F6360 / #E2E2E2   site greys
     Newsreader       display + body. Variable optical size, so the
                      hero and the body copy each get a correct cut.
     Libre Franklin   UI, labels, figures. Franklin gothic lineage:
                      American, journalistic, authoritative.
   Deliberately single-theme. This is a website comp, so it must
   read to the client exactly as the live site would, on any host.
   ============================================================ */
:root{
  --navy:#0A1936;
  --navy-deep:#06101F;
  --navy-raised:#13203C;
  --navy-rule:#25324F;

  --gold:#C49D3D;
  --gold-lift:#DDB865;
  /* same brand hue, darkened until it clears 4.5:1 on both paper and white */
  --gold-dark:#7A5F21;
  --gold-wash:rgba(196,157,61,.10);
  --gold-edge:rgba(196,157,61,.42);

  --paper:#FFFFFF;
  --paper-alt:#F4F7FA;
  --sky:#EDF3F9;
  --paper-lift:#FFFFFF;
  --rule:#DFE4EA;
  --rule-soft:#EBEFF3;

  --ink:#0A1936;
  --ink-soft:#5F6360;
  --on-navy:#E7EAF0;
  --on-navy-soft:#96A0B6;

  --measure:64ch;
  --shell:min(1260px,calc(100% - 2.75rem));
  --gap:clamp(1.5rem,4vw,3.25rem);

  --t--1:clamp(.72rem,.7rem + .08vw,.77rem);
  --t-0:clamp(1.02rem,.99rem + .16vw,1.12rem);
  --t-1:clamp(1.24rem,1.14rem + .42vw,1.5rem);
  --t-2:clamp(1.7rem,1.42rem + 1.2vw,2.5rem);
  --t-3:clamp(2.2rem,1.7rem + 2.3vw,3.7rem);
  --t-4:clamp(2rem,1.5rem + 2.3vw,3.4rem);
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
/* sticky header is ~82px, so anchored sections must clear it */
section[id],main[id]{scroll-margin-top:98px}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:Newsreader,"Iowan Old Style","Hoefler Text",Georgia,serif;
  font-size:var(--t-0);
  line-height:1.6;
}
h1,h2,h3{
  font-family:Newsreader,"Iowan Old Style","Hoefler Text",Georgia,serif;
  font-weight:500;
  font-optical-sizing:auto;
  line-height:1.08;
  letter-spacing:-.006em;
  text-wrap:balance;
  margin:0;
}
p{margin:0}
a{color:inherit}
img{max-width:100%;display:block}

/* Focus ring works on navy, on paper AND on the gold buttons:
   a dark inner halo plus a light outer ring, so one of the two
   always contrasts with whatever sits behind it. */
:focus-visible{
  outline:2px solid var(--navy-deep);
  outline-offset:2px;
  box-shadow:0 0 0 4px var(--gold-lift);
  border-radius:1px;
}
.band--navy :focus-visible,.band--deep :focus-visible,.hero :focus-visible,.top :focus-visible,.foot :focus-visible{
  outline-color:var(--paper-lift);
  box-shadow:0 0 0 4px var(--gold);
}

/* Skip link */
.skip{
  position:absolute;left:.75rem;top:.75rem;z-index:100;
  background:var(--gold);color:#181205;padding:.8rem 1.15rem;
  font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.72rem;font-weight:600;
  letter-spacing:.15em;text-transform:uppercase;text-decoration:none;
  transform:translateY(-400%);
  transition:transform .2s cubic-bezier(.22,1,.36,1);
}
.skip:focus{transform:none}

/* Scroll reveal - subtle, 340ms, and off entirely under reduced motion */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .34s ease-out,transform .34s ease-out}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ============================================================
   ATMOSPHERE
   Flat navy at this scale reads digitally sterile. A fractal
   noise plate at 3.5% breaks it up the way film grain does.
   Generated inline as SVG - no external host, CSP-safe.
   ============================================================ */
.grain{
  position:fixed;inset:-50%;z-index:1;pointer-events:none;
  opacity:.018;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion:reduce){.grain{opacity:.025}}

/* ============================================================
   ENTRY SEQUENCE
   No blocking preloader: an asset manager should never wait on
   a splash. Instead the hero holds its first frame until the
   fonts resolve, then plays a single 700ms cascade. Everything
   below is authored visible, so with JS off nothing is hidden.
   ============================================================ */
.hero-h1 .wd{display:inline-block;overflow:hidden;padding-bottom:.14em;margin-bottom:-.14em;vertical-align:top}
.hero-h1 .wd > i{display:inline-block;font-style:inherit}
.js .hero-h1 .wd > i{transform:translateY(108%);transition:transform .78s cubic-bezier(.22,1,.36,1)}
.js.ready .hero-h1 .wd > i{transform:none}

.js .hero-rise{opacity:0;transform:translateY(18px);transition:opacity .7s ease-out,transform .7s cubic-bezier(.22,1,.36,1)}
.js.ready .hero-rise{opacity:1;transform:none}

.js .hero-figure{clip-path:inset(0 0 100% 0);transition:clip-path 1s cubic-bezier(.22,1,.36,1)}
.js.ready .hero-figure{clip-path:inset(0 0 0 0)}

@media (prefers-reduced-motion:reduce){
  .js .hero-h1 .wd > i,.js .hero-rise,.js .hero-figure{transform:none;opacity:1;clip-path:none;transition:none}
}

.ui{
  font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;
  font-size:var(--t--1);
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:600;
}
.shell{width:var(--shell);margin-inline:auto}
.stack{display:flex;flex-direction:column;gap:clamp(1.1rem,2.4vw,1.85rem)}
.lede{max-width:var(--measure);font-size:var(--t-1);line-height:1.5}
.body{max-width:var(--measure)}
.num{font-variant-numeric:tabular-nums}

/* ---- bands -------------------------------------------------
   Each band publishes a surface palette. Components consume the
   --s-* tokens instead of naming navy, so one set of rules works
   on a white band and a navy one.
   ------------------------------------------------------------ */
:root{
  --s-bg:var(--paper-lift);
  --s-bg-alt:var(--paper-alt);
  --s-line:var(--rule);
  --s-line-soft:var(--rule-soft);
  --s-ink:var(--ink);
  --s-soft:var(--ink-soft);
  --s-accent:var(--gold-dark);
}
.band{padding-block:clamp(3.25rem,7.5vw,6.75rem)}

.band--navy,.band--deep,.foot{
  --s-bg:var(--navy-raised);
  --s-bg-alt:var(--navy);
  --s-line:var(--navy-rule);
  --s-line-soft:var(--navy-rule);
  --s-ink:var(--on-navy);
  --s-soft:var(--on-navy-soft);
  --s-accent:var(--gold);
}
.band--navy{background:var(--navy);color:var(--on-navy)}
.band--deep{background:var(--navy-deep);color:var(--on-navy)}
.band--paper{background:var(--paper);color:var(--ink)}
.band--alt{background:var(--paper-alt);color:var(--ink)}
.band--paper .lede,.band--paper .body,
.band--alt .lede,.band--alt .body{color:var(--ink-soft)}
.band--navy .lede,.band--deep .lede{color:var(--on-navy-soft)}

.eyebrow{color:var(--gold);display:block}
.band--paper .eyebrow,.band--alt .eyebrow,.hero .eyebrow,.phero .eyebrow{color:var(--gold-dark)}

/* ---- the skyline rule -------------------------------------
   The logo mark is a stack of vertical gold bars of differing
   height. That is the one graphic device this page repeats.   */
.skyline{display:flex;align-items:flex-end;gap:3px;height:22px}
.skyline i{width:2px;background:var(--gold);display:block}
.band--paper .skyline i,.band--alt .skyline i,.hero .skyline i,.phero .skyline i{background:var(--gold-dark)}
.skyline i:nth-child(1){height:32%}
.skyline i:nth-child(2){height:52%}
.skyline i:nth-child(3){height:40%}
.skyline i:nth-child(4){height:100%}
.skyline i:nth-child(5){height:84%}
.skyline i:nth-child(6){height:68%}
.skyline i:nth-child(7){height:92%}
.skyline i:nth-child(8){height:56%}
.skyline i:nth-child(9){height:44%}
.skyline i:nth-child(10){height:76%}
.skyline i:nth-child(11){height:30%}
.skyline i:nth-child(12){height:60%}
.skyline i:nth-child(13){height:38%}
.skyline i:nth-child(14){height:26%}
.skyline--wide{height:34px;gap:5px}
.skyline--wide i{width:3px}

/* ---- draft bar -------------------------------------------- */
.draft{background:var(--gold);color:#1D1607}
.draft .shell{display:flex;flex-wrap:wrap;gap:.35rem 1.4rem;align-items:baseline;padding-block:.55rem}
.draft .ui{letter-spacing:.14em}
.draft span{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.72rem;letter-spacing:.06em;opacity:.78}

/* ---- header ----------------------------------------------- */
/* Contextual header: retreats on the way down, returns on the way up,
   and frosts once it is over content rather than over the hero. */
.top{
  background:var(--navy-deep);border-bottom:1px solid var(--navy-rule);
  position:sticky;top:0;z-index:50;
  transition:transform .38s cubic-bezier(.22,1,.36,1),background .3s ease,border-color .3s ease;
}
.top.lifted{
  background:rgba(6,16,31,.82);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom-color:var(--gold-edge);
}
.top.gone{transform:translateY(-100%)}
@media (prefers-reduced-motion:reduce){.top.gone{transform:none}}
.top .shell{display:flex;align-items:center;gap:clamp(1rem,3vw,2.75rem);min-height:82px;position:relative}
.lockup{display:flex;align-items:center;gap:.72rem;text-decoration:none;margin-right:auto;min-height:44px}
.lockup img{height:40px;width:auto}
.lockup .wm{display:flex;flex-direction:column;line-height:1;gap:.34rem}
.lockup .a{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-weight:600;font-size:1.04rem;letter-spacing:.15em;color:var(--gold)}
.lockup .b{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-weight:400;font-size:.56rem;letter-spacing:.3em;color:var(--on-navy-soft)}
.nav{display:flex;gap:.35rem}
.nav a{
  font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.76rem;font-weight:500;
  letter-spacing:.13em;text-transform:uppercase;text-decoration:none;color:var(--on-navy-soft);
  display:flex;align-items:center;min-height:44px;padding:0 .6rem;
  border-bottom:2px solid transparent;transition:color .18s ease,border-color .18s ease;
}
.nav a:hover{color:var(--on-navy);border-color:var(--gold)}

/* Menu toggle - hidden on desktop, the only nav below 1020px */
.menu-btn{
  display:none;align-items:center;gap:.55rem;cursor:pointer;
  min-height:44px;padding:0 .85rem;background:transparent;
  border:1px solid var(--navy-rule);color:var(--on-navy);
  font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.68rem;font-weight:600;
  letter-spacing:.15em;text-transform:uppercase;transition:border-color .18s ease;
}
.menu-btn:hover{border-color:var(--gold)}
.menu-btn .bars{display:flex;flex-direction:column;gap:3px;width:15px}
.menu-btn .bars i{height:2px;background:var(--gold);transition:transform .18s ease,opacity .18s ease}
.menu-btn[aria-expanded="true"] .bars i:nth-child(1){transform:translateY(5px) rotate(45deg)}
.menu-btn[aria-expanded="true"] .bars i:nth-child(2){opacity:0}
.menu-btn[aria-expanded="true"] .bars i:nth-child(3){transform:translateY(-5px) rotate(-45deg)}

@media (max-width:1020px){
  .menu-btn{display:inline-flex}
  .top .shell > .btn{display:none}
  .nav{
    position:absolute;left:0;right:0;top:100%;
    flex-direction:column;gap:0;
    background:var(--navy-deep);border-bottom:1px solid var(--navy-rule);
    padding:.5rem 0 1rem;
  }
  .nav[hidden]{display:none}
  .nav a{
    width:var(--shell);margin-inline:auto;min-height:52px;padding:0;
    border-bottom:1px solid var(--navy-rule);font-size:.82rem;
  }
  .nav .btn{width:var(--shell);margin:.9rem auto 0}
}
@media (min-width:1021px){.nav .btn{display:none}}

/* ---- buttons ---------------------------------------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-weight:600;font-size:.74rem;
  letter-spacing:.15em;text-transform:uppercase;text-decoration:none;
  min-height:44px;padding:.85rem 1.5rem;border:1px solid var(--gold);background:var(--gold);color:#181205;
  transition:background .18s ease,color .18s ease;cursor:pointer;
}
.btn:hover{background:var(--gold-lift);border-color:var(--gold-lift)}
/* Magnetic pull, restrained to 5px and only where there is a real
   pointer. On touch this code never runs. */
@media (hover:hover) and (pointer:fine){
  .magnetic{will-change:transform}
  .magnetic.settle{transition:transform .45s cubic-bezier(.22,1,.36,1)}
}
@media (prefers-reduced-motion:reduce){.magnetic{transform:none !important}}
.btn--line{background:transparent;color:var(--gold)}
.btn--line:hover{background:var(--gold);color:#181205}
.band--paper .btn--line{color:var(--gold-dark);border-color:var(--gold-dark)}
.band--paper .btn--line:hover{background:var(--gold);color:#181205;border-color:var(--gold)}
.btn-row{display:flex;flex-wrap:wrap;gap:.7rem}

/* ---- holds: content we are still waiting on ---------------- */
.hold{border:1px dashed var(--gold-edge);background:var(--gold-wash);padding:.9rem 1.05rem;display:flex;flex-direction:column;gap:.35rem}
/* On white, a 10% gold wash disappears. Light contexts get a real tint and
   a firmer edge so a hold still reads as a deliberate gap. */
.band--paper .hold,.band--alt .hold,.hero .hold,.phero .hold,
.band--paper .ref,.band--alt .ref,
.band--paper .proj-hold,.band--alt .proj-hold,
.band--paper .svc-hold,.band--alt .svc-hold{
  background:#F5E9CB;
  border-color:#C3A24A;
}
.band--paper .hold .v,.band--alt .hold .v{color:#5A5442}
.band--paper .ref .q,.band--alt .ref .q{color:#5A5442}
.band--paper .proj-hold .n,.band--alt .proj-hold .n{color:var(--gold-dark)}
.band--paper .proj-hold .v,.band--alt .proj-hold .v{color:#5A5442}
.hold .k{color:var(--s-accent);font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;font-weight:600}
.hold .v{font-size:.99rem;line-height:1.5;color:var(--s-soft)}
.band--paper .hold .k{color:var(--gold-dark)}
.band--paper .hold .v{color:var(--ink-soft)}
.hold--tag{padding:.28rem .55rem}
.hold--tag .k{font-size:.58rem;letter-spacing:.14em}

/* ---- hero -------------------------------------------------- */
.hero{background:var(--paper);border-bottom:1px solid var(--rule);overflow:hidden;position:relative;color:var(--ink)}
/* Cinematic scale, but capped so the qualification figures stay
   within reach of the fold. A buyer vetting a contractor should
   not have to scroll to find the licence number. */
.hero-grid{
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  gap:clamp(1.75rem,5vw,4.5rem);align-items:center;
  padding-block:clamp(3rem,7vw,6rem);
  min-height:min(86svh,760px);
}
.hero h1{font-size:var(--t-4);font-weight:400;letter-spacing:-.014em;line-height:1.08;max-width:17ch;hanging-punctuation:first}
.hero h1 em{font-style:normal;color:var(--gold-dark)}
.hero .meta{display:flex;flex-wrap:wrap;gap:.4rem 1.1rem;color:var(--ink-soft);font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.68rem;letter-spacing:.16em;text-transform:uppercase}
.hero .meta i{font-style:normal;color:var(--gold-dark)}
.hero-figure{position:relative;overflow:hidden;border:1px solid var(--rule)}
/* Parallax: the plate is oversized and offset by transform only,
   so the scroll handler never touches layout. */
.hero-figure img{width:100%;aspect-ratio:4/3;object-fit:cover;scale:1.04;will-change:transform}
.hero-figure .cap{position:absolute;left:0;right:0;bottom:0;padding:3rem 1.1rem .95rem;background:linear-gradient(to top,rgba(6,16,31,.95),rgba(6,16,31,0));color:var(--on-navy);font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.64rem;letter-spacing:.16em;text-transform:uppercase}
@media (max-width:920px){.hero-grid{grid-template-columns:1fr}.hero-figure img{aspect-ratio:4/3}}

/* ---- proof figures ----------------------------------------- */
.figures{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));border-top:1px solid var(--navy-rule)}
.figures > div{padding:1.6rem 1.4rem;border-right:1px solid var(--navy-rule);display:flex;flex-direction:column;gap:.5rem}
.figures > div:last-child{border-right:0}
.figures .n{font-family:Newsreader,"Iowan Old Style","Hoefler Text",Georgia,serif;font-size:clamp(2rem,1.4rem + 2vw,2.9rem);line-height:1;color:var(--gold)}
.figures .n.wait{font-size:1.05rem;font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-weight:500;letter-spacing:.04em;color:var(--gold-lift);line-height:1.35}
.figures .l{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.63rem;letter-spacing:.17em;text-transform:uppercase;color:var(--on-navy-soft);line-height:1.5}

/* ---- clients ----------------------------------------------- */
.clients{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:1px;background:var(--s-line);border:1px solid var(--s-line)}
.clients div{background:var(--s-bg);padding:1.25rem 1.2rem;display:flex;flex-direction:column;gap:.35rem}
.clients .n{font-family:Newsreader,"Iowan Old Style","Hoefler Text",Georgia,serif;font-size:1.32rem;color:var(--s-ink);line-height:1.15}
.clients .t{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.63rem;letter-spacing:.13em;text-transform:uppercase;color:var(--s-soft);line-height:1.55}

/* ---- two column split -------------------------------------- */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);gap:clamp(1.5rem,4.5vw,3.5rem);align-items:center}
.split--wide{grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);align-items:start}
.split--wide img{position:sticky;top:110px}
.split img{width:100%;aspect-ratio:5/4;object-fit:cover}
@media (max-width:860px){.split{grid-template-columns:1fr}.split--wide img{position:static}}
.marks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.6rem;max-width:var(--measure)}
.marks li{display:grid;grid-template-columns:14px 1fr;gap:.75rem;align-items:start}
.marks li::before{content:"";width:2px;height:1.05em;background:var(--gold);margin-top:.3em}

/* ---- cost of the overrun ----------------------------------- */
.cost{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(262px,100%),1fr));gap:1px;background:var(--s-line);border-block:1px solid var(--s-line)}
.cost article{background:var(--s-bg-alt);padding:1.6rem 1.4rem;display:flex;flex-direction:column;gap:.7rem}
.cost h3{font-size:1.36rem;color:var(--s-accent);line-height:1.18}
.cost p{font-size:1rem;color:var(--s-soft);line-height:1.55}

/* ---- what stops -------------------------------------------- */
.stops{list-style:none;margin:0;padding:0;display:grid;gap:0}

/* full-width image inside a band */
.band-img{width:100%;aspect-ratio:16/9;object-fit:cover;border:1px solid var(--navy-rule)}
.band--paper .band-img,.band--alt .band-img{border-color:var(--rule)}
@media (max-width:820px){.band-img{aspect-ratio:4/3}}
/* Each li holds a marker, a <b> and a bare text node. As a 2-column grid the
   text node auto-placed into row 2 col 1, widened the auto column and crushed
   the bold lead-in into a ribbon. Absolute marker, normal text flow. */
.stops li{
  position:relative;
  padding:1.05rem 0 1.05rem 1.9rem;
  border-bottom:1px solid var(--rule);
  color:var(--ink-soft);font-size:1.02rem;line-height:1.55;
}
.stops li:first-child{border-top:1px solid var(--rule)}
.stops li::before{
  content:"";position:absolute;left:0;top:1.5em;
  width:11px;height:11px;background:var(--gold);
  clip-path:polygon(0 38%,38% 38%,38% 0,62% 0,62% 38%,100% 38%,100% 62%,62% 62%,62% 100%,38% 100%,38% 62%,0 62%);
  transform:rotate(45deg);
}
.stops b{
  display:block;margin-bottom:.22rem;
  color:var(--ink);font-weight:500;
  font-family:Newsreader,"Iowan Old Style","Hoefler Text",Georgia,serif;
  font-size:1.22rem;line-height:1.3;letter-spacing:-.005em;
}

/* ---- projects ---------------------------------------------- */
.filters{display:flex;flex-wrap:wrap;gap:.6rem}
.filters button{
  font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.66rem;letter-spacing:.15em;
  text-transform:uppercase;font-weight:600;
  display:inline-flex;align-items:center;min-height:44px;padding:0 1.15rem;
  border:1px solid var(--navy-rule);background:transparent;color:var(--on-navy-soft);
  cursor:pointer;transition:border-color .18s ease,color .18s ease,background .18s ease;
}
.filters button:hover{color:var(--on-navy);border-color:var(--gold-lift)}
.filters button[aria-pressed="true"]{border-color:var(--gold);color:var(--gold);background:var(--gold-wash)}
.pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:1.35rem}
.proj{
  background:var(--s-bg);border:1px solid var(--s-line);
  display:flex;flex-direction:column;overflow:hidden;
  transition:transform .4s cubic-bezier(.22,1,.36,1),border-color .3s ease;
}
.proj > img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .6s cubic-bezier(.22,1,.36,1)}
.proj .in{color:var(--s-ink)}
.proj h3 a{color:var(--s-ink)}
@media (hover:hover) and (pointer:fine){
  .proj:hover{transform:translate3d(0,-5px,0);border-color:var(--gold-edge)}
  .proj:hover > img{transform:scale(1.045)}
}
@media (prefers-reduced-motion:reduce){
  .proj,.proj > img{transition:none}
  .proj:hover{transform:none}
  .proj:hover > img{transform:none}
}
.proj .thumbs{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--s-line);border-block:1px solid var(--s-line)}
.proj .thumbs img{width:100%;aspect-ratio:1/1;object-fit:cover}
.proj .in{padding:1.15rem 1.2rem 1.3rem;display:flex;flex-direction:column;gap:.6rem;flex:1}
.proj .tag{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.6rem;letter-spacing:.16em;text-transform:uppercase;color:var(--s-accent);display:flex;flex-wrap:wrap;gap:.3rem .8rem}
.proj .tag em{font-style:normal;color:var(--s-soft)}
.proj h3{font-size:1.55rem}
.proj h3 a{display:flex;align-items:center;min-height:44px;text-decoration:none;color:inherit}
.proj h3 a:hover{color:var(--gold-lift)}
.proj p{font-size:1rem;color:var(--s-soft);line-height:1.5}
.proj-hold{border:1px dashed var(--gold-edge);background:var(--gold-wash);min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:.6rem;padding:1.75rem;overflow:hidden}
.proj-hold img{width:100%;max-width:190px;aspect-ratio:3/4;object-fit:cover;opacity:.9;margin-bottom:.35rem}
.proj-hold .k{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.6rem;letter-spacing:.2em;text-transform:uppercase;color:var(--s-accent);font-weight:600}
.proj-hold .n{font-family:Newsreader,"Iowan Old Style","Hoefler Text",Georgia,serif;font-size:1.5rem;color:var(--gold-lift)}
.proj-hold .v{font-size:.97rem;color:var(--s-soft);line-height:1.5;max-width:27ch}

/* ---- services ---------------------------------------------- */
.svc{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(268px,100%),1fr));gap:1px;background:var(--rule);border:1px solid var(--rule)}
.svc article{background:var(--paper-lift);padding:1.5rem 1.4rem;display:flex;flex-direction:column;gap:.6rem}
.svc .k{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.6rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold-dark);font-weight:600}
.svc h3{font-size:1.45rem;color:var(--ink)}
.svc p{font-size:1rem;color:var(--ink-soft);line-height:1.55}
.svc .svc-hold{background:var(--gold-wash);border-left:1px dashed var(--gold-edge)}
.svc .svc-hold h3{color:var(--gold-dark)}

/* ---- who we serve ------------------------------------------ */
.serve{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(232px,100%),1fr));gap:1.5rem}
.serve article{display:flex;flex-direction:column;gap:.5rem;padding-top:.9rem;border-top:2px solid var(--s-accent)}
.serve h3{font-size:1.28rem;color:var(--s-ink)}
.serve p{font-size:.98rem;color:var(--s-soft);line-height:1.55}

/* ---- references -------------------------------------------- */
.refs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr));gap:1.35rem}
.ref{border:1px dashed var(--gold-edge);background:var(--gold-wash);padding:1.6rem 1.5rem;display:flex;flex-direction:column;gap:1rem;min-height:236px}
.ref .q{font-size:1.16rem;color:var(--s-soft);line-height:1.5;flex:1;position:relative;padding-left:1.35rem}
.ref .q::before{content:'\201C';position:absolute;left:0;top:-.08em;font-size:2.1rem;line-height:1;color:var(--gold);opacity:.85}
.ref .who{display:flex;flex-direction:column;gap:.25rem;border-top:1px solid var(--gold-edge);padding-top:.85rem}
.ref .who b{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-weight:600;font-size:.82rem;letter-spacing:.06em;color:var(--s-accent)}
.ref .who span{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.63rem;letter-spacing:.13em;text-transform:uppercase;color:var(--s-soft)}

/* ---- bid form ---------------------------------------------- */
.form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(238px,100%),1fr));gap:1rem}
.f{display:flex;flex-direction:column;gap:.4rem}
.f--wide{grid-column:1/-1}
.f label{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.6rem;letter-spacing:.17em;text-transform:uppercase;color:var(--ink-soft);font-weight:600}
.f input,.f select,.f textarea{font-family:Newsreader,"Iowan Old Style","Hoefler Text",Georgia,serif;font-size:1.04rem;color:var(--ink);background:var(--paper-lift);border:1px solid var(--rule);min-height:44px;padding:.68rem .85rem;width:100%}
.f input:focus,.f select:focus,.f textarea:focus{border-color:var(--gold)}
.f textarea{min-height:120px;resize:vertical}
.f select{appearance:none;border-radius:0}
.f .hint{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.68rem;letter-spacing:.02em;color:var(--ink-soft);text-transform:none}
.f .err{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.72rem;letter-spacing:.02em;color:#9A2515;text-transform:none;font-weight:500}
.f.invalid input,.f.invalid select,.f.invalid textarea{border-color:#9A2515;background:#FCF3F1}
.sent{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.7rem;letter-spacing:.13em;text-transform:uppercase;color:var(--gold-dark);font-weight:600;display:flex;align-items:center;gap:.5rem}
.sent b{font-weight:600}
.holds-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(226px,100%),1fr));gap:1rem}

/* ---- footer ------------------------------------------------ */
.foot{background:var(--navy-deep);padding-block:3rem 3.5rem;border-top:1px solid var(--navy-rule)}
.foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(178px,100%),1fr));gap:2rem}
@media (min-width:920px){.foot-grid{grid-template-columns:1.3fr 1fr 1fr 1fr}}
.foot .foot-h{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.6rem;letter-spacing:.19em;text-transform:uppercase;color:var(--gold);font-weight:600;margin:0}
.foot ul{list-style:none;margin:.6rem 0 0;padding:0;display:flex;flex-direction:column}
.foot li{color:var(--on-navy-soft);font-size:1rem;padding-block:.35rem}
.foot a{color:var(--on-navy-soft);text-decoration:none;font-size:1rem;display:flex;align-items:center;min-height:44px}
.foot a:hover{color:var(--on-navy)}
.foot .gold{color:var(--gold-lift)}
.foot-base{margin-top:2.6rem;padding-top:1.3rem;border-top:1px solid var(--navy-rule);display:flex;flex-wrap:wrap;gap:.5rem 1.75rem;font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.62rem;letter-spacing:.13em;text-transform:uppercase;color:var(--on-navy-soft)}


/* ============================================================
   MOBILE PASS
   Measured on a 390px viewport: the page ran to 18.6 phone
   screens, the hero alone was 1003px with the photo crushed to a
   197px letterbox, and the six qualification figures stacked to
   611px. This tightens the vertical rhythm and gives the imagery
   back its proportions.
   ============================================================ */
@media (max-width:820px){
  .band{padding-block:clamp(2rem,6vw,2.75rem)}

  /* hero: no forced viewport height, and let the portrait photo be portrait */
  .hero-grid{min-height:0;padding-block:2rem 2.5rem;gap:1.6rem}
  .hero-figure img{aspect-ratio:4/3;scale:1}
  .hero h1{max-width:none}
  .hero .lede{font-size:1.08rem;color:var(--ink-soft)}
  .hero .meta{flex-direction:column;gap:.35rem}
  .hero .meta i{display:none}

  /* full-width CTAs: a 164px button in a 346px column reads as an afterthought */
  .btn-row{flex-direction:column;align-items:stretch;gap:.6rem}
  .btn-row .btn{width:100%}
  .endcta{flex-direction:column;align-items:stretch}
  .endcta .btn{width:100%}

  /* qualification figures two-up rather than a 611px column */
  .figures{grid-template-columns:1fr 1fr}
  .figures > div{padding:1.1rem .9rem}
  .figures > div:nth-child(2n){border-right:0}
  .figures .n{font-size:1.75rem}

  /* the draft bar is scaffolding, not content */
  .draft .shell{padding-block:.45rem;gap:.15rem .9rem}
  .draft span:not(.ui){font-size:.66rem}

  /* tables and wide blocks */
  .captable th{width:42%}
  .captable th,.captable td{padding:.75rem .6rem;font-size:.95rem}

  /* section headings were running to four lines */
  .phero h1,.band h2{max-width:none}
}

@media (max-width:480px){
  .figures .n{font-size:1.5rem}
  .figures > div{padding:.95rem .75rem}
}

@media (prefers-reduced-motion:reduce){*{animation-duration:.01ms !important;transition-duration:.01ms !important}}

/* ============================================================
   INNER PAGES
   ============================================================ */
.phero{background:var(--paper-alt);border-bottom:1px solid var(--rule);padding-block:clamp(2.5rem,6vw,4.5rem);color:var(--ink)}
.phero .shell{display:flex;flex-direction:column;gap:1.15rem}
.phero h1{font-size:var(--t-3);font-weight:400;letter-spacing:-.016em;max-width:20ch;color:var(--ink)}
.phero .lede{max-width:60ch;color:var(--ink-soft)}
.crumbs{display:flex;flex-wrap:wrap;gap:.4rem .55rem;align-items:center;font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.66rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft)}
.crumbs a{color:var(--gold-dark);text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.crumbs a:hover{text-decoration:underline}
.crumbs span[aria-current]{color:var(--ink-soft)}

.prose{max-width:var(--measure);display:flex;flex-direction:column;gap:1rem}
.prose p{color:inherit}
.band--paper .prose p{color:var(--ink-soft)}
.band--navy .prose p,.band--deep .prose p{color:var(--on-navy-soft)}

/* project factsheet */
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:1px;background:var(--s-line);border:1px solid var(--s-line)}
.facts > div{background:var(--s-bg);padding:1.1rem 1.15rem;display:flex;flex-direction:column;gap:.4rem}
.facts .k{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.62rem;letter-spacing:.15em;text-transform:uppercase;color:var(--s-soft)}
.facts .v{font-size:1.2rem;color:var(--s-ink);line-height:1.25}
.facts .v.wait{color:var(--s-accent);font-size:.95rem}

/* galleries */
.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:1rem}
.gallery figure{margin:0;display:flex;flex-direction:column;gap:.55rem}
.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border:1px solid var(--s-line)}
.band--paper .gallery img{border-color:var(--rule)}
.gallery figcaption{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.63rem;letter-spacing:.13em;text-transform:uppercase;color:var(--s-soft)}
.band--paper .gallery figcaption{color:var(--ink-soft)}
.gallery--wide{grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr))}

/* prev / next */
.pagenav{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:1px;background:var(--navy-rule);border:1px solid var(--navy-rule)}
.pagenav a{background:var(--navy);padding:1.3rem 1.35rem;text-decoration:none;display:flex;flex-direction:column;gap:.4rem;transition:background .2s ease}
.pagenav a:hover{background:var(--navy-raised)}
.pagenav .k{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.62rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}
.pagenav .t{font-size:1.24rem;color:var(--on-navy)}

/* closing CTA on inner pages */
.endcta{display:flex;flex-wrap:wrap;gap:1.4rem;align-items:center;justify-content:space-between}
.endcta h2{font-size:var(--t-2);max-width:18ch}

/* capabilities table */
.captable{width:100%;border-collapse:collapse;font-size:1rem}
.captable th,.captable td{text-align:left;padding:.9rem 1rem;border-bottom:1px solid var(--rule);vertical-align:top}
.captable th{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.62rem;letter-spacing:.15em;text-transform:uppercase;color:var(--ink-soft);font-weight:600;width:34%}
.captable td{color:var(--ink)}
.captable td.wait{color:var(--gold-dark)}
.tablewrap{overflow-x:auto}

/* site index, for the review build only */
.pages{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:1px;background:var(--navy-rule);border:1px solid var(--navy-rule)}
.pages a{background:var(--navy);padding:1.1rem 1.15rem;text-decoration:none;display:flex;flex-direction:column;gap:.35rem}
.pages a:hover{background:var(--navy-raised)}
.pages .t{font-size:1.16rem;color:var(--on-navy)}
.pages .u{font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;font-size:.62rem;letter-spacing:.1em;color:var(--gold)}

/* ============================================================
   TWO-LEVEL NAV
   Matching the competitor structure: About Us / Our Services /
   Our Projects each open a group. Hover on pointer devices,
   click everywhere, and a plain stacked list on mobile.
   ============================================================ */
.navgroup{position:relative;display:flex;align-items:center}
.navtop{
  display:flex;align-items:center;gap:.4rem;min-height:44px;padding:0 .6rem;
  background:transparent;border:0;cursor:pointer;
  font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;
  font-size:.76rem;font-weight:500;letter-spacing:.13em;text-transform:uppercase;
  color:var(--on-navy-soft);border-bottom:2px solid transparent;
  transition:color .18s ease,border-color .18s ease;
}
.navtop:hover,.navgroup:hover .navtop,.navtop[aria-expanded="true"]{color:var(--on-navy);border-color:var(--gold)}
.navtop[data-current="1"]{color:var(--on-navy)}
.chev{width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s ease}
.navtop[aria-expanded="true"] .chev{transform:rotate(225deg) translateY(-2px)}

.subnav{
  position:absolute;top:100%;left:0;min-width:250px;z-index:60;
  background:var(--navy-deep);border:1px solid var(--navy-rule);
  padding:.4rem 0;display:none;flex-direction:column;
  box-shadow:0 18px 40px rgba(0,0,0,.45);
}
.navgroup:hover .subnav,.navtop[aria-expanded="true"] + .subnav{display:flex}
.subnav .subitem{
  display:flex;align-items:center;min-height:44px;padding:0 1.1rem;
  border-bottom:0;font-size:.74rem;color:var(--on-navy-soft);white-space:nowrap;
}
.subnav .subitem:hover{color:var(--gold);background:var(--navy-raised)}
.subnav .subitem[aria-current]{color:var(--gold)}

.nav .navphone{
  display:flex;align-items:center;min-height:44px;padding:0 .6rem;
  font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;
  font-size:.78rem;font-weight:600;letter-spacing:.06em;color:var(--gold);text-decoration:none;
}
.nav .navphone.hold-phone{color:var(--gold);opacity:.75;font-style:normal}

@media (max-width:1020px){
  .navgroup{flex-direction:column;align-items:stretch;width:var(--shell);margin-inline:auto}
  .navtop{width:100%;justify-content:space-between;min-height:52px;padding:0;
          border-bottom:1px solid var(--navy-rule);font-size:.82rem}
  .subnav{position:static;display:none;border:0;box-shadow:none;background:transparent;
          padding:0 0 .5rem;min-width:0}
  .navgroup:hover .subnav{display:none}
  .navtop[aria-expanded="true"] + .subnav{display:flex}
  .subnav .subitem{padding-left:1rem;min-height:46px;border-bottom:1px solid var(--navy-rule);width:100%}
  .nav .navphone{width:var(--shell);margin-inline:auto;min-height:52px;border-bottom:1px solid var(--navy-rule)}
}

/* ============================================================
   QUALIFICATION TICKER
   Replaces the six-cell figures grid, which ran to a full screen
   on a phone. One slim band, continuous scroll, edge-masked.
   The track holds two identical sets and translates -50%, so the
   loop is seamless; the second set is aria-hidden so a screen
   reader hears the facts once.
   ============================================================ */
.ticker{
  position:relative;background:var(--sky);
  border-block:1px solid #D8E3EF;
  overflow:hidden;padding-block:1.1rem;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 6%,#000 94%,transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 6%,#000 94%,transparent 100%);
}
.ticker-track{
  display:flex;width:max-content;
  animation:tickerRun 52s linear infinite;
  will-change:transform;
}
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track{animation-play-state:paused}
.ticker-set{display:flex;align-items:center;flex:0 0 auto}

.tick{display:flex;align-items:baseline;gap:.55rem;padding-inline:1.6rem;white-space:nowrap}
.tick .v{
  font-family:Newsreader,"Iowan Old Style","Hoefler Text",Georgia,serif;
  font-size:1.45rem;font-weight:400;line-height:1;color:var(--navy);
  font-variant-numeric:tabular-nums;letter-spacing:-.01em;
}
.tick .l{
  font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;
  font-size:.64rem;font-weight:500;letter-spacing:.17em;text-transform:uppercase;
  color:var(--ink-soft);
}
.tick--wait .v{color:var(--navy);opacity:.72}
.tick--wait .l{color:var(--ink-soft)}

.ticker-sep{
  flex:0 0 auto;width:5px;height:5px;background:var(--navy);opacity:.28;
  transform:rotate(45deg);
}

@keyframes tickerRun{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}

@media (max-width:820px){
  .ticker{padding-block:.9rem}
  .tick{padding-inline:1.1rem;gap:.45rem}
  .tick .v{font-size:1.2rem}
  .tick .l{font-size:.6rem;letter-spacing:.14em}
  .ticker-track{animation-duration:38s}
}

/* Motion here is decorative; without it the same facts sit still. */
@media (prefers-reduced-motion:reduce){
  .ticker{-webkit-mask-image:none;mask-image:none;padding-block:1.15rem}
  .ticker-track{animation:none;width:100%;flex-wrap:wrap;justify-content:center;row-gap:.6rem}
  .ticker-set[aria-hidden="true"]{display:none}
}

/* ============================================================
   CLIENT LOGOS
   Source files were trimmed of their white margin and set to a
   single optical height, so a wide wordmark and a stacked one
   read at the same weight rather than by bounding box.
   ============================================================ */
.logos{
  list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));
  gap:clamp(1.25rem,3vw,2.5rem);align-items:center;
}
.logos li{display:flex;flex-direction:column;align-items:center;gap:.7rem}
.logos .logo-img{
  height:54px;width:auto;max-width:100%;object-fit:contain;
  /* Monochrome keeps four unrelated brand palettes calm next to each other,
     but at 72% on a pale band they disappeared. Full opacity, and a touch of
     contrast to hold the thinner wordmarks together. */
  filter:grayscale(1) contrast(1.12);
  transition:filter .25s ease;
}
.logos li:hover .logo-img{filter:grayscale(0) contrast(1)}
.logos .logo-role{
  font-family:"Libre Franklin","Helvetica Neue",Arial,sans-serif;
  font-size:.6rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--s-soft);text-align:center;
}
@media (max-width:820px){
  .logos{grid-template-columns:repeat(2,1fr);gap:1.5rem 1rem}
  .logos .logo-img{height:42px}
}
@media (prefers-reduced-motion:reduce){.logos .logo-img{transition:none}}

/* a logo sitting inside a reference card */
.ref .ref-logo{height:28px;width:auto;filter:grayscale(1) contrast(1.12);margin-bottom:.35rem}

/* ============================================================
   SITEWIDE MOTION
   The home hero already had a word-mask cascade; every other
   page opened flat. This carries the same choreography across
   all 21 pages, plus the connective tissue between them.
   Everything below is transform/opacity only and is switched
   off wholesale under prefers-reduced-motion.
   ============================================================ */

/* --- 1. scroll progress ------------------------------------ */
.progress{
  position:fixed;top:0;left:0;right:0;height:2px;z-index:70;
  background:transparent;pointer-events:none;
}
.progress i{
  display:block;height:100%;width:100%;
  background:linear-gradient(90deg,var(--gold-dark),var(--gold));
  transform:scaleX(0);transform-origin:0 50%;
  will-change:transform;
}

/* --- 2. inner-page headline, same cascade as the hero ------- */
.js .phero h1 .wd{display:inline-block;overflow:hidden;padding-bottom:.14em;margin-bottom:-.14em;vertical-align:top}
.js .phero h1 .wd > i{display:inline-block;font-style:inherit;transform:translateY(108%);transition:transform .72s cubic-bezier(.22,1,.36,1)}
.js.ready .phero h1 .wd > i{transform:none}
.js .phero .crumbs,
.js .phero .lede,
.js .phero .eyebrow,
.js .phero .skyline{opacity:0;transform:translateY(14px);transition:opacity .6s ease-out,transform .6s cubic-bezier(.22,1,.36,1)}
.js.ready .phero .crumbs,
.js.ready .phero .lede,
.js.ready .phero .eyebrow,
.js.ready .phero .skyline{opacity:1;transform:none}

/* --- 3. imagery arrives with a wipe rather than a pop -------- */
.js .img-wipe{clip-path:inset(0 0 100% 0);transition:clip-path .95s cubic-bezier(.22,1,.36,1)}
.js .img-wipe.in{clip-path:inset(0 0 0 0)}

/* --- 4. dropdowns ease open --------------------------------- */
@media (min-width:1021px){
  .subnav{
    display:flex;visibility:hidden;opacity:0;
    transform:translateY(-6px);pointer-events:none;
    transition:opacity .2s ease,transform .2s cubic-bezier(.22,1,.36,1),visibility .2s;
  }
  .navgroup:hover .subnav,
  .navtop[aria-expanded="true"] + .subnav{
    visibility:visible;opacity:1;transform:none;pointer-events:auto;
  }
}

/* --- 5. text links get a sweep, not a jump ------------------ */
.prose a:not(.btn),.stops a:not(.btn),.foot a{
  position:relative;text-decoration:none;
  background-image:linear-gradient(currentColor,currentColor);
  background-size:0% 1px;background-position:0 100%;background-repeat:no-repeat;
  transition:background-size .3s cubic-bezier(.22,1,.36,1),color .2s ease;
}
.prose a:not(.btn):hover,.stops a:not(.btn):hover,.foot a:hover{background-size:100% 1px}

@media (prefers-reduced-motion:reduce){
  .progress{display:none}
  .js .phero h1 .wd > i,
  .js .phero .crumbs,.js .phero .lede,.js .phero .eyebrow,.js .phero .skyline{
    transform:none;opacity:1;transition:none;
  }
  .js .img-wipe{clip-path:none;transition:none}
  .subnav{transition:none}
  .prose a:not(.btn),.stops a:not(.btn),.foot a{transition:none}
}
