:root {
  --ink: #f7f4ec;
  --muted: #c3bcae;
  --dim: #8f887d;
  --night: #060607;
  --panel: rgba(16, 17, 15, 0.66);
  --line: rgba(247, 244, 236, 0.14);
  --cyan: #03b8b5;
  --cyan-soft: #40f5ea;
  --cyan-deep: #066d70;
  --gold: #c8a45a;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  --display-font: Archivo, Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body-font: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: var(--body-font);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 12%, rgba(3, 184, 181, 0.16), transparent 42%),
    radial-gradient(circle at 12% 68%, rgba(200, 164, 90, 0.06), transparent 36%),
    var(--night);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(247, 244, 236, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 244, 236, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 72%, transparent);
}

body::selection {
  color: var(--night);
  background: var(--gold);
}

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

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 2px;
  background: rgba(247, 244, 236, 0.06);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan-soft));
  transform: scaleX(0);
  transform-origin: left;
}

/* Header */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  padding: 10px 12px 10px 20px;
  border: 1px solid rgba(247, 244, 236, 0.08);
  border-radius: 999px;
  background: rgba(10, 11, 10, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: border-color 220ms ease, background-color 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(64, 245, 234, 0.18);
  background: rgba(8, 9, 8, 0.78);
}

.brand-mark,
.nav-links {
  display: flex;
  align-items: center;
}

.brand-mark {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(64, 245, 234, 0.85);
}

.nav-links {
  gap: clamp(12px, 2.4vw, 30px);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.brand-mark:focus-visible,
.nav-links a:focus-visible,
.admin-contact a:focus-visible {
  outline: 2px solid rgba(64, 245, 234, 0.86);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-action {
  padding: 12px 24px;
  border: 1px solid rgba(64, 245, 234, 0.2);
  border-radius: 999px;
  color: #032524;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan-soft), var(--cyan));
  box-shadow: 0 12px 36px rgba(3, 184, 181, 0.3);
  transition: box-shadow 200ms ease, filter 200ms ease;
}

.nav-action:hover {
  color: #032524;
  filter: brightness(1.08);
  box-shadow: 0 16px 44px rgba(3, 184, 181, 0.42);
}

.section-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

/* ============ Scroll-driven 3D hero ============ */
.hero-track {
  position: relative;
  height: 320svh;
}

.hero-stage {
  position: sticky;
  top: 0;
  display: grid;
  align-items: center;
  overflow: hidden;
  height: 100svh;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
}

#orb-canvas,
#orb-poster {
  width: min(78svh, 92vw);
  height: min(78svh, 92vw);
  object-fit: cover;
  border-radius: 50%;
  filter: saturate(1.08) contrast(1.04);
}

#orb-canvas {
  display: none;
}

.orb-ready #orb-canvas {
  display: block;
}

.orb-ready #orb-poster {
  display: none;
}

#orb-poster,
#orb-canvas {
  mask-image: radial-gradient(circle, #000 52%, transparent 71%);
  -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 71%);
}

.orb-halo {
  position: absolute;
  width: min(86svh, 100vw);
  height: min(86svh, 100vw);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 56%, rgba(3, 184, 181, 0.07) 62%, transparent 74%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-family: var(--display-font);
  font-size: clamp(4rem, 14vw, 11.5rem);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.015em;
  text-shadow:
    0 1px 0 rgba(64, 245, 234, 0.18),
    0 0 60px rgba(3, 184, 181, 0.16),
    0 30px 80px rgba(0, 0, 0, 0.6);
}

h1 .tld {
  background: linear-gradient(135deg, var(--cyan-soft), var(--cyan-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-family: var(--display-font);
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
}

.hero-lede {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.55;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 4px 24px rgba(0, 0, 0, 0.85),
    0 0 46px rgba(0, 0, 0, 0.7);
}

.hero-copy .eyebrow {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 4px 18px rgba(0, 0, 0, 0.8);
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  transform: translateX(-50%);
  transition: opacity 400ms ease;
}

body.page-scrolled .scroll-cue {
  opacity: 0;
}

.scroll-cue-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, transparent, var(--cyan-soft));
  animation: cuePulse 2.2s ease-in-out infinite;
}

.scroll-cue-label {
  color: var(--dim);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

@keyframes cuePulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ============ Sections ============ */
.notice-section {
  display: grid;
  justify-items: center;
  padding: clamp(40px, 7vw, 90px) 0 clamp(30px, 5vw, 60px);
}

.legal-notice {
  display: grid;
  gap: 16px;
  width: min(980px, 100%);
  padding: clamp(26px, 4.5vw, 48px);
  border: 1px solid rgba(64, 245, 234, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(3, 184, 181, 0.13), transparent 40%),
    var(--panel);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(247, 244, 236, 0.07);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.legal-notice strong {
  font-family: var(--display-font);
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 900;
  line-height: 0.98;
}

.legal-notice p:not(.eyebrow) {
  max-width: 880px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.72;
}

.value-section,
.process-section,
.closing-section {
  padding: clamp(70px, 11vw, 130px) 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(32px, 6vw, 56px);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.value-card {
  position: relative;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(247, 244, 236, 0.07), rgba(247, 244, 236, 0.025));
  box-shadow: inset 0 1px 0 rgba(247, 244, 236, 0.08);
  overflow: hidden;
  transition: border-color 220ms ease, transform 280ms var(--ease-out), box-shadow 280ms ease;
}

.value-card::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: radial-gradient(420px circle at 20% 0%, rgba(3, 184, 181, 0.14), transparent 60%);
  transition: opacity 260ms ease;
  pointer-events: none;
}

.value-card:hover {
  border-color: rgba(64, 245, 234, 0.32);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(247, 244, 236, 0.1);
}

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

.value-card p:not(.eyebrow),
.process-copy p:not(.eyebrow),
.step p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.card-index {
  position: absolute;
  top: 22px;
  right: 24px;
  color: var(--dim);
  font-family: var(--display-font);
  font-weight: 800;
  font-size: 0.95rem;
}

.card-icon {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 64px;
  color: var(--cyan-soft);
}

.process-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.process-copy p {
  max-width: 560px;
  margin-top: 24px;
  font-size: 1.05rem;
}

.process-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(247, 244, 236, 0.05), rgba(6, 6, 7, 0.6));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 220ms ease;
}

.step:hover {
  border-color: rgba(64, 245, 234, 0.26);
}

.step span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(3, 184, 181, 0.14);
  border: 1px solid rgba(64, 245, 234, 0.24);
  color: var(--cyan-soft);
  font-weight: 800;
}

.step p {
  margin-bottom: 0;
}

.closing-section {
  text-align: center;
}

.closing-section h2 {
  margin: 0 auto 30px;
}

.admin-contact {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 20px 22px;
  border: 1px solid rgba(64, 245, 234, 0.24);
  border-radius: 14px;
  background: rgba(247, 244, 236, 0.05);
  color: var(--ink);
  font-weight: 800;
  line-height: 1.6;
  overflow-wrap: anywhere;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.admin-contact a {
  color: var(--cyan-soft);
  transition: color 180ms ease;
}

.admin-contact a:hover {
  color: var(--ink);
}

.site-footer {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 0.86rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

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

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .nav-links a:not(.nav-action) {
    display: none;
  }

  .hero-track {
    height: 260svh;
  }

  .value-grid,
  .process-section {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: auto;
  }

  .card-icon {
    margin-bottom: 32px;
  }
}

@media (max-width: 520px) {
  .site-header {
    top: 12px;
    padding: 8px 8px 8px 16px;
  }

  .nav-action {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .step {
    grid-template-columns: 1fr;
  }
}

/* ============ 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;
  }

  .hero-track {
    height: auto;
  }

  .hero-stage {
    position: relative;
    height: 100svh;
  }

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

  .scroll-cue {
    display: none;
  }
}
