:root {
  color-scheme: dark;
  --ink: #f7edcf;
  --ink-strong: #fff8df;
  --ink-muted: rgba(247, 237, 207, 0.72);
  --void: #070607;
  --void-2: #101012;
  --charcoal: #191817;
  --gold: #d9ad56;
  --gold-hot: #ffd983;
  --ember: #9b6831;
  --line: rgba(217, 173, 86, 0.24);
  --line-strong: rgba(255, 217, 131, 0.5);
  --panel: rgba(10, 9, 8, 0.72);
  --panel-strong: rgba(17, 15, 13, 0.9);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.62);
  --header-height: 76px;
  --display-font: Montserrat, "Arial Black", "Franklin Gothic Heavy", Arial, sans-serif;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--void);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 16%, rgba(217, 173, 86, 0.2), transparent 28rem),
    radial-gradient(circle at 82% 34%, rgba(116, 75, 29, 0.25), transparent 24rem),
    linear-gradient(180deg, #070607 0%, #10100f 46%, #070607 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 4px, rgba(255, 255, 255, 0.035) 4px 5px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 16%, transparent 84%, rgba(0, 0, 0, 0.5));
  mix-blend-mode: screen;
}

body,
.site-header,
main {
  max-width: 100vw;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.pixel-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.pixel-star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  opacity: var(--alpha);
  background: var(--color);
  border-radius: 1px;
  box-shadow:
    0 0 8px currentColor,
    0 0 18px rgba(255, 217, 131, 0.22);
  color: var(--color);
  transform: translate3d(0, 0, 0) rotate(45deg);
  transition: opacity 260ms ease;
  will-change: transform;
}

.pixel-star::before,
.pixel-star::after {
  position: absolute;
  inset: 50% auto auto 50%;
  content: "";
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
}

.pixel-star::before {
  width: calc(var(--size) * 3);
  height: max(1px, calc(var(--size) * 0.45));
}

.pixel-star::after {
  width: max(1px, calc(var(--size) * 0.45));
  height: calc(var(--size) * 3);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(7, 6, 7, 0.78);
  border-bottom: 1px solid rgba(217, 173, 86, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--ink-strong);
  text-decoration: none;
  font-family: var(--display-font);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
  text-shadow: 0 0 28px rgba(217, 173, 86, 0.28);
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  color: #080706;
  background: linear-gradient(180deg, var(--gold-hot), var(--gold));
  border: 1px solid rgba(255, 226, 151, 0.85);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 900;
  box-shadow: 0 10px 32px rgba(217, 173, 86, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.header-action:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(217, 173, 86, 0.28);
}

.label-short {
  display: none;
}

main {
  position: relative;
}

.showcase {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--header-height));
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 76px) clamp(46px, 7vw, 78px);
  isolation: isolate;
}

.showcase::before {
  position: absolute;
  inset: 8% clamp(12px, 4vw, 62px) 4%;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 50% 4%, rgba(255, 217, 131, 0.18), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 32%);
  border: 1px solid rgba(217, 173, 86, 0.1);
  border-radius: 8px;
  mask-image: linear-gradient(180deg, black, black 84%, transparent);
}

.showcase-copy {
  width: min(980px, 100%);
  text-align: center;
}

h1,
h2 {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 950;
  line-height: 0.94;
  letter-spacing: 0;
}

h1 {
  font-family: var(--display-font);
  font-size: 9.6rem;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff6d6 0%, #c99c4d 52%, #75502a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 1px 0 rgba(120, 80, 36, 0.34),
    0 0 34px rgba(217, 173, 86, 0.22),
    0 24px 90px rgba(0, 0, 0, 0.8);
}

h2 {
  max-width: 720px;
  font-size: clamp(2.2rem, 6vw, 5.6rem);
}

.tagline {
  max-width: 760px;
  margin: 2px auto 32px;
  color: rgba(255, 217, 131, 0.7);
  font-family: var(--display-font);
  font-size: 2.35rem;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
  text-shadow:
    0 0 22px rgba(217, 173, 86, 0.16),
    0 13px 42px rgba(0, 0, 0, 0.72);
}

.reel-shell {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  width: min(980px, 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0 auto;
  background:
    radial-gradient(circle at 50% 50%, rgba(217, 173, 86, 0.18), transparent 40%),
    #050505;
  border: 1px solid rgba(255, 217, 131, 0.42);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 44px rgba(217, 173, 86, 0.16),
    var(--shadow);
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.reel-shell::before,
.reel-shell::after {
  position: absolute;
  inset: 16px auto 16px 14px;
  z-index: 1;
  width: 12px;
  content: "";
  opacity: 0.45;
  background: repeating-linear-gradient(180deg, rgba(255, 217, 131, 0.8) 0 8px, transparent 8px 20px);
  border-radius: 8px;
}

.reel-shell::after {
  right: 14px;
  left: auto;
}

.reel-light {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 32%),
    repeating-linear-gradient(101deg, rgba(255, 217, 131, 0.05) 0 1px, transparent 1px 15px);
  mix-blend-mode: screen;
}

.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #050505;
}

.play-toggle {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(58px, 9vw, 86px);
  aspect-ratio: 1;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 228, 154, 0.92);
  border: 1px solid rgba(255, 248, 223, 0.8);
  border-radius: 50%;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.48), 0 0 28px rgba(217, 173, 86, 0.4);
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.play-toggle:hover {
  filter: brightness(1.08);
  transform: translate(-50%, -50%) scale(1.04);
}

.play-toggle.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.play-icon {
  width: 0;
  height: 0;
  margin-left: 6%;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid #090807;
}

.reel-status {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  margin: 0;
  padding: 0 12px;
  color: var(--ink-strong);
  background: rgba(7, 6, 7, 0.72);
  border: 1px solid rgba(255, 217, 131, 0.34);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 850;
  backdrop-filter: blur(8px);
}

.reel-status.is-muted {
  color: rgba(247, 237, 207, 0.78);
  border-color: rgba(247, 237, 207, 0.18);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
  padding: clamp(62px, 9vw, 118px) clamp(18px, 5vw, 76px) clamp(72px, 9vw, 120px);
  border-top: 1px solid rgba(217, 173, 86, 0.16);
  background: linear-gradient(180deg, rgba(255, 217, 131, 0.05), transparent 38%);
}

.contact-intro {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(18px, 4vw, 30px);
  background: linear-gradient(180deg, rgba(22, 20, 18, 0.92), rgba(9, 8, 7, 0.86));
  border: 1px solid rgba(255, 217, 131, 0.34);
  border-radius: 8px;
  box-shadow: var(--shadow), 0 0 42px rgba(217, 173, 86, 0.08);
  backdrop-filter: blur(14px);
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-wide {
  grid-column: 1 / -1;
}

label {
  color: rgba(255, 217, 131, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  min-height: 50px;
  color: var(--ink-strong);
  background: rgba(5, 5, 5, 0.74);
  border: 1px solid rgba(247, 237, 207, 0.18);
  border-radius: 8px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input {
  padding: 0 13px;
}

textarea {
  min-height: 160px;
  resize: vertical;
  padding: 13px;
  line-height: 1.48;
}

input:focus,
textarea:focus {
  background: rgba(8, 7, 6, 0.9);
  border-color: var(--gold-hot);
  box-shadow: 0 0 0 4px rgba(217, 173, 86, 0.16), 0 0 28px rgba(217, 173, 86, 0.12);
}

.field-group.is-invalid input,
.field-group.is-invalid textarea {
  border-color: #ff8b66;
  box-shadow: 0 0 0 4px rgba(255, 139, 102, 0.14);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.35;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
  min-height: 50px;
  padding: 0 18px;
  color: #080706;
  cursor: pointer;
  background: linear-gradient(180deg, var(--gold-hot), var(--gold));
  border: 1px solid rgba(255, 248, 223, 0.72);
  border-radius: 8px;
  font-weight: 950;
  box-shadow: 0 16px 40px rgba(217, 173, 86, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 20px 52px rgba(217, 173, 86, 0.26);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.button-mark {
  width: 12px;
  height: 12px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
}

@media (max-width: 860px) {
  .site-header {
    min-height: 68px;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .showcase {
    min-height: auto;
    padding-top: 44px;
  }

  h1 {
    font-size: 6.6rem;
  }

  .tagline {
    max-width: 520px;
    font-size: 1.65rem;
  }

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

  .contact-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  body,
  .site-header,
  main,
  .showcase,
  .contact-section {
    overflow-x: clip;
  }

  .site-header {
    gap: 14px;
    width: 100vw;
    padding: 14px 16px;
  }

  .brand {
    flex: 0 0 auto;
    font-size: 1.3rem;
  }

  .header-action {
    flex: 0 0 auto;
    max-width: none;
    min-width: 0;
    padding-inline: 12px;
    text-align: center;
    white-space: nowrap;
  }

  .label-wide {
    display: none;
  }

  .label-short {
    display: inline;
  }

  h1 {
    font-size: 3.65rem;
    white-space: nowrap;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.35rem);
  }

  .tagline {
    font-size: 1.1rem;
  }

  .reel-shell {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .contact-form {
    grid-template-columns: 1fr;
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

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

  .submit-button {
    width: 100%;
  }
}

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

  .reel-shell {
    transform: none !important;
  }

  .pixel-star {
    transform: translate3d(0, 0, 0) rotate(45deg) !important;
  }
}
