/* ============================================================
   Karina Liles — personal site
   Editorial / refined. Light theme.
   ============================================================ */

:root {
  --bg:        #F7F8F8;
  --bg-alt:    #ECEEEF;
  --surface:   #FFFFFF;
  --ink:       #15181A;
  --ink-soft:  #414951;
  --muted:     #737C84;
  --rule:      #D6DADD;
  --rule-soft: #E6E9EB;
  --accent:    #17656E;
  --accent-ink:#F7F8F8;
  /* Brushed-metal sheen, used behind the stat strip and the fallback book cover. */
  --metal:     linear-gradient(168deg, #FDFDFD 0%, #E8EBEC 34%, #F4F6F6 52%, #DFE3E5 74%, #EDEFF0 100%);
  --shadow:    0 1px 2px rgba(21,24,26,.05), 0 8px 24px -12px rgba(21,24,26,.16);
  --shadow-lg: 0 2px 4px rgba(21,24,26,.06), 0 24px 48px -20px rgba(21,24,26,.24);

  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gut: clamp(1.25rem, 5vw, 4rem);
  --sec-y: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .35s var(--ease), color .35s var(--ease);
  /* `clip` (not `hidden`) so position: sticky keeps working on the header. */
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: .75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

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

/* ---------- type ---------- */

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  line-height: .93;
  letter-spacing: -.03em;
  margin: 0 0 1.5rem;
  font-variation-settings: 'opsz' 144;
}
.display em { font-style: normal; font-weight: inherit; }
.display--sm { font-size: clamp(2.6rem, 7vw, 4.75rem); line-height: 1; }

.eyebrow {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.5rem;
}

.lede {
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 2.25rem;
}

.mini-title {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.mini-title.spaced { margin-top: 4rem; }

.dot { color: var(--rule); margin: 0 .1em; }
.nowrap { white-space: nowrap; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--rule); }

.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 4.5rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 500;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}

.site-nav { display: flex; gap: 1.75rem; }
.site-nav a {
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--muted);
  position: relative;
  padding: .25rem 0;
  transition: color .2s var(--ease);
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: .5rem; }

.menu-toggle {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--rule); border-radius: 50%;
  color: var(--ink); cursor: pointer; padding: 0;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.menu-toggle:hover { border-color: var(--accent); }

.menu-toggle { display: none; flex-direction: column; gap: 4px; }
.menu-toggle span {
  display: block; width: 15px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-2.75px) rotate(-45deg); }

.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px;
  background: var(--accent); width: 0%;
  transition: width .1s linear;
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg);
    border-bottom: 1px solid transparent;
    /* Closed state must have zero vertical padding — padding is added to the
       box even when max-height is 0, which would leak the first link through. */
    padding: 0 var(--gut);
    max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  }
  .site-nav.is-open {
    max-height: 26rem;
    padding: .5rem var(--gut) 1.5rem;
    border-bottom-color: var(--rule);
  }
  .site-nav a { padding: .8rem 0; font-size: 1rem; border-bottom: 1px solid var(--rule-soft); }
  .site-nav a::after { display: none; }
}

/* ---------- hero ---------- */

.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-text { min-width: 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn {
  display: inline-block;
  font-size: .87rem; font-weight: 500; letter-spacing: .01em;
  padding: .82rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn--ghost { border-color: var(--rule); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

.portrait {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-lg);
}
/* The asset is pre-cropped to 4:5 with the framing baked in, so no nudging. */
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.portrait::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  pointer-events: none;
}
.portrait__fallback {
  display: none;
  position: absolute; inset: 0;
  place-content: center; text-align: center;
  color: var(--muted); font-size: .82rem; line-height: 1.8;
}
.portrait.is-empty img { display: none; }
.portrait.is-empty .portrait__fallback { display: grid; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 340px; order: -1; }
}

/* ---------- credential strip ---------- */

.strip {
  border-block: 1px solid var(--rule);
  background: var(--metal);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-inline: 0;
}
.strip-item {
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1rem, 3vw, 2rem);
  display: flex; flex-direction: column; gap: .4rem;
  text-align: center; align-items: center;
  border-left: 1px solid var(--rule);
}
.strip-item:first-child { border-left: none; }
.strip-num {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 400; line-height: 1;
  letter-spacing: -.02em;
  color: var(--accent);
}
.strip-label {
  font-size: .78rem; letter-spacing: .06em;
  color: var(--muted); text-transform: uppercase; font-weight: 500;
  max-width: 18ch;
}
@media (max-width: 720px) {
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(odd) { border-left: none; }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ---------- section shell ---------- */

.section { padding-block: var(--sec-y); }
.section--rule { border-top: 1px solid var(--rule); }

.section-grid {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.section-head { position: sticky; top: 7rem; align-self: start; }
.section-num {
  font-family: var(--serif);
  font-size: .95rem; color: var(--muted);
  margin: 0 0 .5rem; letter-spacing: .05em;
}
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0;
}
.section-intro {
  font-size: 1.08rem; color: var(--ink-soft);
  max-width: 52ch; margin: 0 0 2.5rem;
}

@media (max-width: 860px) {
  .section-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section-head { position: static; }
}

/* ---------- prose ---------- */

.prose { max-width: 68ch; }
.prose p { margin: 0 0 1.35rem; color: var(--ink-soft); }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose-lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.62rem);
  line-height: 1.42;
  color: var(--ink) !important;
  letter-spacing: -.011em;
  margin-bottom: 2rem !important;
}

.prose-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
}
@media (max-width: 700px) { .prose-split { grid-template-columns: 1fr; } }

.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.tag-list li {
  font-size: .8rem; color: var(--ink-soft);
  border: 1px solid var(--rule);
  padding: .35rem .75rem; border-radius: 999px;
  background: var(--surface);
}

.edu-list { list-style: none; padding: 0; margin: 0; }
.edu-list li {
  padding: .7rem 0;
  border-bottom: 1px solid var(--rule-soft);
  display: flex; flex-direction: column;
}
.edu-list li:last-child { border-bottom: none; }
.edu-list strong { font-size: .93rem; font-weight: 600; }
.edu-list span { font-size: .84rem; color: var(--muted); }

/* ---------- timeline ---------- */

.timeline { list-style: none; margin: 0; padding: 0; }

.timeline-item {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1.5rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--rule-soft);
  position: relative;
}
.timeline-item:first-child { border-top: none; padding-top: 0; }

.timeline-when {
  font-size: .81rem; font-weight: 500; letter-spacing: .04em;
  color: var(--muted);
  padding-top: .3rem;
  text-transform: uppercase;
}
.timeline-what h3 {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500; line-height: 1.28;
  letter-spacing: -.012em;
  margin: 0 0 .35rem;
}
.timeline-org {
  font-size: .89rem; color: var(--accent);
  font-weight: 500; margin: 0 0 .85rem;
}
.timeline-what p { color: var(--ink-soft); margin: 0 0 .85rem; font-size: .96rem; }
.timeline-what p:last-child { margin-bottom: 0; }

.bullets { margin: 0; padding-left: 1.05rem; }
.bullets li {
  color: var(--ink-soft); font-size: .93rem;
  margin-bottom: .45rem; padding-left: .2rem;
}
.bullets li::marker { color: var(--accent); }
.bullets li strong { color: var(--ink); }

@media (max-width: 620px) {
  .timeline-item { grid-template-columns: 1fr; gap: .5rem; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .87rem; font-weight: 500;
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding-bottom: 1px;
  transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.link-arrow::after { content: '\2192'; transition: transform .25s var(--ease); }
.link-arrow:hover { border-bottom-color: var(--accent); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- project filters + cards ---------- */

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.25rem; }
.chip {
  font-family: var(--sans);
  font-size: .82rem; font-weight: 500;
  padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--surface); color: var(--muted);
  cursor: pointer;
  transition: all .22s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--rule)); }
.card.is-hidden { display: none; }

.card-body { padding: 1.6rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-kicker {
  font-size: .72rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  margin: 0 0 .6rem;
}
.card-body h3 {
  font-family: var(--serif);
  font-size: 1.26rem; font-weight: 500; line-height: 1.25;
  letter-spacing: -.014em;
  margin: 0 0 .7rem;
}
.card-body > p { font-size: .93rem; color: var(--ink-soft); margin: 0 0 1rem; }
.card-tags {
  font-size: .78rem !important;
  color: var(--muted) !important;
  margin-top: auto !important;
  margin-bottom: 1rem !important;
  letter-spacing: .01em;
}
/* Cards with no trailing link shouldn't keep the gap reserved for one. */
.card-tags:last-child { margin-bottom: 0 !important; }
.card .link-arrow { align-self: flex-start; }

/* ---------- book feature ---------- */

.feature {
  background: var(--bg-alt);
  border-block: 1px solid var(--rule);
  padding-block: var(--sec-y);
}
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 22rem) 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 800px) {
  .feature-grid { grid-template-columns: 1fr; }
  .book-cover { max-width: 17rem; }
}

.book-cover {
  margin: 0; position: relative;
  aspect-ratio: 2 / 3;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover__fallback {
  display: none;
  position: absolute; inset: 0;
  flex-direction: column; justify-content: center; align-items: center;
  gap: .5rem; padding: 2rem; text-align: center;
  background: linear-gradient(155deg, #3A4247 0%, #1E2427 40%, #4B555B 55%, #191E21 78%, #2E363A 100%);
  color: #EDEFF0;
}
.book-cover.is-empty img { display: none; }
.book-cover.is-empty .book-cover__fallback { display: flex; }
.book-cover__fallback span { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; }
.book-cover__fallback em { font-size: .95rem; opacity: .85; }
.book-cover__fallback small { margin-top: 1.5rem; font-size: .7rem; opacity: .6; line-height: 1.6; }
.book-cover__fallback code { font-size: .95em; }

.feature-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.02; letter-spacing: -.025em;
  margin: 0 0 .35rem;
}
.feature-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--muted);
  margin: 0 0 1.75rem;
}
.feature-text > p { color: var(--ink-soft); margin: 0 0 1.25rem; max-width: 52ch; }
.feature-meta {
  font-size: .8rem !important;
  color: var(--muted) !important;
  letter-spacing: .04em;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  margin-bottom: 1.75rem !important;
}

/* ---------- patent ---------- */

.patent-card {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 3px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.patent-seal { color: var(--accent); opacity: .55; }
.patent-seal svg { width: 100%; height: auto; }
.patent-body h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 400; line-height: 1.2; letter-spacing: -.018em;
  margin: 0 0 .5rem;
}
.patent-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .84rem; letter-spacing: .08em;
  color: var(--accent);
  margin: 0 0 1.1rem;
}
.patent-body > p { color: var(--ink-soft); margin: 0 0 1.1rem; max-width: 58ch; }

@media (max-width: 620px) {
  .patent-card { grid-template-columns: 1fr; gap: 1rem; }
  .patent-seal { width: 3.5rem; }
}

/* ---------- publications ---------- */

.pubs { list-style: none; margin: 0; padding: 0; }
.pubs li {
  display: grid; grid-template-columns: 4rem 1fr; gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: .92rem; color: var(--ink-soft);
}
.pub-year {
  font-size: .8rem; color: var(--muted); font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.pubs strong { color: var(--ink); font-weight: 600; }
.pub-tag {
  display: inline-block; margin-left: .4rem;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding: .1rem .5rem; border-radius: 999px; vertical-align: middle;
}
@media (max-width: 560px) { .pubs li { grid-template-columns: 1fr; gap: .25rem; } }

.pubs-link { margin: 1.75rem 0 0; }

/* ---------- talk rows + honors ---------- */

.list-rows { list-style: none; margin: 0; padding: 0; }
.list-rows li {
  display: grid; grid-template-columns: 4rem 1fr;
  gap: 1rem; align-items: baseline;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.row-year { font-size: .8rem; color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.row-main { font-size: .93rem; color: var(--muted); line-height: 1.6; }
.row-main strong { color: var(--ink); font-family: var(--serif); font-size: 1.08rem; font-weight: 500; }
@media (max-width: 560px) { .list-rows li { grid-template-columns: 1fr; gap: .25rem; } }

.honors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1px; background: var(--rule-soft); border: 1px solid var(--rule-soft); }
.honors li { background: var(--bg); padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .25rem; }
.honors strong { font-size: .92rem; font-weight: 600; line-height: 1.4; }
.honors span { font-size: .82rem; color: var(--muted); }

/* ---------- contact ---------- */

.contact {
  border-top: 1px solid var(--rule);
  background: var(--bg-alt);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.contact-inner { text-align: left; max-width: 46rem; }
.contact .eyebrow { margin-bottom: 1.25rem; }

.social {
  list-style: none; padding: 0;
  margin: .75rem 0 0;
  display: flex; flex-wrap: wrap; gap: .6rem;
}
.social a {
  display: inline-block;
  font-size: .88rem; font-weight: 500;
  text-decoration: none; color: var(--ink-soft);
  border: 1px solid var(--rule);
  background: var(--surface);
  padding: .68rem 1.35rem; border-radius: 999px;
  transition: all .22s var(--ease);
}
.social a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--rule); padding-block: 2rem; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: var(--muted);
}
.footer-inner p { margin: 0; }
.footer-inner a { text-decoration: none; transition: color .2s var(--ease); }
.footer-inner a:hover { color: var(--accent); }

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- print ---------- */

@media print {
  .site-header, .filters, .menu-toggle, .site-footer a { display: none; }
  .reveal { opacity: 1; transform: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section { padding-block: 1.5rem; break-inside: avoid; }
  .card { break-inside: avoid; }
}
