/* ============================================================
   HEXATE — style.css
   Light gallery surfaces, didone display type, one violet.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --paper:    #f4f4f9;   /* page */
  --surface:  #ffffff;   /* cards */
  --wash:     #ebebf5;   /* tinted fills */

  --ink:      #171717;
  --ink-soft: #4a4a55;
  --ink-dim:  #82828f;

  --violet:      #603c94;
  --violet-deep: #4c2f76;
  --violet-wash: rgba(96, 60, 148, 0.08);

  --line:   rgba(23, 23, 23, 0.10);
  --line-2: rgba(23, 23, 23, 0.20);

  --void: #101010;       /* loading screen only */

  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.5rem, 5.5vw, 5.5rem);
  --section-gap: clamp(3.75rem, 6.5vw, 6rem);
  --max:    1280px;
  --r:      5px;

  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-loading, body.is-locked { overflow: hidden; }

img, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }

/* author `display` rules outrank the UA sheet, so [hidden] needs restating */
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--violet); color: #fff; }

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

/* ---------- Shared type ---------- */
.label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1em 2.1em;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease),
              color 0.5s var(--ease), transform 0.5s var(--ease),
              box-shadow 0.5s var(--ease);
}

.btn--solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn--solid:hover {
  background: var(--violet);
  border-color: var(--violet);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(96, 60, 148, 0.7);
}

.btn--ghost { color: var(--ink-soft); }
.btn--ghost:hover {
  color: var(--violet);
  border-color: var(--violet);
  transform: translateY(-2px);
}

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ============================================================
   Loading screen — the one dark surface
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  background: var(--void);
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}

.loader.is-done { opacity: 0; visibility: hidden; }

.loader__mark { width: min(180px, 40vw); }
.loader__mark svg { width: 100%; height: auto; overflow: visible; }

.loader__stroke {
  fill: none;
  stroke: #f2f2f8;
  stroke-width: 7;
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
  animation: draw 2s var(--ease) forwards;
}
.loader__stroke:nth-of-type(2) { animation-delay: 0.16s; }

.loader__dot {
  fill: #8b6bc7;
  opacity: 0;
  transform-origin: 617px 382px;
  animation: dot 0.7s var(--ease) 1.05s forwards;
}

@keyframes draw {
  0%   { stroke-dashoffset: 2600; }
  70%  { stroke-dashoffset: 0; fill: rgba(242, 242, 248, 0); }
  100% { stroke-dashoffset: 0; fill: rgba(242, 242, 248, 1); stroke: rgba(242, 242, 248, 0); }
}

@keyframes dot {
  from { opacity: 0; transform: scale(0.2); }
  to   { opacity: 1; transform: scale(1); }
}

.loader__meter {
  width: min(180px, 40vw);
  height: 1px;
  background: rgba(242, 242, 248, 0.18);
  overflow: hidden;
}

.loader__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: #8b6bc7;
  transition: width 0.3s linear;
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding-inline: var(--gutter);
}

/* the blur lives on a pseudo-element: backdrop-filter on .nav itself would
   make it the containing block for the fixed-position mobile menu panel */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(244, 244, 249, 0.82);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.nav.is-stuck::before { opacity: 1; }

.nav__mark { position: relative; z-index: 2; width: 44px; flex: none; }
.nav__mark svg { width: 100%; height: auto; fill: var(--ink); transition: opacity 0.4s var(--ease); }
.nav__mark:hover svg { opacity: 0.6; }
.nav__dot { fill: var(--violet); }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  margin-inline-start: auto;
}

.nav__links a {
  position: relative;
  padding-block: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  transition: color 0.4s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--violet);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__links a.is-active { color: var(--ink); }

.nav__toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 44px; height: 44px;
  margin-inline-start: auto;
}
.nav__toggle span {
  position: absolute;
  left: 10px;
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.5s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 19px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ============================================================
   Hero — mark left, words right
   ============================================================ */
.hero {
  max-width: var(--max);
  margin-inline: auto;
  padding: calc(var(--nav-h) + clamp(2rem, 6vh, 5rem)) var(--gutter) clamp(4rem, 10vh, 8rem);
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero__grid {
  width: 100%;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
}

.hero__stage {
  position: relative;
  height: clamp(300px, 50vh, 540px);
  isolation: isolate;
}

.hero__canvas { width: 100%; height: 100%; }

/* soft contact shadow so the mark sits on the page */
.hero__cast {
  position: absolute;
  left: 50%; bottom: 4%;
  z-index: -1;
  width: 62%; height: 46px;
  translate: -50% 0;
  background: radial-gradient(ellipse at center, rgba(23, 23, 23, 0.19) 0%, rgba(23, 23, 23, 0.06) 45%, transparent 72%);
  filter: blur(8px);
}

.hero__fallback {
  width: min(300px, 70%);
  margin: 0 auto;
  position: absolute;
  inset: 0;
  height: auto;
  align-self: center;
}

.hero__line {
  font-size: clamp(2.25rem, 4.1vw, 3.4rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.hero__actions {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* entrance choreography */
.hero__line, .hero__actions {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
body.is-ready .hero__line    { opacity: 1; transform: none; transition-delay: 0.3s; }
body.is-ready .hero__actions { opacity: 1; transform: none; transition-delay: 0.45s; }

/* ============================================================
   Sections
   ============================================================ */
/* <html> already reserves the nav via scroll-padding-top, so an anchored
   section only has to cancel its own top padding — otherwise the jump lands
   on a screenful of whitespace above the heading. */
.section {
  max-width: var(--max);
  margin-inline: auto;
  padding: var(--section-gap) var(--gutter) 0;
  scroll-margin-top: calc(-1 * var(--section-gap));
}

.section--contact {
  padding-block: var(--section-gap);
}

.head {
  max-width: 58ch;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.head__title {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

/* ============================================================
   Card grids
   ============================================================ */
.grid {
  display: grid;
  gap: clamp(2rem, 3.2vw, 2.75rem) clamp(1.25rem, 2.2vw, 2rem);
}

.grid--videos { grid-template-columns: repeat(2, 1fr); }
.grid--motion { grid-template-columns: repeat(2, 1fr); }
.grid--thumbs { grid-template-columns: repeat(3, 1fr); }

/* ---------- Shared card shell ---------- */
.card { position: relative; }
.card--wide { grid-column: 1 / -1; }

.card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--wash);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease),
              border-color 0.7s var(--ease);
}

.card__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: transform 1.1s var(--ease), opacity 0.8s var(--ease);
}
.card__frame img.is-loaded { opacity: 1; }

.card__frame:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
  box-shadow: 0 30px 60px -32px rgba(23, 23, 23, 0.5);
}
.card__frame:hover img { transform: scale(1.035); }

.card__play {
  position: absolute;
  left: 50%; top: 50%;
  translate: -50% -50%;
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px -8px rgba(23, 23, 23, 0.45);
  transition: background-color 0.5s var(--ease), scale 0.5s var(--ease);
}
.card__play svg { width: 15px; height: 15px; fill: var(--ink); translate: 2px 0; transition: fill 0.5s var(--ease), stroke 0.5s var(--ease); }
.card__frame:hover .card__play { background: var(--violet); scale: 1.08; }
.card__frame:hover .card__play svg { fill: #fff; }

.card__play--open svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); translate: 0; }
.card__frame:hover .card__play--open svg { fill: none; stroke: #fff; }

.card__veil {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(23, 23, 23, 0.55), transparent 55%);
  opacity: 0;
  transition: opacity 0.55s var(--ease);
}
.card__frame:hover .card__veil { opacity: 1; }

.card__veil span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  transform: translateY(8px);
  transition: transform 0.55s var(--ease);
}
.card__frame:hover .card__veil span { transform: none; }

.card__meta { margin-top: 1.25rem; }

.card__title {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card--wide .card__title { font-size: clamp(1.125rem, 1.9vw, 1.5rem); }

/* Creator names read as names, not as labels — no tracking, and normal case
   because small uppercase without tracking sets too tight. */
.card__sub {
  margin-top: 0.45rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-dim);
}

.card__desc {
  margin-top: 0.6rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* platform badge on motion cards — the marks read on their own, and an
   "X" label next to the X glyph just says the same thing twice */
.card__badge {
  position: absolute;
  top: 14px; left: 14px;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 14px -6px rgba(23, 23, 23, 0.5);
  color: var(--ink);
}
.card__badge svg { width: 13px; height: 13px; fill: currentColor; }

/* text-only card, for links with no poster image */
.card__frame--text {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(150deg, var(--wash) 0%, #dedeec 100%);
}
.card__frame--text p {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.card__frame--text .card__play { position: static; translate: none; }

/* skeleton */
.card.is-pending .card__title,
.card.is-pending .card__sub {
  color: transparent;
  background: var(--wash);
  border-radius: 3px;
  animation: shimmer 1.9s var(--ease-io) infinite;
}
.card.is-pending .card__sub { width: 42%; }

@keyframes shimmer { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

/* ---------- Empty state ---------- */
.empty {
  grid-column: 1 / -1;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  text-align: center;
  color: var(--ink-dim);
}
.empty strong { display: block; margin-bottom: 0.4rem; color: var(--ink); font-weight: 500; }
.empty code {
  font-family: var(--body);
  font-weight: 500;
  color: var(--violet);
  background: var(--violet-wash);
  padding: 0.15em 0.5em;
  border-radius: 3px;
}

/* ============================================================
   Contact
   ============================================================ */
.contact { max-width: 940px; }

.contact__title {
  margin-top: 1.75rem;
  font-size: clamp(2.25rem, 5.4vw, 3.75rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.contact__list { margin-top: clamp(3rem, 5.5vw, 4.5rem); }

.contact__list li { border-top: 1px solid var(--line); }
.contact__list li:last-child { border-bottom: 1px solid var(--line); }

.contact__list a {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 0.25rem;
  transition: padding-inline-start 0.6s var(--ease);
}
.contact__list a:hover { padding-inline-start: 1.5rem; }

.contact__label {
  flex: none;
  width: clamp(90px, 15vw, 170px);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.5s var(--ease);
}
.contact__list a:hover .contact__label { color: var(--violet); }

.contact__value {
  font-size: clamp(1.0625rem, 2.2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  transition: color 0.5s var(--ease);
}
.contact__list a:hover .contact__value { color: var(--violet-deep); }

.contact__arrow {
  flex: none;
  margin-inline-start: auto;
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--ink-dim);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), stroke 0.5s var(--ease);
}
.contact__list a:hover .contact__arrow { opacity: 1; transform: none; stroke: var(--violet); }

/* ============================================================
   Footer
   ============================================================ */
.foot {
  display: flex;
  justify-content: center;
  max-width: var(--max);
  margin-inline: auto;
  padding: 3.5rem var(--gutter) 4rem;
  border-top: 1px solid var(--line);
}

.foot__mark {
  width: clamp(160px, 22vw, 250px);
  height: auto;
}

/* ============================================================
   Lightbox
   ============================================================ */
.lb {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  padding: clamp(1rem, 5vw, 3.5rem);
  background: rgba(235, 235, 245, 0.94);
  backdrop-filter: blur(22px) saturate(120%);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.lb.is-open { opacity: 1; }

.lb__stage {
  width: 100%;
  max-width: 1140px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.97);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.5s var(--ease);
}
.lb.is-open .lb__stage { transform: none; opacity: 1; }

.lb__stage img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: 0 40px 90px -35px rgba(23, 23, 23, 0.6);
}

.lb__frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 74vh;
  border-radius: var(--r);
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 90px -35px rgba(23, 23, 23, 0.6);
}
.lb__frame--tweet {
  aspect-ratio: auto;
  height: min(74vh, 560px);   /* replaced by the embed's reported height */
  max-height: 74vh;
  max-width: 560px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: height 0.4s var(--ease);
}
.lb__frame iframe { width: 100%; height: 100%; border: 0; }

.lb__caption {
  max-width: 62ch;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.15s;
}
.lb.is-open .lb__caption { opacity: 1; }

.lb__caption strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
}
.lb__caption span {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.lb__caption a {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.875rem;
  color: var(--violet);
  border-bottom: 1px solid currentColor;
}

.lb__close, .lb__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.75);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), scale 0.4s var(--ease);
}
.lb__close svg, .lb__nav svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.4s var(--ease);
}
.lb__close:hover, .lb__nav:hover {
  background: var(--violet);
  border-color: var(--violet);
  scale: 1.07;
}
.lb__close:hover svg, .lb__nav:hover svg { stroke: #fff; }

.lb__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lb__nav--prev { left: clamp(0.5rem, 2.5vw, 2rem); top: 50%; translate: 0 -50%; }
.lb__nav--next { right: clamp(0.5rem, 2.5vw, 2rem); top: 50%; translate: 0 -50%; }

/* ============================================================
   Responsive
   ============================================================ */
/* below this the copy column gets too narrow to hold the headline on two
   lines with the buttons side by side, so the hero stacks */
@media (max-width: 1080px) {
  .grid--thumbs { grid-template-columns: repeat(2, 1fr); }

  .hero {
    min-height: 0;
    padding-bottom: clamp(3rem, 8vh, 6rem);
  }
  .hero__grid {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vh, 3rem);
    text-align: center;
  }
  .hero__stage { height: clamp(260px, 38vh, 400px); }
  .hero__actions { justify-content: center; }
  .head { max-width: none; }
}

@media (max-width: 820px) {
  :root { --nav-h: 70px; }

  .nav__toggle { display: block; }

  .nav__links {
    position: fixed;
    inset: 0;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.75rem;
    padding: var(--gutter);
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0.5s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }

  .nav__links a {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.035em;
    color: var(--ink);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  .nav__links a::after { display: none; }
  .nav.is-open .nav__links a { opacity: 1; transform: none; }
  .nav.is-open .nav__links a:nth-child(1) { transition-delay: 0.08s; }
  .nav.is-open .nav__links a:nth-child(2) { transition-delay: 0.14s; }
  .nav.is-open .nav__links a:nth-child(3) { transition-delay: 0.2s; }
  .nav.is-open .nav__links a:nth-child(4) { transition-delay: 0.26s; }

  .grid--videos, .grid--motion { grid-template-columns: 1fr; }

  .contact__list a { flex-wrap: wrap; gap: 0.35rem 1rem; padding-block: 1.5rem; }
  .contact__label { width: 100%; }
  .contact__arrow { display: none; }
}

@media (max-width: 560px) {
  .grid--thumbs { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }
  .lb__nav { width: 42px; height: 42px; }
  .foot { justify-content: center; text-align: center; }
}

@media (hover: none) {
  .card__veil { opacity: 1; background: linear-gradient(to top, rgba(23, 23, 23, 0.5), transparent 50%); }
  .card__veil span { transform: none; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
  .loader__stroke { stroke-dashoffset: 0; fill: #f2f2f8; stroke: transparent; }
  .loader__dot { opacity: 1; }
  .hero__line, .hero__actions { opacity: 1; transform: none; }
}
