:root {
  --ink: #071b2e;
  --ink-soft: #315166;
  --mist: #eef6f8;
  --mist-2: #dfeef2;
  --water: #7bb8c8;
  --line: rgba(7, 27, 46, 0.14);
  --white: #fbfdfe;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(22px, 4vw, 64px);
  color: var(--ink);
  mix-blend-mode: multiply;
  transition: background .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled {
  background: rgba(238, 246, 248, .72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(7, 27, 46, .06);
}
.brand { font-weight: 740; letter-spacing: -.045em; font-size: 1.5rem; }
nav { display: flex; align-items: center; gap: 28px; font-size: .84rem; letter-spacing: .04em; }
nav a { opacity: .68; transition: opacity .2s ease; }
nav a:hover { opacity: 1; }
nav .language-switch {
  opacity: 1;
  min-width: 38px;
  padding: 7px 10px 6px;
  border: 1px solid rgba(7, 27, 46, .28);
  border-radius: 999px;
  text-align: center;
  font-weight: 720;
  letter-spacing: .08em;
  line-height: 1;
  background: rgba(238, 246, 248, .48);
  backdrop-filter: blur(8px);
}
nav .language-switch:hover { background: rgba(238, 246, 248, .82); }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url('assets/hero-lake.jpg') center 46% / cover no-repeat;
  transform: scale(1.035);
  filter: saturate(.78) contrast(.91) brightness(1.08);
}
.veil {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(247,251,252,.52) 0%, rgba(247,251,252,.18) 45%, rgba(228,241,245,.55) 100%),
    radial-gradient(circle at 50% 43%, rgba(255,255,255,.72) 0%, rgba(255,255,255,0) 38%);
}
.hero-copy {
  position: absolute;
  left: clamp(22px, 7vw, 110px);
  top: 19vh;
  max-width: 520px;
}
.eyebrow, .kicker {
  margin: 0 0 12px;
  font-size: .72rem;
  letter-spacing: .22em;
  font-weight: 700;
}
.hero h1 {
  margin: 0;
  font-size: clamp(3.9rem, 9vw, 9rem);
  font-weight: 520;
  letter-spacing: -.065em;
  line-height: .86;
}
.hero-sub {
  margin: 24px 0 0;
  max-width: 390px;
  color: var(--ink-soft);
  font-size: clamp(.96rem, 1.4vw, 1.15rem);
  line-height: 1.5;
}

.perception-stage {
  position: absolute;
  right: clamp(28px, 10vw, 170px);
  bottom: 20vh;
  width: min(430px, 55vw);
  height: 220px;
  display: grid;
  place-items: center;
  user-select: none;
}
.base-word {
  font-size: clamp(4rem, 8vw, 7.7rem);
  font-weight: 720;
  letter-spacing: -.055em;
  color: rgba(7, 27, 46, .18);
}
.lens {
  --x: 50%;
  --y: 50%;
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: clamp(118px, 12vw, 170px);
  aspect-ratio: 1 / 1;
  border-radius: 54% 46% 51% 49% / 58% 48% 52% 42%;
  border: 1px solid rgba(255,255,255,.66);
  background:
    radial-gradient(circle at 36% 28%, rgba(255,255,255,.78), rgba(255,255,255,.1) 25%, rgba(88,156,176,.11) 62%, rgba(255,255,255,.22));
  box-shadow:
    inset -18px -22px 40px rgba(30,91,112,.12),
    inset 18px 15px 34px rgba(255,255,255,.5),
    0 28px 70px rgba(18,66,84,.14);
  backdrop-filter: blur(3.5px) saturate(1.25) brightness(1.06);
  cursor: grab;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: width .25s ease, box-shadow .25s ease;
}
.lens:active { cursor: grabbing; width: clamp(125px, 12.5vw, 178px); }
.lens span {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  letter-spacing: .14em;
  font-weight: 720;
  text-shadow: 0 1px 10px rgba(255,255,255,.7);
}
.hint {
  position: absolute;
  bottom: -8px;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(7,27,46,.45);
}
.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translateX(-50%);
  border: 0;
  background: transparent;
  cursor: pointer;
}
.scroll-cue span {
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto;
  border-right: 1px solid rgba(7,27,46,.55);
  border-bottom: 1px solid rgba(7,27,46,.55);
  transform: rotate(45deg);
  animation: floatDown 1.8s ease-in-out infinite;
}
@keyframes floatDown { 50% { transform: translateY(7px) rotate(45deg); opacity: .45; } }
.ripple {
  position: absolute;
  left: 50%;
  bottom: 5%;
  width: 20px;
  height: 8px;
  border: 1px solid rgba(38, 109, 129, .34);
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  opacity: 0;
  pointer-events: none;
}
.hero.ripple-now .ripple-a { animation: ripple 1.2s ease-out; }
.hero.ripple-now .ripple-b { animation: ripple 1.2s .18s ease-out; }
@keyframes ripple {
  0% { opacity: .75; transform: translateX(-50%) scale(.5); }
  100% { opacity: 0; transform: translateX(-50%) scale(32, 12); }
}

.section-shell {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}
.experiments {
  padding: clamp(100px, 14vw, 190px) 0 clamp(110px, 14vw, 180px);
}
.section-intro { margin-bottom: clamp(60px, 8vw, 100px); }
.section-intro h2 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: .94;
  letter-spacing: -.06em;
  font-weight: 500;
}
.experiment-grid { border-top: 1px solid var(--line); }
.experiment-card {
  min-height: 190px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  transition: padding .3s ease, background .3s ease;
}
.experiment-card:hover { padding: 0 20px; background: rgba(255,255,255,.25); }
.index { font-size: .74rem; color: rgba(7,27,46,.42); }
.experiment-copy { min-width: 0; }
.experiment-heading { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.experiment-heading h3 { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2rem); letter-spacing: -.035em; font-weight: 620; }
.experiment-state {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(55,133,152,.35);
  border-radius: 999px;
  padding: 5px 9px 4px;
  color: rgba(28,91,108,.72);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}
.experiment-summary { max-width: 680px; margin: 13px 0 0; color: var(--ink-soft); line-height: 1.55; }
.experiment-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 15px; color: rgba(7,27,46,.42); font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 650; }
.experiment-actions { display: flex; gap: 18px; align-items: center; }
.experiment-actions a { border-bottom: 1px solid rgba(7,27,46,.24); padding-bottom: 5px; white-space: nowrap; }

.manifesto {
  min-height: 80vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(80px, 10vw, 140px) clamp(22px, 6vw, 80px);
  background: #071f32;
  color: #f2f7f8;
}
.manifesto-word {
  position: absolute;
  left: -2vw;
  top: 50%;
  transform: translateY(-54%);
  font-size: clamp(11rem, 34vw, 32rem);
  line-height: .7;
  font-weight: 760;
  letter-spacing: -.08em;
  color: rgba(255,255,255,.035);
  white-space: nowrap;
}
.manifesto-copy { position: relative; z-index: 1; }
.manifesto-copy p {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 6.4rem);
  letter-spacing: -.055em;
  line-height: 1.03;
  font-weight: 420;
}
.manifesto-copy p:nth-child(2) { color: #9cc9d3; }

.about {
  min-height: 70vh;
  display: grid;
  align-items: center;
  padding: clamp(100px, 12vw, 160px) 0;
}
.about-copy { max-width: 900px; }
.about-lead {
  margin: 28px 0;
  max-width: 820px;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 430;
}
.about-copy > p:not(.kicker):not(.about-lead) { max-width: 620px; color: var(--ink-soft); font-size: 1.04rem; line-height: 1.65; }
.question { margin-top: 40px; color: var(--ink) !important; font-weight: 640; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 34px clamp(22px, 4vw, 64px);
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: rgba(7,27,46,.6);
}
footer div { display: flex; gap: 20px; }
.footer-links { flex-wrap: wrap; justify-content: flex-end; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .site-header { padding: 18px 20px; }
  .brand { font-size: 1.35rem; }
  nav { gap: 14px; font-size: .76rem; letter-spacing: .02em; }
  nav .language-switch { min-width: 34px; padding: 6px 8px 5px; }
  .hero-copy { top: 16vh; }
  .hero h1 { font-size: clamp(3.4rem, 18vw, 5.6rem); }
  .perception-stage { right: auto; left: 50%; transform: translateX(-50%); bottom: 13vh; width: min(92vw, 430px); }
  .experiment-card { grid-template-columns: 46px 1fr; align-items: start; padding: 30px 0; }
  .experiment-actions { grid-column: 2; flex-wrap: wrap; }
  .manifesto { min-height: 72vh; }
  .manifesto-copy p { font-size: clamp(2.25rem, 11vw, 4rem); }
  footer { flex-direction: column; }
  footer div { flex-wrap: wrap; }
  .footer-links { justify-content: flex-start; }
}
