:root {
  color-scheme: dark;
  --ink: #f4f1ea;
  --muted: #a3a8ae;
  --slate: #262b32;
  --night: #05070b;
  --line: rgba(255, 255, 255, 0.14);
  --silver: #b9c0c7;
  --steel: #71859d;
  --cobalt: #3b70b5;
  --coral: #ff8778;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--night);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: var(--night);
  color: var(--ink);
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--night);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ambient,
.hero-film,
.hero-poster,
.grain,
.vignette {
  position: fixed;
  inset: 0;
}

.ambient {
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 31%, rgba(79, 99, 111, 0.14), transparent 30%),
    linear-gradient(140deg, #0b0e12 0%, #07090c 50%, #080b0f 100%);
}

.hero-film {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

.hero-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grain {
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.vignette {
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 5, 7, 0.46) 0%, transparent 46%),
    radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.36) 120%);
}

.site-header,
.site-footer,
.hero {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  z-index: 6;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(29px, env(safe-area-inset-top)) clamp(24px, 4.2vw, 68px) 0;
  animation: arrive 1s 0.08s var(--ease) both;
}

.brand {
  display: inline-flex;
  width: 165px;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.origin-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 0 2px;
  color: rgba(246, 245, 242, 0.74);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.origin-link svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.origin-link:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  align-items: center;
  padding: 104px clamp(24px, 4.2vw, 68px) 104px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 660px;
  padding-bottom: 2vh;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 28px;
  color: rgba(246, 245, 242, 0.56);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 26px;
  height: 1px;
  background: currentColor;
}

.hero-copy .eyebrow {
  animation: arrive 0.95s 0.2s var(--ease) both;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(68px, 8.15vw, 132px);
  font-weight: 530;
  letter-spacing: -0.073em;
  line-height: 0.82;
  text-wrap: balance;
  animation: arrive 1.05s 0.28s var(--ease) both;
}

h1 em {
  padding-right: 0.08em;
  background: linear-gradient(
    108deg,
    #f7f4ec 0 31%,
    #c9ced1 47%,
    #7a8ca2 61%,
    #214b7f 71%,
    #3f73b6 79%,
    #dfe1df 100%
  );
  background-clip: text;
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.09em;
  font-weight: 400;
  letter-spacing: -0.075em;
}

.intro {
  max-width: 470px;
  margin: 34px 0 0;
  color: rgba(246, 245, 242, 0.64);
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.58;
  animation: arrive 1s 0.38s var(--ease) both;
}

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 58px;
  margin-top: 38px;
  padding: 7px 8px 7px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.03em;
  animation: arrive 1s 0.47s var(--ease) both;
  backdrop-filter: blur(14px);
  transition:
    background 300ms var(--ease),
    color 300ms var(--ease),
    transform 300ms var(--ease);
}

.cta::before {
  position: absolute;
  inset: 0;
  background: var(--ink);
  content: "";
  transform: translateX(-105%);
  transition: transform 420ms var(--ease);
}

.cta > span {
  position: relative;
  z-index: 1;
}

.cta-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--night);
  transition:
    background 300ms var(--ease),
    color 300ms var(--ease),
    transform 300ms var(--ease);
}

.cta svg,
.submit-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.cta:hover {
  color: var(--night);
  transform: translateY(-2px);
}

.cta:hover::before {
  transform: translateX(0);
}

.cta:hover .cta-icon {
  background: var(--night);
  color: var(--ink);
  transform: rotate(-30deg);
}

.cta:focus-visible,
.origin-link:focus-visible,
.brand:focus-visible,
.dialog-close:focus-visible,
.submit-button:focus-visible,
.success button:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 4px;
}

.scene-note {
  position: absolute;
  right: clamp(24px, 4.2vw, 68px);
  bottom: 102px;
  display: flex;
  width: min(36vw, 510px);
  justify-content: space-between;
  color: rgba(246, 245, 242, 0.34);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  animation: arrive 1s 0.7s var(--ease) both;
}

.site-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4.2vw, 68px) max(29px, env(safe-area-inset-bottom));
  color: rgba(246, 245, 242, 0.34);
  font-size: 10px;
  font-weight: 560;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  animation: arrive 1s 0.65s var(--ease) both;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 22px;
}

.site-footer a {
  color: rgba(246, 245, 242, 0.58);
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--ink);
}

.contact {
  width: min(930px, calc(100vw - 40px));
  max-height: min(790px, calc(100svh - 40px));
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background: rgba(20, 23, 28, 0.96);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
  color: var(--ink);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  transition:
    display 380ms allow-discrete,
    overlay 380ms allow-discrete,
    opacity 320ms var(--ease),
    transform 380ms var(--ease);
}

.contact[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@starting-style {
  .contact[open] {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  .contact[open]::backdrop {
    opacity: 0;
  }
}

.contact::backdrop {
  background: rgba(2, 4, 7, 0.74);
  opacity: 1;
  backdrop-filter: blur(12px);
  transition:
    display 380ms allow-discrete,
    overlay 380ms allow-discrete,
    opacity 320ms ease;
}

.contact-shell {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(42px, 6vw, 90px);
  min-height: 510px;
  padding: clamp(42px, 6vw, 76px);
  background:
    radial-gradient(circle at 12% 85%, rgba(77, 108, 145, 0.1), transparent 31%),
    radial-gradient(circle at 90% 4%, rgba(199, 205, 211, 0.07), transparent 28%);
}

.dialog-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: rgba(246, 245, 242, 0.7);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 240ms var(--ease);
}

.dialog-close:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--ink);
  transform: rotate(90deg);
}

.dialog-close svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.35;
}

.contact-heading {
  align-self: start;
}

.contact-heading h2 {
  margin: 0;
  font-size: clamp(41px, 4.3vw, 64px);
  font-weight: 510;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.contact-heading > p:last-child {
  max-width: 270px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

#contact-form {
  align-self: center;
}

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

#contact-form label {
  display: block;
  margin-bottom: 25px;
}

#contact-form label > span {
  display: block;
  margin: 0 0 9px;
  color: rgba(246, 245, 242, 0.56);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  transition: border-color 180ms ease;
}

#contact-form input {
  height: 47px;
  padding: 0;
}

#contact-form textarea {
  min-height: 112px;
  padding: 10px 0;
  line-height: 1.5;
  resize: vertical;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: rgba(246, 245, 242, 0.26);
}

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

#contact-form [aria-invalid="true"] {
  border-color: var(--coral);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-footer {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.form-status {
  flex: 1;
  margin: 0;
  color: var(--coral);
  font-size: 12px;
  line-height: 1.4;
}

.submit-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 25px;
  padding: 0 19px 0 21px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--night);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition:
    opacity 180ms ease,
    transform 240ms var(--ease);
}

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

.submit-button[disabled] {
  cursor: wait;
  opacity: 0.55;
}

.success {
  grid-column: 2;
  align-self: center;
}

.success-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(124, 231, 219, 0.55);
  border-radius: 50%;
  color: var(--cobalt);
}

.success-mark svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.success h3 {
  margin: 0 0 12px;
  font-size: 40px;
  font-weight: 520;
  letter-spacing: -0.045em;
}

.success p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.success button {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: end;
    padding-bottom: 112px;
  }

  .hero-copy {
    max-width: 620px;
  }

  h1 {
    font-size: clamp(66px, 14vw, 112px);
  }

  .intro {
    max-width: 420px;
  }

  .scene-note {
    display: none;
  }

  .contact-shell {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: 0;
  }

  .contact-heading > p:last-child {
    max-width: 450px;
  }

  .success {
    grid-column: 1;
  }
}

@media (max-width: 600px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .site-header {
    padding: max(20px, env(safe-area-inset-top)) 20px 0;
  }

  .brand {
    width: 136px;
  }

  .origin-link svg {
    width: 18px;
  }

  .hero {
    min-height: 100svh;
    align-items: start;
    padding: 122px 20px 94px;
  }

  .hero-copy {
    padding: 0;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 9px;
  }

  h1 {
    font-size: clamp(56px, 15.2vw, 64px);
    line-height: 0.86;
  }

  .intro {
    max-width: 350px;
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.5;
  }

  .cta {
    min-height: 54px;
    margin-top: 29px;
  }

  .cta-icon {
    width: 38px;
    height: 38px;
  }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: end;
    padding: 0 20px max(18px, env(safe-area-inset-bottom));
    font-size: 8px;
  }

  .site-footer nav {
    justify-self: end;
    gap: 12px;
    margin-left: 0;
  }

  .site-footer p,
  .site-footer a {
    white-space: nowrap;
  }

  .contact {
    width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
    border-radius: 20px;
  }

  .contact-shell {
    gap: 36px;
    padding: 62px 22px 28px;
  }

  .dialog-close {
    top: 14px;
    right: 14px;
  }

  .contact-heading h2 {
    font-size: 43px;
  }

  .contact-heading > p:last-child {
    margin-top: 19px;
  }

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

  #contact-form label {
    margin-bottom: 20px;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .form-status:empty {
    display: none;
  }

  .submit-button {
    justify-content: space-between;
  }
}

@media (max-height: 690px) and (min-width: 601px) {
  .hero {
    padding-top: 86px;
    padding-bottom: 76px;
  }

  h1 {
    font-size: clamp(62px, 7.5vw, 102px);
  }

  .intro {
    margin-top: 24px;
  }

  .cta {
    margin-top: 25px;
  }

  .scene-note {
    bottom: 76px;
  }

  .contact {
    max-height: calc(100svh - 18px);
  }

  .contact-shell {
    min-height: 540px;
    padding-top: 48px;
    padding-bottom: 40px;
  }
}

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

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

  .hero-film {
    display: none;
  }

  .ambient {
    background: #05070a;
  }
}

.document-page {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 82% 5%, rgba(42, 74, 112, 0.16), transparent 31rem),
    #05070b;
}

.document-content {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 176px 0 144px;
}

.document-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: end;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line);
}

.document-heading h1 {
  max-width: none;
  font-size: clamp(60px, 7.2vw, 94px);
  font-weight: 510;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.document-meta {
  margin: 0 0 4px;
  color: rgba(246, 245, 242, 0.38);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.document-lede {
  max-width: 440px;
  margin: 0 0 2px;
  color: rgba(244, 241, 234, 0.64);
  font-size: clamp(16px, 1.5vw, 19px);
  letter-spacing: -0.018em;
  line-height: 1.55;
}

.document-copy {
  width: min(620px, 100%);
  margin: 46px 0 0 auto;
}

.document-copy section {
  padding: 27px 0 30px;
  border-top: 1px solid var(--line);
}

.document-copy section:first-child {
  border-top: 0;
}

.document-copy h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.document-copy p {
  margin: 0;
  color: rgba(246, 245, 242, 0.58);
  font-size: 14px;
  line-height: 1.7;
}

.document-copy a {
  color: rgba(246, 245, 242, 0.9);
  text-underline-offset: 3px;
}

.about-copy section {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
}

.about-copy h2 {
  margin-top: 1px;
}

.document-action {
  display: inline-flex;
  margin-top: 28px;
  color: var(--ink) !important;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.document-action:hover {
  color: var(--silver) !important;
}

.document-footer {
  position: relative;
}

@media (max-width: 600px) {
  .document-content {
    width: calc(100% - 40px);
    padding: 128px 0 110px;
  }

  .document-heading {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 36px;
  }

  .document-heading h1 {
    font-size: 58px;
  }

  .document-copy {
    margin-top: 28px;
  }

  .about-copy section {
    grid-template-columns: 74px 1fr;
    gap: 14px;
  }
}
