:root {
  --ink: #0b0b0c;
  --ink-soft: #2a2a2e;
  --paper: #f6f3ec;
  --paper-2: #ece7dc;
  --white: #fffcf7;
  --line: rgba(11, 11, 12, 0.12);
  --muted: #5c5a55;
  --green: #3db54a;
  --orange: #e87722;
  --blue: #1f4ead;
  --radius: 18px;
  --header: 88px;
  --shadow: 0 24px 60px rgba(11, 11, 12, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  max-width: 100%;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

figure {
  margin: 0;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.05rem, 8vw, 5.1rem);
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(1.7rem, 5.4vw, 3.3rem);
  overflow-wrap: break-word;
}

h3 {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
}

.sr-only,
.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--white);
  padding: 8px 12px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 12px;
}

.muted {
  color: var(--muted);
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 12, 0.92);
  color: #fff;
  backdrop-filter: blur(16px);
  min-height: var(--header);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.brand strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.15rem;
}

.site-nav {
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: 10px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 600;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: transparent;
}

.btn-header,
.btn-primary {
  background: var(--green);
  color: #06210a;
}

.btn-full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: end;
  padding: 72px 0 56px;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.92) 0%, rgba(11, 11, 12, 0.72) 48%, rgba(11, 11, 12, 0.42) 100%),
    linear-gradient(180deg, rgba(11, 11, 12, 0.28), rgba(11, 11, 12, 0.78));
}

.hero-grid {
  position: absolute;
  inset: auto -40px 8% auto;
  width: min(420px, 48vw);
  height: 320px;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.85;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.tile {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 28px;
}

.tile-g {
  background: linear-gradient(#86e06a, var(--green));
  top: 0;
  left: 18px;
  transform: rotate(-28deg);
}

.tile-o {
  background: linear-gradient(#ffb15a, var(--orange));
  top: 8px;
  right: 28px;
  transform: rotate(28deg);
}

.tile-b {
  background: linear-gradient(#5d86e8, var(--blue));
  bottom: 18px;
  left: 38%;
  transform: rotate(45deg);
}

.lede {
  font-size: 1.2rem;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
}

.tagline {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 36px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.pill-row li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.photo-card {
  position: sticky;
  top: calc(var(--header) + 20px);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.photo-card figcaption {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 14px 18px;
  font-size: 0.92rem;
}

.callout {
  background: var(--ink);
  color: #fff;
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.callout p {
  margin: 0;
  font-size: 1.12rem;
}

.subhead {
  margin: 56px 0 12px;
}

.chip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
}

.chip-grid li,
.bullet-cols li,
.case ul li {
  list-style: none;
}

.chip-grid li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

.service {
  display: grid;
  grid-template-columns: 70px 220px 1fr;
  gap: 22px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.service-photo {
  border-radius: 16px;
  overflow: hidden;
  height: 160px;
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-index {
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
  color: var(--orange);
}

.label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--muted);
}

.bullet-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 18px;
  margin: 8px 0 18px;
}

.bullet-cols li::before,
.chip-grid li::before,
.case ul li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--green);
  transform: rotate(45deg);
}

.outcome {
  background: var(--paper);
  border-left: 4px solid var(--blue);
  padding: 14px 16px;
  border-radius: 0 12px 12px 0;
}

.cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.case {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  padding: 0 0 28px;
}

.case-photo img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.case > :not(.case-photo) {
  margin-left: 28px;
  margin-right: 28px;
}

.case-kicker {
  margin-top: 22px;
}

.case-kicker {
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.case ul {
  display: grid;
  gap: 6px;
}

.case-result {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.stat {
  font-family: "Instrument Serif", serif;
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.section-bg {
  position: absolute;
  inset: 0;
}

.section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.55), rgba(11, 11, 12, 0.88));
}

.section-dark .wrap {
  position: relative;
}

.on-dark .eyebrow {
  color: #86e06a;
}

.lede-light {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.15rem;
}

.why-grid,
.audience,
.focus {
  display: grid;
  gap: 16px;
}

.why-grid {
  grid-template-columns: repeat(3, 1fr);
}

.why-grid article,
.audience article,
.focus article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px;
}

.audience,
.focus {
  grid-template-columns: repeat(2, 1fr);
}

.audience article,
.focus article {
  background: var(--white);
  border-color: var(--line);
}

.audience article {
  overflow: hidden;
  padding: 0 0 22px;
}

.audience article img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  margin-bottom: 16px;
}

.audience article h3,
.audience article p {
  padding-inline: 22px;
}

.stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  list-style: none;
  counter-reset: none;
}

.stages li {
  background: var(--white);
  border-radius: 18px;
  padding: 20px 16px;
  border-top: 4px solid var(--green);
}

.stages li:nth-child(2) {
  border-top-color: var(--orange);
}

.stages li:nth-child(3) {
  border-top-color: var(--blue);
}

.stages li:nth-child(4) {
  border-top-color: var(--green);
}

.stages li:nth-child(5) {
  border-top-color: var(--orange);
}

.stages span {
  font-family: "Instrument Serif", serif;
  font-size: 1.4rem;
  color: var(--muted);
}

.flow {
  margin-top: 28px;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--muted);
}

.section-cta {
  background:
    radial-gradient(circle at 90% 10%, rgba(61, 181, 74, 0.18), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(31, 78, 173, 0.16), transparent 30%),
    var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.contact-photo {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}

.contact-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.contact-form {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.field,
.field-row {
  margin-bottom: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  font-size: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 12px 14px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.fineprint {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 10px 0 0;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
  pointer-events: none;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.form-status.error {
  background: #fdece8;
  color: #8a2b12;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 1100px) {
  .service {
    grid-template-columns: 56px 180px 1fr;
  }

  .bullet-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .stages {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: calc(var(--header) + 8px);
    left: 16px;
    right: 16px;
    background: #161618;
    flex-direction: column;
    padding: 12px;
    border-radius: 16px;
    gap: 4px;
    z-index: 60;
    box-shadow: var(--shadow);
    max-height: calc(100svh - var(--header) - 24px);
    overflow: auto;
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 10px;
  }

  .site-nav.open {
    display: flex;
  }
}

@media (max-width: 800px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: 0;
    padding: 48px 0 40px;
    align-items: center;
  }

  .hero-grid {
    display: none;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(11, 11, 12, 0.55), rgba(11, 11, 12, 0.88));
  }

  .lede,
  .tagline {
    font-size: 1.05rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .split,
  .cases,
  .audience,
  .focus,
  .contact-grid,
  .chip-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .service {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-photo,
  .photo-card img,
  .contact-photo img,
  .case-photo img,
  .audience article img {
    height: 200px;
  }

  .photo-card {
    position: static;
  }

  .callout,
  .contact-form {
    padding: 20px;
  }

  .case > :not(.case-photo) {
    margin-left: 18px;
    margin-right: 18px;
  }

  .stages {
    grid-template-columns: 1fr 1fr;
  }

  .flow {
    letter-spacing: 0.02em;
    line-height: 1.6;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --header: 76px;
  }

  body {
    font-size: 16px;
  }

  .wrap {
    width: min(1120px, calc(100% - 24px));
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 1.05rem;
  }

  .brand small {
    font-size: 0.95rem;
  }

  .btn-header {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .section {
    padding: 48px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .subhead {
    margin-top: 36px;
  }

  .why-grid,
  .stages,
  .bullet-cols {
    grid-template-columns: 1fr;
  }

  .stat {
    font-size: 1.9rem;
  }

  .pill-row li {
    font-size: 0.76rem;
  }
}
