:root {
  --bg: #05070d;
  --bg-2: rgba(12, 16, 28, .72);
  --ink: #f4f0e8;
  --muted: #b7c0d4;
  --faint: #8e98ad;
  --line: rgba(244, 240, 232, .12);
  --c1: #22d3ee;
  --c2: #6366f1;
  --c3: #a855f7;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --text: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --wrap: 1120px;
  --header: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.28rem;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 42% at 8% 0%, rgba(34, 211, 238, .13), transparent 62%),
    radial-gradient(48% 40% at 100% 8%, rgba(99, 102, 241, .16), transparent 64%),
    radial-gradient(42% 36% at 78% 100%, rgba(168, 85, 247, .12), transparent 62%);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: rgba(99, 102, 241, .45); }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 12px;
  font-family: var(--sans);
  font-size: .85rem;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(5, 7, 13, .55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-bar {
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -.04em;
  background: linear-gradient(100deg, var(--c1), var(--c2) 45%, var(--c3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-mark-sm { font-size: 2.4rem; margin: 0 0 8px; }
.brand-text {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 11rem;
  line-height: 1.35;
}
.nav { display: flex; gap: 22px; }
.nav a {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.nav a[aria-current="page"],
.nav a:hover { color: var(--ink); }
.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
}
.header-cta, .btn-fill {
  background: linear-gradient(100deg, var(--c2), var(--c3));
  color: white;
  border: 0;
  cursor: pointer;
}
.btn-line {
  border: 1px solid var(--line);
  background: transparent;
}
.btn-fill:hover, .header-cta:hover { filter: brightness(1.08); }
.btn-line:hover { border-color: rgba(244, 240, 232, .4); }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  padding: 0;
}
.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.nav-toggle-lines { margin: 0 auto; }
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-lines::before { top: -5px; }
.nav-toggle-lines::after { top: 5px; }

.hero, .page-hero, .section, .band, .split, .steps, .timeline, .contact-grid, .prose, .features {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px 56px;
  align-items: end;
  align-content: end;
  min-height: calc(100vh - var(--header));
  padding: 36px 0 72px;
}
.facts { grid-column: 1 / -1; }
.kicker {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c1);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; }
h1 {
  margin: 0;
  font-size: clamp(3.1rem, 6.4vw, 5.5rem);
  line-height: .96;
}
h1 em, h2 em { font-style: italic; font-weight: 500; }
.lead, .page-hero p, .feature p, .step p, .note p, .timeline p {
  color: var(--muted);
}
.lead {
  max-width: 38rem;
  margin: 22px 0 0;
  font-size: 1.45rem;
}
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-figure { margin: 0; position: relative; }
.hero-figure img, .feature img, .split img, .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-figure img {
  aspect-ratio: 4 / 5;
  border-radius: 2px;
}
.hero-figure figcaption, .frame figcaption {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
.facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}
.facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}
.facts span { color: var(--muted); }

.section { padding: 96px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}
.section-head h2, .page-hero h1 { margin: 0; max-width: 16ch; }
.section-head h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; }
.section-head p:last-child { max-width: 28rem; margin: 0; color: var(--muted); }
.text-link {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid rgba(244, 240, 232, .35);
}

.service-index { display: grid; }
.service-index a {
  display: grid;
  grid-template-columns: 72px 1fr 1.3fr;
  gap: 18px;
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.service-index a:last-child { border-bottom: 1px solid var(--line); }
.service-index span, .step-n, .year {
  font-family: var(--serif);
  font-style: italic;
  color: var(--c2);
}
.service-index h3 { margin: 0; font-size: 2rem; }
.service-index p { margin: 0; color: var(--muted); }
.service-index a:hover h3 { color: white; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 96px;
}
.step {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.step h3 { margin: 10px 0; font-size: 1.8rem; }
.step p { margin: 0; }

.band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 24px 0 110px;
}
.frame img { aspect-ratio: 5 / 4; border-radius: 2px; }
.band h2 { margin: 0 0 12px; font-size: clamp(2.3rem, 4vw, 3.4rem); line-height: 1.02; }

.cta {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto 100px;
  padding: 48px;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(34, 211, 238, .08), transparent 32%),
    linear-gradient(300deg, rgba(168, 85, 247, .12), transparent 40%),
    rgba(10, 13, 24, .8);
}
.cta h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1; max-width: 16ch; }
.cta-row { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.phone-xl {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  text-decoration: none;
}

.page-hero { padding: 64px 0 20px; }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5rem); max-width: 14ch; }
.page-hero p { max-width: 38rem; font-size: 1.4rem; }

.features { padding-bottom: 80px; }
.feature {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.feature:nth-child(even) figure { order: 2; }
.feature figure { margin: 0; }
.feature img { aspect-ratio: 4 / 3; border-radius: 2px; }
.feature h2 { margin: 0 0 12px; font-size: clamp(2.2rem, 3vw, 3rem); }
.feature p { margin: 0; }
.feature p + p { margin-top: 12px; }

.method-list { padding-bottom: 100px; }
.method-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.method-item:last-child { border-bottom: 1px solid var(--line); }
.method-item h2 { margin: 0 0 8px; font-size: 2.4rem; }
.method-item p { margin: 0; max-width: 40rem; }

.portrait {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
  padding-bottom: 40px;
}
.portrait img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 2px; }
.timeline { padding-bottom: 100px; }
.timeline article {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.timeline h2 { margin: 0 0 6px; font-size: 2rem; }
.timeline p { margin: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 56px;
  padding: 28px 0 110px;
}
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list span {
  display: block;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: white; }
form { display: grid; gap: 14px; }
label span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
input, textarea {
  width: 100%;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
  outline: none;
}
textarea { min-height: 160px; resize: vertical; }
input:focus, textarea:focus { border-color: rgba(99, 102, 241, .8); }
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 1.15rem;
}
.check input { width: auto; margin-top: 8px; }
.check span {
  font-family: var(--text);
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  margin: 0;
}
.note p { margin: 0 0 14px; }
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.notice {
  margin: 0 0 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(99, 102, 241, .12);
}
.notice.bad { background: rgba(168, 85, 247, .08); }

.prose { padding: 12px 0 110px; max-width: 46rem; }
.prose h2 { font-size: 2rem; margin: 2rem 0 .4rem; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--ink); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 32px;
}
.footer-legal { margin: 0 0 8px; }
.footer-muted, .footer-base { color: var(--faint); }
.site-footer nav, .footer-contacts { display: grid; gap: 8px; align-content: start; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: white; }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-base p { margin: 0; display: flex; gap: 16px; }

.wa-float {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 12;
  text-decoration: none;
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--c2), var(--c3));
}

:focus-visible {
  outline: 2px solid var(--c1);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero, .band, .feature, .portrait, .contact-grid, .section-head, .cta-row, .footer-grid {
    grid-template-columns: 1fr;
  }
  .feature:nth-child(even) figure { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .facts, .service-index a, .method-item, .timeline article {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .hero { min-height: 0; padding-top: 12px; }
  .hero-figure { order: -1; }
  .hero-figure img, .portrait img { aspect-ratio: 16 / 9; }
  h1 { font-size: clamp(2.45rem, 11vw, 3.3rem); }
  .lead { font-size: 1.22rem; }
  body { padding-bottom: 76px; }
  .cta { padding: 28px 20px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .header-cta { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    padding: 18px;
    background: rgba(8, 10, 18, .97);
    border: 1px solid var(--line);
    flex-direction: column;
    gap: 14px;
  }
  body.nav-open .nav { display: flex; }
  .wa-float.is-on { display: inline-flex; }
  .section { padding: 72px 0; }
}

@media (max-width: 640px) {
  body { font-size: 1.18rem; }
  .wrap, .hero, .page-hero, .section, .band, .steps, .timeline, .contact-grid, .prose, .features, .cta, .method-list {
    width: min(var(--wrap), calc(100% - 28px));
  }
  .steps { grid-template-columns: 1fr; }
  .brand-text { display: none; }
  .footer-base { flex-direction: column; }
}

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