/* Final Table Productions Inc. — light theme.
   Palette is the brand's PRINT variant (proposals/templates/print.css), deliberately:
   the same ink/accent/brass the Stake quotation and overview render in, so the
   production company's website matches the production company's paperwork.
   Accent #3b82f6 is identical to the dark master tokens, which keeps this
   visibly the same family as finaltable.co while being a different company. */

:root {
  --ink:        #0c1220;   /* headings */
  --ink-body:   #2c3542;   /* body copy */
  --ink-muted:  #64748b;
  --ink-faint:  #8892a8;
  --night:      #070b14;   /* hero only */
  --accent:     #3b82f6;
  --accent-lt:  #60a5fa;
  --brass:      #f59e0b;   /* the warm 10% */
  --border:     #e6eaf0;   /* also used by inline styles in index.html */
  --bg-elevated:#f6f8fb;   /* ditto — the section band */
  --maxw:       1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink-body);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-lt); }
strong { color: var(--ink); font-weight: 650; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(27px, 3.2vw, 38px); font-weight: 750; }
h4 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

section { padding: 88px 0; }

/* ---------------------------------------------------------------- nav ---- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav-brand { color: var(--ink); font-weight: 750; letter-spacing: -0.02em; font-size: 16px; }
.nav-brand:hover { color: var(--ink); }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-muted); font-size: 14.5px; font-weight: 550; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { box-shadow: inset 0 -2px 0 var(--brass); padding-bottom: 3px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; color: var(--ink); cursor: pointer; }

/* --------------------------------------------------------------- hero ---- */
/* Dark and cinematic against the light body: production work is visual, the
   argument below it is long-form reading. Each gets what suits it. */

.hero {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: var(--night) url("../images/set-design.jpg") center 45% / cover no-repeat;
  min-height: 100vh;
}
.hero-short { min-height: 62vh; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(59,130,246,.16) 0%, transparent 62%),
    linear-gradient(to bottom, rgba(7,11,20,.62) 0%, rgba(7,11,20,.78) 55%, rgba(7,11,20,.94) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 860px; padding: 0 28px; }
.hero-tagline {
  margin: 0 0 14px; color: var(--brass);
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero-description { margin: 0 auto; max-width: 620px; color: rgba(255,255,255,.80); font-size: 19px; }

/* ----------------------------------------------------------- sections ---- */

.section-header { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-header h2 { margin: 0; }
.section-label {
  margin: 0 0 10px;
  color: var(--accent); font-size: 12.5px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}
.feature-split-content .section-label { display: block; margin-bottom: 12px; }

.section-media { margin: 0 0 44px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.section-media img { width: 100%; }

.section-body-cols { columns: 2; column-gap: 56px; }
.section-body-cols p { break-inside: avoid; margin: 0 0 20px; }

/* Restate the label rule as a hairline under headings in split sections. */
.feature-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.feature-split.reverse .feature-split-content { order: 2; }
.feature-split.reverse .feature-split-image   { order: 1; }
.feature-split-content p:last-child { margin-bottom: 0; }
.feature-split-image img { border-radius: 10px; border: 1px solid var(--border); }

/* ------------------------------------------------------------ cta/btn ---- */

.cta-section { background: var(--bg-elevated); text-align: center; }
.cta-section h2 { margin-bottom: 10px; }
.cta-section p { margin: 0 0 28px; color: var(--ink-muted); font-size: 18px; }

.btn {
  display: inline-block; padding: 14px 30px; border-radius: 7px;
  font-size: 15px; font-weight: 650; letter-spacing: .01em;
  transition: background .15s ease, transform .15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #2f74e0; color: #fff; transform: translateY(-1px); }

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

.footer { background: var(--ink); color: rgba(255,255,255,.66); padding: 64px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-brand { color: #fff; font-weight: 750; font-size: 17px; margin-bottom: 8px; letter-spacing: -0.02em; }
.footer address { font-style: normal; color: rgba(255,255,255,.55); font-size: 14.5px; }
.footer h4 { color: rgba(255,255,255,.48); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,.72); font-size: 14.5px; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.46); font-size: 13.5px;
}
.footer-bottom a { color: rgba(255,255,255,.72); }
.footer-bottom a:hover { color: #fff; }

/* ------------------------------------------------------------- reveal ---- */
/* js/site.js adds .visible via IntersectionObserver. */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

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

/* --------------------------------------------------------- responsive ---- */

@media (max-width: 900px) {
  section { padding: 64px 0; }
  .feature-split { grid-template-columns: 1fr; gap: 34px; }
  .feature-split.reverse .feature-split-content,
  .feature-split.reverse .feature-split-image { order: initial; }
  .section-body-cols { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 10px 28px 18px;
    background: #fff; border-bottom: 1px solid var(--border);
  }
  .nav-links.active { display: flex; }
  .nav-links li { padding: 11px 0; border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: 0; }
}
