@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-400.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-500.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-600.ttf") format("truetype");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/source-sans-3-700.ttf") format("truetype");
}

:root {
  --ink: #063D5E;
  --ink-2: #315c69;
  --mint: #C1E0DF;
  --mint-soft: #EDF6F4;
  --paper: #FBFAF6;
  --white: #FFFFFF;
  --stone: #F3F5F1;
  --sage: #7C9B91;
  --rose: #8E6F66;
  --line: rgba(6, 61, 94, 0.11);
  --shadow: 0 14px 34px rgba(6, 61, 94, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 82px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body.drawer-open {
  overflow: hidden;
}

h1,
h2,
h3,
p {
  margin: 0;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

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

button {
  font: inherit;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

[id] {
  scroll-margin-top: 96px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: min(285px, 54vw);
  max-height: 54px;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
}

.nav-link {
  padding: 8px 0;
  border-radius: 0;
  color: var(--ink);
}

.nav-link:hover,
.nav-link.active {
  background: transparent;
  color: var(--sage);
}

.nav-cta {
  padding: 9px 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-cta:hover,
.nav-cta.active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hero {
  position: relative;
  padding: clamp(50px, 7vw, 82px) 0 clamp(48px, 5vw, 64px);
  background: var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 320px);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}

.hero-grid > *,
.offer-layout > *,
.practice-grid > *,
.cost-layout > *,
.contact-grid > * {
  min-width: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--sage);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.35rem, 4.2vw, 4.05rem);
  line-height: 1.08;
  font-weight: 600;
}

.lead {
  max-width: 650px;
  margin-top: 16px;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.45vw, 1.16rem);
  line-height: 1.62;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(6, 61, 94, 0.26);
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.button.ghost {
  color: var(--ink);
  background: transparent;
}

.hero-visual {
  width: 100%;
  max-width: 360px;
  margin: 0;
  justify-self: end;
}

.visual-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--mint-soft), var(--paper));
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(10, 45, 58, 0.06);
}

.visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(251, 250, 246, 0.06), rgba(251, 250, 246, 0.22));
  pointer-events: none;
}

.visual-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-crop img {
  object-position: 56% 45%;
}

.hero-visual figcaption {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.4;
}

.section {
  padding: clamp(72px, 8vw, 104px) 0;
  background: var(--white);
}

.section.soft {
  background: var(--stone);
}

.flow-section {
  background: #F6FAFC;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow-section .section-head {
  margin-bottom: 42px;
}

.muted-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  position: relative;
}

.section-head.compact {
  margin-bottom: 26px;
}

.section-teaser {
  max-width: 620px;
  margin-top: 14px;
  color: var(--sage);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.5;
}

.section-intro {
  max-width: 760px;
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 1.08rem;
  line-height: 1.65;
}

.offer-copy p + p {
  margin-top: 12px;
}

.offer-copy p:first-child {
  color: var(--ink);
  font-weight: 600;
}

.section-head h2,
.practice-copy h2,
.contact-grid h2 {
  font-size: clamp(2rem, 3.25vw, 3rem);
  line-height: 1.12;
  font-weight: 600;
}

.offer-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: start;
}

.offer-layout .section-head {
  position: sticky;
  top: 118px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  max-width: 760px;
  border-top: 1px solid var(--line);
}

.service-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
  min-height: 0;
  padding: 26px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.service-card.featured {
  background: transparent;
}

.offer-number {
  display: block;
  padding-top: 5px;
  color: var(--sage);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.line-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--ink);
  background: rgba(193, 224, 223, 0.34);
  border: 1px solid rgba(6, 61, 94, 0.12);
  border-radius: 14px;
}

.line-icon.small {
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
}

.line-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: clamp(1.28rem, 1.75vw, 1.62rem);
  line-height: 1.16;
  font-weight: 600;
}

.service-card-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 18px;
  align-content: start;
  align-items: center;
  min-width: 0;
}

.service-card-copy p {
  grid-column: 1;
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.45;
}

.more-button {
  display: inline-flex;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  margin-top: 0;
  padding: 0 0 2px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font-weight: 700;
  cursor: pointer;
}

.more-button:hover,
.more-button:focus {
  color: var(--sage);
  outline: none;
}

.concern-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 6vw, 72px);
  align-items: start;
}

.concern-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(20px, 4vw, 42px);
  row-gap: 0;
}

.concern-copy {
  margin-top: 18px;
}

.concern-copy p {
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.66;
}

.concern-copy p + p {
  margin-top: 12px;
}

.concern-copy .method-note {
  padding-left: 14px;
  border-left: 2px solid rgba(124, 155, 145, 0.55);
  color: var(--ink);
  font-weight: 600;
}

.concern-list span {
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: 12px 0;
  background: transparent;
  font-weight: 600;
}

.concern-list span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-right: 12px;
  background: var(--sage);
  border-radius: 50%;
}

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

.practice-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.practice-copy p {
  max-width: 620px;
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 1.08rem;
}

.practice-copy .kicker {
  margin-top: 0;
  color: var(--sage);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
}

.text-link {
  color: var(--ink);
  font-weight: 400;
  text-decoration: none;
}

.team-panel .inline-detail .text-link {
  display: inline;
  margin-top: 0;
  padding-bottom: 0;
  border-bottom: 0;
  font-weight: 400;
}

.text-link:hover,
.text-link:focus {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.team-panel {
  display: grid;
  gap: 14px;
}

.team-panel article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: none;
}

.team-panel article.job-card {
  background: var(--paper);
  box-shadow: none;
}

.team-panel span {
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-panel h3 {
  margin-top: 10px;
  font-size: 1.55rem;
  font-weight: 600;
}

.team-panel p {
  margin-top: 8px;
  color: var(--ink-2);
}

.team-panel a {
  display: inline-flex;
  margin-top: 16px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-weight: 700;
}

.steps,
.cost-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cost-cards article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.process-steps {
  position: relative;
  gap: clamp(22px, 4vw, 48px);
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 44px;
  right: 44px;
  height: 1px;
  background: linear-gradient(90deg, rgba(124, 155, 145, 0.18), rgba(124, 155, 145, 0.72), rgba(124, 155, 145, 0.18));
}

.process-steps article {
  position: relative;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.step-marker {
  position: relative;
  z-index: 1;
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(124, 155, 145, 0.45);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(6, 61, 94, 0.06);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.steps h3,
.cost-cards h3 {
  font-size: 1.34rem;
  font-weight: 600;
}

.steps .step-subtitle {
  margin-top: 6px;
  color: var(--sage);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.cost-cards h3 {
  min-height: 2.8em;
  line-height: 1.22;
}

.steps p,
.cost-cards p {
  margin-top: 10px;
  color: var(--ink-2);
}

.steps .step-subtitle + p {
  margin-top: 12px;
}

.inline-detail[hidden] {
  display: none;
}

.inline-detail {
  grid-column: 2 / -1;
  margin-top: -6px;
  padding: 0 0 8px;
}

.inline-detail p {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.5;
}

.inline-detail p + p {
  margin-top: 12px;
}

.cost-cards p {
  font-size: 0.98rem;
  line-height: 1.62;
}

.cost-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.cost-note {
  max-width: 760px;
  margin-top: 18px;
  color: var(--ink-2);
}

.cost-note a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-section {
  padding: clamp(72px, 9vw, 108px) 0;
  color: var(--ink);
  background: #F7F3F0;
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(30px, 6vw, 76px);
  align-items: end;
}

.contact-section .kicker {
  color: var(--sage);
}

.contact-grid p {
  max-width: 520px;
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 1.12rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.contact-section .button.primary {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.contact-section .button.ghost {
  color: var(--ink);
  border-color: rgba(6, 61, 94, 0.26);
}

.site-footer {
  padding: 54px 0;
  color: var(--white);
  background: #132F44;
  border-top: 1px solid rgba(251, 250, 247, 0.16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.9fr 0.7fr;
  gap: 36px;
  align-items: start;
}

.site-footer h4,
.footer-brand strong,
.site-footer span,
.site-footer a {
  display: block;
}

.site-footer h4 {
  margin: 0 0 14px;
  color: rgba(251, 250, 247, 0.62);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-brand strong {
  color: var(--white);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.1;
}

.footer-brand span {
  margin-top: 8px;
}

.site-footer span,
.site-footer a {
  color: rgba(251, 250, 247, 0.82);
  font-size: 16px;
  line-height: 1.8;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 0;
}

.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal span,
.footer-legal a {
  color: rgba(251, 250, 247, 0.58);
  font-size: 14px;
  line-height: 1.4;
}

.footer-legal a {
  display: inline-block;
}

.legal {
  padding: 56px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.legal-wrap {
  max-width: 860px;
}

.legal h1,
.legal-wrap > h2:first-child {
  margin-bottom: 28px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}

.legal h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 600;
  color: var(--ink);
}

.legal h1 + h2,
.legal-wrap > h2:first-child + p {
  margin-top: 0;
}

.legal-wrap > h2:first-child {
  margin-top: 0;
}

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

.legal p + p {
  margin-top: 14px;
}

.drawer-layer[hidden],
.drawer-content[hidden] {
  display: none;
}

.drawer-layer {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(6, 61, 94, 0.28);
  border: 0;
  cursor: pointer;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(560px, 100%);
  height: 100%;
  overflow-y: auto;
  padding: clamp(30px, 5vw, 48px);
  background: var(--paper);
  box-shadow: -20px 0 50px rgba(6, 61, 94, 0.16);
}

.drawer-close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: -8px -8px 18px 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.drawer-content {
  clear: both;
}

.drawer-content h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
}

.drawer-content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.drawer-content p,
.drawer-content li {
  color: var(--ink-2);
  font-size: 1.04rem;
  line-height: 1.68;
}

.drawer-content p + p {
  margin-top: 16px;
}

.drawer-content ul {
  display: grid;
  gap: 8px;
  padding-left: 1.2rem;
  margin: 0;
}

@media (max-width: 900px) {
  body {
    padding-top: 76px;
  }

  .header-inner {
    min-height: 76px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    z-index: 21;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.show {
    display: flex;
  }

  .menu-state:checked ~ .nav-menu {
    display: flex;
  }

  .nav-link {
    border-radius: 0;
    border-bottom: 0;
  }

  .nav-cta {
    margin-top: 10px;
    border-radius: 999px;
    text-align: center;
  }

  .hero {
    background: var(--paper);
  }

  .hero-grid,
  .offer-layout,
  .concern-layout,
  .practice-grid,
  .cost-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .offer-layout {
    gap: 32px;
  }

  .offer-layout .section-head {
    position: static;
  }

  .hero-grid {
    align-items: start;
  }

  .hero-visual {
    max-width: 320px;
    justify-self: start;
  }

  .service-grid,
  .concern-list,
  .steps,
  .cost-cards {
    grid-template-columns: 1fr;
  }

  .process-steps {
    gap: 26px;
  }

  .process-steps::before {
    display: none;
  }

  .process-steps article {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .process-steps h3,
  .process-steps p {
    grid-column: 1;
  }

  .step-marker {
    grid-row: auto;
    justify-self: start;
    margin-bottom: 12px;
  }

  .service-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .cost-cards h3 {
    min-height: 0;
  }

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

@media (min-width: 700px) and (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    align-items: center;
  }

  .hero-visual {
    max-width: 300px;
    justify-self: end;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1120px);
  }

  .brand img {
    width: min(235px, 62vw);
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: 2.48rem;
  }

  .lead {
    font-size: 1.06rem;
  }

  .hero-visual {
    max-width: 220px;
  }

  .hero-visual figcaption {
    font-size: 0.9rem;
  }

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

  .service-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 20px 0;
  }

  .service-card-copy {
    grid-template-columns: minmax(0, 1fr);
  }

  .more-button {
    grid-column: 1;
    grid-row: auto;
    align-self: flex-start;
    margin-top: 14px;
  }

  .inline-detail {
    grid-column: 1 / -1;
  }

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

  .site-footer {
    padding: 42px 0;
  }

  .footer-legal {
    margin-top: 24px;
  }
}
