/* ──────────────────────────────────────────────────────────────
   Reality Maker
   Brand colours live in :root. Change them here and the whole
   site follows.
   ────────────────────────────────────────────────────────────── */

:root {
  /* Canvas */
  --bg: #08090c;
  --bg-raised: #0f1016;
  --ink: #f4eee4;
  --ink-soft: rgba(244, 238, 228, .68);
  --line: rgba(244, 238, 228, .13);
  --line-strong: rgba(244, 238, 228, .32);

  /* ICET: the app's own oranges (#f97316 is its main accent) */
  --icet: #f97316;
  --icet-light: #fb923c;
  --icet-deep: #ea580c;
  --icet-ink: #1b0b02;

  /* Deep Reality Language Teacher: purple & blue */
  --drlt-violet: #4c1d95;
  --drlt-purple: #6d28d9;
  --drlt-blue: #2563eb;

  /* Company colours: warm orange to royal blue (true complements, so the blend stays clean) */
  --brand-orange: #ff8a3d;
  --brand-peach: #f5a8a0;   /* midpoint that keeps the middle of the blend from going grey */
  --brand-blue: #2563eb;
  --brand-blue-light: #1e88e5;
  --brand-gradient: linear-gradient(95deg, var(--brand-orange) 0%, var(--brand-peach) 45%, var(--brand-blue) 100%);

  --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-icet: "Fredoka One", "Fredoka", "Plus Jakarta Sans", system-ui, sans-serif; /* same face as the app's FredokaOne_400Regular */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .75, .2, 1);
}

@supports (background: linear-gradient(in oklab 90deg, red, blue)) {
  :root { --brand-gradient: linear-gradient(in oklab 95deg, var(--brand-orange) 0%, var(--brand-peach) 45%, var(--brand-blue) 100%); }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, p, ol { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { display: block; }

::selection { background: var(--icet); color: var(--icet-ink); }

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

.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

section[id], article[id] { scroll-margin-top: 88px; }

/* ───────────── Type ───────────── */

h2 {
  font: 500 clamp(2rem, 5.2vw, 4.25rem)/1.02 var(--font-display);
  letter-spacing: -.035em;
  text-wrap: balance;
}

.eyebrow {
  font: 500 .78rem/1 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow--pill {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  padding: .85em 1.15em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(244, 238, 228, .04);
  color: var(--ink);
}

.grad {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
}

.pulse {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--icet);
  flex: none;
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: ping 2.2s ease-out infinite;
}

/* ───────────── Buttons ───────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  padding: 1.15em 1.7em;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 .8rem/1 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--sm { padding: .95em 1.35em; font-size: .74rem; }
.btn--lg {
  padding: 1.3em 2em;
  font-size: clamp(.8rem, 1.6vw, 1rem);
  letter-spacing: .06em;
  text-transform: none;
}

.btn--light { background: var(--ink); color: var(--bg); }
.btn--light:hover { box-shadow: 0 14px 40px -12px rgba(244, 238, 228, .45); }

.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(244, 238, 228, .06); }

.btn--ink { background: var(--icet-ink); color: #fff1e2; }
.btn--ink:hover { box-shadow: 0 14px 36px -12px rgba(27, 11, 2, .7); }

.btn--white { background: #fff; color: #1d1160; }
.btn--white:hover { box-shadow: 0 14px 40px -12px rgba(255, 255, 255, .55); }

/* ───────────── Nav ───────────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
}
/* Backdrop lives on a pseudo-element so the mobile menu can stay position:fixed to the viewport */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 12, .72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity .35s;
}
.nav.is-stuck::before { opacity: 1; }

.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__mark { width: auto; height: 40px; }
.brand__name {
  font: 600 1.08rem/1 var(--font-display);
  letter-spacing: -.015em;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}
.nav__menu a:not(.btn) {
  font: 500 .78rem/1 var(--font-body);
  letter-spacing: .17em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .25s;
}
.nav__menu a:not(.btn):hover { color: var(--ink); }

.nav__toggle {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px; height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav__bar {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease);
}
.nav.is-open .nav__bar:nth-of-type(1) { transform: translateY(4.25px) rotate(45deg); }
.nav.is-open .nav__bar:nth-of-type(2) { transform: translateY(-4.25px) rotate(-45deg); }

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

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  padding: 140px 0 clamp(40px, 7vh, 80px);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: -1; }

/* Soft glows are plain radial gradients (no blur filter) so they stay cheap to animate */
.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.blob--orange {
  width: clamp(460px, 78vw, 1040px); aspect-ratio: 1;
  left: 0; bottom: 0;
  translate: -32% 42%;
  background: radial-gradient(circle, var(--brand-orange) 0%, rgba(240, 110, 30, .5) 30%, transparent 66%);
  opacity: .6;
  animation: drift-a 22s ease-in-out infinite alternate;
}
.blob--blue {
  width: clamp(440px, 72vw, 980px); aspect-ratio: 1;
  right: 0; top: 0;
  translate: 28% -40%;
  background: radial-gradient(circle, var(--brand-blue) 0%, rgba(29, 78, 216, .5) 32%, transparent 66%);
  opacity: .7;
  animation: drift-b 26s ease-in-out infinite alternate;
}
.blob--sky {
  width: clamp(320px, 56vw, 740px); aspect-ratio: 1;
  right: 0; top: 0;
  translate: -4% 12%;
  background: radial-gradient(circle, var(--brand-blue-light) 0%, transparent 62%);
  opacity: .34;
  animation: drift-a 30s ease-in-out infinite alternate-reverse;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(244, 238, 228, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 238, 228, .06) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 20%, transparent 78%);
}

.hero__title {
  margin: clamp(24px, 4vh, 44px) 0 clamp(28px, 5vh, 56px);
  font: 500 clamp(2.3rem, 9.6vw, 7.5rem)/1 var(--font-display);
  letter-spacing: -.045em;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .16em;
  margin-bottom: -.16em;
}
.hero__title .line > span {
  display: inline-block;
  transform: translateY(115%);
  animation: rise 1.1s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * .13s + .1s);
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  padding-top: clamp(24px, 4vh, 36px);
  border-top: 1px solid var(--line);
}
.hero__lede {
  max-width: 46ch;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ───────────── Marquee ───────────── */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  background: var(--bg-raised);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  width: max-content;
  padding-right: clamp(20px, 3vw, 44px);
  font: 500 clamp(1.1rem, 2.2vw, 1.75rem)/1 var(--font-display);
  letter-spacing: -.02em;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.marquee__track i {
  font-style: normal;
  font-size: .7em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ───────────── Mission ───────────── */

.mission { padding-block: clamp(96px, 15vw, 208px) clamp(72px, 10vw, 140px); }

.manifesto {
  max-width: 21em;
  margin-top: clamp(24px, 3vw, 40px);
  font: 500 clamp(1.7rem, 4.4vw, 4rem)/1.1 var(--font-display);
  letter-spacing: -.035em;
}
.manifesto.is-split .w {
  opacity: .16;
  transition: opacity .35s ease;
}
.manifesto.is-split .w.on { opacity: 1; }

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(64px, 9vw, 128px);
}
.principle {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(244, 238, 228, .035), transparent 60%);
  transition: border-color .35s, transform .5s var(--ease), opacity .8s var(--ease);
}
.principle:hover { border-color: var(--line-strong); }
.principle__num {
  align-self: flex-start;
  margin-bottom: clamp(40px, 6vw, 88px);
  font: 500 .78rem/1 var(--font-body);
  letter-spacing: .18em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.principle h3 {
  font: 500 clamp(1.3rem, 2vw, 1.65rem)/1.12 var(--font-display);
  letter-spacing: -.025em;
}
.principle p { color: var(--ink-soft); font-size: 1rem; }

/* ───────────── Products ───────────── */

.products { padding-bottom: clamp(12px, 2vw, 28px); }

.products__head {
  display: grid;
  gap: 20px;
  padding-block: clamp(40px, 6vw, 80px) clamp(40px, 6vw, 72px);
}
.products__head h2 { max-width: 16em; }
.products__sub { color: var(--ink-soft); font-size: clamp(1rem, 1.5vw, 1.2rem); }

.product {
  position: relative;
  margin-inline: clamp(10px, 1.8vw, 28px);
  border-radius: clamp(26px, 3.4vw, 52px);
  overflow: hidden;
  isolation: isolate;
  color: var(--p-ink);
  background: var(--p-bg);
}
.product + .product { margin-top: clamp(10px, 1.8vw, 28px); }

.product::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 90%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--p-glow) 0%, transparent 68%);
  opacity: .6;
}

.product--icet {
  --p-ink: var(--icet-ink);
  --p-bg: linear-gradient(140deg, var(--icet-light) 0%, var(--icet) 42%, var(--icet-deep) 100%);
  --p-glow: #ffd08a;
}
.product--icet::before { right: -28%; top: -55%; }

.product--drlt {
  --p-ink: #fff;
  --p-bg: linear-gradient(135deg, var(--drlt-violet) 0%, var(--drlt-purple) 38%, var(--drlt-blue) 100%);
  --p-glow: #60a5fa;
}
.product--drlt::before { left: -32%; bottom: -70%; }

.product__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 88px);
  min-height: min(88vh, 780px);
  padding: clamp(36px, 6.5vw, 104px);
}
.product--flip .product__art { order: -1; }

.product__copy { display: grid; gap: clamp(18px, 2.2vw, 28px); justify-items: start; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  padding: .7em 1em;
  border: 1px solid color-mix(in srgb, currentColor 38%, transparent);
  border-radius: 999px;
  font: 600 .72rem/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.chip--live .pulse { background: #fff; }

.product__title {
  font: 500 clamp(2.4rem, 5.6vw, 5rem)/.98 var(--font-display);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.product__lead {
  font: 500 clamp(1.25rem, 2.2vw, 1.8rem)/1.2 var(--font-display);
  letter-spacing: -.02em;
}
.product__body {
  max-width: 46ch;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: color-mix(in srgb, currentColor 86%, transparent);
}

.product__art { display: grid; place-items: center; }
.art { width: 100%; max-width: 520px; height: auto; overflow: visible; }

/* ICET emblem: rotating image core with a ring of text orbiting it */
.emblem {
  position: relative;
  width: 100%;
  max-width: 520px;
  --ring-spin: 40s; /* one turn of the "I CAN ENJOY THIS" ring */
}
.emblem .art { position: relative; max-width: none; }
.emblem__core {
  position: absolute;
  inset: 18.75%;
  border-radius: 50%;
  overflow: hidden;
  background: #020000;
  box-shadow: 0 28px 60px -22px rgba(70, 20, 0, .7);
}
.emblem__img {
  position: absolute;
  inset: -12.5%;
  width: 125%;
  height: 125%;
  max-width: none;
  object-fit: cover;
  /* black hole turns at two-thirds the speed of the text ring, so one turn takes 1.5x as long */
  animation: spin calc(var(--ring-spin) * 1.5) linear infinite;
  will-change: transform;
}

.art--icet { color: var(--icet-ink); }
.art__ring {
  font: 400 23px/1 var(--font-icet);
  letter-spacing: 1.5px;
  fill: currentColor;
}
.art__ring--star { letter-spacing: 0; }
.art__word {
  font: 400 30px/1 var(--font-icet);
  letter-spacing: .04em;
  fill: #ffe9cf;
}

.spin {
  transform-origin: 240px 240px;
  animation: spin var(--ring-spin, 40s) linear infinite;
}
.spin--rev { animation-duration: 70s; animation-direction: reverse; }

/* Deep Reality art */
.depth { animation: depth 3.6s ease-in-out infinite; animation-delay: calc(var(--n) * .35s); }
.bars rect {
  transform-box: fill-box;
  transform-origin: center;
  animation: voice 1.5s ease-in-out infinite;
  animation-delay: calc(var(--b) * -.17s);
}

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

.contact {
  position: relative;
  padding-block: clamp(110px, 17vw, 240px);
  text-align: center;
  background:
    radial-gradient(60% 76% at 18% 115%, color-mix(in srgb, var(--brand-orange) 55%, transparent) 0%, transparent 62%),
    radial-gradient(55% 72% at 50% 120%, rgba(245, 168, 160, .3) 0%, transparent 62%),
    radial-gradient(60% 76% at 82% 115%, color-mix(in srgb, var(--brand-blue) 60%, transparent) 0%, transparent 62%);
}
.contact__inner { display: grid; justify-items: center; gap: clamp(20px, 2.6vw, 32px); }
.contact__logo { width: auto; height: clamp(104px, 12vw, 156px); margin-bottom: clamp(4px, 1vw, 12px); }
.contact__title {
  font-size: clamp(2.4rem, 8vw, 6.5rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.contact__sub { max-width: 44ch; color: var(--ink-soft); font-size: clamp(1rem, 1.5vw, 1.2rem); }

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

.footer { border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 56px); }

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.footer__links a {
  font-size: .95rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .25s;
}
.footer__links a:hover { color: var(--ink); }

.footer__word {
  margin-top: clamp(28px, 5vw, 64px);
  font: 600 clamp(3rem, 15.6vw, 16rem)/.86 var(--font-display);
  letter-spacing: -.055em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  user-select: none;
  overflow: hidden;
}

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding-block: clamp(20px, 3vw, 32px);
  font-size: .85rem;
  color: var(--ink-soft);
}

/* ───────────── Language menu ───────────── */

.lang {
  position: relative;
  display: none; /* needs JavaScript, so it only appears when the script is running */
  align-items: center;
  font-size: .8rem;
}
.js .lang { display: inline-flex; }
.lang__icon {
  position: absolute;
  inset-inline-start: .95em;
  width: 1.15em; height: 1.15em;
  color: var(--ink-soft);
  pointer-events: none;
}
.lang__select {
  -webkit-appearance: none;
  appearance: none;
  padding-block: .78em;
  padding-inline: 2.6em 2.3em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23f4eee4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .95em center / .75em;
  color: var(--ink);
  font: 500 1em/1.2 var(--font-body);
  color-scheme: dark;
  cursor: pointer;
  transition: border-color .25s, background-color .25s;
}
.lang__select:hover { border-color: var(--ink); background-color: rgba(244, 238, 228, .06); }
.lang__select option { background: #101117; color: #f4eee4; }
[dir="rtl"] .lang__select { background-position: left .95em center; }

/* ───────────── Languages ───────────── */

/* Longer headlines get a slightly smaller hero size */
.hero__title { font-size: calc(clamp(2.3rem, 9.6vw, 7.5rem) * var(--hero-scale, 1)); }
html[lang="de"] { --hero-scale: .9; }
html[lang="ru"] { --hero-scale: .78; }
html[lang="hi"] { --hero-scale: .72; }
html[lang="ar"] { --hero-scale: .84; }

/* Scripts that are not Latin or Cyrillic: no tight tracking, and more room between lines */
html:is([lang^="zh"], [lang^="yue"], [lang="ja"], [lang="ko"], [lang="hi"], [lang="ar"]) :is(h2, h3, .hero__title, .manifesto, .product__lead, .contact__title, .marquee__track) {
  letter-spacing: 0;
}
html:is([lang^="zh"], [lang^="yue"], [lang="ja"], [lang="ko"], [lang="hi"], [lang="ar"]) :is(h2, .hero__title, .manifesto, .contact__title) {
  line-height: 1.3;
}
/* product names stay in English, so they keep the site's own heading style */
html:is([lang^="zh"], [lang^="yue"], [lang="ja"], [lang="ko"], [lang="hi"], [lang="ar"]) .product__title {
  letter-spacing: -.045em;
  line-height: .98;
}
/* Hindi and Arabic letters join up, so spaced-out capitals styling is switched off */
html:is([lang="hi"], [lang="ar"]) :is(.eyebrow, .btn, .chip, .nav__menu a, .lang__select) {
  letter-spacing: 0;
}
html:is([lang="hi"], [lang="ar"]) .hero__title .line {
  padding-block: .24em .32em;
  margin-block: -.24em -.32em;
}

/* Japanese: break lines between phrases rather than mid-word where the browser supports it */
html[lang="ja"] body { line-break: strict; word-break: auto-phrase; }

/* Korean: wrap between words, never inside one */
html[lang="ko"] body { word-break: keep-all; }

/* Right-to-left (Arabic): the layout mirrors itself; these parts must not */
.marquee, .emblem, .art, .footer__word { direction: ltr; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(5px); }

/* ───────────── Scroll reveal (only when JS is running) ───────────── */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .35s;
  transition-delay: var(--d, 0s), var(--d, 0s), 0s;
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ───────────── Motion ───────────── */

@keyframes rise { to { transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes drift-a { to { transform: translate(9vw, -7vh) scale(1.12); } }
@keyframes drift-b { to { transform: translate(-8vw, 9vh) scale(.92); } }
@keyframes depth { 0%, 100% { stroke-opacity: .2; } 50% { stroke-opacity: .7; } }
@keyframes voice { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
    transition-delay: 0s !important;
  }
  .marquee__track, .spin, .emblem__img, .blob, .bars rect, .depth, .pulse::after { animation: none !important; }
  .depth { stroke-opacity: .45; }
}

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

@media (max-width: 900px) {
  .principles { grid-template-columns: 1fr; }
  .principle { gap: 12px; }
  .principle__num { margin-bottom: 28px; }

  .product__inner { grid-template-columns: 1fr; min-height: 0; }
  .product--flip .product__art { order: 0; }
  .art, .emblem { max-width: 340px; }
}

@media (max-width: 980px) {
  .nav__toggle { display: inline-flex; }

  .nav__menu {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 96px var(--gutter) 48px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; }

  .nav__menu a:not(.btn) {
    font: 500 clamp(2rem, 9vw, 2.75rem)/1.05 var(--font-display);
    letter-spacing: -.035em;
    text-transform: none;
    color: var(--ink);
  }
  .nav__menu .btn { margin-top: 12px; }
  .nav__menu .lang { font-size: 1rem; margin-top: 4px; }
}

@media (max-width: 820px) {
  .hero { padding-top: 120px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 480px) {
  .eyebrow--pill { font-size: .66rem; letter-spacing: .12em; }
}
