/* =========================================================
   Oklahoma Film Solutions — stylesheet
   Design read: service business landing page for film/TV
   production clients (location managers, producers, property
   owners) in Oklahoma. Trust-first but modern, with a bold
   industrial-cinematic language.
   Dials: VARIANCE 6 / MOTION 5 / DENSITY 4
   Theme: locked dark (near-black + warm amber accent)
   ========================================================= */

:root {
  /* ---- color tokens (single locked dark theme) ---- */
  --bg: #0d0d0f;
  --bg-raised: #151517;
  --bg-raised-2: #1c1c1f;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text-primary: #f4f2ec;
  --text-secondary: #b7b3a9;
  --text-muted: #83807a;
  --accent: #f2a51c;
  --accent-strong: #ffb92e;
  --accent-text: #191207;
  --logo-gold: #ffab26; /* sampled from the OFS mark's brightest gold */

  /* ---- type ---- */
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  /* ---- shape ---- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* ---- motion ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.22s;
  --dur-med: 0.5s;
  --dur-slow: 0.9s;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

section {
  position: relative;
}

/* ---- grain overlay (fixed, pointer-events none, per perf guardrails) ---- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out),
    background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 24px -8px rgba(242, 165, 28, 0.55);
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 12px 28px -8px rgba(242, 165, 28, 0.65);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 76px;
  display: flex;
  align-items: center;
  background: rgba(13, 13, 15, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-med) var(--ease-out),
    border-color var(--dur-med) var(--ease-out),
    height var(--dur-med) var(--ease-out);
}

.nav.is-scrolled {
  height: 64px;
  background: rgba(13, 13, 15, 0.85);
  border-bottom-color: var(--border);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-mark-img {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.brand-word-img {
  height: 38px;
  width: auto;
  display: block;
}

.brand-footer .brand-mark-img {
  height: 50px;
}

.brand-footer .brand-word-img {
  height: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.nav-phone i {
  color: var(--accent);
  font-size: 1.05rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu {
  position: fixed;
  inset: 76px 0 0 0;
  z-index: 45;
  background: rgba(10, 10, 11, 0.98);
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a {
  padding: 16px 4px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

.mobile-menu .btn {
  margin-top: 24px;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.08);
  animation: hero-drift 22s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.2%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(9, 9, 10, 0.96) 0%, rgba(9, 9, 10, 0.88) 32%, rgba(9, 9, 10, 0.55) 58%, rgba(9, 9, 10, 0.35) 100%),
    linear-gradient(0deg, rgba(9, 9, 10, 1) 0%, rgba(9, 9, 10, 0) 24%);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 620px) 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 64px;
}

.hero-content {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in var(--dur-slow) var(--ease-out) 0.15s forwards;
}

@keyframes rise-in {
  to { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
  line-height: 1.06;
  font-weight: 700;
  color: var(--text-primary);
  max-width: 12ch;
}

.hero-tagline em {
  font-style: normal;
  color: var(--logo-gold);
}

.hero-sub {
  margin-top: 22px;
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 46ch;
  line-height: 1.6;
}

.hero-ctas {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-license {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hero-license i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* =========================================================
   Stat strip
   ========================================================= */
.stat-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}

.stat-strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat {
  padding: 40px 28px;
  text-align: left;
  border-left: 1px solid var(--border);
}

.stat:first-child {
  border-left: none;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  margin-top: 10px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  max-width: 32ch;
}

/* =========================================================
   Section shell
   ========================================================= */
.section {
  padding: 108px 0;
}

.section-tight {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.14;
}

.section-head p {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   Services bento
   ========================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 168px;
  gap: 14px;
}

.bento-tile {
  grid-column: span 1;
  grid-row: span 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-raised);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.bento-tile:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  background: var(--bg-raised-2);
}

.bento-tile.is-feature {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(150deg, var(--bg-raised-2), var(--bg-raised));
}

.bento-tile.is-wide {
  grid-column: span 2;
}

.tile-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(242, 165, 28, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.bento-tile.is-feature .tile-icon {
  width: 56px;
  height: 56px;
  font-size: 1.7rem;
}

.tile-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-top: 16px;
}

.bento-tile.is-feature .tile-title {
  font-size: 1.4rem;
  max-width: 15ch;
}

.tile-desc {
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.bento-tile.is-feature .tile-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 30ch;
}

/* =========================================================
   Why us — image + list split
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3.1;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 9, 10, 0.5), transparent 45%);
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.diff-row {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.diff-row:last-child {
  border-bottom: 1px solid var(--border);
}

.diff-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(242, 165, 28, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.diff-copy h3 {
  font-size: 1.08rem;
  font-weight: 600;
}

.diff-copy p {
  margin-top: 6px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* =========================================================
   Process timeline
   ========================================================= */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: var(--border);
}

.timeline-progress {
  position: absolute;
  top: 23px;
  left: 4%;
  height: 1px;
  width: 0%;
  background: var(--accent);
  transition: width 1.4s var(--ease-out);
}

.timeline-step {
  position: relative;
}

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.step-title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
}

.step-desc {
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 30ch;
}

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner {
  background: linear-gradient(135deg, #241a08, #171410 55%, #0d0d0f);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 165, 28, 0.16), transparent 70%);
  top: -300px;
  right: -180px;
  pointer-events: none;
}

.cta-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 76px 24px;
  position: relative;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  max-width: 16ch;
  line-height: 1.15;
}

.cta-banner p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 42ch;
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  flex-shrink: 0;
}

.cta-phone {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-row h4 {
  font-size: 1rem;
  font-weight: 600;
}

.info-row p {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.info-row a:hover {
  color: var(--accent);
}

.license-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
}

.contact-form {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.field input,
.field select,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(242, 165, 28, 0.18);
}

.field-error {
  font-size: 0.8rem;
  color: #ff8a6b;
  display: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #ff8a6b;
}

.field.has-error .field-error {
  display: block;
}

.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(242, 165, 28, 0.1);
  border: 1px solid rgba(242, 165, 28, 0.3);
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.form-success.is-visible {
  display: flex;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 34ch;
  line-height: 1.6;
}

.footer-col h5 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 158px;
  }

  .bento-tile.is-feature {
    grid-column: span 2;
    grid-row: span 1;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-phone {
    display: none;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .brand-mark-img {
    height: 32px;
  }

  .brand-word-img {
    height: 30px;
  }

  .nav-toggle {
    display: block;
  }

  .stat-strip .wrap {
    grid-template-columns: 1fr;
  }

  .stat {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 28px 0;
  }

  .stat:first-child {
    border-top: none;
  }

  .section {
    padding: 72px 0;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .timeline::before,
  .timeline-progress {
    display: none;
  }

  .cta-banner .wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 56px 24px;
  }

  .cta-banner-actions {
    align-items: flex-start;
    width: 100%;
  }

  .cta-banner-actions .btn {
    width: 100%;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .bento-tile.is-feature,
  .bento-tile.is-wide {
    grid-column: span 1;
  }

  .brand-mark-img {
    height: 28px;
  }

  .brand-word-img {
    height: 26px;
  }

  .nav .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-actions {
    gap: 10px;
  }
}
