/* ==========================================================
   Lorenzo Giarnetti — Photography
   ========================================================== */

/* ---------- Variables ---------- */
:root {
  --bg: #050505;
  --placeholder: #111111;
  --text: #f2f0eb;
  --muted: #8f9195;
  --line: rgba(242, 240, 235, 0.35);

  --gutter: clamp(20px, 4vw, 64px);
  --gap: clamp(12px, 1.6vw, 28px);
  --section-space: clamp(72px, 12vw, 180px);
  --content-width: 1600px;
  --header-h: clamp(72px, 9vw, 112px);

  --font-sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  /* Header fonts: change these two lines (and the Google Fonts <link> in index.html) */
  --font-name: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;      /* "Lorenzo Giarnetti" */
  --font-wordmark: "Michroma", "Helvetica Neue", Arial, sans-serif;          /* "PHOTOGRAPHY" */

  /* Button system */
  --btn-radius: 999px;
  --btn-border: rgba(242, 240, 235, 0.4);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }

:focus-visible { outline: 1px solid var(--text); outline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
/* Very light eased shadow so logo/title stay readable over photographs */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(100% + 36px);
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.38) 30%,
    rgba(0, 0, 0, 0.18) 60%, rgba(0, 0, 0, 0.05) 85%, rgba(0, 0, 0, 0) 100%);
}

.brand__logo { justify-self: start; display: block; margin-left: -6px; }
.brand__logo img {
  display: block;
  height: clamp(54px, 5.2vw, 80px);
  width: auto;           /* keeps PNG proportions */
}
.brand__logo img.is-missing { visibility: hidden; width: clamp(54px, 5.2vw, 80px); } /* keep layout if file is absent */

.brand__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-name);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.3vw, 2.1rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand__sub {
  font-family: var(--font-wordmark);
  font-size: clamp(0.46rem, 0.62vw, 0.6rem);
  letter-spacing: 0.62em;
  margin-right: -0.62em;  /* cancels trailing tracking so the line is truly centered */
  text-transform: uppercase;
  color: rgba(242, 240, 235, 0.72);
  margin-top: 0.85em;
  white-space: nowrap;
}

.menu-toggle {
  position: relative;
  z-index: 40;
  justify-self: end;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
}
.menu-toggle__bar {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.menu-toggle__bar:nth-child(1) { top: 17px; }
.menu-toggle__bar:nth-child(2) { top: 26px; }
.menu-open .menu-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle__bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Fullscreen menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
}
.menu-open .menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s var(--ease), visibility 0s;
}
.menu__list { text-align: center; }
.menu__link {
  display: inline-block;
  padding: 0.35em 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  letter-spacing: 0.02em;
  color: var(--muted);
  opacity: 0;
  transform: translateY(14px);
  transition: color 0.4s var(--ease), opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.menu__link { position: relative; }
/* Underline draws in from the left on hover/focus, and exits to the right */
.menu__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.38em;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.6s var(--ease);
}
.menu__link:hover, .menu__link:focus-visible { color: var(--text); }
.menu__link:hover::after, .menu__link:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.menu-open .menu__link { opacity: 1; transform: none; }
.menu-open .menu__list li:nth-child(1) .menu__link { transition-delay: 0s, 0.10s, 0.10s; }
.menu-open .menu__list li:nth-child(2) .menu__link { transition-delay: 0s, 0.16s, 0.16s; }
.menu-open .menu__list li:nth-child(3) .menu__link { transition-delay: 0s, 0.22s, 0.22s; }
.menu-open .menu__list li:nth-child(4) .menu__link { transition-delay: 0s, 0.28s, 0.28s; }

/* Language switch (bottom of the fullscreen menu) */
.menu__lang {
  position: absolute;
  inset: auto 0 clamp(28px, 7vh, 64px) 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: clamp(28px, 5vw, 56px);
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.4s;
}
.menu-open .menu__lang { opacity: 1; }
.menu__lang a {
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
  padding: 0.9em 0.4em;
  font-family: var(--font-wordmark);   /* wide sans, same family as the "Photography" wordmark: clearly different from the serif menu links */
  font-size: clamp(0.78rem, 1.1vw, 0.9rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.4s var(--ease);
}
.menu__lang a:hover, .menu__lang a:focus-visible, .menu__lang a[aria-current] { color: var(--text); }
.menu__lang .flag {
  width: 1.9em;
  height: 1.3em;
  flex: none;
  border-radius: 2px;
  opacity: 0.6;
  box-shadow: 0 0 0 1px rgba(242, 240, 235, 0.18);
  transition: opacity 0.4s var(--ease);
}
.menu__lang a:hover .flag, .menu__lang a:focus-visible .flag, .menu__lang a[aria-current] .flag { opacity: 1; }

/* Text for search engines and screen readers only (the page's <h1> on the homepage) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Image placeholder (shown until the real file exists) ---------- */
.ph { background: var(--placeholder); overflow: hidden; position: relative; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph img.is-missing { visibility: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--header-h) var(--gutter) clamp(160px, 38vh, 360px);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { object-position: 42% 70%; opacity: var(--hero-opacity, 0.68); }
@media (min-width: 860px) {
  .hero__media img { object-position: 42% 62%; }   /* desktop: photo sits a little lower in the frame */
}
/* Entrance: the photo fades in from black while the intro types in */
.js .hero__media img { animation: hero-fade-in 3.2s cubic-bezier(0.4, 0, 0.2, 1) 0.1s backwards; }
@keyframes hero-fade-in { from { opacity: 0; } }
/* Soft flat dim for legibility, then a long eased fade into the page black */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  pointer-events: none;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 62%;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.03) 10%, rgba(5, 5, 5, 0.1) 22%,
    rgba(5, 5, 5, 0.24) 36%, rgba(5, 5, 5, 0.45) 50%, rgba(5, 5, 5, 0.68) 63%,
    rgba(5, 5, 5, 0.87) 78%, rgba(5, 5, 5, 0.97) 91%, var(--bg) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  text-align: center;
}
.hero__intro {
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.45vw, 1.30rem);
  line-height: 1.35;
  margin-bottom: clamp(24px, 3vw, 40px);
}

/* Hero entrance: text "types" in character by character, then the button follows.
   script.js splits the intro into .ch spans and sets --i (index), --step and --btn-delay. */
.js .hero__intro .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  filter: blur(4px);
  animation: char-in 0.8s var(--ease) forwards;
  animation-delay: calc(0.7s + var(--i) * var(--step, 34ms));
}
.hero__intro .word { display: inline-block; white-space: nowrap; }
.js .hero__content .btn {
  opacity: 0;
  transform: translateY(14px);
  animation: fade-up 1.1s var(--ease) forwards;
  animation-delay: var(--btn-delay, 3.4s);
}
@keyframes char-in { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fade-up { to { opacity: 1; transform: none; } }

/* ---------- Buttons (one system: outline pill + quiet text variant) ---------- */
.btn {
  display: inline-block;
  padding: 1.05em 2.6em;
  border: 1px solid var(--btn-border);
  border-radius: var(--btn-radius);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-indent: 0.34em;      /* balances trailing letter-spacing */
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease), letter-spacing 0.5s var(--ease);
}
.btn:hover, .btn:focus-visible {
  background: rgba(242, 240, 235, 0.1);
  border-color: var(--text);
}
.btn--text { border-color: transparent; padding-left: 1.4em; padding-right: 1.4em; color: var(--muted); }
.btn--text:hover, .btn--text:focus-visible { background: transparent; border-color: transparent; color: var(--text); }

/* ---------- Gallery (art-directed grid) ---------- */
.gallery {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(16px, 3vw, 48px) var(--gutter) 0;
  container-type: inline-size;
}
.gallery__body { position: relative; }
.gallery__grid { position: relative; }

.shot { margin: 0; }
.shot img { transition: transform 1.1s var(--ease), filter 0.8s var(--ease); }
.shot:hover img { transform: scale(1.03); filter: brightness(0.9); }

/* Mobile: mostly single column; ratios vary, narrower images alternate left/right */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(24px, 7vw, 48px) var(--gap);
}
.s3 { grid-column: 1 / span 4; aspect-ratio: 3 / 4; }
.s4 { grid-column: 1 / span 5; aspect-ratio: 1 / 1; }
.s5 { grid-column: 1 / -1;     aspect-ratio: 5 / 4; }
.s6 { grid-column: 1 / -1;     aspect-ratio: 3 / 2; }
@media (max-width: 859px) {
  .s3:nth-child(even) { grid-column: 3 / -1; }
  .s4:nth-child(even) { grid-column: 2 / -1; }
}

/* Desktop: 12 columns, every row has one shared height (4 column-widths), so
   photos differ in ratio but not in size. Widths: s3 portrait, s4 square, s5 landscape, s6 wide. */
@media (min-width: 860px) {
  .gallery__grid {
    --c: calc((min(100vw, var(--content-width)) - 2 * var(--gutter) - 11 * var(--gap)) / 12);
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: calc(4 * var(--c));
    gap: var(--gap);
  }
  @supports (width: 1cqw) {
    .gallery__grid { --c: calc((100cqw - 11 * var(--gap)) / 12); }
  }
  .shot, .s3, .s4, .s5, .s6 { aspect-ratio: auto; }
  .s3 { grid-column: auto / span 3; }
  .s4 { grid-column: auto / span 4; }
  .s5 { grid-column: auto / span 5; }
  .s6 { grid-column: auto / span 6; }
}

/* Collapse + fade (JS sets the exact clip height) */
.js .gallery.is-collapsed .gallery__clip { overflow: hidden; max-height: 150vw; }
.js .gallery__clip { transition: max-height 1.4s cubic-bezier(0.65, 0, 0.35, 1); }

.gallery__fade {
  display: none;
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(260px, 30vw, 420px);
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(22px, 3vw, 40px);
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.03) 10%, rgba(5, 5, 5, 0.12) 25%,
    rgba(5, 5, 5, 0.3) 40%, rgba(5, 5, 5, 0.55) 55%, rgba(5, 5, 5, 0.8) 68%,
    rgba(5, 5, 5, 0.93) 78%, var(--bg) 88%, var(--bg) 100%);
  transition: opacity 0.9s var(--ease), visibility 0s linear 0.9s;
}
.gallery__fade .btn { pointer-events: auto; }
.js .gallery.is-collapsed .gallery__fade { display: flex; }
.js .gallery.is-expanding .gallery__fade { display: flex; opacity: 0; visibility: hidden; }

/* ---------- Final CTA ---------- */
.cta {
  padding: var(--section-space) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

/* ---------- About page ---------- */
.about {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 140px) var(--gutter);
  scroll-margin-top: 0;
}
.page-about .about:first-of-type { padding-top: calc(var(--header-h) + clamp(24px, 5vw, 72px)); }

/* Work With Me: continuous with the page, separated by generous space only */
.page-about .about:not(:last-of-type) { padding-bottom: clamp(96px, 15vw, 240px); }
.about--work { padding-top: 0; scroll-margin-top: calc(var(--header-h) + clamp(16px, 3vw, 48px)); }

/* Mobile: one column, order follows the markup */
.about__inner { display: grid; gap: clamp(36px, 9vw, 64px); }
.about__figure { aspect-ratio: 4 / 5; }
.about__text { max-width: 36rem; }

.section-title {
  margin: 0 0 clamp(28px, 4vw, 48px);
  font-family: var(--font-serif);   /* same face as the hero intro */
  font-weight: 400;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: 0.1em;
  text-wrap: balance;
  text-transform: uppercase;
}
.prose p {
  margin: 0 0 1.4em;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.75;
  color: rgba(242, 240, 235, 0.86);
}
.about--work .prose { margin-bottom: clamp(28px, 4vw, 44px); }
.about--work .prose p:last-child { margin-bottom: 0; }

.social { display: flex; gap: clamp(20px, 3vw, 36px); margin-top: clamp(32px, 4vw, 48px); }
.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.5em 0;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.4s var(--ease);
}
.social a:hover, .social a:focus-visible { color: var(--text); }
.social svg { width: 18px; height: 18px; flex: none; }

/* Desktop: mirrored two-column compositions */
@media (min-width: 860px) {
  .about__inner { grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
  .about__figure { aspect-ratio: 5 / 6; }
  .about__inner > .about__figure:first-child { grid-column: 1 / 7; }
  .about__inner > .about__text:last-child    { grid-column: 8 / 12; }
  .about--work .about__inner > .about__text   { grid-column: 2 / 6; }
  .about--work .about__inner > .about__figure { grid-column: 7 / 13; }
}

/* ---------- Portfolio page ---------- */
.portfolio-intro {
  max-width: 44rem;
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(72px, 15vh, 170px)) var(--gutter) clamp(64px, 9vw, 130px);
  text-align: center;
}
.portfolio-intro__title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: 0.14em;
  text-indent: 0.14em;          /* balances trailing letter-spacing */
  text-transform: uppercase;
}
.portfolio-intro__text {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  line-height: 1.6;
  color: rgba(242, 240, 235, 0.86);
}

.portfolio {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  container-type: inline-size;
}
.portfolio-grid { display: grid; gap: var(--gap); }

/* Mobile: single column, fixed ratios; the last two items of ppp / sss rows sit side by side */
.portfolio-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.portfolio-item { grid-column: 1 / -1; margin: 0; }
.portfolio-item--landscape { aspect-ratio: 3 / 2; }
.portfolio-item--portrait  { aspect-ratio: 3 / 4; }
.portfolio-item--square    { aspect-ratio: 1 / 1; }
.portfolio-item--wide      { aspect-ratio: 4 / 3; }
.portfolio-item--full      { aspect-ratio: 3 / 2; }
.row--ppp > .portfolio-item:nth-child(n+2),
.row--sss > .portfolio-item:nth-child(n+2) { grid-column: auto; }

/* Desktop / tablet: 3 columns. Row unit u = 1/3 column width, so spans give exact ratios:
   landscape 1x2 (3:2), square 1x3, portrait 1x4 (3:4), wide 2x4 (3:2), full 3x4 (~2.2:1). */
@media (min-width: 700px) {
  .portfolio-grid {
    --col: calc((min(100vw, var(--content-width)) - 2 * var(--gutter) - 2 * var(--gap)) / 3);
  }
  @supports (width: 1cqw) {
    .portfolio-grid { --col: calc((100cqw - 2 * var(--gap)) / 3); }
  }
  .portfolio-grid { --u: calc(var(--col) / 3 - var(--gap) / 2); }

  .portfolio-row {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: var(--u);
  }
  .portfolio-item, .row--ppp > .portfolio-item:nth-child(n+2), .row--sss > .portfolio-item:nth-child(n+2) {
    grid-column: auto;
    aspect-ratio: auto;
  }
  .portfolio-item--landscape { grid-row: span 2; }
  .portfolio-item--square    { grid-row: span 3; }
  .portfolio-item--portrait  { grid-row: span 4; }
  .portfolio-item--wide      { grid-column: span 2; grid-row: span 4; }
  .portfolio-item--full      { grid-column: 1 / -1; grid-row: span 4; }

  /* stacked landscapes either side of a portrait: fill column by column */
  .row--lpl { grid-template-rows: repeat(4, var(--u)); grid-auto-flow: column; }
}

/* Project-linked images */
.portfolio-item__link { display: block; width: 100%; height: 100%; color: inherit; }
.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.55em;
  padding: clamp(16px, 2vw, 30px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  pointer-events: none;
}
.project-overlay__name { font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; }
.project-overlay__cta  { font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(242, 240, 235, 0.7); }
.portfolio-item--project:hover .project-overlay,
.portfolio-item__link:focus-visible .project-overlay,
.portfolio-item--feature .project-overlay { opacity: 1; }
.portfolio-item--feature .project-overlay__name { font-size: clamp(0.8rem, 1.1vw, 0.95rem); }
@media (hover: none) { .project-overlay { opacity: 1; } }   /* touch screens have no hover */

/* Final CTA on the portfolio page: more air than the homepage one */
.cta--portfolio { padding-top: clamp(120px, 18vw, 260px); padding-bottom: clamp(100px, 14vw, 200px); text-align: center; gap: 0; }
.cta__title { margin-bottom: clamp(18px, 2.4vw, 28px); }
.cta__text {
  margin-bottom: clamp(32px, 4vw, 48px);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: rgba(242, 240, 235, 0.86);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 0 var(--gutter) clamp(28px, 4vw, 48px);
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.site-footer p { margin: 0; }
.site-footer__tag { max-width: 40rem; margin: 0 auto 1.2rem !important; font-size: 0.72rem; letter-spacing: 0.12em; line-height: 1.7; }
.site-footer__links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.6rem !important; }
.site-footer__links a { padding: 0.5em 0; text-transform: uppercase; letter-spacing: 0.26em; transition: color 0.4s var(--ease); }
.site-footer__links a:hover, .site-footer__links a:focus-visible { color: var(--text); }

/* ---------- Scroll reveal (only when JS is available) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero__media img { animation: none; }
  .js .hero__intro .ch, .js .hero__content .btn { animation: none; opacity: 1; transform: none; filter: none; }
  .shot:hover img { transform: none; }
}
