/* =====================================================================
   UROLONGEVITY — Site stylesheet
   Editorial / science-publication aesthetic per Master Spec Part 3.
   Serif display (Fraunces) + clean sans body (Mulish).
   ===================================================================== */

/* ---- Fonts ---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Mulish:wght@300;400;500;600;700&display=swap');

/* ---- Design tokens -------------------------------------------------- */
:root{
  /* Brand palette (from the refined logo system) */
  --sapphire-deep:#0A3D5C;
  --sapphire:#0E5A8A;
  --teal:#1B8FA0;
  --emerald:#2EA66B;
  --emerald-light:#5BC98A;
  --ink:#16252C;

  /* Neutrals — warm, paper-like, not cold clinical */
  --paper:#FBFAF7;
  --paper-2:#F4F2EC;
  --line:#E4E1D8;
  --grey:#5D6A71;
  --grey-soft:#8A949A;

  /* Functional */
  --bg:var(--paper);
  --text:var(--ink);
  --accent:var(--sapphire);

  /* Type scale */
  --display:clamp(2.6rem,1.6rem + 3.6vw,4.7rem);
  --h1:clamp(2.1rem,1.5rem + 2.4vw,3.4rem);
  --h2:clamp(1.6rem,1.2rem + 1.5vw,2.35rem);
  --h3:clamp(1.2rem,1.05rem + 0.6vw,1.5rem);

  /* Layout */
  --maxw:1180px;
  --maxw-narrow:760px;
  --gap:clamp(1.5rem,1rem + 2vw,3rem);
  --radius:14px;
  --radius-sm:9px;

  --shadow-sm:0 1px 3px rgba(22,37,44,.06),0 4px 14px rgba(22,37,44,.05);
  --shadow-md:0 8px 30px rgba(22,37,44,.10);
}

/* ---- Reset ---------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:'Mulish',-apple-system,BlinkMacSystemFont,sans-serif;
  font-weight:400;
  font-size:1.0625rem;
  line-height:1.7;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block;height:auto}
a{color:var(--sapphire);text-decoration:none;transition:color .18s ease}
a:hover{color:var(--teal)}
ul,ol{padding-left:1.2rem}
li{margin:.35rem 0}

/* ---- Typography ----------------------------------------------------- */
h1,h2,h3,h4,h5{
  font-family:'Fraunces',Georgia,serif;
  font-weight:500;
  line-height:1.18;
  color:var(--ink);
  letter-spacing:-.01em;
}
h1{font-size:var(--h1);margin-bottom:.6em}
h2{font-size:var(--h2);margin-bottom:.55em}
h3{font-size:var(--h3);margin-bottom:.5em;font-weight:600}
p{margin-bottom:1.05rem}
p:last-child{margin-bottom:0}
strong{font-weight:700;color:var(--ink)}
.eyebrow{
  font-family:'Mulish',sans-serif;
  font-size:.8rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;
  color:var(--teal);
  margin-bottom:1rem;display:block;
}
.lede{font-size:1.22rem;line-height:1.6;color:var(--grey);font-weight:400}

/* ---- Layout helpers ------------------------------------------------- */
.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(1.2rem,3vw,2.5rem)}
.narrow{max-width:var(--maxw-narrow);margin-inline:auto}
.section{padding-block:clamp(3.5rem,2.5rem + 4vw,7rem)}
.section--tight{padding-block:clamp(2.5rem,2rem + 2vw,4rem)}
.bg-paper2{background:var(--paper-2)}
.bg-ink{background:var(--ink);color:#E9ECEC}
.bg-ink h1,.bg-ink h2,.bg-ink h3{color:#fff}
.bg-deep{background:var(--sapphire-deep);color:#DCE4E8}
.bg-deep h1,.bg-deep h2,.bg-deep h3{color:#fff}
.center{text-align:center}
.center .lede{margin-inline:auto}
.mt-1{margin-top:1rem}.mt-2{margin-top:2rem}.mt-3{margin-top:3rem}
.divider{height:1px;background:var(--line);border:0;margin:0}

/* ---- Header --------------------------------------------------------- */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(251,250,247,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .wrap{
  display:flex;align-items:center;justify-content:space-between;
  gap:1.5rem;padding-block:.7rem;
}
.brand{display:flex;align-items:center;flex-shrink:0}
.brand img{height:38px;width:auto}
.nav{display:flex;align-items:center;gap:.2rem}
.nav a{
  color:var(--ink);font-weight:600;font-size:.93rem;
  padding:.5rem .7rem;border-radius:var(--radius-sm);
  position:relative;
}
.nav a:hover{color:var(--sapphire);background:var(--paper-2)}
.nav a.active{color:var(--sapphire)}

/* dropdown */
.has-sub{position:relative}
.submenu{
  position:absolute;top:calc(100% + 6px);left:0;
  background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:var(--shadow-md);
  min-width:260px;padding:.5rem;
  opacity:0;visibility:hidden;transform:translateY(6px);
  transition:all .18s ease;
}
.has-sub:hover .submenu,.has-sub:focus-within .submenu{
  opacity:1;visibility:visible;transform:translateY(0);
}
.submenu a{display:block;padding:.55rem .7rem;font-size:.9rem;font-weight:500}
.submenu a:hover{background:var(--paper-2)}

.header-cta{display:flex;align-items:center;gap:.6rem;flex-shrink:0}
.nav-toggle{
  display:none;background:none;border:0;cursor:pointer;
  width:42px;height:42px;border-radius:var(--radius-sm);
}
.nav-toggle span{
  display:block;width:22px;height:2px;background:var(--ink);
  margin:4px auto;transition:.2s;
}

/* ---- Buttons -------------------------------------------------------- */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  font-family:'Mulish',sans-serif;font-weight:700;font-size:.95rem;
  padding:.8rem 1.5rem;border-radius:var(--radius-sm);
  border:1.5px solid transparent;cursor:pointer;
  transition:all .18s ease;line-height:1;white-space:nowrap;
}
.btn--primary{background:var(--sapphire);color:#fff}
.btn--primary:hover{background:var(--sapphire-deep);color:#fff;transform:translateY(-1px)}
.btn--ghost{background:transparent;border-color:var(--line);color:var(--ink)}
.btn--ghost:hover{border-color:var(--sapphire);color:var(--sapphire)}
.btn--light{background:#fff;color:var(--sapphire-deep)}
.btn--light:hover{background:var(--paper-2);color:var(--sapphire-deep);transform:translateY(-1px)}
.btn--small{padding:.55rem 1rem;font-size:.85rem}
.btn--block{width:100%;justify-content:center}

/* ---- Hero ----------------------------------------------------------- */
.hero{
  position:relative;overflow:hidden;
  padding-block:clamp(3.5rem,2.5rem + 5vw,7.5rem);
  background:
    radial-gradient(ellipse 60% 80% at 88% 10%,rgba(46,166,107,.08),transparent 70%),
    radial-gradient(ellipse 70% 90% at 5% 90%,rgba(14,90,138,.09),transparent 70%),
    var(--paper);
}
.hero h1{font-size:var(--display);max-width:18ch}
.hero .lede{max-width:46ch;margin-top:.4rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:2rem}
.hero-mark{
  position:absolute;right:-60px;top:50%;transform:translateY(-50%);
  width:min(46%,520px);opacity:.5;pointer-events:none;
}
@media(max-width:860px){.hero-mark{display:none}}

/* ---- Page header (interior pages) ---------------------------------- */
.page-head{
  background:
    radial-gradient(ellipse 50% 70% at 92% 0%,rgba(27,143,160,.08),transparent 70%),
    var(--paper-2);
  border-bottom:1px solid var(--line);
  padding-block:clamp(2.8rem,2rem + 3vw,4.8rem);
}
.page-head h1{max-width:20ch}
.page-head .lede{max-width:54ch}
.breadcrumb{font-size:.83rem;color:var(--grey-soft);margin-bottom:1.1rem;font-weight:600}
.breadcrumb a{color:var(--grey)}
.breadcrumb span{margin-inline:.45rem}

/* ---- Cards & grids -------------------------------------------------- */
.grid{display:grid;gap:clamp(1.1rem,.8rem + 1.2vw,1.8rem)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:860px){
  .grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
}

.card{
  background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);padding:1.7rem;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
  display:flex;flex-direction:column;
}
.card--link:hover{
  transform:translateY(-3px);box-shadow:var(--shadow-md);
  border-color:#D5D0C2;
}
.card h3{margin-bottom:.4rem}
.card p{color:var(--grey);font-size:.97rem}
.card .card-link{
  margin-top:auto;padding-top:1rem;font-weight:700;font-size:.9rem;
  display:inline-flex;align-items:center;gap:.35rem;
}
.card-num{
  font-family:'Fraunces',serif;font-size:1.1rem;font-weight:600;
  color:var(--emerald);
  width:38px;height:38px;border-radius:50%;
  border:1.5px solid var(--emerald-light);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1rem;
}
.card-icon{
  width:46px;height:46px;margin-bottom:1rem;
  color:var(--sapphire);
}
.card-icon svg{width:100%;height:100%}

/* feature list */
.feature-list{list-style:none;padding:0}
.feature-list li{
  padding-left:1.9rem;position:relative;margin:.7rem 0;
  color:var(--grey);
}
.feature-list li::before{
  content:"";position:absolute;left:0;top:.55em;
  width:9px;height:9px;border-radius:50%;
  background:var(--emerald);
}
.feature-list strong{color:var(--ink)}

/* ---- Pillar / numbered band ---------------------------------------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,1rem + 4vw,5rem);align-items:center}
.split--text-first{}
@media(max-width:820px){.split{grid-template-columns:1fr;gap:2rem}}

/* ---- Quote / Dr Shusterman's take ---------------------------------- */
.take{
  background:#fff;border:1px solid var(--line);
  border-left:4px solid var(--emerald);
  border-radius:var(--radius);
  padding:1.6rem 1.8rem;margin-block:2rem;
}
.take .take-label{
  font-size:.78rem;font-weight:700;letter-spacing:.13em;
  text-transform:uppercase;color:var(--emerald);
  display:flex;align-items:center;gap:.5rem;margin-bottom:.7rem;
}
.take p{font-family:'Fraunces',serif;font-size:1.12rem;line-height:1.55;color:var(--ink);font-style:italic}
.take p:last-child{margin-bottom:0}

.pull{
  font-family:'Fraunces',serif;font-size:clamp(1.4rem,1.1rem + 1.4vw,2rem);
  line-height:1.4;color:var(--sapphire-deep);
  border-top:2px solid var(--emerald-light);
  border-bottom:2px solid var(--emerald-light);
  padding-block:1.6rem;margin-block:2.5rem;
  font-weight:400;
}

/* ---- Evidence rating component ------------------------------------- */
.evidence{
  display:inline-flex;align-items:center;gap:.55rem;
  background:var(--paper-2);border:1px solid var(--line);
  border-radius:100px;padding:.4rem .9rem;
  font-size:.82rem;font-weight:700;color:var(--ink);
}
.evidence .stars{letter-spacing:.1em;font-size:.9rem}
.evidence--established .stars{color:var(--emerald)}
.evidence--rct .stars{color:var(--teal)}
.evidence--pilot .stars{color:var(--sapphire)}
.evidence--preclinical .stars{color:var(--grey-soft)}
.evidence-key{display:flex;flex-wrap:wrap;gap:.6rem}

/* ---- Summary box (Science articles) -------------------------------- */
.summary-box{
  background:var(--paper-2);border:1px solid var(--line);
  border-radius:var(--radius);padding:1.6rem 1.8rem;margin-block:1.8rem;
}
.summary-box h3{font-family:'Mulish',sans-serif;font-size:.85rem;
  letter-spacing:.12em;text-transform:uppercase;color:var(--teal);font-weight:700}
.summary-box dl{display:grid;grid-template-columns:auto 1fr;gap:.5rem 1.2rem;margin-top:.8rem}
.summary-box dt{font-weight:700;color:var(--ink);font-size:.92rem}
.summary-box dd{color:var(--grey);font-size:.95rem}

/* ---- Callout / disclosure ------------------------------------------ */
.callout{
  border-radius:var(--radius);padding:1.3rem 1.5rem;margin-block:1.6rem;
  font-size:.95rem;
}
.callout--disclosure{background:#FBF6EC;border:1px solid #E8D8B0}
.callout--disclosure strong{color:#8A6A1F}
.callout--note{background:#EEF4F6;border:1px solid #CADDE3}
.callout-label{
  font-weight:700;font-size:.78rem;letter-spacing:.1em;
  text-transform:uppercase;display:block;margin-bottom:.4rem;
}
.callout--disclosure .callout-label{color:#8A6A1F}
.callout--note .callout-label{color:var(--sapphire)}

/* ---- CTA band ------------------------------------------------------- */
.cta-band{
  background:linear-gradient(135deg,var(--sapphire-deep),var(--sapphire));
  color:#fff;border-radius:var(--radius);
  padding:clamp(2.2rem,1.5rem + 3vw,3.6rem);
  text-align:center;
}
.cta-band h2{color:#fff}
.cta-band p{color:#CFE0E8;max-width:48ch;margin-inline:auto}
.cta-band .btn{margin-top:1.4rem}
.cta-address{
  margin-top:1.5rem;font-size:.86rem;color:#A9C2CD;
  border-top:1px solid rgba(255,255,255,.15);padding-top:1.2rem;
}

/* ---- Diagram: intervention pyramid --------------------------------- */
.pyramid{display:flex;flex-direction:column;align-items:center;gap:.5rem;margin-block:2rem}
.pyramid-tier{
  color:#fff;text-align:center;border-radius:8px;
  padding:.9rem 1.2rem;font-weight:600;
}
.pyramid-tier small{display:block;font-weight:400;font-size:.82rem;opacity:.85;font-family:'Mulish',sans-serif}
.pyramid-tier:nth-child(1){background:var(--emerald);width:48%}
.pyramid-tier:nth-child(2){background:var(--teal);width:66%}
.pyramid-tier:nth-child(3){background:var(--sapphire);width:84%}
.pyramid-tier:nth-child(4){background:var(--sapphire-deep);width:100%}
@media(max-width:560px){.pyramid-tier{width:100%!important}}

/* ---- Steps / timeline ---------------------------------------------- */
.steps{counter-reset:step;display:grid;gap:1.2rem}
.step{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:1.5rem 1.7rem 1.5rem 4.2rem;position:relative;
}
.step::before{
  counter-increment:step;content:counter(step);
  position:absolute;left:1.4rem;top:1.5rem;
  width:34px;height:34px;border-radius:50%;
  background:var(--sapphire);color:#fff;
  font-family:'Fraunces',serif;font-weight:600;
  display:flex;align-items:center;justify-content:center;
}
.step h3{margin-bottom:.3rem}
.step p{color:var(--grey);font-size:.96rem;margin-bottom:0}

/* ---- Stat row ------------------------------------------------------- */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;text-align:center}
@media(max-width:560px){.stats{grid-template-columns:1fr}}
.stat .stat-num{font-family:'Fraunces',serif;font-size:2.6rem;color:var(--sapphire);font-weight:600;line-height:1}
.stat .stat-label{color:var(--grey);font-size:.92rem;margin-top:.4rem}

/* ---- FAQ accordion -------------------------------------------------- */
.faq-group{margin-bottom:2.5rem}
.faq-group > h2{margin-bottom:1rem}
.faq-item{border-bottom:1px solid var(--line)}
.faq-q{
  width:100%;text-align:left;background:none;border:0;cursor:pointer;
  padding:1.1rem 2.5rem 1.1rem 0;position:relative;
  font-family:'Fraunces',serif;font-size:1.08rem;font-weight:600;color:var(--ink);
}
.faq-q::after{
  content:"+";position:absolute;right:.4rem;top:50%;transform:translateY(-50%);
  font-size:1.5rem;color:var(--teal);font-family:'Mulish',sans-serif;
  transition:transform .2s;
}
.faq-item.open .faq-q::after{content:"\2212"}
.faq-a{display:none;padding:0 0 1.2rem;color:var(--grey)}
.faq-item.open .faq-a{display:block}

/* ---- Forms ---------------------------------------------------------- */
.form-field{margin-bottom:1.1rem}
.form-field label{display:block;font-weight:700;font-size:.9rem;margin-bottom:.35rem;color:var(--ink)}
.form-field input,.form-field select,.form-field textarea{
  width:100%;font-family:'Mulish',sans-serif;font-size:1rem;
  padding:.7rem .9rem;border:1.5px solid var(--line);
  border-radius:var(--radius-sm);background:#fff;color:var(--ink);
}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{
  outline:none;border-color:var(--sapphire);
}
.form-field textarea{min-height:120px;resize:vertical}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media(max-width:560px){.form-row{grid-template-columns:1fr}}
.form-note{font-size:.83rem;color:var(--grey-soft);margin-top:.3rem}

/* ---- Article body --------------------------------------------------- */
.article-body{max-width:var(--maxw-narrow);margin-inline:auto}
.article-body h2{margin-top:2.2rem}
.article-body h3{margin-top:1.6rem}
.article-body ul{margin-bottom:1.1rem}
.article-meta{
  display:flex;flex-wrap:wrap;gap:1rem;align-items:center;
  font-size:.88rem;color:var(--grey);margin-bottom:1.5rem;
}
.related-grid{margin-top:2rem}

/* ---- TOC list (book page) ------------------------------------------ */
.toc-part{margin-bottom:1.6rem}
.toc-part h3{color:var(--sapphire);border-bottom:1px solid var(--line);padding-bottom:.4rem}
.toc-part ol{columns:2;column-gap:2.5rem;font-size:.93rem;color:var(--grey)}
@media(max-width:560px){.toc-part ol{columns:1}}

/* ---- Footer --------------------------------------------------------- */
.site-footer{background:var(--ink);color:#AEB9BE;font-size:.9rem}
.site-footer .wrap{padding-block:3rem}
.footer-top{
  display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:2rem;padding-bottom:2rem;border-bottom:1px solid rgba(255,255,255,.1);
}
@media(max-width:820px){.footer-top{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.footer-top{grid-template-columns:1fr}}
.footer-brand img{height:34px;margin-bottom:1rem}
.footer-brand p{font-size:.88rem;color:#8A969B;max-width:32ch}
.footer-col h4{
  color:#fff;font-family:'Mulish',sans-serif;font-size:.8rem;
  letter-spacing:.12em;text-transform:uppercase;margin-bottom:.9rem;font-weight:700;
}
.footer-col a{display:block;color:#AEB9BE;padding:.22rem 0;font-size:.9rem}
.footer-col a:hover{color:#fff}
.footer-bottom{
  display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;
  padding-top:1.5rem;font-size:.82rem;color:#7C888D;
}
.footer-bottom a{color:#7C888D}
.footer-bottom a:hover{color:#fff}
.footer-disclaimer{
  font-size:.8rem;color:#6E7A7F;line-height:1.6;
  padding-top:1.2rem;margin-top:1.2rem;border-top:1px solid rgba(255,255,255,.07);
}

/* ---- Persistent mobile CTA ----------------------------------------- */
.mobile-cta{
  display:none;position:fixed;bottom:0;left:0;right:0;z-index:90;
  background:#fff;border-top:1px solid var(--line);
  padding:.7rem 1rem;box-shadow:0 -4px 20px rgba(22,37,44,.1);
}

/* ---- Photographic components ---------------------------------------- */
.hero--photo{
  position:relative;
  background-color:var(--sapphire-deep);
  background-size:cover;
  background-position:center 30%;
  background-repeat:no-repeat;
  overflow:hidden;
  display:flex;
  align-items:center;
  min-height:560px;
}
.hero--photo .hero-bg-veil{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(100deg,
    rgba(10,61,92,.92) 0%,
    rgba(10,61,92,.80) 42%,
    rgba(10,61,92,.52) 72%,
    rgba(10,61,92,.34) 100%);
}
.hero--photo .wrap{position:relative;z-index:2;width:100%}
.hero--photo .eyebrow{color:var(--emerald-light)}
.hero--photo h1,
.hero--photo .hero-wordmark-uro{color:#fff !important}
.hero--photo .lede{color:#D6E3EA !important}
@media(max-width:680px){
  .hero--photo{
    min-height:600px;
    background-position:center 22%;
  }
  .hero--photo .hero-bg-veil{
    background:linear-gradient(180deg,
      rgba(10,61,92,.74) 0%,
      rgba(10,61,92,.66) 45%,
      rgba(10,61,92,.82) 100%);
  }
}

/* Hero wordmark — brand name integrated into the hero */
.hero-lockup{
  display:flex;align-items:center;gap:.6rem;
  margin-bottom:1rem;
  flex-wrap:nowrap;
}
.hero-lockup-icon{
  height:2.6rem;width:auto;
  max-width:64px;max-height:44px;
  flex:0 0 auto;
  filter:drop-shadow(0 2px 8px rgba(0,0,0,.35));
}
.hero-wordmark{
  font-family:'Fraunces',Georgia,serif;
  font-weight:600;
  line-height:1;
  letter-spacing:-.02em;
  font-size:clamp(2.4rem,1.4rem + 3vw,4rem);
}
.hero-wordmark-uro{color:#fff}
.hero-wordmark-long{
  background:linear-gradient(100deg,#5BC98A 0%,#2EA66B 50%,#1B8FA0 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
}
@media(max-width:680px){
  .hero-lockup{gap:.45rem;margin-bottom:.8rem}
  .hero-lockup-icon{height:2rem;max-width:48px;max-height:34px}
  .hero-wordmark{
    font-size:2.3rem;
    white-space:nowrap;
  }
  .hero--photo h1{font-size:1.85rem}
}
@media(max-width:380px){
  .hero-wordmark{font-size:2rem}
  .hero-lockup-icon{height:1.7rem;max-width:40px;max-height:28px}
  .hero--photo h1{font-size:1.65rem}
}

/* Framed image with brand accent */
.img-frame{
  position:relative;border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow-md);
}
.img-frame img{width:100%;height:100%;object-fit:cover;display:block}
.img-frame--tall{aspect-ratio:4/5}
.img-frame--wide{aspect-ratio:3/2}
.img-frame--accent::after{
  content:"";position:absolute;left:0;bottom:0;
  width:100%;height:5px;
  background:linear-gradient(90deg,var(--sapphire),var(--teal),var(--emerald));
}

/* Photo band — full-width image strip with overlaid content */
.photo-band{
  position:relative;overflow:hidden;
  background-color:var(--sapphire-deep);
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}
.photo-band .photo-band-veil{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg,
    rgba(10,61,92,.82),rgba(10,61,92,.74));
}
.photo-band .wrap{position:relative;z-index:2}
.photo-band h2{color:#fff}
.photo-band p{color:#D6E3EA}
.photo-band .eyebrow{color:var(--emerald-light)}

/* Inline figure in article bodies */
.figure{margin-block:2rem}
.figure img{width:100%;border-radius:var(--radius);box-shadow:var(--shadow-sm)}
.figure figcaption{
  font-size:.85rem;color:var(--grey-soft);margin-top:.6rem;
  font-style:italic;text-align:center;
}

/* ---- Brand watermark accent ----------------------------------------- */
.brand-mark-bg{position:relative;overflow:hidden}
.brand-mark-bg::before{
  content:"";position:absolute;
  right:-40px;top:50%;transform:translateY(-50%);
  width:380px;height:252px;
  background:url('../img/icon.svg') no-repeat center/contain;
  opacity:.08;pointer-events:none;
}
.brand-mark-bg::after{
  content:"";position:absolute;
  left:-70px;top:18%;
  width:240px;height:160px;
  background:url('../img/icon.svg') no-repeat center/contain;
  opacity:.05;pointer-events:none;transform:rotate(-12deg);
}
@media(max-width:760px){
  .brand-mark-bg::before{width:240px;height:160px;right:-70px;opacity:.07}
  .brand-mark-bg::after{display:none}
}
.section-mark{
  display:flex;align-items:center;gap:1rem;
  margin-bottom:1.4rem;
}
.section-mark::before,.section-mark::after{
  content:"";height:1px;background:var(--line);flex:1;
}
.section-mark img{height:30px;width:auto;opacity:.85;flex:0 0 auto}

/* Brand divider between sections */
.brand-divider{
  display:flex;align-items:center;justify-content:center;
  gap:.5rem;padding-block:.4rem;
}
.brand-divider span{
  width:6px;height:6px;border-radius:50%;
}
.brand-divider span:nth-child(1){background:var(--sapphire)}
.brand-divider span:nth-child(2){background:var(--teal)}
.brand-divider span:nth-child(3){background:var(--emerald)}

/* ---- "As seen in" media bar ----------------------------------------- */
.media-bar{
  background:var(--paper-2);
  border-block:1px solid var(--line);
  padding-block:1.8rem;
}
.media-bar-label{
  text-align:center;font-size:.74rem;font-weight:700;
  letter-spacing:.18em;text-transform:uppercase;color:var(--grey-soft);
  margin-bottom:1.1rem;
}
.media-logos{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;
  gap:1.6rem 2.6rem;
}
.media-logos span{
  font-family:'Fraunces',Georgia,serif;
  font-size:1.15rem;font-weight:600;
  color:var(--grey);
  white-space:nowrap;
  opacity:.78;
}
@media(max-width:560px){
  .media-logos{gap:1rem 1.5rem}
  .media-logos span{font-size:1rem}
}

/* ---- Brand network section ------------------------------------------ */
.brand-net{display:grid;gap:1.1rem;grid-template-columns:repeat(3,1fr)}
@media(max-width:780px){.brand-net{grid-template-columns:1fr}}
.brand-net-card{
  background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);padding:1.5rem;
  display:flex;flex-direction:column;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.brand-net-card:hover{
  transform:translateY(-3px);box-shadow:var(--shadow-md);
  border-color:#D5D0C2;
}
.brand-net-card h3{font-size:1.1rem;margin-bottom:.3rem}
.brand-net-card p{color:var(--grey);font-size:.94rem;flex:1}
.brand-net-card .brand-net-link{
  margin-top:.9rem;font-weight:700;font-size:.88rem;
  color:var(--sapphire);
}

/* ---- In the News — press list --------------------------------------- */
.press-list{display:grid;gap:0}
.press-item{
  display:flex;align-items:baseline;gap:1.2rem;
  padding:1.15rem 0;border-bottom:1px solid var(--line);
}
.press-item:last-child{border-bottom:0}
.press-outlet{
  flex:0 0 170px;
  font-family:'Fraunces',Georgia,serif;font-weight:600;
  font-size:1rem;color:var(--sapphire-deep);
}
.press-headline{flex:1}
.press-headline a{
  font-size:1.02rem;font-weight:600;color:var(--ink);
}
.press-headline a:hover{color:var(--sapphire)}
.press-year{
  flex:0 0 auto;font-size:.85rem;font-weight:700;
  color:var(--grey-soft);font-variant-numeric:tabular-nums;
}
@media(max-width:620px){
  .press-item{flex-wrap:wrap;gap:.25rem .8rem}
  .press-outlet{flex-basis:auto;font-size:.82rem;letter-spacing:.04em;
    text-transform:uppercase;color:var(--teal);order:1}
  .press-year{order:2}
  .press-headline{flex-basis:100%;order:3}
}


.reveal{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  html{scroll-behavior:auto}
}

/* ---- Responsive nav ------------------------------------------------- */
@media(max-width:1024px){
  .nav-toggle{display:block}
  .nav{
    position:fixed;inset:64px 0 auto 0;
    flex-direction:column;align-items:stretch;
    background:var(--paper);border-bottom:0 solid var(--line);
    padding:0 1rem;gap:.1rem;
    max-height:0;overflow:hidden;visibility:hidden;
    transition:max-height .3s ease,padding .3s ease,visibility 0s linear .3s;
    box-shadow:var(--shadow-md);
  }
  .nav.open{
    max-height:85vh;overflow-y:auto;visibility:visible;
    padding:1rem;border-bottom-width:1px;
    transition:max-height .3s ease,padding .3s ease,visibility 0s;
  }
  .nav a{padding:.75rem .6rem;font-size:1rem}
  .submenu{
    position:static;opacity:1;visibility:visible;transform:none;
    box-shadow:none;border:0;border-left:2px solid var(--line);
    border-radius:0;margin-left:.6rem;padding:0 0 0 .4rem;min-width:0;
    display:none;
  }
  .has-sub.open .submenu{display:block}
  .has-sub > a::after{content:" \25BE";color:var(--grey-soft)}
  .header-cta .btn--ghost{display:none}
}
@media(max-width:680px){
  .mobile-cta{display:block}
  body{padding-bottom:72px}
  /* Ensure the submit button is never covered by the fixed mobile CTA bar */
  form[data-form] button[type="submit"]{
    position:relative;z-index:91;
  }
  form[data-form]{
    padding-bottom:.5rem;
  }
}
