/* =========================================================
   Zangrid Studios — main stylesheet
   Sections: tokens · reset · type · layout · nav · hero
             · work · packages · forms · footer · utilities
   ========================================================= */

/* ---------- fonts (self-hosted: no third-party requests) ---------- */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2-variations"), url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  /* Layout concept: full-bleed cinema moments (hero, reels, galleries)
     between calm, generously spaced editorial columns. The work is the
     colour; the interface stays warm-black, ivory and a thread of gold. */

  /* colour — warm black, ivory, and the gold of the logo's "Studios" */
  --ink:            #0c0b0a;
  --ink-soft:       #15130f;
  --ink-raise:      #1c1915;
  --ink-line:       rgba(245, 238, 226, 0.1);
  --bone:           #f5eee2;
  --bone-dim:       rgba(245, 238, 226, 0.78);   /* body copy */
  --mute:           rgba(245, 238, 226, 0.56);   /* captions, meta */
  --accent:         #e8b923;                     /* gold — buttons, rules */
  --accent-soft:    #f2d36b;                     /* gold — type on black */
  --accent-glow:    rgba(232, 185, 35, 0.18);
  --glass:          rgba(20, 18, 15, 0.55);

  --bg:             var(--ink);
  --fg:             var(--bone);

  /* type — a wide grotesk for the voice of the logo, a serif italic
     for its script, Inter for reading */
  --font-display:   "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-serif:     "Cormorant Garamond", "Times New Roman", serif;
  --font-body:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display-stretch: 112%;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.55rem, 1.3rem + 1.2vw, 2.3rem);
  --step-3:  clamp(2.1rem, 1.5rem + 2.8vw, 3.9rem);
  --step-4:  clamp(2.8rem, 1.6rem + 5.4vw, 6.6rem);

  --gutter:    clamp(1.25rem, 4vw, 4.5rem);
  --section:   clamp(4.5rem, 9vw, 9rem);
  --maxw:      88rem;

  /* shape — soft, never clinical */
  --radius:    14px;
  --radius-lg: 22px;
  --radius-sm: 10px;

  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --dur:       0.6s;
  --nav-h:     4.75rem;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@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;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, video, svg, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
hr { border: 0; border-top: 1px solid var(--ink-line); margin: 0; }

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

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

/* ---------- type ---------- */
.display,
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
em, .italic { font-style: italic; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}
.lede {
  font-size: var(--step-1);
  color: var(--bone-dim);
  line-height: 1.55;
  font-weight: 300;
  max-width: 46ch;
}
.muted { color: var(--mute); }
.measure { max-width: 62ch; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--line { border-top: 1px solid var(--ink-line); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 60rem) {
  .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); align-items: start; }
  .split--sticky > :first-child { position: sticky; top: calc(var(--nav-h) + 2rem); }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* ---------- buttons / links ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--bone);
  --btn-bd: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--bone); color: var(--ink); transform: translateY(-2px); }
.btn--solid { --btn-bg: var(--bone); --btn-fg: var(--ink); }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--ghost { --btn-bd: rgba(244, 241, 236, 0.3); --btn-fg: var(--bone-dim); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.link-u {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15em;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.link-u:hover { color: var(--accent); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.arrow-link:hover { color: var(--bone); gap: 1em; }
.arrow-link::after { content: "\2192"; }

/* ---------- skip link ---------- */
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--bone);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 1rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              backdrop-filter var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--ink-line);
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand span { font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 0.3em; color: var(--mute); }

.nav__links { display: none; gap: clamp(1.25rem, 2.5vw, 2.5rem); align-items: center; }
@media (min-width: 62rem) { .nav__links { display: flex; } }
.nav__link {
  position: relative;
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
  padding-block: 0.35rem;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--bone); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.75rem; height: 2.75rem;
  background: none; border: 0; cursor: pointer;
  padding: 0 0.35rem;
}
.nav__toggle span {
  display: block; height: 1px; width: 100%;
  background: var(--bone);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
/* declared after .nav__toggle so it wins the display cascade */
@media (min-width: 62rem) { .nav__toggle { display: none; } }

.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-1.5rem);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s;
}
.menu__link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 9vw, 3.5rem);
  line-height: 1.2;
  border-bottom: 1px solid var(--ink-line);
  padding-block: 0.5rem;
}
.menu__link:hover { color: var(--accent); }
.menu__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; color: var(--mute); font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero--inner { min-height: 62svh; padding-top: var(--nav-h); }

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ink);
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  /* footage shows as graded — no extra filter on top */
  transition: opacity 1.4s var(--ease);
}
.hero__media video.is-ready { opacity: 1; }

/* Animated fallback: shown until the video paints, and if it never loads. */
.hero__fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(201, 162, 39, 0.22), transparent 60%),
    radial-gradient(100% 80% at 85% 80%, rgba(70, 90, 120, 0.32), transparent 65%),
    linear-gradient(200deg, #14141a 0%, #0b0b0c 45%, #17120c 100%);
  background-size: 160% 160%, 170% 170%, 100% 100%;
  animation: drift 26s var(--ease) infinite alternate;
  transition: opacity 1.4s var(--ease);
}
.hero.is-playing .hero__fallback { opacity: 0; }
@keyframes drift {
  0%   { background-position: 0% 0%, 100% 100%, 0 0; }
  50%  { background-position: 60% 30%, 40% 60%, 0 0; }
  100% { background-position: 20% 80%, 70% 10%, 0 0; }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* two layers: a flat wash so bright footage never eats the type,
     plus a vertical gradient that ties the hero into the page */
  background:
    linear-gradient(180deg, rgba(11,11,12,0.85) 0%, rgba(11,11,12,0.35) 30%, rgba(11,11,12,0.72) 72%, var(--ink) 100%),
    rgba(11, 11, 12, 0.22);
}
.grain::after {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.5'/></svg>");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1.5%); }
  50% { transform: translate(1.5%, -1%); }
  75% { transform: translate(-1%, -2%); }
}

.hero__body {
  position: relative;
  width: 100%;
  padding-block: clamp(3rem, 8vh, 6rem);
}
.hero__title { max-width: 16ch; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease) forwards;
}
.hero__title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes rise { to { transform: none; } }

.hero__foot {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  justify-content: space-between;
}
.hero__tags { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.hero__tags li { font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone-dim); }

.hero__ctrl {
  position: absolute;
  right: var(--gutter);
  top: calc(var(--nav-h) + 1.25rem);
  z-index: 3;
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  border: 1px solid rgba(244, 241, 236, 0.35);
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.35);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hero__ctrl:hover { background: rgba(244, 241, 236, 0.15); border-color: var(--bone); }
.hero__ctrl svg { width: 0.85rem; height: 0.85rem; fill: var(--bone); }
.hero__ctrl .icon-play { display: none; }
.hero__ctrl[aria-pressed="true"] .icon-play { display: block; }
.hero__ctrl[aria-pressed="true"] .icon-pause { display: none; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 3rem;
  background: linear-gradient(var(--mute), transparent);
  animation: cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue { 0%, 100% { transform: scaleY(0.3); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }
/* the cue would sit under the hero buttons on small screens */
@media (max-width: 62rem) { .scroll-cue { display: none; } }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--ink-line);
  padding-block: 1.1rem;
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  user-select: none;
}
.marquee__track {
  display: flex;
  gap: 3rem;
  padding-right: 3rem;
  animation: slide 38s linear infinite;
  flex-shrink: 0;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--bone-dim);
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.marquee span::after { content: "\2022"; color: var(--accent); font-size: 0.5em; }
@keyframes slide { to { transform: translateX(-100%); } }

/* ---------- work grid ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter {
  background: none;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  color: var(--bone-dim);
  padding: 0.55em 1.2em;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.filter:hover { border-color: var(--bone-dim); color: var(--bone); }
.filter[aria-pressed="true"] { background: var(--bone); border-color: var(--bone); color: var(--ink); }

.work-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}
.work-grid--featured { grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
  width: 100%;
}
.card--wide { grid-column: span 2; }
@media (max-width: 48rem) { .card--wide { grid-column: auto; } }

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-soft);
  isolation: isolate;
}
.card--portrait .card__media { aspect-ratio: 4 / 5; }
.card[data-orientation="vertical"] .card__media { aspect-ratio: 9 / 16; }
.card__media img,
.card__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
  filter: none;
}
.card:hover .card__media img,
.card:hover .card__media video { transform: scale(1.06); filter: saturate(1); }

/* generated poster when no still is supplied */
.card__poster {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 120% at 15% 15%, hsl(var(--h, 40) 45% 32% / 0.9), transparent 60%),
    radial-gradient(80% 100% at 90% 85%, hsl(calc(var(--h, 40) + 45) 35% 26% / 0.85), transparent 60%),
    linear-gradient(160deg, #1a1a1e, #0d0d0f);
  transition: transform 1.2s var(--ease);
}
.card:hover .card__poster { transform: scale(1.06); }
.card__poster::after {
  content: attr(data-num);
  position: absolute;
  right: 1rem; bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(244, 241, 236, 0.1);
}

.card__play {
  position: absolute;
  left: 1rem; bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 241, 236, 0.2);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateY(0.5rem);
  opacity: 0;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover .card__play, .card:focus-visible .card__play { opacity: 1; transform: none; }
.card__play svg { width: 0.6rem; height: 0.6rem; fill: var(--bone); }

.card__body { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.card__title { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.15; }
.card__meta { font-size: var(--step--1); color: var(--mute); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }

.empty-note {
  border: 1px dashed var(--ink-line);
  padding: 2.5rem;
  text-align: center;
  color: var(--mute);
}

/* ---------- stats / list rows ---------- */
.stats { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); }
.stat__n { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; }
.stat__l { font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); margin-top: 0.5rem; }

.rows { border-top: 1px solid var(--ink-line); }
.row {
  display: grid;
  gap: 0.5rem 2rem;
  grid-template-columns: 1fr;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--ink-line);
}
@media (min-width: 48rem) { .row { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; } }
.row__n { color: var(--accent); font-size: var(--step--1); letter-spacing: 0.2em; }
.row__t { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; }
.row__d { color: var(--bone-dim); }

/* ---------- packages ---------- */
.pkg {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(244,241,236,0.03), transparent 45%);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  height: 100%;
}
.pkg:hover { border-color: rgba(244, 241, 236, 0.28); transform: translateY(-4px); }
.pkg--featured { border-color: var(--accent); }
.pkg__flag {
  align-self: flex-start;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.35em 0.9em;
}
.pkg__name { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; }
.pkg__price { font-size: var(--step-1); color: var(--bone); }
.pkg__price small { display: block; font-size: var(--step--1); color: var(--mute); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.35rem; }
.pkg__desc { color: var(--bone-dim); font-size: var(--step-0); }
.pkg__list { display: grid; gap: 0.65rem; }
.pkg__list li {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: var(--step-0);
  color: var(--bone-dim);
}
.pkg__list li::before { content: "\2014"; color: var(--accent); }
.pkg .btn { align-self: flex-start; margin-top: auto; } /* pins CTAs to a shared baseline */

.svc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* ---------- testimonials ---------- */
.quote {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  height: 100%;
}
.quote p { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.4; font-style: italic; color: var(--bone); }
.quote footer { font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--ink-line); }
.faq details { border-bottom: 1px solid var(--ink-line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-block: 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--step-1);
  transition: color var(--dur) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details > p { padding-bottom: 1.5rem; color: var(--bone-dim); max-width: 68ch; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.75rem; }
.field { display: grid; gap: 0.5rem; }
.field > label, .fieldset > legend {
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.req { color: var(--accent); }
.input, .select, .textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink-line);
  border-radius: 0;
  padding: 0.85rem 0.25rem;
  color: var(--bone);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  appearance: none;
}
.textarea { min-height: 9rem; resize: vertical; border: 1px solid var(--ink-line); padding: 1rem; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--mute); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); }
.input::placeholder, .textarea::placeholder { color: #5b5954; }
.select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23b8b4ad' stroke-width='1.2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.35rem center;
  background-size: 0.75rem;
  padding-right: 2rem;
  cursor: pointer;
}
.select option { background: var(--ink-soft); color: var(--bone); }
.input[type="date"] { color-scheme: dark; }

.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: block;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  padding: 0.6em 1.2em;
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.chip input:hover + span { border-color: var(--bone-dim); color: var(--bone); }
.chip input:checked + span { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.check { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; font-size: var(--step--1); color: var(--bone-dim); cursor: pointer; }
.check input { width: 1.05rem; height: 1.05rem; accent-color: var(--accent); margin-top: 0.2rem; }

.error {
  font-size: var(--step--1);
  color: #ff9b8a;
  letter-spacing: 0.04em;
  text-transform: none;
  min-height: 1lh;
}
.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea { border-color: #ff9b8a; }

.form__status {
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: none;
}
.form__status.is-visible { display: block; }
.form__status.is-ok { border-color: var(--accent); }
.form__status.is-error { border-color: #ff9b8a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 6, 7, 0.94);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  /* visibility flips instantly on open (so the dialog can take focus in the
     same tick) and only at the end of the fade on close */
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
.lb.is-open { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease), visibility 0s; }
.lb__inner { width: min(100%, 78rem); display: grid; gap: 1.25rem; }
.lb__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.lb__frame iframe, .lb__frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* 9:16 films get a portrait stage instead of pillarboxing */
.lb__frame--vertical {
  aspect-ratio: 9 / 16;
  height: min(78vh, 46rem);
  width: auto;
  margin-inline: auto;
}
.lb__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; align-items: baseline; }
.lb__title { font-family: var(--font-display); font-size: var(--step-2); }
.lb__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lb__close:hover { background: var(--bone); color: var(--ink); }
.lb__missing { display: grid; place-items: center; height: 100%; text-align: center; padding: 2rem; color: var(--mute); gap: 0.5rem; }

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  text-align: center;
  display: grid;
  gap: 1.75rem;
  justify-items: center;
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--ink-line);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 80% at 50% 0%, rgba(201, 162, 39, 0.12), transparent 70%);
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--ink-line); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  margin-bottom: 3rem;
}
.footer h4 { font-family: var(--font-body); font-size: var(--step--1); letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); margin-bottom: 1.1rem; font-weight: 400; }
.footer li + li { margin-top: 0.6rem; }
.footer a:hover { color: var(--accent); }
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--ink-line);
  font-size: var(--step--1);
  color: var(--mute);
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(1.75rem); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- nav dropdown ---------- */
.nav__drop { position: relative; display: flex; align-items: center; }
.nav__drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  background: none;
  border: 0;
  padding: 0.35rem 0;
  cursor: pointer;
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: color var(--dur) var(--ease);
}
.nav__drop-btn::after {
  content: "";
  width: 0.4em; height: 0.4em;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-0.15em) rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.nav__drop.is-open .nav__drop-btn::after { transform: translateY(0.1em) rotate(225deg); }
.nav__drop-btn:hover,
.nav__drop.is-open .nav__drop-btn,
.nav__drop-btn.is-current { color: var(--bone); }

.nav__panel {
  position: absolute;
  top: calc(100% + 1.25rem);
  left: 50%;
  transform: translate(-50%, -0.5rem);
  min-width: 15rem;
  padding: 0.6rem;
  display: grid;
  gap: 0.15rem;
  background: rgba(16, 16, 18, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--ink-line);
  border-radius: 4px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.nav__drop.is-open .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
}
/* keeps the pointer inside the hover area while travelling to the panel */
.nav__drop::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 1.5rem; }
.nav__panel a {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.9rem;
  border-radius: 3px;
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-dim);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__panel a small {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--mute);
}
.nav__panel a:hover,
.nav__panel a[aria-current="page"] { background: rgba(244, 241, 236, 0.07); color: var(--bone); }

/* mobile menu sub-links */
.menu__sub { display: grid; gap: 0.25rem; padding: 0.75rem 0 1.25rem; }
.menu__sub a {
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.menu__sub a:hover { color: var(--accent); }

/* ---------- client / brand strip ---------- */
.logos { padding-block: clamp(1.5rem, 3vw, 2.25rem); gap: 0; }
.logos .marquee__track { gap: clamp(2.5rem, 5vw, 5rem); padding-right: clamp(2.5rem, 5vw, 5rem); animation-duration: 46s; }
.logos span { font-size: inherit; gap: 0; }
.logos span::after { content: none; }   /* no bullet separators in the logo rows */
.logos .logo {
  display: inline-flex;
  align-items: center;
  opacity: 0.75;
  filter: grayscale(1);
  transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.logos:hover .logo { opacity: 0.4; }
.logos .logo:hover { opacity: 1; filter: none; }
.logos + .logos { border-top: 0; }
.logo__word {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--bone);
}
.logos .logo img { max-height: 2.25rem; width: auto; }
/* second row drifts the other way */
.logos--reverse .marquee__track { animation-direction: reverse; animation-duration: 54s; }

/* ---------- video tiles ---------- */
.card__ratio {
  position: absolute;
  top: 0.85rem; right: 0.85rem;
  z-index: 2;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  padding: 0.3em 0.65em;
  border-radius: 999px;
  color: var(--bone);
  background: rgba(11, 11, 12, 0.5);
  border: 1px solid rgba(244, 241, 236, 0.18);
  backdrop-filter: blur(6px);
}
.card__preview {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  pointer-events: none;
}
.card__preview.is-ready { opacity: 1; }
.card:hover .card__play, .card:focus-visible .card__play { z-index: 2; }

.reel-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr));
}
.reel-grid--vertical { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
/* the dedicated reels are true broadcast ratios, not the 16:10 browse tile */
.reel-grid .card__media { aspect-ratio: 16 / 9; }
.reel-grid .card--portrait .card__media,
.reel-grid [data-orientation="vertical"] .card__media { aspect-ratio: 9 / 16; }

/* ---------- photo grid ---------- */
.photo-grid {
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  grid-auto-flow: dense;
}
.shot {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
  width: 100%;
}
.shot__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-soft);
}
.shot--portrait .shot__media { aspect-ratio: 2 / 3; grid-row: span 2; }
.shot--portrait { grid-row: span 2; }
.shot__media img,
.shot__media .card__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
  filter: none;
}
.shot:hover .shot__media img,
.shot:hover .shot__media .card__poster { transform: scale(1.05); filter: saturate(1); }
.shot__zoom {
  position: absolute;
  inset: auto 0.75rem 0.75rem auto;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35em 0.8em;
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.55);
  border: 1px solid rgba(244, 241, 236, 0.2);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.shot:hover .shot__zoom, .shot:focus-visible .shot__zoom { opacity: 1; transform: none; }
.shot__cap { font-size: var(--step--1); letter-spacing: 0.06em; color: var(--bone-dim); }

/* ---------- project details ---------- */
.proj {
  display: grid;
  gap: 1.5rem;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--ink-line);
}
.proj__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: baseline;
}
.proj__title { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.1; }
.proj__head .muted { max-width: 60ch; margin-top: 0.5rem; }
.proj__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  align-items: start;
}
.spec { display: grid; gap: 0.85rem; margin: 0; }
.spec div { display: grid; gap: 0.2rem; }
.spec dt {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}
.spec dd { margin: 0; color: var(--bone); font-size: var(--step-0); }
.credits { display: grid; gap: 0.6rem; }
.credit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem; font-size: var(--step--1); }
.credit__role { color: var(--mute); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.65rem; }
.credit__name { color: var(--bone-dim); }
.proj__films { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chipbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  background: none;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  color: var(--bone-dim);
  padding: 0.6em 1.2em;
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.chipbtn svg { width: 0.55rem; height: 0.55rem; fill: var(--accent); }
.chipbtn:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.chipbtn:hover svg { fill: var(--ink); }

/* ---------- lightbox paging ---------- */
.lb__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 3rem; height: 3rem;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  line-height: 1;
  background: rgba(11, 11, 12, 0.5);
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  color: var(--bone);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lb__nav:hover { background: var(--bone); color: var(--ink); }
.lb__nav[hidden] { display: none; }
.lb__nav--prev { left: clamp(0.5rem, 2vw, 1.75rem); }
.lb__nav--next { right: clamp(0.5rem, 2vw, 1.75rem); }

/* ---------- reviews ---------- */
.stars { color: var(--accent); letter-spacing: 0.15em; font-size: 0.9rem; }
.stars__empty { color: var(--ink-line); }

.review {
  display: grid;
  gap: 1.1rem;
  align-content: start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(244, 241, 236, 0.03), transparent 45%);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  height: 100%;
}
.review:hover { border-color: rgba(244, 241, 236, 0.25); transform: translateY(-4px); }
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.review__quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--bone);
}
.review__by { display: grid; gap: 0.2rem; font-size: var(--step--1); letter-spacing: 0.08em; }
.review__by strong { font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; }
.reviews-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr));
}
.rating-hero { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem 1.5rem; }
.rating-hero__n { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; }

/* ---------- misc ---------- */
[id] { scroll-margin-top: calc(var(--nav-h) + 2rem); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  padding: 0.35em 0.85em;
}
.figure { display: grid; gap: 0.85rem; }
.figure img, .figure .card__poster { border-radius: var(--radius); }
.figure figcaption { font-size: var(--step--1); color: var(--mute); letter-spacing: 0.1em; text-transform: uppercase; }
.ratio-4-5 { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.ratio-16-9 { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); }

/* =========================================================
   Gallery layouts — grid · masonry · seamless · filmstrip
   · cinema. Chosen per section from data.js (site.layouts,
   or a category's own layouts) and switchable by visitors.
   ========================================================= */

/* ---------- the layout switcher ---------- */
.layout-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.layout-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
}
.layout-switch::-webkit-scrollbar { display: none; }
.layout-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.5em 1em;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--mute);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.layout-switch__btn svg { width: 0.8rem; height: 0.8rem; fill: currentColor; flex: none; }
.layout-switch__btn:hover { color: var(--bone); }
.layout-switch__btn[aria-checked="true"] { background: var(--bone); color: var(--ink); }
@media (max-width: 40rem) {
  .layout-switch__btn { padding: 0.7em 0.85em; }
  .layout-switch__btn span { display: none; }
  .layout-switch__btn svg { width: 0.95rem; height: 0.95rem; }
}
.layout-bar__arrows { display: flex; gap: 0.5rem; }
.layout-bar__arrows[hidden] { display: none; }

.round-btn {
  width: 2.75rem; height: 2.75rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: rgba(11, 11, 12, 0.5);
  color: var(--bone);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.round-btn:hover { background: var(--bone); border-color: var(--bone); color: var(--ink); }
.round-btn svg { width: 0.7rem; height: 0.7rem; fill: currentColor; }
.round-btn[hidden] { display: none; }

/* ---------- shared: captions float over the frame ---------- */
.is-layout-masonry .shot,
.is-layout-seamless .shot,
.is-layout-filmstrip .shot,
.is-layout-seamless .card,
.is-layout-filmstrip .card { position: relative; gap: 0; }

.is-layout-masonry .shot__cap,
.is-layout-seamless .shot__cap,
.is-layout-filmstrip .shot__cap,
.is-layout-seamless .card__body,
.is-layout-filmstrip .card__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 2.5rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(6, 6, 7, 0.82), transparent);
  color: var(--bone);
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  pointer-events: none;
}
.is-layout-masonry .shot:hover .shot__cap,
.is-layout-masonry .shot:focus-visible .shot__cap,
.is-layout-seamless .shot:hover .shot__cap,
.is-layout-seamless .shot:focus-visible .shot__cap,
.is-layout-filmstrip .shot:hover .shot__cap,
.is-layout-filmstrip .shot:focus-visible .shot__cap,
.is-layout-seamless .card:hover .card__body,
.is-layout-seamless .card:focus-visible .card__body,
.is-layout-filmstrip .card:hover .card__body,
.is-layout-filmstrip .card:focus-visible .card__body { opacity: 1; transform: none; }
.is-layout-seamless .card__play,
.is-layout-filmstrip .card__play { bottom: auto; top: 0.85rem; left: 0.85rem; }
.is-layout-masonry .shot__zoom,
.is-layout-seamless .shot__zoom,
.is-layout-filmstrip .shot__zoom { inset: 0.75rem 0.75rem auto auto; }
/* touch screens have no hover: keep captions visible but quiet */
@media (hover: none) {
  .is-layout-masonry .shot__cap,
  .is-layout-seamless .shot__cap,
  .is-layout-filmstrip .shot__cap,
  .is-layout-filmstrip .card__body { opacity: 1; transform: none; }
  .is-layout-seamless .card__body { opacity: 0; }
}

/* every frame keeps its true shape outside the plain grid */
.is-layout-masonry .shot__media,
.is-layout-seamless .shot__media,
.is-layout-filmstrip .shot__media,
.is-layout-seamless .card__media,
.is-layout-filmstrip .card__media,
.is-layout-seamless.reel-grid .card__media,
.is-layout-filmstrip.reel-grid .card__media,
.is-layout-seamless.reel-grid [data-orientation="vertical"] .card__media,
.is-layout-filmstrip.reel-grid [data-orientation="vertical"] .card__media { aspect-ratio: var(--r, 1.5); }
.is-layout-masonry .shot--portrait,
.is-layout-seamless .shot--portrait,
.is-layout-filmstrip .shot--portrait { grid-row: auto; }

/* ---------- masonry ---------- */
.photo-grid.is-layout-masonry {
  display: block;
  columns: 17rem;
  column-gap: clamp(0.5rem, 1vw, 0.85rem);
}
.is-layout-masonry .shot {
  display: block;
  break-inside: avoid;
  margin-bottom: clamp(0.5rem, 1vw, 0.85rem);
}

/* ---------- seamless: full-bleed justified rows ----------
   Each frame grows in proportion to its width ÷ height, so
   every row comes out the same height, edge to edge. */
.photo-grid.is-layout-seamless,
.reel-grid.is-layout-seamless {
  --row: clamp(10rem, 22vw, 21rem);
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}
.reel-grid--vertical.is-layout-seamless { --row: clamp(17rem, 34vw, 32rem); }
.is-layout-seamless > .shot,
.is-layout-seamless > .card {
  flex: var(--r, 1.5) 1 calc(var(--r, 1.5) * var(--row));
  width: auto;
  min-width: 0;
}
.is-layout-seamless::after { content: ""; flex: 12 1 0; }
.is-layout-seamless .shot__media,
.is-layout-seamless .card__media { border-radius: 0; height: 100%; }
.is-layout-seamless .card__media img,
.is-layout-seamless .shot__media img { filter: none; }
.is-layout-seamless > :hover { z-index: 1; }

/* ---------- filmstrip: one swipeable, full-width row ---------- */
.photo-grid.is-layout-filmstrip,
.reel-grid.is-layout-filmstrip {
  --h: clamp(14rem, 52vh, 34rem);
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: flex;
  gap: clamp(0.5rem, 1vw, 1rem);
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding-inline: var(--edge);
  scroll-padding-inline: var(--edge);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.reel-grid--vertical.is-layout-filmstrip { --h: clamp(22rem, 70vh, 40rem); }
.is-layout-filmstrip::-webkit-scrollbar { display: none; }
.is-layout-filmstrip > .shot,
.is-layout-filmstrip > .card {
  flex: 0 0 auto;
  width: min(calc(var(--h) * var(--r, 1.5)), 86vw);
  scroll-snap-align: start;
}
.is-layout-filmstrip.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.is-layout-filmstrip.is-dragging img { pointer-events: none; }

/* ---------- cinema: one big frame at a time ---------- */
.photo-grid.is-layout-cinema,
.reel-grid.is-layout-cinema { display: block; }
.cine { display: grid; gap: 1rem; outline-offset: 6px; }
.cine__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 82vh;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}
.cine--photos .cine__stage { aspect-ratio: 3 / 2; }
.cine--vertical .cine__stage {
  width: auto;
  height: min(78vh, 44rem);
  max-width: 100%;
  aspect-ratio: 9 / 16;
  justify-self: center;
}
.cine__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.cine__layer.is-in { opacity: 1; }
.cine__slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%; height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: zoom-in;
}
.cine__slide > img,
.cine__slide > video,
.cine__slide > .card__poster {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
}
.cine__slide > video { object-fit: cover; opacity: 0; transition: opacity 0.8s var(--ease); }
.cine__slide > video.is-ready { opacity: 1; }
.cine__slide > .cine__blur { object-fit: cover; filter: blur(32px) brightness(0.45); transform: scale(1.15); }
.cine__layer.is-in .cine__slide > img:not(.cine__blur) { animation: cine-drift 9s var(--ease) both; }
@keyframes cine-drift { from { transform: scale(1); } to { transform: scale(1.035); } }
.cine__play { opacity: 1; transform: none; }
.cine__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }
.cine__caption { display: grid; gap: 0.15rem; min-width: 0; }
.cine__title { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.2; }
.cine__meta { font-size: var(--step--1); color: var(--mute); letter-spacing: 0.12em; text-transform: uppercase; }
.cine__controls { display: flex; gap: 0.5rem; }
.cine__progress { height: 1px; background: var(--ink-line); overflow: hidden; }
.cine__progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.cine__rail {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 2px;
}
.cine__rail::-webkit-scrollbar { display: none; }
.cine__thumb {
  position: relative;
  flex: 0 0 auto;
  height: 4.25rem;
  aspect-ratio: var(--r, 1.5);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-soft);
  opacity: 0.4;
  cursor: pointer;
  transition: opacity var(--dur) var(--ease);
}
.cine--vertical .cine__thumb { height: 5.5rem; }
.cine__thumb img, .cine__thumb .card__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cine__thumb .card__poster::after { display: none; }
.cine__thumb:hover { opacity: 0.8; }
.cine__thumb.is-active { opacity: 1; }
.cine__thumb.is-active::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px var(--accent); border-radius: inherit; }

/* ---------- viewer: counter, full screen ---------- */
.lb__top {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.lb__top .lb__close { position: static; }
.lb__count { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--bone-dim); margin-right: 0.5rem; }
.lb__tool {
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: none;
  color: var(--bone);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lb__tool svg { width: 0.85rem; height: 0.85rem; fill: currentColor; }
.lb__tool:hover { background: var(--bone); color: var(--ink); }
.lb__tool[hidden] { display: none; }
.lb:fullscreen { background: #000; }
.lb:fullscreen .lb__inner { width: 100%; }
.lb:fullscreen .lb__frame:not(.lb__frame--vertical) { max-height: 82vh; }

/* ---------- images fade in once loaded ----------
   Grid tiles load 1000px copies; the viewer and the cinema
   stage load the full-size file. Until a frame arrives its
   tile shows the dark ground, then the picture fades up. */
.card__media img,
.shot__media img,
.cine__thumb img,
.cine__slide > img {
  opacity: 0;
  transition: opacity 0.6s var(--ease), transform 1.2s var(--ease);
}
.card__media img.is-loaded,
.shot__media img.is-loaded,
.cine__thumb img.is-loaded,
.cine__slide > img.is-loaded { opacity: 1; }

/* "watch the full film" over a looping preview, where the host
   cannot embed the Drive player */
.lb__frame video[muted], .lb__frame video:not([controls]) { object-fit: cover; }
.lb__watch {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.95em 1.6em;
  border-radius: 999px;
  background: var(--bone);
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lb__watch svg { width: 0.65rem; height: 0.65rem; fill: currentColor; }
.lb__watch:hover { background: var(--accent); color: var(--ink); }

/* ---------- logo ---------- */
.brand { line-height: 0; }
.brand img { height: 3.75rem; width: auto; display: block; }
.footer .brand img { height: 4.75rem; }
@media (max-width: 40rem) { .brand img { height: 3.1rem; } }

/* ---------- a touch of gold in the type ---------- */
.eyebrow { color: var(--accent-soft); }
h1 em, h2 em, .hero__title em { color: var(--accent-soft); }
.nav__link::after { background: var(--accent); }
.arrow-link::after { color: var(--accent); }
.arrow-link:hover { color: var(--accent-soft); }
.footer h4 { color: var(--accent); }
.stat__n { color: var(--accent-soft); }

/* =========================================================
   Premium layer — type, shape, buttons, social, contact
   ========================================================= */

/* ---------- type ---------- */
body { font-size: var(--step-0); line-height: 1.7; color: var(--bone); }
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  letter-spacing: -0.025em;
  line-height: 1.02;
  text-wrap: balance;
}
h1 { font-weight: 700; }
h2 { font-weight: 600; }
h3 { font-weight: 500; letter-spacing: -0.015em; }
/* the logo's script, echoed: emotive words in gold serif italic */
h1 em, h2 em, h3 em, .hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-stretch: normal;
  letter-spacing: -0.01em;
  font-size: 1.12em;
  line-height: 0.9;
  color: var(--accent-soft);
}
.lede { color: var(--bone-dim); font-size: var(--step-1); line-height: 1.55; }
.muted { color: var(--mute); }
.eyebrow { letter-spacing: 0.24em; font-weight: 500; }

.card__title, .proj__title, .cine__title, .lb__title, .pkg__name, .row__t, .menu__link, .marquee span, .faq summary {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.card__title { font-size: var(--step-0); font-weight: 600; }
.lb__title { font-size: var(--step-1); font-weight: 600; }
.menu__link { font-weight: 600; }
.review__quote, .quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: calc(var(--step-1) * 1.08);
  line-height: 1.45;
}
.stat__n, .rating-hero__n { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 600; }
.logo__word { font-family: var(--font-display); font-stretch: 125%; font-weight: 700; letter-spacing: 0.04em; }

::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- shape: soft edges ---------- */
.card__media, .shot__media, .ratio-4-5, .ratio-16-9, .figure img, .figure .card__poster { border-radius: var(--radius); }
.lb__frame, .cine__stage { border-radius: var(--radius-lg); }
.cine__thumb { border-radius: var(--radius-sm); }
.review, .pkg, .contact-card, .form__status { border-radius: var(--radius-lg); }
.input, .select, .textarea { border-radius: var(--radius-sm); }
.card__media img, .shot__media img { will-change: transform; }

/* ---------- buttons ---------- */
.btn { --btn-bd: rgba(245, 238, 226, 0.3); font-weight: 500; }
.btn svg { width: 0.7em; height: 0.7em; fill: currentColor; flex: none; }
.btn--gold {
  --btn-bg: var(--accent); --btn-fg: var(--ink); --btn-bd: var(--accent);
  box-shadow: 0 10px 30px -12px rgba(232, 185, 35, 0.55);
}
.btn--gold:hover, .btn--gold:focus-visible {
  background: var(--accent-soft); border-color: var(--accent-soft); color: var(--ink);
  box-shadow: 0 14px 40px -12px rgba(232, 185, 35, 0.7);
}
.btn--glass {
  --btn-bg: rgba(245, 238, 226, 0.08); --btn-fg: var(--bone); --btn-bd: rgba(245, 238, 226, 0.22);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn--glass:hover, .btn--glass:focus-visible { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn--sm { padding: 0.7em 1.2em; font-size: 0.7rem; }
.btn--sm svg { width: 1.1em; height: 1.1em; fill: none; }

/* ---------- hero ---------- */
.hero__scrim {
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 0.78) 0%, rgba(12, 11, 10, 0.35) 45%, rgba(12, 11, 10, 0) 70%),
    linear-gradient(0deg, rgba(12, 11, 10, 0.85) 0%, rgba(12, 11, 10, 0) 45%);
}
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.status-pill {
  display: inline-flex; align-items: center; gap: 0.6em;
  margin-bottom: 1.25rem;
  padding: 0.45em 1em 0.45em 0.8em;
  border-radius: 999px;
  border: 1px solid rgba(245, 238, 226, 0.18);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone);
}
.status-pill__dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pill-pulse 2.4s var(--ease) infinite;
}
@keyframes pill-pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 185, 35, 0.55); }
  70%, 100% { box-shadow: 0 0 0 0.6rem rgba(232, 185, 35, 0); }
}

/* ---------- social ---------- */
.social-cards {
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.social-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-line);
  background: linear-gradient(135deg, var(--ink-raise), var(--ink-soft));
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.social-card:hover, .social-card:focus-visible {
  border-color: rgba(232, 185, 35, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -30px rgba(232, 185, 35, 0.45);
}
.social-card__icon {
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-glow); color: var(--accent-soft);
}
.social-card__icon svg { width: 1.45rem; height: 1.45rem; }
.social-card__body { display: grid; gap: 0.1rem; min-width: 0; }
.social-card__net { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.social-card__handle { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 600; font-size: var(--step-1); overflow-wrap: anywhere; }
.social-card__line { font-size: var(--step--1); color: var(--bone-dim); }
.social-card__cta {
  padding: 0.6em 1.1em; border-radius: 999px;
  border: 1px solid rgba(245, 238, 226, 0.22);
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.social-card:hover .social-card__cta { background: var(--accent); border-color: var(--accent); color: var(--ink); }
@media (max-width: 30rem) { .social-card { grid-template-columns: auto minmax(0, 1fr); } .social-card__cta { display: none; } }

.social-chip {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.55em 1em; border-radius: 999px;
  border: 1px solid var(--ink-line);
  font-size: var(--step--1);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.social-chip svg { width: 1.05rem; height: 1.05rem; }
.social-chip:hover { border-color: var(--accent); color: var(--accent-soft); }

.nav__social { display: inline-flex; gap: 0.35rem; align-items: center; }
.nav__social a {
  width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%;
  color: var(--bone-dim);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__social a:hover { color: var(--accent-soft); background: rgba(245, 238, 226, 0.06); }
.nav__social svg { width: 1.15rem; height: 1.15rem; }

/* ---------- direct contact ---------- */
.cta__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.cta__direct { margin-top: 1.25rem; color: var(--mute); font-size: var(--step--1); display: flex; gap: 0.6rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.35em 0.8em; border-radius: 999px;
  border: 1px solid var(--ink-line); background: none; color: var(--bone-dim);
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.copy-btn svg { width: 0.95rem; height: 0.95rem; }
.copy-btn:hover { border-color: var(--accent); color: var(--accent-soft); }
.contact-card {
  display: grid; gap: 0.9rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--ink-line);
  background: linear-gradient(160deg, var(--ink-raise), var(--ink-soft));
}
.contact-card__mail { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.contact-card__addr { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 600; font-size: var(--step-1); overflow-wrap: anywhere; }
.contact-card__addr:hover { color: var(--accent-soft); }
.contact-card__row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.contact-card__note { font-size: var(--step--1); margin-top: 0.25rem; }
.form__send { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }

/* ---------- phone action bar ---------- */
.dock { display: none; }
@media (max-width: 48rem) {
  .dock {
    position: fixed;
    left: max(0.75rem, env(safe-area-inset-left, 0px));
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 150;
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.4rem;
    border-radius: 999px;
    border: 1px solid rgba(245, 238, 226, 0.14);
    background: rgba(18, 16, 13, 0.82);
    -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
    transform: translateY(calc(100% + 2rem));
    transition: transform 0.5s var(--ease);
  }
  .dock.is-shown { transform: none; }
  .dock__main {
    flex: 1; text-align: center;
    padding: 0.85em 1em; border-radius: 999px;
    background: var(--accent); color: var(--ink);
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  }
  .dock__icon {
    width: 2.9rem; height: 2.9rem; flex: none;
    display: grid; place-items: center; border-radius: 50%;
    color: var(--bone); background: rgba(245, 238, 226, 0.07);
  }
  .dock__icon svg { width: 1.25rem; height: 1.25rem; }
  .dock:not(:has(.dock__main)) { justify-content: center; }
  body.has-dock .footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- form fields: soft filled inputs ---------- */
.input, .select, .textarea {
  background: rgba(245, 238, 226, 0.04);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.05rem;
}
.input:hover, .select:hover, .textarea:hover { border-color: rgba(245, 238, 226, 0.28); }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--accent);
  background: rgba(245, 238, 226, 0.06);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.input::placeholder, .textarea::placeholder { color: rgba(245, 238, 226, 0.36); }
