:root {
  --bg: #0b0e10;
  --surface: #11161a;
  --text: #f1f1ed;
  --muted: #a7adb0;
  --line: #2c3438;
  --accent: #f0c500;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem max(1.25rem, calc((100vw - var(--max)) / 2));
  background: rgba(11, 14, 16, 0.97);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  line-height: 0.95;
  flex: 0 0 auto;
}
.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
}
.brand-main {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}
.brand-sub {
  margin-top: 0.35rem;
  color: var(--accent);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}
.nav {
  display: flex;
  gap: clamp(.75rem, 2vw, 1.5rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}
.nav a { transition: color 160ms ease; }
.nav a:hover, .nav a:focus { color: var(--text); }
.hero {
  --hero-parallax: 0px;
  position: relative;
  min-height: calc(100svh - 87px);
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -5% 0 -7%;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(5, 8, 10, .78) 0%, rgba(5, 8, 10, .58) 34%, rgba(5, 8, 10, .20) 68%, rgba(5, 8, 10, .08) 100%),
    linear-gradient(180deg, rgba(5, 8, 10, .24) 0%, rgba(5, 8, 10, .02) 54%, rgba(5, 8, 10, .44) 79%, rgba(5, 8, 10, .82) 100%),
    url("assets/deleted-town-hero-v30.jpg");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: translate3d(0, var(--hero-parallax), 0) scale(1.035);
  transform-origin: center center;
  will-change: transform;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(11, 14, 16, 0) 56%, rgba(11, 14, 16, .18) 70%, rgba(11, 14, 16, .68) 88%, var(--bg) 100%);
  pointer-events: none;
}
.hero-inner, .section, .footer {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 11vh, 8rem) 0 clamp(5rem, 12vh, 8.5rem);
  transform: translateY(clamp(-6rem, -8vh, -3rem));
}
.eyebrow, .section-label {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}
.eyebrow { margin: 0 0 1rem; }
.section-label { margin-bottom: 1.2rem; }
h1, h2, h3 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.035em;
}
h1 { max-width: 9ch; font-size: clamp(4rem, 12vw, 9rem); }
h2 { font-size: clamp(2.5rem, 6vw, 5rem); }
h3 { font-size: clamp(2.1rem, 5vw, 4rem); }
.tagline {
  margin: 2rem 0 0;
  max-width: 38rem;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
}
.meta { margin: 0.7rem 0 2rem; color: var(--muted); }

.hero .eyebrow,
.hero .tagline,
.hero .meta {
  text-shadow: 0 2px 18px rgba(0, 0, 0, .72);
}
.hero .tagline { max-width: 32rem; }
.hero .meta { color: #d7d9da; }
@media (prefers-reduced-motion: reduce) {
  .hero { --hero-parallax: 0px !important; }
  .hero::before { transform: scale(1.035); will-change: auto; }
}

.button {
  display: inline-block;
  padding: 0.85rem 1.15rem;
  background: var(--accent);
  color: #0b0e10;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  transition: transform 160ms ease, filter 160ms ease;
}
.button:hover, .button:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.section {
  padding: 4rem 0;
}
.project-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.8fr);
  gap: 4rem;
}
.project-copy p, .about-copy p, .founder-copy p { max-width: 46rem; color: var(--muted); }
.lead { color: var(--text) !important; font-size: 1.35rem; font-weight: 700; }
.facts { align-self: start; border-top: 1px solid var(--line); }
.facts div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.facts span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.facts strong { font-size: 0.98rem; }
.location { color: var(--muted); font-size: 0.82rem; }
.credit-line {
  margin-top: .85rem;
  color: #858d91;
  font-size: .72rem;
  opacity: .78;
  letter-spacing: .01em;
}
.about-copy { margin-top: 2.5rem; }

.founder-grid {
  margin-top: 4.25rem;
  max-width: 960px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.founder-photo {
  margin: 0;
  width: 300px;
  max-width: 100%;
}
.founder-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.roles {
  margin: .8rem 0 2rem;
  color: var(--accent) !important;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact h2 { margin-bottom: 2rem; }
.email {
  display: inline-block;
  font-size: clamp(1.15rem, 3vw, 2rem);
  font-weight: 800;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
}
.location { margin-top: 1.2rem; }
.footer {
  padding: 1.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: .9;
}

@media (max-width: 900px) {
  .site-header { padding-block: .8rem; }
  .brand-logo { width: 46px; height: 46px; }
  .brand-main { font-size: .92rem; }
  .brand-sub { font-size: .54rem; }
  .nav { gap: 1rem; }
  .nav a { white-space: nowrap; font-size: .62rem; }
  .hero { min-height: calc(100svh - 82px); }
  .hero::before { background-position: center 28%; }
  .hero-inner { padding: 3.5rem 0 4.25rem; transform: translateY(-7vh); }
  .project-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .section { padding: 3.6rem 0; }
}

@media (max-width: 640px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .nav { width: 100%; justify-content: space-between; flex-wrap: nowrap; overflow-x: auto; padding-bottom: .1rem; }
}

@media (max-width: 700px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-top: 4rem;
  }
  .founder-photo {
    width: min(320px, 100%);
  }
}

@media (max-width: 520px) {
  .hero-inner, .section, .footer { width: min(var(--max), calc(100% - 2rem)); }
  h1 { font-size: clamp(3.4rem, 18vw, 5.5rem); }
  .email { overflow-wrap: anywhere; }
  .footer { align-items: flex-start; }
  .footer-logo { width: 60px; height: 60px; }
}

.about-company { max-width: 800px; }

@media (min-width: 821px) {
  .nav { gap: clamp(1.25rem, 3vw, 2.25rem); }
}

.teaser-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050708;
  border: 1px solid var(--line);
  overflow: hidden;
}
.teaser-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.teaser-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #050708;
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
}
.teaser-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 280ms ease, filter 280ms ease;
}
.teaser-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05) 55%);
}
.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  min-width: 86px;
  height: 54px;
  padding: 0 1.2rem;
  background: var(--accent);
  color: #0b0e10;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
}
.teaser-poster:hover img, .teaser-poster:focus-visible img { transform: scale(1.012); filter: brightness(1.06); }

.project-still {
  margin: 2rem 0 0;
}
.project-still img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #07090a;
}

.contact-intro {
  max-width: 46rem;
  margin: -0.5rem 0 1.6rem;
  color: var(--muted);
  font-size: 1rem;
}

.credits-panel {
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.credits-panel summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  user-select: none;
}
.credits-panel summary::-webkit-details-marker { display: none; }
.credits-imdb {
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 160ms ease;
}
.credits-imdb:hover,
.credits-imdb:focus-visible {
  color: var(--accent);
}
.credits-panel summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
}
.credits-panel[open] summary::after { content: "-"; }

.credits-content {
  padding: 0.5rem 0 2.25rem;
  max-width: 960px;
}
.credits-production {
  margin: 0 0 2.5rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.credits-section {
  margin-top: 2.5rem;
}
.credits-section h3 {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}
.credit-list {
  border-top: 1px solid var(--line);
}
.credit-list p {
  margin: 0;
  padding: 0.72rem 0;
  display: grid;
  grid-template-columns: minmax(150px, .8fr) minmax(0, 1.7fr);
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.credit-list strong {
  color: var(--text);
  font-size: .86rem;
}
.credit-list span {
  color: var(--muted);
  font-size: .86rem;
}
.names-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem 1.5rem;
  color: var(--muted);
  font-size: .86rem;
}
.credits-legal {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: #7f878b;
  font-size: .74rem;
  max-width: 760px;
}

@media (max-width: 700px) {
  .credit-list p {
    grid-template-columns: 1fr;
    gap: .18rem;
  }
  .names-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .names-grid {
    grid-template-columns: 1fr;
  }
}

section[id] { scroll-margin-top: 7rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 820px) { section[id] { scroll-margin-top: 9rem; } }

.atmosphere-strip {
  position: relative;
  width: 100%;
  min-height: clamp(260px, 42vw, 520px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(90deg, rgba(5, 8, 10, .38), rgba(5, 8, 10, .12) 55%, rgba(5, 8, 10, .36)),
    linear-gradient(180deg, rgba(11, 14, 16, .52), rgba(11, 14, 16, .06) 40%, rgba(11, 14, 16, .72)),
    url("assets/deleted-town-bts-strip-v30.jpg");
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
}
.atmosphere-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 100px rgba(0,0,0,.35);
  pointer-events: none;
}
@media (max-width: 700px) {
  .atmosphere-strip { min-height: 300px; background-position: center center; }
}

.project-link { margin: 1.25rem 0 0; }
.project-link a { color: var(--accent); font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-decoration: none; }
.project-link a:hover, .project-link a:focus { text-decoration: underline; text-underline-offset: .3em; }
.project-page-hero {
  position: relative;
  width: 100%;
  min-height: min(68vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(5, 8, 10, .88) 0%, rgba(5, 8, 10, .67) 38%, rgba(5, 8, 10, .28) 72%, rgba(5, 8, 10, .12) 100%),
    linear-gradient(180deg, rgba(5, 8, 10, .18) 0%, rgba(5, 8, 10, .06) 48%, rgba(5, 8, 10, .82) 100%),
    url("assets/deleted-town-project-hero-v30.jpg");
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
}
.project-page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(11, 14, 16, 0), var(--bg));
  pointer-events: none;
}
.project-page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  max-width: none;
  margin-inline: auto;
  padding: clamp(4rem, 8vw, 7rem) 0 4rem;
}
.project-page-hero h1 { max-width: none; font-size: clamp(4rem, 11vw, 8rem); text-shadow: 0 3px 24px rgba(0,0,0,.78); }
.project-page-logline { max-width: 850px; margin: 1.8rem 0 0; font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 700; text-shadow: 0 2px 18px rgba(0,0,0,.72); }
.project-page-hero .meta, .project-page-hero .section-label { text-shadow: 0 2px 16px rgba(0,0,0,.72); }
.project-cta { border-top: 1px solid var(--line); }
.project-cta p { max-width: 42rem; color: var(--muted); margin: 1.5rem 0 2rem; }
.error-page { min-height: 100vh; width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; display: grid; align-items: center; padding: 4rem 0; }
.error-page h1 { max-width: none; font-size: clamp(3rem, 10vw, 7rem); margin: 1rem 0 1.5rem; }
.error-page p { color: var(--muted); margin-bottom: 2rem; }
@media (max-width: 900px) {
  .project-page-hero { min-height: 60vh; background-position: center 50%; }
  .project-page-hero-inner { padding: 3.5rem 0 3rem; }
}
@media (max-width: 520px) {
  .project-page-hero-inner, .error-page { width: min(var(--max), calc(100% - 2rem)); }
  .hero-inner { padding: 2.1rem 0 2.4rem; transform: translateY(-5vh); }
  .section { padding: 3.25rem 0; }
  .play-icon { min-width: 78px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .nav a, .teaser-poster img { transition: none; }
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero-title-logo {
  max-width: none;
  width: min(760px, 92vw);
  line-height: 1;
}
.hero-title-logo img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 520px) {
  .hero-title-logo { width: min(100%, 620px); }
}


body.has-cinematic-hero .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(7, 10, 12, .72), rgba(7, 10, 12, .34) 68%, rgba(7, 10, 12, 0));
  border-bottom-color: transparent;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}
body.has-cinematic-hero .site-header.is-scrolled {
  background: rgba(11, 14, 16, .96);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .16);
  backdrop-filter: blur(10px);
}
body.has-cinematic-hero .hero {
  min-height: 100svh;
}
body.has-cinematic-hero .project-page-hero {
  min-height: min(74vh, 780px);
}
.hero::after {
  background: linear-gradient(to bottom,
    rgba(11, 14, 16, 0) 50%,
    rgba(11, 14, 16, .12) 64%,
    rgba(11, 14, 16, .40) 76%,
    rgba(11, 14, 16, .78) 90%,
    var(--bg) 100%);
}
#deleted-town.section {
  padding-top: clamp(3rem, 6vw, 5rem);
}
.atmosphere-strip-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2.5rem));
  min-height: inherit;
  margin-inline: auto;
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(1.75rem, 4vw, 3rem);
}
.atmosphere-strip-inner span {
  display: inline-block;
  color: var(--text);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .9);
}
.project-page-hero::after {
  height: 42%;
  background: linear-gradient(to bottom, rgba(11, 14, 16, 0), rgba(11, 14, 16, .32) 45%, var(--bg));
}
@media (max-width: 900px) {
  body.has-cinematic-hero .hero { min-height: 100svh; }
  body.has-cinematic-hero .project-page-hero { min-height: 68vh; }
}
@media (max-width: 640px) {
  body.has-cinematic-hero .site-header {
    background: linear-gradient(to bottom, rgba(7, 10, 12, .78), rgba(7, 10, 12, .42) 72%, rgba(7, 10, 12, 0));
  }
  body.has-cinematic-hero .site-header.is-scrolled {
    background: rgba(11, 14, 16, .97);
  }
  .atmosphere-strip-inner {
    width: min(var(--max), calc(100% - 2rem));
  }
}
@media (prefers-reduced-motion: reduce) {
  body.has-cinematic-hero .site-header { transition: none; }
}


:root { --header-height: 96px; }
html { scroll-padding-top: calc(var(--header-height) + 24px); }
section[id] { scroll-margin-top: calc(var(--header-height) + 24px); }

body.has-cinematic-hero .site-header:not(.is-scrolled) {
  background: linear-gradient(to bottom, rgba(7, 10, 12, .48), rgba(7, 10, 12, .16) 64%, rgba(7, 10, 12, 0));
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

@media (max-width: 900px) {
  body.has-cinematic-hero .hero {
    min-height: 92svh;
  }
  .hero-inner {
    transform: translateY(-11vh);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: .65rem;
    padding-bottom: .6rem;
    gap: .5rem;
  }
  .brand {
    gap: .6rem;
  }
  .brand-logo {
    width: 39px;
    height: 39px;
  }
  .brand-main {
    font-size: .82rem;
  }
  .brand-sub {
    margin-top: .28rem;
    font-size: .48rem;
  }
  body.has-cinematic-hero .site-header:not(.is-scrolled) {
    background: linear-gradient(to bottom, rgba(7, 10, 12, .54), rgba(7, 10, 12, .18) 70%, rgba(7, 10, 12, 0));
  }
  body.has-cinematic-hero .hero {
    min-height: 88svh;
  }
  .hero-inner {
    padding-top: 1.8rem;
    padding-bottom: 2.2rem;
    transform: translateY(-8vh);
  }
}

@media (max-width: 420px) {
  body.has-cinematic-hero .hero {
    min-height: 86svh;
  }
  .hero-inner {
    transform: translateY(-7vh);
  }
}



.hero-haze {
  position: absolute;
  inset: -8% -7% 39%;
  z-index: 0;
  pointer-events: none;
  opacity: .68;
  background-image:
    radial-gradient(ellipse at 8% 6%, rgba(145, 168, 180, .24) 0 9%, rgba(112, 137, 150, .12) 26%, transparent 54%),
    radial-gradient(ellipse at 91% 14%, rgba(151, 174, 186, .28) 0 8%, rgba(112, 138, 152, .14) 25%, transparent 55%),
    radial-gradient(ellipse at 52% 4%, rgba(128, 151, 163, .18) 0 9%, rgba(95, 120, 132, .08) 29%, transparent 57%),
    url("assets/upper-mist-v34.png");
  background-size: cover, cover, cover, 100% 100%;
  background-position: center, center, center, center top;
  background-repeat: no-repeat;
  filter: blur(7px) saturate(.82);
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.98) 46%, rgba(0,0,0,.72) 70%, rgba(0,0,0,.18) 91%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.98) 46%, rgba(0,0,0,.72) 70%, rgba(0,0,0,.18) 91%, transparent 100%);
  transform: translate3d(-1.2%, -6px, 0) scale(1.045);
  animation: hero-haze-drift 28s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes hero-haze-drift {
  from { transform: translate3d(-1.2%, -6px, 0) scale(1.045); }
  to   { transform: translate3d(1.8%, 15px, 0) scale(1.075); }
}

body.has-cinematic-hero .site-header:not(.is-scrolled) {
  background: linear-gradient(to bottom, rgba(7, 10, 12, .30), rgba(7, 10, 12, .08) 68%, rgba(7, 10, 12, 0));
}

@media (min-width: 641px) and (max-width: 900px) {
  .hero-inner {
    transform: translateY(calc(-11vh - 44px));
  }
  .hero-haze {
    inset: -9% -8% 35%;
    opacity: .76;
    filter: blur(6px) saturate(.86);
  }
}

@media (max-width: 640px) {
  body.has-cinematic-hero .site-header:not(.is-scrolled) {
    background: linear-gradient(to bottom, rgba(7, 10, 12, .38), rgba(7, 10, 12, .10) 70%, rgba(7, 10, 12, 0));
  }
  .hero-haze {
    inset: -7% -14% 43%;
    opacity: .42;
    filter: blur(9px) saturate(.78);
    animation: none;
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-haze {
    animation: none;
    transform: scale(1.045);
    will-change: auto;
  }
}

@media (min-width: 901px) and (max-height: 760px) {
  body.has-cinematic-hero .hero {
    min-height: max(100svh, 680px);
    align-items: start;
  }
  body.has-cinematic-hero .hero .hero-inner {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3.5rem;
    transform: none;
  }
  .hero-title-logo {
    width: min(720px, 72vw);
  }
  .hero .tagline {
    margin-top: 1.5rem;
  }
}

@media (min-width: 641px) and (max-width: 900px) and (max-height: 700px) {
  body.has-cinematic-hero .hero {
    min-height: max(100svh, 680px);
    align-items: start;
  }
  body.has-cinematic-hero .hero .hero-inner {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3rem;
    transform: none;
  }
  .hero-title-logo {
    width: min(650px, 78vw);
  }
  .hero .tagline {
    margin-top: 1.4rem;
  }
}


.cast-feature {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cast-feature-photo {
  margin: 0;
}
.cast-feature-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #07090a;
}
.project-cast-feature { border-top: none; }


/* --------------------------------------------------------------
   OUR VISION & VALUES — Company page (v42)
   The pure-dark Horizon treatment is intentional; it is not
   themed with project-specific DELETED TOWN photography.
   -------------------------------------------------------------- */
body.values-page { background: #070809; }
.values-page .site-header { background: rgba(8, 9, 10, .98); }
.values-page .nav a[aria-current="page"] { color: var(--text); }
.values-page .nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 5px; background: var(--accent); }
.values-page h2 { max-width: none; }
.values-hero { position: relative; min-height: min(91svh, 810px); display: flex; align-items: center; overflow: hidden; isolation: isolate; border-bottom: 1px solid #292929; background: #070809; }
.values-hero-glow { position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 74% 45%, rgba(121, 84, 43, .15) 0%, transparent 49%), linear-gradient(165deg, #08090a 30%, #0d0c0b 72%, #070809 100%); }
 .values-hero-mark { position: absolute; z-index: -1; right: -10rem; top: 5%; width: min(65vw, 750px); height: min(65vw, 750px); background: url('assets/horizon-mark-v21.png') center/contain no-repeat; opacity: .09; filter: grayscale(.2); pointer-events: none; }
 .values-hero-inner,.vv-inner { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
 .values-hero-inner { position: relative; z-index: 1; padding: clamp(5rem, 10vw, 9rem) 0; }
 .values-kicker,.values-overline,.vv-eyebrow,.vv-quote-label,.vv-stage-heading { font-size: .68rem; letter-spacing: .17em; font-weight: 800; }
 .values-kicker { display: flex; gap: 1rem; align-items: center; color: #e8d9b0; }
 .gold-line { width: 36px; height: 1px; background: var(--accent); }
 .values-overline { color: #979899; margin: 3.7rem 0 1.2rem; }
 .values-hero h1 { font-size: clamp(3.7rem, 10vw, 8.6rem); line-height: .92; letter-spacing: -.055em; max-width: none; }
 .values-hero h1 em,.vv-section h2 em,.vv-end h2 em { font-style: normal; color: #d4ae68; }
 .values-hero-statement { font-size: clamp(1.55rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.035em; margin: 2.25rem 0 1.1rem; line-height: 1.22; }
 .values-hero-intro { max-width: 530px; color: #b3b4b4; font-size: 1.06rem; }
 .values-text-link { display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.4rem; color: #d9b771; text-decoration: none; border-bottom: 1px solid #715f40; padding-bottom: .5rem; font-size: .74rem; font-weight: 800; letter-spacing: .12em; }
 .values-text-link:hover { color: #fff; }
 .vv-section { padding: clamp(4rem, 7vw, 7rem) 0; border-bottom: 1px solid #242729; }
 .vv-section h2 { font-size: clamp(2.6rem, 5vw, 5.4rem); line-height: .99; margin: 1.15rem 0 1.7rem; }
 .vv-section h3 { font-size: 1rem; line-height: 1.25; letter-spacing: .02em; }
 .vv-eyebrow { color: #d4ae68; margin: 0 0 1.25rem; }
 .vv-eyebrow span { color: #858580; margin-right: .8rem; }
 .vv-two-up { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); }
 .vv-statement + .vv-statement { border-left: 1px solid #363738; padding-left: clamp(2.5rem, 5vw, 5rem); }
 .vv-section p { line-height: 1.7; }
 .vv-statement > p:not(.vv-eyebrow),.vv-body-copy p,.vv-heading-row > p,.vv-practices-grid p { color: #b2b5b5; max-width: 650px; }
 .vv-feature-text { font-size: clamp(1.17rem, 1.8vw, 1.47rem); color: #f0eee9 !important; font-weight: 650; line-height: 1.55 !important; }
 .vv-purpose { background: #0b0c0d; }
 .vv-purpose-grid { display: grid; grid-template-columns: minmax(200px, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 7rem); }
 .vv-body-copy p:first-child { margin-top: 0; }
 .vv-heading-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr); align-items: end; gap: 3rem; margin-bottom: 2.5rem; }
 .vv-heading-row h2 { margin: 0; }
 .vv-heading-row > p { margin: 0; }
 .vv-value-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid #353434; border-left: 1px solid #353434; }
 .vv-value { padding: clamp(1.55rem, 3vw, 2.5rem); border-right: 1px solid #353434; border-bottom: 1px solid #353434; min-height: 310px; background: linear-gradient(160deg, #111213, #0b0c0c); }
 .vv-value .vv-number { color: #a7936c; font-weight: 800; letter-spacing: .12em; font-size: .67rem; }
 .vv-value h3 { margin: 2.2rem 0 .2rem; color: #f0ede9; font-size: clamp(1.32rem, 2vw, 1.7rem); letter-spacing: -.012em; }
 .vv-value .vv-value-deck { color: #d6b677; font-size: .86rem; font-weight: 700; margin: .2rem 0 1rem; }
 .vv-value p:last-child { margin-bottom: 0; font-size: .9rem; color: #adb1b1; }
 .vv-pullquote { padding: clamp(4.4rem, 9vw, 8rem) 0; background: radial-gradient(ellipse at 40% 50%, #17130e, #0a0b0c 66%); border-bottom: 1px solid #2c2c2c; }
 .vv-quote-label { color: #d7b677; }
 .vv-pullquote blockquote { margin: 1.75rem 0 0; max-width: 980px; font-size: clamp(1.6rem, 3.8vw, 3.3rem); letter-spacing: -.037em; line-height: 1.32; color: #f0f0ef; font-weight: 450; }
 .vv-pullquote blockquote strong { color: #e8c481; font-weight: 700; }
 .vv-mentoring { background: #0b0c0d; }
 .vv-mentoring .vv-heading-row { align-items: start; }
 .vv-stage-heading { display: flex; justify-content: space-between; gap: 1.2rem; border-top: 1px solid #343638; padding-top: 2rem; margin-top: 2.5rem; color: #d6b677; }
 .vv-stage-heading span+span { color: #8d9594; font-weight: 650; font-size: .60rem; text-align: right; }
 .vv-stages { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; margin-top: 1.4rem; }
 .vv-stages article { border-left: 2px solid #987c4a; padding: .5rem 1.2rem .75rem; }
 .vv-stages article > span { color: #d4ae68; font-size: .7rem; letter-spacing: .13em; font-weight: 800; }
 .vv-stages h3 { margin: 1.1rem 0; font-size: 1.15rem; }
 .vv-stages p { font-size: .9rem; color: #b1b3b3; }
 .vv-practices h2 { margin-bottom: 3.5rem; }
 .vv-practices-grid { gap: clamp(2.5rem, 7vw, 7rem); }
 .vv-practices-grid article { border-top: 1px solid #d4ae68; padding-top: 1.7rem; }
 .vv-practices-grid h3 { margin-bottom: 1.4rem; color: #e8c481; font-size: .88rem; letter-spacing: .085em; }
 .vv-impact { background: #0b0c0d; }
 .vv-impact-list { list-style: none; padding: 0; margin: 3rem 0 1rem; border-top: 1px solid #353738; }
 .vv-impact-list li { display: flex; gap: 2rem; align-items: baseline; border-bottom: 1px solid #353738; padding: 1.22rem 0; font-weight: 600; color: #e8e9e6; font-size: clamp(.95rem, 1.7vw, 1.2rem); }
 .vv-impact-list li span { color: #d4ae68; font-size: .72rem; font-weight: 800; min-width: 26px; }
 .vv-impact-note { color: #999d9c; font-size: .83rem; }
 .vv-end { background: radial-gradient(ellipse at 50% 0%, #22190f, #08090a 65%); text-align: center; padding: clamp(4.5rem, 8vw, 8rem) 0; }
 .vv-end-mark { display: block; margin: 0 auto 2rem; width: 105px; height: 105px; object-fit: contain; }
 .vv-end h2 { font-size: clamp(2.2rem, 5vw, 4.9rem); line-height: 1.1; margin: 1.5rem 0 1.5rem; }
 .vv-end > .vv-inner > p:not(.vv-eyebrow) { color: #bec0bf; margin-bottom: 2rem; }
 .vv-footer-link { margin-left: auto; font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-decoration: none; color: #d4ae68; }
 .about-values-link { margin-top: 2rem; }
 .about-values-link a { color: #e2bc73; font-size: .8rem; font-weight: 800; text-decoration: none; letter-spacing: .13em; border-bottom: 1px solid #907041; padding-bottom: .5rem; }
 .about-values-link a:hover { color: #fff; }
 @media(max-width: 900px) {
   .values-hero-mark { width: 620px; height: 620px; right: -320px; opacity: .065; }
   .vv-value-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
   .vv-value { min-height: 300px; }
 }
 @media(max-width: 700px) {
   .values-hero { min-height: auto; }
   .values-hero-inner { padding: 6rem 0 5rem; }
   .values-overline { margin-top: 3rem; }
   .vv-two-up,.vv-purpose-grid,.vv-heading-row,.vv-stages { grid-template-columns: 1fr; }
   .vv-statement + .vv-statement { border-left: 0; border-top: 1px solid #363738; padding-left: 0; padding-top: 3rem; }
   .vv-heading-row { gap: 1.5rem; }
   .vv-mentoring .vv-heading-row { gap: 2rem; }
   .vv-stages { gap: 1.1rem; }
   .vv-stages article { padding-bottom: 1rem; }
   .vv-stages h3 { margin-bottom: .7rem; }
   .vv-stage-heading { flex-direction: column; gap: .5rem; }
   .vv-stage-heading span+span { text-align: left; }
   .vv-practices h2 { margin-bottom: 2.6rem; }
 }
 @media(max-width: 520px) {
   .values-hero-inner,.vv-inner { width: calc(100% - 2rem); }
   .values-hero h1 { font-size: clamp(3rem, 15.2vw, 4.8rem); }
   .values-hero-statement { margin-top: 1.8rem; }
   .vv-value-grid { grid-template-columns: 1fr; }
   .vv-value { min-height: 0; }
   .vv-value h3 { margin-top: 1.3rem; }
   .vv-impact-list li { gap: 1rem; }
   .vv-end h2 { overflow-wrap: break-word; }
 }
