:root {
  --bg: #070b12;
  --bg-soft: #0c1320;
  --panel: #101827;
  --panel-soft: #111b2b;
  --ink: #f4efe6;
  --muted: #b7ad9f;
  --muted-strong: #d7cbbb;
  --gold: #c6a15b;
  --gold-soft: rgba(198, 161, 91, 0.16);
  --line: rgba(214, 186, 128, 0.18);
  --line-cool: rgba(172, 184, 204, 0.14);
  --shadow: rgba(0, 0, 0, 0.38);
  --container: 1180px;
  --section-x: clamp(20px, 5vw, 72px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 12%, rgba(198, 161, 91, 0.12), transparent 28rem),
    linear-gradient(180deg, #090e17 0%, var(--bg) 44%, #06090f 100%);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line-cool);
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  color: var(--ink);
  line-height: 0;
}

.brand-logo {
  display: block;
  width: clamp(220px, 24vw, 340px);
  height: auto;
}

.brand-logo__white {
  fill: #ffffff;
}

.brand-logo__gold {
  fill: #b08d57;
}

.brand-logo__separator {
  stroke: #b08d57;
  stroke-width: 2;
}

.brand-logo__word {
  fill: #ffffff;
  font-family: "Cormorant Garamond", Cormorant, Georgia, serif;
  font-size: 64px;
  font-weight: 500;
  letter-spacing: 10px;
}

.brand-logo__strap {
  fill: #b08d57;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 18px;
}

.nav-links {
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.header-actions,
.language-switcher {
  display: flex;
  align-items: center;
}

.header-actions {
  justify-self: end;
  gap: 16px;
}

.language-switcher {
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.language-option {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.language-option:hover,
.language-option.is-active,
.nav-links a:hover {
  color: var(--gold);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(198, 161, 91, 0.5);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 750;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.header-cta:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.86fr);
  gap: clamp(34px, 5.4vw, 76px);
  align-items: center;
  width: min(calc(100% - clamp(40px, 10vw, 144px)), var(--container));
  min-height: calc(100vh - 79px);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 128px) 0;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 8% 4% auto auto;
  width: 38rem;
  height: 38rem;
  content: "";
  background: radial-gradient(circle, rgba(198, 161, 91, 0.09), transparent 66%);
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 700px;
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4.35vw, 4.15rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-subhead {
  max-width: 660px;
  margin-bottom: 34px;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.75;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 100%;
  padding: 0 24px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #080b10;
  font-size: 0.9rem;
  font-weight: 850;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: #e2c98d;
  background: #e2c98d;
}

.button-light {
  background: var(--gold);
  border-color: var(--gold);
}

.hero-visual {
  min-height: clamp(330px, 39vw, 500px);
}

.visual-shell {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(16, 24, 39, 0.96), rgba(8, 13, 22, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 78px);
  box-shadow: 0 34px 90px var(--shadow);
}

.visual-shell::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(198, 161, 91, 0.1);
  pointer-events: none;
}

.visual-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-cool);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-map {
  position: relative;
  min-height: 250px;
}

.node,
.line {
  position: absolute;
  display: block;
}

.node {
  width: 16px;
  height: 16px;
  border: 1px solid var(--gold);
  background: #0c1320;
  box-shadow: 0 0 0 10px rgba(198, 161, 91, 0.07), 0 0 28px rgba(198, 161, 91, 0.16);
}

.node-one {
  top: 30%;
  left: 14%;
}

.node-two {
  top: 54%;
  left: 46%;
  width: 20px;
  height: 20px;
  background: var(--gold);
}

.node-three {
  top: 22%;
  right: 16%;
}

.node-four {
  right: 24%;
  bottom: 18%;
}

.line {
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(198, 161, 91, 0.48), rgba(244, 239, 230, 0.08));
}

.line-one {
  top: 36%;
  left: 18%;
  width: 42%;
  transform: rotate(26deg);
}

.line-two {
  top: 30%;
  left: 50%;
  width: 34%;
  transform: rotate(-18deg);
}

.line-three {
  bottom: 28%;
  left: 48%;
  width: 32%;
  transform: rotate(8deg);
}

.visual-panel {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-cool);
}

.visual-panel span {
  display: block;
  height: 8px;
  background: linear-gradient(90deg, rgba(198, 161, 91, 0.78), rgba(244, 239, 230, 0.08));
}

.visual-panel span:nth-child(2) {
  width: 76%;
}

.visual-panel span:nth-child(3) {
  width: 58%;
}

.section-band,
.services,
.final-cta {
  padding: clamp(4.75rem, 8vw, 7.5rem) var(--section-x);
}

.section-band {
  border-top: 1px solid var(--line-cool);
  border-bottom: 1px solid var(--line-cool);
  background: linear-gradient(180deg, rgba(12, 19, 32, 0.92), rgba(7, 11, 18, 0.98));
}

.section-band > .section-kicker {
  width: min(var(--container), 100%);
  margin-right: auto;
  margin-left: auto;
}

.section-heading-centered {
  width: min(var(--container), 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading-centered h2 {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
}

.section-heading-centered .section-kicker {
  margin-bottom: 16px;
}

.section-heading-centered h2,
.section-heading h2,
.split h2,
.final-cta h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
}

.recognition-copy {
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted-strong);
  font-size: clamp(1.02rem, 1.28vw, 1.18rem);
  line-height: 1.78;
  text-align: center;
}

.recognition-copy strong {
  display: inline-block;
  color: var(--gold);
  font-size: 1.08em;
  font-weight: 800;
}

.services {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  background: #080c14;
}

.section-heading {
  display: block;
  width: min(var(--container), 100%);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.section-heading .section-kicker {
  margin-bottom: 14px;
}

.section-heading h2 {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.service-card {
  min-height: 320px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(17, 27, 43, 0.88), rgba(10, 16, 27, 0.9)),
    radial-gradient(circle at 20% 0%, rgba(198, 161, 91, 0.08), transparent 18rem);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 161, 91, 0.42);
}

.service-card h3 {
  max-width: 360px;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.18;
}

.service-card p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.split p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted-strong);
  font-size: clamp(1.02rem, 1.28vw, 1.18rem);
  line-height: 1.78;
}

.pedigree {
  background:
    linear-gradient(90deg, rgba(198, 161, 91, 0.08), transparent 52%),
    var(--bg-soft);
}

.technology > .section-kicker,
.pedigree > .section-kicker {
  text-align: center;
}

.technology .split,
.pedigree .split {
  display: block;
  text-align: center;
}

.technology .split h2,
.pedigree .split h2 {
  max-width: 880px;
  margin-right: auto;
  margin-bottom: 28px;
  margin-left: auto;
}

.technology .split p,
.pedigree .split p {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.technology .split p a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(198, 161, 91, 0.72);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.technology .split p a:hover,
.technology .split p a:focus-visible {
  color: #e2c98d;
  text-decoration-color: #e2c98d;
}

.technology .split strong,
.pedigree .split strong {
  color: var(--gold);
  font-weight: 800;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(320px, 0.92fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
  padding-right: max(var(--section-x), calc((100% - var(--container)) / 2));
  padding-left: max(var(--section-x), calc((100% - var(--container)) / 2));
  border-top: 1px solid var(--line-cool);
  background:
    radial-gradient(circle at 18% 12%, rgba(198, 161, 91, 0.1), transparent 28rem),
    #080c14;
  color: var(--ink);
}

.final-cta-copy {
  position: sticky;
  top: 120px;
}

.final-cta h2 {
  max-width: 760px;
}

.intake-form {
  display: grid;
  gap: 24px;
  width: 100%;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  background: rgba(16, 24, 39, 0.84);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.24);
}

.form-intro,
.form-step,
.success-message {
  border: 1px solid var(--line-cool);
  background: rgba(9, 14, 24, 0.64);
}

.form-intro,
.success-message {
  padding: 24px;
}

.form-intro h3,
.success-message h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.22;
}

.form-intro p,
.success-message p {
  margin-bottom: 0;
  color: var(--muted-strong);
  font-size: 0.98rem;
  line-height: 1.72;
}

.success-message p + p {
  margin-top: 12px;
}

.form-step {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 22px;
}

.form-step legend {
  padding: 0 10px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.question {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
}

.choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line-cool);
  background: rgba(17, 27, 43, 0.68);
  color: var(--muted-strong);
  cursor: pointer;
  font-weight: 400;
  line-height: 1.55;
}

.choice:hover {
  border-color: rgba(198, 161, 91, 0.38);
  background: rgba(24, 36, 56, 0.86);
}

.choice input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--gold);
}

.intake-form.is-submitted .form-intro,
.intake-form.is-submitted .form-step,
.intake-form.is-submitted .form-button {
  display: none;
}

.intake-form.is-submitted {
  min-height: 260px;
  align-content: center;
}

.intake-form.is-submitted .success-message {
  display: grid;
  min-height: 190px;
  align-items: center;
  border-color: rgba(198, 161, 91, 0.26);
  background: linear-gradient(135deg, rgba(17, 27, 43, 0.9), rgba(9, 14, 24, 0.78));
}

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

.form-row-wide,
.form-button {
  grid-column: 1 / -1;
}

.bot-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted-strong);
  line-height: 1.5;
}

.privacy-check input { margin-top: 5px; }
.privacy-check a,
.privacy-summary a,
.footer-legal a,
.legal-page a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.privacy-summary { color: var(--muted); font-size: 0.84rem; }
.footer-legal { display: flex; gap: 6px; }

.legal-page {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 90px;
  color: var(--muted-strong);
  line-height: 1.7;
}
.legal-page h1, .legal-page h2 { color: var(--ink); }
.legal-page h2 { margin-top: 36px; }
.legal-page .language-switcher { margin-bottom: 30px; }
.legal-page .back-link { display: inline-block; margin-bottom: 34px; color: var(--gold); }

.form-row label {
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.intake-form input:not([type="radio"]):not([type="checkbox"]),
.intake-form select,
.intake-form textarea {
  width: 100%;
  border: 1px solid var(--line-cool);
  border-radius: 0;
  background: rgba(7, 11, 18, 0.84);
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.5;
}

.intake-form input:not([type="radio"]):not([type="checkbox"]),
.intake-form select {
  min-height: 48px;
  padding: 12px;
}

.intake-form textarea {
  resize: vertical;
  min-height: 132px;
  padding: 12px;
}

.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
  outline: 2px solid rgba(198, 161, 91, 0.52);
  outline-offset: 2px;
}

.form-button {
  justify-self: start;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #080b10;
  font-weight: 850;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line-cool);
  color: var(--muted);
  background: #05070c;
  font-size: 0.84rem;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .nav-links {
    display: none;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }
}

@media (max-width: 980px) {
  .hero,
  .split,
  .section-heading,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 380px;
  }

  .final-cta-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .header-actions {
    justify-self: stretch;
    align-items: stretch;
    flex-direction: column;
  }

  .language-switcher {
    justify-content: center;
  }

  .header-cta {
    width: 100%;
    text-align: center;
  }

  .brand-logo {
    width: min(100%, 260px);
  }

  .hero {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(2.1rem, 10vw, 3rem);
    line-height: 1.06;
  }

  .hero-visual {
    min-height: 320px;
  }

  .visual-shell {
    padding: 18px;
  }

  .visual-topline {
    flex-direction: column;
    gap: 8px;
  }

  .section-heading-centered,
  .section-heading {
    margin-bottom: 32px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

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