/* ---------------------------------------------------------------------------
   Tokens
--------------------------------------------------------------------------- */
:root {
  --bg:            #f6f6f4;
  --bg-elev:       #ffffff;
  --ink:           #14161a;
  --ink-2:         #4a5058;
  --ink-3:         #878e97;
  --line:          #e0e0dc;
  --line-2:        #ececea;
  --accent:        #2563eb;
  --accent-2:      #7c3aed;
  --accent-soft:   rgba(37, 99, 235, .10);
  --canvas-dot:    #7c8798;
  --shadow:        0 1px 2px rgba(15,20,30,.04), 0 12px 36px -18px rgba(15,20,30,.22);
  --radius:        14px;
  --maxw:          1080px;
  --serif:         "Instrument Serif", Georgia, serif;
  --sans:          "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:          "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

:root[data-theme="dark"] {
  --bg:            #0b0d10;
  --bg-elev:       #12151a;
  --ink:           #eef1f5;
  --ink-2:         #a3acb9;
  --ink-3:         #6b7480;
  --line:          #1e232b;
  --line-2:        #191d24;
  --accent:        #7dd3fc;
  --accent-2:      #a78bfa;
  --accent-soft:   rgba(125, 211, 252, .10);
  --canvas-dot:    #7dd3fc;
  --shadow:        0 1px 2px rgba(0,0,0,.4), 0 20px 50px -24px rgba(0,0,0,.8);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #0b0d10;
    --bg-elev:     #12151a;
    --ink:         #eef1f5;
    --ink-2:       #a3acb9;
    --ink-3:       #6b7480;
    --line:        #1e232b;
    --line-2:      #191d24;
    --accent:      #7dd3fc;
    --accent-2:    #a78bfa;
    --accent-soft: rgba(125, 211, 252, .10);
    --canvas-dot:  #7dd3fc;
    --shadow:      0 1px 2px rgba(0,0,0,.4), 0 20px 50px -24px rgba(0,0,0,.8);
  }
}

/* ---------------------------------------------------------------------------
   Base
--------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 78px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------------------
   Justified prose
   Only where the measure is wide enough to justify without rivers, which in
   practice means about 60 characters and up: the About column runs 65, the
   experience bullets 90, the contact line 68. The card bodies are excluded
   deliberately, since the focus cards measure 30 characters and the project
   cards 42, and justifying either tears holes in the word spacing. Single
   line metadata stays ragged too, where justification would do nothing.
   Hyphenation keeps the spacing even; the limits stop it breaking short
   words or leaving a stub of one or two letters.
--------------------------------------------------------------------------- */
.about-copy p,
.tl-points li,
.contact-lead {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto; -webkit-hyphens: auto;
  hyphenate-limit-chars: 8 4 4;
  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 4;
}

/* Too narrow to justify without rivers of white space. */
@media (max-width: 700px) {
  .about-copy p,
  .tl-points li,
  .contact-lead {
    text-align: left;
    hyphens: manual;
  }
}

#bg {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: .55;
}
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] .grain { mix-blend-mode: screen; opacity: .05; }

main, .nav, .foot { position: relative; z-index: 2; }

/* ---------------------------------------------------------------------------
   Nav
--------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px max(24px, calc((100vw - var(--maxw)) / 2));
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
/* Opaque rather than translucent: content scrolling underneath must not show
   through the bar. */
.nav.stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(0,0,0,.5);
}
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 13.5px; color: var(--ink-2); }
.nav-links a { position: relative; padding: 2px 0; transition: color .2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent); transition: right .28s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--ink); }
.theme-toggle {
  border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  font-size: 13px; line-height: 1; transition: all .2s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-3); transform: rotate(180deg); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ---------------------------------------------------------------------------
   Hero
--------------------------------------------------------------------------- */
.hero {
  min-height: clamp(480px, 60vh, 620px);
  display: flex;
  align-items: center;
  padding: 64px max(24px, calc((100vw - var(--maxw)) / 2)) 52px;
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px;
  gap: 56px; align-items: center; width: 100%;
}
.hero-copy { min-width: 0; }

.portrait { margin: 0; position: relative; width: 280px; height: 280px; justify-self: end; }
.portrait img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%; display: block;
  filter: saturate(.96) contrast(1.02);
  box-shadow: var(--shadow);
}
.portrait-ring {
  position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid var(--line);
  background:
    conic-gradient(from 0deg,
      color-mix(in srgb, var(--accent) 55%, transparent) 0deg,
      transparent 90deg,
      color-mix(in srgb, var(--accent-2) 45%, transparent) 200deg,
      transparent 300deg) border-box;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 0);
          mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 0);
  animation: spin 22s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .portrait { width: 148px; height: 148px; justify-self: start; order: -1; }
}
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em;
  color: var(--accent); margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 8vw, 88px);
  line-height: .97; letter-spacing: -.035em;
  margin-bottom: 14px;
}
.hero-role {
  font-family: var(--mono); font-size: 13px; letter-spacing: -.01em;
  color: var(--ink); margin-bottom: 16px;
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--ink-2); font-weight: 300; max-width: 48ch; margin-bottom: 10px;
}
.hero-loc { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); margin-bottom: 34px; }
.hero-loc::before { content: "◈ "; color: var(--accent-2); }

/* The first project card carries the headline work, so it spans the grid. */
.proj-grid > .proj:first-child { grid-column: 1 / -1; border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.proj-grid > .proj:first-child .proj-name { font-size: 17px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); background: var(--bg-elev);
  transition: all .22s ease;
}
.pill .glyph { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.pill:hover { color: var(--ink); border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------------------------------------------------------------------------
   Sections
--------------------------------------------------------------------------- */
.section {
  padding: 84px max(24px, calc((100vw - var(--maxw)) / 2));
  border-top: 1px solid var(--line);
}
#about { padding-top: 56px; }
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 44px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -.03em; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.55fr .95fr; gap: 56px; align-items: start; }
.about-copy p { font-size: 17px; color: var(--ink-2); max-width: 68ch; }
.about-copy p:first-child { font-size: 19.5px; color: var(--ink); line-height: 1.55; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.metric { background: var(--bg-elev); padding: 20px 18px; }
.metric-v { font-family: var(--serif); font-size: 38px; line-height: 1; letter-spacing: -.03em; }
.metric-l { font-size: 13px; color: var(--ink); margin-top: 8px; }
.metric-n { font-size: 11.5px; color: var(--ink-3); font-family: var(--mono); margin-top: 2px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Timeline */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 46px; }
.tl-item:last-child { padding-bottom: 12px; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 9px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--accent);
}
.tl-item:first-child::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tl-period { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: .03em; }
.tl-role { font-size: 21px; letter-spacing: -.015em; margin: 4px 0 2px; }
.tl-org { font-size: 14.5px; color: var(--accent); }
.tl-org .place { color: var(--ink-3); }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
.tag {
  font-family: var(--mono); font-size: 11px; padding: 3px 9px;
  border-radius: 5px; background: var(--accent-soft); color: var(--accent);
}
.tl-points li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 15px; margin-bottom: 7px; max-width: 74ch; }
.tl-points li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 5px; height: 1px; background: var(--ink-3); }

.timeline-alt .tl-item { padding-bottom: 30px; }
.timeline-alt .tl-item::before { border-color: var(--ink-3); }
.timeline-alt .tl-item:first-child::before { background: var(--bg); box-shadow: none; }
.timeline-alt .tl-role { font-size: 17.5px; }
.timeline-alt .tl-points li { font-size: 14.5px; }

.pub-meta .sep { color: var(--line); }

.more-btn {
  margin: 2px 0 0 26px; padding: 7px 15px; cursor: pointer;
  font-family: var(--sans); font-size: 13px; color: var(--ink-2);
  background: transparent; border: 1px dashed var(--line); border-radius: 999px;
  transition: all .2s;
}
.more-btn:hover { color: var(--ink); border-color: var(--accent); border-style: solid; }

.sub-head {
  margin: 52px 0 20px; font-family: var(--mono); font-size: 12px;
  font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3);
}
.edu { display: grid; gap: 22px; }
.edu-item {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 18px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.edu-item:last-child { border-bottom: 0; padding-bottom: 0; }
.edu-deg { font-size: 17.5px; letter-spacing: -.015em; }
.edu-period { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); text-align: right; padding-top: 6px; }
.edu-org { color: var(--accent); font-size: 14.5px; }
.edu-note { color: var(--ink-3); font-size: 14px; grid-column: 1 / -1; }
@media (max-width: 560px) {
  .edu-item { grid-template-columns: 1fr; }
  .edu-period { text-align: left; padding-top: 0; }
}

/* Focus grid */
/* Three columns so the six cards fill two rows exactly, with no empty cells
   showing the grid background. Falls back to two, then one. */
.focus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.focus {
  background: var(--bg-elev); padding: 26px 24px 24px;
  transition: background .25s ease; position: relative;
}
.focus:hover { background: color-mix(in srgb, var(--accent) 5%, var(--bg-elev)); }
.focus h3 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 10px; }
.focus p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 14px; }
.focus .keys { display: flex; flex-wrap: wrap; gap: 6px; }
.key { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); border: 1px solid var(--line); padding: 2px 7px; border-radius: 4px; }

.skills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.skill-group h4 { margin: 0 0 12px; font-size: 12px; font-family: var(--mono); font-weight: 500; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.skill-group ul { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-group li { font-size: 13.5px; color: var(--ink-2); border: 1px solid var(--line); padding: 4px 11px; border-radius: 999px; transition: all .2s; }
.skill-group li:hover { border-color: var(--accent); color: var(--ink); }
@media (max-width: 960px) { .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .skills { grid-template-columns: 1fr; } }

/* Publications */
.pub-tabs { display: flex; gap: 4px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.pub-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 11px; cursor: pointer;
  font-family: var(--sans); font-size: 14.5px; color: var(--ink-3);
  background: transparent; border: 0; border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: color .2s, border-color .2s;
}
.pub-tab:hover { color: var(--ink-2); }
.pub-tab.on { color: var(--ink); border-bottom-color: var(--accent); }
.pub-tab-n {
  font-family: var(--mono); font-size: 10.5px; color: var(--ink-3);
  border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px;
}
.pub-tab.on .pub-tab-n { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }

.pub-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter {
  font-size: 13px; padding: 5px 13px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  font-family: var(--sans); transition: all .2s;
}
.filter:hover { color: var(--ink); border-color: var(--ink-3); }
.filter.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pub-count { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-left: auto; }

.pubs { border-top: 1px solid var(--line); }
.pub { border-bottom: 1px solid var(--line); }
.pub a { display: grid; grid-template-columns: 62px 1fr auto; gap: 20px; padding: 20px 4px; align-items: start; transition: padding .25s ease, background .25s ease; }
.pub a:hover { padding-left: 14px; padding-right: 14px; background: var(--bg-elev); }
.pub-year { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); padding-top: 4px; }
.pub-title { display: block; font-size: 16.5px; line-height: 1.4; letter-spacing: -.01em; }
.pub a:hover .pub-title { color: var(--accent); }
.pub-meta { display: block; font-size: 13px; color: var(--ink-3); margin-top: 5px; }
.pub-meta .venue { color: var(--ink-2); }
.pub-note { color: var(--accent-2); }
.pub-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding-top: 3px; }
.kind { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--line); color: var(--ink-3); white-space: nowrap; }
.kind[data-k="journal"] { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.kind[data-k="conference"] { color: var(--accent-2); border-color: color-mix(in srgb, var(--accent-2) 40%, transparent); }
.kind[data-k="patent"] { color: var(--ink); border-color: var(--ink-3); }
.cites { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 640px) {
  .pub a { grid-template-columns: 46px 1fr; }
  .pub-right { grid-column: 2; flex-direction: row; align-items: center; }
}

/* Projects */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.proj {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; background: var(--bg-elev); transition: all .25s ease;
  display: flex; flex-direction: column; gap: 10px;
}
.proj:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.proj-name { font-family: var(--mono); font-size: 15px; letter-spacing: -.02em; }
.proj-name::before { content: "› "; color: var(--accent); }
.proj p { font-size: 14.5px; color: var(--ink-2); margin: 0; flex: 1; }
.proj-lang { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.proj-lang::before { content: "●"; color: var(--accent-2); margin-right: 6px; font-size: 9px; vertical-align: 1px; }

/* --- Awards ------------------------------------------------------------- */
.awards { display: grid; gap: 16px; margin-bottom: 8px; }
.award {
  display: grid; grid-template-columns: 96px 1fr; gap: 26px; align-items: start;
  padding: 26px 26px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-elev); transition: all .25s ease;
}
.award:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.award-place {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 14px 0; border-radius: 10px;
  background: linear-gradient(160deg,
    color-mix(in srgb, var(--accent) 16%, transparent),
    color-mix(in srgb, var(--accent-2) 12%, transparent));
}
.award-place em {
  font-family: var(--serif); font-style: normal; font-size: 40px;
  line-height: 1; letter-spacing: -.04em; color: var(--accent);
}
.award-place span {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); margin-top: 4px;
}
.award-body { display: grid; gap: 3px; min-width: 0; }
.award-title { font-size: 19px; letter-spacing: -.015em; }
.award:hover .award-title { color: var(--accent); }
.award-venue { font-size: 14px; color: var(--ink-2); }
.award-year { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.award-paper {
  font-size: 15px; color: var(--ink); margin-top: 8px;
  padding-left: 12px; border-left: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.award-note { font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }
@media (max-width: 560px) {
  .award { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .award-place { flex-direction: row; gap: 8px; padding: 8px 0; }
  .award-place em { font-size: 26px; }
}

/* --- Talks -------------------------------------------------------------- */
.talks { display: grid; }
.talk {
  display: grid; grid-template-columns: 132px 1fr auto; gap: 20px;
  align-items: start; padding: 18px 4px; border-bottom: 1px solid var(--line);
}
.talk:first-child { border-top: 1px solid var(--line); }
.talk-date { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); padding-top: 4px; }
.talk-body { display: grid; gap: 3px; min-width: 0; }
.talk-t { font-size: 16.5px; line-height: 1.4; letter-spacing: -.01em; }
a.talk-t:hover { color: var(--accent); }
.talk-v { font-size: 13.5px; color: var(--ink-2); }
.talk-note { font-size: 13px; color: var(--ink-3); }
.talk-kind {
  font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 4px; border: 1px solid var(--line);
  color: var(--ink-3); white-space: nowrap; margin-top: 3px;
}
@media (max-width: 640px) {
  .talk { grid-template-columns: 1fr auto; gap: 8px 14px; }
  .talk-date { grid-row: 2; grid-column: 1; padding-top: 0; }
  .talk-body { grid-column: 1 / -1; }
}

/* Contact */
.contact { padding-bottom: 100px; }
.contact-lead { font-size: 18px; color: var(--ink-2); max-width: 54ch; }
.contact-mail {
  display: inline-block; font-family: var(--serif);
  font-size: clamp(26px, 5vw, 46px); letter-spacing: -.03em;
  margin: 14px 0 30px; background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .35s ease, color .25s ease;
}
.contact-mail:hover { color: var(--accent); background-size: 100% 1px; }

.foot {
  padding: 26px max(24px, calc((100vw - var(--maxw)) / 2));
  border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-3);
  display: flex; gap: 10px; flex-wrap: wrap;
}
.foot-dot { color: var(--line); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

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