/* ==========================================================================
   D&O Policies — Design System
   Aesthetic: Institutional Editorial. Deep navy, archival cream, oxblood accent.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --ink: #0a1929;            /* deep navy — primary text & dark surfaces */
  --ink-soft: #1c2e44;
  --ink-mid: #3a4a5e;
  --paper: #fbf8f2;          /* archival cream — main background */
  --paper-2: #f3eee3;        /* slightly deeper cream */
  --rule: #2a3a4f;           /* hairlines on dark */
  --rule-light: #d8d0bf;     /* hairlines on cream */
  --accent: #7a1e2b;         /* oxblood — sparingly */
  --accent-warm: #b08654;    /* aged brass for ornament */
  --muted: #5a6577;
  --success: #2f5d3a;

  /* Type */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Scale */
  --step--2: clamp(0.72rem, 0.68rem + 0.2vw, 0.78rem);
  --step--1: clamp(0.85rem, 0.82rem + 0.18vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.4vw, 1.32rem);
  --step-2:  clamp(1.4rem, 1.28rem + 0.6vw, 1.7rem);
  --step-3:  clamp(1.8rem, 1.55rem + 1.2vw, 2.4rem);
  --step-4:  clamp(2.4rem, 1.9rem + 2.5vw, 3.6rem);
  --step-5:  clamp(3rem, 2.2rem + 4vw, 5.2rem);

  /* Layout */
  --max: 78rem;
  --max-narrow: 56rem;
  --max-prose: 44rem;
  --gutter: clamp(1.1rem, 0.6rem + 2vw, 2rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s; }
a:hover { color: var(--accent); }
hr { border: 0; border-top: 1px solid var(--rule-light); margin: 2.5rem 0; }
::selection { background: var(--ink); color: var(--paper); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5em;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
h1 { font-size: var(--step-5); font-weight: 300; letter-spacing: -0.035em; }
h2 { font-size: var(--step-4); font-weight: 350; }
h3 { font-size: var(--step-2); font-weight: 400; }
h4 { font-size: var(--step-1); font-weight: 500; font-family: var(--sans); letter-spacing: 0; }

p { margin: 0 0 1.1em; max-width: 70ch; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: var(--accent);
}

.lede {
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.35;
  font-weight: 350;
  color: var(--ink-soft);
  max-width: 38ch;
  letter-spacing: -0.012em;
}

.fine { font-size: var(--step--1); color: var(--muted); }

/* Drop cap for editorial sections */
.dropcap::first-letter {
  font-family: var(--serif);
  font-weight: 400;
  float: left;
  font-size: 4.2em;
  line-height: 0.85;
  padding: 0.05em 0.08em 0 0;
  color: var(--accent);
}

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: var(--max-narrow); }
.wrap--prose { max-width: var(--max-prose); }

.section { padding: clamp(3.5rem, 6vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.2rem, 4vw, 4rem) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--paper); }
.section--dark a { color: var(--paper); }
.section--dark a:hover { color: var(--accent-warm); }
.section--dark .eyebrow { color: var(--accent-warm); }
.section--dark .eyebrow::before { background: var(--accent-warm); }
.section--paper2 { background: var(--paper-2); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
.grid--editorial { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 720px) { .grid--editorial { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 2rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--rule-light);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding: 1rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 0.35rem;
}
.brand__mark { color: var(--accent); }
.brand__tag {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 0.6rem;
  border-left: 1px solid var(--rule-light);
  padding-left: 0.7rem;
  font-weight: 500;
}
@media (max-width: 640px) { .brand__tag { display: none; } }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a {
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 450;
  position: relative;
}
.nav a:hover { color: var(--accent); }
.nav__cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 0.55rem 1.05rem;
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}
.nav__cta:hover { background: var(--accent); color: var(--paper) !important; }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 1px solid var(--rule-light); padding: 0.5rem 0.75rem; cursor: pointer; font: inherit; font-size: 0.85rem; border-radius: 2px; }
@media (max-width: 860px) {
  .nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule-light); padding: 1rem var(--gutter) 1.5rem; transform: translateY(-110%); transition: transform .25s ease; }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--rule-light); }
  .nav__cta { margin-top: 0.6rem; text-align: center; }
  .nav-toggle { display: inline-block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem); }
.hero__inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hero h1 { max-width: 16ch; margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 300; }
.hero__lede { max-width: 44ch; margin-bottom: 2.4rem; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(800px 400px at 90% -10%, rgba(122,30,43,0.07), transparent 60%),
    radial-gradient(600px 600px at -10% 110%, rgba(10,25,41,0.06), transparent 60%);
}
.hero__rule {
  position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule-light);
}
.hero__meta {
  display: flex; gap: 2rem; flex-wrap: wrap;
  font-size: var(--step--1);
  color: var(--muted);
  border-top: 1px solid var(--rule-light);
  padding-top: 1.2rem;
  margin-top: 3rem;
}
.hero__meta > div { display: flex; flex-direction: column; gap: 0.15rem; }
.hero__meta strong { color: var(--ink); font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all .18s ease;
  cursor: pointer;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--accent); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--accent-warm); color: var(--ink); }
.btn__arrow { transition: transform .2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.cta-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ---------- Coverage cards ---------- */
.coverage-list { list-style: none; padding: 0; margin: 0; }
.coverage-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule-light);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: padding .25s ease;
}
.coverage-card:hover { padding-left: 0.6rem; }
.coverage-card:hover .coverage-card__title { color: var(--accent); }
.coverage-card__num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  align-self: start;
  padding-top: 0.4rem;
}
.coverage-card__body { min-width: 0; }
.coverage-card__title {
  font-family: var(--serif);
  font-size: var(--step-3);
  font-weight: 400;
  margin: 0 0 0.5rem;
  transition: color .2s;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.coverage-card__desc { color: var(--ink-mid); max-width: 60ch; margin: 0; font-size: var(--step-0); }
.coverage-card__arrow {
  align-self: center;
  font-size: 1.6rem;
  color: var(--ink);
  transition: transform .2s ease;
}
.coverage-card:hover .coverage-card__arrow { transform: translateX(6px); color: var(--accent); }
@media (max-width: 640px) {
  .coverage-card { grid-template-columns: auto 1fr; }
  .coverage-card__arrow { display: none; }
}

/* ---------- Feature blocks ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: 0;
  border: 1px solid var(--rule-light);
  background: var(--paper-2);
}
.feature {
  padding: 2rem 1.6rem;
  border-right: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}
.feature:last-child { border-right: 0; }
.feature__num {
  font-family: var(--mono);
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}
.feature__title {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  font-weight: 450;
}
.feature__desc { font-size: 0.93rem; color: var(--ink-mid); margin: 0; line-height: 1.55; }

/* ---------- Stat strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat { padding: 2.2rem 1.4rem; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat__value { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 300; line-height: 1; letter-spacing: -0.03em; }
.stat__label { font-size: 0.85rem; color: var(--accent-warm); margin-top: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; }

/* ---------- Article / product pages ---------- */
.article-header { padding: clamp(4rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--rule-light); }
.article-header h1 { font-size: var(--step-4); max-width: 18ch; margin-bottom: 1rem; }
.article-header .lede { margin-top: 1.2rem; }

.breadcrumb { font-size: 0.85rem; color: var(--muted); display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--rule-light); }

.prose { max-width: var(--max-prose); }
.prose h2 { font-size: var(--step-3); margin-top: 2.5em; }
.prose h3 { font-size: var(--step-1); margin-top: 2em; font-family: var(--serif); font-weight: 500; }
.prose p { font-size: 1.05rem; line-height: 1.7; color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.2em; color: var(--ink-soft); }
.prose li { margin-bottom: 0.4em; line-height: 1.65; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.4;
  font-style: italic;
  color: var(--ink);
}

/* Definition callout */
.definition {
  padding: 1.6rem 1.8rem;
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  margin: 2rem 0;
}
.definition__label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.definition p { margin: 0; }

/* Sidebar */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 900px) { .with-aside { grid-template-columns: 1fr; } }
.aside {
  position: sticky; top: 100px;
  font-size: 0.9rem;
  padding: 1.6rem;
  border: 1px solid var(--rule-light);
  background: var(--paper-2);
}
.aside h4 { margin-top: 0; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.aside ul { list-style: none; padding: 0; margin: 0; }
.aside li { padding: 0.5rem 0; border-bottom: 1px solid var(--rule-light); }
.aside li:last-child { border-bottom: 0; }
.aside a { text-decoration: none; color: var(--ink-soft); }
.aside a:hover { color: var(--accent); }
.aside--phone { background: var(--ink); color: var(--paper); margin-top: 1rem; padding: 1.4rem 1.6rem; }
.aside--phone h4 { color: var(--accent-warm); }
.aside--phone a { color: var(--paper); }
.aside--phone__number { font-family: var(--serif); font-size: 1.6rem; display: block; margin-top: 0.4rem; letter-spacing: -0.01em; }

/* Coverage details list */
.detail-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.detail-list li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.8rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.detail-list li::before {
  content: "→";
  color: var(--accent);
  font-weight: 500;
}

/* Apps / document downloads */
.doc-list { display: grid; gap: 0.6rem; margin: 1.5rem 0; }
.doc-link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--rule-light);
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  transition: all .15s;
  font-size: 0.95rem;
}
.doc-link:hover { border-color: var(--ink); background: var(--paper-2); }
.doc-link__icon {
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.25rem 0.5rem;
  background: var(--accent);
  color: var(--paper);
  border-radius: 2px;
  letter-spacing: 0.05em;
}

/* FAQ */
.faq { border-top: 1px solid var(--rule-light); }
.faq__item {
  border-bottom: 1px solid var(--rule-light);
}
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.4rem 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 450;
  color: var(--ink);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  letter-spacing: -0.01em;
}
.faq__q:hover { color: var(--accent); }
.faq__icon { color: var(--accent); font-weight: 300; font-size: 1.4rem; transition: transform .2s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a {
  padding: 0 0 1.6rem;
  color: var(--ink-mid);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 70ch;
}
.faq__a p { margin: 0 0 0.8em; }
.faq__a p:last-child { margin: 0; }

/* ---------- Quote block ---------- */
.pull-quote {
  text-align: center;
  padding: 4rem 0;
  max-width: 38ch;
  margin: 0 auto;
}
.pull-quote__mark {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--accent);
}
.pull-quote__text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.3;
  font-weight: 350;
  margin: 1.5rem 0 1.2rem;
  letter-spacing: -0.015em;
}
.pull-quote__cite { font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent-warm); font-style: normal; }

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule-light);
  background: var(--paper);
  border-radius: 2px;
  color: var(--ink);
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,25,41,0.08);
}
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 2rem;
}
.site-footer a { color: var(--paper); text-decoration: none; opacity: 0.85; }
.site-footer a:hover { color: var(--accent-warm); opacity: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-warm);
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 0.3rem 0; font-size: 0.92rem; }
.footer-brand { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; margin-bottom: 0.5rem; }
.footer-brand__mark { color: var(--accent-warm); }
.footer-tagline { font-size: 0.92rem; opacity: 0.7; max-width: 32ch; }
.footer-bottom {
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ---------- Subtle entrance animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
  .reveal--1 { animation-delay: .05s; }
  .reveal--2 { animation-delay: .15s; }
  .reveal--3 { animation-delay: .28s; }
  .reveal--4 { animation-delay: .42s; }
  .reveal--5 { animation-delay: .58s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
  body { color: #000; background: #fff; }
  a { color: #000; }
}

/* Contact page aside extensions */
.aside__label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.aside--phone .aside__label { color: var(--accent-warm); }
.aside__phone {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  display: block;
  color: var(--paper) !important;
  text-decoration: none;
  line-height: 1.1;
  margin-bottom: 0.1rem;
}
.aside__phone--small { font-size: 1.25rem; margin-top: 0.9rem; }
.aside__sub { font-size: 0.78rem; color: rgba(251, 248, 242, 0.65); margin: 0 0 0; letter-spacing: 0.04em; }
.aside__block {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule-light);
  font-size: 0.92rem;
}
.aside__block:last-child { border-bottom: 0; }
.aside__block a { color: var(--ink-soft); text-decoration: underline; text-decoration-color: rgba(122,30,43,0.3); text-underline-offset: 3px; }
.aside__block a:hover { color: var(--accent); }

/* On contact page the aside is a stack of blocks, not sticky */
.contact-form + .aside, .with-aside .aside { position: sticky; }

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.1rem;
  font-weight: 500;
  text-decoration: none;
  z-index: 1000;
  border-radius: 2px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; outline: 2px solid var(--accent-warm); outline-offset: 2px; }

/* Smooth anchor scrolling with offset for sticky header */
html { scroll-behavior: smooth; }
:where(h1, h2, h3, h4, h5, h6)[id] { scroll-margin-top: 6rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
