:root {
  --ink: #0c2526;
  --ink-soft: #375153;
  --paper: #f7f8f5;
  --white: #ffffff;
  --teal: #26b8ad;
  --teal-dark: #087f79;
  --blue: #2857d8;
  --mist: #dfeae7;
  --line: #cbd8d5;
  --display: "Segoe UI", Inter, system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--display); font-size: 1rem; line-height: 1.58; }
a { color: inherit; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; background: var(--ink); color: white; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.topline { min-height: 34px; padding: 0 max(1.25rem, calc((100vw - 1240px) / 2)); display: flex; align-items: center; justify-content: flex-start; gap: 1rem; background: var(--ink); color: #dce8e5; font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; }
.topline p { margin: 0; }
.site-header { width: min(1240px, calc(100% - 2.5rem)); min-height: 116px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 3rem; border-bottom: 1px solid var(--line); }
.wordmark { display: block; width: min(290px, 38vw); text-decoration: none; }
.wordmark img { display: block; width: 100%; height: auto; }
nav { display: flex; align-items: center; gap: 1.8rem; }
nav a { text-decoration: none; font-size: .92rem; font-weight: 700; }
nav a:hover, nav a:focus-visible { color: var(--teal-dark); }
.nav-contact { padding: .65rem .9rem; border: 1px solid var(--ink); }

.hero { width: min(1240px, calc(100% - 2.5rem)); margin: 0 auto; padding: clamp(4.5rem, 8vw, 8.5rem) 0; display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.overline, .panel-tag, .mini-title { margin: 0; color: var(--teal-dark); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { max-width: 900px; margin: 1.4rem 0 0; font-size: clamp(3.6rem, 7.3vw, 7.3rem); line-height: .95; letter-spacing: -.065em; font-weight: 650; }
.hero h1 em { color: var(--teal-dark); font-family: var(--serif); font-weight: 400; }
.lead { max-width: 720px; margin: 2rem 0 0; color: var(--ink-soft); font-size: clamp(1.1rem, 1.7vw, 1.32rem); }
.primary-link { display: inline-block; margin-top: 2.2rem; padding: .9rem 1.15rem; background: var(--ink); color: white; text-decoration: none; font-weight: 750; }
.primary-link:hover, .primary-link:focus-visible { background: var(--teal-dark); }
.start-panel { border-top: 5px solid var(--teal); background: var(--white); box-shadow: 0 24px 60px rgba(12,37,38,.08); }
.start-panel > p, .start-panel > h2 { margin-left: 1.5rem; margin-right: 1.5rem; }
.start-panel > p { margin-top: 1.5rem; }
.start-panel h2 { margin-top: .6rem; margin-bottom: 1.4rem; font-size: 1.55rem; line-height: 1.15; letter-spacing: -.03em; }
.start-panel a { padding: 1.15rem 1.5rem; display: grid; grid-template-columns: 2.2rem 1fr; border-top: 1px solid var(--line); text-decoration: none; }
.start-panel a:hover, .start-panel a:focus-visible { background: #eef6f4; }
.start-panel a span { grid-row: span 2; color: var(--teal-dark); font-family: var(--serif); }
.start-panel a strong { font-size: 1rem; }
.start-panel a small { color: var(--ink-soft); }

.services { width: min(1240px, calc(100% - 2.5rem)); margin: 0 auto; padding: 8rem 0; }
.section-heading { display: grid; grid-template-columns: .45fr 1.55fr; gap: 2rem; align-items: start; padding-bottom: 4rem; }
.section-heading h2 { max-width: 920px; margin: 0; font-size: clamp(2.5rem, 4.8vw, 4.9rem); line-height: 1.02; letter-spacing: -.05em; font-weight: 620; }
.service-row { display: grid; grid-template-columns: .42fr 1.18fr .62fr; gap: 2.5rem; padding: 3rem 0; border-top: 1px solid var(--line); scroll-margin-top: 2rem; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-label span { display: block; margin-bottom: 1.5rem; color: var(--teal-dark); font-family: var(--serif); font-size: 2.4rem; }
.service-label p { margin: 0; font-weight: 780; }
.service-copy h3 { margin: 0; max-width: 720px; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.08; letter-spacing: -.04em; }
.service-copy p { max-width: 760px; color: var(--ink-soft); }
.service-outcome { align-self: start; padding: 1.3rem; background: var(--mist); }
.service-outcome > p:not(.mini-title) { color: var(--ink-soft); }
.service-outcome a { font-weight: 780; text-decoration-color: var(--teal-dark); text-underline-offset: .3rem; }

.profile { padding: 7rem max(1.25rem, calc((100vw - 1240px) / 2)); background: var(--ink); color: var(--paper); display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem 7rem; }
.profile-intro h2 { margin: 1rem 0 0; font-size: clamp(2.5rem, 4.7vw, 4.8rem); line-height: 1.03; letter-spacing: -.05em; font-weight: 600; }
.profile .overline { color: #6cdbd2; }
.profile-body { align-self: end; color: #c7d7d4; font-size: 1.05rem; }
.profile-lead { color: white; font-family: var(--serif); font-size: 1.45rem; }
.profile-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin: 2rem 0 0; border-top: 1px solid #365154; }
.profile-facts div { padding: 2rem 1rem 0 0; border-right: 1px solid #365154; }
.profile-facts div:last-child { border-right: 0; padding-left: 2rem; }
.profile-facts div:nth-child(2) { padding-left: 2rem; }
.profile-facts dt { color: #6cdbd2; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; }
.profile-facts dd { margin: .7rem 0 0; color: #c7d7d4; }

.method { width: min(1240px, calc(100% - 2.5rem)); margin: 0 auto; padding: 8rem 0; }
.section-heading.compact { padding-bottom: 3rem; }
.method-list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.method-list li { min-height: 250px; padding: 1.7rem; border-right: 1px solid var(--line); }
.method-list li:first-child { padding-left: 0; }
.method-list li:last-child { border-right: 0; }
.method-list span { display: block; margin-bottom: 4rem; color: var(--teal-dark); font-family: var(--serif); font-size: 1.5rem; }
.method-list strong { font-size: 1.25rem; }
.method-list p { color: var(--ink-soft); }
.scope-note { padding: 4.5rem max(1.25rem, calc((100vw - 1240px) / 2)); background: var(--blue); color: white; }
.scope-note p { max-width: 1080px; margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.25; }

.contact { width: min(1240px, calc(100% - 2.5rem)); margin: 0 auto; padding: 8rem 0; display: grid; grid-template-columns: 1.2fr .8fr; gap: 6rem; align-items: start; }
.contact h2 { max-width: 780px; margin: 1rem 0 0; font-size: clamp(2.6rem, 5vw, 5.2rem); line-height: 1; letter-spacing: -.055em; font-weight: 620; }
.contact-card { padding: 2rem; background: var(--white); border-top: 5px solid var(--teal); display: grid; justify-items: start; gap: .7rem; box-shadow: 0 24px 60px rgba(12,37,38,.08); }
.contact-card p { margin-top: 0; color: var(--ink-soft); }
.contact-card a { font-weight: 780; text-underline-offset: .3rem; }
.contact-card .email { padding: .85rem 1rem; background: var(--ink); color: white; text-decoration: none; overflow-wrap: anywhere; }
.contact-card small { margin-top: .8rem; color: var(--ink-soft); }

footer { padding: 2.4rem max(1.25rem, calc((100vw - 1240px) / 2)); display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; background: var(--white); border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .84rem; }
footer p { margin: .2rem 0; }
footer a { color: inherit; text-underline-offset: .2rem; }
.footer-name { display: grid; }
.footer-name strong { color: var(--ink); font-size: 1rem; }
.footer-notes { text-align: right; max-width: 390px; }
.footer-notes p:last-child { font-size: .74rem; }

@media (max-width: 920px) {
  nav a:not(.nav-contact) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-main { max-width: 780px; }
  .start-panel { max-width: 620px; }
  .section-heading, .service-row, .profile, .contact { grid-template-columns: 1fr; }
  .service-row { gap: 1.3rem; }
  .service-label { display: flex; gap: 1rem; align-items: center; }
  .service-label span { margin: 0; }
  .service-outcome { max-width: 620px; }
  .profile-facts { grid-template-columns: 1fr; }
  .profile-facts div, .profile-facts div:nth-child(2), .profile-facts div:last-child { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid #365154; }
  .method-list { grid-template-columns: repeat(2, 1fr); }
  .method-list li:nth-child(2) { border-right: 0; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-notes { grid-column: 1 / -1; max-width: none; text-align: left; }
}

@media (max-width: 560px) {
  .topline { display: none; }
  .site-header { min-height: 92px; width: calc(100% - 2rem); }
  .wordmark { width: min(205px, 58vw); }
  .nav-contact { padding: .55rem .65rem; }
  .hero { width: calc(100% - 2rem); padding: 4rem 0; gap: 3rem; }
  .hero h1 { font-size: clamp(3.15rem, 15.8vw, 4.7rem); }
  .lead { font-size: 1.05rem; }
  .primary-link { width: 100%; text-align: center; }
  .services, .method, .contact { width: calc(100% - 2rem); padding: 5.5rem 0; }
  .section-heading { padding-bottom: 2.5rem; }
  .service-row { padding: 2.5rem 0; }
  .profile { padding: 5rem 1rem; }
  .method-list { grid-template-columns: 1fr; }
  .method-list li, .method-list li:first-child { min-height: auto; padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .method-list span { margin-bottom: 1.5rem; }
  .scope-note { padding: 3.5rem 1rem; }
  .contact { gap: 3rem; }
  .contact-card { padding: 1.4rem; }
  footer { grid-template-columns: 1fr; padding: 2rem 1rem; }
  .footer-notes { grid-column: auto; }
}

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