/* =========================================================
   FM Group — Design system
   Direction: "cinematic credits". Charcoal + light gray,
   one tungsten (3200K) accent, condensed display type.
   ========================================================= */

/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Color */
  --charcoal: #1B1B1D;
  --charcoal-2: #232326;
  --charcoal-3: #2F2F33;
  --paper: #F1F1EE;
  --white: #FFFFFF;
  --ink: #18181A;
  --muted-on-light: #5C5C61;
  --muted-on-dark: #A6A6AB;
  --line-light: #D9D9D4;
  --line-dark: rgba(255, 255, 255, 0.13);
  --tungsten: #F2B544;
  --tungsten-hi: #F7C766;
  --tungsten-deep: #9A6410; /* text-safe on light backgrounds */
  --success: #2E8A5F;
  --error: #C93A3A;
  --error-on-dark: #FF8A80;

  /* Type */
  --display: "Big Shoulders Display", "Big Shoulders", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;
  --sans: "Instrument Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-hero: clamp(3.5rem, 9.2vw, 8.75rem);
  --fs-h1: clamp(3rem, 8vw, 7rem);
  --fs-h2: clamp(2.5rem, 5.6vw, 5rem);
  --fs-h3: clamp(1.25rem, 1.6vw, 1.5rem);
  --fs-lead: clamp(1.125rem, 1.4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Space (8pt scale) */
  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4rem; --s7: 6rem; --s8: 8rem;
  --section-y: clamp(4.5rem, 10vw, 9rem);
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max: 1320px;

  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--white);
  background: var(--charcoal);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--tungsten); color: var(--ink); padding: .75rem 1rem; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 3px; border-radius: 2px; }
.s-light :focus-visible, .s-white :focus-visible { outline-color: var(--ink); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.s-dark { background: var(--charcoal); color: var(--white); }
.s-deeper { background: #141416; color: var(--white); }
.s-light { background: var(--paper); color: var(--ink); }
.s-white { background: var(--white); color: var(--ink); }

/* ---------- Type ---------- */
.display, .h1, .h2 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 58ch; }
.muted { color: var(--muted-on-dark); }
.s-light .muted, .s-white .muted { color: var(--muted-on-light); }
.prose { max-width: 66ch; }
.prose p { margin-bottom: 1.15em; }
.kicker { font-size: var(--fs-small); font-weight: 500; color: var(--tungsten); margin-bottom: var(--s2); }
.s-light .kicker, .s-white .kicker { color: var(--tungsten-deep); }

.section-head { display: grid; gap: var(--s3); margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head.split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.2fr 1fr; gap: var(--s6); } }
.section-head .lead { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--tungsten); --btn-fg: var(--ink); --btn-bd: var(--tungsten);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.5rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .2s var(--ease);
}
.btn::before { /* wipe fill — a "scrub" across the timeline */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tungsten-hi);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: scaleX(1); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 0 1.1rem; font-size: .9375rem; }
.btn-ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor; }
.btn-ghost::before { background: var(--white); }
.btn-ghost:hover { color: var(--ink); border-color: var(--white); }
.s-light .btn-ghost::before, .s-white .btn-ghost::before { background: var(--ink); }
.s-light .btn-ghost:hover, .s-white .btn-ghost:hover { color: var(--white); border-color: var(--ink); }
.btn-dark { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); }
.btn-dark::before { background: var(--charcoal-3); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.text-link { font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease); }
.text-link:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  padding-top: env(safe-area-inset-top, 0px); box-sizing: content-box;
  transition: background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent; color: var(--white);
}
.site-header.is-solid, body:not(.has-hero) .site-header { background: rgba(27, 27, 29, 0.92); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--line-dark); }
.header-row { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.75rem; letter-spacing: .01em; }
.logo-sig { height: 42px; width: auto; flex: none; transition: transform .5s var(--ease-out); }
.logo:hover .logo-sig { transform: rotate(-4deg) scale(1.04); }
.logo-lg { font-size: 2rem; gap: .9rem; }
.logo-lg .logo-sig { height: 72px; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: clamp(.9rem, 1.6vw, 1.75rem); }
.main-nav a { text-decoration: none; font-size: .9375rem; font-weight: 500; color: rgba(255,255,255,.82); padding: .5rem 0; position: relative; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tungsten); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.lang-toggle { background: none; border: 1px solid var(--line-dark); color: var(--white); border-radius: var(--radius); min-height: 42px; min-width: 48px; padding: 0 .7rem; font-size: .875rem; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; }
.lang-toggle:hover { border-color: var(--white); }
.lang-toggle span[aria-current="true"] { color: var(--tungsten); }
.menu-toggle { width: 48px; height: 48px; background: none; border: 0; cursor: pointer; display: grid; place-content: center; gap: 6px; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--white); transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.header-cta { display: none; }

.mobile-menu {
  position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0; z-index: 99; background: var(--charcoal);
  padding: var(--s3) var(--gutter) calc(var(--s5) + env(safe-area-inset-bottom, 0px)); overflow-y: auto;
  display: flex; flex-direction: column; gap: var(--s4);
  opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu ul a { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1.15; text-decoration: none; padding: .15rem 0; }
.mobile-menu ul a[aria-current="page"] { color: var(--tungsten); }
.mobile-menu .btn-row .btn { flex: 1 1 100%; }

@media (min-width: 1120px) {
  .main-nav { display: block; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .header-cta { display: inline-flex; }
}

/* ---------- Hero (home) — the letterbox reveal ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #0F0F10; color: var(--white); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,15,16,.6) 0%, rgba(15,15,16,.25) 55%, rgba(15,15,16,0) 80%), linear-gradient(180deg, rgba(15,15,16,.35) 0%, rgba(15,15,16,.15) 40%, rgba(15,15,16,.85) 100%); }
.hero-placeholder {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(242,181,68,.38), transparent 60%),
    radial-gradient(50% 60% at 15% 80%, rgba(84,108,140,.35), transparent 65%),
    linear-gradient(160deg, #26262a, #121214 70%);
  animation: drift 18s var(--ease) infinite alternate;
}
.hero-placeholder::before { /* film grain */
  content: ""; position: absolute; inset: -50%; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
.placeholder-tag { position: absolute; z-index: 3; right: var(--gutter); top: calc(var(--header-h) + 1.25rem); font-size: var(--fs-xs); color: rgba(255,255,255,.75); border: 1px dashed rgba(255,255,255,.4); padding: .35rem .6rem; border-radius: var(--radius); background: rgba(0,0,0,.3); }
@keyframes drift { to { transform: scale(1.08) translate(-2%, 1%); } }
@keyframes grain { 0% { transform: translate(0,0) } 25% { transform: translate(-3%,2%) } 50% { transform: translate(2%,-3%) } 75% { transform: translate(-1%,3%) } 100% { transform: translate(0,0) } }

.letterbox { position: absolute; left: 0; right: 0; z-index: 2; background: #0F0F10; pointer-events: none; height: 50.5%; transition: height 1.5s var(--ease-out) .15s; }
.letterbox.top { top: 0; }
.letterbox.bottom { bottom: 0; }
.hero.is-open .letterbox { height: clamp(0px, calc((100svh - 100vw / 2.39) / 2), 8svh); }

.hero-inner { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(6.5rem, 12svh, 9rem); padding-top: calc(var(--header-h) + 3rem); }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: var(--fs-hero); line-height: .86; letter-spacing: -0.01em; max-width: none; margin-bottom: var(--s4); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.hero h1 .line:nth-child(2) > span { transition-delay: .12s; }
.hero.is-open h1 .line > span { transform: none; transition-delay: .9s; }
.hero.is-open h1 .line:nth-child(2) > span { transition-delay: 1.02s; }
.hero-sub { font-size: var(--fs-lead); max-width: 46ch; color: rgba(255,255,255,.88); margin-bottom: var(--s4); }
.hero-fade { opacity: 0; transform: translateY(10px); transition: opacity .9s var(--ease) 1.3s, transform .9s var(--ease) 1.3s; }
.hero.is-open .hero-fade { opacity: 1; transform: none; }
.hero-credits { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(1.25rem, 3svh, 2rem); }
@media (max-width: 699px) { .hero-credits { display: none; } }
.hero-credits .container { display: flex; justify-content: space-between; gap: var(--s3); font-size: var(--fs-small); color: rgba(255,255,255,.7); flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(4rem, 10vw, 8rem)); padding-bottom: clamp(3.5rem, 8vw, 6.5rem); position: relative; overflow: hidden; }
.page-hero .h1 { max-width: 14ch; margin-bottom: var(--s4); }
.page-hero .lead { color: rgba(255,255,255,.86); margin-bottom: var(--s4); }
.page-hero::after { /* a thin frame-line: the viewfinder edge */
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line-dark);
}
.crumb { font-size: var(--fs-small); color: var(--muted-on-dark); margin-bottom: var(--s3); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--white); }

/* ---------- Two modes (We Film It / You Send It) ---------- */
.modes { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .modes { grid-template-columns: 1fr 1fr; } }
.mode { padding: clamp(3.5rem, 8vw, 7rem) var(--gutter); display: flex; flex-direction: column; gap: var(--s3); min-height: clamp(420px, 60vh, 640px); justify-content: flex-end; position: relative; overflow: hidden; }
.mode-film { background: var(--charcoal-2); color: var(--white); }
.mode-send { background: var(--white); color: var(--ink); }
.mode .h1 { font-size: clamp(3.4rem, 8vw, 7.5rem); }
.mode p { max-width: 40ch; font-size: var(--fs-lead); margin: 0; }
.mode ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.mode li { font-size: var(--fs-small); border: 1px solid currentColor; border-radius: 999px; padding: .3rem .8rem; opacity: .8; }
.mode .btn { align-self: flex-start; margin-top: var(--s2); }
.mode-index { position: absolute; top: clamp(2rem, 5vw, 3.5rem); left: var(--gutter); font-size: var(--fs-small); opacity: .65; }
@media (min-width: 900px) { .mode-film { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); } .mode-film .mode-index { left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); } }
.we-create { text-align: center; padding-block: clamp(3rem, 7vw, 5.5rem); background: var(--tungsten); color: var(--ink); }
.we-create .h2 { margin-bottom: var(--s2); }
.we-create p { margin: 0 auto; max-width: 52ch; }

/* ---------- Service index (editorial rows) ---------- */
.svc-index { border-top: 1px solid var(--line-light); }
.s-dark .svc-index, .s-deeper .svc-index { border-top-color: var(--line-dark); }
.svc-row { display: grid; grid-template-columns: 1fr; gap: var(--s2); padding: clamp(1.75rem, 3vw, 2.5rem) 0; border-bottom: 1px solid var(--line-light); text-decoration: none; position: relative; }
.s-dark .svc-row, .s-deeper .svc-row { border-bottom-color: var(--line-dark); }
.svc-row::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--tungsten); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.svc-row:hover::before, .svc-row:focus-visible::before { transform: scaleX(1); }
.svc-row h3 { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: .95; transition: transform .45s var(--ease-out); }
.svc-row:hover h3 { transform: translateX(10px); }
.svc-row p { margin: 0; max-width: 46ch; }
.svc-row .svc-tags { font-size: var(--fs-small); color: var(--muted-on-light); }
.s-dark .svc-row .svc-tags { color: var(--muted-on-dark); }
.svc-row .go { font-weight: 600; font-size: var(--fs-small); }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 9.5rem; align-items: center; gap: var(--s5); }
  .svc-row .go { text-align: right; }
}

/* ---------- Lists of services (grid of plain items) ---------- */
.svc-list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-light); }
.s-dark .svc-list, .s-deeper .svc-list { border-top-color: var(--line-dark); }
@media (min-width: 640px) { .svc-list { grid-template-columns: 1fr 1fr; column-gap: var(--s5); } }
@media (min-width: 1024px) { .svc-list.three { grid-template-columns: repeat(3, 1fr); } }
.svc-list li { padding: 1.25rem 0; border-bottom: 1px solid var(--line-light); display: grid; gap: .3rem; }
.s-dark .svc-list li, .s-deeper .svc-list li { border-bottom-color: var(--line-dark); }
.svc-list strong { font-size: 1.125rem; font-weight: 600; }
.svc-list span { font-size: var(--fs-small); color: var(--muted-on-light); }
.s-dark .svc-list span, .s-deeper .svc-list span { color: var(--muted-on-dark); }

/* ---------- Steps (real sequences only) ---------- */
.steps { display: grid; gap: 0; counter-reset: step; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: var(--s4) var(--s3) var(--s4) 0; border-top: 1px solid var(--line-dark); position: relative; }
.s-light .step, .s-white .step { border-top-color: var(--line-light); }
.step::before { counter-increment: step; content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 4.5rem; line-height: 1; color: var(--tungsten); margin-bottom: var(--s2); }
.s-light .step::before, .s-white .step::before { color: var(--ink); }
.step h3 { margin-bottom: .5rem; }
.step p { margin: 0; font-size: var(--fs-small); max-width: 32ch; }
.step::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--tungsten); transition: width 1.2s var(--ease-out); }
.steps.is-visible .step::after { width: 100%; }
.steps.is-visible .step:nth-child(2)::after { transition-delay: .2s; }
.steps.is-visible .step:nth-child(3)::after { transition-delay: .4s; }
.steps.is-visible .step:nth-child(4)::after { transition-delay: .6s; }

/* ---------- Media frames & placeholders ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--charcoal-3); aspect-ratio: 16 / 9; }
.frame.tall { aspect-ratio: 4 / 5; }
.frame.vertical { aspect-ratio: 9 / 16; }
.frame.square { aspect-ratio: 1; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ph {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: .35rem; padding: 1rem;
  color: rgba(255,255,255,.72); font-size: var(--fs-small);
  background:
    linear-gradient(135deg, rgba(255,255,255,.04) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.04) 50%, rgba(255,255,255,.04) 75%, transparent 75%) 0 0 / 22px 22px,
    linear-gradient(160deg, #2c2c31, #1d1d20);
}
.s-light .ph.light, .ph.light { color: var(--muted-on-light); background: linear-gradient(135deg, rgba(0,0,0,.035) 25%, transparent 25%, transparent 50%, rgba(0,0,0,.035) 50%, rgba(0,0,0,.035) 75%, transparent 75%) 0 0 / 22px 22px, #E4E4DF; }
.ph strong { font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--white); }
.ph.light strong { color: var(--ink); }
/* viewfinder corners */
.vf::before, .vf::after { content: ""; position: absolute; z-index: 2; width: 22px; height: 22px; border: 2px solid rgba(255,255,255,.7); pointer-events: none; }
.vf::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.vf::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.ph.light.vf::before, .ph.light.vf::after { border-color: rgba(0,0,0,.4); }

/* ---------- Portfolio ---------- */
.filters { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: var(--s4); scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.filter-btn { flex: 0 0 auto; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line-light); background: transparent; cursor: pointer; font-size: .9375rem; font-weight: 500; transition: background .25s, color .25s, border-color .25s; }
.s-dark .filter-btn { border-color: var(--line-dark); }
.filter-btn:hover { border-color: currentColor; }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.s-dark .filter-btn[aria-pressed="true"] { background: var(--tungsten); color: var(--ink); border-color: var(--tungsten); }
.work-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: 1fr; }
@media (min-width: 700px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .work-grid { grid-template-columns: repeat(12, 1fr); }
  .work-grid > .work-item { grid-column: span 4; }
  .work-grid > .work-item:nth-child(4n+1), .work-grid > .work-item:nth-child(4n+4) { grid-column: span 7; }
  .work-grid > .work-item:nth-child(4n+2), .work-grid > .work-item:nth-child(4n+3) { grid-column: span 5; }
}
.work-item { position: relative; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.work-item[hidden] { display: none; }
.work-card { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
.work-card .frame { aspect-ratio: 4 / 3; }
.work-card:hover .frame img { transform: scale(1.04); }
.work-card .meta { display: flex; justify-content: space-between; gap: 1rem; padding-top: .9rem; align-items: baseline; }
.work-card h3 { font-size: 1.125rem; font-weight: 600; }
.work-card .cat { font-size: var(--fs-small); color: var(--muted-on-light); }
.s-dark .work-card .cat { color: var(--muted-on-dark); }
.work-card .play { position: absolute; z-index: 2; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; background: var(--tungsten); display: grid; place-content: center; transform: scale(.85); opacity: 0; transition: transform .35s var(--ease-out), opacity .35s; }
.work-card .play::after { content: ""; border-left: 12px solid var(--ink); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.work-card:hover .play, .work-card:focus-visible .play { transform: scale(1); opacity: 1; }
.empty-state { padding: var(--s5) 0; color: var(--muted-on-light); }

/* ---------- Dialog / modals ---------- */
dialog.modal { width: min(920px, calc(100% - 2rem)); max-height: calc(100svh - 2rem); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--white); color: var(--ink); overflow: auto; }
dialog.modal::backdrop { background: rgba(10,10,12,.72); backdrop-filter: blur(4px); }
dialog.modal[open] { animation: modalIn .45s var(--ease-out); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.985); } }
.modal-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--white); border-bottom: 1px solid var(--line-light); }
.modal-body { padding: clamp(1.25rem, 3vw, 2rem); }
.modal-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); background: none; cursor: pointer; font-size: 1.5rem; line-height: 1; }
.modal-close:hover { background: var(--paper); }
.project-media { display: grid; gap: .75rem; margin-bottom: var(--s3); }
.project-media .embed { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.project-media .embed iframe, .project-media .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.project-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.project-photos img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); width: 100%; }
.project-facts { display: grid; gap: var(--s3); grid-template-columns: 1fr; margin-top: var(--s3); }
@media (min-width: 700px) { .project-facts { grid-template-columns: 1fr 1fr; } }
.project-facts dt { font-size: var(--fs-small); color: var(--muted-on-light); margin-bottom: .25rem; }
.project-facts dd { margin: 0; }

/* ---------- Pricing ---------- */
.price-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: var(--s5); position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 5; background: var(--paper); padding: .75rem 0; }
.price-tabs a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 1rem; border: 1px solid var(--line-light); border-radius: 999px; font-size: .9375rem; font-weight: 500; background: var(--white); }
.price-tabs a:hover { border-color: var(--ink); }
.price-group + .price-group { margin-top: clamp(4rem, 8vw, 6.5rem); }
.price-group-head { display: grid; gap: var(--s2); margin-bottom: var(--s4); }
@media (min-width: 900px) { .price-group-head { grid-template-columns: auto 1fr; align-items: end; gap: var(--s5); } }
.price-letter { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 9vw, 7rem); line-height: .8; color: var(--tungsten-deep); }
.plans { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans.cols-4 { grid-template-columns: repeat(4, 1fr); } .plans.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: var(--s4) var(--s3); background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius-lg); transition: transform .4s var(--ease-out), border-color .3s, box-shadow .4s; }
.plan:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.plan.is-highlight { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.plan.is-highlight .muted { color: var(--muted-on-dark); }
.plan-flag { position: absolute; top: -12px; left: var(--s3); background: var(--tungsten); color: var(--ink); font-size: var(--fs-xs); font-weight: 600; padding: .2rem .6rem; border-radius: 999px; }
.plan h3 { font-size: 1.25rem; }
.plan .amount { font-family: var(--display); font-weight: 800; font-size: 3.4rem; line-height: 1; }
.plan .amount small { font-family: var(--sans); font-size: 1rem; font-weight: 500; margin-left: .2rem; }
.plan ul { display: grid; gap: .4rem; font-size: var(--fs-small); flex: 1; }
.plan li { padding-left: 1.2rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--tungsten-deep); }
.plan.is-highlight li::before { background: var(--tungsten); }
.plan.is-highlight .btn-dark { --btn-bg: var(--tungsten); --btn-fg: var(--ink); --btn-bd: var(--tungsten); }
.plan.is-highlight .btn-dark::before { background: var(--tungsten-hi); }
.price-note { margin-top: var(--s3); font-size: var(--fs-small); color: var(--muted-on-light); max-width: 80ch; }
.s-dark .price-note { color: var(--muted-on-dark); }
.rate-table { width: 100%; border-collapse: collapse; }
.rate-table th, .rate-table td { text-align: left; padding: 1.05rem .5rem 1.05rem 0; border-bottom: 1px solid var(--line-light); vertical-align: middle; }
.rate-table th { font-size: var(--fs-small); font-weight: 500; color: var(--muted-on-light); }
.rate-table td.num { font-family: var(--display); font-weight: 800; font-size: 1.9rem; white-space: nowrap; }
.rate-table td.act { text-align: right; padding-right: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.teaser-prices { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line-light); }
@media (min-width: 900px) { .teaser-prices { grid-template-columns: repeat(3, 1fr); } }
.teaser-prices > div { padding: var(--s4) var(--s3) var(--s4) 0; border-bottom: 1px solid var(--line-light); }
@media (min-width: 900px) { .teaser-prices > div + div { padding-left: var(--s4); border-left: 1px solid var(--line-light); } }
.teaser-prices .amount { font-family: var(--display); font-weight: 800; font-size: 3.2rem; line-height: 1; margin: .5rem 0 .75rem; }
.teaser-prices .amount small { font-family: var(--sans); font-size: .95rem; font-weight: 500; }

/* ---------- Before / After ---------- */
.ba { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; user-select: none; touch-action: pan-y; background: #000; --pos: 50%; }
.ba-layer { position: absolute; inset: 0; }
.ba-layer img, .ba-layer video { width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-label { position: absolute; top: 14px; z-index: 3; font-size: var(--fs-small); font-weight: 600; padding: .35rem .7rem; border-radius: var(--radius); background: rgba(0,0,0,.55); color: var(--white); }
.ba-label.left { left: 14px; }
.ba-label.right { right: 14px; background: var(--tungsten); color: var(--ink); }
.ba-handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--white); transform: translateX(-1px); pointer-events: none; }
.ba-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; background: var(--white); transform: translate(-50%, -50%); box-shadow: 0 6px 20px rgba(0,0,0,.35); background-image: linear-gradient(90deg, transparent 40%, var(--ink) 40%, var(--ink) 45%, transparent 45%, transparent 55%, var(--ink) 55%, var(--ink) 60%, transparent 60%); background-size: 18px 14px; background-repeat: no-repeat; background-position: center; }
.ba input[type="range"] { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba:focus-within .ba-handle::after { outline: 3px solid var(--tungsten); outline-offset: 2px; }
/* Demo scene — abstract, clearly a demo, not fake work */
.demo-scene { position: absolute; inset: 0; }
.demo-raw { background: linear-gradient(180deg, #8d8b86 0%, #7c7a75 55%, #6c6a66 100%); filter: saturate(.25) contrast(.75) brightness(1.05); }
.demo-raw::before, .demo-graded::before { content: ""; position: absolute; left: 12%; bottom: 0; width: 34%; height: 72%; border-radius: 48% 48% 0 0; background: #5d5b57; }
.demo-raw::after, .demo-graded::after { content: ""; position: absolute; right: 14%; top: 22%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #9e9b95; }
.demo-graded { background: linear-gradient(180deg, #1f2a3a 0%, #3a3a4a 45%, #b36b2a 100%); }
.demo-graded::before { background: #141418; }
.demo-graded::after { background: radial-gradient(circle, #ffd27a, #f2b544 55%, rgba(242,181,68,0) 70%); }
.demo-caption { position: absolute; z-index: 2; left: 50%; bottom: 14%; transform: translateX(-50%); font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 3.4vw, 2.4rem); color: var(--white); background: rgba(0,0,0,.35); padding: .2rem .7rem; border-radius: 6px; white-space: nowrap; }
.demo-caption mark { background: var(--tungsten); color: var(--ink); padding: 0 .25rem; border-radius: 3px; }
.demo-note { margin-top: .9rem; font-size: var(--fs-small); color: var(--muted-on-light); }
.s-dark .demo-note { color: var(--muted-on-dark); }

/* ---------- Two-column feature ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split.wide-left { grid-template-columns: 1.3fr 1fr; } .split.wide-right { grid-template-columns: 1fr 1.35fr; } .split.v-center { align-items: center; } }
.sticky-col { position: sticky; top: calc(var(--header-h) + 2rem); }

.benefits { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-dark); }
@media (min-width: 700px) { .benefits { grid-template-columns: 1fr 1fr; column-gap: var(--s5); } }
.benefits li { padding: var(--s3) 0; border-bottom: 1px solid var(--line-dark); }
.benefits h3 { font-size: 1.2rem; margin-bottom: .35rem; display: flex; gap: .75rem; align-items: baseline; }
.benefits h3::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 50%; background: var(--tungsten); transform: translateY(-1px); }
.benefits p { margin: 0; color: var(--muted-on-dark); font-size: var(--fs-small); }

.media-mosaic { display: grid; gap: 1rem; grid-template-columns: repeat(6, 1fr); }
.media-mosaic > :nth-child(1) { grid-column: span 6; }
.media-mosaic > :nth-child(2), .media-mosaic > :nth-child(3) { grid-column: span 3; }
@media (min-width: 900px) {
  .media-mosaic > :nth-child(1) { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
  .media-mosaic > :nth-child(2), .media-mosaic > :nth-child(3) { grid-column: span 2; }
}

.team-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-grid figure { margin: 0; }
.team-grid figcaption { padding-top: .75rem; font-size: var(--fs-small); }

.callout { border-left: 3px solid var(--tungsten); padding: .25rem 0 .25rem 1.25rem; font-size: var(--fs-lead); max-width: 60ch; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-light); }
.s-dark .faq { border-top-color: var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-light); }
.s-dark .faq details { border-bottom-color: var(--line-dark); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 600; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 18px; height: 18px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform .35s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.5rem; max-width: 70ch; color: var(--muted-on-light); }
.s-dark .faq .answer { color: var(--muted-on-dark); }
.faq details[open] .answer { animation: fadeDown .4s var(--ease-out); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-size: var(--fs-small); font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted-on-light); }
.s-dark .field .opt { color: var(--muted-on-dark); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem .95rem; border-radius: var(--radius);
  border: 1.5px solid #CFCFC9; background: var(--white); color: var(--ink); font-size: 1rem; /* 16px avoids iOS zoom */
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242,181,68,.55); }
.s-dark .field input, .s-dark .field select, .s-dark .field textarea { background-color: var(--charcoal-2); border-color: #46464C; color: var(--white); }
.s-dark .field select { background-image: linear-gradient(45deg, transparent 50%, var(--white) 50%), linear-gradient(135deg, var(--white) 50%, transparent 50%); }
.s-dark .field input:focus, .s-dark .field select:focus, .s-dark .field textarea:focus { border-color: var(--tungsten); }
.field .hint { font-size: var(--fs-xs); color: var(--muted-on-light); }
.s-dark .field .hint { color: var(--muted-on-dark); }
.field .err { font-size: var(--fs-small); color: var(--error); display: none; }
.s-dark .field .err { color: var(--error-on-dark); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.s-dark .field.invalid input, .s-dark .field.invalid select, .s-dark .field.invalid textarea { border-color: var(--error-on-dark); }
.field.invalid .err { display: block; }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 1rem; border: 1.5px solid #CFCFC9; border-radius: 999px; font-size: .9375rem; font-weight: 500; transition: all .2s; background: var(--white); color: var(--ink); }
.choice input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.s-dark .choice span { background: transparent; color: var(--white); border-color: #46464C; }
.s-dark .choice input:checked + span { background: var(--tungsten); color: var(--ink); border-color: var(--tungsten); }
.choice input:focus-visible + span { outline: 2px solid var(--tungsten); outline-offset: 2px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 1rem 1.15rem; border-radius: var(--radius); font-size: var(--fs-small); }
.form-status.show { display: block; }
.form-status.error { background: #FBE9E9; color: #8A1F1F; border: 1px solid #F0C4C4; }
.form-status.notice { background: #FFF6E3; color: #6B4808; border: 1px solid #F2D9A4; }
.form-success { display: none; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-lg); background: var(--charcoal); color: var(--white); }
.form-success.show { display: block; animation: modalIn .5s var(--ease-out); }
.form-success .h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: var(--s2); }
.form-legal { font-size: var(--fs-xs); color: var(--muted-on-light); }
.s-dark .form-legal { color: var(--muted-on-dark); }
.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.25rem, 4vw, 2.75rem); border: 1px solid var(--line-light); }
.selected-plan { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-light); }
.selected-plan strong { font-size: 1.05rem; }

.contact-aside { display: grid; gap: var(--s4); }
.contact-aside .block h3 { margin-bottom: .5rem; }
.contact-aside .block p { margin: 0; }
.config-note { font-size: var(--fs-xs); border: 1px dashed currentColor; border-radius: var(--radius); padding: .5rem .7rem; opacity: .7; }

/* ---------- CTA band + footer ---------- */
.cta-band { padding-block: clamp(5rem, 11vw, 9rem); background: var(--charcoal); color: var(--white); border-top: 1px solid var(--line-dark); }
.cta-band .h1 { max-width: 16ch; margin-bottom: var(--s5); }
.cta-actions { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line-dark); }
@media (min-width: 760px) { .cta-actions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cta-actions { grid-template-columns: repeat(4, 1fr); } }
.cta-action { display: flex; flex-direction: column; gap: .4rem; padding: var(--s3) var(--s3) var(--s3) 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; position: relative; min-height: 132px; transition: color .3s; }
@media (min-width: 1100px) { .cta-action + .cta-action { padding-left: var(--s3); border-left: 1px solid var(--line-dark); } }
.cta-action strong { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; transition: color .3s; }
.cta-action span { font-size: var(--fs-small); color: var(--muted-on-dark); }
.cta-action:hover strong { color: var(--tungsten); }
.cta-action.primary strong { color: var(--tungsten); }

.site-footer { background: #141416; color: var(--white); padding: var(--s6) 0 calc(var(--s4) + env(safe-area-inset-bottom, 0px)); font-size: var(--fs-small); }
.footer-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h2 { font-size: var(--fs-small); font-weight: 600; color: var(--muted-on-dark); margin-bottom: var(--s2); }
.footer-grid ul { display: grid; gap: .55rem; }
.footer-grid a { text-decoration: none; color: rgba(255,255,255,.85); }
.footer-grid a:hover { color: var(--tungsten); }
.footer-brand p { color: var(--muted-on-dark); max-width: 34ch; }
.footer-bottom { margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--muted-on-dark); }
.footer-bottom .tagline { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--white); }

/* ---------- Floating CTA / WhatsApp ---------- */
.float-cta { position: fixed; z-index: 90; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); display: flex; gap: .5rem; align-items: center; transform: translateY(140%); transition: transform .5s var(--ease-out); }
.float-cta.show { transform: none; }
.float-cta .btn { box-shadow: 0 12px 30px -10px rgba(0,0,0,.55); }
.wa-btn { width: 52px; height: 52px; border-radius: 50%; background: #25D366; display: grid; place-content: center; box-shadow: 0 12px 30px -10px rgba(0,0,0,.55); transition: transform .25s var(--ease); }
.wa-btn:hover { transform: scale(1.06); }
.wa-btn svg { width: 26px; height: 26px; fill: #fff; }
@media (max-width: 699px) {
  .float-cta { left: 1rem; right: 1rem; }
  .float-cta .btn { flex: 1; }
}
body.no-float .float-cta { display: none; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; z-index: 120; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); max-width: 560px; background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.cookie[hidden] { display: none; }
.cookie p { font-size: var(--fs-small); }
.cookie .btn-row .btn { flex: 1; }

/* ---------- Scroll reveal (headings only — restrained) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: var(--s2); } .mt-3 { margin-top: var(--s3); } .mt-4 { margin-top: var(--s4); } .mt-5 { margin-top: var(--s5); }
.mb-0 { margin-bottom: 0; } .mb-3 { margin-bottom: var(--s3); } .mb-4 { margin-bottom: var(--s4); }
.center { text-align: center; }
.legal { max-width: 74ch; }
.legal h2 { font-size: 1.5rem; margin: 2.2rem 0 .75rem; }
.legal .notice-box { border: 1px dashed var(--tungsten-deep); padding: 1rem; border-radius: var(--radius); background: #FFF8EA; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.project-facts .full { grid-column: 1 / -1; }

/* ---------- Real project media + photo viewer ---------- */
.photo-count { position: absolute; z-index: 2; right: 12px; bottom: 12px; font-size: var(--fs-xs); font-weight: 600; padding: .3rem .6rem; border-radius: 999px; background: rgba(15,15,16,.72); color: var(--white); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.project-lead { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.project-lead img { width: 100%; max-height: 62svh; object-fit: contain; margin: 0 auto; }
.project-lead .zoom { position: absolute; right: 12px; bottom: 12px; font-size: var(--fs-xs); font-weight: 600; padding: .35rem .7rem; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); }
.project-photos button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; display: block; }
.project-photos button img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .6s var(--ease-out), opacity .3s; }
.project-photos button:hover img { transform: scale(1.05); }
dialog.lightbox { width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; margin: 0; border-radius: 0; background: #0B0B0C; color: var(--white); display: none; place-items: center; overflow: hidden; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
dialog.lightbox[open] { display: grid; }
dialog.lightbox img { max-width: calc(100vw - 2rem); max-height: calc(100svh - 7rem); object-fit: contain; border-radius: 2px; }
.lb-close { position: absolute; top: calc(1rem + env(safe-area-inset-top, 0px)); right: 1rem; z-index: 2; color: var(--white); border-color: rgba(255,255,255,.35); }
.lb-close:hover { background: rgba(255,255,255,.12); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(15,15,16,.55); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-content: center; padding-bottom: 4px; }
.lb-nav:hover { background: var(--tungsten); color: var(--ink); border-color: var(--tungsten); }
.lb-prev { left: 1rem; } .lb-next { right: 1rem; }
.lb-caption { position: absolute; left: 0; right: 0; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); text-align: center; font-size: var(--fs-small); color: rgba(255,255,255,.75); margin: 0; padding: 0 4.5rem; }
@media (max-width: 699px) { .lb-nav { top: auto; bottom: calc(3.25rem + env(safe-area-inset-bottom, 0px)); transform: none; } }

/* Exactly three projects: three equal columns on desktop */
@media (min-width: 1100px) {
  .work-grid > div.work-item:first-of-type:nth-last-of-type(3),
  .work-grid > div.work-item:first-of-type:nth-last-of-type(3) ~ div.work-item { grid-column: span 4; }
}

/* Vertical before/after (9:16 content) */
.ba.ba-vertical { aspect-ratio: 768 / 1360; width: min(100%, calc(78svh * 768 / 1360), 470px); margin-inline: auto; }
.ba-notes { display: grid; gap: .6rem; }
.ba-notes li { padding-left: 1.4rem; position: relative; }
.ba-notes li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--tungsten-deep); }

/* ---------- Inner page covers ---------- */
.page-hero-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr; align-items: center; }
.page-hero.has-cover .h1 { max-width: 14ch; font-size: clamp(2.8rem, 5.4vw, 5.2rem); }
.page-cover { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--charcoal-3); }
.page-cover img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); opacity: 0; transition: transform 1.6s var(--ease-out), opacity 1s var(--ease); }
.page-cover.is-in img { transform: none; opacity: 1; }
.no-js .page-cover img { transform: none; opacity: 1; }
.page-cover::before, .page-cover::after { z-index: 2; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: 1.05fr 1fr; } .page-cover { aspect-ratio: 5 / 4; } }
.reel-cover { margin: var(--s5) 0 0; position: relative; aspect-ratio: 1920 / 818; border-radius: var(--radius); overflow: hidden; background: #000; }
.reel-cover video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 699px) { .reel-cover { aspect-ratio: 16 / 9; margin-inline: calc(var(--gutter) * -1); border-radius: 0; } }
@media (prefers-reduced-motion: reduce) { .page-cover img { transform: none; opacity: 1; } }

/* ---------- Express service band ---------- */
.express { background: var(--tungsten); color: var(--ink); padding-block: clamp(4rem, 9vw, 7rem); position: relative; overflow: hidden; }
.express::before { /* diagonal "fast-forward" streaks */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
  background: repeating-linear-gradient(115deg, transparent 0 46px, var(--ink) 46px 48px);
  mask-image: linear-gradient(90deg, transparent 35%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%);
}
.express-grid { position: relative; display: grid; gap: var(--s4); grid-template-columns: 1fr; align-items: end; }
@media (min-width: 960px) { .express-grid { grid-template-columns: 1.1fr 1fr; gap: var(--s6); } }
.express .h1 { max-width: 11ch; }
.express-kicker { font-weight: 600; font-size: var(--fs-small); margin-bottom: var(--s2); display: inline-flex; align-items: center; gap: .5rem; }
.express-kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); animation: rec 1.4s steps(2, start) infinite; }
@keyframes rec { to { visibility: hidden; } }
.express .lead { margin-bottom: var(--s2); }
.express-miracles { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; margin-bottom: var(--s2); }
.express-note { font-size: var(--fs-small); max-width: 52ch; opacity: .8; margin: 0; }
.express .btn-ghost { --btn-fg: var(--ink); --btn-bd: var(--ink); }
.express .btn-ghost::before { background: var(--ink); }
.express .btn-ghost:hover { color: var(--tungsten); }
.express :focus-visible { outline-color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .express-kicker::before { animation: none; } }
.price-group, #express { scroll-margin-top: calc(var(--header-h) + 5.5rem); }

/* ---------- Inner page covers as full-bleed backgrounds (like the home showreel) ---------- */
.page-hero.has-cover { min-height: min(88svh, 860px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 5rem); padding-bottom: clamp(3.5rem, 8vw, 6.5rem); }
.cover-media { position: absolute; inset: 0; z-index: -1; background: #0F0F10; }
.cover-media img, .cover-media video { width: 100%; height: 100%; object-fit: cover; animation: coverIn 2.2s var(--ease-out) both; }
.cover-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,15,16,.88) 0%, rgba(15,15,16,.62) 42%, rgba(15,15,16,.2) 100%),
              linear-gradient(180deg, rgba(15,15,16,.55) 0%, rgba(15,15,16,0) 30%, rgba(15,15,16,.55) 100%); }
@keyframes coverIn { from { transform: scale(1.07); opacity: 0; } to { transform: none; opacity: 1; } }
.page-hero.has-cover .page-hero-text { max-width: 760px; }
.page-hero.has-cover .h1 { max-width: 14ch; font-size: clamp(3rem, 6.6vw, 6.4rem); }
.page-hero.has-cover .lead { color: rgba(255,255,255,.9); }
.page-hero.has-cover .crumb { color: rgba(255,255,255,.75); }
@media (max-width: 699px) {
  .page-hero.has-cover { min-height: 92svh; }
  .cover-media::after { background: linear-gradient(180deg, rgba(15,15,16,.55) 0%, rgba(15,15,16,.6) 40%, rgba(15,15,16,.9) 100%); }
}
@media (prefers-reduced-motion: reduce) { .cover-media img, .cover-media video { animation: none; } }

.founder-photo { margin: 0; aspect-ratio: 4 / 5; max-width: 520px; width: 100%; }
.founder-photo img { object-position: 50% 20%; }
@media (min-width: 960px) { .founder .founder-photo { justify-self: end; } }
