:root {
  --ink: #102238;
  --ink-2: #1c3552;
  --gold: #c89b3c;
  --gold-soft: #f0dfb2;
  --sand: #f7f1e7;
  --ivory: #fffaf0;
  --slate: #627084;
  --white: #ffffff;
  --line: rgba(16, 34, 56, 0.14);
  --shadow: 0 24px 80px rgba(16, 34, 56, 0.14);
  --radius: 28px;
  font-family: "Georgia", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(200, 155, 60, 0.18), transparent 34rem),
    linear-gradient(180deg, var(--ivory), #f9f5eb 48%, #fffaf2);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 240, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  width: min(1220px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), #284b6f);
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

.brand small {
  color: var(--slate);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links.always-on {
  position: static;
  display: flex;
  flex-direction: row;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.94rem;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgba(200, 155, 60, 0.15);
}

.nav-links .nav-cta {
  background: var(--ink);
  color: var(--white);
  padding-inline: 18px;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 34, 56, 0.92), rgba(16, 34, 56, 0.72) 45%, rgba(16, 34, 56, 0.18)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1800&q=85") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--ivory));
}

.hero-grid {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 56px;
  padding: 96px 0 120px;
}

.hero-copy {
  max-width: 790px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, serif;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  letter-spacing: 0;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.65;
}

.hero-actions,
.hero-card .text-link,
.contact .button {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(16, 34, 56, 0.18);
}

.primary {
  background: var(--gold);
  color: #1b160a;
}

.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.package-card .secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cred-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.cred-strip span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
}

.hero-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(16, 34, 56, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card p,
.hero-card h2,
.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card p {
  margin: 0 0 12px;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.hero-card h2 {
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.hero-card strong {
  margin-top: 24px;
  color: var(--gold-soft);
  font-size: 2.1rem;
  font-family: Georgia, serif;
}

.hero-card span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  color: var(--gold-soft);
  font-weight: 800;
  text-decoration: none;
}

.text-link.on-dark {
  color: var(--gold-soft);
}

.section {
  padding: 104px 0;
}

.split,
.image-copy-grid,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.rich-text p,
.section-heading p,
.principles p,
.service-card p,
.package-card p,
.contact p,
.footer p {
  color: var(--slate);
  line-height: 1.72;
}

.rich-text p {
  margin-top: 0;
  font-size: 1.05rem;
}

.visual-section {
  background: #f2eadb;
}

.pillars-section {
  background: linear-gradient(180deg, #fffaf2, #f2eadb);
}

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

.pillar-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 12px 44px rgba(16, 34, 56, 0.08);
}

.pillar-card.highlight {
  background: var(--ink);
  color: var(--white);
}

.pillar-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.pillar-card p {
  color: var(--slate);
  line-height: 1.72;
}

.pillar-card.highlight p {
  color: rgba(255, 255, 255, 0.74);
}

.intelligence-section {
  background: #11181f;
  color: var(--white);
}

.intelligence-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.intelligence-list {
  display: grid;
  gap: 18px;
}

.intelligence-list article {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.intelligence-list p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.72;
}

.syndicate-section {
  position: relative;
  overflow: hidden;
  background: #0c1218;
  color: var(--white);
}

.syndicate-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(12, 18, 24, 0.94), rgba(12, 18, 24, 0.72) 52%, rgba(200, 155, 60, 0.2)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 120px);
  pointer-events: none;
}

.syndicate-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 48px;
  align-items: center;
}

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

.syndicate-copy h2 {
  max-width: 720px;
}

.syndicate-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.75;
}

.syndicate-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.syndicate-points span {
  padding: 10px 14px;
  border: 1px solid rgba(240, 223, 178, 0.28);
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.syndicate-image {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(240, 223, 178, 0.2);
}

.syndicate-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.syndicate-cta {
  position: absolute;
  right: 32px;
  bottom: 32px;
  display: grid;
  gap: 6px;
  width: min(320px, calc(100% - 64px));
  padding: 22px 24px;
  color: #15120a;
  text-decoration: none;
  background: linear-gradient(135deg, #f0dfb2, #c89b3c);
  border: 1px solid rgba(255, 255, 255, 0.45);
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.syndicate-cta span {
  font-size: 1.05rem;
  font-weight: 900;
}

.syndicate-cta strong {
  font-family: Georgia, serif;
  font-size: 1.55rem;
}

.society-section {
  background: linear-gradient(180deg, #f8f2e7, #fffaf2);
}

.calculators {
  background: #f2eadb;
}

.feature-image {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  margin: 0;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(16, 34, 56, 0.34));
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.feature-image.compact {
  min-height: 420px;
}

.principles {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.principles.compact {
  margin-top: 24px;
}

.principles article,
.service-card,
.package-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.76);
  box-shadow: 0 12px 44px rgba(16, 34, 56, 0.08);
}

.principles article {
  padding: 24px;
}

.principles span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
  text-align: center;
}

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

.service-card,
.package-card {
  padding: 28px;
}

.service-card {
  min-height: 230px;
}

.package-card {
  display: flex;
  flex-direction: column;
}

.package-card.featured {
  background: var(--ink);
  color: var(--white);
}

.package-card.featured p,
.package-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.package-label {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price {
  margin: 18px 0 10px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 2.25rem;
  font-weight: 800;
}

.featured .price {
  color: var(--gold-soft);
}

.price span {
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

ul {
  padding-left: 18px;
  color: var(--slate);
  line-height: 1.7;
}

.package-card .button {
  width: 100%;
  margin-top: auto;
}

.calc-shell {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 12px 44px rgba(16, 34, 56, 0.08);
}

.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.calc-tab {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 12px 18px;
}

.calc-tab.active {
  background: var(--ink);
  color: var(--white);
}

.calc-panel {
  display: none;
}

.calc-panel.active {
  display: block;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-weight: 800;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 14px 15px;
}

textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 14px 15px;
  resize: vertical;
}

select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 14px 15px;
}

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

output {
  min-height: 110px;
  padding: 22px;
  background: var(--ink);
  color: var(--white);
  font-size: 1.28rem;
  font-weight: 900;
}

output small {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reverse {
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
}

.contact {
  background: var(--ink);
  color: var(--white);
}

.contact p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 32px;
  color: var(--ink);
  font-style: normal;
  background: var(--ivory);
}

.icon-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.icon-line svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.contact-card .icon-line {
  color: var(--ink);
}

.contact-card .icon-line span {
  color: var(--ink);
  font-weight: 800;
}

.contact-card strong {
  font-family: Georgia, serif;
  font-size: 1.6rem;
}

.contact-card a {
  margin-top: 12px;
  color: var(--ink);
  font-weight: 900;
}

.contact-inline {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.contact-note {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-form {
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 44px rgba(16, 34, 56, 0.14);
}

.contact-form h3 {
  margin: 0;
  font-size: 1.4rem;
}

.form-help {
  margin: 12px 0 18px;
  color: var(--slate);
}

.contact-form .form-grid {
  grid-template-columns: 1fr 1fr;
}

.contact-form label {
  color: var(--ink-2);
}

.contact-form .button {
  width: 100%;
  margin-top: 14px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-weight: 700;
}

.checkbox-row input {
  width: auto;
  margin-top: 3px;
}

.ghost {
  background: transparent;
  border-color: rgba(16, 34, 56, 0.28);
  color: var(--ink);
}

.footer-mini {
  margin: 10px 0 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
}

.footer-links a {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-weight: 800;
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.legal {
  background:
    radial-gradient(circle at top left, rgba(200, 155, 60, 0.14), transparent 34rem),
    linear-gradient(180deg, var(--ivory), #f9f5eb 60%, #fffaf2);
}

.legal-shell {
  max-width: 900px;
}

.legal-shell h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 4.1rem);
}

.legal-meta {
  margin: 14px 0 0;
  color: var(--slate);
}

.legal-card {
  margin-top: 26px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.86);
  box-shadow: 0 12px 44px rgba(16, 34, 56, 0.08);
}

.legal-card h2 {
  font-size: 1.55rem;
  margin-top: 22px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--slate);
  line-height: 1.75;
}

.legal-back {
  margin-top: 18px;
}

.legal-back a {
  color: var(--ink-2);
  font-weight: 900;
}

.footer {
  padding: 34px 0;
  background: #081522;
  color: var(--white);
}

.footer-grid {
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
}

.footer p {
  color: rgba(255, 255, 255, 0.66);
  margin: 8px 0 0;
}

.disclaimer {
  font-size: 0.86rem;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    inset: 78px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--ivory);
    box-shadow: var(--shadow);
  }

  .menu-open .nav-links {
    display: flex;
  }

  .hero-grid,
  .split,
  .image-copy-grid,
  .syndicate-grid,
  .intelligence-grid,
  .contact-grid,
  .footer-grid,
  .reverse {
    grid-template-columns: 1fr;
  }

  .syndicate-cta {
    position: static;
    width: 100%;
    margin-top: 22px;
  }

  .hero-grid {
    gap: 26px;
  }

  .card-grid,
  .package-grid,
  .pillar-grid,
  .form-grid,
  .result-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding: 76px 0 90px;
  }

  .hero-card {
    padding: 22px;
  }

  .card-grid,
  .package-grid,
  .pillar-grid,
  .form-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .contact-form .form-grid {
    grid-template-columns: 1fr;
  }

  .feature-image,
  .feature-image.compact,
  .syndicate-image {
    min-height: 340px;
  }

  .brand small {
    display: none;
  }
}
