/* CK Law Offices — Master Stylesheet */
:root {
  --bg: #0F0E0C;
  --bg-soft: #1A1816;
  --bg-deep: #08070A;
  --paper: #F5F1E8;
  --paper-soft: #EFE9DB;
  --ink: #F5F1E8;
  --ink-soft: #C8BFA8;
  --ink-mute: #7A746A;
  --rule: #2A2622;
  --rule-strong: #3A332C;
  --accent: #B8763A;
  --accent-soft: #D4954E;
  --accent-deep: #6B1F1F;
  --gold: #C8A964;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

/* ============= DISCLAIMER MODAL ============= */
.disclaimer { position: fixed; inset: 0; background: rgba(8, 7, 10, 0.96); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(12px); }
.disclaimer.hidden { display: none; }
.disclaimer-card { background: var(--bg-soft); max-width: 680px; padding: 56px 48px 44px; border: 0.5px solid var(--rule-strong); position: relative; }
.disclaimer-card::before { content: ''; position: absolute; top: 14px; left: 14px; right: 14px; bottom: 14px; border: 0.5px solid var(--rule); pointer-events: none; }
.disclaimer-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 22px; }
.disclaimer h2 { font-family: var(--serif); font-weight: 300; font-size: 36px; line-height: 1.1; margin-bottom: 26px; letter-spacing: -0.015em; color: var(--paper); }
.disclaimer p { font-size: 14px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 14px; }
.disclaimer-actions { margin-top: 32px; display: flex; gap: 12px; }
.btn { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 26px; border: 0.5px solid var(--ink-soft); background: transparent; color: var(--ink); cursor: pointer; transition: all 0.25s ease; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.btn-ghost:hover { background: var(--paper); color: var(--bg); border-color: var(--paper); }

/* ============= TOPBAR ============= */
.topbar { border-bottom: 0.5px solid var(--rule); padding: 22px 0; position: sticky; top: 0; z-index: 200; backdrop-filter: blur(16px); background: rgba(15, 14, 12, 0.85); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.firm-mark { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.firm-emblem { width: 42px; height: 42px; flex-shrink: 0; }
.firm-mark .firm-name { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: 0.005em; color: var(--paper); line-height: 1; }
.firm-mark .firm-name .accent { color: var(--accent); font-style: italic; padding: 0 4px; }

.nav { display: flex; gap: 28px; align-items: center; position: relative; }
.nav > a, .nav-item > .nav-trigger { font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--ink-soft); transition: color 0.2s ease; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; background: transparent; border: none; padding: 6px 0; position: relative; }
.nav > a:hover, .nav-item:hover > .nav-trigger { color: var(--paper); }
.nav > a::after, .nav-item > .nav-trigger::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.25s ease; }
.nav > a:hover::after, .nav-item:hover > .nav-trigger::after { width: 100%; }

.nav-item { position: relative; }
.nav-trigger .arrow { display: inline-block; margin-left: 5px; font-size: 9px; transition: transform 0.2s ease; }
.nav-item:hover .nav-trigger .arrow { transform: rotate(180deg); }

.megamenu { position: absolute; top: calc(100% + 22px); right: -40px; width: 920px; background: var(--bg-soft); border: 0.5px solid var(--rule-strong); padding: 36px 40px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease; z-index: 250; }
.nav-item:hover .megamenu { opacity: 1; visibility: visible; transform: translateY(0); }
.megamenu::before { content: ''; position: absolute; top: -22px; left: 0; right: 0; height: 22px; }
.megamenu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 36px; }
.megamenu-col h5 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 0.5px solid var(--rule-strong); }
.megamenu-col ul { list-style: none; }
.megamenu-col li { padding: 5px 0; }
.megamenu-col a { font-family: var(--serif); font-size: 15px; color: var(--ink-soft); transition: color 0.15s ease; line-height: 1.4; }
.megamenu-col a:hover { color: var(--accent); }
.megamenu-foot { margin-top: 28px; padding-top: 22px; border-top: 0.5px solid var(--rule-strong); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-mute); }
.megamenu-foot a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.megamenu-foot a:hover { color: var(--accent-soft); }

@media (max-width: 980px) { .nav { display: none; } }

/* ============= HERO ============= */
.hero { padding: 140px 0 120px; border-bottom: 0.5px solid var(--rule); position: relative; overflow: hidden; min-height: 88vh; display: flex; align-items: center; }
@media (max-width: 760px) { .hero { padding: 80px 0 70px; min-height: auto; } }

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; mix-blend-mode: screen; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(15,14,12,0.4) 0%, rgba(15,14,12,0.95) 75%); }

.hero .container { position: relative; z-index: 2; }
.hero-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 38px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-eyebrow .dot { color: var(--ink-mute); }
.hero-eyebrow .pill { background: rgba(184, 118, 58, 0.12); color: var(--accent); padding: 5px 11px; font-size: 9px; font-weight: 500; letter-spacing: 0.18em; border: 0.5px solid var(--accent); }

.hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(54px, 8vw, 124px); line-height: 0.94; letter-spacing: -0.025em; margin-bottom: 0; max-width: 17ch; color: var(--paper); }
.hero h1 .em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero h1 .light { color: var(--ink-soft); font-weight: 300; }
.hero-sub { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); color: var(--ink-soft); line-height: 1.45; margin-top: 38px; max-width: 760px; font-weight: 300; }
.hero-cta { margin-top: 46px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 90px; padding-top: 36px; border-top: 0.5px solid var(--rule); max-width: 1080px; }
@media (max-width: 760px) { .hero-meta-row { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.hero-meta-item .label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: 10px; }
.hero-meta-item .value { font-family: var(--serif); font-size: 24px; line-height: 1.15; color: var(--paper); font-weight: 400; }
.hero-meta-item .sub { font-size: 12px; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }

/* ============= SECTION SCAFFOLD ============= */
section { padding: 130px 0; border-bottom: 0.5px solid var(--rule); position: relative; }
@media (max-width: 760px) { section { padding: 80px 0; } }
.section-head { display: grid; grid-template-columns: 220px 1fr; gap: 48px; margin-bottom: 72px; align-items: baseline; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 48px; } }
.section-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--accent); text-transform: uppercase; }
.section-num .of { color: var(--ink-mute); }
.section-title { font-family: var(--serif); font-size: clamp(40px, 5.4vw, 72px); font-weight: 300; line-height: 1.04; letter-spacing: -0.02em; color: var(--paper); }
.section-title em { font-style: italic; color: var(--accent); font-weight: 400; }
.section-title .light { color: var(--ink-soft); font-weight: 300; }
.section-lede { font-family: var(--serif); font-size: 22px; color: var(--ink-soft); font-weight: 300; line-height: 1.5; max-width: 64ch; margin-top: 28px; font-style: italic; }

/* ============= STATEMENT BAND ============= */
.statement { background: var(--bg-deep); padding: 110px 0; }
.statement .container { max-width: 1080px; }
.statement p { font-family: var(--serif); font-size: clamp(28px, 3.8vw, 52px); font-weight: 300; line-height: 1.25; letter-spacing: -0.012em; color: var(--paper); }
.statement p em { color: var(--accent); font-style: italic; font-weight: 400; }
.statement .attribution { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); margin-top: 32px; display: block; }

/* ============= PRACTICE GRID (homepage) ============= */
.practice-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 0.5px solid var(--rule); border-left: 0.5px solid var(--rule); }
@media (max-width: 980px) { .practice-overview { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .practice-overview { grid-template-columns: 1fr; } }
.practice-card { padding: 36px 32px 38px; border-right: 0.5px solid var(--rule); border-bottom: 0.5px solid var(--rule); background: var(--bg); transition: background 0.3s ease, transform 0.3s ease; position: relative; cursor: pointer; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.practice-card::after { content: ''; position: absolute; left: 0; top: 0; width: 0; height: 1px; background: var(--accent); transition: width 0.4s ease; }
.practice-card:hover { background: var(--bg-soft); }
.practice-card:hover::after { width: 100%; }
.practice-card-num { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 22px; }
.practice-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.18; margin-bottom: 14px; letter-spacing: -0.01em; color: var(--paper); }
.practice-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 22px; }
.practice-card .arrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; transition: gap 0.25s ease; text-transform: uppercase; margin-top: auto; }
.practice-card:hover .arrow { gap: 14px; }

/* ============= SECTORS ============= */
.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 0.5px solid var(--rule); }
@media (max-width: 980px) { .sectors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .sectors-grid { grid-template-columns: 1fr; } }
.sector { background: var(--bg); padding: 32px 28px 28px; position: relative; overflow: hidden; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; transition: background 0.3s ease; }
.sector:hover { background: var(--bg-soft); }
.sector-vignette { position: absolute; right: -16px; bottom: -16px; width: 130px; height: 130px; opacity: 0.06; color: var(--accent); pointer-events: none; transition: opacity 0.3s ease, transform 0.4s ease; }
.sector:hover .sector-vignette { opacity: 0.16; transform: translate(-6px, -6px) scale(1.05); }
.sector-num { font-family: var(--mono); font-size: 10px; color: var(--accent); margin-bottom: 18px; position: relative; z-index: 2; letter-spacing: 0.15em; }
.sector h4 { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -0.005em; line-height: 1.2; margin-bottom: 10px; position: relative; z-index: 2; color: var(--paper); }
.sector p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; position: relative; z-index: 2; max-width: 32ch; }

/* ============= JURISDICTION (merged section) ============= */
.juris-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 80px; align-items: start; }
@media (max-width: 880px) { .juris-intro { grid-template-columns: 1fr; gap: 40px; } }
.juris-intro .lead { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 300; line-height: 1.35; color: var(--paper); }
.juris-intro .lead em { color: var(--accent); font-style: italic; }
.juris-intro p { font-size: 15px; color: var(--ink-soft); line-height: 1.8; margin-bottom: 16px; }
.juris-intro .principle { margin-top: 30px; padding: 26px 30px; background: rgba(184, 118, 58, 0.06); border-left: 2px solid var(--accent); }
.juris-intro .principle p { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--paper); line-height: 1.5; margin-bottom: 0; }

.offices-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1px; background: var(--rule); border: 0.5px solid var(--rule); }
@media (max-width: 1100px) { .offices-strip { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .offices-strip { grid-template-columns: repeat(2, 1fr); } }
.office-tile { background: var(--bg); padding: 28px 22px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; transition: background 0.25s ease; }
.office-tile:hover { background: var(--bg-soft); }
.office-tile.principal { background: var(--accent-deep); }
.office-tile.principal:hover { background: #4A1414; }
.office-tile .tier { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.office-tile.principal .tier { color: var(--gold); }
.office-tile .tier .badge { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.office-tile.principal .tier .badge { background: var(--gold); }
.office-tile h4 { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -0.01em; line-height: 1.1; margin-bottom: 4px; color: var(--paper); }
.office-tile .state { font-family: var(--mono); font-size: 9px; color: var(--ink-mute); letter-spacing: 0.12em; text-transform: uppercase; }
.office-tile.principal .state { color: rgba(245, 241, 232, 0.6); }

/* ============= FOUNDER MINIMAL ============= */
.founder-min { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 880px) { .founder-min { grid-template-columns: 1fr; gap: 40px; } }
.founder-min .quote { font-family: var(--serif); font-size: clamp(28px, 3.2vw, 42px); font-weight: 300; line-height: 1.3; font-style: italic; color: var(--paper); }
.founder-min .quote em { color: var(--accent); font-weight: 400; }
.founder-min .meta { padding-left: 32px; border-left: 0.5px solid var(--rule-strong); }
.founder-min .meta-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.founder-min .meta-name { font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--paper); letter-spacing: -0.01em; margin-bottom: 6px; }
.founder-min .meta-role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); }

/* ============= INSIGHTS ============= */
.insights-feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 0.5px solid var(--rule); }
@media (max-width: 880px) { .insights-feed { grid-template-columns: 1fr; } }
.insight-card { background: var(--bg); padding: 36px 30px; transition: background 0.25s ease; }
.insight-card:hover { background: var(--bg-soft); }
.insight-area { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.insight-card h4 { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.3; margin-bottom: 14px; letter-spacing: -0.005em; color: var(--paper); }
.insight-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 18px; }
.insight-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 0.5px solid var(--rule); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink-mute); text-transform: uppercase; }
.insight-meta .read { color: var(--accent); }

/* ============= ENGAGE ============= */
.engage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
@media (max-width: 880px) { .engage-grid { grid-template-columns: 1fr; gap: 50px; } }
.engage-pull { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); font-style: italic; line-height: 1.3; color: var(--paper); font-weight: 300; }
.engage-pull em { color: var(--accent); }
.engage-process { margin-top: 40px; padding-top: 32px; border-top: 0.5px solid var(--rule); }
.engage-process .step { display: grid; grid-template-columns: 32px 1fr; gap: 18px; padding: 16px 0; align-items: baseline; }
.engage-process .step .n { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; }
.engage-process .step .t { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }
.engage-process .step .t strong { color: var(--paper); font-weight: 500; }
.engage-details { font-size: 15px; line-height: 1.9; color: var(--paper); }
.engage-details .row { padding: 16px 0; border-bottom: 0.5px solid var(--rule); display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: baseline; }
.engage-details .row:last-child { border-bottom: none; }
.engage-details .row .label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); padding-top: 4px; }
.engage-details .row .value { color: var(--paper); font-weight: 400; }
.engage-details a:hover { color: var(--accent); }
.engage-note { margin-top: 28px; font-size: 13px; color: var(--ink-mute); line-height: 1.7; font-style: italic; }

/* ============= FOOTER ============= */
footer { padding: 80px 0 50px; background: var(--bg-deep); color: var(--ink-soft); border-top: 0.5px solid var(--rule); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 64px; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }
.footer-mark { font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -0.01em; color: var(--paper); margin-bottom: 16px; }
.footer-mark .accent { color: var(--accent); font-style: italic; padding: 0 4px; }
.footer-tag { font-size: 13px; color: var(--ink-mute); line-height: 1.7; max-width: 380px; }
.footer-col h4 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 5px 0; }
.footer-col a { font-family: var(--serif); font-size: 14px; color: var(--ink-soft); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 0.5px solid var(--rule); padding-top: 32px; display: grid; grid-template-columns: 1fr auto; gap: 16px; font-size: 11px; color: var(--ink-mute); line-height: 1.7; }
@media (max-width: 760px) { .footer-bottom { grid-template-columns: 1fr; } }
.disclaimer-text { font-style: italic; max-width: 760px; }

/* ============= INTERIOR PAGE HEADER ============= */
.page-header { padding: 140px 0 80px; border-bottom: 0.5px solid var(--rule); position: relative; overflow: hidden; }
.page-header-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 28px; }
.page-header h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 6.5vw, 96px); line-height: 0.98; letter-spacing: -0.022em; max-width: 18ch; color: var(--paper); }
.page-header h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.page-header .lead { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); color: var(--ink-soft); line-height: 1.5; margin-top: 32px; max-width: 720px; font-weight: 300; }

/* breadcrumb */
.breadcrumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 36px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--rule-strong); }
.breadcrumb .current { color: var(--accent); }

/* ============= PRACTICE PAGE STRUCTURE ============= */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-size: 38px; font-weight: 400; letter-spacing: -0.012em; line-height: 1.15; color: var(--paper); margin: 64px 0 22px; }
.prose h2:first-child { margin-top: 0; }
.prose h2 em { color: var(--accent); font-style: italic; }
.prose h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.25; color: var(--paper); margin: 44px 0 14px; letter-spacing: -0.005em; }
.prose p { font-size: 16px; line-height: 1.85; color: var(--ink-soft); margin-bottom: 18px; }
.prose p strong { color: var(--paper); font-weight: 500; }
.prose ul, .prose ol { margin: 0 0 22px 22px; }
.prose li { font-size: 15.5px; line-height: 1.85; color: var(--ink-soft); margin-bottom: 8px; }
.prose blockquote { border-left: 2px solid var(--accent); padding: 8px 0 8px 28px; margin: 32px 0; font-family: var(--serif); font-size: 22px; line-height: 1.5; font-style: italic; color: var(--paper); font-weight: 300; }

.subframework { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 0.5px solid var(--rule); margin: 36px 0; }
@media (max-width: 760px) { .subframework { grid-template-columns: 1fr; } }
.subframework-card { background: var(--bg); padding: 30px 28px; transition: background 0.25s ease; }
.subframework-card:hover { background: var(--bg-soft); }
.subframework-card .ref { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 12px; text-transform: uppercase; }
.subframework-card h4 { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--paper); margin-bottom: 10px; letter-spacing: -0.005em; }
.subframework-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.65; }

.practice-page-layout { display: grid; grid-template-columns: 240px 1fr 240px; gap: 60px; align-items: start; }
@media (max-width: 1100px) { .practice-page-layout { grid-template-columns: 1fr; gap: 40px; } }
.toc-sticky { position: sticky; top: 100px; }
.toc-sticky h5 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 0.5px solid var(--rule); }
.toc-sticky ul { list-style: none; }
.toc-sticky li { padding: 7px 0; }
.toc-sticky a { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); transition: color 0.2s ease; line-height: 1.4; }
.toc-sticky a:hover, .toc-sticky a.active { color: var(--accent); }
@media (max-width: 1100px) { .toc-sticky { display: none; } }

.related-side { padding-left: 32px; border-left: 0.5px solid var(--rule); }
.related-side h5 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 18px; }
.related-side .related-link { display: block; padding: 14px 0; border-bottom: 0.5px dotted var(--rule); }
.related-side .related-link:last-child { border-bottom: none; }
.related-side .related-link h6 { font-family: var(--serif); font-size: 16px; font-weight: 500; color: var(--paper); line-height: 1.3; }
.related-side .related-link span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--ink-mute); display: block; margin-top: 4px; text-transform: uppercase; }
.related-side .related-link:hover h6 { color: var(--accent); }
@media (max-width: 1100px) { .related-side { padding-left: 0; border-left: none; padding-top: 32px; border-top: 0.5px solid var(--rule); } }

/* ============= REVEAL ============= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.hero-eyebrow, .hero h1, .hero-sub, .hero-cta, .hero-meta-row { opacity: 0; animation: fadeUp 1.1s cubic-bezier(0.2, 0.6, 0.2, 1) forwards; }
.hero-eyebrow { animation-delay: 0.15s; }
.hero h1 { animation-delay: 0.32s; }
.hero-sub { animation-delay: 0.55s; }
.hero-cta { animation-delay: 0.72s; }
.hero-meta-row { animation-delay: 0.85s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

body::before { content: ''; position: fixed; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(245, 241, 232, 0.018) 1px, transparent 0); background-size: 28px 28px; pointer-events: none; z-index: 1; }
.topbar, section, footer, .disclaimer, .hero { position: relative; z-index: 2; }

/* services index page */
.services-grid-full { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 0.5px solid var(--rule); margin-top: 64px; }
@media (max-width: 760px) { .services-grid-full { grid-template-columns: 1fr; } }
.svc-card { background: var(--bg); padding: 36px 32px; transition: background 0.3s ease; position: relative; }
.svc-card:hover { background: var(--bg-soft); }
.svc-card-num { font-family: var(--mono); font-size: 10px; color: var(--accent); margin-bottom: 16px; letter-spacing: 0.18em; }
.svc-card h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.2; margin-bottom: 14px; color: var(--paper); letter-spacing: -0.01em; }
.svc-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 18px; }
.svc-card .sub-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.svc-card .sub-tag { font-family: var(--mono); font-size: 10px; color: var(--ink-mute); border: 0.5px solid var(--rule-strong); padding: 4px 9px; letter-spacing: 0.05em; text-transform: uppercase; }
.svc-card .arrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; transition: gap 0.25s ease; text-transform: uppercase; }
.svc-card:hover .arrow { gap: 14px; }

/* blog */
.blog-list { max-width: 920px; margin: 0 auto; }
.blog-entry { padding: 36px 0; border-bottom: 0.5px solid var(--rule); display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: start; }
@media (max-width: 760px) { .blog-entry { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; } }
.blog-entry .blog-meta-side { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-mute); text-transform: uppercase; line-height: 1.7; }
.blog-entry .blog-meta-side .area { color: var(--accent); display: block; margin-bottom: 6px; }
.blog-entry h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.25; margin-bottom: 10px; color: var(--paper); letter-spacing: -0.01em; }
.blog-entry p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.7; }

/* blog post body */
.blog-body { max-width: 760px; margin: 0 auto; padding: 80px 32px; }
.blog-body h1 { font-family: var(--serif); font-size: clamp(38px, 5vw, 56px); line-height: 1.1; font-weight: 400; color: var(--paper); margin-bottom: 22px; letter-spacing: -0.018em; }
.blog-body h1 em { color: var(--accent); font-style: italic; }
.blog-body .post-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ink-mute); text-transform: uppercase; margin-bottom: 50px; padding-bottom: 24px; border-bottom: 0.5px solid var(--rule); display: flex; gap: 20px; flex-wrap: wrap; }
.blog-body .post-meta .area { color: var(--accent); }
.blog-body .lede { font-family: var(--serif); font-size: 24px; line-height: 1.55; color: var(--ink); font-weight: 300; font-style: italic; margin-bottom: 40px; }
.blog-body p { font-size: 16.5px; line-height: 1.95; color: var(--ink-soft); margin-bottom: 22px; }
.blog-body p strong { color: var(--paper); font-weight: 500; }
.blog-body h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; color: var(--paper); margin: 48px 0 18px; letter-spacing: -0.01em; }
.blog-body h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--paper); margin: 36px 0 12px; }
.blog-body ul, .blog-body ol { margin: 0 0 22px 24px; }
.blog-body li { font-size: 16px; color: var(--ink-soft); line-height: 1.85; margin-bottom: 8px; }
.blog-body blockquote { border-left: 2px solid var(--accent); padding-left: 28px; margin: 32px 0; font-family: var(--serif); font-size: 22px; line-height: 1.5; font-style: italic; color: var(--paper); }
.blog-footer-cta { margin-top: 60px; padding-top: 36px; border-top: 0.5px solid var(--rule); }

/* tag pills */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pill { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-soft); border: 0.5px solid var(--rule-strong); padding: 5px 11px; text-transform: uppercase; transition: all 0.2s ease; }
.pill:hover { border-color: var(--accent); color: var(--accent); }
