/* Visual layer on top of main.css (the client's original CSS, left as it was).
   Rules that main.css also sets inside a media query are wrapped in a matching one here. */

@font-face{font-family:Newsreader;font-style:normal;font-weight:200 800;font-display:swap;src:url(../fonts/newsreader-latin-opsz-normal.woff2) format('woff2')}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/instrument-sans-latin-wght-normal.woff2) format('woff2')}

:root{
  --serif:Newsreader,Georgia,'Times New Roman',serif;
  --sans:'Instrument Sans',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  --mist:#edf2f6;
  --rule:#c4d1dc;
  --line:#d9e0e7;
  --gold-ink:#8a6420;
  --gold-soft:#dfba7b;
}

::selection{background:var(--gold);color:var(--navy)}

/* type */
body{font-family:var(--sans);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
p{text-wrap:pretty}
.nb{white-space:nowrap}
h1,h2,h3{text-wrap:balance}
h1,h2,.serif{font-family:var(--serif);font-weight:400;letter-spacing:-.02em;line-height:1.1}
h2{font-size:clamp(32px,3.5vw,46px);margin:12px 0 22px}
h3{font-weight:650;line-height:1.3}
.brand{font-weight:700;letter-spacing:-.01em}
button{font-family:inherit}
.button{font-size:14px;font-weight:650;letter-spacing:.005em}
.textlink{font-size:15px;font-weight:650;color:var(--gold-ink);text-underline-offset:.25em}
.textlink:hover{text-decoration:underline;color:var(--gold-ink)}
.section-intro>p{font-size:18px}
.card p,.metric p{font-size:15px}
.fine{font-size:13px}

/* section labels: quiet sentence case, not tracked caps */
.eyebrow{font:600 14px/1.3 var(--sans);letter-spacing:.01em;text-transform:none;color:var(--gold-ink)}
.hero .eyebrow,.pagehero .eyebrow,.darkband .eyebrow,.quote .eyebrow,.cta .eyebrow{color:var(--gold-soft)}
#growth .quote .eyebrow,#market .quote .eyebrow{color:var(--gold-ink)}

/* focus ring that reads on light and dark grounds */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--navy);outline-offset:2px;box-shadow:0 0 0 5px var(--gold)}

/* hero */
.hero h1{font-size:clamp(40px,4.4vw,63px);margin:20px 0 26px}
.hero h1 em{color:var(--gold-soft)}
.hero .eyebrow{word-spacing:.2em}
.hero p{font-size:19px;line-height:1.6;max-width:31em}
.hero p+p{border-left:2px solid var(--gold);padding-left:16px;font-weight:500;color:#fff}
.hero-portrait img{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 36%);mask-image:linear-gradient(90deg,transparent 0,#000 36%)}
.hero-portrait:after{background:linear-gradient(0deg,rgba(16,31,50,.6),transparent 40%)}

@media(min-width:851px){
  .hero{overflow:hidden}
  .hero-grid{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);min-height:680px}
  .hero-copy{padding:96px 48px 96px 0}
  /* let the photo run to the right edge of the screen */
  .hero-portrait{margin-right:calc((100vw - min(1160px,100vw - 40px))/-2)}
}
@media(max-width:400px){
  .hero h1{font-size:36px}
}
@media(max-width:850px){
  .hero-portrait{margin:0 -20px}
  .hero-portrait img{-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 30%);mask-image:linear-gradient(180deg,transparent 0,#000 30%)}
  .photo-caption{display:none}
}

/* one entrance on load, nothing else moves by itself */
@media(prefers-reduced-motion:no-preference){
  .hero-copy>*{animation:rise .75s cubic-bezier(.2,.7,.2,1) both}
  .hero-copy>:nth-child(2){animation-delay:.06s}
  .hero-copy>:nth-child(3){animation-delay:.12s}
  .hero-copy>:nth-child(4){animation-delay:.18s}
  .hero-copy>:nth-child(5){animation-delay:.24s}
  .hero-portrait img{animation:settle 1.2s ease-out both}
}
@keyframes rise{from{opacity:0;transform:translateY(14px)}}
@keyframes settle{from{opacity:0}}

/* facts strip */
.strip{background:var(--mist);border-bottom:0;padding:34px 0}
.strip-grid{gap:0}
.strip-grid>div{padding:2px 28px;border-left:1px solid var(--rule)}
.strip-grid>div:first-child{padding-left:0;border-left:0}
.strip strong{font:500 23px/1.2 var(--serif);letter-spacing:-.01em}
.strip span{display:block;font-size:14px;line-height:1.45;margin-top:4px}
@media(max-width:1050px){
  .strip-grid>div{padding:2px 16px}
  .strip strong{font-size:20px}
}
@media(max-width:850px){
  .strip-grid{gap:22px 0}
  .strip-grid>div:nth-child(odd){padding-left:0;border-left:0}
}
@media(max-width:550px){
  .strip-grid>div{padding:0;border-left:0}
}

/* backgrounds: white and cool mist, navy for the bands */
.soft{background:var(--mist)}

/* text beside a panel */
.quote{padding:44px}
.quote h3{font:400 clamp(25px,2.4vw,31px)/1.25 var(--serif);letter-spacing:-.01em;color:var(--gold-soft)}
.quote .eyebrow{margin-bottom:10px}
.quote ul{padding-left:20px}
.quote li{margin:12px 0}
.quote li::marker{color:var(--gold)}
.quote .textlink{color:var(--gold-soft)}
#insights .quote h3{font-size:clamp(28px,2.9vw,38px)}

/* growth and market get a light panel, on the other side */
#growth .quote,#market .quote{background:var(--mist);border-left:4px solid var(--gold)}
#growth .quote h3,#market .quote h3{color:var(--navy)}
#growth .quote p,#growth .quote li,#market .quote p,#market .quote li{color:var(--ink)}
#growth .quote .textlink,#market .quote .textlink{color:var(--gold-ink)}
@media(min-width:851px){
  #growth .split>.quote,#market .split>.quote{order:-1}
}

/* three kinds of content, three kinds of card */
.card{display:flex;flex-direction:column}
.card h3{font:500 24px/1.2 var(--serif);letter-spacing:-.01em;color:var(--navy)}
.card .number{display:none}
.card .textlink{margin-top:auto;padding-top:14px}

#services .card{border-top:3px solid var(--gold)}

#sectors .grid3{gap:0;border-top:1px solid var(--rule);border-left:1px solid var(--rule)}
#sectors .card{background:none;border:0;border-right:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:30px 28px}
/* seven audiences, so the last one fills the bottom row */
#sectors .card:last-child{grid-column:1/-1}

/* background band: one tile per role */
.metric h3{font:500 24px/1.2 var(--serif);letter-spacing:-.01em;margin:0 0 10px}

/* service pages */
.pagehero h1{margin:14px 0 18px}
.pagehero p{margin:0}

/* closing call to action */
.cta{background:var(--navy);color:#fff;padding:60px 0}
.cta h2{color:#fff;margin:10px 0}
.cta p{color:#d9e2eb;margin:0}
.cta .split{grid-template-columns:1fr auto;gap:40px}
.cta .button.dark{background:var(--gold);color:var(--navy);border-color:var(--gold)}
.cta .button.dark:hover{background:#e2bd82}
@media(max-width:850px){
  .cta .split{grid-template-columns:1fr;gap:26px}
}

/* contact */
.contact-form{border-radius:4px;box-shadow:0 28px 50px -32px rgba(16,31,50,.45)}
.contact-form h3{font:500 26px/1.2 var(--serif);letter-spacing:-.01em;margin-bottom:6px}
.contact-form label{font-size:14px}
.contact-form input,.contact-form textarea{font:16px/1.4 var(--sans);border-radius:3px;background:#fff}

/* privacy is small print, not a feature section */
#privacy{padding:56px 0 64px;border-top:1px solid var(--line)}
#privacy h2{font-size:24px;margin:8px 0 14px}
#privacy p{font-size:14px;color:var(--muted);max-width:72ch}
#privacy p:last-child{margin-bottom:0}

.footer{font-size:13px}
