/* =====================================================
   Harini Anand · personal site
   Editorial archive aesthetic. Porcelain, graphite, steel.
   ===================================================== */

:root {
  /* palette */
  --paper:        #F7F8FA;
  --paper-2:      #EEF2F5;
  --paper-3:      #E2E8EE;
  --ink:          #151A1F;
  --ink-2:        #27313A;
  --ink-3:        #5B6670;
  --ink-4:        #8A949E;
  --line:         #151A1F;
  --rule:         #C9D2DA;
  --clay:         #2F6F8F;
  --clay-soft:    #7EA6B8;
  --sage:         #43695F;
  --gold:         #A47A2D;
  --tile-1:       #EDF1F4;
  --tile-2:       #E1E8EE;
  --tile-3:       #D2DCE4;
  --tile-4:       #27313A;
  --tile-5:       #2F6F8F;
  --tile-6:       #43695F;
  --shadow:       rgba(21,26,31,.55);

  /* type */
  --display: Helvetica, Arial, "Nimbus Sans", sans-serif;
  --body:    "EB Garamond", Garamond, "Adobe Garamond Pro", "Iowan Old Style", Georgia, serif;
  --header:  "Roboto", Helvetica, Arial, sans-serif;
  --mono:    "Roboto", Helvetica, Arial, sans-serif;

  /* sizing */
  --pad:    clamp(1rem, 2.35vw, 2.5rem);
  --max:    1320px;
  --radius: 14px;
}

:root[data-theme="dark"] {
  --paper:        #101316;
  --paper-2:      #171C20;
  --paper-3:      #20272D;
  --ink:          #F3F5F7;
  --ink-2:        #D9DEE3;
  --ink-3:        #AAB4BD;
  --ink-4:        #77828C;
  --line:         #F3F5F7;
  --rule:         #333C45;
  --clay:         #7EB6D1;
  --clay-soft:    #99C2D4;
  --sage:         #8CB5A7;
  --gold:         #D2AD64;
  --tile-1:       #171C20;
  --tile-2:       #20272D;
  --tile-3:       #26303A;
  --tile-4:       #D9DEE3;
  --tile-5:       #7EB6D1;
  --tile-6:       #8CB5A7;
  --shadow:       rgba(0,0,0,.7);
}

:root { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 22px;
  line-height: 1.42;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* faint paper grain */
  background-image:
    radial-gradient(1200px 600px at 10% -10%, rgba(47,111,143,0.055), transparent 60%),
    radial-gradient(900px 500px at 110% 30%, rgba(67,105,95,0.045), transparent 60%),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.012) 0 1px, transparent 1px 3px);
}

.num-em {
  color: inherit;
  font-weight: 800;
}
:root[data-theme="dark"] body {
  background-image:
    radial-gradient(1200px 600px at 10% -10%, rgba(126,182,209,0.11), transparent 60%),
    radial-gradient(900px 500px at 110% 30%, rgba(140,181,167,0.08), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px);
}

img { max-width: 100%; display: block; }
a   { color: inherit; }
em  { font-family: inherit; font-style: italic; font-weight: inherit; }
strong { font-weight: 700; }

p,
li {
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
}

/* utilities */
.eyebrow {
  font-family: var(--header);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.section-num {
  font-family: var(--header);
  font-weight: 700;
  font-style: normal;
  font-size: 14px;
  color: var(--clay);
  display: inline-block;
  margin-bottom: 6px;
}

.section-head {
  padding: 0 var(--pad);
  max-width: var(--max);
  margin: 0 auto 1.75rem;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 .35rem;
  letter-spacing: 0;
}
.section-sub {
  margin: 0;
  color: var(--ink-3);
  max-width: 56ch;
  font-size: 1.12rem;
  line-height: 1.35;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: 700 13px/1 var(--header);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--clay); border-color: var(--clay); }
.btn--ghost { border-color: var(--rule); }

.link-arrow {
  display: inline-block;
  font-family: var(--header);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.link-arrow:hover { color: var(--clay); }

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 250, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
:root[data-theme="dark"] .nav {
  background: rgba(16, 19, 22, 0.82);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .9rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--ink);
}
.nav__brand-mark {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  border-radius: 50%;
  font-family: var(--header); font-weight: 900; font-size: 13px;
}
.nav__brand-name {
  font-family: var(--header); font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
}
.nav__links {
  display: flex; gap: clamp(1rem, 1.55vw, 1.55rem);
}
.nav__links a {
  text-decoration: none;
  font-family: var(--header);
  font-size: clamp(14px, .9vw, 15.5px);
  font-weight: 800;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav__links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--clay);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 34px;
  padding: 0 .75rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font: 700 12px/1 var(--header);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.theme-toggle:hover {
  border-color: var(--ink);
}
.theme-toggle__icon {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset -4px -3px 0 var(--paper-2);
}
:root[data-theme="dark"] .theme-toggle__icon {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(210,173,100,.18);
}

.splash-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 70;
  pointer-events: none;
  opacity: .62;
}

.nav__toggle {
  display: none;
  background: transparent; border: 0;
  width: 36px; height: 36px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 60px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: .75rem var(--pad) 1.25rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav__links a {
    padding: .85rem 0;
    border-bottom: 1px solid var(--rule);
  }
  .nav__links.open {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .nav__toggle { display: flex; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 4.35rem) var(--pad) clamp(2rem, 4vw, 3.4rem);
  overflow: hidden;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.65rem;
}
.hero__title { grid-row: 1; }
.hero__portrait { grid-row: 2; }
.hero__lede { grid-row: 3; }
.hero__nowhere { grid-row: 4; }
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
    grid-template-rows: auto auto auto;
    gap: 2rem 3rem;
    align-items: start;
  }
  .hero__title {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    justify-self: center;
  }
  .hero__portrait {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
  .hero__lede {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    align-self: center;
  }
  .hero__nowhere { grid-column: 1 / -1; grid-row: 3 / 4; }
}

.hero__title {
  position: relative;
  justify-self: stretch;
  width: 100%;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.25rem, 1.45vw, 1.9rem);
  line-height: 1;
  letter-spacing: 0;
  margin: 0;
  padding-left: clamp(.15rem, .85vw, .75rem);
  text-align: left;
  text-wrap: nowrap;
}
@media (min-width: 900px) {
  .hero__title {
    width: min(var(--max), calc(100vw - (2 * var(--pad))));
    margin-left: 0;
  }
}
.hero__title em {
  color: var(--clay);
  font-family: var(--display);
  font-style: normal;
  font-weight: 900;
}
.hero__line {
  display: block;
  position: relative;
  overflow: visible;
}
.hero__line--mobile {
  display: none;
}
.hero__type {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding-right: .18em;
}
.hero__type::after {
  content: '';
  display: none;
  position: absolute;
  top: .12em;
  right: 0;
  width: .08em;
  height: .78em;
  background: var(--clay);
  opacity: 0;
  animation: cursorBlink .86s steps(1, end) infinite;
}
.hero__type.is-typing::after {
  display: block;
}
@keyframes cursorBlink {
  0%, 46% { opacity: 1; }
  47%, 100% { opacity: 0; }
}

@media (max-width: 620px) {
  .hero__grid,
  .hero__lede {
    min-width: 0;
    max-width: calc(100vw - 2rem);
  }
  .hero__lede {
    justify-self: center;
    width: 100%;
  }
  .hero__title {
    justify-self: center;
    width: min(100%, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    margin-inline: auto;
    font-size: clamp(1.38rem, 6.4vw, 1.92rem);
    padding-left: 0;
    text-align: center;
    white-space: normal;
    overflow-wrap: normal;
    text-wrap: balance;
  }
  .hero__type {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
    text-wrap: balance;
    padding-right: 0;
  }
  .hero__type::after { display: none; }
  .hero__line--desktop { display: none; }
  .hero__line--mobile { display: block; }
  .hero__lede p {
    width: 100%;
    max-width: 100%;
    font-size: 1.15rem;
    overflow-wrap: anywhere;
  }
}

.hero__lede p {
  font-size: clamp(1.26rem, 1.5vw, 1.48rem);
  line-height: 1.42;
  color: var(--ink-2);
  margin: 0 0 1.15rem;
  max-width: 62ch;
  text-align: justify;
  overflow-wrap: break-word;
  text-wrap: pretty;
  hyphens: auto;
}
.hero__command {
  display: inline-flex;
  margin: 0 0 .65rem;
  padding: .34rem .55rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper-2);
  color: var(--clay);
  font: 700 12px/1 var(--header);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: .6rem;
}

.hero__portrait {
  position: relative;
  width: min(100%, 360px);
  margin: 0;
  justify-self: center;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  box-shadow: 0 22px 60px -40px var(--shadow);
}
.hero__portrait::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(247,248,250,.38);
  border-radius: 6px;
  z-index: 2;
  pointer-events: none;
}
.hero__portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(.9) contrast(1.04);
}
@media (max-width: 520px) {
  .hero__portrait { width: 100%; }
}
@media (min-width: 1050px) {
  .hero__portrait {
    width: clamp(250px, 24vw, 352px);
    justify-self: start;
    align-self: start;
    z-index: 2;
  }
}

.hero__nowhere {
  border-top: 1px solid var(--rule);
  padding-top: 1.15rem;
  max-width: none;
}
.hero__nowhere .eyebrow {
  display: inline-block;
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--ink);
  letter-spacing: .16em;
}
.hero__nowhere ul {
  list-style: none; padding: 0; margin: .75rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem 1.35rem;
  font-family: var(--header);
  font-size: clamp(19px, 1.25vw, 21px);
  line-height: 1.38;
  color: var(--ink-2);
}
@media (max-width: 760px) {
  .hero__nowhere ul {
    grid-template-columns: 1fr;
  }
}
.hero__nowhere li {
  text-align: left;
  hyphens: none;
}
.hero__nowhere .dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--clay);
  border-radius: 50%;
  margin-right: .65rem;
  transform: translateY(-2px);
}

.hero__meta { display: flex; align-items: center; gap: 1rem; }

.neural-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.neural-sketch {
  position: absolute;
  color: var(--clay);
  opacity: .105;
  filter: drop-shadow(0 12px 22px rgba(47,111,143,.06));
}
:root[data-theme="dark"] .neural-sketch { opacity: .14; }
.neural-sketch--one {
  width: min(18vw, 210px);
  min-width: 112px;
  top: 8%;
  left: 2.5%;
  transform: rotate(-5deg);
}
.neural-sketch--two {
  width: min(15vw, 170px);
  min-width: 92px;
  top: 28%;
  right: 5%;
  transform: rotate(4deg);
}
.neural-sketch--three {
  width: min(16vw, 190px);
  min-width: 96px;
  bottom: 13%;
  left: 8%;
  transform: rotate(2deg);
}

/* =====================================================
   VISION BOARD
   ===================================================== */
.board {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3.25rem) var(--pad);
}
.board__header {
  margin-bottom: 1.75rem;
}
.board__header h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0;
  letter-spacing: 0;
}

.board__grid {
  display: block;
  columns: 5 220px;
  column-gap: 12px;
}

.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--tile-1);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.tile::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.35) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.tile:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.25); }
.tile:hover::before { opacity: 1; }

.tile__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: .25rem;
}
.tile__title {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}
.tile__caption {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  font-size: 13px;
  color: var(--paper);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 2;
}
.tile:hover .tile__caption { opacity: 1; transform: translateY(0); }

.tile--gallery {
  display: inline-block;
  width: 100%;
  padding: 0;
  margin: 0 0 12px;
  cursor: zoom-in;
  background: var(--paper-2);
  border: 1px solid rgba(21,26,31,.08);
  box-shadow: 0 12px 28px -24px rgba(21,26,31,.45);
  break-inside: avoid;
  vertical-align: top;
  appearance: none;
  text-align: left;
}
.tile--gallery::before,
.tile--gallery::after {
  display: none;
}
.tile--gallery:hover {
  transform: none;
  box-shadow: 0 16px 32px -24px rgba(21,26,31,.5);
}
.tile--gallery:focus-visible,
.tile--gallery.is-previewed {
  outline: 2px solid rgba(47,111,143,.7);
  outline-offset: 3px;
}
.tile--gallery .tile__img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transform: none;
  transition: opacity .2s ease;
}

.gallery-preview {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}
.gallery-preview.is-visible {
  opacity: 1;
}
.gallery-preview__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(247,248,250,.68);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .18s ease;
}
:root[data-theme="dark"] .gallery-preview__backdrop {
  background: rgba(16,19,22,.74);
}
.gallery-preview.is-touch {
  pointer-events: auto;
}
.gallery-preview.is-touch .gallery-preview__backdrop {
  opacity: 1;
}
.gallery-preview__img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  max-width: min(82vw, 1120px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid rgba(21,26,31,.12);
  box-shadow: 0 28px 80px -42px rgba(21,26,31,.55);
  background: var(--paper);
  transform: scale(.96);
  transition: transform .2s ease;
}
.gallery-preview.is-visible .gallery-preview__img {
  transform: scale(1);
}

/* tile color variants */
.tile--ink     { background: var(--ink); color: var(--paper); }
.tile--ink .tile__label { color: var(--paper-3); }
.tile--clay    { background: var(--clay); color: var(--paper); }
.tile--clay .tile__label { color: var(--paper); opacity: .85; }
.tile--sage    { background: var(--sage); color: var(--paper); }
.tile--sage .tile__label { color: var(--paper); opacity: .85; }
.tile--gold    { background: var(--gold); color: var(--paper); }
.tile--gold .tile__label { color: var(--paper); opacity: .85; }
.tile--paper2  { background: var(--paper-2); }
.tile--paper3  { background: var(--paper-3); }
.tile--tile3   { background: var(--tile-3); }

/* tile sizes, desktop bento */
.tile--xs { grid-column: span 3; grid-row: span 1; }
.tile--sm { grid-column: span 3; grid-row: span 2; }
.tile--md { grid-column: span 4; grid-row: span 2; }
.tile--lg { grid-column: span 5; grid-row: span 3; }
.tile--xl { grid-column: span 6; grid-row: span 3; }
.tile--wide { grid-column: span 6; grid-row: span 1; }
.tile--tall { grid-column: span 3; grid-row: span 3; }
.tile--portrait { grid-column: span 4; grid-row: span 3; }

/* tiles with images */
.tile__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.tile--has-image .tile__label,
.tile--has-image .tile__title {
  position: relative;
  z-index: 2;
  color: var(--paper);
  text-shadow: 0 1px 14px rgba(0,0,0,.4);
}
.tile--has-image .tile__label { color: var(--paper-3); }
.tile--has-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 100%);
  z-index: 1;
}

/* placeholder graphics inside tiles */
.tile__placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
  opacity: .35;
}
.tile__placeholder svg { width: 60%; height: 60%; }

/* responsive bento */
@media (max-width: 1100px) {
  .board__grid { columns: 4 190px; column-gap: 12px; }
  .tile--gallery { margin-bottom: 12px; }
  .tile--xl { grid-column: span 8; grid-row: span 3; }
  .tile--lg { grid-column: span 6; grid-row: span 3; }
  .tile--md { grid-column: span 6; grid-row: span 2; }
  .tile--sm { grid-column: span 4; grid-row: span 2; }
  .tile--xs { grid-column: span 4; grid-row: span 1; }
  .tile--wide { grid-column: span 8; grid-row: span 1; }
  .tile--tall { grid-column: span 4; grid-row: span 3; }
  .tile--portrait { grid-column: span 6; grid-row: span 3; }
}
@media (max-width: 740px) {
  .board__grid { columns: 2 150px; column-gap: 10px; }
  .tile--gallery { margin-bottom: 10px; }
  .gallery-preview__img {
    max-width: 92vw;
    max-height: 78vh;
  }
  .tile--xs, .tile--sm, .tile--md, .tile--lg, .tile--xl, .tile--wide, .tile--tall, .tile--portrait {
    grid-column: span 6;
    grid-row: span 2;
  }
  .tile--lg, .tile--xl, .tile--tall, .tile--portrait { grid-row: span 3; }
}

/* =====================================================
   ABOUT
   ===================================================== */
.about {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 3.25rem) var(--pad);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 0 var(--pad); }
}
.about__lead {
  font-family: var(--display);
  font-size: clamp(1.38rem, 2vw, 1.78rem);
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 1.25rem;
  color: var(--ink);
}
.about__col p {
  margin: 0 0 .85rem;
  color: var(--ink-2);
  font-size: 1.08rem;
  line-height: 1.43;
}
.about__col strong { color: var(--ink); font-weight: 600; }
.about__sig {
  font-family: var(--display); font-style: italic;
  font-size: 1.3rem;
  color: var(--clay);
  margin-top: 1.5rem !important;
}

.identity {
  max-width: var(--max);
  margin: 3rem auto 0;
  padding: 1.5rem var(--pad);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.identity__list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem;
  list-style: none; padding: 0; margin: .5rem 0 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--ink);
}
.identity__list li::before {
  content: '·  ';
  color: var(--clay);
  font-style: normal;
}

/* =====================================================
   EXPERIENCE / TIMELINE
   ===================================================== */
.exp {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 4.5vw, 3.5rem) var(--pad);
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.timeline__item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.25rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  transition: background .25s ease;
}
.timeline__item:hover { background: rgba(47,111,143,0.045); }
.timeline__date {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink-3);
  text-transform: uppercase;
  padding-top: 4px;
}
.timeline__body h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  margin: 0 0 .15rem;
  letter-spacing: 0;
}
.timeline__org {
  font-size: 14px;
  color: var(--clay);
  font-weight: 500;
  margin: 0 0 .75rem;
}
.timeline__bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: .35rem;
  font-size: 17.5px;
  line-height: 1.42;
  color: var(--ink-2);
  max-width: 70ch;
}
.timeline__bullets li {
  position: relative;
  padding-left: 1rem;
}
.timeline__bullets li::before {
  content: '·';
  position: absolute; left: 0;
  color: var(--clay);
  font-weight: 600;
}
.timeline__tags {
  display: flex; flex-wrap: wrap; gap: .35rem;
  margin-top: .75rem;
}
.timeline__tag,
.proj__tag,
.series__tags span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-3);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.timeline__tag:hover,
.proj__tag:hover,
.series__tags span:hover {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--paper);
  transform: translateY(-1px);
}
.timeline__loc {
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .timeline__item {
    grid-template-columns: 1fr;
    gap: .35rem;
  }
  .timeline__loc { text-align: left; }
}

/* =====================================================
   RESEARCH
   ===================================================== */
.research {
  background: var(--paper-2);
  padding: clamp(2rem, 4.5vw, 3.5rem) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.research__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.paper {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.paper:hover { transform: translateY(-3px); border-color: var(--clay); box-shadow: 0 12px 30px -16px rgba(0,0,0,.18); }
.paper__head {
  display: flex; justify-content: space-between; gap: 1rem;
  align-items: flex-start;
}
.paper__venue {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay);
}
.paper__date { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.paper h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0;
  transition: color .2s ease;
}
.paper:hover h3 { color: var(--clay); }
.proj h3,
.series__card h3,
.comm h3,
.news__body h3,
.talk__main h3,
.post h4,
.ach h3 {
  transition: color .2s ease;
}
.proj:hover h3,
.series__card:hover h3,
.comm:hover h3,
.news__item:hover h3,
.talk:hover h3,
.post:hover h4,
.ach:hover h3 {
  color: var(--clay);
}
.paper p { margin: 0; font-size: 17.5px; line-height: 1.42; color: var(--ink-2); }
.paper__status {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--paper-3);
  color: var(--ink-2);
  margin-top: .25rem;
  align-self: flex-start;
  transition: background .2s ease, color .2s ease;
}
.paper__status:hover {
  background: var(--clay);
  color: var(--paper);
}

/* =====================================================
   PROJECTS
   ===================================================== */
.projects {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 4.5vw, 3.5rem) var(--pad);
}
.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.proj {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.15rem;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: .65rem;
  transition: border-color .25s ease, transform .25s ease;
}
.proj:hover { border-color: var(--ink); transform: translateY(-2px); }
.proj__cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay);
}
.proj h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.2;
  margin: 0;
}
.proj p { margin: 0; font-size: 17.5px; line-height: 1.42; color: var(--ink-2); }
.proj__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; }
.proj__tag {
  background: var(--paper-2);
}

/* =====================================================
   TALKS
   ===================================================== */
.talks {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 4.5vw, 3.5rem) var(--pad);
}
.talks__filter {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 1.5rem;
}
.sessionize-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: center;
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.sessionize-card__eyebrow {
  display: block;
  margin-bottom: .25rem;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay);
}
.sessionize-card h3 {
  margin: 0 0 .25rem;
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  line-height: 1.05;
}
.sessionize-card p {
  margin: 0;
  max-width: 68ch;
  color: var(--ink-2);
  font-size: 17.5px;
  line-height: 1.42;
  text-align: justify;
}
.sessionize-embed {
  margin: 0 0 1.35rem;
  padding: .85rem 1rem;
  border: 1px dashed var(--rule);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--paper-2) 72%, transparent);
}
.sessionize-embed__fallback {
  margin: 0 0 .6rem;
  font-family: var(--header);
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink-3);
}
.sessionize-embed a {
  color: var(--ink);
}
.sessionize-list {
  display: grid;
  gap: .65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sessionize-list li {
  padding: .8rem 0;
  border-top: 1px solid var(--rule);
}
.sessionize-list h4 {
  margin: 0 0 .3rem;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.2;
}
.sessionize-list p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.42;
  text-align: justify;
}
.chip {
  font-family: var(--header);
  font-weight: 700;
  font-size: 12px;
  padding: .45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { border-color: var(--ink); }
.chip:hover:not(.chip--active) {
  background: var(--paper-3);
  color: var(--ink);
}
.chip--active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.talks__list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--rule);
}
.talk {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1rem 2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: background .25s ease;
  min-width: 0;
}
.talk__main { min-width: 0; }
.talk:hover { background: rgba(47,111,143,0.045); }
.talk__date {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: .08em;
}
.talk__main h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  margin: 0 0 .2rem;
  line-height: 1.25;
}
.talk__event { font-size: 15px; color: var(--clay); margin: 0 0 .25rem; }
.talk__desc { font-size: 17.5px; line-height: 1.4; color: var(--ink-2); margin: 0; max-width: 65ch; }
.talk__meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: right;
  white-space: nowrap;
}
.talk a {
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  margin-top: .35rem;
  display: inline-block;
}
.talk a:hover { color: var(--clay); border-color: var(--clay); }

@media (max-width: 760px) {
  .sessionize-card {
    grid-template-columns: 1fr;
  }
  .sessionize-card .btn {
    justify-self: start;
  }
  .talk { grid-template-columns: 1fr; gap: .25rem; }
  .talk__meta { text-align: left; }
}

/* =====================================================
   WRITING
   ===================================================== */
.writing {
  background: var(--paper-2);
  padding: clamp(2rem, 4.5vw, 3.5rem) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.series {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.series__card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.series__card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -20px rgba(0,0,0,.22); }
.series__card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.2;
  margin: .25rem 0;
}
.series__card p { margin: 0; font-size: 17.5px; line-height: 1.42; color: var(--ink-2); }
.series__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .25rem; }
.series__tags span {
  background: var(--paper-2);
}

.writing__sub {
  max-width: var(--max);
  margin: 3rem auto 1rem;
  padding: 0 var(--pad);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
}
.writing__list {
  list-style: none; padding: 0;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  border-top: 1px solid var(--rule);
}
.post {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1rem 2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  transition: background .25s ease;
}
.post:hover { background: rgba(47,111,143,0.045); }
.post__platform {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay);
}
.post h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0 0 .25rem;
}
.post p { margin: 0; font-size: 17.5px; line-height: 1.4; color: var(--ink-2); }
.post__date { font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 760px) {
  .post { grid-template-columns: 1fr; gap: .25rem; }
}

/* =====================================================
   COMMUNITY
   ===================================================== */
.community {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 4.5vw, 3.5rem) var(--pad);
}
.community__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.comm {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.1rem;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: border-color .25s ease, transform .25s ease;
}
.comm:hover { border-color: var(--clay); transform: translateY(-2px); }
.comm__role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay);
}
.comm h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0;
}
.comm p { margin: 0; font-size: 17.5px; line-height: 1.42; color: var(--ink-2); }
.comm__date { font-family: var(--mono); font-size: 11px; color: var(--ink-3); margin-top: auto; }

/* =====================================================
   ACHIEVEMENTS
   ===================================================== */
.achievements {
  background: var(--paper-2);
  color: var(--ink);
  padding: clamp(2rem, 4.5vw, 3.5rem) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.achievements .section-head h2 { color: var(--ink); }
.achievements .section-head {
  text-align: right;
  justify-items: end;
}
.achievements .section-num { color: var(--clay); }
:root[data-theme="dark"] .achievements {
  background: var(--ink);
  color: var(--paper);
}
:root[data-theme="dark"] .achievements .section-head h2 { color: var(--paper); }
:root[data-theme="dark"] .achievements .section-num { color: var(--clay-soft); }
.ach__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.ach {
  padding: 1.25rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: right;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.ach:hover { background: var(--paper-3); border-color: var(--clay); transform: translateY(-2px); }
:root[data-theme="dark"] .ach {
  border-color: rgba(247,248,250,0.18);
  background: rgba(247,248,250,0.035);
}
:root[data-theme="dark"] .ach:hover { background: rgba(247,248,250,0.07); border-color: var(--clay-soft); }
.ach__cat {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay);
  display: block;
  margin-bottom: .35rem;
}
.ach h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0 0 .35rem;
}
.ach p { margin: 0; font-size: 19px; line-height: 1.42; color: var(--ink-2); }
:root[data-theme="dark"] .ach p { color: rgba(247,248,250,0.72); }

/* =====================================================
   CV
   ===================================================== */
.cv {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 4.5vw, 3.5rem) var(--pad);
}
.cv__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-2);
  overflow: hidden;
}
@media (min-width: 900px) {
  .cv__panel { grid-template-columns: 1fr 1.4fr; }
}
.cv__copy { padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.cv__copy p { margin: 0; color: var(--ink-2); max-width: 50ch; }
.cv__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cv__note { font-size: 13px; color: var(--ink-3); }
.cv__viewer {
  background: var(--ink-3);
  min-height: 480px;
  display: grid;
}
.cv__viewer object { width: 100%; height: 100%; min-height: 480px; }
.cv__fallback {
  display: grid; place-items: center; gap: 1rem;
  padding: 2rem; color: var(--paper);
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 4.5vw, 3.5rem) var(--pad);
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.contact__card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.5rem;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: background .25s ease, transform .25s ease;
}
.contact__card:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }
.contact__card:hover .eyebrow { color: var(--paper-3); }
.contact__val {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1rem;
  margin: .25rem 0 .35rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.foot {
  border-top: 1px solid var(--rule);
  background: var(--paper);
  padding: 2rem 0;
}
.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
.foot__name {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  margin: 0;
}
.foot__sub { margin: .25rem 0 0; font-size: 13px; color: var(--ink-3); }
.foot__links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--ink-2);
}
.foot__links a:hover { color: var(--clay); }

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .splash-cursor {
    display: none;
  }
  .hero__type::after {
    display: none;
  }
}

/* selection */
::selection { background: var(--clay); color: var(--paper); }

/* =====================================================
   NEWS / LATEST
   ===================================================== */
.news {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 4.5vw, 3.5rem) var(--pad);
}
.news__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.news__item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: background .25s ease;
}
.news__item:hover { background: rgba(47,111,143,0.045); }
.news__date {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink-3);
  text-transform: uppercase;
  padding-top: 4px;
}
.news__cat {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay);
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--clay);
  border-radius: 999px;
  margin-bottom: .5rem;
}
.news__body h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.18rem, 1.5vw, 1.36rem);
  line-height: 1.25;
  margin: 0 0 .35rem;
  letter-spacing: 0;
}
.news__body p {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.42;
  color: var(--ink-2);
  max-width: 70ch;
}
@media (max-width: 720px) {
  .news__item {
    grid-template-columns: 1fr;
    gap: .35rem;
  }
}

/* =====================================================
   CARD MEDIA (single image) + CAROUSEL (multi-image)
   ===================================================== */
.card-media,
.carousel {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-3);
  margin: 0 0 .85rem 0;
  border: 1px solid var(--rule);
}
.card-media img,
.carousel .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-media figcaption,
.carousel .slide figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: .5rem .75rem;
  background: linear-gradient(0deg, rgba(0,0,0,.55), transparent);
  color: var(--paper);
  font-size: 12.5px;
  font-family: var(--body);
}
.card-media--broken img { display: none; }
.card-media--broken::after {
  content: 'Image coming soon';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Carousel track */
.carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.carousel .slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(0,0,0,.35);
  color: var(--paper);
  font-family: var(--display);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease, transform .2s ease;
  z-index: 2;
}
.carousel__nav:hover {
  background: rgba(0,0,0,.6);
  transform: translateY(-50%) scale(1.06);
}
.carousel__nav--prev { left: 10px; }
.carousel__nav--next { right: 10px; }

.carousel__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.carousel__dot.is-active {
  background: var(--paper);
  transform: scale(1.25);
}
.carousel__dot:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}

.series__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
}

.series__card--live {
  border-color: rgba(10,102,194,.28);
}

.libutton {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 7px 14px;
  text-align: center;
  outline: none;
  text-decoration: none !important;
  color: #ffffff !important;
  min-width: 200px;
  min-height: 32px;
  border-radius: 16px;
  background-color: #0A66C2;
  font-family: "SF Pro Text", Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(10,102,194,.16);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.libutton:hover {
  background-color: #004182;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(10,102,194,.22);
}

.btn--small {
  padding: .55rem .85rem;
  font-size: 13px;
}

.news__link {
  display: inline-flex;
  margin-top: .6rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .carousel .slide { transition: none; }
}

/* Paper author line */
.paper__authors {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.5;
  margin: 0;
}
