/* ============================================================
   Dmitry Shishov — personal portfolio
   Tokens and idioms ported from the AR landing design system,
   flipped to a light canvas: pure white, depth by value (never
   shadow), one blue accent, Lora 400 for the voice, Source
   Sans 3 for the reading.
   ============================================================ */

/* ---------- fonts ---------- */

@font-face {
  font-family: "Lora";
  src: url("../fonts/Lora-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */

:root {
  /* foundation */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f4;
  --bg-deep: #fafafa;
  --bg-surface: #ececea;
  --bg-overlay: #ececea80;

  /* accent — scarce by design; a deep blue that holds well over
     4.5:1 as text on white */
  --accent: #1e40af;
  --accent-20: #1e40af33;
  --accent-30: #1e40af4d;
  --accent-50: #1e40af80;
  --accent-70: #1e40afb3;

  /* text */
  --text-primary: #181818;
  --text-secondary: #181818b2;
  --text-tertiary: #18181880;
  --text-disabled: #1818184d;
  --text-inverse: #ffffff;

  /* lines */
  --border-default: #e6e6e3;
  --border-focus: #1e40af;

  /* type scale */
  --fs-hero: clamp(44px, 8vw, 92px);
  --fs-big: clamp(30px, 4.2vw, 48px);
  --fs-display: 36px;
  --fs-xxl: 28px;
  --fs-xl: 20px;
  --fs-heading: 18px;
  --fs-lg: 16px;
  --fs-md: 14px;
  --fs-sm: 12px;
  --fs-xs: 11px;
  --lh-tight: 1.2;
  --lh-normal: 1.4;
  --lh-loose: 1.6;

  /* spacing — 4pt scale */
  --space-xs: 4px;
  --space-sm: 6px;
  --space-md: 8px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-xxl: 32px;
  --space-xxxl: 48px;

  /* radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-display: "Lora", Georgia, serif;
  --font-body: "Source Sans 3", -apple-system, "Segoe UI", sans-serif;

  --header-h: 76px;
}

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

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-lg);
  line-height: var(--lh-loose);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .eyebrow { font-family: var(--font-display); }

/* one face, one weight — emphasis is size, color, and spacing */
b, strong, h1, h2, h3, h4, h5, h6 { font-weight: 400; }
em, i { font-style: normal; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h1 { font-size: var(--fs-hero); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-xxl); line-height: var(--lh-tight); }
h3 { font-size: var(--fs-xl); line-height: var(--lh-tight); }

.eyebrow {
  display: block;
  color: var(--text-tertiary);
  font-size: var(--fs-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.lead {
  color: var(--text-secondary);
  font-size: var(--fs-lg);
  line-height: var(--lh-loose);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  line-height: var(--lh-tight);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease, filter 0.15s ease, transform 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent); color: var(--text-inverse); }
.btn--primary:hover { filter: brightness(1.12); }

.btn--secondary {
  background: transparent;
  border-color: var(--accent-50);
  color: var(--accent);
}
.btn--secondary:hover { border-color: var(--accent); filter: brightness(1.4); }

.btn--small { font-size: var(--fs-md); }

/* square icon-only button — equal padding keeps it the same height
   as a text button beside it */
.btn--icon { padding: var(--space-md); }
.btn--icon svg { display: block; width: 16px; height: 16px; }

/* ============================================================
   Header — hidden over the hero, slides in once past it
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  /* same value as the page canvas */
  background: var(--bg-primary);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}
.site-header--visible { transform: translateY(0); visibility: visible; }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  height: var(--header-h);
}

.site-header .logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-heading);
  color: var(--text-primary);
  white-space: nowrap;
  transform-origin: left center;
  transition: transform 0.2s ease;
}
.site-header .logo:hover { text-decoration: none; transform: scale(1.06); }

.site-nav { display: flex; align-items: center; gap: var(--space-xs); margin-left: auto; }

.header-cta { display: flex; align-items: center; gap: var(--space-md); }

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: var(--fs-md);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(24, 24, 24, 0.06);
  text-decoration: none;
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-header .container { height: 60px; }
}

/* ============================================================
   Hero — a pinned portrait that opens framed tight on the face
   and crossed arms (no text), then zooms out to the full figure
   as the visitor scrolls; the intro card fades in over it once
   the zoom settles. The photo sits on pure white, so it melts
   into the page canvas with no visible frame line.
   ============================================================ */

.hero { height: 300vh; position: relative; background: var(--bg-primary); }

.hero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

/* the zoom is a JS-driven translate+scale; contain keeps the whole
   figure addressable at scale 1 on any viewport */
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none; /* the JS sizes it past the viewport for sharp rasters */
  object-fit: contain;
  transform-origin: 50% 50%;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero__img--ready { opacity: 1; }

/* frosted card — heavier frost than the content cards: near-opaque
   fill + strong blur so the portrait behind is practically invisible */
.hero__card {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7svh;
  margin: 0 auto;
  width: min(680px, calc(100% - 40px));
  padding: var(--space-xxl);
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.82) 55%,
    rgba(255, 255, 255, 0.88)
  );
  -webkit-backdrop-filter: blur(48px) saturate(1.35);
  backdrop-filter: blur(48px) saturate(1.35);
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-top-color: rgba(255, 255, 255, 0.9);
  will-change: opacity, transform;
}

.hero__card h1 {
  font-size: clamp(34px, 4.8vw, 56px);
  letter-spacing: 0.01em;
}
/* one-line subtitle at any width: capped at --fs-heading (18px — at
   0.22em tracking the line measures ~29.1em ≈ 524px, inside the 616px
   card content width), and below ~550px the fluid middle term takes
   over, sized against the mobile card math further down */
.hero__sub {
  margin-top: var(--space-md);
  color: var(--text-tertiary);
  font-size: clamp(8px, calc((100vw - 92px) / 25.5), var(--fs-heading));
  letter-spacing: 0.22em;
  white-space: nowrap;
}
.hero__desc {
  margin: var(--space-lg) auto 0;
  max-width: 54ch;
  color: var(--text-secondary);
  line-height: var(--lh-loose);
}

/* scroll cue — tucked into the bottom-right of the opening frame,
   over the white ground beside the figure; it fades up once the
   portrait has settled, and JS fades it back out the moment
   scrolling starts */
.hero-cue {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--space-xxl);
  color: var(--text-tertiary);
  font-size: var(--fs-md);
  text-align: right;
  pointer-events: none;
  opacity: 0;
  animation: cue-fade-up 0.9s ease 1400ms forwards;
}

/* the scroll fade-out lives on the inner box, so it never fights
   the entrance animation that owns the outer opacity */
.hero-cue__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-md);
  white-space: nowrap;
}

/* a thin scroll line under the text — a light segment sweeps across */
.cue-line {
  display: block;
  position: relative;
  width: 140px;
  height: 1px;
  overflow: hidden;
  background: var(--text-disabled);
}

.cue-line__sweep {
  position: absolute;
  inset: 0 auto 0 0;
  width: 36%;
  background: var(--text-secondary);
  transform: translateX(-110%);
  animation: cue-sweep 2.4s cubic-bezier(0.4, 0, 0.2, 1) 1400ms infinite;
}

/* phones open on nearly the full figure, whose trouser leg reaches
   within ~100px of the right edge — shrink the cue and wrap it into
   short lines that stay on the white ground beside the figure */
@media (max-width: 520px) {
  .hero-cue { font-size: var(--fs-sm); }
  .hero-cue__inner { white-space: normal; max-width: 80px; }
  .cue-line { width: 72px; }
}

@keyframes cue-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cue-sweep {
  0% { transform: translateX(-110%); }
  65%, 100% { transform: translateX(400%); }
}

@media (max-width: 880px) {
  .hero { height: 260vh; }
  .hero__card { bottom: 5svh; padding: var(--space-xl); }
  .hero-cue { right: 20px; }
  /* one-line subtitle: tighter tracking so the fluid size in the base
     rule fits — the line measures ~24.8em in Source Sans 3 at 0.12em
     tracking, and the card offers 100vw - 88px of content width (20px
     gutters + 24px padding each side), so the base rule's divisor of
     25.5 keeps it inside with ~3% slack on any phone */
  .hero__sub { letter-spacing: 0.12em; }
}

/* ============================================================
   Sections
   ============================================================ */

.section { padding: var(--space-xxxl) 0; }
@media (min-width: 768px) {
  .section { padding: calc(var(--space-xxxl) * 2) 0; }
}

/* one flat wash behind every content block; the canvas stays pure
   white above it (header) and below it (footer), and the white-alpha
   cards read as raised planes against it */
.page-glow {
  background: #f4f4f2;
}

/* ---------- liquid glass — the one card surface ---------- */

.stat-card,
.pillar-card,
.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.45) 55%,
    rgba(255, 255, 255, 0.65)
  );
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-top-color: rgba(255, 255, 255, 0.9);
  transition: transform 0.25s ease, background-color 0.25s ease;
}
/* hover is a quiet lift and a touch more light — nothing else */
.stat-card:hover,
.pillar-card:hover,
.work-card:hover {
  transform: translateY(-4px);
  background-color: rgba(255, 255, 255, 0.55);
}

.section-head { max-width: 720px; margin-bottom: var(--space-xxl); }
.section-head h2 { font-size: var(--fs-big); margin-bottom: var(--space-lg); }

/* ---------- stats — counting up on scroll ---------- */

/* six cards — 280px min keeps them 3×2 on desktop, 2×3 on tablet */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.stat-card { padding: var(--space-xl) var(--space-lg); }

.stat-card b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 56px);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-md);
  /* fixed-height line so the count-up never reflows the card */
  font-variant-numeric: tabular-nums;
}
.stat-card span {
  color: var(--text-tertiary);
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: var(--lh-normal);
  display: block;
}

/* ---------- three pillars ---------- */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 880px) {
  .pillar-grid { grid-template-columns: 1fr; }
}

.pillar-card { padding: var(--space-xl); }

/* icon instead of an index number; same gap to the title as the
   work cards keep between their number and title */
.pillar-card i {
  display: block;
  color: var(--text-disabled);
  margin-bottom: var(--space-xxl);
  transition: color 0.25s ease;
}
.pillar-card i svg { display: block; width: 26px; height: 26px; }
.pillar-card:hover i { color: var(--accent); }
.pillar-card h3 { margin-bottom: var(--space-md); }

.pillar-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  color: var(--text-secondary);
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
}
.pillar-card__list li {
  position: relative;
  padding-left: var(--space-lg);
}
.pillar-card__list li::before {
  content: "\2022"; /* bullet dot */
  position: absolute;
  left: 2px;
  color: var(--text-disabled);
}

/* ---------- toolbox — icons only, monochrome like the rest ---------- */

/* an editorial index: numbered serif labels down the left rail,
   hairline rules between rows — reads like a table of contents */
.tools-groups { display: flex; flex-direction: column; }

.tools-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-default);
}
.tools-group:last-child { border-bottom: 1px solid var(--border-default); }

.tools-group__title {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: var(--fs-xl);
  line-height: var(--lh-tight);
}
.tools-group__title i {
  font-size: var(--fs-md);
  letter-spacing: 0.16em;
  color: var(--text-disabled);
}

.tools-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: var(--space-md);
}

/* tiles rest quiet; hovering one materializes a raised glass plane,
   the same move the site's cards make */
.tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  color: var(--text-tertiary);
  text-align: center;
  cursor: default;
  transition: color 0.25s ease, background-color 0.25s ease,
    border-color 0.25s ease, transform 0.25s ease;
}
.tool svg { width: 40px; height: 40px; }
.tool__name {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--text-secondary);
}
.tool:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(24, 24, 24, 0.08);
  color: var(--accent);
}

@media (max-width: 880px) {
  .tools-group { gap: var(--space-lg); }
  .tools-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
  .tool svg { width: 34px; height: 34px; }
}

/* ============================================================
   Work
   ============================================================ */

/* single-column list — every product reads full width, top to bottom */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.work-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-xl);
  color: var(--text-primary);
  text-decoration: none;
}
.work-card:hover { text-decoration: none; }

.work-card i {
  display: block;
  font-family: var(--font-display);
  color: var(--text-disabled);
  font-size: var(--fs-md);
  letter-spacing: 0.16em;
  margin-bottom: var(--space-xxl);
  transition: color 0.25s ease;
}
.work-card:hover i { color: var(--accent); }
.work-card h3 { margin-bottom: var(--space-md); }
.work-card p {
  color: var(--text-secondary);
  font-size: var(--fs-md);
  line-height: var(--lh-loose);
  margin-bottom: var(--space-xl);
}
.work-card__link {
  margin-top: auto;
  color: var(--text-tertiary);
  font-size: var(--fs-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}
.work-card:hover .work-card__link { color: var(--accent); }
.work-card__arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-card:hover .work-card__arrow { transform: translateX(4px); }

/* a card with several destinations — links sit side by side and
   light up individually instead of following the card hover */
.work-card__links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-xl);
}
.work-card__links .work-card__link { margin-top: 0; }
a.work-card__link { color: var(--text-tertiary); }
a.work-card__link:hover {
  color: var(--accent);
  text-decoration: none;
}
.work-card:hover .work-card__links .work-card__link { color: var(--text-tertiary); }
.work-card:hover .work-card__links .work-card__link:hover { color: var(--accent); }
.work-card:hover .work-card__links .work-card__arrow { transform: none; }
a.work-card__link:hover .work-card__arrow { transform: translateX(4px); }

/* ---------- finale — contact details left, inquiry form right ---------- */

.finale__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-xxxl);
  align-items: start;
}
@media (max-width: 880px) {
  .finale__grid { grid-template-columns: 1fr; }
}

.finale__title { font-size: var(--fs-big); margin-bottom: var(--space-lg); }

.finale__contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-top: var(--space-xxl);
}
.finale__mail { font-size: var(--fs-xl); }
.finale__address { color: var(--text-secondary); }

/* the form shares the liquid-glass card surface */
.finale__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.45) 55%,
    rgba(255, 255, 255, 0.65)
  );
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-top-color: rgba(255, 255, 255, 0.9);
}

.form-field { display: flex; flex-direction: column; gap: var(--space-sm); }
.form-label {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.finale__form input[type="text"],
.finale__form input[type="email"],
.finale__form textarea {
  font: inherit;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  transition: border-color 0.15s ease;
}
.finale__form input[type="text"]:focus,
.finale__form input[type="email"]:focus,
.finale__form textarea:focus {
  outline: none;
  border-color: var(--border-focus);
}
.finale__form textarea { resize: vertical; min-height: 110px; }
.finale__form ::placeholder { color: var(--text-disabled); }

.form-services { border: 0; }
.form-services legend { margin-bottom: var(--space-sm); }

/* service checkboxes — a plain horizontal row */
.service-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-xl);
}
.service-option {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--text-secondary);
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
  cursor: pointer;
  transition: color 0.15s ease;
}
.service-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}
.service-option:hover { color: var(--text-primary); }
.service-option:has(input:checked) { color: var(--text-primary); }

.finale__form .btn { align-self: flex-start; }
.finale__form .btn:disabled { opacity: 0.6; cursor: default; }

.finale__form-status {
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
  color: var(--text-secondary);
}
.finale__form-status:empty { display: none; }
.finale__form-status.is-success { color: var(--accent); }
.finale__form-status.is-error { color: #b91c1c; }

/* ---------- scroll reveal (class added by JS) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal--in { opacity: 1; transform: none; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--bg-primary);
  padding: 44px 0 40px;
  color: var(--text-tertiary);
  font-size: 13.5px;
  line-height: 1.7;
}

.foot-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.foot-name { font-family: var(--font-display); color: var(--text-primary); font-size: var(--fs-heading); }
.foot-role { color: var(--text-tertiary); font-size: var(--fs-sm); letter-spacing: 0.02em; }

/* contact links as icon buttons, pinned to the right edge —
   same rounded-square shape as the header's icon button */
.foot-links {
  display: flex;
  gap: var(--space-md);
  margin-left: auto;
}
.foot-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 24, 24, 0.12);
  color: var(--text-secondary);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.foot-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.foot-links a svg { width: 16px; height: 16px; }

/* ============================================================
   Reduced motion: switch it all off
   ============================================================ */

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

  .reveal { opacity: 1; transform: none; }

  /* no pin, no zoom — the full portrait and the card, at rest */
  .hero { height: auto; }
  .hero__sticky { position: relative; height: 100svh; }
  .hero__img { opacity: 1; transition: none; }
  /* no scroll choreography to hint at, and the card already rests
     where the cue would sit */
  .hero-cue { display: none; }

  .stat-card:hover, .pillar-card:hover, .work-card:hover, .btn:hover,
  .site-header .logo:hover { transform: none; }
}
