
:root {
  --graphite: #080806;
  --graphite-2: #11110e;
  --navy: #07111f;
  --navy-2: #0b1a2e;
  --blue: #0b63f6;
  --blue-soft: #77a9ff;
  --gold: #c99a3a;
  --champagne: #e7c66a;
  --ivory: #f7f1e8;
  --ivory-2: #fffaf0;
  --soft-text: #d8d1c3;
  --muted: #746d60;
  --ink: #080806;
  --ink-2: #272723;
  --surface: #fffaf1;
  --surface-2: #f2e7d6;
  --border: rgba(8, 8, 6, .13);
  --border-dark: rgba(231, 198, 106, .20);
  --shadow: rgba(8, 8, 6, .18) 0 32px 90px -46px, rgba(8, 17, 31, .16) 0 18px 46px -32px;
  --shadow-dark: rgba(0, 0, 0, .34) 0 28px 90px -40px;
  --radius: 18px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -6%, rgba(201,154,58,.24), transparent 28rem),
    radial-gradient(circle at 88% 0%, rgba(11,99,246,.14), transparent 26rem),
    linear-gradient(180deg, #f7f1e8 0%, #fbf6ec 42%, #fffaf1 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 850px; }
.section-pad { padding: 112px 0; }
.section-pad.compact { padding: 82px 0; }

.site-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 50;
  padding: 16px 0;
  transition: background .18s ease, box-shadow .18s ease, padding .18s ease;
}
.site-header.scrolled { padding: 10px 0; }
.nav-shell {
  width: min(1180px, calc(100% - 28px));
  margin-inline: auto;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(231,198,106,.24);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(8,8,6,.93), rgba(7,17,31,.91));
  box-shadow: rgba(8,8,6,.22) 0 18px 54px -22px;
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.text-brand { padding-left: 0; }
.brand-text,
.footer-brand span { position: relative; padding-left: 22px; }
.brand-text::before,
.footer-brand span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 8px;
  height: calc(100% - 4px);
  min-height: 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--champagne), var(--gold) 56%, var(--blue));
  box-shadow: 0 0 0 1px rgba(231,198,106,.18), 0 0 22px rgba(201,154,58,.22);
}
.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff7df;
}
.brand small {
  display: block;
  color: rgba(216,209,195,.82);
  font-size: 12px;
  letter-spacing: .11em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-top: 5px;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: rgba(247,241,232,.84);
  font-size: 14px;
  line-height: 1;
  letter-spacing: .015em;
  padding: 11px 14px;
  border-radius: 999px;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff8e8;
  background: rgba(231,198,106,.13);
  box-shadow: inset 0 0 0 1px rgba(231,198,106,.18);
}
.nav-links .nav-cta {
  color: #080806;
  background: linear-gradient(135deg, var(--champagne), var(--gold));
  padding-inline: 18px;
  font-weight: 700;
}
.nav-links .nav-cta:hover,
.nav-links .nav-cta.active {
  color: #080806;
  background: linear-gradient(135deg, #f1d878, var(--gold));
}
.nav-toggle { display: none; width: 46px; height: 42px; border: 0; border-radius: 999px; background: rgba(231,198,106,.14); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--ivory); border-radius: 999px; }

.hero {
  margin-top: -98px;
  padding-top: 184px;
  padding-bottom: 102px;
  color: var(--ivory);
  background:
    linear-gradient(135deg, rgba(8,8,6,.94), rgba(7,17,31,.94) 58%, rgba(8,8,6,.90)),
    radial-gradient(circle at 18% 24%, rgba(201,154,58,.38), transparent 24rem),
    radial-gradient(circle at 86% 28%, rgba(11,99,246,.30), transparent 25rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(231,198,106,.10) 1px, transparent 1px),
    linear-gradient(180deg, rgba(231,198,106,.06) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 34% 28%, #000, transparent 68%);
  opacity: .46;
}
.hero-watermark {
  position: absolute;
  z-index: 0;
  width: min(115vw, 1500px);
  height: min(60vw, 680px);
  right: auto;
  left: 50%;
  top: 50%;
  opacity: .075;
  pointer-events: none;
  filter: saturate(.8);
  transform: translate(-50%, -50%) rotate(-4deg);
}
.hero-watermark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231,198,106,.52), transparent);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
  gap: 54px;
  align-items: center;
}
.hero-brand-logo {
  width: clamp(146px, 13.2vw, 208px);
  max-width: 208px;
  max-height: 208px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 26px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(247,241,232,.96), rgba(231,198,106,.22));
  border: 1px solid rgba(231,198,106,.40);
  box-shadow: rgba(0,0,0,.26) 0 22px 60px -32px, inset 0 1px 0 rgba(255,255,255,.58);
}
.hero-brand-logo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.hero-welcome,
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-weight: 800;
}
.hero h1,
.page-hero h1,
.section-heading h2,
.teaser-grid h2,
.contact-copy h2,
.future-scope h2,
.home-intro-card h2,
.dark-grid h2,
.story-aside h2 {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-weight: 650;
  letter-spacing: -.04em;
}
h1 {
  max-width: 820px;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(44px, 5.7vw, 72px);
  line-height: .99;
}
.hero h1 {
  color: #fff8e8;
  max-width: 760px;
  font-size: clamp(31px, 3.05vw, 39px);
  line-height: 1.08;
  font-weight: 560;
  letter-spacing: -.032em;
  text-shadow: rgba(0,0,0,.24) 0 12px 34px;
}
.hero-lede,
.hero-secondary,
.page-lede,
.section-heading p,
.teaser-grid p,
.story-copy p,
.contact-copy p,
.future-scope p,
.dark-copy p {
  font-size: 19px;
  line-height: 1.72;
}
.hero-lede { max-width: 690px; color: rgba(247,241,232,.88); margin: 0 0 16px; }
.hero-secondary { max-width: 650px; color: rgba(216,209,195,.76); margin: 0; }
.home-intro-card,
.story-panel,
.product-card,
.approach-card,
.contact-panel,
.future-scope {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.home-intro-card {
  padding: 38px;
  background: linear-gradient(145deg, rgba(247,241,232,.12), rgba(231,198,106,.06));
  border-color: var(--border-dark);
  color: var(--ivory);
  box-shadow: var(--shadow-dark);
}
.home-intro-card h2 { margin: 0 0 16px; font-size: clamp(26px, 2.45vw, 34px); line-height: 1.10; font-weight: 600; letter-spacing: -.03em; color: #fff8e8; }
.home-intro-card p:not(.eyebrow) { color: rgba(216,209,195,.82); font-size: 18px; line-height: 1.7; }

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .01em;
}
.button {
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
}
.button.primary {
  color: #080806;
  background: linear-gradient(135deg, var(--champagne), var(--gold));
  box-shadow: rgba(201,154,58,.22) 0 18px 40px -18px;
}
.text-link { color: var(--gold); margin-top: 14px; }
.text-link:hover { color: var(--blue); }
.hero .text-link { color: var(--champagne); }

.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading h2,
.teaser-grid h2,
.contact-copy h2 { margin: 0 0 14px; font-size: clamp(32px, 4vw, 52px); line-height: 1.03; }
.section-heading p { color: var(--muted); margin: 0; }
.portal-grid,
.approach-grid,
.people-grid,
.product-grid {
  display: grid;
  gap: 18px;
}
.portal-grid { grid-template-columns: repeat(4, 1fr); }
.product-grid.two,
.people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.approach-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portal-card,
.approach-card,
.product-card,
.person-card,
.contact-card {
  position: relative;
  display: block;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,250,241,.96), rgba(242,231,214,.78));
  box-shadow: rgba(8,8,6,.08) 0 20px 48px -34px;
}
.portal-card { min-height: 220px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.portal-card:hover { transform: translateY(-4px); border-color: rgba(201,154,58,.48); box-shadow: var(--shadow); }
.portal-card span,
.card-code {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 800;
}
.portal-card h3,
.product-card h2,
.approach-card h2,
.person-card h3 { margin: 18px 0 10px; color: var(--ink); font-size: 25px; line-height: 1.1; letter-spacing: -.025em; }
.portal-card p,
.product-card p,
.product-card li,
.approach-card p,
.person-card p,
.contact-card,
.contact-note { color: var(--muted); font-size: 17px; line-height: 1.65; }
.soft-band {
  background: linear-gradient(135deg, rgba(8,8,6,.035), rgba(201,154,58,.11), rgba(11,99,246,.045));
  border-block: 1px solid rgba(8,8,6,.06);
}
.teaser-grid,
.story-panel,
.dark-grid,
.contact-panel,
.future-scope,
.footer-grid {
  display: grid;
  grid-template-columns: .95fr .78fr;
  gap: 38px;
  align-items: start;
}
.story-panel,
.contact-panel,
.future-scope { padding: 42px; background: rgba(255,250,241,.86); }
.story-copy p:first-child { font-size: 22px; color: var(--ink); font-weight: 700; }
.story-aside {
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--navy), var(--graphite));
  color: var(--ivory);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-dark);
}
.story-aside h2 { margin: 0 0 18px; color: #fff8e8; }
ul { padding-left: 20px; }
.story-aside li { margin: 12px 0; color: rgba(216,209,195,.86); }
.person-card { background: linear-gradient(145deg, #fffaf1, #f1e5d1); }

.page-hero {
  margin-top: -98px;
  padding-top: 174px;
  background:
    radial-gradient(circle at 86% 10%, rgba(11,99,246,.20), transparent 24rem),
    linear-gradient(135deg, #fff7e7 0%, #f7f1e8 56%, #efe2ca 100%);
  border-bottom: 1px solid rgba(8,8,6,.08);
}
.page-hero h1 { font-size: clamp(42px, 5vw, 68px); }
.page-lede { margin: 0; color: var(--muted); }
.company-story-section { padding-top: 32px !important; }

.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.status { display: inline-flex; align-items: center; min-height: 28px; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.status.live { color: #0f2d1f; background: rgba(36,148,94,.14); }
.status.future { color: #3a2a05; background: rgba(201,154,58,.18); }
.product-card.featured { background: linear-gradient(145deg, #fffaf1, #f4e6ca); border-color: rgba(201,154,58,.28); }
.product-card.future { background: linear-gradient(145deg, #fdf8ee, #eaf0fb); border-color: rgba(11,99,246,.18); }
.product-card ul { margin: 18px 0 0; padding-left: 19px; }
.dark-band {
  color: var(--ivory);
  background:
    radial-gradient(circle at 76% 24%, rgba(11,99,246,.25), transparent 22rem),
    linear-gradient(135deg, var(--graphite), var(--navy));
}
.dark-band .eyebrow,
.eyebrow.inverted { color: var(--champagne); }
.dark-grid h2 { margin: 0; color: #fff8e8; font-size: clamp(34px, 4vw, 54px); }
.dark-copy p { color: rgba(216,209,195,.84); }

.future-scope { background: linear-gradient(135deg, #fffaf1, #f5e8d0 58%, rgba(11,99,246,.08)); border-color: rgba(201,154,58,.34); }
.future-scope h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 0 0 14px; }
.future-scope p { margin-bottom: 0; color: var(--muted); }
.scope-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.scope-list li { position: relative; padding: 14px 16px 14px 36px; border: 1px solid rgba(201,154,58,.25); border-radius: 14px; background: rgba(255,250,241,.76); color: var(--ink-2); font-size: 16px; }
.scope-list li::before { content: ''; position: absolute; left: 16px; top: 21px; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--blue)); }

.contact-card { font-style: normal; background: linear-gradient(145deg, var(--navy), var(--graphite)); color: var(--ivory); border-color: var(--border-dark); }
.contact-card strong { display: block; margin-bottom: 18px; color: #fff8e8; font-size: 22px; }
.contact-brand-mark { display: block; width: min(78%, 420px); height: auto; margin: 34px 0 0; opacity: .18; pointer-events: none; }
dl { margin: 0; display: grid; gap: 16px; }
dt { color: var(--champagne); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
dd { margin: 4px 0 0; color: rgba(216,209,195,.86); }
.contact-note { color: rgba(216,209,195,.72); }

.site-footer {
  padding: 46px 0;
  color: rgba(247,241,232,.80);
  background: linear-gradient(135deg, var(--graphite), var(--navy));
  border-top: 1px solid var(--border-dark);
}
.footer-grid { grid-template-columns: 1fr auto; align-items: center; }
.footer-main p { margin: 18px 0 0; color: rgba(216,209,195,.72); }
.footer-contact { display: grid; gap: 6px; font-style: normal; color: rgba(216,209,195,.78); }
.footer-contact strong { color: #fff8e8; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .section-pad { padding: 84px 0; }
  .section-pad.compact { padding: 66px 0; }
  .hero-grid,
  .story-panel,
  .dark-grid,
  .contact-panel,
  .teaser-grid,
  .future-scope,
  .footer-grid { grid-template-columns: 1fr; }
  .portal-grid,
  .approach-grid,
  .product-grid.two,
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .site-header { padding: 10px 0; }
  .nav-shell { border-radius: 26px; align-items: flex-start; flex-wrap: wrap; padding: 12px 14px; }
  .brand strong { font-size: 16px; }
  .brand small { font-size: 10px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: 12px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; }
  .hero-watermark { width: min(115vw, 920px); height: min(68vw, 520px); right: auto; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-4deg); }
  .company-story-section { padding-top: 28px; }
  .watermark-mark { width: 130px; height: 130px; font-size: 60px; }
  .watermark-word { font-size: 54px; }
  .hero-copy { padding-top: 4px; }
  .hero-welcome-block { margin-bottom: 40px; }
  .hero { margin-top: -108px; padding-top: 174px; padding-bottom: 74px; }
  .page-hero { margin-top: -108px; padding-top: 164px; }
  .hero-brand-logo { width: 132px; max-width: 132px; max-height: 132px; border-radius: 22px; }
  .hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .page-hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .hero-lede,
  .hero-secondary,
  .page-lede,
  .section-heading p,
  .teaser-grid p,
  .story-copy p,
  .contact-copy p,
  .future-scope p,
  .dark-copy p { font-size: 17px; line-height: 1.66; }
  .portal-grid,
  .approach-grid,
  .product-grid.two,
  .people-grid { grid-template-columns: 1fr; }
  .home-intro-card,
  .story-panel,
  .contact-panel,
  .future-scope { padding: 26px; }
  .portal-card,
  .approach-card,
  .product-card,
  .person-card,
  .contact-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Homepage hierarchy refinement */
.hero-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.hero-brand-row .hero-brand-logo {
  margin-bottom: 0;
  flex: 0 0 auto;
}
.hero-welcome-block {
  max-width: 520px;
  padding: 0 0 0 20px;
  border-left: 1px solid rgba(231,198,106,.38);
  background: linear-gradient(90deg, rgba(231,198,106,.10), transparent);
  border-radius: 0 18px 18px 0;
  margin-bottom: 52px;
}
.hero-copy { align-self: start; padding-top: 18px; }
.hero-welcome {
  margin-bottom: 7px;
  color: #fff8e8;
  font-size: clamp(24px, 2.7vw, 34px);
  letter-spacing: -.012em;
  text-transform: none;
  font-weight: 800;
}
.hero-kicker {
  margin: 0;
  color: rgba(231,198,106,.92);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 650;
}
.hero-navigation-card h2 {
  font-size: clamp(25px, 2.25vw, 32px);
  line-height: 1.12;
  font-weight: 600;
}
.hero-nav-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.hero-nav-list a {
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  border: 1px solid rgba(231,198,106,.18);
  border-radius: 16px;
  background: rgba(247,241,232,.07);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.hero-nav-list a:hover {
  transform: translateY(-2px);
  background: rgba(231,198,106,.12);
  border-color: rgba(231,198,106,.34);
}
.hero-nav-list span { display: none; }
.hero-nav-list strong {
  color: #fff8e8;
  font-size: 17px;
  line-height: 1.15;
}
.hero-nav-list em {
  color: rgba(216,209,195,.80);
  font-style: normal;
  font-size: 14px;
  line-height: 1.45;
}
.portal-card h3 {
  margin-top: 14px;
}

/* Product explanation refinement */
.product-grid.two {
  grid-template-columns: 1fr;
}
.product-card {
  padding: 34px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.product-detail-grid > div {
  padding: 20px;
  border: 1px solid rgba(8,8,6,.09);
  border-radius: 16px;
  background: rgba(255,250,241,.58);
}
.product-detail-grid h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 18px;
  letter-spacing: -.015em;
}
.product-detail-grid ul {
  margin: 0;
}
.product-detail-grid li {
  margin: 8px 0;
}

@media (max-width: 760px) {
  .hero-brand-row {
    align-items: flex-start;
    gap: 14px;
  }
  .hero-brand-row .hero-brand-logo {
    width: 118px;
    max-width: 118px;
    max-height: 118px;
  }
  .hero-welcome-block {
    padding: 11px 0 11px 14px;
  }
  .hero-welcome {
    font-size: 18px;
  }
  .hero-kicker {
    font-size: 14px;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}


/* Calm homepage typography refinement */
.hero-copy h1 {
  max-width: 700px;
}
.hero-navigation-card {
  align-self: center;
}


/* Client login and public contact refinement */
.nav-links .nav-login {
  color: rgba(247,241,232,.90);
  background: rgba(247,241,232,.06);
  box-shadow: inset 0 0 0 1px rgba(231,198,106,.16);
  font-weight: 650;
}
.nav-links .nav-login:hover,
.nav-links .nav-login:focus-visible {
  color: #fff8e8;
  background: rgba(11,99,246,.16);
  box-shadow: inset 0 0 0 1px rgba(119,169,255,.28);
}
.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 8px;
}
.login-inline {
  color: var(--blue);
}
.contact-card a,
.footer-contact a {
  color: inherit;
  text-decoration: none;
}
.contact-card a:hover,
.footer-contact a:hover {
  color: var(--gold);
}
.address-lines {
  display: grid;
  gap: 2px;
  font-style: normal;
}

/* Products / Approach layout polish */
.nav-products {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-products .nav-product-trigger { display: inline-flex; }
.nav-product-flyout {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 210px;
  padding: 8px;
  border: 1px solid rgba(231,198,106,.22);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(8,8,6,.96), rgba(7,17,31,.96));
  box-shadow: rgba(0,0,0,.30) 0 24px 60px -28px;
  backdrop-filter: blur(16px);
  transform: translate(-50%, 8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.nav-products:hover .nav-product-flyout,
.nav-products:focus-within .nav-product-flyout,
.nav-product-trigger:focus + .nav-product-flyout,
.nav-product-trigger:focus-visible + .nav-product-flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-product-flyout a {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: rgba(247,241,232,.86);
  font-size: 14px;
  line-height: 1.1;
}
.nav-product-flyout a:hover,
.nav-product-flyout a:focus-visible {
  color: #fff8e8;
  background: rgba(231,198,106,.12);
  box-shadow: none;
}
.page-hero.compact {
  padding-top: 154px;
  padding-bottom: 56px;
}
.page-hero h1 {
  max-width: 760px;
  font-size: clamp(32px, 3.35vw, 46px);
  line-height: 1.12;
  font-weight: 560;
  letter-spacing: -.032em;
}
.page-hero .narrow {
  max-width: 800px;
}
.page-hero .page-lede + .page-lede {
  margin-top: 12px;
}
.products-hero {
  padding-bottom: 46px;
}
.product-selector-section {
  margin-top: -28px;
  padding-bottom: 34px;
  position: relative;
  z-index: 3;
}
.product-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(201,154,58,.25);
  border-radius: 22px;
  background: rgba(255,250,241,.82);
  box-shadow: rgba(8,8,6,.10) 0 24px 60px -38px;
  backdrop-filter: blur(14px);
}
.product-selector a {
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(8,8,6,.07);
  background: linear-gradient(145deg, rgba(255,250,241,.86), rgba(242,231,214,.52));
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.product-selector a:hover,
.product-selector a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(201,154,58,.38);
  background: linear-gradient(145deg, #fffaf1, rgba(231,198,106,.20));
}
.product-selector span {
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
}
.product-selector small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.product-selector-section + .section-pad.compact {
  padding-top: 14px;
}
.product-card {
  padding: 36px;
}
.product-card h2 {
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 620;
}
.product-subtitle {
  color: var(--ink-2) !important;
  font-weight: 750;
  font-size: 19px !important;
  line-height: 1.45 !important;
  margin-top: -2px;
}
.product-actions {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(8,8,6,.08);
}
.button.secondary {
  color: var(--navy);
  background: rgba(255,250,241,.62);
  border: 1px solid rgba(201,154,58,.30);
  box-shadow: none;
}
.button.secondary:hover,
.button.secondary:focus-visible {
  color: #080806;
  background: rgba(231,198,106,.20);
  border-color: rgba(201,154,58,.50);
}
.login-inline.button.secondary {
  color: #17375f;
  background: rgba(255,250,241,.48);
  border-color: rgba(11,99,246,.20);
}
.product-detail-grid > div {
  background: rgba(255,250,241,.66);
}
.approach-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.approach-card {
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(255,250,241,.96), rgba(247,241,232,.74)),
    radial-gradient(circle at 92% 8%, rgba(201,154,58,.16), transparent 12rem);
  border-color: rgba(8,8,6,.09);
  box-shadow: rgba(8,8,6,.07) 0 22px 58px -38px;
}
.approach-card h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 620;
  line-height: 1.16;
}
.approach-card p {
  margin: 10px 0 0;
}
.approach-card p:first-of-type {
  color: var(--ink-2);
  font-weight: 650;
}
.approach-hero + .section-pad.compact {
  padding-top: 58px;
}

@media (max-width: 980px) {
  .product-selector { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-products { display: block; }
  .nav-products .nav-product-trigger { display: flex; }
  .nav-product-flyout {
    position: static;
    min-width: 0;
    margin: 6px 0 2px 12px;
    padding: 6px;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(247,241,232,.06);
    box-shadow: none;
  }
  .nav-product-flyout a { padding: 10px 12px; font-size: 13px; }
  .page-hero.compact {
    padding-top: 150px;
    padding-bottom: 44px;
  }
  .page-hero h1 {
    font-size: clamp(31px, 8.8vw, 40px);
    line-height: 1.12;
  }
  .product-selector-section {
    margin-top: -18px;
    padding-bottom: 18px;
  }
  .product-card,
  .approach-card { padding: 24px; }
  .product-actions .button { width: 100%; justify-content: center; }
}

/* Final layout polish: subpage spacing, product pricing, contact form */
.product-card.reveal,
.pricing-teaser.reveal,
.approach-card.reveal,
.contact-panel.reveal,
.contact-form-grid.reveal {
  opacity: 1;
  transform: none;
}
.page-hero.compact {
  padding-top: 170px;
  padding-bottom: 50px;
}
.page-hero h1 {
  font-size: clamp(30px, 3.05vw, 42px);
  line-height: 1.14;
  font-weight: 540;
  letter-spacing: -.028em;
}
.page-hero .eyebrow {
  margin-bottom: 16px;
}
.products-hero,
.approach-hero,
.contact-hero {
  padding-top: 176px;
}
.product-selector-section {
  margin-top: -22px;
}
.product-selector-section + .section-pad.compact {
  padding-top: 18px;
}
.card-topline {
  justify-content: flex-start;
}
.product-card .card-code,
.card-code {
  display: none !important;
}
.product-actions {
  align-items: center;
}
.pricing-teaser-section {
  padding: 8px 0 54px;
}
.pricing-teaser {
  display: grid;
  grid-template-columns: .55fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px 34px;
  border: 1px solid rgba(201,154,58,.30);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,250,241,.94), rgba(231,198,106,.15), rgba(11,99,246,.06));
  box-shadow: rgba(8,8,6,.09) 0 24px 60px -38px;
}
.pricing-teaser h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(25px, 2.35vw, 34px);
  line-height: 1.12;
  font-weight: 620;
  letter-spacing: -.025em;
}
.pricing-teaser p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}
.contact.section-pad.compact {
  padding-top: 48px;
  padding-bottom: 42px;
}
.contact-form-section {
  padding: 0 0 90px;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 34px;
  align-items: start;
}
.contact-form-copy,
.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,250,241,.94), rgba(242,231,214,.72));
  box-shadow: rgba(8,8,6,.08) 0 22px 58px -38px;
}
.contact-form-copy {
  padding: 32px;
}
.contact-form-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(27px, 2.6vw, 38px);
  line-height: 1.12;
  font-weight: 620;
  letter-spacing: -.026em;
}
.contact-form-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
}
.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-weight: 750;
  font-size: 14px;
  letter-spacing: .01em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(8,8,6,.13);
  border-radius: 14px;
  background: rgba(255,250,241,.86);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(201,154,58,.62);
  background: #fffaf1;
  box-shadow: 0 0 0 4px rgba(201,154,58,.12);
}
.contact-form .form-full,
.contact-form .form-note,
.contact-form button {
  grid-column: 1 / -1;
}
.form-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.contact-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}
.approach-card h2 {
  margin-top: 0;
}

@media (max-width: 980px) {
  .pricing-teaser,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-hero.compact,
  .products-hero,
  .approach-hero,
  .contact-hero {
    padding-top: 160px;
    padding-bottom: 42px;
  }
  .page-hero h1 {
    font-size: clamp(29px, 8vw, 38px);
  }
  .contact.section-pad.compact {
    padding-top: 34px;
  }
  .pricing-teaser,
  .contact-form-copy,
  .contact-form {
    padding: 24px;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* Final polish fixes: dropdown usability, no approach counters, tighter contact flow */
.nav-products {
  padding-bottom: 12px;
  margin-bottom: -12px;
}
.nav-product-flyout {
  top: 100%;
  margin-top: 0;
  transform: translate(-50%, 4px);
}
.nav-products::after {
  content: '';
  position: absolute;
  left: -8px;
  right: -8px;
  top: 100%;
  height: 14px;
}
.nav-products:hover .nav-product-flyout,
.nav-products:focus-within .nav-product-flyout {
  transform: translate(-50%, 0);
}
.approach-card::before,
.approach-card::after {
  content: none !important;
  display: none !important;
}
.approach-card {
  padding-top: 30px;
}
.approach-card h2 {
  margin-top: 0 !important;
}
.page-hero.compact {
  padding-top: 164px;
  padding-bottom: 44px;
}
.products-hero,
.approach-hero,
.contact-hero {
  padding-top: 170px;
}
.contact.section-pad.compact {
  padding-top: 28px;
  padding-bottom: 28px;
}
.contact-form-section {
  padding: 0 0 74px;
  margin-top: -8px;
}
.contact-form-copy p:not(.eyebrow) {
  margin-bottom: 0;
}
.form-note a {
  color: var(--blue);
  font-weight: 750;
}
@media (max-width: 760px) {
  .nav-products {
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .nav-products::after { display: none; }
  .nav-product-flyout { top: auto; margin-top: 6px; }
  .page-hero.compact,
  .products-hero,
  .approach-hero,
  .contact-hero {
    padding-top: 152px;
    padding-bottom: 38px;
  }
  .contact.section-pad.compact {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .contact-form-section {
    padding-bottom: 62px;
    margin-top: 0;
  }
}

