/* ==========================================================================
   Kanatulina Nurzhanar — site styles
   Design source: the claude.ai/design project (Landing, Portfolio,
   PortfolioSeries, Contacts). One stylesheet for all four pages.

   Contents
     1.  Tokens
     2.  Base
     3.  Media slots
     4.  Header
     5.  Hero
     6.  Sections
     7.  Intro
     8.  Statement
     9.  Category grid
     10. About
     11. Process
     12. Contact form
     13. Contacts page — mosaic
     14. Portfolio index
     15. Series gallery
     16. Lightbox
     17. Footer
     18. WhatsApp button
     19. Responsive
     20. Reduced motion
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg: #f4f3f1;
  --bg-alt: #eceae6;
  --bg-dark: #0d0e0f;

  /* Ink */
  --ink: #16171a;
  --ink-soft: #33353a;
  --muted: #5c5f64;
  --faint: #8a8b88;
  --light: #fbfaf8;

  /* Lines */
  --line: #dcdad6;
  --line-strong: #c6c4bf;
  --line-dark: rgba(251, 250, 248, 0.22);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 62px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}

a:hover {
  color: #6b6f76;
}

img {
  display: block;
  max-width: 100%;
}

input,
textarea,
button {
  font-family: var(--font-body);
}

input::placeholder,
textarea::placeholder {
  color: var(--faint);
  opacity: 1;
}

/* Visible only to assistive tech. */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

/* Keyboard focus ring — the design has none, so keep it quiet but present. */
:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

.page {
  overflow-x: hidden;
}

/* Portfolio and series pages pin their footer to the bottom of short pages. */
.page--column {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page--column main {
  flex: 1;
}

/* Locks the page behind an open lightbox. */
body.is-locked {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   3. Media slots
   Every photo slot renders a woven placeholder underneath the <img>. While a
   photo is absent (or fails to load) the placeholder and its caption show
   through; once the photo loads it covers the slot completely.
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  background-color: #d5d2cd;
}

/* <picture> is inline by default, which would put a line box inside the slot.
   Block with no in-flow children is zero-height, so the wrapper costs nothing
   and the image below still positions against .media. */
.media__pic {
  display: block;
}

/* Absolute rather than 100%/100% so the slot's height never has to be
   definite — it comes from aspect-ratio in the grids and from inset in the
   hero, and percentage heights are unreliable against the former. */
.media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}

.media__img.is-loaded {
  opacity: 1;
}

.media__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  line-height: 1.8;
  color: #8f8e89;
  text-align: center;
  pointer-events: none;
}

.media.is-filled .media__label {
  opacity: 0;
}

/* Woven tints, cycled across every grid on the site. */
.media--t1 { background-image: repeating-linear-gradient(135deg, #d7d5d0 0 12px, #c8c5bf 12px 24px); }
.media--t2 { background-image: repeating-linear-gradient(135deg, #cecbc5 0 12px, #c8c5bf 12px 24px); }
.media--t3 { background-image: repeating-linear-gradient(135deg, #dcdad5 0 12px, #c8c5bf 12px 24px); }
.media--t4 { background-image: repeating-linear-gradient(135deg, #d2cfc9 0 12px, #c8c5bf 12px 24px); }
.media--t5 { background-image: repeating-linear-gradient(135deg, #dad8d3 0 12px, #c8c5bf 12px 24px); }
.media--t6 { background-image: repeating-linear-gradient(135deg, #cfccc6 0 12px, #c8c5bf 12px 24px); }

/* Dark weave, for slots that sit on a dark ground. */
.media--dark {
  background-color: #1a1b1d;
  background-image: repeating-linear-gradient(135deg, #1a1b1d 0 14px, #222325 14px 28px);
}

.media--dark .media__label {
  color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   4. Header
   Two variants: --overlay sits transparent over a dark hero and turns solid
   once scrolled past it; --solid is a plain sticky bar on the light pages.
   -------------------------------------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(18px, 4vw, 40px);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.site-header__logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.4s var(--ease);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
}

.site-nav__link,
.site-nav__current {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.4s var(--ease);
}

.lang-toggle {
  background: none;
  border: 1px solid;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  padding: 7px 12px;
  cursor: pointer;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease),
    opacity 0.3s var(--ease);
}

.lang-toggle:hover {
  opacity: 0.65;
}

/* Overlay variant --------------------------------------------------------- */
.site-header--overlay {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  background: transparent;
  border-bottom: 1px solid var(--line-dark);
}

.site-header--overlay .site-header__logo,
.site-header--overlay .site-nav__current {
  color: var(--light);
}

.site-header--overlay .site-header__logo:hover {
  color: var(--light);
  opacity: 0.7;
}

.site-header--overlay .site-nav__link {
  color: rgba(251, 250, 248, 0.66);
}

.site-header--overlay .site-nav__link:hover {
  color: var(--light);
}

/* The landing design shows its nav at full strength rather than muted. */
.site-header--overlay.site-header--bright-nav .site-nav__link {
  color: var(--light);
}

.site-header--overlay.site-header--bright-nav .site-nav__link:hover {
  opacity: 0.7;
}

.site-header--overlay .lang-toggle {
  border-color: rgba(251, 250, 248, 0.45);
  color: var(--light);
}

/* …and its scrolled state. */
.site-header--overlay.is-scrolled {
  background: rgba(244, 243, 241, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom-color: var(--line);
}

.site-header--overlay.is-scrolled .site-header__logo,
.site-header--overlay.is-scrolled .site-nav__current,
.site-header--overlay.is-scrolled .lang-toggle {
  color: var(--ink);
}

.site-header--overlay.is-scrolled .site-nav__link {
  color: var(--faint);
}

.site-header--overlay.is-scrolled.site-header--bright-nav .site-nav__link {
  color: var(--ink-soft);
}

.site-header--overlay.is-scrolled .site-nav__link:hover {
  color: var(--ink);
}

.site-header--overlay.is-scrolled .lang-toggle {
  border-color: #b9b7b1;
}

/* Solid variant ----------------------------------------------------------- */
.site-header--solid {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 243, 241, 0.95);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header--solid .site-nav__link {
  color: var(--faint);
}

.site-header--solid .site-nav__link:hover,
.site-header--solid .site-nav__current {
  color: var(--ink);
}

.site-header--solid .lang-toggle {
  border-color: #b9b7b1;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero--tall {
  min-height: 620px;
}

/* Woven base, visible before any slide has a photo. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, #17181a 0 14px, #1f2023 14px 28px);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide:nth-child(1) { background-image: repeating-linear-gradient(110deg, #151618 0 14px, #202124 14px 28px); }
.hero__slide:nth-child(2) { background-image: repeating-linear-gradient(132deg, #151618 0 14px, #1b1c1f 14px 28px); }
.hero__slide:nth-child(3) { background-image: repeating-linear-gradient(154deg, #151618 0 14px, #242527 14px 28px); }
.hero__slide:nth-child(4) { background-image: repeating-linear-gradient(176deg, #151618 0 14px, #1e1f22 14px 28px); }

/* Hero placeholder captions sit top-left, per the design. */
.hero__slide .media__label {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 86px 28px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.34);
  text-transform: uppercase;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 7, 8, 0.6) 0%,
    rgba(6, 7, 8, 0.24) 44%,
    rgba(6, 7, 8, 0.66) 100%
  );
}

.hero--tall .hero__scrim {
  background: linear-gradient(
    180deg,
    rgba(6, 7, 8, 0.62) 0%,
    rgba(6, 7, 8, 0.28) 42%,
    rgba(6, 7, 8, 0.72) 100%
  );
}

.hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 28px;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.8vw, 46px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--light);
}

/* The landing sets its name in two large lines. */
.hero__title--display {
  font-size: clamp(38px, 6.6vw, 92px);
  line-height: 1.02;
  letter-spacing: 0.14em;
}

.hero__tagline {
  margin: 14px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: rgba(251, 250, 248, 0.66);
}

.hero__tagline--wide {
  margin-top: 26px;
  max-width: 620px;
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.34em;
  line-height: 2;
  color: rgba(251, 250, 248, 0.7);
}

.hero__cta {
  margin-top: 46px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 40px;
  border: 1px solid rgba(251, 250, 248, 0.5);
  color: var(--light);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.hero__cta:hover {
  background: var(--light);
  color: var(--bg-dark);
  border-color: var(--light);
}

.hero__controls {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero__dots {
  display: flex;
  gap: 9px;
}

.hero__dot {
  position: relative;
  width: 26px;
  height: 1px;
  padding: 0;
  border: none;
  cursor: pointer;
  background: rgba(251, 250, 248, 0.32);
  transition: background 0.4s var(--ease);
}

/* The 1px bar is far too thin to hit — grow the target to 25px tall. */
.hero__dot::before {
  content: '';
  position: absolute;
  inset: -12px 0;
}

.hero__dot.is-active,
.hero__dot:hover {
  background: var(--light);
}

.hero__scroll-cue {
  color: rgba(251, 250, 248, 0.7);
  font-size: 18px;
  line-height: 1;
  animation: nudge 2.4s ease-in-out infinite;
}

.hero__scroll-cue:hover {
  color: var(--light);
}

@keyframes nudge {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(7px);
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   6. Sections
   -------------------------------------------------------------------------- */
.section {
  padding: clamp(70px, 10vw, 140px) clamp(24px, 6vw, 90px);
  scroll-margin-top: var(--header-h);
}

.section--light {
  background: var(--bg);
}

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--bg-dark);
}

.section__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.section__split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.16;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.section--dark .section__title {
  color: var(--light);
}

/* --------------------------------------------------------------------------
   7. Intro
   -------------------------------------------------------------------------- */
.intro__body {
  margin: 24px 0 0;
  max-width: 38ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}

.facts {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.facts__item {
  display: flex;
  gap: 22px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.facts__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #a3a29d;
}

.facts__text {
  font-size: 12.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   8. Statement
   -------------------------------------------------------------------------- */
.statement {
  position: relative;
  height: min(88vh, 780px);
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.statement .media__label {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 22px 24px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.statement__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 7, 8, 0.15) 0%, rgba(6, 7, 8, 0.75) 100%);
}

.statement__quote {
  position: relative;
  margin: 0;
  padding: clamp(34px, 6vw, 88px);
  max-width: 900px;
}

.statement__quote p {
  margin: 0;
  /* The copy carries its own line break after the colon. Newlines are set
     through textContent, so pre-line is what makes them count. */
  white-space: pre-line;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(22px, 3.1vw, 46px);
  line-height: 1.28;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--light);
}

/* --------------------------------------------------------------------------
   9. Category grid
   -------------------------------------------------------------------------- */
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
}

.section__hint {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.categories {
  margin-top: clamp(34px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2.4vw, 30px);
}

.category {
  position: relative;
  aspect-ratio: 4 / 5;
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.35s var(--ease);
}

.category:hover {
  opacity: 0.86;
}

.category__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 20px 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0) 0%, rgba(8, 9, 10, 0.72) 100%);
}

.category__title {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--light);
  text-align: left;
  line-height: 1.6;
}

.category__count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(251, 250, 248, 0.7);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   10. About
   -------------------------------------------------------------------------- */
.about__inner {
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.about__portrait {
  aspect-ratio: 4 / 5;
  background-image: repeating-linear-gradient(135deg, #dedcd7 0 12px, #d4d2cc 12px 24px);
}

.about__kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a3a29d;
}

.about__title {
  margin: 18px 0 0;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0.04em;
}

.about__body {
  margin: 26px 0 0;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.9;
  color: #4f5257;
}

.about__body + .about__body {
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   11. Process
   -------------------------------------------------------------------------- */
.process {
  margin-top: clamp(34px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
}

.process__step {
  background: var(--bg);
  padding: 34px 28px 42px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process__num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: #c2c0ba;
  line-height: 1;
}

.process__title {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.6;
}

.process__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #65686d;
}

/* --------------------------------------------------------------------------
   12. Contact form
   Light on the contacts page, inverted inside the landing's dark section.
   -------------------------------------------------------------------------- */
.contact__lead {
  margin: 20px 0 0;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.section--dark .contact__lead {
  max-width: 36ch;
  margin-top: 24px;
  line-height: 1.85;
  color: rgba(251, 250, 248, 0.6);
}

.contact-form {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
}

.contact-form--dark {
  margin-top: 0;
}

.contact-form__field {
  background: none;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-weight: 300;
  font-size: 15px;
  padding: 16px 2px;
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.contact-form__field + .contact-form__field {
  margin-top: 14px;
}

.contact-form__field:focus {
  border-bottom-color: var(--ink);
}

.contact-form__field:focus-visible {
  outline: none;
}

/* Native :invalid fires before the user types; only flag fields we marked. */
.contact-form__field.is-invalid {
  border-bottom-color: #a3403a;
}

textarea.contact-form__field {
  resize: vertical;
  min-height: 96px;
}

.contact-form--dark .contact-form__field {
  border-bottom-color: var(--line-dark);
  color: var(--light);
  padding: 18px 2px;
}

.contact-form--dark .contact-form__field + .contact-form__field {
  margin-top: 0;
}

.contact-form--dark .contact-form__field:focus {
  border-bottom-color: var(--light);
}

.contact-form--dark .contact-form__field.is-invalid {
  border-bottom-color: #d98077;
}

.contact-form--dark .contact-form__field::placeholder {
  color: rgba(251, 250, 248, 0.42);
}

.contact-form__submit {
  margin-top: 38px;
  align-self: flex-start;
  padding: 17px 44px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--light);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    opacity 0.35s var(--ease);
}

.contact-form__submit:hover {
  background: transparent;
  color: var(--ink);
}

.contact-form--dark .contact-form__submit {
  margin-top: 34px;
  padding: 17px 42px;
  background: var(--light);
  border-color: var(--light);
  color: var(--bg-dark);
}

.contact-form--dark .contact-form__submit:hover {
  background: transparent;
  color: var(--light);
}

.contact-form__submit[disabled] {
  cursor: default;
  opacity: 0.55;
}

.contact-form__submit[disabled]:hover {
  background: var(--ink);
  color: var(--light);
}

.contact-form--dark .contact-form__submit[disabled]:hover {
  background: var(--light);
  color: var(--bg-dark);
}

.contact-form__status {
  margin-top: 16px;
  min-height: 1.2em;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--muted);
}

.contact-form__status.is-error {
  color: #a3403a;
}

.contact-form--dark .contact-form__status {
  color: rgba(251, 250, 248, 0.6);
}

.contact-form--dark .contact-form__status.is-error {
  color: #d98077;
}

/* Direct contact links ---------------------------------------------------- */
.contact__links {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.contact__links a {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__links--stacked {
  margin-top: 44px;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 14px;
}

.section--dark .contact__links a {
  font-size: 12px;
  color: rgba(251, 250, 248, 0.78);
}

.section--dark .contact__links a:hover {
  color: var(--light);
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   13. Contacts page — mosaic
   -------------------------------------------------------------------------- */
.contact {
  background: var(--bg);
  padding: clamp(70px, 9vw, 130px) clamp(24px, 6vw, 90px);
  /* Fixed header must not cover the heading when linked to via #form. */
  scroll-margin-top: var(--header-h);
}

.contact__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(44px, 6vw, 96px);
  align-items: start;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.mosaic__cell {
  aspect-ratio: 1 / 1;
}

.mosaic .media__label {
  font-size: 9.5px;
  letter-spacing: 0.1em;
  padding: 0 8px;
}

.contact__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 3.8vw, 54px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   14. Portfolio index
   -------------------------------------------------------------------------- */
.index-main {
  padding: clamp(48px, 7vw, 86px) clamp(20px, 4vw, 54px) clamp(60px, 8vw, 110px);
}

.index-head {
  text-align: center;
}

.index-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.index-head__sub {
  margin: 12px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--faint);
}

.series-grid {
  margin: clamp(44px, 6vw, 80px) auto 0;
  max-width: 1660px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(18px, 2.6vw, 42px);
}

.series-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.series-card__frame {
  aspect-ratio: 3 / 4;
  transition: opacity 0.35s var(--ease);
}

.series-card:hover .series-card__frame {
  opacity: 0.86;
}

.series-card__title {
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   15. Series gallery
   -------------------------------------------------------------------------- */
.gallery {
  margin: clamp(40px, 5.5vw, 72px) auto 0;
  max-width: 1660px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2.4vw, 38px);
}

.gallery__item {
  aspect-ratio: 3 / 4;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.35s var(--ease);
}

.gallery__item:hover {
  opacity: 0.86;
}

.gallery__empty {
  margin: clamp(40px, 5.5vw, 72px) auto 0;
  max-width: 46ch;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--faint);
}

.back-row {
  margin: clamp(48px, 6vw, 80px) auto 0;
  display: flex;
  justify-content: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 38px;
  border: 1px solid #b9b7b1;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.back-link:hover {
  background: var(--ink);
  color: var(--light);
  border-color: var(--ink);
}

/* --------------------------------------------------------------------------
   16. Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(8, 9, 10, 0.96);
  display: flex;
  flex-direction: column;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 28px;
}

.lightbox__title {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251, 250, 248, 0.8);
}

.lightbox__meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lightbox__counter {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(251, 250, 248, 0.5);
}

.lightbox__close {
  background: none;
  border: none;
  color: var(--light);
  font-size: 22px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
}

.lightbox__body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 40px);
  padding: 0 clamp(14px, 3vw, 40px) 40px;
  min-height: 0;
}

.lightbox__nav {
  background: none;
  border: 1px solid rgba(251, 250, 248, 0.3);
  color: var(--light);
  width: 46px;
  height: 46px;
  flex: none;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s var(--ease);
}

.lightbox__nav:hover {
  background: rgba(251, 250, 248, 0.12);
}

.lightbox__frame {
  flex: 1;
  height: 100%;
  min-width: 0;
}

/* The lightbox shows the whole frame rather than cropping it. */
.lightbox__frame .media__img {
  object-fit: contain;
}

.lightbox__frame .media__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 0 20px;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 32px clamp(24px, 6vw, 90px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.site-footer__mark {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-footer__note {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.site-footer__social {
  display: flex;
  gap: 22px;
}

.site-footer__social a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.site-footer--dark {
  background: var(--bg-dark);
  border-top-color: rgba(251, 250, 248, 0.12);
  padding: 38px clamp(24px, 6vw, 90px);
  gap: 18px;
}

.site-footer--dark .site-footer__mark {
  color: rgba(251, 250, 248, 0.8);
}

.site-footer--dark .site-footer__note {
  color: rgba(251, 250, 248, 0.42);
}

.site-footer--dark .site-footer__social {
  gap: 24px;
}

.site-footer--dark .site-footer__social a {
  color: rgba(251, 250, 248, 0.6);
}

.site-footer--dark .site-footer__social a:hover {
  color: var(--light);
}

/* --------------------------------------------------------------------------
   18. WhatsApp button
   -------------------------------------------------------------------------- */
.wa-fab {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 70;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s var(--ease);
}

.wa-fab:hover {
  transform: translateY(-3px);
  color: var(--light);
}

.wa-fab svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
  :root {
    --header-h: 96px;
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 14px 18px;
  }

  .site-header__logo {
    flex: 1 1 100%;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.24em;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    gap: clamp(12px, 4vw, 22px);
  }

  .site-nav__link,
  .site-nav__current {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .lang-toggle {
    font-size: 9.5px;
    padding: 6px 9px;
  }

  .hero__slide .media__label {
    padding: 120px 20px;
  }

  .statement {
    height: auto;
    min-height: 70vh;
  }

  .site-footer {
    justify-content: center;
    text-align: center;
  }

  .lightbox__body {
    padding-bottom: 24px;
    gap: 10px;
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .wa-fab {
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 420px) {
  .contact__links {
    gap: 16px;
  }

  .contact__links a {
    flex: 1 1 100%;
  }

  .gallery,
  .series-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

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

  .hero__scroll-cue {
    animation: none;
    opacity: 0.7;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
