/* Solid Teams — shared mobile-first styles. Green / cream reference direction. */
@layer reset, tokens, base, components, sections, responsive;

@font-face {
  font-family: "Exo 2";
  src: url("../fonts/exo-2/Exo2-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+D, U+20-7E, U+A0-AC, U+AE-148, U+14A-17E, U+18F, U+192, U+1A0-1A1, U+1AF-1B0, U+1C4-1CC, U+1E6-1E7, U+1EA-1EB, U+1FA-21B, U+22A-22D, U+230-233, U+237, U+259, U+2B9-2BC, U+2BE-2BF, U+2C6-2CC, U+2D8-2DD, U+300-304, U+306-30C, U+30F, U+311-312, U+31B, U+323-324, U+326-328, U+32E, U+331, U+394, U+3A9, U+3BC, U+3C0, U+400-45F, U+462-463, U+46A-46B, U+472-475, U+48A-4FF, U+510-513, U+51A-51D, U+524-529, U+52E-52F, U+1E08-1E09, U+1E0C-1E0F, U+1E14-1E17, U+1E1C-1E1D, U+1E20-1E21, U+1E24-1E25, U+1E2A-1E2B, U+1E2E-1E2F, U+1E36-1E37, U+1E3A-1E3B, U+1E42-1E49, U+1E4C-1E53, U+1E5A-1E5B, U+1E5E-1E69, U+1E6C-1E6F, U+1E78-1E7B, U+1E80-1E85, U+1E8E-1E8F, U+1E92-1E93, U+1E97, U+1E9E, U+1EA0-1EF9, U+2007-200B, U+2010, U+2012-2015, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2032-2033, U+2039-203A, U+2044, U+2070, U+2074-2079, U+2080-2089, U+20A1, U+20A3-20A4, U+20A6-20A7, U+20A9, U+20AB-20AD, U+20B1-20B2, U+20B5, U+20B9-20BA, U+20BC-20BD, U+2113, U+2116, U+2122, U+2126, U+212E, U+2202, U+2205-2206, U+220F, U+2211-2212, U+2215, U+2219-221A, U+221E, U+222B, U+2248, U+2260, U+2264-2265, U+25CA, U+FB01-FB02, U+1FA9D;
}
@font-face {
  font-family: "Exo 2";
  src: url("../fonts/exo-2/Exo2-Variable-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-024F, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20AC, U+2190-21FF;
}
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
  /* Keep native field validation visible during rapid keyboard navigation. */
  html:has(.contact-form:focus-within) { scroll-behavior: auto; scroll-padding-top: 3rem; }
  body, h1, h2, h3, p, ul, ol, figure { margin: 0; }
  ul, ol { padding: 0; }
  img { display: block; max-width: 100%; }
  button, input, textarea, select { font: inherit; }
  [hidden] { display: none !important; }
}
@layer tokens {
  :root {
    --paper: #f1eedf;
    --surface: #f8f5e9;
    --ink: #292f20;
    --ink-soft: #414735;
    --muted: #626551;
    --line: #d7d3c0;
    --forest: #333d24;
    --forest-deep: #252e1c;
    --forest-black: #202819;
    --gold: #765c2e;
    --gold-soft: #d8c69e;
    --cream: #f5f0de;
    --white: #fffdf4;
    --font: "Exo 2", "Segoe UI", Arial, sans-serif;
    --container: 72rem;
    --section-space: clamp(3rem, 6.2vw, 5.75rem);
  }
}
@layer base {
  body { background: var(--forest-black); color: var(--ink-soft); font-family: var(--font); font-size: 1rem; line-height: 1.7; }
  .site-frame { width: 100%; background: var(--paper); }
  a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 0.07em; }
  :focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
  h1, h2, h3 { color: var(--ink); font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; hyphens: auto; overflow-wrap: break-word; text-wrap: balance; }
  h1 { font-size: clamp(2.6rem, 4.5vw, 4.25rem); }
  h2 { font-size: clamp(1.9rem, 3.1vw, 2.8rem); }
  h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); }
  p { text-wrap: pretty; }
  section[id] { scroll-margin-top: 1.5rem; }
  .container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
  .section { padding-block: var(--section-space); }
  .eyebrow { color: var(--gold); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; line-height: 1.5; text-transform: uppercase; }
  .skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: 0.8rem 1rem; background: var(--white); color: var(--ink); transform: translateY(-180%); }
  .skip-link:focus { transform: translateY(0); }
  .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
}
@layer components {
  .site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: var(--surface); }
  .reading-progress { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; pointer-events: none; }
  .reading-progress span { display: block; width: 100%; height: 100%; background: var(--gold); transform: scaleX(var(--reading-progress, 0)); transform-origin: left; }
  .header-inner { display: grid; gap: 0.65rem; padding-block: 1rem; }
  .wordmark { display: inline-flex; max-width: 100%; min-height: 2.75rem; align-items: center; justify-self: start; color: var(--ink); font-size: 1.45rem; font-weight: 550; letter-spacing: 0.09em; text-decoration: none; text-transform: uppercase; white-space: normal; }
  .wordmark-name { min-width: 0; overflow-wrap: anywhere; }
  .wordmark-dot { color: var(--gold); }
  .brand-mark { flex-shrink: 0; width: 2rem; height: auto; margin-right: 0.7rem; }
  .primary-nav { display: flex; flex-wrap: wrap; min-width: 0; max-width: 100%; gap: 0.15rem; }
  .primary-nav a { display: inline-flex; flex: 1 1 auto; max-width: 100%; min-height: 2.75rem; align-items: center; justify-content: center; gap: 0.3rem; padding: 0.5rem 0.25rem; font-size: 0.875rem; font-weight: 550; text-decoration: none; }
  .primary-nav a:hover, .primary-nav a[aria-current] { text-decoration: underline; }
  .primary-nav a[aria-current] { text-underline-offset: 0.5rem; text-decoration-color: var(--gold); }
  .primary-nav .nav-contact { border: 1px solid var(--gold); background: var(--gold); color: var(--white); }
  .primary-nav .nav-contact[aria-current] { text-decoration-color: currentColor; }
  .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; }
  .button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; gap: 1.2rem; padding: 0.75rem 1.2rem; border: 1px solid var(--forest); background: var(--forest); color: var(--white); font-size: 0.9375rem; font-weight: 550; line-height: 1.4; text-decoration: none; }
  .button:hover { background: var(--forest-deep); }
  button.button { cursor: pointer; }
  .button:disabled { cursor: not-allowed; opacity: 0.65; }
  .text-link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 0.8rem; color: var(--ink); font-size: 0.9375rem; font-weight: 550; }
  .text-link:hover { color: var(--gold); }
  .section-heading { display: grid; gap: 1.25rem; margin-bottom: 2.5rem; }
  .section-heading h2 { margin-top: 0.75rem; }
  .section-heading > p { max-width: 30rem; color: var(--muted); }
}
@layer sections {
  /* Local legal review uses the same typography at a readable line length. */
  .legal-document { max-width: 54rem; }
  .legal-document h1 { font-size: clamp(2rem, 6vw, 3.75rem); }
  .legal-document h2 { margin-block: 2.5rem 1rem; font-size: clamp(1.25rem, 3vw, 1.75rem); }
  .legal-document p, .legal-document ul { margin-block: 1rem; }
  .legal-document ul { padding-left: 1.25rem; }
  .legal-document a { overflow-wrap: anywhere; }
  .legal-review-note { padding: 1rem; border: 1px solid var(--line); background: var(--surface); }
  /* One continuous landscape. The local scrim protects copy, not the focal point. */
  .hero { position: relative; isolation: isolate; padding-block: 0; background: var(--paper); }
  .hero-grid { position: relative; padding-block: 2.75rem 20rem; }
  .hero-copy { max-width: 34rem; }
  .hero-copy h1 { margin-top: 1.25rem; }
  .hero-copy h1 span { color: var(--forest); }
  .hero-lead { max-width: 29rem; margin-top: 1.5rem; color: var(--ink); font-size: 1.2rem; font-weight: 500; line-height: 1.55; }
  .hero-copy > p:last-of-type { margin-top: 0.9rem; }
  .hero-copy .actions { margin-top: 1.75rem; }
  .hero-copy .text-link { font-size: 0.875rem; }
  .hero-landscape { position: absolute; z-index: -1; inset: auto 0 0; height: 26rem; overflow: hidden; }
  .hero-landscape::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--paper) 0%, rgb(241 238 223 / 85%) 13%, rgb(241 238 223 / 0%) 48%); }
  .hero-landscape img { width: 100%; height: 100%; object-fit: cover; object-position: 73% center; }
  .experience-strip { padding-block: clamp(2.75rem, 5vw, 4.25rem); border-bottom: 1px solid var(--line); background: #fff; }
  .experience-inner { display: grid; justify-items: center; gap: 2rem; text-align: center; }
  .experience-inner h2 { color: var(--muted); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
  .client-slider { width: min(100%, 52rem); min-width: 0; }
  .client-logos { display: flex; align-items: center; gap: 2rem; width: 100%; padding-block: 0.75rem 1rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; list-style: none; }
  .client-logos::-webkit-scrollbar { display: none; }
  .client-logos li { display: grid; flex: 1 0 min(100%, 14rem); min-width: 0; min-height: 7rem; place-items: center; scroll-snap-align: start; }
  .client-logos img { width: 13rem; max-width: calc(100% - 2rem); height: 5rem; object-fit: contain; }
  .client-logos[data-dragging] { scroll-snap-type: none; cursor: grabbing; user-select: none; }
  .services { border-top: 1px solid var(--line); background: var(--surface); }
  .service-grid { display: grid; gap: 1.25rem; }
  .service-card { min-width: 0; background: var(--paper); }
  .service-heading { display: flex; min-width: 0; }
  /* Option A: sharp, self-contained vector cards; no image scrims or cropped text. */
  .service-cover { position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; padding: 1.5rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; text-align: left; cursor: pointer; scroll-margin-top: 1rem; }
  .service-cover:disabled { cursor: default; }
  .service-cover:disabled .service-toggle { display: none; }
  .service-cover:disabled .service-action { display: none; }
  .service-cover:hover:not(:disabled) { border-color: var(--gold); }
  .service-cover:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
  .service-card--featured .service-cover { background: var(--forest); color: var(--cream); border-color: var(--forest); }
  .service-card--featured .service-cover:hover:not(:disabled) { border-color: var(--gold-soft); }
  .service-visual { position: relative; display: grid; width: 100%; min-height: 11.5rem; place-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .service-number { position: absolute; top: 0; left: 0; color: var(--muted); font-size: 0.875rem; font-weight: 400; letter-spacing: 0.06em; }
  .service-graphic { display: block; width: min(100%, 20rem); height: 10rem; color: var(--forest); overflow: visible; }
  .glyph-accent { fill: var(--gold); }
  .service-cover-title { display: block; max-width: 100%; margin-top: 1.5rem; color: inherit; font-size: clamp(1.375rem, 2.1vw, 1.8rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.025em; hyphens: none; overflow-wrap: anywhere; }
  .service-summary { display: block; margin-top: 0.9rem; color: var(--ink-soft); font-size: 1rem; font-weight: 400; line-height: 1.6; letter-spacing: 0; }
  .service-duration { display: block; width: 100%; margin-top: auto; padding-top: 1.75rem; color: var(--muted); font-size: 0.875rem; font-weight: 400; line-height: 1.6; letter-spacing: 0; }
  .service-action { display: flex; width: 100%; min-height: 3rem; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); color: inherit; font-size: 0.9375rem; font-weight: 500; line-height: 1.5; letter-spacing: 0; }
  .service-action-close { display: none; }
  .service-cover[aria-expanded="true"] .service-action-open { display: none; }
  .service-cover[aria-expanded="true"] .service-action-close { display: inline; }
  .service-toggle { display: grid; flex: 0 0 1.5rem; min-width: 1.5rem; height: 1.5rem; place-items: center; font-size: 1.5rem; font-weight: 400; }
  .service-cover[aria-expanded="true"] .service-toggle { transform: rotate(45deg); }
  .service-cover[aria-expanded="true"] { box-shadow: inset 0 -4px 0 var(--gold); }
  .service-card--featured .service-cover[aria-expanded="true"] { box-shadow: inset 0 -4px 0 var(--gold-soft); }
  .service-card--featured .service-number, .service-card--featured .service-summary, .service-card--featured .service-duration, .service-card--featured .service-graphic { color: #dedfcd; }
  .service-card--featured .glyph-accent { fill: var(--gold-soft); }
  .service-card--featured .service-visual, .service-card--featured .service-action { border-color: #7e8768; }
  .service-body { display: grid; min-width: 0; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--paper); scroll-margin-top: 1.5rem; scroll-margin-bottom: 1.5rem; }
  .service-body:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
  .about-copy > .profile-links { margin-top: 2rem; }
  .service-detail-name { margin-top: 0.7rem; color: var(--ink); font-size: 1.65rem; line-height: 1.2; letter-spacing: -0.025em; }
  .service-card .service-meta { margin-top: 1rem; color: var(--muted); font-size: 0.875rem; }
  .service-card .text-link { align-self: start; margin-top: 1rem; }
  .investment-note { margin-top: 1.5rem; color: var(--muted); font-size: 0.875rem; }
  .approach { background: var(--forest-deep); color: #dedfcd; }
  .approach-grid { display: grid; gap: 2.5rem; }
  .approach .eyebrow { color: var(--gold-soft); }
  .approach h2, .approach h3 { color: var(--cream); }
  .approach h2 { margin-top: 1rem; }
  .approach-intro > p:last-child { max-width: 32rem; margin-top: 1.25rem; }
  .steps { display: grid; align-content: center; list-style: none; }
  .steps li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 0.8rem; padding-block: 1.5rem; border-top: 1px solid #60664e; }
  .steps li > span { padding-top: 0.2rem; color: var(--gold-soft); font-size: 0.875rem; }
  .steps li p { margin-top: 0.5rem; font-size: 1rem; }
  .about-grid { display: grid; gap: 2.5rem; align-items: center; }
  /* Over starts its beige background section with the portrait, not after the biography. */
  .about-grid--profile { grid-template-areas: "portrait" "copy"; align-items: start; }
  .about-grid--profile > .about-portrait { grid-area: portrait; }
  .about-grid--profile > .about-copy { grid-area: copy; }
  .about-copy { min-width: 0; }
  .about-copy > .eyebrow { display: flex; align-items: center; gap: 0.8rem; }
  .about-copy > .eyebrow::before { content: ""; width: 2rem; height: 1px; flex: 0 0 2rem; background: var(--gold); }
  .about h2 { margin-top: 1rem; }
  .about-copy .lead { margin-top: 1.5rem; padding-left: 1rem; border-left: 2px solid var(--gold); color: var(--ink); font-size: 1.125rem; font-weight: 500; }
  .about-copy > p:last-of-type { margin-top: 1.25rem; }
  .about-copy > .text-link { margin-top: 1rem; }
  .about-links { margin-top: 2rem; border-block: 1px solid var(--line); list-style: none; }
  .about-links li + li { border-top: 1px solid var(--line); }
  .about-link { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem; min-height: 5.5rem; padding: 1rem 0.5rem; color: var(--ink); text-decoration: none; transition: background-color 180ms ease; }
  .about-link-icon { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid var(--forest); border-radius: 50%; background: var(--forest); color: var(--cream); }
  .about-link-icon--linkedin { padding-bottom: 0.12rem; font-size: 1.25rem; font-weight: 750; line-height: 1; letter-spacing: -0.045em; }
  .about-link-copy { display: grid; min-width: 0; gap: 0.2rem; overflow-wrap: anywhere; }
  .about-link-copy strong { font-size: 1rem; font-weight: 550; line-height: 1.4; }
  .about-link-copy > span { color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
  .about-link:hover, .about-link:focus-visible { background: var(--surface); }
  .about-link:hover strong, .about-link:focus-visible strong { text-decoration: underline; text-underline-offset: 0.25em; }
  .about-portrait { position: relative; isolation: isolate; width: 100%; max-width: 36rem; padding: 0 1rem 1rem 0; justify-self: center; }
  .about-portrait::before { content: ""; position: absolute; z-index: -1; inset: 2rem 0 0 2rem; background: var(--forest); }
  .about-portrait img { width: 100%; height: auto; }
  .contact { border-top: 1px solid var(--line); background: #e8e3d0; }
  .contact-grid { display: grid; gap: 2rem; align-items: start; }
  .contact h2 { margin-top: 1rem; }
  .contact-copy > p:last-of-type { max-width: 29rem; margin-top: 1.25rem; }
  .email-link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 0.75rem; margin-top: 1.5rem; font-size: 1.2rem; overflow-wrap: anywhere; }
  /* An understated writing surface: open field lines, one softly folded corner. */
  .contact-form { min-width: 0; padding: 1.5rem; border: 0; border-top: 3px solid var(--forest); border-radius: 0.35rem 2rem 0.35rem 0.35rem; background: var(--paper); box-shadow: 0 1rem 3rem rgb(32 40 25 / 6%); }
  .contact-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
  .form-note { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; line-height: 1.6; }
  .form-grid { display: grid; gap: 1.65rem 1.5rem; }
  .form-field { display: grid; min-width: 0; gap: 0.55rem; }
  .form-field label { color: var(--ink); font-size: 0.875rem; font-weight: 550; }
  .form-field label span { color: var(--muted); font-weight: 400; }
  .form-field input, .form-field textarea { width: 100%; min-width: 0; min-height: 3rem; padding: 0.65rem 0.25rem; border: 0; border-bottom: 1px solid #838775; border-radius: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.5; }
  .form-field textarea { padding: 0.85rem; border: 1px solid #838775; border-radius: 0.5rem; background: var(--surface); resize: vertical; }
  .form-field input:focus, .form-field textarea:focus { border-color: var(--forest); background: var(--surface); }
  .form-field input:focus-visible, .form-field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
  .contact-form .button { width: auto; max-width: 100%; min-width: min(100%, 14rem); justify-content: space-between; margin-top: 1.75rem; padding: 0.85rem 1.25rem; border-radius: 2rem; }
  .form-status { overflow-wrap: anywhere; }
  .form-status:not(:empty) { margin-top: 1rem; padding: 1rem; border-left: 3px solid var(--forest); background: var(--surface); }
  .site-footer :focus-visible { outline-color: var(--cream); }
  .site-footer { padding-top: 2.5rem; background: var(--forest-black); color: #d2d5c4; }
  .footer-main { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem; padding-bottom: 2rem; }
  .footer-main .wordmark { color: var(--cream); }
  .footer-main .wordmark-dot { color: var(--gold-soft); }
  .footer-main p { font-size: 0.875rem; }
  .site-footer a:not(.wordmark) { display: inline-flex; min-height: 2.75rem; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
  .footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding-block: 1rem; border-top: 1px solid #50573f; }
  .footer-bottom p { font-size: 0.8125rem; }
  .footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; padding-bottom: 1.5rem; }
  .footer-nav a[aria-current] { color: var(--white); text-decoration-thickness: 0.12em; }

  /* Inner pages share the homepage palette and type; photography stays separate. */
  .page-intro { background: var(--surface); }
  .page-intro-grid { display: grid; gap: 1.75rem; align-items: end; }
  .page-intro-grid > * { min-width: 0; }
  .page-intro h1 { margin-top: 1rem; }
  .page-lead { max-width: 31rem; font-size: clamp(1.125rem, 1.7vw, 1.4rem); line-height: 1.6; }
  .page-intro-aside .text-link { margin-top: 1.25rem; }
  .route-nav { display: grid; margin-top: 3rem; border-top: 1px solid var(--line); }
  .route-nav a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: center; min-height: 6rem; padding: 1.25rem 0.5rem; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.125rem; text-decoration: none; transition: background-color 180ms ease; }
  .route-nav a:hover { background: var(--paper); }
  .route-number { color: var(--gold); font-size: 0.875rem; }
  .route-nav small { display: block; margin-top: 0.3rem; color: var(--muted); font-size: 0.875rem; }
  .route-nav a > span:nth-child(2) { overflow-wrap: anywhere; }
  .chapter-grid { display: grid; gap: 2.5rem; }
  .chapter-grid > * { min-width: 0; }
  .chapter-number { display: block; margin-bottom: 1.5rem; color: var(--gold); font-size: 3.5rem; font-weight: 300; line-height: 1; }
  .chapter-heading h2 { margin-top: 0.75rem; }
  .chapter-facts { display: grid; gap: 1rem; margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
  .chapter-facts dt { color: var(--muted); font-size: 0.875rem; }
  .chapter-facts dd { margin: 0.25rem 0 0; color: var(--ink); }
  .chapter-copy { display: grid; align-content: start; justify-items: start; gap: 1.25rem; }
  .chapter-copy .lead { color: var(--ink); font-size: 1.25rem; font-weight: 500; line-height: 1.6; }
  .chapter-copy .button { margin-top: 0.5rem; }
  .focus-list { width: 100%; list-style: none; }
  .focus-list li { padding-block: 0.75rem; border-bottom: 1px solid var(--line); }
  .service-chapter--surface { border-block: 1px solid var(--line); background: var(--surface); }
  .service-chapter--dark, .page-intro--dark { background: var(--forest-deep); color: #dedfcd; }
  .service-chapter--dark h2, .service-chapter--dark .lead, .service-chapter--dark dd, .page-intro--dark h1, .page-intro--dark .text-link { color: var(--cream); }
  .service-chapter--dark .eyebrow, .service-chapter--dark .chapter-number, .page-intro--dark .eyebrow { color: var(--gold-soft); }
  .service-chapter--dark dt { color: #d2d5c4; }
  .service-chapter--dark .chapter-facts, .service-chapter--dark .focus-list li { border-color: #60664e; }
  .service-chapter--dark :focus-visible, .page-intro--dark :focus-visible, .approach :focus-visible { outline-color: var(--cream); }
  .button--light { background: var(--cream); border-color: var(--cream); color: var(--forest-deep); }
  .button--light:hover { background: var(--white); }
  .page-callout { background: #e8e3d0; }
  .callout-inner { display: grid; gap: 1.75rem; justify-items: start; align-items: center; }
  .callout-inner h2 { margin-top: 0.75rem; }
  .callout-inner p:last-child { max-width: 38rem; margin-top: 1rem; }
  .profile-grid { display: grid; gap: 3rem; align-items: start; }
  .profile-grid > * { min-width: 0; }
  .profile-copy h2, .profile-links h2 { margin-top: 0.75rem; }
  .profile-copy p:not(.eyebrow) { margin-top: 1.25rem; }
  .profile-copy h3 { margin-top: 2rem; }
  .profile-links { padding: 1.5rem; border: 1px solid var(--line); background: var(--surface); }
  .profile-links .about-links { margin-top: 1.5rem; }
  .contact-page { min-height: calc(100svh - 5.5rem); }
  .contact-page h1 { margin-top: 1rem; }
  .contact-context { max-width: 29rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #b5b49e; }
  .contact-context .text-link { margin-top: 0.75rem; }

  /* Compact helper pages; no imagery or scripts are required for the return route. */
  .utility-page .site-frame { display: flex; flex-direction: column; min-height: 100svh; }
  .utility-page main { flex: 1; }
  .utility-panel { display: grid; gap: 1.5rem; max-width: 46rem; margin-inline: auto; padding: clamp(1rem, 4vw, 3rem); border: 1px solid var(--line); border-top: 3px solid var(--gold); background: var(--surface); }
  .utility-panel > * { min-width: 0; }
  .utility-panel h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
  .utility-lead { max-width: 36rem; font-size: 1.125rem; }
  .utility-note { padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; overflow-wrap: anywhere; }
  .utility-note a { display: inline-block; min-height: 1.5rem; }
}
@layer responsive {
  @media (min-width: 36rem) {
    .container { width: min(calc(100% - 3rem), var(--container)); }
    .header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 5.5rem; }
    .primary-nav { gap: 0.5rem; }
    .primary-nav a { padding-inline: 0.9rem; }
    .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-field--wide { grid-column: 1 / -1; }
    .footer-main > a:last-child { margin-left: auto; }
    .chapter-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (min-width: 48rem) {
    .hero { display: grid; min-height: 42rem; align-items: center; }
    .hero-landscape { inset: 0; height: 100%; }
    .hero-landscape img { object-position: 73% center; }
    .hero-landscape::after { background: linear-gradient(90deg, rgb(241 238 223 / 98%) 0%, rgb(241 238 223 / 95%) 29%, rgb(241 238 223 / 86%) 43%, rgb(241 238 223 / 42%) 56%, rgb(241 238 223 / 0%) 72%); }
    .hero-grid { padding-block: 4.5rem; }
    .hero-copy { width: 49%; max-width: 34rem; }
    .hero-copy h1 { font-size: clamp(2.65rem, 4.8vw, 4.75rem); font-weight: 450; line-height: 1.08; letter-spacing: -0.035em; }
    .hero-copy .actions { align-items: start; flex-direction: column; }
  }
  @media (min-width: 64rem) {
    .site-header { position: sticky; top: 0; }
    html:has(.contact-form:focus-within) { scroll-padding-top: 9rem; }
    section[id], .service-card[id], .service-cover, .service-body { scroll-margin-top: 7rem; }
    main a, .site-footer a, #client-logos { scroll-margin-top: 7rem; }
    .hero { min-height: clamp(42rem, calc(100svh - 5.5rem), 52rem); }
    .hero-landscape img { object-position: 73% center; }
    .hero-copy { width: 45%; }
    .section-heading { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 4rem; align-items: end; }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-cover { padding: 2rem; }
    .service-visual { min-height: 13.5rem; }
    .service-graphic { height: 12rem; }
    .service-summary { min-height: 3.2em; font-size: 1.0625rem; }
    /* Selection reveals details below its row, never resizes another card. */
    .services[data-enhanced] .service-grid { gap: 1.25rem; }
    /* Same reading order and details on mobile and desktop; no duplicated content. */
    .services[data-enhanced] .service-card { display: contents; }
    .services[data-enhanced] .service-heading { grid-row: 1; }
    .services[data-enhanced] .service-body { grid-row: 2; grid-column: 1 / -1; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem; min-height: 16rem; padding: 2rem 2.5rem; }
    .services[data-enhanced] .service-card:nth-child(n+3) .service-heading { grid-row: 3; }
    .services[data-enhanced] .service-card:nth-child(n+3) .service-body { grid-row: 4; }
    /* Do not reserve an empty details row when the first pair is closed. */
    .services[data-enhanced]:not([data-active="0"], [data-active="1"]) .service-card:nth-child(n+3) .service-heading { grid-row: 2; }
    .services[data-enhanced]:not([data-active="0"], [data-active="1"]) .service-card:nth-child(n+3) .service-body { grid-row: 3; }
    .services[data-enhanced] .service-detail-copy { align-self: center; }
    .service-notes { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 1rem; }
    .approach-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; }
    .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
    .about-grid--profile { grid-template-areas: "copy portrait"; }
    .contact-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 5rem; }
    .contact-form { padding: 2.5rem; }
    .page-intro-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 4rem; }
    .route-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 4rem; }
    .route-nav a { padding: 1.5rem 1rem; }
    .route-nav a:nth-child(even) { border-left: 1px solid var(--line); }
    .chapter-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 6rem; }
    .chapter-copy { padding-top: 0.5rem; }
    .chapter-facts { grid-template-columns: minmax(0, 1fr); }
    .profile-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 5rem; }
    .profile-links { padding: 2rem; }
    .callout-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; }
  }
  /* Brief, purposeful responses only: no autoplay, pointer tracking or layout changes. */
  @media (prefers-reduced-motion: no-preference) {
    .form-field input, .form-field textarea { transition: border-color 180ms ease, background-color 180ms ease; }
    .service-cover { transition: border-color 220ms ease, box-shadow 220ms ease; }
    .service-toggle { transition: transform 280ms ease; }
    .glyph-part { transform-box: fill-box; transform-origin: center; transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
    .service-cover:not(:disabled):is(:hover, :focus-visible, [aria-expanded="true"]) .service-graphic--teamtraining .glyph-part--one { transform: translateY(-7px); }
    .service-cover:not(:disabled):is(:hover, :focus-visible, [aria-expanded="true"]) .service-graphic--teamtraining .glyph-part--three { transform: translateY(7px); }
    .service-cover:not(:disabled):is(:hover, :focus-visible, [aria-expanded="true"]) .service-graphic--teamdag .glyph-part--one { transform: rotate(8deg); }
    .service-cover:not(:disabled):is(:hover, :focus-visible, [aria-expanded="true"]) .service-graphic--teamdag .glyph-part--two { transform: rotate(-8deg); }
    .service-cover:not(:disabled):is(:hover, :focus-visible, [aria-expanded="true"]) .service-graphic--inspiratiesessie .glyph-part--one { transform: scale(1.07); }
    .service-cover:not(:disabled):is(:hover, :focus-visible, [aria-expanded="true"]) .service-graphic--inspiratiesessie .glyph-part--two { transform: scale(1.04); }
    .service-cover:not(:disabled):is(:hover, :focus-visible, [aria-expanded="true"]) .service-graphic--coaching .glyph-part--one { transform: translateX(7px); }
    .service-cover:not(:disabled):is(:hover, :focus-visible, [aria-expanded="true"]) .service-graphic--coaching .glyph-part--two { transform: translateX(-7px); }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  }
}

/* Homepage opening and its immediate seam only; no changes to the inner pages. */
@layer homepage-hero {
  /* The header is at least 5.5rem tall at desktop/tablet widths. Use a minimum,
     not a fixed height, so enlarged text and wrapped navigation can still grow. */
  .hero--jungle { display: block; min-height: calc(100svh - 5.5rem); background: var(--paper); }
  .hero--jungle .hero-grid { z-index: 2; padding-block: 3rem 23rem; }
  .hero--jungle .hero-copy { width: 100%; max-width: 36rem; margin-left: 0; }
  .hero--jungle .hero-copy h1 { font-size: clamp(2.65rem, 7.5vw, 4.6rem); font-weight: 500; line-height: 1.08; }
  .hero--jungle .hero-copy .actions { align-items: center; flex-direction: row; }
  .hero--jungle .hero-copy > p:last-of-type { max-width: 46ch; color: var(--ink); font-size: 1.125rem; line-height: 1.75; }
  .hero--jungle .hero-lead { max-width: 28rem; font-size: 1.25rem; }
  .hero--jungle .eyebrow { color: var(--ink); font-size: 0.875rem; letter-spacing: 0.13em; }
  .hero--jungle .text-link:hover { color: var(--forest-deep); }
  .hero--jungle .button:hover { border-color: var(--forest-deep); }
  .hero--jungle .hero-landscape { inset: auto 0 0; height: 26rem; }
  .hero--jungle .hero-landscape img { object-position: 25% 55%; }
  .hero--jungle .hero-landscape::after { background: linear-gradient(180deg, #f1eedf 0%, rgb(241 238 223 / 96%) 20%, rgb(241 238 223 / 0%) 48%); }
  /* A clean horizontal edge keeps the landscape sharp into the next section. */
  .hero--jungle + .services { border-top: 1px solid var(--line); }
  /* Keep the decorative branch below the landscape's readability scrim. */
  .hero--jungle .hero-landscape::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(24vw, 19rem);
    height: min(24vw, 19rem);
    background: url("../img/photography/botanisch-takje.webp") center / contain no-repeat;
    opacity: 0.4;
    pointer-events: none;
  }

  @media (min-width: 48rem) {
    .hero--jungle { display: grid; min-height: max(37rem, calc(100svh - 5.5rem)); align-items: center; }
    .hero--jungle .hero-grid { padding-block: 4rem; }
    .hero--jungle .hero-copy { width: 52%; margin-left: auto; }
    .hero--jungle .hero-copy h1 { font-size: clamp(2.7rem, 4.3vw, 4.6rem); }
    .hero--jungle .hero-copy .actions { flex-direction: column; align-items: start; }
    .hero--jungle .hero-landscape { inset: 0; height: 100%; }
    .hero--jungle .hero-landscape img { object-position: 40% center; }
    /* Keep the lighter readability layer beneath the full text/focus area. */
    .hero--jungle .hero-landscape::after { background: linear-gradient(90deg, rgb(241 238 223 / 0%) 24%, rgb(241 238 223 / 34%) 39%, rgb(241 238 223 / 72%) 47%, rgb(241 238 223 / 72%) 100%); }
    .hero--jungle .hero-landscape::before { width: 17rem; height: 17rem; opacity: 0.32; }
  }
  @media (min-width: 64rem) {
    .hero--jungle .hero-grid { padding-block: 4.75rem; }
    .hero--jungle .hero-copy { width: 51%; }
    .hero--jungle .hero-landscape img { object-position: center center; }
  }
}
