/* About, from Figma "mirandaissocool.com (2.0)" → About — Dark Mode (504:593). Builds on styles.css
   (tokens, header, nav, Contact button, footer) and keeps Home's 100px side margins. */

/* ---- header: the unicorn on the left instead of Home's headline ---- */
.top--logo { align-items: center; }
/* the unicorn logo itself is in styles.css (Home shows it on phones) */

/* About (Figma "About — Dark Mode" 504:593): 120px sides like Home (var(--pad)), 64px from the top,
   and sections 100px apart: nav → intro → core memories → awards → experience → media gems → footer.
   Intro → core memories is 150px (set on .memories below). Core memories isn't in the Figma frame
   any more; it stays on the page by choice, styled as before. */
.about { --side: var(--pad); }
.about .top { padding: 0 var(--side); }
.about-main { margin-top: 50px; padding: 0 var(--side); display: flex; flex-direction: column; gap: 100px; } /* + the page's 50px gap = 100 */

/* ---- section titles: Brawler 24px, a hand-drawn pink highlight under one word ---- */
.hl-title { position: relative; display: inline-block; align-self: flex-start; font: 400 var(--fs-heading)/normal var(--font-display); }
.hl-text { position: relative; color: var(--ink); }
.hl { position: absolute; pointer-events: none; }
.fill { position: absolute; }
.fill img { display: block; width: 100%; height: 100%; }
/* highlights draw on left → right the first time their heading scrolls into view (about.js adds
   .hl-armed to the page, then .is-drawn to each heading). Without JavaScript they just show. */
.hl-armed .hl .fill { clip-path: inset(0 100% 0 0); }
.hl-armed .hl-title.is-drawn .hl .fill { clip-path: inset(0 0 0 0); transition: clip-path 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.15s; }
.about .dim { color: var(--ink-soft); }
section { display: flex; flex-direction: column; gap: 25px; }

/* ---- intro: the text block, centred (Figma 504:593) ---- */
.intro { align-items: center; }
.intro-text { width: 500px; display: flex; flex-direction: column; gap: 29px; font-size: var(--fs-text); line-height: normal; }
.intro-body { display: flex; flex-direction: column; gap: 30px; }
.prose { display: flex; flex-direction: column; gap: 1lh; }
.about-main > .memories { margin-top: 50px; } /* intro → core memories is 150px (Figma 504:609), the flex gap + 50 */

/* ---- core memories: twelve photo orbs (Figma 527:842) riding one tilted ring ----
   about.js places each orb on the ring (transform, opacity, stacking) every frame and turns its
   sheen (--sheen); orbs further back are smaller and blurrier. Hover (or focus) one and
   the rest blur back while the ring slows almost to a
   stop. The inline left/top in about.html are Figma's 4 × 3 grid, used only without JavaScript. */
.memory-field { position: relative; width: 100%; height: 660px; align-self: center; margin-top: 0; }
.memory {
  position: absolute; margin: 0; width: 256px; height: 256px; outline: none;
  --sheen: 0deg; transform-origin: 50% 50%;
}
/* ring colours per orb style: the soft glow outside the circle and the colour under the photo */
.memory--tc      { --glow: rgb(253 197 147 / 0.8); --sigma: 14.848px;  --edge: rgb(254 166 98 / 0.8);  --ri: -11.6%; }
.memory--china   { --glow: rgb(253 197 147 / 0.8); --sigma: 14.0111px; --edge: rgb(254 166 98 / 0.8);  --ri: -10.95%; }
.memory--cottage { --glow: rgb(224 214 254 / 0.8); --sigma: 14.848px;  --edge: rgb(153 119 254 / 0.8); --ri: -11.6%; }
.memory--deca    { --glow: rgb(255 204 232 / 0.5); --sigma: 14.848px;  --edge: rgb(252 129 197 / 0.8); --ri: -11.6%; }
.memory--dorm    { --glow: rgb(255 204 232 / 0.5); --sigma: 20.3px;    --edge: rgb(252 129 197 / 0.8); --ri: -15.86%; }
.memory-orb { position: absolute; inset: 0; border-radius: 50%; }
/* One circle clips the photo, the soft light shapes and the ring's colour fill together, so they all
   share the same edge (Figma clips them to one mask). The glow outside the circle is drawn here
   rather than taken from the ring file: the file cuts its glow out at the circle's edge, and once
   the browser scales it that cut lands a pixel or two wide, leaving a dark rim on dark pages.
   A box-shadow starts exactly at the edge. Its blur is 2× the ring's stdDeviation (the same
   Gaussian), and the circle under the photo is the ring's edge colour, so the clip's softened
   edge pixels blend into colour, not into the page. */
.memory-orb::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--edge); box-shadow: 0 0 calc(var(--sigma) * 2) var(--glow);
}
.memory-clip { position: absolute; inset: 0; clip-path: circle(50% at 50% 50%); }
.memory-photo { position: absolute; object-fit: cover; }
/* photos from Supabase come pre-cropped to the orb, so they just fill it */
.memory-photo.is-fitted { inset: 0; width: 100%; height: 100%; }
.v { position: absolute; }
.v--rot { display: flex; align-items: center; justify-content: center; }
.v--rot > span { position: relative; flex: none; transform: rotate(-14.72deg); }
.memory-ring {
  position: absolute; left: var(--ri); top: var(--ri);
  width: calc(100% - 2 * var(--ri)); height: calc(100% - 2 * var(--ri)); max-width: none; pointer-events: none;
}
/* What makes each orb read as a sphere rather than a flat disc, lit from the upper left:
   .memory-shade multiplies a shadow into the photo that deepens toward the lower right edge (the
   form shadow), with a darker band just inside the rim. .memory-light adds the light on top: a
   soft, lopsided highlight up top, a faint bounce of light along the bottom
   edge, a bright rim on the lit side, and a slow soft-light sheen turning across it. */
.memory-shade, .memory-light { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.memory-shade {
  mix-blend-mode: multiply;
  background:
    radial-gradient(circle at 34% 28%, rgb(255 255 255 / 0) 30%, rgb(120 90 140 / 0.18) 62%, rgb(70 40 95 / 0.5) 100%);
  box-shadow: inset -14px -20px 36px rgb(60 30 85 / 0.32), inset 0 0 6px rgb(60 30 85 / 0.2);
}
.memory-light {
  background:
    radial-gradient(ellipse 58% 22% at 56% 95%, rgb(255 255 255 / 0.18), rgb(255 255 255 / 0) 75%);
  box-shadow: inset 3px 4px 5px rgb(255 255 255 / 0.5);
}
.memory-light::before {
  /* the highlight up top: a lopsided, softened blob tipped along the curve of the ball, so it reads
     as light caught on glass rather than a round dot */
  content: ""; position: absolute; left: 13%; top: 10%; width: 40%; height: 21%;
  border-radius: 64% 36% 58% 42% / 62% 54% 46% 38%;
  background: radial-gradient(ellipse 60% 70% at 42% 42%, rgb(255 255 255 / 0.85), rgb(255 255 255 / 0.35) 55%, rgb(255 255 255 / 0) 100%);
  transform: rotate(-32deg); filter: blur(5px);
}
.memory-light::after {
  content: ""; position: absolute; inset: -20%; transform: rotate(var(--sheen)); mix-blend-mode: soft-light;
  background: conic-gradient(rgb(255 255 255 / 0) 0deg, rgb(255 255 255 / 0.35) 40deg, rgb(255 255 255 / 0) 90deg,
    rgb(255 255 255 / 0) 200deg, rgb(255 255 255 / 0.22) 240deg, rgb(255 255 255 / 0) 290deg);
}
@media (hover: hover) { .memory:focus-visible .memory-orb { outline: 2px solid var(--pink); outline-offset: 6px; } } /* keyboard focus only, never on a tap */
/* hover an orb → its wiggle video (Supabase "me".heic: a short looping clip that rocks between the
   two views of a spatial photo, so the scene shows its depth) fades in over the still photo.
   It sits under the light shapes and colour fill, so the orb keeps its look. about.js adds the
   video and plays it while the orb is focused. */
.memory-wiggle { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.3s ease; }
.memory.is-focus .memory-wiggle.is-ready { opacity: 1; }

/* focus an orb → its caption fades in below it, like the media covers */
.memory-cap {
  position: absolute; top: calc(100% + 15px); left: -40px; right: -40px;
  font: 400 var(--fs-text)/normal var(--font-body); color: var(--ink); text-align: center;
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.memory-cap:empty { display: none; }
.memory.is-focus .memory-cap { opacity: 1; transform: none; }

/* ---- awards ---- */
.award-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 19px; }
.award-list li, .award-row { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: var(--fs-text); line-height: normal; color: var(--ink-soft); }
/* Figma 567:1157 / 567:1231: the name is full strength; awards' right column is 50%, experience's 72% */
.award-list li > span:first-child, .award-row > span:first-child { color: var(--ink); }
.award-row > span:last-child, .award-plain > span:last-child { color: var(--ink-50); }
/* Awards open like toggles (Figma "hover" 577:1895). Hover a row and a small white triangle slides in
   16px before its name, pointing right; click the triangle or the name and it turns down (and stays
   while open) as a row of photos folds open 14px under the line (.fold in styles.css; toggle.js
   flips aria-expanded). */
/* the line belongs to the whole award, so when it opens the line drops below the photos */
.award-list li.award { display: block; padding: 0; border-bottom: 1px solid var(--line); }
.award-row {
  width: 100%; margin: 0; padding: 0 0 14px; border: 0;
  background: none; font-family: inherit; text-align: left; cursor: pointer;
}
.award-row > span:first-child { display: inline-flex; align-items: center; }
.award-row:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
.award-caret {
  flex: none; width: 0; height: 9px; margin-right: 0; opacity: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), margin-right 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}
.award-row:hover .award-caret, .award-row:focus-visible .award-caret, .award-row[aria-expanded="true"] .award-caret {
  width: 9px; margin-right: 16px; opacity: 1;
}
/* touch screens can't hover, so the triangle is always there to show the row opens */
@media (hover: none) { .award-caret { width: 9px; margin-right: 16px; opacity: 1; } }
.award-caret > span {
  flex: none; width: 7.5px; height: 9px; background: var(--white);
  -webkit-mask: url("assets/triangle.svg") 0 0 / 100% 100% no-repeat; mask: url("assets/triangle.svg") 0 0 / 100% 100% no-repeat;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.award-row[aria-expanded="true"] .award-caret > span { transform: rotate(90deg); }
/* hover (or tab to) one award and the others blur back, like the nav */
/* (rows without photos, like Figma Waterloo x SFU Surge, blur too, and hovering one blurs the rest) */
.award, .award-plain { transition: filter 0.3s ease, opacity 0.3s ease; }
.award-list:has(.award-row:hover, .award-row:focus-visible, .award-plain:hover) > li:not(:has(.award-row:hover, .award-row:focus-visible), .award-plain:hover) {
  filter: blur(2.5px); opacity: 0.6;
}
/* the photos: 570 × 342 with 5.816px corners, 25px apart, in a row that scrolls sideways. Each photo
   is cropped where Figma crops it (inline left / top / size, in % of its box). While there are more
   photos off to the right, the row fades into the page there and a round "next" arrow (52px,
   centred) scrolls on by one photo (about.js). */
.award-strip { position: relative; margin-bottom: 14px; }
.award-photos {
  display: flex; gap: 25px; overflow-x: auto; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.award-photos::-webkit-scrollbar { display: none; }
.award-photo { position: relative; flex: none; width: 570px; aspect-ratio: 570 / 342; overflow: hidden; border-radius: 5.816px; background: var(--card); scroll-snap-align: start; }
.award-photo img { position: absolute; max-width: none; object-fit: cover; }
.award-fade, .award-next { position: absolute; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.award-fade { z-index: 1; top: 0; right: 0; bottom: 0; width: 199px; background: linear-gradient(to left, var(--bg), rgba(20, 20, 25, 0)); }
/* the arrow: a 40px glass button (a clear lens with a bright rim and a little blur, on a 20% black
   tint, like the media tabs' pill), with a white chevron */
.award-next {
  z-index: 2; right: 26px; top: 50%; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03) 45%, rgba(255, 255, 255, 0.07)), rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.4); backdrop-filter: blur(6px) saturate(1.4);
  box-shadow:
    inset 1.25px 1.25px 0.5px -0.5px rgba(255, 255, 255, 0.6),
    inset -1px -1px 0.5px -0.5px rgba(255, 255, 255, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 8px rgba(255, 255, 255, 0.08);
  transition: opacity 0.3s ease, transform 0.2s ease;
}
.award-next > span {
  width: 16px; height: 16px; background: #fff;
  -webkit-mask: url("assets/chevron.svg") center / contain no-repeat; mask: url("assets/chevron.svg") center / contain no-repeat;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.award-next:hover { transform: scale(1.06); }
.award-next:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
/* shown whenever a row has more than the two photos that fit (no script needed) */
.award-strip:has(.award-photo:nth-child(3)) .award-next { opacity: 1; pointer-events: auto; }
.award-strip:has(.award-photo:nth-child(3)) .award-fade { opacity: 1; }
.award-strip.no-more .award-fade, .award-strip.no-more .award-next { opacity: 0; pointer-events: none; }
/* at the end of the row (awards.js adds .is-back) the fade and the arrow move to the left side and
   the arrow points left */
.award-strip.is-back .award-fade { right: auto; left: 0; background: linear-gradient(to right, var(--bg), rgba(20, 20, 25, 0)); }
.award-strip.is-back .award-next { right: auto; left: 26px; }
.award-strip.is-back .award-next > span { transform: rotate(180deg); }

/* ---- media gems: tabs switch which shelf is showing (Figma "media" 360:304) ---- */
/* Figma "media nav" 567:1377: items sit 24px apart, where the selected tab's pill counts as the item
   (only the selected tab is padded, so the others are bare words). The rule is 15px below the row,
   and the covers start 40px under the rule. Albums' word lines up with the rule's left end
   whenever it isn't selected. */
.media-tabs { display: flex; align-items: center; gap: 24px; height: 35px; margin-bottom: 15px; position: relative; }
.media-tabs::after { content: ""; position: absolute; left: 0; right: 0; bottom: -15px; height: 1px; background: var(--line); }
.media-tab {
  display: inline-flex; align-items: center; padding: 8px 0; border: 0; border-radius: 27.188px;
  background: rgba(217, 217, 217, 0); color: rgba(255, 255, 255, 0.5); font: 400 var(--fs-title)/normal var(--font-body);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.2s ease, padding 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.media-tab.is-active { padding: 8px 15px; } /* the pill's room; the next words slide over to make space */
.media-tab:hover { color: var(--white); }
.media-tab { position: relative; z-index: 1; }
.media-tab.is-active { color: var(--white); }
/* one glass pill sits around the selected tab and glides to whichever tab you pick (about.js moves
   it). Figma (567:1370) gives it no fill, only a Glass effect: a clear lens with a bright rim, lit
   from the upper left (light angle −45°), with a little blur (3.75) and refraction. CSS has no glass
   effect, so it's built from a faint backdrop blur plus rim highlights: strong on the lit upper-left
   edge, a softer catch-light on the lower right, and a thin inner glow. */
.media-pill {
  position: absolute; left: 0; border-radius: 20px; pointer-events: none;
  --rim: 255 255 255; --rim-dark: 0 0 0;
  background: linear-gradient(135deg, rgb(var(--rim) / 0.10), rgb(var(--rim) / 0.02) 45%, rgb(var(--rim) / 0.05));
  -webkit-backdrop-filter: blur(3.75px) saturate(1.4); backdrop-filter: blur(3.75px) saturate(1.4);
  box-shadow:
    inset 1.25px 1.25px 0.5px -0.5px rgb(var(--rim) / 0.55),
    inset -1px -1px 0.5px -0.5px rgb(var(--rim) / 0.3),
    inset 0 0 0 0.9375px rgb(var(--rim) / 0.12),
    inset 0 0 8px rgb(var(--rim) / 0.06);
}
.media-tab:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
/* each tab's icon tucks away when it isn't selected and slides open when it is. Every icon sits in
   the same 18px box as Albums' (Figma 567:1371), so all four glass pills come out the same height,
   padding and rounding (the pill hugs the tab) */
.media-tab .ic {
  flex: none; width: 0; height: 18px; margin-right: 0; opacity: 0;
  background: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), margin-right 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}
.media-tab.is-active .ic { width: 18px; margin-right: 8px; opacity: 1; }

.media-panels { margin-top: calc(40px - 25px); padding: 0 50px; } /* 40px under the rule, less the section's 25px gap; 50px in from each side (Figma 567:1274) */
/* Figma 567:1274: covers 100px apart both ways. Each cover's caption (15px gap + two lines) keeps its
   room under it, so the row gap is 100px less the caption's ~51px. */
.media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 49px 100px; align-items: start; }
.media-grid[hidden] { display: none; }
.media-grid img { display: block; width: 100%; height: auto; border-radius: 5px; } /* Figma corner rounding: 5 */
.media-grid--albums img { aspect-ratio: 1; object-fit: cover; }
/* hover a cover → its title and artist / author / year fade in 15px below it (Figma "hover" 365:36).
   The caption keeps its space even while hidden, so a long title makes its row taller instead of
   running into the covers below. */
.cover { position: relative; display: block; margin: 0; outline: none; color: inherit; text-decoration: none; }
a.cover { cursor: pointer; }
.cover .cover-cap {
  margin-top: 15px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font: 400 var(--fs-text)/normal var(--font-body); text-align: center; overflow-wrap: break-word;
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.cover-title { color: var(--ink); }
.cover-sub { color: var(--ink-50); }
.cover-sub:empty { display: none; }
.cover .cover-cap > span { display: block; }
.cover:hover .cover-cap, .cover:focus-visible .cover-cap { opacity: 1; transform: none; }
/* the cover itself hops up a little while hovered */
.cover img { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.cover:hover img, .cover:focus-visible img { transform: translateY(-8px); }
.cover:focus-visible img { outline: 2px solid var(--pink); outline-offset: 4px; }
/* covers deal in one after another when a shelf opens (about.js adds .is-entering) */
@keyframes cover-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.media-grid.is-entering > .cover { animation: cover-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(var(--i) * 45ms); }

.about .footer { margin-top: 50px; } /* 100px below the media gems, with the page’s 50px gap */

/* ---- phones and narrow windows (Figma "About — Dark Mode" mobile 545:729, 402px frame) ----------
   30px sides, the nav 25px above the intro, sections 100px apart, highlights moved to match the
   phone headings. The intro text runs the full width; long award and role names wrap; the media
   covers sit two to a row, 25px apart, with their captions always showing. Core memories keep
   the ring, drawn at half size (about.js), and can be swiped round and tapped. */
@media (max-width: 800px) {
  .about { --side: 30px; }
  .about-main { margin-top: calc(25px - 100px); gap: 100px; } /* nav → intro 25px, less the page's 100px gap */
  .about-main > .memories { margin-top: 0; }
  .about .footer { padding: 0 var(--side); margin-top: 0; }

  /* highlights from the phone frame (Figma 577:2449, 577:2525, 577:2642, 577:2826) */
  .intro .hl { left: 38px !important; width: 128px !important; }
  .intro .hl .fill { inset: -122% -4.54% -105.18% -6.39% !important; }
  .awards:not(.experience) .hl { left: 47px !important; width: 77px !important; }
  .awards:not(.experience) .hl .fill { inset: -122.01% -7.49% -105.37% -10.69% !important; }
  .experience .hl { left: 57px !important; width: 108px !important; }
  .experience .hl .fill { inset: -110.05% -0.66% -103.04% -9.66% !important; }
  .media .hl { left: 57px !important; top: 10px !important; }

  .intro { align-items: stretch; }
  .intro-text { width: auto; }
  .intro-body { gap: 20px; }

  .award-list li { gap: 16px; }
  .award-list li > span, .award-row > span, .award-row > span:last-child { color: var(--ink-soft); } /* both columns 72% on phones */
  .award-row { gap: 16px; }
  .award-row > span:first-child { flex: 1 1 auto; min-width: 0; }
  .award-row > span:last-child { flex-shrink: 0; max-width: 55%; text-align: right; }
  .award-photo { width: 78%; } /* a little of the next box peeks in, so it reads as swipeable */
  /* the role keeps its line (up to 55% of the row); the name takes what is left and wraps if it must */
  .award-list li > span:first-child { flex: 1 1 auto; min-width: 0; }
  .award-list li > span:last-child { flex-shrink: 0; max-width: 55%; text-align: right; }

  .media { gap: 30px; }
  .media-tabs { gap: 25px; height: 33px; }
  .media-tab { font-size: var(--fs-text); padding: 7px 0; }
  .media-tab.is-active { padding: 7px 12px; }
  .media-tab.is-active .ic { margin-right: 9.375px; }
  .media-panels { margin-top: calc(20px - 30px); padding: 0; }   /* 20px under the rule */
  /* covers 25px apart side to side; 40px between rows, as on desktop, leaves room for the captions */
  .media-grid { gap: 40px 25px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* phones, and any touch screen that can't hover: every cover's title and artist / author / year
   show all the time (there's no hover to reveal them), and the cover doesn't hop on tap */
@media (max-width: 800px), (hover: none) {
  .cover .cover-cap { opacity: 1; transform: none; transition: none; }
  .cover:hover img { transform: none; }
}

@media (max-width: 800px) {

  /* swipe sideways to spin the ring; vertical swipes still scroll the page */
  .memory-field { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
  /* the ring runs edge to edge, past the 30px padding, and the right half of it (off-screen) is cut
     away; about.js sizes it so the left half fills the screen */
  .memory-field.is-cropped { width: calc(100% + 2 * var(--side)); margin-left: calc(-1 * var(--side)); align-self: flex-start; overflow-x: clip; overflow-y: visible; }
  .memory-cap { top: calc(100% + 15px / var(--k, 1)); left: calc(-40px / var(--k, 1)); right: calc(-40px / var(--k, 1)); font-size: calc(var(--fs-text) / var(--k, 1)); }
}

@media (prefers-reduced-motion: reduce) {
  .hl-armed .hl .fill { clip-path: none; }
  .logo, .logo-mark, .media-tab, .media-tab .ic { transition: none; }
  .logo:hover .logo-mark { transform: none; }
  .memory-cap { transition: none; }
  .memory.is-focus .memory-wiggle { opacity: 0; } /* no rocking: keep the still photo */
  .media-grid.is-entering > .cover { animation: none; }
  .cover .cover-cap, .cover img { transition: none; }
  .award-caret, .award-caret > span, .award, .award-plain, .award-next, .award-next > span, .award-fade { transition: none; }
  .award-photos { scroll-behavior: auto; }
  .cover:hover img, .cover:focus-visible img { transform: none; }
}
