/* Self-hosted fonts (latin subsets from Google Fonts) */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fraunces-400-italic.fa7ce081be5e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 480;
  font-display: swap;
  src: url("../fonts/fraunces-480-italic.fa7ce081be5e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fraunces-400.069cb90e11a3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 480;
  font-display: swap;
  src: url("../fonts/fraunces-480.069cb90e11a3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 560;
  font-display: swap;
  src: url("../fonts/fraunces-560.069cb90e11a3.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/inter-300.260c81a4759b.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.260c81a4759b.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.260c81a4759b.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-400.b636a65da4f0.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-500.b636a65da4f0.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   VINIT ARORA — Wildlife & Conservation Photography
   Dark cinematic design system · Fraunces / Inter / JetBrains Mono
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* color — near-black forest canvas, bone ink, torchlight amber */
  --bg: #0a0e0c;
  --bg-deep: #060907;
  --surface: #10150f;
  --surface-2: #161c14;
  --ink: #f2efe7;
  --ink-dim: #b7c0b2;
  --ink-faint: #87927f;
  --amber: #d9a441;
  --amber-soft: #e6bc6e;
  --amber-ink: #171008;
  --line: rgba(242, 239, 231, 0.1);
  --line-strong: rgba(242, 239, 231, 0.22);
  --scrim: rgba(6, 9, 7, 0.62);

  /* type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* spacious scale */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: 4rem;
  --s-6: 6rem;
  --s-7: 9rem;

  --container: 84rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 4.5rem;

  /* z scale */
  --z-nav: 100;
  --z-menu: 200;
  --z-lightbox: 300;
  --z-preloader: 400;
  --z-cursor: 500;
}

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--amber);
  color: var(--amber-ink);
}

/* thin, unobtrusive scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: #2a332a;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3a453a;
}

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

/* protect photographs (per client scope) */
.protected {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  /* stops iOS long-press offering "Save Image" / "Copy" */
  -webkit-touch-callout: none;
  pointer-events: auto;
}

/* ---------- Film grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  /* the tile repeats, so shifting background-position gives the same jitter
     without compositing a layer larger than the viewport */
  animation: grain-shift 9s steps(10) infinite;
}

@keyframes grain-shift {
  0%, 100% { background-position: 0 0; }
  10% { background-position: -9px -6px; }
  30% { background-position: 6px -12px; }
  50% { background-position: -6px 9px; }
  70% { background-position: 12px 3px; }
  90% { background-position: -3px 6px; }
}

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 480;
  font-variation-settings: "opsz" 90;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

/* italic serif accents inside display headings — the editorial voice */
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber-soft);
}

h1.display {
  font-size: clamp(3rem, 8.5vw, 8rem);
}

h2.display {
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
}

h3.display {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--amber);
  opacity: 0.7;
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.7;
  color: var(--ink-dim);
  font-weight: 300;
  max-width: 38em;
}

.mono-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
  position: relative;
}

.section--flush {
  padding-block: 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 52rem;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  padding: 1.05em 2.2em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
    background-color 0.3s var(--ease-out), transform 0.2s var(--ease-out);
  min-height: 44px;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--amber);
  color: var(--amber-ink);
}

.btn--primary:hover {
  background: var(--amber-soft);
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn .btn-arrow {
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* underline link */
.link-line {
  position: relative;
  padding-bottom: 2px;
  color: var(--ink-dim);
  transition: color 0.25s;
}

.link-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.link-line:hover {
  color: var(--ink);
}

.link-line:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: var(--z-preloader);
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
}

.preloader__logo {
  width: clamp(10rem, 24vw, 15rem);
  height: auto;
  opacity: 0;
}

.preloader__line {
  width: clamp(8rem, 20vw, 13rem);
  height: 1px;
  background: rgba(242, 239, 231, 0.15);
  position: relative;
  overflow: hidden;
}

.preloader__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  animation: load-line 1.1s var(--ease-out) forwards;
}

@keyframes load-line {
  to { transform: scaleX(1); }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s ease, border-color 0.4s ease,
    backdrop-filter 0.4s ease, transform 0.45s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  /* cheap solid on small devices; blur only where the GPU budget allows */
  background: rgba(6, 9, 7, 0.88);
  border-bottom-color: var(--line);
}

@media (min-width: 48rem) {
  .nav.is-scrolled {
    background: rgba(6, 9, 7, 0.72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}

/* while the menu overlay is open the nav (and its close control) must sit above it */
body.menu-open .nav {
  z-index: calc(var(--z-menu) + 1);
}

.nav.is-hidden {
  transform: translateY(-100%);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  width: 100%;
}

.nav__logo img {
  height: 2.6rem;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.6vw, 2.6rem);
  list-style: none;
}

.nav__link {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 0.6em 0.2em;
  position: relative;
  transition: color 0.25s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2em;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--ink);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  display: inline-flex;
}

.nav__cta .btn {
  padding: 0.72em 1.5em;
}

/* burger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  align-items: center;
  z-index: calc(var(--z-menu) + 1);
}

.nav__burger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4.25px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* mobile menu overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: rgba(6, 9, 7, 0.96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  visibility: hidden;
  opacity: 0;
}

.menu.is-open {
  visibility: visible;
  opacity: 1;
}

.menu__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.menu__link {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  line-height: 1.15;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 0.6em;
  padding: 0.1em 0;
}

.menu__link .idx {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--amber);
  letter-spacing: 0.2em;
}

.menu__link:hover {
  color: var(--amber-soft);
}

.menu__meta {
  margin-top: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}

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

/* <picture> is inline with no box of its own, so it has to be made to fill
   the slide before the image's height:100% has anything to resolve against */
.hero__slide picture {
  display: block;
  position: absolute;
  inset: 0;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      180deg,
      rgba(6, 9, 7, 0.55) 0%,
      rgba(6, 9, 7, 0.05) 34%,
      rgba(6, 9, 7, 0.1) 55%,
      rgba(6, 9, 7, 0.88) 100%
    );
}

/* Phones get a portrait frame, which puts the subject behind the headline
   instead of the sky. The gradient above leaves only ~8% ink there, so the
   mid-band is deepened to keep the copy readable — same breakpoint as the
   image swap, so the two always change together. */
@media (max-width: 48rem) {
  .hero::after {
    background: linear-gradient(
        180deg,
        rgba(6, 9, 7, 0.68) 0%,
        rgba(6, 9, 7, 0.42) 30%,
        rgba(6, 9, 7, 0.3) 55%,
        rgba(6, 9, 7, 0.92) 100%
      );
  }
}

.hero__content {
  position: relative;
  padding-top: calc(var(--nav-h) + var(--s-3));
  padding-bottom: clamp(3.5rem, 9vh, 7rem);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

@media (max-height: 32rem) {
  .hero__scroll {
    display: none;
  }
}

.hero__title {
  max-width: 11em;
}

.hero__title .w-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.hero__title .word {
  display: inline-block;
}

.hero__sub {
  max-width: 34em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-2);
}

.hero__meta {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3.5rem, 9vh, 7rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  text-align: right;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-faint);
}

.hero__scroll .tick {
  width: 1px;
  height: 2.6rem;
  background: linear-gradient(180deg, var(--amber), transparent);
  animation: scroll-tick 2s var(--ease-out) infinite;
}

@keyframes scroll-tick {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* hero slide progress dots */
.hero__dots {
  display: flex;
  gap: 0.6rem;
}

.hero__dot {
  width: 2.4rem;
  height: 2px;
  min-height: 0;
  padding: 0;
  background: rgba(242, 239, 231, 0.25);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.hero__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
}

.hero__dot.is-active::after {
  transform: scaleX(1);
  transition: transform 6s linear;
}

/* enlarge tap target to >=44px in both axes without visual bulk */
.hero__dot::before {
  content: "";
  position: absolute;
  inset: -21px -4px;
}

.hero__pause {
  width: 44px;
  height: 44px;
  min-height: 0;
  display: grid;
  place-items: center;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 0.25s, border-color 0.25s;
}

.hero__pause:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.hero__pause .icon-play,
.hero__pause[aria-pressed="true"] .icon-pause {
  display: none;
}

.hero__pause[aria-pressed="true"] .icon-play {
  display: block;
}

/* ---------- Marquee ribbon ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 1.1rem;
  overflow: hidden;
  background: var(--bg-deep);
}

.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  will-change: transform;
}

.marquee__item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 3.5rem;
  white-space: nowrap;
}

.marquee__item .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.7;
}

/* ---------- Intro / About preview ---------- */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.intro__text {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.intro__portrait {
  position: relative;
}

.intro__portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  filter: saturate(0.92);
}

.intro__portrait::after {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  z-index: -1;
}

.intro__quote {
  border-left: 2px solid var(--amber);
  padding-left: var(--s-3);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink-dim);
  line-height: 1.55;
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-5);
  border-top: 1px solid var(--line);
  padding-top: var(--s-4);
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--ink);
  line-height: 1.1;
}

.stat__value .plus {
  color: var(--amber);
}

.stat__label {
  margin-top: 0.5rem;
}

/* ---------- Featured horizontal scroll ---------- */
.featured {
  position: relative;
  /* native horizontal scroll is the baseline so every card stays reachable
     with reduced motion or without JS; the pin branch switches to hidden */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.featured__head {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.featured__track {
  display: flex;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  padding-inline: var(--gutter);
  width: max-content;
  align-items: stretch;
}

.featured__card {
  position: relative;
  width: clamp(17rem, 32vw, 30rem);
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.featured__card img {
  width: 100%;
  height: clamp(24rem, 60vh, 34rem);
  object-fit: cover;
  /* transform is owned by GSAP (scrub parallax + hover zoom) — CSS only fades filter */
  transition: filter 0.5s ease;
}

@media (max-height: 30rem) {
  .featured__card img {
    height: clamp(14rem, 55vh, 20rem);
  }
}

.featured__card:hover img {
  filter: brightness(1.08);
}

.featured__card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.3rem 1.4rem;
  background: linear-gradient(180deg, transparent, rgba(6, 9, 7, 0.85));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.featured__card .t {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
}

.featured__card .c {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
  padding-bottom: 0.2rem;
}

/* ---------- Category tiles ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.9rem, 1.8vw, 1.6rem);
}

.cat-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.cat-tile img {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  z-index: -1;
  transition: filter 0.6s ease;
  filter: saturate(0.9);
}

.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 9, 7, 0.05) 40%, rgba(6, 9, 7, 0.82) 100%);
  transition: opacity 0.5s ease;
}

.cat-tile:hover img {
  filter: saturate(1.08) brightness(1.05);
}

.cat-tile__body {
  padding: 1.4rem 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  gap: 0.8rem;
}

.cat-tile__name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
}

.cat-tile__count {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  padding-bottom: 0.35rem;
  white-space: nowrap;
}

.cat-tile__arrow {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(6, 9, 7, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out);
}

.cat-tile:hover .cat-tile__arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- After Dark strip ---------- */
.night {
  background: var(--bg-deep);
  border-block: 1px solid var(--line);
}

.night__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.9rem, 1.8vw, 1.6rem);
  align-items: stretch;
}

.night__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.night__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  transition: filter 0.6s ease;
}

.night__item:hover img {
  filter: brightness(1.12);
}

.night__item figcaption {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* ---------- Big CTA ---------- */
.cta {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.cta__bg {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
}

.cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--scrim);
}

.cta__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: flex-start;
  max-width: 44rem;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 9vw, 7rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.page-hero__title {
  max-width: 14em;
}

/* ---------- Gallery ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.7em 1.4em;
  min-height: 44px;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}

.filter-btn:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.filter-btn.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--amber-ink);
}

.masonry {
  columns: 3 18rem;
  column-gap: clamp(0.9rem, 1.6vw, 1.4rem);
}

.ph-card {
  position: relative;
  break-inside: avoid;
  margin-bottom: clamp(0.9rem, 1.6vw, 1.4rem);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  cursor: zoom-in;
  width: 100%;
  display: block;
  text-align: left;
  padding: 0;
}

.ph-card img {
  width: 100%;
  height: auto;
  transition: transform 0.8s var(--ease-out), filter 0.5s ease;
}

.ph-card:hover img {
  transform: scale(1.035);
}

.ph-card__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 9, 7, 0.78));
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem 1.2rem;
  gap: 0.8rem;
  justify-content: space-between;
}

.ph-card:hover .ph-card__veil,
.ph-card:focus-visible .ph-card__veil {
  opacity: 1;
}

.ph-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
}

.ph-card__cat {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
  padding-bottom: 0.25rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  background: rgba(4, 6, 5, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
}

.lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  gap: 1rem;
}

.lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(3.5rem, 8vw, 6rem);
  min-height: 0;
  position: relative;
}

.lightbox__stage img {
  max-width: 100%;
  max-height: calc(100dvh - 12rem);
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox__caption {
  padding: 1.1rem var(--gutter) 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.lightbox__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.lightbox-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(6, 9, 7, 0.4);
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
  flex-shrink: 0;
}

.lightbox-btn:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.lightbox__nav-prev,
.lightbox__nav-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav-prev { left: clamp(0.5rem, 1.5vw, 1.5rem); }
.lightbox__nav-next { right: clamp(0.5rem, 1.5vw, 1.5rem); }

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3) var(--s-3);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.field__label .req {
  color: var(--amber);
}

.field input,
.field select,
.field textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95em 1.1em;
  color: var(--ink);
  min-height: 48px;
  transition: border-color 0.25s, background-color 0.25s;
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 8.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--surface-2);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-faint);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d9a441' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1em center;
  cursor: pointer;
}

.field select option {
  background: #10150f;
  color: var(--ink);
}

.field__error {
  font-size: 0.82rem;
  color: #e58f8f;
  display: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b25050;
}

.field.has-error .field__error {
  display: block;
}

.form-note {
  font-size: 0.88rem;
  color: var(--ink-faint);
}

/* success state */
.form-success {
  display: none;
  flex-direction: column;
  gap: var(--s-3);
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--surface);
}

.form-success.is-visible {
  display: flex;
}

.form-success__icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  border: 1px solid var(--amber);
  display: grid;
  place-items: center;
  color: var(--amber);
}

/* ---------- Split layout (form + aside) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.aside-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.aside-card + .aside-card {
  margin-top: 1.4rem;
}

.aside-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 480;
}

.aside-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.aside-card ul li {
  display: flex;
  gap: 0.8rem;
  color: var(--ink-dim);
  line-height: 1.55;
}

.aside-card ul li svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--amber);
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
  counter-reset: step;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.step__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  color: var(--amber);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 480;
}

.step p {
  color: var(--ink-dim);
  font-size: 0.95rem;
}

/* photo strip */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
}

.strip figure {
  overflow: hidden;
  border-radius: var(--radius);
}

.strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: filter 0.6s ease;
}

.strip figure:hover img {
  filter: brightness(1.08);
}

@media (max-width: 48rem) {
  .split {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .strip {
    grid-template-columns: 1fr;
  }

  .strip img {
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Info cards (contact) ---------- */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
}

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

a.info-card:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
}

.info-card__icon {
  color: var(--amber);
}

.info-card__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.info-card__value {
  font-size: 1.02rem;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* ---------- Timeline / accolades ---------- */
.accolades {
  display: flex;
  flex-direction: column;
}

.accolade {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: var(--s-3);
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.accolade:first-child {
  border-top: 1px solid var(--line);
}

.accolade__year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--amber);
}

.accolade__text {
  color: var(--ink-dim);
}

.accolade__text strong {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding-top: clamp(3.5rem, 8vw, 6rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: flex-start;
}

.footer__brand img {
  height: 3.4rem;
  width: auto;
}

.footer__tag {
  color: var(--ink-faint);
  max-width: 26em;
  font-size: 0.95rem;
}

.footer .footer-heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: var(--ink-dim);
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__bottom .mono-meta {
  font-size: 0.66rem;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: var(--z-nav);
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #1da851;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

/* ---------- Custom cursor (fine pointers only) ---------- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  display: none;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(217, 164, 65, 0.5);
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.25s;
  display: none;
}

@media (pointer: fine) {
  .cursor-dot,
  .cursor-ring {
    display: block;
  }
}

body.cursor-hover .cursor-ring {
  width: 52px;
  height: 52px;
  border-color: rgba(217, 164, 65, 0.9);
}

/* ---------- Screen-reader-only utility ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 64rem) {
  .intro {
    grid-template-columns: 1fr;
  }

  .intro__portrait {
    order: -1;
    max-width: 26rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* nav collapses at 52rem — at 48rem the full link row + CTA no longer fits */
@media (max-width: 52rem) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
  }
}

/* comfortable hit areas for stacked text links on touch devices */
@media (pointer: coarse) {
  .footer__links a,
  .footer__contact a,
  .menu__meta a {
    padding-block: 0.55em;
    margin-block: -0.25em;
  }
}

@media (max-width: 48rem) {
  .cats {
    grid-template-columns: 1fr;
  }

  .cat-tile {
    aspect-ratio: 16 / 11;
  }

  .night__grid {
    grid-template-columns: 1fr;
  }

  .night__item img {
    aspect-ratio: 4 / 3;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .accolade {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__meta {
    display: none;
  }

  .masonry {
    columns: 2 10rem;
  }
}

@media (max-width: 30rem) {
  .masonry {
    columns: 1;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

/* ==========================================================================
   WOW LAYER — "Through the Viewfinder"
   Camera-HUD accents, ghost typography, scrub choreography hooks
   ========================================================================== */

/* scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: calc(var(--z-nav) + 2);
  background: linear-gradient(90deg, var(--amber), var(--amber-soft));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* ghost stroke words drifting behind sections */
.has-ghost {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.ghost-word {
  position: absolute;
  top: clamp(0.5rem, 4vw, 3rem);
  right: -0.08em;
  z-index: -1;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(5rem, 17vw, 15rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 231, 0.09);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* char-split heading masks */
.sw {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.ch {
  display: inline-block;
}

/* viewfinder HUD on the hero */
.vf {
  position: absolute;
  inset: calc(var(--nav-h) + 1rem) clamp(1.2rem, 3.5vw, 3rem) clamp(1.2rem, 4vh, 3rem);
  pointer-events: none;
  z-index: 2;
}

.vf span {
  position: absolute;
  width: clamp(1.4rem, 3vw, 2.2rem);
  height: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(242, 239, 231, 0.38);
}

.vf .tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.vf .tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.vf .bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.vf .br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.vf .focus {
  top: 30%;
  left: 60%;
  width: clamp(3.5rem, 8vw, 6rem);
  height: clamp(2.6rem, 6vw, 4.2rem);
  border: 1px solid rgba(217, 164, 65, 0.85);
  border-radius: 2px;
}

.vf .focus::after {
  content: "AF · LOCKED";
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  color: var(--amber);
  white-space: nowrap;
}

@media (max-width: 48rem) {
  .vf .focus { display: none; }
}

/* REC indicator */
.rec-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e5484d;
  margin-right: 0.5em;
  animation: rec-blink 1.6s steps(1) infinite;
  vertical-align: 1px;
}

@keyframes rec-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

/* preloader percentage counter */
.preloader__pct {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

/* gallery frame counter chip */
.ph-card__idx {
  position: absolute;
  top: 0.8rem;
  left: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: rgba(242, 239, 231, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

/* 3D tilt stage for category tiles */
@media (pointer: fine) {
  .cats {
    perspective: 1100px;
  }

  .cat-tile {
    transform-style: preserve-3d;
  }
}

/* footer mega CTA — outline type that fills on hover */
.footer__mega {
  display: block;
  padding-top: clamp(3rem, 7vw, 5rem);
}

.footer__mega .mega-label {
  display: block;
  margin-bottom: 1rem;
}

.footer__mega .mega-text {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2.6rem, 10vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(242, 239, 231, 0.5);
  transition: color 0.45s var(--ease-out), -webkit-text-stroke-color 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
}

.footer__mega:hover .mega-text,
.footer__mega:focus-visible .mega-text {
  color: var(--amber);
  -webkit-text-stroke-color: var(--amber);
  transform: translateX(0.06em);
}

/* scrub-revealed quote words start dim (JS drives them bright) */
.js .intro__quote .qw {
  opacity: 0.18;
}

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

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

  .grain {
    animation: none;
  }
}

/* ==========================================================================
   PRINT SALES — cart badge, buy affordances, print dialog, cart page, toast
   Data + behaviour live in assets/js/cart.js · checkout.js
   ========================================================================== */

/* ---------- Nav cart ---------- */
.nav__cta {
  align-items: center;
  gap: 0.75rem;
}

.nav__cart {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink-dim);
  flex-shrink: 0;
  transition: color 0.25s, border-color 0.25s;
}

.nav__cart:hover,
.nav__cart[aria-current="page"] {
  color: var(--amber);
  border-color: var(--amber);
}

.nav__cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  border-radius: 99px;
  background: var(--amber);
  color: var(--amber-ink);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  line-height: 1.2rem;
  text-align: center;
  border: 2px solid var(--bg);
}

.nav__cart-count[hidden],
.menu__badge[hidden] {
  display: none;
}

.menu__badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--amber-ink);
  background: var(--amber);
  border-radius: 99px;
  padding: 0.1em 0.6em;
  align-self: center;
}

/* the cart stays reachable when the rest of the nav collapses */
@media (max-width: 52rem) {
  .nav__cta {
    display: inline-flex;
  }

  .nav__cta .btn {
    display: none;
  }
}

/* ---------- Gallery card: open + buy ---------- */
/* a real link to the photograph's own page: crawlable, and ctrl-click still
   opens the share page in a new tab. JS hijacks a plain click for the lightbox.
   The z-index is load-bearing: the veil is also absolutely positioned, so
   without it whichever comes last in the markup would swallow the click. */
.ph-card__open {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  cursor: zoom-in;
  background: none;
  border: 0;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
}

/* filtered out of the current view */
.ph-card.is-hidden {
  display: none;
}

.ph-card:focus-within .ph-card__veil {
  opacity: 1;
}

/* the buy pill claims the veil's bottom-right corner, so the caption stacks
   into the space left of it instead of sitting on the same baseline */
.ph-card__veil {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.2rem;
  padding-right: 8.5rem;
}

.ph-card__cat {
  order: -1;
  padding-bottom: 0;
}

.ph-card__buy {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.62em 1.05em;
  border-radius: 99px;
  background: var(--amber);
  color: var(--amber-ink);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out),
    background-color 0.25s;
}

.ph-card:hover .ph-card__buy,
.ph-card:focus-within .ph-card__buy {
  opacity: 1;
  transform: translateY(0);
}

.ph-card__buy:hover {
  background: var(--amber-soft);
}

/* touch devices have no hover — keep the buy control permanently visible */
@media (pointer: coarse) {
  .ph-card__buy {
    opacity: 1;
    transform: none;
  }

  .ph-card__veil {
    opacity: 1;
    background: linear-gradient(180deg, transparent 45%, rgba(6, 9, 7, 0.82));
  }
}

/* ---------- Lightbox buy ---------- */
.lightbox__buy {
  padding: 0.72em 1.3em;
  font-size: 0.68rem;
  min-height: 46px;
}

@media (max-width: 30rem) {
  .lightbox__buy span,
  .lightbox__buy {
    letter-spacing: 0.14em;
  }

  .lightbox__buy {
    padding: 0.7em 0.95em;
  }
}

/* ---------- Shared option controls ---------- */
.cart-opts {
  display: grid;
  /* a native select clips its own text, so give each one a full row unless
     there is genuinely room for two — the paper/framing labels are long */
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 0.9rem;
}

.cart-opt {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.cart-opt__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.cart-opt select {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.7em 2.4em 0.7em 0.9em;
  color: var(--ink);
  font-size: 0.88rem;
  min-height: 44px;
  width: 100%;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d9a441' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9em center;
  transition: border-color 0.25s;
}

.cart-opt select:focus {
  outline: none;
  border-color: var(--amber);
}

.cart-opt select option {
  background: #10150f;
  color: var(--ink);
}

/* quantity stepper */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 99px;
  overflow: hidden;
}

.qty button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink-dim);
  transition: color 0.2s, background-color 0.2s;
}

.qty button:hover {
  color: var(--amber);
  background: var(--surface-2);
}

.qty__value {
  min-width: 2.4rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink);
}

/* ---------- Print options dialog ---------- */
.print-modal {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-lightbox) + 10);
  background: rgba(4, 6, 5, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: var(--gutter);
  overflow-y: auto;
}

.print-modal[hidden] {
  display: none;
}

.print-modal__panel {
  position: relative;
  width: min(56rem, 100%);
  max-height: calc(100dvh - 2 * var(--gutter));
  overflow-y: auto;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
}

.print-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  background: rgba(6, 9, 7, 0.72);
}

.print-modal__figure {
  background: var(--bg-deep);
  overflow: hidden;
}

.print-modal__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 14rem;
}

.print-modal__body {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.print-modal__title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  padding-right: 2.6rem;
}

.print-modal__edition {
  color: var(--amber);
  margin-top: -0.5rem;
}

.print-modal__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.4rem;
}

.print-modal__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--amber-soft);
  line-height: 1.1;
}

.print-modal__add {
  width: 100%;
}

@media (max-width: 44rem) {
  .print-modal__panel {
    grid-template-columns: 1fr;
  }

  .print-modal__figure img {
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
  }
}

/* ---------- Cart page ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.cart-layout[hidden],
.cart-empty[hidden],
#checkout[hidden],
#cart-more-section[hidden] {
  display: none;
}

.cart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.cart-clear {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0.5em 0;
  transition: color 0.25s;
}

.cart-clear:hover {
  color: #e58f8f;
}

.cart-line {
  display: grid;
  grid-template-columns: clamp(6rem, 13vw, 9.5rem) minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
  padding-block: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}

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

.cart-line__thumb {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  /* the line is a grid row; without this the thumb stretches to match the
     taller options column and drags the photograph out of shape with it */
  align-self: start;
}

.cart-line__thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.cart-line__missing {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: 0.8rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.cart-line__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
}

.cart-line__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cart-line__title {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.2;
}

.cart-line__cat {
  margin-top: 0.3rem;
}

.cart-line__remove {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-faint);
  flex-shrink: 0;
  transition: color 0.25s, border-color 0.25s;
}

.cart-line__remove:hover {
  color: #e58f8f;
  border-color: #b25050;
}

.cart-line__edition {
  color: var(--amber);
  margin-top: -0.4rem;
}

.cart-line__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

.cart-line__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  margin-left: auto;
}

.cart-line__total {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--amber-soft);
  line-height: 1.1;
}

/* summary */
.summary {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--ink-dim);
}

.summary__row--total {
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
  padding-top: 0.9rem;
  color: var(--ink);
}

.summary__row--total span:last-child {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--amber-soft);
}

/* empty state */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(2rem, 6vw, 4.5rem);
}

.cart-empty__icon {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  border: 1px solid var(--amber);
  display: grid;
  place-items: center;
  color: var(--amber);
}

/* more frames */
.more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
}

.more-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.more-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.more-card img {
  width: 100%;
  /* the height attribute on the tag is a presentational hint; without this it
     stays definite, aspect-ratio is ignored, and portrait frames run tall */
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.more-card__body {
  padding: 1rem 1.1rem 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.more-card__title {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: 1.05rem;
  line-height: 1.25;
}

.more-card__add {
  margin: 0.8rem 1.1rem 1.1rem;
  padding: 0.8em 1.2em;
  font-size: 0.66rem;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.4rem;
  transform: translate(-50%, 1.2rem);
  z-index: calc(var(--z-lightbox) + 20);
  max-width: min(30rem, calc(100vw - 2 * var(--gutter)));
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.3rem;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out),
    visibility 0.3s;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.toast__text {
  font-size: 0.88rem;
  color: var(--ink);
}

.toast__link {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

@media (max-width: 64rem) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  .cart-line {
    grid-template-columns: 1fr;
  }

  .cart-line__thumb img {
    aspect-ratio: 16 / 10;
  }

  .cart-line__price {
    align-items: flex-start;
    margin-left: 0;
  }

  .toast {
    left: var(--gutter);
    right: var(--gutter);
    transform: translate(0, 1.2rem);
    max-width: none;
    border-radius: var(--radius);
    bottom: 5.4rem;
  }

  .toast.is-visible {
    transform: translate(0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ph-card__buy,
  .toast,
  .more-card {
    transition-duration: 0.01ms;
  }

  .ph-card__buy {
    transform: none;
  }
}

/* ==========================================================================
   CAPTURE SHIELD — photographs vanish while the window is not the focused one,
   which is the state a screen-snip overlay puts it in. Driven by main.js.
   ========================================================================== */
.capture-shield {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-cursor) + 10);
  display: grid;
  place-items: center;
  padding: var(--gutter);
  /* all but opaque: whatever is captured must not contain a photograph */
  background: var(--bg-deep);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.capture-shield.is-visible {
  opacity: 1;
  visibility: visible;
}

.capture-shield__card {
  max-width: 28rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--amber);
}

.capture-shield__title {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--ink);
  line-height: 1.2;
}

.capture-shield__note {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-dim);
}

/* second line of defence: blur the frames themselves, instantly — the
   !important is here to defeat the hover/filter transitions on the cards */
body.is-shielded img.protected {
  filter: blur(30px) saturate(0.3) brightness(0.5);
  transition: none !important;
}

/* ---------- Print / PDF export: the photographs never come along ---------- */
@media print {
  .protected,
  .masonry,
  .strip,
  .cats,
  .night__grid,
  .featured,
  .hero__media,
  .more-grid,
  .cart-line__thumb,
  .lightbox,
  .print-modal,
  .capture-shield,
  .grain,
  .wa-float,
  .cursor-dot,
  .cursor-ring,
  .preloader,
  .ghost-word,
  .scroll-progress,
  .nav,
  .menu {
    display: none !important;
  }

  body::before {
    content: "The photographs on vinitarora.com are © Vinit Arora and are not included in printed or exported copies of this page. Signed, limited-edition prints of every frame are available to order.";
    display: block;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #999;
    font-family: Georgia, serif;
    font-size: 11pt;
    line-height: 1.5;
  }

  body {
    background: #fff !important;
    color: #111 !important;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }
}

/* ---------- Footer social profiles ---------- */
.socials {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.social {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-dim);
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

.social:hover,
.social:focus-visible {
  color: var(--amber);
  border-color: var(--amber);
  background: rgba(217, 164, 65, 0.08);
  transform: translateY(-3px);
}

/* comfortable thumb targets where there is no cursor */
@media (pointer: coarse) {
  .socials {
    gap: 0.75rem;
  }

  .social {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social:hover,
  .social:focus-visible {
    transform: none;
  }
}
