:root {
  --ink: #10161a;
  --ink-soft: #26343a;
  --graphite: #162227;
  --deep: #092c34;
  --teal: #087ca7;
  --teal-dark: #07566c;
  --paper: #f3efe7;
  --paper-warm: #fffaf0;
  --line: rgba(16, 22, 26, 0.14);
  --line-light: rgba(255, 250, 240, 0.18);
  --red: #b93b35;
  --olive: #65745a;
  --gold: #b78b58;
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(8, 20, 25, 0.24);
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px 32px;
  color: var(--white);
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    padding 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(9, 44, 52, 0.92);
  box-shadow: 0 16px 40px rgba(5, 19, 24, 0.22);
  backdrop-filter: blur(18px);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.brand-logo {
  width: auto;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 4px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  background: rgba(16, 22, 26, 0.22);
  backdrop-filter: blur(16px);
}

.nav-links a,
.header-action {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-size: 0.94rem;
  color: rgba(255, 250, 240, 0.86);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
  background: rgba(255, 250, 240, 0.08);
  outline: none;
}

.header-action {
  gap: 8px;
  min-width: 118px;
  border: 1px solid rgba(255, 250, 240, 0.26);
  background: rgba(255, 250, 240, 0.1);
  color: var(--white);
}

.header-action svg,
.button svg,
.text-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 720px;
  height: 92svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
}

.hero-image {
  position: absolute;
  inset: -6% 0 -8%;
  width: 100%;
  height: 114%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 16, 20, 0.86), rgba(9, 16, 20, 0.54) 42%, rgba(9, 16, 20, 0.1)),
    linear-gradient(180deg, rgba(9, 16, 20, 0.22), rgba(9, 16, 20, 0.72));
}

.hero-content {
  width: min(var(--max), calc(100% - 64px));
  margin: 72px auto 0;
  color: var(--white);
}

.eyebrow,
.section-kicker,
.package-label {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3c1b7;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: 5.2rem;
  line-height: 0.95;
}

h2 {
  margin-bottom: 22px;
  font-size: 3.25rem;
  line-height: 1.02;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 250, 240, 0.84);
  font-size: 1.18rem;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(92, 24, 24, 0.28);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #a6302c;
  outline: none;
}

.button.ghost {
  border-color: rgba(255, 250, 240, 0.28);
  color: var(--white);
  background: rgba(255, 250, 240, 0.08);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  background: rgba(255, 250, 240, 0.15);
  outline: none;
}

.ticker-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--white);
}

.metric {
  min-height: 144px;
  padding: 28px 34px;
  border-right: 1px solid var(--line);
  display: grid;
  align-content: center;
  gap: 8px;
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  color: var(--teal-dark);
  font-size: 3rem;
  line-height: 1;
}

.metric span {
  max-width: 320px;
  color: var(--ink-soft);
}

.section-pad {
  padding: 108px 32px;
}

.intro-section {
  background:
    linear-gradient(90deg, rgba(8, 124, 167, 0.08), transparent 34%),
    var(--paper);
}

.intro-grid,
.section-head,
.process,
.contact {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: 80px;
  align-items: start;
}

.lead,
.section-note,
.process-copy p,
.story-copy p,
.contact-copy p {
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.lead {
  font-size: 1.28rem;
}

.visual-break {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: grid;
  align-items: end;
  background: var(--graphite);
}

.visual-break img,
.story-image img {
  position: absolute;
  inset: -5% 0;
  width: 100%;
  height: 110%;
  object-fit: cover;
  will-change: transform;
}

.visual-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 14, 18, 0.78));
}

.visual-caption {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto 54px;
  color: var(--white);
}

.visual-caption span {
  display: block;
  margin-bottom: 10px;
  color: #f3c1b7;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.visual-caption strong {
  display: block;
  max-width: 650px;
  font-size: 2.25rem;
  line-height: 1.08;
}

.services {
  background: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(300px, 0.58fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 44px;
}

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

.service-card,
.package-card {
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-warm);
  padding: 28px;
}

.service-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.service-card p,
.package-card p,
.package-card li {
  color: var(--ink-soft);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: var(--deep);
  color: var(--white);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(420px, 1fr);
  gap: 72px;
  align-items: start;
}

.process-copy {
  position: sticky;
  top: 110px;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.process-list li {
  min-height: 150px;
  display: grid;
  grid-template-columns: 64px 150px 1fr;
  gap: 22px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.process-list span {
  color: var(--teal-dark);
  font-weight: 900;
}

.process-list strong {
  font-size: 1.15rem;
}

.process-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.split-story {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  min-height: 680px;
  background: var(--graphite);
  color: var(--white);
}

.story-image {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 22, 26, 0.04), rgba(16, 22, 26, 0.38));
}

.story-copy {
  display: grid;
  align-content: center;
  padding: 72px max(32px, calc((100vw - var(--max)) / 2)) 72px 64px;
}

.story-copy h2 {
  max-width: 520px;
}

.story-copy p {
  max-width: 520px;
  color: rgba(255, 250, 240, 0.78);
}

.text-link {
  width: fit-content;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f3c1b7;
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--white);
  outline: none;
}

.packages {
  background:
    linear-gradient(180deg, rgba(101, 116, 90, 0.12), transparent 40%),
    var(--paper);
}

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

.package-card.featured {
  background: var(--deep);
  color: var(--white);
  border-color: var(--deep);
  box-shadow: var(--shadow);
}

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

.package-card.featured .package-label {
  color: #f3c1b7;
}

.package-card ul {
  margin: auto 0 0;
  padding: 20px 0 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.package-card li {
  position: relative;
  padding-left: 22px;
}

.package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  background: var(--red);
}

.contact {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(360px, 1fr);
  gap: 64px;
  align-items: start;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 28px;
  display: grid;
  gap: 18px;
  box-shadow: 0 16px 34px rgba(8, 20, 25, 0.08);
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fbf8f0;
  color: var(--ink);
  padding: 13px 14px;
  min-height: 48px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(8, 124, 167, 0.26);
  border-color: var(--teal);
}

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

.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(240px, 540px) auto;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 36px 32px;
  border-top: 1px solid var(--line-light);
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(255, 250, 240, 0.8);
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
  outline: none;
}

.legal-main {
  background:
    linear-gradient(180deg, rgba(8, 124, 167, 0.1), transparent 360px),
    var(--paper);
}

.legal-hero {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 172px 0 54px;
}

.legal-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 4rem;
  color: var(--ink);
}

.legal-hero p {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.legal-layout {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 0 0 108px;
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(420px, 1fr);
  gap: 42px;
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 110px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
}

.legal-aside a {
  display: block;
  padding: 10px 0;
  color: var(--ink-soft);
  font-weight: 800;
}

.legal-aside a:hover,
.legal-aside a:focus-visible {
  color: var(--teal-dark);
  outline: none;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 34px;
  box-shadow: 0 16px 34px rgba(8, 20, 25, 0.08);
}

.legal-card + .legal-card {
  margin-top: 18px;
}

.legal-card h2 {
  margin-bottom: 18px;
  font-size: 1.8rem;
}

.legal-card h3 {
  margin: 26px 0 8px;
  font-size: 1.08rem;
}

.legal-card p {
  color: var(--ink-soft);
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-data {
  display: grid;
  gap: 16px;
  margin: 0;
}

.legal-data div {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) 1fr;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.legal-data div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-data dt {
  color: var(--ink);
  font-weight: 900;
}

.legal-data dd {
  margin: 0;
  color: var(--ink-soft);
}

.logo-lab {
  min-height: 100svh;
  background:
    linear-gradient(180deg, rgba(9, 44, 52, 0.12), transparent 420px),
    var(--paper);
}

.logo-lab-hero,
.logo-variant-grid,
.logo-header-tests {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

.logo-lab-hero {
  padding: 82px 0 34px;
}

.logo-lab-hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 4rem;
}

.logo-lab-hero p {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.logo-variant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 28px 0 44px;
}

.logo-variant-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
  box-shadow: 0 16px 34px rgba(8, 20, 25, 0.08);
}

.logo-stage {
  min-height: 220px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 124, 167, 0.1), transparent),
    #f7f3eb;
}

.logo-stage.dark {
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.08), transparent),
    var(--graphite);
}

.logo-stage img {
  width: min(100%, 520px);
  height: auto;
  box-shadow: 0 18px 48px rgba(8, 20, 25, 0.18);
}

.logo-variant-card h2,
.logo-header-tests h2 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.logo-variant-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.logo-header-tests {
  padding: 0 0 90px;
}

.header-test-row {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  margin-top: 14px;
  padding: 15px 22px;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: var(--deep);
  color: var(--white);
}

.header-test-row img {
  width: auto;
  height: 52px;
}

.header-test-row nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  color: rgba(255, 250, 240, 0.82);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .parallax-layer {
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 14px 18px;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
  }

  .nav-links a {
    min-width: 96px;
  }

  .header-action {
    min-width: 106px;
  }

  .hero {
    min-height: 660px;
    height: 90svh;
  }

  .hero-content {
    width: min(100% - 36px, var(--max));
    margin-top: 118px;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  .ticker-band,
  .intro-grid,
  .section-head,
  .process,
  .split-story,
  .contact,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .section-pad {
    padding: 78px 20px;
  }

  .intro-grid,
  .section-head,
  .process,
  .contact,
  .legal-layout {
    gap: 32px;
  }

  .legal-hero {
    width: min(100% - 40px, var(--max));
    padding-top: 196px;
  }

  .legal-hero h1 {
    font-size: 3rem;
  }

  .legal-layout {
    width: min(100% - 40px, var(--max));
    padding-bottom: 78px;
  }

  .legal-aside {
    position: static;
  }

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

  .service-card,
  .package-card {
    min-height: 0;
  }

  .process-copy {
    position: static;
  }

  .process-list li {
    grid-template-columns: 56px 1fr;
  }

  .process-list p {
    grid-column: 2;
  }

  .story-copy {
    padding: 62px 24px 72px;
  }

  .visual-break {
    min-height: 520px;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: absolute;
  }

  .brand {
    min-height: 38px;
  }

  .brand-logo {
    height: 42px;
  }

  .nav-links {
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .nav-links a {
    min-width: auto;
    padding: 7px 9px;
    font-size: 0.86rem;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 640px;
    height: 88svh;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 16, 20, 0.84), rgba(9, 16, 20, 0.52)),
      linear-gradient(180deg, rgba(9, 16, 20, 0.28), rgba(9, 16, 20, 0.84));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-top: 108px;
  }

  h1 {
    font-size: 2.45rem;
    line-height: 1;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.18rem;
  }

  .hero-copy,
  .lead,
  .section-note,
  .process-copy p,
  .story-copy p,
  .contact-copy p {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 50px;
  }

  .metric {
    min-height: 118px;
    padding: 24px 20px;
  }

  .metric strong {
    font-size: 2.4rem;
  }

  .visual-caption {
    width: calc(100% - 32px);
    margin-bottom: 36px;
  }

  .visual-caption strong {
    font-size: 1.55rem;
  }

  .process-list li {
    min-height: 0;
    grid-template-columns: 46px 1fr;
    gap: 12px;
  }

  .split-story {
    min-height: 0;
  }

  .story-image {
    min-height: 420px;
  }

  .contact-form {
    padding: 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-hero {
    width: calc(100% - 32px);
    padding-top: 168px;
  }

  .legal-hero h1 {
    font-size: 2.45rem;
  }

  .legal-layout {
    width: calc(100% - 32px);
  }

  .legal-card {
    padding: 22px;
  }

  .legal-data div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .logo-lab-hero,
  .logo-variant-grid,
  .logo-header-tests {
    width: calc(100% - 32px);
  }

  .logo-lab-hero h1 {
    font-size: 2.45rem;
  }

  .logo-variant-grid {
    grid-template-columns: 1fr;
  }

  .logo-stage {
    min-height: 170px;
    padding: 16px;
  }

  .header-test-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .header-test-row nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }
}
