/* ALG Productions — shared components. Each page picks a theme with <body class="theme-general"> or "theme-media". */

/* ---------- Themes ---------- */
.theme-general {
  --bg: #ffffff; --card: #f4f4f4; --line: #e6e6e6; --field: #cfcfcf;
  --accent: #39ff14; --on-accent: #0a0a0a;
  --head: #0a0a0a; --body: #3d3d3d; --muted: #6b6b6b;
  --focus: #0a0a0a; --ph: #ededed; --ph-text: #9a9a9a;
  --accent-text: #0a0a0a;            /* neon green is unreadable as text on white — use black */
  --hl: linear-gradient(transparent 58%, #39ff14 58%, #39ff14 92%, transparent 92%);
  --nav-bg: rgba(255,255,255,.9); --scrim: rgba(10,10,10,.5);
}
.theme-media {
  --bg: #0a0a0a; --card: #141414; --line: #262626; --field: #4a4a4a;
  --accent: #39ff14; --on-accent: #0a0a0a;
  --head: #ffffff; --body: #b3b3b3; --muted: #8a8a8a;
  --focus: #39ff14; --ph: #1c1c1c; --ph-text: #6b6b6b;
  --accent-text: #39ff14;
  --hl: none;
  --nav-bg: rgba(10,10,10,.88); --scrim: rgba(0,0,0,.7);
}
:root {
  --wrap: 1200px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3, strong { color: var(--head); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }

.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: -.005em; color: var(--head); }
.display--xl { font-size: clamp(56px, 10vw, 128px); }
.display--lg { font-size: clamp(44px, 7vw, 88px); }
.display--md { font-size: clamp(36px, 5vw, 56px); }
.hl { background: var(--hl); color: var(--accent-text); padding: 0 .04em; }
.kicker { display: block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.lede { font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--body); max-width: 34ch; }
.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border: 1.5px solid transparent; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); text-decoration: none; cursor: pointer;
  font: 600 16px/1 var(--sans);
  transition: filter 150ms var(--ease-out), transform 120ms var(--ease-out), background-color 150ms var(--ease-out), border-color 150ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; filter: none; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 17px; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--head); border-color: var(--field); }

.cta-block { display: grid; gap: 12px; justify-items: start; }
.cta-micro { font-size: 14px; color: var(--muted); }
.alt-text { color: var(--head); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; transition: color 150ms var(--ease-out); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: var(--nav-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; font-weight: 700; color: var(--head); letter-spacing: .01em; }
.brand__logo { width: auto; height: 32px; }
@media (max-width: 767px) { .nav__cta { display: none; } }

/* ---------- Image placeholders (until a file exists) ---------- */
.ph { position: relative; margin: 0; background: var(--ph); overflow: hidden; border-radius: 16px; }
.ph::before { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; color: var(--ph-text); font-size: 13px; }
.ph img { position: relative; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero (split: copy + photo) ---------- */
.hero { padding: 40px 0 72px; }
.hero__grid { display: grid; gap: 32px; align-items: center; }
.hero__copy { display: grid; gap: 20px; justify-items: start; }
.hero__copy .display { margin-bottom: 4px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.stats strong { font-size: 15px; }
.hero__media { aspect-ratio: 4 / 5; max-height: 72vh; width: 100%; }
.hero__media img { object-fit: cover; }
@media (min-width: 960px) {
  .hero { padding: 56px 0 104px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .hero__media { max-height: 680px; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.section__head p { color: var(--muted); }

/* ---------- Service cards (general) ---------- */
.cards { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.card { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; }
.card__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; margin-bottom: 4px; background: var(--ph); }
.card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 26px; line-height: 1; }
.card p { font-size: 14px; line-height: 1.45; color: var(--body); flex: 1; }
.card .btn { align-self: stretch; }
.card--feature { border-color: var(--head); }
.card__link { font-size: 14px; font-weight: 600; color: var(--head); text-decoration: none; border-bottom: 1px solid currentColor; align-self: flex-start; }
.card__tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }

/* ---------- Offer stack (media day) ---------- */
.offer__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .offer__grid { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; } }
.facts { margin: 24px 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; font-weight: 600; color: var(--head); text-align: right; }
.deliverables { list-style: none; margin: 0; padding: 0; counter-reset: d; }
.deliverables li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); counter-increment: d; }
.deliverables li::before { content: counter(d, decimal-leading-zero); font-family: var(--display); font-size: 22px; line-height: 1.2; color: var(--accent-text); }
.deliverables strong { font-size: 18px; font-weight: 600; }
.deliverables p { font-size: 15px; margin-top: 2px; }
.bonus { margin: 0 0 24px; padding: 20px; border: 2px solid var(--accent); border-radius: 16px; background: rgba(57,255,20,.06); }
.bonus .kicker { color: var(--accent-text); margin-bottom: 6px; }
.bonus p { color: var(--head); font-weight: 600; }
.callout { margin: 0 0 24px; padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--card); color: var(--head); }

/* ---------- Work strip ---------- */
.strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 12px; scroll-padding: 0 16px; overscroll-behavior-x: contain; scrollbar-width: thin; }
@media (min-width: 768px) { .strip { gap: 16px; padding: 0 40px 12px; scroll-padding: 0 40px; } }
@media (min-width: 1280px) { .strip { padding-left: calc((100vw - var(--wrap)) / 2 + 40px); } }
.shot { flex: 0 0 72vw; aspect-ratio: 4 / 5; scroll-snap-align: start; }
@media (min-width: 768px) { .shot { flex-basis: 30vw; max-width: 400px; } }
.motion .reveal { clip-path: inset(0 0 100% 0); transition: clip-path 700ms var(--ease-out); }
.motion .reveal.is-in { clip-path: inset(0 0 0 0); }
.quotes { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 768px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { margin: 0; padding: 24px; background: var(--card); border-radius: 16px; }
.quote p { font-size: 18px; color: var(--head); }
.quote footer { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* ---------- Final CTA ---------- */
.final { text-align: left; }
.final .lede { margin: 20px 0 28px; }
.cross { margin-top: 32px; font-size: 15px; color: var(--muted); }
.cross a { color: var(--head); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { padding: 24px 0 104px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer__logo { width: auto; height: 64px; }
.footer a { text-decoration: none; }
@media (min-width: 768px) { .footer { padding-bottom: 24px; } .footer__logo { margin-right: auto; } }

/* ---------- Mobile sticky bar: book (primary) + text (secondary) ---------- */
.sticky-bar { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; display: flex; gap: 8px; transition: transform 250ms var(--ease-out), opacity 250ms var(--ease-out); }
.sticky-bar .btn { min-height: 52px; box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.sticky-bar__book { flex: 1; }
.sticky-bar__text { width: 52px; padding: 0; background: var(--head); color: var(--bg); }
.sticky-bar.is-tucked { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
@media (min-width: 768px) { .sticky-bar { display: none; } }

/* ---------- Booking sheet ---------- */
html.sheet-open { overflow: hidden; }
.sheet { width: 100%; max-width: 560px; max-height: calc(100dvh - 24px); margin: auto auto 0; padding: 0; border: 0; border-radius: 20px 20px 0 0; background: var(--bg); color: var(--body); overflow: auto; overscroll-behavior: contain; box-shadow: 0 -8px 40px rgba(0,0,0,.25); }
.theme-media .sheet { background: var(--card); border: 1px solid var(--line); }
.sheet::backdrop { background: var(--scrim, rgba(10,10,10,.6)); backdrop-filter: blur(2px); }
.sheet[open] { animation: sheet-up 380ms var(--ease-drawer); }
.sheet[open]::backdrop { animation: fade-in 250ms var(--ease-out); }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 768px) {
  .sheet { margin: auto; border-radius: 20px; }
  .sheet[open] { animation: sheet-pop 240ms var(--ease-out); }
  @keyframes sheet-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
}
.sheet__head { position: sticky; top: 0; z-index: 1; background: inherit; padding: 20px 24px 0; }
.progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress__bar { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(.3333); transition: transform 300ms var(--ease-out); }
.sheet__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.sheet__step { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sheet__close { width: 40px; height: 40px; margin-right: -8px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--head); cursor: pointer; }
.sheet__form, .sheet__done, .sheet__error { padding: 8px 24px calc(24px + env(safe-area-inset-bottom)); }
.sheet__done:focus, .sheet__error:focus { outline: none; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.sheet__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 34px; line-height: 1; color: var(--head); padding: 0; margin: 8px 0; }
.sheet__hint { color: var(--body); margin-bottom: 20px; }

/* Step 1: one service (big tiles) */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 64px; padding: 8px 12px; border: 1.5px solid var(--field); border-radius: 14px; background: var(--bg); color: var(--head); font-weight: 600; user-select: none; transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out), transform 120ms var(--ease-out); }
.theme-media .option span { background: #0f0f0f; }
.option:active span { transform: scale(0.97); }
.option input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.option input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.reveal-field { margin-top: 16px; }

/* Step 2: timeframe chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--field); border-radius: 999px; background: var(--bg); color: var(--head); font-weight: 500; user-select: none; transition: background-color 150ms var(--ease-out), border-color 150ms var(--ease-out), transform 120ms var(--ease-out); }
.theme-media .chip span { background: #0f0f0f; }
.chip:active span { transform: scale(0.97); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.dates { display: grid; gap: 12px; margin-top: 20px; max-width: 280px; }

/* Fields */
.field { display: grid; gap: 8px; font-size: 14px; color: var(--body); }
.field em { font-style: normal; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--field); border-radius: 12px;
  background: var(--bg); color: var(--head); font: 400 17px/1.3 var(--sans); transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}
.theme-media .field input, .theme-media .field select { background: #0f0f0f; color-scheme: dark; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--head); box-shadow: 0 0 0 3px rgba(57,255,20,.35); }
.field input::placeholder { color: var(--muted); }
.step .field + .field, .step [data-team] .field { margin-top: 14px; }
.field__error { color: #c62828; font-size: 13px; }
.theme-media .field__error { color: #ff6b6b; }
.field input[aria-invalid="true"] { border-color: #c62828; }
.theme-media .field input[aria-invalid="true"] { border-color: #ff6b6b; }

.sheet__nav { display: flex; gap: 12px; margin-top: 28px; }
.sheet__nav [data-next], .sheet__nav [data-send] { flex: 1; }
.sheet__assure { margin-top: 12px; text-align: center; font-size: 14px; color: var(--body); }
.sheet__alt { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }
.sheet__alt a { color: var(--head); font-weight: 600; }

/* Success */
.sheet__done { padding-top: 32px; text-align: center; }
.sheet__done .sheet__title { font-size: 38px; margin-top: 16px; }
.check { margin: 0 auto; display: block; }
.check circle { fill: var(--accent); }
.check path { fill: none; stroke: var(--on-accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; }
.motion .sheet__done:not([hidden]) .check circle { animation: check-pop 360ms var(--ease-out); transform-origin: center; }
.motion .sheet__done:not([hidden]) .check path { animation: check-draw 360ms 160ms var(--ease-out) both; }
@keyframes check-pop { from { transform: scale(.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes check-draw { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
.receipt { margin: 0 0 24px; padding: 4px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; text-align: left; }
.theme-media .receipt { background: #0f0f0f; }
.receipt div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.receipt div:last-child { border-bottom: 0; }
.receipt dt { color: var(--muted); font-size: 14px; flex-shrink: 0; }
.receipt dd { margin: 0; font-weight: 600; color: var(--head); text-align: right; overflow-wrap: anywhere; }
.next { text-align: left; margin-bottom: 24px; }
.next .kicker { margin-bottom: 8px; }
.sheet__done .btn + .btn, .sheet__error .btn + .btn { margin-top: 12px; }
.sheet__error { padding-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  *, .sheet[open], .sheet[open]::backdrop { transition: none !important; animation: none !important; }
}


/* Hover only on real pointers (Emil §3): touch screens otherwise show sticky hover states */
@media (hover: hover) and (pointer: fine) {
  .btn:not(:disabled):hover { filter: brightness(1.06); }
  .btn--ghost:hover { border-color: var(--head); filter: none; }
  .alt-text:hover { color: var(--accent-text); }
  .footer a:hover { color: var(--head); }
  .sheet__close:hover { background: var(--line); }
  .option:hover input:not(:checked) + span { border-color: var(--head); }
  .chip:hover input:not(:checked) + span { border-color: var(--head); }
  .field input:not([aria-invalid="true"]):hover, .field select:hover { border-color: var(--head); }
}

/* Phones: keep the photo cards compact so all four fit in about one and a half screens */
@media (max-width: 767px) {
  .card { padding: 12px; gap: 8px; border-radius: 14px; }
  .card__img { aspect-ratio: 1 / 1; }
  .card h3 { font-size: 22px; }
  .card p { font-size: 13px; }
  .card .btn { min-height: 44px; }
}

/* ---------- Media Day: three numbered points ---------- */
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: pt; }
@media (min-width: 768px) { .points { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.points li { counter-increment: pt; display: grid; gap: 16px; align-content: start; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.points li::before { content: counter(pt); font-family: var(--display); font-size: 64px; line-height: .9; color: var(--accent-text); }
.points strong { font-size: 20px; font-weight: 600; line-height: 1.3; }
.points + .bonus, .points ~ .callout { margin-top: 24px; }
.lede__lead { display: block; color: var(--head); font-weight: 600; margin-bottom: 4px; }
.cross-link { font-size: 15px; font-weight: 600; color: var(--head); text-decoration: none; border-bottom: 1px solid currentColor; }
@media (hover: hover) and (pointer: fine) { .cross-link:hover { color: var(--accent-text); } }
.section--tight, #media-day.section { padding: 56px 0; }
@media (max-width: 767px) {
  .points li { grid-template-columns: 44px 1fr; align-items: center; gap: 12px; padding: 16px; }
  .points li::before { font-size: 44px; }
  .points strong { font-size: 17px; }
}

/* ---------- Hero promo (André's palette: neon green = bonus offer) ---------- */
.promo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 4px; padding: 6px 14px 6px 6px; border: 1.5px solid var(--accent); border-radius: 999px; background: rgba(57,255,20,.08); color: var(--head); font-size: 14px; font-weight: 600; line-height: 1.3; }
.promo__tag { flex-shrink: 0; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
