/* ============================================================
   Giacomo Firrincieli — personal site
   Design tokens, layout, components, motion
   ============================================================ */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.1/css/all.min.css");

:root {
  /* Dark (default) */
  --bg: #0b0d12;
  --bg-soft: #11141b;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f2f4f8;
  --text-muted: #9aa4b2;
  --text-faint: #5c6672;
  --accent: #6ee7ff;
  --accent-2: #a78bfa;
  --accent-3: #f0abfc;
  --glow: 0 0 40px rgba(110, 231, 255, 0.25);
  --radius: 18px;
  --maxw: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg: #f7f8fb;
  --bg-soft: #eef1f6;
  --surface: rgba(15, 18, 28, 0.03);
  --surface-strong: rgba(15, 18, 28, 0.05);
  --border: rgba(15, 18, 28, 0.1);
  --text: #10131a;
  --text-muted: #545c6b;
  --text-faint: #939cab;
  --accent: #0891b2;
  --accent-2: #7c3aed;
  --accent-3: #c026d3;
  --glow: 0 0 40px rgba(8, 145, 178, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}

::selection { background: var(--accent); color: #04121a; }

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

/* ---------- Background canvas ---------- */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.9;
}
body::after {
  /* subtle vignette + grain over canvas */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% -10%, transparent 40%, var(--bg) 100%);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  z-index: 100;
  box-shadow: var(--glow);
}

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 200;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot { width: 6px; height: 6px; background: #fff; }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease);
}
.cursor-ring.is-hover {
  width: 56px; height: 56px;
  background: rgba(255, 255, 255, 0.08);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.2rem, 5vw, 3rem);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--border);
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}
.nav__brand-mark {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.nav__brand:hover .nav__brand-mark { border-color: var(--accent); color: var(--accent); }
.nav__links { display: flex; gap: 0.4rem; }
.nav__link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); background: var(--surface); }
@media (max-width: 620px) { .nav__links { display: none; } }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); transform: translateY(-2px); }
.theme-toggle svg { position: absolute; transition: transform 0.5s var(--ease), opacity 0.4s var(--ease); }
.theme-toggle__sun { transform: rotate(0) scale(1); opacity: 1; }
.theme-toggle__moon { transform: rotate(-90deg) scale(0); opacity: 0; }
[data-theme="light"] .theme-toggle__sun { transform: rotate(90deg) scale(0); opacity: 0; }
[data-theme="light"] .theme-toggle__moon { transform: rotate(0) scale(1); opacity: 1; }

/* ---------- Layout ---------- */
main { position: relative; z-index: 1; }
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 9rem) clamp(1.2rem, 5vw, 3rem);
}
.section__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 3rem;
}
.section__index {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.section__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6rem clamp(1.2rem, 5vw, 3rem) 4rem;
  position: relative;
}
.hero__inner { max-width: 900px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  margin-bottom: 1.8rem;
}
.hero__status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 12vw, 7.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.6rem;
}
.hero__title span { display: block; }
.hero__title-accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2) 55%, var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2.5rem;
}
.hero__rotator {
  color: var(--text);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 2rem; left: clamp(1.2rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 46px; height: 1px;
  background: var(--text-faint);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--accent);
  animation: slide 2s var(--ease) infinite;
}
@keyframes slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(280%); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #06121a;
}
.btn--primary:hover { box-shadow: var(--glow); }
.btn--primary svg { transition: transform 0.3s var(--ease); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); background: var(--surface-strong); }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about__content { display: flex; flex-direction: column; gap: clamp(1.6rem, 4vw, 2.4rem); }

/* ---------- Portrait ---------- */
.about__portrait { position: relative; }
.about__portrait::before {
  /* soft gradient halo behind the frame */
  content: "";
  position: absolute;
  inset: -14% -10% -6%;
  z-index: -1;
  background: radial-gradient(60% 55% at 50% 30%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%);
  filter: blur(30px);
  opacity: 0.55;
  animation: floaty 9s ease-in-out infinite;
}
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    var(--surface-strong);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}
.about__portrait:hover .portrait {
  transform: translateY(-6px) rotate(-0.6deg);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: var(--glow);
}
.portrait__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.about__portrait:hover .portrait__img { transform: scale(1.04); }
/* placeholder (shown until a real me.jpg loads) */
.portrait__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.8rem;
  padding: 1.5rem;
  text-align: center;
  color: var(--text-faint);
}
.portrait.is-empty { border-style: dashed; }
.portrait__ph-text { font-size: 0.85rem; max-width: 16ch; line-height: 1.4; }
.portrait__ph code {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent);
  font-size: 0.82em;
}
/* caption chip, sits over the bottom of the photo */
.portrait__cap {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.about__portrait:hover .portrait__cap { opacity: 1; transform: none; }
.portrait__cap-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.portrait__cap-role {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: var(--accent);
}
.about__lead {
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.35;
}
.about__body p { color: var(--text-muted); margin-bottom: 1.1rem; }
.about__aside {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(6px);
}
.about__stat { display: flex; flex-direction: column; flex: 1; min-width: 120px; }
.about__stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about__stat-label { font-size: 0.85rem; color: var(--text-faint); margin-top: 0.35rem; }
@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 340px; margin: 0 auto; width: 100%; }
}

/* ---------- Marquee ---------- */
.marquee {
  margin-top: 4rem;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span:nth-child(3n+1) { color: var(--text); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; position: relative; }
.timeline__item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  position: relative;
  transition: background 0.3s var(--ease);
}
.timeline__item:last-child { border-bottom: 1px solid var(--border); }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -1px; top: -1px;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 0.6s var(--ease);
}
.timeline__item:hover::before { width: 100%; }
.timeline__item:hover .timeline__role { color: var(--accent); }
.timeline__year {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.85rem;
  color: var(--text-faint);
}
.timeline__role {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  transition: color 0.3s var(--ease);
}
.timeline__org { color: var(--accent-2); font-weight: 500; margin: 0.2rem 0 0.6rem; }
.timeline__desc { color: var(--text-muted); max-width: 560px; }
@media (max-width: 640px) {
  .timeline__item { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* ---------- Projects ---------- */
.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.project {
  padding: 1.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.project::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.project:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); background: var(--surface-strong); }
.project:hover::before { opacity: 1; }
.project__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.project__tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.project__link {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  color: var(--text-muted);
  transition: color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.project:hover .project__link { color: var(--accent); background: var(--surface-strong); transform: translate(2px, -2px); }
.project__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.project__desc { color: var(--text-muted); margin-bottom: 1.4rem; }
.project__stack { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.project__stack li {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: var(--text-faint);
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}
@media (max-width: 700px) { .projects { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.section--contact { text-align: center; }
.section--contact .section__head { justify-content: center; }
.contact__lead {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2rem;
}
.contact__email {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
  will-change: transform;
}
.contact__email:hover { filter: brightness(1.15); }
.contact__socials {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}
.contact__social {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.contact__social:hover { color: var(--text); border-color: var(--accent); transform: translateY(-3px); }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.5rem clamp(1.2rem, 5vw, 3rem);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-faint);
  font-family: "JetBrains Mono", monospace;
}

/* ---------- Interests / word cloud ---------- */
.cloud__intro {
  color: var(--text-muted);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  max-width: 520px;
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
}
.cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.4rem;
  padding: clamp(1.5rem, 5vw, 3rem) 0;
  line-height: 1.1;
}
.cloud__word {
  --size: calc(0.7rem + var(--w) * 0.42rem);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(0.95rem, calc(var(--size)), 3.4rem);
  color: var(--text-muted);
  cursor: default;
  padding: 0.1rem 0.3rem;
  border-radius: 8px;
  transition: color 0.35s var(--ease), transform 0.35s var(--ease),
    opacity 0.35s var(--ease), text-shadow 0.35s var(--ease);
  animation: floaty 7s ease-in-out infinite;
  animation-delay: calc(var(--w) * -0.9s);
  will-change: transform;
}
/* three accent families, cycled by data-cat */
.cloud__word[data-cat="a"] { color: color-mix(in srgb, var(--accent) 55%, var(--text-muted)); }
.cloud__word[data-cat="b"] { color: color-mix(in srgb, var(--accent-2) 55%, var(--text-muted)); }
.cloud__word[data-cat="c"] { color: color-mix(in srgb, var(--accent-3) 55%, var(--text-muted)); }

/* heavier weights read a touch bolder/brighter */
.cloud__word { opacity: calc(0.55 + var(--w) * 0.11); }

.cloud__word:hover {
  transform: scale(1.18) rotate(-1.5deg);
  animation-play-state: paused;
  text-shadow: var(--glow);
}
.cloud__word[data-cat="a"]:hover { color: var(--accent); }
.cloud__word[data-cat="b"]:hover { color: var(--accent-2); }
.cloud__word[data-cat="c"]:hover { color: var(--accent-3); }

/* dim the rest of the cloud while one word is hovered */
.cloud:hover .cloud__word { opacity: 0.3; }
.cloud:hover .cloud__word:hover { opacity: 1; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) {
  .cloud__word { animation: none; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--word { transition-delay: calc(var(--i, 0) * 0.08s); }
