/* Self-hosted variable fonts (latin subset) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/inter-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/space-grotesk-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #000;
  --fg: #fff;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.14);
  --card: rgba(255, 255, 255, 0.04);
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -0.03em; margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

/* 3D canvas + film grain */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .8s ease; } /* JS fades it in on first frame */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .06;
  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 baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer, .nav { position: relative; z-index: 2; }

/* MOTION BACKGROUND — pure CSS, paints on the first frame (before WebGL loads) and animates only
   transform/opacity, so it runs on the GPU compositor with no main-thread cost */
.bg-motion { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; display: none; }
/* switched on by JS right after load, so the large layers never compete with the headline's first paint */
.bg-ready .bg-motion { display: block; animation: bgIn 1.2s ease both; }
@keyframes bgIn { from { opacity: 0; } }
.bg-floor {
  position: absolute; left: -60%; right: -60%; bottom: 0; height: 40vh; perspective: 300px; perspective-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 45%, transparent 92%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.55) 45%, transparent 92%);
}
.bg-grid {
  position: absolute; left: 0; right: 0; top: 0; height: 220%; transform-origin: 50% 0;
  background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridRun 2.6s linear infinite; will-change: transform;
}
@keyframes gridRun {
  from { transform: rotateX(76deg) translate3d(0, -48px, 0); }
  to   { transform: rotateX(76deg) translate3d(0, 0, 0); }
}
.bg-horizon {
  position: absolute; left: 0; right: 0; bottom: 40vh; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55) 30%, rgba(255,255,255,.85) 50%, rgba(255,255,255,.55) 70%, transparent);
  box-shadow: 0 0 24px 2px rgba(255,255,255,.18); animation: horizonPulse 5s ease-in-out infinite;
}
@keyframes horizonPulse { 0%, 100% { opacity: .2; } 50% { opacity: .6; } }
.bg-orb { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.075), transparent 65%); }
.bg-orb.o1 { width: 70vmax; height: 70vmax; left: -25vmax; top: -30vmax; animation: drift1 26s ease-in-out infinite alternate; }
.bg-orb.o2 { width: 55vmax; height: 55vmax; right: -20vmax; top: 20vh; animation: drift2 32s ease-in-out infinite alternate; }
.bg-orb.o3 { width: 40vmax; height: 40vmax; left: 30vw; bottom: -15vmax; animation: drift1 22s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(12vw, 10vh, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-14vw, -8vh, 0) scale(.9); } }
.bg-dust { position: absolute; top: -420px; left: 0; right: 0; bottom: 0; background-image:
  radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,.7), transparent),
  radial-gradient(1px 1px at 68% 32%, rgba(255,255,255,.6), transparent),
  radial-gradient(1.5px 1.5px at 38% 74%, rgba(255,255,255,.5), transparent),
  radial-gradient(1px 1px at 86% 82%, rgba(255,255,255,.6), transparent),
  radial-gradient(1px 1px at 24% 46%, rgba(255,255,255,.5), transparent),
  radial-gradient(1.5px 1.5px at 54% 8%, rgba(255,255,255,.6), transparent);
  background-size: 420px 420px; animation: dustRise 40s linear infinite; will-change: transform; opacity: .7; }
@keyframes dustRise { to { transform: translate3d(0, 420px, 0); } } /* exactly one tile, so the loop is seamless */
@media (max-width: 720px) {
  .bg-floor { height: 34vh; perspective: 260px; }
  .bg-horizon { bottom: 34vh; }
  .bg-grid { background-size: 44px 44px; animation-duration: 2.2s; }
  @keyframes gridRun { from { transform: rotateX(74deg) translate3d(0, -44px, 0); } to { transform: rotateX(74deg) translate3d(0, 0, 0); } }
}
@media (prefers-reduced-motion: reduce) { .bg-motion * { animation: none !important; } }

/* Static fallback when 3D is skipped (Save-Data, low-memory devices, no WebGL) */
.no3d #scene { display: none; }
.no3d body::before {
  content: ""; position: fixed; z-index: 0; pointer-events: none; width: 70vmin; height: 70vmin; right: -10vmin; top: 10vh; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.22), rgba(255,255,255,.04) 45%, transparent 70%);
  border: 1px solid rgba(255,255,255,.12);
}

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--fg); transform-origin: 0 50%; transform: scaleX(0); }

/* Cursor glow (desktop only, enabled by JS) */
.glow {
  position: fixed; z-index: 1; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle, rgba(255,255,255,.07), transparent 65%);
}
.glow.on { opacity: 1; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  padding-top: max(14px, env(safe-area-inset-top));
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(0, 0, 0, .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; letter-spacing: .04em; }
.brand-mark { width: 40px; height: 40px; flex: none; display: block; background: var(--fg); border-radius: 10px; object-fit: contain; transition: transform .3s; }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.dim { color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.nav-links .btn, .nav-links .btn:hover { color: var(--bg); }
.menu { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--fg); transition: transform .3s; }
.menu span:first-child { top: 17px; }
.menu span:last-child { top: 25px; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px;
  padding: 0 26px; border-radius: 999px; background: var(--fg); color: var(--bg);
  border: 1px solid var(--fg); font-weight: 600; text-decoration: none;
  transition: transform .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: var(--fg); color: var(--bg); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* LAYOUT */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.section { padding: clamp(80px, 12vw, 160px) 0; }
/* Full-height so "Let's talk" / "Start a project" land on a clearly framed contact screen */
.contact { min-height: 100svh; display: flex; align-items: center; }
.contact .wrap { width: 100%; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 12px; color: var(--muted); margin: 0 0 18px; }
h2 { font-size: clamp(36px, 6.5vw, 76px); margin-bottom: 40px; }
.sub { color: var(--muted); max-width: 620px; margin: -16px 0 40px; }
.sub strong { color: var(--fg); }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }

/* HERO */
.hero {
  position: relative;
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--gutter) 80px; max-width: 1200px; margin: 0 auto;
}
.hero h1 { font-size: clamp(52px, 13vw, 150px); font-weight: 700; margin-bottom: 28px; }
/* Masked line reveal — pure CSS so the headline paints instantly without JS */
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: inline-block; animation: lineUp .75s cubic-bezier(.16,1,.3,1) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .06s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .12s; }
@keyframes lineUp { from { transform: translateY(105%) rotate(2deg); } }
.lead { font-size: clamp(17px, 2.2vw, 21px); color: #cfcfcf; max-width: 580px; margin: 0 0 36px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.eyebrow .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--fg); margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(255,255,255,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 34px 0 0; color: var(--muted); font-size: 14px; }
.trust li::before { content: "✓"; color: var(--fg); margin-right: 8px; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; width: 24px; height: 40px; border: 1.5px solid var(--line); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; background: var(--fg); border-radius: 2px; transform: translateX(-50%); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* MARQUEE */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg); }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 32s linear infinite; font-family: var(--display); font-size: clamp(22px, 3.4vw, 40px); white-space: nowrap; }
.marquee-track span:nth-child(even) { color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ABOUT */
.about { background: linear-gradient(180deg, rgba(0,0,0,.92), rgba(0,0,0,.6)); }
.two-col { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.two-col p { color: #cfcfcf; margin-top: 0; }
.two-col strong { color: var(--fg); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 36px 0 0; }
.facts div { background: var(--bg); padding: 26px 22px; }
.facts dt { font-family: var(--display); font-size: clamp(34px, 5vw, 52px); font-weight: 700; line-height: 1; }
.facts dd { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

/* SERVICE CARDS */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; perspective: 1200px; }
.card {
  position: relative; padding: 36px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform-style: preserve-3d; transition: transform .25s ease-out, border-color .3s, background .3s;
  will-change: transform;
}
.card:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.07); }
.card .num { font-family: var(--display); color: var(--muted); font-size: 14px; }
.card h3 { font-size: clamp(24px, 3vw, 32px); margin: 50px 0 14px; transform: translateZ(30px); }
.card p { color: #bdbdbd; margin: 0 0 22px; transform: translateZ(20px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: 12px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: #ddd; }

/* REELS */
.reels { background: rgba(0,0,0,.75); }
.reel-rail {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px var(--gutter) 24px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.reel-rail::-webkit-scrollbar { display: none; }
.reel { flex: 0 0 clamp(220px, 62vw, 280px); margin: 0; scroll-snap-align: start; }
.reel-media {
  position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); display: flex; align-items: flex-end; padding: 22px;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255,255,255,.18), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px),
    #0a0a0a;
  transition: transform .4s;
}
.reel-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-media::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px;
  border-radius: 50%; border: 1.5px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='white'/%3E%3C/svg%3E") center/26px no-repeat;
}
.reel:hover .reel-media { transform: translateY(-6px) rotateX(4deg); }
.reel-media:has(video) { cursor: pointer; padding: 0; }
.reel-media::before { z-index: 1; transition: opacity .3s; }
.reel-media.playing::before { opacity: 0; }
/* sound toggle badge: muted by default, tap the reel to hear it */
.reel-sound {
  position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z' fill='white'/%3E%3Cpath d='m22 9-6 6m0-6 6 6'/%3E%3C/svg%3E") center/20px no-repeat;
  border: 1px solid var(--line);
}
.reel-media.sound .reel-sound { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z' fill='white'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E"); }
.reel-hook { position: relative; font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.15; }
.reel figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 12px 4px 0; font-size: 14px; }
.reel figcaption span { color: var(--muted); white-space: nowrap; }

/* PROCESS */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.steps li { background: var(--bg); padding: 32px 26px; }
.steps span { font-family: var(--display); color: var(--muted); font-size: 14px; }
.steps h3 { font-size: 24px; margin: 40px 0 10px; }
.steps p { color: #bdbdbd; margin: 0; font-size: 15px; }

/* FAQ */
#faq { background: rgba(0,0,0,.8); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--display); font-size: clamp(18px, 2.4vw, 23px); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: #bdbdbd; margin: 0 0 24px; max-width: 720px; }

/* CONTACT */
.contact { text-align: center; }
.contact .big { font-size: clamp(40px, 8vw, 104px); }
.contact .cta-row { justify-content: center; }
.socials { display: flex; justify-content: center; gap: 28px; list-style: none; padding: 0; margin: 40px 0 0; }
.socials a { color: var(--muted); text-decoration: none; }
.socials a:hover { color: var(--fg); }

.footer { border-top: 1px solid var(--line); background: var(--bg); padding: 26px 0; padding-bottom: max(26px, env(safe-area-inset-bottom)); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 14px; }
.foot p { margin: 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }
.foot-links { display: flex; gap: 22px; }
.sub.center { margin: -10px auto 36px; }

/* WHY US */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.why-item { border-top: 1px solid var(--line); padding-top: 22px; }
.why-item span { font-family: var(--display); color: var(--muted); font-size: 14px; }
.why-item h3 { font-size: 23px; margin: 18px 0 10px; }
.why-item p { color: #bdbdbd; margin: 0; font-size: 15px; }

/* ENGAGEMENT MODELS */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; padding: 34px 30px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, transform .3s;
}
.plan:hover { border-color: rgba(255,255,255,.45); transform: translateY(-4px); }
.plan-hi { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.4); }
.plan-kicker { margin: 0; text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--muted); }
.plan h3 { font-size: 40px; margin: 10px 0 8px; }
.plan-desc { color: #cfcfcf; margin: 0 0 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; color: #ddd; }
.plan li::before { content: "✓"; margin-right: 10px; }
.plan .btn { width: 100%; }

/* ENQUIRY FORM (submits to WhatsApp) */
.enquiry {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; max-width: 820px; margin: 0 auto 44px; text-align: left;
  padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-radius: 24px;
  background: rgba(255,255,255,.04); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.enquiry .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: 13px; font-weight: 500; color: #cfcfcf; letter-spacing: .01em; padding: 0; }
.field label span, .field legend span { color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; /* 16px stops iOS zooming on focus */
  color: var(--fg); background: rgba(0,0,0,.55); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px; transition: border-color .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select {
  padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.field select option { background: #111; color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #6f6f6f; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,.3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fg); background: rgba(0,0,0,.75); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff6b6b; }
.field .err { color: #ff8a8a; font-size: 13px; }
.chips { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.chips legend { width: 100%; margin-bottom: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips label span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); color: #ddd; font-size: 14px; transition: background .2s, color .2s, border-color .2s;
}
.chips label:hover span { border-color: rgba(255,255,255,.4); }
.chips input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chips input:checked + span::before { content: "✓"; margin-right: 6px; }
.chips input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 3px; }
.chips.invalid label span { border-color: #ff6b6b; }
.chips .err { width: 100%; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-note { margin: 0; color: var(--muted); font-size: 13px; max-width: 360px; }
.form-status { margin: 0; min-height: 1px; font-size: 14px; color: #cfcfcf; }
.form-status:empty { display: none; }
.form-status.ok { padding: 14px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 12px; }
.or { display: flex; align-items: center; gap: 16px; max-width: 520px; margin: 0 auto 26px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .18em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* LOCATION PAGES */
.hero-loc { min-height: 88svh; }
.hero-loc h1 { font-size: clamp(40px, 7.2vw, 92px); max-width: 15ch; line-height: 1.02; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--fg); }
.crumbs [aria-current] { color: var(--fg); }
.facts-text { grid-template-columns: 1fr; }
.facts-text dt { font-size: 22px !important; line-height: 1.2; }
.facts-text dd { font-size: 15px !important; color: #cfcfcf !important; line-height: 1.6; }
.loc-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.loc-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; font-size: 14px; color: #ddd; transition: background .2s, color .2s, border-color .2s;
}
.loc-links a:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
.loc-group h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 18px; }
.loc-group h2 a { text-decoration: none; }
.loc-group h2 a:hover { text-decoration: underline; text-underline-offset: 6px; }
.loc-sub { margin: 14px 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.home-locs .loc-links { justify-content: flex-start; }
@media (max-width: 720px) { .loc-grid { grid-template-columns: 1fr; } .hero-loc { min-height: auto; padding-bottom: 60px; } }

/* MOBILE STICKY CTA */
.mcta { display: none; }
.show-sm { display: none; }
@media (max-width: 720px) { .hide-sm { display: none; } .show-sm { display: inline; } }
body:has(.nav-links.open) .mcta { visibility: hidden; }

/* REVEAL ANIMATION */
/* Hidden only when JS is running (html.js), so content never stays invisible if the script fails */
.js .reveal { opacity: 0; transform: translateY(40px) rotateX(-12deg); transform-origin: top; transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.instant { transition: none; }

/* PERFORMANCE: skip rendering off-screen sections until they're near the viewport */
.section { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* PERFORMANCE (phones & touch devices): blur over a live WebGL canvas and a full-screen noise filter are
   expensive to repaint while scrolling — swap them for flat, slightly more opaque panels */
@media (hover: none), (max-width: 720px) {
  .grain, .glow { display: none; }
  .card, .plan, .enquiry { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14, 14, 14, .86); }
  .plan-hi { background: rgba(30, 30, 30, .92); }
}
/* Hero entrance runs in pure CSS so text paints immediately, without waiting for the 3D library */
.intro { animation: intro 1s cubic-bezier(.2,.7,.2,1) both; }
.hero .intro:nth-child(3) { animation-delay: .3s; }
.hero .intro:nth-child(4) { animation-delay: .4s; }
.hero .intro:nth-child(5) { animation-delay: .5s; }
@keyframes intro { from { opacity: 0; transform: translateY(40px) rotateX(-12deg); } }

/* TABLET */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  /* full-screen menu below 960px (6 nav items no longer fit inline) */
  .menu { display: block; z-index: 60; }
  .nav.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; } /* a backdrop-filter would trap the fixed menu inside the bar */
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: rgba(0,0,0,.97);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 26px; color: var(--fg); font-family: var(--display); }
  .nav-links .btn { font-size: 18px; min-height: 52px; padding: 0 30px; }
}

/* MOBILE */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
  .enquiry { grid-template-columns: 1fr; border-radius: 20px; }
  .form-foot .btn { width: 100%; }
  .plan { padding: 28px 22px; }
  .trust { gap: 8px 18px; font-size: 13px; }
  .foot { flex-direction: column; }
  /* sticky WhatsApp bar; footer gets room so it isn't covered */
  .mcta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 55;
    transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.7,.2,1);
  }
  .mcta.show { transform: none; }
  .mcta .btn { width: 100%; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
  .footer { padding-bottom: 96px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .card h3 { margin-top: 32px; }
  .steps { grid-template-columns: 1fr; }
  .steps h3 { margin-top: 20px; }
  .cta-row .btn { flex: 1 1 100%; }
  .hero { padding-top: 110px; }
  .socials { gap: 20px; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
