/* I.Dsign — branding & communication design
   Palette: yellow #FFD400 · pink #E5327F · lime #B8E62D · cream #FFF8EC · ink #0E0E0E */

:root {
  --yellow: #FFD400;
  --pink: #E5327F;
  --lime: #B8E62D;
  --cream: #FFF8EC;
  --ink: #0E0E0E;
  --pale: #FFF1C2;
  --blush: #FFC7DF;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Space Grotesk', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --edge: 3px solid var(--ink);
  --pad-x: clamp(14px, 4vw, 48px);
  --pad-y: clamp(48px, 7vw, 112px);
  --wrap: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: clip;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--pink); }
img { display: block; max-width: 100%; }
::selection { background: var(--yellow); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; }
.section { padding: var(--pad-y) var(--pad-x); }
.stack { display: flex; flex-direction: column; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- headings ---------- */
.h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 7.4vw, 116px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.h2--sm { font-size: clamp(32px, 5vw, 72px); line-height: 0.94; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lede { margin: 0; font-size: 15px; line-height: 1.5; max-width: 340px; }

/* ---------- progress + header ---------- */
.progress { position: fixed; top: 0; left: 0; height: 6px; width: 100%; background: rgba(14,14,14,0.08); z-index: 90; }
.progress__bar { height: 100%; width: 0; background: var(--pink); transition: width 90ms linear; }

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: clamp(8px, 2vw, 24px);
  padding: clamp(8px, 1.6vw, 12px) var(--pad-x);
  background: rgba(255,248,236,0.92);
  backdrop-filter: blur(10px);
  border-bottom: var(--edge);
}
.header__logo { display: flex; align-items: center; flex: none; }
.header__logo img { height: clamp(22px, 4.2vw, 34px); width: auto; }
.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(7px, 1.9vw, 26px);
  font-size: clamp(9px, 1.5vw, 12px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  min-width: 0;
}
.nav a { padding: 6px 2px; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--yellow); color: var(--ink); }

.dot {
  width: clamp(7px, 1.2vw, 9px);
  height: clamp(7px, 1.2vw, 9px);
  border-radius: 999px;
  background: var(--lime);
  flex: none;
  animation: blink 1.6s steps(1) infinite;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: var(--edge);
  border-radius: 999px;
  padding: 15px 28px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.btn:hover { transform: translate(-3px, -3px); }
.btn--pink { background: var(--pink); color: var(--cream); box-shadow: 6px 6px 0 var(--ink); }
.btn--pink:hover { color: var(--cream); box-shadow: 10px 10px 0 var(--ink); }
.btn--ghost { background: var(--cream); color: var(--ink); box-shadow: 6px 6px 0 var(--yellow); }
.btn--ghost:hover { box-shadow: 10px 10px 0 var(--yellow); }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.btn--yellow:hover { color: var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.btn--ink { background: var(--ink); color: var(--cream); box-shadow: 7px 7px 0 var(--pink); padding: 16px 28px; font-size: 14px; }
.btn--ink:hover { color: var(--cream); box-shadow: 11px 11px 0 var(--pink); }

.btn--head {
  flex: none;
  gap: clamp(5px, 1vw, 8px);
  background: var(--ink);
  color: var(--cream);
  border: none;
  font-size: clamp(9px, 1.4vw, 12px);
  padding: clamp(7px, 1.4vw, 11px) clamp(11px, 2.2vw, 18px);
  box-shadow: 3px 3px 0 var(--pink);
  white-space: nowrap;
}
.btn--head:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--yellow); color: var(--cream); }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 92px) var(--pad-x) clamp(48px, 7vw, 104px); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero__kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.rule { width: 36px; height: 3px; background: var(--ink); display: inline-block; }
.hero__mark { display: inline-block; background: var(--yellow); padding: 0.06em 0.14em; box-shadow: 5px 5px 0 var(--ink); }
.hero__line { display: block; }
.hero__line--mark { margin: 0.06em 0; }
.hero__line--serif { line-height: 1.1; letter-spacing: -0.01em; }
.hero__body {
  margin: 0;
  max-width: 520px;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.45;
  text-wrap: pretty;
  border-top: var(--edge);
  padding-top: 22px;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.sticker {
  background: var(--yellow);
  border: var(--edge);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: wobble 5s ease-in-out infinite;
}
.sticker--pink {
  background: var(--pink);
  color: var(--cream);
  border-radius: 14px;
  padding: 11px 16px;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  animation: pulse 3.6s ease-in-out infinite;
}

.hero__art {
  position: relative;
  border: var(--edge);
  border-radius: 26px;
  overflow: hidden;
  background: var(--yellow);
  aspect-ratio: 4 / 5;
  max-height: 640px;
  display: flex;
  align-items: flex-end;
  box-shadow: 12px 12px 0 var(--ink);
}
.hero__art::before {
  content: '';
  position: absolute;
  inset: 0;
}
.hero__block {
  position: absolute;
  top: 0; right: 0;
  width: 46%; height: 55%;
  background: var(--pink);
  border-left: var(--edge);
  border-bottom: var(--edge);
  border-radius: 0 26px 0 26px;
}
.hero__pencil {
  position: absolute;
  top: 8%; left: 8%;
  width: 42%;
  max-width: 240px;
  transform: rotate(-14deg);
  filter: drop-shadow(10px 14px 0 rgba(14,14,14,0.28));
  animation: bob 5.4s ease-in-out infinite;
}
.slot {
  position: relative;
  margin: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  background: var(--ink);
  color: var(--cream);
  padding: 7px 11px;
  border-radius: 6px;
}

/* ---------- marquees ---------- */
.band { overflow: hidden; white-space: nowrap; border-top: var(--edge); border-bottom: var(--edge); }
.band--ink { background: var(--ink); padding: 16px 0; }
.band--cream { background: var(--cream); padding: 24px 0; }
.band__label { padding: 0 var(--pad-x) 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.55; }
.marquee { display: inline-flex; align-items: center; gap: 36px; animation: marquee 26s linear infinite; will-change: transform; }
.marquee--rev { gap: 18px; animation: marquee-rev 34s linear infinite; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 42px);
  letter-spacing: -0.01em;
  color: var(--cream);
  text-transform: uppercase;
}
.marquee__pip { width: 14px; height: 14px; border-radius: 999px; background: var(--yellow); display: inline-block; }
.client {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-width: 176px;
  border: var(--edge);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  background-image: repeating-linear-gradient(45deg, rgba(14,14,14,0.07) 0 8px, transparent 8px 16px);
}

/* ---------- services ---------- */
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 40px;
}
.grid { display: grid; gap: 18px; }
.grid--services { grid-template-columns: repeat(auto-fit, minmax(min(100%, 288px), 1fr)); }
.grid--work { grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr)); }
.grid--sectors { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; }
.grid--process { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.grid--quotes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--shots { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }

.card {
  border: var(--edge);
  border-radius: 20px;
  padding: 26px 24px 28px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 250px;
  transition: transform 180ms cubic-bezier(.34,1.56,.64,1), background 180ms ease, box-shadow 180ms ease;
}
.card:hover { transform: translate(-4px, -6px) rotate(-1deg); box-shadow: 12px 12px 0 var(--ink); }
.card--wide { grid-column: span 2; padding: 30px 28px 32px; min-height: 270px; background: var(--yellow); }
.card__top { display: flex; align-items: center; justify-content: space-between; }
.card__num { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; opacity: 0.25; }
.card__pip { width: 16px; height: 16px; border-radius: 999px; border: var(--edge); }
.card__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 0.98; letter-spacing: -0.02em; }
.card--wide .card__title { font-size: clamp(30px, 3.4vw, 46px); }
.card__body { margin: 0; font-size: 15px; line-height: 1.5; max-width: 42ch; text-wrap: pretty; }
.card--wide .card__body { font-size: 16px; }
.tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 7px; padding-top: 10px; }
.tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 5px 10px;
}

/* ---------- work ---------- */
.work { background: var(--pink); color: var(--cream); border-top: var(--edge); border-bottom: var(--edge); }
.work .h2, .work .lede { color: var(--cream); }
.work__card {
  text-align: left;
  cursor: pointer;
  padding: 0;
  border: var(--edge);
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  transition: transform 200ms cubic-bezier(.34,1.56,.64,1), box-shadow 200ms ease;
}
.work__card:hover { transform: translate(-4px, -6px) rotate(0.7deg); box-shadow: 12px 12px 0 var(--ink); }
.work__thumb {
  height: 172px;
  background-image: repeating-linear-gradient(45deg, rgba(14,14,14,0.14) 0 10px, transparent 10px 20px);
  border-bottom: var(--edge);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 12px;
}
.work__slot { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; background: var(--ink); color: var(--cream); padding: 5px 9px; border-radius: 6px; }
.work__count {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--cream); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 9px;
}
.work__meta { padding: 15px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.work__sector { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.work__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1.05; letter-spacing: -0.02em; }
.work__scope { font-size: 13px; line-height: 1.45; }
.work__more {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  margin-top: 34px; border-top: var(--edge); padding-top: 28px;
}
.work__more p { margin: 0; font-size: 16px; max-width: 420px; line-height: 1.45; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(14,14,14,0.86);
  padding: clamp(12px, 3vw, 40px);
  overflow: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  animation: fade 180ms ease both;
}
.lightbox[hidden] { display: none; }
.lightbox__panel {
  width: min(1040px, 100%);
  background: var(--cream);
  border: var(--edge);
  border-radius: 22px;
  padding: clamp(18px, 3vw, 34px);
  animation: pop 260ms cubic-bezier(.34,1.4,.64,1) both;
}
.lightbox__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: var(--edge); padding-bottom: 16px; }
.lightbox__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 4vw, 46px); line-height: 0.96; letter-spacing: -0.02em; }
.lightbox__close {
  flex: none; cursor: pointer;
  background: var(--yellow); border: var(--edge); border-radius: 999px;
  width: 46px; height: 46px; font-size: 20px; font-weight: 700; font-family: var(--body);
}
.lightbox__close:hover { background: var(--pink); color: var(--cream); }
.lightbox__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 22px; }
.lightbox__hint { font-size: 13px; opacity: 0.65; }
.shot {
  border: var(--edge);
  border-radius: 14px;
  height: 210px;
  background-image: repeating-linear-gradient(45deg, rgba(14,14,14,0.13) 0 10px, transparent 10px 20px);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.shot span { font-family: var(--mono); font-size: 11px; background: var(--ink); color: var(--cream); padding: 6px 10px; border-radius: 6px; }

/* ---------- sectors ---------- */
.sectors { background: var(--yellow); border-bottom: var(--edge); padding: clamp(44px, 6vw, 92px) var(--pad-x); overflow: hidden; }
.sectors .h2 { max-width: 900px; }
.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--cream);
  border: var(--edge);
  border-radius: 999px;
  padding: 16px 18px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(16px, 1.8vw, 26px);
  letter-spacing: -0.01em;
  transition: background 160ms ease, transform 160ms ease, color 160ms ease;
}
.pill:hover { background: var(--pink); color: var(--cream); transform: translateY(-4px); }

/* ---------- about ---------- */
.about { background: var(--ink); color: var(--cream); border-bottom: var(--edge); }
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
}
.about .h2 { color: var(--cream); }
.about .eyebrow { color: var(--yellow); }
.about p { margin: 0; font-size: 16px; line-height: 1.55; max-width: 520px; color: rgba(255,248,236,0.82); text-wrap: pretty; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 6px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__n { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--pink); }
.stat__label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,248,236,0.6); }
.about__art {
  border: 3px solid var(--cream);
  border-radius: 20px;
  height: clamp(280px, 38vw, 440px);
  background-color: #1A1A1A;
  background-image: repeating-linear-gradient(-45deg, rgba(255,248,236,0.09) 0 12px, transparent 12px 24px);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.about__art span { font-family: var(--mono); font-size: 12px; background: var(--yellow); color: var(--ink); padding: 7px 11px; border-radius: 6px; }

/* ---------- process ---------- */
.step { border-top: 4px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.step__n { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 0.9; -webkit-text-stroke: 2px var(--ink); }
.step h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 15px; line-height: 1.5; text-wrap: pretty; }

/* ---------- testimonials ---------- */
.quotes { background: var(--lime); border-bottom: var(--edge); padding: clamp(48px, 7vw, 100px) var(--pad-x); }
.quote {
  margin: 0;
  background: var(--cream);
  border: var(--edge);
  border-radius: 18px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 180ms cubic-bezier(.34,1.56,.64,1), box-shadow 180ms ease;
}
.quote:hover { transform: rotate(-1.4deg) translateY(-5px); box-shadow: 10px 10px 0 var(--ink); }
.quote__mark { font-family: var(--serif); font-size: 54px; line-height: 0.5; color: var(--pink); }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.45; text-wrap: pretty; }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.quote figcaption b { font-weight: 700; }
.quote figcaption span { opacity: 0.6; }

/* ---------- contact ---------- */
.contact { background: var(--yellow); position: relative; overflow: hidden; }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(26px, 5vw, 60px);
}
.contact__copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.contact__copy p { margin: 0; font-size: 16px; line-height: 1.5; max-width: 440px; }
.contact__btn { align-self: flex-start; }
.contact__details { display: flex; flex-direction: column; gap: 6px; font-size: 15px; padding-top: 4px; }
.contact__details a { border-bottom: 2px solid var(--ink); align-self: flex-start; }
.contact__details span { opacity: 0.75; }

.form {
  background: var(--cream);
  border: var(--edge);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 10px 10px 0 var(--ink);
  min-width: 0;
}
.form label { display: flex; flex-direction: column; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.form input, .form textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 16px;
  padding: 13px 14px;
  border: var(--edge);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { box-shadow: 0 0 0 4px var(--yellow); }
.form button {
  margin-top: 4px;
  background: var(--pink);
  color: var(--cream);
  border: var(--edge);
  border-radius: 999px;
  padding: 16px 26px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 140ms ease;
}
.form button:hover { transform: translateY(-3px); }
.form__note { font-size: 12px; line-height: 1.45; opacity: 0.7; text-align: center; }

.quiz {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--yellow);
  border: var(--edge);
  border-radius: 14px;
  padding: 12px 14px;
}
.quiz__q { font-size: 14px; line-height: 1.35; }
.quiz__q b { font-family: var(--display); font-weight: 800; font-size: 17px; }
.form .quiz__a {
  width: 76px;
  flex: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  text-align: center;
  padding: 9px 8px;
  border: var(--edge);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  outline: none;
}
.form .quiz__a:focus { box-shadow: 0 0 0 4px var(--pink); }
.quiz.is-bad { animation: shake 320ms ease; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: clamp(36px, 6vw, 76px) var(--pad-x) 30px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: flex-end; }
.footer__mark { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.footer__word { font-family: var(--display); font-weight: 800; font-size: clamp(42px, 9vw, 124px); line-height: 0.86; letter-spacing: -0.04em; }
.footer__sub { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,248,236,0.55); }
.footer__links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer__links a { color: rgba(255,248,236,0.75); }
.footer__links a:hover { color: var(--yellow); }
.footer__links a.is-accent { color: var(--yellow); }
.footer__links a.is-accent:hover { color: var(--pink); }
.footer__legal { margin-top: 30px; padding-top: 16px; border-top: 1px solid rgba(255,248,236,0.2); font-size: 12px; color: rgba(255,248,236,0.45); }

/* ---------- scroll reveal ---------- */
[data-reveal] { opacity: 0; transition: opacity 620ms cubic-bezier(.22,1,.36,1), transform 720ms cubic-bezier(.22,1,.36,1); }
[data-reveal="up"] { transform: translateY(44px); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes wobble { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-8px); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-14deg); } 50% { transform: translateY(-14px) rotate(-14deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1) rotate(-4deg); } 50% { transform: scale(1.06) rotate(-1deg); } }
@keyframes blink { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0.15; } }
@keyframes pop { from { opacity: 0; transform: scale(0.94) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- mobile ---------- */
@media (max-width: 699px) {
  .card--wide { grid-column: span 1; padding: 26px 24px 28px; min-height: 250px; }
  .card--wide .card__title { font-size: 30px; }
  .card--wide .card__body { font-size: 15px; }
  .stat__n { font-size: 34px; }
  .footer__top { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
