/* ==========================================================================
   KAURORA  ·  Agence d'influence & relations publiques lifestyle
   Art direction : aurore boreale, nuit profonde, ivoire chaud
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */

:root {
  /* Night palette */
  --night-950: #05080f;
  --night-900: #070b16;
  --night-850: #0a101f;
  --night-800: #0b1222;
  --night-700: #101a30;
  --night-600: #16223c;

  /* Ivory palette */
  --ivory-50: #fbf8f1;
  --ivory-100: #f6f1e8;
  --ivory-200: #eee7d8;
  --ivory-300: #e2d8c3;

  /* Aurora hues : desatured, refined, zero neon */
  --aurora-green: #8fd8b4;
  --aurora-teal: #7ecfd4;
  --aurora-blue: #7fa3d8;
  --aurora-violet: #a394d9;

  /* Aurora accents deep enough for ivory surfaces */
  --aurora-green-ink: #2f8a6b;
  --aurora-teal-ink: #1f6f74;
  --aurora-violet-ink: #5d51a4;

  /* Ink */
  --ink: #1a2333;
  --ink-soft: #3c465e;
  --ink-mute: #6a7288;
  --ink-on-dark: #eef1f7;
  --ink-on-dark-soft: #c4ccdd;
  --ink-on-dark-mute: #93a0b8;

  /* Hairlines */
  --line-on-dark: rgba(255, 255, 255, 0.08);
  --line-on-dark-strong: rgba(255, 255, 255, 0.16);
  --line-on-light: rgba(26, 35, 51, 0.1);
  --line-on-light-strong: rgba(26, 35, 51, 0.18);

  /* Gradients */
  --grad-aurora: linear-gradient(100deg, var(--aurora-green), var(--aurora-teal) 45%, var(--aurora-violet));
  --grad-aurora-deep: linear-gradient(100deg, var(--aurora-green-ink), var(--aurora-teal-ink) 45%, var(--aurora-violet-ink));
  --grad-hero: linear-gradient(180deg, var(--night-900) 0%, var(--night-800) 100%);

  /* Typography */
  --font-serif: "Cormorant Garamond", "Songti SC", "Noto Serif SC", "SimSun", serif;
  --font-sans: "Jost", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-zh: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;

  /* Layout */
  --container-max: 1240px;
  --pad-inline: clamp(1.25rem, 4.5vw, 2.75rem);
  --header-h: 76px;
  --section-pad: clamp(5rem, 10vw, 8.5rem);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 2px 6px rgba(26, 35, 51, 0.05), 0 14px 34px rgba(26, 35, 51, 0.07);
  --shadow-lift: 0 6px 14px rgba(26, 35, 51, 0.08), 0 26px 54px rgba(26, 35, 51, 0.12);
  --shadow-card-dark: 0 18px 44px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 0 1px rgba(126, 207, 212, 0.16), 0 18px 60px rgba(126, 207, 212, 0.1);
  --shadow-btn: 0 10px 30px rgba(111, 191, 158, 0.32);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 0.66, 0.4, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--night-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html,
body {
  overflow-x: clip;
}

body.open {
  overflow: hidden;
}

main {
  position: relative;
}

h1,
h2,
h3,
p,
ul,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

strong {
  font-weight: 500;
}

[lang="zh-CN"],
.eyebrow-cn,
.service-cn,
.brand-cn {
  font-family: var(--font-zh);
}

/* In the Chinese version the decorative Chinese accents are redundant : hide them */
html[lang="zh-CN"] .eyebrow-cn,
html[lang="zh-CN"] .service-cn {
  display: none;
}

/* Section anchors : clear the fixed header */
section {
  scroll-margin-top: calc(var(--header-h) + 10px);
}

/* Selection */
::selection {
  background: rgba(143, 216, 180, 0.9);
  color: #07281f;
  text-shadow: none;
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--aurora-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Lazy images fade in gently once rendered */
img[loading="lazy"] {
  animation: img-fade 0.9s var(--ease-soft) both;
}

@keyframes img-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container-max) + 2 * var(--pad-inline));
  margin-inline: auto;
  padding-inline: var(--pad-inline);
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  padding-block: var(--section-pad);
}

/* Opaque sections cover the fixed aurora globes while the hero stays below them */
.section-light,
.section-dark,
.site-footer {
  position: relative;
  z-index: 3;
}

.section-light {
  background-color: var(--ivory-100);
  color: var(--ink);
}

.section-light::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 36% at 12% 0%, rgba(143, 216, 180, 0.1), transparent 70%),
    radial-gradient(44% 32% at 92% 8%, rgba(163, 148, 217, 0.09), transparent 70%);
}

.section-dark {
  background: linear-gradient(180deg, var(--night-900), var(--night-850) 55%, var(--night-900));
  color: var(--ink-on-dark);
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 30% at 8% 0%, rgba(126, 207, 212, 0.05), transparent 70%),
    radial-gradient(40% 30% at 95% 6%, rgba(163, 148, 217, 0.05), transparent 70%);
}

/* --------------------------------------------------------------------------
   4. Fixed aurora globes (decor, viewport wide)
   -------------------------------------------------------------------------- */

.aurora-globes {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.aurora-globes::before,
.aurora-globes::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  mix-blend-mode: screen;
}

.aurora-globes::before {
  width: 54vw;
  height: 54vw;
  top: -14vw;
  left: -10vw;
  background: radial-gradient(circle at 40% 40%, rgba(126, 207, 212, 0.16), rgba(143, 216, 180, 0.07) 45%, transparent 70%);
  animation: globe-drift 26s ease-in-out infinite alternate;
}

.aurora-globes::after {
  width: 46vw;
  height: 46vw;
  top: 8vh;
  right: -12vw;
  background: radial-gradient(circle at 60% 40%, rgba(163, 148, 217, 0.14), rgba(127, 163, 216, 0.06) 45%, transparent 70%);
  animation: globe-drift 32s ease-in-out infinite alternate-reverse;
}

@keyframes globe-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4vw, 3vh, 0) scale(1.08);
  }
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background-color 0.45s var(--ease-soft), border-color 0.45s var(--ease-soft),
    box-shadow 0.45s var(--ease-soft), backdrop-filter 0.45s var(--ease-soft);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(7, 11, 22, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line-on-dark);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.header-inner {
  width: 100%;
  max-width: calc(var(--container-max) + 2 * var(--pad-inline));
  margin-inline: auto;
  padding-inline: var(--pad-inline);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Brand */

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  color: var(--ink-on-dark);
  transition: opacity 0.3s var(--ease-soft);
}

.brand:hover {
  opacity: 0.85;
}

.brand-mark {
  align-self: center;
  width: 34px;
  height: 34px;
  color: var(--aurora-teal);
  transition: transform 0.6s var(--ease-out);
}

.brand:hover .brand-mark {
  transform: translateY(-2px) rotate(-4deg);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
}

.brand-name {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.26em;
  color: var(--ink-on-dark);
}

.brand-cn {
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  color: var(--ink-on-dark-mute);
  transform: translateY(-1px);
}

/* Desktop nav */

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.4rem);
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding-block: 0.4rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-on-dark-soft);
  transition: color 0.3s var(--ease-soft);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--grad-aurora);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink-on-dark);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background-color 0.35s var(--ease-soft), border-color 0.35s var(--ease-soft), color 0.35s var(--ease-soft);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn-primary {
  background: linear-gradient(115deg, #74c4a0, #5fb4c6 60%, #6fa8c9);
  color: #06231c;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(111, 191, 158, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  border: 1px solid var(--line-on-dark-strong);
  color: var(--ink-on-dark);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(126, 207, 212, 0.55);
  background: rgba(126, 207, 212, 0.08);
  color: var(--aurora-teal);
}

.btn-header {
  margin-left: auto;
  padding: 0.7rem 1.4rem;
  font-size: 0.72rem;
  border: 1px solid var(--line-on-dark-strong);
  color: var(--ink-on-dark);
  background: rgba(255, 255, 255, 0.03);
}

.btn-header:hover,
.btn-header:focus-visible {
  background: var(--grad-aurora);
  border-color: transparent;
  color: #06231c;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(126, 207, 212, 0.3);
}

/* Header actions (language selector, CTA, hamburger) */

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.header-actions .btn-header,
.header-actions .nav-toggle {
  margin-left: 0;
}

/* Language selector */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-on-dark-strong);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lang-btn {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  padding: 0.4rem 0.72rem;
  border-radius: var(--radius-pill);
  color: var(--ink-on-dark-mute);
  transition: color 0.3s var(--ease-soft), background-color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}

.lang-btn:hover {
  color: var(--ink-on-dark);
}

.lang-btn[data-lang="zh"] {
  font-family: var(--font-zh);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.lang-btn.is-active {
  color: #06231c;
  background: var(--grad-aurora);
  box-shadow: 0 2px 10px rgba(126, 207, 212, 0.32);
}

/* Second selector inside the mobile menu overlay (hidden on desktop) */

.lang-switch--menu {
  display: none;
}

/* Hamburger */

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-on-dark);
  position: relative;
  z-index: 70;
  transition: border-color 0.3s var(--ease-soft), background-color 0.3s var(--ease-soft);
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink-on-dark);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease-soft), top 0.4s var(--ease-out);
}

.nav-toggle span:nth-child(1) {
  top: 15px;
}

.nav-toggle span:nth-child(2) {
  top: 21px;
}

.nav-toggle span:nth-child(3) {
  top: 27px;
}

.nav-toggle:hover {
  border-color: rgba(126, 207, 212, 0.5);
  background: rgba(126, 207, 212, 0.06);
}

body.open .nav-toggle span:nth-child(1),
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

body.open .nav-toggle span:nth-child(2),
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translateX(-6px);
}

body.open .nav-toggle span:nth-child(3),
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + clamp(3rem, 8vh, 6rem)) clamp(5rem, 10vh, 7rem);
  background: var(--grad-hero);
  color: var(--ink-on-dark);
  overflow: hidden;
  isolation: auto; /* not a stacking context : globes sit above bg, content above globes */
}

/* Aurora sky : layered radial washes */

.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(56% 42% at 18% 12%, rgba(126, 207, 212, 0.13), transparent 70%),
    radial-gradient(48% 40% at 82% 8%, rgba(163, 148, 217, 0.12), transparent 70%),
    radial-gradient(60% 46% at 50% 108%, rgba(143, 216, 180, 0.09), transparent 72%);
}

.hero-aurora::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(38% 26% at 34% 6%, rgba(143, 216, 180, 0.09), transparent 70%),
    radial-gradient(30% 22% at 66% 2%, rgba(127, 163, 216, 0.08), transparent 70%);
  animation: sky-breathe 22s ease-in-out infinite alternate;
}

@keyframes sky-breathe {
  from {
    transform: translate3d(-2%, 0, 0);
    opacity: 0.85;
  }
  to {
    transform: translate3d(2%, 1.5%, 0);
    opacity: 1;
  }
}

/* Aurora ribbons */

.aurora-line {
  position: absolute;
  left: -12%;
  width: 124%;
  height: 42%;
  pointer-events: none;
  overflow: visible;
}

.aurora-line path {
  fill: none;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}

.aurora-line-1 {
  top: 6%;
  opacity: 0.4;
  filter: blur(0.4px);
  animation: ribbon-drift 24s ease-in-out infinite alternate;
}

.aurora-line-1 path {
  stroke: rgba(143, 216, 180, 0.55);
}

.aurora-line-2 {
  top: 14%;
  opacity: 0.34;
  filter: blur(1.4px);
  animation: ribbon-drift 30s ease-in-out infinite alternate-reverse;
}

.aurora-line-2 path {
  stroke: rgba(126, 207, 212, 0.5);
}

.aurora-line-3 {
  top: 0;
  opacity: 0.26;
  filter: blur(2.2px);
  animation: ribbon-drift 36s ease-in-out infinite alternate;
}

.aurora-line-3 path {
  stroke: rgba(163, 148, 217, 0.5);
}

@keyframes ribbon-drift {
  from {
    transform: translate3d(-1.5%, -1%, 0) scaleY(1);
  }
  to {
    transform: translate3d(1.5%, 2.5%, 0) scaleY(1.06);
  }
}

/* Ghost ideogram */

.hero-cn {
  position: absolute;
  z-index: 2;
  right: -0.06em;
  bottom: -0.22em;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(20rem, 44vw, 40rem);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  color: transparent;
  background: linear-gradient(140deg, rgba(143, 216, 180, 0.12), rgba(126, 207, 212, 0.07) 45%, rgba(163, 148, 217, 0.1));
  -webkit-background-clip: text;
  background-clip: text;
  animation: ghost-breathe 18s ease-in-out infinite alternate;
}

@supports not (background-clip: text) {
  .hero-cn {
    color: rgba(255, 255, 255, 0.03);
  }
}

@keyframes ghost-breathe {
  from {
    opacity: 0.7;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(-1.5%);
  }
}

/* Hero content */

.hero-inner {
  z-index: 10;
  max-width: 880px;
}

/* Stagger the hero entrance */
.hero-inner > .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero-inner > .reveal:nth-child(2) { transition-delay: 0.14s; }
.hero-inner > .reveal:nth-child(3) { transition-delay: 0.26s; }
.hero-inner > .reveal:nth-child(4) { transition-delay: 0.36s; }
.hero-inner > .reveal:nth-child(5) { transition-delay: 0.46s; }
.hero-inner > .reveal:nth-child(6) { transition-delay: 0.56s; }

.hero-title {
  margin-block: 1.4rem 1.1rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(3.6rem, 11vw, 8.75rem);
  line-height: 0.98;
  letter-spacing: 0.045em;
  color: var(--ink-on-dark);
  text-wrap: balance;
}

.title-dot {
  color: var(--aurora-green);
}

.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.45rem, 3.2vw, 2.3rem);
  line-height: 1.25;
  color: rgba(238, 241, 247, 0.88);
}

.hero-sub {
  margin-top: 1.6rem;
  max-width: 600px;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.85;
  color: var(--ink-on-dark-mute);
}

.hero-obsession {
  margin-top: 2.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.3rem;
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-on-dark-soft);
}

.hero-obsession .ico {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--aurora-teal);
}

.hero-obsession strong {
  color: var(--ink-on-dark);
}

.hero-cta {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Scroll cue */

.scroll-cue {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: clamp(1.4rem, 3.5vh, 2.4rem);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.scroll-cue-line {
  position: relative;
  width: 1px;
  height: 58px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.scroll-cue-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--aurora-teal) 60%, var(--aurora-green));
  animation: cue-run 2.4s var(--ease-soft) infinite;
}

@keyframes cue-run {
  0% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(100%);
  }
}

.scroll-cue-text {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-on-dark-mute);
  transition: color 0.3s var(--ease-soft);
}

.scroll-cue:hover .scroll-cue-text {
  color: var(--aurora-teal);
}

/* --------------------------------------------------------------------------
   7. Eyebrows & section heads
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--aurora-teal);
}

.hero .eyebrow {
  font-size: 0.7rem;
}

.section-light .eyebrow {
  color: var(--aurora-teal-ink);
}

.eyebrow-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--grad-aurora);
  box-shadow: 0 0 12px rgba(126, 207, 212, 0.6);
}

.eyebrow-cn {
  position: relative;
  margin-left: 0.35rem;
  padding-left: 1rem;
  font-size: 0.66rem;
  letter-spacing: 0.36em;
  text-transform: none;
  color: var(--ink-on-dark-mute);
}

.section-light .eyebrow-cn {
  color: var(--ink-mute);
}

.eyebrow-cn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 0.95em;
  transform: translateY(-50%);
  background: currentColor;
  opacity: 0.35;
}

/* Section head : large numeral + text block */

.section-head {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  margin-bottom: clamp(2.75rem, 5.5vw, 4.5rem);
}

.section-num {
  flex: none;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3.6rem, 7vw, 6rem);
  line-height: 0.86;
  padding-top: 0.22em;
  color: transparent;
  background: linear-gradient(160deg, rgba(143, 216, 180, 0.85), rgba(126, 207, 212, 0.45) 50%, rgba(163, 148, 217, 0.6));
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.9;
}

.section-light .section-num {
  background: linear-gradient(160deg, rgba(47, 138, 107, 0.75), rgba(31, 111, 116, 0.4) 50%, rgba(93, 81, 164, 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.65;
}

@supports not (background-clip: text) {
  .section-num {
    color: rgba(126, 207, 212, 0.5);
  }
  .section-light .section-num {
    color: rgba(31, 111, 116, 0.45);
  }
}

.section-head-text {
  min-width: 0;
  flex: 1 1 auto;
}

.section-head h2 {
  margin-top: 1.1rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.8vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

.section-head h2 em {
  font-style: italic;
  font-weight: 400;
  color: transparent;
  background: var(--grad-aurora);
  -webkit-background-clip: text;
  background-clip: text;
}

.section-light .section-head h2 em {
  background: var(--grad-aurora-deep);
  -webkit-background-clip: text;
  background-clip: text;
}

@supports not (background-clip: text) {
  .section-head h2 em {
    color: var(--aurora-teal);
  }
  .section-light .section-head h2 em {
    color: var(--aurora-teal-ink);
  }
}

.section-intro {
  max-width: 660px;
  margin-top: -1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
  font-size: clamp(0.95rem, 1.15vw, 1.03rem);
  line-height: 1.85;
  color: var(--ink-on-dark-mute);
}

.section-light .section-intro {
  color: var(--ink-mute);
}

/* --------------------------------------------------------------------------
   8. Section : L'agence
   -------------------------------------------------------------------------- */

.agence-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.agence-lead p {
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.9;
  color: var(--ink-soft);
}

.agence-lead p + p {
  margin-top: 1.4rem;
}

.agence-lead strong {
  color: var(--ink);
  position: relative;
  background-image: linear-gradient(180deg, transparent 62%, rgba(143, 216, 180, 0.4) 62%);
  padding-inline: 0.1em;
}

.agence-quote {
  margin: 0;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.75rem, 3vw, 2.75rem);
  border-left: 2px solid;
  border-image: linear-gradient(180deg, var(--aurora-green), var(--aurora-teal) 50%, var(--aurora-violet)) 1;
  background:
    linear-gradient(120deg, rgba(143, 216, 180, 0.1), rgba(163, 148, 217, 0.08)),
    var(--ivory-50);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow-soft);
}

.agence-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  line-height: 1.5;
  color: var(--ink);
}

.agence-quote cite {
  display: block;
  margin-top: 1.4rem;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--aurora-teal-ink);
}

/* Badges */

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.25rem 0.7rem 0.8rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--ink-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-soft);
}

.badge strong {
  font-weight: 500;
  color: var(--ink);
}

.badge:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 138, 107, 0.35);
  box-shadow: var(--shadow-lift);
}

.badge-icon {
  flex: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-family: var(--font-zh);
  font-size: 0.85rem;
  color: var(--aurora-green-ink);
  background: linear-gradient(135deg, rgba(143, 216, 180, 0.35), rgba(126, 207, 212, 0.22) 50%, rgba(163, 148, 217, 0.28));
  border: 1px solid rgba(47, 138, 107, 0.22);
}

.badge-icon svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   9. Section : Services
   -------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.4vw, 1.75rem);
}

.services-grid .service-card:nth-child(2) { transition-delay: 0.08s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.16s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.24s; }

.service-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.9rem, 3.2vw, 2.6rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line-on-dark);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-soft),
    box-shadow 0.5s var(--ease-out), background-color 0.5s var(--ease-soft);
}

/* Thin aurora accent along the top edge */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-aurora);
  opacity: 0.55;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease-soft);
}

/* Soft halo, revealed on hover */
.service-card::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70%;
  height: 70%;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(126, 207, 212, 0.12), transparent 65%);
  filter: blur(24px);
  opacity: 0;
  transition: opacity 0.7s var(--ease-soft);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 207, 212, 0.28);
  box-shadow: var(--shadow-glow), var(--shadow-card-dark);
}

.service-card:hover::before {
  transform: scaleX(1);
  opacity: 1;
}

.service-card:hover::after {
  opacity: 1;
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-ico {
  flex: none;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid transparent;
  background:
    linear-gradient(150deg, rgba(16, 26, 48, 0.9), rgba(11, 18, 34, 0.9)) padding-box,
    linear-gradient(135deg, rgba(143, 216, 180, 0.6), rgba(126, 207, 212, 0.35) 50%, rgba(163, 148, 217, 0.55)) border-box;
  color: var(--aurora-teal);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.service-card:hover .service-ico {
  transform: translateY(-2px) rotate(-3deg);
  box-shadow: 0 8px 26px rgba(126, 207, 212, 0.22);
}

.service-ico svg {
  width: 24px;
  height: 24px;
}

.service-cn {
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: none;
  color: rgba(126, 207, 212, 0.5);
  text-align: right;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1.15;
  color: var(--ink-on-dark);
  margin-bottom: 0.9rem;
}

.service-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--ink-on-dark-mute);
  margin-bottom: 1.5rem;
}

.service-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.4rem;
}

.service-points li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-on-dark-soft);
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--grad-aurora);
  box-shadow: 0 0 8px rgba(143, 216, 180, 0.5);
}

/* --------------------------------------------------------------------------
   10. Section : Plateformes
   -------------------------------------------------------------------------- */

.plateformes .section-intro {
  max-width: 720px;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: clamp(0.9rem, 1.8vw, 1.25rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.6rem 1.3rem 1.4rem;
  background: #ffffff;
  border: 1px solid var(--line-on-light);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-soft);
}

.platform-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 138, 107, 0.3);
  box-shadow: var(--shadow-lift);
}

.platform-logo {
  width: 100%;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  padding: 0.25rem 0.5rem;
  background: #ffffff;
  border-radius: 12px;
}

.platform-logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 78px;
  object-fit: contain;
  transition: transform 0.5s var(--ease-out);
  filter: saturate(0.92);
}

.platform-card:hover .platform-logo img {
  transform: translateY(-2px) scale(1.05);
  filter: saturate(1);
}

/* Xiaohongshu mark reads best slightly larger */
.platform-logo--xhs img {
  max-height: 84px;
}

/* WeChat ships as a small bitmap : cap the upscale, keep it crisp */
.platform-logo--wechat img {
  max-height: 62px;
  width: 62px;
  image-rendering: auto;
}

/* Douyin ships as a wide banner (3:1) : let it stretch across the cell */
.platform-logo:has(img[src*="douyin"]) img {
  width: 100%;
  max-width: 100%;
  max-height: 66px;
  padding-inline: 0.25rem;
}

.platform-name {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.platform-name [lang="zh-CN"] {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-left: 0.35rem;
}

.platform-note {
  margin-top: 0.35rem;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--ink-mute);
}

/* Callout */

.callout {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.6rem, 3vw, 2.25rem);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(115deg, rgba(143, 216, 180, 0.18), rgba(126, 207, 212, 0.1) 45%, rgba(163, 148, 217, 0.16)),
    var(--ivory-50);
  border: 1px solid rgba(47, 138, 107, 0.2);
  box-shadow: var(--shadow-soft);
}

.callout-icon {
  flex: none;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid transparent;
  background:
    linear-gradient(150deg, var(--ivory-50), var(--ivory-50)) padding-box,
    linear-gradient(135deg, var(--aurora-green), var(--aurora-teal) 50%, var(--aurora-violet)) border-box;
  color: var(--aurora-teal-ink);
}

.callout-icon svg {
  width: 22px;
  height: 22px;
}

.callout p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.callout strong {
  font-family: var(--font-zh);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--aurora-green-ink);
  margin-right: 0.5rem;
}

/* --------------------------------------------------------------------------
   11. Section : GrabSpot (class .grabsport, id #grabsport)
   -------------------------------------------------------------------------- */

.shots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.shot {
  position: relative;
  transition: transform 0.55s var(--ease-out);
}

/* Aurora glow seated behind each phone */
.shot::before {
  content: "";
  position: absolute;
  inset: 10% 2% -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 100%, rgba(126, 207, 212, 0.2), rgba(163, 148, 217, 0.08) 55%, transparent 75%);
  filter: blur(34px);
  opacity: 0.35;
  transition: opacity 0.55s var(--ease-soft);
}

.shot:hover::before {
  opacity: 0.8;
}

.shot-frame {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  padding: 8px;
  background: linear-gradient(165deg, var(--night-600), var(--night-800));
  border: 1px solid var(--line-on-dark-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -14px 30px rgba(0, 0, 0, 0.4),
    0 24px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transition: transform 0.55s var(--ease-out), border-color 0.55s var(--ease-soft), box-shadow 0.55s var(--ease-out);
}

.shot-frame::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 26%;
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.shot-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 21px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.7s var(--ease-out);
}

.shot:hover .shot-frame {
  transform: translateY(-9px) rotate(-0.6deg);
  border-color: rgba(126, 207, 212, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -14px 30px rgba(0, 0, 0, 0.4),
    0 34px 70px rgba(0, 0, 0, 0.55);
}

.shot:hover .shot-frame img {
  transform: scale(1.03);
}

.shot figcaption {
  margin-top: 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.shot-num {
  flex: none;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1;
  padding-top: 0.15rem;
  color: transparent;
  background: var(--grad-aurora);
  -webkit-background-clip: text;
  background-clip: text;
}

@supports not (background-clip: text) {
  .shot-num {
    color: var(--aurora-teal);
  }
}

.shot figcaption h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--ink-on-dark);
}

.shot figcaption p {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink-on-dark-mute);
}

/* GrabSpot feature points */

.grab-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1rem;
}

.grab-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1.3rem 1.35rem;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line-on-dark);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-soft);
}

.grab-points li:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 207, 212, 0.3);
}

.grab-point-ico {
  flex: none;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  background:
    linear-gradient(150deg, rgba(16, 26, 48, 0.9), rgba(11, 18, 34, 0.9)) padding-box,
    linear-gradient(135deg, rgba(143, 216, 180, 0.55), rgba(126, 207, 212, 0.3) 50%, rgba(163, 148, 217, 0.5)) border-box;
  color: var(--aurora-green);
}

.grab-point-ico svg {
  width: 19px;
  height: 19px;
}

.grab-points h3 {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-on-dark);
}

.grab-points p {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink-on-dark-mute);
}

/* --------------------------------------------------------------------------
   12. Section : Contact
   -------------------------------------------------------------------------- */

.contact {
  overflow: hidden;
}

/* Faint aurora curtain */
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(178deg, rgba(126, 207, 212, 0.06), transparent 22%),
    radial-gradient(52% 40% at 50% 0%, rgba(143, 216, 180, 0.08), transparent 70%),
    radial-gradient(44% 36% at 85% 30%, rgba(163, 148, 217, 0.09), transparent 70%),
    radial-gradient(40% 34% at 12% 34%, rgba(127, 163, 216, 0.07), transparent 70%);
}

.contact-inner {
  z-index: 2;
}

.contact-ghost {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: clamp(2rem, 6vh, 4rem);
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(11rem, 26vw, 22rem);
  line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
  user-select: none;
  color: rgba(255, 255, 255, 0.028);
  animation: ghost-breathe 20s ease-in-out infinite alternate-reverse;
}

.contact .section-head,
.contact-grid {
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(2.5rem, 5.5vw, 5rem);
  align-items: center;
}

.contact-copy p {
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  line-height: 1.9;
  color: var(--ink-on-dark-soft);
}

.contact-promise {
  margin-top: 1.5rem;
  padding-left: 1.15rem;
  border-left: 1px solid rgba(126, 207, 212, 0.4);
  font-size: 0.85rem !important;
  line-height: 1.75 !important;
  color: var(--ink-on-dark-mute) !important;
}

/* Elevated glass card */

.contact-card {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-on-dark-strong);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.7rem;
}

.contact-avatar {
  flex: none;
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.7rem;
  color: #06231c;
  background: var(--grad-aurora);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 12px 32px rgba(126, 207, 212, 0.3);
}

.contact-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--ink-on-dark);
}

.contact-role {
  margin-top: 0.25rem;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-on-dark-mute);
}

.contact-email-display {
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-on-dark);
  font-size: clamp(0.8rem, 1.6vw, 0.92rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 2;
  color: var(--ink-on-dark-soft);
  overflow-wrap: anywhere;
}

.email-token {
  display: inline-block;
  transform: translateY(-1px);
  margin-inline: 0.3rem;
  padding: 0.12rem 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(126, 207, 212, 0.35);
  background: rgba(126, 207, 212, 0.08);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aurora-teal);
}

.btn-mail {
  width: 100%;
  padding: 1.1rem 2rem;
  font-size: 0.82rem;
}

.btn-mail svg {
  width: 18px;
  height: 18px;
}

.mail-status {
  min-height: 1.6rem;
  margin-top: 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--aurora-green);
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  z-index: 2;
  background: var(--night-950);
  border-top: 1px solid var(--line-on-dark);
  color: var(--ink-on-dark-mute);
  padding-block: clamp(2.75rem, 5vw, 4rem);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.footer-brand .brand-name {
  font-size: 0.88rem;
}

.footer-tagline {
  margin-top: 1rem;
  max-width: 260px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(196, 204, 221, 0.6);
}

.footer-nav {
  justify-self: center;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-nav a {
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-on-dark-mute);
  transition: color 0.3s var(--ease-soft), padding-left 0.3s var(--ease-out);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--aurora-teal);
  padding-left: 0.35rem;
}

.footer-meta {
  justify-self: end;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.78rem;
  line-height: 1.7;
}

.footer-cn {
  font-family: var(--font-zh);
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  color: rgba(126, 207, 212, 0.55);
}

.footer-lang {
  letter-spacing: 0.24em;
  color: rgba(147, 160, 184, 0.8);
}

/* --------------------------------------------------------------------------
   14. Reveal animations (driven by IntersectionObserver in script.js)
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out),
    filter 0.85s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Gentle inner stagger for grouped cards */
.badges.reveal.is-visible .badge:nth-child(1) { transition-delay: 0s; }
.platforms-grid .platform-card {
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-soft);
}

/* --------------------------------------------------------------------------
   15. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .shots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  /* Mobile navigation overlay */
  .nav-toggle {
    display: block;
  }

  .btn-header {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    align-items: center;
    justify-content: center;
    background:
      radial-gradient(70% 50% at 80% 0%, rgba(163, 148, 217, 0.14), transparent 70%),
      radial-gradient(70% 50% at 10% 100%, rgba(126, 207, 212, 0.12), transparent 70%),
      rgba(7, 11, 22, 0.94);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-2%);
    transition: opacity 0.45s var(--ease-soft), visibility 0.45s var(--ease-soft), transform 0.45s var(--ease-out);
  }

  .lang-switch--menu {
    display: inline-flex;
  }

  .lang-switch--menu .lang-btn {
    padding: 0.6rem 1.15rem;
    font-size: 0.8rem;
  }

  .lang-switch--menu .lang-btn[data-lang="zh"] {
    font-size: 0.85rem;
  }

  body.open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .site-nav a {
    font-size: 1.05rem;
    letter-spacing: 0.22em;
    padding-block: 0.25rem;
  }

  .site-nav li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  }

  body.open .site-nav li {
    opacity: 1;
    transform: translateY(0);
  }

  body.open .site-nav li:nth-child(1) { transition-delay: 0.08s; }
  body.open .site-nav li:nth-child(2) { transition-delay: 0.14s; }
  body.open .site-nav li:nth-child(3) { transition-delay: 0.2s; }
  body.open .site-nav li:nth-child(4) { transition-delay: 0.26s; }
  body.open .site-nav li:nth-child(5) { transition-delay: 0.32s; }

  .agence-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 3rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: center;
  }

  .footer-brand .brand {
    justify-content: center;
  }

  .footer-tagline {
    margin-inline: auto;
  }

  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1.6rem;
  }

  .footer-nav a:hover {
    padding-left: 0;
  }

  .footer-meta {
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-points {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    gap: 0.25rem;
  }

  .section-num {
    padding-top: 0;
    font-size: clamp(2.8rem, 10vw, 3.6rem);
  }

  .section-intro {
    margin-top: -0.5rem;
  }

  .agence-quote {
    border-left-width: 2px;
  }
}

@media (max-width: 620px) {
  .shots-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
    margin-bottom: 3rem;
  }

  .platforms-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .hero-cta .btn {
    flex: 1 1 100%;
  }

  .hero-obsession {
    width: 100%;
    justify-content: center;
    text-align: left;
  }

  .hero-cn {
    right: -0.15em;
    font-size: 19rem;
  }

  .callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-person {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .header-inner {
    gap: 1rem;
  }

  .header-actions {
    gap: 0.6rem;
  }

  .lang-switch {
    padding: 2px;
  }

  .lang-btn {
    font-size: 0.6rem;
    padding: 0.34rem 0.55rem;
  }

  .lang-btn[data-lang="zh"] {
    font-size: 0.64rem;
  }

  .brand-mark,
  .brand-mark svg {
    width: 28px;
    height: 28px;
  }

  .brand-name {
    font-size: 0.82rem;
    letter-spacing: 0.2em;
  }

  .brand-cn {
    display: none;
  }

  .badges {
    justify-content: flex-start;
  }

  .badge {
    flex: 1 1 100%;
  }
}

@media (max-width: 360px) {
  .header-actions {
    gap: 0.45rem;
  }

  .lang-btn {
    font-size: 0.56rem;
    padding: 0.3rem 0.45rem;
  }

  .lang-btn[data-lang="zh"] {
    font-size: 0.6rem;
  }
}

@media (min-width: 1600px) {
  :root {
    --section-pad: 9.5rem;
  }
}

/* --------------------------------------------------------------------------
   16. Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .site-nav li {
    opacity: 1;
    transform: none;
  }
}
