/* Reuben Durham, composer. One stylesheet, mobile-first. */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0E1013;
  --surface: #15181C;
  --surface-2: #1C2025;
  --line: #2A2F36;
  --control: #6B727C;
  --text: #E9EAEC;
  --text-muted: #A4AAB2;
  --text-faint: #858C96;
  --accent: #E8A65A;
  --accent-hover: #F2BC7A;

  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --size-h1: clamp(2.75rem, 7vw, 5.5rem);
  --size-hero-line: clamp(1.5rem, 3vw, 2.25rem);
  --size-h2: clamp(2rem, 4vw, 3rem);
  --size-label: 0.75rem;

  --measure: 62ch;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-space: clamp(5rem, 12vw, 9rem);
  --page-max: 78rem;
  --header-h: 4rem;

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Static film grain over the whole page. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd {
  margin: 0;
}

h1,
h2,
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.005em;
}

h2 {
  font-size: var(--size-h2);
  line-height: 1.1;
}

p {
  max-width: var(--measure);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.label {
  font-family: var(--font-text);
  font-size: var(--size-label);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.section {
  padding-block: var(--section-space);
}

.band {
  background: var(--surface);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  color: var(--bg);
}

/* ---------- Header ---------- */
#scroll-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* Opaque by default; translucent + blur only where backdrop-filter is supported,
   so scrolled content never reads through the header. */
.site-header.is-scrolled {
  background: var(--bg);
  border-bottom-color: var(--line);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.is-scrolled {
    background: rgb(14 16 19 / 0.86);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    backdrop-filter: blur(16px) saturate(120%);
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.wordmark {
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover {
  color: var(--text);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 clamp(0.75rem, 3vw, 2rem);
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding-block: 0.6rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

/* Guitar Charts is an external tool, not an in-page anchor: a hairline sets it apart
   where the nav is a single row. The two-row phone header below is unchanged. */
@media (min-width: 601px) {
  .site-nav__tool {
    padding-left: clamp(0.75rem, 3vw, 2rem);
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 380px) {
  .wordmark {
    font-size: 0.9rem;
  }
  .site-nav ul {
    gap: 0.6rem;
  }
  .site-nav a {
    font-size: 0.8125rem;
  }
}

/* Five or more nav items (e.g. once "Guitar Charts" is added) do not fit beside the
   wordmark on phones: stack the wordmark above the nav and grow the header. */
@media (max-width: 600px) {
  :root:has(.site-nav li:nth-child(5)) {
    --header-h: 5.75rem;
  }
  .site-header:has(.site-nav li:nth-child(5)) .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
  }
  .site-header:has(.site-nav li:nth-child(5)) .site-nav ul {
    justify-content: flex-start;
  }
  .site-header:has(.site-nav li:nth-child(5)) .site-nav a {
    padding-block: 0.45rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: calc(80vh - var(--header-h));
  min-height: calc(80svh - var(--header-h));
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(4rem, 10vw, 7rem));
  padding-bottom: clamp(4rem, 10vw, 7rem);
}

/* Slow drifting "projector light" behind the hero. */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -20%;
  right: -15%;
  width: min(70rem, 120vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(232 166 90 / 0.1), rgb(232 166 90 / 0) 100%);
  filter: blur(40px);
  animation: hero-light 40s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes hero-light {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-18%, 14%);
  }
}

/* Studio photo behind the hero, kept dark: the overlay holds the text side
   near --bg (AA for all hero text) and lets the right side show faintly. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 45%;
  opacity: 0.55;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgb(14 16 19 / 0.85) 0, rgb(14 16 19 / 0) 9rem),
    linear-gradient(to top, var(--bg) 0, rgb(14 16 19 / 0) 40%),
    linear-gradient(to right, rgb(14 16 19 / 0.9) 0, rgb(14 16 19 / 0.82) 42%, rgb(14 16 19 / 0.35) 75%, rgb(14 16 19 / 0.2) 100%);
}

@media (max-width: 959px) {
  .hero__media img {
    object-position: 62% 40%;
    opacity: 0.5;
  }
  .hero__media::after {
    background:
      linear-gradient(to top, var(--bg) 0, rgb(14 16 19 / 0) 35%),
      rgb(14 16 19 / 0.7);
  }
}

.hero__inner {
  display: grid;
  gap: 1.5rem;
}

.hero h1 {
  font-size: var(--size-h1);
  line-height: 1.05;
}

.hero__line {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--size-hero-line);
  line-height: 1.2;
  max-width: 28ch;
}

.hero__text {
  color: var(--text-muted);
}

.hero__words {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding: 0;
  list-style: none;
  color: var(--text-faint);
}

/* Keep the four words on one line on phones instead of orphaning the last one. */
@media (max-width: 420px) {
  .hero__words {
    gap: 0.5rem 0.9rem;
    letter-spacing: 0.1em;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.6rem;
  border: 0;
  background: var(--accent);
  color: var(--bg);
  font: 500 1rem/1 var(--font-text);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.button:hover {
  background: var(--accent-hover);
  color: var(--bg);
}

.text-link {
  display: inline-block;
  padding-block: 0.6rem;
  font-weight: 500;
}

/* ---------- Music ---------- */
.music {
  display: grid;
  gap: 3rem;
}

.music__intro {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.music__intro p {
  color: var(--text-muted);
}

@media (min-width: 960px) {
  .music {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4rem;
  }
  .music__intro {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.track-list {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.track {
  --progress: 0%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 1rem;
  align-items: center;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}

.track.is-active {
  background: var(--surface-2);
}

.track__button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--control);
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.track__button:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.track.is-active .track__button {
  border-color: var(--accent);
}

.track__button svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.track__button .icon-pause,
.track.is-playing .track__button .icon-play {
  display: none;
}

.track.is-playing .track__button .icon-pause {
  display: block;
}

.track__main {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.track__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.85rem;
}

.track__title {
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.track__tag {
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.track__desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.track__duration {
  color: var(--text-faint);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.track__detail {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1rem;
  margin-top: 0.75rem;
}

.track__detail[hidden] {
  display: none;
}

.track__time {
  color: var(--text-faint);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.track__status {
  grid-column: 2 / -1;
  color: var(--accent);
  font-size: 0.875rem;
}

.track__status:empty {
  display: none;
}

/* Seek bar: a range input with an accent fill driven by --progress. */
.seek {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 1.75rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.seek:disabled {
  cursor: default;
}

.seek::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--accent) var(--progress), var(--control) var(--progress));
}

.seek::-moz-range-track {
  height: 3px;
  border-radius: 2px;
  background: var(--control);
}

.seek::-moz-range-progress {
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5.5px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
}

.seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
}

.seek:focus-visible {
  outline-offset: 2px;
}

.track-unavailable {
  padding-block: 1.5rem;
  color: var(--text-muted);
}

.music__more {
  font-weight: 500;
}

/* Optional video slot (hidden until configured). */
.video-slot {
  margin-top: 3rem;
}

.video-slot[hidden] {
  display: none;
}

.video-slot__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
}

.video-slot__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.video-slot__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  gap: 0.6rem;
  width: max-content;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .video-slot__play {
    padding: 0.6rem 1.1rem;
  }
}

/* On the conducting still, a centred button covers the conductor's head below the
   two-column desktop layout: move it to the bottom of the frame. */
@media (max-width: 959px) {
  .work-figure .video-slot__play {
    top: auto;
    bottom: 0.75rem;
    transform: translateX(-50%);
  }
}

.video-slot__icon {
  flex-shrink: 0;
  width: 0.85rem;
  height: 0.85rem;
  fill: currentColor;
}

/* A local photo used as the poster fills the frame like the thumbnail. */
.video-slot__frame picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-slot__title {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.video-slot iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Selected work ---------- */
.work h2 {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.work-list {
  padding: 0;
  list-style: none;
}

.work-item {
  display: grid;
  gap: 1rem;
  padding-block: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}

.work-item:last-child {
  border-bottom: 1px solid var(--line);
}

.work-item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.work-item--feature h3 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
}

.work-item p {
  color: var(--text-muted);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  padding: 0;
  list-style: none;
}

.link-row a {
  display: inline-block;
  padding-block: 0.5rem;
  font-weight: 500;
}

@media (min-width: 960px) {
  .work-item {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: 4rem;
    align-items: start;
  }
  .work-item > .label {
    padding-top: 0.6rem;
  }
  .work-item > :not(.label) {
    grid-column: 2;
  }
}

.work-figure {
  margin: clamp(3rem, 7vw, 5rem) 0 0;
}

/* Faded so the bright studio sits with the dark palette. */
.work-figure img {
  width: 100%;
  height: auto;
  filter: saturate(0.6) brightness(0.65);
}

.work-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1.5rem;
  margin-top: 0.85rem;
  color: var(--text-faint);
  font-size: 0.875rem;
}

.work-figure__link {
  display: inline-block;
  padding-block: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

@media (min-width: 960px) {
  .work-figure {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: 4rem;
  }
  .work-figure .video-slot__frame {
    grid-column: 2;
    grid-row: 1;
  }
  /* On desktop the caption sits in the label column, like the work-item labels. */
  .work-figure figcaption {
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0;
    font-size: var(--size-label);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
}

/* ---------- About ---------- */
.about {
  display: grid;
  gap: 3rem;
}

.about__prose {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.about__prose h2 {
  margin-bottom: 0.75rem;
}

.about__prose p {
  color: var(--text-muted);
}

.about__prose p:first-of-type {
  color: var(--text);
}

.about__bring {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.about__portrait {
  max-width: 26rem;
  margin-bottom: 1rem;
}

.about__portrait img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.bring-list {
  display: grid;
  gap: 1.75rem;
}

.bring-list div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.bring-list dt {
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.bring-list dd {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .bring-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
  }
}

@media (min-width: 960px) {
  .about {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 5rem;
  }
  .about__bring {
    padding-top: calc(var(--size-h2) * 1.1 + 2rem);
  }
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  gap: 1.5rem;
}

.contact h2 {
  max-width: 18ch;
}

.contact p {
  color: var(--text-muted);
}

.contact__email {
  justify-self: start;
  margin-top: 0.5rem;
  color: var(--text);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 500;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
  overflow-wrap: anywhere;
}

.contact__email:hover {
  color: var(--accent-hover);
}

.contact__email[hidden] {
  display: none;
}

.contact__email--plain {
  text-decoration: none;
}

.contact .link-row {
  margin-top: 0.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 0.875rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: inline-block;
  padding-block: 0.4rem;
}

/* ---------- 404 ---------- */
.not-found {
  display: grid;
  gap: 1.5rem;
  align-content: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: 4rem;
}

.not-found h1 {
  font-size: var(--size-h1);
  line-height: 1.05;
}

.not-found p {
  color: var(--text-muted);
}

.not-found .label {
  color: var(--accent);
}

.not-found .not-found__line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--size-hero-line);
  line-height: 1.2;
  color: var(--text);
}

/* 404 backdrop: decorative, darkened image of a laptop and an open score. */
.page-404 {
  position: relative;
  isolation: isolate;
}

.page-404::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, rgb(14 16 19 / 0.94) 0, rgb(14 16 19 / 0.86) 45%, rgb(14 16 19 / 0.6) 100%),
    url("../img/backdrop-507.jpg");
  background-image:
    linear-gradient(to right, rgb(14 16 19 / 0.94) 0, rgb(14 16 19 / 0.86) 45%, rgb(14 16 19 / 0.6) 100%),
    image-set(url("../img/backdrop-507.webp") type("image/webp"), url("../img/backdrop-507.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: 70% 50%;
}

@media (max-width: 959px) {
  .page-404::before {
    background-image:
      linear-gradient(rgb(14 16 19 / 0.84), rgb(14 16 19 / 0.84)),
      url("../img/backdrop-507.jpg");
    background-image:
      linear-gradient(rgb(14 16 19 / 0.84), rgb(14 16 19 / 0.84)),
      image-set(url("../img/backdrop-507.webp") type("image/webp"), url("../img/backdrop-507.jpg") type("image/jpeg"));
  }
}

/* ---------- Motion and print preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero::before {
    animation: none;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media print {
  body::after,
  .hero::before,
  .hero__media,
  .page-404::before {
    display: none;
  }
}
