/* =========================================================
   Freya AI — VisionFlow Technology
   Apple-inspired cascade / waterfall landing page
   ========================================================= */

:root {
  --bg: #050507;
  --ink: #f5f5f7;
  --muted: #9a9aa2;
  --line: rgba(255, 255, 255, 0.1);
  --violet: #8b5cf6;
  --pink: #ec4899;
  --cyan: #22d3ee;
  --light: #f5f5f7;
  --dark: #1d1d1f;
  --pad: clamp(88px, 11vh, 140px);
  --maxw: 1160px;
  --nav-h: 56px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; }

::selection { background: rgba(139, 92, 246, 0.4); color: #fff; }

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 0.85rem;
  text-decoration: none;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--violet), var(--pink), var(--cyan));
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(16px, 3vw, 30px);
  color: var(--ink);
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled:not(.is-light) {
  background: rgba(5, 5, 7, 0.84);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.nav.is-light {
  background: rgba(245, 245, 247, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(0, 0, 0, 0.07);
  color: var(--dark);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav__logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: filter 0.4s ease;
}
.nav.is-light .nav__logo { filter: invert(1); }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  margin-left: auto;
}
.nav__link {
  position: relative;
  color: rgba(245, 245, 247, 0.78);
  font-size: 0.8rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}
.nav__link:hover { color: inherit; }
.nav__link.is-active { color: inherit; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--violet), var(--pink));
}
.nav.is-light .nav__link { color: rgba(29, 29, 31, 0.58); }
.nav.is-light .nav__link:hover,
.nav.is-light .nav__link.is-active { color: var(--dark); }

/* ---------- Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: var(--pad) clamp(20px, 4.5vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.5);
}
.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.9);
}

h1, h2, h3 { margin: 0; }

h2 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.s-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 72px); }
.s-head--center { margin-inline: auto; text-align: center; }
.s-head--center .eyebrow { justify-content: center; }

.s-lede {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.65;
  color: var(--muted);
}
.s-head--center .s-lede { margin-inline: auto; }

.grad {
  background: linear-gradient(100deg, #c4b5fd, #f9a8d4 48%, #a5f3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.35s var(--ease), background 0.35s ease,
    box-shadow 0.35s ease, border-color 0.35s ease;
}
.btn--primary {
  background: var(--ink);
  color: #08080a;
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.14);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 18px 50px rgba(255, 255, 255, 0.22);
}
.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--ink);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.btn--ghost span { font-size: 0.8em; opacity: 0.7; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease) var(--d, 0s),
    transform 0.9s var(--ease) var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   01 · HERO
   ========================================================= */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: var(--nav-h);
  overflow: hidden;
  isolation: isolate;
}
.hero__aurora { position: absolute; inset: 0; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: drift 20s ease-in-out infinite alternate;
}
.blob--a {
  width: 46vw;
  height: 46vw;
  min-width: 320px;
  min-height: 320px;
  top: -14%;
  left: -12%;
  background: radial-gradient(circle, #6d28d9, transparent 66%);
}
.blob--b {
  width: 42vw;
  height: 42vw;
  min-width: 300px;
  min-height: 300px;
  right: -12%;
  bottom: -18%;
  background: radial-gradient(circle, #be185d, transparent 66%);
  animation-delay: -7s;
}
.blob--c {
  width: 30vw;
  height: 30vw;
  min-width: 220px;
  min-height: 220px;
  top: 28%;
  left: 44%;
  background: radial-gradient(circle, #0e7490, transparent 66%);
  animation-delay: -13s;
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, -5%, 0) scale(1.12); }
  100% { transform: translate3d(-3%, 4%, 0) scale(0.96); }
}

.hero__spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    560px circle at var(--mx, 50%) var(--my, 42%),
    rgba(167, 139, 250, 0.16),
    rgba(236, 72, 153, 0.05) 40%,
    transparent 68%
  );
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero .eyebrow { justify-content: center; }

.hero__title {
  width: fit-content;
  max-width: 100%;
  margin: 20px auto 0;
  font-size: clamp(4rem, 14vw, 10.5rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.055em;
  background: linear-gradient(180deg, #ffffff 8%, #efe9ff 52%, #b9a6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 22px 70px rgba(139, 92, 246, 0.28));
}

.hero__lede {
  margin: 26px auto 0;
  max-width: 26ch;
  font-size: clamp(1.12rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #f2eefb;
}
.hero__sub {
  margin: 18px auto 0;
  max-width: 54ch;
  font-size: clamp(0.96rem, 1.5vw, 1.06rem);
  line-height: 1.7;
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.hero__cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.38);
}
.hero__cue-line {
  position: relative;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}
.hero__cue-line::after {
  content: "";
  position: absolute;
  inset: -100% 0 auto 0;
  height: 100%;
  background: linear-gradient(180deg, transparent, #fff);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% { top: -100%; }
  70%, 100% { top: 100%; }
}

/* =========================================================
   02 · PRODUCT DETAIL
   ========================================================= */
.detail { padding-top: calc(var(--pad) + 24px); }

.detail__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.detail__features { display: block; }

.feature {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.feature:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.feature__num {
  padding-top: 5px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: rgba(245, 245, 247, 0.32);
  font-variant-numeric: tabular-nums;
}
.feature h3 {
  margin-bottom: 7px;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.feature p {
  margin: 0;
  max-width: 48ch;
  font-size: 0.93rem;
  line-height: 1.62;
  color: var(--muted);
}

/* Phone mock */
.phone {
  position: relative;
  width: min(322px, 82vw);
  margin-inline: auto;
  aspect-ratio: 322 / 650;
  padding: 10px;
  border-radius: 54px;
  background: linear-gradient(155deg, #33333d, #0a0a10 38%, #2a1f38 100%);
  box-shadow: 0 50px 130px rgba(109, 40, 217, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
  isolation: isolate;
}
.phone::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.32), transparent 62%);
  filter: blur(46px);
}
.phone::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 3;
  width: 88px;
  height: 24px;
  border-radius: 20px;
  background: #050507;
  transform: translateX(-50%);
}
.phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 45px;
  background: linear-gradient(180deg, #0d0b14, #140e1c 52%, #09090e);
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 46px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.chat__avatar {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fbcfe8, #a855f7 48%, #4c1d95 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.chat__head strong {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.chat__status {
  display: block;
  font-size: 0.62rem;
  color: rgba(245, 245, 247, 0.45);
}
.chat__dots {
  margin-left: auto;
  color: rgba(245, 245, 247, 0.35);
  letter-spacing: 2px;
  font-size: 0.8rem;
}

.chat__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px;
  overflow: hidden;
}
.chat__msg {
  max-width: 84%;
  margin: 0;
  padding: 11px 14px;
  border-radius: 17px;
  font-size: 0.76rem;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease);
}
.chat__msg.is-on,
.chat__choices.is-on { opacity: 1; transform: none; }
.chat__msg--them {
  align-self: flex-start;
  border-bottom-left-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #eceaf4;
}
.chat__msg--me {
  align-self: flex-end;
  border-bottom-right-radius: 5px;
  background: linear-gradient(135deg, #7c3aed, #db2777);
  color: #fff;
}

.chat__choices {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease);
}
.chat__chip {
  padding: 9px 12px;
  border: 1px solid rgba(167, 139, 250, 0.5);
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.12);
  font-size: 0.68rem;
  text-align: center;
  color: #ddd6fe;
}
.chat__chip--alt {
  border-color: rgba(244, 114, 182, 0.42);
  background: rgba(236, 72, 153, 0.1);
  color: #fbcfe8;
}

.chat__typing {
  display: flex;
  gap: 4px;
  align-self: flex-start;
  width: fit-content;
  margin-top: auto;
  padding: 11px 14px;
  border-radius: 17px;
  border-bottom-left-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
}
.chat__typing span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(245, 245, 247, 0.6);
  animation: typing 1.3s infinite ease-in-out;
}
.chat__typing span:nth-child(2) { animation-delay: 0.16s; }
.chat__typing span:nth-child(3) { animation-delay: 0.32s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.chat__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 14px 16px;
  padding: 9px 9px 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.68rem;
  color: rgba(245, 245, 247, 0.35);
}
.chat__send {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff;
  font-size: 0.7rem;
}

/* Gallery / waterfall */
.gallery-block { margin-top: clamp(72px, 10vw, 128px); }
.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}
.gallery-head h3 {
  margin-top: 14px;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.gallery-note {
  max-width: 34ch;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

.gallery { columns: 3; column-gap: 18px; }
.card {
  position: relative;
  break-inside: avoid;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(160deg, var(--g1, #3b0764), var(--g2, #831843));
  transform: translateZ(0);
}
.card::before {
  content: "✧";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.35);
}
.card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 7, 0.88));
  pointer-events: none;
}
.card__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: var(--ar, 3 / 4);
  object-fit: cover;
  transition: transform 1.2s var(--ease), opacity 0.6s ease;
}
.card__img.is-broken,
.card.is-empty .card__img { opacity: 0; }
.card:hover .card__img { transform: scale(1.05); }
.card__cap {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px;
}
.card__cap strong {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card__cap span {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* =========================================================
   03 · COMPANY (light cascade panel)
   ========================================================= */
.section--light {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(28px, 4vw, 48px));
  padding-top: calc(var(--pad) + 24px);
  border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
  background: var(--light);
  color: var(--dark);
}
.section--light .eyebrow { color: #6e6e73; }
.section--light .eyebrow::before { box-shadow: none; }
.section--light .s-lede { color: #6e6e73; }
.section--light .grad {
  background: linear-gradient(100deg, #7c3aed, #db2777 55%, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 44px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.stat__num {
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  color: var(--dark);
}
.stat__label {
  margin: 12px 0 0;
  max-width: 24ch;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #6e6e73;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(48px, 6vw, 76px);
}
.pillar {
  padding: 28px 26px 30px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.07);
}
.pillar__tag {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a1a1a6;
}
.pillar h3 {
  margin: 14px 0 8px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.pillar p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6e6e73;
}

/* =========================================================
   04 · VALUES (white panel)
   ========================================================= */
.section--white {
  position: relative;
  z-index: 2;
  background: #fff;
  color: var(--dark);
  padding-top: clamp(64px, 8vw, 110px);
}
.section--white .eyebrow { color: #6e6e73; }
.section--white .eyebrow::before { box-shadow: none; }
.section--white .grad {
  background: linear-gradient(100deg, #7c3aed, #db2777 55%, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
}

.values__list { border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.value {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(16px, 4vw, 40px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.value__num {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #d2d2d7;
}
.value h3 {
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.value p {
  max-width: 62ch;
  margin: 14px 0 0;
  font-size: clamp(0.96rem, 1.4vw, 1.05rem);
  line-height: 1.7;
  color: #6e6e73;
}

.quote {
  margin: clamp(40px, 5vw, 60px) 0 0;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 24px;
  background: var(--light);
  font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: #1d1d1f;
}

/* =========================================================
   05 · CONTACT (dark cascade panel)
   ========================================================= */
.section--contact {
  position: relative;
  z-index: 3;
  margin-top: calc(-1 * clamp(28px, 4vw, 48px));
  padding-top: calc(var(--pad) + 24px);
  padding-bottom: clamp(56px, 8vw, 96px);
  border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
  background: radial-gradient(900px 460px at 18% 0%, rgba(109, 40, 217, 0.22), transparent 65%), var(--bg);
  color: var(--ink);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact__intro h2 { margin-top: 18px; }
.contact__intro .s-lede { margin-bottom: 30px; }

.contact__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: inherit;
  text-decoration: none;
  transition: padding-left 0.4s var(--ease), background 0.4s ease;
}
.contact__row--last { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
a.contact__row:hover { padding-left: 12px; }
.contact__label {
  flex: none;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, 0.4);
}
.contact__value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  text-align: right;
}
.contact__arrow {
  font-size: 0.85em;
  color: rgba(245, 245, 247, 0.4);
  transition: transform 0.4s var(--ease), color 0.4s ease;
}
a.contact__row:hover .contact__arrow {
  transform: translate(3px, -3px);
  color: #fff;
}
.contact__row--static { cursor: default; }

.footer {
  position: relative;
  z-index: 3;
  background: var(--bg);
  padding: 28px clamp(20px, 4.5vw, 64px) 40px;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
  color: rgba(245, 245, 247, 0.4);
}
.footer__inner p { margin: 0; }
.footer__inner a {
  color: rgba(245, 245, 247, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer__inner a:hover { color: #fff; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .nav { gap: 12px; }
  .nav__links { gap: 16px; }
  .nav__link { font-size: 0.74rem; }

  .detail__stage { grid-template-columns: 1fr; gap: 52px; }
  .detail__features { max-width: 620px; }

  .gallery { columns: 2; }
  .pillars { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__value { text-align: left; }
  .contact__row { align-items: flex-start; }
  .contact__label { padding-top: 3px; }
}

@media (max-width: 760px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .stat__label { max-width: none; }
  .value {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero { padding-bottom: var(--nav-h); }
  .hero__cue { bottom: 22px; }
  .gallery-head { align-items: flex-start; }
}

@media (max-width: 520px) {
  :root { --pad: 72px; }
  .nav__name { display: none; }
  .nav__links { gap: 12px; }
  .nav__link { font-size: 0.7rem; }
  .gallery { columns: 1; }
  .card__img { aspect-ratio: var(--ar, 4 / 5); }
  .hero__title { letter-spacing: -0.045em; }
  .feature { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .contact__row { flex-direction: column; gap: 6px; }
  .contact__value { text-align: left; }
  a.contact__row:hover { padding-left: 8px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@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;
  }
  .reveal { opacity: 1; transform: none; }
  .chat__msg,
  .chat__choices { opacity: 1; transform: none; }
}
