/* =========================================
   CORE RESET
========================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f5f3ee;
  color: #142235;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

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

/* =========================================
   GLOBAL LINK BEHAVIOR
========================================= */

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

a:link,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}

/* =========================================
   TOKENS
========================================= */

:root {
  --bg-cream: #f5f3ee;
  --bg-soft: #efe9de;
  --bg-soft-2: #ece5d8;
  --bg-white: #ffffff;
  --bg-navy: #0c1728;
  --bg-navy-deep: #091221;

  --text-dark: #142235;
  --text-mid: #495668;
  --text-light: rgba(255, 255, 255, 0.82);
  --text-light-soft: rgba(255, 255, 255, 0.68);

  --gold: #a9833c;
  --gold-deep: #8f6f32;

  --line-soft: rgba(20, 34, 53, 0.08);
  --line-mid: rgba(20, 34, 53, 0.12);
  --line-light: rgba(255, 255, 255, 0.10);

  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --container: 1120px;
  --transition: 0.25s ease;
}

/* =========================================
   LAYOUT
========================================= */

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

.section {
  padding: 56px 0;
  position: relative;
}

.section + .section {
  border-top: 1px solid rgba(20, 34, 53, 0.04);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: start;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.profile-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 42px;
  align-items: start;
}

.section-heading {
  max-width: 480px;
  margin-bottom: 16px;
}

.section-heading-centered {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-body,
.section-split-right,
.profile-body {
  max-width: 680px;
}

.section-intro-copy {
  max-width: 560px;
  margin: 10px auto 0;
  color: var(--text-mid);
}

.section-intro-copy-light {
  color: var(--text-light-soft);
}

.section-emphasis {
  margin-top: 16px;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--text-dark);
}

.section-emphasis-subtle {
  color: #2c394d;
}

.section-note {
  max-width: 760px;
  margin: 18px auto 0;
  padding-top: 16px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

/* =========================================
   TYPOGRAPHY
========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.75rem, 5vw, 4.85rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.03;
}

h3 {
  font-size: 1.03rem;
  line-height: 1.2;
}

p {
  margin: 0 0 12px;
  color: var(--text-mid);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.text-link {
  display: inline-flex;
  position: relative;
  margin-top: 4px;
  font-weight: 600;
  color: var(--text-dark);
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: rgba(20, 34, 53, 0.24);
  transition: var(--transition);
}

.text-link:hover::after {
  background: var(--gold);
}

/* =========================================
   BUTTONS
========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: var(--transition);
}

.btn:hover,
.btn:focus,
.btn:active {
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(169, 131, 60, 0.18);
}

.btn-primary:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.52);
  transform: translateY(-1px);
}

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

.hero-actions-centered {
  justify-content: center;
}

/* =========================================
   HERO
========================================= */

.hero-band {
  position: relative;
  margin-top: -1px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(169, 131, 60, 0.10), transparent 30%),
    linear-gradient(135deg, #091221 0%, #0d182b 54%, #13223a 100%);
}

.hero-band::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.05));
  pointer-events: none;
}

.hero-band-inner {
  position: relative;
  z-index: 2;
}

.hero-shell {
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
  min-height: 560px;
  padding: 44px 0;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 100%;
  padding-left: 14px;
}

.hero-band .eyebrow {
  color: #d4b477;
  margin-bottom: 16px;
}

.hero-band h1 {
  color: #ffffff;
  max-width: 1020px;
}

.hero-copy {
  margin-top: 16px;
  color: var(--text-light);
  font-size: 1.02rem;
  line-height: 1.68;
  max-width: 620px;
}

.hero-shell .hero-lower-grid {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  padding: 0;
}

.hero-shell .hero-lower-grid .btn {
  margin: 0;
}

/* =========================================
   INTRO
========================================= */

.section-intro {
  background: var(--bg-cream);
}

.section-intro .section-heading h2 {
  max-width: 430px;
}

/* =========================================
   CREDIBILITY
========================================= */

.section-credibility {
  padding: 34px 0 28px;
  background: linear-gradient(180deg, #f0ece3 0%, #ece5d8 100%);
  border-top: 1px solid rgba(20, 34, 53, 0.06);
  border-bottom: 1px solid rgba(20, 34, 53, 0.06);
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.credibility-item {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 34, 53, 0.10);
  border-radius: var(--radius-sm);
  padding: 18px 18px 16px;
  text-align: center;
}

.credibility-label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.credibility-item p {
  margin: 0;
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* =========================================
   FRAMEWORK
========================================= */

.section-framework {
  background: linear-gradient(180deg, #f0ece3 0%, #f5f3ee 100%);
  padding-top: 52px;
  padding-bottom: 58px;
}

.section-framework .section-heading h2 {
  max-width: 560px;
  margin: 0 auto;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.framework-card {
  background: #ffffff;
  border: 1px solid rgba(20, 34, 53, 0.12);
  border-radius: var(--radius-sm);
  padding: 20px 18px 18px;
  transition: var(--transition);
}

.framework-card:hover {
  border-color: rgba(20, 34, 53, 0.22);
  transform: translateY(-2px);
}

.framework-number {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.framework-card h3 {
  margin-bottom: 8px;
}

.framework-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-mid);
}

/* =========================================
   CONTRAST
========================================= */

.section-contrast {
  background: #f2eee6;
  border-top: 1px solid rgba(20, 34, 53, 0.06);
  border-bottom: 1px solid rgba(20, 34, 53, 0.06);
  padding-top: 56px;
  padding-bottom: 58px;
}

.section-contrast .section-split-left h2 {
  max-width: 420px;
}

.contrast-intro {
  margin-bottom: 16px;
  max-width: 640px;
}

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

.stack-item {
  background: #ffffff;
  border: 1px solid rgba(20, 34, 53, 0.14);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 15px 15px 14px;
  transition: var(--transition);
}

.stack-item:hover {
  border-color: rgba(20, 34, 53, 0.20);
}

.stack-item h3 {
  margin-bottom: 6px;
}

.stack-item p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.52;
  color: var(--text-mid);
}

/* =========================================
   PROFILE
========================================= */

.section-profile {
  background: linear-gradient(180deg, #f5f3ee 0%, #efebe2 100%);
}

.profile-heading h2 {
  max-width: 470px;
}

.profile-body p:last-of-type {
  margin-bottom: 0;
}

/* =========================================
   DARK / FIT
========================================= */

.section-dark {
  background: linear-gradient(180deg, #0c1728 0%, #091221 100%);
}

.section-dark .eyebrow,
.section-dark h2 {
  color: #ffffff;
}

.section-dark .eyebrow {
  color: #d4b477;
}

.dark-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dark-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 20px 18px 18px;
  transition: var(--transition);
}

.dark-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.section-dark .dark-card h3 {
  color: #ffffff;
  margin-bottom: 8px;
}

.section-dark .dark-card p {
  color: var(--text-light-soft);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.54;
}

.section-dark .section-note p {
  color: var(--text-light-soft);
  margin: 0;
}

/* =========================================
   FINAL CTA
========================================= */

.final-cta {
  background: linear-gradient(180deg, rgba(11, 21, 36, 0.96) 0%, rgba(15, 27, 45, 1) 100%);
  padding: 64px 0 68px;
}

.cta-panel {
  max-width: 780px;
  margin: 0 auto;
  padding: 38px 30px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
}

.final-cta .eyebrow {
  justify-content: center;
  color: #d4b477;
}

.final-cta h2 {
  color: #ffffff;
  max-width: 700px;
  margin: 0 auto;
}

.final-cta p {
  max-width: 620px;
  margin: 14px auto 0;
  color: var(--text-light-soft);
}

/* =========================================
   HEADER
========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 21, 36, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  color: #ffffff;
  flex-shrink: 0;
}

.brand:link,
.brand:visited,
.brand:hover,
.brand:active {
  text-decoration: none !important;
  color: #ffffff;
}

.brand-mark-wrap {
  display: flex;
  align-items: center;
}

.brand-mark {
  height: 26px;
  width: auto;
  opacity: 1;
  filter: none;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-word {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffffff;
}

.brand-sub {
  margin-top: 2px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav-list li {
  margin: 0;
  padding: 0;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: var(--transition);
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: #ffffff;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
}

/* =========================================
   FOOTER
========================================= */

.site-footer {
  background: #0b1524;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffffff;
}

.footer-sub {
  margin-top: 6px;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  color: #ffffff;
}

.footer-tagline {
  margin-top: 14px;
  font-size: 0.92rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.65);
}

.footer-column h4 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-contact div,
.footer-contact a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-left {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {
  .section-grid,
  .section-split,
  .profile-shell,
  .credibility-grid,
  .framework-grid,
  .dark-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .section-body,
  .section-split-right,
  .profile-body,
  .profile-heading {
    max-width: 100%;
  }

  .site-nav-list {
    gap: 18px;
    flex-wrap: wrap;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 48px 0;
  }

  .hero-shell {
    min-height: 460px;
    padding: 32px 0;
  }

  .hero-content {
    padding-left: 6px;
  }

  .header-inner {
    min-height: 70px;
  }

  .cta-panel {
    padding: 32px 22px;
    border-radius: 16px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15.25px;
  }

  .section {
    padding: 42px 0;
  }

  .hero-shell {
    min-height: 400px;
    padding: 24px 0;
  }

  .hero-shell .hero-lower-grid,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
  }

  .framework-card,
  .stack-item,
  .dark-card,
  .credibility-item {
    padding: 18px 16px 16px;
  }

  .eyebrow {
    letter-spacing: 0.18em;
  }
}