/* Self-hosted Latin subsets (SIL Open Font License; see fonts/OFL-*.txt). */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #17221e;
  --muted: #56605b;
  --paper: #f6f7f1;
  --white: #fffefa;
  --line: #dbe1d9;
  --lime: #c7ee65;
  --forest: #193a2c;
  --forest-text: #193a2c;
  --coral: #eb7659;
  --coral-text: #b5482e;
  --coral-display: #d85f42;
  --error: #b3351c;
  --button-dark-bg: #193a2c;
  --button-dark-fg: #fffefa;
  --hero-circle-opacity: 0.55;
  /* Fixed text colors for the lime, coral, and forest panels in both themes. */
  --on-light: #17221e;
  --on-dark: #fffefa;
  --serif: "Space Grotesk", sans-serif;
  --sans: "DM Sans", sans-serif;
}
/* Theme follows the system setting unless a visitor picks one with the header toggle. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #e7ece8;
    --muted: #a5b1aa;
    --paper: #141f1a;
    --white: #0f1714;
    --line: #2a3832;
    --forest-text: #9fd5b3;
    --coral-text: #f08c72;
    --coral-display: #f0886d;
    --error: #ff8a70;
    --button-dark-bg: #e7ece8;
    --button-dark-fg: #0f1714;
    --hero-circle-opacity: 0.1;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e7ece8;
  --muted: #a5b1aa;
  --paper: #141f1a;
  --white: #0f1714;
  --line: #2a3832;
  --forest-text: #9fd5b3;
  --coral-text: #f08c72;
  --coral-display: #f0886d;
  --error: #ff8a70;
  --button-dark-bg: #e7ece8;
  --button-dark-fg: #0f1714;
  --hero-circle-opacity: 0.1;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  color: var(--on-light);
  background: var(--lime);
  padding: 10px 16px;
}
.skip-link:focus {
  top: 16px;
}
.site-header {
  position: absolute;
  width: 100%;
  z-index: 2;
}
.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
}
.brand-accent {
  color: var(--coral);
}
.brand-mark {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}
.site-nav a {
  white-space: nowrap;
}
.site-nav a:not(.nav-contact) {
  color: var(--muted);
}
.site-nav a:hover,
.text-link:hover {
  color: var(--coral);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}
.theme-toggle .icon {
  width: 18px;
  height: 18px;
}
.theme-toggle[aria-pressed="true"] .icon {
  fill: currentColor;
}
.theme-toggle:hover {
  color: var(--coral);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--coral-text);
  outline-offset: 2px;
}
.nav-contact {
  white-space: nowrap;
  padding: 8px 14px;
  color: var(--on-light);
  background: var(--lime);
}
.nav-contact:hover {
  background: #d5fa80;
}
.site-nav a.nav-contact:hover {
  color: var(--on-light);
}
.hero {
  position: relative;
  padding: 174px 0 0;
  overflow: hidden;
  background: var(--white);
}
.hero:after {
  position: absolute;
  right: -90px;
  bottom: -180px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
  opacity: var(--hero-circle-opacity);
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: var(--coral-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--serif);
  letter-spacing: -0.055em;
  line-height: 0.99;
}
h1 {
  max-width: 820px;
  margin-bottom: 30px;
  font-size: clamp(3.7rem, 7vw, 6.65rem);
  line-height: 1.05;
}
h1 em,
h2 em {
  color: var(--coral-display);
  font-style: normal;
}
.hero-lede {
  max-width: 560px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 27px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 52px;
  padding: 12px 19px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  color: var(--on-light);
  background: var(--lime);
}
.button-primary:hover {
  background: #d5fa80;
}
.button-dark {
  color: var(--button-dark-fg);
  background: var(--button-dark-bg);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  font-size: 14px;
  font-weight: 700;
}
.proof-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 40px;
  margin: 90px 0 0;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}
.proof-strip li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.proof-strip .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.proof-strip a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.proof-strip a:hover {
  color: var(--coral);
}
.proof-more {
  position: relative;
  z-index: 1;
  margin: -12px 0 0;
  padding-bottom: 40px;
}
.section {
  padding: 96px 0;
}
.services-section {
  background: var(--white);
}
.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 65px;
}
.section-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}
.section-note {
  margin: 28px 0 0;
  color: var(--muted);
}
h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.section-icon {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
}
.problems-section {
  background: var(--paper);
}
.problem-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.problem-list li {
  position: relative;
  padding: 18px 0 18px 32px;
  border-top: 1px solid var(--line);
}
.problem-list .icon {
  position: absolute;
  top: 21px;
  left: 0;
  width: 18px;
  height: 18px;
  color: var(--coral);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  padding: 35px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.service-card-featured {
  color: var(--on-dark);
  background: var(--forest);
  border-color: var(--forest);
}
.card-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
  color: var(--coral-text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.card-number .icon {
  width: 30px;
  height: 30px;
}
.service-card-featured .card-number {
  color: var(--lime);
}
.service-card h3 {
  max-width: 330px;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 27px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.service-card p {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
}
.service-card-featured p {
  color: #c0cec6;
}
.stages-section {
  background: var(--paper);
}
.stage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stage-grid > div {
  padding-top: 24px;
  border-top: 2px solid var(--forest-text);
}
.stage-grid .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  color: var(--forest-text);
}
.stage-grid h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.03em;
}
.stage-grid p {
  margin: 0;
  color: var(--muted);
}
.stage-grid .text-link {
  display: inline-block;
  margin-top: 12px;
}
.approach-section {
  color: var(--on-light);
  background: var(--coral);
}
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.approach-note {
  max-width: 360px;
  margin: 30px 0 32px;
}
.approach-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  list-style: none;
}
.approach-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 25px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.approach-item > span {
  display: grid;
  align-content: start;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}
.approach-item h3 {
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: -0.03em;
}
.approach-item p {
  max-width: 350px;
  margin: 0;
}
.contact-section {
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
}
.contact-intro h2 {
  margin-bottom: 25px;
}
.contact-intro .section-icon {
  color: var(--coral);
}
.contact-intro > p {
  max-width: 330px;
  color: var(--muted);
}
.contact-form {
  display: grid;
  gap: 24px;
}
.field-row {
  display: grid;
  gap: 7px;
}
.field-row label {
  font-size: 14px;
  font-weight: 700;
}
.field-hint {
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.field-row input,
.field-row select,
.field-row textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #aebbb3;
  border-radius: 0;
  padding: 9px 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}
/* The option list is drawn by the browser; give it theme colors explicitly so a
   transparent select doesn't open as light text on a default white list. */
.field-row select,
.field-row option {
  background-color: var(--white);
  color: var(--ink);
}
.field-row input:focus,
.field-row select:focus,
.field-row textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 2px 0 var(--coral);
}
.turnstile-slot:empty {
  display: none;
}
.contact-form .button {
  justify-self: start;
  margin-top: 6px;
}
.form-privacy {
  margin: 0;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.form-note {
  margin: -10px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.form-note.error {
  color: var(--error);
}
.form-note.success {
  color: var(--forest-text);
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.site-footer {
  color: #bbc9c0;
  background: var(--forest);
  font-size: 14px;
}
.footer-inner {
  min-height: 105px;
}
.site-footer .brand {
  color: var(--on-dark);
}
.site-footer p {
  margin: 0;
}
.resume-page {
  background: var(--paper);
}
.resume-page .site-header {
  position: relative;
  background: var(--white);
}
.resume-page .nav-contact {
  font-size: 14px;
  font-weight: 600;
}
.resume-document {
  padding: 88px 0 120px;
}
.resume-document-inner {
  max-width: 1040px;
}
.back-link {
  display: inline-block;
  margin-bottom: 65px;
  color: var(--coral-text);
  font-size: 14px;
  font-weight: 700;
}
.resume-document article {
  padding: 52px 64px 72px;
  background: var(--white);
  border: 1px solid var(--line);
}
.resume-document h1 {
  max-width: none;
  margin-bottom: 45px;
  font-size: clamp(3rem, 7vw, 5.5rem);
}
.resume-document article h2 {
  margin: 52px 0 20px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: var(--forest-text);
  font-size: 30px;
  letter-spacing: -0.04em;
}
.resume-document article h3 {
  margin: 36px 0 6px;
  color: var(--ink);
  font-size: 20px;
}
.resume-document article h4 {
  margin: 26px 0 4px;
  color: var(--forest-text);
  font-size: 16px;
}
.resume-document article p,
.resume-document article li {
  color: var(--muted);
  font-size: 15px;
}
.resume-document article p:first-of-type {
  color: var(--ink);
  font-size: 17px;
}
.resume-document article ul {
  padding-left: 22px;
}
.resume-document article li {
  margin: 7px 0;
}
.resume-document article a {
  color: var(--coral-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1100px) {
  .site-nav {
    gap: 22px;
  }
}
@media (max-width: 1000px) {
  .stage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .site-nav a:not(.nav-contact) {
    display: none;
  }
}
@media (max-width: 760px) {
  .container {
    width: min(100% - 36px, 560px);
  }
  .site-header {
    position: relative;
    background: var(--white);
  }
  .header-inner {
    gap: 12px;
    min-height: 72px;
  }
  .site-header .brand {
    font-size: 15px;
    white-space: nowrap;
  }
  .site-nav {
    gap: 15px;
    font-size: 14px;
  }
  .header-actions {
    gap: 12px;
  }
  .site-nav a:not(.nav-contact) {
    display: none;
  }
  .hero {
    padding: 80px 0 0;
  }
  .section-heading,
  .problem-list,
  .stage-grid,
  .approach-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .section-heading {
    gap: 20px;
  }
  .problem-list {
    gap: 0;
  }
  .stage-grid {
    gap: 30px;
  }
  .proof-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 50px;
    padding: 20px 0 30px;
  }
  .proof-more {
    margin-top: -14px;
    padding-bottom: 30px;
  }
  .section {
    padding: 64px 0;
  }
  .section-heading {
    margin-bottom: 40px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 27px;
  }
  .card-number {
    margin-bottom: 30px;
  }
  .card-number .icon {
    width: 26px;
    height: 26px;
  }
  .approach-grid {
    gap: 35px;
  }
  .contact-grid {
    gap: 40px;
  }
  .footer-inner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding: 25px 0;
  }
  .footer-inner p:nth-child(2) {
    width: 100%;
    order: 3;
  }
}
@media (max-width: 760px) {
  .resume-page .header-inner {
    align-items: flex-start;
    gap: 18px;
  }
  .resume-page .nav-contact {
    font-size: 14px;
    text-align: right;
  }
  .resume-document {
    padding: 55px 0 75px;
  }
  .back-link {
    margin-bottom: 35px;
  }
  .resume-document article {
    padding: 34px 24px 45px;
  }
  .resume-document article h2 {
    font-size: 25px;
  }
}
@media (max-width: 479px) {
  .site-header .brand span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}
