/* =========================================================
   Lynsey Marie — Photography
   Stage-black canvas, warm-white type, one vermilion accent.
   ========================================================= */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --ink: #f2efea;
  --ink-2: rgba(242, 239, 234, 0.64);
  --ink-3: rgba(242, 239, 234, 0.4);
  --line: rgba(242, 239, 234, 0.14);
  --accent: #ff4a1c; /* stage-light vermilion: CTAs, live states, focus */

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: clamp(20px, 3.2vw, 48px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: #0a0a0a; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 300;
  background: var(--accent); color: #0a0a0a; padding: 10px 14px;
  font-weight: 600; transition: top 0.2s;
}
.skip:focus { top: 12px; }

.mono { font-family: var(--f-mono); }
.label {
  margin: 0;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.display {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.84;
  letter-spacing: -0.005em;
  font-size: clamp(76px, 15vw, 248px);
}
.line { display: block; overflow: hidden; padding-bottom: 0.04em; margin-bottom: -0.04em; }
.line > span { display: inline-block; }

/* underline sweep link */
.u-link {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 100% 100%;
  background-repeat: no-repeat;
  padding-bottom: 3px;
  transition: background-size 0.6s var(--ease-io);
}
.u-link:hover { background-size: 0% 1px; }

/* grain */
.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none;
  opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* round icon button */
.circle-btn {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(242, 239, 234, 0.4);
  display: grid; place-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.circle-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.circle-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* live dot */
.dot {
  position: relative; display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-right: 10px; vertical-align: 1px;
}
.dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--accent); animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3.2); opacity: 0; } }

/* =========================================================
   CURSOR — an autofocus point that locks onto photos
   ========================================================= */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.cursor.is-on { opacity: 1; }
.cursor__ring {
  position: absolute; left: 0; top: 0;
  width: var(--s, 34px); height: var(--s, 34px);
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--ease), height 0.5s var(--ease);
}
.cursor.is-on .cursor__ring { --s: 88px; }
.cursor__ring i {
  position: absolute; width: 14px; height: 14px;
  border: 0 solid var(--ink);
}
.cursor__ring i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.cursor__ring i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.cursor__ring i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.cursor__ring i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.cursor__label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink);
}
.cursor__label::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: 7px; vertical-align: 1px;
}
@media (hover: hover) and (pointer: fine) {
  [data-cursor] { cursor: none; }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 20px var(--pad);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
  padding-block: 14px;
}
.nav__brand {
  font-family: var(--f-display); font-weight: 900; font-size: 26px;
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 1;
  justify-self: start;
}
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav__links a {
  font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 6px 0 4px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 0.6s var(--ease-io);
}
.nav__links a:hover,
.nav__links a.is-active { background-size: 100% 1px; }
.nav__status {
  justify-self: end;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 640px;
  overflow: hidden; background: #000;
}
.hero__frame {
  position: absolute; inset: 0;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.6s var(--ease-io);
}
.is-loading .hero__frame { clip-path: inset(24% 34% 24% 34%); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(0 0 0 100%);
  visibility: hidden;
}
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.14);
}
.hero__slides[data-dir="prev"] .hero__slide:not(.is-active):not(.is-prev) { clip-path: inset(0 100% 0 0); }
.hero__slide.is-active,
.hero__slide.is-prev { visibility: visible; }
.hero__slide.is-active {
  z-index: 2; clip-path: inset(0 0 0 0);
  transition: clip-path 1.25s var(--ease-io);
}
.hero__slide.is-prev { z-index: 1; clip-path: inset(0 0 0 0); }
.hero__slide.is-active img,
.hero__slide.is-prev img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }

.hero__shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 38%, rgba(0,0,0,0) 64%),
    linear-gradient(to right, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0) 55%);
}
.hero__vf {
  position: absolute; z-index: 4; pointer-events: none;
  inset: 24% 34%;
  opacity: 0.9;
  transition: inset 1.6s var(--ease-io), opacity 0.8s 1.2s var(--ease);
}
body:not(.is-loading) .hero__vf { inset: 0; opacity: 0; }
.hero__vf i { position: absolute; width: 26px; height: 26px; border: 0 solid var(--ink); }
.hero__vf i:nth-child(1) { left: -12px; top: -12px; border-left-width: 1.5px; border-top-width: 1.5px; }
.hero__vf i:nth-child(2) { right: -12px; top: -12px; border-right-width: 1.5px; border-top-width: 1.5px; }
.hero__vf i:nth-child(3) { left: -12px; bottom: -12px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.hero__vf i:nth-child(4) { right: -12px; bottom: -12px; border-right-width: 1.5px; border-bottom-width: 1.5px; }

.hero__content {
  position: absolute; z-index: 5;
  left: var(--pad); bottom: var(--pad);
  width: min(60vw, 980px);
}
.hero__title {
  margin: 0.22em 0 0.3em;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 9.8vw, 176px); line-height: 0.85; letter-spacing: -0.005em;
}
.hero__title .line > span { transition: transform 0.95s var(--ease); }
.hero__title .line:nth-child(3) > span { transition-delay: 0.07s; }
.is-intro .hero__title .line:nth-child(2) > span { transition-delay: 0.7s; }
.is-intro .hero__title .line:nth-child(3) > span { transition-delay: 0.8s; }
.hero__title.is-out .line > span { transform: translateY(-108%); transition: transform 0.5s var(--ease-io); }
.hero__title.is-in-start .line > span { transform: translateY(108%); transition: none; }
.hero__intro { margin: 0; max-width: 470px; color: var(--ink-2); font-size: 16.5px; line-height: 1.55; }
.hero__intro em { font-style: normal; color: var(--ink); }

.hero__side {
  position: absolute; z-index: 5;
  right: var(--pad); bottom: var(--pad);
  width: min(34vw, 500px);
  display: flex; flex-direction: column; gap: 18px;
}
.hero__queue { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.queue-item {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #111;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.queue-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.queue-item:hover img { transform: scale(1.06); }
.queue-item span {
  position: absolute; left: 8px; bottom: 7px;
  font-family: var(--f-mono); font-size: 11px; color: var(--ink);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.hero__meta { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 18px; }
.hero__count { display: flex; align-items: baseline; gap: 6px; line-height: 0.8; }
.hero__num { font-family: var(--f-display); font-weight: 900; font-size: 64px; }
.hero__total { font-size: 12px; color: var(--ink-2); }
.hero__readout {
  display: flex; flex-direction: column; gap: 3px;
  font-size: 11px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink-2);
  padding-bottom: 4px;
}
.hero__cat { color: var(--ink); }
.hero__ctrls { display: flex; gap: 10px; }
.hero__progress { height: 1px; background: rgba(242,239,234,0.22); overflow: hidden; }
.hero__progress span {
  display: block; height: 100%; width: 100%; background: var(--accent);
  transform-origin: left; transform: scaleX(0);
}
.hero__progress span.is-running { animation: progress var(--dur, 6.5s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

/* intro choreography */
.hero__content > *, .hero__side, .nav {
  transition-property: opacity, transform;
}
.is-loading .hero__label,
.is-loading .hero__intro,
.is-loading .hero__side,
.is-loading .nav { opacity: 0; transform: translateY(16px); }
.is-loading .hero__title .line > span { transform: translateY(108%); }
.hero__label, .hero__intro, .hero__side {
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.hero__label { transition-delay: 0.9s; }
.hero__intro { transition-delay: 1.25s; }
.hero__side { transition-delay: 1.4s; }
body:not(.is-loading) .nav { transition: opacity 1s 1.1s var(--ease), transform 1s 1.1s var(--ease), background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s var(--ease); }

/* =========================================================
   INTRO / MANIFESTO
   ========================================================= */
.intro { padding: clamp(120px, 20vh, 220px) var(--pad) clamp(100px, 16vh, 180px); }
.manifesto {
  margin: 0; max-width: 1240px;
  font-weight: 500; font-size: clamp(30px, 4.5vw, 70px);
  line-height: 1.06; letter-spacing: -0.028em;
}
.manifesto .w { opacity: 0.14; transition: opacity 0.35s linear; }
.manifesto .w.is-lit { opacity: 1; }

.disciplines {
  margin-top: clamp(80px, 12vh, 140px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.discipline {
  display: grid; grid-template-rows: auto auto auto; justify-items: start; gap: 14px;
  padding: 22px 20px 26px 0; text-align: left;
  border-right: 1px solid var(--line);
  transition: color 0.4s var(--ease);
}
.discipline + .discipline { padding-left: 20px; }
.discipline:last-child { border-right: 0; }
.discipline__num { font-size: 12px; color: var(--ink-3); }
.discipline__name {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(30px, 3.3vw, 52px); line-height: 0.9;
  transition: transform 0.5s var(--ease);
}
.discipline__count { font-size: 12px; color: var(--ink-2); }
.discipline__count::after { content: " →"; color: var(--accent); opacity: 0; transition: opacity 0.4s var(--ease); }
.discipline:hover .discipline__name { transform: translateX(0.5rem); }
.discipline:hover .discipline__count::after { opacity: 1; }

/* =========================================================
   SECTION HEAD
   ========================================================= */
.sec-head {
  display: grid; grid-template-columns: 1fr auto; align-items: end;
  gap: 18px 40px; padding: 0 var(--pad);
}
.sec-head .label { grid-column: 1 / -1; }
.sec-head__aside { margin: 0; max-width: 340px; color: var(--ink-2); font-size: 15px; padding-bottom: 0.6em; }
.sec-head__aside.mono { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }

/* =========================================================
   SELECTED WORK — pinned horizontal reel
   ========================================================= */
.work { padding-top: clamp(40px, 6vh, 80px); }
.reel { position: relative; }
.reel__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  overflow: hidden; display: flex; align-items: center;
}
.reel__track {
  display: flex; align-items: center; gap: clamp(28px, 4.5vw, 84px);
  padding: 0 var(--pad); will-change: transform;
}
.reel__card { flex: none; margin: 0; position: relative; display: flex; flex-direction: column; }
.reel__card--big .reel__media { height: 62vh; }
.reel__card--small .reel__media { height: 40vh; }
.reel__card--up { top: -11vh; }
.reel__card--down { top: 11vh; }
.reel__media {
  overflow: hidden; background: #111;
  display: block; width: auto; padding: 0;
}
.reel__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: translateX(var(--px, 0)) scale(1.12);
  transition: filter 0.6s var(--ease);
}
.reel__card figcaption {
  width: 0; min-width: 100%;
  padding-top: 12px;
  font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--ink-2);
}
.reel__end {
  flex: none; width: min(40vw, 520px); align-self: center;
  display: flex; flex-direction: column; gap: 22px;
}
.reel__end p {
  margin: 0; font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(48px, 6vw, 96px); line-height: 0.86;
}
.reel__end a { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; align-self: flex-start; }
.reel__hud {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 28px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2);
}
.reel__bar { height: 1px; background: var(--line); overflow: hidden; }
.reel__bar span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* =========================================================
   ARCHIVE — contact sheet
   ========================================================= */
.archive { padding: clamp(100px, 16vh, 180px) 0 0; }
.sec-head--archive { row-gap: 26px; }
.filters {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px clamp(18px, 2.6vw, 40px);
  border-top: 1px solid var(--line); padding-top: 22px;
}
.filter {
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-3); padding: 4px 0;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: color 0.3s var(--ease), background-size 0.6s var(--ease-io);
}
.filter sup { font-family: var(--f-mono); font-weight: 400; font-size: 10px; margin-left: 4px; letter-spacing: 0; }
.filter:hover { color: var(--ink); }
.filter.is-active { color: var(--ink); background-size: 100% 1.5px; }

.grid {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 34px var(--pad) 0;
  transition: opacity 0.25s var(--ease);
}
.grid__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.grid.is-switching { opacity: 0; }
.tile {
  display: block; width: 100%;
  text-align: left;
  transition: opacity 0.5s var(--ease);
}
.tile.is-hidden { display: none; }
.tile__media { position: relative; overflow: hidden; background: #141414; }
.tile__media img {
  width: 100%; height: auto;
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease);
  opacity: 0;
}
.tile__media img.is-loaded { opacity: 1; }
.tile:hover .tile__media img { transform: scale(1.04); }
.grid.is-hovering .tile:not(:hover) { opacity: 0.38; }
.tile.pre { opacity: 0; }
.tile.anim { animation: tileIn 0.9s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes tileIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* =========================================================
   PRICING — editorial index + hover peek
   ========================================================= */
.pricing { padding: clamp(120px, 20vh, 220px) 0 0; }
.plans-wrap { position: relative; padding: 48px var(--pad) 0; }
.plans { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plan-row { border-bottom: 1px solid var(--line); }
.plan {
  position: relative;
  display: grid; grid-template-columns: 56px minmax(0, 1.35fr) minmax(0, 1fr) minmax(130px, auto) 36px;
  align-items: center; gap: 24px;
  padding: clamp(22px, 3vw, 38px) 4px;
  transition: color 0.4s var(--ease);
}
.plan__num { font-size: 12.8px; letter-spacing: 0.04em; opacity: 0.4; transition: opacity 0.4s var(--ease); }
.plan__name {
  position: relative; width: fit-content;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(34px, 4.6vw, 78px); line-height: 0.9;
  transform: translateX(0); transition: transform 0.5s var(--ease);
}
.plan__name::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.06em; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left center;
  transition: transform 0.55s var(--ease);
}
.plan__details { font-size: 15px; line-height: 1.6; color: var(--ink-2); transition: color 0.4s var(--ease); }
.plan__price {
  justify-self: end; text-align: right;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 3.6vw, 60px); line-height: 0.9; text-transform: uppercase;
}
.plan__price small {
  display: block; font-weight: 400; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 8px;
}
.plan__arrow {
  justify-self: end; font-size: 22px; opacity: 0; transform: translateX(-0.4rem);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), color 0.4s var(--ease);
}
.plan:hover .plan__name, .plan:focus-visible .plan__name { transform: translateX(0.9rem); }
.plan:hover .plan__name::after, .plan:focus-visible .plan__name::after { transform: scaleX(1); }
.plan:hover .plan__num, .plan:focus-visible .plan__num { opacity: 1; }
.plan:hover .plan__arrow, .plan:focus-visible .plan__arrow { opacity: 1; transform: translateX(0); color: var(--accent); }
.plan:hover .plan__details { color: var(--ink); }
@media (hover: hover) {
  .plans-wrap.is-peeking .plan-row:not(:hover) .plan { color: color-mix(in srgb, var(--ink) 42%, transparent); }
}
.peek {
  position: absolute; top: 0; left: 0; z-index: 5;
  width: 15.5rem; aspect-ratio: 11 / 14;
  border-radius: 2px; overflow: hidden; pointer-events: none;
  background: #18191a; border: 1px solid #2a2b2c;
  transform: translate3d(calc(var(--px, 0px) - 50%), calc(var(--py, 0px) - 50%), 0) rotate(var(--tilt, 0deg)) scale(var(--peek-scale, 0.9));
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 60px -30px rgba(4, 4, 4, 0.55);
  will-change: transform, opacity;
}
.peek.is-peeking { opacity: 1; --peek-scale: 1; }
.peek img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.peek img.is-active { opacity: 1; transform: scale(1); }

.includes {
  margin: 56px var(--pad) 0;
  display: grid; grid-template-columns: 220px 1fr; gap: 18px 40px; align-items: start;
}
.includes ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px;
}
.includes li { font-size: 15px; padding-left: 20px; position: relative; }
.includes li::before { content: "+"; position: absolute; left: 0; color: var(--accent); font-family: var(--f-mono); }
.includes__note { grid-column: 2; margin: 6px 0 0; font-size: 14px; color: var(--ink-3); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: clamp(120px, 20vh, 220px) 0 clamp(120px, 18vh, 200px); }
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 120px); padding: 28px var(--pad) 0;
}
.contact__title { font-size: clamp(64px, 8.6vw, 150px); }
.contact__copy { max-width: 420px; color: var(--ink-2); margin: 34px 0 28px; font-size: 16.5px; }
.contact__email { font-size: clamp(20px, 2.1vw, 30px); font-weight: 500; letter-spacing: -0.01em; }

.form { display: flex; flex-direction: column; gap: 30px; padding-top: 10px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); padding: 0;
}
.field .opt { color: var(--ink-3); }
.field input, .field textarea {
  width: 100%; background: transparent; color: var(--ink);
  border: 0; border-bottom: 1px solid rgba(242,239,234,0.24); border-radius: 0;
  padding: 10px 0 12px; font: 400 20px/1.35 var(--f-body);
  transition: border-color 0.3s var(--ease);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 10px 14px;
  border: 1px solid rgba(242,239,234,0.28);
  font-size: 14px; font-weight: 500;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__submit {
  margin-top: 8px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  background: var(--accent); color: #0a0a0a;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: 1;
  transition: background 0.35s var(--ease);
}
.form__submit span:last-child { transition: transform 0.5s var(--ease); }
.form__submit:hover { background: var(--ink); }
.form__submit:hover span:last-child { transform: translateX(6px); }
.form__note { margin: -14px 0 0; font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.02em; }
.form__note.is-error { color: var(--accent); }
.form__note.is-ok { color: var(--ink); }
.form__note a { color: var(--ink); }
.form__submit:disabled { opacity: 0.6; cursor: progress; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   FOOTER — drifting photo wall + booking card
   ========================================================= */
.footer { position: relative; background: #000; overflow: hidden; }
.wall {
  height: 118vh; min-height: 760px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 0 12px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 82%, transparent 100%);
}
.wall__col { display: flex; flex-direction: column; animation: drift var(--t, 80s) linear infinite; }
.wall__col:nth-child(even) { animation-direction: reverse; }
.wall:hover .wall__col { animation-play-state: paused; }
.wall__col img {
  width: 100%; height: auto; flex: none; margin-bottom: 12px;
  filter: brightness(0.42) saturate(0.85);
  transition: filter 0.7s var(--ease);
}
.wall__col img:hover { filter: brightness(0.95) saturate(1); }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.book {
  position: absolute; left: 50%; top: 59vh; transform: translate(-50%, -50%);
  width: min(720px, calc(100% - 2 * var(--pad)));
  padding: clamp(40px, 6vw, 76px) clamp(24px, 5vw, 64px);
  background: #050505; text-align: center; z-index: 2;
}
.vf { position: absolute; inset: 0; pointer-events: none; }
.vf i { position: absolute; width: 26px; height: 26px; border: 0 solid var(--accent); }
.vf i:nth-child(1) { left: 14px; top: 14px; border-left-width: 2px; border-top-width: 2px; }
.vf i:nth-child(2) { right: 14px; top: 14px; border-right-width: 2px; border-top-width: 2px; }
.vf i:nth-child(3) { left: 14px; bottom: 14px; border-left-width: 2px; border-bottom-width: 2px; }
.vf i:nth-child(4) { right: 14px; bottom: 14px; border-right-width: 2px; border-bottom-width: 2px; }
.book__status { margin: 0 0 22px; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-2); }
.book__title {
  margin: 0; font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 10vw, 156px); line-height: 0.84;
}
.book__title span { display: inline-block; }
.book__ctas { margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.book__cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 22px; background: var(--ink); color: var(--bg);
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 22px; line-height: 1;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.book__cta:hover { background: var(--accent); color: #0a0a0a; }
.book__cta--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(242,239,234,0.35); }
.book__cta--ghost:hover { background: var(--ink); color: var(--bg); }

.footer__base { position: relative; z-index: 2; padding: 0 var(--pad) 26px; margin-top: -10vh; }
.wordmark {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  line-height: 0.78; white-space: nowrap; letter-spacing: -0.005em;
  font-size: 19vw; /* refined by JS to fit the width exactly */
  padding-top: 0.06em;
}
.footer__bar {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px;
  border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2);
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(5, 5, 5, 0.97);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--pad);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2);
}
.lightbox__count { color: var(--ink); }
.lightbox__close { justify-self: end; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; padding: 8px 0; }
.lightbox__close span { margin-left: 8px; }
.lightbox__close:hover { color: var(--accent); }
.lightbox__stage { position: relative; touch-action: pan-y; }
.lightbox__img {
  position: absolute; left: 50%; top: 50%;
  max-width: calc(100% - 2 * var(--pad) - 140px); max-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%) scale(1.03); opacity: 0;
  transition: opacity 0.5s var(--ease), transform 1.1s var(--ease);
}
.lightbox__img.is-active { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lightbox__nav--prev { left: var(--pad); }
.lightbox__nav--next { right: var(--pad); }
.lightbox__bottom {
  display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
  padding: 18px var(--pad) 22px;
}
.lightbox__alt { margin: 0; font-size: 14px; color: var(--ink-2); }
.lightbox__exif { margin: 0; font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }

/* =========================================================
   REVEALS
   ========================================================= */
[data-reveal]:not([data-reveal="lines"]) { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="lines"] .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
[data-reveal="lines"] .line:nth-child(2) > span { transition-delay: 0.08s; }
[data-reveal="lines"] .line:nth-child(3) > span { transition-delay: 0.16s; }
[data-reveal="lines"].is-in .line > span { transform: none; }

/* =========================================================
   LEGAL PAGE (privacy)
   ========================================================= */
.legal {
  width: min(1040px, 100%);
  padding: clamp(130px, 20vh, 190px) var(--pad) clamp(80px, 12vh, 140px);
}
.legal__title { font-size: clamp(76px, 13vw, 200px); margin-top: 18px; }
.legal__date { margin: 22px 0 0; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }
.legal__body { margin-top: clamp(48px, 8vh, 80px); border-top: 1px solid var(--line); }
.legal__body section {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px 40px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.legal__body h2 { padding-top: 5px; }
.legal__body section > :not(h2) { grid-column: 2; }
.legal__body p,
.legal__body ul { margin: 0; max-width: 62ch; font-size: 16.5px; color: var(--ink-2); }
.legal__body ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.legal__body li { position: relative; padding-left: 20px; }
.legal__body li::before { content: "+"; position: absolute; left: 0; color: var(--accent); font-family: var(--f-mono); }
.legal__body a { color: var(--ink); }
.legal__back { display: inline-block; margin-top: 44px; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.legal__foot { padding: 0 var(--pad) 26px; }
@media (max-width: 860px) {
  .legal__body section { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .legal__body section > :not(h2) { grid-column: 1; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .hero__side { width: min(40vw, 440px); }
  .hero__content { width: 54vw; }
  .plan { grid-template-columns: 44px minmax(0, 1fr) minmax(110px, auto) 28px; }
  .plan__details { grid-column: 2; grid-row: 2; }
  .plan__price { grid-column: 3; grid-row: 1 / span 2; }
  .plan__arrow { grid-column: 4; grid-row: 1 / span 2; }
  .includes ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__status { display: none; }
  .nav__brand { font-size: 22px; }

  .hero__content { width: auto; right: var(--pad); bottom: 150px; }
  .hero__title { font-size: clamp(56px, 15.5vw, 120px); }
  .hero__intro { font-size: 15px; max-width: 420px; }
  .hero__side { left: var(--pad); width: auto; gap: 14px; }
  .hero__queue { display: none; }
  .hero__num { font-size: 52px; }

  .disciplines { grid-template-columns: repeat(2, 1fr); }
  .discipline:nth-child(2) { border-right: 0; }
  .discipline:nth-child(3) { padding-left: 0; }
  .discipline:nth-child(n+3) { border-top: 1px solid var(--line); }

  /* reel becomes a native swipe strip */
  .reel { height: auto !important; }
  .reel__sticky { position: relative; height: auto; overflow: visible; display: block; padding: 40px 0 0; }
  .reel__track {
    transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; align-items: flex-start; gap: 16px;
    padding-bottom: 8px;
  }
  .reel__track::-webkit-scrollbar { display: none; }
  .reel__card { scroll-snap-align: start; }
  .reel__card--big .reel__media, .reel__card--small .reel__media { height: 58vh; max-height: 500px; }
  .reel__card--up, .reel__card--down { top: 0; align-self: flex-start; }
  .reel__media img { transform: none; }
  .reel__end { width: 70vw; align-self: center; }
  .reel__hud { display: none; }

  .sec-head { grid-template-columns: 1fr; }
  .grid, .grid__col { gap: 8px; }

  .plan { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 8px 14px; }
  .plan__name { font-size: clamp(30px, 8.4vw, 48px); }
  .plan__price { grid-column: 3; grid-row: 1; font-size: 30px; }
  .plan__details { grid-column: 2 / -1; grid-row: 2; font-size: 14px; }
  .plan__arrow { display: none; }
  .peek { display: none; }
  .includes { grid-template-columns: 1fr; }
  .includes__note { grid-column: 1; }

  .contact__grid { grid-template-columns: 1fr; }
  .form__submit { font-size: 26px; }

  .wall { grid-template-columns: repeat(3, 1fr); height: 110vh; }
  .wall__col:nth-child(n+4) { display: none; }
  .book { top: 55vh; }
  .footer__bar { flex-direction: column; }

  .lightbox__img { max-width: calc(100% - 2 * var(--pad)); }
  .lightbox__nav { display: none; }
  .lightbox__bottom { flex-direction: column; gap: 6px; }
  .lightbox__exif { white-space: normal; }
}

@media (max-width: 480px) {
  .includes ul { grid-template-columns: 1fr; }
  .hero__readout { display: none; }
  .hero__meta { grid-template-columns: auto 1fr; }
  .hero__ctrls { justify-self: end; }
}

/* ---------- Responsive hardening ---------- */
.nav__brand { white-space: nowrap; }

/* Tablet / small laptop: keep the headline block clear of the thumbnail queue */
@media (min-width: 861px) and (max-width: 1100px) {
  .hero__content { width: calc(100vw - 2 * var(--pad) - min(40vw, 440px) - 32px); }
}

/* Phones: let the hero fit short screens instead of forcing 640px */
@media (max-width: 860px) {
  .hero { min-height: 520px; }
}

/* Very small phones (320–380px) */
@media (max-width: 380px) {
  .nav__brand { font-size: 18px; }
  .nav__links { gap: 10px; }
  .nav__links a { font-size: 11px; letter-spacing: 0.02em; }
  .hero__title { font-size: clamp(48px, 15vw, 64px); }
}

/* Phones turned sideways and other short screens */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 0; }
  .hero__title { font-size: clamp(44px, 18vh, 120px); }
  .hero__intro { display: none; }
  .hero__queue { display: none; }
  .intro { padding-block: 90px 80px; }
}
@media (max-height: 520px) and (orientation: landscape) and (max-width: 860px) {
  .hero__content { bottom: 104px; }
}

/* Touch screens: bigger tap areas without changing the look */
@media (pointer: coarse) {
  .nav__links a, .filter, .reel__end a, .contact__email, .footer__bar a { position: relative; }
  .nav__links a::after, .filter::after, .reel__end a::after, .contact__email::after, .footer__bar a::after {
    content: ""; position: absolute; inset: -10px -6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .wall__col { animation: none; }
}
