/* ==========================================================================
   Joy Tour and Travels — Aurora Glass / Immersive  (dark skin)
   Palette derived from accent #3483cb  (base hue H = 209°)
   Display: Space Grotesk · Text: Sora
   Motion: parallax-led, shimmer-accented. Compositor-only (transform/opacity/blur).
   ========================================================================== */

@import url("vendor/fonts/fonts.css");

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  /* ---- aurora poles, derived from base H = 209 ------------------------- */
  --aurora-a: oklch(72% 0.18 209);      /* brand blue, brightened          */
  --aurora-b: oklch(70% 0.19 249);      /* analogous indigo flow (H+40)    */
  --aurora-c: oklch(75% 0.155 35);      /* warm amber pop (northern lights)*/
  --aurora-d: oklch(68% 0.16 196);      /* cyan-teal helper for 4th blob   */
  --glow:     oklch(82% 0.16 245);      /* focus / halo (H+40, brighter)   */

  /* ---- page + glass (dark skin) --------------------------------------- */
  --page:        oklch(17% 0.045 258);
  --page-2:      oklch(13% 0.05 260);
  --page-deep:   oklch(10.5% 0.045 262);
  --glass:       oklch(72% 0.05 250 / 0.10);
  --glass-2:     oklch(72% 0.05 250 / 0.055);
  --glass-strong: oklch(72% 0.055 250 / 0.16);
  --glass-stroke: oklch(100% 0 0 / 0.14);
  --glass-stroke-2: oklch(100% 0 0 / 0.08);
  --glass-shadow: 0 30px 70px -34px oklch(2% 0.02 260 / 0.78);
  --glass-shadow-lg: 0 48px 110px -44px oklch(2% 0.02 260 / 0.85);
  --glass-inner: inset 0 1px 0 oklch(100% 0 0 / 0.13);
  --blur: 20px;

  /* ---- ink ------------------------------------------------------------ */
  --ink:    oklch(97% 0.012 250);
  --ink-2:  oklch(83% 0.02 250);
  --muted:  oklch(67% 0.03 250);
  --faint:  oklch(56% 0.03 256);

  --accent:    var(--aurora-a);
  --accent-2:  var(--aurora-b);
  --on-accent: oklch(99% 0.01 250);

  /* ---- geometry / motion --------------------------------------------- */
  --radius:    24px;
  --radius-lg: 30px;
  --radius-sm: 15px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);

  /* ---- type ----------------------------------------------------------- */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-text: "Sora", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --t-hero: clamp(2.8rem, 1rem + 7vw, 6.2rem);
  --t-h2:   clamp(2rem, 1.1rem + 3vw, 3.4rem);
  --t-h3:   clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem);
  --t-body: clamp(1.04rem, 1rem + 0.3vw, 1.18rem);
  --t-kicker: 0.78rem;

  /* ---- spacing -------------------------------------------------------- */
  --sec-pad: clamp(82px, 11vw, 168px);
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Lenis owns scroll once active — when it boots it removes scroll-behavior. */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-text);
  font-size: var(--t-body);
  line-height: 1.62;
  color: var(--ink-2);
  background: var(--page-2);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.tnum { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Aurora-mesh background — fixed, behind everything, CSS-animated.
   3-4 large blurred radial blobs that drift; grain overlay on top.
   -------------------------------------------------------------------------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -10%, var(--page) 0%, var(--page-2) 46%, var(--page-deep) 100%);
  pointer-events: none;
}
.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.7;
  will-change: transform;
  mix-blend-mode: screen;
}
.blob-a {
  width: 58vw; height: 58vw; left: -12vw; top: -14vh;
  background: radial-gradient(circle at 50% 50%, var(--aurora-a) 0%, transparent 66%);
  animation: drift-a 26s var(--ease-soft) infinite alternate;
}
.blob-b {
  width: 64vw; height: 64vw; right: -16vw; top: 4vh;
  background: radial-gradient(circle at 50% 50%, var(--aurora-b) 0%, transparent 66%);
  opacity: 0.62;
  animation: drift-b 32s var(--ease-soft) infinite alternate;
}
.blob-c {
  width: 50vw; height: 50vw; left: 8vw; bottom: -22vh;
  background: radial-gradient(circle at 50% 50%, var(--aurora-c) 0%, transparent 64%);
  opacity: 0.5;
  animation: drift-c 30s var(--ease-soft) infinite alternate;
}
.blob-d {
  width: 44vw; height: 44vw; right: 2vw; bottom: -10vh;
  background: radial-gradient(circle at 50% 50%, var(--aurora-d) 0%, transparent 65%);
  opacity: 0.42;
  animation: drift-d 36s var(--ease-soft) infinite alternate;
}
.aurora__grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("assets/noise.svg");
  background-size: 180px 180px;
  opacity: 0.05;
  mix-blend-mode: overlay;
}

@keyframes drift-a { from { transform: translate3d(0,0,0) scale(1); }  to { transform: translate3d(8vw, 6vh, 0) scale(1.16); } }
@keyframes drift-b { from { transform: translate3d(0,0,0) scale(1.05); } to { transform: translate3d(-7vw, 9vh, 0) scale(0.92); } }
@keyframes drift-c { from { transform: translate3d(0,0,0) scale(0.95); } to { transform: translate3d(9vw, -7vh, 0) scale(1.2); } }
@keyframes drift-d { from { transform: translate3d(0,0,0) scale(1.1); }  to { transform: translate3d(-6vw, -6vh, 0) scale(0.96); } }

/* parallax offset variable driven by JS (scroll scrub on aurora) */
.aurora__layer { position: absolute; inset: -10% 0; transform: translate3d(0, var(--aur-y, 0), 0); will-change: transform; }

/* --------------------------------------------------------------------------
   Demo banner (invariant) + scroll progress
   -------------------------------------------------------------------------- */
.demo-banner {
  position: relative;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  padding: 9px 18px;
  text-align: center;
  font-family: var(--font-text);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-2);
  background: oklch(20% 0.05 258 / 0.72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--glass-stroke-2);
}
.demo-banner b { color: var(--ink); font-weight: 600; }
.demo-banner a {
  color: var(--aurora-a);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: oklch(72% 0.18 209 / 0.5);
}
.demo-banner a:hover { text-decoration-color: var(--aurora-a); }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--aurora-a), var(--aurora-b), var(--aurora-c));
  z-index: 80;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: padding 0.4s var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 12px auto;
  width: min(100% - 2 * var(--gutter), var(--maxw));
  padding: 9px 9px 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-inner);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), margin 0.4s var(--ease);
}
.nav.scrolled .nav__inner {
  background: oklch(16% 0.05 260 / 0.66);
  box-shadow: var(--glass-shadow), var(--glass-inner);
  margin-top: 8px;
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand__chip {
  display: grid;
  place-items: center;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  background: oklch(100% 0 0 / 0.06);
  border: 1px solid var(--glass-stroke-2);
}
.brand__chip img { height: 26px; width: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 0.96rem; color: var(--ink); letter-spacing: -0.01em; white-space: nowrap; }
.brand__loc { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.04em; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  color: var(--ink-2);
  font-weight: 500;
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: oklch(100% 0 0 / 0.06); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: var(--on-accent);
  background: linear-gradient(120deg, var(--aurora-b), var(--aurora-a));
  box-shadow: 0 8px 22px -10px oklch(70% 0.19 249 / 0.8), var(--glass-inner);
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav__cta svg { width: 17px; height: 17px; }
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -12px oklch(70% 0.19 249 / 0.9), 0 0 26px oklch(82% 0.16 245 / 0.45); }

.nav-burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: oklch(100% 0 0 / 0.06);
  border: 1px solid var(--glass-stroke-2);
  position: relative;
  flex: none;
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  position: absolute;
  left: 50%; top: 50%;
  width: 19px; height: 1.7px;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  content: "";
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav.open .nav-burger span { background: transparent; }
.nav.open .nav-burger span::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav.open .nav-burger span::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  min-height: 52px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--wa {
  color: var(--on-accent);
  background: linear-gradient(118deg, var(--aurora-b) 0%, var(--aurora-a) 100%);
  box-shadow: 0 14px 34px -14px oklch(70% 0.19 249 / 0.85), var(--glass-inner);
  position: relative;
  isolation: isolate;
}
.btn--wa::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  z-index: -1;
  box-shadow: 0 0 0 0 oklch(82% 0.16 245 / 0);
  animation: wa-pulse 2.4s var(--ease-soft) infinite;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 oklch(82% 0.16 245 / 0); }
  50%      { box-shadow: 0 0 30px 2px oklch(82% 0.16 245 / 0.5); }
}
.btn--wa:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -16px oklch(70% 0.19 249 / 0.95), 0 0 34px oklch(82% 0.16 245 / 0.5); }
.btn--ghost {
  color: var(--ink);
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-inner);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
}
.btn--ghost:hover { transform: translateY(-3px); background: var(--glass-strong); border-color: oklch(100% 0 0 / 0.22); }

/* --------------------------------------------------------------------------
   Glow pill (kickers / tags)
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  font-family: var(--font-text);
  font-size: var(--t-kicker);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: oklch(100% 0 0 / 0.05);
  border: 1px solid var(--glass-stroke-2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pill__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--aurora-a);
  box-shadow: 0 0 12px 1px var(--glow);
  animation: dot-pulse 2.8s ease-in-out infinite;
}
@keyframes dot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.pill--accent { color: var(--ink); }
.pill--accent .pill__dot { background: var(--aurora-c); box-shadow: 0 0 12px 1px oklch(75% 0.155 35); }

/* --------------------------------------------------------------------------
   Glass surface helper
   -------------------------------------------------------------------------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow), var(--glass-inner);
  backdrop-filter: blur(var(--blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.4);
}

/* light-sweep specular sheen on interactive cards */
.sweep { position: relative; overflow: hidden; isolation: isolate; }
.sweep::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, oklch(100% 0 0 / 0.14), transparent);
  transform: skewX(-18deg);
  transition: transform 0.85s var(--ease);
  pointer-events: none;
  z-index: 3;
}
.sweep:hover::after { transform: translateX(330%) skewX(-18deg); }

/* --------------------------------------------------------------------------
   HERO — fullbleed
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(94vh, 920px);
  display: flex;
  align-items: flex-end;
  padding-top: clamp(40px, 9vh, 110px);
  padding-bottom: clamp(48px, 8vh, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: -8% 0 -2% 0;
  z-index: -1;
  will-change: transform;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}
/* tints: harmonise the photo to the aurora + ensure text contrast */
.hero__media::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, oklch(13% 0.05 260 / 0.42) 0%, oklch(11% 0.05 260 / 0.12) 30%, oklch(11% 0.05 262 / 0.72) 78%, var(--page-2) 100%);
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  mix-blend-mode: soft-light;
  background: linear-gradient(130deg, oklch(72% 0.18 209 / 0.45), transparent 55%, oklch(75% 0.155 35 / 0.3));
}

.hero__inner {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.82fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: end;
}
.hero__head { max-width: 100%; }
.hero h1 {
  font-size: clamp(2.7rem, 1rem + 5.4vw, 4.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-top: 22px;
  max-width: 16ch;
  text-wrap: balance;
}
.hero h1 .grad { white-space: normal; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--aurora-a) 0%, var(--aurora-c) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}
.hero__sub {
  margin-top: 22px;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.24rem);
  color: var(--ink-2);
  max-width: 40ch;
  line-height: 1.6;
}
.hero__cluster { display: flex; flex-direction: column; gap: 16px; }

/* hero glass panel holding the CTAs + quick facts (the floating depth panel) */
.hero__panel {
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius-lg);
  background: oklch(18% 0.05 260 / 0.42);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-shadow-lg), var(--glass-inner);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
}
.hero__panel-h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__route {
  margin: 12px 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.hero__route span { color: var(--faint); font-weight: 500; }
.hero__cta { display: flex; flex-direction: column; gap: 10px; }
.hero__cta .btn { width: 100%; }

.hero__scroll {
  margin-top: clamp(28px, 4vh, 44px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll i {
  width: 1px; height: 30px;
  background: linear-gradient(var(--aurora-a), transparent);
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 40%;
  background: var(--glow);
  animation: scroll-trail 2.2s var(--ease) infinite;
}
@keyframes scroll-trail { 0% { transform: translateY(-120%); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(260%); opacity: 0; } }

/* --------------------------------------------------------------------------
   Trust strip — glass pill row
   -------------------------------------------------------------------------- */
.trust { position: relative; z-index: 2; margin-top: calc(-1 * clamp(28px, 5vw, 52px)); }
.trust__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.6vw, 18px);
  padding: clamp(16px, 2.2vw, 26px);
  border-radius: var(--radius-lg);
}
.trust__item { text-align: center; padding: 8px 6px; position: relative; }
.trust__item + .trust__item::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%;
  width: 1px; background: var(--glass-stroke-2);
}
.trust__n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(120deg, var(--ink), var(--aurora-a));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.trust__l { margin-top: 7px; font-size: 0.82rem; color: var(--muted); letter-spacing: 0.02em; }

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */
.section { padding-block: var(--sec-pad); position: relative; }
.section--tight { padding-block: clamp(60px, 8vw, 110px); }
.head { max-width: 62ch; margin-bottom: clamp(34px, 5vw, 60px); }
.head--center { margin-inline: auto; text-align: center; }
.head h2 { font-size: var(--t-h2); margin-top: 16px; }
.head p { margin-top: 16px; color: var(--muted); font-size: clamp(1.02rem, 1rem + 0.3vw, 1.15rem); max-width: 54ch; }
.head--center p { margin-inline: auto; }

/* --------------------------------------------------------------------------
   About — split: text + pull-quote glass + photo
   -------------------------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.about__body p { color: var(--ink-2); }
.about__body p + p { margin-top: 18px; }
.about__pull {
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-inner);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  position: relative;
}
.about__pull p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.12rem, 1rem + 0.6vw, 1.4rem);
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.about__pull::before {
  content: "“";
  position: absolute; top: -18px; left: 18px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--aurora-a);
  opacity: 0.55;
}
.about__figure {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 9px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-shadow-lg), var(--glass-inner);
}
.about__figure .ph { aspect-ratio: 4 / 5; }
.about__badge {
  position: absolute;
  left: -14px; bottom: 24px;
  display: flex; align-items: center; gap: 11px;
  padding: 12px 18px 12px 14px;
  border-radius: var(--radius-pill);
  background: oklch(18% 0.05 260 / 0.74);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-shadow), var(--glass-inner);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.about__badge svg { width: 30px; height: 30px; color: var(--aurora-a); flex: none; }
.about__badge b { font-family: var(--font-display); font-size: 0.94rem; color: var(--ink); display: block; line-height: 1.15; }
.about__badge span { font-size: 0.74rem; color: var(--muted); }

/* photo frame: photo lives inside glass, with colour wash */
.ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: oklch(22% 0.04 258);
}
.ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03) brightness(1.02);
  transition: transform 0.9s var(--ease);
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(150deg, oklch(72% 0.18 209 / 0.16), transparent 52%, oklch(75% 0.155 35 / 0.12));
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Services — offset / floating glass cards on a grid
   -------------------------------------------------------------------------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.svc {
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-shadow), var(--glass-inner);
  backdrop-filter: blur(var(--blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.4);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
/* offset rhythm: lift the middle column so cards read at different depths */
.services__grid .svc:nth-child(3n+2) { transform: translateY(clamp(14px, 2.4vw, 34px)); }
.services__grid .svc:hover {
  transform: translateY(-6px);
  border-color: oklch(100% 0 0 / 0.22);
  box-shadow: var(--glass-shadow-lg), var(--glass-inner);
}
.services__grid .svc:nth-child(3n+2):hover { transform: translateY(calc(clamp(14px, 2.4vw, 34px) - 6px)); }
.svc__ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 15px;
  margin-bottom: 18px;
  color: var(--aurora-a);
  background: oklch(72% 0.18 209 / 0.12);
  border: 1px solid oklch(72% 0.18 209 / 0.22);
  box-shadow: inset 0 0 18px oklch(72% 0.18 209 / 0.18);
}
.svc:nth-child(3n+2) .svc__ico { color: var(--aurora-c); background: oklch(75% 0.155 35 / 0.12); border-color: oklch(75% 0.155 35 / 0.24); box-shadow: inset 0 0 18px oklch(75% 0.155 35 / 0.16); }
.svc:nth-child(3n+3) .svc__ico { color: var(--aurora-b); background: oklch(70% 0.19 249 / 0.13); border-color: oklch(70% 0.19 249 / 0.26); box-shadow: inset 0 0 18px oklch(70% 0.19 249 / 0.18); }
.svc__ico svg { width: 26px; height: 26px; }
.svc h3 { font-size: var(--t-h3); font-weight: 700; }
.svc p { margin-top: 10px; color: var(--muted); font-size: 0.98rem; line-height: 1.58; }
.svc__more {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--aurora-a);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.svc__more svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.svc:hover .svc__more { gap: 11px; color: var(--ink); }
.svc:hover .svc__more svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Gallery — CAROUSEL (horizontal drag-rail of glass cards, parallax depth)
   -------------------------------------------------------------------------- */
.carousel { position: relative; }
.carousel__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin: 0 auto clamp(28px, 4vw, 48px);
}
.carousel__nav { display: flex; gap: 10px; }
.carousel__btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-inner);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover { background: var(--glass-strong); border-color: oklch(100% 0 0 / 0.24); transform: translateY(-2px); }
.carousel__btn:active { transform: translateY(0) scale(0.96); }
.carousel__btn[disabled] { opacity: 0.32; pointer-events: none; }

.rail {
  display: flex;
  gap: clamp(16px, 2vw, 26px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 14px var(--gutter) 28px;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging .gcard { pointer-events: none; }
/* lead/trail spacer so first card aligns to content edge and last has air */
.rail::before, .rail::after { content: ""; flex: 0 0 max(0px, calc((100vw - var(--maxw)) / 2 - var(--gutter))); }

.gcard {
  flex: 0 0 clamp(248px, 30vw, 360px);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  padding: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-shadow), var(--glass-inner);
  backdrop-filter: blur(var(--blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.4);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s var(--ease);
}
.gcard:hover { border-color: oklch(100% 0 0 / 0.2); box-shadow: var(--glass-shadow-lg), var(--glass-inner); }
.gcard .ph { aspect-ratio: 3 / 4; border-radius: var(--radius-sm); }
.gcard:hover .ph img { transform: scale(1.06); }
.gcard__cap {
  display: flex; align-items: center; gap: 9px;
  padding: 14px 8px 6px;
}
.gcard__cap .pin {
  width: 16px; height: 16px; color: var(--aurora-a); flex: none;
}
.gcard__cap span { font-family: var(--font-display); font-size: 0.9rem; font-weight: 500; color: var(--ink-2); letter-spacing: -0.005em; }
.carousel__hint { margin-top: 4px; text-align: center; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

/* --------------------------------------------------------------------------
   Why-us — glow-icon glass cards (bento-ish 2x2 feature + list)
   -------------------------------------------------------------------------- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.why__feature {
  grid-column: span 6;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--glass-shadow-lg), var(--glass-inner);
  border: 1px solid var(--glass-stroke);
  isolation: isolate;
}
.why__feature img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(1.06) contrast(1.02);
}
.why__feature::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, oklch(13% 0.05 260 / 0.1) 0%, oklch(11% 0.05 262 / 0.78) 78%, oklch(10% 0.05 262 / 0.92) 100%),
              linear-gradient(125deg, oklch(72% 0.18 209 / 0.28), transparent 60%);
}
.why__feature h3 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); }
.why__feature p { margin-top: 12px; color: var(--ink-2); max-width: 32ch; }
.why__list { grid-column: span 6; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.wcard {
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-inner);
  backdrop-filter: blur(var(--blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.4);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
  display: flex; flex-direction: column;
}
.wcard:hover { transform: translateY(-5px); border-color: oklch(100% 0 0 / 0.2); }
.wcard__ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px; margin-bottom: 15px;
  color: var(--aurora-a);
  background: oklch(72% 0.18 209 / 0.1);
  border: 1px solid oklch(72% 0.18 209 / 0.2);
}
.wcard__ico svg { width: 23px; height: 23px; }
.wcard h4 { font-family: var(--font-display); font-size: 1.04rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.wcard p { margin-top: 8px; color: var(--muted); font-size: 0.93rem; line-height: 1.55; }

/* --------------------------------------------------------------------------
   Contact + WhatsApp band — brightest aurora moment
   -------------------------------------------------------------------------- */
.band { position: relative; }
.band__inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 84px) clamp(26px, 5vw, 72px);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-shadow-lg), var(--glass-inner);
  isolation: isolate;
}
.band__inner::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(80% 120% at 12% 0%, oklch(72% 0.18 209 / 0.55), transparent 60%),
    radial-gradient(90% 130% at 100% 100%, oklch(70% 0.19 249 / 0.5), transparent 58%),
    radial-gradient(70% 100% at 70% 20%, oklch(75% 0.155 35 / 0.32), transparent 60%),
    oklch(20% 0.06 258 / 0.6);
}
.band__inner::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: url("assets/noise.svg");
  background-size: 180px;
  opacity: 0.06;
  mix-blend-mode: overlay;
}
.band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.band h2 { font-size: clamp(1.9rem, 1rem + 3vw, 3.2rem); color: var(--ink); }
.band__sub { margin-top: 16px; color: var(--ink-2); max-width: 44ch; font-size: clamp(1.04rem, 1rem + 0.3vw, 1.18rem); }
.band__actions { display: flex; flex-direction: column; gap: 12px; }
.band__actions .btn { width: 100%; }
.band__card {
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: var(--radius);
  background: oklch(15% 0.05 260 / 0.5);
  border: 1px solid var(--glass-stroke);
  box-shadow: var(--glass-inner);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}
.band__row { display: flex; align-items: flex-start; gap: 13px; padding: 12px 0; }
.band__row + .band__row { border-top: 1px solid var(--glass-stroke-2); }
.band__row svg { width: 21px; height: 21px; color: var(--aurora-a); flex: none; margin-top: 2px; }
.band__row a, .band__row span { color: var(--ink-2); font-size: 0.96rem; line-height: 1.5; word-break: break-word; }
.band__row a:hover { color: var(--ink); }
.band__row b { display: block; font-family: var(--font-display); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  margin-top: clamp(60px, 8vw, 110px);
  padding: clamp(44px, 6vw, 76px) 0 30px;
  background: oklch(11% 0.04 262 / 0.7);
  border-top: 1px solid var(--glass-stroke-2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(36px, 5vw, 56px);
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand img { height: 34px; width: auto; }
.footer__brand b { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.footer__about { color: var(--muted); font-size: 0.94rem; max-width: 38ch; line-height: 1.6; }
.footer h5 {
  font-family: var(--font-display);
  font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links a, .footer__links span { color: var(--ink-2); font-size: 0.95rem; transition: color 0.25s var(--ease); }
.footer__links a:hover { color: var(--aurora-a); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--glass-stroke-2);
  font-size: 0.82rem;
  color: var(--faint);
}
.footer__bottom p { max-width: 70ch; }
.footer__bottom .demo-tag { color: var(--muted); }

/* --------------------------------------------------------------------------
   Reveal animation (motion.js adds .in) — blur-in rise
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: blur(7px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }

[data-hero-el] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  filter: blur(8px);
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
}
[data-hero-el].in { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__head { max-width: 22ch; }
  .hero__cluster { max-width: 460px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__figure { max-width: 460px; }
  .why__feature, .why__list { grid-column: span 12; }
  .why__feature { min-height: 300px; }
  .band__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid .svc:nth-child(3n+2) { transform: none; }
  .services__grid .svc:nth-child(3n+2):hover { transform: translateY(-6px); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: span 2; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav__cta { display: none; }
  .nav-burger { display: grid; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: var(--gutter); right: var(--gutter);
    gap: 4px;
    padding: 14px;
    border-radius: var(--radius);
    background: oklch(15% 0.05 260 / 0.92);
    border: 1px solid var(--glass-stroke);
    box-shadow: var(--glass-shadow-lg), var(--glass-inner);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
  }
  .nav.open .nav-links a { padding: 13px 16px; min-height: 46px; display: flex; align-items: center; }
  .hero { min-height: auto; padding-top: 56px; }
  .hero__cluster { max-width: none; }
  .trust__inner { grid-template-columns: 1fr; gap: 4px; }
  .trust__item { display: flex; align-items: baseline; justify-content: center; gap: 12px; padding: 12px 6px; }
  .trust__item + .trust__item::before { display: none; }
  .trust__item + .trust__item { border-top: 1px solid var(--glass-stroke-2); }
  .trust__l { margin-top: 0; }
  .services__grid { grid-template-columns: 1fr; }
  .why__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand-col { grid-column: span 1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .about__badge { left: 0; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .gcard { flex-basis: 80vw; }
}

/* --------------------------------------------------------------------------
   Reduced motion — freeze aurora at a pleasing pose, show everything,
   kill parallax/pulse/blur-in. Static must still look intentional.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .blob-a { transform: translate3d(6vw, 4vh, 0) scale(1.1); }
  .blob-b { transform: translate3d(-5vw, 7vh, 0) scale(0.98); }
  .blob-c { transform: translate3d(7vw, -5vh, 0) scale(1.12); }
  .blob-d { transform: translate3d(-4vw, -4vh, 0) scale(1.02); }
  .hero__media { inset: 0 !important; transform: none !important; }
  [data-reveal], [data-hero-el] { opacity: 1; transform: none; filter: none; }
  .pill__dot, .scroll-trail, .hero__scroll i::after { animation: none !important; }
  .btn--wa::after { animation: none !important; }
  .rail { scroll-snap-type: none; }
}
