:root {
  --ink: #17202b;
  --muted: #60707d;
  --navy: #102034;
  --navy-2: #182d42;
  --green: #183f37;
  --bronze: #b08a57;
  --bronze-2: #d3b27e;
  --paper: #f7f3eb;
  --paper-2: #efe8dc;
  --white: #fffaf2;
  --line: rgba(23, 32, 43, 0.14);
  --shadow: 0 24px 70px rgba(9, 19, 31, 0.16);
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

input,
textarea,
select {
  min-width: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 12px 14px 12px 18px;
  color: var(--white);
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: var(--radius);
  background: rgba(16, 32, 52, 0.58);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 242, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(9, 19, 31, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  letter-spacing: 0;
  line-height: 1;
}

.brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.desktop-nav a {
  opacity: 0.82;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  opacity: 1;
}

.nav-toggle {
  display: inline-grid;
  gap: 5px;
  width: 42px;
  height: 42px;
  place-content: center;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 96px 28px 36px;
  color: var(--white);
  background: rgba(16, 32, 52, 0.97);
  transform: translateY(-100%);
  transition: transform 240ms ease;
}

.mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-menu a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 250, 242, 0.16);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 32, 52, 0.95), rgba(16, 32, 52, 0.74) 46%, rgba(16, 32, 52, 0.2));
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image: radial-gradient(rgba(255, 250, 242, 0.35) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 112px 0 34px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--bronze-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(46px, 8vw, 92px);
}

h2 {
  font-size: clamp(34px, 5vw, 58px);
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.25;
}

.hero-lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 250, 242, 0.82);
  font-size: clamp(18px, 2.4vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--bronze);
  color: #111820;
}

.button-secondary {
  border-color: rgba(255, 250, 242, 0.32);
  color: var(--white);
  background: rgba(255, 250, 242, 0.08);
}

.trust-line {
  margin: 22px 0 0;
  color: rgba(255, 250, 242, 0.72);
  font-size: 14px;
}

.hero-panel {
  width: min(100%, 430px);
  padding: 22px;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.18);
}

.hero-panel span {
  display: block;
  margin-bottom: 10px;
  color: var(--bronze-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.25;
  font-weight: 500;
}

.hero-panel a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--bronze-2);
  font-weight: 700;
}

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

.credential-band {
  background: var(--green);
  color: var(--white);
}

.credential-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255, 250, 242, 0.16);
}

.credential-grid div {
  min-height: 120px;
  padding: 24px;
  background: var(--green);
}

.credential-grid strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.credential-grid span {
  color: rgba(255, 250, 242, 0.72);
}

.section {
  padding: 76px 0;
}

.section-muted {
  background: var(--paper-2);
}

.section-accent {
  color: var(--white);
  background: var(--navy-2);
}

.split {
  display: grid;
  gap: 32px;
}

.copy-stack {
  display: grid;
  gap: 16px;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.copy-stack p {
  margin: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.area-card,
.team-card,
.insight-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.72);
  box-shadow: 0 16px 50px rgba(9, 19, 31, 0.06);
}

.area-card {
  position: relative;
  padding: 26px;
  overflow: hidden;
}

.area-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bronze), transparent);
}

.card-index {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--bronze);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.area-card p,
.team-card p,
.insight-card p,
.steps p,
.feature-list p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.steps article {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.38);
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--bronze);
  border-radius: 50%;
  color: var(--bronze);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.section-note {
  max-width: 780px;
  margin: 28px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--bronze);
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 250, 242, 0.14);
}

.feature-list article {
  padding: 22px 0;
  background: var(--navy-2);
}

.feature-list h3 {
  color: var(--white);
}

.feature-list p {
  color: rgba(255, 250, 242, 0.68);
}

.team-grid,
.insight-grid {
  display: grid;
  gap: 16px;
}

.team-card,
.insight-card {
  padding: 24px;
}

.team-photo {
  display: grid;
  width: 78px;
  height: 78px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--green));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
}

.placeholder-label {
  margin: 0 0 8px;
  color: var(--bronze);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-card .role {
  margin-bottom: 12px;
  color: var(--green);
  font-weight: 700;
}

.team-card a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--bronze);
  font-weight: 700;
}

.insight-card span {
  display: block;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-layout {
  display: grid;
  gap: 28px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.66);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-section {
  padding: 76px 0;
  color: var(--white);
  background: var(--green);
}

.contact-grid {
  display: grid;
  gap: 30px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 250, 242, 0.72);
  font-size: 18px;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--white);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.08);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: rgba(255, 250, 242, 0.78);
  font-size: 13px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(9, 19, 31, 0.24);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

select option {
  color: var(--ink);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--bronze-2);
  box-shadow: 0 0 0 3px rgba(211, 178, 126, 0.18);
}

.checkbox-label {
  grid-template-columns: 20px 1fr;
  align-items: start;
  font-weight: 500;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--bronze);
}

.form-disclaimer {
  margin: 0;
  color: rgba(255, 250, 242, 0.68);
  font-size: 13px;
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 250, 242, 0.72);
  background: #0b1625;
}

.footer-grid {
  display: grid;
  gap: 30px;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 7px 0;
}

.legal-page {
  background: var(--paper);
}

.legal-main {
  width: min(calc(100% - 32px), 900px);
  margin: 0 auto;
  padding: 132px 0 70px;
}

.legal-main h1 {
  color: var(--navy);
  font-size: clamp(42px, 8vw, 76px);
}

.legal-main h2 {
  margin-top: 34px;
  color: var(--navy);
  font-size: clamp(26px, 4vw, 36px);
}

.legal-main p,
.legal-main li {
  color: var(--muted);
}

@media (min-width: 620px) {
  .credential-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 820px) {
  .desktop-nav {
    display: flex;
  }

  .nav-toggle,
  .mobile-menu {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    padding-bottom: 42px;
  }

  .credential-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .section {
    padding: 104px 0;
  }

  .split,
  .faq-layout,
  .contact-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .areas-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .area-card {
    grid-column: span 3;
  }

  .area-card-wide {
    grid-column: span 6;
  }

  .steps,
  .team-grid,
  .insight-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps article:first-child {
    grid-column: span 3;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 0.7fr 0.8fr;
  }
}

@media (min-width: 1080px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps article:first-child {
    grid-column: span 1;
  }

  .area-card {
    grid-column: span 2;
  }

  .area-card-wide {
    grid-column: span 4;
  }
}

@media (max-width: 420px) {
  .site-header {
    width: min(calc(100% - 20px), var(--max));
    margin-top: 10px;
    padding: 10px;
  }

  .brand small {
    font-size: 10px;
  }

  .hero-inner {
    width: min(calc(100% - 24px), var(--max));
    padding: 102px 0 26px;
  }

  h1 {
    font-size: clamp(40px, 14vw, 56px);
  }

  .button {
    width: 100%;
  }

  .container {
    width: min(calc(100% - 24px), var(--max));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
