
/* ============================================================
   Cantor8 — blueprint-blue institutional design system
   Tokens + components. Motion behavior in cantor8.js.
   ============================================================ */

:root {
  --c8-blue: #044AB3;
  --c8-blue-bright: #0066CC;
  --c8-ink: #151515;
  --c8-cyan: #6FE3FF;
  --c8-white: #FFFFFF;
  --c8-glass: rgba(255, 255, 255, 0.08);
  --c8-chip: rgba(255, 255, 255, 0.12);
  --c8-line-w: rgba(255, 255, 255, 0.28);
  --c8-line-b: rgba(4, 74, 179, 0.18);
  --c8-text-dim: rgba(255, 255, 255, 0.72);
  --c8-text-dimw: rgba(21, 21, 21, 0.68);
  --c8-hairline: rgba(21, 21, 21, 0.08);
  --c8-nav-glass: rgba(21, 21, 21, 0.32);

  --c8-font-grot: "PP Neue Montreal", "Inter", "Helvetica Neue", Arial, sans-serif;
  --c8-font-mono: "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --c8-px: 3px;               /* pixel unit for pixel-art elements */
  --c8-gutter: clamp(24px, 4vw, 64px);
  --c8-radius-card: 8px;
  --c8-radius-chip: 4px;

  --c8-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --c8-ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- base ---------- */

.c8-page,
.c8-page * { box-sizing: border-box; }

.c8-page {
  margin: 0;
  font-family: var(--c8-font-grot);
  background: var(--c8-blue);
  color: var(--c8-white);
  -webkit-font-smoothing: antialiased;
}

.c8-section { padding: clamp(96px, 12vw, 180px) var(--c8-gutter); position: relative; }
.c8-section--blue  { background: var(--c8-blue); color: var(--c8-white); }
.c8-section--dark  { background: var(--c8-ink);  color: var(--c8-white); }
.c8-section--white { background: var(--c8-white); color: var(--c8-ink); }

/* ---------- type ---------- */

.c8-h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(48px, 7.5vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.c8-h2 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.c8-section--white .c8-h1,
.c8-section--white .c8-h2 { color: var(--c8-blue); }

.c8-body {
  margin: 0;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
  color: var(--c8-text-dim);
  max-width: 46ch;
}
.c8-section--white .c8-body { color: var(--c8-text-dimw); }

.c8-mono {
  font-family: var(--c8-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* kicker — mono label with square pixel bullet */
.c8-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--c8-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: currentColor;
}
.c8-kicker::before {
  content: "";
  width: 7px; height: 7px;
  background: currentColor;
  flex: none;
}

/* ---------- pixel logo mark ---------- */
/* 4x4 pixel cluster. Base pixel paints (0,0); shadows paint the rest. */
.c8-mark {
  position: relative;
  display: inline-block;
  width: calc(var(--c8-px) * 4);
  height: calc(var(--c8-px) * 4);
  flex: none;
}
.c8-mark > i {
  position: absolute;
  left: 0; top: 0;
  width: var(--c8-px); height: var(--c8-px);
  background: currentColor;
  box-shadow:
    calc(var(--c8-px) * 1) 0 currentColor,
    calc(var(--c8-px) * 3) 0 currentColor,
    0 calc(var(--c8-px) * 1) currentColor,
    calc(var(--c8-px) * 1) calc(var(--c8-px) * 1) currentColor,
    calc(var(--c8-px) * 2) calc(var(--c8-px) * 1) currentColor,
    calc(var(--c8-px) * 3) calc(var(--c8-px) * 1) currentColor,
    calc(var(--c8-px) * 1) calc(var(--c8-px) * 2) currentColor,
    calc(var(--c8-px) * 2) calc(var(--c8-px) * 2) currentColor,
    calc(var(--c8-px) * 3) calc(var(--c8-px) * 2) currentColor,
    0 calc(var(--c8-px) * 3) currentColor,
    calc(var(--c8-px) * 2) calc(var(--c8-px) * 3) currentColor;
}

.c8-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: currentColor;
  text-decoration: none;
}
.c8-wordmark .c8-mark { --c8-px: 4px; }

/* ---------- pixel arrow (5x5 NE arrow built from squares) ---------- */
.c8-pxarrow {
  position: relative;
  display: inline-block;
  width: calc(var(--c8-px) * 5);
  height: calc(var(--c8-px) * 5);
  flex: none;
}
.c8-pxarrow > i {
  position: absolute;
  left: 0; bottom: 0;
  width: var(--c8-px); height: var(--c8-px);
  background: currentColor;
  box-shadow:
    calc(var(--c8-px) * 1) calc(var(--c8-px) * -1) currentColor,
    calc(var(--c8-px) * 2) calc(var(--c8-px) * -2) currentColor,
    calc(var(--c8-px) * 2) calc(var(--c8-px) * -4) currentColor,
    calc(var(--c8-px) * 3) calc(var(--c8-px) * -4) currentColor,
    calc(var(--c8-px) * 4) calc(var(--c8-px) * -4) currentColor,
    calc(var(--c8-px) * 3) calc(var(--c8-px) * -3) currentColor,
    calc(var(--c8-px) * 4) calc(var(--c8-px) * -3) currentColor,
    calc(var(--c8-px) * 4) calc(var(--c8-px) * -2) currentColor;
  transition: transform 0.18s ease-out;
}

/* ---------- pill button ---------- */
.c8-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--c8-white);
  color: var(--c8-blue);
  font-family: var(--c8-font-grot);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--c8-ease);
}
.c8-btn__chip {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--c8-radius-chip);
  background: var(--c8-blue);
  color: var(--c8-white);
  flex: none;
}
.c8-btn:hover { background: #E8EEF9; }
.c8-btn:hover .c8-pxarrow > i { transform: translate(2px, -2px); }

.c8-btn--blue { background: var(--c8-blue); color: var(--c8-white); }
.c8-btn--blue .c8-btn__chip { background: var(--c8-white); color: var(--c8-blue); }
.c8-btn--blue:hover { background: var(--c8-blue-bright); }

.c8-btn--sm { padding-left: 20px; font-size: 14px; gap: 10px; }
.c8-btn--sm .c8-btn__chip { width: 36px; height: 36px; }

/* ---------- floating pill nav ---------- */
.c8-nav {
  position: fixed;
  top: 18px; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--c8-gutter);
  color: var(--c8-white);
  pointer-events: none;
}
.c8-nav > * { pointer-events: auto; }

.c8-nav__pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: var(--c8-nav-glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background 0.3s var(--c8-ease);
}
.c8-nav__link {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c8-white);
  text-decoration: none;
  transition: background 0.3s var(--c8-ease), color 0.3s var(--c8-ease);
  white-space: nowrap;
}
.c8-nav__link:hover { background: rgba(255, 255, 255, 0.14); }
.c8-nav__link--active { background: var(--c8-white); color: var(--c8-blue); }

.c8-nav__right { display: flex; align-items: center; gap: 10px; }

/* flipped theme on white surfaces */
.c8-nav--onwhite { color: var(--c8-blue); }
.c8-nav--onwhite .c8-nav__pill { background: var(--c8-blue); }
.c8-nav--onwhite .c8-nav__link { color: var(--c8-white); }
.c8-nav--onwhite .c8-nav__link:hover { background: rgba(255, 255, 255, 0.16); }
.c8-nav--onwhite .c8-nav__link--active { background: var(--c8-white); color: var(--c8-blue); }

/* ---------- hero + globe ---------- */
.c8-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 140px var(--c8-gutter) 56px;
  background: var(--c8-blue);
  overflow: hidden;
}
.c8-hero__globe {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.c8-hero__globe canvas { display: block; }
.c8-hero__content { position: relative; z-index: 2; display: grid; gap: 28px; }
.c8-hero__caption {
  position: absolute;
  right: var(--c8-gutter);
  bottom: 56px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- section heading layouts ---------- */
.c8-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 7vw, 110px); }
.c8-head--split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  gap: clamp(32px, 5vw, 96px);
}
.c8-head__side { display: grid; gap: 28px; justify-items: start; }

/* nested rounded-rect line art (decorative) */
.c8-deco {
  position: absolute;
  pointer-events: none;
  border: 1px solid var(--c8-line-w);
  border-radius: 24px;
}
.c8-deco::before,
.c8-deco::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--c8-line-w);
  border-radius: 18px;
}
.c8-deco::after { inset: 28px; border-radius: 12px; }
.c8-section--white .c8-deco,
.c8-section--white .c8-deco::before,
.c8-section--white .c8-deco::after { border-color: var(--c8-line-b); }

/* ---------- circuit-trace product cards ---------- */
.c8-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 460px;
  padding: 28px;
  border-radius: var(--c8-radius-card);
  background-color: var(--c8-blue);
  background-repeat: no-repeat;
  background-position: center 12%;
  background-size: 78%;
  color: var(--c8-white);
  text-decoration: none;
  overflow: hidden;
  flex: none;
  width: min(420px, 78vw);
  transition: transform 0.4s var(--c8-ease);
}
.c8-card:hover { transform: translateY(-8px); }

.c8-card__label {
  position: absolute;
  top: 20px; left: 20px;
  padding: 7px 12px;
  border-radius: var(--c8-radius-chip);
  background: var(--c8-chip);
  font-family: var(--c8-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.c8-card__arrow {
  position: absolute;
  top: 20px; right: 20px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--c8-radius-chip);
  background: var(--c8-white);
  color: var(--c8-blue);
}
.c8-card__title { margin: 0 0 12px; font-weight: 500; font-size: 22px; line-height: 1.2; }
.c8-card__desc { margin: 0; font-size: 15px; line-height: 1.5; color: var(--c8-text-dim); max-width: 34ch; }

/* trace patterns (white 1px PCB line art) */
.c8-trace--1 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='300' viewBox='0 0 420 300'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.32)' stroke-width='1.2'%3E%3Crect x='120' y='20' width='240' height='240' rx='16'/%3E%3Crect x='134' y='34' width='212' height='212' rx='13'/%3E%3Crect x='148' y='48' width='184' height='184' rx='10'/%3E%3Crect x='162' y='62' width='156' height='156' rx='8'/%3E%3Cpath d='M0 128 H148'/%3E%3Cpath d='M0 140 H134'/%3E%3Cpath d='M0 152 H120'/%3E%3C/g%3E%3C/svg%3E"); }
.c8-trace--2 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='300' viewBox='0 0 420 300'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.32)' stroke-width='1.2'%3E%3Cpath d='M0 50 H200 Q214 50 214 64 V140'/%3E%3Cpath d='M0 78 H168 Q182 78 182 92 V168 Q182 182 196 182 H300'/%3E%3Cpath d='M0 106 H140 Q154 106 154 120 V230'/%3E%3Cpath d='M214 140 V300'/%3E%3Cpath d='M154 230 V300'/%3E%3Cpath d='M300 182 H420'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.32)'%3E%3Crect x='208' y='134' width='12' height='12'/%3E%3Crect x='294' y='176' width='12' height='12'/%3E%3Crect x='148' y='224' width='12' height='12'/%3E%3C/g%3E%3C/svg%3E"); }
.c8-trace--3 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='300' viewBox='0 0 420 300'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.32)' stroke-width='1.2'%3E%3Crect x='30' y='30' width='130' height='130' rx='12'/%3E%3Crect x='250' y='140' width='140' height='130' rx='12'/%3E%3Cpath d='M160 60 H196 Q210 60 210 74 V150 Q210 164 224 164 H250'/%3E%3Cpath d='M160 95 H182 Q196 95 196 109 V180 Q196 194 210 194 H250'/%3E%3Cpath d='M160 130 H170 Q184 130 184 144 V210 Q184 224 198 224 H250'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.32)'%3E%3Crect x='244' y='158' width='12' height='12'/%3E%3Crect x='244' y='188' width='12' height='12'/%3E%3Crect x='244' y='218' width='12' height='12'/%3E%3C/g%3E%3C/svg%3E"); }
.c8-trace--4 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='300' viewBox='0 0 420 300'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.32)' stroke-width='1.2'%3E%3Cpath d='M0 210 H70 V150 H140 V90 H210 V30 H280'/%3E%3Cpath d='M0 232 H92 V172 H162 V112 H232 V52 H302'/%3E%3Cpath d='M0 254 H114 V194 H184 V134 H254 V74 H324'/%3E%3Cpath d='M280 30 V0'/%3E%3Cpath d='M324 74 V44 H420'/%3E%3C/g%3E%3Cg fill='rgba(255,255,255,0.32)'%3E%3Crect x='274' y='24' width='12' height='12'/%3E%3Crect x='318' y='68' width='12' height='12'/%3E%3C/g%3E%3C/svg%3E"); }

/* ---------- stagger drag carousel ---------- */
.c8-carousel { overflow: hidden; margin: 0 calc(var(--c8-gutter) * -1); padding: 90px var(--c8-gutter) 70px; cursor: grab; }
.c8-carousel.is-dragging { cursor: grabbing; }
.c8-carousel__track {
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
  align-items: flex-start;
  will-change: transform;
  user-select: none;
}
.c8-carousel__track > *:nth-child(4n + 1) { transform: translateY(46px); }
.c8-carousel__track > *:nth-child(4n + 2) { transform: translateY(-24px); }
.c8-carousel__track > *:nth-child(4n + 3) { transform: translateY(64px); }
.c8-carousel__track > *:nth-child(4n + 4) { transform: translateY(0); }
.c8-carousel__track > *:nth-child(4n + 2):hover,
.c8-carousel__track > *:nth-child(4n + 1):hover,
.c8-carousel__track > *:nth-child(4n + 3):hover { transform: translateY(-8px); }

/* ---------- pixel transition bands ---------- */
.c8-pixels {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, 1fr);
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.c8-pixels > i {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  transform: scale(0);
}
.c8-pixels.is-in > i { animation: c8-pixel-in 0.32s var(--c8-ease-pop) forwards; }

@keyframes c8-pixel-in {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

/* ---------- partner logo wall ---------- */
.c8-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 1.8vw, 26px);
  align-items: start;
}
.c8-wall__card {
  display: grid;
  place-items: center;
  aspect-ratio: 1.9;
  border-radius: var(--c8-radius-card);
  background: var(--c8-glass);
  color: var(--c8-white);
  font-weight: 600;
  font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.3s var(--c8-ease), transform 0.3s var(--c8-ease);
}
.c8-wall__card:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-4px); }
.c8-wall__card:nth-child(3n + 1) { transform: translateY(34px); }
.c8-wall__card:nth-child(3n + 3) { transform: translateY(-20px); }
.c8-wall__card:nth-child(3n + 1):hover { transform: translateY(28px); }
.c8-wall__card:nth-child(3n + 3):hover { transform: translateY(-26px); }
@media (max-width: 900px) { .c8-wall { grid-template-columns: repeat(2, 1fr); } }

/* ---------- split photo section ---------- */
.c8-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.c8-split__photo {
  position: relative;
  min-height: clamp(320px, 42vw, 620px);
  background:
    linear-gradient(160deg, rgba(4, 74, 179, 0.18), rgba(21, 21, 21, 0) 55%),
    linear-gradient(200deg, #2A3542 0%, #1B232D 45%, #10161C 100%);
  overflow: hidden;
}
.c8-split__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c8-split__body { display: grid; gap: 28px; justify-items: start; }

/* ---------- use-case rows ---------- */
.c8-rows { display: grid; gap: clamp(80px, 10vw, 150px); }
.c8-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.c8-row--flip > .c8-row__text { order: 2; }
.c8-row--flip > .c8-row__deco { order: 1; }
.c8-row__title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 18px;
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.c8-row__title::before {
  content: "";
  width: 8px; height: 8px;
  background: currentColor;
  flex: none;
  transform: translateY(-2px);
}
.c8-row__deco { position: relative; min-height: 180px; }

/* ---------- news cards (white surface) ---------- */
.c8-news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 30px);
}
@media (max-width: 900px) { .c8-news { grid-template-columns: 1fr; } }
.c8-news__card {
  display: grid;
  gap: 14px;
  padding: 12px 12px 20px;
  border: 1px solid var(--c8-hairline);
  border-radius: var(--c8-radius-card);
  background: var(--c8-white);
  text-decoration: none;
  color: var(--c8-ink);
}
.c8-news__photo {
  aspect-ratio: 16 / 9.5;
  border-radius: calc(var(--c8-radius-card) - 2px);
  overflow: hidden;
  background: linear-gradient(160deg, #24405F, #10161C);
}
.c8-news__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease-out; }
.c8-news__card:hover .c8-news__photo img { transform: scale(1.03); }
.c8-news__meta {
  display: flex;
  gap: 14px;
  font-family: var(--c8-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c8-blue);
}
.c8-news__title { margin: 0; font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }

/* ---------- footer ---------- */
.c8-footer { background: var(--c8-ink); color: var(--c8-white); padding: clamp(80px, 9vw, 140px) var(--c8-gutter) 40px; }
.c8-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  margin-bottom: clamp(80px, 10vw, 160px);
}
.c8-footer__cta { display: grid; gap: 26px; justify-items: start; align-content: start; }
.c8-footer__form { display: flex; gap: 12px; width: 100%; max-width: 480px; }
.c8-footer__input {
  flex: 1;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--c8-radius-chip);
  background: transparent;
  color: var(--c8-white);
  font-family: var(--c8-font-grot);
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s;
}
.c8-footer__input::placeholder { color: rgba(255, 255, 255, 0.4); }
.c8-footer__input:focus { border-color: rgba(255, 255, 255, 0.45); }
.c8-footer__submit {
  padding: 15px 26px;
  border: 0;
  border-radius: var(--c8-radius-chip);
  background: var(--c8-blue-bright);
  color: var(--c8-white);
  font-family: var(--c8-font-grot);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.25s;
}
.c8-footer__submit:hover { background: var(--c8-blue); }

.c8-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-content: start; }
.c8-footer__col { display: grid; gap: 12px; align-content: start; }
.c8-footer__colhead { font-family: var(--c8-font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 6px; }
.c8-footer__link { color: var(--c8-white); text-decoration: none; font-size: 15px; opacity: 0.85; transition: opacity 0.2s; }
.c8-footer__link:hover { opacity: 1; }

.c8-footer__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.c8-footer__brand .c8-mark { --c8-px: clamp(7px, 0.8vw, 11px); }
.c8-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  justify-content: space-between;
  font-family: var(--c8-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}
.c8-footer__legal a { color: inherit; text-decoration: none; }
.c8-footer__legal a:hover { color: var(--c8-white); }

/* ---------- reveals ---------- */
[data-c8-reveal] { opacity: 0; transform: translateY(28px); }
[data-c8-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--c8-ease), transform 0.6s var(--c8-ease);
}

/* masked word rise */
.c8-rise .c8-rise__mask { display: inline-block; overflow: hidden; vertical-align: bottom; }
.c8-rise .c8-rise__word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.7s var(--c8-ease);
}
.c8-rise.is-in .c8-rise__word { transform: translateY(0); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  [data-c8-reveal] { opacity: 1; transform: none; }
  .c8-rise .c8-rise__word { transform: none; transition: none; }
  .c8-pixels > i { transform: scale(1); }
  .c8-pixels.is-in > i { animation: none; }
  .c8-btn:hover .c8-pxarrow > i { transform: none; }
  .c8-news__card:hover .c8-news__photo img { transform: none; }
  .c8-card:hover,
  .c8-wall__card:hover { transform: none; }
  .c8-carousel__track > * { transform: none !important; }
  * { scroll-behavior: auto !important; }
}
