:root {
  --ink: #101820;
  --navy: #142233;
  --navy-2: #1b2d42;
  --paper: #f4f0e8;
  --white: #fffdf9;
  --gold: #bf963b;
  --gold-dark: #7c5a16;
  --muted: #5f6871;
  --line: rgba(16, 24, 32, .14);
  --line-dark: rgba(255, 255, 255, .14);
  --radius: 18px;
  --shadow: 0 24px 70px rgba(9, 16, 25, .13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid #d6ab4d;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .75rem 1rem;
  transform: translateY(-160%);
  color: var(--ink);
  background: var(--white);
  border-radius: 6px;
  font-weight: 800;
}

.skip-link:focus { transform: none; }

.rp-bar {
  color: rgba(255, 255, 255, .78);
  background: #0b121b;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}

.rp-bar p { margin: 0; padding: .48rem 1rem; }
.rp-dot { color: var(--gold); margin-right: .45rem; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--ink);
  background: rgba(244, 240, 232, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1200px, calc(100% - 3rem));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img { width: 46px; height: 46px; flex: 0 0 auto; }
.brand-copy { min-width: 0; line-height: 1.05; }
.brand strong, .brand small { display: block; white-space: nowrap; }
.brand strong { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .06em; }
.brand small { margin-top: .3rem; color: var(--gold-dark); font-size: .58rem; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }

.main-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 1rem 0;
  color: #27313a;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: .7rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--gold-dark);
  transform-origin: left;
  transition: transform .2s ease;
}

.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--gold-dark); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle-lines { position: relative; }
.nav-toggle-lines::before, .nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { top: 0; transform: rotate(-45deg); }

.container { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.container-narrow { width: min(800px, calc(100% - 3rem)); margin-inline: auto; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(191, 150, 59, .08) 1px, transparent 1px),
    linear-gradient(rgba(191, 150, 59, .08) 1px, transparent 1px),
    var(--navy);
  background-size: 44px 44px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 34rem;
  height: 34rem;
  top: 50%;
  right: -12rem;
  transform: translateY(-50%);
  border: 1px solid rgba(191, 150, 59, .24);
  border-radius: 50%;
  box-shadow: 0 0 0 7rem rgba(191, 150, 59, .035), 0 0 0 14rem rgba(191, 150, 59, .025);
}

.hero-inner {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: center;
  gap: 2rem;
}

.hero-copy { position: relative; z-index: 2; padding: 6rem 0; }
.eyebrow {
  margin: 0 0 1.15rem;
  color: #dab65f;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin-top: 0; font-family: var(--serif); line-height: 1.06; }
h1 { max-width: 13ch; margin-bottom: 1.4rem; font-size: clamp(3rem, 6vw, 5.8rem); font-weight: 500; letter-spacing: -.045em; }
h2 { margin-bottom: 1rem; font-size: clamp(2.15rem, 4.5vw, 4rem); font-weight: 500; letter-spacing: -.035em; }
h3 { margin-bottom: .7rem; font-size: 1.35rem; }

.hero-lead {
  max-width: 620px;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
}

.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.button {
  min-height: 48px;
  padding: .78rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #131a20;
  background: #d4a846;
  border: 1px solid #d4a846;
  border-radius: 7px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .055em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease;
}

.button:hover { transform: translateY(-2px); background: #e0b85c; }
.button-outline { color: var(--white); background: transparent; border-color: rgba(255, 255, 255, .36); }
.button-outline:hover { background: rgba(255, 255, 255, .08); }
.button-dark { color: var(--white); background: var(--navy); border-color: var(--navy); }
.button-dark:hover { background: #263a52; }

.hero-art {
  position: relative;
  align-self: end;
  min-width: 0;
}

.hero-art::before {
  content: "";
  position: absolute;
  right: 2%;
  bottom: 10%;
  width: 73%;
  aspect-ratio: 1;
  background: var(--gold);
  border-radius: 50%;
  opacity: .12;
  filter: blur(1px);
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .28));
}

.hero-stamp {
  position: absolute;
  z-index: 3;
  right: .2rem;
  bottom: 2rem;
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  color: #e0b85c;
  border: 1px solid rgba(224, 184, 92, .6);
  border-radius: 50%;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.trust-strip { color: var(--white); background: #0b121b; border-top: 1px solid var(--line-dark); }
.trust-grid { min-height: 98px; display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 1.3rem 2rem; display: flex; align-items: center; gap: 1rem; border-left: 1px solid var(--line-dark); }
.trust-item:last-child { border-right: 1px solid var(--line-dark); }
.trust-item span { color: var(--gold); font-family: var(--serif); font-size: 1.75rem; }
.trust-item strong { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.trust-item small { display: block; color: rgba(255, 255, 255, .55); }

.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section-light { background: var(--white); }
.section-paper { background: var(--paper); }
.section-dark { color: var(--white); background: var(--navy); }
.section-kicker { margin: 0 0 .9rem; color: var(--gold-dark); font-size: .72rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.section-dark .section-kicker { color: #d8b45d; }
.section-intro { max-width: 680px; margin-bottom: 3rem; color: var(--muted); font-size: 1.06rem; }
.section-dark .section-intro { color: rgba(255, 255, 255, .66); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 8vw, 7rem); }
.split p { color: var(--muted); }
.split-quote { padding: 2.25rem; color: var(--white); background: var(--navy); border-left: 4px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); }
.split-quote blockquote { margin: 0 0 1.4rem; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.45rem); line-height: 1.25; }
.split-quote cite { color: #d8b45d; font-size: .72rem; font-style: normal; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(9, 16, 25, .09); }
.card-number { margin-bottom: 2.2rem; display: inline-flex; color: var(--gold-dark); font-family: var(--serif); font-size: .9rem; }
.card p { margin-bottom: 0; color: var(--muted); }
.card-link { margin-top: 1.4rem; display: inline-flex; color: var(--gold-dark); font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }

.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.detail-card { min-width: 0; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .54); }
.detail-card .tag { margin-bottom: 1rem; display: inline-block; color: var(--gold-dark); font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.detail-card p, .detail-card li { color: var(--muted); }
.detail-card ul { margin: 1rem 0 0; padding-left: 1.15rem; }
.detail-card li + li { margin-top: .45rem; }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: steps; }
.process-step { min-width: 0; padding: 1.6rem 1.2rem; border-top: 1px solid rgba(255, 255, 255, .25); }
.process-step span { color: #d8b45d; font-family: var(--serif); font-size: 1rem; }
.process-step h3 { margin-top: 2.6rem; }
.process-step p { margin: 0; color: rgba(255, 255, 255, .62); }
.process-light { color: var(--ink); }
.process-light .process-step { border-color: var(--line); }
.process-light .process-step p { color: var(--muted); }

.price-shell { margin-top: 2.5rem; overflow: hidden; color: var(--ink); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.price-header { padding: 1.6rem 2rem; display: flex; justify-content: space-between; gap: 1.5rem; background: #e8e0d1; border-bottom: 1px solid var(--line); }
.price-header strong { font-family: var(--serif); font-size: 1.25rem; }
.price-header span { color: var(--muted); font-size: .82rem; text-align: right; }
.price-group { padding: 1.2rem 2rem 1.6rem; }
.price-group + .price-group { border-top: 1px solid var(--line); }
.price-group h3 { margin: .35rem 0 1rem; font-size: 1.2rem; }
.price-row { padding: .9rem 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(110px, auto); align-items: start; gap: 1.5rem; border-top: 1px solid var(--line); }
.price-row:first-of-type { border-top: 0; }
.price-label { min-width: 0; }
.price-note { margin-top: .25rem; display: block; color: var(--muted); font-size: .82rem; }
.price-value { color: var(--gold-dark); font-weight: 900; text-align: right; }
.price-notes { padding: 1.3rem 2rem; color: var(--muted); background: #f1ece3; font-size: .82rem; }
.price-notes p { margin: 0; }
.price-notes p + p { margin-top: .5rem; }
.price-error { padding: 2rem; color: #7a301d; }

.cta-panel { padding: clamp(2rem, 6vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2rem; color: var(--white); background: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); }
.cta-panel h2 { max-width: 15ch; margin-bottom: .75rem; }
.cta-panel p { max-width: 630px; margin: 0; color: rgba(255, 255, 255, .66); }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.contact-card { min-width: 0; padding: 2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card span { color: var(--gold-dark); font-size: .68rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.contact-card h2 { margin: 1.5rem 0 .8rem; font-size: 1.65rem; }
.contact-card p { color: var(--muted); }
.contact-card a { color: var(--gold-dark); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: .2em; }

.legal-hero { padding: clamp(4.5rem, 8vw, 7rem) 0; color: var(--white); background: var(--navy); }
.legal-hero h1 { max-width: 15ch; }
.legal-hero p { max-width: 680px; margin: 0; color: rgba(255, 255, 255, .66); }
.legal-content { padding: clamp(3rem, 7vw, 6rem) 0; }
.legal-content h2 { margin-top: 2.8rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin-top: 2rem; font-size: 1.2rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content a { color: var(--gold-dark); }
.notice { margin: 2rem 0; padding: 1.4rem 1.5rem; background: #efe5cc; border-left: 4px solid var(--gold-dark); border-radius: 8px; }
.notice p { margin: 0; color: #443818; }
.placeholder { padding: .05rem .35rem; background: #f7d7ca; border-radius: 4px; color: #722d18; font-weight: 800; }

.site-footer { color: rgba(255, 255, 255, .7); background: #0b121b; }
.footer-main { padding: 3.2rem 0; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; color: var(--white); }
.footer-brand img { width: 52px; height: 52px; }
.footer-brand strong { display: block; font-family: var(--serif); font-size: 1.1rem; }
.footer-brand small { color: #d2ac54; font-size: .62rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.footer-text { max-width: 430px; margin: 1.2rem 0 0; color: rgba(255, 255, 255, .5); font-size: .84rem; }
.footer-title { margin: 0 0 1rem; color: #d2ac54; font-size: .67rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: .5rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding: 1rem 0; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line-dark); color: rgba(255, 255, 255, .62); font-size: .75rem; }
.footer-bottom p { margin: 0; }

.not-found { min-height: 65vh; display: grid; place-items: center; text-align: center; color: var(--white); background: var(--navy); }
.not-found .code { margin: 0; color: var(--gold); font-family: var(--serif); font-size: clamp(6rem, 20vw, 13rem); line-height: .8; opacity: .28; }
.not-found h1 { max-width: none; margin: -1rem 0 1rem; font-size: clamp(2.3rem, 6vw, 4rem); }
.not-found p { max-width: 560px; margin: 0 auto 2rem; color: rgba(255, 255, 255, .65); }

@media (max-width: 1000px) {
  .header-inner { width: min(100% - 2rem, 1200px); gap: 1rem; }
  .nav-toggle { display: inline-flex; flex: 0 0 auto; }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: .7rem 1rem 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 30px rgba(9, 16, 25, .1);
  }
  .main-nav[data-open="true"] { display: block; }
  .main-nav ul { display: grid; gap: 0; }
  .main-nav li + li { border-top: 1px solid var(--line); }
  .main-nav a { width: 100%; min-height: 48px; padding: .8rem .2rem; display: flex; align-items: center; }
  .main-nav a::after { display: none; }
  .hero-inner { min-height: auto; grid-template-columns: minmax(0, 1fr) minmax(270px, .72fr); }
  .hero-stamp { display: none; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid .card:last-child { grid-column: 1 / -1; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1.4fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container, .container-narrow { width: min(100% - 2rem, 1120px); }
  .rp-bar { font-size: .62rem; letter-spacing: .11em; }
  .header-inner { min-height: 68px; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: .92rem; }
  .brand small { font-size: .52rem; letter-spacing: .16em; }
  .hero-inner { display: block; }
  .hero-copy { padding: 4.5rem 0 1.2rem; }
  h1 { max-width: 14ch; font-size: clamp(2.75rem, 14vw, 4.6rem); }
  .hero-art { width: min(580px, 110%); margin: 0 -5% 0 auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 84px; padding: 1rem; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
  .section { padding: 4.5rem 0; }
  .split, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid .card:last-child { grid-column: auto; }
  .cta-panel { grid-template-columns: 1fr; }
  .price-header { display: block; }
  .price-header span { margin-top: .3rem; display: block; text-align: left; }
  .price-group { padding-inline: 1.2rem; }
  .price-row { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .price-value { text-align: left; }
  .price-notes { padding-inline: 1.2rem; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-main > div:first-child { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: .35rem; }
}

@media (max-width: 480px) {
  .brand small { display: none; }
  .brand strong { white-space: normal; line-height: 1.05; }
  .hero-actions .button, .button-row .button { width: 100%; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step h3 { margin-top: 1.2rem; }
  .cta-panel { padding: 1.6rem; }
}

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