/* Apex Food Compliance — site styles
   Layout concept: LinkedIn-post language on the web — condensed uppercase headlines,
   diagonal photo panels, navy/green icon medallions, a navy "outcomes" band and a
   green "LET'S TALK" call-to-action that repeats down the page. */
:root {
  --navy: #1B2F5E;
  --navy-deep: #111F45;
  --green: #4E9A2E;
  --lime: #74B83F;          /* brighter green for text on navy */
  --orange: #E8731C;        /* sparing accent, as on the V&V posts */
  --ink: #16213F;
  --muted: #55607A;
  --paper: #F3F6FA;
  --white: #FFFFFF;
  --line: #DCE3EE;

  --f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --f-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(17, 31, 69, .45);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1; margin: 0; text-wrap: balance; text-transform: uppercase; letter-spacing: .005em; }
p { margin: 0; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(64px, 9vw, 112px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 700; font-size: 15px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--green);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.h-xl { font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; }
.h-lg { font-size: clamp(38px, 4.6vw, 60px); font-weight: 800; }
.h-md { font-size: clamp(24px, 2.2vw, 28px); font-weight: 700; }
.g { color: var(--green); }
.l { color: var(--lime); }
.o { color: var(--orange); }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 62ch; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 780px; }
.swoosh { position: relative; display: inline-block; }
.swoosh::after {
  content: ""; position: absolute; left: 0; right: 4%; bottom: -10px; height: 6px;
  background: var(--green); border-radius: 6px; transform: skewX(-18deg);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; border: 2px solid transparent;
  padding: 14px 26px; border-radius: 999px; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn .icon { font-size: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: #438726; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }

/* Top strip + header */
.topstrip { background: var(--navy-deep); color: #C9D3E8; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.topstrip .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topstrip a { color: var(--white); text-decoration: none; letter-spacing: .06em; text-transform: none; }
.topstrip span b { color: var(--lime); font-weight: 600; }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 56px; height: auto; }
.brand-word { display: grid; line-height: .9; }
.brand-word b { font-family: var(--f-display); font-weight: 800; font-size: 32px; color: var(--navy); letter-spacing: .04em; }
.brand-word span { font-family: var(--f-display); font-weight: 700; font-size: 13px; color: var(--green); letter-spacing: .14em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none; color: var(--navy); position: relative; padding-block: 6px;
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { padding: 10px 20px; font-size: 16px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); font-size: 30px; padding: 6px; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; min-height: 600px; }
.hero-copy { padding-block: 72px 80px; display: grid; gap: 26px; position: relative; z-index: 2; }
.hero-title { font-size: clamp(40px, 5.4vw, 72px); font-weight: 800; color: var(--navy); }
.hero-title .big { display: block; white-space: nowrap; font-size: 1.42em; color: var(--green); line-height: .92; margin-block: 4px; }
.hero-copy .lede { color: var(--ink); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ctas { align-items: center; gap: 18px 24px; }
.hero-copy { padding-right: 3vw; }
.hero-copy .lede { max-width: 52ch; }
.hero-talk {
  display: inline-flex; align-items: center; gap: 18px; text-decoration: none; color: var(--white);
  background: var(--green); padding: 14px 64px 14px 14px; border-radius: 999px 0 0 999px;
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 50%, calc(100% - 34px) 100%, 0 100%);
  transition: transform .15s ease, background .15s ease; position: relative;
}
.hero-talk:hover { transform: translateX(4px); background: #438726; }
.hero-talk .bubble { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); border: 3px solid var(--white); display: grid; place-items: center; font-size: 30px; flex: none; }
.hero-talk small { display: block; font-family: var(--f-display); font-weight: 600; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.hero-talk strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(40px, 4.4vw, 56px); text-transform: uppercase; line-height: .95; color: var(--white); }
.hero-talk .chev { position: absolute; right: 42px; font-size: 26px; stroke-width: 2.5; }
.hero-sub { display: grid; gap: 10px; justify-items: start; }
.hero-sub span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-photo { position: absolute; inset: 0 0 0 52%; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,47,94,.35), rgba(27,47,94,0) 35%); }
.hero-tag {
  position: absolute; top: 0; right: 0; z-index: 3; background: var(--navy); color: var(--white);
  padding: 18px 26px 20px 40px; clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  font-family: var(--f-display); font-weight: 600; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5;
}
.hero-tag::after { content: ""; display: block; width: 70px; height: 4px; background: var(--lime); margin-top: 10px; }
.checkcard {
  position: absolute; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 40px; z-index: 3;
  background: rgba(255,255,255,.95); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 24px; display: grid; gap: 10px; min-width: 240px;
}
.checkcard h3 { font-size: 15px; letter-spacing: .16em; color: var(--muted); font-weight: 700; }
.checkcard li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); }
.checkcard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tick { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--green); color: var(--white); font-size: 15px; flex: none; }
.tick .icon { stroke-width: 3; }

/* Pillar medallions row (from the posts) */
.pillars { position: relative; z-index: 4; margin-top: -48px; }
.pillar-row {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.pillar { padding: 30px 26px 32px; display: grid; justify-items: center; text-align: center; gap: 12px; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.medal { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; color: var(--white); font-size: 36px; background: var(--navy); }
.medal.green { background: var(--green); }
.medal.orange { background: var(--orange); }
.pillar h3 { font-size: 22px; color: var(--navy); font-weight: 700; }
.pillar h3::after { content: ""; display: block; width: 44px; height: 3px; background: var(--green); margin: 12px auto 0; }
.pillar p { color: var(--muted); font-size: 16px; line-height: 1.45; }

/* Navy outcomes band */
.band { background: var(--navy); color: var(--white); }
.outcomes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 30px; }
.outcome { display: flex; align-items: center; gap: 16px; padding: 10px 22px; }
.outcome + .outcome { border-left: 1px solid rgba(255,255,255,.18); }
.outcome .medal { width: 58px; height: 58px; font-size: 26px; background: var(--green); border: 3px solid rgba(255,255,255,.85); }
.outcome b { font-family: var(--f-display); font-weight: 600; font-size: 21px; line-height: 1.15; }

/* Why Apex: the middle ground */
.middle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.tier { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; align-content: start; background: var(--white); }
.tier .who { font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tier h3 { font-size: 30px; color: var(--navy); }
.tier ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--muted); }
.tier li .icon { margin-top: 5px; color: #A1AABD; }
.tier.apex { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-14px); box-shadow: var(--shadow); }
.tier.apex .who { color: var(--lime); }
.tier.apex h3 { color: var(--white); }
.tier.apex li { color: #E2E8F4; }
.tier.apex li .icon { color: var(--lime); }
.quote {
  margin-top: 56px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center;
  border-left: 6px solid var(--green); padding: 8px 0 8px 28px; max-width: 900px;
}
.quote p { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); color: var(--navy); line-height: 1.05; text-transform: uppercase; }
.quote small { display: block; margin-top: 10px; font-family: var(--f-body); font-size: 16px; text-transform: none; font-weight: 500; color: var(--muted); }

/* Services */
.services { background: var(--paper); }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.tab {
  font-family: var(--f-display); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 999px; border: 2px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--navy); color: var(--white); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc {
  background: var(--white); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-content: start;
  border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.svc .medal { width: 56px; height: 56px; font-size: 26px; }
.pill { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); background: rgba(78,154,46,.1); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.svc h3 { font-size: 26px; color: var(--navy); }
.svc p { color: var(--muted); font-size: 16px; }
.svc .cite { font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: .04em; opacity: .75; }
.package {
  margin-top: 28px; background: var(--navy); color: var(--white); border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); position: relative;
}
.package-copy { padding: clamp(28px, 4vw, 48px); display: grid; gap: 16px; align-content: start; }
.package-copy h3 { font-size: clamp(32px, 3.6vw, 46px); }
.package-copy p { color: #D5DDEE; max-width: 58ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; font-weight: 600; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 6px 12px; }
.package-cta { background: var(--green); padding: clamp(28px, 4vw, 48px); display: grid; gap: 14px; align-content: center; justify-items: start; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); padding-left: 18%; }
.package-cta .k { font-family: var(--f-display); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 14px; opacity: .85; }
.package-cta .v { font-family: var(--f-display); font-weight: 800; font-size: 44px; text-transform: uppercase; line-height: 1; }

/* Feature sections */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature.flip .feature-media { order: 2; }
.feature-media { position: relative; isolation: isolate; }
.feature-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.feature-media .slash { position: absolute; left: -14px; bottom: -14px; width: 46%; height: 46%; background: var(--green); border-radius: var(--radius); z-index: -1; }
.feature.flip .feature-media .slash { left: auto; right: -14px; background: var(--navy); }
.feature-media .badge {
  position: absolute; right: 18px; top: 18px; background: var(--navy); color: var(--white); border-radius: 10px; padding: 12px 16px;
  font-family: var(--f-display); font-weight: 700; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.25; max-width: 220px;
}
.feature-media .badge::after { content: ""; display: block; width: 46px; height: 3px; background: var(--lime); margin-top: 8px; }
.feature-copy { display: grid; gap: 22px; min-width: 0; }
.feature-copy h2 { color: var(--navy); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps .medal { width: 46px; height: 46px; font-size: 21px; }
.steps b { font-family: var(--f-display); font-weight: 700; font-size: 22px; text-transform: uppercase; color: var(--navy); letter-spacing: .03em; display: block; line-height: 1.1; }
.steps div > span { color: var(--muted); font-size: 16px; }

.va-areas { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); margin-top: clamp(40px, 5vw, 64px); }
.va-areas h3 { font-size: 28px; margin-bottom: 20px; }
.va-areas ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; }
.va-areas li { display: flex; gap: 10px; align-items: flex-start; color: #E2E8F4; font-size: 16px; line-height: 1.4; }
.va-areas .tick { width: 22px; height: 22px; font-size: 13px; border-radius: 50%; margin-top: 1px; }
.schemes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); align-items: center; }
.schemes span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #AFBBD6; margin-right: 6px; }
.schemes b { font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: .06em; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: 4px 12px; }

.label-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.lp { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
.lp .medal { width: 48px; height: 48px; font-size: 22px; }
.lp b { font-family: var(--f-display); font-weight: 700; font-size: 20px; text-transform: uppercase; color: var(--navy); display: block; line-height: 1.1; margin-bottom: 4px; }
.lp div > span { color: var(--muted); font-size: 15px; line-height: 1.45; display: block; }
.cfr { font-size: 14px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; }
.cfr b { color: var(--navy); }

.culture { background: var(--paper); }
.culture-pillars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; background: var(--white); border-radius: var(--radius); margin-top: clamp(40px, 5vw, 56px); box-shadow: var(--shadow); }
.culture-pillars .pillar { padding: 28px 18px; }
.culture-pillars .medal { width: 64px; height: 64px; font-size: 28px; }
.culture-pillars h3 { font-size: 20px; }

/* Cernova teaser */
.cernova { background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: var(--white); position: relative; overflow: hidden; }
.cernova::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: linear-gradient(160deg, rgba(116,184,63,.22), rgba(116,184,63,0) 60%); transform: skewX(-20deg); }
.cernova .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.cernova h2 { font-size: clamp(34px, 4vw, 52px); }
.cernova p { color: #D5DDEE; max-width: 58ch; }
.cernova .feature-copy { gap: 18px; }
.screen { background: #0B1633; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 14px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.screen-bar { display: flex; gap: 6px; margin-bottom: 12px; }
.screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.screen-rows { display: grid; gap: 8px; }
.srow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; background: rgba(255,255,255,.05); border-radius: 8px; padding: 10px 12px; font-size: 14px; color: #D5DDEE; }
.srow em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.ok { background: rgba(116,184,63,.2); color: var(--lime); }
.due { background: rgba(232,115,28,.2); color: #F4A363; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-grid .prose { display: grid; gap: 18px; color: var(--muted); }
.about-grid .prose strong { color: var(--navy); }
.stand { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.stand li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--navy); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.value { border-top: 4px solid var(--green); padding-top: 18px; display: grid; gap: 10px; }
.value:nth-child(even) { border-color: var(--navy); }
.value h3 { font-size: 24px; color: var(--navy); }
.value p { color: var(--muted); font-size: 16px; }

/* Let's talk CTA band */
.talk { background: var(--navy); color: var(--white); overflow: hidden; }
.talk .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; padding-left: 0; padding-right: var(--gutter-r); }
.talk-left { background: var(--green); clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); padding: 40px 12% 40px var(--gutter-l); display: flex; align-items: center; gap: 22px; }
.talk-left .bubble { width: 84px; height: 84px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; font-size: 38px; flex: none; border: 4px solid var(--white); }
.talk-left small { display: block; font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.talk-left strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(48px, 6vw, 78px); text-transform: uppercase; line-height: .95; color: var(--navy); }
.talk-right { display: flex; align-items: center; gap: 20px; padding: 32px 0 32px 32px; flex-wrap: wrap; }
.talk-right .btn { font-size: 20px; padding: 18px 30px; }
.talk-right p { color: #C9D3E8; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; width: 100%; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.facts li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; }
.facts .medal { width: 48px; height: 48px; font-size: 21px; }
.facts small { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.facts b, .facts a { font-weight: 600; color: var(--navy); font-size: 17px; text-decoration: none; word-break: break-word; }
.form { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; border: 1px solid var(--line); }
.form h3 { grid-column: 1 / -1; font-size: 30px; color: var(--navy); }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid #C7D0DF; border-radius: 10px; padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(78,154,46,.2); }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form-status { grid-column: 1 / -1; font-weight: 600; border-radius: 10px; padding: 12px 14px; }
.form-status.ok { background: rgba(78,154,46,.12); color: #2F6B17; }
.form-status.err { background: rgba(232,115,28,.12); color: #A14B0C; }
.hp { display: none; }

/* Footer */
.footer { background: var(--navy-deep); color: #C9D3E8; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 56px 40px; }
.footer .brand-word b { color: var(--white); }
.footer .brand-word span { color: var(--lime); }
.footer p { margin-top: 16px; max-width: 40ch; font-size: 15px; }
.footer h4 { font-size: 18px; color: var(--white); letter-spacing: .1em; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--lime); }
.tagline-strip { border-top: 1px solid rgba(255,255,255,.1); }
.tagline-strip .wrap { display: flex; align-items: center; justify-content: center; gap: 18px; padding-block: 18px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; flex-wrap: wrap; text-align: center; }
.tagline-strip .wrap::before, .tagline-strip .wrap::after { content: ""; width: 80px; height: 2px; background: var(--green); }
.copyright { text-align: center; font-size: 13px; padding-bottom: 24px; opacity: .7; }

/* Responsive */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .culture-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .culture-pillars .pillar:nth-child(4) { border-left: 0; }
  .culture-pillars .pillar:nth-child(n+4) { border-top: 1px solid var(--line); }
  .va-areas ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter-r) 20px var(--gutter-l); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav[data-open="false"] { display: none; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .nav-toggle { display: block; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-photo { position: relative; inset: auto; clip-path: none; height: 340px; margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r)); order: -1; }
  .hero-tag { display: none; }
  .checkcard { display: none; }
  .hero-copy { padding-block: 40px 88px; padding-right: 0; }
  .pillar-row, .outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .outcome:nth-child(3) { border-left: 0; }
  .middle { grid-template-columns: minmax(0, 1fr); }
  .tier.apex { transform: none; }
  .feature, .about-grid, .contact-grid, .cernova .wrap { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .feature-media { order: 0; }
  .package { grid-template-columns: minmax(0, 1fr); }
  .package-cta { clip-path: none; padding-left: clamp(28px, 4vw, 48px); }
  .talk .wrap { grid-template-columns: minmax(0, 1fr); padding-right: 0; }
  .talk-left { clip-path: none; padding-right: var(--gutter-r); }
  .talk-right { padding: 28px var(--gutter-r) 32px var(--gutter-l); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-title .big { white-space: normal; }
  .hero-talk { padding-right: 56px; gap: 12px; }
  .hero-talk .bubble { width: 52px; height: 52px; font-size: 24px; }
  .hero-talk small { font-size: 13px; }
  .hero-talk .chev { right: 36px; }
  .topstrip .wrap > span:first-child { display: none; }
  .svc-grid, .label-points, .va-areas ul, .values, .form, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer a { overflow-wrap: anywhere; }
  .outcomes { grid-template-columns: minmax(0, 1fr); }
  .pillar { padding: 22px 12px; }
  .pillar .medal { width: 60px; height: 60px; font-size: 28px; }
  .pillar h3 { font-size: 19px; }
  .pillar p { font-size: 14px; }
  .outcome + .outcome { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .culture-pillars { grid-template-columns: minmax(0, 1fr); }
  .culture-pillars .pillar { border-left: 0 !important; }
  .culture-pillars .pillar + .pillar { border-top: 1px solid var(--line); }
  .quote { grid-template-columns: minmax(0, 1fr); }
  .talk-left { flex-direction: column; align-items: flex-start; }
  .brand-word b { font-size: 26px; }
  .brand img { width: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ===== Expanded site (v2) ===== */
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Sub-page hero */
.page-hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -8%; top: 0; bottom: 0; width: 42%; background: var(--green); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); opacity: .92; }
.page-hero.photo::after { background: var(--hero-img) center/cover no-repeat; opacity: 1; }
.page-hero .wrap { position: relative; z-index: 2; padding-block: clamp(56px, 8vw, 96px); display: grid; gap: 18px; max-width: var(--wrap); }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 800; max-width: 15ch; }
.page-hero p { color: #D5DDEE; font-size: clamp(17px, 1.6vw, 20px); max-width: 56ch; }
.page-hero .eyebrow { color: var(--lime); }
.crumbs { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #AFBBD6; }
.crumbs a { text-decoration: none; color: var(--white); }

/* Regulatory watch strip */
.regwatch { background: var(--paper); border-bottom: 1px solid var(--line); }
.regwatch .wrap { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 0; align-items: stretch; padding-block: 0; }
.regwatch .rw-label { display: flex; align-items: center; gap: 10px; padding: 18px 22px 18px 0; font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.regwatch .rw-label .icon { color: var(--orange); font-size: 22px; }
.rw-item { padding: 16px 22px; border-left: 1px solid var(--line); display: grid; gap: 2px; text-decoration: none; }
.rw-item small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.rw-item b { font-size: 15px; color: var(--navy); line-height: 1.35; }
.rw-item:hover b { text-decoration: underline; }

/* Practice areas grid */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.area {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: grid; gap: 12px; align-content: start;
  text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; position: relative;
}
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.area .medal { width: 56px; height: 56px; font-size: 26px; }
.area h3 { font-size: 23px; color: var(--navy); }
.area p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.area ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14px; color: var(--ink); }
.area li::before { content: "› "; color: var(--green); font-weight: 700; }
.area .more { font-family: var(--f-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); font-size: 15px; display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; }
.area.new::after { content: "New"; position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--orange); color: var(--white); padding: 4px 8px; border-radius: 999px; }

/* Independence / credentials */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cred { border: 2px solid var(--navy); border-radius: var(--radius); padding: 18px 14px; text-align: center; display: grid; gap: 4px; }
.cred b { font-family: var(--f-display); font-weight: 800; font-size: 30px; color: var(--navy); letter-spacing: .04em; line-height: 1; }
.cred span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.diffs { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.diffs li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
.diffs .medal { width: 48px; height: 48px; font-size: 22px; }
.diffs b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 21px; text-transform: uppercase; color: var(--navy); line-height: 1.1; margin-bottom: 4px; }
.diffs div > span { color: var(--muted); font-size: 15px; display: block; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.ind { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 22px 10px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.ind .medal { width: 56px; height: 56px; font-size: 26px; background: var(--green); }
.ind b { font-family: var(--f-display); font-weight: 700; font-size: 18px; text-transform: uppercase; line-height: 1.1; }
.ind span { font-size: 13px; color: #C9D3E8; line-height: 1.35; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; counter-reset: p; }
.process li { padding: 0 22px 0 0; display: grid; gap: 10px; align-content: start; position: relative; counter-increment: p; }
.process li::before { content: counter(p, decimal-leading-zero); font-family: var(--f-display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--green); }
.process li::after { content: ""; position: absolute; top: 26px; left: 76px; right: 22px; height: 3px; background: var(--line); }
.process li:last-child::after { display: none; }
.process b { font-family: var(--f-display); font-weight: 700; font-size: 23px; text-transform: uppercase; color: var(--navy); line-height: 1.1; }
.process span { color: var(--muted); font-size: 15px; }
.process em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }

/* Scorecard teaser */
.teaser { background: linear-gradient(110deg, var(--green) 0%, #3F8424 100%); color: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; position: relative; overflow: hidden; }
.teaser h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; }
.teaser p { color: #EAF4E2; max-width: 52ch; margin-top: 12px; }
.teaser .meter { background: rgba(17,31,69,.35); border-radius: 12px; padding: 20px; display: grid; gap: 10px; }
.meter-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 40px; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; }
.meter-row i { display: block; height: 10px; border-radius: 10px; background: rgba(255,255,255,.2); overflow: hidden; }
.meter-row i::before { content: ""; display: block; height: 100%; width: var(--w); background: var(--white); border-radius: 10px; }
.meter-row span { text-align: right; font-variant-numeric: tabular-nums; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--navy); font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--green); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 20px; color: var(--muted); display: grid; gap: 10px; }

/* Services page */
.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 81px); z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: thin; }
.subnav a { flex: none; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); padding: 8px 14px; border-radius: 999px; }
.subnav a:hover, .subnav a.on { background: var(--navy); color: var(--white); }
.practice { padding-block: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.practice:nth-of-type(even) { background: var(--paper); }
.practice-head { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 22px; align-items: center; margin-bottom: 32px; }
.practice-head .medal { width: 84px; height: 84px; font-size: 38px; }
.practice-head h2 { font-size: clamp(32px, 3.6vw, 46px); color: var(--navy); font-weight: 800; }
.practice-head p { color: var(--muted); margin-top: 8px; max-width: 70ch; }
.practice-head .btn { white-space: nowrap; }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.svc-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; align-content: start; }
.svc-item header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.svc-item h3 { font-size: 24px; color: var(--navy); }
.svc-item p { color: var(--muted); font-size: 15.5px; }
.svc-item .get { border-top: 1px dashed var(--line); padding-top: 12px; display: grid; gap: 6px; }
.svc-item .get small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.svc-item .get ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14.5px; color: var(--ink); }
.svc-item .get li { display: flex; gap: 8px; align-items: flex-start; }
.svc-item .get li .icon { color: var(--green); margin-top: 4px; stroke-width: 3; font-size: 13px; }
.svc-item .cite { font-size: 13px; font-weight: 600; color: var(--navy); opacity: .75; }

/* Readiness scorecard */
.sc-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.sc-progress { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 26px; display: grid; gap: 16px; }
.sc-score { display: flex; align-items: baseline; gap: 10px; }
.sc-score b { font-family: var(--f-display); font-weight: 800; font-size: 72px; line-height: .9; font-variant-numeric: tabular-nums; }
.sc-score span { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: .06em; text-transform: uppercase; }
.sc-level { font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 8px; justify-self: start; }
.lvl-hi { background: var(--lime); color: var(--navy-deep); }
.lvl-mid { background: #F4B860; color: var(--navy-deep); }
.lvl-lo { background: var(--orange); color: var(--white); }
.sc-bars { display: grid; gap: 8px; }
.sc-bar { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 4px 10px; font-size: 13px; }
.sc-bar i { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: rgba(255,255,255,.15); overflow: hidden; }
.sc-bar i::before { content: ""; display: block; height: 100%; width: var(--w, 0%); background: var(--c, var(--lime)); transition: width .3s ease; }
.sc-bar span { text-align: right; font-variant-numeric: tabular-nums; color: #C9D3E8; }
.sc-answered { font-size: 13px; color: #C9D3E8; }
.sc-section { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; background: var(--white); }
.sc-section + .sc-section { margin-top: 18px; }
.sc-section h3 { font-size: 24px; color: var(--navy); display: flex; gap: 12px; align-items: center; }
.sc-section h3 .medal { width: 42px; height: 42px; font-size: 20px; }
.q { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.q p { font-weight: 600; color: var(--ink); font-size: 16px; }
.q small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 2px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opts span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); font-weight: 600; font-size: 14px; color: var(--navy); cursor: pointer; }
.opts input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.opts input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.sc-results { margin-top: 32px; display: grid; gap: 18px; scroll-margin-top: 110px; }
.sc-results[hidden] { display: none; }
.rec { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; border: 1px solid var(--line); border-left: 6px solid var(--orange); border-radius: 12px; padding: 18px; background: var(--white); }
.rec.mid { border-left-color: #F4B860; }
.rec .medal { width: 52px; height: 52px; font-size: 24px; }
.rec b { font-family: var(--f-display); font-weight: 700; font-size: 21px; text-transform: uppercase; color: var(--navy); display: block; line-height: 1.1; }
.rec div > span { color: var(--muted); font-size: 15px; display: block; margin-top: 4px; }
.rec a { color: var(--green); font-weight: 700; font-size: 14px; }

/* Resources */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 3px solid var(--line); margin-left: 10px; }
.timeline li { position: relative; padding: 0 0 30px 32px; display: grid; gap: 6px; }
.timeline li::before { content: ""; position: absolute; left: -11px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--green); }
.timeline li.soon::before { border-color: var(--orange); background: var(--orange); }
.timeline time { font-family: var(--f-display); font-weight: 800; font-size: 22px; color: var(--navy); text-transform: uppercase; letter-spacing: .03em; }
.timeline b { font-size: 18px; color: var(--ink); }
.timeline p { color: var(--muted); font-size: 15.5px; max-width: 70ch; }
.timeline .src { font-size: 13px; color: var(--muted); }
.timeline .src a { color: var(--navy); }
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dl { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; align-content: start; }
.dl .medal { width: 52px; height: 52px; font-size: 24px; }
.dl h3 { font-size: 23px; color: var(--navy); }
.dl p { color: var(--muted); font-size: 15px; }
.dl label { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--navy); font-size: 15px; cursor: pointer; }
.dl input { width: 18px; height: 18px; accent-color: var(--green); }

@media (max-width: 1080px) {
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .regwatch .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .regwatch .rw-label { grid-column: 1 / -1; padding: 14px 0 0; }
  .regwatch .rw-item:nth-child(2) { border-left: 0; padding-left: 0; }
  .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .trust, .teaser, .sc-wrap { grid-template-columns: minmax(0, 1fr); }
  .sc-progress { position: static; order: -1; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .process li:nth-child(2)::after { display: none; }
  .practice-head { grid-template-columns: 64px minmax(0, 1fr); }
  .practice-head .medal { width: 64px; height: 64px; font-size: 30px; }
  .practice-head .btn { grid-column: 1 / -1; justify-self: start; }
  .svc-list { grid-template-columns: minmax(0, 1fr); }
  .page-hero::after { width: 30%; opacity: .5; }
  .page-hero.photo::after { opacity: .35; width: 50%; }
  .subnav { top: calc(env(safe-area-inset-top, 0px) + 73px); }
}
@media (max-width: 600px) {
  .areas, .dl-grid, .creds { grid-template-columns: minmax(0, 1fr); }
  .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .regwatch .wrap { grid-template-columns: minmax(0, 1fr); }
  .rw-item { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .process { grid-template-columns: minmax(0, 1fr); }
  .process li::after { display: none; }
  .meter-row { grid-template-columns: 96px minmax(0, 1fr) 36px; }
  .page-hero::after { display: none; }
}
@media (max-width: 600px) { .practice-head .btn { white-space: normal; text-align: center; } }

/* ===== v3: Food Safety Pulse ticker, Regulatory Watch, Insights ===== */
.pulse { background: var(--navy-deep); color: var(--white); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: stretch; border-bottom: 3px solid var(--green); position: relative; z-index: 45; font-size: 14px; }
.pulse-label { display: flex; align-items: center; gap: 10px; background: var(--green); padding: 0 22px 0 max(16px, env(safe-area-inset-left, 0px)); font-family: var(--f-display); font-weight: 800; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); padding-right: 30px; white-space: nowrap; text-decoration: none; color: var(--white); }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse-dot 1.6s infinite; }
.pulse[data-mode="snapshot"] .pulse-dot { animation: none; opacity: .6; }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.pulse-state { font-family: var(--f-body); font-weight: 700; font-size: 11px; letter-spacing: .14em; background: rgba(17,31,69,.35); padding: 3px 7px; border-radius: 4px; }
.pulse-track { overflow: hidden; display: flex; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.pulse-run { display: flex; flex: none; gap: 0; animation: pulse-scroll var(--dur, 90s) linear infinite; }
.pulse:hover .pulse-run, .pulse:focus-within .pulse-run, .pulse.paused .pulse-run { animation-play-state: paused; }
@keyframes pulse-scroll { to { transform: translateX(-100%); } }
.pulse-item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px; white-space: nowrap; text-decoration: none; color: #E2E8F4; border-right: 1px solid rgba(255,255,255,.12); }
.pulse-item:hover .pulse-title { color: var(--white); text-decoration: underline; }
.pulse-cat { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: rgba(255,255,255,.12); }
.c-recall { background: var(--orange); color: var(--white); }
.c-fda { background: #2F5BB7; color: var(--white); }
.c-gfsi { background: var(--green); color: var(--white); }
.c-codex { background: #6A4FB3; color: var(--white); }
.c-industry { background: #E2E8F4; color: var(--navy-deep); }
.pulse-when { color: #9FB0D3; font-size: 12px; }
.pulse-pause { background: transparent; border: 0; border-left: 1px solid rgba(255,255,255,.15); color: var(--white); width: 48px; cursor: pointer; font-size: 12px; padding-right: max(0px, env(safe-area-inset-right, 0px)); }
.pulse:not(.ready) .pulse-track::before { content: "Loading the latest recalls and regulatory updates…"; padding: 10px 22px; color: #9FB0D3; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .pulse-run { animation: none; }
  .pulse-run[aria-hidden="true"] { display: none; }
  .pulse-track { overflow-x: auto; }
}
@media (max-width: 600px) { .pulse-label { padding-right: 22px; font-size: 13px; } .pulse-label .pulse-name { display: none; } }

/* Regulatory Watch page */
.rw-status { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; justify-self: start; }
.rw-status i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.rw-status[data-mode="snapshot"] i { background: #F4B860; }
.feed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.fchip { border: 2px solid var(--line); background: var(--white); color: var(--navy); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.fchip b { font-variant-numeric: tabular-nums; font-size: 12px; background: var(--paper); border-radius: 999px; padding: 1px 8px; color: var(--navy); }
.fchip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.fchip[aria-pressed="true"] b { background: rgba(255,255,255,.18); color: var(--white); }
.feed-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feed-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--white); align-items: start; }
.feed-item time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; display: grid; gap: 6px; justify-items: start; }
.feed-item a { color: var(--navy); font-weight: 700; text-decoration: none; font-size: 16px; line-height: 1.35; }
.feed-item a:hover { text-decoration: underline; }
.feed-item p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.feed-item .src { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 6px; display: block; }
.side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--white); display: grid; gap: 14px; }
.side-card + .side-card { margin-top: 18px; }
.side-card h3 { font-size: 22px; color: var(--navy); }
.side-card p { font-size: 14px; color: var(--muted); }
.src-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.src-list li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.src-list i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.src-list i.ok { background: var(--green); }
.src-list i.off { background: #F4B860; }
.src-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.src-list span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.radar { display: grid; gap: 10px; }
.radar-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 28px; gap: 10px; align-items: center; font-size: 14px; color: var(--ink); }
.radar-row i { height: 14px; background: var(--paper); border-radius: 0 4px 4px 0; overflow: hidden; display: block; }
.radar-row i::before { content: ""; display: block; height: 100%; width: var(--w); background: var(--navy); border-radius: 0 4px 4px 0; min-width: 2px; }
.radar-row:hover i::before { background: var(--green); }
.radar-row b { text-align: right; font-variant-numeric: tabular-nums; }
.radar-note { font-size: 12px; color: var(--muted); }
.social-link { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--navy); font-weight: 700; border-top: 1px solid var(--line); padding-top: 12px; }
.social-link small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.social-link .medal { width: 40px; height: 40px; font-size: 18px; }

/* Compliance calendar */
.cal-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.cal { display: grid; gap: 14px; }
.cal-item { display: grid; grid-template-columns: 150px minmax(0, 1fr) 170px; gap: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 22px; align-items: start; }
.cal-date { display: grid; gap: 6px; align-content: start; }
.cal-date b { font-family: var(--f-display); font-weight: 800; font-size: 26px; color: var(--navy); line-height: 1; text-transform: uppercase; }
.cal-date span { font-size: 13px; color: var(--muted); }
.cal-body { display: grid; gap: 10px; min-width: 0; }
.cal-body h3 { font-size: 24px; color: var(--navy); }
.cal-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ctag { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; background: var(--paper); color: var(--navy); }
.ctag.s-now { background: var(--orange); color: var(--white); }
.ctag.s-upcoming { background: var(--navy); color: var(--white); }
.ctag.s-proposed { background: #F4E3C3; color: #6B4A0E; }
.ctag.s-litigation { background: #F6D5D0; color: #8A2414; }
.ctag.s-recurring { background: rgba(78,154,46,.14); color: #2F6B17; }
.cal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cal-grid div { font-size: 14.5px; color: var(--muted); }
.cal-grid small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 4px; }
.cal-src { font-size: 13px; color: var(--muted); }
.cal-src a { color: var(--navy); }
.cal-side { display: grid; gap: 10px; justify-items: stretch; text-align: center; }
.countdown { background: var(--navy); color: var(--white); border-radius: 12px; padding: 14px 10px; display: grid; gap: 2px; }
.countdown b { font-family: var(--f-display); font-weight: 800; font-size: 38px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #C9D3E8; }
.countdown.now { background: var(--orange); }
.countdown.done { background: var(--green); }
.countdown.tbd { background: var(--paper); color: var(--navy); }
.countdown.tbd span { color: var(--muted); }
.cal-side .btn { font-size: 14px; padding: 10px 14px; }
.cal-side a.link { font-size: 14px; font-weight: 700; color: var(--green); }

/* Insights */
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.insight { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.insight:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.insight-top { background: var(--navy); color: var(--white); padding: 22px; display: grid; gap: 10px; min-height: 150px; align-content: space-between; position: relative; overflow: hidden; }
.insight-top::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; background: var(--green); transform: rotate(45deg); opacity: .9; }
.insight:nth-child(3n+2) .insight-top::after { background: var(--orange); }
.insight:nth-child(3n) .insight-top::after { background: #2F5BB7; }
.insight-top small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); position: relative; z-index: 1; }
.insight-top h3 { font-size: 26px; position: relative; z-index: 1; max-width: 85%; }
.insight-body { padding: 18px 22px 22px; display: grid; gap: 10px; align-content: start; }
.insight-body p { color: var(--muted); font-size: 15px; }
.insight-body span { font-size: 13px; color: var(--navy); font-weight: 700; }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose-article { font-size: 18px; line-height: 1.7; color: #26314F; display: grid; gap: 18px; max-width: 70ch; }
.prose-article h2 { font-size: clamp(28px, 3vw, 36px); color: var(--navy); margin-top: 18px; }
.prose-article h3 { font-size: 23px; color: var(--navy); margin-top: 8px; }
.prose-article ul, .prose-article ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose-article a { color: var(--green); font-weight: 600; }
.prose-article .callout { background: var(--paper); border-left: 6px solid var(--green); border-radius: 0 12px 12px 0; padding: 18px 22px; font-size: 17px; }
.prose-article .callout b { color: var(--navy); }
.article-meta { font-size: 14px; color: #C9D3E8; display: flex; gap: 14px; flex-wrap: wrap; }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); }

@media (max-width: 1080px) {
  .insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal-item { grid-template-columns: 130px minmax(0, 1fr); }
  .cal-side { grid-column: 1 / -1; grid-template-columns: repeat(3, auto); justify-content: start; align-items: center; text-align: left; }
}
@media (max-width: 920px) {
  .feed-layout, .article { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .cal-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .insight-grid { grid-template-columns: minmax(0, 1fr); }
  .cal-item { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cal-side { grid-template-columns: minmax(0, 1fr); }
  .feed-item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .radar-row { grid-template-columns: 96px minmax(0, 1fr) 24px; }
}
a.sr-only:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 14px; border-radius: 8px; font-weight: 700; }

/* FSVP page */
.process.six { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 0; }
.process.six li:nth-child(3)::after, .process.six li:nth-child(6)::after { display: none; }
.split-table { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15.5px; }
.split-table th, .split-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.split-table tr:last-child th, .split-table tr:last-child td { border-bottom: 0; }
.split-table thead th { background: var(--navy); color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
.split-table thead th:nth-child(3) { background: var(--green); }
.split-table tbody th { color: var(--navy); font-weight: 700; width: 22%; }
.split-table td { color: var(--muted); }
@media (max-width: 920px) {
  .process.six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process.six li:nth-child(3)::after { display: block; }
  .process.six li:nth-child(2n)::after { display: none; }
}
@media (max-width: 600px) { .process.six { grid-template-columns: minmax(0, 1fr); } .process.six li::after { display: none !important; } }
.insight.featured { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto; }
.insight.featured .insight-top { min-height: 200px; }
.insight.featured .insight-top h3 { font-size: clamp(28px, 3vw, 38px); }
.insight.featured .insight-body { align-content: center; }
@media (max-width: 600px) { .insight.featured { grid-template-columns: minmax(0, 1fr); } }
.svc-item { min-width: 0; }
.svc-item header { flex-wrap: wrap; }
.svc-item header h3 { min-width: 0; flex: 1 1 220px; }
@media (max-width: 600px) { .pill { white-space: normal; } }

/* Scorecard soft gate */
.sc-score.locked b { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 16px; background: rgba(255,255,255,.12); font-size: 34px; }
.sc-score.locked span { font-family: var(--f-body); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; color: #C9D3E8; }
.lvl-lock { background: rgba(255,255,255,.12); color: var(--white); font-size: 16px; }
.sc-gate { margin-top: 28px; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; position: relative; overflow: hidden; scroll-margin-top: 120px; box-shadow: var(--shadow); }
.sc-gate::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; background: var(--green); transform: rotate(45deg); opacity: .9; }
.sc-gate-lock { position: absolute; right: 22px; top: 22px; z-index: 1; font-size: 28px; color: var(--white); }
.sc-gate-head { grid-column: 1 / -1; display: grid; gap: 8px; position: relative; z-index: 1; padding-right: 60px; }
.sc-gate-head h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; }
.sc-gate-head p { color: #D5DDEE; }
.sc-gate .field label { color: var(--white); }
.sc-gate .field input { border-color: transparent; }
.sc-optin { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; font-size: 14px; color: #D5DDEE; cursor: pointer; }
.sc-optin input { width: 18px; height: 18px; accent-color: var(--green); }
.sc-gate .btn { grid-column: 1 / -1; justify-self: start; }
.sc-privacy { grid-column: 1 / -1; font-size: 13px; color: #AFBBD6; }
.sc-gate .form-status { grid-column: 1 / -1; }
@media (max-width: 600px) { .sc-gate { grid-template-columns: minmax(0, 1fr); } }
.sc-mailstatus { font-weight: 600; border-radius: 10px; padding: 12px 14px; font-size: 15px; justify-self: start; }
.sc-mailstatus.ok { background: rgba(78,154,46,.12); color: #2F6B17; }
.sc-mailstatus.err { background: rgba(232,115,28,.12); color: #A14B0C; }
