/* ==========================================================================
   Elizaveta Yakovich: portfolio
   One family (Manrope), a fixed type scale, one grid line at 25%.
   Sections: fonts, tokens, base, header and menu, hero, photo strips,
   home sections, season axis, case pages, legal, motion, utilities.
   ========================================================================== */

/* fonts */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* tokens */
:root {
  /* colour */
  --bg: #fafafb;
  --ink: #000;
  --ink-soft: #333;
  --muted: #6b6b6e;
  --line: #d9d9dc;
  --line-strong: #c2c2c6;
  --amber: #f0a81c;
  --dark: #0e0e10;
  --on-dark: #f4f4f5;
  --on-dark-muted: #9a9a9f;
  --line-dark: rgba(255, 255, 255, .2);

  /* type scale: 8 sizes, 3 weights */
  --fs-xs: 12px;                               /* labels, buttons, tags */
  --fs-s: 14px;                                /* captions, small meta */
  --fs-m: clamp(16px, 1.4vw, 19px);            /* body in lists and tables */
  --fs-l: clamp(19px, 1.7vw, 22px);            /* reading text, lead */
  --fs-xl: clamp(22px, 2vw, 30px);             /* sub-titles, names in lists */
  --fs-2xl: clamp(30px, 3.4vw, 46px);          /* section titles */
  --fs-3xl: clamp(44px, 7vw, 96px);            /* display: the name, case titles */
  --w-light: 300;
  --w-regular: 400;
  --w-medium: 500;

  /* space */
  --gutter: 16px;
  --header-h: 64px;
  --section: clamp(56px, 8vw, 104px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (min-width: 768px) { :root { --gutter: 24px; --header-h: 76px; } }
@media (min-width: 1200px) { :root { --gutter: 36px; } }

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: var(--w-regular);
  padding-top: var(--header-h);
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.muted { color: var(--muted); }

.caps {
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: var(--w-medium);
}
.title {                                      /* every section title */
  margin: 0 0 40px;
  font-size: var(--fs-2xl);
  font-weight: var(--w-light);
  letter-spacing: -.015em;
  line-height: 1.02;
}
.text-col { max-width: 40rem; font-size: var(--fs-l); line-height: 1.5; }
.text-col p { margin: 0 0 1em; }

.button {
  display: inline-block;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 12px 24px;
  text-decoration: none;
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: var(--w-medium);
}
.button:hover, .button:focus-visible { background: var(--ink); color: var(--bg); }

/* header, menu, footer */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg);
  z-index: 30;
}
.brand { text-decoration: none; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.header-link { text-decoration: none; padding: 14px 0; }
.menu-button { font: inherit; background: none; border: 0; padding: 12px 0 12px 12px; cursor: pointer; color: inherit; }
.brand:focus-visible, .menu-button:focus-visible, .menu a:focus-visible, .site-footer a:focus-visible {
  outline: 2px solid var(--on-dark);
  outline-offset: 4px;
}
@media (max-width: 640px) { .header-contact { display: none; } .header-actions { gap: 16px; } }
@media (max-width: 380px) { .brand { letter-spacing: .08em; } .header-actions { gap: 12px; } }

.menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--header-h) var(--gutter) 40px;
}
.menu[hidden] { display: none; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li + li { margin-top: 8px; }
.menu a { display: inline-block; font-size: var(--fs-3xl); font-weight: var(--w-light); line-height: 1.2; text-decoration: none; }

.site-footer {
  margin-top: var(--section);
  padding: 48px var(--gutter) 56px;
  background: var(--dark);
  color: var(--on-dark);
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(4, 25%);
  gap: 32px 0;
  align-items: start;
}
.site-footer.flush { margin-top: 0; }
.site-footer p, .site-footer ul { margin: 0; }
.site-footer ul { list-style: none; padding: 0; }
.f-col { padding-right: 24px; }
.f-col:first-child { grid-column: 2; }
.f-h { margin-bottom: 10px; color: var(--on-dark-muted); }
.site-footer li a { display: inline-block; padding: 5px 0; font-size: var(--fs-s); text-decoration: none; background: linear-gradient(var(--on-dark), var(--on-dark)) 0 100% / 0 1px no-repeat; transition: background-size .35s; overflow-wrap: anywhere; }
.site-footer li a:hover, .site-footer li a:focus-visible { background-size: 100% 1px; }
@media (max-width: 720px) {
  .site-footer { grid-template-columns: 1fr 1fr; }
  .f-col:first-child { grid-column: auto; }
}

/* hero: the name, one line of meaning, one action; the photos start high */
.hero { padding: calc(var(--header-h) + 2.5vh) var(--gutter) 6vh; text-align: center; }
.hero > * { margin: 0; }
.hero h1 { font-size: var(--fs-3xl); font-weight: var(--w-light); line-height: 1; letter-spacing: -.02em; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .w > span { display: inline-block; }
.hero-role { margin-top: 14px; }
.hero-statement { margin: 16px auto 0; max-width: 80ch; text-wrap: balance; font-size: var(--fs-xl); font-weight: var(--w-light); line-height: 1.25; }
.hero-facts { margin-top: 14px; text-wrap: balance; }
.hero-actions { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* photo strips: alternating tall and wide tiles on one baseline */
.strip {
  --tile-h: clamp(300px, 36vw, 580px);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) 48px;
  scrollbar-width: none;
  -webkit-user-select: none;
  user-select: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip img { -webkit-user-drag: none; }
.strip.mini { --tile-h: clamp(220px, 25vw, 400px); padding-bottom: 0; margin: 40px calc(-1 * var(--gutter)) 0; }
@media (max-width: 640px) { .strip { --tile-h: 78vw; gap: 16px; } .strip.mini { --tile-h: 62vw; } }

.strip-item { margin: 0; flex: none; scroll-snap-align: start; }
.strip-item :is(a, .tile) { position: relative; display: block; text-decoration: none; }
.strip-item a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.strip-item img { height: var(--tile-h); width: auto; max-width: none; object-fit: cover; display: block; }
.strip-item.tall img { aspect-ratio: 4 / 5; }
.strip-item.wide img { aspect-ratio: 3 / 2; }

.strip-cap {                                  /* default: text on the photo, tinted by brand */
  --tint: 10, 18, 28;
  position: absolute;
  inset: auto 0 0 0;
  padding: 80px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
  background: linear-gradient(to top, rgba(var(--tint), .78), rgba(var(--tint), 0));
}
.strip-cap.brand-inopro { --tint: 10, 18, 28; }
.strip-cap.brand-nuna { --tint: 52, 34, 14; }
.strip-top { font-size: var(--fs-xl); font-weight: var(--w-light); line-height: 1.05; letter-spacing: -.01em; }
.strip-sub { opacity: .9; }

/* earlier projects: black and white, colour on hover */
.mini .strip-item img { filter: grayscale(1) contrast(1.04); transition: filter .6s var(--ease); }

/* home sections */
.block { padding: var(--section) var(--gutter) 0; scroll-margin-top: var(--header-h); }
#work { scroll-margin-top: var(--header-h); }


/* one grid line at 25%: title on the left, content from the line */
@media (min-width: 900px) {
  #how, #before, #contact { display: grid; grid-template-columns: 25% 1fr; align-items: start; }
  #how .title, #before .title, #contact .title { grid-column: 1; margin: 0; padding-right: 24px; }
  #how .how-body, #how .vseason { grid-column: 2; }
  #before > .text-col { grid-column: 2; margin: 0; }
  #before > .skills { grid-column: 1 / -1; }
  #contact { grid-template-columns: 25% minmax(0, 1fr) 25%; }
  #contact > :not(.title):not(.contact-photo) { grid-column: 2; }
  #contact > .contact-photo { grid-column: 3; grid-row: 1 / span 4; margin-top: 0; justify-self: start; }
  #before .strip.mini, #before .before { grid-column: 1 / -1; }
}

.how { list-style: none; margin: 0; padding: 0; }
.how li { padding: 22px 0; }
.how li:first-child { padding-top: 0; }
.how-lead { display: block; font-size: var(--fs-2xl); font-weight: var(--w-light); line-height: 1.05; letter-spacing: -.015em; }
.how-rest { display: block; margin-top: 12px; max-width: 38rem; font-size: var(--fs-m); line-height: 1.5; color: var(--ink-soft); }

.roles-line { display: grid; gap: 6px; margin: 36px 0 0; max-width: 38rem; font-size: var(--fs-m); line-height: 1.5; }
.roles-fields { margin: 10px 0 0; max-width: 38rem; font-size: var(--fs-s); line-height: 1.5; }

/* skills: the foot of the experience table, same grid (label under the years, words under the companies) */
.skills { margin: 40px 0 0; }
.skill-row { display: grid; grid-template-columns: 25% minmax(0, 1fr); align-items: baseline; padding: 6px 0; }
.skill-row dt { margin: 0; }
.skill-row dd { margin: 0; font-size: var(--fs-s); line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 720px) { .skill-row { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; } }

.before { list-style: none; margin: 72px 0 0; padding: 0; }
/* Before beauty: on the 25% grid like the other sections, with extra air above and below */
#before { padding-top: calc(var(--section) * 1.5); }
#before .strip.mini { margin-top: calc(var(--section) * .9); }
.before-row { display: grid; grid-template-columns: 25% 25% 1fr; gap: 8px 0; padding: 18px 0; align-items: baseline; font-size: var(--fs-m); }
.before-row > span { padding-right: 24px; }
.before-when { font-size: var(--fs-xl); font-weight: var(--w-light); letter-spacing: -.01em; }
.before-who { font-size: var(--fs-l); font-weight: var(--w-medium); }
.before-text { line-height: 1.5; font-weight: var(--w-light); }
.before-tags { display: block; margin-top: 8px; font-size: var(--fs-s); line-height: 1.5; color: var(--muted); }
@media (max-width: 720px) { .before-row { grid-template-columns: 1fr; } }

.contact { margin-top: var(--section); padding-bottom: calc(var(--section) * .9); background: var(--dark); color: var(--on-dark); }
.contact .contact-note { margin-top: 20px; font-size: var(--fs-l); font-weight: var(--w-light); line-height: 1.35; color: var(--on-dark-muted); }
.contact-photo { display: block; width: min(100%, 150px); height: auto; margin-top: 40px; }
.contact .button { border-color: var(--on-dark); color: var(--on-dark); }
.contact .button:hover, .contact .button:focus-visible { background: var(--on-dark); color: var(--dark); }
.contact a:focus-visible { outline: 2px solid var(--on-dark); outline-offset: 4px; }
.contact .contact-lead { max-width: 34rem; margin: 0; text-wrap: balance; font-size: var(--fs-l); font-weight: var(--w-light); line-height: 1.35; }
.contact p { margin: 0; }
.contact .contact-mail { margin-top: 56px; font-size: var(--fs-l); font-weight: var(--w-light); line-height: 1.1; letter-spacing: -.015em; overflow-wrap: anywhere; }
@media (max-width: 720px) { .contact-photo { width: 110px; } .contact .contact-mail { margin-top: 40px; } .contact .contact-cta { margin-top: 40px; } }
.contact-mail a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.contact .contact-cta { margin-top: 56px; }
.contact a:not(.button) { display: inline-block; padding: 4px 0; }

/* season: a small vertical axis beside How I work, quiet */
.vseason { margin-top: 48px; }
.vs-label { margin: 0 0 18px; font-weight: var(--w-medium); }
.vs { list-style: none; margin: 0; padding: 0 0 0 20px; position: relative; }
.vs::before { content: ""; position: absolute; left: 2px; top: 6px; bottom: 6px; border-left: 1px solid var(--line-strong); }
.vs-item { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 0 0 18px; }
.vs-item:last-child { padding-bottom: 0; }
.vs-item::before { content: ""; position: absolute; left: -20px; top: 5px; width: 5px; height: 5px; border-radius: 50%; border: 1px solid var(--ink); background: var(--bg); }
.vs-item.done::before { background: var(--ink); }
.vs-item.soon::before { background: var(--bg); }
.vs-month { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: var(--w-medium); }
.vs-show { font-size: var(--fs-m); line-height: 1.3; }
.vs-show a { text-decoration: none; background: linear-gradient(var(--amber), var(--amber)) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .35s; }
.vs-show a:hover, .vs-show a:focus-visible { background-size: 100% 1px; }
.vs-meta { font-size: var(--fs-s); line-height: 1.4; color: var(--muted); }
.vs-state { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 1100px) {
  #how { grid-template-columns: 25% minmax(0, 1fr) 27%; column-gap: 0; }
  #how .how-body { padding-right: 40px; }
  #how .vseason { grid-column: 3; grid-row: 1; margin-top: 6px; position: sticky; top: calc(var(--header-h) + 24px); }
}

/* pointer dot (mouse only) and quiet hover on the season axis and roles */
.dot-cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; opacity: 0; transition: opacity .25s; mix-blend-mode: difference; }
.dot-cursor.on { opacity: 1; }
.dot-cursor i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.dot-cursor.big i { transform: scale(4); }
.dotcur, .dotcur a, .dotcur button, .dotcur .vs-item, .dotcur .role { cursor: none; }
.dotcur .strip:not(.mini), .dotcur .strip:not(.mini) a { cursor: grab; }
.dotcur .strip.mini, .dotcur .strip.mini a { cursor: none; }
.vs-item, .role { transition: opacity .3s var(--ease); }
.vs-item::before { transition: background-color .3s; }
.vs:hover .vs-item:not(:hover), .roles-line:hover .role:not(:hover) { opacity: .35; }
.vs-item:hover::before { background: var(--ink); }
.vs-item:hover .vs-meta { color: var(--ink-soft); }

/* case pages */
.case-head { padding: calc(var(--header-h) + 8vh) var(--gutter) 40px; text-align: center; }
.case-head h1 { margin: 0; font-size: var(--fs-3xl); font-weight: var(--w-light); line-height: 1.05; letter-spacing: -.02em; }
.case-title { margin: 16px 0 28px; font-size: var(--fs-l); font-weight: var(--w-light); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tag { border: 1px solid var(--ink); border-radius: 999px; padding: 6px 14px; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: var(--w-medium); }
.case-lead { padding: 0 var(--gutter); max-width: 1100px; margin: 0 auto; }
.case-lead img { width: auto; max-width: 100%; height: auto; max-height: 88vh; margin: 0 auto; }
.case-intro { padding: 56px var(--gutter) 0; }
.case-intro .text-col { margin: 0 auto 56px; }
.case-cols { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 1100px; margin: 0 auto; }
.case-cols .title, .brand-section > .title { margin: 0 0 20px; }
.brand-section > .title { margin-bottom: 36px; }
.role, .credits { list-style: none; margin: 0; padding: 0; }
.role li, .credits li { padding: 8px 0; font-size: var(--fs-m); line-height: 1.5; font-weight: var(--w-light); }
@media (min-width: 900px) {
  .case-intro:not(.work-intro) .text-col { margin: 0 0 24px 25%; }
  .case-cols { display: block; max-width: none; }
  .case-cols > div { display: grid; grid-template-columns: 25% 1fr; align-items: start; margin-top: 44px; }
  .case-cols .title { margin: 0; padding-right: 24px; }
  .case-cols ul { max-width: 40rem; }
}
.brand-section { padding: var(--section) var(--gutter) 0; }

.facts { list-style: none; margin: 0 auto 40px; padding: 0; max-width: 1100px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
.fact { display: flex; flex-direction: column; gap: 6px; }
.fact-label { letter-spacing: .12em; }
.fact-num { font-size: var(--fs-2xl); font-weight: var(--w-light); line-height: 1; letter-spacing: -.015em; }
.work-role { display: grid; gap: 6px; max-width: 1100px; margin: 0 auto 56px; font-size: var(--fs-l); font-weight: var(--w-light); }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.work-head h1 + .case-title { margin: 22px 0 36px; }
.work-head { padding-bottom: 64px; }
.work-intro { text-align: center; padding-top: var(--section); }
.work-intro .facts { margin-bottom: 64px; gap: 36px 24px; }
.work-intro .work-role { margin-bottom: 40px; line-height: 1.6; }
.work-gallery .gallery { gap: 64px 24px; }
@media (min-width: 1000px) { .work-gallery .gallery { gap: 88px 24px; } }
.work-intro .text-col { max-width: 1100px; margin: 0 auto 72px; line-height: 1.6; }
.case-lead.work-lead { max-width: calc(1100px + 2 * var(--gutter)); }
.work-lead.case-lead img { width: 100%; max-height: none; }
.work-intro .facts { text-align: center; }
@media (min-width: 720px) { .work-intro .facts { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }
.work-lead.portrait img { width: auto; max-width: 100%; max-height: 82vh; }
.work-intro .fact { align-items: center; }
.work-intro .work-role { justify-items: center; }
.work-gallery { max-width: calc(1100px + 2 * var(--gutter)); margin: 0 auto; }
.gallery { display: grid; grid-template-columns: 1fr; gap: 32px; }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; }
.small img { aspect-ratio: 4 / 3; object-fit: cover; }
.half img { aspect-ratio: 1 / 1; object-fit: cover; }
.shot figcaption { margin-top: 8px; font-size: var(--fs-s); color: var(--muted); }
@media (min-width: 640px) {                   /* tall frames 4:5, wide frames 8:5, rows line up */
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; grid-auto-flow: dense; }
  .wide { grid-column: span 2; }
  .tall img { aspect-ratio: 4 / 5; object-fit: cover; }
  .wide img { aspect-ratio: 8 / 5; object-fit: cover; }
}
@media (min-width: 1000px) {
  .gallery { grid-template-columns: repeat(6, 1fr); gap: 56px 24px; }
  .tall { grid-column: span 2; }
  .wide { grid-column: span 6; }
  .work-gallery .tall { grid-column: span 3; }
  .work-gallery .small { grid-column: span 2; }
  .work-gallery .half { grid-column: span 3; }
}

.next-wrap { padding: var(--section) var(--gutter) 0; text-align: center; }
.next-project { display: inline-flex; flex-direction: column; gap: 12px; text-decoration: none; }
.next-name { font-size: var(--fs-3xl); font-weight: var(--w-light); line-height: 1.1; }
.next-project:hover .next-name { text-decoration: underline; text-underline-offset: 8px; }

/* legal pages and 404 */
.legal { padding: calc(var(--header-h) + 8vh) var(--gutter) 0; }
.legal h1 { margin: 0 0 20px; font-size: var(--fs-3xl); font-weight: var(--w-light); letter-spacing: -.02em; line-height: 1; }
.legal-lead { margin: 0 0 12px; font-size: var(--fs-l); font-weight: var(--w-light); }
.legal .muted { margin: 0 0 var(--section); }
.legal-sec { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 44px; }
.legal-sec h2 { margin: 0; font-size: var(--fs-xl); font-weight: var(--w-light); letter-spacing: -.01em; }
.legal-sec p { margin: 0 0 1em; max-width: 40rem; font-size: var(--fs-m); line-height: 1.55; }
@media (min-width: 900px) {
  .legal-sec { grid-template-columns: 25% 1fr; gap: 0; }
  .legal-sec > p { grid-column: 2; }
  .legal-sec h2 { grid-row: 1 / span 5; }
}
.not-found { text-align: center; padding-top: calc(var(--header-h) + 20vh); }
.not-found h1 { margin: 0 0 24px; font-size: var(--fs-3xl); font-weight: var(--w-light); }

/* utilities */
.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 40; background: var(--ink); color: var(--bg); padding: 12px 18px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* pointer devices: the strips are draggable, a round "View" follows the mouse */
@media (hover: hover) {
  .strip { cursor: grab; }
  .strip.drag { cursor: grabbing; scroll-snap-type: none; }
  .strip-item { transition: opacity .35s, filter .35s; }
  .strip:not(.mini):has(.strip-item:hover) .strip-item:not(:hover) { opacity: .42; filter: grayscale(.85); }
  .strip-item .strip-top { width: fit-content; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
  .strip-item a:hover .strip-top { background-size: 100% 1px; }
  .mini .strip-item:hover img, .mini .strip-item.is-on img { filter: none; }
  .mini .strip-item.is-off { opacity: .4; }
  .before-row { transition: opacity .3s var(--ease); }
  .before-row.is-off, .js .before-row.rv.is-off { opacity: .3; }
}
.view-cursor {
  position: fixed; left: 0; top: 0; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center;
  font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: var(--w-medium);
  pointer-events: none; z-index: 60; opacity: 0; transform: scale(.6);
  transition: opacity .25s, transform .35s var(--ease);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}
.view-cursor.on { opacity: 1; transform: scale(1); }
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; z-index: 50; pointer-events: none; }

/* motion: one hero sequence, soft reveals, a drawn season; all off for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .menu { animation: fade .2s ease-out; }
  .hero h1 .w > span { transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
  .hero h1 .w:nth-child(2) > span { animation-delay: .12s; }
  .hero > *:not(h1) { opacity: 0; animation: fadeup .8s var(--ease) forwards; }
  .hero > .hero-role { animation-delay: .45s; }
  .hero > .hero-statement { animation-delay: .55s; }
  .hero > .hero-facts { animation-delay: .65s; }
  .hero > .hero-actions { animation-delay: .75s; }
  .strip:not(.mini) .strip-item { opacity: 0; animation: tilein .9s var(--ease) forwards; }
  .strip:not(.mini) .strip-item:nth-child(1) { animation-delay: .8s; }
  .strip:not(.mini) .strip-item:nth-child(2) { animation-delay: .9s; }
  .strip:not(.mini) .strip-item:nth-child(3) { animation-delay: 1s; }
  .strip:not(.mini) .strip-item:nth-child(4) { animation-delay: 1.1s; }
  .strip:not(.mini) .strip-item:nth-child(5) { animation-delay: 1.2s; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes rise { to { transform: none; } }
  @keyframes fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes tilein { from { opacity: 0; transform: translateX(80px); } to { opacity: 1; transform: none; } }

  .js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }

}
