/*
  Production owner: site.css owns the visual system, layout primitives, responsive rules,
  and motion boundaries for the static soumava.com portfolio.
*/

/* Style Layer: registry variables for palette, spacing, typography, layout, motion, and breakpoints. */
:root {
  --color-black: #050505;
  --color-ink: #0b0b0c;
  --color-panel: #121214;
  --color-panel-soft: #18181a;
  --color-line: #2a2824;
  --color-text: #e7e2d8;
  --color-muted: #aaa49a;
  --color-faint: #6f6a62;
  --color-gold: #b7a789;
  --color-gold-muted: #7f7561;
  --color-gold-deep: #4b4436;

  --font-display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --font-size-base: 16px;
  --line-height-body: 1.65;

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;

  --layout-max: 1180px;
  --layout-pad: clamp(1.25rem, 4vw, 3rem);
  --section-min: 78vh;
  --ghost-right-rail: clamp(1.75rem, 5vw, 4rem);
  --ghost-opacity: 0.052;
  --ghost-opacity-strong: 0.082;
  --ghost-opacity-soft: 0.038;

  --motion-duration: 680ms;
  --motion-duration-long: 920ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --breakpoint-mobile: 640px;
  --breakpoint-tablet: 900px;
}

/* Base Layer: document defaults and static readability without JavaScript. */
* {
  box-sizing: border-box;
}

html {
  background: var(--color-black);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 28% 34rem, rgba(183, 167, 137, 0.12), transparent 30rem),
    linear-gradient(180deg, var(--color-black), var(--color-ink) 42%, var(--color-black));
  color: var(--color-text);
  line-height: var(--line-height-body);
}

body.is-reduced-motion,
body.is-reduced-motion * {
  scroll-behavior: auto;
}

a {
  color: inherit;
  text-decoration-color: rgba(183, 167, 137, 0.45);
  text-underline-offset: 0.28em;
}

a:hover,
a:focus-visible {
  color: var(--color-gold);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Header Layer: local navigation authority for the single production document. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--layout-pad);
  border-bottom: 1px solid rgba(183, 167, 137, 0.14);
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(16px);
}

.site-brand,
.site-nav a {
  text-decoration: none;
}

.site-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  gap: 0.28rem;
  padding: 0.68rem;
  border: 1px solid rgba(183, 167, 137, 0.24);
  background: rgba(18, 18, 20, 0.64);
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition:
    opacity var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(183, 167, 137, 0.56);
  color: var(--color-gold);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-2) var(--space-4);
  color: var(--color-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.site-nav a {
  color: inherit;
}

.site-nav a.is-active {
  color: var(--color-gold);
}

/* Section Layer: stable shared composition primitives. */
.page-section {
  position: relative;
  display: grid;
  min-height: var(--section-min);
  padding: clamp(5.5rem, 10vw, 8.5rem) var(--layout-pad);
  border-bottom: 1px solid rgba(183, 167, 137, 0.1);
  overflow: hidden;
}

.section-shell {
  position: relative;
  z-index: 1;
  width: min(100%, var(--layout-max));
  margin: auto;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.section-heading {
  max-width: 42rem;
}

.section-heading.narrow {
  max-width: 58rem;
  margin-bottom: var(--space-5);
}

.eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 13vw, 10.5rem);
}

h2 {
  font-size: clamp(2.25rem, 5.5vw, 4.75rem);
}

.section-heading h2 + * {
  margin-top: var(--space-4);
}

p {
  margin: 0 0 var(--space-3);
}

.section-body {
  max-width: 46rem;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}

.section-intro {
  color: var(--color-text);
}

.section-prose {
  margin-bottom: var(--space-4);
}

.section-prose p:last-child {
  margin-bottom: 0;
}

.credibility-line {
  margin-top: var(--space-4);
  color: var(--color-text);
}

/* Asset Layer: static logo strips use only promoted local production images. */
.credential-strip,
.tool-strip {
  display: grid;
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}

.credential-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  align-items: center;
}

.credential-strip li,
.honors-logo-strip li,
.tool-strip li {
  display: grid;
  gap: 0.45rem;
  place-items: center;
  min-width: 0;
  color: var(--color-faint);
  font-size: 0.68rem;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.credential-strip img {
  display: block;
  width: 4.75rem;
  height: 3.25rem;
  object-fit: contain;
  opacity: 0.68;
  filter: grayscale(1) saturate(0.3) contrast(0.95) brightness(1.2);
}

.credential-strip .credential-logo--rhythm,
.credential-strip .credential-logo--academy {
  width: 5.85rem;
  height: 4.25rem;
}

.credential-strip .credential-logo--mpc {
  width: 5.2rem;
  height: 3.4rem;
  opacity: 0.62;
  filter: grayscale(1) invert(1) saturate(0.25) contrast(1.05) brightness(0.74);
}

.credential-strip .credential-logo--framestore,
.credential-strip .credential-logo--imdb {
  width: 3.9rem;
  height: 2.75rem;
}

.tool-strip {
  grid-template-columns: repeat(auto-fit, minmax(4.75rem, 1fr));
  gap: var(--space-3) var(--space-2);
}

.tool-strip__item--renderman {
  grid-column: span 3;
}

.tool-strip__item--karma {
  grid-column: span 2;
}

.tool-strip__item--renderman img {
  width: min(100%, 11rem);
  max-width: 11rem;
}

.tool-strip__item--karma img {
  width: min(100%, 7.5rem);
  max-width: 7.5rem;
}

.honors-logo-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
  align-items: center;
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}

.honors-logo {
  display: block;
  width: 4.8rem;
  height: 3.2rem;
  object-fit: contain;
  opacity: 0.68;
  filter: grayscale(1) saturate(0.25) contrast(0.95) brightness(1.18);
}

.honors-logo--academy {
  width: 5.6rem;
}

.honors-logo--bafta {
  width: 5.65rem;
  height: 3rem;
}

.honors-logo--ves {
  width: 5.7rem;
}

.honors-logo--emmy {
  width: 4.4rem;
  height: 4.4rem;
}

.tool-strip img {
  display: block;
  width: clamp(2.1rem, 4vw, 3rem);
  height: clamp(2.1rem, 4vw, 3rem);
  object-fit: contain;
  opacity: 0.58;
  filter: grayscale(0.2) saturate(0.7) brightness(1.35);
}

.logo-fallback {
  display: grid;
  width: clamp(2.1rem, 4vw, 3rem);
  height: clamp(2.1rem, 4vw, 3rem);
  place-items: center;
  border: 1px solid rgba(183, 167, 137, 0.24);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

/* Ghost Type Layer: decorative static atmosphere; never owns readable content. */
.section-ghost {
  position: absolute;
  z-index: 0;
  color: rgba(231, 226, 216, var(--ghost-opacity));
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.82;
  max-width: 100%;
  overflow: visible;
  pointer-events: none;
  text-transform: uppercase;
  user-select: none;
  white-space: nowrap;
  word-break: normal;
  hyphens: none;
}

.section-ghost--about,
.section-ghost--pipeline,
.section-ghost--leadership,
.section-ghost--honors,
.section-ghost--filmography,
.section-ghost--reel,
.section-ghost--contact {
  color: rgba(183, 167, 137, var(--ghost-opacity-soft));
  width: clamp(12rem, 24vw, 22rem);
  top: clamp(1.25rem, 4vw, 3rem);
  right: var(--ghost-right-rail);
  left: auto;
  bottom: auto;
  overflow: visible;
  text-align: right;
}

.section-ghost__stack {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--ghost-line-gap, 0.08em);
  transform: rotate(-90deg) translateY(-100%);
  transform-origin: right top;
  white-space: nowrap;
  word-break: normal;
  hyphens: none;
}

.section-ghost__line {
  display: block;
  white-space: nowrap;
  word-break: normal;
  hyphens: none;
}

.section-ghost--about {
  font-size: clamp(6rem, 12.5vw, 13rem);
}

.section-ghost--pipeline,
.section-ghost--honors,
.section-ghost--leadership {
  font-size: clamp(6.25rem, 13vw, 14rem);
}

.section-ghost--filmography {
  width: clamp(16rem, 36vw, 36rem);
  font-size: clamp(7rem, 14vw, 17rem);
}

.section-ghost--reel {
  font-size: clamp(7rem, 15vw, 17rem);
}

.section-ghost--contact {
  color: rgba(231, 226, 216, var(--ghost-opacity-soft));
  font-size: clamp(6.25rem, 13vw, 14rem);
}

/* HeroSection Layer: cinematic baseline without production image dependency. */
.hero-section {
  min-height: calc(100vh - 4rem);
}

.hero-grid {
  display: grid;
  min-height: calc(100vh - 13rem);
  grid-template-columns: minmax(0, 0.92fr) minmax(17rem, 0.62fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  isolation: isolate;
  max-width: 46rem;
}

.hero-kicker {
  max-width: 40rem;
  margin-top: var(--space-4);
  color: var(--color-muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.button-link,
.text-link {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.button-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0 var(--space-5);
  border: 1px solid var(--color-gold-muted);
  background: var(--color-gold-muted);
  color: #fff;
  text-decoration: none;
  transition: background-color var(--motion-duration) var(--motion-ease), border-color var(--motion-duration) var(--motion-ease);
}

.button-link:hover,
.button-link:focus-visible {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: #fff;
}

.text-link {
  color: var(--color-muted);
}

.hero-ghost {
  --ghost-line-gap: 0.16em;
  width: clamp(13rem, 25vw, 24rem);
  top: clamp(1.25rem, 4vw, 3rem);
  right: var(--ghost-right-rail);
  bottom: auto;
  left: auto;
  color: rgba(183, 167, 137, var(--ghost-opacity-strong));
  font-size: clamp(7rem, 15vw, 17rem);
  text-align: right;
}

/* FilmographySection Layer: responsive local poster cards with text fallback. */
.plain-list,
.film-list {
  margin: 0;
  padding-left: 0;
}

.plain-list {
  padding-left: 1.2rem;
  color: var(--color-muted);
}

.plain-list li + li {
  margin-top: var(--space-3);
}

.film-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(9rem, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  color: var(--color-text);
  counter-reset: film;
  list-style: none;
}

.film-list li {
  min-width: 0;
}

.film-card {
  display: grid;
  gap: var(--space-2);
  height: 100%;
  min-width: 0;
  max-width: 13rem;
}

.film-poster {
  display: block;
  width: 100%;
  max-width: 13rem;
  height: auto;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(183, 167, 137, 0.16);
  background: var(--color-panel);
  object-fit: cover;
  filter: saturate(0.74) contrast(1.04);
}

.film-poster--fallback {
  display: grid;
  place-items: center;
  min-height: 19.5rem;
  padding: var(--space-3);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
}

.film-title {
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.profile-logo-link {
  display: inline-grid;
  margin-top: var(--space-4);
  opacity: 0.7;
  transition: opacity var(--motion-duration) var(--motion-ease);
}

.profile-logo-link:hover,
.profile-logo-link:focus-visible {
  opacity: 1;
}

.profile-logo-link img {
  display: block;
  width: 5.8rem;
  height: auto;
  filter: grayscale(1) saturate(0.3) brightness(1.12);
}

.honors-title-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}

.honors-card {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: var(--space-3);
  align-items: start;
  height: 100%;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.honors-card img,
.honors-card__fallback {
  grid-row: 1 / span 2;
  width: 5.25rem;
  max-width: 5.25rem;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(183, 167, 137, 0.16);
  background: var(--color-panel);
  object-fit: cover;
  filter: saturate(0.74) contrast(1.04);
}

.honors-card img {
  height: auto;
}

.honors-card__fallback {
  display: grid;
  place-items: center;
  min-height: 7.875rem;
  padding: var(--space-1);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
}

.honors-card__title {
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.honors-card__note {
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.honors-card:hover .honors-card__title,
.honors-card:focus-visible .honors-card__title {
  color: var(--color-gold);
}

.credit-note {
  max-width: 42rem;
  margin-top: var(--space-5);
  color: var(--color-faint);
}

/* ReelSection Layer: responsive frame for the approved temporary Vimeo embed. */
#reel .section-shell {
  width: min(100%, 1420px);
  margin-block: clamp(1.25rem, 4vw, 3rem) auto;
}

#reel .split-layout {
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

#reel .section-heading {
  max-width: none;
}

#reel .section-heading h2 {
  white-space: nowrap;
}

.reel-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(183, 167, 137, 0.2);
  background:
    linear-gradient(135deg, rgba(183, 167, 137, 0.12), transparent 46%),
    var(--color-panel);
  overflow: hidden;
}

.reel-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ContactSection Layer: local portrait asset and static contact facts. */
.contact-section,
#contact {
  min-height: 82vh;
}

#contact .section-shell {
  width: min(100%, 1480px);
}

#contact .section-heading {
  max-width: 58rem;
}

.contact-copy {
  max-width: 54rem;
  margin-top: var(--space-5);
  color: var(--color-muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-4);
  border: 1px solid rgba(183, 167, 137, 0.18);
  background: rgba(18, 18, 20, 0.34);
}

.form-field,
.form-field--full,
.form-note,
.form-submit {
  min-width: 0;
}

.form-field {
  display: grid;
  gap: var(--space-1);
}

.form-field--full,
.form-note {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(183, 167, 137, 0.22);
  border-radius: 0;
  background: rgba(5, 5, 5, 0.48);
  color: var(--color-text);
  font: inherit;
  resize: vertical;
}

.form-field input {
  min-height: 2.8rem;
  padding: 0 var(--space-2);
}

.form-field textarea {
  min-height: 8rem;
  padding: var(--space-2);
}

.form-field input:disabled,
.form-field textarea:disabled,
.form-submit:disabled {
  cursor: not-allowed;
}

.form-field input:disabled,
.form-field textarea:disabled {
  opacity: 0.72;
}

.form-note {
  margin: 0;
  color: var(--color-faint);
  font-size: 0.82rem;
}

.form-submit {
  justify-self: start;
  opacity: 0.56;
}

.contact-link-group {
  margin-top: var(--space-4);
}

.contact-link-label {
  margin: 0 0 var(--space-2);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.contact-social-link {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid rgba(183, 167, 137, 0.2);
  background: rgba(18, 18, 20, 0.54);
  opacity: 0.72;
  transition:
    border-color var(--motion-duration) var(--motion-ease),
    opacity var(--motion-duration) var(--motion-ease);
}

.contact-social-link:hover,
.contact-social-link:focus-visible {
  border-color: rgba(183, 167, 137, 0.52);
  opacity: 1;
}

.contact-social-link--static {
  cursor: default;
}

.contact-social-link--wide {
  width: 5.8rem;
}

.contact-social-link--linkedin {
  width: 8.7rem;
}

.contact-social-link img {
  display: block;
  width: 1.55rem;
  max-width: 1.9rem;
  height: 1.55rem;
  object-fit: contain;
}

.contact-social-link img[src$="logo-imdb.png"] {
  width: 4rem;
  max-width: 4rem;
  height: auto;
  filter: none;
}

.contact-social-link img[src$="logo-linkedin.png"] {
  width: 7.25rem;
  max-width: 7.25rem;
  height: auto;
}

/* Footer Layer: static document close. */
.site-footer {
  padding: var(--space-5) var(--layout-pad);
  color: var(--color-faint);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: var(--layout-pad);
  bottom: var(--layout-pad);
  z-index: 12;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(183, 167, 137, 0.32);
  background: rgba(18, 18, 20, 0.82);
  color: var(--color-text);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(0.75rem);
  transition:
    border-color var(--motion-duration) var(--motion-ease),
    color var(--motion-duration) var(--motion-ease),
    opacity var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease);
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: rgba(183, 167, 137, 0.62);
  color: var(--color-gold);
}

/* Interaction Layer: optional reveal state toggled by site.js only when available. */
[data-reveal] {
  transition:
    opacity var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease);
  will-change: opacity, transform;
}

.has-scroll-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(1.35rem);
}

.has-scroll-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.has-scroll-reveal [data-reveal="ghost"] {
  opacity: 0;
  transform: translateY(2rem);
  transition-duration: var(--motion-duration-long);
}

.has-scroll-reveal [data-reveal="ghost"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.has-scroll-reveal .hero-ghost[data-reveal="ghost"] {
  transform: none;
}

.has-scroll-reveal .hero-ghost[data-reveal="ghost"].is-visible {
  transform: none;
}

body.is-reduced-motion [data-reveal],
body.is-reduced-motion [data-reveal="ghost"] {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Responsive Layer: mobile-first correction points for static readability. */
@media (max-width: 900px) {
  .site-header,
  .hero-grid,
  .split-layout {
    grid-template-columns: 1fr;
  }

  #reel .split-layout,
  #contact .split-layout {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .has-nav-toggle .nav-toggle {
    display: grid;
  }

  .has-nav-toggle .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(0.38rem) rotate(45deg);
  }

  .has-nav-toggle .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .has-nav-toggle .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-0.38rem) rotate(-45deg);
  }

  .has-nav-toggle .site-nav {
    display: none;
    padding-top: var(--space-2);
  }

  .has-nav-toggle .site-nav.is-open {
    display: grid;
    gap: var(--space-2);
  }

  .has-nav-toggle .site-nav a {
    display: block;
    padding-block: 0.45rem;
  }

  .hero-grid {
    min-height: auto;
    padding-top: clamp(5rem, 20vw, 9rem);
  }

  .hero-ghost {
    opacity: 0.92;
  }

  .section-ghost--about,
  .section-ghost--pipeline,
  .section-ghost--leadership,
  .section-ghost--honors,
  .section-ghost--filmography,
  .section-ghost--reel,
  .section-ghost--contact {
    top: clamp(4rem, 12vw, 7rem);
    right: clamp(1.25rem, 5vw, 2rem);
    bottom: auto;
    width: clamp(10rem, 38vw, 22rem);
  }

  .section-ghost--about {
    font-size: clamp(6rem, 23vw, 12rem);
  }

  .section-ghost--pipeline,
  .section-ghost--honors,
  .section-ghost--leadership {
    font-size: clamp(6.5rem, 24vw, 13rem);
  }

  .section-ghost--filmography {
    width: clamp(14rem, 52vw, 30rem);
    font-size: clamp(8rem, 30vw, 18rem);
  }

  .section-ghost--reel {
    font-size: clamp(7rem, 26vw, 15rem);
  }

  .section-ghost--contact {
    font-size: clamp(6.5rem, 24vw, 13rem);
  }

  .film-list {
    grid-template-columns: repeat(3, minmax(8.5rem, 1fr));
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .section-ghost--pipeline,
  .section-ghost--leadership,
  .section-ghost--honors,
  .section-ghost--filmography,
  .section-ghost--reel,
  .section-ghost--contact {
    top: clamp(3rem, 8vw, 5.5rem);
    right: clamp(1.25rem, 4vw, 2rem);
    bottom: auto;
    line-height: 0.72;
  }

  .section-ghost--pipeline,
  .section-ghost--honors,
  .section-ghost--leadership {
    font-size: clamp(6rem, 20vw, 11rem);
  }

  .section-ghost--filmography {
    font-size: clamp(8rem, 28vw, 16rem);
  }

  .section-ghost--reel {
    font-size: clamp(6.5rem, 22vw, 12rem);
  }

  .section-ghost--contact {
    font-size: clamp(6rem, 20vw, 11rem);
  }
}

@media (max-width: 640px) {
  .page-section {
    min-height: auto;
    padding-block: clamp(4.25rem, 18vw, 6rem);
  }

  .site-nav {
    gap: var(--space-2) var(--space-3);
  }

  .hero-grid {
    gap: clamp(2rem, 10vw, var(--space-5));
  }

  #reel .section-heading h2 {
    white-space: normal;
  }

  .section-ghost--about,
  .section-ghost--pipeline,
  .section-ghost--leadership,
  .section-ghost--honors,
  .section-ghost--filmography,
  .section-ghost--reel,
  .section-ghost--contact {
    top: clamp(3rem, 11vw, 5rem);
    right: clamp(1.25rem, 5vw, 2rem);
    bottom: auto;
    opacity: 0.84;
    width: clamp(8rem, 44vw, 16rem);
  }

  .section-ghost--about {
    font-size: clamp(5.5rem, 25vw, 9rem);
  }

  .section-ghost--pipeline,
  .section-ghost--honors,
  .section-ghost--leadership {
    font-size: clamp(5.5rem, 24vw, 9rem);
  }

  .section-ghost--filmography {
    width: clamp(10rem, 52vw, 18rem);
    font-size: clamp(7rem, 30vw, 11rem);
  }

  .section-ghost--reel {
    font-size: clamp(5.5rem, 24vw, 9rem);
  }

  .section-ghost--contact {
    font-size: clamp(5.5rem, 24vw, 9rem);
  }

  .film-list {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .film-card {
    width: 100%;
    max-width: 100%;
  }

  .film-poster {
    max-width: 100%;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: var(--space-3);
  }

  .back-to-top {
    right: var(--space-3);
    bottom: var(--space-3);
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
  }
}

@media (max-width: 640px) {
  .credential-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-2);
  }

  .tool-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-strip__item--renderman,
  .tool-strip__item--karma {
    grid-column: span 1;
  }
}
