@font-face {
  font-family: 'Brioni';
  src: url('fonts/BrioniSansStd-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Force EVERY element to use Brioni */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer,
header, hgroup, menu, nav, output, ruby, section,
summary, time, mark, audio, video, button, input, select, textarea {
  font-family: 'Brioni', Arial, Helvetica, sans-serif !important;
  font-weight: 300 !important;
}
@font-face {
  font-family: 'Brioni';
  src: url('fonts/BrioniSansStd-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
body, p, a, li, h1, h2, h3, .brand-word, .hero-answer, span {
  font-family: 'Brioni', Arial, Helvetica, sans-serif !important;
  font-weight: 300 !important;
}
@font-face {
  font-family: 'Brioni';
  src: url('fonts/BrioniSansStd-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
body, p, a, li, h1, h2, h3, .brand-word, .hero-answer, span {
  font-family: 'Brioni', Arial, Helvetica, sans-serif !important;
  font-weight: 300 !important;
}
@font-face {
  font-family: 'Brioni';
  src: url('fonts/brioni-regular.woff2') format('woff2'),
       url('fonts/brioni-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body, h1, h2, h3, .brand-word, .hero-answer {
  font-family: 'Brioni', Arial, Helvetica, sans-serif !important;
}
:root {
  --navy: #142c3e;
  --navy-deep: #102635;
  --teal: #006d77;
  --teal-bright: #008b96;
  --amber: #e5a93d;
  --white: #fff;
  --paper: #f4f7f8;
  --ink: #193446;
  --muted: #536774;
  --rule: #dce5e9;
  --max: 1256px;
  --ease: cubic-bezier(.23,1,.32,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 5px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 750; margin-bottom: 22px; }
h3 { font-size: 23px; }
p { margin-bottom: 20px; }
strong { font-weight: 750; }

.wrap { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.eyebrow { display: block; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; font-weight: 750; color: var(--teal); margin: 0 0 20px; }
.section { padding: 92px 0; }

/* Header & Nav */
.site-header { background: rgba(255,255,255,.98); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 87px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-word { font-size: 26px; letter-spacing: -.045em; font-weight: 750; line-height: 1.05; }
.brand-sub { display: block; font-size: 10px; letter-spacing: .065em; font-weight: 400; color: var(--muted); margin-top: 5px; }
.brand-mark { width: 41px; height: 41px; position: relative; flex-shrink: 0; }
.corner { position: absolute; width: 17px; height: 17px; border: 6px solid var(--teal); }
.tl { left: 0; top: 0; border-right: 0; border-bottom: 0; border-color: var(--navy); }
.tr { right: 0; top: 0; border-left: 0; border-bottom: 0; border-color: var(--amber); }
.bl { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.br { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.nav { display: flex; gap: 27px; align-items: center; font-size: 13px; font-weight: 650; }
.nav a:not(.button) { padding-block: 8px; }
.nav a:not(.button):hover { color: var(--teal); }
.nav a[aria-current=page]:not(.button) { color: var(--teal); box-shadow: inset 0 -2px var(--amber); }
.menu-toggle { display: none; background: none; border: 1px solid var(--rule); border-radius: 4px; padding: 7px 11px; color: var(--ink); cursor: pointer; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 49px; padding: 13px 22px; background: var(--teal); color: #fff; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .18s var(--ease), transform .16s var(--ease); }
.button:hover { background: #005963; }
.button:active { transform: scale(.97); }
.button span[aria-hidden] { font-size: 20px; line-height: 1; }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; padding: 84px 0 68px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 56px; }
.hero .eyebrow { color: var(--amber); }
.hero h1 { font-size: clamp(40px, 4.1vw, 57px); line-height: 1.075; margin-bottom: 26px; max-width: 720px; }
.hero-answer { font-size: clamp(22px, 2.25vw, 29px); line-height: 1.25; font-weight: 700; letter-spacing: -.028em; max-width: 600px; margin-bottom: 18px; }
.hero-description { color: #dbe8ef; max-width: 495px; font-size: 18px; line-height: 1.5; margin-bottom: 30px; }
.hero .button { background: var(--teal-bright); padding: 16px 23px; }
.hero .button:hover { background: #007681; }
.hero-under { font-size: 11px; color: #b6c9d5; margin-top: 14px; margin-bottom: 0; }

/* Audience Band */
.audience-band { border-bottom: 1px solid var(--rule); background: #fff; }
.audience-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; padding-block: 30px; align-items: center; }
.audience-inner p { font-size: 16px; line-height: 1.5; margin: 0; max-width: 680px; }
.audience-criteria { display: flex; gap: 22px; align-items: center; justify-content: flex-end; font-size: 11px; letter-spacing: .02em; }
.audience-criteria span { padding-left: 13px; border-left: 3px solid var(--amber); }

/* Explore Grid (Symptoms) */
.explore-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: end; margin-bottom: 33px; }
.explore-head h2 { margin-bottom: 0; font-size: 39px; }
.explore-head p { color: var(--muted); margin: 0; max-width: 450px; }
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.explore-card { border: 1px solid var(--rule); border-top: 3px solid var(--teal); background: var(--paper); padding: 26px; display: flex; flex-direction: column; transition: transform .18s var(--ease), border-color .18s var(--ease); }
.explore-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.explore-card .number { font-size: 11px; font-weight: 750; letter-spacing: .06em; color: var(--teal); margin-bottom: 24px; }
.explore-card h3 { font-size: 24px; line-height: 1.15; margin-bottom: 13px; }
.explore-card p { font-size: 14px; color: var(--muted); margin-bottom: 27px; }
.explore-card .explore-link { font-size: 13px; font-weight: 700; color: var(--teal); margin-top: auto; }

/* Frameworks Section (Vector & Quality Shield) */
.frameworks-section { background: var(--navy-deep); color: #fff; padding: 92px 0; }
.frameworks-section h2 { color: #fff; }
.frameworks-section .eyebrow { color: var(--amber); }
.frameworks-section p { color: #b6cad5; }

.vector-stack { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.vector-layer { display: flex; align-items: center; background: rgba(255,255,255,0.05); border-left: 4px solid var(--teal); padding: 18px 24px; border-radius: 0 4px 4px 0; transition: background 0.2s; }
.vector-layer:hover { background: rgba(255,255,255,0.1); }
.vector-layer .layer-num { font-size: 11px; font-weight: 750; color: var(--amber); width: 40px; }
.vector-layer .layer-name { font-size: 18px; font-weight: 700; width: 250px; }
.vector-layer .layer-desc { font-size: 14px; color: #b6cad5; }

.quality-shield-scroll { overflow-x: auto; padding-bottom: 20px; margin-top: 40px; }
.quality-shield { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; min-width: 900px; }
.qs-stage { background: rgba(255,255,255,0.05); border-top: 3px solid var(--amber); padding: 20px 16px; }
.qs-stage h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #fff; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.qs-stage p { font-size: 12px; margin-bottom: 8px; }
.qs-stage .loss { color: var(--amber); font-size: 11px; font-weight: 700; text-transform: uppercase; display: block; margin-top: 12px; }

/* HELIX Independence */
.independence { background: var(--teal); color: #fff; padding: 74px 0; }
.independence-inner { display: grid; grid-template-columns: 1.13fr 1fr; gap: 85px; }
.independence .eyebrow { color: #bce5e7; }
.independence h2 { font-size: clamp(30px, 3.2vw, 43px); }
.independence p { color: #d2ebed; font-size: 16px; margin-bottom: 0; }
.independence-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid #ffffff3d; align-self: center; }
.independence-list li { padding: 16px 0; border-bottom: 1px solid #ffffff3d; display: grid; grid-template-columns: 22px 1fr; gap: 11px; font-size: 15px; }
.check { color: var(--amber); font-weight: 800; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b6cad5; padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 25px; align-items: start; }
.footer-inner p { font-size: 11px; margin: 0; }
.footer-inner strong { color: #fff; }
.footer-links { display: flex; gap: 20px; font-size: 11px; flex-wrap: wrap; max-width: 550px; justify-content: flex-end; row-gap: 9px; }
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }

@media(max-width: 850px) {
  .hero-inner, .audience-inner, .explore-head, .independence-inner { grid-template-columns: 1fr; gap: 35px; }
  .explore-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .vector-layer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .vector-layer .layer-name { width: auto; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 78px; left: 0; width: 100%; background: white; border-bottom: 1px solid var(--rule); padding: 22px 32px; flex-direction: column; align-items: stretch; gap: 10px; }
  .nav[data-open="true"] { display: flex; }
}

@media(max-width: 560px) {
  .wrap { width: calc(100% - 40px); }
  .hero h1 { font-size: 39px; }
  .explore-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

/* Navigation Dropdowns */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 280px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--teal);
  border-radius: 0 0 4px 4px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s var(--ease);
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
  transition: background 0.1s;
  text-decoration: none;
}

.nav-dropdown a:hover {
  background: var(--paper);
  color: var(--teal);
}

.nav-item > a {
  cursor: pointer;
}

/* Mobile Dropdown Fix */
@media (max-width: 850px) {
  .nav-item { display: block; width: 100%; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    min-width: 100%;
    display: none;
  }
  .nav-item:hover .nav-dropdown {
    display: block;
  }
}
