:root {
  --ink: #172127;
  --brand: #0d2a3b;
  --surface: #f4f0e8;
  --white: #fff;
  --accent: #f4bc42;
  --brand-soft: #547487;
  --muted: #5f696e;
  --line: #d9d4ca;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--surface);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -60px;
  left: 12px;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--ink);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  padding: 8px max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 232, .98);
  backdrop-filter: blur(12px);
}

.brand {
  display: block;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--white);
  text-decoration: none;
}

.brand-logo,
.footer-logo {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.brand img,
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.72);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header nav a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-cta {
  padding: 12px 16px;
  background: var(--brand);
  color: var(--white);
}

.nav-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
}

.hero,
.section {
  scroll-margin-top: 88px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  min-height: 640px;
  align-items: stretch;
  overflow: hidden;
  background: var(--brand);
  color: var(--white);
}

.hero-copy {
  width: auto;
  max-width: 700px;
  align-self: center;
  margin: 0;
  padding: 88px 64px 88px max(24px, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #7d5900;
}

.hero .eyebrow {
  margin-bottom: 22px;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(54px, 6.2vw, 92px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .96;
}

.hero-line {
  max-width: 590px;
  margin: 28px 0 0;
  color: #e8edf0;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.35;
}

.hero-copy > .hero-area {
  margin: 20px 0 0;
  color: #aebfc8;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .035em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  font: 800 14px "DM Sans", sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--accent);
  color: var(--ink);
}

.button.ghost {
  border-color: rgba(255, 255, 255, .42);
  color: var(--white);
}

.hero .button {
  min-height: 52px;
  padding-inline: 22px;
}

.hero-media {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, .12);
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.hero-media span {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 9px 12px;
  background: rgba(13, 42, 59, .9);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin: auto;
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.quick-strip strong {
  display: flex;
  min-height: 68px;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
  font-size: 14px;
}

.quick-strip strong:first-child {
  padding-left: 0;
}

.quick-strip strong:last-child {
  border-right: 0;
}

.quick-strip strong::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.section {
  padding: 82px max(20px, calc((100vw - var(--max)) / 2));
}

.services .section-heading,
.proof .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.services .section-heading h2,
.proof .section-heading h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1;
}

.services .section-heading p {
  max-width: 390px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.service-list article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--brand);
  background: var(--white);
}

.service-list span {
  color: #7d5900;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
}

.service-list h3 {
  margin: 32px 0 12px;
  font-size: 26px;
  letter-spacing: -.025em;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.boundary {
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  background: rgba(255, 255, 255, .62);
  font-size: 14px;
}

.proof {
  background: var(--brand);
  color: var(--white);
}

.proof .section-heading {
  gap: 40px;
}

.proof .section-heading > p {
  margin: 0 0 8px;
  color: #b9c8cf;
  font-size: 18px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.proof-grid figure {
  min-width: 0;
  margin: 0;
}

.proof-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.proof-frame {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #203946;
}

.proof-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-grid figure:first-child .proof-frame img {
  object-position: center 48%;
}

.proof-grid figure:nth-child(2) .proof-frame:first-child img {
  object-position: center 32%;
}

.proof-grid figure:nth-child(2) .proof-frame:last-child img {
  object-position: center 45%;
}

.proof-frame > span {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  background: rgba(13, 42, 59, .92);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.proof-grid figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 0;
  color: var(--white);
}

.proof-grid figcaption strong {
  font-size: 18px;
}

.proof-grid figcaption span {
  color: #b9c8cf;
  font-size: 14px;
}

.fit,
.request {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 56px;
  align-items: center;
}

.fit-copy h2,
.request h2 {
  max-width: 500px;
  margin: 0;
  font-size: clamp(48px, 5.6vw, 72px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .98;
}

.fit-copy > p:last-child,
.request > div > p:last-child {
  max-width: 420px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.fit-tool {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--brand);
  background: var(--white);
}

.fit-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.fit-tabs button {
  min-height: 50px;
  border: 1px solid var(--line);
  background: #f6f3ed;
  font: 700 13px "DM Sans", sans-serif;
  cursor: pointer;
}

.fit-tabs button[aria-selected="true"] {
  background: var(--brand);
  color: var(--white);
}

.fit-result {
  min-height: 250px;
  padding: 30px 4px 4px;
}

.fit-result h3 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -.03em;
}

.fit-result p,
.fit-result ul {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.fit-result ul {
  padding-left: 20px;
}

.request {
  align-items: start;
  background: var(--brand-soft);
  color: var(--white);
}

.request > div > p:last-child {
  color: var(--white);
}

.request .eyebrow {
  color: var(--white);
}

.dad-lead-form {
  --site-lead-label: #34444c;
  --site-lead-border: #c8c2b8;
  --site-lead-bg: #f7f4ee;
  --site-lead-text: #172127;
  --site-lead-placeholder: #6a7479;
  --site-lead-status: #172127;
  --site-lead-success: #087b5c;
  --site-lead-error: #a12828;
  margin: 0 !important;
  padding: 28px;
  border: 0 !important;
  border-top: 5px solid var(--brand) !important;
  background: var(--white) !important;
  color: var(--ink) !important;
}

.dad-lead-form .site-lead-field input,
.dad-lead-form .site-lead-field textarea {
  border-radius: 0;
}

.dad-lead-form .site-lead-field input {
  min-height: 52px;
}

.dad-lead-form .button {
  width: auto;
  min-width: 160px;
  justify-self: start;
  color: var(--ink) !important;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 30px max(20px, calc((100vw - var(--max)) / 2));
  background: #10171b;
  color: #aebbc0;
  font-size: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.footer-logo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  background: var(--white);
}

footer div {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

footer a {
  color: var(--accent);
}

footer .footer-brand {
  color: var(--white);
}

.mobile-actions {
  display: none;
}

.button,
.fit-tabs button,
.site-header nav a,
.nav-toggle,
.mobile-actions a {
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.button:hover,
.fit-tabs button:hover,
.site-header nav a:hover,
.mobile-actions a:hover {
  transform: translateY(-1px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 920px) {
  body {
    padding-bottom: 56px;
  }

  .site-header {
    min-height: 72px;
  }

  .brand {
    width: 56px;
    height: 56px;
  }

  .site-header nav {
    position: absolute;
    top: 72px;
    right: 14px;
    left: 14px;
    display: none;
    padding: 8px;
    border: 1px solid var(--line);
    background: var(--surface);
  }

  .site-header nav.open {
    display: grid;
  }

  .site-header nav a {
    padding: 10px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    background: transparent;
  }

  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    display: block;
    width: 19px;
    height: 2px;
    background: var(--ink);
    content: "";
  }

  .nav-toggle span::before {
    transform: translateY(-6px);
  }

  .nav-toggle span::after {
    transform: translateY(4px);
  }

  .hero,
  .section {
    scroll-margin-top: 72px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    max-width: none;
    padding: 62px 20px 54px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 66px);
  }

  .hero-line {
    font-size: 20px;
  }

  .hero-media {
    min-height: 520px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    border-left: 0;
  }

  .hero-media img {
    object-position: center 50%;
  }

  .quick-strip {
    grid-template-columns: 1fr;
    padding-block: 10px;
  }

  .quick-strip strong,
  .quick-strip strong:first-child {
    min-height: 44px;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-strip strong:last-child {
    border-bottom: 0;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .services .section-heading,
  .proof .section-heading {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
  }

  .services .section-heading p,
  .proof .section-heading > p {
    margin: 0;
    font-size: 17px;
  }

  .service-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-list article {
    min-height: 0;
    padding: 24px;
  }

  .service-list h3 {
    margin-top: 20px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .proof-pair {
    gap: 4px;
  }

  .proof-frame {
    aspect-ratio: 3 / 4;
  }

  .proof-grid figcaption {
    display: grid;
    gap: 5px;
  }

  .fit,
  .request {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .fit-copy > p:last-child,
  .request > div > p:last-child {
    margin-top: 18px;
    font-size: 17px;
  }

  .fit-tool {
    padding: 16px;
  }

  .fit-tabs button {
    min-width: 0;
    padding-inline: 6px;
  }

  .fit-result {
    min-height: 0;
    padding: 26px 2px 2px;
  }

  .dad-lead-form {
    padding: 20px;
  }

  .dad-lead-form .button {
    width: 100%;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 86px;
  }

  .footer-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  footer div {
    justify-content: flex-start;
  }

  .mobile-actions {
    position: fixed;
    z-index: 70;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 56px;
  }

  .mobile-actions a {
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--white);
    font-weight: 800;
    text-decoration: none;
  }

  .mobile-actions a:last-child {
    background: var(--accent);
    color: var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .fit-tabs button,
  .site-header nav a,
  .nav-toggle,
  .mobile-actions a {
    transition: none;
  }
}
