:root {
  --black: #060708;
  --ink: #121417;
  --paper: #f4f4f2;
  --white: #ffffff;
  --muted: #777b82;
  --muted-dark: #a5a8ad;
  --line: #d9d9d4;
  --line-dark: rgba(255, 255, 255, 0.18);
  --panel: #ececea;
  --panel-dark: #171b20;
  --accent: #8de3c4;
  --blue: #8fb3ff;
  --max: 1184px;
  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  background: var(--paper);
}

.wrap {
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(6, 7, 8, 0.92);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(14px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: min(212px, 34vw);
  height: 32px;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 26px;
}

.site-nav a,
.footer-column a {
  text-decoration: none;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.active-link {
  color: var(--white);
}

.site-menu {
  display: none;
}

.site-menu summary {
  display: none;
}

.hero {
  min-height: calc(86svh - 61px);
  padding: 92px 0 78px;
  color: var(--white);
  background: var(--black);
}

.compact-hero {
  min-height: auto;
  padding: 76px 0 62px;
  border-bottom: 1px solid var(--line-dark);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 44px;
  align-items: center;
}

.hero-grid-text {
  display: block;
}

.hero-copy {
  min-width: 0;
  max-width: 1120px;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.card-label,
.panel-label,
.footer-heading {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero .eyebrow,
.compact-hero .eyebrow {
  color: rgba(255, 255, 255, 0.66);
}

.hero h1,
.content-section h2,
.statement-band p,
.cta-title {
  font-family: var(--font-display);
  letter-spacing: -0.045em;
}

.hero h1 {
  margin: 0 0 24px;
  max-width: 1120px;
  font-size: clamp(4.1rem, 7.4vw, 7.45rem);
  font-weight: 300;
  line-height: 0.92;
}

.compact-hero h1 {
  max-width: 1000px;
  font-size: clamp(3.2rem, 7.4vw, 6.7rem);
}

.hero-lead {
  max-width: 900px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.13rem, 1.6vw, 1.55rem);
  line-height: 1.28;
}

.hero-actions,
.form-actions,
.text-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  min-width: 180px;
  padding: 13px 18px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.btn::after {
  content: "->";
  margin-left: 22px;
  font-size: 1.2rem;
  line-height: 0.8;
}

.btn-primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-agent {
  color: var(--ink);
  background: var(--accent);
  border-color: var(--accent);
}

.content-section .btn-secondary,
.site-footer .btn-secondary,
.contact-form .btn-secondary {
  color: var(--ink);
  border-color: var(--ink);
}

.content-section .btn-secondary:hover,
.contact-form .btn-secondary:hover {
  background: var(--ink);
  color: var(--white);
}

.content-section {
  padding: 94px 0;
  background: var(--paper);
}

.content-section.alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: start;
}

.section-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 5.6vw, 5.8rem);
  font-weight: 300;
  line-height: 0.95;
}

.section-grid .section-intro h2 {
  font-size: clamp(2.45rem, 4.35vw, 4.65rem);
}

.section-intro.wide h2 {
  font-size: clamp(2.9rem, 5.6vw, 5.8rem);
}

.section-intro.wide {
  max-width: 1040px;
  margin-bottom: 42px;
}

.section-body {
  min-width: 0;
}

.section-body p,
.card p,
.related-card p,
.service-list p {
  margin: 0 0 18px;
  color: #5f636a;
  font-size: clamp(1.03rem, 1.25vw, 1.24rem);
  line-height: 1.46;
}

.section-body p:first-child {
  color: var(--ink);
}

.cards,
.service-list,
.related-grid {
  display: grid;
  gap: 0;
}

.cards-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.related-card,
.contact-form {
  min-width: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-left: 0;
  padding: 30px;
}

.cards .card:first-child,
.related-grid .related-card:first-child {
  border-left: 1px solid var(--line);
}

.cards-two .card:nth-child(2n + 1),
.cards-three .card:nth-child(3n + 1) {
  border-left: 1px solid var(--line);
}

.card h3,
.related-card h3,
.service-list h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.05vw, 2.15rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.card p:last-child,
.related-card p:last-child,
.service-list p:last-child {
  margin-bottom: 0;
}

.service-card p strong {
  color: var(--ink);
}

.answer-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.answer-list div,
.service-list > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.answer-list div:last-child,
.service-list > div:last-child {
  border-bottom: 1px solid var(--line);
}

.answer-list dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.answer-list dd {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.7vw, 1.74rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

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

.service-list > div::before {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-list > div:nth-child(1)::before { content: "/0.1"; }
.service-list > div:nth-child(2)::before { content: "/0.2"; }
.service-list > div:nth-child(3)::before { content: "/0.3"; }
.service-list > div:nth-child(4)::before { content: "/0.4"; }
.service-list > div:nth-child(5)::before { content: "/0.5"; }
.service-list > div:nth-child(6)::before { content: "/0.6"; }
.service-list > div:nth-child(7)::before { content: "/0.7"; }

.single-column {
  grid-template-columns: 1fr;
}

.statement-band {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.statement-band .wrap {
  padding: 46px 0;
}

.statement-band p {
  margin: 0;
}

.statement-band .motto-line {
  max-width: 680px;
  font-size: clamp(1.65rem, 3.2vw, 2.75rem);
  font-weight: 300;
  line-height: 1.06;
}

.statement-band .motto-support {
  max-width: 640px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.96rem, 1.1vw, 1.08rem);
}

.cta-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.cta-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 154px;
  padding: 28px;
  color: var(--ink);
  background: #dcdcd8;
  text-decoration: none;
}

.cta-block.dark {
  color: var(--white);
  background: #1a1f22;
}

.cta-title {
  max-width: 520px;
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 300;
  line-height: 0.96;
}

.cta-arrow {
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 0.9;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  background: var(--white);
  border-left: 1px solid var(--line);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form textarea {
  resize: vertical;
}

.form-actions {
  align-items: center;
}

.form-actions .btn {
  border-color: var(--ink);
}

.form-actions .btn-primary {
  background: var(--ink);
  color: var(--white);
}

.form-actions .btn-primary:hover {
  background: transparent;
  color: var(--ink);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  text-transform: none;
  letter-spacing: 0;
}

.site-footer {
  padding: 62px 0 72px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.45fr) repeat(4, minmax(130px, 1fr));
  gap: 34px;
  align-items: start;
}

.footer-brand,
.footer-column {
  display: grid;
  gap: 11px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.footer-mark {
  color: var(--ink) !important;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-brand p:last-child {
  max-width: 280px;
  font-size: 0.95rem;
}

.footer-heading {
  color: var(--muted) !important;
  margin-bottom: 6px;
}

.footer-column a,
.footer-column span {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.25;
}

.footer-column a:hover {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-column small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.link-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.tab-nav {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: 28px;
  border: 1px solid var(--ink);
  overflow-x: auto;
}

.tab-nav button {
  appearance: none;
  border: 0;
  border-right: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  min-width: 112px;
  padding: 13px 20px;
  text-transform: uppercase;
  white-space: nowrap;
}

.tab-nav button:last-child {
  border-right: 0;
}

.tab-nav button[aria-selected="true"] {
  background: var(--ink);
  color: var(--white);
}

.tab-panel[hidden] {
  display: none;
}

.tab-lead {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 1.2rem;
}

@media (max-width: 1060px) {
  .hero-grid,
  .section-grid,
  .cards-two,
  .cards-three,
  .footer-grid,
  .cta-split {
    grid-template-columns: 1fr;
  }

  .cards .card,
  .cards .card:first-child,
  .cards-two .card:nth-child(2n + 1),
  .cards-three .card:nth-child(3n + 1) {
    border-left: 1px solid var(--line);
  }

  .footer-brand {
    max-width: 420px;
  }
}

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

  .header-row {
    position: relative;
  }

  .site-nav-desktop {
    display: none;
  }

  .site-menu {
    display: flex;
    position: relative;
    top: auto;
    right: auto;
    margin-left: auto;
    transform: none;
  }

  .site-menu summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--white);
    cursor: pointer;
    font-size: 0;
    font-weight: 700;
    letter-spacing: 0.08em;
    list-style: none;
    text-transform: uppercase;
  }

  .site-menu summary::before {
    content: "";
    width: 18px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }

  .site-menu summary::-webkit-details-marker {
    display: none;
  }

  .site-menu:not([open]) > .site-nav {
    display: none;
  }

  .site-menu[open] > .site-nav {
    display: grid;
  }

  .site-menu .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 50;
    min-width: 230px;
    padding: 12px;
    gap: 0;
    background: var(--black);
    border: 1px solid var(--line-dark);
  }

  .site-menu .site-nav a {
    padding: 13px 8px;
    border-bottom: 1px solid var(--line-dark);
  }

  .site-menu .site-nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .header-row {
    gap: 14px;
    padding: 11px 0;
  }

  .brand {
    width: min(180px, 58vw);
    height: 28px;
  }

  .hero {
    min-height: auto;
    padding: 54px 0 44px;
  }

  .compact-hero {
    padding: 52px 0 44px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 15vw, 4.6rem);
    line-height: 0.92;
  }

  .compact-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .content-section {
    padding: 64px 0;
  }

  .section-grid {
    gap: 32px;
  }

  .section-intro h2 {
    font-size: clamp(2.35rem, 12vw, 3.65rem);
  }

  .section-body p,
  .card p,
  .related-card p,
  .service-list p {
    font-size: 1rem;
  }

  .card,
  .related-card,
  .contact-form {
    padding: 22px;
  }

  .answer-list div,
  .service-list > div {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }

  .answer-list dd {
    font-size: 1.25rem;
  }

  .statement-band .wrap {
    padding: 38px 0;
  }

  .statement-band .motto-line {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 26px;
  }
}

@media (max-width: 460px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .hero-copy,
  .hero-lead {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .hero h1 {
    font-size: clamp(2.72rem, 14.8vw, 3.6rem);
  }

  .compact-hero h1 {
    font-size: clamp(2.2rem, 12.4vw, 3.25rem);
  }

  .card h3,
  .related-card h3,
  .service-list h3 {
    font-size: 1.45rem;
  }

  .cta-block {
    min-height: 132px;
    padding: 22px;
  }
}
