/* ==========================================================================
   Portfolio — style.css
   Layout: sticky left nav (name, about, links, project list) + content.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #000;
  --fg: #e2e6e3;
  --g10: hsla(135, 7%, 89%, .1);
  --g50: hsla(135, 7%, 89%, .5);
  --g10-hover: hsla(135, 7%, 89%, .2);
  --line: hsla(135, 7%, 89%, .12);
  --g70: hsla(135, 7%, 89%, .66);
  --card: #1a1a1a;
  --sel-a: #4e4e4e;
  --sel-b: #242424;

  --br2: 8px;
  --pd: 16px;
  --pd2: 8px;
  --nav-w: clamp(340px, 320px + 2.5vw, 380px);

  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #fff;
  --fg: #000;
  --g10: rgba(0, 0, 0, .04);
  --g50: rgba(0, 0, 0, .5);
  --g10-hover: rgba(0, 0, 0, .08);
  --line: rgba(0, 0, 0, .08);
  --g70: rgba(0, 0, 0, .72);
  --card: #f5f5f5;
  --sel-a: #d9d6d5;
  --sel-b: #efefef;
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
[hidden] { display: none !important; }

/* ---------- Base type ---------- */
body {
  min-width: 320px;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color .5s, color .5s, opacity .5s;
}
html:not(.is-ready) body { opacity: 0; }

.display,
.toc__row,
.wcard__title,
.cs__title,
.cs__brief__text,
.slice-stats__value {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 27px;
  letter-spacing: .45px;
}
.label { color: var(--g50); transition: color .5s; }

@media (max-width: 768px) {
  body { font-size: 13.5px; letter-spacing: -.1px; }
  .display,
  .toc__row,
  .wcard__title,
  .cs__title,
  .cs__brief__text,
  .slice-stats__value { font-size: 18px; line-height: 1.3; letter-spacing: .25px; }
}

:focus-visible { outline: 2px solid #007aff; outline-offset: 2px; border-radius: 4px; }

/* ---------- Shared pieces ---------- */
.card {
  display: block;
  background-color: var(--g10);
  border-radius: var(--br2);
  padding: var(--pd);
  transition: background-color .5s;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: var(--pd2);
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 38px;
  background-color: var(--g10);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .5s;
}

.cs__meta a,
.about__contact a {
  color: var(--g50);
  text-decoration: underline;
  text-decoration-thickness: .75px;
  text-underline-offset: 4px;
  transition: color .3s;
}

@media (hover: hover) {
  .pill:hover,
  a.card:hover,
  a.card.is-hover { background-color: var(--g10-hover); }
  .cs__meta a:hover,
  .about__contact a:hover { color: var(--fg); }
}

/* Media frames: fixed aspect ratio + placeholder until the real file exists */
.media {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ratio, 3 / 2);
  overflow: hidden;
  border-radius: var(--br2);
  background-color: var(--g10);
}
.media > img,
.media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
/* Images fade in once loaded. Videos stay visible so their poster shows even if autoplay is blocked. */
.media > img { opacity: 0; transition: opacity .5s; }
.media > img.is-loaded { opacity: 1; }
.media--auto { aspect-ratio: auto; }
/* Rotating covers: clips stack and cross-fade */
.media--carousel > .carousel__item { transition: opacity .7s ease; }
.media--carousel > .carousel__item:not(.is-active) { opacity: 0; }
.media--carousel > img.carousel__item.is-active:not(.is-loaded) { opacity: 0; }
.media--auto > img,
.media--auto > video { position: static; height: auto; }

.ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background-color: var(--g10);
  background-color: color-mix(in srgb, var(--ph, #888) 18%, var(--bg));
  color: var(--g50);
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  word-break: break-all;
}
.media--auto > .ph { position: relative; aspect-ratio: 3 / 2; }
.ph--icon {
  padding: 0;
  background-color: var(--ph, #888);
  color: #fff;
  font-size: 16px;
  word-break: normal;
}

/* ---------- Layout ---------- */
.wrapper {
  display: flex;
  align-items: flex-start;
}
.content {
  flex: 1 1 auto;
  min-width: 0;
  padding: var(--pd2);
  transition: opacity .3s;
}
.is-leaving { opacity: 0; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  flex-shrink: 0;
  height: 100vh;
  height: 100svh;
  padding: var(--pd2) 0 var(--pd2) var(--pd2);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav__inner {
  width: var(--nav-w);
  padding: 0 16px 24px 10px;
  display: flex;
  flex-direction: column;
}

/* top row: name · About · Night drive at the far right */
.nav__bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
  align-items: center;
  column-gap: var(--pd);
  min-height: 38px;
}
.nav__name {
  color: var(--g50);
  white-space: nowrap;
  transition: color .3s;
}
.nav__name img { height: 15px; width: auto; }
.nav__about,
.nav__drive { transition: opacity .3s; white-space: nowrap; }
.nav__about { justify-self: start; }
/* Night Drive: a small amber "lamp" before the label, like a dash light */
.nav__drive { justify-self: end; display: inline-flex; align-items: center; gap: 6px; }
.nav__drive__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ffae2b;
  box-shadow: 0 0 6px 1px rgba(255, 174, 43, .7);
  animation: drive-dot 2.4s ease-in-out infinite;
}
@keyframes drive-dot { 50% { opacity: .35; box-shadow: 0 0 2px 0 rgba(255, 174, 43, .4); } }
@media (prefers-reduced-motion: reduce) { .nav__drive__dot { animation: none; } }
.nav__about.is-selected {
  text-decoration: underline;
  text-decoration-thickness: .75px;
  text-underline-offset: 4px;
}

/* contact links, stacked */
.nav__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 36px;
  line-height: 1.35;
}
.nav__links a { transition: color .3s; }

/* project list: large titles split by hairlines */
.toc { margin-top: 48px; }
.toc li + li { border-top: 1px solid var(--line); }
.toc__row {
  display: block;
  padding: 10px 0 11px;
  color: var(--g70);
  transition: color .3s;
}
.toc__row.is-selected,
.toc__row.is-hover { color: var(--fg); }

@media (hover: hover) {
  .nav__name:hover { color: var(--fg); }
  .nav__links a:hover { color: var(--g50); }
  .nav__about:hover,
  .nav__drive:hover { opacity: .6; }
}

/* next-project row at the end of a case study */
.index__row {
  position: relative;
  display: flex;
  align-items: center;
  column-gap: 12px;
  padding: 10px;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--card);
  transition: background-color .5s;
}
.index__row::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--g10);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.index__row.is-hover::after { opacity: 1; }
.index__text {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.index__title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Night Drive covers the page; its own styles load with it (assets/css/drive.css). */
html.is-driving, html.is-driving body { overflow: hidden; }

/* ---------- Home ---------- */
.hero {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--ratio, 16 / 9);
  padding: 0;
  border: 0;
  border-radius: var(--br2);
  overflow: hidden;
  background-color: #000;
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.hero > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__pill {
  position: absolute;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  column-gap: 10px;
  height: 38px;
  padding: 0 16px;
  border-radius: 38px;
  background-color: rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  transition: background-color .3s;
}
.hero__play { left: 16px; }
.hero__tc { right: 16px; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .hero:hover .hero__play { background-color: rgba(0, 0, 0, .6); } }

.play__icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4.5px 0 4.5px 7.5px;
  border-color: transparent transparent transparent currentColor;
  transform: translateX(1px);
}

/* full-screen showreel */
html.reel-open { overflow: hidden; }
.reel {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px var(--pd2) var(--pd2);
  background-color: rgba(0, 0, 0, .94);
  opacity: 0;
  transition: opacity .3s;
}
.reel.is-open { opacity: 1; }
.reel__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--br2);
  background-color: #000;
}
.reel__close {
  position: absolute;
  top: var(--pd2);
  right: var(--pd2);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background-color: rgba(255, 255, 255, .12);
  cursor: pointer;
  transition: background-color .3s;
}
@media (hover: hover) { .reel__close:hover { background-color: rgba(255, 255, 255, .24); } }

/* home: one two-column grid — intro, then each chapter card followed by its projects.
   Cards in a row stretch to the same height and covers share one shape, so rows close flush. */
.story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--pd2);
  margin-top: var(--pd2);
}
.story__intro,
.chapter,
.wcard--wide { grid-column: 1 / -1; }
/* home intro: who I am, off the clock, and the Ride with me button */
.story__about { display: inline-block; transition: color .3s; }
.story__off {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pd);
  margin-top: var(--pd);
  padding-top: var(--pd);
  border-top: 1px solid var(--line);
}
.story__hobby { color: var(--g50); max-width: 40em; text-wrap: pretty; }
.ride {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px 0 16px;
  border-radius: 44px;
  background-color: var(--fg);
  color: var(--bg);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1px;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(255, 174, 43, 0);
  transition: box-shadow .4s, transform .2s, background-color .5s, color .5s;
}
.ride__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ffae2b;
  box-shadow: 0 0 8px 2px rgba(255, 174, 43, .8);
  animation: drive-dot 2.4s ease-in-out infinite;
}
.ride__arrow { transition: transform .25s; }
@media (hover: hover) {
  .story__about:hover { color: var(--fg); }
  .ride:hover { box-shadow: 0 0 0 6px rgba(255, 174, 43, .18); }
  .ride:hover .ride__arrow { transform: translateX(3px); }
}
.ride:active { transform: scale(.98); }
@media (max-width: 768px) {
  .story__off { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .ride__dot { animation: none; } }

/* home intro: same quieter size as the About text */
.story__intro .wcard__title {
  max-width: none; /* runs the full width of the card */
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: .2px;
  text-wrap: pretty; /* no single word left on the last line */
}
@media (max-width: 768px) { .story__intro .wcard__title { font-size: 15.5px; } }

/* chapter heading: plain text on the page, flush with the card edges above and below */
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--pd2); /* same gutter as the card grid, so the text column starts where the right card does */
  align-items: baseline;
  padding: 20px 0 var(--pd2);
}
/* one line: number + bold title, the line of text in the right column */
.chapter__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.chapter__num { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.chapter__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .2px;
}
.chapter__text { max-width: 30em; color: var(--g50); }

.wcard { display: flex; flex-direction: column; }
.wcard__title { margin-top: var(--pd2); }
.wcard__text { margin-top: var(--pd2); color: var(--g50); }
.wcard .media { margin-top: auto; }
.wcard__body { padding-bottom: 20px; }
.wcard--wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--pd);
}
.wcard--wide .wcard__body { padding-bottom: 0; }

@media (max-width: 1024px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .chapter { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: var(--pd); row-gap: 2px; }
  .wcard--wide { display: flex; gap: 0; }
  .wcard--wide .wcard__body { padding-bottom: 20px; }
}

.cs__chapter { margin-bottom: var(--pd2); }
.cs__summary { margin-top: var(--pd2); color: var(--g50); max-width: 34em; }

/* ---------- Project page ---------- */
.cs__head {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--pd2);
  margin-bottom: var(--pd2);
  align-items: stretch;
}
.cs__meta { display: flex; flex-direction: column; gap: var(--pd); }
.cs__meta dd { margin-top: 2px; }

.cs__slices {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--pd2);
}
.slice { grid-column: 1 / -1; min-width: 0; }
.slice--half { grid-column: span 1; }

.reveal { opacity: 0; transition: opacity .8s ease; }
.reveal.is-in { opacity: 1; }

.cs__hero { margin-bottom: var(--pd2); }

/* The challenge and the answer, side by side in large type */
.cs__brief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--pd2);
  margin-bottom: var(--pd2);
}
.cs__brief .label { margin-bottom: var(--pd2); }
.cs__brief--single { margin-bottom: var(--pd2); }
.cs__brief--single .cs__brief__text { max-width: 30em; }

/* A short chapter inside a case study: heading + one paragraph */
.slice-text .label { margin-bottom: var(--pd2); }
.slice-text__text { max-width: 38em; }
.slice-text__text p + p { margin-top: 1em; }

/* One tall image on the left, two stacked on the right */
.slice-trio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--pd2);
}
.slice-trio > .media:first-child { grid-row: 1 / 3; }
.slice-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pd2); }
.slice-row.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) { .slice-row.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* one wide (16:9) beside one tall that takes the same height */
.slice-wide { display: grid; grid-template-columns: var(--cols, minmax(0, 2fr) minmax(0, 1fr)); gap: var(--pd2); }
.slice-wide > .media:nth-child(2) { aspect-ratio: auto; height: 100%; }
.slice-wide.is-flip { direction: rtl; }
.slice-wide.is-flip > .media { direction: ltr; }
.slice-trio > .media:not(:first-child) { aspect-ratio: auto; height: 100%; }

.slice-stats { padding: 24px; }
.slice-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 16px;
  margin-top: 24px;
}
.slice-stats__item .label { margin-top: 4px; }
.slice-stats__note { margin-top: 24px; }

.cs__next { margin-top: var(--pd2); padding: 14px var(--pd); } /* text only: label + title */
@media (hover: hover) { .cs__next:hover::after { opacity: 1; } }

@media (max-width: 1024px) {
  .cs__head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 912px) {
  .slice--half { grid-column: 1 / -1; }
  .cs__brief { grid-template-columns: minmax(0, 1fr); }
  .slice-trio { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .slice-trio > .media:first-child { grid-row: auto; }
  .slice-trio > .media:not(:first-child) { aspect-ratio: 3 / 2; height: auto; }
  .slice-wide { grid-template-columns: minmax(0, 1fr); }
  .slice-wide.is-flip { direction: ltr; }
  .slice-wide > .media:nth-child(2) { aspect-ratio: 3 / 4; height: auto; }
  .slice-stats { padding: var(--pd); }
  .slice-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- About ---------- */
.about__hero { --ratio: 1015 / 571; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--pd2);
  align-items: start;
}
.about__hero + .about__grid { margin-top: var(--pd2); }
.about__main,
.about__side { display: flex; flex-direction: column; gap: var(--pd2); min-width: 0; }
.about__side { position: sticky; top: var(--pd2); }
.about__intro__text,
.tabpanel__text {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: .2px;
}
.about__intro__text {
  margin-top: var(--pd);
  max-width: 32em;
}
.about__intro__text p + p { margin-top: 1em; }
@media (max-width: 768px) { .about__intro__text, .tabpanel__text { font-size: 15.5px; } }

.rows { margin-top: var(--pd); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.row:first-child { border-top: 0; padding-top: 0; }
.row:last-child { padding-bottom: 0; }
.rows--two .row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
/* Experience: every row shares the same three columns, so roles and years line up */
.rows:not(.rows--two) { display: grid; grid-template-columns: minmax(max-content, .8fr) minmax(0, 1.6fr) auto; column-gap: 16px; }
.rows:not(.rows--two) .row { grid-column: 1 / -1; grid-template-columns: subgrid; column-gap: 16px; }
.rows:not(.rows--two) .row > :nth-child(3) { text-align: right; }

.tabs {
  display: flex;
  column-gap: 12px;
  margin: var(--pd) 0 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 0;
  border: 0;
  background: none;
  color: var(--g50);
  white-space: nowrap;
  cursor: pointer;
  transition: color .3s;
}
.tab[aria-selected="true"] { color: var(--fg); cursor: default; }
@media (hover: hover) { .tab:hover { color: var(--fg); } }
.tabpanel__text { max-width: 25em; }
.tabpanel__text p + p { margin-top: 1em; }

.list3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 12px;
  margin-top: var(--pd);
}
.tabpanel .list3 { margin-top: 32px; color: var(--g50); }

.about__pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--pd2);
}
.about__contact .label { margin-bottom: var(--pd); }
.about__contact__item + .about__contact__item { margin-top: var(--pd); }
.about__contact__item p { margin-bottom: 2px; }
.about__status .label { margin-bottom: var(--pd); }
.about__status p + p { margin-top: .6em; }

@media (max-width: 1024px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__side { position: static; order: -1; }
}
@media (max-width: 560px) {
  .list3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about__pair { grid-template-columns: minmax(0, 1fr); }
  .rows:not(.rows--two) { display: block; }
  .rows:not(.rows--two) .row { grid-template-columns: minmax(0, 1fr) auto; }
  .rows:not(.rows--two) .row > :nth-child(2) { grid-column: 1; grid-row: 2; color: var(--g50); }
  .rows:not(.rows--two) .row > :nth-child(1) { grid-column: 1; grid-row: 1; }
  .rows:not(.rows--two) .row > :nth-child(3) { grid-column: 2; grid-row: 1; }
}

/* ---------- 404 ---------- */
.notfound {
  min-height: calc(100svh - 16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--pd);
  text-align: center;
}

.noscript { padding: 16px; }

/* ---------- Tablet / phone ---------- */
@media (max-width: 768px) {
  .hero__pill { bottom: 12px; height: 34px; padding: 0 14px; }
  .hero__play { left: 12px; }
  .hero__tc { right: 12px; }
}

@media (max-width: 656px) {
  .wrapper { flex-direction: column; align-items: stretch; }
  .nav {
    position: relative;
    height: auto;
    padding: var(--pd2);
    overflow: visible;
  }
  .nav__inner { width: auto; min-height: 0; }
  /* The home page lists the work, so the phone header stays short. */
  .nav__links,
  .toc { display: none; }
  .nav__inner { padding: 0 2px; }
  .content { padding: 0 var(--pd2) var(--pd2); }
  .hero__tc { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .reveal { opacity: 1; }
}
