/* =========================================================
   Monolith & Co. — Fluid Glass stylesheet
   Dark, cinematic, premium. Designed around a small token set.
   ========================================================= */

/* ---------- Design tokens ----------
   Premium black / orange / white system:
   - A tuned ink family (pure white for h1/brand, warm off-white for body)
     reads richer on dark surfaces than pure-#fff everywhere.
   - A 4-step orange family — bright accent, deep accent for gradients,
     light tint for hover backgrounds, soft tint for surface washes —
     so orange has depth instead of one flat saturated note.
   - Tinted shadows give CTAs a subtle warm glow without being garish.
*/
:root {
  /* surfaces */
  --bg:          #000000;            /* canonical black */
  --bg-2:        #0b0b0d;            /* elevated surface — barely lifted */
  --bg-3:        #16161a;            /* hover/selected surface */

  /* ink family — pure white for high emphasis, warm off-white for body */
  --ink:         #f5f3ef;            /* warm alabaster — body / nav text */
  --ink-strong:  #ffffff;            /* hero h1, brand mark, key emphasis */
  --ink-dim:     #b3b1ad;            /* secondary text — cool warm grey */
  --ink-faint:   #807d77;            /* tertiary / muted captions */

  /* orange family */
  --accent:        #FF8000;          /* primary mark — GK orange */
  --accent-bright: #ff9933;          /* hover lift */
  --accent-light:  #ffb870;          /* subtle backgrounds, focus rings */
  --accent-soft:   rgba(255,128,0,0.08);  /* surface washes / glow base */
  --accent-tint:   rgba(255,128,0,0.18);  /* active pill backgrounds */
  --accent-deep:   #cc6600;          /* gradient end / pressed state */
  --accent-shadow: rgba(255,128,0,0.35);  /* tinted CTA glow */

  --steel:       #2a2a2c;

  /* hairlines — warm-white tinted, kept low for refinement */
  --hairline:    rgba(255,243,233,0.10);
  --hairline-2:  rgba(255,243,233,0.05);
  --hairline-strong: rgba(255,243,233,0.16);

  /* glass surfaces — slightly warmer than pure white */
  --glass-bg:    rgba(255,243,233,0.04);
  --glass-bg-2:  rgba(255,243,233,0.07);
  --glass-brd:   rgba(255,243,233,0.10);
  --glass-hl:    rgba(255,255,255,0.30);

  /* premium tinted shadows */
  --shadow-warm:  0 24px 60px -22px rgba(255,128,0,0.32);
  --shadow-soft:  0 12px 32px -12px rgba(0,0,0,0.7);
  --shadow-deep:  0 30px 80px -30px rgba(0,0,0,0.85);

  --ease:        cubic-bezier(.22,.61,.36,1);
  --ease-out:    cubic-bezier(.16,1,.3,1);

  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;

  --container: 1400px;
  --pad: clamp(20px, 4vw, 56px);

  --f-display: 'Fraunces', 'Times New Roman', serif;
  --f-sans:    'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: auto; } /* Lenis drives scrolling */

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Custom cursor is opted-in via body.has-cursor (set by main.js when pointer is fine). */
}

/* Subtle radial base — strict black/orange/white palette, never flat */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(255,128,0,0.12), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(255,128,0,0.05), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(255,243,233,0.03), transparent 60%),
    linear-gradient(180deg, #000000 0%, #050505 60%, #0a0808 100%);
  z-index: -2;
  pointer-events: none;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: none; }
input, select, textarea { font: inherit; color: inherit; cursor: text; }
select, button, a { cursor: pointer; }
/* Custom cursor override — hide system cursor only where we draw our own */
body.has-cursor, body.has-cursor * { cursor: none !important; }
body.has-cursor input,
body.has-cursor textarea { cursor: text !important; }
ul { list-style: none; padding: 0; margin: 0; }
::selection { background: var(--accent-deep); color: var(--ink-strong); }

/* Hidden SVG defs container */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Film grain */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 90;
  mix-blend-mode: overlay;
  opacity: .6;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.eyebrow {
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 18px;
}

.h-display {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(44px, 7vw, 112px);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0;
}
.h-display em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* Reveal animations DISABLED — content always visible.
   Premium animation polish can return later once core site is stable.
   Right now the priority is: page works, content visible, links navigate. */
[data-split] .line { display: block; }
[data-split] .line > span { display: block; transform: none; }
[data-reveal] { opacity: 1; transform: none; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   GLASS SYSTEM — the core primitive
   ========================================================= */
.glass {
  position: relative;
  background: linear-gradient(135deg, var(--glass-bg) 0%, var(--glass-bg-2) 100%);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-l);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 40px 80px -30px rgba(0,0,0,0.8),
    0 10px 30px -10px rgba(0,0,0,0.5);
  /* Blur reduced from 22 → 12 — looks identical, paints in roughly half the time */
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  backdrop-filter: blur(12px) saturate(1.15);
  overflow: hidden;
  isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease);
}
/* Static decorative gradient — replaces the previous SVG turbulence filter
   which was animating continuously on every glass card (biggest CPU hog). */
.glass::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(60% 60% at 30% 20%, rgba(255,255,255,0.12), transparent 60%),
    radial-gradient(50% 50% at 80% 80%, rgba(255,128,0,0.09), transparent 60%);
  opacity: 1;
  pointer-events: none;
  z-index: -1;
}
/* Bright edge highlight */
.glass__edge {
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0) 22%),
    linear-gradient(0deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 30%);
  mix-blend-mode: overlay;
  opacity: .9;
}
/* Specular mouse-follow highlight (driven by JS custom props) */
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s var(--ease);
  background: radial-gradient(260px 260px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.18), transparent 60%);
  z-index: 0;
}
.glass:hover::after { opacity: 1; }

/* Pill variant */
.glass-pill {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.12));
  border: 1px solid var(--glass-brd);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}

/* =========================================================
   PRELOADER — premium logo loader
   ========================================================= */
.preloader {
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 600px at 50% 40%, rgba(255,128,0,0.06), transparent 60%),
    #050505;
  z-index: 200;
  display: grid; place-items: center;
  overflow: hidden;
}
.preloader__wrap {
  width: min(92vw, 480px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 3vw, 24px);
  padding: clamp(20px, 4vw, 36px);
}

/* Logo with glow + pulse */
.preloader__logo {
  position: relative;
  width: clamp(96px, 24vw, 140px);
  height: clamp(96px, 24vw, 140px);
  display: grid; place-items: center;
  background: #ffffff;
  border-radius: clamp(18px, 4vw, 26px);
  padding: clamp(10px, 2.5vw, 14px);
  box-shadow:
    0 0 0 1px var(--accent-tint),
    0 24px 60px -22px rgba(255,128,0,0.45),
    0 0 60px rgba(255,128,0,0.12);
  animation: preloader-bob 2.6s ease-in-out infinite;
  opacity: 0;
  transform: scale(0.9);
  animation: preloader-enter 0.8s cubic-bezier(.16,1,.3,1) forwards,
             preloader-bob 2.6s ease-in-out 0.8s infinite;
}
.preloader__logo img {
  width: 100%; height: 100%; object-fit: contain;
  display: block;
}
.preloader__logo-glow {
  position: absolute; inset: -20px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(255,128,0,0.5), transparent 60%);
  z-index: -1;
  animation: preloader-pulse 2.6s ease-in-out infinite;
  filter: blur(20px);
}
@keyframes preloader-enter {
  to { opacity: 1; transform: scale(1); }
}
@keyframes preloader-bob {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-6px) scale(1.02); }
}
@keyframes preloader-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

/* Name + tagline */
.preloader__name {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(20px, 3.6vw, 28px);
  line-height: 1.15;
  color: var(--ink-strong);
  letter-spacing: -.005em;
  opacity: 0;
  animation: preloader-fade-up 0.8s cubic-bezier(.16,1,.3,1) 0.3s forwards;
}
.preloader__name em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.preloader__tagline {
  font-size: clamp(11px, 2.4vw, 13px);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 600;
  opacity: 0;
  animation: preloader-fade-up 0.8s cubic-bezier(.16,1,.3,1) 0.5s forwards;
}
@keyframes preloader-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Progress bar */
.preloader__bar {
  margin-top: clamp(8px, 2vw, 14px);
  height: 2px;
  width: clamp(180px, 60vw, 320px);
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  animation: preloader-fade-up 0.8s cubic-bezier(.16,1,.3,1) 0.7s forwards;
}
.preloader__bar span {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(255,128,0,0.7);
  transition: width 0.3s ease-out;
}

/* Counter */
.preloader__counter {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: clamp(10px, 2vw, 11px);
  letter-spacing: .18em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  opacity: 0;
  animation: preloader-fade-up 0.8s cubic-bezier(.16,1,.3,1) 0.9s forwards;
}
.preloader__pct { margin-left: 2px; color: var(--accent); }

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 150;
  mix-blend-mode: difference;
}
.cursor__dot,
.cursor__ring,
.cursor__label {
  position: fixed;
  top: 0; left: 0;
  will-change: transform;
  pointer-events: none;
}
.cursor__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}
.cursor__ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .35s var(--ease), height .35s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.cursor.is-hover .cursor__ring {
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.0);
}
.cursor__label {
  color: #000;
  background: #fff;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 10px;
  transform: translate(-50%, -50%) scale(.6);
  opacity: 0;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.cursor.has-label .cursor__label {
  opacity: 1;
  transform: translate(calc(-50% + 46px), calc(-50% + 6px)) scale(1);
}
@media (hover: none) {
  body { cursor: auto; }
  .cursor { display: none; }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 32px));
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 12px 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.09));
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 18px 60px -20px rgba(0,0,0,0.6);
  transition: transform .5s var(--ease), top .5s var(--ease), box-shadow .5s var(--ease);
}
.nav.is-hidden { transform: translate(-50%, -120%); }
.nav.is-solid { background: rgba(12,12,14,0.6); }

.nav__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-size: 20px;
  letter-spacing: -.02em;
}
.nav__brand-mark { color: var(--accent); font-size: 10px; }
.nav__brand-name em { font-style: normal; color: var(--ink-dim); font-weight: 300; margin-left: 4px; font-size: 14px; }

.nav__menu {
  justify-self: center;
  display: flex; gap: 28px;
  font-size: 14px;
  letter-spacing: .04em;
}
.nav__menu a {
  position: relative;
  color: var(--ink-dim);
  transition: color .3s var(--ease);
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__menu a:hover { color: var(--ink); }
.nav__menu a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 18px;
  font-size: 13px; letter-spacing: .04em;
  color: var(--ink);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.nav__cta:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }

/* Language toggle */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hairline);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--ink-dim);
  transition: background .3s var(--ease), color .3s var(--ease);
  justify-self: end;
}
.lang-toggle:hover { background: rgba(255,255,255,0.08); color: var(--ink); }
.lang-toggle__opt { transition: color .3s var(--ease); }
.lang-toggle__sep { color: var(--ink-faint); }
html[lang="en"] .lang-toggle__opt[data-lang="en"],
html[lang="ta"] .lang-toggle__opt[data-lang="ta"] {
  color: var(--accent);
  font-weight: 500;
}

/* When Tamil is active, switch body font stack to include Noto Sans Tamil */
html[lang="ta"] body {
  font-family: 'Inter', 'Noto Sans Tamil', system-ui, -apple-system, sans-serif;
}
/* Tamil script renders heavier — slightly tighten line-height */
html[lang="ta"] .h-display,
html[lang="ta"] .service__title,
html[lang="ta"] .step__body h3,
html[lang="ta"] .project__title {
  font-family: 'Fraunces', 'Noto Sans Tamil', serif;
  letter-spacing: -.015em;
}

.nav__burger { display: none; width: 38px; height: 32px; position: relative; }
.nav__burger span {
  position: absolute; left: 8px; right: 8px; height: 1px; background: var(--ink);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav__burger span:nth-child(1){ top: 12px; }
.nav__burger span:nth-child(2){ top: 20px; }
.nav__burger.is-open span:nth-child(1){ top: 16px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2){ top: 16px; transform: rotate(-45deg); }

@media (max-width: 820px){
  .nav { grid-template-columns: 1fr auto; padding: 10px 10px 10px 18px; }
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

.drawer {
  position: fixed; inset: 0;
  background: rgba(10,10,11,0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  z-index: 99;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer nav { display: grid; gap: 22px; text-align: center; }
.drawer nav a { font-family: var(--f-display); font-size: 44px; letter-spacing: -.02em; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  position: relative; overflow: hidden;
}
.btn--ghost {
  border: 1px solid var(--glass-brd);
  color: var(--ink);
  background: rgba(255,255,255,0.03);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); }

.btn--solid {
  background: var(--ink-strong);
  color: #000;
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, var(--shadow-soft);
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .45s var(--ease), transform .35s var(--ease);
}
.btn--solid:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #000;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset,
    var(--shadow-warm);
}

.btn--full { width: 100%; justify-content: center; padding: 16px 22px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 140px var(--pad) 80px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.hero__media {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(1.05) brightness(.55) saturate(.9);
  transform: scale(1.1) translateZ(0); /* translateZ promotes to GPU layer */
  animation: kenburns 30s ease-in-out infinite alternate;
  will-change: transform;
  backface-visibility: hidden;
}
@keyframes kenburns {
  from { transform: scale(1.08) translate(0, 0); }
  to   { transform: scale(1.18) translate(-2%, -1%); }
}
.hero__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 80% at 50% 40%, transparent 40%, rgba(10,10,11,0.85) 100%),
    linear-gradient(180deg, rgba(10,10,11,0.2), rgba(10,10,11,0.55) 60%, rgba(10,10,11,0.95) 100%);
}

.hero__lights {
  position: absolute; inset: 0; z-index: -1;
  opacity: .5;
  pointer-events: none;
  /* The SVG #goo filter was expensive on every paint. Dropped — lights look
     the same because each blob is already blurred individually. */
}
.hero__lights-inner { position: absolute; inset: -10%; }
.hero__lights-inner span {
  position: absolute;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,128,0,0.4), rgba(255,128,0,0) 60%);
  filter: blur(30px);
  animation: float 30s ease-in-out infinite;
  will-change: transform;
}
.hero__lights-inner span:nth-child(1){ top: -10%; left: 10%; animation-delay: 0s; }
.hero__lights-inner span:nth-child(2){ top: 20%; left: 70%; background: radial-gradient(circle at 30% 30%, rgba(120,160,220,0.4), transparent 60%); animation-delay: -10s; }
/* Dropped lights 3 and 4 — two blobs is plenty of ambient warmth */
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(40px,-60px) scale(1.1); }
  66%     { transform: translate(-60px,50px) scale(.95); }
}

.hero__meta {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 16px;
  font-size: 12px; letter-spacing: .22em;
  color: var(--ink-dim);
}
.hero__meta-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }

.hero__title {
  align-self: end;
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(54px, 10vw, 172px);
  line-height: .98;
  letter-spacing: -.03em;
  max-width: 15ch;
  margin: 0;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.hero__panel {
  position: absolute;
  right: var(--pad);
  bottom: 220px;
  width: min(420px, 40vw);
  padding: 26px 26px 22px;
  color: var(--ink);
  z-index: 2;
}
.hero__panel-text { margin: 0 0 20px; font-size: 15px; color: var(--ink-dim); }
.hero__panel-text strong { color: var(--ink); font-weight: 500; }
.hero__panel-cta { display: flex; gap: 10px; flex-wrap: wrap; }

.hero__scroll {
  align-self: end; justify-self: start;
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .22em; color: var(--ink-dim);
  text-transform: uppercase;
}
.hero__scroll-line { width: 60px; height: 1px; background: var(--hairline); position: relative; overflow: hidden; }
.hero__scroll-line i {
  position: absolute; inset: 0; background: var(--ink);
  animation: drop 2.4s var(--ease-out) infinite;
}
@keyframes drop { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

@media (max-width: 1024px){
  .hero__panel { position: static; width: 100%; max-width: 520px; margin-top: 30px; }
}

/* =========================================================
   VALUE-PROP STRIP — between hero and marquee
   ========================================================= */
.props {
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
  background: rgba(255,255,255,0.015);
}
.props__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}
.prop {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.prop__num {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  padding-top: 2px;
}
.prop__body h4 {
  margin: 0 0 6px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.prop__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-dim);
  max-width: 32ch;
}
.prop__rule {
  width: 1px; height: 48px;
  background: var(--hairline);
}
@media (max-width: 900px){
  .props__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .prop__rule { display: none; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
  overflow: hidden;
  padding: 22px 0;
}
.marquee__track {
  display: inline-flex; gap: 36px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--f-display);
  font-size: clamp(22px, 3vw, 38px);
  color: var(--ink-dim);
  font-weight: 300;
}
.marquee__track span:nth-child(2n) { color: var(--accent); font-style: italic; opacity: .6; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  padding: 140px var(--pad);
  max-width: var(--container);
  margin: 0 auto;
}
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: start;
}
.about__lede {
  margin: 28px 0 50px;
  max-width: 55ch;
  font-size: 17px;
  color: var(--ink-dim);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  border-top: 1px solid var(--hairline-2);
  padding-top: 36px;
}
.stat__num {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1;
}
.stat__num::after { content: ""; }
.stat__lbl {
  display: block;
  margin-top: 10px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-dim);
}

/* Parallax visual */
.about__visual {
  position: relative;
  aspect-ratio: 4/5;
  min-height: 520px;
}
.about__img {
  position: absolute;
  border-radius: var(--r-m);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  will-change: transform;
}
.about__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%) contrast(1.05); }
.about__img--1 { width: 70%; aspect-ratio: 3/4; top: 0; left: 0; }
.about__img--2 { width: 58%; aspect-ratio: 3/4; bottom: 0; right: 0; }
.about__badge {
  position: absolute;
  bottom: -20px; left: 30%;
  padding: 18px 22px;
  display: grid;
  gap: 6px;
  border-radius: var(--r-m);
  color: var(--ink);
  z-index: 3;
  min-width: 180px;
}
.about__badge-top,
.about__badge-btm {
  font-size: 10px; letter-spacing: .22em; color: var(--ink-dim); text-transform: uppercase;
}
.about__badge-big {
  font-family: var(--f-display); font-size: 48px; line-height: 1;
  color: var(--accent);
}

@media (max-width: 960px){
  .about__grid { grid-template-columns: 1fr; gap: 60px; }
  .about__visual { min-height: 420px; }
}

/* =========================================================
   FOUNDER — portrait + bio + differentiators
   ========================================================= */
.founder {
  padding: 140px var(--pad);
  max-width: var(--container);
  margin: 0 auto;
}
.founder__grid {
  display: grid;
  grid-template-columns: minmax(320px, 440px) 1fr;
  gap: 70px;
  align-items: center;
}
@media (max-width: 960px){
  .founder__grid { grid-template-columns: 1fr; gap: 50px; }
}

/* Portrait frame */
.founder__visual {
  position: relative;
  display: grid;
  gap: 20px;
}
.founder__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-l);
  overflow: hidden;
  padding: 0;
  will-change: transform;
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,0.75),
    0 20px 50px -20px rgba(255,128,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.1);
  background: radial-gradient(140% 80% at 30% 20%, #1d1c22 0%, #0d0d11 100%);
}
/* Placeholder layer — always present, shown when .founder__img fails to load */
.founder__placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  grid-auto-rows: min-content;
  gap: 28px;
  padding: 30px;
  z-index: 0;
}
.founder__placeholder svg {
  width: 60%;
  max-width: 240px;
  height: auto;
  opacity: .4;
  filter: drop-shadow(0 10px 40px rgba(255,128,0,0.15));
}
.founder__placeholder-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.8;
}
.founder__placeholder-label b {
  display: block;
  color: var(--accent);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: none;
  font-family: 'Courier New', ui-monospace, monospace;
  background: rgba(255,128,0,0.08);
  padding: 6px 10px;
  border-radius: 6px;
  margin: 6px auto;
  border: 1px dashed rgba(255,128,0,0.3);
  max-width: max-content;
}

/* The actual portrait — sits on top of placeholder, covers it when loaded */
.founder__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  /* Editorial color grade — boosts any phone-camera photo to studio-quality feel */
  filter:
    brightness(1.02)
    contrast(1.12)
    saturate(1.18)
    sepia(0.05)
    drop-shadow(0 0 1px rgba(0,0,0,0.1));
  transform: scale(1.02);
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease), opacity .6s var(--ease);
  opacity: 0;               /* hidden until it loads cleanly */
  z-index: 1;
}
.founder__img.is-loaded { opacity: 1; }
.founder__portrait:hover .founder__img.is-loaded {
  transform: scale(1.05);
  filter:
    brightness(1.05)
    contrast(1.16)
    saturate(1.25)
    sepia(0.08);
}

/* Vignette — adds studio feel to any source photo */
.founder__vignette {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(120% 100% at 50% 30%, transparent 40%, rgba(0,0,0,0.35) 100%),
    linear-gradient(180deg, rgba(255,128,0,0.05) 0%, transparent 30%, rgba(0,0,0,0.25) 100%);
}
.founder__frame {
  position: absolute; inset: 12px;
  border: 1px solid rgba(255,128,0,0.35);
  border-radius: calc(var(--r-l) - 6px);
  pointer-events: none;
  box-shadow: inset 0 0 40px rgba(255,128,0,0.1);
  z-index: 3;
}
.founder__badge {
  position: absolute;
  top: 22px; right: 22px;
  z-index: 4;
  width: 80px; height: 80px;
  border-radius: 50%;
  display: grid; place-items: center;
  gap: 2px;
  background: rgba(10,10,11,0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,128,0,0.4);
  z-index: 2;
}
.founder__badge-sm {
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--ink-dim);
  text-transform: uppercase;
}
.founder__badge-yr {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
}

/* Signature plate beneath portrait */
.founder__plate {
  padding: 22px 26px;
  display: grid;
  gap: 6px;
  text-align: center;
  position: relative;
}
.founder__plate-label {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.founder__plate-sig {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  color: var(--ink);
  letter-spacing: -.01em;
  line-height: 1;
  margin: 4px 0 2px;
  text-shadow: 0 0 30px rgba(255,128,0,0.2);
}
.founder__plate-role {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Copy side */
.founder__bio {
  margin: 28px 0 36px;
  max-width: 58ch;
  font-size: 17px;
  color: var(--ink-dim);
  line-height: 1.65;
}
.founder__bio strong { color: var(--ink); font-weight: 500; }

/* Differentiator pillars */
.founder__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}
.pillar {
  padding: 20px 22px;
  border-radius: var(--r-m);
  background: linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.07));
  border: 1px solid var(--hairline);
  display: grid;
  gap: 6px;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.pillar:hover {
  background: linear-gradient(135deg, rgba(255,128,0,0.08), rgba(255,128,0,0.03));
  border-color: rgba(255,128,0,0.35);
  transform: translateY(-2px);
}
.pillar--wide { grid-column: 1 / -1; }
.pillar__num {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(22px, 2vw, 28px);
  letter-spacing: -.02em;
  color: var(--accent);
  line-height: 1;
}
.pillar__lbl {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
@media (max-width: 560px){
  .founder__pillars { grid-template-columns: 1fr; }
}

/* Pull quote */
.founder__quote {
  position: relative;
  padding: 26px 30px 26px 60px;
  border-left: 2px solid var(--accent);
  font-family: var(--f-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  max-width: 58ch;
}
.founder__quote-mark {
  position: absolute;
  left: 20px; top: 0;
  font-family: var(--f-display);
  font-size: 82px;
  line-height: 1;
  color: var(--accent);
  opacity: .55;
  font-style: italic;
}

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section__head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  margin-bottom: 70px;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  padding: 120px 0;
  max-width: var(--container);
  margin: 0 auto;
}
.services__grid {
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service {
  padding: 36px 30px;
  min-height: 320px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .6s var(--ease), border-color .6s var(--ease);
}
.service__num {
  font-family: var(--f-display); font-style: italic;
  color: var(--accent);
  font-size: 18px;
}
.service__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: 28px; letter-spacing: -.01em;
  margin: 0;
}
.service__text { color: var(--ink-dim); margin: 0; max-width: 32ch; }
.service__list {
  margin-top: auto;
  display: grid; gap: 6px;
  font-size: 13px; letter-spacing: .04em;
  color: var(--ink-dim);
  border-top: 1px solid var(--hairline-2);
  padding-top: 16px;
}
.service__list li::before { content: "— "; color: var(--ink-faint); }

@media (max-width: 1024px){ .services__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .services__grid { grid-template-columns: 1fr; } }

/* =========================================================
   PRICING CALCULATOR — premium tier
   ========================================================= */
.pricer {
  padding: 120px 0 80px;
  max-width: var(--container);
  margin: 0 auto;
}
.pricer__wrap { padding: 0 var(--pad); }

.pricer__panel {
  padding: 0;
  overflow: hidden;
  border-radius: var(--r-l);
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.08) 100%);
  position: relative;
}
.pricer__split {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) 1.1fr;
}
@media (max-width: 960px){ .pricer__split { grid-template-columns: 1fr; } }

/* LEFT — controls */
.pricer__controls {
  padding: 44px 44px 44px;
  display: grid; gap: 36px;
  border-right: 1px solid var(--hairline-2);
}
@media (max-width: 960px){
  .pricer__controls { border-right: 0; border-bottom: 1px solid var(--hairline-2); padding: 36px 30px; }
}

.pricer__field { display: grid; gap: 14px; }
.pricer__field > label {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: inline-flex; align-items: center; gap: 10px;
}
.pricer__step {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

/* Segmented controls — icon grid */
.seg {
  display: grid;
  gap: 6px;
  padding: 5px;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--hairline);
  border-radius: var(--r-m);
}
.seg--icons {
  grid-template-columns: repeat(2, 1fr);
}
.seg--tiers {
  grid-template-columns: repeat(3, 1fr);
}
.seg__btn {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 14px 10px;
  border-radius: calc(var(--r-m) - 6px);
  color: var(--ink-dim);
  font-size: 13px;
  letter-spacing: .02em;
  background: transparent;
  border: 1px solid transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  text-align: center;
  min-width: 0;
  cursor: pointer;
}
.seg__btn svg { color: var(--ink-faint); transition: color .35s var(--ease); flex-shrink: 0; }
.seg__btn:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.04);
}
.seg__btn:hover svg { color: var(--ink); }
.seg__btn.is-active {
  background: linear-gradient(135deg, rgba(255,128,0,0.22), rgba(255,128,0,0.08));
  border-color: rgba(255,128,0,0.4);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 4px 18px -6px rgba(255,128,0,0.35);
}
.seg__btn.is-active svg { color: var(--accent); }

/* Tier variant (three columns with sub-text) */
.seg--tiers .seg__btn { padding: 14px 8px; }
.seg__tier {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: inherit;
}
.seg__sub {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.seg__btn.is-active .seg__sub { color: var(--accent); }

@media (max-width: 520px){
  .seg--icons { grid-template-columns: 1fr 1fr; }
  .seg__btn { padding: 12px 8px; font-size: 12px; }
}

/* Area — big value + styled slider + ticks */
.pricer__area-big {
  display: inline-flex; align-items: baseline; gap: 8px;
}
.pricer__area-val {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
}
.pricer__area-unit {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.pricer__slider { display: grid; gap: 10px; }
.pricer__slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right,
    var(--accent) 0%,
    var(--accent) var(--p, 18%),
    rgba(255,255,255,0.08) var(--p, 18%),
    rgba(255,255,255,0.08) 100%
  );
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}
.pricer__slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff 0%, #ffd6b3 60%, #FF8000 100%);
  border: 2px solid #fff;
  cursor: grab;
  box-shadow:
    0 0 0 4px rgba(255,128,0,0.2),
    0 6px 16px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform .2s var(--ease), box-shadow .3s var(--ease);
}
.pricer__slider input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.12);
  box-shadow:
    0 0 0 6px rgba(255,128,0,0.25),
    0 8px 20px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.6);
}
.pricer__slider input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; }
.pricer__slider input[type="range"]::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff 0%, #ffd6b3 60%, #FF8000 100%);
  border: 2px solid #fff;
  cursor: grab;
  box-shadow: 0 0 0 4px rgba(255,128,0,0.2), 0 6px 16px rgba(0,0,0,0.5);
}
.pricer__slider-ticks {
  display: flex; justify-content: space-between;
  padding: 0 2px;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

/* RIGHT — dramatic output */
.pricer__output {
  padding: 44px;
  display: grid;
  gap: 20px;
  position: relative;
  align-content: start;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(255,128,0,0.08), transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(120,160,220,0.06), transparent 55%);
}
@media (max-width: 960px){ .pricer__output { padding: 36px 30px; } }
.pricer__glow {
  position: absolute;
  top: 0; right: 0;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,128,0,0.22), transparent 70%);
  pointer-events: none;
  filter: blur(30px);
  z-index: 0;
}
.pricer__output > * { position: relative; z-index: 1; }

.pricer__output-eyebrow {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.pricer__big {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(56px, 8.5vw, 120px);
  letter-spacing: -.04em;
  line-height: .95;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.pricer__big-pre {
  font-size: .55em;
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.pricer__big-dash {
  color: var(--ink-faint);
  font-weight: 300;
  margin: 0 6px;
}
.pricer__big-unit {
  font-family: var(--f-sans);
  font-size: 14px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: -8px;
}
.pricer__big-unit span {
  color: var(--ink-faint);
  letter-spacing: .14em;
  font-size: 12px;
}

/* Cost breakdown bars */
.pricer__breakdown {
  padding: 20px 22px;
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-m);
  background: rgba(255,255,255,0.015);
  display: grid; gap: 14px;
  margin-top: 10px;
}
.pricer__brk-head {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.pricer__brk-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: center;
}
.pricer__brk-label {
  font-size: 13px;
  color: var(--ink);
}
.pricer__brk-val {
  font-size: 13px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.pricer__brk-bar {
  grid-column: 1 / -1;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
}
.pricer__brk-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #cc6600);
  border-radius: 999px;
  width: 0;
  transition: width .9s var(--ease);
  box-shadow: 0 0 10px rgba(255,128,0,0.4);
}

.pricer__note {
  margin: 4px 0 0;
  max-width: 54ch;
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.55;
}

.pricer__cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 8px;
}
@media (max-width: 720px){ .pricer__cta { grid-template-columns: 1fr; } }
.btn--pricer-wa {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #000;
  font-weight: 500;
  justify-content: center;
  box-shadow:
    var(--shadow-warm),
    inset 0 1px 0 rgba(255,255,255,0.30);
  transition: background .35s var(--ease), box-shadow .45s var(--ease), transform .35s var(--ease);
}
.btn--pricer-wa:hover {
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent-deep) 100%);
  transform: translateY(-1px);
  box-shadow:
    0 28px 70px -22px var(--accent-shadow),
    inset 0 1px 0 rgba(255,255,255,0.35);
}
.pricer__cta .btn--ghost { justify-content: center; }

/* =========================================================
   PROJECTS — tabbed
   ========================================================= */
.projects { padding: 120px 0 60px; }
.projects__head { display: flex; flex-direction: column; align-items: flex-start; }

.projects__tabs {
  max-width: var(--container);
  margin: 0 auto 40px;
  padding: 0 var(--pad);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tab {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hairline);
  color: var(--ink-dim);
  font-size: 13px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.tab:hover { color: var(--ink); background: rgba(255,255,255,0.06); }
.tab.is-active {
  background: linear-gradient(135deg, rgba(255,128,0,0.22), rgba(255,128,0,0.08));
  border-color: rgba(255,128,0,0.4);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}
.tab__dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.tab__dot--ongoing   { background: #f5c518; box-shadow: 0 0 10px rgba(245,197,24,0.6); animation: tabPulse 2s ease-in-out infinite; }
.tab__dot--completed { background: #34c759; }
.tab__dot--upcoming  { background: var(--accent); opacity: .6; }
@keyframes tabPulse { 50% { opacity: .4; } }
.tab__count {
  font-variant-numeric: tabular-nums;
  opacity: .5;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
}

.projects__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
  min-height: 420px;
}

/* Project card */
.pcard {
  position: relative;
  border-radius: var(--r-m);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.06));
  border: 1px solid var(--hairline-2);
  isolation: isolate;
  transition: transform .6s var(--ease), border-color .6s var(--ease);
  opacity: 0;
  transform: translateY(16px);
  animation: pcardIn .8s var(--ease-out) forwards;
}
@keyframes pcardIn { to { opacity: 1; transform: none; } }
.pcard:hover { border-color: rgba(255,128,0,0.35); transform: translateY(-4px); }

.pcard__media {
  position: relative;
  aspect-ratio: 16/11;
  overflow: hidden;
}
.pcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 1s var(--ease), filter 1s var(--ease);
  filter: grayscale(25%) contrast(1.04);
}
.pcard:hover .pcard__media img {
  transform: scale(1);
  filter: grayscale(0%) contrast(1.02);
}
.pcard__badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10,10,11,0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  z-index: 2;
}
.pcard__badge i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.pcard__badge--ongoing i   { background: #f5c518; animation: tabPulse 2s ease-in-out infinite; }
.pcard__badge--completed i { background: #34c759; }
.pcard__badge--upcoming i  { background: var(--accent); opacity: .8; }

.pcard__floor {
  position: absolute;
  bottom: 14px; right: 14px;
  width: 68px; height: 68px;
  border-radius: var(--r-s);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 20px rgba(0,0,0,.5);
  transition: transform .4s var(--ease);
  cursor: pointer;
  z-index: 2;
}
.pcard__floor::after {
  content: "Floor plan";
  position: absolute;
  top: -22px; right: 0;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.pcard__floor:hover { transform: scale(1.1); }
.pcard__floor:hover::after { opacity: 1; }
.pcard__floor img { width: 100%; height: 100%; object-fit: cover; filter: invert(1) hue-rotate(180deg) contrast(1.1); }

.pcard__body {
  padding: 20px 22px 22px;
  display: grid; gap: 8px;
}
.pcard__title {
  margin: 0;
  font-family: var(--f-display); font-weight: 400;
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.pcard__meta {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.pcard__desc {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.5;
  margin: 4px 0 0;
}

/* Progress bar — only for ongoing */
.pcard__progress {
  margin-top: 10px;
  display: grid; gap: 6px;
}
.pcard__progress-head {
  display: flex; justify-content: space-between;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.pcard__progress-head b {
  color: var(--accent);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.pcard__progress-track {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
}
.pcard__progress-track i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent), #cc6600);
  border-radius: 999px;
  width: 0;
  transition: width 1.2s var(--ease);
  box-shadow: 0 0 10px rgba(255,128,0,0.4);
}

.projects__more {
  display: flex; justify-content: center;
  padding: 80px var(--pad) 20px;
}

/* Empty state */
.projects__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-faint);
  font-size: 14px;
}

/* =========================================================
   GALLERY — masonry + lightbox
   ========================================================= */
.gal {
  padding: 100px 0 60px;
  max-width: var(--container);
  margin: 0 auto;
}

.gal__filters {
  padding: 0 var(--pad);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.gal__filter {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,0.03);
  color: var(--ink-dim);
  font-size: 12px;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.gal__filter:hover { color: var(--ink); background: rgba(255,255,255,0.06); }
.gal__filter.is-active {
  background: var(--accent);
  color: #0a0a0b;
  border-color: var(--accent);
  font-weight: 500;
}

.gal__grid {
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-rows: 220px;
  gap: 14px;
}
.gcard {
  position: relative;
  border-radius: var(--r-s);
  overflow: hidden;
  cursor: pointer;
  background: #1a1a1e;
  isolation: isolate;
  opacity: 0;
  transform: translateY(16px);
  animation: gcardIn .7s var(--ease-out) forwards;
}
.gcard--tall { grid-row: span 2; }
@keyframes gcardIn { to { opacity: 1; transform: none; } }

.gcard img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1s var(--ease), filter 1s var(--ease);
  filter: grayscale(15%) contrast(1.04);
}
.gcard:hover img {
  transform: scale(1.1);
  filter: grayscale(0%) contrast(1);
}
.gcard__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 18px;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,11,.75) 100%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.gcard:hover .gcard__overlay { opacity: 1; }
.gcard__cap {
  font-size: 13px;
  color: var(--ink);
  letter-spacing: .02em;
  transform: translateY(8px);
  transition: transform .5s var(--ease);
}
.gcard:hover .gcard__cap { transform: none; }
.gcard__cat {
  display: block;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0;
  z-index: 200;
  display: grid; place-items: center;
  background: rgba(8,8,10,0.94);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  backdrop-filter: blur(20px) saturate(1.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__stage {
  margin: 0;
  max-width: min(1200px, 92vw);
  max-height: 82vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
}
.lightbox__stage img {
  max-width: 100%; max-height: 72vh;
  object-fit: contain;
  border-radius: var(--r-s);
  box-shadow: 0 40px 120px rgba(0,0,0,.7);
  transform: scale(.92);
  opacity: 0;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out);
}
.lightbox.is-open .lightbox__stage img {
  transform: scale(1);
  opacity: 1;
}
.lightbox__caption {
  color: var(--ink);
  font-size: 14px;
  letter-spacing: .02em;
  max-width: 60ch;
  text-align: center;
  opacity: .85;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--ink);
  display: grid; place-items: center;
  width: 48px; height: 48px;
  transition: background .3s var(--ease), transform .3s var(--ease);
  cursor: pointer;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--accent);
  color: #0a0a0b;
  border-color: var(--accent);
  transform: scale(1.08);
}
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__counter {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 720px){
  .lightbox__nav { width: 42px; height: 42px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
  .lightbox__close { top: 12px; right: 12px; }
  .gal__grid { grid-auto-rows: 180px; gap: 10px; }
}

/* =========================================================
   PROCESS
   ========================================================= */
.process { padding: 140px 0; max-width: var(--container); margin: 0 auto; }
.process__list {
  padding: 0 var(--pad);
  display: grid;
  gap: 10px;
}
.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  padding: 28px 0;
  border-top: 1px solid var(--hairline);
  position: relative;
  transition: background .6s var(--ease), padding .6s var(--ease);
}
.step:hover { background: rgba(255,255,255,0.02); }
.step__num {
  font-family: var(--f-display); font-style: italic;
  color: var(--ink-dim);
  font-size: 20px;
}
.step__body h3 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.step__body p { color: var(--ink-dim); max-width: 60ch; margin: 0; }
.step:last-child { border-bottom: 1px solid var(--hairline); }

/* =========================================================
   REVIEWS — Google Reviews section
   ========================================================= */
.reviews {
  padding: 120px 0;
  max-width: var(--container);
  margin: 0 auto;
}

/* Rating summary card */
.reviews__summary-wrap {
  padding: 0 var(--pad);
  margin-bottom: 36px;
}
.reviews__summary {
  padding: 36px;
  max-width: 1040px;
  margin: 0 auto;
}
.reviews__summary-inner {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 40px;
  align-items: center;
}
.reviews__rating {
  display: grid; gap: 8px;
  padding-right: 30px;
  border-right: 1px solid var(--hairline);
}
.reviews__stars {
  font-size: 26px;
  letter-spacing: 4px;
  color: #f5c518;               /* classic review gold */
  text-shadow: 0 0 20px rgba(245,197,24,0.45);
}
.reviews__rating-num {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}
.reviews__rating-count {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.reviews__pitch p {
  margin: 0 0 22px;
  color: var(--ink-dim);
  max-width: 52ch;
  font-size: 15px;
}
.reviews__cta {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.reviews__cta .btn svg { flex-shrink: 0; color: currentColor; }

@media (max-width: 720px){
  .reviews__summary-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .reviews__rating {
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
    padding: 0 0 20px;
  }
}

/* Preview banner */
.reviews__preview {
  display: flex; align-items: center; gap: 14px;
  max-width: 1040px;
  margin: 0 auto 20px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed var(--hairline);
  border-radius: var(--r-s);
  font-size: 13px;
  color: var(--ink-dim);
  margin-left: var(--pad);
  margin-right: var(--pad);
}
.reviews__preview-chip {
  font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--accent);
  color: #0a0a0b;
  border-radius: 999px;
  font-weight: 500;
  flex-shrink: 0;
}

/* Review cards grid */
.reviews__grid {
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px){ .reviews__grid { grid-template-columns: 1fr; } }

/* Individual review card */
.review {
  padding: 28px 28px 24px;
  display: grid; gap: 18px;
}
.review__head {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
}
.review__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 400;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.16));
  border: 1px solid var(--glass-brd);
}
.review__avatar--a { background: linear-gradient(135deg, #FF8000, #aa4400); color: #0a0a0b; }
.review__avatar--b { background: linear-gradient(135deg, #6fa2d9, #3c628e); color: #0a0a0b; }
.review__avatar--c { background: linear-gradient(135deg, #b4d96f, #6a8e3c); color: #0a0a0b; }
.review__who {
  display: grid; gap: 2px;
  min-width: 0;
}
.review__name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review__date {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.review__stars {
  font-size: 14px;
  letter-spacing: 2px;
  color: #f5c518;
}
.review__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-dim);
}
.review__foot {
  display: flex; align-items: center; gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline-2);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Widget mount */
.reviews__widget {
  padding: 0 var(--pad);
  margin-top: 40px;
  max-width: var(--container);
}
.reviews__widget:empty { display: none; }

/* =========================================================
   SHARE YOUR REVIEW — customer submission section
   ========================================================= */
.share {
  padding: 120px 0;
  max-width: var(--container);
  margin: 0 auto;
}
.share__grid {
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: minmax(340px, 440px) 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 980px){
  .share__grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Form */
.share__form-wrap { padding: 36px; }
.share__form { display: grid; gap: 16px; }
.share__form .eyebrow { margin: 0 0 4px; }
.share__heading {
  margin: 0 0 8px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -.01em;
  color: var(--ink);
}
.share__hp { display: none !important; }
.share__note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ink-faint);
  line-height: 1.55;
}

/* Field enhancements used here */
.field__hint {
  color: var(--ink-faint);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  font-size: 11px;
  margin-left: 6px;
}
.field--file input[type="file"] {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ink-dim);
}
.field--file input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,0.06);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  letter-spacing: .05em;
  cursor: pointer;
}
.field__filename {
  font-size: 12px;
  color: var(--accent);
  margin-top: 4px;
  min-height: 16px;
}

/* Star rating input */
.rating-input {
  display: inline-flex; gap: 2px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 4px 10px;
  width: max-content;
}
.rating-input button {
  font-size: 26px;
  line-height: 1;
  color: rgba(255,255,255,0.15);
  padding: 4px 2px;
  transition: color .2s var(--ease), transform .2s var(--ease), text-shadow .2s var(--ease);
  cursor: pointer;
}
.rating-input button.is-filled {
  color: #f5c518;
  text-shadow: 0 0 12px rgba(245,197,24,0.5);
}
.rating-input button:hover { transform: scale(1.18); }
.rating-input button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* Thank-you success state (form swap) */
.share__success { text-align: center; padding: 30px 10px; }
.share__success-tick {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #cc6600);
  color: #0a0a0b;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  font-size: 32px;
  box-shadow: 0 10px 30px -6px rgba(255,128,0,0.4);
}
.share__success h3 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
.share__success p {
  color: var(--ink-dim);
  max-width: 38ch;
  margin: 0 auto;
  font-size: 14px;
}

/* Wall (approved reviews display) */
.share__wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  align-content: start;
}
.share__empty {
  grid-column: 1 / -1;
  padding: 40px 32px;
  text-align: center;
}
.share__empty-stars {
  font-size: 28px;
  letter-spacing: 4px;
  color: #f5c518;
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(245,197,24,0.3);
}
.share__empty h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 12px;
}
.share__empty p {
  margin: 0 auto 10px;
  max-width: 50ch;
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.6;
}
.share__empty-hint {
  font-size: 12px !important;
  letter-spacing: .06em;
  color: var(--ink-faint) !important;
  margin-top: 20px !important;
}

/* Individual submitted review card — same visual DNA as Google review cards */
.sreview {
  padding: 24px 24px 20px;
  display: grid; gap: 14px;
  position: relative;
}
.sreview__head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
}
.sreview__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: 18px;
  color: #0a0a0b;
  background: linear-gradient(135deg, var(--accent), #aa4400);
  border: 1px solid var(--glass-brd);
  overflow: hidden;
  flex-shrink: 0;
}
.sreview__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sreview__who { min-width: 0; }
.sreview__name {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sreview__meta {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.sreview__stars {
  font-size: 13px;
  letter-spacing: 2px;
  color: #f5c518;
}
.sreview__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-dim);
}
.sreview__photo {
  margin-top: 4px;
  border-radius: var(--r-s);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--hairline-2);
}
.sreview__photo img { width: 100%; height: 100%; object-fit: cover; }
.sreview__foot {
  display: flex; align-items: center; gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline-2);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 120px 0; max-width: var(--container); margin: 0 auto; }
.faq__list {
  padding: 0 var(--pad);
  max-width: 900px;
  margin: 0 auto;
}
.faq__item {
  border-top: 1px solid var(--hairline);
  padding: 24px 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--hairline); }
.faq__item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -.01em;
  cursor: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--f-display);
  color: var(--ink-dim);
  font-size: 28px;
  transition: transform .4s var(--ease), color .4s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq__item p { color: var(--ink-dim); max-width: 65ch; margin: 14px 0 0; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  position: relative;
  padding: 140px var(--pad);
  overflow: hidden;
}
.contact__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40% 60% at 80% 20%, rgba(255,128,0,0.16), transparent 60%),
    radial-gradient(40% 40% at 10% 80%, rgba(120,160,220,0.14), transparent 60%);
  filter: blur(40px);
}
.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: start;
}
.contact__lede { color: var(--ink-dim); max-width: 44ch; margin: 26px 0 40px; font-size: 17px; }

.contact__meta {
  display: grid; gap: 18px;
  border-top: 1px solid var(--hairline-2);
  padding-top: 28px;
  font-size: 14px;
}
.contact__meta > div { display: grid; gap: 4px; }
.contact__meta span {
  font-size: 11px; letter-spacing: .2em; color: var(--ink-dim); text-transform: uppercase;
}
.contact__meta a { color: var(--ink); border-bottom: 1px solid var(--hairline); }

.contact__form { padding: 36px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: 11px; letter-spacing: .2em; color: var(--ink-dim); text-transform: uppercase;
}
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hairline);
  border-radius: var(--r-s);
  padding: 14px 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  font-family: var(--f-sans);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(255,128,0,0.6);
  background: rgba(255,255,255,0.06);
}
.field textarea { resize: vertical; min-height: 96px; }

/* Form invalid-shake */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.contact__form.is-shake { animation: shake .45s cubic-bezier(.36,.07,.19,.97); }

@media (max-width: 960px){
  .contact__inner { grid-template-columns: 1fr; gap: 50px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.foot {
  padding: 80px var(--pad) 40px;
  border-top: 1px solid var(--hairline-2);
  max-width: var(--container);
  margin: 0 auto;
}
.foot__big {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: clamp(10px, 2vw, 28px);
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(64px, 14vw, 220px);
  line-height: .95;
  letter-spacing: -.04em;
  color: var(--ink);
}
.foot__amp { color: var(--accent); font-style: italic; }
.foot__row {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-2);
  display: flex; flex-wrap: wrap; gap: 20px;
  justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--ink-dim);
}
.foot__links { display: flex; gap: 22px; }
.foot__links a { color: var(--ink-dim); transition: color .3s var(--ease); }
.foot__links a:hover { color: var(--ink); }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .2s !important;
    animation-iteration-count: 1 !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  [data-split] .line > span { transform: none; }
}

/* =========================================================
   MOBILE RESPONSIVE — tablet & below (≤ 720px)
   ========================================================= */
@media (max-width: 720px){
  /* Performance: drop heavy effects on mobile */
  .glass::before { display: none; }
  .glass::after { display: none; }
  .hero__lights { opacity: .25; }
  .grain { opacity: .3; }
  body { cursor: auto; }
  .cursor { display: none; }
  .glass, .nav, .drawer {
    -webkit-backdrop-filter: blur(8px) saturate(1);
    backdrop-filter: blur(8px) saturate(1);
  }

  /* Tighter global padding */
  :root { --pad: 22px; }

  /* Hide the in-nav language toggle — accessible in the drawer instead */
  .nav > .lang-toggle { display: none; }

  /* Section vertical padding — 120px is too much on phones */
  .about, .services, .process, .voices, .reviews, .share, .faq, .pricer {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .contact { padding-top: 90px; padding-bottom: 90px; }
  .projects { padding-top: 80px; padding-bottom: 40px; }
  .section__head { margin-bottom: 44px; }

  /* Hero — tighten spacing, reduce title size, drop meta dots */
  .hero {
    padding-top: 110px;
    padding-bottom: 40px;
    min-height: 92svh;
  }
  .hero__title {
    font-size: clamp(42px, 11.5vw, 68px);
    max-width: 100%;
  }
  .hero__meta {
    font-size: 10px;
    gap: 10px;
    letter-spacing: .18em;
  }
  .hero__meta-dot { display: none; }
  .hero__panel {
    padding: 22px 22px 20px;
    margin-top: 20px;
  }
  .hero__scroll { display: none; } /* not useful on touch */

  /* Display headlines across sections — scale down */
  .h-display { font-size: clamp(38px, 9.5vw, 62px); }

  /* About — stat grid stays 2 cols but smaller numbers */
  .about__grid { gap: 50px; }
  .about__stats { gap: 24px 20px; padding-top: 28px; }
  .stat__num { font-size: clamp(32px, 8.5vw, 44px); }
  .about__visual { min-height: 360px; }
  .about__lede { margin-bottom: 36px; font-size: 15px; }

  /* Value-prop strip — already stacks, tighten */
  .props__inner { padding: 32px var(--pad); gap: 22px; }
  .prop__body h4 { font-size: 13px; }
  .prop__body p { font-size: 13px; }

  /* Services */
  .service { padding: 28px 24px; min-height: auto; }
  .service__title { font-size: 24px; }

  /* Projects */
  .project__title { font-size: clamp(28px, 8vw, 44px); }
  .projects__stack { gap: 44px; }

  /* Process steps — narrow number column */
  .step {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 22px 0;
  }
  .step__num { font-size: 16px; padding-top: 4px; }
  .step__body h3 { font-size: clamp(22px, 6vw, 32px); margin-bottom: 6px; }
  .step__body p { font-size: 14px; }

  /* Reviews — summary stacks, preview banner compresses */
  .reviews__summary { padding: 28px 24px; }
  .reviews__rating-num { font-size: 44px; }
  .reviews__stars { font-size: 22px; letter-spacing: 3px; }
  .reviews__preview {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 10px;
    font-size: 12px;
  }

  /* Share form + empty state */
  .share__form-wrap { padding: 28px 24px; }
  .share__empty { padding: 32px 22px; }
  .share__empty h3 { font-size: 22px; }
  .rating-input button { font-size: 22px; }

  /* Pricing calculator */
  .pricer__controls, .pricer__output { padding: 28px 22px; }
  .pricer__big { font-size: clamp(48px, 14vw, 84px); }
  .pricer__area-val { font-size: 36px; }
  .seg--icons { grid-template-columns: 1fr 1fr; }
  .seg__btn { padding: 12px 8px; font-size: 12px; }
  .seg__sub { font-size: 9px; }
  .pricer__breakdown { padding: 16px 18px; }
  .pricer__cta { grid-template-columns: 1fr; }
  .pricer__cta .btn { padding: 14px 16px; font-size: 12px; }

  /* FAQ — slightly tighter */
  .faq__item { padding: 20px 0; }
  .faq__item summary { font-size: clamp(17px, 4.5vw, 22px); }
  .faq__item summary::after { font-size: 22px; }
  .faq__item p { font-size: 14px; }

  /* Contact */
  .contact__inner { gap: 40px; }
  .contact__form { padding: 28px 22px; }
  .contact__meta { font-size: 13px; }
  .contact__lede { font-size: 15px; margin-bottom: 32px; }

  /* Footer — control the giant type */
  .foot { padding: 60px var(--pad) 30px; }
  .foot__big {
    font-size: clamp(56px, 20vw, 120px);
    gap: 10px;
    line-height: .98;
  }
  .foot__row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot__links { flex-wrap: wrap; gap: 16px; }

  /* Marquee — smaller */
  .marquee__track { font-size: 22px; gap: 24px; }

  /* Floating fabs — make sure they don't collide */
  .chat__fab { width: 54px; height: 54px; }
  .wabtn { width: 50px; height: 50px; bottom: calc(clamp(16px, 3vw, 32px) + 66px); }

  /* Nav brand — keep brand compact */
  .nav__brand-name em { display: none; }
  .nav { padding: 8px 8px 8px 16px; }

  /* Drawer lang toggle — show & center */
  .lang-toggle--drawer {
    font-size: 13px;
    padding: 10px 18px;
    margin: 30px auto 0;
    display: inline-flex;
  }
}

/* =========================================================
   NARROW MOBILE — iPhone SE / very tight screens (≤ 400px)
   ========================================================= */
@media (max-width: 400px){
  :root { --pad: 18px; }
  .hero__title { font-size: clamp(36px, 12vw, 52px); }
  .h-display { font-size: clamp(32px, 10vw, 52px); }
  .hero__panel-cta { flex-direction: column; align-items: stretch; }
  .hero__panel-cta .btn { width: 100%; justify-content: center; }
  .contact__form .btn--full { font-size: 12px; }
  .reviews__cta { flex-direction: column; align-items: stretch; }
  .reviews__cta .btn { width: 100%; justify-content: center; }
  .foot__big { font-size: clamp(46px, 22vw, 88px); }
  .seg--tiers { grid-template-columns: 1fr; }
  .seg--tiers .seg__btn { padding: 10px 12px; }
  .seg__tier, .seg__sub { display: inline; }
  .seg__tier { margin-right: 6px; }
  .pricer__slider-ticks { font-size: 9px; }
}

/* =========================================================
   LANDSCAPE PHONES — prevent hero from being too tall
   ========================================================= */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px){
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 60px; }
  .hero__title { font-size: clamp(36px, 7vw, 52px); }
}

/* Devices that explicitly ask for less motion — strip animations and filters */
@media (prefers-reduced-motion: reduce) {
  .glass::before, .hero__lights, .hero__video {
    animation: none !important;
  }
  .hero__video { transform: scale(1.08); }
}

/* =========================================================
   WHATSAPP FLOATING BUTTON
   ========================================================= */
.wabtn {
  position: fixed;
  left: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 119;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  display: grid; place-items: center;
  box-shadow:
    0 10px 30px -6px rgba(37,211,102,0.45),
    0 18px 50px -10px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.wabtn:hover {
  transform: translateY(-3px) scale(1.05);
}
.wabtn:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.wabtn__tip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  opacity: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10,10,11,0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .08em;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.wabtn:hover .wabtn__tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.wabtn__pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  pointer-events: none;
  animation: waPulse 3s ease-out infinite;
  animation-delay: 1s;
}
@keyframes waPulse {
  0%   { opacity: .7; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.9); }
}

/* Mobile: stack WA above chat on the right side */
@media (max-width: 520px){
  .wabtn {
    left: auto;
    right: clamp(16px, 3vw, 32px);
    bottom: calc(clamp(16px, 3vw, 32px) + 72px);
    width: 54px; height: 54px;
  }
  .wabtn__tip { display: none; }
}

/* =========================================================
   GK ASSISTANT — chat widget
   ========================================================= */
.chat {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 120;
}

/* Floating action button */
.chat__fab {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #cc6600 100%);
  color: #0a0a0b;
  display: grid; place-items: center;
  box-shadow:
    0 10px 30px -6px rgba(255,128,0,0.5),
    0 20px 50px -10px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.25);
  cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.chat__fab:hover { transform: translateY(-3px) scale(1.04); }
.chat__fab:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.chat__fab-icon {
  position: absolute;
  transition: transform .45s var(--ease), opacity .3s var(--ease);
}
.chat__fab-icon--close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat.is-open .chat__fab-icon--chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat.is-open .chat__fab-icon--close { opacity: 1; transform: rotate(0) scale(1); }
.chat__fab-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: chatPulse 2.8s ease-out infinite;
  pointer-events: none;
}
.chat.is-open .chat__fab-pulse { animation: none; opacity: 0; }
@keyframes chatPulse {
  0%   { opacity: .7; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.8); }
}

/* Chat panel */
.chat__panel {
  position: absolute;
  right: 0; bottom: 84px;
  width: min(380px, calc(100vw - 32px));
  height: min(600px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  border-radius: var(--r-l);
  opacity: 0; pointer-events: none;
  transform: translateY(20px) scale(.96);
  transform-origin: 100% 100%;
  transition: opacity .45s var(--ease), transform .5s var(--ease);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(22,22,26,0.96), rgba(14,14,18,0.96));
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
}
.chat.is-open .chat__panel {
  opacity: 1; pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat__head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--hairline-2);
  background: rgba(255,255,255,0.02);
}
.chat__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #7d5428 100%);
  color: #0a0a0b;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.chat__who { display: grid; gap: 2px; min-width: 0; }
.chat__name { font-size: 15px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.chat__status {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-flex; align-items: center; gap: 6px;
}
.chat__status i {
  width: 7px; height: 7px; border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 10px rgba(52,199,89,0.8);
  animation: pulseGreen 2s ease-in-out infinite;
}
@keyframes pulseGreen { 50% { opacity: .4; } }
.chat__close {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-dim);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.chat__close:hover { background: rgba(255,255,255,0.06); color: var(--ink); }

/* Log */
.chat__log {
  flex: 1 1 auto;
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.chat__log::-webkit-scrollbar { width: 6px; }
.chat__log::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

.chat__msg {
  max-width: 85%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -.005em;
  animation: msgIn .4s var(--ease-out);
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.chat__msg--bot {
  align-self: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--hairline-2);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.chat__msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--accent), #cc6600);
  color: #0a0a0b;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}
.chat__msg a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}
.chat__msg--user a { color: #0a0a0b; }

/* Typing indicator */
.chat__typing {
  align-self: flex-start;
  padding: 12px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--hairline-2);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  display: inline-flex; gap: 5px;
}
.chat__typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-dim);
  animation: typing 1.4s ease-in-out infinite;
}
.chat__typing i:nth-child(2) { animation-delay: .2s; }
.chat__typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

/* Suggestion chips */
.chat__suggestions {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 10px 14px 4px;
  border-top: 1px solid var(--hairline-2);
}
.chat__chip {
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hairline);
  color: var(--ink-dim);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.chat__chip:hover { background: rgba(255,128,0,0.12); color: var(--ink); border-color: rgba(255,128,0,0.4); }

/* Input form */
.chat__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--hairline-2);
  background: rgba(255,255,255,0.02);
}
.chat__form input {
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.chat__form input:focus {
  border-color: rgba(255,128,0,0.5);
  background: rgba(255,255,255,0.08);
}
.chat__form input::placeholder { color: var(--ink-faint); }
.chat__form button {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #0a0a0b;
  display: grid; place-items: center;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.chat__form button:hover { background: var(--accent); transform: scale(1.06); }

/* Footer */
.chat__foot {
  padding: 10px 14px 12px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
  border-top: 1px solid var(--hairline-2);
}
.chat__foot a {
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: rgba(37,211,102,0.14);
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: 999px;
  transition: background .3s var(--ease);
}
.chat__foot a:hover { background: rgba(37,211,102,0.24); }
.chat__foot a svg { color: #25D366; }

/* Mobile */
@media (max-width: 520px){
  .chat__panel {
    right: -8px;
    width: calc(100vw - 16px);
    height: calc(100vh - 100px);
    bottom: 80px;
  }
  .chat__fab { width: 56px; height: 56px; }
}
