:root {
  --ink: #17211d;
  --ink-2: #26332d;
  --paper: #f2efe8;
  --paper-2: #e8e3d8;
  --accent: #6e211e;
  --accent-light: #e0b8ac;
  --muted: #666c67;
  --line: rgba(23, 33, 29, 0.2);
  --serif: "Source Serif 4 Variable", "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", sans-serif;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  color-scheme: light;
}

[data-theme="dark"] {
  --ink: #e9e5dc;
  --ink-2: #d9d4ca;
  --paper: #141a17;
  --paper-2: #1d2622;
  --accent: #e08e84;
  --accent-light: #eccbc0;
  --muted: #a9ada8;
  --line: rgba(233, 229, 220, 0.18);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; transition: background-color .3s ease, color .3s ease; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
address { font-style: normal; }
.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: 100; top: .5rem; left: .5rem; padding: .7rem 1rem; background: var(--accent); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.site-header { height: 76px; display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 0 var(--pad); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-size: .78rem; font-weight: 700; letter-spacing: .13em; width: max-content; }
.brand > span { font-family: var(--sans); font-style: normal; font-weight: 700; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; overflow: visible; }
.brand-mark .logo-ink { fill: var(--ink); }
.brand-mark .logo-clay { fill: var(--accent-light); }
.menu-toggle { width: 46px; height: 46px; display: grid; place-content: center; gap: 6px; background: transparent; border: 0; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { width: 23px; height: 1px; background: currentColor; transition: transform .25s ease; }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
.primary-nav { display: none; position: absolute; inset: 76px 0 auto; min-height: calc(100vh - 76px); background: var(--paper); padding: 3rem var(--pad); flex-direction: column; }
.primary-nav.is-open { display: flex; }
.primary-nav a { font-family: var(--serif); font-size: clamp(2rem, 9vw, 3.5rem); border-bottom: 1px solid var(--line); padding: .55rem 0; }
.header-actions { display: none; }
.mobile-nav-actions { margin-top: 2.5rem; display: flex; align-items: center; justify-content: space-between; }
.language-switcher { display: flex; gap: .2rem; }
.lang-button { border: 0; background: transparent; padding: .7rem .55rem; font-size: .78rem; cursor: pointer; opacity: .45; position: relative; }
.lang-button::after { content: ""; position: absolute; left: .55rem; right: calc(100% - .55rem); bottom: .5rem; height: 1px; background: var(--accent); transition: right .2s ease; }
.lang-button:hover::after, .lang-button:focus-visible::after { right: .55rem; }
.lang-button.is-active { opacity: 1; color: var(--accent); }
.theme-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.theme-toggle svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.hero { min-height: calc(100svh - 76px); display: grid; grid-template-rows: 1fr auto; padding: clamp(3rem, 9vw, 7rem) var(--pad) 1.5rem; overflow: hidden; }
.hero-copy { align-self: center; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 1.4rem; color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
h1 { max-width: 12ch; margin-bottom: 2rem; font-size: clamp(3.5rem, 13vw, 8.5rem); }
h1 em, h2 em { color: var(--accent); font-weight: 400; }
.hero-intro { max-width: 39rem; margin-bottom: 2rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.22rem); }
.hero-cta { display: flex; align-items: flex-start; flex-direction: column; gap: 1.3rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .75rem 1rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; }
.button-primary { width: min(100%, 260px); color: #f6f2eb; background: var(--accent); transition: transform .2s ease, background .2s ease; }
.button-primary:hover { background: var(--ink); transform: translateY(-2px); }
.text-link { width: max-content; border-bottom: 1px solid currentColor; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.text-link::after { content: "↗"; display: inline-block; margin-left: .5em; opacity: 0; transform: translate(-4px, 4px); transition: opacity .25s ease, transform .25s cubic-bezier(.22,1,.36,1); }
.text-link:hover::after, .text-link:focus-visible::after { opacity: 1; transform: translate(0, 0); }
.hero-graphic { display: none; }
.hero-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; padding-top: 3rem; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-foot a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 1rem; }

.section-pad { padding: clamp(5rem, 10vw, 9rem) var(--pad); }
.section-index { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: .8rem; }
.statement { border-top: 1px solid var(--line); display: grid; gap: 2rem; }
.statement h2, .resource-copy h2 { font-size: clamp(2.7rem, 7vw, 6rem); max-width: 14ch; }
.page-intro { border-bottom: 1px solid var(--line); }
.page-intro .eyebrow { margin-top: .8rem; }
.page-intro h1 { font-size: clamp(2.7rem, 7vw, 6rem); max-width: 18ch; margin-bottom: 1.5rem; }
.page-intro .lede { color: var(--muted); max-width: 42rem; font-size: clamp(1rem, 2vw, 1.15rem); }
.statement-copy .eyebrow { margin-top: .8rem; }
.statement-copy > p:last-child { color: var(--muted); max-width: 42rem; margin: 2rem 0 0; }
.proof-points { margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.proof-points div { padding: 1.5rem .5rem 0 0; }
.proof-points dt { font-family: var(--serif); color: var(--accent); font-size: clamp(2rem, 6vw, 4rem); line-height: 1; }
.proof-points dd { margin: .8rem 0 0; color: var(--muted); font-size: .7rem; line-height: 1.4; }
.values-grid { margin: 0; display: grid; gap: 2.5rem 2rem; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); padding-top: 2.5rem; }
.values-grid dt { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); margin-bottom: .5rem; }
.values-grid dd { color: var(--muted); font-size: .9rem; line-height: 1.55; max-width: 32ch; }

.practice { background: var(--paper-2); }
.section-heading { display: grid; gap: 2rem; margin-bottom: 3rem; }
.section-heading h2 { font-size: clamp(3rem, 8vw, 6.5rem); }
.section-heading .eyebrow { margin-top: .8rem; }
.practice-list { border-top: 1px solid var(--line); }
.practice-item { display: grid; grid-template-columns: 2rem 1fr auto; gap: 1rem; align-items: start; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.practice-item > span { color: var(--accent); font-family: var(--serif); font-size: .78rem; }
.practice-item h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 4vw, 2.4rem); line-height: 1.1; }
.practice-item p { display: none; color: var(--muted); max-width: 26rem; font-size: .92rem; }
.practice-list-full .practice-item { grid-template-columns: 2.5rem 1fr; }
.practice-list-full .practice-item p { display: block; grid-column: 2; margin: .5rem 0 0; max-width: 42rem; }
.practice-item i { font-style: normal; color: var(--accent); }

.team { color: #eeeae0; background: #17211d; display: grid; gap: 4rem; }
.team .eyebrow { color: #e0b8ac; }
.team .section-index { color: #e0b8ac; }
.team-intro .eyebrow { margin-top: .8rem; }
.team h2 { font-size: clamp(3.5rem, 8vw, 7rem); }
.team-intro > p:not(.eyebrow) { max-width: 28rem; color: #aeb6b0; }
.text-link.light { display: inline-block; margin-top: 1.5rem; }
.team-grid { display: grid; gap: 2rem; }
.portrait { aspect-ratio: 4/5; position: relative; overflow: hidden; display: grid; place-items: center; background-color: #29352f; }
.portrait::before, .portrait::after { content: ""; position: absolute; inset: auto; border: 1px solid rgba(238,234,224,.18); border-radius: 50%; }
.portrait::before { width: 70%; height: 60%; }
.portrait::after { width: 42%; height: 36%; }
.portrait span { font-family: var(--serif); font-size: clamp(4rem, 12vw, 8rem); color: rgba(238,234,224,.18); z-index: 1; }
.portrait-a { background: linear-gradient(145deg, #26352d, #6e211e); }
.portrait-b { background: linear-gradient(145deg, #34262a, #233831); }
.portrait-c { background: linear-gradient(145deg, #5a2e2a, #2c302c); }
.person h3 { margin: 1rem 0 .15rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.person p { color: #aeb6b0; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }

.insights { background: var(--paper); }
.insight-grid { display: grid; gap: 3rem; }
.insight-art { aspect-ratio: 4/3; background: var(--accent); color: #f2efe8; position: relative; overflow: hidden; display: grid; place-items: center; }
.insight-art::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.4); transform: rotate(45deg); }
.insight-art span { font-family: var(--serif); font-size: clamp(4rem, 13vw, 9rem); z-index: 1; }
.insight-art i { width: 1px; height: 100%; background: rgba(255,255,255,.4); position: absolute; transform: rotate(24deg); }
.insight-content { padding-top: 1.5rem; }
.meta { color: var(--accent); text-transform: uppercase; letter-spacing: .11em; font-size: .78rem; }
.insight-content h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; }
.insight-content h3 a, .insight-list h3 a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .25em; transition: text-decoration-color .25s ease; }
.insight-content h3 a:hover, .insight-content h3 a:focus-visible, .insight-list h3 a:hover, .insight-list h3 a:focus-visible { text-decoration-color: currentColor; }
.insight-content > a { position: relative; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; padding-bottom: 2px; }
.insight-content > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .25s cubic-bezier(.22,1,.36,1); }
.insight-content > a:hover::after, .insight-content > a:focus-visible::after { right: 0; }
.insight-list { border-top: 1px solid var(--line); }
.insight-list article { position: relative; padding: 2rem 3rem 2rem 0; border-bottom: 1px solid var(--line); }
.insight-list h3 { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 400; line-height: 1.2; }
.insight-list article > a { position: absolute; right: 0; bottom: 2rem; color: var(--accent); }
.insight-list article > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: currentColor; transition: right .25s cubic-bezier(.22,1,.36,1); }
.insight-list article > a:hover::after, .insight-list article > a:focus-visible::after { right: 0; }
.insight-list-full article { padding: 2rem 0; }
.insight-list-full p:not(.meta) { color: var(--muted); max-width: 46rem; margin: .75rem 0 0; }
.insight-list-full a { position: static; display: inline-block; margin-top: .9rem; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; border-bottom: 1px solid currentColor; }

.article-intro .meta { color: var(--accent); text-transform: uppercase; letter-spacing: .11em; font-size: .78rem; margin-bottom: 1rem; }
.article-body { max-width: 46rem; padding: 0 var(--pad) clamp(4rem, 8vw, 6rem); }
.article-body h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; margin: 3rem 0 1.1rem; line-height: 1.15; }
.article-body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin: 2rem 0 .8rem; }
.article-body p { margin: 0 0 1.4rem; color: var(--ink-2); font-size: 1.02rem; line-height: 1.75; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body ul, .article-body ol { margin: 0 0 1.4rem; padding-left: 1.3rem; color: var(--ink-2); }
.article-body li { margin-bottom: .5rem; line-height: 1.65; }
.article-footnote { border-top: 1px solid var(--line); margin: 2rem 0 0; padding-top: 1.5rem; color: var(--muted); font-size: .85rem; font-style: italic; line-height: 1.65; }
.article-nav { max-width: 46rem; padding: 0 var(--pad); }
.article-cta { max-width: 46rem; padding: 2rem var(--pad) clamp(4rem, 8vw, 6rem); border-top: 1px solid var(--line); }
.article-cta p { color: var(--muted); margin-bottom: 1rem; }

.resources { background: #6e211e; color: #f5eee7; display: grid; gap: 3rem; }
.resources .eyebrow { color: #e8c9be; }
.resources .section-index { color: #e8c9be; }
.resource-copy .eyebrow { margin-top: .8rem; }
.resource-links { border-top: 1px solid rgba(255,255,255,.35); }
.resource-links > a { min-height: 110px; position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.resource-links > a::before { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(255,255,255,.1); transform: scaleX(0); transform-origin: right center; transition: transform .38s cubic-bezier(.22,1,.36,1); }
.resource-links > a > :is(span, .resource-description) { transition: transform .38s cubic-bezier(.22,1,.36,1); }
.resource-links small { display: block; margin-bottom: .5rem; color: #e8c9be; text-transform: uppercase; letter-spacing: .1em; }
.resource-links b { display: block; font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 400; transition: color .3s ease; }
.resource-links p { margin: .6rem 0 0; max-width: 34rem; font-size: .88rem; opacity: .85; }
.resource-links > a:has(p) { min-height: 150px; padding: 1.6rem 0; }
.resource-links i { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; font-style: normal; transition: transform .38s cubic-bezier(.22,1,.36,1), background-color .25s ease, color .25s ease, border-color .25s ease; }
.resource-links > a:hover::before, .resource-links > a:focus-visible::before { transform: scaleX(1); transform-origin: left center; }
.resource-links > a:hover > :is(span, .resource-description), .resource-links > a:focus-visible > :is(span, .resource-description) { transform: translateX(.75rem); }
.resource-links > a:hover b, .resource-links > a:focus-visible b { color: var(--accent-light); }
.resource-links > a:hover i, .resource-links > a:focus-visible i { color: var(--accent); background: #f5eee7; border-color: #f5eee7; transform: translate(-.75rem, .28rem); }
.resource-links > a:active i { transform: translate(-.75rem, .42rem); }

.contact { display: grid; gap: 4rem; }
.contact h2 { font-size: clamp(3.5rem, 9vw, 7rem); }
.contact-details > p { max-width: 34rem; color: var(--muted); }
.contact-link { position: relative; }
.contact-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 1px; background: var(--accent); transition: right .25s cubic-bezier(.22,1,.36,1); }
.contact-link:hover::after, .contact-link:focus-visible::after { right: 0; }
.email-link { display: flex; justify-content: space-between; padding: 1.4rem 0; margin: 2rem 0 3rem; border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: clamp(1.3rem, 4vw, 2.1rem); }
.email-link span { color: var(--accent); transition: transform .25s cubic-bezier(.22,1,.36,1); }
.email-link:hover span, .email-link:focus-visible span { transform: translate(.25rem, -.25rem); }
.telephone-link { display: inline-block; padding-bottom: .16rem; }
.contact-grid { display: grid; gap: 2rem; }
.contact-grid small { display: block; margin-bottom: .55rem; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.contact-grid div:nth-child(2) small:not(:first-child) { margin-top: 1.5rem; }
.contact-grid p { margin-bottom: 0; }

.site-footer { padding: 2rem var(--pad); display: grid; gap: 1.5rem; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-brand { color: var(--ink); }
.site-footer p { margin: 0; }
.site-footer > div { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer > div a { position: relative; }
.site-footer > div a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: var(--accent); transition: right .2s ease; }
.site-footer > div a:hover::after, .site-footer > div a:focus-visible::after { right: 0; }

.reveal.reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.reveal-ready.is-visible { opacity: 1; transform: none; }
.resource-link.reveal { transition: opacity .65s ease, transform .65s ease, border-color .3s ease; }
.resource-link.reveal:not(.is-visible):nth-child(2) { transition-delay: .08s; }
.resource-link.reveal:not(.is-visible):nth-child(3) { transition-delay: .16s; }
.resource-link.reveal:not(.is-visible):nth-child(4) { transition-delay: .24s; }

@media (min-width: 700px) {
  .hero-cta { flex-direction: row; align-items: center; gap: 2rem; }
  .section-heading { grid-template-columns: 1fr 2fr; align-items: end; }
  .section-heading h2 { margin-bottom: 0; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .person:nth-child(2) { margin-top: 4rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > div { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .site-header { height: 90px; grid-template-columns: 1fr auto 1fr; }
  .menu-toggle { display: none; }
  .primary-nav { position: static; min-height: auto; padding: 0; display: flex; flex-direction: row; gap: clamp(1.2rem, 2vw, 2.4rem); background: transparent; }
  .primary-nav a { padding: .3rem 0; border: 0; font-family: var(--sans); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; position: relative; }
  .primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--accent); transition: right .2s ease; }
  .primary-nav a:hover::after { right: 0; }
  .header-actions { display: flex; justify-self: end; align-items: center; gap: 1rem; }
  .mobile-nav-actions { display: none; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { min-height: calc(100svh - 90px); grid-template-columns: 1.45fr .55fr; grid-template-rows: 1fr auto; padding-top: 4rem; }
  .hero-graphic { display: grid; place-items: center; }
  .monogram-frame { width: min(100%, 410px); position: relative; }
  .monogram-frame svg { width: 100%; display: block; }
  .monogram-frame .line { fill: none; stroke: var(--line); stroke-width: 1; }
  .monogram-frame .hero-logo-ink { fill: var(--ink); opacity: .96; }
  .monogram-frame .hero-logo-clay { fill: var(--accent-light); }
  .coordinate { position: absolute; top: 8%; left: 2%; font-size: .55rem; letter-spacing: .16em; color: var(--muted); }
  .coordinate-bottom { top: auto; left: auto; right: 2%; bottom: 8%; }
  .statement { grid-template-columns: 1.3fr .7fr; align-items: start; }
  .statement .proof-points { grid-template-columns: 1fr; margin: 0; border-top: 0; border-left: 1px solid var(--line); padding-left: 2rem; }
  .proof-points div { padding: 0 0 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
  .practice-list:not(.practice-list-full) .practice-item { grid-template-columns: 3rem 1fr 1fr auto; align-items: center; padding: 2.2rem 0; }
  .practice-list:not(.practice-list-full) .practice-item p { display: block; margin: 0; }
  .practice-list:not(.practice-list-full) .practice-item h3 { margin: 0; }
  .practice-list:not(.practice-list-full) .practice-item { transition: padding .25s ease, color .25s ease; }
  .practice-list:not(.practice-list-full) .practice-item:hover { padding-left: 1rem; color: var(--accent); }
  .practice-list:not(.practice-list-full) .practice-item:hover p { color: var(--ink); }
  .practice-list-full .practice-item { padding: 2.4rem 0; }
  .practice-list-full .practice-item p { max-width: 46rem; }
  .team { grid-template-columns: .7fr 1.3fr; align-items: center; }
  .team-full { grid-template-columns: 1fr; }
  .team-full .team-grid { grid-template-columns: repeat(3, 1fr); }
  .insight-grid { grid-template-columns: 1.2fr .8fr; }
  .resources { grid-template-columns: .9fr 1.1fr; align-items: center; }
  .contact { grid-template-columns: .9fr 1.1fr; }
  .contact-full { grid-template-columns: 1fr; }
  .contact-full .contact-grid { max-width: 42rem; }
  .site-footer { grid-template-columns: 1fr auto 1fr; }
  .site-footer > div { grid-column: auto; justify-self: end; }
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) { color-scheme: dark; }
}

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

/* Navigation remains available if JavaScript is unavailable. */
html:not(.has-menu) .menu-toggle { display: none; }
html:not(.has-menu) .site-header { height: auto; min-height: 76px; }
html:not(.has-menu) .primary-nav { display: flex; position: static; min-height: 0; grid-column: 1 / -1; padding: 1rem 0; }
body.menu-open { overflow: hidden; }
.primary-nav { max-height: calc(100dvh - 76px); overflow-y: auto; overscroll-behavior: contain; }
.primary-nav .lang-button { font-family: var(--sans); font-size: .8rem; padding: .7rem .55rem; border: 0; }
.lang-button { opacity: 1; color: var(--muted); }
.primary-nav > a[aria-current] { color: var(--accent); }
main, .hero-copy, .statement-copy, .resource-copy, .resource-description { min-width: 0; }
h1, h2, h3, .text-link { overflow-wrap: anywhere; }
.text-link { max-width: 100%; }
.team h2 em { color: #e0b8ac; }
.button-primary:hover { color: var(--paper); }
.resources .button-primary:hover { color: var(--paper); }
.article-cta .article-back { margin-top: 2rem; }
.resource-description { min-width: 0; }
.resource-links > a:focus-visible { outline-offset: -4px; }
:target { scroll-margin-top: 100px; }
@media (min-width: 1024px) {
  .resources-full { grid-template-columns: 1fr; }
  .primary-nav { max-height: none; overflow: visible; }
  html:not(.has-menu) .primary-nav { grid-column: auto; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.reveal-ready { opacity: 1; transform: none; }
}

.team :focus-visible, .resources :focus-visible { outline-color: #f5eee7; }
.team-intro, .team-grid, .person, .values-grid > div { min-width: 0; }
.values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.values-grid dt, .values-grid dd, .proof-points dd { overflow-wrap: anywhere; }
.values-grid dd { margin: 0; }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Explicit arrows replace the generated hover icon, so each link has one arrow. */
.text-link.has-arrow::after { content: none; }
.text-link .link-arrow { display: inline-block; margin-left: .5em; transition: transform .25s cubic-bezier(.22,1,.36,1); }
.text-link.has-arrow:hover .link-arrow, .text-link.has-arrow:focus-visible .link-arrow { transform: translate(2px,-2px); }
