/* ASCANIA FILMS — stylesheet */

:root {
  --black: #0B0A09;
  --deep: #14110E;
  --white: #F3EEE6;
  --text-2: var(--white);   /* no grey text anywhere */
  --meta: var(--white);
  --line: rgba(243, 238, 230, 0.13);
  --line-2: rgba(243, 238, 230, 0.3);
  --amber: #E39A4C;
  --aurora: #35D5A5;   /* northern-light green */
  --violet: #A98BFF;   /* hover colours rotate evenly between amber, green and violet */
  --menu-bg: #171717;

  /* names still used by inline styles inside the pages */
  --bg: var(--black); --text: var(--white); --text-secondary: var(--text-2);
  --divider: var(--line); --card-bg: var(--black); --accent: var(--amber);

  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --pad: 4vw;
  --max: 1440px;
  --gap: clamp(5rem, 9vw, 8.5rem);
  --head-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Type scale: one family, one rhythm */
  --fs-h1: clamp(2.25rem, 3.6vw, 3.5rem);
  --fs-h2: clamp(1.9rem, 2.8vw, 2.75rem);
  --fs-h3: clamp(1.3rem, 1.6vw, 1.55rem);
  --fs-lead: clamp(1.15rem, 1.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  /* Showreel framing: the background film is scaled to this picture ratio so its
     letterbox bars fall outside the screen. 2.39 suits a scope-framed reel. */
  --reel-ratio: 2.39;
  color-scheme: dark;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); -webkit-text-size-adjust: 100%; }
html.menu-open, html:has(.menu-overlay.open) { overflow: hidden; }
body { background: var(--black); color: var(--white); font-family: var(--font); font-size: var(--fs-body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--hl, var(--amber)); outline-offset: 4px; }
::selection { background: var(--amber); color: #000; }

/* Film grain over everything */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* Scroll rise */
.rise { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.rise.in { opacity: 1; transform: none; }
.works-grid .card:nth-child(even).rise { transition-delay: .08s; }
p { max-width: 62ch; }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: var(--fs-h2); }
h3, h4 { font-size: var(--fs-h3); letter-spacing: -0.01em; line-height: 1.25; }

.reveal, .reveal.visible { opacity: 1; }
.sec-label, .sec-line, .promo-bar, .hero-thumb, .hero-overlay, .hero-play, .logline-rule, .card-play, .svc-ic, .trusted-label, .rs-name, .sd-label, .offer-label { display: none !important; }

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--font); font-stretch: 125%; font-weight: 700;
  font-size: clamp(1.3rem, 1.7vw, 1.75rem); letter-spacing: 0.08em; line-height: 1;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
}

/* ---------- Header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 120; height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad);
  color: #fff; mix-blend-mode: difference;   /* logo and MENU invert against whatever scrolls beneath */
  pointer-events: none;
}
.site-head > * { pointer-events: auto; }
.site-head { transition: transform .45s var(--ease); }
.site-head.head-hidden { transform: translateY(-110%); }
.head-right { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 2.8rem); }
.head-cta { font-size: clamp(1.15rem, 1.4vw, 1.4rem); font-weight: 400; letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none; line-height: 1; padding: 0.7rem 0; }
.head-cta:hover { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.menu-btn {
  background: none; border: 0; cursor: pointer; min-height: 44px; color: inherit;
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: clamp(1.15rem, 1.4vw, 1.4rem); font-weight: 400; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1;
}
.menu-btn .mb-close, .menu-btn.open .mb-open { display: none; }
.menu-btn.open .mb-close { display: inline; }
.mb-lines { position: relative; width: 22px; height: 22px; transition: transform .5s var(--ease); }
.mb-lines i { position: absolute; left: 50%; top: 50%; width: 20px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.mb-lines i:last-child { transform: translate(-50%, -50%) rotate(90deg); }
.menu-btn:hover .mb-lines { transform: rotate(180deg); }
.menu-btn.open .mb-lines { transform: rotate(45deg); }

/* ---------- Drop-down menu ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 110; pointer-events: none; visibility: hidden;
  background: rgba(0,0,0,0); transition: background .5s var(--ease), visibility 0s .65s;
}
.menu-overlay.open { pointer-events: auto; visibility: visible; background: rgba(0,0,0,.55); transition: background .5s var(--ease), visibility 0s; }
.mo-panel {
  background: var(--menu-bg); border-bottom: 1px solid var(--line);
  padding: calc(var(--head-h) + 2.5rem) var(--pad) 3rem;
  max-height: 100vh; overflow-y: auto;
  transform: translateY(-101%); transition: transform .65s var(--ease);
}
.menu-overlay.open .mo-panel { transform: none; }
.mo-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.5rem 4rem; align-items: start; }
.mo-main, .mo-second, .mo-small { list-style: none; }
.mo-main a { display: inline-block; font-size: clamp(1.7rem, 3.2vw, 2.9rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.22; text-decoration: none; transition: color .25s, opacity .25s; }
.mo-main a:hover, .mo-main a:focus-visible { color: var(--hl, var(--amber)); }
.mo-side { display: grid; gap: 2.2rem; padding-top: 0.5rem; }
.mo-second a { font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 500; line-height: 1.6; text-decoration: none; }
.mo-second a:hover, .mo-small a:hover { color: var(--hl, var(--amber)); }
.mo-small { display: grid; gap: 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.mo-small a { color: var(--meta); font-size: var(--fs-small); text-decoration: none; display: inline-block; padding: 0.35rem 0; }
.menu-overlay.open .mo-inner > * { animation: moIn .7s .15s var(--ease) both; }
.menu-overlay.open .mo-side { animation-delay: .25s; }
@keyframes moIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
html.menu-open, html:has(.menu-overlay.open) { overflow: hidden; }

/* ---------- Hero: showreel fills the whole screen ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end; padding: 0 var(--pad) clamp(1.8rem, 4.5vh, 3rem);
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--deep); }
/* The film box is 16:9 (the player), sized so the picture inside it — reel-ratio wide — covers the screen */
.hero-media iframe, .hero-poster {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: max(100vw, calc(100svh * var(--reel-ratio)));
  height: calc(max(100vw, calc(100svh * var(--reel-ratio))) * 9 / 16);
}
.hero[data-cf="bbe6b166eeb8e0a77e27a2d6abda1b01"] { --w: max(100vw, calc(100svh * 2.9)); }
.hero[data-cf="bbe6b166eeb8e0a77e27a2d6abda1b01"] .hero-media iframe,
.hero[data-cf="bbe6b166eeb8e0a77e27a2d6abda1b01"] .hero-poster {
  /* this film has burnt-in subtitles: framed tighter and lower so they sit below the screen edge */
  width: var(--w); height: calc(var(--w) * 9 / 16);
  transform: translate(-50%, calc(-50% + var(--w) * 0.025));
}
.hero-poster { background-size: cover; background-position: center; transition: opacity .8s var(--ease) .1s; }
.hero-media iframe { border: 0; pointer-events: none; opacity: 0; transition: opacity .8s var(--ease); }
.hero.video-on .hero-media iframe { opacity: 1; }
.hero.video-on .hero-poster { opacity: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(11,10,9,.85) 0%, rgba(11,10,9,0) 45%), radial-gradient(ellipse at center, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%); }
.hero-bar { width: 100%; max-width: var(--max); margin: 0 auto; padding-right: 4rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.hero h1 { max-width: 22ch; }
.hero h1 a { text-decoration: none; }
.hero h1 a:hover { color: var(--hl, var(--amber)); }
.hero h1 .sep { margin: 0 0.3em; font-weight: 300; }
.reel-btn { flex: 0 0 auto; background: none; border: 0; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 0.8rem; font-size: 1rem; font-weight: 500; }
.reel-ic { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; transition: background .3s, color .3s; }
.reel-ic svg { width: 12px; height: 12px; fill: currentColor; margin-left: 2px; }
.reel-btn:hover .reel-ic { background: var(--hl, var(--amber)); color: #000; border-color: var(--hl, var(--amber)); }

/* ---------- Sections ---------- */
section { padding: var(--gap) var(--pad); }
.centered, .detail-inner, .copy-inner, .reviews-inner, .about-wrap, .contact-wrap, .manifesto-inner, .shoot-day-inner, .fpv-embed-inner, .works-grid, .services-grid, .process-grid, .fit-grid, .snap-card, .get-ideas-line, .fit-skip, .strategy-price { max-width: var(--max); margin-left: auto; margin-right: auto; }
.centered { margin-bottom: 2.5rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0.8rem 1.8rem;
  font-size: 1rem; font-weight: 500; text-decoration: none; color: var(--white); background: none;
  border: 1px solid var(--line-2); border-radius: 0; cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--hl, var(--white)); color: #000; border-color: var(--hl, var(--white)); }
.btn-primary { background: var(--amber); color: #000; border-color: var(--amber); }
.btn-primary:hover { background: var(--hl, var(--aurora)); color: #000; border-color: var(--hl, var(--aurora)); }

/* ---------- Films ---------- */
.works { padding-top: clamp(1rem, 2vw, 1.6rem); }
.works .centered { display: none; }
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(0.8rem, 1.4vw, 1.4rem); }
.card { display: block; width: 100%; background: none; border: 0; cursor: pointer; text-align: left; color: var(--white); }
.card-thumb { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #111; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9) brightness(0.9); transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.card-thumb::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; transition: box-shadow .4s; }
.card:hover .card-thumb::after { box-shadow: inset 0 0 0 1px var(--hl, var(--amber)); }
.card:hover .card-thumb img { filter: none; }
.card:hover .card-title { color: var(--hl, var(--amber)); }
.card-title { transition: color .35s; }
.card-meta { display: block; padding: 0.9rem 0 0.4rem; }
.card-tag { display: none; }
.card-title { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.card-tag { font-size: var(--fs-small); color: var(--meta); white-space: nowrap; }
.card:hover .card-thumb img, .card:focus-visible .card-thumb img { transform: scale(1.03); }
/* films with burnt-in subtitles: thumbnail framed from the top so the subtitle line is cropped off */
.card.crop-subs .card-thumb img { transform-origin: 50% 0; transform: scale(1.3); }
.card.crop-subs:hover .card-thumb img { transform: scale(1.33); }
.works-bg { display: none; }

/* ---------- Services (index) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem clamp(2rem, 4vw, 4rem); }
.svc-card { display: flex; flex-direction: column; gap: 0.9rem; padding-top: 1.5rem; border-top: 1px solid var(--line-2); text-decoration: none; }
.svc-card h3 { font-size: var(--fs-h3); }
.svc-card p { color: var(--text-2); }
.svc-more { margin-top: auto; padding-top: 0.5rem; font-weight: 500; text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: var(--line-2); }
.svc-card:hover .svc-more { text-decoration-color: var(--hl, var(--amber)); color: var(--hl, var(--amber)); }
.get-ideas-line { margin-top: clamp(3rem, 6vw, 5rem); display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--line); font-size: var(--fs-lead); }

/* ---------- Strategy page steps ---------- */
.process-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem clamp(2rem, 4vw, 4rem); }
.step { border-top: 1px solid var(--line-2); padding-top: 1.4rem; }
.step-num { font-size: var(--fs-small); color: var(--meta); margin-bottom: 0.8rem; }
.step h4 { margin-bottom: 0.6rem; }
.step p { color: var(--text-2); }

/* ---------- Manifesto ---------- */
.manifesto-inner { max-width: var(--max); }
.manifesto-inner > * { max-width: 760px; }
.manifesto .mf-lead { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 1.8rem; max-width: 26ch; color: var(--white); }
.manifesto p { color: var(--text-2); font-size: var(--fs-lead); margin-bottom: 1.1rem; }
.manifesto .mf-cta { color: var(--white); font-weight: 500; margin-top: 1.4rem; }

/* ---------- Service detail ---------- */
.detail-head { margin-bottom: 3rem; }
.detail-head h2 { margin-bottom: 1.1rem; max-width: 24ch; }
.detail-lede { color: var(--text-2); font-size: var(--fs-lead); }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem clamp(2rem, 4vw, 4rem); margin-bottom: 2.5rem; }
.d-card { border-top: 1px solid var(--line-2); padding-top: 1.3rem; }
.d-card h4 { margin-bottom: 0.5rem; }
.d-card p { color: var(--text-2); }

.shoot-day-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem clamp(2rem, 5vw, 5rem); }
.sd-text h2 { margin-bottom: 1.1rem; }
.sd-text p { color: var(--text-2); font-size: var(--fs-lead); }
.sd-list { list-style: none; }
.sd-list li { border-top: 1px solid var(--line); padding: 0.95rem 0; }
.sd-list li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- Pages without a showreel ---------- */
.pricing-head, .legal { padding-top: calc(var(--head-h) + clamp(3rem, 7vw, 6rem)); }
.pricing-head.after-hero { padding-top: var(--gap); }
.pricing-head h1 { max-width: 22ch; margin-bottom: 1.5rem; }
.pricing-head p { color: var(--text-2); font-size: var(--fs-lead); }
.epd-badge { font-size: var(--fs-small) !important; color: var(--meta) !important; margin: -0.4rem 0 1.4rem !important; }
.lp-bar { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; color: var(--text-2); }
.lp-item:has(> strong:empty:only-child) { display: none; }
.fpv-embed { padding-top: 0; }
.fpv-embed-inner { display: grid; gap: 1.2rem; }
.embed { position: relative; aspect-ratio: 16 / 9; background: #111; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Strategy */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem clamp(2rem, 5vw, 5rem); }
.fit-card { border-top: 1px solid var(--line-2); padding-top: 1.4rem; }
.fit-card h3 { margin-bottom: 1rem; }
.fit-card ul { list-style: none; }
.fit-card li { color: var(--text-2); padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.fit-skip { margin-top: 2rem; color: var(--text-2); }
.sp-num { font-size: var(--fs-h1); font-weight: 600; letter-spacing: -0.02em; }
.sp-tag { display: block; margin-top: 0.4rem; color: var(--meta); }
.strategy-price p { color: var(--text-2); margin-top: 1.1rem; font-size: var(--fs-lead); }
.strategy-price .btn { margin-top: 2rem; }
.snap-card { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem clamp(2rem, 5vw, 5rem); }
.snap-text h2 { margin-bottom: 1.1rem; }
.snap-text p { color: var(--text-2); font-size: var(--fs-lead); }

/* Legal */
.legal .copy-inner { max-width: 760px; margin-left: max(0px, calc((100% - var(--max)) / 2)); }
.legal h1 { margin-bottom: 0.6rem; }
.legal .updated { color: var(--meta); margin-bottom: 2.5rem; }
.legal h2 { font-size: var(--fs-h3); margin: 2.2rem 0 0.7rem; }
.legal p, .legal li { color: var(--text-2); margin-bottom: 0.8rem; }
.legal ul { list-style: none; }
.legal strong { color: var(--white); font-weight: 600; }

/* Warmer bands give the page rhythm */
.reviews, .manifesto, .snapshot { background: var(--deep); }

/* ---------- Reviews ---------- */
.trusted-by { margin-bottom: var(--gap); }
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 3.5rem; align-items: center; width: max-content; animation: logoscroll 45s linear infinite; }
.logo-cell { flex: 0 0 auto; width: 130px; height: 44px; display: flex; align-items: center; justify-content: center; }
.logo-cell img { max-width: 100%; max-height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
@keyframes logoscroll { to { transform: translateX(-50%); } }
.reviews-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 3rem clamp(2rem, 5vw, 5rem); }
.rs-excellent { font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; }
.rs-rating { display: flex; align-items: baseline; gap: 0.6rem; margin-top: 0.6rem; }
.rs-score { font-size: var(--fs-h3); font-weight: 600; }
.rs-stars { letter-spacing: 0.08em; color: var(--amber); }
.rs-based { color: var(--meta); font-size: var(--fs-small); }
.rs-buttons { display: grid; gap: 0.6rem; margin-top: 1.5rem; }
.rs-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; font-size: 0.95rem; font-weight: 500; text-decoration: none; border: 1px solid var(--line-2); }
.rs-btn-primary { background: var(--white); color: #000; border-color: var(--white); }
.rs-btn:hover { background: var(--hl, var(--white)); color: #000; border-color: var(--hl, var(--white)); }
.rs-btn-primary:hover { background: none; color: var(--white); }
.review-carousel { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.review-viewport { overflow: hidden; flex: 1; }
.review-track { display: flex; transition: transform .8s var(--ease); }
.greview { flex: 0 0 calc(50% - 1.5rem); margin: 0 0.75rem; display: flex; flex-direction: column; border-top: 1px solid var(--line-2); padding-top: 1.3rem; }
.gr-stars { order: 1; font-size: var(--fs-small); letter-spacing: 0.08em; margin-bottom: 0.8rem; color: var(--amber); }
.gr-text { order: 2; font-size: var(--fs-lead); line-height: 1.55; }
.gr-top { order: 3; margin-top: 1rem; }
.gr-name { font-size: var(--fs-small); color: var(--meta); }
.rc-arrow { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: none; border: 1px solid var(--line-2); font-size: 1.2rem; cursor: pointer; }
.rc-arrow:hover { background: var(--hl, var(--amber)); color: #000; border-color: var(--hl, var(--amber)); }

/* ---------- About ---------- */
.about-wrap .centered { margin-bottom: 2rem; }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 3rem clamp(2rem, 5vw, 5rem); align-items: start; }
.about-photo { width: 100%; filter: grayscale(1); }
.about-text p { color: var(--text-2); font-size: var(--fs-lead); margin-bottom: 1.1rem; }
.about-text a { color: var(--white); }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem clamp(2rem, 6vw, 6rem); }
.contact-left h2 { margin-bottom: 1.2rem; }
.contact-left p { color: var(--text-2); font-size: var(--fs-lead); }
.contact-direct { display: grid; gap: 0.8rem; margin-top: 2rem; }
.contact-direct a { display: inline-flex; align-items: center; gap: 0.8rem; width: fit-content; text-decoration: none; color: var(--text-2); }
.contact-direct a:hover { color: var(--white); }
.contact-direct svg { width: 18px; height: 18px; }
.form-row { margin-bottom: 1.4rem; }
.form-row label { display: block; font-size: var(--fs-small); color: var(--meta); margin-bottom: 0.25rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; min-height: 46px; padding: 0.55rem 0; background: transparent; color: var(--white);
  font: inherit; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; -webkit-appearance: none; appearance: none;
}
.form-row select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--meta) 50%), linear-gradient(135deg, var(--meta) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-row select option { background: var(--black); }
.form-row input::placeholder, .form-row textarea::placeholder { color: transparent; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-bottom-color: var(--hl, var(--amber)); }
.form-row textarea { min-height: 110px; resize: vertical; }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
form .btn-primary { width: 100%; margin-top: 0.5rem; }
.form-note { font-size: var(--fs-small); color: var(--meta); margin-top: 0.9rem; }
.form-success { display: none; padding: 2rem 0; }
.form-success.show { display: block; }
.form-success .tick { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--white); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.form-success .tick svg { width: 22px; height: 22px; stroke: var(--white); fill: none; stroke-width: 2; }
.form-success h3 { margin-bottom: 0.4rem; }
.form-success p { color: var(--text-2); }

/* ---------- Footer ---------- */
.site-foot { padding: clamp(3rem, 6vw, 5rem) var(--pad) 2rem; border-top: 1px solid var(--line); }
.foot-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 2rem 3rem; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 2rem; align-content: start; }
.footer-nav a, .foot-contact a { color: var(--text-2); text-decoration: none; width: fit-content; }
.footer-nav a:hover, .foot-contact a:hover { color: var(--hl, var(--amber)); }
.foot-contact { display: grid; gap: 0.4rem; align-content: start; }
.foot-legal { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--meta); font-size: var(--fs-small); }
.foot-legal a { color: var(--meta); }

/* ---------- Modal + WhatsApp ---------- */
.cf-modal { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.95); display: none; align-items: center; justify-content: center; padding: 5rem 4vw 3rem; }
.cf-modal.open { display: flex; }
.cf-box { position: relative; width: min(1400px, 100%, calc((100vh - 9rem) * 16 / 9)); width: min(1400px, 100%, calc((100svh - 9rem) * 16 / 9)); aspect-ratio: 16 / 9; }
.cf-box iframe { width: 100%; height: 100%; border: 0; }
.cf-close {
  position: fixed; top: 1.2rem; right: 1.2rem; z-index: 210;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: rgba(20,17,14,.85); border: 1px solid var(--line-2); color: var(--white);
  font-size: 1.8rem; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.cf-close:hover { background: var(--hl, var(--amber)); border-color: var(--hl, var(--amber)); color: #000; }
.wa-float { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 100; width: 50px; height: 50px; border-radius: 50%; background: var(--black); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; }
.wa-float svg { width: 22px; height: 22px; fill: var(--white); }
.wa-float:hover { border-color: var(--hl, var(--amber)); }
.wa-float:hover svg { fill: var(--hl, var(--amber)); }
html.menu-open .wa-float, html:has(.menu-overlay.open) .wa-float { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .services-grid, .detail-grid { grid-template-columns: 1fr 1fr; }
  .reviews-layout { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
  .site-foot .wordmark { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --head-h: 66px; --pad: 5vw; }
  .head-cta { display: none; }
  /* films: one swipeable row, each film nearly full width with the next one peeking in */
  .works { padding-left: 0; padding-right: 0; }
  .works-grid {
    display: flex !important; gap: 0.8rem; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-left: var(--pad);
    padding: 0 var(--pad) 0.5rem; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .works-grid::-webkit-scrollbar { display: none; }
  .works-grid .card { flex: 0 0 84%; scroll-snap-align: start; }
  .works-grid .card.rise { opacity: 1; transform: none; }
  .works-count { display: block; }
  /* opening heading: clean lines, clear of the WhatsApp button */
  .hero { padding-bottom: 5.5rem; }
  .hero:not(.hero-page) h1 a { display: block; }
  .hero:not(.hero-page) h1 .sep { display: none; }
  /* bigger tap areas */
  .mo-main a { padding: 0.2rem 0; }
  .mo-second a { display: inline-block; padding: 0.5rem 0; }
  .footer-nav a, .foot-contact a, .foot-legal a { display: inline-block; padding: 0.55rem 0; }
  .footer-nav, .foot-contact { gap: 0 1.5rem; }
  .works-grid, .services-grid, .process-grid, .detail-grid, .fit-grid, .snap-card, .shoot-day-inner, .contact-wrap, .about-grid, .form-grid2, .foot-inner { grid-template-columns: 1fr !important; }
  .mo-inner { grid-template-columns: 1fr; gap: 2rem; }
  .mo-panel { padding-top: calc(var(--head-h) + 1.2rem); }
  .hero-bar { flex-direction: column; align-items: flex-start; gap: 1.2rem; padding-right: 0; }
  .greview { flex: 0 0 calc(100% - 1.5rem); }
  .footer-nav { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

.wordmark sup { font-size: 0.45em; font-weight: 500; letter-spacing: 0; vertical-align: super; margin-left: 0.15em; }

.works-count { display: none; margin: 0.9rem var(--pad) 0; font-size: var(--fs-small); }
@media (max-width: 760px) { .works-count { display: block; } }

/* Logo: header (inverts with the header like MENU +) and footer */
:root { --head-h: 128px; }
.head-logo { display: inline-flex; align-items: center; line-height: 0; padding: 0.4rem 0; }
.head-logo img { height: clamp(84px, 7.4vw, 108px); width: auto; display: block; }
.foot-logo { position: relative; display: inline-block; width: fit-content; line-height: 0; text-decoration: none; }
.foot-logo img { height: clamp(120px, 11vw, 160px); width: auto; display: block; }
.foot-logo sup { position: absolute; top: 0; right: -1.3em; font-size: 0.95rem; line-height: 1; font-weight: 500; }
@media (max-width: 760px) {
  :root { --head-h: 96px; }
  .head-logo img { height: 74px; }
  .foot-logo img { height: 120px; }
}
