/* ==========================================================================
   Lexovanta — Design System
   Type: Fraunces (display serif) / Source Sans 3 (body)
   Direction: premium, restrained, timeless — no pill buttons, no bright
   gradients, hairline borders, quiet shadows.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&amp;family=Source+Sans+3:wght@400;500;600;700&amp;display=swap');

:root {
  /* ---- Brand ---- */
  --ink: #24262B;
  --ink-hover: #34363C;
  --charcoal: #4A4D54;
  --accent: #A8462A;
  --accent-hover: #8C3A22;
  --accent-tint: #F5E9E4;
  --gold: #B08D3E;
  --gold-tint: #F3EDDD;
  --gold-line: #D7B76A;

  /* ---- Neutrals ---- */
  --bg: #F8F7F4;
  --surface: #FFFFFF;
  --surface-alt: #F1EFE9;
  --border: #E4E1D9;
  --border-strong: #CFC9BB;
  --text: #24262B;
  --text-secondary: #5B5D63;
  --text-muted: #8B8D93;

  /* ---- Semantic ---- */
  --success: #1F7A52;
  --success-tint: #E6F1EB;
  --warning: #9C6B12;
  --warning-tint: #F6EEDC;
  --error: #A93226;
  --error-tint: #F6E7E4;
  --info: #2E5C8A;
  --info-tint: #E8EFF5;

  /* ---- Dark panel (used sparingly: CTA blocks, footer) ---- */
  --dark-bg: #1D1E22;
  --dark-surface: #26282D;
  --dark-border: #383A40;
  --dark-text: #F4F1EA;
  --dark-muted: #9A9CA3;

  /* ---- Type ---- */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;

  /* ---- Scale (small radii, quiet shadows — no pill buttons) ---- */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;

  --shadow-sm: 0 1px 2px rgba(36, 38, 43, 0.05);
  --shadow-md: 0 6px 20px rgba(36, 38, 43, 0.07);
  --shadow-lg: 0 16px 40px rgba(36, 38, 43, 0.11);

  --container: 1200px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  font-size: 16.5px;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; color: var(--ink); line-height: 1.2; }
p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 12px 20px; z-index: 300; font-weight: 600; }
.skip-link:focus { left: 0; }

/* ---- Layout ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: 116px 0; }
.section-tight { padding: 76px 0; }
@media (max-width: 860px) { .section { padding: 76px 0; } .section-tight { padding: 56px 0; } .container { padding: 0 22px; } }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split-wide-left { grid-template-columns: 1.15fr 1fr; }
.split-wide-right { grid-template-columns: 1fr 1.3fr; }
@media (max-width: 860px) { .split-wide-left, .split-wide-right { grid-template-columns: 1fr; } }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-sm { gap: 10px; } .gap-md { gap: 20px; } .gap-lg { gap: 36px; }

/* ---- Type utilities ---- */
.eyebrow {
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 24px; height: 1.5px; background: var(--gold-line); display: inline-block; }
.h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1.08; font-weight: 500; }
.h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.15; font-weight: 500; }
.h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.3; font-weight: 500; }
.h4 { font-size: 1.12rem; line-height: 1.4; font-weight: 500; }
.lede { font-size: 1.16rem; line-height: 1.65; color: var(--text-secondary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.section-head { max-width: 620px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 16px; }

/* ---- Buttons: small radius, no pills, no gradients ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 14.5px; letter-spacing: 0.01em;
  padding: 14px 26px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.16s ease; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-hover); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-on-dark { background: transparent; color: var(--dark-text); border-color: rgba(244,241,234,0.4); }
.btn-on-dark:hover { border-color: var(--dark-text); }
.btn-lg { padding: 16.5px 32px; font-size: 15.5px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 200; height: var(--header-h);
  background: var(--bg); border-bottom: 1px solid var(--border); transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 4px; }
.brand svg { height: 34px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 6px; }
.nav-link { display: flex; align-items: center; padding: 10px 16px; font-weight: 500; font-size: 14.5px; color: var(--text); position: relative; }
.nav-link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1.5px; background: var(--accent); transform: scaleX(0); transition: transform 0.16s ease; transform-origin: left; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; color: var(--text); }
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .primary-nav { display: none; } .nav-toggle { display: flex; } }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); z-index: 190;
  padding: 14px 22px 40px; overflow-y: auto; transform: translateY(-12px); opacity: 0;
  visibility: hidden; transition: all 0.2s ease;
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav a { display: block; padding: 16px 4px; font-size: 18px; font-weight: 500; font-family: var(--font-display); border-bottom: 1px solid var(--border); }
.mobile-nav .mobile-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }

/* ---- Hero (static, no floating cards, no infinite animation) ---- */
.hero { position: relative; padding: 76px 0 20px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy h1 { margin-top: 20px; }
.hero-copy p.lede { margin-top: 22px; max-width: 500px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--border); }
.hero-trust .trust-label { font-size: 12.5px; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.trust-logos { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.trust-logos svg { height: 20px; width: auto; color: var(--text-secondary); opacity: 0.7; }

/* ---- Illustration panels (used instead of stock photography) ---- */
.illo-panel { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }

/* ---- Stats band ---- */
.stats-band { background: var(--ink); border-radius: var(--radius-lg); padding: 54px 48px; }
.stats-band .grid-4 { gap: 24px; }
.stat-value { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 3vw, 2.5rem); color: #fff; }
.stat-label { color: rgba(244,241,234,0.62); font-size: 13.5px; margin-top: 8px; }
@media (max-width: 640px) { .stats-band { padding: 38px 26px; } }

/* ---- Cards ---- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.card-icon svg { width: 21px; height: 21px; }
.card-icon.tone-ink { background: var(--surface-alt); color: var(--ink); }
.card-icon.tone-accent { background: var(--accent-tint); color: var(--accent); }
.card-icon.tone-gold { background: var(--gold-tint); color: var(--gold); }
.card h3 { margin-top: 2px; }
.card p { margin-top: 12px; }
.card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-weight: 600; font-size: 14px; color: var(--ink); border-bottom: 1.5px solid var(--gold-line); padding-bottom: 2px; }
.card-link svg { width: 14px; height: 14px; transition: transform 0.15s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

.feature-list { display: flex; flex-direction: column; gap: 11px; margin-top: 20px; }
.feature-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--text-secondary); }
.feature-list svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; margin-top: 3px; }

/* ---- Tabs ---- */
.tabs-nav { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 44px; }
.tab-btn { padding: 13px 20px; font-weight: 600; font-size: 14.5px; color: var(--text-secondary); background: transparent; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-btn:hover { color: var(--ink); }
.tab-btn.is-active { color: var(--ink); border-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadein 0.3s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Process / timeline ---- */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
@media (max-width: 860px) { .process-steps { grid-template-columns: 1fr; } }
.process-step { border-top: 2px solid var(--gold-line); padding-top: 20px; }
.process-num { font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--accent); }
.process-step h4 { margin-top: 14px; }
.process-step p { margin-top: 10px; font-size: 14.5px; color: var(--text-secondary); }

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 90px 20px 1fr; gap: 22px; padding-bottom: 42px; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year { font-family: var(--font-display); font-weight: 500; color: var(--accent); font-size: 15px; padding-top: 2px; }
.timeline-dot-col { display: flex; flex-direction: column; align-items: center; }
.timeline-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 5px; }
.timeline-line { flex: 1; width: 1.5px; background: var(--border); margin-top: 6px; }
.timeline-item:last-child .timeline-line { display: none; }
.timeline-content h4 { margin-bottom: 8px; }
.timeline-content p { color: var(--text-secondary); font-size: 14.5px; }

/* ---- Testimonials / client experiences (qualitative, no outcome claims) ---- */
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 34px; display: flex; flex-direction: column; gap: 20px; }
.testimonial-card .quote-mark { width: 28px; height: 20px; color: var(--gold-line); }
.testimonial-card p.quote-text { font-family: var(--font-display); font-style: italic; font-size: 17px; line-height: 1.6; color: var(--ink); }
.testimonial-person { margin-top: auto; padding-top: 6px; border-top: 1px solid var(--border); }
.testimonial-person .name { font-weight: 600; font-size: 14px; }
.testimonial-person .role { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }

/* ---- Attorney cards ---- */
.attorney-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.attorney-portrait { aspect-ratio: 4/5; }
.attorney-body { padding: 26px; }
.attorney-body h3 { font-size: 1.2rem; }
.attorney-role { color: var(--accent); font-size: 13.5px; font-weight: 600; margin-top: 4px; }
.attorney-areas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.attorney-tag { font-size: 11.5px; font-weight: 600; letter-spacing: 0.03em; padding: 4px 10px; background: var(--surface-alt); border-radius: var(--radius-sm); color: var(--text-secondary); }
.attorney-body p.bio { margin-top: 16px; font-size: 14px; color: var(--text-secondary); }
.attorney-meta { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-muted); }
.attorney-meta strong { color: var(--text-secondary); font-weight: 600; }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 4px; background: none; border: none; text-align: left; }
.faq-q-text { font-family: var(--font-display); font-weight: 500; font-size: 17px; }
.faq-question svg { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item.is-open .faq-question svg { transform: rotate(45deg); color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer-inner { padding: 0 4px 24px; color: var(--text-secondary); font-size: 14.5px; line-height: 1.7; max-width: 680px; }
.faq-item.is-open .faq-answer { max-height: 480px; }

/* ---- CTA blocks: solid ink, thin gold rule — no gradients ---- */
.cta-block { background: var(--dark-bg); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); padding: 68px 60px; color: var(--dark-text); }
.cta-block-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-block h2 { color: #fff; }
.cta-block p { color: rgba(244,241,234,0.72); margin-top: 14px; max-width: 460px; }
.cta-block .eyebrow { color: var(--gold-line); }
.cta-block .eyebrow::before { background: var(--gold-line); }
@media (max-width: 640px) { .cta-block { padding: 46px 30px; } }

.cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 38px 40px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-alt); flex-wrap: wrap; }

.newsletter-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 56px 60px; }
.newsletter-form { display: flex; gap: 12px; margin-top: 26px; max-width: 460px; }
.newsletter-form input { flex: 1; padding: 14px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--text); }
@media (max-width: 560px) { .newsletter-form { flex-direction: column; } .newsletter-block { padding: 40px 26px; } }
.form-note { font-size: 12.5px; color: var(--text-muted); margin-top: 14px; }

/* ---- Forms ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.form-field input, .form-field select, .form-field textarea { padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--text); transition: border-color 0.15s ease; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent); outline: none; }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-secondary); }
.form-check input { margin-top: 3px; }
.form-success { display: none; align-items: center; gap: 12px; padding: 20px 22px; background: var(--success-tint); border: 1px solid #BFE0CE; border-radius: var(--radius-md); color: #175E3F; font-weight: 600; }
.form-success.is-visible { display: flex; }
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }

.info-card { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); padding: 28px; display: flex; gap: 18px; }
.info-card .card-icon { margin-bottom: 0; flex-shrink: 0; }
.info-card h4 { margin-bottom: 8px; }
.info-card p { color: var(--text-secondary); font-size: 14.5px; }
.info-card a { color: var(--accent); font-weight: 600; }

/* ---- Footer ---- */
.site-footer { background: var(--dark-bg); color: rgba(244,241,234,0.66); padding: 80px 0 32px; margin-top: 60px; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(2, 1fr); gap: 44px; padding-bottom: 56px; border-bottom: 1px solid var(--dark-border); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand { color: var(--dark-text); }
.footer-brand p { margin-top: 18px; max-width: 300px; font-size: 14.5px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a { width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--dark-surface); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--accent); }
.footer-social svg { width: 16px; height: 16px; color: #fff; }
.footer-col h5 { color: var(--dark-text); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a { font-size: 14.5px; }
.footer-col a:hover { color: var(--dark-text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; flex-wrap: wrap; gap: 12px; font-size: 12.5px; }

/* ---- Cookie bar ---- */
.cookie-bar { position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 460px; z-index: 250; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 26px; transform: translateY(140%); transition: transform 0.35s ease; }
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar h4 { margin-bottom: 10px; }
.cookie-bar p { font-size: 13.5px; color: var(--text-secondary); margin-bottom: 18px; }
.cookie-bar a { color: var(--accent); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-prefs { display: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); flex-direction: column; gap: 12px; }
.cookie-prefs.is-visible { display: flex; }
.cookie-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.cookie-toggle-row .ct-label { font-weight: 600; }
.cookie-toggle-row .ct-desc { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.switch { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; background: var(--border-strong); border-radius: 999px; transition: background 0.15s ease; cursor: pointer; }
.switch .slider::before { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform 0.15s ease; }
.switch input:checked + .slider { background: var(--accent); }
.switch input:checked + .slider::before { transform: translateX(18px); }
.switch input:disabled + .slider { opacity: 0.6; cursor: not-allowed; }
@media (max-width: 560px) { .cookie-bar { left: 12px; right: 12px; bottom: 12px; padding: 20px; } }

/* ---- Insights / articles ---- */
.blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 44px; flex-wrap: wrap; }
.chip-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--border-strong); font-size: 13.5px; font-weight: 600; color: var(--text-secondary); background: var(--surface); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-box { position: relative; }
.search-box input { padding: 11px 16px 11px 40px; border-radius: var(--radius-sm); border: 1.5px solid var(--border-strong); min-width: 220px; background: var(--surface); }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-muted); }

.blog-card { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; transition: box-shadow 0.2s ease; }
.blog-card:hover { box-shadow: var(--shadow-md); }
.blog-thumb { aspect-ratio: 16/9; }
.blog-card-body { padding: 26px; }
.blog-meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-muted); margin-bottom: 14px; }
.blog-cat-tag { color: var(--accent); font-weight: 600; }
.blog-card h3 { font-size: 1.18rem; }
.blog-card p { margin-top: 12px; font-size: 14.5px; color: var(--text-secondary); }

.blog-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin-bottom: 68px; padding-bottom: 60px; border-bottom: 1px solid var(--border); }
@media (max-width: 860px) { .blog-featured { grid-template-columns: 1fr; } }

.article-body { max-width: 700px; margin: 0 auto; }
.article-body h2 { margin-top: 46px; margin-bottom: 18px; font-size: 1.55rem; }
.article-body p { margin-bottom: 20px; color: var(--text-secondary); font-size: 16.5px; line-height: 1.8; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; color: var(--text-secondary); }
.article-body li { margin-bottom: 9px; line-height: 1.7; }
.article-block { padding-top: 58px; margin-top: 58px; border-top: 1px solid var(--border); }
.article-block:first-child { padding-top: 0; margin-top: 0; border-top: none; }
.article-header { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.article-header .blog-meta { justify-content: center; }
.article-header h1 { margin-top: 18px; }

/* ---- Practice areas / industries tiles ---- */
.category-tile { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface); }

/* ---- Legal pages ---- */
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; } }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px; background: var(--surface); }
.legal-toc h5 { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.legal-toc ul { display: flex; flex-direction: column; gap: 11px; }
.legal-toc a { font-size: 13.5px; color: var(--text-secondary); }
.legal-toc a:hover { color: var(--accent); }
.legal-content h2 { font-size: 1.4rem; margin-top: 42px; margin-bottom: 16px; scroll-margin-top: 100px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 18px; color: var(--text-secondary); line-height: 1.75; }
.legal-content ul { margin: 0 0 18px; padding-left: 22px; color: var(--text-secondary); }
.legal-content li { margin-bottom: 9px; }
.legal-updated { font-size: 13px; color: var(--text-muted); margin-bottom: 42px; font-style: italic; font-family: var(--font-display); }
table.cookie-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 13.5px; }
table.cookie-table th, table.cookie-table td { text-align: left; padding: 13px 15px; border: 1px solid var(--border); }
table.cookie-table th { background: var(--surface-alt); font-weight: 600; }

/* ---- 404 ---- */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 0; }
.error-code { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: clamp(4rem, 12vw, 7rem); color: var(--border-strong); line-height: 1; }

/* ---- Breadcrumb ---- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-muted); margin-bottom: 32px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 13px; height: 13px; }

/* ---- Scroll reveal (subtle only) ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- Back to top ---- */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 150; width: 46px; height: 46px;
  border-radius: var(--radius-sm); background: var(--ink); color: #fff; display: flex;
  align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s ease; border: none;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; }
.back-to-top:hover { background: var(--ink-hover); }
