/* Ad Hoc Founders Counsel — site styles
   Design tokens taken from the original Figma Sites build. */

/* Fonts: Hedvig Letters Serif & Inria Serif (SIL Open Font License), self-hosted. */
@font-face {
  font-family: "Hedvig Letters Serif";
  src: url("../fonts/hedvig-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hedvig Letters Serif";
  src: url("../fonts/hedvig-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inria Serif";
  src: url("../fonts/inria-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inria Serif";
  src: url("../fonts/inria-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
  --font-alt: "Inria Serif", Georgia, serif;
  --ink: #000;
  --ink-2: #1a1714;
  --ink-3: #231f1a;
  --body: #3a3a3a;
  --body-2: #3d3832;
  --muted: #5c5650;
  --muted-2: #7a7261;
  --line: #e8e4df;
  --line-2: #b8b0a4;
  --surface: #faf8f5;
  --surface-warm: #fffbf7;
  --white: #fff;
  --accent: #244C3D;
  --accent-hover: #7a4700;
  --contact: #284b3f;
  --container: 1152px;
  --gutter: 24px;
  --header-h: 100px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.45;
  font-feature-settings: "liga" 1;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--white); padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-block; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; white-space: nowrap; color: var(--ink); }
.wordmark-line { font-size: 0.72em; }
.wordmark .cap { font-size: 1.39em; }
.wordmark .cap-sm { font-size: 1.15em; }
.wordmark sup { font-size: 0.5em; vertical-align: 0.9em; margin-left: 1px; }

/* ---------- Header (Figma: "Header Desktop", 1280x100, padding 24/64) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid #d9d9d9; }
.header-inner { position: relative; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 64px; max-width: 1440px; margin: 0 auto; }
.brand { display: inline-flex; align-items: flex-end; gap: 6px; text-decoration: none; }
.brand-mark { width: 26px; height: auto; }
.brand-text { display: flex; flex-direction: column; align-items: flex-end; font-size: 22px; }
.brand-sub { font-size: 10px; line-height: 1.1; margin-top: 2px; color: #121111; text-transform: none; letter-spacing: 0; }

.nav-list { display: flex; align-items: center; gap: 32px; }
.nav-link { font-size: 16px; line-height: 23.2px; letter-spacing: -0.005em; color: #000; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-link:hover { color: var(--accent); }
.nav-link[aria-current="page"] { color: var(--accent); }
.dropdown-toggle { text-decoration: none; }
.caret { width: 24px; height: 24px; display: inline-grid; place-items: center; transition: transform .25s var(--ease); }
.dropdown-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }

/* Services mega menu (Figma: "Variant5" — full-width panel under the header) */
.has-dropdown { position: static; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--white); border-top: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.mega { display: grid; grid-template-columns: repeat(3, 397px); grid-template-rows: 107px 107px; padding: 40px 44px 60px; max-width: 1440px; margin: 0 auto; }
.mega a { text-decoration: none; color: #000; }
.mega-featured { grid-row: 1 / span 2; display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,.1); padding: 16px 10px 16px 18px; }
.mega-kicker { font-size: 15px; line-height: 21.75px; color: var(--accent); margin-bottom: 8px; }
.mega-featured-title { font-size: 28px; line-height: 40.6px; letter-spacing: -0.005em; opacity: .8; }
.mega-featured-sub { font-size: 18px; line-height: 26.1px; opacity: .6; margin-top: 4px; }
.mega-more { font-size: 18px; line-height: 26.1px; opacity: .6; text-decoration: underline; text-underline-offset: 3px; margin-top: 24px; }
.mega-featured:hover .mega-featured-title, .mega-featured:hover .mega-more { opacity: 1; color: var(--accent); }
.mega-item { display: flex; align-items: flex-start; gap: 20px; padding: 16px 0 0 80px; }
.mega-item img { width: 44px; height: 44px; flex-shrink: 0; }
.mega-item > span { display: flex; flex-direction: column; gap: 5px; width: 233px; }
.mega-title { font-size: 18px; line-height: 26.1px; letter-spacing: -0.005em; opacity: .8; }
.mega-sub { font-size: 15px; line-height: 21.75px; opacity: .6; }
.mega-item:hover .mega-title { opacity: 1; color: var(--accent); }
.mega a:focus-visible { outline-offset: 4px; }
@media (max-width: 1240px) {
  .mega { grid-template-columns: minmax(300px, 1fr) 1fr 1fr; padding: 40px 32px 56px; }
  .mega-item { padding-left: 40px; }
  .mega-item > span { width: auto; }
}

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 6px; }
.menu-toggle span { display: block; height: 1.5px; width: 24px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); overflow-y: auto; padding: 8px 20px 40px; border-top: 1px solid var(--line); }
.mobile-menu-brand { font-family: var(--font-alt); font-size: 14px; letter-spacing: .04em; padding: 8px 0 4px; }
.mobile-link { display: block; font-size: 28px; line-height: 1.45; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.mobile-heading { border-bottom: 0; padding-bottom: 4px; }
.mobile-sub { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.mobile-sub a { display: block; padding: 10px 0; text-decoration: none; }
.mobile-sub strong { display: block; font-weight: 400; font-size: 20px; }
.mobile-sub span { display: block; font-size: 15px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; text-decoration: none; font-size: 16px; line-height: 1.2; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-light { background: var(--white); color: var(--ink); padding: 9px 20px; font-size: 14px; }
.btn-light:hover { background: var(--surface); }
.btn-ghost { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.3); padding: 9px 20px; font-size: 14px; }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-contact { background: var(--contact); color: var(--white); font-size: 18px; padding: 16px 28px; }
.btn-contact:hover { background: #1d382f; }

/* ---------- Home ---------- */
.page-home { background: var(--surface); }
.page-home .site-footer { background: var(--white); }
.home-title { text-align: center; padding: 48px 20px 40px; font-size: 40px; }
.home-title .wordmark { font-size: 1em; }

.carousel { position: relative; max-width: 1280px; margin: 0 auto; height: 640px; overflow: hidden; background: #1a1714; color: var(--white); }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.carousel-slide.is-active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.72); pointer-events: none; }
.carousel-content { position: absolute; z-index: 2; left: 9%; top: 50%; transform: translateY(-50%); max-width: 460px; }
.carousel-content h1 { font-size: 40px; line-height: 1.22; margin-bottom: 22px; }
.carousel-content p { font-size: 20px; line-height: 1.4; margin-bottom: 32px; max-width: 280px; }
.carousel-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.carousel-controls { position: absolute; z-index: 3; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.carousel-controls button { width: 36px; height: 30px; display: grid; place-items: center; background: none; border: 0; color: var(--white); cursor: pointer; border-radius: 999px; }
.carousel-controls button:hover { background: rgba(255,255,255,.18); }
.carousel-controls svg { width: 18px; height: 18px; }

.home-intro { padding: 120px 0 140px; }
.home-intro .container { max-width: calc(1000px + var(--gutter) * 2); }
.home-intro h2 { font-size: 34px; line-height: 1.2; color: var(--ink); margin-bottom: 26px; letter-spacing: -0.01em; }
.home-intro p { font-size: 26px; line-height: 1.45; color: var(--body); margin-bottom: 30px; }
.home-intro .intro-mobile { display: none; }

/* ---------- Banner hero (inner pages) ---------- */
.banner { position: relative; min-height: 470px; display: grid; place-items: center; text-align: center; color: var(--white); overflow: hidden; background: #1a1714; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.banner--light::after { background: rgba(0,0,0,.30); }
.banner-inner { position: relative; z-index: 1; padding: 60px 24px; max-width: 900px; }
.banner h1 { font-size: 40px; line-height: 1.25; }
.banner p { font-size: 22px; line-height: 1.45; margin-top: 18px; }

/* ---------- Generic sections ---------- */
.section { padding: 80px 0; }
.section--surface { background: var(--surface); }
.section-title { text-align: center; font-size: 32px; color: var(--accent); margin-bottom: 40px; line-height: 1.25; }
.prose { max-width: 1060px; margin: 0 auto; }
.prose p { font-size: 22px; line-height: 1.45; color: var(--ink-2); margin-bottom: 22px; }
.prose p:last-child { margin-bottom: 0; }
.prose--narrow { max-width: 960px; }

/* Steps: "From X → Y" */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.step-label { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.step-title { font-size: 22px; line-height: 1.35; color: var(--ink-2); }
.step-title::after { content: ""; display: block; width: 36px; height: 1.5px; background: var(--accent); margin: 18px auto 20px; }
.step p { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 220px; margin: 0 auto; }

/* Numbered mechanisms 01–04 */
.mechanisms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mechanism { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 28px 24px 32px; }
.mechanism-num { font-size: 48px; line-height: 1; color: #e3ddd5; margin-bottom: 18px; }
.mechanism h3 { font-size: 22px; line-height: 1.35; color: var(--ink-2); }
.mechanism h3::after { content: ""; display: block; width: 36px; height: 1.5px; background: var(--accent); margin: 18px 0 20px; }
.mechanism p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.mechanism--plain h3::after { display: none; }
.mechanism--plain .mechanism-num { margin-bottom: 14px; }
.mechanism--plain p { color: var(--ink-2); }

/* Core Engagement Areas (tabs) */
.cea { display: grid; grid-template-columns: 360px 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; align-items: start; }
.cea-tabs { display: flex; flex-direction: column; gap: 12px; }
.cea-tab { text-align: left; background: var(--white); border: 1px solid var(--line); padding: 18px 22px; font-size: 18px; line-height: 1.4; color: var(--ink-2); cursor: pointer; transition: background .25s var(--ease), color .25s, border-color .25s; }
.cea-tab:hover { border-color: var(--accent); }
.cea-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--white); }
.cea-panel { background: var(--white); border: 1px solid var(--line); padding: 28px 28px 36px; min-height: 100%; }
.cea-panel h3 { font-size: 20px; line-height: 1.4; color: var(--ink-2); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.cea-panel p { font-size: 16px; line-height: 1.6; color: var(--muted); margin-bottom: 30px; }
.cea-steps { display: flex; flex-direction: column; gap: 22px; position: relative; }
.cea-steps li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-2); position: relative; }
.cea-steps li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 24px; height: 20px; width: 1px; background: var(--line-2); }
.cea-steps .dot { width: 21px; height: 21px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: 11px; display: grid; place-items: center; flex-shrink: 0; }
.cea-panel[hidden] { display: none; }
.cea-panel.is-entering { animation: fadeUp .35s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* FAQ accordion */
.faq { max-width: 1100px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; text-align: left; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 23px; line-height: 1.35; color: var(--ink-2); transition: color .25s; }
.faq-q:hover, .faq-q[aria-expanded="true"] { color: var(--accent); }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--accent); transform: translate(-50%, -50%); transition: transform .35s, opacity .35s; }
.faq-icon::before { width: 14px; height: 1px; }
.faq-icon::after { width: 1px; height: 14px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
/* Answers are visible without JS; site.js collapses them once loaded. */
.js .faq-a { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .42s var(--ease), opacity .42s var(--ease); }
.js .faq-a.is-open { opacity: 1; }
.faq-a-inner { padding-bottom: 24px; }
.faq-a p { font-size: 20px; line-height: 1.85; color: var(--body-2); font-weight: 300; }
.faq-a p + p { margin-top: 10px; }

/* Founder Framework (stepper) */
.framework { max-width: 1160px; margin: 0 auto; }
.framework-nav { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 32px; }
.framework-track, .framework-progress { position: absolute; top: 19px; left: 12.5%; height: 1px; }
.framework-track { right: 12.5%; background: var(--line-2); }
.framework-progress { background: var(--accent); width: 0; transition: width .5s var(--ease); }
.framework-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; text-align: center; padding: 0 8px; }
.framework-dot { width: 39px; height: 39px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); display: grid; place-items: center; font-size: 14px; color: var(--muted); transition: background .3s, color .3s, border-color .3s; }
.framework-step[aria-selected="true"] .framework-dot, .framework-step.is-done .framework-dot { background: var(--accent); border-color: var(--accent); color: var(--white); }
.framework-phase { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-top: 4px; }
.framework-step[aria-selected="true"] .framework-phase { color: var(--accent); }
.framework-label { font-size: 16px; line-height: 1.3; color: var(--ink-2); max-width: 140px; }
.framework-card { background: var(--white); border: 1px solid var(--line); padding: 32px 36px 24px; }
.framework-kicker { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.framework-card h3 { font-size: 26px; line-height: 1.3; color: var(--ink-2); }
.framework-card h3::after { content: ""; display: block; width: 28px; height: 1px; background: var(--line-2); margin: 18px 0; }
.framework-card p { font-size: 18px; line-height: 1.7; color: var(--body-2); min-height: 92px; }
.framework-actions { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; }
.framework-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line-2); color: var(--accent); border-radius: 999px; padding: 6px 16px; font-size: 13px; letter-spacing: .06em; cursor: pointer; }
.framework-btn:hover:not(:disabled) { border-color: var(--accent); }
.framework-btn:disabled { opacity: 0; pointer-events: none; }

/* Approach principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle { background: var(--white); border: 1px solid var(--line); padding: 32px 28px; }
.principle .mechanism-num { margin-bottom: 14px; }
.principle h3 { font-size: 24px; color: var(--ink-2); margin-bottom: 16px; }
.principle p { font-size: 17px; line-height: 1.55; color: var(--muted); }
.principle p + p { margin-top: 10px; }

/* About */
.about-bio { display: grid; grid-template-columns: 240px 1fr; gap: 44px; align-items: start; max-width: 1060px; margin: 0 auto; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 240 / 300; object-fit: cover; border-radius: 10px; }
.about-photo figcaption { text-align: center; margin-top: 22px; }
.about-photo .name { display: block; font-size: 20px; color: var(--accent); }
.about-photo .role { display: block; font-size: 15px; color: var(--ink-2); margin-top: 4px; }
.about-text p { font-size: 20px; line-height: 1.45; color: var(--ink-2); margin-bottom: 12px; }
.about-text .accent { color: var(--accent); }
.about-creds { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 14px; }
.about-creds p { font-size: 16px; color: #9a948b; margin-bottom: 8px; }
.philosophy { background: #FAF8F5; }
.philosophy .section-title { margin-bottom: 18px; }

/* Contact */
.contact-wrap { padding: 140px 0 160px; background: #FAF8F5; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 64px; max-width: 1000px; margin: 0 auto; }
.contact-grid h1, .contact-grid h2 { font-size: 30px; line-height: 1.35; color: var(--contact); margin-bottom: 40px; }
.contact-grid h2 { margin-bottom: 24px; }
.contact-grid p { font-size: 18px; line-height: 1.45; color: var(--ink-2); }
.contact-grid .stack p + p { margin-top: 20px; }
.contact-email { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 110px; }
.contact-email span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 14px; white-space: nowrap; }
.contact-email a { font-size: 16px; text-decoration: none; white-space: nowrap; }
.contact-email a:hover { text-decoration: underline; }
.contact-grid .btn { margin-top: 40px; }

/* Legal pages */
.legal { padding: 80px 0 100px; }
.legal-doc { max-width: 860px; margin: 0 auto; }
.legal-doc .legal-firm { font-size: 20px; color: var(--ink-2); }
.legal-doc .legal-date { font-size: 16px; color: var(--muted); margin: 6px 0 30px; }
.legal-doc h2 { font-size: 26px; color: var(--accent); margin: 44px 0 16px; line-height: 1.3; }
.legal-doc h3 { font-size: 20px; color: var(--ink-2); margin: 24px 0 10px; }
.legal-doc p { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin-bottom: 14px; }
.legal-doc ul { margin: 0 0 16px; }
.legal-doc li { font-size: 18px; line-height: 1.6; color: var(--ink-2); padding-left: 20px; position: relative; }
.legal-doc li::before { content: "•"; position: absolute; left: 2px; color: var(--accent); }
.legal-doc address { font-style: normal; font-size: 18px; line-height: 1.6; }

/* ---------- Consultation band ---------- */
.consultation { background: var(--surface); padding: 120px 0; }
.page-home .consultation { padding: 90px 0; }
.consultation-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: calc(1000px + var(--gutter) * 2); }
.consultation-title { font-size: 23px; line-height: 1.2; margin-bottom: 14px; }
.consultation-sub { font-size: 20px; }
.consultation .btn { font-size: 18px; padding: 16px 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); padding: 56px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 0.7fr 0.8fr; gap: 32px; max-width: calc(1060px + var(--gutter) * 2); }
.footer-brand .brand-text { font-size: 18px; }
.footer-brand .brand-mark { width: 22px; }
.footer-quote { margin: 16px 0 0; max-width: 250px; font-size: 13px; line-height: 1.55; color: var(--muted-2); }
.footer-quote cite { font-style: normal; display: block; }
.footer-col h4 { font-size: 12.5px; letter-spacing: 0.16em; color: var(--muted-2); margin-bottom: 14px; font-weight: 400; }
.footer-col li { margin-bottom: 9px; }
.footer-col a, .footer-text { font-size: 15.2px; line-height: 1.6; color: var(--ink-3); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px; max-width: calc(1060px + var(--gutter) * 2); }
.footer-bottom p { font-size: 13.1px; color: var(--muted-2); }
.site-footer--contact { padding: 50px 0 80px; }
.footer-brand--plain { display: flex; align-items: center; }
.footer-copy { font-size: 15px; color: var(--ink-3); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .header-inner { padding: 0 20px; }
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .steps, .mechanisms { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .cea { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .home-title { font-size: 24px; padding: 32px 16px 28px; }
  .carousel { height: 640px; margin: 0 16px; }
  .carousel-content { left: 24px; right: 24px; }
  .carousel-content h1 { font-size: 30px; }
  .carousel-content p { font-size: 20px; max-width: none; }
  .home-intro { padding: 60px 0 80px; }
  .home-intro h2 { font-size: 26px; }
  .home-intro p { font-size: 20px; }
  .home-intro .intro-desktop { display: none; }
  .home-intro .intro-mobile { display: block; }
  .banner { min-height: 360px; }
  .banner h1 { font-size: 30px; }
  .banner p { font-size: 18px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 26px; margin-bottom: 28px; }
  .prose p { font-size: 18px; }
  .steps, .mechanisms { grid-template-columns: 1fr; }
  .faq-q { font-size: 19px; }
  .faq-a p { font-size: 17px; line-height: 1.7; }
  .framework-label { display: none; }
  .framework-card { padding: 24px 20px; }
  .about-bio { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { max-width: 280px; margin: 0 auto; }
  .contact-wrap { padding: 64px 0 80px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .consultation, .page-home .consultation { padding: 64px 0; }
  .consultation-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-doc h2 { font-size: 22px; }
  .legal-doc p, .legal-doc li { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
