/* ==========================================================================
   Brayan Garzon — Portfolio
   One shared stylesheet for every page. Mobile-first.
   ========================================================================== */

/* ---------- Fonts (self-hosted: faster, private, no third-party requests) ---------- */
@font-face {
  font-family: "Baskervville";
  src: url("../assets/fonts/baskervville-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Baskervville";
  src: url("../assets/fonts/baskervville-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("../assets/fonts/libre-baskerville-latin-700-italic.woff2") format("woff2");
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Archivo Narrow";
  src: url("../assets/fonts/archivo-narrow-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo Narrow";
  src: url("../assets/fonts/archivo-narrow-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --color: #2a2ecd;          /* brand blue — text + illustrations */
  --color-cursor: #5a9cfd;
  --bg: #fcfcfc;

  --font-display: "Baskervville", "Baskerville", "Palatino Linotype", Georgia, serif;
  --font-italic: "Baskervville", "Baskerville", Georgia, serif;
  --font-bold-italic: "Libre Baskerville", "Baskerville", Georgia, serif;
  --font-ui: "Archivo Narrow", "Helvetica Neue Condensed", "Arial Narrow", sans-serif;

  --gutter: clamp(16px, 3vw, 40px);
  --corner: clamp(84px, 14.5vw, 215px);
  --pegasus: clamp(104px, 17.5vw, 260px);
  --knight: clamp(180px, 17vw, 270px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }   /* fallback when Lenis isn't running */

/* Lenis smooth scroll (from lenis.css) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--color);
  font-family: var(--font-display);
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p { margin: 0; }

:focus-visible { outline: 2px solid var(--color); outline-offset: 4px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--color); color: #fff;
  font-family: var(--font-ui); text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: absolute; top: 0; right: 0; z-index: 20;
  padding: clamp(14px, 2.5vw, 34px) clamp(18px, 6vw, 96px) 0 0;
}
.nav-list { display: flex; gap: clamp(22px, 3.5vw, 52px); list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-block; padding: 8px 0;            /* 44px+ tap target with line-height */
  font-family: var(--font-ui); font-weight: 700;
  font-size: clamp(16px, 1.7vw, 26px); line-height: 1.2;
  text-transform: uppercase; letter-spacing: .01em;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size .3s ease;
}
.nav-link:hover { background-size: 100% 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(80px, 12vh, 130px) var(--gutter) clamp(56px, 9vh, 96px);
}

.corner { position: absolute; width: var(--corner); pointer-events: none; user-select: none; }
.corner--tl { top: clamp(64px, 6.5vw, 96px); left: var(--gutter); }
.corner--tr { top: clamp(64px, 6.5vw, 96px); right: var(--gutter); transform: scaleX(-1); }
.corner--bl { bottom: var(--gutter); left: var(--gutter); }
.corner--br { bottom: var(--gutter); right: var(--gutter); }

.hero__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  width: 100%;
}
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 5.2vw, 96px);   /* "Creative Designer" fits between the two top corners */
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.hero__subtitle {
  margin-top: .1em;
  font-family: var(--font-italic); font-style: italic;
  font-size: clamp(20px, 2.9vw, 46px);
  line-height: 1.2;
}

.hero__art {
  position: relative;
  display: flex; align-items: flex-start; justify-content: center;
  gap: clamp(8px, 9vw, 150px);
  margin-top: clamp(28px, 5vh, 56px);
  width: 100%;
}
.knight { width: var(--knight); }

/* Project preview that follows the cursor over a sword (js/preview.js) */
.preview {
  position: fixed; left: 0; top: 0; z-index: 9000;
  width: clamp(168px, 14.5vw, 230px);
  pointer-events: none; visibility: hidden;
  will-change: transform;
}
.preview.is-tall { width: clamp(140px, 12vw, 190px); }   /* portrait images (ASML, Moodify) a bit smaller */
.preview__item {
  /* no card behind it: the page stays visible around the image */
  --pcw: clamp(44px, 3.8vw, 60px);           /* ornate corner size */
  --pcx: calc(var(--pcw) * .85);             /* how far it hangs out sideways */
  --pcy: calc(var(--pcw) * .70);             /* and vertically */
  position: absolute; left: 0; top: 0; width: 100%; display: none;
}
.preview__item.is-active { display: block; position: relative; }   /* gives the card its height */
.preview__frame { position: relative; }
/* Other projects: the big names sit right behind the card, so blur and soften what is behind it */
.preview__frame::before {
  content: ""; position: absolute; z-index: -1; display: none;
  top: calc((var(--pcy) + 84px) * -1); bottom: calc((var(--pcy) + 64px) * -1);
  left: calc((var(--pcx) + 60px) * -1); right: calc((var(--pcx) + 60px) * -1);
  background: rgba(252, 252, 252, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  /* soft, feathered edges instead of a hard box */
  -webkit-mask: linear-gradient(90deg, transparent, #000 50px, #000 calc(100% - 50px), transparent),
                linear-gradient(180deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
  -webkit-mask-composite: source-in;
          mask: linear-gradient(90deg, transparent, #000 50px, #000 calc(100% - 50px), transparent),
                linear-gradient(180deg, transparent, #000 36px, #000 calc(100% - 36px), transparent);
          mask-composite: intersect;
}
.preview.is-other .preview__frame::before { display: block; }
.preview__title, .preview__line {
  display: block; text-align: center; white-space: nowrap;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.preview__title {   /* the project name, above the image (clear of the corners) */
  bottom: calc(100% + var(--pcy) + 6px);
  font-family: var(--font-display); font-size: clamp(20px, 1.7vw, 28px); line-height: 1.1; letter-spacing: .02em;
}
.preview__line {    /* what the project is, under the image */
  top: calc(100% + var(--pcy) + 4px);
  font-family: var(--font-italic); font-style: italic; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.2;
}
.preview__item:not(.has-img) .preview__title, .preview__item:not(.has-img) .preview__line { display: none; }
.preview__item img {
  display: block; width: 100%; height: auto; border-radius: 2px;
  filter: drop-shadow(0 16px 30px rgba(42, 46, 205, .26));
  opacity: 0;
}
.preview__item.has-img img { opacity: 1; }
.preview__corner {
  position: absolute; z-index: 2;
  width: var(--pcw); aspect-ratio: 138 / 133;
  background-color: var(--color);
  -webkit-mask: url(/assets/img/corner-ornate.svg) no-repeat center / contain;
  mask: url(/assets/img/corner-ornate.svg) no-repeat center / contain;
  opacity: 0;
}
.preview__item.has-img .preview__corner { opacity: 1; }
.preview__corner--tl { left: calc(var(--pcx) * -1); top: calc(var(--pcy) * -1); transform: scaleY(-1); }
.preview__corner--tr { right: calc(var(--pcx) * -1); top: calc(var(--pcy) * -1); transform: scale(-1, -1); }
.preview__corner--bl { left: calc(var(--pcx) * -1); bottom: calc(var(--pcy) * -1); }
.preview__corner--br { right: calc(var(--pcx) * -1); bottom: calc(var(--pcy) * -1); transform: scaleX(-1); }
.preview__name {                         /* shown until a real preview image is added */
  display: grid; place-items: center; padding: 56px 12px;
  font-family: var(--font-display); font-size: clamp(22px, 2vw, 32px); letter-spacing: .03em;
}
.preview__item.has-img .preview__name { display: none; }

/* Living flame on the heart (js/flame.js) */
.heart--live { display: block; }
.heart__img { display: block; width: 100%; opacity: 0; }
.flame-canvas { position: absolute; pointer-events: none; }   /* size + position set by flame.js */

/* 2.5D knight (js/knight3d.js): a WebGL canvas replaces the image, with room around it to turn */
.knight3d {
  position: absolute; pointer-events: none;
  left: calc(var(--pad) * -1); top: calc(var(--pad) * -1);
  width: calc(100% + var(--pad) * 2); height: calc(100% + var(--pad) * 2);
}
.has-3d .depth__front { opacity: 0; }

/* 3D depth effect (built by animations.js on mouse/trackpad devices) */
.depth { position: relative; display: block; transform-style: preserve-3d; will-change: transform; }
.depth__front { position: relative; display: block; width: 100%; }
.depth__layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: var(--tilt, 0); }
.depth__shine {
  position: absolute; inset: 0; pointer-events: none;
  transform: translateZ(.5px);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  background: radial-gradient(circle at var(--lx, 50%) var(--ly, 50%), rgba(255, 255, 255, .4), rgba(255, 255, 255, 0) 45%);
  mix-blend-mode: screen;
  opacity: var(--tilt, 0);
}
.pegasus { width: var(--pegasus); margin-top: calc(var(--knight) * -.05); }

.scroll-cue {
  margin-top: clamp(28px, 6vh, 64px);
  font-family: var(--font-italic); font-style: italic;
  font-size: clamp(22px, 3.1vw, 48px);
  line-height: 1.1;
  text-decoration: none;
  animation: nudge 2.4s ease-in-out infinite;
}
.scroll-cue em { font-family: var(--font-bold-italic); font-weight: 700; margin-right: .2em; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Projects ---------- */
/* The projects section is exactly one screen tall (footer included), so the page can't
   scroll past it — together with the snap in animations.js you always land on a full screen. */
.projects {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(24px, 5vh, 64px) var(--gutter) 64px;       /* bottom room for the footer */
  text-align: center;
}
.projects__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: 1.05;
  letter-spacing: .05em;
}
.projects__subtitle {
  margin-top: .15em;
  font-family: var(--font-italic); font-style: italic;
  font-size: clamp(20px, 2.3vw, 34px);
}

/* Heart + four swords crossing in a perfect X behind it.
   Every sword is scaled to the same length, rotated to exactly 45°, and its blade tip
   meets the others at the centre of the heart. Positions are % of the box, so it scales.
   (Numbers generated from the SVGs' actual sword axis — tweak --sword-* only if you redo the art.) */
.swords {
  --sword-scale: .88;                   /* sword size relative to the heart (1 = original) */
  position: relative;
  /* as wide as fits: max 600px, the screen width, and the height left after the text */
  width: min(700px, 100%, calc((100svh - 270px) * 563 / 606));
  margin-top: clamp(8px, 2vh, 24px);
}
.heart {
  position: absolute; z-index: 2;
  pointer-events: none;
}
.sword {                                /* full-size layer per sword; only its blade strip is clickable */
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
}
/* .sword__move slides the drawing; .sword__frame is an invisible copy that stays put and
   holds the clickable strip, so the hover doesn't flicker when the sword moves away. */
.sword__move {
  position: absolute; inset: 0;
  transition: transform .5s cubic-bezier(.65, 0, .35, 1);     /* sliding back in */
}
.sword__art { position: absolute; display: block; }
.sword__frame { aspect-ratio: var(--ar); }
.sword__art img { width: 100%; }
.sword__hit {
  position: absolute; height: 44px; margin-top: -22px;
  transform-origin: 0 50%;
  border-radius: 22px;
}
a.sword .sword__hit { pointer-events: auto; cursor: pointer; }

.sword--left { --ar: 487 / 245; --pull-x: -19.21%; --pull-y: -17.85%; }
.sword--left .sword__art { left: -13.221%; top: 26.767%; width: 64.914%; transform-origin: 97.392% 78.449%; transform: rotate(27.79deg) scale(var(--sword-scale)); }
.sword--left .sword__hit { left: 2.218%; top: 19.837%; width: 55.797%; transform: rotate(17.21deg); }
.sword--left .sword__label { left: 4.265%; top: 8.076%; }
.sword--top-right { --ar: 398 / 436; --pull-x: 19.21%; --pull-y: -17.85%; }
.sword--top-right .sword__art { left: 45.465%; top: 1.606%; width: 53.085%; transform-origin: 8.543% 90.619%; transform: rotate(2.62deg) scale(var(--sword-scale)); }
.sword--top-right .sword__hit { left: 90.678%; top: 8.463%; width: 68.233%; transform: rotate(132.38deg); }
.sword--top-right .sword__label { left: 95.735%; top: 8.076%; }
.sword--down-left { --ar: 350 / 279; --pull-x: -19.21%; --pull-y: 17.85%; }
.sword--down-left .sword__art { left: -6.455%; top: 45.878%; width: 61.383%; transform-origin: 91.971% 10.323%; transform: rotate(-8.66deg) scale(var(--sword-scale)); }
.sword--down-left .sword__hit { left: 7.086%; top: 88.674%; width: 59.017%; transform: rotate(-36.34deg); }
.sword--down-left .sword__label { left: 4.265%; top: 93.066%; }
.sword--right { --ar: 478 / 296; --pull-x: 19.21%; --pull-y: 17.85%; }
.sword--right .sword__art { left: 47.787%; top: 20.227%; width: 63.715%; transform-origin: 3.473% 82.770%; transform: rotate(69.14deg) scale(var(--sword-scale)); }
.sword--right .sword__hit { left: 96.109%; top: 15.743%; width: 56.845%; transform: rotate(155.86deg); }
.sword--right .sword__label { left: 95.735%; top: 93.066%; }
.heart { left: 25.123%; top: 3.962%; width: 49.754%; }
.swords { aspect-ratio: 563 / 606; }

/* Hover / keyboard focus: the sword is drawn out of the heart along its own line,
   far enough that the blade clears the heart (like the Webflow version). */
a.sword:hover .sword__move, a.sword:focus-visible .sword__move {
  transform: translate(var(--pull-x), var(--pull-y));
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);     /* pulling out */
}
a.sword:focus-visible { outline: none; }
a.sword:focus-visible .sword__hit { outline: 2px solid var(--color); outline-offset: 2px; }

/* Project name by each hilt */
.sword__label {
  position: absolute;
  font-family: var(--font-ui); font-weight: 700; text-transform: uppercase;
  font-size: clamp(12px, 1.3vw, 17px); letter-spacing: .03em; white-space: nowrap;
  opacity: 0; transition: opacity .3s ease;
}
.sword--left .sword__label      { transform: translate(0, -170%); }
.sword--top-right .sword__label { transform: translate(-100%, -170%); }
.sword--down-left .sword__label { transform: translate(0, 60%); }
.sword--right .sword__label     { transform: translate(-100%, 60%); }
a.sword:focus-visible .sword__label { opacity: 1; }   /* names show for keyboard users; on phones always */

/* ---------- Other projects (under the heart) ---------- */
/* One screen tall like the sections above it, so the snap lands on it; the footer sits at its bottom. */
.others {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;   /* title sits at the same height as "Curated Projects" */
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(64px, 11vh, 150px) var(--gutter) 88px;
  text-align: center;
}
.others__list {
  width: min(1248px, 100%);
  margin: clamp(40px, 7vh, 96px) 0 0; padding: 0; list-style: none;
}
/* ornament divider above the list and under every project */
.others__list::before, .others__item::after {
  content: ""; display: block;
  aspect-ratio: 1098 / 43;
  background: url(/assets/img/foleon/ornament-blue.webp) center / 100% auto no-repeat;
}
.other {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center;
  gap: 0 clamp(16px, 2.2vw, 32px);
  padding: clamp(8px, 1.6vh, 18px) 8px;
  color: inherit; text-decoration: none; text-align: left;
}
.other__num { font-family: var(--font-ui); font-weight: 700; font-size: 15px; letter-spacing: .06em; opacity: .55; }
.other__name {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(44px, 6.1vw, 88px); line-height: 1.1;
  transition: transform .45s cubic-bezier(.65, 0, .35, 1);
}
.other__line { font-family: var(--font-ui); font-size: clamp(15px, 1.4vw, 20px); opacity: .72; text-align: right; }
.other__arrow {
  font-family: var(--font-ui); font-size: 28px;
  transition: transform .45s cubic-bezier(.65, 0, .35, 1);
}
.other__soon {
  font-family: var(--font-italic); font-style: italic; font-size: clamp(15px, 1.4vw, 19px); opacity: .55;
}
a.other:hover .other__name, a.other:focus-visible .other__name { transform: translateX(14px); }
a.other:hover .other__arrow, a.other:focus-visible .other__arrow { transform: translateX(8px); }
@media (max-width: 700px) {
  .other { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 2px; }
  .other__name { font-size: min(44px, 9vw); white-space: nowrap; }
  .other__line { grid-column: 2 / -1; grid-row: 2; text-align: left; }
  .other__soon { grid-column: 3; grid-row: 1; font-size: 13px; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px var(--gutter) 24px;
  text-align: center;
  font-family: var(--font-ui); font-weight: 700; font-size: 17px;
  text-transform: uppercase; letter-spacing: .04em;
}

/* ---------- Custom cursor (mouse/trackpad only; enabled by main.js) ---------- */
.cursor { display: none; }
.has-cursor .cursor {
  display: block;
  position: fixed; left: 0; top: 0; z-index: 10000;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--color-cursor);
  pointer-events: none;
  transition: width .4s cubic-bezier(.86, 0, .07, 1), height .4s cubic-bezier(.86, 0, .07, 1),
              margin .4s cubic-bezier(.86, 0, .07, 1), opacity .2s;
  opacity: 0;
  will-change: transform;
}
.has-cursor .cursor.is-active { opacity: 1; }
.has-cursor .cursor.is-active.is-hover { width: 36px; height: 36px; margin: -18px 0 0 -18px; opacity: .45; }
/* The dot replaces the normal arrow, so hide the system cursor everywhere */
.has-cursor, .has-cursor * { cursor: none !important; }

/* Soft light that trails behind the dot (only on the dark case study pages) */
.cursor-glow { display: none; }

/* ---------- Phones ---------- */
@media (max-width: 600px) {
  .hero { padding-top: 120px; padding-bottom: 120px; }
  .hero__art { margin-top: 20px; }
  .knight { width: min(50vw, 210px); margin-top: 16vw; }
  .pegasus { position: absolute; top: 0; width: 31vw; margin: 0; }
  .pegasus--left { left: 0; }
  .pegasus--right { right: 0; }
  .sword__label { opacity: 1; }          /* no hover on touch — always show names */
  .sword__hit { height: 56px; margin-top: -28px; }   /* bigger tap target */
}

/* ---------- Tablets held upright: more vertical room, so scale the art up ---------- */
@media (min-width: 601px) and (max-width: 1100px) and (orientation: portrait) {
  :root { --knight: 30vw; --pegasus: 24vw; }
  .hero__title { font-size: 9vw; }
  .hero__subtitle { font-size: 4.2vw; }
  .scroll-cue { font-size: 4.4vw; }
}

/* ---------- Large screens ---------- */
@media (min-width: 1920px) {
  :root { --knight: 330px; --pegasus: 300px; --corner: 250px; }
}

/* ---------- Accessibility: respect reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Case study pages (foleon/, …): dark navy, Archivo Narrow + Baskervville
   ========================================================================== */
.cs {
  --cs-bg: #000729;
  --cs-text: #fff;
  --cs-muted: rgba(255, 255, 255, .68);
  --cs-panel: rgba(255, 255, 255, .06);
  --cs-line: rgba(255, 255, 255, .28);
  --cs-max: 1080px;
  background: var(--cs-bg);
  color: var(--cs-text);
}
.cs .skip-link { background: #fff; color: var(--cs-bg); }
.cs :focus-visible { outline-color: #fff; }
/* Case study pages use the same cursor as the home page: a plain light blue dot */
.cs { --cs-cursor: #8fb2ff; }
.has-cursor .cs .cursor-glow {
  display: block;
  position: fixed; left: 0; top: 0; z-index: 0;   /* behind the content: a light in the background */
  width: 220px; height: 220px; margin: -110px 0 0 -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 160, 255, .30) 0%, rgba(80, 110, 255, .14) 35%, rgba(42, 46, 205, 0) 70%);
  filter: blur(8px);
  pointer-events: none;
  opacity: 0; transition: opacity .4s ease, width .5s ease, height .5s ease, margin .5s ease;
  will-change: transform;
}
.has-cursor .cs .cursor-glow.is-active { opacity: 1; }
.has-cursor .cs .cursor-glow.is-hover { width: 300px; height: 300px; margin: -150px 0 0 -150px; }
.cs .cs-nav, .cs .cs-main, .cs .site-footer { position: relative; z-index: 1; }

.cs-nav {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: clamp(18px, 2.5vw, 36px) clamp(16px, 6.7vw, 96px);
}
.cs-nav .nav-link { font-size: clamp(15px, 1.4vw, 20px); }
.cs-main { max-width: calc(var(--cs-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
.cs-h2 { margin: 0; font-family: var(--font-ui); font-weight: 700; font-size: clamp(28px, 2.5vw, 36px); line-height: 1.2; }
.cs-h2--caps { text-transform: uppercase; }
.cs-h3 { margin: 0; font-family: var(--font-ui); font-weight: 700; font-size: clamp(21px, 1.8vw, 26px); line-height: 1.25; }
.cs-text { margin: 0; font-family: var(--font-ui); font-weight: 400; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; }

/* Hero */
.cs-hero { text-align: center; padding: clamp(40px, 6.7vw, 96px) 0 clamp(32px, 3.9vw, 56px); }
.cs-title {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(60px, 7.2vw, 104px); line-height: 1.15; letter-spacing: .03em; text-transform: uppercase;
}
.cs-sub { margin-top: 6px; font-family: var(--font-ui); font-weight: 700; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.3; }
.cs-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0;
  margin-top: 10px; font-family: var(--font-ui); font-size: clamp(15px, 1.25vw, 18px); color: var(--cs-muted);
}
.cs-meta span + span::before { content: "·"; margin: 0 .7em; }
.cs-skills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0;
  list-style: none; margin: 6px auto 0; padding: 0;
  font-family: var(--font-ui); font-size: clamp(15px, 1.25vw, 18px); color: var(--cs-muted);
}
.cs-skills li + li::before { content: "·"; margin: 0 .7em; }

/* Images */
.cs-media { margin: 0; overflow: hidden; border-radius: 4px; background: var(--cs-panel); }
.cs-media img { width: 100%; height: 100%; object-fit: cover; }
.cs-hero-img { aspect-ratio: 1200 / 630; }

/* Overview */
.cs-overview { padding-top: clamp(64px, 6.7vw, 96px); }
.cs-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 2.8vw, 40px) clamp(48px, 8.3vw, 120px); margin-top: 28px; }
.cs-grid2 .cs-h3 { margin-bottom: 12px; }

/* Sections */
.cs-section { padding-top: clamp(80px, 8.3vw, 120px); }
.cs-ornament { display: block; width: 100%; height: auto; margin-top: 18px; }
.cs-intro, .cs-caption-row {
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 8.3vw, 120px); align-items: start;
}
.cs-intro { margin: 28px 0; }

/* Ad wall: 3 × 3 on desktop, swipeable row on phones */
.cs-adwall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.cs-adwall > li { aspect-ratio: 1; }
.cs-hint { display: none; }

/* Web pages: browser window with a screen recording */
.cs-web { display: grid; gap: clamp(48px, 3.9vw, 56px); }
.cs-browser { overflow: hidden; border: 1px solid var(--cs-line); border-radius: 10px; background: var(--cs-panel); }
.cs-browser__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; }
.cs-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--cs-muted); opacity: .6; }
.cs-browser__bar span { margin-left: 4px; font-family: var(--font-ui); font-size: 14px; color: var(--cs-muted); }
.cs-video { position: relative; aspect-ratio: 1600 / 876; background: #0b1030; }
.cs-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs-caption-row { margin-top: 20px; }
/* Same frame size for both, so before and after line up */
.cs-video--old, .cs-video--new { aspect-ratio: 1280 / 660; }
.cs-video--old video, .cs-video--new video { object-position: center top; }

/* Before / after: two recordings next to each other */
.cs-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.cs-compare__item { margin: 0; }
.cs-compare__label {
  margin: 0 0 12px; font-family: var(--font-ui); font-weight: 700; font-size: 15px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--cs-muted);
}
.cs-compare .cs-play { left: 12px; bottom: 12px; min-height: 36px; padding: 7px 14px 7px 12px; font-size: 13px; gap: 8px; }
.cs-grid2--story { margin-top: clamp(32px, 3.3vw, 48px); }

.cs-play {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 10px 20px 10px 16px;
  border: 0; border-radius: 999px; background: var(--color); color: #fcfcfc; cursor: pointer;
  font-family: var(--font-ui); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase;
  transition: background .2s ease;
}
.cs-play:hover { background: #1f23a6; }
.cs-play__icon {   /* play triangle */
  width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent currentColor;
}
.cs-play.is-playing .cs-play__icon {   /* pause bars */
  width: 12px; height: 14px; border: 0;
  background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px);
}

/* Next project */
.cs-next {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: clamp(96px, 9.7vw, 140px) 0 clamp(64px, 6.7vw, 96px); text-align: center;
}
.cs-next .cs-ornament { margin: 0 0 10px; }
.cs-next__label { margin: 0; font-family: var(--font-ui); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--cs-muted); }
.cs-next__link {
  font-family: var(--font-display); font-size: clamp(56px, 7.2vw, 104px); line-height: 1.1;
  letter-spacing: .03em; text-transform: uppercase; text-decoration: none;
}
.cs-next__link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.cs-back { font-family: var(--font-italic); font-style: italic; font-size: clamp(18px, 1.5vw, 22px); color: var(--cs-muted); text-underline-offset: 4px; }

.site-footer--static { position: static; }
.cs .site-footer { color: var(--cs-muted); }


/* ---------- ASML case study parts ---------- */
.cs-label {
  margin: 10px 0 0; font-family: var(--font-ui); font-weight: 700; font-size: 15px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--cs-muted);
}
/* Five portrait game screens on a panel */
.cs-screens {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  list-style: none; margin: 0; padding: clamp(20px, 3.3vw, 48px);
  border-radius: 4px; background: var(--cs-panel);
}
.cs-screens li { overflow: hidden; border-radius: 10px; aspect-ratio: 480 / 853; background: #0b1030; }
.cs-screens img { width: 100%; height: 100%; object-fit: cover; }

.cs-intro--gap { margin-top: clamp(48px, 5.6vw, 80px); }
.cs-wide img { width: 100%; height: auto; }

/* Paper prototype photos */
.cs-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.cs-photos figure { margin: 0; }
.cs-photos .cs-media { aspect-ratio: 3 / 4; }

/* Design steps of the Light Source minigame */
.cs-steps { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: 20px; align-items: start; }
.cs-steps__item { margin: 0; }
.cs-steps .cs-media { height: clamp(150px, 15vw, 214px); }
.cs-steps .cs-media img { object-position: center; }

/* Portrait recording in a phone frame, with text next to it */
.cs-phone-row { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 4.4vw, 64px); align-items: center; margin-top: clamp(40px, 4.4vw, 64px); }
.cs-phone { overflow: hidden; border: 1px solid var(--cs-line); border-radius: 24px; background: var(--cs-panel); }
.cs-video--phone { aspect-ratio: 540 / 960; }
.cs-phone-row__text .cs-h3 { margin-bottom: 12px; }
.cs-games { display: grid; gap: 22px; list-style: none; margin: 22px 0 0; padding: 0; }
.cs-games li { display: grid; gap: 4px; }
.cs-games__name { font-family: var(--font-ui); font-weight: 700; font-size: 20px; }
.cs-games__text { font-family: var(--font-ui); font-size: 18px; line-height: 1.4; color: var(--cs-muted); }

/* SUPERLOCAL: photo grids, platform screens and screen animations */
.cs-photo-wide { aspect-ratio: 3 / 2; }
.cs-gallery { display: grid; gap: 20px; list-style: none; margin: 20px 0 0; padding: 0; }
.cs-gallery--3 { grid-template-columns: repeat(3, 1fr); }
.cs-gallery--3 .cs-media { aspect-ratio: 2 / 3; }
.cs-gallery--2 { grid-template-columns: 1fr 1fr; }
.cs-gallery--2 .cs-media { aspect-ratio: 3 / 2; }
.cs-gallery .cs-platform, .cs-platform { aspect-ratio: 1800 / 1130; }
.cs-anims { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; margin: clamp(40px, 4.4vw, 64px) 0 0; padding: 0; }
.cs-video--anim { aspect-ratio: 540 / 676; overflow: hidden; border-radius: 6px; }
.cs-credit { margin-top: 28px; }
.cs-anims .cs-play { left: 10px; bottom: 10px; min-height: 34px; padding: 6px 12px 6px 10px; font-size: 13px; gap: 8px; }

/* ==========================================================================
   Light case study: the home page palette, white with brand blue
   ========================================================================== */
.cs--light {
  --cs-bg: #fcfcfc;
  --cs-text: #2a2ecd;
  --cs-muted: rgba(42, 46, 205, .72);
  --cs-panel: rgba(42, 46, 205, .06);
  --cs-line: rgba(42, 46, 205, .26);
  --cs-cursor: #2a2ecd;
}
.cs--light .skip-link { background: #2a2ecd; color: #fcfcfc; }
.cs--light :focus-visible { outline-color: #2a2ecd; }
.has-cursor .cs--light .cursor-glow {
  background: radial-gradient(circle, rgba(42, 46, 205, .14) 0%, rgba(42, 46, 205, .06) 35%, rgba(42, 46, 205, 0) 70%);
}

/* Ornate frame: four engraved corners around a screenshot or a recording.
   The frame sits inside the content column, so the corners never cause sideways scroll. */
.cs-framed {
  --cw: clamp(62px, 10.4vw, 150px);         /* corner size */
  --cx: calc(var(--cw) * .34);              /* how far it hangs out sideways */
  --cy: calc(var(--cw) * .37);              /* and vertically */
  position: relative;
  width: calc(100% - 2 * var(--cx));
  /* the corners hang out past the box, so reserve that room for them */
  margin: calc(var(--cy) + 12px) auto;
}
.cs-framed > .cs-video, .cs-framed > img { border-radius: 2px; }
.cs-framed > .cs-video { overflow: hidden; }
.cs-framed > img { display: block; width: 100%; height: auto; }
.cs-corner {
  position: absolute; z-index: 2;
  width: var(--cw);
  background-color: var(--cs-text);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  pointer-events: none;
}
.cs-corner--tl { left: calc(var(--cx) * -1); top: calc(var(--cy) * -1); }
.cs-corner--tr { right: calc(var(--cx) * -1); top: calc(var(--cy) * -1); }
.cs-corner--bl { left: calc(var(--cx) * -1); bottom: calc(var(--cy) * -1); }
.cs-corner--br { right: calc(var(--cx) * -1); bottom: calc(var(--cy) * -1); }

/* Recordings: the scroll corner. Its natural orientation is the top right. */
.cs-framed .cs-corner {
  aspect-ratio: 150 / 137;
  -webkit-mask-image: url(/assets/img/corner-scroll.svg); mask-image: url(/assets/img/corner-scroll.svg);
}
.cs-framed .cs-corner--tl { transform: scaleX(-1); }
.cs-framed .cs-corner--bl { transform: scale(-1, -1); }
.cs-framed .cs-corner--br { transform: scaleY(-1); }

/* Static images: the heavier corner. Its natural orientation is the bottom left. */
.cs-framed--cover { --cw: clamp(48px, 7vw, 102px); --cx: calc(var(--cw) * .85); --cy: calc(var(--cw) * .70); }
.cs-framed--cover .cs-corner {
  aspect-ratio: 138 / 133;
  -webkit-mask-image: url(/assets/img/corner-ornate.svg); mask-image: url(/assets/img/corner-ornate.svg);
}
.cs-framed--cover .cs-corner--tl { transform: scaleY(-1); }
.cs-framed--cover .cs-corner--tr { transform: scale(-1, -1); }
.cs-framed--cover .cs-corner--bl { transform: none; }
.cs-framed--cover .cs-corner--br { transform: scaleX(-1); }

/* Cover: one ad, framed */
.cs-cover { margin: clamp(28px, 3.4vw, 48px) 0 0; }
.cs-cover .cs-framed { max-width: 450px; margin-block: 6px calc(var(--cy) * .45); }
/* Tall portrait cover (ASML start screen): sized by screen height so it fits in one view */
.cs-cover--portrait .cs-framed { max-width: min(450px, 34vh, calc(100% - 2 * var(--cx))); }
.cs-compare .cs-framed { --cw: clamp(38px, 5.4vw, 78px); }
.cs-phone-row .cs-framed { --cw: clamp(34px, 5.2vw, 80px); }
.cs-anims .cs-framed { --cw: clamp(28px, 3.4vw, 50px); }
.cs-framed > .cs-media, .cs-framed > figure { margin: 0; }
.cs-framed > .cs-phone { border-radius: 24px; }


/* Moodify: smaller source images get a narrower frame so they stay sharp */
.cs-framed--md { max-width: 840px; }
.cs-framed--sm { max-width: 640px; }
/* Brain Rot: two posters next to each other */
.cs-posters { max-width: 860px; margin: 0 auto; gap: clamp(28px, 5vw, 72px); }

/* Polaroid SX-70: landing page, iterations, two phone screens and the live link */
.cs-landing { aspect-ratio: 1440 / 1024; }
.cs-video--sx70 { aspect-ratio: 540 / 918; }
.cs-moodboard { aspect-ratio: 1024 / 729; }
.cs-iterations { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
.cs-iterations .cs-media img { height: auto; }
.cs-phones { display: flex; justify-content: center; gap: clamp(24px, 7vw, 104px); list-style: none; margin: clamp(24px, 3vw, 40px) 0 0; padding: 0; }
.cs-phones .cs-framed { --cw: clamp(34px, 5.2vw, 80px); width: 280px; max-width: 40vw; margin: calc(var(--cy) + 12px) 0; }
.cs-phones .cs-phone img { display: block; width: 100%; height: auto; }
.cs-try { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin: clamp(24px, 2.8vw, 40px) 0 0; font-family: var(--font-ui); }
.cs-try__link { font-weight: 700; font-size: 20px; text-underline-offset: 4px; }
.cs-try__link:hover { text-decoration-thickness: 2px; }
.cs-try__text { font-size: clamp(16px, 1.25vw, 18px); color: var(--cs-muted); }

/* Tablet */
@media (max-width: 1000px) {
  .cs-intro, .cs-caption-row { grid-template-columns: 220px 1fr; }
}
/* Phone */
@media (max-width: 700px) {
  .cs-meta { flex-direction: column; gap: 2px; }
  .cs-meta span + span::before { content: none; }
  .cs-skills { gap: 2px 14px; margin-top: 12px; }
  .cs-skills li + li::before { content: none; }
  .cs-grid2, .cs-intro, .cs-caption-row { grid-template-columns: 1fr; gap: 10px; }
  .cs-grid2 { gap: 28px; }
  .cs-intro { margin: 20px 0 24px; }
  .cs-caption-row { margin-top: 14px; }
  .cs-compare { grid-template-columns: 1fr; gap: 28px; }
  .cs-screens {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42%; gap: 10px;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px; scrollbar-width: none;
  }
  .cs-screens::-webkit-scrollbar { display: none; }
  .cs-screens li { scroll-snap-align: start; }
  .cs-wide { overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); border-radius: 0; }
  .cs-framed > .cs-wide { margin: 0; }
  .cs-wide::-webkit-scrollbar { display: none; }
  .cs-wide img { width: 260%; max-width: none; }
  .cs-photos { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  /* One long word (SUPERLOCAL) must fit the screen width */
  .cs-title--long, .cs-next__link--long { font-size: 10.5vw; letter-spacing: .01em; }
  .cs-title--xlong { font-size: 9vw; }
  .cs-iterations { gap: 12px; }
  .cs-iterations .cs-wide img { width: 260%; }
  .cs-phones { gap: 16px; }
  .cs-phones .cs-framed { --cw: clamp(26px, 8vw, 40px); }
  .cs-phones .cs-phone { width: auto; }
  .cs-gallery { gap: 12px; margin-top: 12px; }
  .cs-gallery--3 { grid-template-columns: 1fr 1fr; }
  .cs-gallery--3 > li:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .cs-gallery--2 { grid-template-columns: 1fr; }
  .cs-anims {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .cs-anims::-webkit-scrollbar { display: none; }
  .cs-anims > li { scroll-snap-align: center; }
  .cs-steps { grid-template-columns: 1fr; gap: 24px; }
  .cs-steps .cs-media { height: auto; }
  .cs-steps .cs-media img { height: auto; }
  .cs-steps__item:not(.cs-steps__item--wide) { max-width: 60%; }
  .cs-phone-row { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
  .cs-phone { width: min(300px, 80vw); }
  .cs-phone-row__text { justify-self: stretch; }
  .cs-adwall {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .cs-adwall::-webkit-scrollbar { display: none; }
  .cs-adwall > li { scroll-snap-align: center; }
  .cs-hint {
    display: block; margin: 12px 0 0; font-family: var(--font-ui); font-weight: 700; font-size: 13px;
    letter-spacing: .06em; text-transform: uppercase; color: var(--cs-muted);
  }
  .cs-browser { border-radius: 8px; }
  .cs-browser__bar { padding: 9px 12px; gap: 6px; }
  .cs-browser__bar i { width: 8px; height: 8px; }
  .cs-browser__bar span { font-size: 12px; }
  .cs-play { left: 10px; bottom: 10px; min-height: 36px; padding: 7px 14px 7px 12px; font-size: 13px; gap: 8px; }
}

/* ==========================================================================
   About page (light, like the home page)
   ========================================================================== */
.ab-main { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.ab-hero { text-align: center; padding: clamp(24px, 4vw, 56px) 0 clamp(40px, 5.5vw, 80px); }
.ab-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 6.2vw, 92px); line-height: 1.05; }
.ab-sub { margin-top: 10px; font-family: var(--font-italic); font-style: italic; font-size: clamp(18px, 1.7vw, 24px); opacity: .8; }

.ab-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }

/* Three polaroids: one big on top, two tilted below it */
.ab-photos { position: relative; width: 100%; max-width: 500px; aspect-ratio: 500 / 640; margin: 0 auto; }
.ab-photo { position: absolute; height: auto; filter: drop-shadow(0 10px 18px rgba(20, 22, 80, .16)); }
.ab-photo--main { left: 25%; top: 0; width: 50%; }
.ab-photo--left { left: 3%; top: 50%; width: 38%; transform: rotate(3deg); }
.ab-photo--right { right: 3%; top: 49.5%; width: 38%; transform: rotate(-3deg); }

.ab-text { display: grid; gap: clamp(44px, 4.5vw, 64px); max-width: 640px; }
.ab-section p { font-family: var(--font-ui); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; }
.ab-section p + p { margin-top: 14px; }
.ab-h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 2.8vw, 42px); line-height: 1.15; }
.ab-ornament { width: 100%; height: auto; margin: 12px 0 22px; }

.ab-contact { display: grid; gap: 12px; margin: 0; }
.ab-contact div { display: grid; grid-template-columns: 120px 1fr; align-items: baseline; gap: 12px; }
.ab-contact dt { font-family: var(--font-ui); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.ab-contact dd { margin: 0; font-family: var(--font-ui); font-size: clamp(17px, 1.45vw, 21px); overflow-wrap: anywhere; }
.ab-contact a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.ab-contact a:hover { text-decoration-thickness: 2px; }

.ab .site-footer { margin-top: clamp(72px, 8vw, 120px); }

@media (min-width: 861px) {
  .ab-photos { position: sticky; top: 48px; }   /* photos stay in view while the text scrolls */
}
@media (max-width: 860px) {
  .ab-grid { grid-template-columns: 1fr; }
  .ab-photos { max-width: 420px; }
  .ab-text { max-width: none; }
}
@media (max-width: 480px) {
  .ab-contact div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Home: the name that travels (see js/trail.js) ---------- */
.trail {
  position: fixed; left: 0; top: 0; z-index: 45;
  display: grid; place-items: center;
  text-decoration: none; color: inherit;
  visibility: hidden; pointer-events: none;
}
.trail > * { grid-area: 1 / 1; white-space: nowrap; }
.trail__l { display: inline-block; will-change: transform, opacity; }
.trail__name {
  font-family: var(--font-italic); font-style: italic;
  font-size: clamp(20px, 2.9vw, 46px); line-height: 1.2;
  pointer-events: none;
}
.trail__foot {
  font-family: var(--font-ui); font-weight: 700; font-size: 17px;
  text-transform: uppercase; letter-spacing: .04em;
  pointer-events: none;
}
.trail__seal { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; pointer-events: auto; }
.trail__seal svg:first-child { width: clamp(48px, 4.2vw, 64px); height: auto; filter: drop-shadow(0 2px 6px rgba(42, 46, 205, .25)); }
.trail.is-calling .trail__seal svg:first-child { animation: seal-call 1.6s ease-in-out infinite; }
.trail.is-calling .trail__chev { animation: chev-call 1.6s ease-in-out infinite; }
@keyframes seal-call {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: .45; transform: scale(.94); }
}
@keyframes chev-call {
  0%, 100% { opacity: .3; transform: translateY(-2px); }
  50%      { opacity: 1;  transform: translateY(4px); }
}
@media (max-width: 700px) { .trail__name { font-size: 4.2vw; } }
