/* =========================================================================
   Ioannadigital — shared stylesheet
   Palette: deep forest green, white, warm ivory, restrained antique gold
   Type: elegant serif headings + highly readable sans-serif body
   No external fonts, no third-party assets. System font stacks only.
   ========================================================================= */

/* ----- Design tokens ----- */
:root {
  --green-900: #0e2a20;
  --green-800: #143528;
  --green-700: #1b4332;   /* primary brand green */
  --green-600: #245a43;
  --green-500: #2f6b51;

  --ivory:        #f4efe1;
  --ivory-light:  #faf6ec;
  --paper:        #fffdf8;
  --white:        #ffffff;

  --gold:        #a5853a;   /* antique gold — decoration / large text only */
  --gold-light:  #c2a25c;
  --gold-deep:   #856a2c;

  --ink:       #21261f;   /* body text on light surfaces */
  --ink-soft:  #464d42;   /* secondary text */
  --ink-faint: #6d7469;

  --line:       #ddd6c2;   /* hairline borders on ivory/paper */
  --line-soft:  #ece6d5;

  --placeholder-bg:     #fbf3dd;
  --placeholder-border: #d8bf83;
  --placeholder-ink:    #6a531d;

  --note-bg:     #eef3ee;
  --note-border: #cbd9cd;

  --maxw:      1140px;
  --maxw-read: 46rem;      /* comfortable reading width for legal pages */
  --radius:    3px;
  --gutter:    clamp(1.25rem, 4vw, 2.5rem);

  --shadow-sm: 0 1px 2px rgba(20, 53, 40, 0.06);
  --shadow-md: 0 18px 40px -24px rgba(14, 42, 32, 0.45);

  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua",
                "URW Palladio L", Palatino, P052, Georgia, "Times New Roman", serif;
  --font-sans:  system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
                Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --step-1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step0:  clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step2:  clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem);
  --step3:  clamp(1.75rem, 1.5rem + 1.2vw, 2.6rem);
  --step4:  clamp(2.2rem, 1.75rem + 2.2vw, 3.6rem);
}

/* ----- Reset / base ----- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--green-800);
  letter-spacing: 0.005em;
  margin: 0 0 0.6em;
}

h1 { font-size: var(--step4); }
h2 { font-size: var(--step3); }
h3 { font-size: var(--step2); }
h4 { font-size: var(--step1); }

p { margin: 0 0 1.1em; }

a {
  color: var(--green-700);
  text-decoration-color: var(--gold-light);
  text-underline-offset: 0.15em;
}
a:hover { color: var(--green-600); }

img, svg { max-width: 100%; height: auto; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.35em; }
li { margin: 0.35em 0; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

strong { color: var(--green-900); }

/* ----- Accessibility helpers ----- */
:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.5rem;
  transform: translateY(-160%);
  background: var(--green-800);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  z-index: 999;
  transition: transform 0.18s ease;
}
.skip-link:focus { transform: translateY(0); color: var(--white); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3rem, 7vw, 6rem);
}
.section--tint  { background: var(--ivory); }
.section--deep  { background: var(--green-800); color: var(--ivory-light); }
.section--deep h2, .section--deep h3 { color: var(--white); }
.section--deep a { color: var(--gold-light); }

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--step-1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-head.center .eyebrow { justify-content: center; }
.eyebrow::before,
.eyebrow::after {
  content: "";
  height: 1px;
  width: 2.25rem;
  background: var(--gold-light);
}
.eyebrow:not(.eyebrow--flanked)::after { display: none; }
.section-head.center .eyebrow::after { display: block; }

.lede {
  font-size: var(--step1);
  color: var(--ink-soft);
  font-family: var(--font-serif);
  line-height: 1.5;
}
.section--deep .lede { color: var(--ivory-light); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: var(--step-1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease,
              border-color 0.2s ease, transform 0.2s ease;
}
.btn--primary {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
}
.btn--primary:hover { background: var(--green-800); color: var(--white); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--green-800);
  border-color: var(--gold);
}
.btn--ghost:hover { background: var(--gold); color: var(--green-900); }
.section--deep .btn--ghost { color: var(--ivory-light); border-color: var(--gold-light); }
.section--deep .btn--ghost:hover { background: var(--gold-light); color: var(--green-900); }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--green-800);
}
.brand__emblem { width: 40px; height: 47px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand__kicker {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.primary-nav { display: flex; align-items: center; gap: 1.75rem; }
.primary-nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  font-size: var(--step-1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.4rem;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--green-800);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--green-800);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(-1.5px) translateX(1px); }

@media (max-width: 900px) {
  /* Drawer behaviour is enabled only when JavaScript is available. */
  .js .nav-toggle { display: inline-flex; }

  .js .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(20rem, 82vw);
    background: var(--ivory-light);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5.5rem 1.75rem 2rem;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    box-shadow: var(--shadow-md);
    overflow-y: auto;
  }
  .js .primary-nav.is-open { transform: translateX(0); }

  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav li { border-bottom: 1px solid var(--line-soft); }
  .primary-nav a { display: block; padding: 0.95rem 0; }
  .primary-nav .btn { margin-top: 1.25rem; justify-content: center; }

  .js .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(14, 42, 32, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 90;
  }
  .js .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  /* No-JavaScript fallback: navigation flows below the brand, fully visible. */
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .primary-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
    margin-top: 0.5rem;
  }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--green-800) 0%, var(--green-900) 62%, #0b241b 100%);
  color: var(--ivory-light);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 84% 12%, rgba(165, 133, 58, 0.18), transparent 45%),
    radial-gradient(circle at 8% 92%, rgba(47, 107, 81, 0.35), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
.hero h1 {
  color: var(--white);
  font-size: var(--step4);
  margin-bottom: 0.5em;
}
.hero__rule {
  width: 3.5rem;
  height: 2px;
  background: var(--gold-light);
  margin-bottom: 1.6rem;
}
.hero p {
  font-size: var(--step1);
  color: var(--ivory-light);
  max-width: 34rem;
  font-family: var(--font-serif);
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.hero__aside {
  justify-self: center;
  width: min(320px, 70vw);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(194, 162, 92, 0.4);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
}
.hero__aside svg,
.hero__aside img { width: 62%; height: auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.35)); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero__aside { order: -1; width: min(220px, 55vw); }
}

/* ----- Placeholder + notice components ----- */
.ph {
  display: inline;
  background: var(--placeholder-bg);
  border: 1px dashed var(--placeholder-border);
  color: var(--placeholder-ink);
  padding: 0.05em 0.4em;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.92em;
  font-style: normal;
}
.ph::before { content: "⟨ "; }
.ph::after  { content: " ⟩"; }

.notice {
  border: 1px solid var(--note-border);
  background: var(--note-bg);
  border-left: 4px solid var(--green-600);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  font-size: 0.97em;
}
.notice h3, .notice h4 { margin-top: 0; }
.notice--draft {
  background: var(--placeholder-bg);
  border-color: var(--placeholder-border);
  border-left-color: var(--gold-deep);
  color: var(--placeholder-ink);
}
.notice p:last-child { margin-bottom: 0; }

.badge-draft {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step-1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid var(--placeholder-border);
  background: var(--placeholder-bg);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

/* ----- Practice areas ----- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
}
.p-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.p-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}
.p-card h3 { font-size: var(--step1); margin-bottom: 0.4em; }
.p-card p { margin-bottom: 0; color: var(--ink-soft); font-size: 0.97em; }
.p-card__index {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.9rem;
}

/* ----- Approach / values ----- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.75rem 2.5rem;
}
.pillar {
  border-left: 2px solid var(--gold-light);
  padding-left: 1.25rem;
}
.pillar h3 { font-size: var(--step1); margin-bottom: 0.35em; }
.pillar p { margin-bottom: 0; color: var(--ink-soft); }
.section--deep .pillar p { color: var(--ivory-light); }

/* ----- Engagement process ----- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem 1.5rem;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 1.1rem;
  left: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold-deep);
}
.steps h3 { font-size: var(--step1); margin: 0 0 0.35em; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 0.96em; }

/* ----- Contact ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.contact-card {
  background: var(--ivory-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-card dl { margin: 0; }
.contact-card dt {
  font-size: var(--step-1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 1.25rem;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 0.25rem 0 0; font-size: 1.05em; }
.contact-card .btn { margin-top: 1.75rem; }

@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ----- Footer ----- */
.site-footer {
  background: var(--green-900);
  color: var(--ivory-light);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.95rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand { max-width: 22rem; }
.footer-brand .brand { color: var(--ivory-light); margin-bottom: 1rem; }
.footer-brand .brand__name { color: var(--white); }
.footer-brand p { color: rgba(244, 239, 225, 0.75); font-size: 0.92rem; }
.footer-col h4 {
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: var(--step-1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0.55rem 0; }
.footer-col a {
  color: rgba(244, 239, 225, 0.85);
  text-decoration: none;
}
.footer-col a:hover { color: var(--white); box-shadow: inset 0 -1px 0 var(--gold-light); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(194, 162, 92, 0.25);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  color: rgba(244, 239, 225, 0.65);
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ----- Reveal-on-scroll motion ----- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Without JavaScript, nothing adds .is-visible — show content immediately. */
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================================
   Legal pages
   ========================================================================= */
.legal-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--paper);
}
.legal-hero {
  background: var(--green-800);
  color: var(--ivory-light);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.legal-hero .container { max-width: var(--maxw); }
.legal-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.legal-hero .breadcrumb {
  font-size: var(--step-1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.legal-hero .breadcrumb a { color: var(--gold-light); }
.legal-meta {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: rgba(244, 239, 225, 0.85);
}

.legal-body {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.legal-layout {
  display: grid;
  grid-template-columns: 17rem minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.toc {
  position: sticky;
  top: 5.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory-light);
  padding: 1.4rem 1.3rem;
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
}
.toc h2 {
  font-size: var(--step-1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  color: var(--gold-deep);
  margin-bottom: 0.9rem;
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
  font-size: 0.92rem;
}
.toc li { counter-increment: toc; margin: 0.3rem 0; }
.toc a {
  text-decoration: none;
  color: var(--ink-soft);
  display: block;
  padding: 0.15rem 0;
}
.toc a::before {
  content: counter(toc) ". ";
  color: var(--gold-deep);
}
.toc a:hover { color: var(--green-800); }

.legal-content {
  max-width: var(--maxw-read);
}
.legal-content > section { margin-bottom: 2.5rem; scroll-margin-top: 5.5rem; }
.legal-content h2 {
  font-size: var(--step2);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.9rem;
}
.legal-content h2 .sec-no {
  color: var(--gold-deep);
  font-size: 0.8em;
  margin-right: 0.5rem;
}
.legal-content h3 {
  font-size: var(--step1);
  margin-top: 1.6rem;
  color: var(--green-700);
}
.legal-content h3 .sec-no {
  color: var(--gold-deep);
  margin-right: 0.4rem;
  font-size: 0.9em;
}
.legal-content ol { padding-left: 1.4rem; }
.legal-content ul { padding-left: 1.3rem; }
.legal-content .clause-list { list-style: lower-alpha; }
.legal-content .clause-list ul { list-style: lower-roman; }

.defined-term { font-variant: small-caps; letter-spacing: 0.02em; color: var(--green-900); font-weight: 600; }

.back-to-top {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-decoration: none;
}
.back-to-top:hover { color: var(--green-700); }

.legal-content .callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: var(--ivory-light);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1.25rem 0;
  font-size: 0.97em;
}

@media (max-width: 940px) {
  .legal-layout { grid-template-columns: 1fr; }
  .toc {
    position: static;
    max-height: none;
  }
}

/* ----- Print styling ----- */
@media print {
  :root { --paper: #fff; }
  .site-header, .site-footer, .nav-toggle, .nav-backdrop,
  .toc, .back-to-top, .hero__actions, .skip-link { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; line-height: 1.45; }
  .legal-hero { background: #fff; color: #000; padding: 0 0 1rem; border-bottom: 2px solid #000; }
  .legal-hero h1, .legal-hero .breadcrumb, .legal-hero .legal-meta { color: #000; }
  .legal-layout { grid-template-columns: 1fr; gap: 0; }
  .legal-content { max-width: none; }
  .legal-content > section { page-break-inside: avoid; margin-bottom: 1.4rem; }
  .legal-content h2 { font-size: 15pt; border-color: #000; }
  .legal-content h3 { font-size: 12.5pt; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #333; }
  .ph { border: 1px solid #000; background: #f0f0f0; color: #000; }
  .notice, .callout { border: 1px solid #000; }
  .container { max-width: none; padding-inline: 0; }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
