/* =========================================================================
   Behind the Creative — landing page
   Implemented from "Behind The Creative.dc.html" (Claude Design export).
   Palette: warm paper + film-noir ink, single saturated accent.
   ========================================================================= */

:root {
  --paper:    #F2ECE1;
  --paper-2:  #EAE2D5;
  --card:     #FBF8F2;
  --ink:      #17130F;
  --ink-soft: #241D16;
  --ink-2:    rgba(23, 19, 15, 0.62);
  --ink-3:    rgba(23, 19, 15, 0.40);
  --line:     rgba(23, 19, 15, 0.15);

  /* The .dc enum offered: #E0431B / #C2410C / #A12A4A / #1F5C4D — swap here to retheme. */
  --accent:   #E0431B;

  /* paper-on-dark tints, for the dark sections */
  --pl-2:  rgba(242, 236, 225, 0.66);
  --pl-3:  rgba(242, 236, 225, 0.42);
  --dline: rgba(242, 236, 225, 0.16);

  --maxw: 1320px;
  --gutter: 28px;

  --font-sans: 'Helvetica Neue', Helvetica, 'Roboto', Arial, sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

::selection { background: var(--accent); color: var(--paper); }

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

/* ─── Animations ─────────────────────────────────────────────────────── */
@keyframes btc-blink { 0%, 48% { opacity: 1; } 50%, 100% { opacity: 0.12; } }
@keyframes btc-rise  { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes btc-fade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes btc-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* =========================================================================
   Page shell
   ========================================================================= */
.page {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  width: 100%;
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: filter 140ms ease, background-color 160ms ease, color 160ms ease;
  cursor: pointer;
}
.btn--accent { background: var(--accent); color: var(--paper); }
.btn--accent:hover { filter: brightness(1.07); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }

.btn--sm { padding: 10px 18px; font-size: 11px; letter-spacing: 0.12em; }
.btn--lg { padding: 16px 28px; font-size: 13px; letter-spacing: 0.1em; }
.btn--lg.btn--outline { padding: 16px 24px; }
.btn--xl { padding: 17px 34px; font-size: 14px; letter-spacing: 0.1em; }
.btn--xl.btn--outline { padding: 17px 30px; }

/* =========================================================================
   Shared eyebrow / titles
   ========================================================================= */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.accent-italic {
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}

/* shared blinking record dot */
.hud-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--accent);
  animation: btc-blink 1.4s steps(1) infinite;
  flex: none;
}

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(242, 236, 225, 0.82);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  position: relative;
}
.brand-corner { position: absolute; width: 8px; height: 8px; }
.brand-corner--tl { top: 0; left: 0;  border-top: 1.5px solid var(--accent); border-left: 1.5px solid var(--accent); }
.brand-corner--tr { top: 0; right: 0; border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); }
.brand-corner--bl { bottom: 0; left: 0;  border-bottom: 1.5px solid var(--accent); border-left: 1.5px solid var(--accent); }
.brand-corner--br { bottom: 0; right: 0; border-bottom: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); }
.brand-dot { width: 5px; height: 5px; border-radius: 99px; background: var(--accent); }
.brand-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav { display: flex; gap: 30px; align-items: center; }
.nav-link {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color 140ms ease;
}
.nav-link:hover { color: var(--ink); }

/* =========================================================================
   Frame 01 — Hero
   ========================================================================= */
.hero {
  position: relative;
  padding: 30px var(--gutter) 84px;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
.hud-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.hud-rec { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hud-meta { white-space: nowrap; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(46px, 6.6vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0;
}
.hero-title span { display: block; }
.lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 500px;
  margin: 30px 0 0;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 38px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  animation: btc-fade 0.8s ease-out 0.9s backwards;
}
.trust-sep { color: var(--accent); }

/* Reel / monitor */
.reel { position: relative; }
.monitor {
  position: relative;
  background: var(--ink);
  padding: 12px;
  border-radius: 3px;
  box-shadow: 0 30px 60px -20px rgba(23, 19, 15, 0.45);
}
.monitor-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  background: #000;
}
.monitor-hud {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  border-radius: 2px;
}
.monitor-hud .mark { position: absolute; width: 18px; height: 18px; }
.mark--tl { top: 12px; left: 12px;  border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.mark--tr { top: 12px; right: 12px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.mark--bl { bottom: 12px; left: 12px;  border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); }
.mark--br { bottom: 12px; right: 12px; border-bottom: 2px solid var(--accent); border-right: 2px solid var(--accent); }

.monitor-hud .hud-dot { width: 7px; height: 7px; }

.mon-rec, .mon-take, .mon-tc, .mon-lens {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.mon-rec  { top: 16px; left: 38px; display: inline-flex; align-items: center; gap: 6px; color: var(--paper); }
.mon-take { top: 16px; right: 38px; color: var(--paper); }
.mon-tc   { bottom: 16px; left: 38px; color: var(--pl-2); }
.mon-lens { bottom: 16px; right: 38px; color: var(--pl-2); }

.reel-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* =========================================================================
   Frame 02 — The setup
   ========================================================================= */
.setup {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 92px var(--gutter);
}
.setup-inner { max-width: var(--maxw); margin: 0 auto; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
  margin-bottom: 56px;
}
.section-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.section-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 6px 0 0;
  max-width: 600px;
  text-wrap: pretty;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.card-media {
  position: relative;
  background: var(--ink);
  padding: 10px;
}
.card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
/* letterbox bars + camera label, matching the .dc inset overlay */
.card-letterbox { position: absolute; inset: 10px; pointer-events: none; }
.card-letterbox::before,
.card-letterbox::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 16px;
  background: var(--ink);
}
.card-letterbox::before { top: 0; }
.card-letterbox::after  { bottom: 0; }
.card-label {
  position: absolute;
  top: 22px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--pl-2);
}
.card-body { padding: 30px; }
.card-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
}
.card-num {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 30px;
  color: var(--accent);
  line-height: 1;
}
.card-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
.card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.card-tags {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* =========================================================================
   Frame 03 — The numbers (dark)
   ========================================================================= */
.numbers {
  position: relative;
  background: var(--ink);
  color: var(--paper);
}
.numbers-edge { height: 22px; background: var(--ink); }
.numbers-edge--top { border-bottom: 1px solid var(--dline); }
.numbers-edge--bottom { border-top: 1px solid var(--dline); }
.numbers-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px var(--gutter);
}
.numbers-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.numbers-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin: 18px 0 22px;
  color: var(--paper);
  text-wrap: balance;
}
.numbers-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--pl-2);
  margin: 0 0 30px;
  max-width: 520px;
  text-wrap: pretty;
}
.benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefits li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--paper);
}
.benefit-plus {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  flex: none;
}

/* clapperboard budget card */
.budget {
  background: var(--ink-soft);
  border: 1px solid var(--dline);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.budget-stripe {
  height: 30px;
  background-image: repeating-linear-gradient(115deg, #F2ECE1 0 22px, #17130F 22px 44px);
  border-bottom: 1px solid var(--dline);
}
.budget-body { padding: 28px; }
.budget-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--dline);
  gap: 16px;
}
.budget-head-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pl-2);
}
.budget-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.budget-status .hud-dot { width: 6px; height: 6px; }
.budget-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  gap: 16px;
}
.budget-row-label { font-size: 14px; color: var(--pl-2); }
.budget-row-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--paper);
  white-space: nowrap;
}
.budget-row-value--muted { color: var(--pl-3); }
.budget-row-value--incl { font-size: 14px; color: var(--accent); letter-spacing: 0.1em; }
.budget-divider { height: 1px; background: var(--dline); margin: 10px 0; }
.budget-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0 4px;
  gap: 16px;
}
.budget-total-label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
}
.budget-total-value {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 46px;
  color: var(--accent);
  line-height: 1;
}
.budget-note {
  font-size: 12px;
  color: var(--pl-3);
  margin: 14px 0 0;
  line-height: 1.55;
}

/* =========================================================================
   Frame 04 — Action
   ========================================================================= */
.action {
  position: relative;
  background: var(--paper);
  padding: 96px var(--gutter) 104px;
  overflow: hidden;
}
.action-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}
.clapper-mini {
  width: 240px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  overflow: hidden;
  transform: rotate(-2deg);
}
.clapper-mini-stripe {
  height: 24px;
  background-image: repeating-linear-gradient(115deg, #17130F 0 18px, #F2ECE1 18px 36px);
}
.clapper-mini-body {
  background: var(--ink);
  color: var(--paper);
  padding: 12px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.8;
}
.clapper-row { display: flex; justify-content: space-between; }
.clapper-key { color: var(--pl-3); }
.clapper-you { color: var(--accent); }

.action-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(38px, 5.6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 6px 0 0;
  text-wrap: balance;
}
.action-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 540px;
  margin: 0;
  text-wrap: pretty;
}
.action-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.action-fineprint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 6px;
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--dline);
  padding: 44px var(--gutter);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-dot { width: 6px; height: 6px; border-radius: 99px; background: var(--accent); }
.footer-name {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--pl-3);
  text-transform: uppercase;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--pl-3);
}

/* =========================================================================
   Film grain overlay
   ========================================================================= */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================================
   Scroll reveal (progressive enhancement for [data-reveal])
   ========================================================================= */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1040px) {
  .numbers-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .reel { max-width: 460px; }
  .monitor-video { aspect-ratio: 16 / 10; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .nav { display: none; }
  .header-inner { gap: 16px; }
  .hero { padding-bottom: 64px; }
  .setup { padding: 64px var(--gutter); }
  .numbers-inner { padding: 56px var(--gutter); }
  .action { padding: 72px var(--gutter) 80px; }
  .cards { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 520px) {
  .hud-bar { font-size: 9.5px; letter-spacing: 0.1em; gap: 12px; }
  .hud-meta { text-align: right; }
  .hero-actions .btn,
  .action-actions .btn { flex: 1 1 auto; justify-content: center; }
  .budget-body { padding: 22px; }
  .budget-total-value { font-size: 38px; }
}

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}
