/* Novatech Website Mockup — v4 (Light + Premium)
   Intent: Apple/Bose-like: spacious, crisp, confident.
   Accent: Teal + subtle Azure (no festival purple/pink).
*/

:root{
  /* Brand (muted teal for premium feel) */
  --brand:#007A87;        /* teal */
  --brand-2:#0AA7B8;      /* brighter teal (use sparingly) */

  /* Neutrals */
  --ink:#0B1220;
  --ink-2:#0F172A;
  --muted:rgba(15,23,42,.70);
  --muted-2:rgba(15,23,42,.58);
  --bg:#FFFFFF;
  --bg-2:#F5F7FA;

  /* Surfaces */
  --line:rgba(15,23,42,.12);
  --surface:rgba(15,23,42,.04);
  --surface-2:rgba(15,23,42,.06);
  --card:#FFFFFF;

  --radius:20px;
  --radius-sm:14px;

  --shadow: 0 18px 55px rgba(2,6,23,.10);
  --shadow-soft: 0 10px 28px rgba(2,6,23,.08);

  --max: 1180px;
  --pad: 22px;

  --font:"Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-display:"Space Grotesk", "Inter", ui-sans-serif, system-ui;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  /* Apple-ish: bright, calm, image-led */
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
p{line-height:1.7; margin:0 0 14px}
small{color:var(--muted)}

.container{max-width:var(--max); margin:0 auto; padding:0 var(--pad)}
.section{padding:86px 0}
.section.sm{padding:56px 0}

/* Eyebrow / kicker — deliberate, not accidental */
.section .kicker{
  color:var(--muted);
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
  font-size:12px;
}

/* Premium pill label (recommended for section headings) */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.92);
  box-shadow: 0 8px 22px rgba(2,6,23,.06);
  color:rgba(15,23,42,.70);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:850;
  font-size:12px;
}
.eyebrow .edot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 4px rgba(0,122,135,.10);
}

h1,h2,h3{margin:0 0 12px; letter-spacing:-.03em}
h1,h2,h3,.headline,.brand .word{font-family:var(--font-display)}
h1{font-size:56px; line-height:1.02}
h2{font-size:36px; line-height:1.14}
h3{font-size:18px; line-height:1.35; color:var(--ink-2)}
.lead{font-size:18px; color:var(--muted); max-width:68ch}
.sub{font-size:18px; color:var(--muted); max-width:72ch}
.muted{color:var(--muted)}
.hr{height:1px; background:var(--line); margin:22px 0}

/* Brand helpers */
.grad-text{
  background: linear-gradient(120deg, var(--ink-2) 0%, var(--brand) 55%, var(--brand-2) 110%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* Header */
.header{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(14px);
  background:rgba(255,255,255,.78);
  border-bottom:1px solid var(--line);
}
.navbar{display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:16px}
.brand{display:flex; align-items:center; gap:12px; min-width:220px}
.brand img.icon{width:34px; height:34px}
.brand img.word{height:18px; width:auto}

.nav{display:flex; align-items:center; gap:18px}
.nav a{
  font-weight:650;
  color:rgba(15,23,42,.78);
  padding:10px 10px;
  border-radius:12px;
}
.nav a:hover{background:var(--surface); color:rgba(15,23,42,.95)}

.cta{display:flex; gap:10px; align-items:center}

.mobile-toggle{display:none; border:1px solid var(--line); background:#fff; border-radius:12px; padding:10px; cursor:pointer}
.mobile-toggle span, .mobile-toggle span:before, .mobile-toggle span:after{
  display:block; width:18px; height:2px; background:rgba(15,23,42,.75); position:relative; content:"";
}
.mobile-toggle span:before{position:absolute; top:-6px; left:0}
.mobile-toggle span:after{position:absolute; top:6px; left:0}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  border-radius:999px;
  padding:11px 16px;
  font-weight:700;
  font-size:14px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink-2);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover{transform:translateY(-1px); box-shadow:var(--shadow-soft)}
.btn.primary{
  background:var(--brand);
  color:#fff;
  border-color:transparent;
  box-shadow: 0 10px 24px rgba(0,122,135,.18);
}
.btn.primary:hover{background:var(--brand-2); box-shadow: 0 12px 28px rgba(0,122,135,.22)}
.btn.ghost{
  background:rgba(255,255,255,.6);
}

/* Badges */
.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.78);
  color:rgba(15,23,42,.82);
  font-size:13px;
  font-weight:700;
}
.badge .dot{width:8px; height:8px; border-radius:99px; background:var(--brand)}

/* Hero photo (light overlay) */
.hero{padding:76px 0 46px}
.hero.hero-photo{position:relative; overflow:hidden; border-bottom:1px solid var(--line)}
.hero.hero-photo::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(90deg,
      rgba(255,255,255,.985) 0%,
      rgba(255,255,255,.96) 44%,
      rgba(255,255,255,.74) 62%,
      rgba(255,255,255,.40) 72%,
      rgba(255,255,255,.12) 84%),
    var(--hero-img);
  background-size: cover;
  background-position: right center;
  transform: scale(1.03);
  filter: saturate(1.10) contrast(1.10);
}
.hero.hero-photo::after{
  content:"";
  position:absolute; inset:-30% -15%;
  background:
    radial-gradient(closest-side at 22% 30%, rgba(0,122,135,.18), transparent 62%),
    radial-gradient(closest-side at 58% 12%, rgba(10,167,184,.10), transparent 62%);
  pointer-events:none;
}
.hero.hero-photo > .container{position:relative; z-index:1}


/* Optional: dark hero variant (add .hero-dark to the <section>) */
.hero.hero-photo.hero-dark::before{
  background-image:
    linear-gradient(90deg,
      rgba(2,6,23,.90) 0%,
      rgba(2,6,23,.80) 44%,
      rgba(2,6,23,.35) 66%,
      rgba(2,6,23,.12) 76%,
      rgba(2,6,23,0) 86%),
    var(--hero-img);
  background-size: cover;
  background-position: right center;
  filter: saturate(1.06) contrast(1.10);
}
.hero.hero-photo.hero-dark::after{
  background:
    radial-gradient(closest-side at 20% 30%, rgba(10,167,184,.26), transparent 62%),
    radial-gradient(closest-side at 55% 18%, rgba(0,122,135,.18), transparent 62%);
}
.hero.hero-photo.hero-dark .hero-card{
  background: rgba(2,6,23,.66);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
}
.hero.hero-photo.hero-dark .headline{color:#fff}
.hero.hero-photo.hero-dark .sub,
.hero.hero-photo.hero-dark .roles{color: rgba(255,255,255,.78)}
.hero.hero-photo.hero-dark .badge{background: rgba(2,6,23,.45); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.82)}
.hero.hero-photo.hero-dark .grad-text{
  background: linear-gradient(135deg, rgba(255,255,255,1), rgba(10,167,184,1));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero.hero-photo.hero-dark .btn.secondary{background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.20); color:#fff}

.hero-grid{display:grid; grid-template-columns: 1.35fr .85fr; gap:22px; align-items:start}

/* Home hero: centred, premium (avoids "off to the side" feel)
   Home hero background is a composed image with built-in negative space so text reads cleanly. */
.home .hero-grid{grid-template-columns:1fr; justify-items:center}
.home .hero-card{max-width: 980px; width:100%}
.home .hero-aside{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  width:100%;
  max-width: 980px;
}

.home .hero.hero-photo::before{
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  filter: saturate(1.04) contrast(1.08);
  animation: heroIn 950ms cubic-bezier(.2,.8,.2,1) both;
}
.home .hero.hero-photo::after{
  animation: glowShift 7s ease-in-out infinite;
}
.home .hero-card{
  animation: riseIn 700ms cubic-bezier(.2,.8,.2,1) 120ms both;
}

.hero-card{
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  box-shadow: 0 10px 28px rgba(2,6,23,.08);
}

.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 14px}

.proof-row{display:flex; flex-wrap:wrap; gap:10px; margin:12px 0 16px}

/* Home hero: Apple-like breathing room */
.hero-min{padding:98px 0 62px}
.hero-center{max-width: 920px; margin:0 auto}
.hero-min .headline{max-width: 18ch}
.hero-min .sub{max-width: 74ch}
.hero-min .roles{
  margin: 10px 0 0;
  max-width: 74ch;
  color: rgba(15,23,42,.72);
  font-weight: 650;
}


/* Hero (award-style, home) */
.hero.hero-award{
  position: relative;
  isolation: isolate;
  padding: 86px 0 48px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 18% 12%, rgba(10,167,184,.18), transparent 60%),
    radial-gradient(760px 460px at 82% 10%, rgba(0,122,135,.14), transparent 55%),
    linear-gradient(180deg, rgba(248,250,252,.96), rgba(255,255,255,.92));
}

.hero.hero-award::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/img/noise.svg');
  background-size: 260px 260px;
  opacity: .08;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.hero-award-bg{
  position: absolute;
  z-index: 0;
  inset: -170px -200px auto -200px;
  height: 720px;
  background-image: url('assets/img/hero-lines.svg');
  background-repeat: no-repeat;
  background-size: 1600px 900px;
  background-position: center top;
  opacity: .92;
  pointer-events: none;
  transform: translateY(-44px);
}

.hero-award-center{
  position: relative;
  z-index: 1;
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.hero-award-center .kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(15,23,42,.65);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.10);
  padding: 8px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero-award-center .headline{
  margin: 18px 0 10px;
  font-size: 64px;
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.hero-award-center .headline .grad-text{
  background: linear-gradient(90deg, var(--brand), #0aa7b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-award-center .sub{
  font-size: 18px;
  color: rgba(15,23,42,.72);
  max-width: 780px;
  margin: 0 auto;
}

.hero-award-center .hero-actions{
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
}

.hero-award-center .hero-targets{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}

.hero-award-center .hero-targets .chip{
  background: rgba(255,255,255,.70);
  border-color: rgba(15,23,42,.12);
}

.hero-award-center .proof-row{
  justify-content: center;
  margin-top: 16px;
}

.hero-award .badge{
  background: rgba(255,255,255,.70);
  border-color: rgba(15,23,42,.12);
}

.hero-stage{
  position: relative;
  margin: 28px auto 0;
  max-width: 1120px;
  border-radius: 32px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.55);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(2,6,23,.10);
}

.hero-stage-media{
  height: 440px;
  background-image:
    linear-gradient(120deg, rgba(248,250,252,.82) 0%, rgba(248,250,252,.28) 46%, rgba(0,122,135,.14) 100%),
    var(--stage-img);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-stage-sheen{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 400px at 18% 20%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,.00), rgba(2,6,23,.10));
  pointer-events: none;
}

.hero-stage-cards{
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stage-card{
  padding: 14px 14px 13px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 26px rgba(2,6,23,.12);
}

.stage-k{
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(0,122,135,.92);
  font-weight: 750;
}

.stage-t{
  margin-top: 6px;
  font-size: 15px;
  color: rgba(15,23,42,.82);
  font-weight: 650;
}

@media (max-width: 960px){
  .hero-award-center .headline{ font-size: 46px; }
  .hero-stage-media{ height: 360px; }
  .hero-stage-cards{ grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference){
  .hero-award-bg{ animation: heroFloat 10s ease-in-out infinite; }
  .hero-stage-media{ animation: heroZoom 14s ease-in-out infinite; transform-origin: 60% 45%; }
}

@keyframes heroFloat{
  0%,100%{ transform: translateY(-44px); }
  50%{ transform: translateY(-30px); }
}

@keyframes heroZoom{
  0%,100%{ transform: scale(1.02); }
  50%{ transform: scale(1.06); }
}

/* Section heading variants */
.section-head.compact{margin-bottom:16px}
.section-head.compact .lede{margin-top:6px}

/* Pillars */
.pillars{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:18px; margin-top:16px}
.pillar{
  display:block;
  text-decoration:none;
  padding:20px;
  border-radius:22px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.pillar:hover{transform:translateY(-2px); box-shadow: 0 18px 38px rgba(2,6,23,.10); border-color: rgba(0,122,135,.35)}
.pillar-icon{width:44px; height:44px; display:grid; place-items:center; border-radius:14px; background:linear-gradient(135deg, rgba(0,122,135,.10), rgba(10,167,184,.10)); color:var(--brand); font-weight:900; margin-bottom:12px}
.pillar p{color:var(--muted); margin:8px 0 0}
.pill-link{display:inline-flex; margin-top:12px; font-weight:800; color:var(--brand)}

/* Segments */
.segments{display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:18px; margin-top:14px}
.segment{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow-soft);
  min-height: 240px;
  text-decoration:none;
  display:flex;
  align-items:flex-end;
}
.segment::before{
  content:"";
  position:absolute; inset:0;
  background-image: var(--img);
  background-size:cover;
  background-position:center;
  filter:saturate(1.10) contrast(1.10) brightness(.90);
  transform:scale(1.02);
}
.segment::after{
  content:"";
  position:absolute; inset:0;
  /* Premium readability scrim (image stays punchy, text stays clear) */
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.46) 58%, rgba(0,0,0,.78) 100%),
    radial-gradient(closest-side at 22% 30%, rgba(0,122,135,.22), transparent 62%);
  pointer-events:none;
}
.segment-body{position:relative; z-index:1; padding:22px}
.segment-body h3{color:rgba(255,255,255,.98); text-shadow:0 1px 14px rgba(0,0,0,.42)}
.segment-body p{color:rgba(255,255,255,.80); max-width:44ch; text-shadow:0 1px 14px rgba(0,0,0,.40)}
.segment .mini-link{color:rgba(255,255,255,.92); font-weight:850}
.segment .mini-link span{opacity:.95}
.segment:hover{box-shadow: 0 18px 38px rgba(2,6,23,.10)}

/* Capability ticker */
.ticker{margin-top:14px; border:1px solid var(--line); border-radius:999px; overflow:hidden; background:rgba(255,255,255,.76)}
.ticker-track{display:flex; gap:18px; padding:10px 14px; white-space:nowrap; animation: scroll 18s linear infinite}
.ticker-item{display:inline-flex; align-items:center; gap:10px; font-weight:650; color:rgba(15,23,42,.76)}
.ticker-item .mini{width:8px; height:8px; border-radius:999px; background:linear-gradient(135deg, var(--brand), var(--brand-2))}

/* Before / After cards */
.ba-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:16px}
.ba-card{
  background:rgba(255,255,255,.86);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  box-shadow: 0 10px 26px rgba(2,6,23,.06);
}
.ba-card h3{margin-bottom:8px}
.ba-card p{color:var(--muted); margin-bottom:12px}
.ba-pair{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.ba-pair img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.10);
}
@keyframes scroll{from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* Stats */
.stat-grid{display:grid; grid-template-columns: repeat(3,1fr); gap:12px; margin-top:16px}
.stat{padding:14px; border-radius:16px; border:1px solid var(--line); background:rgba(255,255,255,.80)}
.stat .n{font-weight:800; font-family:var(--font-display)}
.stat p{margin:6px 0 0; color:var(--muted)}

.hero-aside .panel{background:rgba(255,255,255,.76); border:1px solid var(--line); border-radius:var(--radius); padding:18px; box-shadow:var(--shadow-soft)}
.hero-aside ul{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.pills{display:flex; flex-wrap:wrap; gap:10px; margin-top:10px}

/* Accreditation strip */
.accred-strip{display:flex; flex-wrap:wrap; gap:10px; padding:14px; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.78); box-shadow:var(--shadow-soft)}
.accred-item{display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--line); border-radius:999px; background:#fff}
.accred-item img{height:26px; width:auto; display:block}
.accred-badge{font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:rgba(15,23,42,.70); font-weight:800}

/* Layout helpers */
.split{display:grid; grid-template-columns: 1.1fr .9fr; gap:32px; align-items:start}

/* Sidebar card (used on Schools page) */
.sidebar{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow: 0 10px 28px rgba(2,6,23,.08);
  overflow:hidden;
}
.sidebar-img{width:100%; height:180px; object-fit:cover; display:block}
.side-block{padding:18px}
.side-divider{height:1px; background:var(--line)}

.checklist{margin:10px 0 0; padding:0; list-style:none; color:var(--muted)}
.checklist li{display:flex; gap:10px; padding:7px 0}
.checklist li:before{
  content:"✓";
  width:18px; height:18px;
  border-radius:999px;
  margin-top:2px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:950;
  color:#fff;
  background:var(--brand);
  box-shadow: 0 8px 18px rgba(0,122,135,.18);
}
.mini-points{display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 14px}
.chip{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(245,247,250,.85);
  color:rgba(15,23,42,.78);
  font-size:13px;
  font-weight:650;
}
.quote{border:1px solid var(--line); border-radius:var(--radius); padding:18px; background:rgba(255,255,255,.78); box-shadow:var(--shadow-soft)}
.quote p{font-size:16px; color:rgba(15,23,42,.82)}
.quote .who{color:var(--muted); font-weight:650}

.grid{display:grid; gap:14px}
.grid.cols-3{grid-template-columns: repeat(3,1fr)}
.grid.cols-2{grid-template-columns: repeat(2,1fr)}

/* Cards */
.card{
  position:relative;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  padding:18px;
  box-shadow: 0 6px 18px rgba(2,6,23,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow:hidden;
}
.card:before{
  content:"";
  position:absolute;
  left:0; top:0; right:0;
  height:3px;
  background:linear-gradient(90deg, rgba(0,122,135,.0), rgba(0,122,135,.55), rgba(10,167,184,.0));
  opacity:0;
  transition:opacity .18s ease;
}
.card:hover{transform:translateY(-2px); box-shadow: 0 14px 34px rgba(2,6,23,.10); border-color:rgba(0,122,135,.28)}
.card:hover:before{opacity:1}
.card-media{height:130px; border-radius:16px; background-size:cover; background-position:center; margin:-18px -18px 14px}

.icon{width:42px; height:42px; border-radius:14px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg, rgba(0,122,135,.14), rgba(10,167,184,.10)); border:1px solid rgba(15,23,42,.10); color:rgba(15,23,42,.80)}
.icon svg{width:22px; height:22px}

/* Steps */
.steps{display:grid; gap:12px; margin-top:14px}
.step{display:flex; gap:12px; padding:14px; border:1px solid var(--line); border-radius:18px; background:rgba(255,255,255,.84)}
.num{width:30px; height:30px; border-radius:999px; display:flex; align-items:center; justify-content:center; font-weight:900; background:linear-gradient(135deg, var(--brand), var(--brand-2)); color:#fff}
.step p{color:var(--muted); margin:6px 0 0}

/* CTA band */
.cta-band{
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:
    radial-gradient(900px 320px at 18% 0%, rgba(0,122,135,.14), transparent 62%),
    rgba(255,255,255,.92);
  box-shadow:var(--shadow-soft);
  padding:24px;
}
.cta-band .row{display:flex; align-items:flex-end; justify-content:space-between; gap:18px; flex-wrap:wrap}

/* Footer */
.footer{padding:54px 0; background:rgba(255,255,255,.92); border-top:1px solid var(--line)}
.footer-grid{display:grid; grid-template-columns: 1.2fr .8fr .8fr; gap:22px}
.footer .tiny{color:var(--muted); max-width:60ch}
.footer h3{margin-bottom:10px}

/* Forms */
.form{display:grid; gap:12px}
.field{display:grid; gap:6px}
label{font-weight:700; color:rgba(15,23,42,.86)}
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  font-family:var(--font);
  color:var(--ink-2);
}
textarea{min-height:120px; resize:vertical}

/* Responsive */
@media (min-width: 981px){
  .sidebar{position:sticky; top:92px}
}

@media (max-width: 980px){
  h1{font-size:44px}
  .hero-grid{grid-template-columns:1fr}
  .home .hero-aside{grid-template-columns:1fr}
  .pillars{grid-template-columns:1fr}
  .segments{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .grid.cols-3{grid-template-columns:1fr}
  .ba-grid{grid-template-columns:1fr}
  .showcase-grid{grid-template-columns:1fr}
  .ba-pair img{height:200px}
  .footer-grid{grid-template-columns:1fr}
  .stat-grid{grid-template-columns:1fr}
  .cta{display:none}
  .nav{display:none}
  .mobile-toggle{display:inline-flex}
}

/* Mobile menu (simple) */
.nav.open{display:flex; position:absolute; right:var(--pad); top:64px; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:16px; padding:10px; box-shadow:var(--shadow-soft)}


/* Certification logo row */
.logo-row{display:flex;align-items:center;gap:14px;margin-top:14px;flex-wrap:wrap}
.logo{height:26px;width:auto;filter:grayscale(1) contrast(1.05);opacity:.9}
.logo-text{display:inline-flex;align-items:center;height:26px;padding:0 10px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.75);font-weight:700;letter-spacing:.06em;font-size:11px;color:var(--ink-2)}


/* Section headings */
.section-head{margin-bottom:22px}
.section-head .kicker{margin-bottom:10px}
.lede{margin-top:8px; color:var(--muted); max-width:70ch}

/* Showcase outcomes */
.showcase-grid{display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:22px}
.showcase-card{
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow-soft);
  padding:24px;
  display:flex;
  flex-direction:column;
}
.showcase-card h3{margin:0 0 8px}
.showcase-card p{margin:0; color:var(--ink); min-height:120px}
.showcase-media{margin-top:16px}
.showcase-media img{
  width:100%;
  height:240px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid var(--line);
}
.showcase-media figcaption{margin-top:12px; color:var(--muted); font-size:13px; font-weight:700; letter-spacing:.01em}

/* Motion (subtle, premium) */
@keyframes heroIn{
  from{opacity:0; transform:scale(1.08)}
  to{opacity:1; transform:scale(1.03)}
}
@keyframes riseIn{
  from{opacity:0; transform:translateY(10px)}
  to{opacity:1; transform:translateY(0)}
}
@keyframes glowShift{
  0%,100%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(1.5%, -1%, 0)}
}


/* ==========================================================
   Dark hero (award-level, 2026-style)
   Inspired by modern tech sites: big typography + glass + glow.
   ========================================================== */

/* Home header sits over the hero (clean, "Bose-like" start) */
body.home main{ padding-top: 0; } /* remove the white spacer bar */
body.home .header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  background: rgba(7, 10, 16, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
}
body.home .nav a{color:rgba(255,255,255,.86)}
body.home .nav a:hover{color:#fff}
body.home .header .btn-outline{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.18);color:#fff}
body.home .header .btn-outline:hover{background:rgba(255,255,255,.14)}
body.home .header.header--over{
  background: rgba(7,10,16,.52);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body.home .header.header--over .nav a{ color: rgba(255,255,255,.78); }
body.home .header.header--over .nav a:hover{ background: rgba(255,255,255,.06); }
body.home .header.header--over .btn.small.ghost{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
}
body.home .header.header--over .btn.small.primary{
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 18px 46px rgba(0,122,135,.26);
}
body.home .header.header--over .mobile-toggle{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}
body.home .header.header--over .mobile-toggle span,
body.home .header.header--over .mobile-toggle span:before,
body.home .header.header--over .mobile-toggle span:after{ background: rgba(255,255,255,.88); }

/* Hero base */
.hero.hero-award.hero-dark{
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(10,167,184,.26), rgba(10,167,184,0) 60%),
    radial-gradient(980px 640px at 78% 22%, rgba(45,94,156,.26), rgba(45,94,156,0) 62%),
    radial-gradient(900px 520px at 60% 120%, rgba(0,122,135,.18), rgba(0,122,135,0) 60%),
    linear-gradient(180deg, #05070B 0%, #070B12 55%, #0B1220 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.hero.hero-award.hero-dark .hero-award-bg{
  opacity: .62;
  filter: saturate(1.1) contrast(1.15);
}

.hero.hero-award.hero-dark:after{
  opacity:.18;
  mix-blend-mode: overlay;
}

.hero.hero-award.hero-dark .kicker{
  color: rgba(255,255,255,.74);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.hero.hero-award.hero-dark .headline{ color:#F8FAFC; }
.hero.hero-award.hero-dark .sub{ color: rgba(241,245,249,.75); }

.hero.hero-award.hero-dark .grad-text{
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(10,167,184,.95) 60%, rgba(0,122,135,.95) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

.hero.hero-award.hero-dark .btn.primary{
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 22px 60px rgba(0,122,135,.30);
}
.hero.hero-award.hero-dark .btn.primary:hover{ filter: brightness(1.06); transform: translateY(-1px); }

.hero.hero-award.hero-dark .btn.ghost{
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
}
.hero.hero-award.hero-dark .btn.ghost:hover{ background: rgba(255,255,255,.10); transform: translateY(-1px); }

.hero.hero-award.hero-dark .hero-targets .chip{
  color: rgba(255,255,255,.80);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}

.hero.hero-award.hero-dark .proof-row .badge{
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}
.hero.hero-award.hero-dark .proof-row .badge .dot{
  background: radial-gradient(circle at 30% 30%, #FFFFFF, var(--brand-2));
  box-shadow: 0 0 0 4px rgba(10,167,184,.16);
}

/* Stage */
.hero.hero-award.hero-dark .hero-stage{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
}
.hero.hero-award.hero-dark .hero-stage-media{
  background-image:
    linear-gradient(120deg, rgba(3,6,14,.88) 0%, rgba(3,6,14,.46) 42%, rgba(0,122,135,.26) 100%),
    var(--stage-img);
  filter: saturate(1.15) contrast(1.12);
  opacity:.92;
}
.hero.hero-award.hero-dark .hero-stage-sheen{
  background:
    radial-gradient(520px 240px at 22% 25%, rgba(255,255,255,.18), transparent 62%),
    radial-gradient(560px 240px at 65% 35%, rgba(10,167,184,.22), transparent 66%),
    radial-gradient(520px 220px at 70% 80%, rgba(0,122,135,.14), transparent 70%);
  opacity:.85;
}

.hero.hero-award.hero-dark .stage-card{
  background: rgba(2,6,23,.52);
  border-color: rgba(255,255,255,.14);
}
.hero.hero-award.hero-dark .stage-k{ color: rgba(10,167,184,.98); }
.hero.hero-award.hero-dark .stage-t{ color: rgba(248,250,252,.85); }

/* Fade into the light site below */
.hero.hero-award.hero-dark + .section{
  background: linear-gradient(180deg, rgba(11,18,32,1) 0%, rgba(245,247,250,1) 56%, rgba(245,247,250,1) 100%);
}

/* ============================
   Hybrid light/bose-inspired tweaks (v16)
   ============================ */

/* Header: dark over hero, switches to light when scrolled past hero */
.header.header--light{
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(2,6,23,.08);
  box-shadow: 0 12px 34px rgba(2,6,23,.08);
}
.header.header--light .nav a{
  color: rgba(2,6,23,.82);
}
.header.header--light .nav a:hover,
.header.header--light .nav a.active{
  color: rgba(2,6,23,.92);
}
.header.header--light .btn.ghost{
  background: rgba(2,6,23,.04);
  border-color: rgba(2,6,23,.12);
  color: rgba(2,6,23,.86);
}
.header.header--light .btn.ghost:hover{
  background: rgba(2,6,23,.06);
}

/* Cleaner section rhythm (more Bose/Apple whitespace) */
.section.sm{padding: 72px 0;}
.section.sm .section-head.compact{margin-bottom: 22px;}

/* WHO IT'S FOR cards: turn text into a crisp glass panel so it's always readable */
.segments{gap: 20px;}
.segment{
  border: 1px solid rgba(2,6,23,.06);
  box-shadow: 0 18px 46px rgba(2,6,23,.10);
}
.segment::after{
  /* soften the heavy dark scrim; keep a hint for image depth */
  background: linear-gradient(180deg,
    rgba(0,0,0,.08) 0%,
    rgba(0,0,0,.16) 46%,
    rgba(0,0,0,.10) 100%);
}
.segment-body{
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: unset;
  border-radius: 18px;
  padding: 18px 18px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 26px rgba(2,6,23,.18);
}
.segment-body h3{
  color: rgba(2,6,23,.92);
  letter-spacing: -0.01em;
}
.segment-body p{
  color: rgba(2,6,23,.70);
  margin-top: 8px;
}
.segment-body .pill-link{
  color: var(--brand-2);
  margin-top: 12px;
}

/* Make the hero feel less busy: tone down chips visually */
.hero-targets .chip{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);
}
.proof-row .badge{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.84);
}

@media (max-width: 760px){
  .section.sm{padding: 56px 0;}
  .segment-body{left: 12px; right: 12px; bottom: 12px; padding: 16px;}
}

/* Header light mode (activated after hero) */
.header.header--light{
  background: rgba(255,255,255,.90);
  border-bottom: 1px solid rgba(2,6,23,.08);
  box-shadow: 0 12px 34px rgba(2,6,23,.08);
}
.header.header--light .logo-text{color: rgba(2,6,23,.92);}
.header.header--light .nav a{color: rgba(2,6,23,.78);}
.header.header--light .nav a:hover{color: rgba(2,6,23,.92);}
.header.header--light .btn.ghost{
  background: rgba(2,6,23,.04);
  border-color: rgba(2,6,23,.12);
  color: rgba(2,6,23,.90);
}
.header.header--light .btn.ghost:hover{background: rgba(2,6,23,.06);}
.header.header--light .btn.primary{box-shadow: 0 18px 34px rgba(0,0,0,.16);}

/* In light mode, increase contrast for the secondary button */
.header.header--light .btn{border-color: rgba(2,6,23,.10);}

/* Subtle divider between hero and the first light section */
.hero-dark + .section{border-top: 1px solid rgba(2,6,23,.06);}


/* Cleaner Bose-like page base */
body{ background:#fff; }
.section{ background: transparent; }
.section.alt{ background: rgba(248,250,252,.92); border-top: 1px solid rgba(2,6,23,.06); border-bottom: 1px solid rgba(2,6,23,.06); }

/* Light header button tuning */
.header.header--light .btn{ border-color: rgba(2,6,23,.14); }
.header.header--light .btn.ghost{ background: rgba(2,6,23,.04); color: rgba(2,6,23,.86); }
.header.header--light .btn.ghost:hover{ background: rgba(2,6,23,.06); }
.header.header--light .btn.secondary{ background: rgba(2,6,23,.06); color: rgba(2,6,23,.86); }
.header.header--light .btn.secondary:hover{ background: rgba(2,6,23,.08); }
.header.header--light .btn.primary{ box-shadow: 0 12px 26px rgba(0,122,135,.18); }

/* Keep the hero header dark by default */
.header:not(.header--light){ background: rgba(7,12,20,.72); }


/* v20 refinements */
.footer-grid.footer-grid-4{grid-template-columns:1.4fr .8fr .8fr .9fr}
.form-note{font-size:12px;color:var(--muted)}
.panel ul.checklist{padding-left:18px;margin:10px 0 0}
.panel ul.checklist li{margin:0 0 8px}
@media (max-width:980px){.footer-grid.footer-grid-4{grid-template-columns:1fr}}


/* ==========================================================
   v20.1 nav refinement — darker premium nav, no colour switching
   ========================================================== */
.header{
  background: rgba(6, 12, 19, 0.86);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 28px rgba(2,6,23,0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header.header--over{
  background: rgba(6, 12, 19, 0.74);
  border-bottom-color: rgba(255,255,255,0.07);
  box-shadow: none;
}
.header.header--scrolled{
  background: rgba(6, 12, 19, 0.92);
  border-bottom-color: rgba(255,255,255,0.10);
  box-shadow: 0 12px 34px rgba(2,6,23,0.28);
}
.header,
.header .nav a,
.header .btn,
.header .mobile-toggle,
.header .logo-text{ color:#F4F7FA; }
.header .nav a{
  color: rgba(244,247,250,0.84);
}
.header .nav a:hover,
.header .nav a.active{
  color:#FFFFFF;
  background: rgba(255,255,255,0.06);
}
.header .btn{
  border-color: rgba(255,255,255,0.16);
}
.header .btn.ghost,
.header .btn.secondary{
  background: rgba(255,255,255,0.06);
  color:#F4F7FA;
  border-color: rgba(255,255,255,0.16);
}
.header .btn.ghost:hover,
.header .btn.secondary:hover{
  background: rgba(255,255,255,0.11);
}
.header .btn.primary{
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color:#fff;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(0,122,135,0.24);
}
.header .btn.primary:hover{
  box-shadow: 0 16px 34px rgba(0,122,135,0.28);
}
.header .mobile-toggle{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
}
.header .mobile-toggle span,
.header .mobile-toggle span:before,
.header .mobile-toggle span:after{
  background: rgba(255,255,255,0.92);
}
.nav.open{
  background: rgba(6,12,19,0.98);
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 18px 42px rgba(2,6,23,0.34);
}
.nav.open a{
  color:#F4F7FA;
}
.nav.open a:hover{ background: rgba(255,255,255,0.06); }
.logo-text{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color:#F4F7FA;
}
body.home .header,
body.home .header.header--over,
body.home .header.header--scrolled{
  background: rgba(6, 12, 19, 0.82);
}
body.home .header.header--over{ background: rgba(6, 12, 19, 0.68); }
body.home .header.header--scrolled{ background: rgba(6, 12, 19, 0.92); }


/* ==========================================================
   v22 final polish — production spacing, alignment and copy support
   ========================================================== */
:root{
  --section-space: 88px;
  --section-space-sm: 68px;
}
body{background:#ffffff;}
.section{padding:var(--section-space) 0;}
.section.sm{padding:var(--section-space-sm) 0;}
.section-head.center-copy{max-width:860px;margin:0 auto 28px;text-align:center;}
.section-head.center-copy .lede{margin-left:auto;margin-right:auto;}
.hero-roleline{margin:14px auto 0;max-width:760px;color:rgba(241,245,249,.80);font-weight:600;letter-spacing:.01em;}
.hero.hero-award.hero-dark .hero-roleline{color:rgba(241,245,249,.78);}
.hero.hero-award{padding:98px 0 58px;}
.hero-award-center .headline{font-size:62px;max-width:16.5ch;margin-left:auto;margin-right:auto;}
.hero-award-center .sub{max-width:780px;}
.hero-stage{margin-top:34px;}
.hero-stage-media{height:460px;}
.hero-stage-cards{gap:14px;left:20px;right:20px;bottom:20px;}
.stage-card{padding:16px 16px 15px;}
.pillars,.segments,.showcase-grid,.grid.cols-3{gap:22px;}
.split.gap-lg{gap:40px;}
.lead,.lede{font-size:18px;line-height:1.72;}
.card,.pillar,.showcase-card,.panel,.quote,.sidebar{box-shadow:0 12px 34px rgba(2,6,23,.07);}
.card,.panel,.quote{padding:22px;}
.card h3,.panel h3,.quote h3,.sidebar h3,.showcase-card h3{font-size:20px;}
.card p:last-child,.panel p:last-child,.quote p:last-child{margin-bottom:0;}
.card small{display:block;line-height:1.65;color:var(--muted);}
.service-card-grid .card{display:flex;flex-direction:column;}
.card-media{height:180px;margin:-22px -22px 18px;border-radius:20px 20px 0 0;background-size:cover;background-position:center;border-bottom:1px solid var(--line);}
.icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg, rgba(0,122,135,.11), rgba(10,167,184,.12));color:var(--brand);margin-bottom:14px;}
.icon svg{width:24px;height:24px;}
.panel-strong{background:linear-gradient(180deg,#ffffff, #f8fbfd);}
.panel-muted{background:rgba(248,250,252,.92);}
.cta-band{padding:32px;border-radius:28px;background:linear-gradient(180deg,#ffffff, #f7fafc);box-shadow:0 18px 46px rgba(2,6,23,.08);}
.cta-band h2{max-width:16ch;}
.sidebar-img{height:220px;}
.side-block{padding:22px;}
.mini-points .chip,.hero-targets .chip,.chip{display:inline-flex;align-items:center;padding:10px 12px;border-radius:999px;border:1px solid rgba(15,23,42,.10);background:rgba(255,255,255,.88);font-size:13px;font-weight:700;color:rgba(15,23,42,.82);}
.hero.hero-award.hero-dark .proof-row .badge,
.hero.hero-award.hero-dark .hero-targets .chip{backdrop-filter:blur(8px);}
.quote{display:flex;flex-direction:column;justify-content:center;min-height:100%;}
.project-tile-grid .card{min-height:100%;}
.contact-card{padding:26px;}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
input,textarea,select{padding:13px 14px;border-radius:15px;}
label{font-size:14px;letter-spacing:.01em;}
.form-note{display:block;margin-top:2px;}
.footer{padding:64px 0 48px;background:#fff;}
.footer-grid{gap:28px;}
.footer a{color:rgba(15,23,42,.78);}
.footer a:hover{color:var(--ink-2);}
.nav a.active{color:#fff;background:rgba(255,255,255,.08);}
.navbar{padding:15px 0;}
.brand img.word{height:17px;}
.mobile-toggle{padding:11px;}
.nav.open{background:rgba(6,12,19,.98);border-color:rgba(255,255,255,.10);right:22px;top:70px;min-width:240px;padding:12px;}
.nav.open a{padding:12px 12px;}
.footer-grid.footer-grid-4{grid-template-columns:1.35fr .85fr .85fr 1fr;}
@media (max-width: 1100px){
  .hero-award-center .headline{font-size:54px;}
  .hero-stage-media{height:400px;}
}
@media (max-width: 980px){
  :root{--section-space:72px;--section-space-sm:54px;}
  .field-row{grid-template-columns:1fr;}
  .split.gap-lg{gap:26px;}
  .hero-award-center .headline{font-size:46px;max-width:15ch;}
  .hero-stage{border-radius:26px;}
  .hero-stage-media{height:320px;}
  .hero-stage-cards{grid-template-columns:1fr;}
  .cta-band{padding:24px;}
  .footer-grid.footer-grid-4{grid-template-columns:1fr;}
}
@media (max-width: 640px){
  .hero.hero-award{padding:84px 0 48px;}
  .hero-award-center .headline{font-size:38px;max-width:none;}
  .hero-stage-media{height:260px;}
  .card,.panel,.quote,.contact-card{padding:18px;}
  .card-media{margin:-18px -18px 16px;}
  .section-head.center-copy{text-align:left;}
}

.nav{gap:10px;}
.nav a{padding:9px 8px;font-size:14px;}
.cta .btn{padding:10px 14px;}
@media (max-width: 1180px){ .nav{gap:6px;} .nav a{font-size:13px;padding:8px 6px;} .cta .btn{padding:10px 12px;font-size:13px;} }

/* v26 polish: tighten headings and fix home pathway cards */
.section-head.compact.center-copy{
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.section-head.compact.center-copy .lede{
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.segments{
  align-items: stretch;
  gap: 22px;
}
.segment{
  min-height: 356px;
  border-radius: 26px;
}
.segment::before{
  background-position: center center;
  filter: saturate(1.04) contrast(1.05) brightness(.94);
}
.segment-body{
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 20px 20px 18px;
  background: rgba(255,255,255,.93);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 14px 28px rgba(2,6,23,.16);
}
.segment-body h3{
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.2;
}
.segment-body p{
  margin: 0;
  line-height: 1.48;
  font-size: 17px;
  color: rgba(2,6,23,.74);
}
.segment-body .pill-link{
  margin-top: 14px;
  font-size: 17px;
}

@media (max-width: 1100px){
  .segment{min-height: 332px;}
}
@media (max-width: 760px){
  .segment{min-height: 320px;}
  .segment-body{left: 14px; right: 14px; bottom: 14px; padding: 18px 18px 16px;}
  .segment-body h3{font-size: 20px;}
  .segment-body p,.segment-body .pill-link{font-size: 16px;}
}


/* ==========================================================
   v27 mobile polish — cleaner hero, stronger contrast, less clutter
   ========================================================== */
@media (max-width: 760px){
  body.home .header,
  body.home .header.header--over,
  body.home .header.header--scrolled{
    background: rgba(6, 12, 19, 0.92);
    border-bottom-color: rgba(255,255,255,0.08);
  }

  .hero.hero-award{
    padding: 74px 0 34px;
  }

  .hero-award-center{
    text-align: left;
    max-width: 100%;
  }

  .hero-award-center .kicker{
    display: inline-flex;
    max-width: 100%;
    padding: 9px 12px;
    font-size: 11px;
    letter-spacing: .06em;
    line-height: 1.35;
    white-space: normal;
    text-align: left;
  }

  .hero-award-center .headline{
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.04;
    letter-spacing: -.04em;
    margin: 16px 0 10px;
    max-width: 11ch;
  }

  .hero-award-center .sub{
    font-size: 16px;
    line-height: 1.58;
    max-width: none;
    color: rgba(241,245,249,.82);
  }

  .hero-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 10px;
    margin: 20px 0 14px;
  }

  .hero-actions .btn{
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    font-size: 15px;
  }

  .hero-roleline{
    margin: 14px 0 0;
    max-width: none;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(241,245,249,.84);
  }

  .proof-row{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 18px 0 0;
  }

  .hero.hero-award.hero-dark .proof-row .badge{
    width: 100%;
    justify-content: flex-start;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.4;
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.16);
    color: rgba(255,255,255,.90);
  }

  .hero-stage{
    margin-top: 22px;
    border-radius: 24px;
    overflow: hidden;
  }

  .hero-stage-media{
    height: 210px;
    transform: none;
  }

  .hero-stage-cards{
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(5,10,18,.16), rgba(5,10,18,.55));
  }

  .hero.hero-award.hero-dark .stage-card{
    background: rgba(5,10,18,.78);
    border-color: rgba(255,255,255,.14);
    box-shadow: none;
  }

  .hero.hero-award.hero-dark .stage-t{
    color: rgba(248,250,252,.92);
    font-size: 15px;
    line-height: 1.42;
  }

  .hero.hero-award.hero-dark .stage-k{
    font-size: 11px;
    letter-spacing: .08em;
  }

  .segment{
    min-height: 300px;
  }

  .segment-body{
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px 16px 15px;
    border-radius: 16px;
  }

  .segment-body h3{
    font-size: 19px;
  }

  .segment-body p,
  .segment-body .pill-link{
    font-size: 15px;
    line-height: 1.5;
  }
}

@media (max-width: 480px){
  .hero-award-center .headline{
    font-size: 34px;
    max-width: 10.5ch;
  }

  .hero-actions{
    grid-template-columns: 1fr;
  }

  .hero-award-center .kicker{
    font-size: 10px;
  }

  .hero-stage-media{
    height: 185px;
  }
}


/* v28 mobile contrast + section cleanup */
@media (max-width: 760px){
  /* Remove the dark fade into the first light section on phones */
  .hero.hero-award.hero-dark + .section{
    background: #F7F9FC;
    border-top: 1px solid rgba(15,23,42,.08);
  }

  /* Stronger contrast and calmer spacing for the first light section */
  .section-head.center-copy,
  .section-head.compact.center-copy{
    text-align: left;
    max-width: none;
    margin-bottom: 18px;
  }
  .section-head.center-copy .kicker,
  .section-head.compact.center-copy .kicker{
    color: #4B5563;
    font-size: 12px;
    letter-spacing: .12em;
    margin-bottom: 10px;
  }
  .section-head.center-copy h2,
  .section-head.compact.center-copy h2{
    color: #0B1220;
    font-size: clamp(34px, 9vw, 42px);
    line-height: 1.08;
    letter-spacing: -.04em;
    margin-bottom: 12px;
  }
  .section-head.center-copy .lede,
  .section-head.compact.center-copy .lede{
    color: #445064;
    font-size: 17px;
    line-height: 1.62;
    max-width: none;
  }

  /* Make the stage panel feel lighter and less cramped on mobile */
  .hero-stage{
    margin-top: 20px;
    border-radius: 22px;
    border-color: rgba(255,255,255,.12);
  }
  .hero-stage-media{
    height: 170px;
  }
  .hero-stage-cards{
    gap: 12px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(5,10,18,.10), rgba(5,10,18,.26));
  }
  .hero.hero-award.hero-dark .stage-card{
    background: rgba(5,10,18,.90);
    border-color: rgba(255,255,255,.12);
    padding: 18px 18px 16px;
  }
  .hero.hero-award.hero-dark .stage-k{
    color: rgba(10,167,184,.98);
    font-size: 11px;
    line-height: 1.25;
    margin-bottom: 8px;
  }
  .hero.hero-award.hero-dark .stage-t{
    color: rgba(248,250,252,.96);
    font-size: 16px;
    line-height: 1.42;
  }

  /* Cleaner, more readable pathway cards */
  .segments{
    gap: 16px;
    margin-top: 16px;
  }
  .segment{
    min-height: 286px;
    border-radius: 22px;
  }
  .segment-body{
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 16px 16px 15px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 10px 24px rgba(2,6,23,.12);
  }
  .segment-body h3{
    color: #0B1220;
    font-size: 20px;
  }
  .segment-body p{
    color: #445064;
    font-size: 15px;
    line-height: 1.55;
  }
  .segment-body .pill-link{
    font-size: 15px;
  }
}

@media (max-width: 480px){
  .hero.hero-award.hero-dark + .section{
    background: #F8FAFC;
  }
  .section-head.center-copy h2,
  .section-head.compact.center-copy h2{
    font-size: 32px;
  }
  .section-head.center-copy .lede,
  .section-head.compact.center-copy .lede{
    font-size: 16px;
  }
  .hero-stage-media{
    height: 156px;
  }
}


/* v29: equalise desktop/mobile pathway card body sizes */
.segments{grid-auto-rows:1fr;}
.segment{display:block;}
.segment-body{
  display:flex;
  flex-direction:column;
  min-height:252px;
}
.segment-body .pill-link{margin-top:auto;}

@media (max-width: 1100px){
  .segment-body{min-height:236px;}
}
@media (max-width: 760px){
  .segment-body{min-height:220px;}
}
@media (max-width: 520px){
  .segment-body{min-height:auto;}
}


/* Apple-style manufacturer row */
.section.xs{padding:34px 0}
.brand-row-wrap{background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,247,250,.96)); border-bottom:1px solid var(--line);}
.brand-apple{text-align:center}
.brand-apple .kicker{margin:0 0 20px; color:var(--muted-2)}
.brand-logos{display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:20px 34px}
.brand-mark{height:26px; width:auto; opacity:.82; filter:grayscale(1) contrast(1.08)}
.brand-moe{height:24px}
.brand-applemark,.brand-microsoft{height:20px}
.brand-word{display:inline-flex; align-items:center; justify-content:center; min-height:28px; font-weight:700; color:#253041; letter-spacing:-.02em; opacity:.78}
.brand-legrand{font-size:28px; font-weight:800; letter-spacing:-.04em; text-transform:lowercase}
.brand-pdl{font-size:23px; letter-spacing:.10em}
.brand-dynamix{font-size:19px; letter-spacing:.14em}
.brand-ubiquiti{font-size:17px; letter-spacing:.24em; font-weight:600}
@media (max-width: 980px){
  .section.xs{padding:26px 0}
  .brand-logos{gap:16px 24px}
  .brand-legrand{font-size:24px}
  .brand-pdl{font-size:20px}
  .brand-dynamix{font-size:17px}
  .brand-ubiquiti{font-size:15px; letter-spacing:.16em}
}
@media (max-width: 640px){
  .brand-apple .kicker{margin-bottom:16px}
  .brand-logos{gap:14px 20px}
  .brand-mark{height:22px}
  .brand-moe{height:20px}
  .brand-applemark,.brand-microsoft{height:18px}
  .brand-legrand{font-size:22px}
  .brand-pdl{font-size:18px}
  .brand-dynamix{font-size:15px}
  .brand-ubiquiti{font-size:13px; letter-spacing:.13em}
}


/* ==========================================================
   v33 nav redesign — cleaner Apple-like navigation
   ========================================================== */
.header{
  background: rgba(12, 20, 29, 0.94);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 32px rgba(2,6,23,0.22);
}
.header.header--over{
  background: rgba(10, 18, 27, 0.86);
  box-shadow: none;
}
.header.header--scrolled{
  background: rgba(12, 20, 29, 0.97);
  box-shadow: 0 14px 34px rgba(2,6,23,0.28);
}
.navbar{
  min-height: 78px;
  gap: 22px;
}
.brand{min-width:auto}
.nav{
  display:flex;
  align-items:center;
  gap: 26px;
}
.nav a{
  position: relative;
  padding: 8px 0;
  border-radius: 0;
  background: transparent !important;
  color: rgba(244,247,250,0.84);
  font-size: 16px;
  font-weight: 630;
  letter-spacing: -.01em;
  transition: color .18s ease, opacity .18s ease;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-10px;
  height:2px;
  border-radius:999px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  transform: scaleX(0);
  transform-origin:center;
  transition: transform .18s ease, opacity .18s ease;
  opacity:.9;
}
.nav a:hover,
.nav a:focus-visible,
.nav a.active{
  color:#fff;
}
.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.active::after{
  transform: scaleX(1);
}
.cta{
  gap: 12px;
}
.header .btn{
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.header .btn.ghost,
.header .btn.secondary{
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.14);
}
.header .btn.ghost:hover,
.header .btn.secondary:hover{
  background: rgba(255,255,255,0.08);
}
.header .btn.primary{
  background: linear-gradient(135deg, #17b8d3 0%, #0b9db2 100%);
  box-shadow: 0 12px 26px rgba(0,122,135,0.22);
}
.header .btn.primary:hover{
  box-shadow: 0 16px 32px rgba(0,122,135,0.28);
}
.header .btn.ghost{color:#fff}
.header .btn .break,
.header .btn br{display:none}
.mobile-toggle{
  border-radius: 18px;
}
@media (max-width: 1140px){
  .nav{gap:18px}
  .nav a{font-size:15px}
  .header .btn{padding:12px 16px}
}
@media (max-width: 980px){
  .nav.open{
    background: rgba(8, 14, 22, 0.98);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    padding: 14px;
  }
  .nav.open a{
    padding: 12px 10px;
    font-size: 16px;
  }
  .nav.open a::after{
    left:10px;
    right:10px;
    bottom:4px;
  }
}


/* ==========================================================
   v34 footer + mobile production polish
   - Plain footer credentials (no badge bubbles)
   - Cleaner Apple-style desktop nav
   - Robust mobile menu and simplified mobile hero
   ========================================================== */

.footer .pills{display:none;}
.footer-credentials{
  margin:0 0 16px;
  color:#0B1220;
  font-weight:720;
  line-height:1.55;
  letter-spacing:-.01em;
}
.footer-credentials::before{
  content:"";
  display:block;
  width:34px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--brand-2),var(--brand));
  margin:0 0 14px;
}
.footer .tiny{font-size:15px; line-height:1.7;}
.footer h3{font-size:17px; letter-spacing:-.02em;}
.footer p{margin:0 0 10px;}
.footer a{transition:color .16s ease;}

/* Header/nav: restrained text links, no pill nav buttons */
.header{background:rgba(8,15,23,.94);}
.navbar{min-height:76px; padding:0;}
.brand{gap:12px; flex:0 0 auto;}
.brand img.icon{width:34px;height:34px;}
.brand img.word{height:17px;}
.nav{gap:24px; margin-left:auto;}
.nav a:not(.mobile-nav-cta){
  padding:8px 0;
  border-radius:0;
  background:transparent!important;
  font-size:15px;
  line-height:1.25;
  font-weight:650;
  color:rgba(244,247,250,.76);
}
.nav a:not(.mobile-nav-cta)::after{bottom:-9px;}
.nav a:not(.mobile-nav-cta):hover,
.nav a:not(.mobile-nav-cta):focus-visible,
.nav a:not(.mobile-nav-cta).active{color:#fff;}
.mobile-nav-cta{display:none!important;}
.header .btn{border-radius:14px; min-height:46px; padding:11px 16px;}
.header .btn.ghost{background:transparent; border-color:rgba(255,255,255,.18);}
.header .btn.primary{background:linear-gradient(135deg,#16c3d7,#0a8fa2);}

@media (max-width: 1160px){
  .nav{gap:18px;}
  .nav a:not(.mobile-nav-cta){font-size:14px;}
  .header .btn{padding:10px 13px; font-size:13px;}
}

/* Mobile header and menu */
@media (max-width: 980px){
  .container{padding-left:20px;padding-right:20px;}
  .navbar{min-height:74px;}
  .brand img.icon{width:38px;height:38px;}
  .brand img.word{height:17px;}
  .cta{display:none!important;}
  .mobile-toggle{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border-radius:16px;background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.16);}
  .mobile-toggle span,.mobile-toggle span:before,.mobile-toggle span:after{width:23px;height:2px;background:rgba(255,255,255,.94);}
  .mobile-toggle span:before{top:-7px;}
  .mobile-toggle span:after{top:7px;}

  .nav{display:none;}
  .nav.open{
    display:flex!important;
    position:absolute;
    top:calc(100% + 10px);
    left:20px;
    right:20px;
    flex-direction:column;
    gap:0;
    padding:10px;
    background:rgba(7,13,21,.985);
    border:1px solid rgba(255,255,255,.12);
    border-radius:18px;
    box-shadow:0 24px 60px rgba(2,6,23,.42);
    z-index:200;
  }
  .nav.open a{
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    padding:13px 14px;
    border-radius:12px;
    color:rgba(244,247,250,.92)!important;
    font-size:16px!important;
    font-weight:650;
  }
  .nav.open a::after{display:none!important;}
  .nav.open a:hover,.nav.open a.active{background:rgba(255,255,255,.07)!important;}
  .nav.open .mobile-nav-cta{margin-top:8px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06)!important;}
  .nav.open .mobile-nav-cta.primary{background:linear-gradient(135deg,#16c3d7,#0a8fa2)!important;border-color:transparent;color:#fff!important;}
}

/* Mobile hero: reduce clutter, keep message readable */
@media (max-width: 760px){
  body.home .header, body.home .header.header--over, body.home .header.header--scrolled{background:rgba(7,13,21,.96);}
  .hero.hero-award{padding:104px 0 46px;}
  .hero-award-center{text-align:center;}
  .hero-award-center .kicker{
    display:inline-flex;
    max-width:100%;
    justify-content:center;
    text-align:center;
    font-size:10px;
    letter-spacing:.08em;
    padding:8px 10px;
    line-height:1.3;
  }
  .hero-award-center .headline{
    max-width:12ch;
    margin:16px auto 12px;
    font-size:clamp(42px,12vw,56px);
    line-height:.98;
    letter-spacing:-.055em;
  }
  .hero-award-center .sub{
    max-width:35rem;
    margin-left:auto;
    margin-right:auto;
    font-size:17px;
    line-height:1.58;
    color:rgba(241,245,249,.84);
  }
  .hero-actions{grid-template-columns:1fr;max-width:360px;margin:22px auto 0;}
  .hero-actions .btn{min-height:52px;border-radius:14px;}
  .hero-roleline{font-size:15px;max-width:32rem;margin:18px auto 0;color:rgba(241,245,249,.78);}
  .proof-row{max-width:380px;margin:20px auto 0;}
  .hero.hero-award.hero-dark .proof-row .badge{justify-content:center;text-align:center;border-radius:14px;background:rgba(255,255,255,.065);}
  .hero-stage{display:none;}
  .brand-row-wrap{border-top:1px solid rgba(15,23,42,.06);}
}

/* General mobile layout polish */
@media (max-width: 760px){
  .section,.section.sm{padding:54px 0;}
  .section.xs{padding:30px 0;}
  h2{font-size:34px;line-height:1.08;}
  .lead,.lede{font-size:16px;line-height:1.62;}
  .section-head.center-copy,.section-head.compact.center-copy{text-align:left;}
  .section-head.center-copy h2,.section-head.compact.center-copy h2{font-size:clamp(32px,9vw,40px);}
  .segments,.pillars,.showcase-grid,.grid.cols-3{grid-template-columns:1fr!important;gap:18px;}
  .segment{min-height:300px;border-radius:22px;}
  .segment-body{min-height:auto;left:14px;right:14px;bottom:14px;padding:18px;border-radius:18px;}
  .segment-body h3{font-size:21px;}
  .segment-body p{font-size:16px;line-height:1.55;}
  .pillar,.card,.showcase-card,.panel,.quote{border-radius:20px;}
  .showcase-media img{height:250px;}
  .footer{padding:46px 0 36px;}
  .footer-grid.footer-grid-4{gap:26px;}
  .footer h3{margin:4px 0 12px;}
  .footer-credentials{font-size:15px;}
}

@media (max-width: 420px){
  .container{padding-left:18px;padding-right:18px;}
  .brand img.word{height:15px;}
  .hero-award-center .headline{font-size:42px;}
  .hero-award-center .sub{font-size:16px;}
  .proof-row{max-width:none;}
  .hero.hero-award.hero-dark .proof-row .badge{font-size:13px;}
}


/* v37 school/business positioning refinements */
.header .cta{gap:0;}
.header .cta .btn.primary{white-space:nowrap;}
.nav a{white-space:nowrap;}
@media (min-width: 861px){
  .nav{gap:28px;}
  .header .cta .btn.primary{padding-inline:18px;}
}
@media (max-width: 860px){
  .mobile-nav-cta.primary{display:flex;}
}

/* ==========================================================
   v38 services visual refresh
   - More relevant service imagery
   - School AV / stage / IP bell / digital display capability
   - Residential capability block
   ========================================================== */
.grid.cols-4{grid-template-columns:repeat(4, minmax(0,1fr));}
.service-visual-row{
  display:grid;
  grid-template-columns:minmax(260px, .46fr) minmax(0, 1fr);
  gap:32px;
  align-items:center;
}
.service-visual-row-right{
  grid-template-columns:minmax(0, 1fr) minmax(300px, .42fr);
}
.service-photo,
.service-feature-image{
  margin:0;
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  box-shadow:0 16px 44px rgba(2,6,23,.09);
}
.service-photo img,
.service-feature-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.service-photo{height:260px;}
.service-photo-tall{height:320px;}
.service-card-grid .card{
  min-height:100%;
}
.service-feature-band{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,.42fr);
  gap:28px;
  align-items:stretch;
  border:1px solid rgba(15,23,42,.08);
  border-radius:30px;
  padding:24px;
  background:
    radial-gradient(700px 260px at 0% 0%, rgba(10,167,184,.14), transparent 58%),
    linear-gradient(180deg,#ffffff,#f7fbfc);
  box-shadow:0 18px 48px rgba(2,6,23,.08);
}
.service-feature-band.residential-band{
  background:
    radial-gradient(700px 260px at 0% 0%, rgba(0,122,135,.10), transparent 58%),
    linear-gradient(180deg,#ffffff,#f8fbf8);
}
.service-feature-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.service-feature-image{min-height:280px;}
.service-mini-grid{margin-top:18px; gap:14px;}
.service-mini-grid .card{
  padding:18px;
  box-shadow:0 10px 26px rgba(2,6,23,.06);
}
.service-mini-grid .card h3{font-size:17px;}
.service-mini-grid .card p{font-size:14px; line-height:1.55;}
@media (max-width: 1180px){
  .service-visual-row,
  .service-visual-row-right,
  .service-feature-band{grid-template-columns:1fr;}
  .service-photo{height:280px;}
  .grid.cols-4{grid-template-columns:repeat(2, minmax(0,1fr));}
}
@media (max-width: 760px){
  .service-visual-row,
  .service-visual-row-right{gap:20px;}
  .service-photo,.service-photo-tall,.service-feature-image{height:220px; min-height:220px; border-radius:20px;}
  .service-feature-band{padding:18px; border-radius:24px; gap:18px;}
  .grid.cols-4{grid-template-columns:1fr;}
  .service-mini-grid{gap:12px;}
}

/* v39 fix: light-photo hero proof badges were inheriting dark-hero styling, leaving only teal dots visible on Schools / Business / Contact. Keep the badges, but make them readable and intentional on light heroes. */
.hero.hero-photo:not(.hero-dark) .proof-row{
  margin-top: 20px;
  gap: 12px;
}
.hero.hero-photo:not(.hero-dark) .proof-row .badge{
  background: rgba(255,255,255,.88);
  border-color: rgba(2,6,23,.12);
  color: rgba(15,23,42,.78);
  box-shadow: 0 8px 22px rgba(2,6,23,.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero.hero-photo:not(.hero-dark) .proof-row .badge .dot{
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(0,122,135,.10);
}
@media (max-width: 760px){
  .hero.hero-photo:not(.hero-dark) .proof-row{
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 16px;
  }
  .hero.hero-photo:not(.hero-dark) .proof-row .badge{
    justify-content: flex-start;
    border-radius: 14px;
    white-space: normal;
    line-height: 1.35;
  }
}
