:root {
  --ink: #07100c;
  --ivory: #f3efe5;
  --sand: #c9b98e;
  --line-light: rgba(243, 239, 229, 0.34);
  --line-dark: rgba(7, 16, 12, 0.24);
  --serif: "EB Garamond", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { width: 100%; height: 100%; background: var(--ink); }
body { width: 100%; min-height: 100%; margin: 0; color: var(--ivory); background: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; }

.skip-link { position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100; padding: 0.65rem 0.9rem; color: var(--ink); background: var(--ivory); border: 0; text-decoration: none; cursor: pointer; transform: translateY(-180%); transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }

.film { position: relative; display: flex; width: 100%; min-height: 100svh; padding: clamp(6rem, 10vh, 8rem) clamp(1rem, 4vw, 4rem) clamp(2.5rem, 6vh, 5rem); overflow: hidden; background: radial-gradient(circle at 50% 42%, rgba(44, 74, 57, 0.24), transparent 58%), linear-gradient(145deg, #07100c 0%, #0a1711 58%, #050b08 100%); isolation: isolate; }
.film::before { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(243, 239, 229, 0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(243, 239, 229, 0.018) 1px, transparent 1px); background-size: 6rem 6rem; content: ""; mask-image: linear-gradient(to bottom, transparent, black 24%, black 76%, transparent); }
.film-stage { position: relative; z-index: 1; width: min(82vw, 72rem, calc((100svh - 13rem) * 16 / 9)); margin: auto; }
.film-media { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #030705; border: 1px solid rgba(243, 239, 229, 0.42); box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.38), 0 0 0 0.45rem rgba(243, 239, 229, 0.035); }
.film-media video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.92) contrast(1.025) brightness(0.92); }
.film-media::before, .film-media::after { position: absolute; inset: 0; pointer-events: none; content: ""; }
.film-media::before { z-index: 1; border: 0.45rem solid rgba(3, 10, 7, 0.15); box-shadow: inset 0 0 0 1px rgba(243, 239, 229, 0.12); }
.film-media::after { z-index: 2; background: linear-gradient(180deg, rgba(3, 10, 7, 0.08) 0%, transparent 58%, rgba(3, 10, 7, 0.08) 67%, rgba(3, 10, 7, 0.42) 82%, rgba(3, 10, 7, 0.84) 100%); }

.site-header { position: absolute; top: 0; right: 0; left: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; width: min(82vw, 72rem); margin-inline: auto; padding-block: 1.5rem; border-bottom: 1px solid var(--line-light); }
.status, .contact-trigger, .video-control { margin: 0; color: rgba(243, 239, 229, 0.9); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; line-height: 1.2; text-transform: uppercase; }
.contact-trigger, .video-control { padding: 0.45rem 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-light); cursor: pointer; }
.contact-trigger:hover, .video-control:hover { border-color: currentColor; }

.identity { position: relative; z-index: 3; display: grid; grid-template-columns: auto minmax(17rem, 28rem); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: end; margin: clamp(-3.4rem, -4vw, -2.6rem) 0 0 clamp(-2.2rem, -2.5vw, -1rem); }
.identity h1 { margin: 0; font-family: var(--serif); font-size: clamp(8rem, 13vw, 12.5rem); font-weight: 400; letter-spacing: -0.065em; line-height: 0.68; text-shadow: 0 0.2rem 2rem rgba(0, 0, 0, 0.38); }
.identity .identity-statement { margin: 0 0 0.15rem; padding-bottom: 0.35rem; font-family: var(--serif); font-size: clamp(1.05rem, 1.55vw, 1.45rem); letter-spacing: 0.01em; line-height: 1.22; }
.video-control { position: absolute; right: 1.25rem; bottom: 1.1rem; z-index: 3; }

.contact-dialog { width: min(64rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; padding: 0; color: var(--ink); background: var(--ivory); border: 0; }
.contact-dialog::backdrop { background: rgba(3, 10, 7, 0.76); backdrop-filter: blur(8px); }
.dialog-shell { padding: clamp(1.25rem, 4vw, 3rem); }
.dialog-topline { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line-dark); }
.dialog-topline p, .dialog-close, .field label { margin: 0; font-size: 0.66rem; font-weight: 650; letter-spacing: 0.15em; text-transform: uppercase; }
.dialog-close { padding: 0.35rem 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-dark); cursor: pointer; }
.dialog-intro { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 3rem; align-items: end; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.dialog-intro h2 { max-width: 10ch; margin: 0; font-family: var(--serif); font-size: clamp(3.75rem, 7.5vw, 7rem); font-weight: 400; letter-spacing: -0.045em; line-height: 0.86; }
.dialog-intro p { margin: 0 0 0.4rem; color: rgba(7, 16, 12, 0.72); }
.interest-form { padding-top: 0.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field { margin-bottom: 1.75rem; }
.field label { display: block; margin-bottom: 0.45rem; }
.field input, .field select, .field textarea { width: 100%; padding: 0.75rem 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(7, 16, 12, 0.42); border-radius: 0; }
.field select { min-height: 2.8rem; }
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(7, 16, 12, 0.62); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field [aria-invalid="true"] { border-color: #8b2e22; box-shadow: 0 1px 0 #8b2e22; }
.form-footer { display: flex; gap: 1.25rem; align-items: center; }
.submit-button { min-height: 3.2rem; padding: 0.8rem 1.2rem; color: var(--ivory); background: var(--ink); border: 1px solid var(--ink); font-size: 0.68rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.submit-button:hover, .submit-button:focus-visible { color: var(--ink); background: transparent; }
.form-footer p { max-width: 24rem; margin: 0; color: rgba(7, 16, 12, 0.68); font-size: 0.74rem; }
.form-status { min-height: 1.3rem; margin: 0.8rem 0 0; color: #1c4838; font-size: 0.8rem; }
.noscript-note { position: fixed; right: 1rem; bottom: 1rem; z-index: 100; max-width: 24rem; margin: 0; padding: 0.8rem 1rem; color: var(--ink); background: var(--ivory); border: 1px solid var(--line-dark); font-size: 0.75rem; }

@media (max-width: 720px) {
  .film { padding: 5.25rem 1rem 2rem; overflow-y: auto; }
  .site-header { width: calc(100% - 2rem); padding-block: 1rem; }
  .film-stage { width: 100%; }
  .identity { display: block; margin: -1.45rem 0 0 0.1rem; }
  .identity h1 { font-size: clamp(6.75rem, 31vw, 9rem); line-height: 0.72; }
  .identity .identity-statement { margin-top: 1rem; padding: 0; font-size: 1.05rem; }
  .video-control { right: 0.8rem; bottom: 0.65rem; }
  .dialog-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .dialog-intro h2 { font-size: clamp(3.4rem, 16vw, 5.25rem); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-footer { align-items: flex-start; flex-direction: column; }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

.film-media { animation: reveal 900ms 80ms both ease-out; }
.identity { animation: reveal 900ms 180ms both ease-out; }
.site-header, .video-control { animation: reveal 700ms 260ms both ease-out; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
