/* =========================================================================
   Abraham Guan — portfolio
   Hand-rolled CSS, no framework, no build step.
   Palette sampled from the Framer reference screenshots in /references.
   ========================================================================= */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --accent:       #0B3D91;   /* NASA insignia navy: filled buttons, badge, card icons */
  --photo-frame:  #E8E6E2;   /* neutral behind the portrait                   */
  --tile-navy:    #0B3D91;
  --tile-lime:    #C5FF41;

  --radius-card:  26px;
  --radius-md:    18px;
  --radius-sm:    12px;

  --shell-max:    1160px;
  --card-w:       340px;

  --font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg:            #151412;
  --bg-soft:       #1E1D1C;
  --surface:       #FFFFFF;   /* the profile card stays white in both themes */
  --surface-ink:   #151412;
  --text:          #FFFFFF;
  --text-muted:    #918B87;
  --ghost:         #454241;   /* the outlined second line of each heading     */
  --hairline:      #2A2827;
  --nav-bg:        rgba(30, 29, 28, .82);
  --nav-border:    #302E2C;
  --nav-icon:      #9C9691;
  --nav-hover:     #2E2C2A;
  --accent-bright: #5B93FF;
  --tile-face:     #FFFFFF;
  --tile-border:   #E6E2DD;
  --btn-border:    #34312F;
  --btn-hover:     #201F1D;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg:            #EFEDE9;
  --bg-soft:       #FFFFFF;
  --surface:       #FFFFFF;
  --surface-ink:   #151412;
  --text:          #151412;
  --text-muted:    #6B6663;
  --ghost:         #9A958C;
  --hairline:      #DEDAD3;
  --nav-bg:        rgba(255, 255, 255, .82);
  --nav-border:    #DEDAD3;
  --nav-icon:      #7A756F;
  --nav-hover:     #EDEAE4;
  --accent-bright: #0B3D91;
  --tile-face:     #FFFFFF;
  --tile-border:   #E2DED7;
  --btn-border:    #D6D1C9;
  --btn-hover:     #E7E4DE;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

/* Stroke icons by default; anything that opts into fill says so in markup. */
svg {
  width: 100%; height: 100%;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
svg[fill="currentColor"] { fill: currentColor; stroke: none; }

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

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  z-index: 200; padding: 10px 18px; border-radius: 999px;
  background: var(--accent); color: #FFFFFF; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ── Floating nav pill ──────────────────────────────────────────────────── */
.navpill {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px;
  border-radius: 999px;
  background: var(--nav-bg);
  border: 1px solid var(--nav-border);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.navpill__item {
  position: relative;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 14px;
  color: var(--nav-icon);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.navpill__item svg { width: 20px; height: 20px; }
.navpill__item:hover { color: var(--text); background: var(--nav-hover); }
.navpill__item.is-active { color: var(--text); background: var(--nav-hover); }

.navpill__divider {
  width: 1px; height: 22px; margin: 0 4px;
  background: var(--nav-border);
}

.navpill__toggle .icon-moon { display: none; }
html[data-theme="light"] .navpill__toggle .icon-sun  { display: none; }
html[data-theme="light"] .navpill__toggle .icon-moon { display: block; }

.navpill__tip {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 4px 10px; border-radius: 8px;
  background: var(--bg-soft); border: 1px solid var(--nav-border);
  color: var(--text); font-size: 11px; font-weight: 500; letter-spacing: .01em;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .navpill__item:hover .navpill__tip { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Shell / two-column layout ──────────────────────────────────────────── */
.shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 118px 24px 96px;
  display: grid;
  grid-template-columns: var(--card-w) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.profile-col { position: sticky; top: 118px; }

/* ── Profile card + dashed arcs ─────────────────────────────────────────── */
.profile-wrap { position: relative; }

.arc {
  position: absolute;
  color: var(--accent-bright);
  pointer-events: none;
  z-index: 0;
}
/* Both stay inside the card's own column and the 80px gutter beside it, so
   nothing crosses into the reading column. z-index 0 keeps them behind the
   card, which is what makes them read as trails rather than clutter. */
.arc--top    { width: 150px; height: 197px; top: -76px;   right: -30px; }
.arc--bottom { width: 116px; height: 127px; bottom: 74px; left: -52px; }

.card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  color: var(--surface-ink);
  border-radius: var(--radius-card);
  padding: 20px 20px 38px;            /* bottom leaves room for the social captions */
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 74px rgba(0, 0, 0, .34);
}
html[data-theme="light"] .card {
  box-shadow: 0 14px 40px rgba(21, 20, 18, .10);
  border: 1px solid #E9E5DF;
}
html[data-theme="light"] .card:hover {
  box-shadow: 0 28px 62px rgba(21, 20, 18, .18);
}
@media (prefers-reduced-motion: reduce) {
  .card { transition: none; }
  .card:hover { transform: none; }
}

.card__photo {
  position: relative;
  aspect-ratio: 1 / 1;                /* matches the square 600×600 source, so nothing is cropped */
  margin-inline: 18px;                /* insets the photo from the card edges */
  border-radius: 16px;
  overflow: hidden;
  background: var(--photo-frame);
}
.card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.card__name {
  margin-top: 22px;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.card__badge {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  margin: 14px auto 0;
}
.card__badge img { width: 100%; height: 100%; object-fit: contain; }

.card__bio {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.62;
  color: #5C5854;
}

.card__socials {
  margin-top: 22px;
  display: flex; justify-content: center; gap: 20px;
}
.card__socials a,
.card__socials button {
  position: relative;                 /* anchors the caption */
  display: grid; place-items: center;
  width: 40px; height: 40px;          /* no border, but keeps the tap target */
  padding: 0;
  color: var(--accent);
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.card__socials svg { width: 25px; height: 25px; stroke-width: 1.6; }
.card__socials a:hover,
.card__socials button:hover { color: #1B5FD0; transform: translateY(-2px); }

/* Caption on hover, same idea as .navpill__tip. The card is white in both
   themes, so this uses fixed ink rather than the themed nav tokens. */
.card__socials [data-tip]::after {
  content: attr(data-tip);
  position: absolute; top: calc(100% - 3px); left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 4px 9px; border-radius: 8px;
  background: #151412; color: #FFFFFF;
  font-size: 11px; font-weight: 500; letter-spacing: .01em; line-height: 1.5;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .card__socials [data-tip]:hover::after,
  .card__socials [data-tip]:focus-visible::after {
    opacity: 1; transform: translateX(-50%) translateY(0);
  }
}
/* Held open after a copy, so the confirmation also lands on touch. */
.card__socials [data-tip].is-copied::after {
  opacity: 1; transform: translateX(-50%) translateY(0);
  background: var(--accent);
}

/* ── Section scaffolding ────────────────────────────────────────────────── */
.section { margin-bottom: 132px; }
.section:last-child { margin-bottom: 0; }
.section--hero { padding-top: 4px; }

.display {
  font-size: clamp(2.6rem, 6.4vw, 5.1rem);
  font-weight: 800;
  line-height: .93;
  letter-spacing: -.032em;
  text-transform: uppercase;
  padding-bottom: .06em;              /* descender clearance */
}
.display__solid, .display__ghost { display: block; }
.display__ghost { color: var(--ghost); transition: color .35s var(--ease); }

.lede {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.25vw, 1.075rem);
  color: var(--text-muted);
  line-height: 1.66;
}

/* ── Stats ──────────────────────────────────────────────────────────────── */
.stats {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 46px;
}
.stats__num {
  display: block;
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
}
.stats__label {
  display: block;
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ── Colour tiles ───────────────────────────────────────────────────────── */
.tiles {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 218px;
  padding: 24px;
  border-radius: var(--radius-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tile::after {                          /* faint woven texture, not a fake UI */
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(58deg, currentColor 0 1px, transparent 1px 26px);
  opacity: .085;
  pointer-events: none;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .22); }

.tile--navy   { background: var(--tile-navy);   color: #FFFFFF; }
.tile--lime   { background: var(--tile-lime);   color: #151412; }

.tile__icon { width: 30px; height: 30px; margin-bottom: auto; position: relative; z-index: 1; }
.tile__icon svg { stroke-width: 1.6; }

.tile__title {
  position: relative; z-index: 1;
  margin-top: 34px;
  margin-bottom: 16px;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.005em;
  text-transform: uppercase;
}

.tile__arrow {
  position: relative; z-index: 1;
  align-self: flex-end;
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border: 1.5px solid currentColor;
  border-radius: 9px;
  transition: transform .25s var(--ease);
}
.tile__arrow svg { width: 16px; height: 16px; }
.tile:hover .tile__arrow { transform: translateX(4px); }

/* ── Projects ───────────────────────────────────────────────────────────── */
.projects { margin-top: 44px; display: flex; flex-direction: column; gap: 6px; }

.project {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 22px;
  padding: 14px;
  margin: 0 -14px;
  border-radius: var(--radius-md);
  transition: background-color .25s var(--ease);
}
.project:hover { background: var(--bg-soft); }

.project__thumb {
  width: 92px; height: 92px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--tint), color-mix(in srgb, var(--tint) 55%, #000));
  color: #FFFFFF;
  font-size: 25px; font-weight: 800; letter-spacing: -.02em;
}

.project__title {
  display: block;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.project__meta {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-muted);
}

.project__arrow { width: 20px; height: 20px; color: var(--accent-bright); transition: transform .25s var(--ease); }
.project:hover .project__arrow { transform: translate(3px, -3px); }

/* ── Experience ─────────────────────────────────────────────────────────── */
.timeline { margin-top: 44px; display: grid; gap: 14px; }

/* Each role is a card so the hover lift has a surface to lift. */
.job {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              border-color .28s var(--ease);
}
.job:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .30);
  border-color: var(--accent-bright);
}
.job.is-open { border-color: var(--accent-bright); }
html[data-theme="light"] .job:hover { box-shadow: 0 18px 38px rgba(21, 20, 18, .13); }

@media (prefers-reduced-motion: reduce) {
  .job { transition: none; }
  .job:hover { transform: none; }
}

/* The whole summary is the click target; the button stretches over it so the
   heading stays a real <h3> instead of being swallowed into the button. */
.job__summary { position: relative; padding: 24px 26px; }

.job__head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 6px 18px;
}
.job__org { font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em; }
/* Date and duration stack at the right edge of the header. */
.job__dates {
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
}
.job__when {
  font-size: 12px; font-weight: 500; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text-muted); white-space: nowrap;
}
.job__months {
  font-size: 11.5px; font-weight: 400;
  color: var(--text-muted); opacity: .72; white-space: nowrap;
}
.job__role {
  margin-top: 4px;
  font-size: 14px; font-weight: 500;
  color: var(--accent-bright);
}
.job__note {
  margin-top: 12px;
  max-width: 62ch;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.66;
}

.job__toggle {
  position: static;                   /* ::before anchors to .job__summary */
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; padding: 0;
  font-size: 12px; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.job__toggle::before {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit; cursor: pointer;
}
.job__chevron {
  width: 15px; height: 15px; stroke-width: 2.4;
  transition: transform .28s var(--ease);
}
.job.is-open .job__chevron { transform: rotate(180deg); }

/* Collapse with grid rows so the panel animates without measuring heights. */
.job__detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .34s var(--ease);
}
.job.is-open .job__detail { grid-template-rows: 1fr; }
/* The clipping element has to be a plain block: the fr track is sized from its
   intrinsic height, and a grid child with padding resolves to the padding only. */
.job__detail-clip {
  overflow: hidden;
  min-height: 0;
  visibility: hidden;                 /* keeps collapsed text out of the a11y tree */
  transition: visibility 0s linear .34s;
}
.job.is-open .job__detail-clip { visibility: visible; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  .job__detail, .job__detail-clip, .job__chevron { transition: none; }
}

.jobcard {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  padding: 0 26px 26px;
}
.jobcard__logo {
  width: 76px; height: 76px;
  border-radius: 18px;
  object-fit: cover;                  /* each PNG is square and brings its own field */
  border: 1px solid var(--hairline);
  background: #FFFFFF;
}

.jobcard__industry {
  margin-bottom: 16px;
  font-size: 12px; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text-muted);
}

.jobcard__facts { margin: 0; }
.jobcard__facts dt {
  margin-top: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--accent-bright);
}
.jobcard__facts dt:first-child { margin-top: 0; }
.jobcard__facts dd {
  margin: 5px 0 0;
  max-width: 68ch;
  font-size: 14.5px; line-height: 1.68;
  color: var(--text-muted);
}

.jobcard__skills {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.jobcard__skills li {
  padding: 5px 11px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--bg);
  font-size: 12px; font-weight: 500;
  color: var(--text);
}

/* ── Stack grid ─────────────────────────────────────────────────────────── */
.stack {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 34px;
}
.stackitem { display: flex; align-items: center; gap: 14px; }
.stackitem__logo {
  flex: none;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--tile-face);
  border: 1px solid var(--tile-border);
}
.stackitem__logo img { width: 24px; height: 24px; }
.stackitem strong { display: block; font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; }
.stackitem small  { display: block; font-size: 13px; color: var(--text-muted); }

/* ── Education block ────────────────────────────────────────────────────── */
.edu {
  margin-top: 52px;
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
  background: var(--bg-soft);
}
.edu__row {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 4px 18px;
}
.edu__org  { font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; }
.edu__when {
  font-size: 12px; font-weight: 500; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text-muted);
}
.edu__deg    { margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--accent-bright); }
.edu__course { margin-top: 12px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Contact ────────────────────────────────────────────────────────────── */
.contact { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  font-size: 15px; font-weight: 500;
  transition: background-color .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { background: var(--btn-hover); transform: translateY(-2px); }

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  font-weight: 600;
}
.btn--primary:hover { background: #1450B5; border-color: #1450B5; }

.footer {
  margin-top: 72px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: 13px; color: var(--text-muted);
}

/* ── Scroll reveal ──────────────────────────────────────────────────────── */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .shell { grid-template-columns: 300px minmax(0, 1fr); gap: 54px; }
  :root { --card-w: 300px; }
}

@media (max-width: 860px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    padding: 96px 20px 72px;
  }
  .profile-col { position: static; }
  .profile-wrap { max-width: 400px; margin: 0 auto; }

  /* Single column: cap the photo so the card does not grow into a full-screen
     column, matching references/mobile.png. */
  .card__photo {
    max-width: 270px;
    margin-inline: auto;
  }

  .arc--top    { width: 118px; height: 155px; top: -62px; right: -18px; }
  .arc--bottom { width: 96px;  height: 105px; bottom: 150px; left: -28px; }

  .section { margin-bottom: 104px; }
  .display { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .lede { max-width: none; }

  /* Logo stacks above the detail text rather than squeezing it. */
  .job__summary { padding: 20px; }
  .jobcard { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0 20px 22px; }
  .jobcard__logo { width: 60px; height: 60px; border-radius: 15px; font-size: 20px; }
}

@media (max-width: 560px) {
  .navpill { padding: 5px; gap: 0; }
  .navpill__item { width: 38px; height: 38px; border-radius: 12px; }
  .navpill__item svg { width: 18px; height: 18px; }

  .shell { padding: 88px 18px 64px; }
  .profile-wrap { max-width: none; }
  .arc--top    { right: -4px; top: -54px; width: 100px; height: 131px; }
  .arc--bottom { left: -12px; bottom: 172px; width: 84px;  height: 92px; }

  .stats { gap: 22px 32px; }
  .stats li { min-width: 84px; }

  .tiles { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tile { min-height: 186px; }

  .project { grid-template-columns: 66px minmax(0, 1fr) 20px; gap: 15px; }
  .project__thumb { width: 66px; height: 66px; border-radius: 12px; font-size: 19px; }

  .stack { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .edu { padding: 20px; }
  .contact .btn { width: 100%; justify-content: center; }
}

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

@media print {
  .navpill, .arc { display: none; }
  .shell { display: block; padding: 0; }
  body { background: #fff; color: #000; }
}
