/* =========================================================
   Trey Green | Rome filmmaker - static export stylesheet
   Palette: ink / plate / line / ivory / sand / moss / loss
   ========================================================= */

:root {
  --ink: #131518;
  --plate: #1a1d21;
  --line: #2a2d31;
  --ivory: #f1ebdf;
  --sand: #b8b1a4;
  --moss: #4e7b5c;
  --loss: #c8452f;
  --font-display: "Montserrat", ui-sans-serif, system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: var(--line);
}

html {
  background: var(--ink);
  color: var(--ivory);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-display);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

::selection {
  background: var(--moss);
  color: var(--ivory);
}

:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 2px;
}

img,
video {
  max-width: 100%;
  display: block;
}

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

/* ---------------- typography helpers ---------------- */

.hud-mono {
  font-size: 0.6875rem;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
}

.hud-mono.ivory {
  color: var(--ivory);
}

.hud-mono.moss {
  color: var(--moss);
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.hidden-sm {
  display: none;
}

@media (min-width: 640px) {
  .hidden-sm {
    display: inline;
  }
}

/* ---------------- layout ---------------- */

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 640px) {
  .section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

/* ---------------- header ---------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  background: rgba(19, 21, 24, 0.82);
  border-bottom: 1px solid rgba(42, 45, 49, 0.7);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 1rem;
  color: var(--ivory);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  color: rgba(241, 235, 223, 0.78);
}

.nav-desktop a:hover {
  color: var(--ivory);
}

.header-cta {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.25rem;
}

.header-cta:hover {
  color: var(--ivory);
  border-color: var(--moss);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: 1px solid var(--line);
  color: var(--ivory);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(19, 21, 24, 0.97);
  padding: 0.75rem 1.25rem 1.25rem;
  flex-direction: column;
  gap: 0.875rem;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: rgba(241, 235, 223, 0.85);
  font-size: 1rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-mobile,
  .nav-mobile.open {
    display: none;
  }
}

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100dvh;
  border-bottom: 1px solid var(--line);
}

.hero-top {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
}

@media (min-width: 640px) {
  .hero-top {
    padding: 1rem 2rem;
  }
}

.rec {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.rec-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--loss);
  animation: rec-pulse 1.6s ease-in-out infinite;
}

@keyframes rec-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.hero-body {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

@media (min-width: 640px) {
  .hero-body {
    padding: 0 2rem 5rem;
  }
}

.hero-kicker {
  color: var(--moss);
}

.hero h1 {
  margin-top: 1rem;
  max-width: 56rem;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: rgba(241, 235, 223, 0.8);
}

.hero-ctas {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

/* ---------------- buttons ---------------- */

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--moss);
  color: var(--ivory);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.9375rem 1.75rem;
  border: 1px solid var(--moss);
  transition: background 0.2s ease, transform 0.15s ease;
}

.cta-primary:hover {
  background: #5e9070;
  transform: translateY(-1px);
}

.cta-primary:active {
  transform: scale(0.985);
}

.cta-primary.wide {
  justify-content: center;
  width: 100%;
}

.cta-link {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.25rem;
  display: inline-block;
}

.cta-link:hover {
  color: var(--ivory);
  border-color: var(--moss);
}

/* ---------------- ticker ---------------- */

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(26, 29, 33, 0.6);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.ticker:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(241, 235, 223, 0.7);
}

.ticker-dot {
  margin-left: 3rem;
  color: var(--moss);
}

/* ---------------- section headings ---------------- */

.sec-heading {
  max-width: 42rem;
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

@media (min-width: 768px) {
  .sec-heading {
    font-size: 3rem;
  }
}

.sec-sub {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(241, 235, 223, 0.7);
}

/* ---------------- work grid ---------------- */

.reel-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .reel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.reel {
  position: relative;
  background: rgba(26, 29, 33, 0.6);
  border: 1px solid var(--line);
  overflow: hidden;
}

.reel video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--plate);
  cursor: pointer;
}

.reel figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 0.75rem 1rem;
}

.reel-title {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.reel-line {
  white-space: nowrap;
  color: rgba(241, 235, 223, 0.6);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reel-overlay {
  position: absolute;
  inset: 0 0 2.875rem 0;
  display: grid;
  place-items: center;
  background: rgba(19, 21, 24, 0.25);
  transition: background 0.2s ease;
  pointer-events: none;
}

.reel:hover .reel-overlay {
  background: rgba(19, 21, 24, 0.12);
}

.reel-overlay.hidden {
  display: none;
}

.play-badge {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(241, 235, 223, 0.4);
  background: rgba(19, 21, 24, 0.6);
  color: var(--ivory);
  font-size: 0.75rem;
}

/* ---------------- numbered steps ---------------- */

.steps {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.step:last-child {
  border-bottom: none;
}

@media (min-width: 640px) {
  .step {
    grid-template-columns: 4.5rem 1fr;
  }
}

.step-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--moss);
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.step p {
  margin-top: 0.5rem;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(241, 235, 223, 0.7);
}

.steps-3 {
  margin-top: 2.5rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .steps-3 {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 3rem;
    row-gap: 2.5rem;
  }
}

.step-3 {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.step-3 h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.step-3 p {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(241, 235, 223, 0.7);
}

/* ---------------- frame-corners card ---------------- */

.frame-corners {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(26, 29, 33, 0.6);
  padding: 1.5rem;
}

.frame-corners.full {
  padding: 2rem;
}

@media (min-width: 640px) {
  .frame-corners.full {
    padding: 3rem;
  }
}

.frame-corners::before,
.frame-corners::after {
  content: "";
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  border-color: var(--moss);
  border-style: solid;
  pointer-events: none;
  z-index: 1;
}

.frame-corners::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.frame-corners::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}

/* ---------------- two-column content ---------------- */

.split {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .split.two-thirds {
    grid-template-columns: 1.6fr 1fr;
  }

  .split.package {
    grid-template-columns: 1.4fr 1fr;
  }

  .split.faq {
    grid-template-columns: 1fr 1.5fr;
  }
}

.aside-end {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.5rem;
}

/* ---------------- lists ---------------- */

.check-list {
  margin-top: 1rem;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.375rem 0;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(241, 235, 223, 0.7);
}

.check-list .plus {
  color: var(--moss);
}

/* you get / i keep two-column split */
.you-keep {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .you-keep {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem;
  }
}

/* ---------------- spec rows ---------------- */

.spec-list {
  margin-top: 2.5rem;
  max-width: 36rem;
}

.spec-row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 0.75rem 0;
}

.spec-row dt {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(241, 235, 223, 0.7);
}

.spec-row dd {
  font-size: 0.875rem;
  color: rgba(241, 235, 223, 0.7);
}

.package-spec {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 0.75rem 0;
}

.package-spec dt {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(241, 235, 223, 0.7);
}

.package-spec dd {
  font-size: 0.875rem;
  color: rgba(241, 235, 223, 0.7);
}

.spec-end {
  border-top: 1px solid var(--line);
}

/* ---------------- FAQ ---------------- */

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ivory);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  border-left: 2px solid var(--moss);
}

.faq-plus {
  flex-shrink: 0;
  font-size: 0.875rem;
  color: var(--moss);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 36rem;
  padding: 0 1rem 1.5rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(241, 235, 223, 0.7);
}

.faq-num {
  display: block;
  font-size: 6rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px #4e7b5c;
}

@media (min-width: 768px) {
  .faq-num {
    font-size: 8rem;
  }
}

/* ---------------- offer strip ---------------- */

.offer-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(26, 29, 33, 0.4);
  padding: 4rem 0;
}

.offer-rows {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .offer-rows {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 3rem;
    row-gap: 2rem;
  }
}

.offer-rows dt {
  color: var(--moss);
}

.offer-rows dd {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(241, 235, 223, 0.7);
}

/* ---------------- forms ---------------- */

.form-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
  }

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

.field-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.5rem;
}

.field {
  width: 100%;
  background: rgba(19, 21, 24, 0.55);
  border: 1px solid var(--line);
  color: var(--ivory);
  padding: 0.8125rem 0.875rem;
  font-size: 0.9375rem;
  font-family: inherit;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.field::placeholder {
  color: #8f897d;
}

.field:focus {
  outline: none;
  border-color: var(--moss);
}

textarea.field {
  resize: vertical;
}

/* Date input icon in dark mode */
input[type="date"].field {
  color-scheme: dark;
}

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

.form-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--sand);
}

.form-error {
  margin-top: 1rem;
  border: 1px solid var(--loss);
  background: rgba(200, 69, 47, 0.1);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--ivory);
}

.form-success {
  margin-top: 2rem;
  border: 1px solid var(--moss);
  background: rgba(78, 123, 92, 0.1);
  padding: 2rem;
}

.form-success h2 {
  margin-top: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.form-success p {
  margin-top: 0.5rem;
  max-width: 28rem;
  color: rgba(241, 235, 223, 0.7);
}

/* ---------------- center CTA ---------------- */

.cta-band {
  text-align: center;
}

.cta-band .frame-corners {
  max-width: 48rem;
  margin: 0 auto;
}

.cta-band h2 {
  margin-top: 1rem;
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

@media (min-width: 768px) {
  .cta-band h2 {
    font-size: 3rem;
  }
}

.cta-band p {
  margin: 1rem auto 0;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(241, 235, 223, 0.7);
}

.cta-band .cta-primary {
  margin-top: 2rem;
}

/* ---------------- footer ---------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-desc {
  margin-top: 0.5rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(241, 235, 223, 0.7);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.875rem;
}

.footer-nav .cta-link {
  align-self: flex-start;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(241, 235, 223, 0.6);
}

/* ---------------- thank you ---------------- */

.thanks {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.25rem 4rem;
  text-align: center;
}

.thanks h1 {
  margin-top: 1rem;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

@media (min-width: 768px) {
  .thanks h1 {
    font-size: 3.5rem;
  }
}

.thanks p {
  margin: 1.25rem auto 0;
  max-width: 28rem;
  font-size: 1.0625rem;
  line-height: 1.625;
  color: rgba(241, 235, 223, 0.72);
}

.thanks .cta-primary {
  margin-top: 2.25rem;
}

/* ---------------- reduced motion ---------------- */

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

  .marquee-track {
    animation: none;
  }

  .rec-dot {
    animation: none;
    opacity: 1;
  }

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