/* Reelhouse — tokens from the Reelhouse design system. Night is the default; Day follows a light system setting. */
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  /* brand */
  --reel-teal: #438287;
  --window-mustard: #C9A94A;
  --night-ink: #0B141B;
  --screen-cream: #ECE6D0;
  /* Night theme */
  --surface: #0B141B;
  --surface-raised: #15232C;
  --surface-inverse: #ECE6D0;
  --text: #ECE6D0;
  --text-muted: #A3AEAC;
  --text-inverse: #0B141B;
  --accent-text: #7DB5BA;
  --hairline: #2A3B45;
  --focus-ring: #C9A94A;
  --button-fill: var(--window-mustard);
  --on-button: var(--night-ink);
  /* type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Figtree", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
  /* space and radius */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-sm: 4px; --radius-md: 12px; --radius-icon: 22%;
  --gutter: var(--space-4);
  --section: var(--space-16);
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --surface: #ECE6D0;
    --surface-raised: #F6F2E6;
    --surface-inverse: #0B141B;
    --text: #0B141B;
    --text-muted: #4E5A5C;
    --text-inverse: #ECE6D0;
    --accent-text: #2E6166;
    --hairline: #C9C0A6;
    --focus-ring: #2E6166;
  }
}
@media (min-width: 900px) { :root { --gutter: var(--space-12); --section: var(--space-24); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--space-8); }
body { margin: 0; background: var(--surface); color: var(--text); font: 400 17px/1.55 var(--font-sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
h3 { font-size: 24px; line-height: 1.25; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 4px; }
.icon { width: 24px; height: 24px; flex: none; fill: currentColor; }
.icon-sm { width: 20px; height: 20px; }

.skip { position: absolute; left: var(--gutter); top: -100px; background: var(--button-fill); color: var(--on-button); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); z-index: 10; }
.skip:focus { top: var(--space-4); }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }

/* header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-block: var(--space-6); }
.site-header .logo img { width: 176px; height: auto; }
.site-header nav { display: flex; gap: var(--space-6); }
.site-header nav a { color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 600; padding-block: var(--space-2); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--text); }
.site-header nav a[aria-current="page"] { box-shadow: 0 2px var(--window-mustard); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: var(--space-2); font: 700 16px/1 var(--font-sans); padding: 14px 22px; border-radius: var(--radius-md); text-decoration: none; border: 1.5px solid transparent; }
.btn-primary { background: var(--button-fill); color: var(--on-button); border-color: var(--button-fill); }
.btn-primary:hover { filter: brightness(1.08); text-decoration: none; }
.btn-secondary { color: var(--text); border-color: var(--text); }
.btn-secondary:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

.label { font-size: 12px; line-height: 1.2; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

/* hero */
.hero .wrap { display: grid; gap: var(--space-12); padding-block: var(--space-12) var(--section); }
.hero-copy { display: grid; gap: var(--space-6); max-width: 34rem; }
.hero h1 { font-size: clamp(48px, 8vw, 88px); line-height: 0.95; letter-spacing: -0.02em; }
.hero h1 em { font-style: italic; color: var(--window-mustard); }
@media (prefers-color-scheme: light) { .hero h1 em { color: var(--accent-text); } }
.lead { font-size: 19px; line-height: 1.55; color: var(--text-muted); max-width: 36rem; }
.hero-shot { border-radius: var(--radius-md); overflow: hidden; background: var(--night-ink); aspect-ratio: 16 / 9; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; }
.fine { font-size: 14px; color: var(--text-muted); }
@media (min-width: 1000px) { .hero .wrap { grid-template-columns: 5fr 7fr; align-items: center; } }

/* sections */
.section { padding-block: var(--section); border-top: 1px solid var(--hairline); }
.section-head { display: grid; gap: var(--space-4); max-width: 40rem; margin-bottom: var(--space-12); }
.section-head h2 { font-size: clamp(36px, 5.5vw, 56px); line-height: 1.0; letter-spacing: -0.015em; }

.feature { display: grid; gap: var(--space-8); align-items: center; }
.feature + .feature { margin-top: var(--space-16); }
.feature-copy { display: grid; gap: var(--space-4); max-width: 32rem; }
.feature-copy ul { padding: 0; list-style: none; display: grid; gap: var(--space-3); }
.feature-copy li { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--text-muted); }
.feature-copy li .icon { color: var(--accent-text); margin-top: 2px; }
.shot { border-radius: var(--radius-md); overflow: hidden; background: var(--night-ink); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 5fr 7fr; }
  .feature.flip { grid-template-columns: 7fr 5fr; }
  .feature.flip .feature-copy { order: 2; }
}

.grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--surface-raised); border-radius: var(--radius-md); padding: var(--space-6); display: grid; gap: var(--space-3); align-content: start; }
.card .icon { color: var(--accent-text); }
.card p { color: var(--text-muted); }

.band { background: var(--surface-inverse); color: var(--text-inverse); }
.band .wrap { padding-block: var(--section); display: grid; gap: var(--space-8); align-items: center; }
.band h2 { font-size: clamp(36px, 5.5vw, 56px); line-height: 1.0; }
.band p { color: var(--text-inverse); opacity: .85; max-width: 34rem; }
.band .btn-primary { --button-fill: var(--window-mustard); --on-button: var(--night-ink); }
.band .appicon { width: min(100%, 360px); border-radius: 18px; }
@media (min-width: 900px) { .band .wrap { grid-template-columns: 7fr 5fr; } .band .appicon { justify-self: end; } }

/* article pages */
.page { padding-block: var(--space-12) var(--section); }
.page .wrap { max-width: 760px; display: grid; gap: var(--space-6); }
.page h1 { font-size: clamp(40px, 6vw, 56px); line-height: 1.05; }
.page h2 { font-family: var(--font-sans); font-size: 24px; line-height: 1.25; font-weight: 700; margin-top: var(--space-8); }
.page h3 { font-size: 19px; margin-top: var(--space-4); }
.page p, .page li { max-width: 65ch; }
.page ul { padding-left: 1.2em; display: grid; gap: var(--space-2); }
.page .updated { color: var(--text-muted); font-size: 14px; }
.contact-card { background: var(--surface-raised); border-radius: var(--radius-md); padding: var(--space-6); display: grid; gap: var(--space-3); }
.contact-card .email { font-size: 20px; font-weight: 700; }
.faq { display: grid; gap: var(--space-3); }
.faq details { background: var(--surface-raised); border-radius: var(--radius-md); padding: var(--space-4) var(--space-6); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details[open] summary { margin-bottom: var(--space-3); }
.faq details p + p { margin-top: var(--space-3); }

/* footer */
.site-footer { border-top: 1px solid var(--hairline); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: var(--space-6); justify-content: space-between; align-items: center; padding-block: var(--space-8); }
.site-footer img { width: 40px; height: 40px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--space-6); }
.site-footer nav a, .site-footer small { color: var(--text-muted); font-size: 14px; }
.site-footer .brandline { display: flex; align-items: center; gap: var(--space-3); }

@media (max-width: 560px) {
  .site-header .wrap { flex-wrap: wrap; }
  .site-header .logo img { width: 150px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-shot, .shot { animation: rise .6s ease-out both; }
  @keyframes rise { from { opacity: .001; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
