/* ============================================================
   Simone Bertollini — Writ of Mandamus
   Shared stylesheet for home + 8 SEO subpages
   ============================================================ */

:root {
  --ink: #0d0d0d;
  --parchment: #f5f0e8;
  --cream: #faf7f2;
  --gold: #b8963e;
  --gold-light: #d4a84b;
  --gold-pale: #f0e6c8;
  --rust: #8b3a2a;
  --steel: #2c3e50;
  --muted: #6b6055;
  --border: #d4c9b0;
  --shadow: rgba(13,13,13,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Libre Baskerville', Georgia, serif; background: var(--cream); color: var(--ink); overflow-x: hidden; line-height: 1.7; }

/* ============= TOPBAR ============= */
.topbar { background: var(--ink); color: #ccc; font-family: 'Josefin Sans', sans-serif; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 9px 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: var(--gold-light); text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-right { display: flex; gap: 24px; }

/* ============= NAV ============= */
nav { position: sticky; top: 0; z-index: 100; background: var(--parchment); border-bottom: 1px solid var(--border); padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 72px; box-shadow: 0 2px 20px var(--shadow); }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-icon { width: 46px; height: 46px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .main-title { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 600; color: var(--ink); letter-spacing: 0.04em; }
.logo-text .sub-title { font-family: 'Josefin Sans', sans-serif; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { font-family: 'Josefin Sans', sans-serif; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--steel); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }

/* Nav dropdown for "Guide" menu */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.6rem; opacity: 0.6; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: -16px; background: var(--cream); border: 1px solid var(--border); border-top: 2px solid var(--gold); box-shadow: 0 8px 28px var(--shadow); min-width: 280px; padding: 12px 0; list-style: none; z-index: 200; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 10px 22px; color: var(--steel); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; transition: background 0.15s, color 0.15s; }
.nav-dropdown-menu a:hover { background: var(--parchment); color: var(--gold); }

/* ============= HERO ============= */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; background: var(--ink); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(184,150,62,0.08) 0%, transparent 60%), radial-gradient(ellipse 50% 80% at 20% 80%, rgba(139,58,42,0.07) 0%, transparent 50%), linear-gradient(135deg, #0d0d0d 0%, #1a1510 50%, #0d0d0d 100%); }
.hero-texture { position: absolute; inset: 0; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-rule-left { position: absolute; left: 40px; top: 15%; bottom: 15%; width: 1px; background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent); opacity: 0.4; }
.hero-content { position: relative; z-index: 2; max-width: 780px; padding: 80px 80px 80px 100px; animation: heroIn 1.2s cubic-bezier(0.22,0.61,0.36,1) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow { font-family: 'Josefin Sans', sans-serif; font-size: 0.68rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero-h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 300; line-height: 1.05; color: #f0ebe0; margin-bottom: 12px; letter-spacing: -0.01em; }
.hero-h1 em { font-style: italic; color: var(--gold-light); }
.hero-latin { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.05rem; color: var(--gold); opacity: 0.7; margin-bottom: 36px; letter-spacing: 0.05em; }
.hero-p { font-size: 1.05rem; color: #c8c0b0; max-width: 560px; margin-bottom: 48px; line-height: 1.8; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary { font-family: 'Josefin Sans', sans-serif; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: 14px 32px; border: none; cursor: pointer; text-decoration: none; display: inline-block; transition: background 0.2s, transform 0.2s; font-weight: 600; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost { font-family: 'Josefin Sans', sans-serif; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; background: transparent; color: #c8c0b0; padding: 13px 32px; border: 1px solid rgba(200,192,176,0.35); cursor: pointer; text-decoration: none; display: inline-block; transition: border-color 0.2s, color 0.2s; font-weight: 400; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.hero-badges { position: absolute; right: 60px; bottom: 60px; display: flex; flex-direction: column; gap: 12px; z-index: 2; }
.badge { background: rgba(255,255,255,0.04); border: 1px solid rgba(184,150,62,0.25); padding: 10px 18px; text-align: center; }
.badge-num { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 600; color: var(--gold-light); line-height: 1; }
.badge-label { font-family: 'Josefin Sans', sans-serif; font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: #999; margin-top: 2px; }

/* ============= SECTIONS ============= */
.section { padding: 80px; max-width: 1200px; margin: 0 auto; }
.section-label { font-family: 'Josefin Sans', sans-serif; font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.section-h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 300; line-height: 1.15; color: var(--ink); margin-bottom: 24px; }
.section-h2 em { font-style: italic; color: var(--rust); }

/* ============= INTRO GRID ============= */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.intro-aside { background: var(--ink); color: var(--parchment); padding: 40px; position: relative; }
.intro-aside::before { content: ''; position: absolute; top: 8px; left: 8px; right: -8px; bottom: -8px; border: 1px solid var(--gold); opacity: 0.3; z-index: -1; }
.statute-item { border-bottom: 1px solid rgba(184,150,62,0.2); padding: 16px 0; }
.statute-item:last-child { border-bottom: none; }
.statute-code { font-family: 'Josefin Sans', sans-serif; font-size: 0.7rem; letter-spacing: 0.15em; color: var(--gold); text-transform: uppercase; margin-bottom: 4px; }
.statute-desc { font-size: 0.88rem; color: #c8c0b0; line-height: 1.6; }
.intro-text p { margin-bottom: 20px; color: var(--muted); font-size: 0.97rem; }
.intro-text p:first-child { color: var(--ink); font-size: 1.05rem; }

/* ============= PRACTICE CARDS ============= */
.practice-bg { background: var(--parchment); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border); }
.practice-card { background: var(--cream); padding: 32px 26px; cursor: pointer; transition: background 0.25s; position: relative; overflow: hidden; text-decoration: none; color: inherit; display: block; }
.practice-card::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); transform: scaleY(0); transition: transform 0.25s; transform-origin: bottom; }
.practice-card:hover { background: var(--parchment); }
.practice-card:hover::after { transform: scaleY(1); }
.practice-num { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 300; color: var(--gold-pale); line-height: 1; margin-bottom: 10px; transition: color 0.25s; }
.practice-card:hover .practice-num { color: var(--gold); }
.practice-h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; line-height: 1.2; }
.practice-p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.practice-detail { display: none; font-size: 0.82rem; color: var(--muted); line-height: 1.65; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 6px; }
.practice-card.open .practice-detail { display: block; }
.practice-tag { font-family: 'Josefin Sans', sans-serif; font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); display: inline-block; margin-top: 6px; }

/* ============= HUB CARDS (Tier 1 SEO landing cards) ============= */
.hub-section { background: var(--cream); border-bottom: 1px solid var(--border); }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.hub-card { background: var(--parchment); border: 1px solid var(--border); padding: 36px 32px; text-decoration: none; color: inherit; display: block; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; position: relative; overflow: hidden; }
.hub-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.hub-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px var(--shadow); border-color: var(--gold); }
.hub-card:hover::before { transform: scaleX(1); }
.hub-card-label { font-family: 'Josefin Sans', sans-serif; font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.hub-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; color: var(--ink); line-height: 1.2; margin-bottom: 14px; }
.hub-card-title em { font-style: italic; color: var(--rust); }
.hub-card-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.hub-card-arrow { font-family: 'Josefin Sans', sans-serif; font-size: 0.66rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.hub-card:hover .hub-card-arrow { gap: 12px; }

/* ============= TIMELINE ============= */
.timeline { position: relative; padding-left: 60px; }
.timeline::before { content: ''; position: absolute; left: 16px; top: 8px; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--gold), var(--border)); }
.timeline-step { position: relative; margin-bottom: 48px; animation: fadeUp 0.6s ease both; }
.timeline-step:nth-child(1) { animation-delay: 0.1s; }
.timeline-step:nth-child(2) { animation-delay: 0.2s; }
.timeline-step:nth-child(3) { animation-delay: 0.3s; }
.timeline-step:nth-child(4) { animation-delay: 0.4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
.timeline-dot { position: absolute; left: -52px; top: 4px; width: 26px; height: 26px; background: var(--cream); border: 2px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Josefin Sans', sans-serif; font-size: 0.65rem; font-weight: 600; color: var(--gold); }
.timeline-days { font-family: 'Josefin Sans', sans-serif; font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.timeline-h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.timeline-p { font-size: 0.92rem; color: var(--muted); line-height: 1.75; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* ============= FEES ============= */
.fees-block { background: var(--ink); color: var(--parchment); padding: 48px; position: relative; }
.fees-block::before { content: ''; position: absolute; inset: 0; border: 1px solid rgba(184,150,62,0.2); }
.fees-price { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; font-weight: 300; color: var(--gold-light); line-height: 1; margin: 20px 0 8px; }
.fees-note { font-size: 0.85rem; color: #999; margin-bottom: 24px; line-height: 1.6; }
.fees-includes { list-style: none; margin-top: 20px; }
.fees-includes li { font-size: 0.88rem; color: #c8c0b0; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.07); display: flex; align-items: flex-start; gap: 10px; }
.fees-includes li::before { content: '✦'; color: var(--gold); font-size: 0.6rem; margin-top: 4px; flex-shrink: 0; }

/* ============= WHY LIST ============= */
.why-list { list-style: none; }
.why-list li { padding: 18px 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; font-size: 0.95rem; color: var(--muted); line-height: 1.6; }
.why-list li strong { color: var(--ink); display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; margin-bottom: 2px; }
.why-icon { color: var(--gold); font-size: 1rem; padding-top: 2px; }

/* ============= TRAC ============= */
.trac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.trac-item { background: var(--parchment); border: 1px solid var(--border); padding: 20px; border-top: 3px solid var(--gold); }
.trac-num { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; color: var(--gold); margin-bottom: 6px; }
.trac-text { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }

/* ============= CASE BLOCK ============= */
.case-block { background: var(--parchment); border: 1px solid var(--border); border-left: 4px solid var(--rust); padding: 36px 40px; margin-top: 36px; }
.case-citation { font-family: 'Josefin Sans', sans-serif; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--rust); margin-bottom: 12px; }
.case-title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.case-text { font-size: 0.9rem; color: var(--muted); line-height: 1.75; }
.case-text a { color: var(--rust); }

/* ============= CONTACT ============= */
.contact-section { background: var(--ink); padding: 80px; }
.contact-detail { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; font-size: 0.92rem; color: #c8c0b0; }
.contact-item-icon { width: 36px; height: 36px; background: rgba(184,150,62,0.1); border: 1px solid rgba(184,150,62,0.3); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.9rem; flex-shrink: 0; }
.contact-item a { color: var(--gold-light); text-decoration: none; }
.contact-item a:hover { color: #fff; }
.contact-label { font-family: 'Josefin Sans', sans-serif; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 3px; }

/* ============= FOOTER ============= */
.atty-adv { font-family: 'Josefin Sans', sans-serif; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 12px; border-top: 1px solid var(--border); background: var(--parchment); }
footer { background: #080808; padding: 48px 80px 28px; border-top: 1px solid rgba(184,150,62,0.15); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto 32px; }
.footer-col h4 { font-family: 'Josefin Sans', sans-serif; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col a { display: block; font-family: 'Josefin Sans', sans-serif; font-size: 0.7rem; letter-spacing: 0.08em; color: #888; text-decoration: none; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { font-family: 'Josefin Sans', sans-serif; font-size: 0.7rem; color: #666; line-height: 1.6; letter-spacing: 0.05em; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(184,150,62,0.1); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-text { font-family: 'Josefin Sans', sans-serif; font-size: 0.62rem; letter-spacing: 0.1em; color: #555; text-transform: uppercase; }
.footer-text a { color: var(--gold); text-decoration: none; }

/* ============= WHATSAPP FLOAT ============= */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; animation: waPulse 3s ease infinite; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.55); animation: none; }
@keyframes waPulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); } 50% { box-shadow: 0 4px 30px rgba(37,211,102,0.65), 0 0 0 8px rgba(37,211,102,0.08); } }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-tooltip { position: absolute; right: 66px; background: #1a1a1a; color: #fff; font-family: 'Josefin Sans', sans-serif; font-size: 0.68rem; letter-spacing: 0.08em; white-space: nowrap; padding: 7px 12px; border-radius: 2px; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ============================================================
   SUBPAGE STYLES (used by the 8 SEO landing pages)
   ============================================================ */

/* ============= SUBPAGE HEADER ============= */
.subpage-hero { background: var(--ink); padding: 80px 40px 60px; position: relative; overflow: hidden; }
.subpage-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 30% 30%, rgba(184,150,62,0.06) 0%, transparent 60%), linear-gradient(135deg, #0d0d0d 0%, #1a1510 50%, #0d0d0d 100%); }
.subpage-hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.breadcrumb { font-family: 'Josefin Sans', sans-serif; font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.breadcrumb a { color: var(--gold); text-decoration: none; opacity: 0.75; transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb span { color: #888; opacity: 0.7; }
.subpage-h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 300; line-height: 1.1; color: #f0ebe0; margin-bottom: 18px; letter-spacing: -0.005em; }
.subpage-h1 em { font-style: italic; color: var(--gold-light); }
.subpage-lede { font-size: 1.08rem; color: #c8c0b0; max-width: 760px; line-height: 1.75; margin-bottom: 28px; }
.subpage-meta { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(184,150,62,0.2); font-family: 'Josefin Sans', sans-serif; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: #999; }
.subpage-meta strong { color: var(--gold); font-weight: 400; }

/* ============= ARTICLE LAYOUT ============= */
.article-wrap { max-width: 1100px; margin: 0 auto; padding: 60px 40px 80px; display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
.toc { position: sticky; top: 92px; align-self: start; padding: 24px 0; border-top: 2px solid var(--gold); }
.toc-title { font-family: 'Josefin Sans', sans-serif; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.toc ul { list-style: none; }
.toc li { margin: 8px 0; }
.toc a { display: block; font-family: 'Josefin Sans', sans-serif; font-size: 0.68rem; letter-spacing: 0.04em; color: var(--muted); text-decoration: none; padding: 4px 0; transition: color 0.2s, padding-left 0.2s; border-left: 2px solid transparent; padding-left: 10px; line-height: 1.4; }
.toc a:hover, .toc a.active { color: var(--gold); border-left-color: var(--gold); padding-left: 14px; }

.article { max-width: 720px; }
.article > h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 600; color: var(--ink); margin: 56px 0 18px; line-height: 1.2; scroll-margin-top: 92px; }
.article > h2:first-child { margin-top: 0; }
.article > h2 em { font-style: italic; color: var(--rust); }
.article > h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: var(--ink); margin: 36px 0 14px; line-height: 1.25; }
.article > p { font-size: 1rem; color: var(--ink); line-height: 1.85; margin-bottom: 20px; }
.article > p.lead { font-size: 1.1rem; color: var(--ink); line-height: 1.8; margin-bottom: 28px; font-family: 'Cormorant Garamond', serif; font-style: italic; }
.article > ul, .article > ol { margin: 16px 0 24px 24px; }
.article > ul li, .article > ol li { font-size: 1rem; color: var(--ink); line-height: 1.85; margin-bottom: 10px; padding-left: 8px; }
.article > ul li::marker { color: var(--gold); }
.article > ol li::marker { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-weight: 600; }
.article a { color: var(--rust); text-decoration: underline; text-decoration-color: rgba(139,58,42,0.4); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.article a:hover { text-decoration-color: var(--rust); }
.article strong { color: var(--ink); font-weight: 700; }
.article em { font-style: italic; }
.article blockquote { border-left: 3px solid var(--gold); padding: 16px 24px; margin: 28px 0; background: var(--parchment); font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 1.1rem; color: var(--ink); line-height: 1.7; }
.article blockquote cite { display: block; margin-top: 12px; font-family: 'Josefin Sans', sans-serif; font-style: normal; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

/* ============= ARTICLE COMPONENTS ============= */
.callout { background: var(--parchment); border: 1px solid var(--border); border-left: 4px solid var(--gold); padding: 24px 28px; margin: 32px 0; }
.callout-title { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.callout p { font-size: 0.94rem; color: var(--muted); line-height: 1.7; margin: 0; }
.callout p + p { margin-top: 10px; }

.callout-danger { border-left-color: var(--rust); background: rgba(139,58,42,0.04); }
.callout-danger .callout-title { color: var(--rust); }

.fact-box { background: var(--ink); color: var(--parchment); padding: 28px 32px; margin: 32px 0; }
.fact-box .section-label { color: var(--gold); margin-bottom: 14px; }
.fact-box h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: #f0ebe0; margin-bottom: 12px; line-height: 1.2; }
.fact-box p { color: #c8c0b0; font-size: 0.95rem; line-height: 1.75; margin: 0; }
.fact-box p + p { margin-top: 12px; }

.table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--border); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; background: var(--cream); }
table.data-table th { background: var(--ink); color: var(--gold); font-family: 'Josefin Sans', sans-serif; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; text-align: left; padding: 14px 18px; font-weight: 400; }
table.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--ink); line-height: 1.6; }
table.data-table tr:last-child td { border-bottom: none; }
table.data-table tr:nth-child(even) td { background: var(--parchment); }

.cta-inline { background: var(--ink); padding: 36px 40px; margin: 40px 0; color: var(--parchment); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-inline h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: #f0ebe0; margin-bottom: 6px; }
.cta-inline p { font-size: 0.92rem; color: #c8c0b0; margin: 0; max-width: 460px; }
.cta-inline .btn-primary { flex-shrink: 0; }

/* FAQ accordion */
.faq { margin: 32px 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item summary { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-right: 8px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: 'Josefin Sans', sans-serif; font-weight: 300; font-size: 1.4rem; color: var(--gold); transition: transform 0.2s; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 14px; font-size: 0.95rem; color: var(--muted); line-height: 1.75; }
.faq-item p + p { margin-top: 12px; }

/* Related pages footer */
.related-section { background: var(--parchment); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 60px 40px; }
.related-inner { max-width: 1100px; margin: 0 auto; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.related-card { background: var(--cream); border: 1px solid var(--border); padding: 24px; text-decoration: none; color: inherit; transition: border-color 0.2s, transform 0.2s; display: block; }
.related-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.related-card-label { font-family: 'Josefin Sans', sans-serif; font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.related-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--ink); line-height: 1.25; margin-bottom: 6px; }
.related-card-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ============= RESPONSIVE ============= */
@media (max-width: 1100px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .article-wrap { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 60px; }
  .toc { position: static; padding: 16px 20px; background: var(--parchment); border: 1px solid var(--border); border-top: 2px solid var(--gold); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero-content { padding: 60px 24px 60px 40px; }
  .hero-badges { display: none; }
  .section { padding: 60px 24px; }
  .intro-grid, .two-col { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: 1fr; }
  .trac-grid { grid-template-columns: 1fr; }
  .contact-section { padding: 60px 24px; }
  footer { padding: 36px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .topbar { padding: 8px 20px; font-size: 0.6rem; }
  .subpage-hero { padding: 60px 24px 48px; }
  .cta-inline { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}
