/* ==========================================================================
   Amine portfolio. Riso-print poster system derived from the blackletter mark.
   Tokens and rules follow DESIGN.md, which is the source of truth.
   Every colour below is sampled from the logo file.
   ========================================================================== */

:root {
  /* colour: one blue ramp plus bone. No third hue. ---------------------- */
  --blue:       #155DA4;   /* page field, the mark's own blue */
  --blue-deep:  #0E4176;   /* card mounts, panels */
  --blue-shade: #08427C;   /* vignette, deep borders */
  --blue-lift:  #2777BE;   /* hover wash */
  --bone:       #ECE7E1;   /* ink, keylines, and the single accent fill */
  --bone-mute:  #C9D8E8;   /* secondary text. 4.62:1 on blue */
  --ink:        #0A1B2E;   /* text on a bone fill. 14.13:1 */

  --keyline:      rgba(236, 231, 225, 0.30);
  --keyline-soft: rgba(236, 231, 225, 0.16);

  /* type --------------------------------------------------------------- */
  --f-display: 'UnifrakturCook', 'Papyrus', serif;   /* masthead only */
  --f-body:    'Geist', system-ui, -apple-system, sans-serif;
  --f-label:   'Archivo Narrow', 'Helvetica Neue', Arial, sans-serif;
  --f-arabic:  'IBM Plex Sans Arabic', 'Geist', system-ui, sans-serif;

  /* space and shape ---------------------------------------------------- */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --rhythm: clamp(4.5rem, 9vw, 7rem);
  --maxw:   1240px;

  /* Radius by role. Three steps, applied everywhere, nothing outside them. */
  --r-pill:  999px;   /* anything you click */
  --r-panel: 20px;    /* panels, cards, the display ad, the lightbox stage */
  --r-media: 12px;    /* images and video plates inside a panel */

  /* Newspaper rules, three weights, used structurally. */
  --rule-hair:  rgba(236, 231, 225, 0.18);
  --rule-mid:   rgba(236, 231, 225, 0.34);

  /* The one Y2K surface cue. */
  --gloss: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 52%);

  /* motion ------------------------------------------------------------- */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:  240ms;

  /* layers (documented scale, no ad-hoc z-index) ------------------------ */
  --z-texture:  0;   /* behind content: the work must never sit under the dots */
  --z-content:  1;
  --z-header:  10;
  --z-lightbox: 20;
}

/* ---------- reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  background: var(--blue);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

/* Two fixed, inert texture layers, both lifted from the logo file: the printed
   dot grid and the corner falloff. Fixed so neither repaints on scroll, and
   held behind the content layer so neither ever veils the artwork. */
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-texture);
}
body::before {                                   /* halftone */
  opacity: 0.09;
  background-image: radial-gradient(circle, var(--bone) 1px, transparent 1px);
  background-size: 6px 6px;
}
body::after {                                    /* vignette */
  background: radial-gradient(ellipse at center,
              transparent 42%, rgba(8, 66, 124, 0.55) 100%);
}

/* Content rides above the texture layers. */
main, .ftr { position: relative; z-index: var(--z-content); }

/* ---------- shared primitives ---------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--rhythm); scroll-margin-top: 84px; }
.section + .section { border-top: 1px solid var(--keyline-soft); }

/* Blackletter is rationed like a masthead: wordmark, hero, section heads.
   Never body copy, card titles, labels, or buttons. */
.h-display {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.12;
  text-wrap: balance;
}
.h-sect { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.lede   { color: var(--bone-mute); max-width: 62ch; }

/* Eyebrow. Budget is 2 for the whole page, see DESIGN.md. */
.eyebrow {
  font-family: var(--f-label);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--bone-mute);
}

.ico { width: 1em; height: 1em; fill: currentColor; }

.skip {
  position: absolute; left: var(--gutter); top: -4rem;
  z-index: 100; padding: 0.7rem 1rem;
  background: var(--bone); color: var(--ink);
  border-radius: var(--r-pill); font-weight: 500;
  transition: top var(--dur) var(--ease);
}
.skip:focus { top: 0.75rem; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--bone);
  outline-offset: 3px;
}

/* ---------- buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 0.95rem; font-weight: 500;
  text-decoration: none; white-space: nowrap;   /* CTA never wraps */
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn--primary { background: var(--bone); color: var(--ink); }   /* 14.13:1 */
.btn--primary:hover { background: #FFFEFA; }
.btn--ghost { border-color: var(--keyline); color: var(--bone); }
.btn--ghost:hover { border-color: var(--bone); background: rgba(236, 231, 225, 0.08); }
.btn:active { transform: translateY(1px); }
.btn .ico { font-size: 1.1em; }

/* ---------- work ------------------------------------------------------ */
.work__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }

.tabs { display: flex; gap: 0.4rem; border: 1px solid var(--keyline); border-radius: var(--r-pill); padding: 0.3rem; }
.tab {
  padding: 0.5rem 1.05rem; border: 0; background: none;
  border-radius: var(--r-pill); color: var(--bone-mute);
  font-size: 0.88rem; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tab:hover { color: var(--bone); }
.tab[aria-selected='true'] { background: var(--bone); color: var(--ink); }
.tab__n { font-family: var(--f-label); font-size: 0.78em; opacity: 0.7; margin-left: 0.35rem; }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.chip {
  padding: 0.42rem 0.95rem;
  border: 1px solid var(--keyline-soft); background: none; color: var(--bone-mute);
  border-radius: var(--r-pill);
  font-family: var(--f-label); font-weight: 600; font-size: 0.76rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.chip:hover { color: var(--bone); border-color: var(--keyline); }
.chip[aria-pressed='true'] { color: var(--bone); border-color: var(--bone); }

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.75rem); grid-template-columns: 1fr; }
@media (min-width: 700px)  { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } }
[hidden] { display: none !important; }

.card__hit { display: block; text-decoration: none; }
/* Each piece is mounted on a deeper blue plate with a bone keyline, so the
   saturated artwork never sits straight on the field. */
.card__frame {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--blue-deep);
  border: 1px solid var(--keyline-soft);
  border-radius: var(--r-media);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease); }
.card__play, .card__zoom {
  position: absolute; inset: auto auto 0.75rem 0.75rem;
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem;
  background: var(--bone); color: var(--ink);
  border-radius: var(--r-pill); font-size: 1rem;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card__hit:hover .card__frame,
.card__hit:focus-visible .card__frame { border-color: var(--bone); transform: translateY(-2px); }
.card__hit:hover .card__frame img,
.card__hit:focus-visible .card__frame img { transform: scale(1.02); }
.card__hit:hover .card__play, .card__hit:focus-visible .card__play,
.card__hit:hover .card__zoom, .card__hit:focus-visible .card__zoom { opacity: 1; transform: translateY(0); }

.card__meta { display: block; padding-top: 0.85rem; }
.card__title { display: block; font-size: 0.98rem; font-weight: 500; line-height: 1.4; }
.card__title[lang='ar'] { font-family: var(--f-arabic); font-size: 1.05rem; }
/* Align the whole meta block with an Arabic title so the English descriptor
   and category do not float away from it. Degrades to left-aligned. */
.card__meta:has(.card__title[lang='ar']) { text-align: right; }
.card__sub, .card__credit, .card__cat { display: block; color: var(--bone-mute); font-size: 0.85rem; margin-top: 0.2rem; }
.card__cat { font-family: var(--f-label); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 0.5rem; }
.card__credit { color: var(--bone); }

.empty { padding: 3rem 0; color: var(--bone-mute); }

/* ---------- footer ---------------------------------------------------- */
.ftr { padding-block: 2.5rem; }
.ftr__in { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; color: var(--bone-mute); font-size: 0.85rem; }
.ftr__mark { height: 26px; width: auto; opacity: 0.85; }

/* ---------- lightbox -------------------------------------------------- */
.lb {
  position: fixed; inset: 0; z-index: var(--z-lightbox);
  /* The dialog UA stylesheet sets width/height to fit-content and caps
     max-width, which defeats inset:0 and leaves the overlay covering only
     part of the viewport. Neutralise all four. */
  width: auto; height: auto;
  max-width: none; max-height: none;
  display: none; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8, 66, 124, 0.95);
  border: 0;
}
.lb[open] { display: grid; }
.lb::backdrop { background: transparent; }
.lb__stage {
  position: relative; width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  background: var(--blue-deep);
  border: 1px solid var(--keyline);
  border-radius: var(--r-panel);
  overflow: hidden;
}
.lb__stage iframe, .lb__stage img { width: 100%; height: 100%; border: 0; object-fit: contain; }
.lb__spin {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--bone-mute); font-family: var(--f-label); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.14em;
}
.lb__cap { margin-top: 1rem; color: var(--bone-mute); font-size: 0.9rem; text-align: center; max-width: 62ch; }
.lb__cap[lang='ar'] { font-family: var(--f-arabic); }
.lb__btn {
  position: absolute; display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  background: var(--bone); color: var(--ink);
  border: 1px solid var(--bone); border-radius: var(--r-pill);
  font-size: 1.15rem; cursor: pointer;
  transition: opacity var(--dur) var(--ease);
}
.lb__btn:hover { opacity: 0.82; }
.lb__close { top: clamp(1rem, 4vw, 3rem); right: clamp(1rem, 4vw, 3rem); }
.lb__prev  { left: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lb__next  { right: clamp(0.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }

/* ---------- motion ---------------------------------------------------- */
/* Scroll reveal. Fired once by IntersectionObserver, never a scroll listener. */
.reveal { opacity: 0; transform: translateY(12px); }
.js .reveal { transition: opacity 520ms var(--ease), transform 520ms var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .card__hit:hover .card__frame,
  .card__hit:hover .card__frame img { transform: none; }
  .card__play, .card__zoom { opacity: 1; transform: none; }
}

/* ==========================================================================
   Y2K TABLOID LAYER
   Newspaper structure (nameplate, ruled bands, decks, captions, drop caps,
   column rules) with Y2K surface (soft corners, pill controls, one gloss).
   ========================================================================== */

/* ---------- rules: structural, never decorative ----------------------- */
.rule { width: 100%; }
.rule--mid   { height: 1px; background: var(--rule-mid); }
.rule--heavy { height: 3px; background: var(--bone); position: relative; margin-bottom: 5px; }
.rule--heavy::after {
  content: ''; position: absolute; left: 0; right: 0; top: 6px;
  height: 1px; background: var(--bone);
}

/* Section band: a ruled opener carrying the section's name, the way a
   newspaper names a page. One per section, never floating above a headline. */
.band {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem;
}
.band::after {
  content: ''; flex: 1; height: 1px; background: var(--rule-mid);
}
.band--spaced { margin-top: var(--rhythm); }
.band__label {
  font-family: var(--f-label); font-weight: 700;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink); background: var(--bone);
  padding: 0.3rem 0.85rem; border-radius: var(--r-pill);
  white-space: nowrap;
}

/* Deck: the condensed line under a headline. */
.deck {
  font-family: var(--f-label); font-weight: 500;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.45;
  color: var(--bone-mute); max-width: 54ch;
}

/* Caption: sits under a picture, closed by a hairline. */
.caption {
  font-family: var(--f-label); font-weight: 500;
  font-size: 0.85rem; line-height: 1.4; color: var(--bone-mute);
  margin-top: 0.7rem; padding-top: 0.6rem;
  border-top: 1px solid var(--rule-hair);
}

/* ---------- masthead --------------------------------------------------- */
.masthead { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.masthead__in {
  display: grid; justify-items: center; gap: 0.6rem;
  text-align: center;
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
}
.masthead__kicker {
  font-family: var(--f-label); font-weight: 500;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--bone-mute);
}
/* The nameplate is centred on purpose: this is an editorial masthead, the one
   composition where centring is the correct move rather than a default. */
/* The mark alone is the nameplate: it is already the A of Amine, so setting the
   name beside it in the same blackletter doubled the letterform. */
.nameplate { display: block; text-decoration: none; }
.nameplate img { height: clamp(56px, 8vw, 92px); width: auto; }

/* The sticky sentinel needs real geometry: a zero-area target gives
   IntersectionObserver nothing to measure. */
#hdr-sentinel { display: block; height: 1px; margin-bottom: -1px; }

/* ---------- sticky subnav ---------------------------------------------- */
.subnav {
  position: sticky; top: 0; z-index: var(--z-header);
  /* Transparent at rest so the halftone runs unbroken through it; opaque only
     once it lifts off the masthead and has content passing underneath. */
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.subnav[data-stuck='true'] { background: var(--blue); border-bottom-color: var(--rule-mid); }
.subnav__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 60px;                       /* cap is 80px */
}
.subnav__nav { display: flex; align-items: center; gap: 1.6rem; }
.subnav__nav a {
  font-family: var(--f-label); font-weight: 600;
  font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--bone-mute); text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.subnav__nav a:hover { color: var(--bone); }
.subnav .btn { padding: 0.5rem 1rem; font-size: 0.9rem; }
/* Keep the bar on one line on a phone: the section links stay useful, so they
   tighten rather than disappear, and the CTA never gets pushed off the edge. */
@media (max-width: 700px) {
  .subnav__in { gap: 0.75rem; }
  .subnav__nav { gap: 1rem; min-width: 0; }
  .subnav__nav a { font-size: 0.78rem; letter-spacing: 0.06em; }
  .subnav .btn { padding: 0.5rem 0.8rem; font-size: 0.84rem; }
}

/* ---------- lead story -------------------------------------------------- */
.lead { padding-top: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.lead__in { text-align: center; }
.lead__h {
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  margin: 0 auto 1.1rem;
  max-width: 26ch;
}
.lead__deck { margin: 0 auto; }
  .lead__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-top: 1.6rem; }

/* ---------- services: info cards ---------------------------------------- */
/* Text-only by request. The page carries 49 real images elsewhere, so these
   three carry the detail instead of repeating the artwork. */
.spread { display: grid; gap: clamp(1rem, 2.2vw, 1.5rem); grid-template-columns: 1fr; }
@media (min-width: 780px)  { .spread { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .spread { grid-template-columns: repeat(3, 1fr); } }
.svc {
  display: flex; flex-direction: column;
  background: var(--blue-deep);
  border: 1px solid var(--keyline-soft);
  border-radius: var(--r-panel);
  padding: clamp(1.35rem, 2.6vw, 1.9rem);
}
.svc__tag {
  align-self: flex-start;
  font-family: var(--f-label); font-weight: 700;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink); background: var(--bone);
  padding: 0.24rem 0.7rem; border-radius: var(--r-pill);
}
.svc__h {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.12;
  margin: 0.85rem 0 0.5rem;
}
.svc p { color: var(--bone-mute); font-size: 0.95rem; }
.svc p + p { margin-top: 0.9rem; }


/* ---------- about: drop cap + two columns -------------------------------- */
.about { display: grid; gap: clamp(1rem, 3vw, 2.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: 0.8fr 1.2fr; } }
.about__lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--bone); }
.about__body p { color: var(--bone-mute); }
.about__cols { margin-top: 1.25rem; display: grid; gap: 1.25rem; }
@media (min-width: 720px) {
  .about__cols { grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.25rem); }
  .about__cols > :last-child {
    border-left: 1px solid var(--rule-hair);
    padding-left: clamp(1.25rem, 3vw, 2.25rem);
  }
}
/* Drop cap in the display face, the way a feature opens. */
.dropcap::first-letter {
  font-family: var(--f-display); font-weight: 700;
  float: left; font-size: 3.6em; line-height: 0.78;
  padding: 0.06em 0.1em 0 0; color: var(--bone);
}

/* ---------- contact: display ad ------------------------------------------ */
/* A bone panel contained inside the blue section, the way a display ad sits on
   a newspaper page. Contained, so the page never flips theme mid-scroll. */
.advert {
  background: var(--bone); color: var(--ink);
  border-radius: var(--r-panel);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  max-width: 900px; margin-inline: auto; text-align: center;
  position: relative; overflow: hidden;
}
.advert::before {                                   /* the one Y2K gloss */
  content: ''; position: absolute; inset: 0 0 auto 0; height: 46%;
  background: var(--gloss); opacity: 0.5; pointer-events: none;
}
.advert > * { position: relative; }
.advert__label {
  display: inline-block;
  font-family: var(--f-label); font-weight: 700;
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--bone); background: var(--blue);
  padding: 0.3rem 0.85rem; border-radius: var(--r-pill);
}
.advert__deck {
  font-family: var(--f-label); font-weight: 500;
  font-size: clamp(1rem, 1.5vw, 1.15rem); color: #3C4C60;
  max-width: 48ch; margin: 0 auto 1.75rem;
}
.contact__h {
  color: var(--ink);
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin: 1rem 0 0.9rem;
}
.contact__cta {
  display: flex; flex-wrap: wrap; gap: 0.7rem;
  justify-content: center; margin-bottom: 1.75rem;
}
.social { display: flex; gap: 0.6rem; }
.social a {
  display: grid; place-items: center; width: 2.7rem; height: 2.7rem;
  border: 1px solid var(--keyline); border-radius: var(--r-pill);
  color: var(--bone-mute); font-size: 1.15rem;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.social a:hover { color: var(--ink); border-color: var(--bone); background: var(--bone); }
.advert .social { justify-content: center; }
.advert .social a { border-color: rgba(10, 27, 46, 0.28); color: #3C4C60; }
.advert .social a:hover { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.btn--ink { background: var(--blue); color: var(--bone); }
.btn--ink:hover { background: var(--blue-deep); }
.btn--outline { border-color: rgba(10, 27, 46, 0.3); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: rgba(10, 27, 46, 0.06); }

/* ---------- footer ------------------------------------------------------- */
.ftr__in { padding-top: 1.25rem; }

/* ---------- lead routes: the two ways into the work ---------------------- */
.routes {
  display: grid; gap: clamp(1rem, 2.4vw, 1.75rem);
  grid-template-columns: 1fr;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
  text-align: left;
}
@media (min-width: 860px) { .routes { grid-template-columns: 1fr 1fr; } }

.route {
  display: block; text-decoration: none;
  background: var(--blue-deep);
  border: 1px solid var(--keyline-soft);
  border-radius: var(--r-panel);
  padding: clamp(0.75rem, 1.4vw, 1rem);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.route:hover, .route:focus-visible { border-color: var(--bone); transform: translateY(-2px); }
.route__fig { display: block; overflow: hidden; border-radius: var(--r-media); }
.route__fig img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  transition: transform var(--dur) var(--ease);
}
.route:hover .route__fig img, .route:focus-visible .route__fig img { transform: scale(1.02); }
.route__body { display: block; padding: clamp(1rem, 2vw, 1.35rem) 0.35rem 0.35rem; }
.route__label {
  display: inline-block;
  font-family: var(--f-label); font-weight: 700;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--ink); background: var(--bone);
  padding: 0.24rem 0.7rem; border-radius: var(--r-pill);
}
.route__h {
  display: block; font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0.7rem 0 0.35rem;
}
.route__deck {
  display: block; font-family: var(--f-label); font-weight: 500;
  font-size: 0.98rem; color: var(--bone-mute);
}
.route__go {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.9rem;
  font-family: var(--f-label); font-weight: 600;
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--bone);
}
.route__go .ico { font-size: 1.05em; transition: transform var(--dur) var(--ease); }
.route:hover .route__go .ico { transform: translate(2px, -2px); }

@media (prefers-reduced-motion: reduce) {
  .route:hover, .route:hover .route__fig img, .route:hover .route__go .ico { transform: none; }
}
