/* BP Visuals v2 — smoother, more dynamic redesign */
@font-face { font-family: "Poppins"; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }

:root {
  --sand: #d5d2cd;
  --sand-light: #e8e6e2;
  --paper: #f6f5f2;
  --accent: #9c8b7e;
  --accent-dark: #7d6d61;
  --ink: #141414;
  --ink-soft: #3a3835;
  --muted: #6f6a64;
  --line: rgba(20, 20, 20, 0.12);
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
  background: var(--paper); color: var(--ink-soft);
  font: 300 clamp(15px, 1.05vw, 17px)/1.75 "Poppins", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 0.5em; color: var(--ink); font-weight: 500; line-height: 1.08; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 150px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: rgba(255, 255, 255, 0.72); }
.section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.6; color: var(--ink-soft); max-width: 46ch; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(40px, 6vw, 72px); flex-wrap: wrap; }
.section-head h2 { max-width: 16ch; margin: 0; }
.section-head p { max-width: 42ch; margin: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: #fff; padding: 8px 12px; }

/* Buttons */
.btn {
  --bg: var(--accent); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden;
  padding: 15px 28px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font: 400 0.9rem/1 "Poppins", sans-serif; letter-spacing: 0.01em;
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(0,0,0,.35); background: var(--accent-dark); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { --bg: var(--ink); }
.btn--dark:hover { background: #000; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 400; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color .3s, gap .3s var(--ease); }
.link-arrow:hover { border-color: var(--ink); gap: 14px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: background .4s, box-shadow .4s, color .4s, transform .5s var(--ease); color: var(--ink); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.site-title { display: inline-flex; align-items: center; gap: 11px; font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; color: inherit; }
.site-mark { width: 30px; height: 30px; flex: 0 0 auto; }
.site-title .site-name span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { position: relative; font-size: 0.9rem; font-weight: 400; text-decoration: none; color: inherit; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: 11px 20px; color: #fff; }
.has-hero .site-header:not(.is-scrolled) { color: #fff; }
.site-header.is-scrolled { background: rgba(246, 245, 242, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-toggle { display: none; position: relative; z-index: 2; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
body:not(.has-hero) main { padding-top: var(--header-h); }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; background: var(--ink); color: #fff; clip-path: circle(0 at calc(100% - 42px) 38px); transition: clip-path .7s var(--ease); }
  .nav a { font-size: 2rem; font-weight: 500; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
  .nav .btn { font-size: 1rem; }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 42px) 38px); }
  .menu-open .nav a { opacity: 1; transform: none; }
  .menu-open .nav a:nth-child(2) { transition-delay: .06s; }
  .menu-open .nav a:nth-child(3) { transition-delay: .12s; }
  .menu-open .nav a:nth-child(4) { transition-delay: .18s; }
  .menu-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .menu-open { overflow: hidden; }
}

/* Hero */
.hero { position: relative; min-height: clamp(560px, 100svh, 1080px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #0d0d0d; }
.hero video, .hero .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.1) 35%, rgba(0,0,0,.72) 100%); }
.hero-content { position: relative; z-index: 1; padding-bottom: clamp(56px, 10vh, 120px); padding-top: calc(var(--header-h) + 40px); }
.hero .hero-kicker { color: var(--sand); }
.hero-title { margin: 0 0 0.5em; color: #fff; max-width: 13ch; font-size: clamp(2.6rem, 6.4vw, 6rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.025em; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: block; transform: translateY(105%); animation: rise 1.5s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title .line:nth-child(3) > span { animation-delay: .24s; }
.hero-title em { font-style: normal; color: var(--sand); }
.hero .lead { color: rgba(255,255,255,.82); margin-bottom: 34px; opacity: 0; animation: fadeUp 1.4s .6s var(--ease) forwards; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: fadeUp 1.4s .9s var(--ease) forwards; }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); text-decoration: none; }
.scroll-cue i { width: 1px; height: 54px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes rise { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes scrollLine { to { top: 110%; } }
@media (max-width: 700px) { .scroll-cue { display: none; } }

/* Page hero (sub pages) */
.page-hero { padding: clamp(64px, 10vw, 130px) 0 clamp(40px, 6vw, 80px); }
.page-hero h1 { max-width: 14ch; }
.page-hero .lead { margin-top: 10px; }

/* 360° video */
.pano { position: relative; margin: clamp(48px, 7vw, 90px) 0 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0d0d0d; box-shadow: 0 40px 90px -45px rgba(0,0,0,.55); }
.pano iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* The icon's centre sits exactly on the video centre, covering Vimeo's play/pause button */
.pano-hint { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; padding: 8px; border-radius: 999px; background: rgba(20,20,20,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 0.8rem; white-space: nowrap; cursor: grab; }
.pano-text { overflow: hidden; max-width: 320px; margin-left: 10px; padding-right: 8px; animation: hintText .8s 2s var(--ease) forwards; animation-play-state: paused; }
.pano-hint { animation: badgeOut .5s 3.2s var(--ease) forwards; animation-play-state: paused; }
.is-playing .pano-hint, .is-playing .pano-text { animation-play-state: running; }
.pano-icon { flex: 0 0 auto; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); font-size: 0.72rem; font-weight: 500; animation: spinHint 3s var(--ease) infinite; }
@keyframes spinHint { 0%, 60%, 100% { transform: rotate(0); } 30% { transform: rotate(-20deg); } 45% { transform: rotate(20deg); } }
@keyframes hintText { to { max-width: 0; margin-left: 0; padding-right: 0; opacity: 0; } }
/* The 360° player is 2:1 and letterboxes inside 16:9: oversize the iframe so it fills the frame,
   cropping mostly on the left so Vimeo's 360°/reset-view controls on the right stay visible. */
/* The 360° player is 2:1 and letterboxes inside a 16:9 frame. A 2:1 iframe that is 114% wide
   exactly covers the frame height; centre it and overscan 1% so no black edge shows. */
/* The 360° player is 2:1. Render the iframe 1.5x wider than the frame (sharper stream) and
   centre it: the letterboxing and Vimeo's 360° compass at the player's right edge fall outside. */
figure.pano iframe, .plan-video.plan-video--pano iframe { position: absolute; inset: auto; max-width: none; transform: none; width: 230%; height: 115%; left: -14%; top: -7.5%; }
.pano-drag { position: absolute; inset: 0; z-index: 1; cursor: grab; touch-action: none; }
.pano-drag.is-dragging { cursor: grabbing; }
@media (max-width: 600px) { .pano { aspect-ratio: 1 / 1; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: clamp(48px, 7vw, 90px); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 500; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.stat span { font-size: 0.85rem; color: var(--muted); }
.stats--center .stat { text-align: center; padding: 28px 24px 0; }
.stats--center .stat span { display: block; max-width: 26ch; margin: 0 auto; }
.pano + .sound-hint--below, .contact-video + .sound-hint--below { margin: 20px auto; }
.sound-hint--below + .stats { margin-top: 0; }
@media (max-width: 760px) {
  .stats.stats--center { grid-template-columns: 1fr; }
  .stats--center .stat { border-left: 0 !important; padding: 24px 0 0; }
  .stats--center .stat + .stat { border-top: 1px solid var(--line); margin-top: 24px; }
}
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
}

/* Intro split */
.intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: end; }
.intro h2 { margin: 0; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* Sector cards */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.sector { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.78) 100%); transition: opacity .5s; }
.sector:hover img { transform: scale(1.08); }
.sector-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.4vw, 32px); }
.sector-body .num { font-size: 0.75rem; letter-spacing: .18em; opacity: .7; }
.sector h3 { color: #fff; margin: 6px 0 0; }
.sector p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,.82); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .5s, margin .5s; }
.sector:hover p, .sector:focus-visible p { max-height: 9em; opacity: 1; margin-top: 12px; }
@media (hover: none) { .sector p { max-height: none; opacity: 1; margin-top: 12px; } }
@media (max-width: 860px) { .sectors { grid-template-columns: 1fr; } .sector { aspect-ratio: 4 / 3; } }

/* Partners marquee */
.partners { padding: clamp(48px, 6vw, 80px) 0; background: #fff; border-block: 1px solid var(--line); overflow: hidden; }
.partners p { text-align: center; font-size: 0.75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
/* Each logo slot is ≥ 1/6 of the screen, so one set of 8 is always wider than the screen
   and the duplicate set (needed for a seamless loop) never shows a logo twice at once. */
.marquee ul { display: flex; align-items: center; padding: 0; margin: 0; list-style: none; }
.marquee li { flex: 0 0 auto; width: clamp(180px, 17vw, 420px); display: grid; place-items: center; }
.marquee img { height: 40px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .4s, opacity .4s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Work gallery */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.work { position: relative; grid-column: span 4; border: 0; padding: 0; margin: 0; background: #000; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 16 / 10; color: #fff; text-align: left; font: inherit; }
.work:nth-child(1), .work:nth-child(2) { grid-column: span 6; }
.work img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform 1.1s var(--ease), opacity .5s; }
.work::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.75)); }
.work:hover img { transform: scale(1.06); opacity: 1; }
.work-meta { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(16px, 2vw, 26px); display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.work-meta strong { display: block; font-weight: 500; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.25; }
.work-meta small { font-size: 0.75rem; opacity: .75; letter-spacing: .04em; }
.play { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); transition: transform .5s var(--ease), background .3s; }
.play svg { width: 16px; height: 16px; fill: #fff; margin-left: 3px; }
.work:hover .play, .service-media:hover .play { transform: scale(1.12); background: var(--accent); }
.work--text { background: radial-gradient(120% 90% at 20% 10%, #3a3430 0%, #141414 60%); }
.work-title-card { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; color: rgba(255,255,255,.14); text-align: center; transition: color .6s, transform 1.1s var(--ease); }
.work--text:hover .work-title-card { color: rgba(213,210,205,.3); transform: scale(1.04); }
.work--text .work-meta small { color: var(--sand); }
.tag-res { position: absolute; z-index: 1; top: 16px; left: 16px; font-size: 0.68rem; font-weight: 500; letter-spacing: .12em; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); }
@media (max-width: 900px) { .work, .work:nth-child(1), .work:nth-child(2) { grid-column: span 6; } }
@media (max-width: 600px) { .work, .work:nth-child(1), .work:nth-child(2) { grid-column: span 12; } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 36px); counter-reset: step; }
.step { position: relative; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.18); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 0.8rem; letter-spacing: .15em; color: var(--accent); margin-bottom: 20px; }
.step::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--accent); transition: width 1.9s var(--ease); }
.step.is-visible::after { width: 100%; }
.step h3 { margin-bottom: 12px; }
.step p { font-size: 0.92rem; margin: 0; }
.section:not(.section--dark) .step { border-top-color: var(--line); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Pilot */
.pilot { position: relative; overflow: hidden; color: #fff; }
.pilot-bg { position: absolute; inset: -12% 0; background: url("../img/brand-bg-1400.jpg") center / cover no-repeat; will-change: transform; }
@media (max-width: 820px) { .pilot-bg { background-image: url("../img/brand-bg-800.jpg"); } }
.pilot::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.45) 60%, rgba(10,10,10,.25) 100%); }
.pilot .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.pilot h2 { color: #fff; }
.pilot p { color: rgba(255,255,255,.8); max-width: 44ch; }
.pilot-card { display: flex; gap: 20px; align-items: center; margin: 30px 0; }
.pilot-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.pilot-card strong { display: block; color: #fff; font-weight: 500; }
.pilot-card span { font-size: 0.85rem; color: rgba(255,255,255,.7); }
.pilot-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pilot .work { grid-column: auto; aspect-ratio: 16 / 9; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.pilot-reel { display: block; width: 100%; max-width: 440px; margin-top: 36px; }
.pilot-bg { background-position: 70% center; }
@media (max-width: 860px) { .pilot .wrap { grid-template-columns: 1fr; } }

/* Intake / contact */
.intake { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.person { display: flex; align-items: center; gap: 18px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.person img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.person strong { display: block; color: var(--ink); font-weight: 500; }
.person a { font-size: 0.85rem; color: var(--accent-dark); }
.contact-lines { display: grid; gap: 4px; margin-top: 28px; }
.contact-lines a { font-size: clamp(1.1rem, 1.7vw, 1.45rem); color: var(--ink); text-decoration: none; font-weight: 400; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact-lines a:hover { background-size: 100% 1px; }
@media (max-width: 900px) { .intake { grid-template-columns: 1fr; } }

.card { background: #fff; border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 3.4vw, 48px); box-shadow: 0 30px 80px -40px rgba(20,20,20,.25); }
.form { display: grid; gap: 18px; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 22px 16px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
  font: 300 1rem "Poppins", sans-serif; color: var(--ink); transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 16px; font-size: 0.95rem; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(156,139,126,.16); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-9px) scale(.72); color: var(--accent-dark); }
.check { display: flex; gap: 10px; align-items: center; font-size: 0.88rem; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.form .btn { justify-self: start; }
.form-status { margin: 0; min-height: 1.5em; font-size: 0.9rem; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 520px) { .form .row-2 { grid-template-columns: 1fr; } }

/* Services rows */
.service-rows { display: grid; gap: clamp(64px, 8vw, 120px); }
/* Desktop: text and video side by side, alternating. Phones/tablets: video under the text. */
.service-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.service-row.reverse { grid-template-columns: 1.15fr 1fr; }
.service-row.reverse .service-text { order: 2; }
.service-row .service-text { max-width: 820px; width: 100%; }
.service-text .num { font-size: 0.8rem; letter-spacing: .15em; color: var(--accent); }
.service-text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-top: 10px; }
.service-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; max-width: 900px; background: #000; cursor: pointer; border: 0; padding: 0; width: 100%; box-shadow: 0 40px 90px -45px rgba(0,0,0,.55); }
.service-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-media:hover video { transform: scale(1.04); }
.service-media .work-meta { color: #fff; }
.service-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.6)); pointer-events: none; }
@media (max-width: 860px) {
  .service-row, .service-row.reverse { grid-template-columns: 1fr; gap: clamp(20px, 4vw, 32px); justify-items: center; }
  .service-row.reverse .service-text { order: 0; }
}

/* CTA band */
.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin: 0 auto 20px; }
.cta p { max-width: 50ch; margin: 0 auto 34px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: 0 30px 80px -50px rgba(20,20,20,.35); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 40px 90px -45px rgba(20,20,20,.45); }
.plan--featured { box-shadow: 0 0 0 2px var(--accent), 0 30px 80px -50px rgba(20,20,20,.35); }
.wrap--wide { max-width: 1560px; }
.plan-video { position: relative; aspect-ratio: 16 / 9; background: #0d0d0d; overflow: hidden; }
.plan-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Frames sized by main.js (cover-fit): the Vimeo player letterboxes inside its iframe, so the
   iframe is made slightly larger than the frame and centred, pushing the black strips outside. */
.plan-video[data-fit] iframe { inset: auto; transform: none; max-width: none; width: 112%; height: 112%; left: -6%; top: -6%; }
/* 360° video is 2:1, which letterboxes in 16:9. A 2:1 iframe of 112.5% width exactly fills the
   height; crop only the left edge so Vimeo's 360°/reset-view controls on the right stay visible. */
.contact-video { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 90px -45px rgba(0,0,0,.55); }
.contact-video .plan-video { border-radius: var(--radius); }

.plan-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.4vw, 34px); }
.plan-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.plan-tier { font-size: 0.75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.plan-badge { font-size: 0.7rem; font-weight: 500; letter-spacing: .06em; padding: 5px 11px; border-radius: 999px; background: var(--accent); color: #fff; }
.plan h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 10px; }
.plan-body > p { font-size: 0.95rem; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 20px !important; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan-price strong { font-size: clamp(2.2rem, 3.2vw, 2.8rem); font-weight: 500; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.plan-price span { font-size: 0.85rem; color: var(--muted); }
.plan-features { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; font-size: 0.92rem; flex: 1; }
.plan-features li { position: relative; padding-left: 26px; }
.plan-features li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan .btn { align-self: flex-start; }
.sound-hint { display: flex; align-items: center; gap: 8px; margin: 0 auto 20px; padding: 9px 16px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 400 0.85rem "Poppins", sans-serif; cursor: pointer; animation: pulse 2.4s var(--ease) infinite; transition: opacity .4s, transform .4s var(--ease); }
.sound-hint.is-on { animation: none; background: var(--accent); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(156,139,126,.55); } 50% { box-shadow: 0 0 0 10px rgba(156,139,126,0); } }
.plan.has-sound .plan-video { box-shadow: inset 0 0 0 3px var(--accent); }
.plans-note { margin-top: 36px; text-align: center; color: var(--muted); font-size: 0.9rem; }
.plans-note a { color: var(--ink); }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }

/* About */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.founder { background: #fff; border-radius: var(--radius); overflow: hidden; }
.founder img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center 25%; transition: transform 1.2s var(--ease); }
.founder:hover img { transform: scale(1.04); }
.founder-body { padding: clamp(22px, 2.6vw, 34px); }
.founder-body span { font-size: 0.8rem; color: var(--muted); letter-spacing: .04em; }
.founder-body h3 { margin: 4px 0 12px; }
.founder-body p { font-size: 0.93rem; }
.founder-img { overflow: hidden; }
@media (max-width: 760px) { .founders { grid-template-columns: 1fr; } }
.story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 110px); }
.story-text p:first-child { font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.5; color: var(--ink); font-weight: 400; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
.quote { font-size: clamp(1.8rem, 4vw, 3.4rem); font-weight: 500; color: var(--ink); letter-spacing: -0.03em; line-height: 1.15; max-width: 20ch; margin: 0; }
.quote span { color: var(--accent); }

/* Legal */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.15rem; margin: 2.4em 0 .7em; }
.legal p, .legal li { font-size: 0.93rem; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); padding: clamp(64px, 9vw, 120px) 0 32px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: #fff; }
.footer-cta { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(48px, 7vw, 90px); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta h2 { color: #fff; margin: 0; max-width: 14ch; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0; font-size: 0.9rem; }
.footer-grid h4 { color: #fff; font-size: 0.75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.footer-grid p { margin: 0; line-height: 1.9; }
.footer-brand strong { display: block; color: #fff; font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 6px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: background .3s, box-shadow .3s; }
.social a:hover { background: var(--accent); box-shadow: none; }
.social svg { width: 16px; height: 16px; fill: #fff; }
.certs { display: flex; gap: 16px; align-items: center; margin-top: 12px; }
.certs img { height: 30px; width: auto; background: #fff; border-radius: 6px; padding: 4px 6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.8rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: clamp(12px, 4vw, 60px); background: rgba(8,8,8,.92); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-frame { position: relative; width: min(1280px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open .lightbox-frame { transform: none; }
.lightbox iframe { width: 100%; height: 100%; border: 0; }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .3s, transform .4s var(--ease); }
.lightbox-close:hover { background: var(--accent); transform: rotate(90deg); }

/* Reveal on scroll */
.reveal { opacity: 0; translate: 0 34px; transition: opacity 1.5s var(--ease), translate 1.65s var(--ease); transition-delay: calc(var(--d, 0s) * 1.7); }
.reveal.is-visible { opacity: 1; translate: 0 0; }
.reveal-img { clip-path: inset(12% 12% 12% 12% round var(--radius)); transition: clip-path 1.9s var(--ease); }
.reveal-img.is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }
.no-js .reveal { opacity: 1; translate: 0 0; }
.no-js .reveal-img { clip-path: none; }

/* Page transition */
.page-fade { position: fixed; inset: 0; z-index: 400; background: var(--ink); pointer-events: none; opacity: 0; transition: opacity .35s ease; }
.is-leaving .page-fade { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; translate: 0 0; }
  .reveal-img { clip-path: none; }
  .hero-title .line > span, .hero .lead, .hero-actions { transform: none; opacity: 1; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee ul[aria-hidden] { display: none; }
}

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq-item { background: #fff; border-radius: var(--radius); padding: 0 clamp(20px, 2.4vw, 30px); box-shadow: 0 20px 60px -45px rgba(20,20,20,.35); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .4s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item h3 { margin: 0; font-size: clamp(1rem, 1.4vw, 1.15rem); }
.faq-item p { margin: 0 0 22px; font-size: 0.95rem; }
.lightbox video { width: 100%; height: 100%; background: #000; }

@keyframes badgeOut { to { opacity: 0; visibility: hidden; } }

/* Phones: tap targets of at least ~44px and no text below 12px */
@media (max-width: 820px) {
  .btn { padding: 17px 28px; }
  .nav .btn { padding: 15px 24px; }
  .link-arrow { padding: 12px 0; }
  .site-title { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-grid a, .footer-bottom a, .plans-note a, .contact-lines a, .founder-body a, .person a { display: inline-block; padding: 12px 0; }
  .social a { width: 46px; height: 46px; }
  .footer-certs .logos a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; min-width: 46px; padding: 0 8px; }
  .plan-badge, .pano-icon, .work-meta small, .stat span { font-size: 0.8rem; }
  .faq-item summary { padding: 20px 0; }
}

/* Safari/WebKit fix: it ignores a parent's overflow:hidden + border-radius when clipping
   iframe content, so the oversized Vimeo players (including their black letterbox bars)
   spilled into view. A -webkit-mask forces WebKit to clip to the element box. */
.plan-video,
figure.pano,
.contact-video,
.contact-video .plan-video,
.work,
.service-media,
.lightbox-frame {
  clip-path: inset(0 round var(--radius));
  isolation: isolate;
}
