:root {
  --bg: #f2f2f2;
  --field: #e4e4e4;
  --ink: #111111;
  --moss: #1f4d2e;
  --muted: rgba(17, 17, 17, 0.56);
  --line: rgba(17, 17, 17, 0.14);
  --ease: cubic-bezier(0.22, 0.8, 0.16, 1);
  --sans: "Bricolage Grotesque", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --pad: 24px;
  --header: 62px;
}

@property --r {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  font-weight: 300;
  font-variation-settings: "opsz" 24;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
p,
dl,
dd,
ol {
  margin: 0;
}

em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--moss);
  letter-spacing: -0.045em;
}

::selection {
  color: var(--bg);
  background: var(--moss);
}

.label {
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 10px;
  color: var(--bg);
  background: var(--ink);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.4s var(--ease);
}

.button:hover {
  background: var(--moss);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header);
  margin: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--pad) * -1);
  z-index: -1;
  background: var(--bg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.brand__mark {
  width: 22px;
  height: 22px;
  fill: var(--ink);
  stroke: var(--ink);
  stroke-width: 1.4;
}

.brand__mark path {
  fill: none;
}

.site-nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a,
.header-cta {
  transition: color 0.3s var(--ease);
}

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

.header-cta {
  justify-self: end;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-cta:hover {
  color: var(--moss);
}

/* Paired media + lens */

.pair {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  --x: 50%;
  --y: 50%;
  --r: 0px;
}

.pair__raw,
.pair__living {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pair__raw {
  z-index: 1;
}

.pair__living {
  z-index: 1;
}

.pair[data-mode="raw"] .pair__living,
.pair[data-mode="living"] .pair__raw {
  z-index: 2;
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 58%, transparent 100%);
  mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 58%, transparent 100%);
}

.lens-ring {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 3;
  width: calc(var(--r) * 1.62);
  height: calc(var(--r) * 1.62);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: var(--ring, 0);
  transition: opacity 0.4s var(--ease);
}

.lens-ring b {
  position: absolute;
  top: 50%;
  left: 100%;
  margin-left: 10px;
  padding: 4px 6px 3px;
  color: var(--moss);
  background: var(--bg);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateY(-50%);
}

/* Hero */

.hero {
  position: relative;
  height: 100svh;
  min-height: 720px;
  overflow: hidden;
  padding: calc(var(--header) + 28px) var(--pad) 22px;
}

.hero__rules {
  position: absolute;
  inset: var(--header) var(--pad) 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 2fr 2fr 1fr;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.hero__rules i {
  grid-row: 1;
  border-right: 1px solid var(--line);
}

.hero__rules i:nth-of-type(1) { grid-column: 1; }
.hero__rules i:nth-of-type(2) { grid-column: 2; }
.hero__rules i:nth-of-type(3) { grid-column: 3; }

.hero__pair {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(83.4vw, 150svh, 1500px);
  transform: translate(-50%, -52%);
  cursor: none;
  touch-action: pan-y;
}

.hero__top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 2fr 2fr 1fr;
  pointer-events: none;
}

.hero__model {
  grid-column: 1;
  display: grid;
  gap: 18px;
  align-content: start;
  pointer-events: auto;
}

.mode-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  width: 148px;
  height: 30px;
  border: 1px solid var(--ink);
}

.mode-switch button {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.5s var(--ease);
}

.mode-switch button.is-active {
  color: var(--bg);
}

.mode-switch__thumb {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  background: var(--ink);
  transition:
    transform 0.6s var(--ease),
    background 0.6s var(--ease);
}

.hero[data-default="living"] .mode-switch__thumb {
  background: var(--moss);
  transform: translateX(100%);
}

.hero__hint {
  max-width: 170px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.hero__intro {
  grid-column: 4;
  display: grid;
  gap: 18px;
  align-content: start;
  justify-items: start;
  padding-left: 22px;
  pointer-events: auto;
}

.hero__intro p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.hero__bottom {
  position: absolute;
  right: var(--pad);
  bottom: 22px;
  left: var(--pad);
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
}

.hero__title {
  font-size: clamp(64px, 7.6vw, 132px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}

.hero__title .line > span {
  display: block;
  transform: translateY(105%);
  animation: rise 1.2s var(--ease) forwards;
}

.hero__title .line--accent > span {
  color: var(--moss);
  font-family: var(--serif);
  font-size: 1.04em;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.045em;
  animation-delay: 0.12s;
}

.stats {
  display: flex;
  gap: clamp(28px, 4.4vw, 64px);
}

.stats div {
  display: grid;
  gap: 12px;
}

.stats dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats dd {
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 300;
  letter-spacing: -0.04em;
}

@keyframes rise {
  to { transform: none; }
}

/* Method */

.method {
  position: relative;
  height: 330vh;
  border-top: 1px solid var(--line);
}

.method__stage {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  height: 100svh;
  min-height: 680px;
  padding: calc(var(--header) + 32px) var(--pad) 28px;
  overflow: hidden;
}

.method__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.method__head h2 {
  max-width: 11em;
  font-size: clamp(40px, 4.4vw, 72px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-align: right;
}

.method__pair {
  align-self: center;
  justify-self: center;
  width: auto;
  max-width: 100%;
  height: min(100%, 64vw);
  min-height: 0;
  --w: -8;
}

.method__pair .pair__living {
  z-index: 2;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--w) * 1% - 7%), transparent calc(var(--w) * 1% + 7%));
  mask-image: linear-gradient(90deg, #000 calc(var(--w) * 1% - 7%), transparent calc(var(--w) * 1% + 7%));
}

.wipe-edge {
  position: absolute;
  top: 6%;
  bottom: 6%;
  left: calc(var(--w) * 1%);
  z-index: 3;
  width: 1px;
  background: rgba(31, 77, 46, 0.5);
  opacity: var(--edge, 1);
}

.wipe-edge b {
  position: absolute;
  top: 0;
  left: 10px;
  color: var(--moss);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  opacity: 0.32;
  transition:
    opacity 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.step.is-active {
  border-color: var(--ink);
  opacity: 1;
}

.step__num {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
}

.step p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.step__metric {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step__metric b {
  margin-right: 6px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -0.04em;
  text-transform: none;
}

/* Field */

.field {
  padding: 140px var(--pad) 120px;
  background: var(--field);
}

.field__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  margin-bottom: 72px;
}

.field__head h2 {
  max-width: 14em;
  font-size: clamp(40px, 4.4vw, 72px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card__pair {
  aspect-ratio: 16 / 9;
  background: var(--bg);
  cursor: crosshair;
  transition: --r 0.9s var(--ease);
}

.card__meta {
  display: grid;
  gap: 12px;
  padding-top: 20px;
}

.card__meta h3 {
  max-width: 18em;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.card__metric {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card__metric b {
  margin-right: 6px;
  color: var(--moss);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.03em;
  text-transform: none;
}

/* Contact */

.contact {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 140px var(--pad) 0;
}

.contact__horizon {
  --sw: min(86vw, 1320px);
  position: relative;
  height: calc(var(--sw) * 0.266);
  margin: auto calc(var(--pad) * -1) 0;
  overflow: hidden;
  pointer-events: none;
}

.contact__stone {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--sw);
  height: auto;
  transform: translateX(-50%);
}

.contact__title {
  margin-top: 56px;
  font-size: clamp(56px, 7.2vw, 124px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.contact__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  margin: 72px 0 8px;
}

.contact__row p {
  max-width: 30em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.4;
}

.button--large {
  height: 56px;
  padding: 0 22px;
  font-size: 14px;
}

.site-footer {
  position: absolute;
  right: var(--pad);
  bottom: 0;
  left: var(--pad);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer > * {
  margin: -4px -6px;
  padding: 4px 6px 3px;
  background: var(--bg);
}

.site-footer a:hover {
  color: var(--ink);
}

/* Tablet */

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

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

  .hero__rules i:nth-of-type(3) {
    display: none;
  }

  .hero__intro {
    grid-column: 2;
    justify-self: end;
    max-width: 260px;
    padding-left: 0;
  }

  .hero__pair {
    width: 112vw;
  }

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

  .method__head {
    flex-direction: column;
  }

  .method__head h2 {
    text-align: left;
  }

  .method__pair {
    width: 100%;
    height: auto;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step {
    display: none;
  }

  .step.is-active {
    display: grid;
  }

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

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

  .cards .card:last-child {
    grid-column: 1 / -1;
  }
}

/* Phone */

@media (max-width: 760px) {
  :root {
    --pad: 18px;
    --header: 58px;
  }

  .site-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero {
    min-height: 640px;
  }

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

  .hero__model {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .hero__model .label {
    grid-column: 1 / -1;
  }

  .hero__hint {
    max-width: 150px;
  }

  .hero__intro {
    display: none;
  }

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

  .hero__rules i:nth-of-type(3) {
    display: block;
  }

  .hero__pair {
    width: 178vw;
    transform: translate(-50%, -58%);
  }

  .hero__title {
    font-size: clamp(52px, 15.4vw, 72px);
  }

  .stats {
    justify-content: space-between;
    width: 100%;
  }

  .stats dd {
    font-size: 22px;
  }

  .method {
    height: 300vh;
  }

  .method__pair {
    width: 150vw;
    max-width: none;
    height: auto;
    margin-left: -25vw;
  }

  .step h3 {
    font-size: 24px;
  }

  .field {
    padding: 96px var(--pad) 88px;
  }

  .field__head {
    margin-bottom: 48px;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cards .card:last-child {
    grid-column: auto;
  }

  .contact {
    padding-top: 96px;
  }

  .contact__horizon {
    --sw: 170vw;
  }

  .contact__row {
    flex-direction: column;
    align-items: flex-start;
    margin: 48px 0 0;
  }
}

@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;
  }

  .reveal,
  .hero__title .line > span {
    opacity: 1;
    transform: none;
  }

  .lens-ring,
  .wipe-edge {
    display: none;
  }

  .hero__pair {
    cursor: auto;
  }
}

/* ═══ Mallisildid plokkide vahel (eemaldamiseks: .mall-silt { display: none; }) ═══ */

.mall-silt {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--pad);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--bg);
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  scroll-margin-top: var(--header);
}

.reveal {
  transition-delay: var(--delay, 0ms);
}

/* ═══ BOP-i plokid NODAL-i kujunduses ═══ */

/* 02 · Väide tumedal taustal */

.statement {
  position: relative;
  min-height: 110vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 140px var(--pad);
  color: var(--bg);
  background: var(--moss);
  isolation: isolate;
}

.statement em {
  color: rgba(242, 242, 242, 0.62);
}

.statement__label,
.statement h2,
.statement__foot {
  position: relative;
  z-index: 2;
}

.attention-field {
  position: absolute;
  top: 49%;
  right: -9vw;
  z-index: 0;
  width: min(55vw, 840px);
  aspect-ratio: 1;
  color: rgba(242, 242, 242, 0.48);
  pointer-events: none;
  transform: translateY(-50%);
}

.attention-field__cross,
.attention-field__ring,
.attention-field__orbit {
  position: absolute;
  border-radius: 50%;
}

.attention-field__cross {
  inset: 0;
}

.attention-field__cross::before,
.attention-field__cross::after {
  content: "";
  position: absolute;
  background: rgba(242, 242, 242, 0.16);
}

.attention-field__cross::before {
  top: 50%;
  right: -8%;
  left: -8%;
  height: 1px;
}

.attention-field__cross::after {
  top: -8%;
  bottom: -8%;
  left: 50%;
  width: 1px;
}

.attention-field__ring {
  border: 1px solid rgba(242, 242, 242, 0.22);
}

.attention-field__ring--outer {
  inset: 0;
}

.attention-field__ring--middle {
  inset: 18%;
  border-style: dashed;
  opacity: 0.72;
  animation: attention-spin 32s linear infinite reverse;
}

.attention-field__ring--inner {
  inset: 39%;
  border-color: rgba(242, 242, 242, 0.7);
}

.attention-field__orbit {
  inset: 7%;
  border: 1px solid transparent;
  border-top-color: rgba(242, 242, 242, 0.62);
  border-right-color: rgba(242, 242, 242, 0.12);
  animation: attention-spin 18s linear infinite;
}

.attention-field__orbit::after {
  content: "";
  position: absolute;
  top: 11.2%;
  right: 11.2%;
  width: 14px;
  height: 14px;
  border: 4px solid var(--moss);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--bg);
  animation: attention-pulse 2.4s ease-in-out infinite;
}

.attention-field__tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.attention-field__tag::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}

.attention-field__tag--top {
  top: 2%;
  left: 51%;
}

.attention-field__tag--bottom {
  right: 10%;
  bottom: 5%;
}

.attention-field__core {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--bg);
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 76px);
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  transform: translate(-50%, -50%);
}

@keyframes attention-spin {
  to { transform: rotate(360deg); }
}

@keyframes attention-pulse {
  50% { box-shadow: 0 0 0 11px rgba(242, 242, 242, 0.1); }
}

.statement__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
}

.statement__label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.statement h2 {
  max-width: 1500px;
  font-size: clamp(56px, 7.2vw, 124px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.statement h2 > * {
  display: block;
}

.statement h2 em {
  margin-left: 16vw;
  font-size: 1.04em;
}

.statement__foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 72px;
  padding-top: 16px;
  border-top: 1px solid rgba(242, 242, 242, 0.28);
}

.statement__foot p {
  max-width: 30em;
  font-size: 17px;
  line-height: 1.4;
}

.statement__foot p:last-child {
  justify-self: end;
}

/* 04 · Kolm rida */

.behavior {
  padding: 140px var(--pad) 120px;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 72px;
}

.section-head h2 {
  max-width: 14em;
  font-size: clamp(40px, 4.4vw, 72px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.behavior-list {
  border-top: 1px solid var(--ink);
}

.behavior-row {
  display: grid;
  grid-template-columns: 0.45fr 1.45fr 2.2fr 0.5fr;
  gap: 24px;
  align-items: center;
  min-height: 140px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  transition:
    color 0.5s var(--ease),
    background 0.5s var(--ease);
}

.behavior-row:hover {
  color: var(--bg);
  background: var(--moss);
}

.behavior-row__title {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.behavior-row__body {
  grid-column: 3;
  max-width: 34ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.5s var(--ease);
}

.behavior-row:hover .behavior-row__body {
  color: rgba(242, 242, 242, 0.72);
}

.behavior-row__value {
  justify-self: end;
  color: var(--moss);
  font-family: var(--serif);
  font-size: clamp(36px, 3.4vw, 56px);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.045em;
  transition: color 0.5s var(--ease);
}

.behavior-row:hover .behavior-row__value {
  color: var(--bg);
}

/* 05 · Neli kaarti */

.specs {
  padding: 140px var(--pad) 120px;
  background: var(--field);
}

.specs__intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 72px;
}

.specs__intro h2 {
  max-width: 14em;
  font-size: clamp(40px, 4.4vw, 72px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.specs__intro p {
  max-width: 280px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.3;
  text-align: right;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.spec-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.spec-card + .spec-card {
  border-left: 1px solid var(--line);
}

.spec-card .label {
  color: var(--muted);
}

.spec-card__value {
  font-size: clamp(48px, 5.2vw, 88px);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.055em;
}

.spec-card__value small {
  margin-left: 4px;
  color: var(--moss);
  font-family: var(--serif);
  font-size: 0.34em;
  font-style: italic;
  letter-spacing: -0.03em;
}

.spec-card__note {
  max-width: 220px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

/* 07 · Pildiindeks */

.face-index {
  padding: 140px var(--pad) 120px;
  border-top: 1px solid var(--line);
}

.face-index__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 72px;
}

.face-index__head h2 {
  max-width: 14em;
  font-size: clamp(40px, 4.4vw, 72px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.face-index__note {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.face-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(245px, 25vw, 380px);
  gap: 12px;
}

.face-card {
  position: relative;
  grid-column: span 3;
  overflow: hidden;
  background: var(--field);
  isolation: isolate;
  outline: none;
  cursor: pointer;
}

.face-card:focus-visible {
  box-shadow: inset 0 0 0 1px var(--moss);
}

.face-card:nth-child(1) {
  grid-column: span 6;
  grid-row: span 2;
}

.face-card:nth-child(4) {
  grid-column: span 6;
}

.face-card:nth-child(n + 5) {
  grid-column: span 4;
}

.face-card__code {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.face-card__code::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss);
}

/* kohatäide: pildi asemel hall kast; päris pildi puhul <img class="face-card__image ..."> */
.face-card__image {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: var(--muted);
  background: #d9d9d9;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  transform: scale(1);
  transition:
    opacity 0.55s var(--ease),
    transform 0.75s var(--ease);
}

.face-card__image--alt {
  color: rgba(242, 242, 242, 0.72);
  background: var(--moss);
  opacity: 0;
  transform: scale(1.035) rotate(-1.5deg);
}

.face-card:focus-visible .face-card__image--main,
.face-card.is-alt .face-card__image--main {
  opacity: 0;
  transform: scale(0.94) rotate(1.5deg);
}

.face-card:focus-visible .face-card__image--alt,
.face-card.is-alt .face-card__image--alt {
  opacity: 1;
  transform: none;
}

.face-card__meta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 10px;
  border-top: 1px solid currentColor;
  transition: color 0.5s var(--ease);
}

.face-card__name {
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.face-card:focus-visible .face-card__meta,
.face-card.is-alt .face-card__meta,
.face-card:focus-visible .face-card__code,
.face-card.is-alt .face-card__code {
  color: var(--bg);
}

.face-card.is-alt .face-card__code::before,
.face-card:focus-visible .face-card__code::before {
  background: var(--bg);
}

/* 08 · Jooksev riba */

.interlude {
  overflow: hidden;
  padding: 18px 0 14px;
  color: var(--bg);
  background: var(--moss);
}

.interlude__track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.interlude p {
  flex: none;
  font-size: clamp(32px, 3.6vw, 60px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.interlude em {
  margin: 0 28px;
  color: rgba(242, 242, 242, 0.62);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* 09 · Lõpuplokk ringnupuga */

.closing {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 140px var(--pad);
  background: var(--field);
}

.closing h2 {
  max-width: 1120px;
  font-size: clamp(56px, 7.2vw, 124px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.closing h2 > * {
  display: block;
}

.closing__button {
  --mx: 0px;
  --my: 0px;
  --rot: 0deg;
  width: clamp(150px, 17vw, 250px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 300;
  transform: translate(var(--mx), var(--my)) rotate(var(--rot));
  transition:
    color 0.5s var(--ease),
    background 0.5s var(--ease),
    border-color 0.5s var(--ease),
    transform 0.5s var(--ease);
}

.closing__button:hover {
  --rot: 8deg;
  color: var(--bg);
  border-color: var(--moss);
  background: var(--moss);
}

/* BOP-i plokid: tahvel */

@media (max-width: 1100px) {
  .section-head,
  .face-index__head,
  .statement__foot {
    grid-template-columns: 1fr;
  }

  .statement__foot p:last-child {
    justify-self: start;
  }

  .attention-field {
    right: -24vw;
    width: 78vw;
    opacity: 0.72;
  }

  .behavior-row {
    grid-template-columns: 0.4fr 1.2fr 1.8fr 0.5fr;
  }

  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-card:nth-child(3) {
    border-left: 0;
  }

  .spec-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .face-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(270px, 48vw, 410px);
  }

  .face-card,
  .face-card:nth-child(n + 5) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .face-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .face-card:nth-child(4),
  .face-card:nth-child(7) {
    grid-column: span 2;
  }
}

/* BOP-i plokid: telefon */

@media (max-width: 760px) {
  .statement,
  .behavior,
  .specs,
  .face-index,
  .closing {
    padding-top: 96px;
    padding-bottom: 88px;
  }

  .statement h2 em {
    margin-left: 0;
  }

  .attention-field {
    right: -45vw;
    width: 108vw;
    opacity: 0.5;
  }

  .attention-field__tag {
    display: none;
  }

  .section-head,
  .face-index__head,
  .specs__intro {
    margin-bottom: 48px;
  }

  .behavior-row {
    grid-template-columns: 0.3fr 1.2fr 0.45fr;
    gap: 14px;
    min-height: 112px;
  }

  .behavior-row__body {
    display: none;
  }

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

  .specs__intro p {
    text-align: left;
  }

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

  .spec-card {
    min-height: 200px;
    border-top: 1px solid var(--line);
    border-left: 0 !important;
  }

  .face-index__note {
    flex-direction: column;
    gap: 8px;
  }

  .face-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: min(96vw, 410px);
    gap: 9px;
  }

  .face-card,
  .face-card:nth-child(1),
  .face-card:nth-child(4),
  .face-card:nth-child(7) {
    grid-column: 1;
    grid-row: span 1;
  }

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

  .closing__cta {
    justify-self: end;
  }

  .mall-silt span {
    display: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .face-card:hover .face-card__image--main {
    opacity: 0;
    transform: scale(0.94) rotate(1.5deg);
  }

  .face-card:hover .face-card__image--alt {
    opacity: 1;
    transform: none;
  }

  .face-card:hover .face-card__meta,
  .face-card:hover .face-card__code {
    color: var(--bg);
  }

  .face-card:hover .face-card__code::before {
    background: var(--bg);
  }
}

@media (hover: none), (pointer: coarse) {
  .face-card__state::after {
    content: " / puuduta";
  }
}

@media (prefers-reduced-motion: reduce) {
  .interlude__track,
  .attention-field__ring--middle,
  .attention-field__orbit {
    animation: none;
  }
}

/* ═══ LIMEN-i plokid NODAL-i kujunduses ═══
   Tume = NODAL-i roheline, LIMEN-i helesinine kuma = NODAL-i hele taust. */

:root {
  --moss-deep: #163a22;
  --line-light: rgba(242, 242, 242, 0.2);
  --glow: rgba(242, 242, 242, 0.24);
}

.section-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.section-meta--light {
  border-color: var(--line-light);
  color: rgba(242, 242, 242, 0.62);
}

.protocol em,
.archive em,
.crossing em {
  color: rgba(242, 242, 242, 0.55);
}

/* 03 · Väide heledal */

.premise {
  position: relative;
  overflow: hidden;
  padding: 140px 0 120px;
  border-top: 1px solid var(--line);
}

.premise__headline {
  display: grid;
  grid-template-columns: 2fr 10fr;
  gap: 24px;
  margin-top: 88px;
}

.premise__aside {
  margin-top: 14px;
  color: var(--muted);
}

.premise h2 {
  font-size: clamp(56px, 7.2vw, 124px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.premise__body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 104px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.premise__lead {
  grid-column: 1 / span 5;
  max-width: 30ch;
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.premise__note {
  grid-column: 8 / span 4;
}

.premise__note .label {
  color: var(--muted);
}

.premise__note p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.premise__coordinates {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 104px;
  color: var(--muted);
}

.premise__coordinates i {
  height: 1px;
  background: var(--line);
}

.premise__coordinates b {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--moss);
  font-weight: 400;
}

/* 05 · Kleepuv pilt ja sammud */

.protocol {
  position: relative;
  padding: 140px 0 0;
  color: var(--bg);
  background: var(--moss);
}

.protocol__intro h2 {
  margin: 88px 0 104px;
  font-size: clamp(56px, 7.2vw, 124px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.protocol__field {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-light);
}

.protocol__visual {
  position: sticky;
  top: 0;
  display: grid;
  height: 100svh;
  min-height: 700px;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--line-light);
  background:
    radial-gradient(circle at 50% 48%, rgba(242, 242, 242, 0.14), transparent 42%),
    linear-gradient(145deg, var(--moss), var(--moss-deep));
}

.protocol__visual::before,
.protocol__visual::after {
  content: "";
  position: absolute;
  background: rgba(242, 242, 242, 0.09);
}

.protocol__visual::before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.protocol__visual::after {
  top: 50%;
  right: 0;
  left: 0;
  height: 1px;
}

.portal-scan {
  position: relative;
  container-type: size;
  width: min(31vw, 390px);
  height: min(51vw, 640px);
  min-height: 450px;
}

.portal-scan__halo,
.portal-scan__door,
.portal-scan__line {
  position: absolute;
}

.portal-scan__halo {
  inset: 1%;
  background: var(--glow);
  filter: blur(45px);
  transform: scale(var(--portal-halo, 0.72));
  transition: transform 0.18s linear;
}

.portal-scan__door {
  top: 7%;
  right: 12%;
  bottom: 8%;
  left: 12%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(180deg, #f7f7f2, #dfe6df);
  box-shadow:
    0 0 60px rgba(242, 242, 242, 0.32),
    inset 0 0 60px rgba(255, 255, 255, 0.56);
  transform: perspective(900px) rotateY(var(--portal-rotate, 0deg)) scaleX(var(--portal-width, 0.68));
  transition: transform 0.18s linear;
}

.portal-scan__line {
  top: 10%;
  right: 6%;
  left: 6%;
  height: 1px;
  background: var(--moss);
  box-shadow: 0 0 9px rgba(31, 77, 46, 0.6);
  animation: scan 4s linear infinite;
}

.protocol__telemetry {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: baseline;
  padding-top: 15px;
  border-top: 1px solid var(--line-light);
}

.protocol__telemetry b {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -0.04em;
  text-transform: none;
}

.protocol__steps {
  padding: 0 32px;
}

.protocol-step {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 92svh;
  padding: 90px 0;
  border-bottom: 1px solid var(--line-light);
  opacity: 0.32;
  transition: opacity 0.5s var(--ease);
}

.protocol-step.is-active {
  opacity: 1;
}

.protocol-step .label {
  color: rgba(242, 242, 242, 0.62);
}

.protocol-step h3 {
  margin: 20px 0 24px;
  font-size: clamp(40px, 4.4vw, 72px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.protocol-step div > p:last-child {
  max-width: 34ch;
  color: rgba(242, 242, 242, 0.62);
  font-size: 15px;
  line-height: 1.5;
}

.protocol-step__reading {
  align-self: end;
  padding-bottom: 4px;
}

@keyframes scan {
  from { transform: translateY(0); }
  to { transform: translateY(78cqh); }
}

/* 08 · Näitajate ruudustik */

.conditions {
  padding: 140px 0 120px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.conditions__heading {
  display: grid;
  grid-template-columns: 8fr 3fr;
  gap: 24px;
  align-items: end;
  margin-top: 88px;
}

.conditions__heading h2 {
  font-size: clamp(40px, 4.4vw, 72px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.conditions__heading > p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.condition-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 1fr;
  grid-template-rows: 330px 310px;
  gap: 12px;
  margin-top: 72px;
}

.condition-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
}

.condition-card--large {
  grid-column: 1 / span 2;
  background: var(--field);
}

.condition-card--portal {
  grid-row: 1 / span 2;
  grid-column: 3;
  color: var(--bg);
  background:
    radial-gradient(circle at 50% 48%, rgba(242, 242, 242, 0.16), transparent 45%),
    var(--moss);
}

.condition-card--blue {
  color: var(--bg);
  background: var(--ink);
}

.condition-card--text {
  border: 1px solid var(--line);
}

.condition-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.live-pill {
  display: flex;
  align-items: center;
  gap: 7px;
}

.live-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: 0.35; transform: scale(0.72); }
}

.condition-card__value {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 40px;
}

.condition-card__value b {
  font-size: clamp(64px, 7vw, 112px);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.06em;
}

.condition-card__value .label {
  color: var(--moss);
}

.waveform {
  position: absolute;
  right: 20px;
  bottom: 16px;
  left: 20px;
  height: 120px;
}

.waveform svg {
  width: 100%;
  height: 100%;
}

.waveform path {
  fill: none;
  stroke: var(--moss);
  stroke-opacity: 0.6;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.mini-portal {
  position: relative;
  flex: 1;
  width: 58%;
  margin: 40px auto 24px;
  border: 1px solid rgba(242, 242, 242, 0.3);
}

.mini-portal::before {
  content: "";
  position: absolute;
  inset: 15%;
  background: var(--bg);
  box-shadow: 0 0 50px rgba(242, 242, 242, 0.4);
}

.mini-portal i {
  position: absolute;
  right: -38%;
  bottom: 20%;
  left: -38%;
  height: 1px;
  background: rgba(242, 242, 242, 0.42);
}

.condition-card__footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.condition-card__footer b {
  font-size: 54px;
  font-weight: 300;
  letter-spacing: -0.05em;
}

.spectrum {
  height: 34px;
  margin-top: auto;
  background: linear-gradient(90deg, var(--ink), var(--moss), #8fa898, var(--bg));
}

.condition-card--blue p {
  margin-top: 16px;
}

.condition-card--text blockquote {
  max-width: 16ch;
  margin: auto 0 28px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 42px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--moss);
}

.condition-card--text footer {
  color: var(--muted);
}

/* 11 · Kolm rida graafikaga */

.archive {
  padding: 140px 0 120px;
  color: var(--bg);
  background: var(--moss);
}

.archive__heading {
  display: grid;
  grid-template-columns: 8fr 3fr;
  gap: 24px;
  align-items: end;
  margin: 88px 0 72px;
}

.archive__heading h2 {
  max-width: 14em;
  font-size: clamp(40px, 4.4vw, 72px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.archive__heading p {
  max-width: 27ch;
  margin-bottom: 10px;
  color: rgba(242, 242, 242, 0.62);
  font-size: 15px;
  line-height: 1.4;
}

.transmissions {
  border-top: 1px solid var(--line-light);
}

.transmission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  border-bottom: 1px solid var(--line-light);
}

.transmission__visual {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-right: 1px solid var(--line-light);
  background: var(--moss-deep);
}

.transmission__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 7vw;
}

.transmission__copy .label {
  color: rgba(242, 242, 242, 0.62);
}

.transmission__copy h3 {
  max-width: 10ch;
  margin: 64px 0 24px;
  font-size: clamp(36px, 3.6vw, 60px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.transmission__copy > p {
  color: rgba(242, 242, 242, 0.62);
  font-size: 15px;
}

.transmission__visual--one {
  background:
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(242, 242, 242, 0.05) 38px 39px),
    var(--moss-deep);
}

.transmission__door {
  position: absolute;
  top: 16%;
  bottom: 0;
  left: 50%;
  width: 28%;
  background: linear-gradient(180deg, #f7f7f2, #cfdccf);
  box-shadow: 0 0 70px rgba(242, 242, 242, 0.3);
  transform: translateX(-50%);
}

.transmission__visual--one i {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(242, 242, 242, 0.25);
}

.transmission__visual--one i:nth-of-type(1) { top: 32%; transform: rotate(-4deg); }
.transmission__visual--one i:nth-of-type(2) { top: 55%; transform: rotate(3deg); }
.transmission__visual--one i:nth-of-type(3) { top: 72%; transform: rotate(-2deg); }

.transmission__visual--two {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(242, 242, 242, 0.1), transparent 50%),
    var(--moss-deep);
}

.radar-ring {
  position: absolute;
  width: 48%;
  aspect-ratio: 1;
  border: 1px solid rgba(242, 242, 242, 0.22);
  border-radius: 50%;
}

.radar-ring:nth-child(2) { width: 68%; }
.radar-ring:nth-child(3) { width: 88%; }

.transmission__visual--two b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 28px 9px rgba(242, 242, 242, 0.4);
  animation: orbit 6s linear infinite;
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(128px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(128px) rotate(-360deg); }
}

.transmission__visual--three {
  --time-seam: 52%;
  background:
    linear-gradient(90deg, transparent calc(var(--time-seam) - 1px), rgba(242, 242, 242, 0.22) var(--time-seam), transparent calc(var(--time-seam) + 1px)),
    repeating-linear-gradient(0deg, transparent 0 51px, rgba(242, 242, 242, 0.05) 51px 52px),
    radial-gradient(circle at var(--time-seam) 50%, rgba(242, 242, 242, 0.12), transparent 46%),
    var(--moss-deep);
}

.temporal-fold {
  position: absolute;
  inset: 0;
}

.temporal-fold__seam {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: var(--time-seam);
  width: 2px;
  background: var(--bg);
  box-shadow:
    0 0 12px rgba(242, 242, 242, 0.8),
    0 0 52px 12px rgba(242, 242, 242, 0.18);
  animation: seamPulse 4.8s ease-in-out infinite;
}

.temporal-fold__seam::before,
.temporal-fold__seam::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 11px;
  height: 11px;
  border: 1px solid rgba(242, 242, 242, 0.7);
  transform: translateX(-50%) rotate(45deg);
}

.temporal-fold__seam::before { top: -5px; }
.temporal-fold__seam::after { bottom: -5px; }

.temporal-fold__timecodes {
  position: absolute;
  inset: 12% 7% 17%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(242, 242, 242, 0.76);
  font-size: clamp(38px, 4.8vw, 76px);
  font-weight: 200;
  line-height: 0.8;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.temporal-fold__timecodes span {
  display: block;
  white-space: nowrap;
  animation: timeSlip 7s var(--ease) infinite alternate;
}

.temporal-fold__timecodes span:nth-child(1) { opacity: 0.18; transform: translateX(-8%); }
.temporal-fold__timecodes span:nth-child(2) { opacity: 0.42; transform: translateX(10%); animation-delay: -1.2s; }
.temporal-fold__timecodes span:nth-child(3) { color: var(--bg); transform: translateX(21%); animation-delay: -3.7s; }
.temporal-fold__timecodes span:nth-child(4) { opacity: 0.42; transform: translateX(-3%); animation-delay: -2.4s; }
.temporal-fold__timecodes span:nth-child(5) { opacity: 0.18; transform: translateX(14%); animation-delay: -5.1s; }

.temporal-fold__labels {
  position: absolute;
  right: 7%;
  bottom: 6%;
  left: 7%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  color: rgba(242, 242, 242, 0.5);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.temporal-fold__labels span:nth-child(2) { color: var(--bg); }
.temporal-fold__labels span:last-child { text-align: right; }

@keyframes seamPulse {
  50% {
    opacity: 0.56;
    box-shadow:
      0 0 7px rgba(242, 242, 242, 0.7),
      0 0 34px 7px rgba(242, 242, 242, 0.14);
  }
}

@keyframes timeSlip {
  0%, 74% { filter: blur(0); }
  78% { filter: blur(2px); }
  82%, 100% { filter: blur(0); }
}

/* 13 · Siltide riba */

.ticker-section {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.signal-ticker {
  width: max-content;
  padding: 24px 0;
}

.signal-ticker__track {
  display: flex;
  color: var(--ink);
  white-space: nowrap;
  animation: ticker 22s linear infinite;
}

.signal-ticker__set {
  display: flex;
  flex: none;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
}

.ticker-section.is-offscreen .signal-ticker__track {
  animation-play-state: paused;
}

.signal-ticker__track i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--moss);
}

@keyframes ticker {
  to { transform: translateX(-25%); }
}

/* 15 · Lõpuplokk kumaga */

.crossing {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding-top: 140px;
  color: var(--bg);
  background: var(--moss);
}

.crossing__glow {
  position: absolute;
  bottom: -38vw;
  left: 50%;
  width: 76vw;
  height: 76vw;
  border: 1px solid rgba(242, 242, 242, 0.5);
  background: radial-gradient(circle, rgba(242, 242, 242, 0.16), transparent 63%);
  box-shadow: inset 0 0 100px rgba(242, 242, 242, 0.08);
  transform: translateX(-50%);
  animation: breathe 5s ease-in-out infinite;
}

@keyframes breathe {
  50% { opacity: 0.66; transform: translateX(-50%) scale(1.035); }
}

.crossing__content {
  position: relative;
  z-index: 2;
}

.crossing__prelude {
  margin: 80px 0 18px;
  color: rgba(242, 242, 242, 0.62);
}

.crossing h2 {
  font-size: clamp(56px, 7.2vw, 124px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.crossing__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 220px;
  height: 108px;
  margin: 72px 0 140px auto;
  padding: 0 28px;
  border: 1px solid rgba(242, 242, 242, 0.42);
  border-radius: 999px;
  line-height: 1.3;
  transition:
    color 0.45s var(--ease),
    background 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.crossing__button svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
}

.crossing__button:hover {
  color: var(--moss);
  background: var(--bg);
  transform: rotate(3deg);
}

/* LIMEN-i plokid: tahvel */

@media (max-width: 1100px) {
  .protocol-step {
    grid-template-columns: 62px 1fr;
  }

  .protocol-step__reading {
    grid-column: 2;
  }

  .condition-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 320px 340px 300px;
  }

  .condition-card--large {
    grid-column: 1 / span 2;
  }

  .condition-card--portal {
    grid-column: 2;
    grid-row: 2 / span 2;
  }
}

/* LIMEN-i plokid: telefon */

@media (max-width: 760px) {
  .section-meta span:last-child {
    display: none;
  }

  .premise,
  .conditions,
  .archive {
    padding: 96px 0 88px;
  }

  .premise__headline {
    display: block;
    margin-top: 56px;
  }

  .premise__aside {
    margin-bottom: 32px;
  }

  .premise__body {
    display: block;
    margin-top: 72px;
  }

  .premise__lead {
    margin-bottom: 56px;
  }

  .premise__note {
    max-width: 85%;
    margin-left: auto;
  }

  .premise__coordinates {
    gap: 9px;
    margin-top: 72px;
  }

  .premise__coordinates b {
    width: 52px;
    height: 52px;
  }

  .protocol {
    padding-top: 96px;
  }

  .protocol__intro h2 {
    margin: 56px 0 72px;
  }

  .protocol__field {
    display: block;
  }

  .protocol__visual {
    z-index: 1;
    width: 100%;
    height: 52svh;
    min-height: 360px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .portal-scan {
    width: 42vw;
    height: 67vw;
    min-height: 270px;
    max-height: 400px;
  }

  .protocol__steps {
    position: relative;
    z-index: 2;
    padding: 0 var(--pad);
  }

  .protocol-step {
    position: relative;
    grid-template-columns: 52px 1fr;
    min-height: 82svh;
    padding: 18svh 0 64px;
    align-items: end;
    background: linear-gradient(180deg, transparent 0 40%, rgba(31, 77, 46, 0.88) 66%, var(--moss) 100%);
  }

  .conditions__heading,
  .archive__heading {
    display: block;
    margin-top: 56px;
  }

  .conditions__heading > p,
  .archive__heading p {
    width: 75%;
    margin: 40px 0 0 auto;
  }

  .condition-grid {
    display: block;
    margin-top: 56px;
  }

  .condition-card {
    min-height: 320px;
    margin-top: 8px;
  }

  .condition-card--portal {
    min-height: 520px;
  }

  .archive__heading {
    margin-bottom: 56px;
  }

  .transmission {
    display: flex;
    flex-direction: column;
  }

  .transmission__visual {
    min-height: 390px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .transmission__copy {
    min-height: 320px;
    padding: 48px var(--pad);
  }

  .crossing {
    padding-top: 96px;
  }

  .crossing__prelude {
    margin-top: 56px;
  }

  .crossing__button {
    width: 170px;
    height: 82px;
    margin: 56px 0 104px auto;
    padding: 0 21px;
  }

  .crossing__glow {
    bottom: -28vw;
    width: 130vw;
    height: 130vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-scan__line,
  .signal-ticker__track,
  .crossing__glow,
  .transmission__visual--two b,
  .temporal-fold__seam,
  .temporal-fold__timecodes span,
  .live-pill i {
    animation: none;
  }
}

/* ═══ THEN-i plokid NODAL-i kujunduses ═══
   THEN-i metsaroheline = NODAL-i roheline või tume tint, samblikroheline rõhk = NODAL-i roheline / hele taust. */

.section-rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-rule--light {
  border-color: var(--line-light);
  color: rgba(242, 242, 242, 0.55);
}

.arrow {
  width: 18px;
  height: 18px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
  transition: transform 420ms var(--ease);
}

a:hover .arrow,
button:hover .arrow { transform: translateX(4px); }

.arrow--diagonal { transform: rotate(-45deg); }

a:hover .arrow--diagonal,
button:hover .arrow--diagonal { transform: translate(3px, -3px) rotate(-45deg); }

/* 07 · Liuguriga etapid */

.long-view {
  overflow: hidden;
  padding: 140px var(--pad) 120px;
  color: var(--bg);
  background: var(--ink);
}

.long-view-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 8vw;
  min-height: 700px;
  margin-top: 72px;
}

.horizon-copy > .label {
  color: rgba(242, 242, 242, 0.48);
}

.horizon-copy h2 {
  max-width: 10ch;
  margin-top: 40px;
  font-size: clamp(40px, 4.4vw, 72px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.horizon-copy > p {
  max-width: 42ch;
  margin-top: 32px;
  color: rgba(242, 242, 242, 0.6);
  font-size: 15px;
  line-height: 1.5;
}

.horizon-copy ul {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.horizon-copy li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(242, 242, 242, 0.16);
  color: rgba(242, 242, 242, 0.7);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.horizon-copy li i {
  width: 6px;
  height: 6px;
  border: 1px solid var(--bg);
  border-radius: 50%;
}

.horizon-copy h2,
.horizon-copy > p,
.horizon-copy ul,
.horizon-copy > .label,
.horizon-center strong {
  transition: opacity 0.35s var(--ease);
}

.horizon-copy.is-changing h2,
.horizon-copy.is-changing > p,
.horizon-copy.is-changing ul,
.horizon-copy.is-changing > .label {
  opacity: 0;
}

.horizon-control {
  min-width: 0;
}

.horizon-orbit {
  position: relative;
  display: grid;
  width: min(100%, 620px);
  aspect-ratio: 1;
  place-items: center;
  margin: 0 auto;
}

.horizon-ring {
  position: absolute;
  border: 1px solid rgba(242, 242, 242, 0.22);
  border-radius: 50%;
  animation: slow-orbit 20s linear infinite;
}

.horizon-ring::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg);
}

.horizon-ring--one { width: 92%; height: 92%; }
.horizon-ring--two { width: 68%; height: 68%; animation-duration: 15s; animation-direction: reverse; }
.horizon-ring--three { width: 43%; height: 43%; animation-duration: 11s; }

@keyframes slow-orbit {
  to { transform: rotate(360deg); }
}

.horizon-center {
  position: relative;
  z-index: 2;
  display: flex;
  width: 190px;
  height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--bg);
  background: var(--moss);
}

.horizon-center > span {
  position: absolute;
  top: 24px;
  font-size: 14px;
  font-weight: 300;
}

.horizon-center strong {
  font-family: var(--serif);
  font-size: 72px;
  font-style: italic;
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.045em;
}

.horizon-center small {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.range-wrap {
  margin-top: 36px;
}

.range-wrap input {
  width: 100%;
  height: 1px;
  appearance: none;
  background: rgba(242, 242, 242, 0.34);
  outline: none;
}

.range-wrap input::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  appearance: none;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--bg);
  cursor: grab;
}

.range-wrap input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--bg);
  cursor: grab;
}

.range-wrap > div {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}

.range-wrap button {
  color: rgba(242, 242, 242, 0.4);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  transition: color 0.3s var(--ease);
}

.range-wrap button.is-active,
.range-wrap button:hover {
  color: var(--bg);
}

/* 10 · Tekst ja neli numbrit */

.t-premise {
  padding: 140px var(--pad) 120px;
  border-top: 1px solid var(--line);
}

.premise-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(260px, 0.8fr);
  align-items: end;
  gap: 8vw;
  margin-top: 88px;
}

.t-premise h2,
.station-heading h2 {
  max-width: 14em;
  font-size: clamp(40px, 4.4vw, 72px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.premise-copy .label {
  color: var(--muted);
}

.premise-copy p {
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.premise-copy a {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  margin-top: 40px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.premise-copy a:hover {
  color: var(--moss);
  border-color: var(--moss);
}

.premise-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 104px;
  border-top: 1px solid var(--ink);
}

.premise-metrics article {
  min-height: 230px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.premise-metrics article:first-child { padding-left: 0; }
.premise-metrics article:last-child { border-right: 0; }

.premise-metrics strong {
  display: block;
  font-size: clamp(48px, 5.2vw, 88px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.premise-metrics span {
  display: block;
  max-width: 18ch;
  margin-top: 64px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 14 · Laienevad paneelid */

.stations {
  padding: 140px var(--pad) 120px;
  border-top: 1px solid var(--line);
}

.station-heading {
  display: grid;
  grid-template-columns: 2.4fr 0.8fr;
  align-items: end;
  gap: 8vw;
  margin-top: 88px;
}

.station-heading p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.station-atlas {
  display: flex;
  gap: 12px;
  height: 720px;
  margin-top: 72px;
}

.station-card {
  position: relative;
  min-width: 0;
  flex: 0.72;
  overflow: hidden;
  color: var(--bg);
  filter: saturate(0.72) brightness(0.8);
  transition: flex 900ms var(--ease), filter 700ms ease;
}

.station-card.is-active {
  flex: 2.6;
  filter: none;
}

.station-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 20, 13, 0.4), transparent 24%, transparent 48%, rgba(10, 20, 13, 0.75));
  pointer-events: none;
}

/* kohatäide: värviüleminek; päris pildi puhul lisa background-image */
.station-card--one {
  background:
    radial-gradient(circle at 40% 60%, rgba(242, 242, 242, 0.22), transparent 30%),
    linear-gradient(145deg, #3f6b4c 0%, var(--moss) 46%, #10261a 100%);
}

.station-card--two {
  background:
    radial-gradient(circle at 44% 72%, rgba(242, 242, 242, 0.16), transparent 24%),
    linear-gradient(145deg, #5d6b60 0%, #2c3a30 44%, #111 100%);
}

.station-card--three {
  background:
    radial-gradient(circle at 72% 28%, rgba(242, 242, 242, 0.2), transparent 22%),
    linear-gradient(145deg, #8a9a8e 0%, #46604f 44%, #142a1d 100%);
}

.station-card-trigger {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr auto 24px;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 64px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(242, 242, 242, 0.18);
  color: rgba(242, 242, 242, 0.75);
  text-align: left;
}

.station-card-trigger > span {
  overflow: hidden;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.station-card-trigger > span:nth-child(2) {
  color: var(--bg);
}

.station-card-trigger > i {
  position: relative;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(242, 242, 242, 0.42);
  border-radius: 50%;
}

.station-card-trigger > i::before,
.station-card-trigger > i::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 1px;
  background: currentColor;
  transition: transform 500ms var(--ease);
}

.station-card-trigger > i::after { transform: rotate(90deg); }
.station-card.is-active .station-card-trigger > i::after { transform: rotate(0deg); }

.station-card-terrain {
  position: absolute;
  inset: 64px 0 0;
  z-index: 3;
  overflow: hidden;
  opacity: 0.44;
  transition: opacity 700ms ease;
}

.station-card.is-active .station-card-terrain { opacity: 0.8; }

.atlas-contour {
  position: absolute;
  border: 1px solid rgba(242, 242, 242, 0.34);
  border-radius: 45% 55% 63% 37% / 58% 41% 59% 42%;
  animation: atlas-drift 18s ease-in-out infinite alternate;
}

.atlas-contour::before,
.atlas-contour::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(242, 242, 242, 0.25);
  border-radius: inherit;
}

.atlas-contour::before { inset: 12%; }
.atlas-contour::after { inset: 25%; }

.atlas-contour--one { top: 11%; left: 5%; width: 74%; height: 60%; transform: rotate(-12deg); }
.atlas-contour--two { right: -22%; bottom: -10%; width: 68%; height: 58%; animation-direction: alternate-reverse; animation-duration: 22s; }

.atlas-node {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(242, 242, 242, 0.72);
  border-radius: 50%;
}

.atlas-node::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--bg);
  transform: translate(-50%, -50%);
}

.atlas-node--one { top: 29%; left: 27%; }
.atlas-node--two { top: 48%; right: 23%; }
.atlas-node--three { bottom: 27%; left: 44%; }

@keyframes atlas-drift {
  from { transform: rotate(-12deg) scale(0.96); }
  to { transform: rotate(-5deg) scale(1.06); }
}

.station-card-title {
  position: absolute;
  right: 24px;
  bottom: 36px;
  left: 24px;
  z-index: 6;
  transition: bottom 900ms var(--ease);
}

.station-card.is-active .station-card-title { bottom: 266px; }

.station-card-title > span,
.station-card-title > small {
  display: block;
  overflow: hidden;
  color: rgba(242, 242, 242, 0.62);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.station-card-title h3 {
  margin: 14px 0 12px;
  font-size: 56px;
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.05em;
  white-space: nowrap;
  transition: font-size 800ms var(--ease);
}

.station-card:not(.is-active) .station-card-title h3 { font-size: 40px; }

.station-card-detail {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 7;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
  min-height: 220px;
  padding: 28px;
  border-top: 1px solid rgba(242, 242, 242, 0.22);
  background: rgba(17, 17, 17, 0.55);
  opacity: 0;
  pointer-events: none;
  transform: translateY(40px);
  transition: opacity 500ms ease, transform 800ms var(--ease);
  backdrop-filter: blur(18px);
}

.station-card.is-active .station-card-detail {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition-delay: 180ms;
}

.station-card-detail > p {
  grid-column: 1 / -1;
  max-width: 44ch;
  color: rgba(242, 242, 242, 0.72);
  font-size: 15px;
  line-height: 1.5;
}

.station-card-detail > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.station-card-detail > div > span {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 13px;
  border-left: 1px solid rgba(242, 242, 242, 0.22);
}

.station-card-detail small {
  color: rgba(242, 242, 242, 0.5);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.station-card-detail strong {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.station-card-detail > a {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 16px;
  height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(242, 242, 242, 0.4);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 300ms ease, background 300ms ease, border-color 300ms ease;
}

.station-card-detail > a:hover {
  color: var(--moss);
  background: var(--bg);
  border-color: var(--bg);
}

/* 15 · Neli kaarti graafikaga */

.t-archive {
  padding: 140px var(--pad) 120px;
  background: var(--field);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 72px;
}

.archive-card {
  min-width: 0;
  background: var(--bg);
}

.archive-visual {
  position: relative;
  min-height: 410px;
  overflow: hidden;
}

.archive-count {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(242, 242, 242, 0.5);
  border-radius: 50%;
  color: var(--bg);
  font-size: 10px;
  font-weight: 400;
}

.archive-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(242, 242, 242, 0.36);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.archive-reticle::before,
.archive-reticle::after { content: ""; position: absolute; top: 50%; left: 50%; background: rgba(242, 242, 242, 0.36); transform: translate(-50%, -50%); }
.archive-reticle::before { width: 78px; height: 1px; }
.archive-reticle::after { width: 1px; height: 78px; }

.archive-visual::before,
.archive-visual::after { content: ""; position: absolute; transition: transform 900ms var(--ease); }

.archive-visual--spore { background: radial-gradient(circle at 45% 42%, #b9c7b9, #5f7d68 34%, #163222 75%); }
.archive-visual--spore::before { inset: 10%; opacity: 0.7; background-image: radial-gradient(circle, rgba(242, 242, 242, 0.8) 0 2px, transparent 3px); background-size: 24px 27px; filter: blur(0.5px); }
.archive-visual--spore::after { top: 22%; left: 18%; width: 64%; height: 60%; border-radius: 50%; background: rgba(220, 230, 220, 0.24); filter: blur(28px); }

.archive-visual--weather { background: linear-gradient(180deg, #8d9a90, #3a5143 48%, #13241a); }
.archive-visual--weather::before { inset: 0; opacity: 0.5; background: repeating-linear-gradient(105deg, transparent 0 16px, rgba(242, 242, 242, 0.34) 17px, transparent 18px 34px); transform: translateX(-10%) rotate(-5deg); }
.archive-visual--weather::after { right: -20%; bottom: -10%; width: 90%; height: 55%; border-radius: 50%; background: rgba(220, 230, 220, 0.24); filter: blur(36px); }

.archive-visual--stone { background: radial-gradient(circle at 50% 46%, #b5b8b0 0 16%, #636a63 17% 32%, #2a362e 47%, #111 76%); }
.archive-visual--stone::before { top: 18%; left: 18%; width: 64%; height: 62%; border: 1px solid rgba(242, 242, 242, 0.35); border-radius: 47% 53% 38% 62%; transform: rotate(18deg); }
.archive-visual--stone::after { top: 31%; left: 32%; width: 38%; height: 36%; border: 1px solid rgba(242, 242, 242, 0.28); border-radius: 50%; }

.archive-visual--sound { background: linear-gradient(145deg, #4f7a5c, var(--moss-deep) 65%); }
.archive-visual--sound::before { top: 50%; left: -15%; width: 130%; height: 1px; background: rgba(242, 242, 242, 0.5); box-shadow: 0 -34px rgba(242, 242, 242, 0.24), 0 34px rgba(242, 242, 242, 0.24); }
.archive-visual--sound::after { top: 18%; bottom: 18%; left: 50%; width: 72%; border: 1px solid rgba(242, 242, 242, 0.3); border-radius: 50%; transform: translateX(-50%); box-shadow: inset 0 0 0 24px rgba(22, 58, 34, 0.35), inset 0 0 0 25px rgba(242, 242, 242, 0.2); }

.archive-card:hover .archive-visual::before { transform: scale(1.06) rotate(2deg); }

.archive-info {
  position: relative;
  min-height: 230px;
  padding: 22px;
}

.archive-info > span,
.archive-info small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-info h3 {
  margin-top: 40px;
  font-size: 32px;
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.archive-info p {
  margin-top: 12px;
  color: var(--moss);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}

.archive-info small {
  position: absolute;
  bottom: 24px;
  left: 22px;
}

.archive-info button {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 300ms ease, background 300ms ease, border-color 300ms ease;
}

.archive-info button:hover {
  color: var(--bg);
  border-color: var(--moss);
  background: var(--moss);
}

.archive-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.archive-link:hover {
  color: var(--moss);
}

/* 16 · Pilt ja tekst kõrvuti */

.fellowship {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 740px;
  border-top: 1px solid var(--line);
}

.fellowship-image {
  position: relative;
  overflow: hidden;
  background: var(--field) url("https://demo.filatov.design/kit/97d8cb263e2400ef/s03/stone-03-living-poster.jpg") center / cover;
}

.fellowship-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fellowship-image > .label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 3;
  padding: 4px 6px 3px;
  color: var(--moss);
  background: var(--bg);
}

.fellowship-rings { position: absolute; top: 50%; left: 50%; z-index: 2; width: 60%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.fellowship-rings i { position: absolute; inset: 0; border: 1px solid rgba(31, 77, 46, 0.4); border-radius: 50%; }
.fellowship-rings i:nth-child(2) { inset: 17%; }
.fellowship-rings i:nth-child(3) { inset: 35%; background: rgba(242, 242, 242, 0.12); backdrop-filter: blur(3px); }

.fellowship-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 72px 6vw;
}

.fellowship-copy .section-rule {
  align-self: stretch;
  margin-bottom: 48px;
}

.fellowship-copy > .label {
  color: var(--muted);
}

.fellowship-copy h2 {
  max-width: 10em;
  margin-top: 28px;
  font-size: clamp(40px, 4.4vw, 72px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.fellowship-copy > p {
  max-width: 42ch;
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.fellowship-copy dl {
  align-self: stretch;
  margin-top: 36px;
  border-top: 1px solid var(--ink);
}

.fellowship-copy dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.fellowship-copy dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fellowship-copy dd {
  font-size: 15px;
}

.fellowship-copy > .button {
  margin-top: 32px;
}

/* 19 · Ajariba */

.time-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 22px;
  min-height: 50px;
  padding: 0 var(--pad);
  overflow: hidden;
  color: var(--moss);
  background: var(--field);
  white-space: nowrap;
}

.time-ribbon i {
  width: 5px;
  height: 5px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

/* 22 · Lõpuplokk ja mitmeveeruline jalus */

.t-closing {
  overflow: hidden;
  padding: 140px var(--pad) 40px;
  background: var(--field);
}

.t-closing > h2 {
  margin-top: 104px;
  font-size: clamp(56px, 7.2vw, 124px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.t-closing > h2 span,
.t-closing > h2 em {
  display: block;
}

.t-closing > h2 em {
  margin-left: 0.46em;
}

.closing-actions {
  display: grid;
  grid-template-columns: minmax(0, 336px) auto;
  justify-content: start;
  align-items: end;
  gap: 48px;
  margin-top: 88px;
}

.closing-actions p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.closing-actions a {
  display: inline-flex;
  align-items: center;
  gap: 46px;
  padding: 17px 23px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 300ms ease, background 300ms ease, border-color 300ms ease;
}

.closing-actions a:hover {
  color: var(--bg);
  border-color: var(--moss);
  background: var(--moss);
}

.t-footer {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
  margin-top: 140px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.t-footer .brand {
  align-self: start;
}

.t-footer > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.t-footer > div > span {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.t-footer a,
.t-footer p {
  width: fit-content;
  font-size: 14px;
}

.t-footer > div a {
  transition: color 0.3s var(--ease);
}

.t-footer > div a:hover {
  color: var(--moss);
}

.t-footer small {
  grid-column: 1 / -1;
  margin-top: 48px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* THEN-i plokid: tahvel */

@media (max-width: 1100px) {
  .station-atlas { height: 780px; }
  .station-card.is-active { flex: 2.2; }
  .station-card.is-active .station-card-title { bottom: 306px; }
  .station-card-detail { min-height: 260px; }
  .station-card-title h3 { font-size: 44px; }
  .station-card:not(.is-active) .station-card-title h3 { font-size: 30px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-visual { min-height: 450px; }
}

/* THEN-i plokid: telefon */

@media (max-width: 820px) {
  .long-view,
  .t-premise,
  .stations,
  .t-archive,
  .t-closing {
    padding-top: 96px;
    padding-bottom: 88px;
  }

  .t-closing { padding-bottom: 32px; }

  .premise-grid,
  .station-heading {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 56px;
  }

  .premise-metrics { grid-template-columns: repeat(2, 1fr); margin-top: 72px; }
  .premise-metrics article { min-height: 190px; border-bottom: 1px solid var(--line); }
  .premise-metrics article:nth-child(2n) { border-right: 0; }
  .premise-metrics article:nth-child(3) { padding-left: 0; }
  .premise-metrics span { margin-top: 40px; }

  .station-atlas { flex-direction: column; gap: 8px; height: auto; margin-top: 56px; }
  .station-card,
  .station-card.is-active { width: 100%; height: 142px; flex: none; transition: height 900ms var(--ease), filter 700ms ease; }
  .station-card.is-active { height: 720px; }
  .station-card-trigger { min-height: 58px; }
  .station-card-terrain { inset: 58px 0 0; }
  .station-card-title { right: 20px; bottom: 24px; left: 20px; }
  .station-card.is-active .station-card-title { bottom: 300px; }
  .station-card-title h3,
  .station-card:not(.is-active) .station-card-title h3 { margin: 8px 0 0; font-size: 32px; }
  .station-card.is-active .station-card-title h3 { margin-top: 14px; font-size: 56px; }
  .station-card:not(.is-active) .station-card-title > span,
  .station-card:not(.is-active) .station-card-title > small { display: none; }
  .station-card-detail { min-height: 270px; padding: 24px 20px; }

  .archive-grid { grid-template-columns: 1fr; margin-top: 56px; }
  .archive-visual { min-height: 400px; }

  .long-view-grid { grid-template-columns: 1fr; gap: 72px; min-height: 0; margin-top: 56px; }
  .horizon-orbit { width: min(100%, 520px); }

  .fellowship { grid-template-columns: 1fr; }
  .fellowship-image { min-height: 480px; }
  .fellowship-copy { padding: 72px var(--pad); }

  .t-closing > h2 { margin-top: 72px; }
  .t-closing > h2 em { margin-left: 0.18em; }
  .closing-actions { grid-template-columns: 1fr; gap: 40px; }
  .closing-actions a { justify-content: space-between; }

  .t-footer { grid-template-columns: 1fr 1fr; gap: 40px 30px; margin-top: 104px; }
  .t-footer .brand { grid-column: 1 / -1; }
  .t-footer small { margin-top: 16px; }

  .time-ribbon { justify-content: flex-start; overflow-x: auto; }
}

@media (max-width: 520px) {
  .section-rule { flex-direction: column; align-items: flex-start; gap: 8px; }
  .station-card.is-active { height: 780px; }
  .station-card.is-active .station-card-title { bottom: 360px; }
  .station-card-detail { grid-template-columns: 1fr; min-height: 330px; align-content: end; }
  .station-card-detail > a { justify-self: start; }
  .horizon-center { width: 150px; height: 150px; }
  .horizon-center strong { font-size: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .horizon-ring,
  .atlas-contour {
    animation: none;
  }
}
