/* ============================================================
   Nikita Kapitonov — resume site
   Aesthetic: refined control-systems / telemetry, with a
   thermal (HVAC heat <-> cool) signature gradient.
   ============================================================ */

:root {
  /* palette */
  --bg:        #0a0b0e;
  --bg-2:      #0e0f13;
  --surface:   #121419;
  --surface-2: #171a20;
  --line:      rgba(255, 255, 255, 0.09);
  --line-2:    rgba(255, 255, 255, 0.05);

  --text:      #e9eaee;
  --dim:       #a4a7b1;
  --faint:     #6b6e79;

  --heat:      #ff6a3d;   /* warm accent — attention, energy */
  --heat-soft: #ff8a5c;
  --cool:      #4dd6e6;   /* cool accent — the other end of the thermal scale */
  --ok:        #5fd07a;

  /* type */
  --display: 'Archivo', 'Arial Narrow', sans-serif;
  --sans:    'IBM Plex Sans', system-ui, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, monospace;

  /* metrics */
  --maxw: 1180px;
  --gut: clamp(20px, 5vw, 72px);
  --radius: 14px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  font-size: clamp(15px, 1.05vw, 17px);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  background-image:
    radial-gradient(120% 80% at 12% -10%, rgba(255, 106, 61, 0.10), transparent 55%),
    radial-gradient(110% 90% at 100% 0%, rgba(77, 214, 230, 0.07), transparent 50%),
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px;
  background-attachment: fixed, fixed, fixed, fixed;
}

.mono { font-family: var(--mono); font-feature-settings: "ss01"; }

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

::selection { background: var(--heat); color: #14060a; }

/* slim scrollbar */
* { scrollbar-width: thin; scrollbar-color: #2a2d35 transparent; }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-thumb { background: #23262e; border-radius: 9px; }

/* ---------- grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--heat);
  color: #14060a;
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 13px;
}
.skip-link:focus { left: 12px; }

/* ---------- shared atoms ---------- */
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(95, 208, 122, 0.5);
  animation: pulse 2.4s infinite;
}
.dot--sm { width: 6px; height: 6px; margin-right: 6px; vertical-align: middle; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(95, 208, 122, 0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(95, 208, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 208, 122, 0); }
}

.thermal-bar {
  height: 3px;
  width: clamp(120px, 30%, 240px);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cool), #8fd17a 45%, var(--heat-soft) 72%, var(--heat));
  box-shadow: 0 0 24px rgba(255, 106, 61, 0.25);
}
.thermal-bar--thin { height: 6px; width: 100%; flex: 1; box-shadow: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gut);
  background: rgba(10, 11, 14, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 11px; }
.nav__monogram {
  font-family: var(--display);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.02em;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--heat);
}
.nav__brandtext {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.nav__brandext { color: var(--faint); }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--dim);
  padding: 7px 11px;
  border-radius: 7px;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--text); background: var(--surface); }
.nav__status { display: flex; align-items: center; gap: 9px; }
.nav__clock {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

/* ---------- layout / sections ---------- */
main { position: relative; z-index: 2; }
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 11vh, 130px) var(--gut);
  border-top: 1px solid var(--line-2);
}
.section__label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--faint);
  margin-bottom: 30px;
}
.section__num { color: var(--heat); font-weight: 600; }
.section__label .line { flex: 0 0 56px; height: 1px; background: var(--line); }
.section__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 16ch;
  margin-bottom: 8px;
}
.section__title--big { max-width: 20ch; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 7vh, 86px) var(--gut) clamp(40px, 7vh, 76px);
}
.hero__telemetry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--faint);
  margin-bottom: clamp(28px, 6vh, 64px);
}
.hero__telemetry .sep { color: #2f323b; }
.hero__live { color: var(--ok); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
.hero__kicker {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--heat);
  margin-bottom: 22px;
}
.hero__name {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(52px, 12vw, 150px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  display: flex;
  flex-direction: column;
  text-transform: none;
}
.hero__name--accent {
  background: linear-gradient(92deg, var(--heat), var(--heat-soft) 55%, var(--cool));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__thread {
  margin-top: 26px;
  font-size: clamp(11px, 1.4vw, 13.5px);
  letter-spacing: 0.16em;
  color: var(--dim);
}
.hero__thread .arrow { color: var(--heat); margin: 0 2px; }
.hero .thermal-bar { margin: 24px 0; }
.hero__summary {
  max-width: 54ch;
  color: #cfd1d8;
  font-size: clamp(15.5px, 1.25vw, 18px);
  line-height: 1.62;
}
.hero__summary strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.btn {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 13px 20px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface);
  transition: transform .18s ease, border-color .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: #34373f; background: var(--surface-2); }
.btn--primary {
  background: var(--heat);
  border-color: var(--heat);
  color: #190802;
  font-weight: 600;
}
.btn--primary:hover { background: var(--heat-soft); border-color: var(--heat-soft); box-shadow: 0 10px 30px -10px rgba(255, 106, 61, 0.6); }

/* operator panel */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: 18px;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9);
}
.panel__photo {
  position: relative;
  margin: -18px -18px 16px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #0e0f13;
}
.panel__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: grayscale(0.45) contrast(1.04) brightness(0.94);
  transition: filter .55s ease, transform .55s ease;
}
.panel:hover .panel__photo img { filter: none; transform: scale(1.02); }
.panel__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.08) 0%, transparent 28%, transparent 60%, rgba(18, 20, 25, 0.78) 100%);
}
.panel__photo figcaption {
  position: absolute;
  left: 13px;
  bottom: 13px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text);
}
.panel__photo-line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, var(--cool), #8fd17a 45%, var(--heat-soft) 72%, var(--heat));
}

.panel__head {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--faint);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.panel__id { color: var(--heat); }
.panel__rows { display: grid; gap: 11px; font-size: 13px; }
.panel__rows > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.panel__rows dt { color: var(--faint); letter-spacing: 0.08em; font-size: 11px; }
.panel__rows dd { color: var(--text); text-align: right; }
.panel__rows dd.ok { color: var(--ok); }
.panel__rows #panelClock { font-variant-numeric: tabular-nums; color: var(--cool); }
.panel__thermal {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--faint);
}

/* hero stats */
.hero__stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(40px, 8vh, 80px);
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero__stats li {
  background: var(--bg);
  padding: 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero__stats b {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  color: var(--text);
}
.hero__stats span { font-size: 12.5px; color: var(--dim); letter-spacing: 0.01em; line-height: 1.4; }

/* ---------- summary ---------- */
.summary { max-width: 60ch; }
.summary .section__title { max-width: 18ch; margin-bottom: 26px; }
.summary p { color: #c8cad2; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.66; }
.summary p + p { margin-top: 18px; }
.summary em { color: var(--heat); font-style: normal; }

/* ---------- timeline ---------- */
.timeline { list-style: none; margin-top: 46px; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--heat), var(--line) 18%, var(--line));
}
.entry { position: relative; padding: 0 0 44px 40px; }
.entry:last-child { padding-bottom: 0; }
.entry__marker {
  position: absolute;
  left: 0; top: 6px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid #3a3d46;
}
.entry--current .entry__marker {
  border-color: var(--heat);
  background: var(--heat);
  box-shadow: 0 0 0 5px rgba(255, 106, 61, 0.14);
}
.entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--faint);
  margin-bottom: 12px;
}
.entry__date { color: var(--dim); }
.entry__dur::before, .entry__loc::before { content: "/ "; color: #34373f; }
.entry__badge {
  color: var(--heat);
  border: 1px solid rgba(255, 106, 61, 0.4);
  border-radius: 5px;
  padding: 1px 7px;
  font-size: 10px;
  letter-spacing: 0.14em;
}
.entry__org {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 27px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.entry__role { color: var(--heat-soft); font-weight: 500; margin-top: 3px; font-size: 15.5px; }
.entry__lede { color: var(--dim); margin-top: 12px; font-size: 14.5px; }
.entry__points { list-style: none; margin-top: 14px; display: grid; gap: 9px; }
.entry__points li {
  position: relative;
  padding-left: 20px;
  color: #c4c7cf;
  font-size: 15px;
  line-height: 1.5;
}
.entry__points li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.62em;
  width: 6px; height: 1px;
  background: var(--faint);
}
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--dim);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 7px;
  margin-left: 5px;
  vertical-align: 1px;
  white-space: nowrap;
}

/* ---------- projects ---------- */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.project {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
  transition: border-color .25s, transform .25s, background .25s;
}
.project:hover { border-color: #34373f; transform: translateY(-3px); background: var(--surface-2); }
.project__top {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--faint);
}
.project__idx { color: var(--heat); }
.project__kind { border: 1px solid var(--line); border-radius: 5px; padding: 1px 7px; }
.project__date { margin-left: auto; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.project__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(20px, 2.3vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: color .2s;
}
.project:hover .project__name { color: var(--heat-soft); }
.project__desc { color: #c4c7cf; font-size: 14.5px; line-height: 1.55; flex: 1; }
.project__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--dim);
  margin-top: 4px;
  transition: color .2s;
  word-break: break-all;
}
.project:hover .project__link { color: var(--heat); }
.project__link .arrow { transition: transform .2s; }
.project:hover .project__link .arrow { transform: translateX(3px); }

/* ---------- skills / modules ---------- */
.topskills {
  margin-top: 44px;
  border: 1px solid rgba(255, 106, 61, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 106, 61, 0.12), var(--surface) 60%);
  padding: 24px;
}
.topskills .module__title { color: var(--heat); }
.topskills__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.topskills__list li {
  display: flex;
  align-items: baseline;
  gap: 13px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(19px, 2.5vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.topskills__num { font-weight: 500; font-size: 12px; color: var(--heat); flex: 0 0 auto; }

.modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.module {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  transition: border-color .25s, transform .25s, background .25s;
}
.module:hover { border-color: #34373f; transform: translateY(-3px); background: var(--surface-2); }
.module--accent { background: linear-gradient(160deg, rgba(255, 106, 61, 0.10), var(--surface) 55%); }
.module--accent:hover { border-color: rgba(255, 106, 61, 0.45); }
.module__title {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--faint);
  margin-bottom: 16px;
}
.module--accent .module__title { color: var(--heat); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; }
.chips li {
  font-size: 13.5px;
  color: #d3d5dc;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
}
.module--accent .chips li { border-color: rgba(255, 106, 61, 0.22); }

/* languages */
.langs {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}
.langs__list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 16px; }
.langs__row { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 10px; }
.langs__row span:first-child { color: var(--text); }
.langs__row span:last-child { color: var(--faint); }
.gauge { height: 6px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.gauge span {
  display: block;
  height: 100%;
  width: var(--lvl);
  border-radius: 6px;
  background: linear-gradient(90deg, var(--cool), var(--heat));
}

/* ---------- education ---------- */
.edu {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
}
.edu__years { color: var(--heat); font-size: 13px; letter-spacing: 0.06em; padding-top: 4px; }
.edu__school { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2.2vw, 25px); letter-spacing: -0.015em; }
.edu__degree { color: var(--heat-soft); margin-top: 6px; font-weight: 500; }
.edu__note { color: var(--dim); margin-top: 12px; max-width: 60ch; font-size: 14.5px; }

/* courses */
.courses { margin-top: 28px; }
.courses .module__title { margin-bottom: 16px; }
.courses__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.course {
  display: flex;
  gap: 14px;
  align-items: baseline;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 14px 16px;
  transition: border-color .2s, background .2s;
}
.course:hover { border-color: #34373f; background: var(--surface-2); }
.course__year { color: var(--heat); font-size: 12px; flex: 0 0 auto; }
.course__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.course__title { color: #d4d6dd; font-size: 14.5px; line-height: 1.4; }
.course__org { color: var(--faint); font-size: 10.5px; letter-spacing: 0.06em; }

/* ---------- contact ---------- */
.section--contact { border-top: 1px solid var(--line); }
.section--contact .thermal-bar { width: min(100%, 320px); margin: 26px 0 8px; }
.comms { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 30px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.comms li { background: var(--bg); padding: 22px 24px; display: flex; flex-direction: column; gap: 7px; }
.comms__label { font-size: 11px; letter-spacing: 0.16em; color: var(--faint); }
.comms__value { font-size: clamp(15px, 1.6vw, 19px); color: var(--text); width: max-content; max-width: 100%; transition: color .2s; }
a.comms__value { border-bottom: 1px solid transparent; }
a.comms__value:hover { color: var(--heat); border-bottom-color: var(--heat); }

/* ---------- footer ---------- */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px var(--gut) 48px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--faint);
  position: relative;
  z-index: 2;
}
.footer__top { transition: color .2s; }
.footer__top:hover { color: var(--heat); }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

/* staggered hero load */
.hero .reveal { transition-delay: calc(var(--i, 0) * 80ms); }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; align-items: stretch; gap: 34px; }
  .panel { max-width: 460px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .projects__grid { grid-template-columns: 1fr; }
  .topskills__list { grid-template-columns: 1fr; gap: 12px; }
  .courses__list { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr; }
  .langs__list { grid-template-columns: 1fr; gap: 18px; }
  .comms { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .edu { grid-template-columns: 1fr; gap: 14px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .entry__points li { font-size: 14.5px; }
  .footer { justify-content: flex-start; flex-direction: column; }
}
@media (max-width: 380px) {
  .hero__stats { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
