/* =========================================================
   Import Risk Intelligence — Morning Steel Blue-Grey Theme
   CLEAN + ORGANIZED (single file)
   - Home hero locked
   - Below-fold water texture
   - Home features band
   - Contact page: hero + spill + seam + water (single source of truth)
   - Policy pages: simple gradient hero (no image)
   - Insights page: dedicated image-backed hero
   ========================================================= */

/* =========================================================
   0) TOKENS
   ========================================================= */
:root{
  --container: 1080px;
  --topbar-h: 72px;

  /* Core */
  --bg: #3a4a5f;
  --text: rgba(255,255,255,.96);
  --muted: rgba(255,255,255,.82);
  --faint: rgba(255,255,255,.68);

  --brand: #7fb1ea;
  --brand-2:#5f94d8;

  --divider: rgba(255,255,255,.60);

  /* Hero overlay (LOCKED) */
  --hero-top: rgba(38,54,77,.36);
  --hero-mid: rgba(38,54,77,.52);
  --hero-bottom: rgba(38,54,77,.70);

  /* Below fold text */
  --ink: rgba(255,255,255,.92);
  --ink-muted: rgba(255,255,255,.74);
  --ink-faint: rgba(255,255,255,.60);

  /* Panels/borders */
  --mist-border: rgba(255,255,255,.10);
  --mist-divider: rgba(255,255,255,.12);
  --mist-shadow: 0 18px 44px rgba(0,0,0,.28);

  /* Bands */
  --band-border: rgba(255,255,255,.18);

  /* Shape */
  --radius: 0px;

  /* CONTACT hero framing control
     Bigger % = show more bottom of photo = more water */
  --contact-hero-y: 88%;
}

/* =========================================================
   1) BASE / RESETS
   ========================================================= */
*{ box-sizing: border-box; }
html, body{ height: 100%; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; height: auto; display: block; }

/* =========================================================
   2) BUTTONS
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  border-radius: var(--radius);
}

.btn-primary{
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}
.btn-primary:hover{ filter: brightness(1.05); }

/* =========================================================
   3) TOPBAR / NAV
   ========================================================= */
.topbar{
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(15,27,43,.22) 0%, rgba(15,27,43,0) 100%);
}

.topbar-inner{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Brand */
.brand{
  height: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  column-gap: 12px;
  white-space: nowrap;
  color: rgba(255,255,255,.94);
}

.brand-ir{
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1;
  transform: translateY(-1px);
  transition: opacity .18s ease;
}

.brand-divider{
  width: 1px;
  height: 20px;
  background: var(--divider);
  display: block;
  opacity: .85;
  transition: opacity .18s ease;
}

.brand-name{
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  opacity: .92;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  transition: opacity .18s ease, text-shadow .18s ease;
}

.brand:hover .brand-ir,
.brand:hover .brand-name{
  opacity: .75;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
.brand:hover .brand-divider{ opacity: .5; }

/* underline reveal */
.brand-name::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: rgba(255,255,255,.35);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.brand-name:hover::after{ transform: scaleX(1); }

/* Nav */
.nav{
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: rgba(255,255,255,.86);
}

.nav-link{
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  opacity: .92;
  transition: background .15s ease, opacity .15s ease;
}
.nav-link:hover{ background: rgba(255,255,255,.10); }
.nav-link.is-active{ opacity: 1; }

.nav-cta{
  height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: rgba(127,177,234,.55);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  box-shadow: none;
}
.nav-cta:hover{ background: rgba(127,177,234,.72); }

/* =========================================================
   4) HOME — HERO (LOCKED)
   ========================================================= */
.hero{
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--topbar-h);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg{
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(
      180deg,
      var(--hero-top) 0%,
      var(--hero-mid) 58%,
      var(--hero-bottom) 100%
    ),
    url("assets/images/hero-port-morning-steel.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(.96) contrast(.99) brightness(1.02);
  z-index: 0;
  pointer-events: none;
}

.hero-overlay{ display: none; }

.hero-inner{
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 0 0;
}

.hero-title{
  margin: 0;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-shadow: 0 12px 26px rgba(0,0,0,.30);
}

.hero-subtitle{
  margin: 14px auto 0;
  max-width: 680px;
  font-size: 24px;
  color: rgba(255,255,255,.88);
  text-shadow:
    0 2px 10px rgba(0,0,0,.45),
    0 14px 34px rgba(0,0,0,.30);
}

.hero-subtitle-muted{
  font-size: 0.98em;
  opacity: 0.86;
}

/* Final tuned spacing */
.hero-cta-note{
  margin: 96px auto 0;
  max-width: 760px;
  color: rgba(255,255,255,.92);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .01em;
  text-shadow:
    0 2px 6px rgba(0,0,0,.55),
    0 10px 24px rgba(0,0,0,.35);
}

.hero-actions{
  margin-top: 40px;
}

.hero-actions .btn-primary{
  padding: 14px 22px;
  font-size: 15px;
  box-shadow:
    0 18px 36px rgba(0,0,0,.35),
    0 2px 0 rgba(255,255,255,.15) inset;
}

/* =========================================================
   5) BELOW FOLD (GLOBAL) — WATER TEXTURE
   ========================================================= */
.below-fold{
  position: relative;
  color: var(--ink);
  overflow: hidden;

  background: linear-gradient(
    180deg,
    rgba(20, 42, 68, .89) 0%,
    rgba(16, 34, 56, .91) 55%,
    rgba(12, 26, 44, .94) 100%
  );
}

.below-fold::before{
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/water-texture.jpg") center / cover no-repeat;
  opacity: 0.22;
  filter: blur(1px) saturate(.8) contrast(.90);
  pointer-events: none;
  z-index: 0;
}

.below-fold > *{
  position: relative;
  z-index: 1;
}

/* =========================================================
   6) HOME — FEATURES BAND
   ========================================================= */
.features{
  position: relative;
  z-index: 2;
  background: rgba(83,103,128,.72);
  border-top: 1px solid var(--band-border);
  border-bottom: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(0,0,0,.22);
}

.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  padding: 14px 0;
}

.feature{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 140px;
  padding: 18px 22px;
  color: rgba(255,255,255,.92);
}

.feature svg{
  width: 30px;
  height: 30px;
  display: block;
  margin-bottom: 14px;
  opacity: .85;
  color: rgba(255,255,255,.72);
}
.feature svg *{ stroke-width: 1.6; }

.feature h3{
  margin: 8px 0 6px;
  letter-spacing: .10em;
  font-size: 16px;
  font-weight: 800;
  color: rgba(255,255,255,.95);
}

.feature p{
  margin: 0;
  max-width: 260px;
  line-height: 1.38;
  font-size: 15px;
  color: rgba(255,255,255,.78);
}

.feature:not(:last-child)::after{
  content: "";
  position: absolute;
  right: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(255,255,255,.14);
}

/* =========================================================
   7) HOME — SPLIT SECTIONS
   ========================================================= */
.section-split{
  position: relative;
  padding: 48px 0 36px;
  background: transparent;
}

.split-inner{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 80px;
  align-items: start;
}

.section{ padding: 0; }

.section-title{
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 34px;
  letter-spacing: -0.01em;
}

.section-text{
  margin: 0 0 18px;
  color: var(--ink-muted);
  line-height: 1.55;
  max-width: 640px;
}

.section + .section{ margin-top: 42px; }
.request-box{ margin-top: 36px; }

.inline-learn-more{
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(127,177,234,.9);
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}

.inline-learn-more:hover{
  color: rgba(160,200,255,.95);
  transform: translateX(2px);
}

.inline-learn-more:focus-visible{
  outline: none;
  text-decoration: underline;
}

/* =========================================================
   8) HOME — BIO CARD (IF PRESENT)
   ========================================================= */
.split-bio{
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 20px 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--mist-border);
  box-shadow: var(--mist-shadow);
}

.bio-top{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
}

.bio-photo{
  width: 120px;
  height: 120px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}

.bio-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.96) contrast(.98);
}

.bio-name{
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}

.bio-role{
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.25;
  color: var(--ink-faint);
}

.bio-role + .bio-role{ margin-top: 3px; }

.bio-blurb{
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
}

.bio-blurb p{ margin: 0 0 16px; }
.bio-blurb p:last-child{ margin-bottom: 0; }

.bio-links{
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
}

.bio-links a{
  color: rgba(180,210,255,.90);
  text-decoration: none;
}
.bio-links a:hover{
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bio-cta{
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--mist-divider);
}
.bio-cta .btn{ width: 100%; }

/* =========================================================
   12) FOOTER
   ========================================================= */
.site-footer{
  background: #0b1d2f;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0 20px;
  margin-top: 0;
  color: rgba(230,238,247,.75);
}

.site-footer .footer-inner{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.site-footer .footer-brandline{
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .2px;
  line-height: 1.2;
}

.site-footer .footer-home-link{
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,.90);
  text-decoration: none;
}
.site-footer .footer-home-link:hover{ color: rgba(255,255,255,.96); }

.site-footer .footer-ir{ font-weight: 800; color: #ffffff; }
.site-footer .footer-pipe{ padding: 0 6px; opacity: .5; }

.site-footer .footer-desc{
  margin: 0;
  max-width: 560px;
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(210,222,236,.75);
}

.site-footer .footer-legal{
  margin: 12px 0 0;
  max-width: 560px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(180,195,214,.50);
}

.site-footer .footer-right{
  flex: 1 1 auto;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  text-align: right;
  font-size: 12.5px;
  line-height: 1.35;
}

.site-footer .footer-nav{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.site-footer .footer-nav a{
  position: relative;
  padding: 0 10px;
  font-size: 12.5px;
  color: rgba(200,218,245,.92);
  white-space: nowrap;
  text-decoration: none !important;
}

.site-footer .footer-nav a:last-child{ padding-right: 0; }
.site-footer .footer-nav a:first-child{ padding-left: 0; }

.site-footer .footer-nav a:hover{ color: rgba(255,255,255,.96); }

.site-footer .footer-nav a:not(:last-child)::after{
  content: "";
  position: absolute;
  right: 0;
  top: 3px;
  bottom: 3px;
  width: 1px;
  background: rgba(255,255,255,.18);
  opacity: .9;
}

.site-footer .footer-meta{
  margin: 0;
  font-size: 12.5px;
  color: rgba(230,238,247,.75);
}

.site-footer .footer-label{
  color: rgba(255,255,255,.62);
  margin-right: 6px;
}

.site-footer .footer-email{
  color: rgba(180,210,255,.92);
  text-decoration: none;
}

.site-footer .footer-email:hover{
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer .footer-copy{
  margin: 0;
  font-size: 11px;
  color: rgba(180,195,214,.50);
}

/* =========================================================
   CONTACT PAGE — FINAL (MATCHES CURRENT HTML)
   HTML:
   .contact-hero / .contact-hero-bg / .contact-hero-head
   .contact-hero-title / .contact-hero-subtitle
   .contact-simple / .contact-simple-form / .cs-*
   ========================================================= */
.contact-hero{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--topbar-h);

  height: calc(72vh - 50px);
  min-height: 500px;
  max-height: 860px;

  background: transparent;
}

.contact-hero > .contact-hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image:
    linear-gradient(180deg,
      rgba(11, 29, 47, .22) 0%,
      rgba(11, 29, 47, .10) 22%,
      rgba(11, 29, 47, 0) 45%),
    linear-gradient(0deg,
      rgba(11, 29, 47, .26) 0%,
      rgba(11, 29, 47, .12) 26%,
      rgba(11, 29, 47, 0) 52%),
    linear-gradient(180deg,
      rgba(0,0,0,.10) 0%,
      rgba(0,0,0,.06) 60%,
      rgba(0,0,0,.06) 100%),
    url("assets/images/contact-hero.jpg");

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center var(--contact-hero-y);
  filter: saturate(.90) contrast(.93) brightness(1.08);
}

.contact-hero::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,.14);
  z-index: 5;
  pointer-events: none;
}

.contact-hero .container{
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-items: start center;
  padding-top: 140px;
}

.contact-hero-head{
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  transform: translateY(-80px);
}

.contact-hero-title{
  margin: 0 0 10px;
  font-size: 46px;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.96);
  text-shadow: 0 14px 28px rgba(0,0,0,.26);
}

.contact-hero-subtitle{
  margin: 14px auto 0;
  max-width: 680px;
  font-size: 24px;
  color: rgba(255,255,255,.88);
  text-shadow:
    0 2px 10px rgba(0,0,0,.45),
    0 14px 34px rgba(0,0,0,.30);
}

.contact-simple{
  position: relative;
  z-index: 10;
  margin-top: 0px;
  padding: 160px 0 76px;

  background: linear-gradient(
    180deg,
    rgba(20, 42, 68, .89) 0%,
    rgba(16, 34, 56, .91) 55%,
    rgba(12, 26, 44, .94) 100%
  );
}

.contact-simple::after{
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/water-texture.jpg") center / cover no-repeat;
  opacity: 0.22;
  filter: blur(1px) saturate(.8) contrast(.90);
  pointer-events: none;
  z-index: 0;
}

.contact-simple > .container{
  position: relative;
  z-index: 2;
}

.contact-simple-form{
  max-width: 820px;
  margin: 0 auto;
  margin-top: -340px;

  padding: 24px 24px 20px;
  border-radius: 0;

  background: rgba(20, 32, 48, .88);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 44px rgba(0,0,0,.28);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cs-row{ margin: 0 0 14px; }

.cs-label{
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  color: rgba(255,255,255,.86);
}

.cs-input,
.cs-textarea{
  width: 100%;
  padding: 11px 12px;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.94);
  outline: none;
}

.cs-input:focus,
.cs-textarea:focus{
  border-color: rgba(127,177,234,.55);
  box-shadow: 0 0 0 3px rgba(127,177,234,.18);
}

.cs-input:-webkit-autofill,
.cs-input:-webkit-autofill:hover,
.cs-input:-webkit-autofill:focus,
.cs-textarea:-webkit-autofill,
.cs-textarea:-webkit-autofill:hover,
.cs-textarea:-webkit-autofill:focus,
select.cs-input:-webkit-autofill,
select.cs-input:-webkit-autofill:hover,
select.cs-input:-webkit-autofill:focus{
  -webkit-text-fill-color: rgba(255,255,255,.92);
  -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,.06) inset;
  box-shadow: 0 0 0 1000px rgba(255,255,255,.06) inset;
  caret-color: rgba(255,255,255,.92);
  transition: background-color 9999s ease-in-out 0s;
}

.cs-actions{ margin-top: 16px; }

.cs-button{
  height: 44px;
  padding: 0 18px;
  border-radius: 0;
  border: 1px solid rgba(127,177,234,.65);
  background: rgba(127,177,234,.22);
  color: rgba(255,255,255,.94);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.cs-button:hover{ background: rgba(127,177,234,.30); }
.cs-button:disabled{ opacity: .65; cursor: not-allowed; }

.cs-direct{
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,.70);
}

.cs-direct a{
  color: rgba(180,210,255,.92);
  text-decoration: none;
}

.cs-direct a:hover{
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cs-status{
  margin: 14px 0 0;
  font-size: 14px;
  color: rgba(255,255,255,.82);
}

/* Contact responsive */
@media (max-width: 920px){
  :root{ --contact-hero-y: 90%; }

  .contact-hero{
    height: 520px;
    min-height: 520px;
    max-height: none;
  }

  .contact-hero-head{ transform: translateY(-18px); }
  .contact-hero-title{ font-size: 36px; }

  .contact-simple{
    margin-top: -54px;
    padding: 128px 0 62px;
  }

  .contact-simple-form{
    max-width: 720px;
    margin-top: -86px;
    padding: 20px 18px 18px;
  }
}

@media (min-width: 1300px){
  :root{ --contact-hero-y: 86%; }

  .contact-hero{
    height: 74vh;
    max-height: 920px;
  }
}

/* =========================================================
   POLICY PAGES (Privacy / Terms / etc.)
   ========================================================= */
.policy-hero{
  position: relative;
  padding-top: var(--topbar-h);
  min-height: 260px;
  overflow: hidden;
  isolation: isolate;
}

.policy-hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,.28) 0%,
      rgba(0,0,0,.14) 58%,
      rgba(0,0,0,.10) 100%),
    radial-gradient(1200px 500px at 15% 15%,
      rgba(127,177,234,.20) 0%,
      rgba(127,177,234,0) 60%),
    linear-gradient(180deg,
      rgba(58,74,95,.55) 0%,
      rgba(58,74,95,.20) 70%,
      rgba(58,74,95,0) 100%);
}

.policy-hero-inner{
  position: relative;
  z-index: 2;
  padding: 56px 0 28px;
  max-width: 900px;
}

.policy-title{
  margin: 0 0 10px;
  font-size: clamp(40px, 5vw, 54px);
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.96);
  text-shadow: 0 14px 34px rgba(0,0,0,.22);
}

.policy-subtitle{
  margin: 0 0 12px;
  font-size: 15px;
  color: rgba(255,255,255,.82);
  text-shadow: 0 10px 24px rgba(0,0,0,.18);
  max-width: 62ch;
}

.policy-meta{
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.70);
}

.policy-body{
  position: relative;
  padding: 54px 0 72px;
}

.policy-inner{ max-width: 900px; }

.policy-inner h2{
  margin: 28px 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.92);
}

.policy-inner p{
  margin: 0 0 14px;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
}

.policy-inner ul{
  margin: 0 0 14px 18px;
  color: rgba(255,255,255,.82);
  line-height: 1.55;
}

.policy-inner a{
  color: rgba(127,177,234,.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(127,177,234,.22);
}
.policy-inner a:hover{ border-bottom-color: rgba(127,177,234,.55); }

@media (max-width: 760px){
  /* FIX: move Method/Policy hero text up on mobile */
  .policy-hero-inner{ padding: 64px 0 44px; }

  .policy-body{ padding: 44px 0 60px; }
}

/* =========================================================
   INSIGHTS — CONTACT-STYLE PAGE
   Tall hero + centered head + spill + centered dark card
   ========================================================= */

/* HERO */
.insights-hero{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--topbar-h);

  height: 72vh;
  min-height: 600px;
  max-height: 920px;

  background: transparent;
}

.insights-hero > .insights-hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image:
    linear-gradient(180deg,
      rgba(11, 29, 47, .38) 0%,
      rgba(11, 29, 47, .22) 22%,
      rgba(11, 29, 47, 0) 48%),
    linear-gradient(0deg,
      rgba(11, 29, 47, .44) 0%,
      rgba(11, 29, 47, .22) 30%,
      rgba(11, 29, 47, 0) 58%),
    linear-gradient(180deg,
      rgba(0,0,0,.14) 0%,
      rgba(0,0,0,.08) 60%,
      rgba(0,0,0,.08) 100%),
    url("assets/images/insights-hero.jpg");

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 70%;
  filter: saturate(.88) contrast(.96) brightness(.96);
}

.insights-hero > .insights-hero-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(20, 42, 68, 0) 0%,
    rgba(16, 34, 56, .22) 62%,
    rgba(12, 26, 44, .56) 100%
  );
}

.insights-hero::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,.14);
  z-index: 5;
  pointer-events: none;
}

.insights-hero .container{
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-items: start center;
  padding-top: 140px;
}

.insights-hero-head{
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  transform: translateY(-50px);
}

.insights-title{
  margin: 0 0 10px;
  font-size: 46px;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.96);
  text-shadow: 0 14px 28px rgba(0,0,0,.26);
}

.insights-subtitle{
  margin: 14px auto 0;
  max-width: 760px;
  font-size: 22px;
  color: rgba(255,255,255,.88);
  text-shadow:
    0 2px 10px rgba(0,0,0,.45),
    0 14px 34px rgba(0,0,0,.30);
}

/* SPILL SECTION */
.insights-brief{
  position: relative;
  z-index: 10;
  margin-top: 0;
  padding: 160px 0 76px;

  background: linear-gradient(
    180deg,
    rgba(20, 42, 68, .89) 0%,
    rgba(16, 34, 56, .91) 55%,
    rgba(12, 26, 44, .94) 100%
  );
}

.insights-brief::after{
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/water-texture.jpg") center / cover no-repeat;
  opacity: 0.22;
  filter: blur(1px) saturate(.8) contrast(.90);
  pointer-events: none;
  z-index: 0;
}

.insights-brief > .container{
  position: relative;
  z-index: 2;
}

/* CENTER DARK CARD */
.brief-card{
  max-width: 820px;
  margin: 0 auto;
  margin-top: -340px;

  padding: 24px 24px 20px;
  border-radius: 0;

  background: rgba(14, 22, 34, .82);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 44px rgba(0,0,0,.28);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  font-size: 15px;
  line-height: 1.5;
}

/* Card header (inside the dark card) */
.brief-card-head{
  padding: 6px 0 18px;
  margin: 0 0 22px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.brief-card-head h2{
  margin: 0 0 6px;
  font-size: 26px;
  letter-spacing: .2px;
  color: rgba(255,255,255,.94);
}

.brief-card-head .muted{
  margin: 0;
  color: var(--muted, rgba(255,255,255,.82));
}

.brief-card-foot{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.brief-card-foot .muted{
  margin: 0 0 10px;
}

.brief-card-foot .inline-learn-more{
  margin-top: 0;    /* prevent extra gap */
}

/* =========================================================
   BRIEF ENTRY — streamlined “PDF-like” reading
   ========================================================= */
.brief-entry{ padding: 16px 0 14px; }

.brief-rule{
  border: 0;
  height: 1px;
  background: rgba(255,255,255,.10);
  margin: 12px 0;
}

.brief-kickerRow{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 10px;
}

.brief-kicker{
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.68);
  margin: 0;
}

.brief-date{
  font-size: 12.5px;
  color: rgba(255,255,255,.74);
  white-space: nowrap;
}

.brief-topline{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.brief-title{
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: rgba(255,255,255,.96);
}

.brief-right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex: 0 0 auto;
}

/* Condition pill */
.brief-condition{
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  white-space: nowrap;
  display: inline-block;
  position: relative;
  top: -3px;
}

.brief-condition.is-normal{   border-color: rgba(255,255,255,.16); }
.brief-condition.is-elevated{ border-color: rgba(127,177,234,.35); background: rgba(127,177,234,.10); }
.brief-condition.is-disrupted{border-color: rgba(255,210,120,.35); background: rgba(255,210,120,.10); }
.brief-condition.is-critical{ border-color: rgba(255,120,120,.35); background: rgba(255,120,120,.10); }

/* Meta line (Coverage on one line, Impact on the next) */
.brief-meta{
  margin: 12px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  display: block;
  line-height: 1.35;
}

.brief-meta .brief-coverage{ margin: 0; }
.brief-meta .brief-impact{ margin: 2px 0 0; }

.brief-meta strong{
  font-weight: 650;
  color: rgba(255,255,255,.86);
}

.brief-meta .sep{
  opacity: .35;
  padding: 0 4px;
}

.brief-summary{
  margin: 10px 0 0;
  color: rgba(255,255,255,.92);
  line-height: 1.5;
  max-width: 92ch;
}

/* Expand/collapse toggle */
.brief-details{ margin: 10px 0 0; padding: 0; }

.brief-toggle{
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0 2px;
  color: rgba(180,210,255,.92);
  user-select: none;
  font-size: 13px;
  letter-spacing: .01em;

  background: transparent;
  border: 0;
  outline: none;
  transition: color .15s ease, opacity .15s ease;
}

.brief-toggle:hover{ color: rgba(210,230,255,.96); }
.brief-toggle::-webkit-details-marker{ display: none; }

.toggle-chev{ opacity: .75; transition: transform .18s ease; }
.brief-details[open] .toggle-chev{ transform: rotate(180deg); }

.brief-details .toggle-label::before{ content: "Expand brief"; }
.brief-details[open] .toggle-label::before{ content: "Collapse brief"; }

.brief-body{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.brief-body .brief-section + .brief-section{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.brief-h{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255,255,255,.60);
  margin: 0 0 10px;
}

.brief-section p{
  margin: 0 0 8px;
  line-height: 1.5;
  max-width: 78ch;
}
.brief-section p:last-child{ margin-bottom: 0; }

.brief-sources{
  margin: 0;
  line-height: 1.45;
  padding-left: 18px;
  color: rgba(255,255,255,.78);
}
.brief-sources li{ margin: 0 0 5px; }
.brief-sources li:last-child{ margin-bottom: 0; }

/* =========================================================
   INSIGHTS — subdued source links (brief-sources only)
   ========================================================= */
.brief-sources a{
  color: rgba(180,210,255,.86);
  text-decoration: none;
  border-bottom: 0; /* remove underline */
  transition: color .15s ease, opacity .15s ease;
}

.brief-sources a:hover{
  color: rgba(210,230,255,.96);
}

.brief-sources a:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(127,177,234,.18);
}

/* =========================================================
   INSIGHTS responsive — FIX (move hero text up on mobile)
   ========================================================= */
@media (max-width: 920px){
  .insights-hero{
    height: 520px;
    min-height: 520px;
    max-height: none;
  }

  /* FIX: move Insights hero text up on mobile */
  .insights-hero .container{ padding-top: 100px !important; }
  .insights-hero-head{ transform: translateY(-50px) !important; }

  .insights-title{ font-size: 36px; }

  .insights-brief{
    margin-top: -54px;
    padding: 150px 0 62px;
  }

  .brief-card{
    max-width: 720px;
    margin-top: -200px;
    padding: 20px 18px 18px;
  }

  .brief-topline{ flex-direction: column; }
  .brief-right{
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* =========================================================
   MOBILE FIXES — Home + Topbar (CLEAN, SINGLE SOURCE)
   ========================================================= */

/* Prevent horizontal overflow + home split stack */
@media (max-width: 1100px){
  html, body{ overflow-x: hidden; }
  .split-inner{ grid-template-columns: 1fr; gap: 34px; }
  .split-bio{ max-width: 520px; margin: 0 auto; }
}

/* Keep "Tracking for" together + optional mobile break helper */
.nowrap{ white-space: nowrap; }
.br-mobile{ display: none; }
@media (max-width: 520px){
  .br-mobile{ display: inline; }
}

/* iPhone — spacing between hero note and features band */
@media (max-width: 520px){
  .hero .hero-inner{ padding-top: 64px !important; }
  .hero .hero-cta-note{ margin-top: 28px !important; margin-bottom: 14px !important; }
  .hero .hero-actions{ margin-top: 18px !important; margin-bottom: 30px !important; }
  .hero{ padding-bottom: 18px !important; }

  .below-fold .features{
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* 641–720px: “non-hamburger” layout only */
@media (min-width: 641px) and (max-width: 720px){
  .topbar-inner{
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
  }

  .nav{
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 10px;
    column-gap: 12px;
    align-items: center;
  }

  .nav-cta{
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    height: 36px;
    padding: 0 12px;
  }

  .nav-link:not(.nav-cta){
    grid-row: 2;
    justify-self: center;
  }

  .nav-link[href*="#home"]{ grid-column: 1; }
  .nav-link[href*="method"]{ grid-column: 2; }
}

/* Hamburger menu (CSS-only “sheet” overlay) <=720px
   Requires sibling order:
   input.nav-toggle + label.hamburger + a.brand + nav.nav + label.nav-backdrop
*/
.nav-toggle{ display: none; }
.hamburger{ display: none; }
.nav-backdrop{ display: none; }

@media (max-width: 720px){

  .topbar{ z-index: 9999; }

  .topbar-inner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
  }

  .brand{
    order: 1;
    white-space: nowrap;
    margin-left: 0 !important;
  }

  .brand-name{ display: inline !important; }

  .hamburger{
    order: 2;
    margin-left: auto !important;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    position: relative;
  }

  .hamburger span{
    position: absolute;
    left: 11px;
    right: 11px;
    height: 2px;
    background: rgba(255,255,255,.86);
    border-radius: 2px;
    transition: transform .18s ease, opacity .18s ease;
  }
  .hamburger span:nth-child(1){ top: 14px; }
  .hamburger span:nth-child(2){ top: 21px; }
  .hamburger span:nth-child(3){ top: 28px; }

  .nav{
    position: fixed;
    top: var(--topbar-h);
    left: 0;
    right: 0;

    bottom: auto;
    max-height: calc(100vh - var(--topbar-h));
    overflow: auto;

    display: none !important;
    z-index: 9998;

    padding: 18px 16px calc(22px + env(safe-area-inset-bottom));
    background: rgba(11, 29, 47, .94);
    border-top: 1px solid rgba(255,255,255,.10);
    border-bottom: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 44px rgba(0,0,0,.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav-toggle:checked ~ .nav{
    display: block !important;
  }

  .nav-link{
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;

    height: 54px;
    display: flex;
    align-items: center;
    justify-content: flex-start;

    padding: 0 14px;
    font-size: 16px;

    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
  }
  .nav-link + .nav-link{ margin-top: 14px; }

  .nav-cta{
    background: rgba(127,177,234,.18);
    border-color: rgba(127,177,234,.45);
  }

  .nav-toggle:checked + .hamburger span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked + .hamburger span:nth-child(2){
    opacity: 0;
  }
  .nav-toggle:checked + .hamburger span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-backdrop{
    position: fixed;
    inset: 0;
    z-index: 9997;
    background: rgba(0,0,0,.35);
    display: none;
  }
  .nav-toggle:checked ~ .nav-backdrop{
    display: block;
  }

  /* Hard reset: ensure menu is a sheet (not full screen) */
  .nav{
    inset: auto !important;
    bottom: auto !important;
    height: auto !important;
    top: var(--topbar-h) !important;
    left: 0 !important;
    right: 0 !important;
    max-height: calc(100vh - var(--topbar-h)) !important;
    overflow: auto !important;
  }
}

/* Optionally hide brand-name on very small screens */
@media (max-width: 560px){
  .brand-name{ display: none; }
}

/* Mobile — feature dividers become horizontal */
@media (max-width: 720px){
  .feature-grid{ grid-template-columns: 1fr !important; }

  .feature:not(:last-child)::after{ content: none !important; }

  .feature{
    border: none !important;
    position: relative;
  }

  .feature + .feature::before{
    content: "";
    position: absolute;
    top: 0;
    left: 72px;
    right: 72px;
    height: 1px;
    background: rgba(255,255,255,.12);
  }
}

/* Footer — mobile stack */
@media (max-width: 760px){
  .site-footer{ padding: 20px 0 18px; }

  .site-footer .footer-inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-footer .footer-left{ width: 100%; }

  .site-footer .footer-desc,
  .site-footer .footer-legal{ max-width: 620px; }

  .site-footer .footer-right{
    width: 100%;
    margin-left: 0;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
  }

  .site-footer .footer-nav{
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .site-footer .footer-nav a{ padding: 0; }
  .site-footer .footer-nav a:not(:last-child)::after{ content: none; }

  .site-footer .footer-meta{ width: 100%; }

  .site-footer .footer-email{
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .site-footer .footer-copy{
    width: 100%;
    margin-top: 2px;
  }
}

/* Contact — mobile hero readability + form overlap (no box) */
@media (max-width: 920px){
  .contact-hero .container{
    padding-top: 100px !important;
  }

  .contact-hero-head{
    transform: translateY(-50px) !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .contact-hero-subtitle{
    color: rgba(255,255,255,.90) !important;
    text-shadow:
      0 2px 10px rgba(0,0,0,.45),
      0 10px 26px rgba(0,0,0,.30) !important;
  }

  .contact-simple{
    margin-top: -54px !important;
    padding-top: 150px !important;
  }

  .contact-simple-form{
    margin-top: -200px !important;
  }
}

/* Home split — keep 2 columns longer */
@media (min-width: 901px) and (max-width: 1100px){
  .split-inner{
    grid-template-columns: minmax(0, 1fr) 300px !important;
    gap: 44px !important;
  }

  .split-bio{
    max-width: none !important;
    margin: 0 !important;
  }
}

@media (max-width: 900px){
  .split-inner{
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .split-bio{
    max-width: 520px;
    margin: 0 auto;
  }
}
