/* =========================================================
   DAMESTRA — Visual Production
   Palette sampled from the studio's own hero plate.
   ========================================================= */

:root {
  /* grade */
  --stock:    #0A0B0B;
  --gate:     #000000;
  --bone:     #F1E9DE;
  --tungsten: #E08A3C;
  --ember:    #C25E1E;
  --shadow:   #0E1618;
  --ash:      #918C84;
  --line:     rgba(241, 233, 222, 0.14);
  --line-2:   rgba(241, 233, 222, 0.07);

  /* type */
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body:    "Instrument Sans", system-ui, sans-serif;
  --mono:    "DM Mono", ui-monospace, "SF Mono", monospace;

  /* metrics */
  --rail-w: 4.5rem;
  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --page: 84rem;
  --pad-y: clamp(5rem, 11vw, 10.5rem);

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--stock);
  color: var(--bone);
  font-family: var(--body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  line-height: 1.62;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection { background: var(--tungsten); color: var(--gate); }

:focus-visible {
  outline: 2px solid var(--tungsten);
  outline-offset: 3px;
  border-radius: 1px;
}

.u-sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 0; top: 0; z-index: 200;
  transform: translateY(-120%);
  background: var(--tungsten); color: var(--gate);
  padding: 0.75rem 1.25rem;
  font-family: var(--mono); font-size: 0.8125rem;
  text-decoration: none;
}
.skip:focus { transform: translateY(0); }

/* ---------------------------------------------------------
   Shared type
   --------------------------------------------------------- */

.eyebrow {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-variation-settings: "wdth" 118, "wght" 500;
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.75rem; height: 1px;
  background: var(--tungsten);
  vertical-align: 0.28em;
  margin-right: 0.85rem;
}

.h2 {
  margin: 0 0 1.25rem;
  font-family: var(--display);
  font-variation-settings: "wdth" 66, "wght" 700;
  font-size: clamp(2.5rem, 6.4vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h2--big { font-size: clamp(3rem, 9vw, 7rem); }

.link {
  color: var(--bone);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.875rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.2em;
  transition: color 0.25s var(--e), border-color 0.25s var(--e);
}
.link:hover { color: var(--tungsten); border-color: var(--tungsten); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  background: var(--tungsten);
  color: var(--gate);
  border: 1px solid var(--tungsten);
  font-family: var(--display);
  font-variation-settings: "wdth" 100, "wght" 650;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--e), border-color 0.25s var(--e), color 0.25s var(--e);
}
.btn:hover { background: var(--ember); border-color: var(--ember); color: var(--bone); }

.btn--ghost {
  background: transparent;
  color: var(--bone);
  border-color: var(--line);
}
.btn--ghost:hover { background: transparent; border-color: var(--bone); color: var(--bone); }

.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.6875rem; }

.btn__tri {
  width: 0; height: 0;
  border-left: 8px solid currentColor;
  border-top: 5.5px solid transparent;
  border-bottom: 5.5px solid transparent;
}

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { max-width: 60rem; }

.section { padding-block: var(--pad-y); }
.section--rule { border-top: 1px solid var(--line-2); }

.head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.head__lead { margin: 0; color: var(--ash); font-size: 1.0625rem; max-width: 38rem; }

/* ---------------------------------------------------------
   Timecode rail — the signature
   --------------------------------------------------------- */

.rail {
  position: fixed;
  inset-block: 0;
  left: 0;
  width: var(--rail-w);
  z-index: 90;
  border-right: 1px solid var(--line-2);
  background: linear-gradient(90deg, var(--shadow), transparent);
  pointer-events: none;
}

.rail__track {
  position: absolute;
  left: calc(var(--rail-w) / 2);
  inset-block: 6.5rem 7.5rem;
  width: 1px;
  background: var(--line);
}

.rail__ticks {
  position: absolute;
  left: calc(var(--rail-w) / 2);
  inset-block: 6.5rem 7.5rem;
  width: 1px;
}
.rail__tick {
  position: absolute;
  left: 0;
  width: 0.5rem;
  height: 1px;
  background: var(--line);
}
.rail__tick--major { width: 0.9rem; background: rgba(241, 233, 222, 0.22); }

.rail__markers {
  position: absolute;
  left: calc(var(--rail-w) / 2);
  inset-block: 6.5rem 7.5rem;
  width: 1px;
}

.marker {
  position: absolute;
  left: 0;
  transform: translate(-50%, -50%);
  width: 1.5rem; height: 1.5rem;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  pointer-events: auto;
}
.marker::after {
  content: "";
  width: 5px; height: 5px;
  background: var(--ash);
  transform: rotate(45deg);
  transition: background 0.25s var(--e), transform 0.25s var(--e);
}
.marker:hover::after,
.marker.is-on::after { background: var(--tungsten); transform: rotate(45deg) scale(1.45); }

.marker__label {
  position: absolute;
  left: 1.4rem;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--bone);
  background: var(--stock);
  border: 1px solid var(--line);
  padding: 0.3rem 0.55rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s var(--e), transform 0.2s var(--e);
  pointer-events: none;
}
.marker:hover .marker__label,
.marker:focus-visible .marker__label { opacity: 1; transform: translateX(0); }
.marker__label b { color: var(--tungsten); font-weight: 400; }

.rail__head {
  position: absolute;
  left: calc(var(--rail-w) / 2);
  top: 6.5rem;
  width: 1px;
  height: 1px;
}
.rail__head::before {
  content: "";
  position: absolute;
  left: -1px; bottom: 0;
  width: 3px;
  height: var(--trail, 0px);
  background: linear-gradient(180deg, transparent, var(--tungsten));
  opacity: 0.55;
}
.rail__head-tri {
  position: absolute;
  left: 0; top: 0;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--tungsten);
}

.rail__tc {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--ash);
  font-variant-numeric: tabular-nums;
}

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  display: none;
}
.progress span {
  display: block; height: 100%; width: 0;
  background: var(--tungsten);
}

/* ---------------------------------------------------------
   Top bar
   --------------------------------------------------------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem var(--gut) 1.1rem calc(var(--rail-w) + var(--gut) * 0.6);
  transition: background 0.35s var(--e), border-color 0.35s var(--e), padding 0.35s var(--e);
  border-bottom: 1px solid transparent;
}
.topbar.is-stuck {
  background: rgba(10, 11, 11, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-2);
  padding-block: 0.75rem;
}

.topbar__mark { display: block; line-height: 0; }
.topbar__mark img {
  width: auto;
  height: 1.35rem;
  opacity: 0.94;
  transition: opacity 0.25s var(--e);
}
.topbar__mark:hover img { opacity: 1; }

.topbar__nav {
  display: flex;
  gap: 1.9rem;
  margin-left: auto;
}
.topbar__nav a {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  text-decoration: none;
  transition: color 0.25s var(--e);
}
.topbar__nav a:hover { color: var(--bone); }

.topbar__end { display: flex; align-items: center; gap: 1.25rem; }

.lang { display: flex; align-items: center; gap: 0.35rem; }
.lang__btn {
  background: none; border: 0; padding: 0.15rem;
  font-family: var(--mono); font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--ash); cursor: pointer;
  transition: color 0.25s var(--e);
}
.lang__btn:hover { color: var(--bone); }
.lang__btn.is-on { color: var(--tungsten); }
.lang__sep { color: var(--line); font-size: 0.75rem; }

.burger {
  display: none;
  margin-left: auto;
  width: 2.5rem; height: 2.5rem;
  background: none; border: 1px solid var(--line);
  cursor: pointer;
  padding: 0.7rem 0.6rem;
  flex-direction: column;
  justify-content: space-between;
}
.burger span { display: block; height: 1px; width: 100%; background: var(--bone); transition: transform 0.3s var(--e), opacity 0.3s var(--e); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--stock);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 var(--gut);
}
.menu[hidden] { display: none; }
.menu a {
  font-family: var(--display);
  font-variation-settings: "wdth" 72, "wght" 700;
  font-size: clamp(2.25rem, 11vw, 3.5rem);
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
}
.menu a:hover { color: var(--tungsten); }

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem var(--gut) 6rem calc(var(--rail-w) + var(--gut) * 0.6);
  overflow: hidden;
  isolation: isolate;
}

.hero__plate {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__plate img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 78% 46%;
  opacity: 0.62;
  transform: scale(1.06);
  animation: plate 24s var(--e) forwards;
}
.hero__plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--stock) 8%, rgba(10, 11, 11, 0.72) 46%, rgba(10, 11, 11, 0.15) 78%),
    linear-gradient(0deg, var(--stock) 2%, transparent 42%);
}
@keyframes plate { to { transform: scale(1); } }

.hero__gate {
  position: absolute;
  left: 0; right: 0;
  height: 7vh;
  background: var(--gate);
  z-index: -1;
  animation: gate 1.4s var(--e) 0.15s both;
}
.hero__gate--top { top: 0; }
.hero__gate--bottom { bottom: 0; }
@keyframes gate { from { height: 50vh; } to { height: 7vh; } }

.hero__body { max-width: 46rem; }

.hero__h1 {
  margin: 0 0 1.75rem;
  font-family: var(--display);
  font-size: clamp(2.75rem, 8.2vw, 7.5rem);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.012em;
}
.hero__line {
  display: block;
  white-space: nowrap;
  font-variation-settings: "wdth" 62, "wght" 800;
  animation: rise 0.9s var(--e) both;
}
.hero__line:nth-child(1) { animation-delay: 0.55s; }
.hero__line:nth-child(2) { animation-delay: 0.66s; }
.hero__line:nth-child(3) {
  color: var(--tungsten);
  animation-delay: 0.77s;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(0.42em); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__lead {
  max-width: 34rem;
  margin: 0 0 2.5rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.1875rem);
  color: rgba(241, 233, 222, 0.78);
  animation: rise 0.9s var(--e) 0.86s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
  animation: rise 0.9s var(--e) 0.98s both;
}

.hero__meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--ash);
  animation: rise 0.9s var(--e) 1.1s both;
}

.hero__scroll {
  position: absolute;
  left: calc(var(--rail-w) + var(--gut) * 0.6);
  bottom: 3rem;
  width: 1px; height: 3.5rem;
  background: var(--line);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px; height: 40%;
  background: var(--tungsten);
  animation: scrub 2.6s var(--e) infinite;
}
@keyframes scrub {
  0%   { transform: translateY(-100%); }
  60%, 100% { transform: translateY(250%); }
}

/* ---------------------------------------------------------
   Reel
   --------------------------------------------------------- */

.reel {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}
.film--wide { grid-column: 1 / -1; }

.film__btn {
  display: block;
  width: 100%;
  position: relative;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.film__img {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--shadow);
  border: 1px solid var(--line-2);
  aspect-ratio: 16 / 9;
}
.film--wide .film__img { aspect-ratio: 21 / 9; }
.film__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
  transition: transform 0.85s var(--e), filter 0.5s var(--e);
}
.film__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 11, 11, 0.55), transparent 55%);
  opacity: 0.9;
  transition: opacity 0.4s var(--e);
}
.film__btn:hover .film__img img,
.film__btn:focus-visible .film__img img { transform: scale(1.045); filter: saturate(1) contrast(1.02); }
.film__btn:hover .film__img { border-color: rgba(224, 138, 60, 0.5); }

.film__cue {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 3.1rem; height: 3.1rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241, 233, 222, 0.35);
  background: rgba(10, 11, 11, 0.4);
  backdrop-filter: blur(6px);
  z-index: 2;
  transition: background 0.3s var(--e), border-color 0.3s var(--e);
}
.film__tri {
  width: 0; height: 0;
  margin-left: 3px;
  border-left: 10px solid var(--bone);
  border-top: 6.5px solid transparent;
  border-bottom: 6.5px solid transparent;
  transition: border-left-color 0.3s var(--e);
}
.film__btn:hover .film__cue,
.film__btn:focus-visible .film__cue { background: var(--tungsten); border-color: var(--tungsten); }
.film__btn:hover .film__tri { border-left-color: var(--gate); }

.film__meta {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 0.9rem;
  row-gap: 0.2rem;
  padding-top: 1rem;
}
.film__no {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--tungsten);
  letter-spacing: 0.08em;
}
.film__name {
  font-family: var(--display);
  font-variation-settings: "wdth" 88, "wght" 600;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
  line-height: 1.24;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.film__tag {
  grid-column: 2;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}

.reel__more { margin: clamp(2.5rem, 5vw, 4rem) 0 0; }

/* ---------------------------------------------------------
   Pipeline
   --------------------------------------------------------- */

.pipe {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-2);
  border-left: 1px solid var(--line-2);
}

.pipe__step {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  transition: background 0.4s var(--e);
}
.pipe__step:hover { background: var(--shadow); }
.pipe__step::before {
  content: "";
  position: absolute;
  left: -1px; top: 0; bottom: 0;
  width: 1px;
  background: var(--tungsten);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--e);
}
.pipe__step:hover::before { transform: scaleY(1); }

.pipe__n {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--tungsten);
  letter-spacing: 0.1em;
}
.pipe__step--opt .pipe__n { color: var(--ash); }

.pipe__h {
  margin: 0.85rem 0 0.75rem;
  font-family: var(--display);
  font-variation-settings: "wdth" 76, "wght" 700;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1;
  text-transform: uppercase;
}
.pipe__p { margin: 0 0 1.1rem; color: rgba(241, 233, 222, 0.74); font-size: 0.9375rem; }
.pipe__tools {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
}

/* ---------------------------------------------------------
   Method
   --------------------------------------------------------- */

.method { text-align: left; }
.pull { margin: 0 0 2.75rem; }
.pull__q {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "wdth" 70, "wght" 700;
  font-size: clamp(2.25rem, 6.6vw, 5.25rem);
  line-height: 0.96;
  text-transform: uppercase;
  text-wrap: balance;
}
.pull__q::first-line { color: var(--bone); }

.method__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-top: 2.25rem;
  border-top: 1px solid var(--line-2);
}
.method__cols p { margin: 0; color: rgba(241, 233, 222, 0.76); }

/* ---------------------------------------------------------
   Studio
   --------------------------------------------------------- */

.studio {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.studio__portrait {
  position: relative;
  border: 1px solid var(--line-2);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.studio__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) contrast(1.1) brightness(0.9);
}
.studio__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(224, 138, 60, 0.14));
  mix-blend-mode: screen;
}

.studio__role {
  margin: -0.5rem 0 1.5rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tungsten);
}

.studio__lead { margin: 0 0 2.5rem; color: rgba(241, 233, 222, 0.78); max-width: 34rem; }

.creed { margin: 0 0 3rem; padding: 0; }
.creed__row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line-2);
}
.creed dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tungsten);
  padding-top: 0.28em;
}
.creed dd { margin: 0; color: rgba(241, 233, 222, 0.8); font-size: 0.9688rem; }

.facts {
  list-style: none;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.facts li { display: flex; flex-direction: column; gap: 0.35rem; }
.facts__n {
  font-family: var(--display);
  font-variation-settings: "wdth" 70, "wght" 700;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.facts__l {
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
}

/* ---------------------------------------------------------
   Quotes
   --------------------------------------------------------- */

.quotes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line-2);
  transition: border-color 0.4s var(--e);
}
.quote:hover { border-color: var(--line); }
.quote blockquote { margin: 0; }
.quote blockquote p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(241, 233, 222, 0.88);
  text-wrap: pretty;
}
.quote blockquote p::before { content: "“"; color: var(--tungsten); }
.quote blockquote p::after  { content: "”"; color: var(--tungsten); }
.quote__by {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--bone);
}
.quote__by span {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 0.35rem;
}

/* ---------------------------------------------------------
   Contact
   --------------------------------------------------------- */

.section--contact {
  border-top: 1px solid var(--line-2);
  background:
    radial-gradient(120% 90% at 8% 100%, rgba(224, 138, 60, 0.09), transparent 60%),
    var(--stock);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.contact__lead { margin: 0 0 2.5rem; color: rgba(241, 233, 222, 0.78); max-width: 30rem; }

.contact__mail {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1.25rem;
}
.link--mail { font-size: clamp(1rem, 2.2vw, 1.375rem); }

.copy {
  background: none;
  border: 1px solid var(--line);
  color: var(--ash);
  padding: 0.4rem 0.75rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s var(--e), border-color 0.25s var(--e);
}
.copy:hover { color: var(--bone); border-color: var(--bone); }
.copy.is-done { color: var(--tungsten); border-color: var(--tungsten); }

.contact__vimeo { margin: 0; }

.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line-2);
  background: rgba(14, 22, 24, 0.45);
}

.field { display: flex; flex-direction: column; gap: 0.5rem; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }

.field label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--bone);
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.6rem 0;
  border-radius: 0;
  transition: border-color 0.25s var(--e);
}
.field textarea { resize: vertical; min-height: 6rem; }
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--stock); color: var(--bone); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--tungsten); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 4px; }
.field.is-bad input,
.field.is-bad textarea { border-bottom-color: var(--ember); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}
.form__note { margin: 0; font-family: var(--mono); font-size: 0.6875rem; color: var(--ash); max-width: 18rem; line-height: 1.5; }
.form__status {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--tungsten);
  min-height: 1.2em;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

.foot {
  border-top: 1px solid var(--line-2);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.foot__in {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}
.foot__mark { width: auto; height: 1.6rem; opacity: 0.8; }
.foot__tag {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "wdth" 112, "wght" 400;
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ash);
}
.foot__links { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.foot__links a {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.2em;
  transition: color 0.25s var(--e), border-color 0.25s var(--e);
}
.foot__links a:hover { color: var(--tungsten); border-color: var(--tungsten); }
.foot__legal {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--ash);
}

/* ---------------------------------------------------------
   Player
   --------------------------------------------------------- */

.player {
  width: min(96vw, 78rem);
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bone);
  overflow: visible;
}
.player::backdrop { background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(8px); }

.player__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--gate);
  border: 1px solid var(--line-2);
}
.player__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.player__title {
  margin: 0.9rem 0 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
}

.player__close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 2.5rem; height: 2.5rem;
  background: none;
  border: 1px solid var(--line);
  color: var(--bone);
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 0.25s var(--e), border-color 0.25s var(--e);
}
.player__close:hover { color: var(--tungsten); border-color: var(--tungsten); }

/* ---------------------------------------------------------
   Scroll reveal
   --------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.8s var(--e), transform 0.8s var(--e);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 1100px) {
  .reel { grid-template-columns: repeat(2, 1fr); }
  .pipe { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --rail-w: 0rem; }

  .rail { display: none; }
  .progress { display: block; }

  .topbar { padding-left: var(--gut); gap: 1rem; }
  .topbar__nav, .topbar__end { display: none; }
  .burger { display: flex; }

  .hero { padding-left: var(--gut); padding-right: var(--gut); }
  .hero__scroll { left: var(--gut); }

  .studio { grid-template-columns: 1fr; }
  .studio__portrait { aspect-ratio: 3 / 2; }
  .method__cols { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .reel { grid-template-columns: 1fr; }
  .film--wide .film__img { aspect-ratio: 16 / 9; }
  .pipe { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .creed__row { grid-template-columns: 1fr; gap: 0.5rem; }
  .player__close { top: auto; bottom: -3.25rem; right: 0; }
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__gate { height: 7vh; }
  .hero__plate img { transform: scale(1); }
}
