/* D.C. & Co. — site styles
   Brand palette: white, black and LinkedIn blue (#0A66C2). */
:root {
  --ink: #0b0b0c;
  --ink-soft: #222326;
  --ink-muted: #55585e;
  --ink-faint: #6b6f76;
  --line: #e2e4e8;
  --line-soft: #eff1f4;
  --paper: #ffffff;
  --paper-tint: #f6f8fb;
  --blue: #0a66c2;
  --blue-dark: #004182;
  --blue-tint: #eaf2fb;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --max: 1200px;
  --t: 0.25s ease;
  --shadow: 0 10px 30px rgba(10, 20, 40, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
strong { font-weight: 600; color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.18; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
p { margin-bottom: 1.1rem; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.narrow { max-width: 860px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 0.6rem 1rem; z-index: 1000; }
.skip-link:focus { left: 1rem; color: #fff; }

.eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.lead { font-size: 1.15rem; font-weight: 500; color: var(--ink); line-height: 1.55; margin-bottom: 1.25rem; }
.muted { color: var(--ink-muted); }
.small { font-size: 0.85rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.6rem; font: 600 0.82rem/1 var(--font-body); letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid var(--blue); background: var(--blue); color: #fff; cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t); text-align: center; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.link-arrow { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.03em; display: inline-flex; gap: 0.35rem; align-items: center; }
.link-arrow::after { content: '\2192'; transition: transform var(--t); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header & navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 1.5rem; }
.brand img { height: 52px; width: auto; }
.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: var(--t); }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 0.25rem; }
.main-nav li { position: relative; }
.main-nav a, .main-nav .nav-parent { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.65rem 0.8rem; font: 500 0.9rem/1 var(--font-body); color: var(--ink); background: none; border: 0; cursor: pointer; white-space: nowrap; }
.main-nav a:hover, .main-nav .nav-parent:hover, .main-nav .current > a, .main-nav .current > .nav-parent { color: var(--blue); }
.nav-parent .caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform var(--t); }
.submenu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); box-shadow: var(--shadow); padding: 0.5rem 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: var(--t); }
.submenu.cols-2 { display: grid; grid-template-columns: 1fr 1fr; min-width: 440px; }
.submenu a { display: block; padding: 0.6rem 1.1rem; font-size: 0.88rem; color: var(--ink-soft); }
.submenu a:hover { background: var(--blue-tint); color: var(--blue); }
.submenu .submenu-all { grid-column: 1 / -1; border-top: 1px solid var(--line-soft); margin-top: 0.25rem; font-weight: 600; color: var(--blue); }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.open > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .nav-cta a { background: var(--ink); color: #fff; padding: 0.7rem 1.1rem; margin-left: 0.5rem; }
.main-nav .nav-cta a:hover { background: var(--blue); color: #fff; }

/* ---------- Page hero ---------- */
.hero { padding: 6rem 0 5.5rem; background: var(--paper); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: 6%; bottom: 3.5rem; width: 28px; height: 28px; background: var(--blue); }
.hero h1 { max-width: 880px; margin-bottom: 1.4rem; }
.hero .lead { max-width: 760px; }
.hero p { max-width: 760px; }
.page-hero { padding: 3.75rem 0 3.25rem; background: var(--paper-tint); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1rem; max-width: 900px; }
.page-hero .lead { max-width: 820px; margin-bottom: 1rem; }
.page-hero p { max-width: 820px; }
.breadcrumb { font-size: 0.8rem; color: var(--ink-faint); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span.sep { margin: 0 0.45rem; color: var(--line); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; border-bottom: 1px solid var(--line-soft); }
.section.tint { background: var(--paper-tint); }
.section-head { max-width: 760px; margin-bottom: 2.75rem; }
.section-head p { color: var(--ink-muted); }
.rule { display: block; width: 36px; height: 3px; background: var(--blue); margin-bottom: 1.25rem; }

.numbered-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.numbered-grid.four { grid-template-columns: repeat(2, 1fr); }
.numbered { border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.numbered .num { font-family: var(--font-display); font-size: 1.05rem; color: var(--blue); display: block; margin-bottom: 0.5rem; }
.numbered h3 { font-size: 1.2rem; }
.numbered p { font-size: 0.96rem; color: var(--ink-muted); }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pillar { border: 1px solid var(--line); padding: 2.5rem; background: #fff; display: flex; flex-direction: column; transition: border-color var(--t), box-shadow var(--t); }
.pillar:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.pillar .eyebrow { margin-bottom: 0.6rem; }
.pillar h3 { font-size: 1.6rem; }
.pillar .tagline { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--ink-muted); margin-bottom: 1rem; }
.pillar ul { list-style: none; margin: 1.25rem 0 1.75rem; flex: 1; }
.pillar li { padding: 0.55rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; display: flex; gap: 0.7rem; }
.pillar li::before { content: ''; width: 6px; height: 6px; background: var(--blue); margin-top: 0.55rem; flex-shrink: 0; }

.forum-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.forum-card { background: #fff; padding: 1.75rem; color: var(--ink); display: flex; flex-direction: column; transition: background var(--t); }
.forum-card:hover { background: var(--blue-tint); color: var(--ink); }
.forum-card .num { font-family: var(--font-display); color: var(--blue); font-size: 0.95rem; margin-bottom: 0.4rem; }
.forum-card h3 { font-size: 1.2rem; }
.forum-card p { font-size: 0.92rem; color: var(--ink-muted); flex: 1; }
.forum-card .link-arrow { margin-top: 1rem; color: var(--blue); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.card { border: 1px solid var(--line); background: #fff; padding: 2rem; display: flex; flex-direction: column; }
.card .tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.8rem; }
.card h3 { font-size: 1.2rem; line-height: 1.35; }
.card p { font-size: 0.93rem; color: var(--ink-muted); flex: 1; }
.card .card-foot { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- Content pages ---------- */
.content { padding: 4.5rem 0 5rem; }
.content-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 4rem; align-items: start; }
.toc { position: sticky; top: 110px; border-left: 2px solid var(--line); padding-left: 1.25rem; }
.toc .toc-title { font-weight: 600; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.9rem; }
.toc ul { list-style: none; }
.toc a { display: block; padding: 0.35rem 0; font-size: 0.86rem; color: var(--ink-muted); }
.toc a:hover { color: var(--blue); }
.block { margin-bottom: 3.5rem; }
.block:last-child { margin-bottom: 0; }
.block > h2 { padding-top: 0.25rem; }
.block > h2::before { content: ''; display: block; width: 30px; height: 3px; background: var(--blue); margin-bottom: 1rem; }
.module { border: 1px solid var(--line); padding: 2rem 2.25rem; margin-bottom: 1.5rem; background: #fff; }
.module h3 { font-size: 1.35rem; }
.module h3 .mnum { color: var(--blue); margin-right: 0.4rem; }
.module > p { color: var(--ink-muted); }
.dl { list-style: none; margin: 1.25rem 0 0; }
.dl li { padding: 0.85rem 0; border-top: 1px solid var(--line-soft); font-size: 0.95rem; color: var(--ink-soft); }
.dl li strong { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.25rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step { background: var(--paper-tint); border-top: 3px solid var(--blue); padding: 1.5rem; }
.step .num { font-family: var(--font-display); color: var(--blue); }
.step h3 { font-size: 1.1rem; margin: 0.3rem 0 0.5rem; }
.step p { font-size: 0.92rem; color: var(--ink-muted); }
.callout { background: var(--ink); color: #fff; padding: 2.5rem; margin-top: 2.5rem; }
.callout h3 { color: #fff; font-size: 1.15rem; letter-spacing: 0.02em; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; }
.callout p { color: rgba(255,255,255,0.85); }
.callout .rule { background: var(--blue); }
.note { background: var(--blue-tint); border-left: 3px solid var(--blue); padding: 1.25rem 1.5rem; font-size: 0.9rem; color: var(--ink-soft); margin: 1.5rem 0; }
.note p { font-size: 0.9rem; }
.plain-list { list-style: none; margin: 1rem 0 1.5rem; }
.plain-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); display: flex; gap: 0.8rem; font-size: 0.96rem; color: var(--ink-soft); }
.plain-list li::before { content: ''; width: 6px; height: 6px; background: var(--blue); margin-top: 0.6rem; flex-shrink: 0; }
.related { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.related .related-title { font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1rem; }
.related-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.related-links a { border: 1px solid var(--line); padding: 0.55rem 0.9rem; font-size: 0.86rem; color: var(--ink-soft); }
.related-links a:hover { border-color: var(--blue); color: var(--blue); }

/* Profile */
.profile { display: grid; grid-template-columns: 180px 1fr; gap: 2.5rem; border: 1px solid var(--line); padding: 2.5rem; background: #fff; }
.monogram { width: 160px; height: 160px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 3rem; position: relative; }
.monogram::after { content: ''; position: absolute; right: -8px; bottom: -8px; width: 22px; height: 22px; background: var(--blue); }
.profile h3 { font-size: 1.6rem; margin-bottom: 0.2rem; }
.profile .role { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 1.25rem; display: block; }
.team-structure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.team-structure div { border: 1px solid var(--line); padding: 1.25rem; font-weight: 600; font-size: 0.95rem; border-top: 3px solid var(--blue); }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.25rem 0 1.5rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.85rem 1rem; border: 1px solid var(--line); vertical-align: top; }
th { background: var(--ink); color: #fff; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; }

/* Insights */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.filter-btn { background: #fff; border: 1px solid var(--line); padding: 0.55rem 1rem; font: 500 0.85rem var(--font-body); cursor: pointer; color: var(--ink-soft); }
.filter-btn[aria-pressed="true"], .filter-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.formats { font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 2rem; }
.share { display: flex; gap: 0.4rem; align-items: center; font-size: 0.75rem; color: var(--ink-faint); }
.share a, .share button { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--blue); color: var(--blue); }
.share svg { width: 15px; height: 15px; fill: currentColor; }
.card[hidden] { display: none; }

/* Contact */
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.office { border: 1px solid var(--line); border-top: 3px solid var(--blue); padding: 1.75rem; background: #fff; }
.office h3 { font-size: 1.2rem; }
.office address { font-style: normal; color: var(--ink-muted); font-size: 0.94rem; }
.contact-meta { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin: 2rem 0; }
.contact-meta div { background: var(--paper-tint); padding: 1.1rem 1.25rem; font-size: 0.92rem; }
.contact-meta span { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.25rem; font-weight: 600; }
.form-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.form-card { border: 1px solid var(--line); padding: 2.25rem; background: #fff; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field label, .field .label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.4rem; }
.field .req { color: var(--blue); }
.field input, .field select, .field textarea { font: 400 0.95rem var(--font-body); padding: 0.8rem 0.9rem; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%; border-radius: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,102,194,0.12); }
.field textarea { min-height: 120px; resize: vertical; }
.field .help { font-size: 0.8rem; color: var(--ink-muted); margin-top: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.phone-row { display: grid; grid-template-columns: 90px 1fr; gap: 0.5rem; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.86rem; color: var(--ink-soft); margin: 1.25rem 0 1.5rem; line-height: 1.55; }
.consent input { margin-top: 0.25rem; width: 17px; height: 17px; accent-color: var(--blue); flex-shrink: 0; }
.form-error { display: none; background: #fdf1f1; border-left: 3px solid #b42318; color: #7a1d14; padding: 0.8rem 1rem; font-size: 0.88rem; margin-bottom: 1rem; }
.form-error.show { display: block; }
.field.invalid input, .field.invalid select { border-color: #b42318; }

/* Pre-footer */
.prefooter { background: var(--blue); color: #fff; padding: 4rem 0; }
.prefooter-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.prefooter h2 { color: #fff; margin-bottom: 0.6rem; }
.prefooter p { color: rgba(255,255,255,0.9); max-width: 640px; }
.prefooter .btn-row { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.78); padding: 4rem 0 2rem; font-size: 0.88rem; }
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-brand img { height: 56px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.86rem; }
.footer-col h4 { color: #fff; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.55rem; }
.social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social a, .social button { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.3); display: inline-flex; align-items: center; justify-content: center; color: #fff; background: transparent; cursor: pointer; }
.social a:hover, .social button:hover { background: #fff; color: var(--ink); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-disclaimer { padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-disclaimer p { color: rgba(255,255,255,0.62); font-size: 0.8rem; max-width: 1000px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---------- Rule 36 modal & WhatsApp ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(5, 10, 20, 0.78); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 1.25rem; }
.modal-overlay.visible { display: flex; }
.modal { background: #fff; max-width: 720px; width: 100%; max-height: 92vh; overflow-y: auto; padding: 2.5rem; border-top: 4px solid var(--blue); }
.modal img.modal-logo { height: 52px; width: auto; margin-bottom: 1.5rem; }
.modal h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.modal p { font-size: 0.93rem; }
.modal ol { margin: 1rem 0 0 1.25rem; font-size: 0.9rem; color: var(--ink-soft); }
.modal ol li { margin-bottom: 0.7rem; padding-left: 0.25rem; }
.modal .btn-row { margin-top: 1.75rem; }
.modal .btn-row .btn { flex: 1; min-width: 200px; }
.modal select { width: 100%; padding: 0.75rem; border: 1px solid var(--line); font: 0.95rem var(--font-body); margin-top: 0.4rem; }

.wa-float { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 300; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; border: 0; display: none; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.wa-float:hover { background: var(--blue); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
body.rule36-accepted .wa-float { display: inline-flex; }
.wa-gated { display: none !important; }
body.rule36-accepted .wa-gated { display: inline-flex !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: 84px; left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform var(--t); border-top: 1px solid var(--line); }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 1rem 1.5rem 3rem; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line-soft); }
  .main-nav a, .main-nav .nav-parent { width: 100%; justify-content: space-between; padding: 1rem 0.25rem; font-size: 1rem; }
  .submenu, .submenu.cols-2 { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0.75rem 0.75rem; min-width: 0; grid-template-columns: 1fr; }
  .has-sub:hover > .submenu { display: none; }
  .has-sub.open > .submenu { display: block; }
  .has-sub.open .caret { transform: rotate(-135deg); }
  .main-nav .nav-cta a { margin: 1rem 0 0; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .content-grid { grid-template-columns: 1fr; gap: 2rem; }
  .toc { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .numbered-grid, .numbered-grid.four, .pillars, .steps, .offices, .team-structure, .form-layout { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0; }
  .section { padding: 3.75rem 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 1.25rem; }
  .header-inner { height: 72px; }
  .main-nav { top: 72px; }
  .brand img { height: 42px; }
  .footer-top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .pillar, .module, .form-card, .profile, .modal { padding: 1.5rem; }
  .btn-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .wa-float, .modal-overlay, .prefooter { display: none !important; } }

/* ---------- Cookie banner ---------- */
.cc-banner { position: fixed; z-index: 900; background: #fff; border-top: 4px solid var(--blue); box-shadow: 0 -10px 40px rgba(0,0,0,0.15); }
.cc-banner[hidden] { display: none; }
.cc-bottom { left: 0; right: 0; bottom: 0; }
.cc-center { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(640px, calc(100% - 2rem)); max-height: 90vh; overflow-y: auto; }
.cc-inner { max-width: var(--max); margin: 0 auto; padding: 1.5rem 2rem; display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: center; }
.cc-center .cc-inner { grid-template-columns: 1fr; }
.cc-text h2 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.cc-text p { font-size: 0.9rem; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cc-actions .btn, .cc-prefs .btn { padding: 0.75rem 1.1rem; }
.cc-prefs { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1rem; }
.cc-prefs .btn-row { margin-top: 1rem; }
.cc-cat { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.65rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.92rem; }
.cc-cat input { margin-top: 0.3rem; width: 17px; height: 17px; accent-color: var(--blue); flex-shrink: 0; }
.footer-bottom nav a[data-cookie-prefs] { cursor: pointer; }
body.cc-open .wa-float { bottom: 9rem; }
@media (max-width: 760px) { .cc-inner { grid-template-columns: 1fr; padding: 1.25rem; } .cc-actions .btn { flex: 1 1 100%; } }
@media (max-width: 1100px) { .site-header { backdrop-filter: none; background: #fff; } }
.forum-grid { gap: 0; background: none; border: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.forum-card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.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; }
.content-grid > * { min-width: 0; }
