@charset "UTF-8";
/* ---------------------------------------------------------
   1. Tokens
   --------------------------------------------------------- */
:root {
  --ink:    #0A0F1E;
  --frost:  #E4F0F6;

  /* Light context (the default) */
  --bg:           var(--frost);
  --bg-alt:       #D6E6F0;
  --surface:      #FFFFFF;
  --surface-hi:   #FFFFFF;

  --text:         var(--ink);
  --text-muted:   rgba(10, 15, 30, .72);
  --text-faint:   rgba(10, 15, 30, .62);
  --line:         rgba(10, 15, 30, .12);
  --line-strong:  rgba(10, 15, 30, .24);
  --accent:       var(--ink);
  --accent-soft:  rgba(10, 15, 30, .06);

  --shadow-sm:    0 1px 2px rgba(10, 15, 30, .06),
                  0 6px 16px -10px rgba(10, 15, 30, .22);
  --shadow:       0 14px 34px -16px rgba(10, 15, 30, .35);
  --shadow-lg:    0 30px 60px -24px rgba(10, 15, 30, .45);

  /* Type */
  --font-display: "Sofia Sans Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Sofia Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape */
  --radius-sm:    10px;
  --radius:       14px;
  --radius-lg:    22px;
  --radius-pill:  999px;

  /* Rhythm */
  --container:    1140px;
  --gutter:       clamp(1.25rem, 4vw, 2.5rem);
  --section-y:    clamp(3.5rem, 8vw, 6.5rem);
  --topbar-h:     64px;

  --ease:         cubic-bezier(.2, .7, .3, 1);
  --speed:        .25s;
}

/* Dark context - same tokens, inverted. */
.on-dark {
  --bg:           var(--ink);
  --bg-alt:       #0C1222;
  --surface:      #131A29;
  --surface-hi:   #19212F;

  --text:         var(--frost);
  --text-muted:   rgba(228, 240, 246, .78);
  --text-faint:   rgba(228, 240, 246, .58);
  --line:         rgba(228, 240, 246, .12);
  --line-strong:  rgba(228, 240, 246, .24);
  --accent:       var(--frost);
  --accent-soft:  rgba(228, 240, 246, .09);

  --shadow-sm:    0 1px 2px rgba(0, 0, 0, .35);
  --shadow:       0 14px 34px -14px rgba(0, 0, 0, .7);
  --shadow-lg:    0 30px 64px -22px rgba(0, 0, 0, .8);

  background-color: var(--bg);
  color: var(--text-muted);
}

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

html {
  background-color: var(--ink);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 1.5rem);
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  text-align: left;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
  border-style: none;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--speed) var(--ease), opacity var(--speed) var(--ease);
}

a:hover { opacity: .7; }

/* Anchors used as plain text (legacy markup) read as body copy, not links. */
a:not([href]) {
  color: inherit;
  opacity: 1;
  cursor: default;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
}

p {
  margin: 0 0 1rem;
  letter-spacing: .1px;
  text-wrap: pretty;
}

p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .35rem; }

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

::selection {
  background: var(--text);
  color: var(--bg);
}

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

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

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section + .section { padding-top: var(--section-y); }

/* An alternating band always keeps its own top padding. */
.section.section--alt {
  padding-top: var(--section-y);
  background-color: var(--bg-alt);
}

.section--tight { padding-block: clamp(2rem, 5vw, 3rem); }

/* A titled chunk of a page: intro copy plus its row of cards. */
.block { margin-top: clamp(2.75rem, 6vw, 4.5rem); }
.block:first-child { margin-top: 0; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.mb-0        { margin-bottom: 0 !important; }

/* Row / column grid. Column names are kept from the previous markup so
   older pages keep working; widths below are the real ones. */
.row {
  --gap: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  margin: 0;
}

.row + .row { margin-top: 2.5rem; }

.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-6 {
  flex: 1 1 100%;
  min-width: 0;
}

@media (min-width: 620px) {
  .col-md-1,
  .col-md-2,
  .col-md-3,
  .col-md-6 {
    flex: 0 0 calc(50% - var(--gap) / 2);
    max-width: calc(50% - var(--gap) / 2);
  }
}

@media (min-width: 960px) {
  .col-md-1 {
    flex: 0 0 calc(33.3333% - var(--gap) * 2 / 3);
    max-width: calc(33.3333% - var(--gap) * 2 / 3);
  }
  .col-md-2 {
    flex: 0 0 calc(20% - var(--gap) * 4 / 5);
    max-width: calc(20% - var(--gap) * 4 / 5);
  }
  .col-md-3 {
    flex: 0 0 calc(25% - var(--gap) * 3 / 4);
    max-width: calc(25% - var(--gap) * 3 / 4);
  }
}

/* ---------------------------------------------------------
   4. Typography scale
   --------------------------------------------------------- */
.eyebrow {
  display: block;
  margin-bottom: .75rem;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  color: var(--text);
  margin-bottom: .75rem;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: .85rem;
}

.lede {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: var(--text-muted);
}

.note {
  max-width: 68ch;
  font-size: .875rem;
  font-style: italic;
  color: var(--text-faint);
  border-left: 2px solid var(--line-strong);
  padding-left: 1rem;
  margin-bottom: 0;
}

/* A short rule under a section title. */
.rule {
  width: 52px;
  height: 3px;
  margin: 0 0 1.75rem;
  border-radius: var(--radius-pill);
  background-color: var(--text);
}

.rule--center { margin-inline: auto; }

.bullets {
  list-style: none;
  padding-left: 0;
  margin-top: .25rem;
}

.bullets li {
  position: relative;
  padding-left: 1.35rem;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text);
}

/* ---------------------------------------------------------
   5. Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
  transition: transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}

.btn-primary {
  background-color: var(--text);
  border-color: var(--text);
  color: var(--bg);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  color: var(--bg);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active { transform: translateY(0); }

/* ---------------------------------------------------------
   6. Top bar (sub-pages)
   --------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(10, 15, 30, .88);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.topbar .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--topbar-h);
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
}

.home-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  user-select: none;
}

.home-link .chev {
  width: 14px;
  height: 14px;
  flex: none;
  fill: currentColor;
  opacity: .6;
}

.quicksocials {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}

.social {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background-color: var(--accent-soft);
  transition: color var(--speed) var(--ease),
              background-color var(--speed) var(--ease),
              transform var(--speed) var(--ease);
}

.social svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social:hover {
  opacity: 1;
  color: var(--text);
  background-color: rgba(228, 240, 246, .18);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------
   7. Home hero
   --------------------------------------------------------- */
.header {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 940px);
  isolation: isolate;
  overflow: hidden;
}

.header::before,
.header::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 62% center;
  background-repeat: no-repeat;
  transition: opacity 1.2s ease-in-out;
}

.header::before {
  background-image: url(../imgs/gn/blogheader-gn.png);
  z-index: 1;
}

.header::after {
  background-image: url(../imgs/gn/blogheader-pfxn.png);
  opacity: 0;
  z-index: 2;
}

.header.fade::after { opacity: 1; }

/* Scrim: just enough shade behind the headline, clearing the artwork
   quickly. The text-shadow below carries the rest of the legibility. */
.header .overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(95deg,
      rgba(10, 15, 30, .80) 0%,
      rgba(10, 15, 30, .52) 20%,
      rgba(10, 15, 30, .18) 42%,
      rgba(10, 15, 30, .02) 64%,
      transparent 82%),
    linear-gradient(to top,
      var(--ink) 0%,
      rgba(10, 15, 30, .12) 22%,
      transparent 46%);
}

.header .header-content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--container);
  margin-inline: 400px;
  padding-inline: var(--gutter);
  padding-block: 6rem;
}

.header-title {
  max-width: 14ch;
  margin-bottom: .5rem;
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: .92;
  letter-spacing: -.01em;
  color: var(--text);
}

.header-subtitle {
  max-width: 34ch;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Legibility without a heavy scrim. */
.header .header-title,
.header .header-subtitle {
  text-shadow: 0 1px 2px rgba(10, 15, 30, .5),
               0 4px 26px rgba(10, 15, 30, .65);
}

/* Portrait screens crop the background hard, so the scrim goes vertical
   and the headline sits over the darkest part of it. */
@media (max-width: 767.98px) {
  .header::before,
  .header::after { background-position: 72% center; }

  .header .overlay {
    background: linear-gradient(to top,
      var(--ink) 6%,
      rgba(10, 15, 30, .74) 44%,
      rgba(10, 15, 30, .42) 100%);
  }

  .header { align-items: flex-end; }
  .header .header-content { padding-block: 4rem 8rem; }
}

/* Scroll cue */
.arrow {
  position: absolute;
  left: 50%;
  bottom: 2.25rem;
  z-index: 4;
  display: grid;
  gap: 4px;
  width: 34px;
  height: 34px;
  translate: -50% 0;
  place-items: center;
}

.arrow span {
  display: block;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--frost);
  border-bottom: 2px solid var(--frost);
  rotate: 45deg;
  margin: -5px 0;
  opacity: 0;
  animation: arrow-fall 2s infinite;
}

.arrow span:nth-child(2) { animation-delay: -.2s; }
.arrow span:nth-child(3) { animation-delay: -.4s; }

@keyframes arrow-fall {
  0%   { opacity: 0; translate: 0 -10px; }
  50%  { opacity: .55; }
  100% { opacity: 0; translate: 0 10px; }
}

/* ---------------------------------------------------------
   8. Sub-page title band
   --------------------------------------------------------- */
.page-head {
  padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(2.5rem, 6vw, 4rem);
}

.page-head .header-title {
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 7vw, 4.25rem);
}

/* Legacy fallback for older pages that still use .header-mini. */
.header-mini {
  padding-block: 2.5rem;
  text-align: left;
}

/* ---------------------------------------------------------
   9. About
   --------------------------------------------------------- */
.about,
.aboutme {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  text-align: left;
}

.about { align-items: flex-start; }

.about-img-holder {
  flex: 0 0 clamp(180px, 22vw, 260px);
  max-width: clamp(180px, 22vw, 260px);
}

.about-img {
  width: 100%;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.about-caption {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: min(68ch, 100%);
}

.about-caption .social-icons {
  display: flex;
  gap: .75rem;
  margin-top: 1.75rem;
}

@media (max-width: 767.98px) {
  .aboutme,
  .about {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about-caption .social-icons { justify-content: center; }
  .about-caption .rule { margin-inline: auto; }
}

/* ---------------------------------------------------------
   10. Work cards (home)
   --------------------------------------------------------- */
.work-card {
  display: block;
  height: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  color: var(--text);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}

.work-card:hover {
  opacity: 1;
  color: var(--text);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.work-card__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.25rem;
  border-radius: 22px;
  transition: transform var(--speed) var(--ease);
}

.work-card:hover .work-card__icon { transform: scale(1.04); }

.work-card__title {
  margin-bottom: .25rem;
  font-size: 1.35rem;
}

.work-card__meta {
  margin: 0;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------------------------------------------------------
   11. Screenshot cards
   --------------------------------------------------------- */
.shot {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  text-align: left;
}

.portfolio-card-detail {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform var(--speed) var(--ease),
              box-shadow var(--speed) var(--ease);
}

.portfolio-card-detail-img {
  width: 100%;
  transition: transform .4s var(--ease);
}

.portfolio-card-detail:hover {
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.portfolio-card-detail:hover .portfolio-card-detail-img { transform: scale(1.03); }

.projects-card-title {
  margin: 1rem 0 .35rem;
  font-size: 1.05rem;
  letter-spacing: .03em;
  color: var(--text);
}

/* Card captions - both the new <p> and the legacy caption <a>. */
.shot-desc,
.row .col-md-1 > a:not([href]),
.row .col-md-2 > a:not([href]),
.row .col-md-3 > a:not([href]),
.row .col-md-4 > a:not([href]),
.row .col-md-6 > a:not([href]) {
  display: block;
  margin: 0;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--text-faint);
}

/* Section intro block above a row of cards. */
.block-intro {
  max-width: 68ch;
  margin-bottom: 2.25rem;
}

.block-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 2rem;
}

.block-icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
}

.block-head h2,
.block-head h3 { margin: 0; }

/* ---------------------------------------------------------
   12. Contents / table of contents
   --------------------------------------------------------- */
.toc-card,
.toc-containter {
  display: block;
  max-width: 620px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius-lg);
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.toc-title {
  margin-bottom: .85rem;
  font-size: .8rem;
  letter-spacing: .22em;
  color: var(--text-faint);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* Every level starts flush with the card's left edge; only the indent shifts. */
.toc-head,
.toc-sub,
.toc-subsub {
  display: block;
  margin: 0;
  padding: .3rem 0;
  transition: color var(--speed) var(--ease);
}

.toc-head {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: .5rem;
}

.toc-list > .toc-head:first-child { margin-top: 0; }

.toc-sub {
  padding-left: 1.25rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.toc-subsub {
  padding-left: 2.4rem;
  font-size: .9rem;
  font-weight: 400;
  color: var(--text-faint);
}

a.toc-sub:not([href]),
a.toc-head:not([href]) { color: var(--text-faint); }

/* ---------------------------------------------------------
   13. Social icons (about section)
   --------------------------------------------------------- */
.social-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  color: var(--text);
  background-color: var(--accent-soft);
  transition: background-color var(--speed) var(--ease),
              transform var(--speed) var(--ease);
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-icon:hover {
  opacity: 1;
  background-color: rgba(10, 15, 30, .12);
  transform: translateY(-3px);
}

/* ---------------------------------------------------------
   14. Footer
   --------------------------------------------------------- */
.footer {
  padding-block: 2.25rem;
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: .85rem;
  letter-spacing: .08em;
  color: var(--text-faint);
}

/* ---------------------------------------------------------
   15. Image viewer
   Built by assets/js/lightbox.js. Without JS the cards stay
   plain links to the full-size image.
   --------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background-color: rgba(6, 9, 18, .92);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  opacity: 0;
  transition: opacity .22s var(--ease);
}

.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
  max-width: min(1120px, 100%);
  min-height: 0;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100svh - 11rem);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 64px -22px rgba(0, 0, 0, .8);
  scale: .97;
  transition: scale .22s var(--ease);
}

.lightbox.is-open .lightbox__img { scale: 1; }

.lightbox__caption {
  max-width: 62ch;
  margin: 0;
  font-size: .9rem;
  text-align: center;
  color: rgba(228, 240, 246, .58);
}

.lightbox__caption b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--frost);
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background-color: rgba(228, 240, 246, .08);
  color: rgba(228, 240, 246, .78);
  cursor: pointer;
  transition: background-color var(--speed) var(--ease),
              color var(--speed) var(--ease);
}

.lightbox__btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.lightbox__btn:hover {
  background-color: rgba(228, 240, 246, .18);
  color: var(--frost);
}

.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev  { left: 1.25rem;  top: 50%; translate: 0 -50%; }
.lightbox__next  { right: 1.25rem; top: 50%; translate: 0 -50%; }

@media (max-width: 640px) {
  .lightbox__prev { left: 1rem;  top: auto; bottom: 1.25rem; translate: none; }
  .lightbox__next { right: 1rem; top: auto; bottom: 1.25rem; translate: none; }
  .lightbox__img  { max-height: calc(100svh - 14rem); }
}

/* ---------------------------------------------------------
   16. Error pages
   --------------------------------------------------------- */
.error-page {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: var(--gutter);
  text-align: center;
}

.error-code {
  font-size: clamp(5rem, 22vw, 11rem);
  line-height: .85;
  letter-spacing: -.02em;
  color: var(--text);
}

.error-text {
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------------------------------------------------------
   17. Motion & print
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  body { background: #fff; color: #000; }
  .topbar, .arrow, .header::before, .header::after { display: none; }
  a { color: #000; }
}
