/* Dico Fibre Optique — design system */

:root {
  /* Brand palette extracted from logo */
  --blue: #2EA3DC;        /* Dico wordmark */
  --blue-deep: #1B7AB0;
  --orange: #F37E1F;      /* underline accent */
  --red: #E63329;
  --green: #3FA858;
  --yellow: #F5BC1E;
  --dot-blue: #4CA8E8;

  /* Neutrals */
  --ink: #0B0F14;
  --ink-2: #2A323D;
  --muted: #6C7682;
  --line: #E7EAEE;
  --line-2: #F0F2F5;
  --cream: #F7F5F1;
  --bg: #FFFFFF;

  /* Type */
  --font: "Montserrat", system-ui, sans-serif;

  /* Sizing */
  --container: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { font-size: 16px; line-height: 1.55; font-weight: 400; overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

img { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--ink);
}
.h-display {
  font-size: clamp(48px, 7.4vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0;
}
.h-section {
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
}
.h-card {
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0;
}
.lead {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 400;
  max-width: 56ch;
}
.body { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.mono {
  font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 104px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { width: 68px; height: 68px; border-radius: 50%; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name .a { font-weight: 700; font-size: 20px; color: var(--blue); letter-spacing: -0.01em; }
.brand-name .b { font-weight: 600; font-size: 11px; letter-spacing: 0.2em; color: var(--ink); margin-top: 4px; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--line-2); color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff;
  border: none;
  padding: 13px 22px 13px 24px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--blue); }
.nav-cta .arr { display: inline-block; transition: transform .2s ease; }
.nav-cta:hover .arr { transform: translateX(3px); }

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 90px);
  padding-bottom: clamp(60px, 9vw, 140px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.hero-eyebrow-row .swiss {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.swiss-flag {
  width: 14px; height: 14px; background: #DA291C; position: relative; border-radius: 2px;
}
.swiss-flag::before, .swiss-flag::after {
  content: ""; position: absolute; background: #fff;
}
.swiss-flag::before { left: 5px; top: 2px; width: 4px; height: 10px; }
.swiss-flag::after  { left: 2px; top: 5px; width: 10px; height: 4px; }

.hero h1 { color: var(--ink); }
.hero h1 .underlined {
  position: relative;
  white-space: nowrap;
  display: inline-block;
  margin-top: 0.18em;
}
.hero h1 .underlined::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.10em;
  background: var(--orange);
  border-radius: 4px;
  transform-origin: left;
  animation: ink-in 1.1s .4s ease-out both;
}
@keyframes ink-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero h1 .blue { color: var(--blue); }

.hero-sub {
  margin-top: 32px;
  max-width: 52ch;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
}
.hero-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--ink); color: #fff;
  border: none;
  font-size: 15px; font-weight: 600;
  transition: background .2s ease;
}
.btn-primary:hover { background: var(--blue); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 22px;
  border-radius: 999px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
  font-size: 15px; font-weight: 600;
  transition: border-color .2s ease, background .2s ease;
}
.btn-ghost:hover { border-color: var(--ink); background: var(--cream); }

/* Hero right — animated fiber visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: #0B0F14;
  box-shadow: 0 30px 60px -30px rgba(11,15,20,0.4);
}
.hero-visual .photo-layer {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #131922 0%, #0B0F14 60%, #1A2532 100%);
}
.hero-visual .photo-layer.show-photo {
  background-image:
    linear-gradient(180deg, rgba(11,15,20,0.05) 0%, rgba(11,15,20,0.55) 100%),
    repeating-linear-gradient(135deg, #1A2230 0 18px, #131A26 18px 36px);
}
.hero-visual .caption {
  position: absolute; left: 24px; bottom: 22px;
  color: rgba(255,255,255,0.6);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  z-index: 4;
}
.hero-visual .meta-tl {
  position: absolute; left: 24px; top: 22px;
  color: rgba(255,255,255,0.5);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  z-index: 4;
}
.hero-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }

/* Hero footer ticker */
.hero-ticker {
  margin-top: clamp(50px, 8vw, 100px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) { .hero-ticker { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  {
  .hero-ticker { grid-template-columns: repeat(2, 1fr); }
  .hero-ticker .tick:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }
}
.tick { display: flex; flex-direction: column; gap: 6px; }
.tick .n { font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.tick .l { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Section scaffolding ---------- */
.section {
  padding-top: clamp(80px, 10vw, 160px);
  padding-bottom: clamp(80px, 10vw, 160px);
  position: relative;
}
/* Thin hairline divider at the top of each section (skip the very first hero) */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - var(--pad) * 2), var(--container));
  height: 1px;
  background: var(--line);
  pointer-events: none;
}
/* Small accent tick on the left of the divider */
.section::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - min(calc(50% - var(--pad)), calc(var(--container) / 2)));
  width: 28px;
  height: 1px;
  background: var(--blue);
  pointer-events: none;
}
.section.alt { background: var(--cream); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(28px, 5vw, 80px);
  margin-bottom: clamp(50px, 7vw, 90px);
  align-items: end;
}
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }
.section-head .title-block { display: flex; flex-direction: column; gap: 22px; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

.svc-card {
  grid-column: span 4;
  position: relative;
  padding: 36px 30px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  display: flex; flex-direction: column;
  min-height: 380px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.svc-card.wide { grid-column: span 6; }
.svc-card.half { grid-column: span 6; }
.svc-card.full { grid-column: span 12; }
.svc-card.full .svc-thumb { height: 220px; }
.svc-card.full p { max-width: 64ch; }
@media (max-width: 900px) {
  .svc-card, .svc-card.wide, .svc-card.half, .svc-card.full { grid-column: span 1; }
}
.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 50px -30px rgba(11,15,20,0.18);
  border-color: transparent;
}
.svc-num {
  position: absolute; top: 22px; right: 26px;
  font-size: 12px; letter-spacing: 0.1em; color: var(--muted); font-weight: 600;
}
.svc-dot {
  width: 16px; height: 16px; border-radius: 50%;
  margin-bottom: 22px;
  position: relative;
}
.svc-dot::after {
  content: "";
  position: absolute;
  left: 50%; top: 100%;
  width: 2px; height: 36px;
  background: currentColor;
  opacity: 0.35;
  transform: translateX(-50%);
}
.svc-card .h-card { margin-top: 0; }
.svc-card p { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 38ch; }
.svc-card .link {
  margin-top: auto;
  padding-top: 26px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink);
}
.svc-card .link .arr { transition: transform .2s ease; }
.svc-card:hover .link .arr { transform: translateX(4px); }

.svc-thumb {
  margin: -36px -30px 22px;
  height: 160px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.svc-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-card .svc-thumb + .svc-dot { margin-top: 0; }

/* Collage (multi-image thumb) */
.svc-collage {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3px;
  background: var(--ink);
}
.svc-tile {
  position: relative;
  overflow: hidden;
}
.svc-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.svc-tile:hover img { transform: scale(1.04); }
@media (max-width: 700px) {
  .svc-collage { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
}

/* placeholder visuals */
.ph-stripe {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 10px, rgba(255,255,255,0.0) 10px 20px),
    linear-gradient(135deg, #0B0F14 0%, #1A2230 100%);
}
.ph-label {
  position: absolute; left: 16px; bottom: 14px;
  color: rgba(255,255,255,0.55);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-img {
  aspect-ratio: 3/4;
  border-radius: var(--radius-m);
  background: var(--ink);
  position: relative;
  overflow: hidden;
  max-width: 380px;
}
@media (max-width: 900px) { .about-img { max-width: 100%; } }
.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% center;
  display: block;
}
.about-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}
@media (max-width: 700px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-stats > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    text-align: center;
  }
}
.about-stats .n { font-size: clamp(34px, 3.4vw, 48px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.about-stats .l { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* ---------- Clients (discreet trust strip) ---------- */
.clients-strip {
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 84px);
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.clients-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.clients-count {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.clients-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.clients-track {
  display: flex;
  align-items: center;
  gap: clamp(36px, 4vw, 64px);
  width: max-content;
  animation: clients-scroll 80s linear infinite;
  padding: 4px 0;
}
.clients-strip:hover .clients-track { animation-play-state: paused; }
.client-name {
  flex: 0 0 auto;
  font-family: var(--font);
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  opacity: 0.72;
  white-space: nowrap;
  position: relative;
  transition: color .25s ease, opacity .25s ease;
}
.client-name + .client-name::before,
.client-name + .client-logo::before,
.client-logo + .client-name::before,
.client-logo + .client-logo::before {
  content: "·";
  position: absolute;
  left: calc(clamp(36px, 4vw, 64px) / -2);
  transform: translateX(-50%);
  color: var(--line);
  font-weight: 400;
}
.client-name:hover { color: var(--ink); opacity: 1; }

.client-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  position: relative;
}
.client-logo img {
  height: 100%;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.45;
  transition: filter .3s ease, opacity .3s ease;
}
.client-logo:hover img { filter: none; opacity: 1; }
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
}

/* ---------- Partners / Brands ---------- */
.brands {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
@media (max-width: 1100px) { .brands { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px)  { .brands { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .brands { grid-template-columns: repeat(2, 1fr); } }

.brand-cell {
  aspect-ratio: 5/3;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--line);
  padding: 18px 10px;
  position: relative;
  overflow: hidden;
  transition: background .25s ease;
}
.brand-cell:last-child { border-right: none; }
.brand-cell:hover { background: var(--cream); }

.brand-wordmark {
  font-family: var(--font);
  font-size: clamp(13px, 1.05vw, 17px);
  color: var(--ink);
  text-transform: none;
  user-select: none;
  filter: grayscale(1);
  opacity: 0.78;
  white-space: nowrap;
  transition: opacity .25s ease;
}
.brand-cell:hover .brand-wordmark { opacity: 1; }

@media (max-width: 1100px) {
  .brand-cell:nth-child(4n) { border-right: none; }
  .brand-cell:nth-child(n+5) { border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .brand-cell { border-right: 1px solid var(--line) !important; }
  .brand-cell:nth-child(3n) { border-right: none !important; }
  .brand-cell:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .brand-cell { border-right: 1px solid var(--line) !important; }
  .brand-cell:nth-child(2n) { border-right: none !important; }
  .brand-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 56px);
}
.contact-card .h-section { color: #fff; }
.contact-card .lead { color: rgba(255,255,255,0.7); }
.contact-info { margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.contact-info .row { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.contact-info .row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info .label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 6px; }
.contact-info .value { font-size: 16px; font-weight: 500; color: #fff; }

.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(46,163,220,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
.form .btn-primary { align-self: flex-start; margin-top: 6px; }
.form-success {
  margin-top: 16px; padding: 14px 16px;
  background: rgba(63,168,88,0.12);
  border: 1px solid rgba(63,168,88,0.35);
  color: #1F6B36;
  border-radius: 10px; font-size: 14px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin: 0 0 18px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14px; transition: color .15s ease; }
.footer a:hover { color: #fff; }
.footer .brand-block { display: flex; flex-direction: column; gap: 18px; max-width: 360px; }
.footer .brand-block img { width: 56px; height: 56px; border-radius: 50%; background: #fff; padding: 4px; }
.footer .brand-block p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.55); margin: 0; }
.footer-bottom {
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4);
}
.footer-bigword {
  position: absolute; left: 0; right: 0; bottom: -32px;
  text-align: center;
  font-size: clamp(80px, 18vw, 240px);
  font-weight: 700; letter-spacing: -0.03em;
  color: rgba(255,255,255,0.04);
  line-height: 0.9;
  pointer-events: none;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .4s; }

/* Scroll progress fiber */
.scroll-fiber {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  height: 220px;
  width: 4px;
  z-index: 50;
  pointer-events: none;
  display: none;
}
@media (min-width: 1200px) { .scroll-fiber { display: block; } }
.scroll-fiber .track {
  position: absolute; inset: 0;
  background: var(--line);
  border-radius: 999px;
}
.scroll-fiber .head {
  position: absolute; left: 50%; transform: translate(-50%, -50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 16px var(--blue);
  transition: top .12s linear, background .3s ease, box-shadow .3s ease;
}
.scroll-fiber .label {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
  white-space: nowrap;
}
