/* ==========================================================================
   ASCENT — v3
   Direction: cinematic dune photograph, a full-width ascɛnt wordmark,
   thin survey-grid lines, light serif display, soft glass pills.
   ========================================================================== */
:root {
  /* palette — taken from the dune photograph */
  --moss: #1E201B;        /* dark sections, reading room */
  --moss-2: #272A23;      /* raised surfaces on dark */
  --mist: #E6E8E1;        /* light sections */
  --mist-2: #F2F3EE;      /* light raised surfaces */
  --marram: #B4B79C;      /* muted grass accent: hover, cursor light */
  --sage: #7D836C;        /* accent on light backgrounds */
  --ink: #22241F;         /* text on light */
  --chalk: #EEEFEA;       /* text on dark */

  --line-dark: rgba(238, 239, 234, 0.14);
  --line-light: rgba(34, 36, 31, 0.12);

  --serif: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  --sans: 'Geist', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1520px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --r-card: 22px;
  --r-media: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--moss);
  color: var(--chalk);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
body { margin: 0; overflow-x: hidden; background: var(--moss); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--marram); color: var(--moss); }
:focus-visible { outline: 1.5px solid var(--marram); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

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

/* ---------- Pills (the one button shape on the site) ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.005em;
  white-space: nowrap;
  border: 1px solid rgba(238, 239, 234, 0.18);
  background: rgba(238, 239, 234, 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), color 0.5s var(--ease);
}
.pill:hover, .pill:focus-visible {
  background: rgba(180, 183, 156, 0.22);
  border-color: rgba(180, 183, 156, 0.55);
}
.pill--solid {
  background: var(--chalk);
  color: var(--moss);
  border-color: var(--chalk);
  box-shadow: none;
}
.pill--solid:hover, .pill--solid:focus-visible { background: var(--marram); border-color: var(--marram); color: var(--moss); }
.pill--small { height: 36px; padding: 0 15px; font-size: 14px; }
.pill--wide { width: 100%; justify-content: center; height: 56px; font-size: 16px; }
.pill .pill__icon {
  width: 22px; height: 22px; margin-right: -8px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(238, 239, 234, 0.14);
  transition: transform 0.5s var(--ease), background-color 0.5s var(--ease);
}
.pill--solid .pill__icon { background: rgba(30, 32, 27, 0.1); }
.pill:hover .pill__icon { background: rgba(180, 183, 156, 0.35); }
.pill--solid:hover .pill__icon { background: rgba(30, 32, 27, 0.14); }
.on-light .pill:not(.pill--solid) {
  color: var(--ink);
  border-color: rgba(34, 36, 31, 0.16);
  background: rgba(255, 255, 255, 0.5);
}
.on-light .pill:not(.pill--solid):hover { background: rgba(125, 131, 108, 0.16); border-color: rgba(125, 131, 108, 0.5); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: 14px;
  pointer-events: none;
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__bar > * { pointer-events: auto; }
.brand {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--chalk);
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}
.brand svg { height: 20px; width: auto; }
.nav {
  position: relative;
  display: none;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(238, 239, 234, 0.16);
  background: rgba(30, 32, 27, 0.32);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
}
.nav a {
  position: relative;
  z-index: 1;
  height: 36px;
  display: inline-flex; align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 15px;
  color: rgba(238, 239, 234, 0.82);
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
}
.nav a:hover, .nav a:focus-visible, .nav a.is-active { color: var(--chalk); }
.nav__ink {
  position: absolute; z-index: 0; top: 4px; left: 0;
  height: 36px; width: 0;
  border-radius: 999px;
  background: rgba(180, 183, 156, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.34, 1.3, 0.5, 1), width 0.55s cubic-bezier(0.34, 1.3, 0.5, 1), opacity 0.35s var(--ease), background-color 0.4s var(--ease);
  pointer-events: none;
}
.nav__ink.is-on { opacity: 1; }
.menu-btn { display: inline-flex; }
@media (min-width: 820px) {
  .nav { display: inline-flex; }
  .menu-btn { display: none; }
}
.site-header.is-scrolled .brand {
  background: rgba(30, 32, 27, 0.42);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.site-header.is-light .brand { color: var(--ink); background: rgba(242, 243, 238, 0.7); }
.site-header.is-light .nav { background: rgba(242, 243, 238, 0.72); border-color: rgba(34, 36, 31, 0.1); }
.site-header.is-light .nav a { color: rgba(34, 36, 31, 0.72); }
.site-header.is-light .nav a:hover, .site-header.is-light .nav a.is-active { color: var(--ink); }
.site-header.is-light .nav__ink { background: rgba(125, 131, 108, 0.2); }
.site-header.is-light .menu-btn { color: var(--ink); background: rgba(242, 243, 238, 0.72); border-color: rgba(34, 36, 31, 0.12); }

/* ---------- Mobile menu ---------- */
.mmenu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--moss);
  display: flex; flex-direction: column;
  padding: 14px var(--gutter) 28px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}
.mmenu.is-open { opacity: 1; visibility: visible; }
.mmenu__top { display: flex; justify-content: space-between; align-items: center; }
.mmenu__top .brand { padding-left: 0; }
.mmenu nav { margin: auto 0; }
.mmenu nav a {
  display: block;
  font-family: var(--serif);
  font-size: clamp(44px, 13vw, 80px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  padding: 6px 0;
  color: var(--chalk);
  transform: translate3d(0, 18px, 0);
  opacity: 0;
  transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease-out), color 0.4s var(--ease);
}
.mmenu nav a:nth-child(2) { padding-left: 14vw; transition-delay: 0.05s; }
.mmenu nav a:nth-child(3) { padding-left: 28vw; transition-delay: 0.1s; }
.mmenu.is-open nav a { transform: none; opacity: 1; }
.mmenu nav a:active, .mmenu nav a:hover { color: var(--marram); }
.mmenu__foot { display: flex; justify-content: space-between; font-size: 14px; color: rgba(238, 239, 234, 0.55); border-top: 1px solid var(--line-dark); padding-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--chalk);
  background: #3A3D30;
  isolation: isolate;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
  transform: scale(1.06);
  filter: saturate(0.9);
  opacity: 0;
  transition: opacity 1.4s var(--ease-out), transform 2.4s var(--ease-out);
}
.hero.is-loaded .hero__media img { opacity: 1; transform: scale(1); }
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 22, 18, 0.45) 0%, rgba(20, 22, 18, 0) 26%),
    linear-gradient(0deg, rgba(20, 22, 18, 0.78) 0%, rgba(20, 22, 18, 0.18) 46%, rgba(20, 22, 18, 0) 70%);
}
/* survey grid over the photo */
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero__grid span { border-right: 1px solid rgba(238, 239, 234, 0.13); }
.hero__grid span:last-child { border-right: 0; }
.hero__grid::before, .hero__grid::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px; background: rgba(238, 239, 234, 0.13);
}
.hero__grid::before { top: 33%; }
.hero__grid::after { top: 66%; }
@media (max-width: 819px) {
  .hero__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__grid span:nth-child(n+3) { display: none; }
}

.hero__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 120px;
  padding-bottom: clamp(18px, 3vw, 36px);
}
.hero__title {
  margin: 0 0 clamp(28px, 5vh, 56px);
  text-shadow: 0 2px 40px rgba(20, 22, 18, 0.35);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 100px);
  font-weight: 360;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.hero__title span { display: block; }
.hero__title span:nth-child(2) { padding-left: 16%; }
.hero__title span:nth-child(3) { text-align: right; }
@media (max-width: 819px) {
  .hero__title span:nth-child(2) { padding-left: 12%; }
  .hero__title span:nth-child(3) { text-align: left; padding-left: 24%; }
}
.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: clamp(18px, 3vw, 28px);
}
.hero__credit { font-size: 14px; color: rgba(238, 239, 234, 0.72); max-width: 22ch; }
.hero__wordmark { width: 100%; color: var(--chalk); }
.hero__wordmark svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero__wordmark path {
  transform: translate3d(0, 40%, 0);
  opacity: 0;
  transition: transform 1.3s var(--ease-out), opacity 1.1s var(--ease-out);
}
.hero.is-loaded .hero__wordmark path { transform: none; opacity: 1; }
.hero.is-loaded .hero__wordmark path:nth-child(2) { transition-delay: 0.06s; }
.hero.is-loaded .hero__wordmark path:nth-child(3) { transition-delay: 0.12s; }
.hero.is-loaded .hero__wordmark path:nth-child(4) { transition-delay: 0.18s; }
.hero.is-loaded .hero__wordmark path:nth-child(5) { transition-delay: 0.24s; }
.hero.is-loaded .hero__wordmark path:nth-child(6) { transition-delay: 0.30s; }
.hero__title, .hero__row { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity 1.1s 0.35s var(--ease-out), transform 1.1s 0.35s var(--ease-out); }
.hero.is-loaded .hero__title, .hero.is-loaded .hero__row { opacity: 1; transform: none; }

/* ---------- About (light) ---------- */
.about {
  position: relative;
  background: var(--mist);
  color: var(--ink);
  padding: clamp(96px, 14vw, 180px) 0 clamp(80px, 11vw, 150px);
  background-image:
    linear-gradient(var(--line-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 100% 25%, 25% 100%;
  background-position: 0 0, 0 0;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: end;
}
@media (min-width: 980px) {
  .about__grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 110px); }
}
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7.4vw, 124px);
  font-weight: 340;
  line-height: 1;
  letter-spacing: -0.035em;
}
.about__portrait {
  position: relative;
  margin: 28px 0 0;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  border-radius: var(--r-media);
  overflow: hidden;
  background: #D7D9D0;
}
.about__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about__text {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(23px, 2.5vw, 38px);
  font-weight: 340;
  line-height: 1.26;
  letter-spacing: -0.015em;
  max-width: 24em;
  text-wrap: pretty;
}
.about__text a {
  color: var(--sage);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 92%;
  transition: color 0.4s var(--ease), background-size 0.5s var(--ease);
}
.about__text a:hover { color: var(--ink); }

/* ---------- Articles (dark) ---------- */
.articles {
  position: relative;
  background: var(--moss);
  padding: clamp(96px, 12vw, 160px) 0 clamp(96px, 12vw, 160px);
}
.articles__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 72px);
}
.cats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 820px) {
  .cats { grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
  .cat:nth-child(2) { margin-top: 72px; }
  .cat:nth-child(3) { margin-top: 144px; }
}
.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: clamp(380px, 52vw, 620px);
  padding: clamp(20px, 2vw, 28px);
  border-radius: var(--r-card);
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  color: var(--chalk);
  background: var(--moss-2);
}
@media (max-width: 819px) { .cat { min-height: 420px; } }
.cat img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.55) contrast(1.02) brightness(0.86);
  transform: scale(1.02);
  transition: filter 0.9s var(--ease), transform 1.2s var(--ease);
}
.cat::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(20, 22, 18, 0.9) 0%, rgba(20, 22, 18, 0.42) 42%, rgba(20, 22, 18, 0.05) 75%);
}
.cat:hover img, .cat:focus-visible img { filter: grayscale(0) contrast(1.02) brightness(0.92); transform: scale(1.06); }
.cat__title {
  font-family: var(--serif);
  font-size: clamp(30px, 2.8vw, 44px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  max-width: 9em;
}
.cat .pill { align-self: flex-start; }
.cat:hover .pill { background: rgba(180, 183, 156, 0.22); border-color: rgba(180, 183, 156, 0.55); }
.cat:hover .pill .pill__icon { background: rgba(180, 183, 156, 0.35); }

/* ---------- Contact (dark, quiet) ---------- */
.contact {
  background: var(--moss);
  border-top: 1px solid var(--line-dark);
  padding: clamp(72px, 9vw, 120px) 0 28px;
}
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 980px) { .contact__grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 110px); } }
.contact__rows { border-top: 1px solid var(--line-dark); align-self: end; }
.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: background-color 0.8s var(--ease);
}
.contact-row.is-highlight { background-color: rgba(180, 183, 156, 0.1); }
.contact-row__label { font-size: 15px; color: rgba(238, 239, 234, 0.55); }
.contact-row__value { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 300; font-size: clamp(21px, 2vw, 30px); letter-spacing: -0.015em; word-break: break-word; }
.contact-row__value a { transition: color 0.4s var(--ease); }
.contact-row__value a:hover { color: var(--marram); }
.contact__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-top: clamp(56px, 8vw, 110px);
  color: rgba(238, 239, 234, 0.5);
  font-size: 14px;
}
.contact__foot svg { height: 22px; width: auto; color: var(--chalk); }

/* ---------- Category overlay ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 70;
  background: var(--moss);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), visibility 0.6s;
}
.overlay.is-open { opacity: 1; visibility: visible; transform: none; }
.overlay__bar {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0;
  background: linear-gradient(180deg, var(--moss) 60%, rgba(30, 32, 27, 0));
}
.overlay__title {
  margin: 18px 0 clamp(28px, 4vw, 56px);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.032em;
  max-width: 12em;
}
.stories { display: grid; gap: 14px; padding-bottom: 56px; }
@media (min-width: 1100px) { .stories { grid-template-columns: 1fr 1fr; gap: 16px; } }
.story {
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: end;
  padding: clamp(14px, 1.6vw, 20px);
  border-radius: var(--r-card);
  background: var(--moss-2);
  border: 1px solid var(--line-dark);
  transition: background-color 0.6s var(--ease), border-color 0.6s var(--ease);
}
.story:hover { background: #2D3028; border-color: rgba(180, 183, 156, 0.3); }
.story__cover {
  aspect-ratio: 595 / 842;
  max-width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.8s var(--ease);
}
.story__cover img { width: 100%; height: 100%; object-fit: cover; }
.story:hover .story__cover { transform: translate3d(0, -4px, 0); }
.story__body { padding: 0 clamp(4px, 1vw, 16px) clamp(6px, 1vw, 14px) 0; }
.story__author { font-size: 15px; color: rgba(238, 239, 234, 0.62); margin: 0 0 12px; }
.story__title { font-family: var(--serif); font-weight: 300; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 24px; text-wrap: balance; }
.story:hover .pill { background: var(--marram); border-color: var(--marram); color: var(--moss); }
.story:hover .pill .pill__icon { background: rgba(30, 32, 27, 0.14); }
@media (max-width: 539px) {
  .story { grid-template-columns: 1fr; }
  .story__cover { max-width: 62%; }
}
.empty {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 40px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  color: rgba(238, 239, 234, 0.6); font-size: 16px;
}

/* ---------- Cursor light (desktop) ---------- */
.cursor-light {
  position: fixed; left: 0; top: 0; z-index: 45;
  width: 620px; height: 620px; margin: -310px 0 0 -310px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(180, 183, 156, 0.16) 0%, rgba(180, 183, 156, 0.07) 34%, rgba(180, 183, 156, 0) 66%);
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  will-change: transform;
}
.cursor-light.is-on { opacity: 1; }
.on-light-cursor .cursor-light { background: radial-gradient(circle, rgba(125, 131, 108, 0.16) 0%, rgba(125, 131, 108, 0.06) 34%, rgba(125, 131, 108, 0) 66%); }
.cursor-dot {
  position: fixed; left: 0; top: 0; z-index: 95;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%;
  pointer-events: none;
  background: var(--marram);
  opacity: 0;
  transition: opacity 0.4s var(--ease), width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background-color 0.45s var(--ease);
}
.cursor-dot.is-on { opacity: 1; }
.cursor-dot.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(180, 183, 156, 0.28); }
@media (hover: none), (pointer: coarse) { .cursor-light, .cursor-dot { display: none !important; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation: none !important; }
  .hero__media img, .hero__wordmark path, .hero__title, .hero__row { opacity: 1 !important; transform: none !important; }
  .cursor-light, .cursor-dot { display: none !important; }
}

/* ---------- Scroll reveals (all screens, compositor-only) ---------- */
.js .reveal-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js .reveal-line > span { display: block; transform: translate3d(0, 105%, 0); transition: transform 1.1s var(--ease-out); }
.js .is-in .reveal-line > span, .js .reveal-line.is-in > span { transform: none; }
.js .reveal-media { clip-path: inset(14% 8% 14% 8% round var(--r-media)); transition: clip-path 1.3s var(--ease-out); }
.js .reveal-media img { transform: scale(1.12); transition: transform 1.6s var(--ease-out); }
.js .reveal-media.is-in { clip-path: inset(0 0 0 0 round var(--r-media)); }
.js .reveal-media.is-in img { transform: none; }
.js .reveal-fade { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal-fade.is-in { opacity: 1; transform: none; }
.js .cat.reveal-card { opacity: 0; transform: translate3d(0, 40px, 0) scale(0.97); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.js .cat.reveal-card.is-in { opacity: 1; transform: none; }
.js .contact-row.reveal-row { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), background-color 0.8s var(--ease); }
.js .contact-row.reveal-row.is-in { opacity: 1; transform: none; }
.js .overlay.is-open .story { animation: story-in 0.9s var(--ease-out) both; }
.js .overlay.is-open .story:nth-child(2) { animation-delay: 0.09s; }
@keyframes story-in { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
.overlay__title { overflow: hidden; }
.js .overlay__title > span { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform 0.9s 0.1s var(--ease-out); }
.js .overlay.is-open .overlay__title > span { transform: none; }
/* press feedback on touch */
@media (hover: none) {
  .pill:active, .cat:active, .story:active { transform: scale(0.97); transition: transform 0.2s var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal-line > span, .js .reveal-media, .js .reveal-media img, .js .reveal-fade, .js .cat.reveal-card, .js .contact-row.reveal-row, .js .overlay__title > span { transform: none !important; opacity: 1 !important; clip-path: none !important; }
}
