/* Twofold Studio — no frameworks, fonts, trackers, or external dependencies. */
:root {
  --ink: #111827;
  --ink-soft: #526071;
  --paper: #f3f6f8;
  --white: #fff;
  --navy: #0b1220;
  --navy-raised: #131d2e;
  --line: #d8e0e6;
  --accent: #40d9b1;
  --accent-dark: #097f69;
  --blue: #82aaff;
  --radius: 1.1rem;
  --shadow: 0 24px 60px rgba(11, 18, 32, .12);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
p, h1, h2, h3, blockquote, figure { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; }
h1 { max-width: 900px; margin-bottom: 1.25rem; overflow-wrap: break-word; font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 650; text-wrap: balance; }
h2 { margin-bottom: 1.4rem; font-size: clamp(2.35rem, 4vw, 4.25rem); font-weight: 620; }
h3 { font-size: 1.6rem; font-weight: 620; }
::selection { color: var(--navy); background: var(--accent); }

.container { width: min(calc(100% - 3rem), var(--container)); margin-inline: auto; }
.container, .hero-layout, .hero-copy { min-width: 0; }
.section { position: relative; padding: clamp(5rem, 9vw, 8.5rem) 0; }
.section-light { background: var(--paper); }
.section-dark { color: var(--ink); background: #edf5f6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: .75rem; left: .75rem; padding: .7rem 1rem; color: var(--white); background: var(--navy); border-radius: .4rem; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 4px; }
.section-dark :focus-visible, .contact-section :focus-visible, .site-header :focus-visible { outline-color: var(--accent-dark); }

.site-header { position: sticky; z-index: 1000; top: 0; color: var(--ink); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); box-shadow: 0 8px 28px rgba(11,18,32,.05); backdrop-filter: blur(14px); }
.nav { display: flex; min-height: 5rem; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; min-width: 0; flex: 0 0 auto; align-items: center; gap: .7rem; }
.brand-icon { width: 2.75rem; height: 2.75rem; flex: 0 0 2.75rem; object-fit: cover; border: 1px solid var(--line); border-radius: .45rem; }
.brand-name { overflow-wrap: break-word; color: var(--ink); font-size: 1.25rem; font-weight: 800; line-height: 1; }
.nav-menu { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.2rem); }
.nav-menu > a:not(.button) { color: #344256; font-size: .875rem; font-weight: 600; }
.nav-menu > a:not(.button):hover { color: var(--accent-dark); }
.nav-toggle { display: none; width: 2.8rem; height: 2.8rem; padding: .6rem; border: 0; color: var(--navy); background: transparent; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: currentColor; transition: transform .2s, opacity .2s; }

.button { display: inline-flex; max-width: 100%; min-height: 3.25rem; align-items: center; justify-content: center; gap: .8rem; padding: .75rem 1.35rem; color: var(--navy); background: var(--accent); border: 1px solid var(--accent); border-radius: .55rem; font-size: .92rem; font-weight: 750; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { background: #61e5c2; box-shadow: 0 10px 28px rgba(64, 217, 177, .2); transform: translateY(-2px); }
.button-small { min-height: 2.75rem; padding: .5rem 1.05rem; }
.text-link, .member-link { display: inline-flex; align-items: center; gap: .45rem; border-bottom: 1px solid currentColor; font-size: .92rem; font-weight: 700; }
.text-link:hover, .member-link:hover { color: var(--accent-dark); }

.hero { min-height: min(820px, calc(100svh - 5rem)); display: flex; align-items: center; overflow: hidden; color: var(--ink); background: #f8fbfc; }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 900px); }
.hero-copy { padding-block: 3rem; }
.eyebrow { margin-bottom: 1.25rem; color: var(--accent-dark); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow, .section-dark .eyebrow, .contact-section .eyebrow { color: var(--accent-dark); }
.hero-positioning { max-width: 760px; margin-bottom: 1.1rem; overflow-wrap: break-word; color: var(--accent-dark); font-size: clamp(1.12rem, 2vw, 1.45rem); font-weight: 750; line-height: 1.4; text-wrap: balance; }
.hero-intro { max-width: 760px; margin-bottom: 2.2rem; overflow-wrap: break-word; color: var(--ink-soft); font-size: clamp(1rem, 1.45vw, 1.16rem); }
.hero-trust { display: inline-flex; width: fit-content; max-width: 100%; margin: 0 0 2rem; padding: .65rem .8rem; overflow-wrap: break-word; color: #275f55; background: #e5f5f0; border-left: 3px solid var(--accent-dark); font-size: .82rem; font-weight: 750; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.hero .text-link { color: var(--navy); }

.audience-section { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-heading { display: grid; grid-template-columns: minmax(0, .75fr) minmax(280px, 1.25fr); align-items: end; gap: 2rem 5rem; margin-bottom: 2rem; }
.audience-heading h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.35rem); }
.audience-heading > p { max-width: 650px; margin: 0; color: var(--ink-soft); }
.audience-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; padding: 0; margin: 0; list-style: none; }
.audience-list li { display: flex; min-width: 0; min-height: 4.25rem; align-items: center; gap: .8rem; padding: .9rem 1rem; overflow-wrap: break-word; background: #f7fafb; border: 1px solid var(--line); border-radius: .45rem; color: #344256; font-size: .85rem; font-weight: 700; }
.audience-list span { flex: 0 0 auto; color: var(--accent-dark); font-size: .68rem; }

.split-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 9vw, 9rem); }
.section-heading > p:not(.eyebrow), .services-heading > p, .heading-row > p { color: var(--ink-soft); }
.section-heading.centered { max-width: 760px; margin: 0 auto clamp(3rem, 6vw, 5rem); text-align: center; }
.section-heading.centered p:last-child { color: var(--ink-soft); }
.about-body { padding-top: 2.65rem; }
.about-body p { margin-bottom: 1.5rem; color: #384556; font-size: clamp(1.05rem, 1.7vw, 1.3rem); }

.team-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.team-card { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr); overflow: hidden; background: var(--white); border: 1px solid #e1e5e9; border-radius: var(--radius); box-shadow: 0 18px 45px rgba(11,18,32,.07); }
.portrait-wrap { min-height: 100%; background: var(--paper); }
.portrait-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.team-card:nth-child(2) .portrait-wrap img { object-position: center 34%; }
.team-card-body { position: relative; padding: clamp(1.5rem, 3vw, 2.5rem); }
.team-card-body h3 { margin-bottom: 1rem; }
.team-card-body > p:not(.member-role) { color: var(--ink-soft); }
.member-local-name { margin: -.55rem 0 .75rem; color: #6f7b89 !important; font-size: .86rem; font-weight: 700; }
.member-extended { margin: 0 0 1rem; color: var(--ink) !important; font-size: .86rem; font-weight: 750; line-height: 1.45; }
.card-number { position: absolute; top: 1.35rem; right: 1.35rem; color: #99a4b0; font-size: .75rem; font-weight: 700; }
.member-role, .project-type { margin: 0 0 .75rem; color: var(--accent-dark); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.member-link { margin-top: .5rem; color: var(--accent-dark); }
.member-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.member-services { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 1.2rem 0; list-style: none; }
.member-services li { padding: .2rem .55rem; color: #526071; background: var(--paper); border-radius: 999px; font-size: .68rem; }
.member-role-description { margin: 1.3rem 0; padding-left: 1rem; border-left: 2px solid var(--accent); }
.member-credentials { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.member-credentials h4 { margin: 0 0 .75rem; font-size: .82rem; }
.member-credentials ul { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.member-credentials li { padding: .3rem .65rem; color: #344256; background: #f6fafb; border: 1px solid var(--line); border-radius: .35rem; font-size: .72rem; font-weight: 650; }
.member-pending { margin: 1.2rem 0; color: #7b8590 !important; font-size: .78rem; font-style: italic; }

.services-heading, .heading-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); align-items: end; gap: 3rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.services-heading h2, .heading-row h2 { margin-bottom: 0; }
.services-heading > p { color: var(--ink-soft); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service-card { display: flex; min-width: 0; min-height: 480px; flex-direction: column; padding: clamp(1.5rem, 2.5vw, 2rem); background: rgba(255,255,255,.64); border: 1px solid var(--line); border-radius: .5rem; transition: background .25s, transform .25s, box-shadow .25s; }
.service-card:hover { z-index: 1; background: var(--white); box-shadow: 0 16px 40px rgba(11,18,32,.08); transform: translateY(-4px); }
.service-top { display: flex; justify-content: space-between; margin-bottom: 1.5rem; color: #748398; font-size: .78rem; }
.service-top span:last-child { color: var(--accent-dark); font-size: 1rem; }
.service-lead { display: flex; min-width: 0; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.service-responsible { margin: auto 0 0; padding-top: 1.35rem; border-top: 1px solid var(--line); }
.service-avatars { display: flex; flex: 0 0 auto; align-items: center; }
.service-portrait-frame { position: relative; flex: 0 0 5.5rem; width: 5.5rem; height: 5.5rem; overflow: hidden; background: #e8f0f5; border: 2px solid #8edfc9; border-radius: 50%; }
.service-avatars .service-portrait-frame + .service-portrait-frame { margin-left: -1.25rem; }
.service-portrait, .service-portrait-fallback { width: 100%; height: 100%; }
.service-portrait { object-fit: cover; }
.service-portrait-gizzle { object-position: center 28%; }
.service-portrait-andrew-leba { object-position: center 34%; }
.service-portrait-fallback { display: grid; place-items: center; color: var(--navy); background: #dceae9; font-size: 2rem; font-weight: 800; }
.service-portrait-fallback[hidden] { display: none; }
.service-lead-copy { min-width: 0; }
.service-lead-name { margin: 0 0 .2rem; color: var(--ink) !important; font-size: 1.25rem !important; font-weight: 800; line-height: 1.2; }
.service-lead-role { margin: 0; overflow-wrap: break-word; color: var(--ink-soft) !important; font-size: .82rem !important; font-weight: 700; line-height: 1.4; }
.service-lead-experience { margin: .25rem 0 0; color: var(--accent-dark) !important; font-size: .75rem !important; font-weight: 750; }
.service-category { margin-bottom: .55rem; color: var(--accent-dark) !important; font-size: .7rem !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.service-card h3 { margin-bottom: 1rem; }
.service-description { color: var(--ink-soft); font-size: .93rem; }
.service-featured { margin: 1.25rem 0 1.5rem; }
.service-action { display: inline-flex; min-height: 2.75rem; align-items: center; align-self: flex-start; margin-top: 1rem; color: var(--accent-dark); border-bottom: 1px solid currentColor; font-size: .82rem; font-weight: 800; }
.service-action:hover { color: var(--navy); }
.service-expertise-groups { display: grid; gap: 1.15rem; margin-top: 1.5rem; }
.service-expertise-group h4 { margin: 0 0 .55rem; font-size: .8rem; }
.service-skill-tags { margin-top: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.tag-list li { padding: .25rem .6rem; color: #43505e; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .7rem; }

.service-profiles { min-width: 0; }
.service-profile-intro { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.service-profile-intro h2 { margin-bottom: 1rem; font-size: clamp(2rem, 3.5vw, 3.4rem); }
.service-profile-intro > p:last-child { max-width: 650px; margin: 0; color: var(--ink-soft); }
.service-profile { padding-top: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }
.service-profile + .service-profile { margin-top: clamp(3rem, 6vw, 5rem); }
.service-profile-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 2rem 4rem; margin-bottom: 2rem; }
.service-profile-heading .eyebrow { margin-bottom: .8rem; }
.service-profile-heading h3 { max-width: 700px; margin: 0; overflow-wrap: break-word; font-size: clamp(1.7rem, 3vw, 2.55rem); line-height: 1.15; }
.service-profile-heading > p { align-self: end; margin: 0; color: var(--ink-soft); }
.accordion-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.accordion-card { display: grid; grid-template-columns: auto 1fr; gap: .9rem 1rem; align-content: start; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: .5rem; box-shadow: 0 10px 30px rgba(11,18,32,.045); }
.accordion-icon { display: grid; width: 2.45rem; height: 2.45rem; place-items: center; color: var(--navy); background: var(--accent); border-radius: .45rem; font-size: .68rem; font-weight: 850; }
.accordion-card h4 { margin: .15rem 0 0; font-size: 1.02rem; line-height: 1.2; }
.accordion-card > p, .accordion-card > ul, .accordion-toggle, .accordion-panel { grid-column: 2; }
.accordion-card > p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.featured-services, .accordion-panel ul { padding-left: 1.1rem; margin: .2rem 0; color: #43505e; font-size: .82rem; }
.featured-services { display: grid; gap: .2rem; }
.accordion-toggle { display: inline-flex; width: fit-content; align-items: center; gap: .55rem; margin-top: .4rem; padding: .1rem 0 .25rem; color: var(--accent-dark); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-size: .82rem; font-weight: 800; cursor: pointer; }
.accordion-toggle span { min-width: 1ch; }
.accordion-panel { padding-top: .5rem; border-top: 1px solid var(--line); }
.accordion-panel ul { columns: 2; column-gap: 1.7rem; margin-top: 0; }
.accordion-panel li { break-inside: avoid; margin-bottom: .25rem; }
.service-note { margin: .85rem 0 0; color: #7a5a05 !important; font-size: .78rem; }

.why-section { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.why-card { min-height: 220px; padding: 1.6rem; background: #f7fafb; border: 1px solid var(--line); border-radius: .5rem; }
.why-number { display: block; margin-bottom: 2.5rem; color: var(--accent-dark); font-size: .72rem; font-weight: 800; }
.why-card h3 { margin-bottom: .8rem; font-size: 1.25rem; }
.why-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.project-card { overflow: hidden; background: var(--white); border: 1px solid #e1e5e9; border-radius: var(--radius); box-shadow: var(--shadow); }
.project-image { overflow: hidden; background: var(--navy); aspect-ratio: 1.55; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-image img { transform: scale(1.025); }
.project-image-placeholder { display: grid; place-items: center; padding: 2rem; color: #657384; background: #e8eef1; border-bottom: 1px solid var(--line); text-align: center; }
.project-image-placeholder span { font-size: .78rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.project-body { padding: clamp(1.5rem, 3vw, 2.4rem); }
.project-body > p:not(.project-type) { color: var(--ink-soft); }
.project-highlights { display: grid; gap: .35rem; padding-left: 1.15rem; margin: 1.2rem 0; color: #43505e; font-size: .82rem; }
.status-dot { width: .5rem; height: .5rem; background: var(--accent-dark); border-radius: 50%; box-shadow: 0 0 0 4px rgba(9,127,105,.1); }
.project-type { display: flex; align-items: center; gap: .55rem; }
.dark-tags { margin-bottom: 1.4rem; }
.dark-tags li { color: #4c5968; background: var(--paper); border-color: #e0ded8; }
.placeholder-label { display: inline-block; margin-top: .4rem; color: #7f8994; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.35rem; }
.details-button { padding: 0 0 .2rem; color: var(--accent-dark); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-size: .9rem; font-weight: 750; cursor: pointer; }
.details-button:hover { color: var(--navy); }

.process-section { color: var(--ink); background: #e8f0f5; }
.process-section .eyebrow { color: var(--accent-dark); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 0; border-top: 1px solid #ccd9e1; border-left: 1px solid #ccd9e1; list-style: none; counter-reset: process; }
.process-grid li { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 1.8rem; background: rgba(255,255,255,.38); border-right: 1px solid #ccd9e1; border-bottom: 1px solid #ccd9e1; }
.process-grid span { color: var(--accent-dark); font-size: .75rem; font-weight: 800; }
.process-grid strong { max-width: 250px; font-size: 1.12rem; }

.project-dialog { width: min(720px, calc(100% - 2rem)); max-height: min(86vh, 850px); padding: 0; color: var(--ink); background: var(--white); border: 0; border-radius: var(--radius); box-shadow: 0 35px 100px rgba(0,0,0,.35); }
.project-dialog::backdrop { background: rgba(4,9,17,.76); backdrop-filter: blur(4px); }
.dialog-content { padding: clamp(2rem, 6vw, 4.5rem); }
.dialog-content h2 { padding-right: 2rem; font-size: clamp(2rem, 5vw, 3.4rem); }
.dialog-content h3 { margin: 2rem 0 1rem; font-size: 1rem; letter-spacing: 0; }
.dialog-description { color: var(--ink-soft); font-size: 1.05rem; }
.dialog-close { position: sticky; z-index: 2; top: 1rem; float: right; width: 2.75rem; height: 2.75rem; margin: 1rem 1rem -4rem 0; color: var(--white); background: var(--navy); border: 0; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.capability-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem 1.5rem; padding-left: 1.2rem; color: #455261; }
.dialog-tags li { color: #40505e; background: var(--paper); border-color: var(--line); }
.dialog-content .button { margin-top: 2rem; }

.contact-section { color: var(--ink); background: #f7fafb; }
.contact-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem 6rem; padding: clamp(2rem, 6vw, 5.5rem); background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + .25rem); box-shadow: 0 24px 60px rgba(11,18,32,.07); }
.contact-card h2 { max-width: 680px; }
.contact-card > div:first-child p:last-child { max-width: 660px; color: var(--ink-soft); }
.contact-actions { display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); }
.contact-actions > a, .contact-actions > .contact-disabled { display: flex; min-height: 4.5rem; align-items: center; gap: 1rem; padding: .8rem .2rem; border-bottom: 1px solid var(--line); font-weight: 700; }
.contact-actions > a:hover { color: var(--accent-dark); }
.contact-actions > * > span { display: grid; width: 2.1rem; height: 2.1rem; place-items: center; color: var(--navy); background: var(--accent); border-radius: 50%; font-size: .73rem; font-weight: 850; }
.contact-disabled { color: #98a5b5; cursor: not-allowed; }
.contact-disabled > span { background: #6e7b8c; }
.contact-disabled small { margin-left: auto; font-weight: 500; }
.contact-location { grid-column: 1 / -1; margin: 0; color: #6f7b89; font-size: .8rem; }

.footer { padding: 3rem 0; color: var(--ink-soft); background: var(--white); border-top: 1px solid var(--line); }
.footer-layout { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.brand-footer { color: var(--ink); }
.footer-layout > div:first-child p { margin: 1rem 0 0; font-size: .82rem; }
.footer-links { display: flex; gap: 1.5rem; color: var(--ink); font-size: .82rem; font-weight: 700; }
.footer-links a:hover { color: var(--accent-dark); }
.footer-placeholder { color: #6f7b89; font-size: .75rem; }
.copyright { grid-column: 1 / -1; margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .72rem; }
.noscript { position: fixed; z-index: 300; right: 1rem; bottom: 1rem; left: 1rem; padding: 1rem; color: var(--white); background: #a63232; text-align: center; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-layout { grid-template-columns: 1fr; align-items: center; }
  .team-card { grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); }
  .audience-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services-grid, .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 2rem), var(--container)); }
  .section { padding-block: 4.5rem; }
  .nav-toggle { display: block; }
  .nav-toggle { flex: 0 0 2.8rem; margin-left: auto; }
  .nav { width: min(calc(100% - 2rem), var(--container)); }
  .brand-icon { width: 2.5rem; height: 2.5rem; flex-basis: 2.5rem; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu { position: fixed; top: 5rem; right: 0; left: 0; display: flex; max-height: 0; flex-direction: column; align-items: stretch; gap: 0; overflow: hidden; color: var(--ink); background: var(--white); visibility: hidden; transition: max-height .3s ease, visibility .3s; }
  .nav-menu.is-open { max-height: calc(100svh - 5rem); visibility: visible; border-top: 1px solid var(--line); box-shadow: 0 22px 45px rgba(11,18,32,.12); }
  .nav-menu > a:not(.button) { padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); }
  .nav-menu .button { margin: 1.25rem 1.5rem 1.5rem; }
  body.menu-open { overflow: hidden; }
  .hero { min-height: auto; padding-top: 5rem; }
  .hero-copy { padding-block: 0; }
  .hero-layout { gap: 2rem; }
  .hero-copy, .hero-positioning, .hero-intro { max-width: 100%; }
  .split-layout, .audience-heading, .services-heading, .heading-row, .service-profile-heading, .contact-card { grid-template-columns: 1fr; gap: 2rem; }
  .about-body { padding-top: 0; }
  .team-grid, .projects-grid { grid-template-columns: 1fr; }
  .audience-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid, .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { min-height: 0; }
  .accordion-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; }
  .portrait-wrap { aspect-ratio: 1.35; }
  .contact-location { grid-column: auto; }
}

@media (max-width: 540px) {
  h1 { font-size: clamp(2.65rem, 11vw, 3.5rem); }
  h2 { font-size: clamp(2.15rem, 11vw, 3.25rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-positioning, .hero-intro, .hero-trust { overflow-wrap: break-word; }
  .hero-actions .text-link { align-self: flex-start; }
  .team-card { grid-template-columns: 1fr; }
  .portrait-wrap { aspect-ratio: 1.25; }
  .audience-list, .services-grid, .why-grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.4rem; }
  .service-portrait-frame { flex-basis: 4.75rem; width: 4.75rem; height: 4.75rem; }
  .accordion-card { grid-template-columns: 1fr; }
  .accordion-card > p, .accordion-card > ul, .accordion-toggle, .accordion-panel { grid-column: 1; }
  .accordion-panel ul { columns: 1; }
  .process-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-top { margin-bottom: 1.5rem; }
  .capability-list { grid-template-columns: 1fr; }
  .footer-layout { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 420px) {
  .nav { gap: .5rem; }
  .brand { gap: .5rem; }
  .brand-icon { width: 2.25rem; height: 2.25rem; flex-basis: 2.25rem; }
  .brand-name { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-actions, .contact-actions { display: none; }
  .section { padding: 2rem 0; }
  .hero, .section-dark, .contact-section, .footer { color: #000; background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
