/* Vertical Vantage Media — cinematic layout (inspired by luxury film-house structure) */
:root {
  --void: #13181b;
  --void-soft: #1a2228;
  --altitude: #0d2438;
  --mist: #eaebe8;
  --paper: #f7f7f5;
  --ink: #13181b;
  --muted: #6e787f;
  --muted-light: #a8b0b6;
  --line: rgba(19, 24, 27, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --white: #ffffff;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { opacity: 0.82; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(720px, calc(100% - 40px));
  margin-inline: auto;
}

/* —— Typography —— */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.heading {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
}

.lede {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--mist);
  color: var(--void);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.btn:hover { background: var(--white); opacity: 1; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }

.btn-dark {
  background: var(--void);
  border-color: var(--void);
  color: var(--mist);
}

.btn-dark:hover { background: #000; border-color: #000; }

/* —— Site header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-solid {
  background: rgba(19, 24, 27, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-light);
}

.site-header__inner {
  height: 100%;
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  opacity: 1;
  color: var(--white);
}

.brand-mark img {
  width: 44px;
  height: 48px;
  object-fit: contain;
  flex: none;
  display: block;
}

.brand-mark__text {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.15;
}

.nav-main {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}

.nav-main a {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  opacity: 0.9;
  transition: opacity 0.3s var(--ease);
}

.nav-main a:hover,
.nav-main a.on { opacity: 1; }
.nav-main a.on { box-shadow: inset 0 -1px 0 currentColor; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

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

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(19, 24, 27, 0.55) 0%, rgba(19, 24, 27, 0.25) 40%, rgba(19, 24, 27, 0.78) 100%),
    radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(19, 24, 27, 0.35) 70%);
}

.hero__content {
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 1.25rem 3rem;
  width: min(920px, 100%);
  animation: heroRise 1.1s var(--ease) both;
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 9vw, 6.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.92;
  margin-bottom: 1.25rem;
}

.hero__brand span {
  display: block;
}

.hero__line {
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(234, 235, 232, 0.86);
  letter-spacing: 0.03em;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Sections —— */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  position: relative;
}

.section--paper { background: var(--paper); color: var(--ink); }
.section--void { background: var(--void); color: var(--mist); }
.section--altitude {
  background: var(--void);
  color: var(--mist);
  background-image:
    linear-gradient(180deg, rgba(19, 24, 27, 0.88), rgba(19, 24, 27, 0.84)),
    url("poster-leon-margaret-frame.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section__eyebrow {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--muted);
}

.section--void .section__eyebrow,
.section--altitude .section__eyebrow { color: var(--muted-light); }

.section__title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  margin-bottom: 1.25rem;
}

.section--paper .lede { color: var(--muted); }
.section--void .lede,
.section--altitude .lede { color: var(--muted-light); }

.section__rule {
  width: 7rem;
  height: 1px;
  margin: 1.75rem auto 0;
  background: currentColor;
  opacity: 0.28;
}

.center { text-align: center; }

/* —— Intro statement —— */
.intro-media {
  margin: 2.5rem auto 0;
  width: min(760px, 100%);
  position: relative;
  overflow: hidden;
}

.intro-media video,
.intro-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.intro-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(19, 24, 27, 0.08);
  pointer-events: none;
}

/* —— Split about —— */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split__media {
  position: relative;
  overflow: hidden;
  min-height: 520px;
}

.split__media img,
.split__media video {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.split__copy .section__title { text-align: left; }
.split__copy .lede { text-align: left; max-width: 34rem; }
.split__actions { margin-top: 1.75rem; }

.press-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  opacity: 0.78;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* —— Film stack —— */
.film-stack {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}

.film-row {
  display: block;
  text-decoration: none;
  color: inherit;
}

.film-row__media {
  position: relative;
  overflow: hidden;
  background: #000;
  aspect-ratio: 2.35 / 1;
  max-height: min(52vh, 520px);
}

.film-row__media video,
.film-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), opacity 0.6s var(--ease);
  opacity: 0.92;
}

.film-row:hover .film-row__media video,
.film-row:hover .film-row__media img {
  transform: scale(1.03);
  opacity: 1;
}

.film-row__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0.15rem 0;
  border-bottom: 1px solid var(--line);
}

.section--void .film-row__meta { border-bottom-color: var(--line-light); }

.film-row__title {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.film-row__link {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
}

.film-row:hover .film-row__link { opacity: 1; }

/* —— Quote —— */
.quote {
  width: min(760px, 100%);
  margin-inline: auto;
  text-align: center;
}

.quote blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 3.2vw, 2.15rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.quote cite {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 1.75rem;
}

/* —— CTA band —— */
.cta-band {
  text-align: center;
  padding: clamp(4rem, 9vw, 6.5rem) 1.25rem;
}

.cta-band .section__title { margin-bottom: 1rem; }
.cta-band .lede { max-width: 36rem; margin: 0 auto 1.75rem; }

/* —— Page hero (inner) —— */
.page-hero {
  position: relative;
  min-height: 52svh;
  display: grid;
  place-items: end center;
  padding: calc(var(--header-h) + 3rem) 1.25rem 3.5rem;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

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

.page-hero__media img,
.page-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.page-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(19,24,27,0.45), rgba(19,24,27,0.82));
}

.page-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  margin-bottom: 0.85rem;
}

.page-hero .lede {
  color: rgba(234, 235, 232, 0.85);
  max-width: 36rem;
  margin-inline: auto;
}

.page-hero--plain {
  background: var(--void);
  place-items: center;
  min-height: 42svh;
}

/* —— Capability list (no cards) —— */
.capability-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.capability {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) 1fr;
  gap: 1.25rem 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.capability h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}

.capability p {
  color: var(--muted);
  font-size: 0.98rem;
}

.section--void .capability-list,
.section--void .capability { border-color: var(--line-light); }
.section--void .capability p { color: var(--muted-light); }

/* —— FAQ —— */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; opacity: 0.5; }
.faq details[open] summary::after { content: "–"; }
.faq p {
  margin-top: 0.7rem;
  color: var(--muted);
  max-width: 42rem;
}

/* —— Forms —— */
form.q label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 1.15rem 0 0.45rem;
}

form.q input,
form.q textarea,
form.q select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

form.q input:focus,
form.q textarea:focus,
form.q select:focus {
  outline: 1px solid var(--altitude);
  border-color: var(--altitude);
}

form.q button { margin-top: 1.35rem; }

.note {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* —— Footer —— */
.site-footer {
  background: var(--void);
  color: var(--mist);
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid var(--line-light);
  text-align: center;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.site-footer__tag {
  max-width: 28rem;
  margin: 0 auto 1.75rem;
  color: var(--muted-light);
  font-size: 0.92rem;
}

.site-footer__rule {
  width: 8rem;
  height: 1px;
  margin: 0 auto 1.75rem;
  background: var(--line-light);
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-bottom: 1.75rem;
}

.site-footer nav a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-footer__social {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 2rem;
}

.site-footer__social a {
  width: 22px;
  height: 22px;
  opacity: 0.85;
}
.site-footer__social a:hover { opacity: 1; }
.site-footer__social svg { width: 100%; height: 100%; fill: currentColor; }

.site-footer__meta {
  font-size: 0.82rem;
  color: var(--muted-light);
}
.site-footer__meta a { text-decoration: none; }

/* —— Reveal motion —— */
/* Hide only when head marked html.js. No-JS stays visible; if site.js
   never loads, the head timeout forces .is-in after 3s. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (scripting: none) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__content,
  [data-reveal] {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .section--altitude { background-attachment: scroll; }
  .film-row__media video,
  .film-row__media img { transition: none; }
}

/* —— Responsive —— */
@media (max-width: 980px) {
  .brand-mark__text { display: none; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__media,
  .split__media img,
  .split__media video { min-height: 360px; }
  .split__copy .section__title,
  .split__copy .lede { text-align: center; }
  .split__actions { text-align: center; }
  .capability { grid-template-columns: 1fr; gap: 0.45rem; }
  .film-row__media { aspect-ratio: 16 / 9; max-height: none; }
  .film-row__meta { flex-wrap: wrap; }
}

@media (max-width: 720px) {
  :root { --header-h: 60px; }

  .nav-main { display: none; }

  .brand-mark__text { display: none; }

  .nav-toggle { display: inline-flex; justify-self: end; }

  .site-header__inner { grid-template-columns: auto 1fr; }

  .site-header.is-open {
    background: rgba(19, 24, 27, 0.96);
    height: auto;
    min-height: var(--header-h);
  }

  .site-header.is-open .site-header__inner {
    padding: 0.85rem 0 1.25rem;
    align-items: start;
  }

  .site-header.is-open .nav-main {
    display: flex;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    padding: 1.5rem 0 0.5rem;
  }

  .hero__brand { font-size: clamp(2.2rem, 12vw, 3.4rem); }
}
