/* Berjaya AI Labs — Premium AI aesthetic
   Typography: Inter (display + body) + JetBrains Mono (numerics)
   Palette: warm ivory body, deep ink hero with aurora, single brand accent
*/

:root {
  /* Surfaces */
  --bg: #f5f2ec;            /* warm ivory */
  --bg-elev: #fbfaf6;       /* slightly lifted card */
  --surface: #ffffff;
  --surface-soft: #efece4;  /* alt section */
  --line: rgba(11, 16, 32, 0.08);
  --line-strong: rgba(11, 16, 32, 0.14);

  /* Ink */
  --ink: #0b1020;           /* near-black with cool blue */
  --ink-2: #1a2140;
  --text: #2b3045;
  --muted: #6b7187;
  --muted-2: #8a90a3;

  /* Brand */
  --brand: #4f46e5;          /* refined indigo */
  --brand-2: #7c5cff;
  --brand-hover: #3b32c7;
  --accent: #ff5d8f;         /* coral pink */
  --glow-1: rgba(124, 92, 255, 0.45);
  --glow-2: rgba(255, 93, 143, 0.30);
  --glow-3: rgba(80, 200, 255, 0.18);

  /* Hero ink */
  --hero-bg-1: #050816;
  --hero-bg-2: #0a0f24;
  --hero-bg-3: #111638;

  /* Type */
  --display: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Effects */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-soft: 0 1px 0 rgba(11, 16, 32, 0.04), 0 14px 40px -22px rgba(11, 16, 32, 0.18);
  --shadow-card: 0 1px 0 rgba(11, 16, 32, 0.04), 0 30px 60px -34px rgba(11, 16, 32, 0.30);
  --shadow-lift: 0 1px 0 rgba(11, 16, 32, 0.05), 0 44px 80px -36px rgba(11, 16, 32, 0.42);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-delay: 0ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

p { margin-top: 0; text-align: left; }
.lead, .content-stack p, .proof-card p, .qa-card p, .service-card p, .contact-panel > div p {
  hyphens: none;
  -webkit-hyphens: none;
  text-align: left;
}
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid #7c5cff;
  outline-offset: 3px;
}
img, video { max-width: 100%; display: block; }
::selection { background: rgba(124, 92, 255, 0.22); color: var(--ink); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container { width: min(1240px, calc(100% - 56px)); margin: 0 auto; }

/* ─────────────────────────  Header  ───────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 242, 236, 0.0);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(245, 242, 236, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 14px 40px -28px rgba(11, 16, 32, 0.22);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand, .nav a { text-decoration: none; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 90px;
  height: 60px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 14px 34px -16px rgba(11, 16, 32, 0.34);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-left: auto;
}
.corporate-logo {
  width: 128px;
  height: 86px;
  object-fit: contain;
  display: block;
}
nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav a {
  position: relative;
  color: var(--ink-2);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color .2s var(--ease), background .2s var(--ease);
}
nav a:hover { color: var(--ink); background: rgba(11, 16, 32, 0.05); }
nav a:last-child {
  color: #fff;
  background: linear-gradient(180deg, var(--ink) 0%, #050816 100%);
  padding: 10px 18px;
  box-shadow: 0 12px 28px -14px rgba(11, 16, 32, 0.55);
}
nav a:last-child:hover {
  color: #fff;
  background: linear-gradient(180deg, #0f1530 0%, #050816 100%);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}
.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle-lines { position: relative; }
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }
.site-header.is-menu-open .nav-toggle-lines { background: transparent; }
.site-header.is-menu-open .nav-toggle-lines::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-menu-open .nav-toggle-lines::after { transform: translateY(-6px) rotate(-45deg); }

/* ─────────────────────────  Hero  ───────────────────────── */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 92px 0 96px;
  color: #fff;
  background:
    radial-gradient(80% 60% at 70% 0%, rgba(124, 92, 255, 0.30), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(255, 93, 143, 0.20), transparent 60%),
    linear-gradient(180deg, var(--hero-bg-1) 0%, var(--hero-bg-2) 55%, var(--hero-bg-3) 100%);
}
.hero::before {
  /* faint mesh grid */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  /* hairline divider into body */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  z-index: 0;
}

.hero-aurora {
  position: absolute;
  inset: -10% -5% -5% -5%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(45% 35% at 18% 30%, var(--glow-1), transparent 60%),
    radial-gradient(40% 35% at 82% 70%, var(--glow-2), transparent 60%),
    radial-gradient(30% 30% at 50% 100%, var(--glow-3), transparent 60%);
  filter: blur(18px) saturate(120%);
  opacity: 0.95;
  animation: auroraFloat 22s ease-in-out infinite alternate;
}
@keyframes auroraFloat {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2%, -1%, 0) scale(1.04); }
  100% { transform: translate3d(-1%, 1.5%, 0) scale(1.02); }
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><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.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.hero > .container { position: relative; z-index: 1; }
.hero-stack-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "top"
    "bottom";
  gap: 22px;
  align-items: start;
}
.hero-copy-top { grid-area: top; align-self: end; }
.hero-copy-bottom { grid-area: bottom; align-self: start; }
.hero-visual { grid-area: visual; display: flex; justify-content: flex-end; }
.hero-copy-top, .hero-copy-bottom { max-width: 1120px; margin-inline: auto; }
.hero-copy-top { text-align: center; display: block; }
.hero-copy-top .eyebrow-row, .hero-copy-top h1 { text-align: center; justify-content: center; }

.eyebrow-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.eyebrow, .section-label {
  margin: 0 0 14px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 500;
}
.eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  margin-right: 12px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5));
}
.section-label {
  color: var(--brand);
  display: inline-flex;
  align-items: center;
}
.section-label::before {
  content: "";
  width: 22px; height: 1px;
  margin-right: 12px;
  background: linear-gradient(90deg, transparent, var(--brand));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 11px;
  border-radius: 999px;
  color: #f6f7ff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  letter-spacing: .02em;
  backdrop-filter: blur(8px);
}

/* Display headings */
.hero h1, .section h2 {
  margin: 0;
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.hero h1 {
  max-width: 1120px;
  color: #fff;
  font-size: clamp(48px, 5.8vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.hero h1 em {
  font-style: normal;
  color: #c9c0ff;
}

.lead {
  max-width: 1000px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.75);
  font-size: 20px;
  line-height: 1.58;
  letter-spacing: -0.005em;
  text-align: center;
}

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-2) 0%, var(--brand) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 18px 40px -14px rgba(124, 92, 255, 0.55);
}
.button.primary:hover {
  background: linear-gradient(180deg, #8b6dff 0%, var(--brand-hover) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 22px 50px -14px rgba(124, 92, 255, 0.65);
}
.button.primary::after {
  content: "→";
  font-family: var(--sans);
  transform: translateX(0);
  transition: transform .25s var(--ease);
}
.button.primary:hover::after { transform: translateX(3px); }
.button.secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(8px);
}
.button.secondary:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.34); }

.hero-signals { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.hero-signals span, .contact-chip-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  letter-spacing: .02em;
  line-height: 1.2;
}
.hero-signals span {
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
}

/* Hero video orbit */
.hero-orbit { position: relative; width: min(430px, 100%); margin-left: auto; }
.hero-orbit::before {
  /* outer halo */
  content: "";
  position: absolute;
  inset: -16%;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--glow-1), transparent 70%),
    radial-gradient(closest-side, var(--glow-2) 0%, transparent 70%);
  filter: blur(30px);
  opacity: .8;
  z-index: 0;
  animation: pulseHalo 7s ease-in-out infinite;
}
@keyframes pulseHalo {
  0%, 100% { opacity: .65; transform: scale(1); }
  50%      { opacity: .9;  transform: scale(1.04); }
}
.hero-video-shell {
  position: relative;
  z-index: 1;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 50px 90px -34px rgba(3, 3, 39, 0.6),
    0 0 0 1px rgba(124, 92, 255, 0.08);
  backdrop-filter: blur(16px);
}
.hero-video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  background: #0a0f24;
}

/* ─────────────────────────  Proof band  ───────────────────────── */

.proof-band { position: relative; z-index: 2; margin-top: -56px; }
.proof-grid, .qa-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.proof-card, .qa-card {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.proof-card:hover, .qa-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
}
.proof-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand);
  font: 500 12px/1 var(--mono);
  letter-spacing: .14em;
}
.proof-card h3, .qa-card h3, .service-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.proof-card h3, .qa-card h3 { font-size: 22px; }
.proof-card p, .qa-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ─────────────────────────  Sections  ───────────────────────── */

.section { padding: 110px 0; background: var(--bg); }
.section.alt { background: var(--surface-soft); }
.premium-section {
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(124, 92, 255, 0.06), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(255, 93, 143, 0.05), transparent 60%),
    var(--bg);
}
.section h2 {
  font-size: clamp(34px, 4vw, 54px);
  max-width: none;
}
.intro-grid, .director-grid, .contact-panel {
  display: grid;
  gap: 56px;
  align-items: start;
}
.intro-grid { grid-template-columns: 1fr; gap: 24px; }
.intro-grid .content-stack p { max-width: none; }
.contact-panel { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.director-grid { grid-template-columns: 360px minmax(0, 1fr); align-items: center; }
.content-stack p {
  max-width: 70ch;
  margin: 0 0 18px;
  color: var(--text);
  font-size: 17.5px;
  line-height: 1.7;
}
.content-stack p:last-child { margin-bottom: 0; }
.section-header-premium {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}

/* ─────────────────────────  Service grid  ───────────────────────── */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.service-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-height: 210px;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card::before {
  /* gradient ring on hover */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.6), rgba(255, 93, 143, 0.5));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card img {
  width: 130px;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  object-position: center;
  border-right: 1px solid var(--line);
  filter: saturate(1.05);
  transition: transform .5s var(--ease);
}
.service-card:hover img { transform: scale(1.04); }
.service-card div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px 24px;
}
.service-card h3 { font-size: 20px; }
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ─────────────────────────  FAQ section  ───────────────────────── */

.geo-answers-section {
  padding-top: 100px;
  padding-bottom: 100px;
  background: var(--surface-soft);
}
.geo-answers-section .qa-grid { margin-top: 28px; }

/* ─────────────────────────  Director  ───────────────────────── */

.director-photo-card {
  padding: 8px;
  max-width: 360px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #efece4 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  position: relative;
}
.director-photo-card::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(closest-side, var(--glow-1), transparent 70%),
    radial-gradient(closest-side, var(--glow-2), transparent 70%);
  filter: blur(28px);
  opacity: .35;
}
.director-photo {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}
.section h2.director-name {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
}

/* ─────────────────────────  Contact  ───────────────────────── */

.contact-section {
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(124, 92, 255, 0.07), transparent 60%),
    var(--bg);
}
.contact-card {
  padding: 38px 36px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.30), transparent 50%, rgba(255, 93, 143, 0.25));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.contact-card a, .contact-value {
  display: inline-flex;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  transition: color .2s var(--ease);
}
.contact-card a:hover { color: var(--brand); }
.contact-label {
  margin: 0 0 8px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.top-gap { margin-top: 26px; }
.contact-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.contact-chip-row span {
  color: var(--brand);
  border: 1px solid rgba(79, 70, 229, 0.20);
  background: rgba(79, 70, 229, 0.06);
}

/* ─────────────────────────  Footer  ───────────────────────── */

.site-footer {
  padding: 32px 0;
  background: var(--ink);
  color: rgba(255,255,255,.72);
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.site-footer p { margin: 0; }
.site-footer a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 1px;
  transition: border-color .2s var(--ease);
}
.site-footer a:hover { border-color: #fff; }

/* ─────────────────────────  Privacy Policy page  ───────────────────────── */

.policy-hero { padding: 76px 0 72px; }
.policy-hero h1 { max-width: 900px; }
.policy-section {
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(124, 92, 255, 0.06), transparent 60%),
    var(--bg);
}
.policy-container { max-width: 980px; }
.policy-card {
  padding: clamp(28px, 5vw, 58px);
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.policy-card h2 {
  margin: 42px 0 14px;
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}
.policy-card h2:first-of-type { margin-top: 30px; }
.policy-card p, .policy-card li {
  color: var(--text);
  text-align: left;
  hyphens: none;
  -webkit-hyphens: none;
}
.policy-card p { margin: 0 0 16px; }
.policy-card ol {
  margin: 0 0 18px 1.25em;
  padding: 0;
}
.policy-card li { margin: 0 0 8px; padding-left: 4px; }
.policy-meta-line {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
}

/* ─────────────────────────  Reveal motion  ───────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity .8s var(--ease) var(--reveal-delay),
    transform .8s var(--ease) var(--reveal-delay);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-aurora, .hero-orbit::before { animation: none; }
}

/* ─────────────────────────  Responsive  ───────────────────────── */

@media (max-width: 980px) {
  .hero { padding: 72px 0 80px; }
  .hero-stack-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "top" "visual" "bottom";
    gap: 28px;
  }
  .hero-copy-top, .hero-copy-bottom { max-width: 100%; text-align: center; }
  .hero-copy-top .eyebrow-row, .hero-copy-top h1 { text-align: center; justify-content: center; }
  .lead { margin-inline: auto; }
  .hero-actions, .hero-signals { justify-content: center; }
  .hero-visual { justify-content: center; }
  .hero-orbit { width: min(500px, 100%); margin: 0 auto; }
  .intro-grid, .director-grid, .contact-panel { grid-template-columns: 1fr; gap: 36px; }
  .proof-grid, .qa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { grid-template-columns: 120px minmax(0, 1fr); }
  .service-card img { width: 120px; }
  .section { padding: 84px 0; }
  .geo-answers-section { padding: 84px 0; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, 1120px); }
  .nav { min-height: 72px; padding: 8px 0; flex-direction: row; align-items: center; gap: 10px; }
  .brand-mark { font-size: 12px; letter-spacing: .1em; }
  .nav-right { gap: 8px; }
  .corporate-logo { width: 72px; height: 56px; }
  .js .nav-toggle { display: inline-flex; }
  .site-header nav {
    width: 100%;
    gap: 4px;
  }
  .site-header nav a {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 15px;
  }
  .js .site-header nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    width: calc(100% - 32px);
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(251, 250, 246, 0.98);
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s var(--ease), visibility .2s var(--ease), transform .2s var(--ease);
  }
  .js .site-header.is-menu-open nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .js .site-header nav a:last-child { text-align: center; }
  .site-header.is-menu-open { background: rgba(245, 242, 236, 0.98); }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); letter-spacing: -0.025em; }
  .lead { font-size: 17px; text-align: center; hyphens: none; -webkit-hyphens: none; }
  .content-stack p, .proof-card p, .qa-card p, .service-card p, .contact-panel > div p {
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
  }
  .hero-video-shell { padding: 7px; border-radius: 14px; }
  .hero-video { border-radius: 8px; }
  .proof-band { margin-top: -28px; }
  .service-grid, .proof-grid, .qa-grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 100px minmax(0, 1fr); min-height: 156px; }
  .service-card img { width: 100px; min-height: 156px; }
  .service-card div { padding: 16px 18px; }
  .service-card h3 { font-size: 19px; }
  .service-card p { font-size: 14.5px; }
  .section { padding: 64px 0; }
  .geo-answers-section { padding: 64px 0; }
  .section h2 { font-size: 36px; }
  .section-header-premium { display: block; }
  .contact-card { padding: 28px 24px; }
  .contact-card a { font-size: 22px; word-break: break-word; }
  .footer-content { flex-direction: column; align-items: flex-start; }
}
