:root {
  --ink: #171713;
  --paper: #f1ede3;
  --paper-light: #faf8f2;
  --orange: #df5b36;
  --lime: #dce86e;
  --line: rgba(23, 23, 19, 0.2);
  --muted: #6d6a61;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 12px clamp(20px, 4vw, 64px);
  color: var(--paper-light);
  background: linear-gradient(to bottom, rgba(16, 16, 14, 0.88), rgba(16, 16, 14, 0));
  backdrop-filter: blur(4px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  letter-spacing: -0.08em;
}

nav {
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  font-size: 12px;
  font-weight: 700;
}

nav a,
.footer-links a {
  position: relative;
}

nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lang-switch {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}

.lang-switch button,
.lang-switch a {
  padding: 4px;
  color: inherit;
  opacity: 0.5;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.lang-switch button.active,
.lang-switch a.active {
  opacity: 1;
  font-weight: 800;
}

.media-gallery .media-stage {
  display: none;
}

.media-gallery .media-stage.active {
  display: block;
}

.form-result {
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
  min-height: 100svh;
  overflow: hidden;
  color: var(--paper-light);
  background: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 32vw;
  height: 32vw;
  background: var(--orange);
  filter: blur(150px);
  opacity: 0.18;
  transform: translate(-35%, 35%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(24px, 6vw, 110px) 64px;
}

.eyebrow {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(58px, 8.4vw, 138px);
  font-weight: 500;
  line-height: 0.83;
  letter-spacing: -0.075em;
}

.hero-lead {
  max-width: 650px;
  margin: 40px 0 0;
  color: rgba(250, 248, 242, 0.76);
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: 185px;
  padding: 16px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary {
  color: var(--paper-light);
  background: var(--orange);
  border-color: var(--orange);
}

.button.ghost:hover {
  color: var(--ink);
  background: var(--paper-light);
}

.button.light {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: auto;
  padding-top: 54px;
  color: rgba(250, 248, 242, 0.62);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-stats strong {
  color: var(--paper-light);
}

.hero-images {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr 1fr;
  min-height: 100%;
  padding: 86px 22px 22px 0;
  gap: 8px;
}

.hero-images figure {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #292923;
}

.hero-images .hero-main {
  grid-row: 1 / span 2;
}

.hero-images img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.hero-images figure:hover img {
  transform: scale(1.025);
}

.hero-images figcaption,
.broadcast-image figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 9px 11px;
  color: white;
  background: rgba(15, 15, 13, 0.68);
  backdrop-filter: blur(7px);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: clamp(80px, 10vw, 150px) clamp(20px, 5vw, 80px);
}

.section-head {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 50px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.section-head h2,
.about h2,
.closing h2 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(46px, 7vw, 104px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.section-head > p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.5;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 26px 0 40px;
}

.filter-row button {
  padding: 10px 15px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.filter-row button.active {
  color: var(--paper-light);
  background: var(--ink);
  border-color: var(--ink);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  overflow: hidden;
  background: var(--paper-light);
  border: 1px solid rgba(23, 23, 19, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(23, 23, 19, 0.12);
}

.project-card.featured {
  grid-column: span 1;
}

.project-image,
.project-placeholder {
  height: 340px;
  overflow: hidden;
}

.project-image img {
  height: 100%;
  object-fit: cover;
}

.project-image.portrait img {
  object-position: center 38%;
}

.project-image.poster {
  background: #1c1c18;
}

.project-image.poster img {
  object-fit: contain;
}

.project-placeholder {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px;
}

.project-placeholder::after {
  content: "";
  position: absolute;
  width: 200px;
  aspect-ratio: 1;
  top: 50%;
  left: 55%;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.32;
}

.tone-documentary {
  color: var(--paper-light);
  background: #303832;
}

.tone-culture {
  color: var(--ink);
  background: var(--lime);
}

.tone-commissioned {
  color: var(--paper-light);
  background: var(--orange);
}

.project-placeholder span {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.project-placeholder b {
  position: relative;
  z-index: 1;
  font-size: 42px;
  font-weight: 500;
  line-height: 0.83;
  letter-spacing: -0.07em;
}

.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.project-meta {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 39px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.project-body > p:not(.project-meta) {
  margin: 22px 0;
  color: #55534c;
  font-size: 14px;
  line-height: 1.55;
}

.project-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
}

.project-link > span:last-child {
  font-size: 17px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.project-card:hover .project-link > span:last-child {
  transform: translate(3px, -3px);
}

.dark-section {
  color: var(--paper-light);
  background: var(--ink);
}

.section-head.inverse {
  border-color: rgba(250, 248, 242, 0.2);
}

.section-head.inverse > p {
  color: rgba(250, 248, 242, 0.65);
}

.broadcast-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(24px, 5vw, 80px);
  margin-top: 60px;
}

.broadcast-image {
  position: relative;
  min-height: 650px;
  margin: 0;
  overflow: hidden;
}

.broadcast-image img {
  height: 100%;
  object-fit: cover;
}

.credits-list {
  display: flex;
  flex-direction: column;
}

.credits-list .broadcast-credit {
  padding: 0;
  border-top: 1px solid rgba(250, 248, 242, 0.2);
}

.credits-list .broadcast-credit:first-child {
  border-top: 0;
}

.broadcast-trigger {
  display: grid;
  grid-template-columns: 44px 1fr 26px;
  gap: 18px;
  width: 100%;
  padding: 30px 0;
  color: inherit;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.broadcast-number {
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
}

.broadcast-summary {
  display: block;
}

.broadcast-summary strong {
  display: block;
  margin: 0 0 14px;
  font-size: clamp(27px, 3vw, 46px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.broadcast-summary > span {
  display: block;
  max-width: 600px;
  color: rgba(250, 248, 242, 0.65);
  font-size: 14px;
  line-height: 1.6;
}

.broadcast-arrow {
  align-self: start;
  color: var(--paper-light);
  font-size: 22px;
  line-height: 1;
  transition: transform 260ms ease, color 180ms ease;
}

.broadcast-credit.is-open .broadcast-arrow {
  color: var(--orange);
  transform: rotate(180deg);
}

.broadcast-detail {
  padding: 0 0 34px 62px;
  animation: broadcast-reveal 320ms ease both;
}

.broadcast-detail[hidden] {
  display: none;
}

.broadcast-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
  aspect-ratio: 2 / 1;
  margin-bottom: 24px;
}

.broadcast-thumb {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  color: rgba(250, 248, 242, 0.68);
  border: 1px solid rgba(250, 248, 242, 0.17);
  background: #292923;
  cursor: zoom-in;
  transition: border-color 180ms ease, opacity 180ms ease;
}

.broadcast-thumb:hover {
  border-color: var(--orange);
}

.broadcast-thumb:disabled {
  cursor: default;
}

.broadcast-thumb:disabled:hover {
  border-color: rgba(250, 248, 242, 0.17);
}

.broadcast-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.broadcast-thumb.is-placeholder > span {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 13px;
  text-align: left;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background:
    linear-gradient(135deg, transparent 49.6%, rgba(250, 248, 242, 0.11) 50%, transparent 50.4%);
}

.broadcast-thumb.is-placeholder small {
  align-self: flex-end;
  color: var(--orange);
  font-size: 10px;
}

.broadcast-thumb.is-expanded {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-color: rgba(250, 248, 242, 0.35);
  cursor: zoom-out;
}

.broadcast-thumb.is-expanded img {
  object-fit: contain;
  background: #121210;
}

.broadcast-detail-copy {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(250, 248, 242, 0.16);
}

.broadcast-detail-copy .eyebrow {
  margin: 3px 0 0;
  color: var(--orange);
}

.broadcast-detail-copy > p:last-child {
  margin: 0;
  color: rgba(250, 248, 242, 0.72);
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-line;
}

@keyframes broadcast-reveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.commission-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 650px;
  margin-top: 54px;
}

.commission-visual {
  position: relative;
  min-height: 650px;
  margin: 0;
  overflow: hidden;
}

.commission-slide {
  position: absolute;
  inset: 0;
  animation: commission-reveal 320ms ease both;
}

.commission-slide[hidden] {
  display: none;
}

.commission-visual img {
  height: 100%;
  object-fit: cover;
}

.commission-placeholder {
  display: flex;
  height: 100%;
  min-height: 650px;
  padding: 42px;
  align-items: flex-start;
  justify-content: space-between;
  color: rgba(250, 248, 242, 0.86);
  background:
    radial-gradient(circle at 80% 15%, rgba(220, 232, 110, 0.28), transparent 28%),
    linear-gradient(145deg, #24241f, #48483d);
}

.commission-placeholder span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.commission-placeholder b {
  align-self: center;
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-align: right;
}

@keyframes commission-reveal {
  from { opacity: 0.35; transform: scale(1.012); }
  to { opacity: 1; transform: scale(1); }
}

.overlay-label {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  max-width: 550px;
  padding: 22px;
  color: var(--paper-light);
  background: rgba(18, 18, 15, 0.84);
  backdrop-filter: blur(10px);
}

.overlay-label span {
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.overlay-label h3,
.commission-note h3 {
  margin: 12px 0;
  font-size: clamp(30px, 3vw, 50px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.overlay-label p,
.commission-note > p:not(.eyebrow) {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.commission-controls {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  display: grid;
  grid-template-columns: 48px auto 48px;
  align-items: center;
  overflow: hidden;
  color: var(--paper-light);
  background: rgba(18, 18, 15, 0.82);
  border: 1px solid rgba(250, 248, 242, 0.24);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.commission-controls button {
  display: grid;
  width: 48px;
  height: 46px;
  place-items: center;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.commission-controls button:hover {
  color: var(--ink);
  background: var(--lime);
}

.commission-controls span {
  min-width: 58px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
}

.commission-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 90px);
  color: var(--paper-light);
  background: var(--orange);
}

.commission-note .eyebrow {
  color: rgba(250, 248, 242, 0.65);
}

.commission-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.commission-tags span {
  padding: 8px 12px;
  border: 1px solid rgba(250, 248, 242, 0.45);
  border-radius: 999px;
  font-size: 10px;
}

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 8vw, 130px);
  align-items: start;
  background: var(--paper-light);
}

.about-image {
  position: sticky;
  top: 100px;
}

.about-image img {
  max-height: 780px;
  object-fit: cover;
}

.image-note {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-copy {
  padding-top: 30px;
}

.about-copy > p:not(.eyebrow, .language-line) {
  max-width: 750px;
  margin: 34px 0 0;
  color: #56534c;
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: 1.5;
}

.about-origin {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: end;
  margin-top: 50px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about-origin img {
  height: 180px;
  object-fit: cover;
}

.about-origin p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.language-line {
  margin: 40px 0 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.closing {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: start;
  min-height: 74svh;
  color: var(--paper-light);
  background: var(--ink);
}

.closing h2 {
  max-width: 1100px;
  font-size: clamp(56px, 7.5vw, 118px);
}

.closing-copy > p:not(.eyebrow) {
  margin: 34px 0 48px;
  color: rgba(250, 248, 242, 0.64);
  font-size: clamp(18px, 2vw, 27px);
}

.contact-email {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(250, 248, 242, 0.44);
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 22px;
  padding-top: 6px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 9px;
}

.contact-form label > span {
  color: rgba(250, 248, 242, 0.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 2px;
  color: var(--paper-light);
  border: 0;
  border-bottom: 1px solid rgba(250, 248, 242, 0.34);
  border-radius: 0;
  outline: none;
  background: transparent;
  resize: vertical;
}

.contact-form textarea {
  min-height: 110px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--lime);
}

.contact-form .button {
  margin-top: 8px;
  cursor: pointer;
}

.contact-form > small {
  max-width: 500px;
  color: rgba(250, 248, 242, 0.44);
  font-size: 10px;
  line-height: 1.5;
}

footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  align-items: end;
  padding: 30px clamp(20px, 5vw, 80px);
  color: rgba(250, 248, 242, 0.7);
  background: var(--ink);
  border-top: 1px solid rgba(250, 248, 242, 0.2);
  font-size: 10px;
}

footer > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.draft-note {
  justify-self: center;
  margin: 0;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 78svh;
  }

  .hero-images {
    min-height: 70svh;
    padding: 8px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .broadcast-layout,
  .commission-grid {
    grid-template-columns: 1fr;
  }

  .commission-note {
    min-height: 500px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 60px;
    padding: 10px 16px;
    background: rgba(16, 16, 14, 0.86);
  }

  .brand {
    font-size: 11px;
  }

  .brand-mark {
    width: 32px;
  }

  .hero-copy {
    min-height: 92svh;
    padding: 115px 20px 32px;
  }

  .hero h1 {
    font-size: clamp(58px, 20vw, 88px);
  }

  .hero-stats {
    flex-direction: column;
    gap: 10px;
  }

  .hero-images {
    grid-template-columns: 1fr 1fr;
    min-height: 65svh;
  }

  .hero-images .hero-main {
    grid-column: 1 / span 2;
    grid-row: auto;
  }

  .section {
    padding: 80px 18px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 0;
  }

  .project-image,
  .project-placeholder {
    height: 310px;
  }

  .broadcast-image,
  .commission-visual {
    min-height: 520px;
  }

  .commission-placeholder {
    min-height: 520px;
  }

  .broadcast-detail {
    padding-left: 0;
  }

  .broadcast-trigger {
    grid-template-columns: 32px 1fr 22px;
    gap: 12px;
  }

  .broadcast-detail-copy {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .closing {
    grid-template-columns: 1fr;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .about-image {
    position: static;
  }

  .about-origin {
    grid-template-columns: 90px 1fr;
  }

  .about-origin img {
    height: 130px;
  }

  footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .draft-note {
    justify-self: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Project detail pages */

.project-page {
  min-height: 100svh;
  background: var(--paper);
}

.project-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 12px clamp(20px, 4vw, 64px);
  color: var(--paper-light);
  background: rgba(23, 23, 19, 0.9);
  backdrop-filter: blur(12px);
}

.project-back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
}

.project-back span {
  transition: transform 180ms ease;
}

.project-back:hover span {
  transform: translateX(-3px);
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  min-height: 100svh;
  color: var(--paper-light);
  background: var(--ink);
}

.project-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px clamp(24px, 6vw, 100px) clamp(64px, 8vw, 110px);
}

.project-hero-meta {
  margin: 0 0 24px;
  color: rgba(250, 248, 242, 0.56);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(58px, 8vw, 130px);
  font-weight: 500;
  line-height: 0.84;
  letter-spacing: -0.075em;
}

.project-hero-intro {
  max-width: 760px;
  margin: 42px 0 0;
  color: rgba(250, 248, 242, 0.7);
  font-size: clamp(18px, 1.75vw, 25px);
  line-height: 1.45;
}

.project-hero-image,
.project-hero-placeholder {
  min-height: 100svh;
  overflow: hidden;
}

.project-hero-image img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
}

.project-hero-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px clamp(32px, 5vw, 78px);
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 24%, rgba(23, 23, 19, 0.12), transparent 30%),
    var(--lime);
}

.project-hero-placeholder::before,
.project-hero-placeholder::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(23, 23, 19, 0.32);
  border-radius: 50%;
}

.project-hero-placeholder::before {
  top: 17%;
  right: 8%;
  width: 68%;
  aspect-ratio: 1;
}

.project-hero-placeholder::after {
  top: 31%;
  right: 22%;
  width: 40%;
  aspect-ratio: 1;
}

.project-hero-placeholder span,
.project-hero-placeholder strong {
  position: relative;
  z-index: 1;
  font-size: clamp(70px, 8vw, 130px);
  font-weight: 500;
  line-height: 0.73;
  letter-spacing: -0.08em;
}

.project-hero-placeholder small {
  position: relative;
  z-index: 1;
  margin-top: 34px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-overview {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(50px, 9vw, 150px);
  background: var(--paper-light);
}

.project-role-panel h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(43px, 6vw, 90px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.project-facts {
  align-self: end;
}

.project-facts > div {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.project-facts span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-facts strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.project-story {
  color: var(--paper-light);
  background: var(--ink);
}

.project-context {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 8vw, 130px);
  background: var(--paper);
}

.project-context h2,
.project-media-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 5.5vw, 86px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.project-context-copy {
  align-self: end;
}

.project-context-copy p {
  max-width: 780px;
  margin: 0 0 28px;
  color: #56534c;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.58;
}

.project-context-copy p:last-child {
  margin-bottom: 0;
}

.project-media {
  background: #d7d3c9;
}

.project-media-head {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 50px;
  margin-bottom: clamp(42px, 6vw, 80px);
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.project-media-head > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.media-gallery {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.media-stage {
  margin: 0;
  color: var(--paper-light);
  background: var(--ink);
}

.media-stage > img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.media-video-frame {
  width: 100%;
  background: #0d0d0b;
}

.media-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-placeholder-frame {
  display: grid;
  place-content: center;
  place-items: center;
  gap: 18px;
  width: 100%;
  min-height: 420px;
  padding: 50px 20px;
  text-align: center;
  background:
    linear-gradient(135deg, transparent 49.8%, rgba(250, 248, 242, 0.08) 50%, transparent 50.2%),
    radial-gradient(circle at 50% 45%, rgba(223, 91, 54, 0.28), transparent 28%),
    #12120f;
}

.media-placeholder-frame span,
.media-placeholder-frame small {
  color: rgba(250, 248, 242, 0.44);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.media-placeholder-frame strong {
  font-size: clamp(28px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.media-stage figcaption {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: baseline;
  min-height: 58px;
  padding: 16px 18px;
  border-top: 1px solid rgba(250, 248, 242, 0.18);
}

.media-stage figcaption span,
.media-stage figcaption small {
  color: rgba(250, 248, 242, 0.5);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-stage figcaption p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.media-gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
}

.media-gallery-controls p {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-gallery-controls p span {
  margin-left: 10px;
  color: var(--muted);
}

.media-gallery-controls > div {
  display: flex;
  gap: 8px;
}

.media-gallery-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.media-gallery-controls button:hover {
  color: var(--paper-light);
  background: var(--ink);
  transform: translateY(-2px);
}

.media-thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.media-thumbnails > button {
  position: relative;
  flex: 0 0 28%;
  min-width: 190px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  background: var(--ink);
  cursor: pointer;
  scroll-snap-align: center;
  transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.media-thumbnails > button:not(.active) {
  opacity: 0.68;
}

.media-thumbnails > button:hover,
.media-thumbnails > button.active {
  opacity: 1;
  border-color: var(--orange);
  transform: translateY(-2px);
}

.media-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-video-thumb {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  color: var(--paper-light);
  background:
    radial-gradient(circle at 50% 50%, rgba(223, 91, 54, 0.48), transparent 36%),
    var(--ink);
}

.media-video-thumb b {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  padding-left: 3px;
  border: 1px solid rgba(250, 248, 242, 0.72);
  border-radius: 50%;
  font-size: 14px;
}

.media-video-thumb small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media-placeholder-thumb {
  background:
    linear-gradient(135deg, transparent 49.5%, rgba(250, 248, 242, 0.08) 50%, transparent 50.5%),
    #181813;
}

.media-placeholder-thumb b {
  padding-left: 0;
}

.media-thumb-index {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 7px;
  color: var(--paper-light);
  background: rgba(15, 15, 13, 0.72);
  font-size: 9px;
  font-weight: 800;
}

.project-story-heading {
  padding: 0 0 30px;
  border-bottom: 1px solid rgba(250, 248, 242, 0.2);
}

.project-story-heading .eyebrow {
  margin: 0;
  color: rgba(250, 248, 242, 0.55);
}

.project-story article {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 8vw, 130px);
  padding: 54px 0 76px;
  border-top: 1px solid rgba(250, 248, 242, 0.2);
}

.project-story article:first-child {
  border-top: 0;
}

.project-story h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 5.5vw, 86px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.project-story-copy {
  align-self: end;
}

.project-story-copy p {
  max-width: 780px;
  margin: 0 0 28px;
  color: rgba(250, 248, 242, 0.68);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.58;
}

.project-story-copy p:last-child {
  margin-bottom: 0;
}

.project-status {
  display: grid;
  grid-template-columns: 0.35fr 1.65fr;
  gap: 30px;
  padding: 34px clamp(20px, 5vw, 80px);
  color: var(--ink);
  background: var(--lime);
}

.project-status span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-status p {
  max-width: 900px;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.project-links {
  display: grid;
  grid-template-columns: 0.35fr 1.65fr;
  gap: 30px;
  background: var(--paper-light);
}

.project-links > div {
  border-top: 1px solid var(--line);
}

.project-links a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 2vw, 28px);
  transition: color 180ms ease, padding 180ms ease;
}

.project-links a:hover {
  padding-right: 8px;
  color: var(--orange);
}

.project-links b {
  font-weight: 400;
}

.project-contact {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(50px, 8vw, 130px);
  color: var(--paper-light);
  background: var(--orange);
}

.project-contact h2 {
  max-width: 950px;
  margin: 0 0 48px;
  font-size: clamp(48px, 7vw, 105px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.next-project {
  align-self: end;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 30px;
  padding: 30px 0 0;
  border-top: 1px solid rgba(250, 248, 242, 0.42);
}

.next-project span {
  grid-column: 1 / span 2;
  color: rgba(250, 248, 242, 0.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.next-project strong {
  font-size: clamp(28px, 3.5vw, 54px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.next-project b {
  align-self: end;
  font-size: 30px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.next-project:hover b {
  transform: translateX(5px);
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 1000px) {
  .project-header {
    grid-template-columns: 1fr auto;
  }

  .project-back {
    display: none;
  }

  .project-hero,
  .project-overview,
  .project-context,
  .project-story article,
  .project-contact {
    grid-template-columns: 1fr;
  }

  .project-media-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-hero-copy {
    min-height: 82svh;
  }

  .project-hero-image,
  .project-hero-placeholder {
    min-height: 72svh;
  }

  .project-facts {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .project-header {
    min-height: 60px;
    padding: 10px 16px;
  }

  .project-hero-copy {
    min-height: 90svh;
    padding: 118px 20px 55px;
  }

  .project-hero h1 {
    font-size: clamp(56px, 18vw, 82px);
  }

  .project-hero-image,
  .project-hero-placeholder {
    min-height: 62svh;
  }

  .project-hero-placeholder {
    padding: 54px 22px;
  }

  .project-story article {
    gap: 36px;
    padding: 38px 0 56px;
  }

  .project-context {
    gap: 38px;
  }

  .media-stage figcaption {
    grid-template-columns: auto 1fr;
  }

  .media-stage figcaption small {
    display: none;
  }

  .media-thumbnails > button {
    flex-basis: 82%;
    min-width: 0;
  }

  .project-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-status {
    grid-template-columns: 1fr;
  }

  .project-contact {
    gap: 80px;
  }

  .project-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
}
