/* ============ Fonts ============ */
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-var.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic-var.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ============ Tokens ============ */
:root {
  --bg: #111418;
  --bg-deep: #0c0e11;
  --glow: #17463d;
  --glow-2: #182236;
  --text: #e8e3d7;
  --text-2: rgba(232, 227, 215, .62);
  --text-3: rgba(232, 227, 215, .38);
  --line: rgba(232, 227, 215, .1);
  --line-2: rgba(232, 227, 215, .18);
  --card: rgba(255, 255, 255, .025);
  --accent: #09c2a7;
  --accent-soft: rgba(9, 194, 167, .12);

  --f-display: "Inter", system-ui, sans-serif;
  --f-body: "Lora", Georgia, serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --wrap: 1064px;
  --wrap-wide: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); color: var(--text); }
p { margin: 0; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 8px 12px; background: var(--accent); color: var(--bg); font-family: var(--f-mono); font-size: 12px; }

/* Atmospheric background: dark base + green/blue glows + grain */
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 80% at 80% 30%, var(--glow) 0%, transparent 72%),
    radial-gradient(50% 60% at 15% 90%, var(--glow-2) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 40%);
}
.bg::after {
  content: ""; position: absolute; inset: -50%;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: .07; mix-blend-mode: overlay;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--wide { width: min(100% - 2 * var(--gutter), var(--wrap-wide)); }

/* ============ Nav ============ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; justify-content: center;
  padding: 20px var(--gutter);
  background: linear-gradient(180deg, rgba(12, 14, 17, .85), rgba(12, 14, 17, 0));
}
.nav nav { display: flex; gap: clamp(18px, 4vw, 52px); }
.nav a {
  font: 400 11px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 255, 255, .7); transition: color .3s;
}
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a.is-active { color: var(--accent); }

/* ============ Shared text ============ */
.eyebrow {
  font: 400 10.5px/1 var(--f-mono); letter-spacing: .28em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 18px;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--dot::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 10px; border-radius: 50%; background: var(--accent); vertical-align: middle; transform: translateY(-1px); }

h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; max-width: 16ch; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; }

.link-mono {
  display: inline-flex; gap: 8px; align-items: center;
  font: 400 10.5px/1 var(--f-mono); letter-spacing: .24em; text-transform: uppercase;
  color: var(--text-3); transition: color .3s, gap .3s var(--ease);
}
.link-mono:hover { color: var(--accent); gap: 12px; }
.link-mono--line { color: var(--text); padding-bottom: 8px; border-bottom: 1px solid var(--line-2); font-size: 12px; }
.link-mono--line:hover { border-color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  font: 400 11px/1 var(--f-mono); letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255, 255, 255, .8); border: 1px solid var(--line-2);
  transition: color .3s, border-color .3s, background .3s;
}
.btn:hover { color: var(--text); border-color: var(--text-2); background: rgba(255,255,255,.03); }
.btn--accent { border-color: var(--accent); color: var(--text); }
.btn--accent:hover { background: var(--accent-soft); border-color: var(--accent); }
.btn--block { width: 100%; }

/* ============ Hero ============ */
.hero {
  min-height: 100svh;
  display: grid; place-content: center; justify-items: center; text-align: center;
  padding: 120px var(--gutter) 140px; position: relative;
}
.hero__mark {
  margin: 0;
  font: 800 clamp(64px, 15vw, 210px)/.82 var(--f-display); letter-spacing: -.055em;
  color: #fff;
  text-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.hero__line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__line > span { display: inline-block; transform: translateY(105%); animation: rise 1.2s var(--ease) forwards; }
.hero__line > span + span { animation-delay: .12s; }
.hero__title {
  margin-top: 32px; max-width: 26ch;
  font-size: clamp(18px, 2vw, 26px); font-weight: 500; line-height: 1.3; letter-spacing: -.025em;
  color: rgba(255, 255, 255, .85);
  opacity: 0; animation: fade 1s .6s var(--ease) forwards;
}
.hero__title span { display: block; font: italic 400 .72em/1.5 var(--f-body); letter-spacing: 0; color: var(--text-2); margin-top: 6px; }

.scroll-cue {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px;
  font: 400 9.5px/1 var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--text-3);
  opacity: 0; animation: fade 1s 1.1s forwards;
}
.scroll-cue svg { animation: bob 2s ease-in-out infinite; }

@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ============ Sections ============ */
.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }
.section--tight { padding: 0; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.section__lead { max-width: 38ch; font-size: 14.5px; color: var(--text-2); text-align: right; }
.section__lead--left { text-align: left; margin-top: 24px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px 20px 22px; min-height: 230px;
  background: var(--card); border: 1px solid var(--line);
  transition: border-color .4s, background .4s, transform .5s var(--ease);
}
.card p { font-size: 13.5px; line-height: 1.55; color: var(--text-2); flex: 1; }
.card:hover { border-color: rgba(9, 194, 167, .35); background: rgba(9, 194, 167, .04); transform: translateY(-3px); }
.card:hover .link-mono { color: var(--accent); }

/* ============ Projects ============ */
.projects { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.projects__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.projects__info { transition: opacity .35s, transform .45s var(--ease); }
.projects__info.is-out { opacity: 0; transform: translateY(10px); }
.projects__title { font-size: clamp(40px, 5vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -.035em; max-width: 12ch; }
.projects__sub { margin-top: 12px; font-style: italic; font-size: 13.5px; color: var(--text-3); }
.projects__dl { margin: 28px 0 0; }
.projects__dl dt { font: 400 9.5px/1 var(--f-mono); letter-spacing: .26em; text-transform: uppercase; color: var(--text-3); margin-top: 22px; }
.projects__dl dd { margin: 10px 0 0; font-size: 15px; color: var(--text-2); max-width: 40ch; }
.projects__stack { margin: 24px 0 44px; font: 400 11px/1.6 var(--f-mono); color: var(--accent); letter-spacing: .06em; }

/* Deck: stacked project cards (front card d=0, the rest fan out behind) */
.projects__stage { padding-right: clamp(0px, 4vw, 56px); }
.deck { position: relative; aspect-ratio: 16 / 10.5; }
.deck__card {
  --d: 0;
  position: absolute; inset: 0; display: block;
  z-index: calc(20 - var(--d));
  transform-origin: 50% 50%;
  transform: translate(calc(var(--d) * var(--dx, 38px)), calc(var(--d) * 12px)) rotate(calc(var(--d) * 1.5deg)) scale(calc(1 - var(--d) * .06));
  opacity: calc(1 - var(--d) * .12);
  transition: transform .9s cubic-bezier(.16, 1, .3, 1), opacity .9s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}
.deck__card.is-back { cursor: pointer; }
.deck__card.is-hidden { opacity: 0; z-index: 0; pointer-events: none; }
.deck__inner {
  position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line-2); background: #0b0d10;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .75);
  clip-path: inset(0%);
  transition: clip-path 1.1s cubic-bezier(.76, 0, .24, 1);
}
/* darkening overlay that deepens with depth */
.deck__inner::after {
  content: ""; position: absolute; inset: 0; background: #000; pointer-events: none;
  opacity: min(1, calc(var(--d) * .22));
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1);
}
.deck__bar { flex: none; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.deck__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.deck__url { margin-left: 12px; font: 400 10.5px/1 var(--f-mono); color: var(--text-3); letter-spacing: .04em; }
.deck__view { position: relative; flex: 1; overflow: hidden; }
.deck__view::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.25), transparent 40%); pointer-events: none; }
.deck__view img { position: absolute; inset: 0 -3%; width: 106%; max-width: none; height: 100%; object-fit: cover; object-position: top;
  transform: translateX(calc(var(--d) * -1.5%)); transform-origin: top;
  transition: transform 1.6s cubic-bezier(.16, 1, .3, 1), scale 1.2s cubic-bezier(.16, 1, .3, 1); }
.deck__card:not(.is-back):hover .deck__view img { scale: 1.04; }

/* the card that leaves the front: slides out left, then tucks in at the back */
.deck__card.is-leaving { animation: deck-out 1s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes deck-out {
  0%   { transform: none; opacity: 1; z-index: 30; }
  45%  { transform: translate(-22%, 4%) rotate(-5deg) scale(.92); opacity: 0; z-index: 30; }
  46%  { z-index: 0; opacity: 0; }
  100% { z-index: 0; }
}

/* first reveal: wipe the deck in from the bottom */
.js .deck:not(.is-in) .deck__inner { clip-path: inset(100% 0 0 0); }
.js .deck .deck__card:nth-child(2) .deck__inner { transition-delay: .08s; }
.js .deck .deck__card:nth-child(3) .deck__inner { transition-delay: .16s; }
.js .deck .deck__card:nth-child(4) .deck__inner { transition-delay: .24s; }

.projects__controls { display: flex; align-items: center; gap: 6px; margin-top: 26px; flex-wrap: wrap; }
.arrow { width: 34px; height: 34px; font-size: 15px; color: var(--text-2); transition: color .3s; }
.arrow:hover { color: var(--accent); }
.projects__tabs { display: flex; gap: 24px; margin-left: 24px; flex-wrap: wrap; }
.tab {
  position: relative; padding: 8px 0;
  font: 400 10px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--text-3);
  transition: color .3s;
}
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.tab:hover { color: var(--text-2); }
.tab[aria-selected="true"] { color: var(--text); }
.tab[aria-selected="true"]::after { animation: progress var(--dur, 7s) linear forwards; }
.projects.is-paused .tab[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

/* Marquee */
.marquee { margin-top: clamp(80px, 10vw, 130px); border-block: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { padding: 22px 32px; font: 400 11px/1 var(--f-mono); letter-spacing: .26em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.marquee__track span::after { content: "✦"; margin-left: 64px; color: var(--accent); opacity: .6; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Steps / trajectory ============ */
.steps { list-style: none; padding: 0; margin: 64px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.step { position: relative; padding-top: 36px; }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border: 1px solid var(--accent); background: var(--bg); }
.step__date { display: block; font: 400 9.5px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.step h3 small { font: italic 400 12px var(--f-body); color: var(--text-3); letter-spacing: 0; }
.step__role { margin: 6px 0 12px; font-style: italic; font-size: 13px; color: var(--text-3); }
.step p:last-child { font-size: 13.5px; line-height: 1.6; color: var(--text-2); }

/* ============ Highlight ============ */
.highlight { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 56px 0; border-block: 1px solid var(--line); }
.highlight__title { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; max-width: 26ch; }
.highlight__text { margin-top: 14px; max-width: 60ch; font-size: 14.5px; color: var(--text-2); }
.highlight .btn { flex-shrink: 0; }

/* ============ FAQ-style stack ============ */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.facts { margin: 48px 0 0; display: grid; gap: 22px; }
.facts dt { font: 400 9.5px/1 var(--f-mono); letter-spacing: .26em; text-transform: uppercase; color: var(--text-3); }
.facts dd { margin: 8px 0 0; font-size: 14.5px; color: var(--text-2); }
.facts em { color: var(--text-3); }

.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 26px 0; font: 500 clamp(16px, 1.5vw, 19px)/1.3 var(--f-display); letter-spacing: -.02em; color: rgba(232, 227, 215, .85);
  transition: color .3s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 300 20px/1 var(--f-display); color: var(--text-3); transition: transform .4s var(--ease); }
.acc[open] summary::after { content: "–"; }
.acc summary:hover { color: var(--text); }
.acc__body { overflow: hidden; }
.acc__body p { padding: 0 0 28px; max-width: 54ch; font-size: 14.5px; color: var(--text-2); }

/* ============ Form ============ */
.form-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.form { display: grid; gap: 34px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.field { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font: 400 9.5px/1 var(--f-mono); letter-spacing: .26em; text-transform: uppercase; color: var(--text-3); padding: 0; margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; padding: 6px 0 14px; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  font: 400 15px/1.5 var(--f-body); color: var(--text); resize: vertical; border-radius: 0;
  transition: border-color .3s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 11px 14px; border: 1px solid var(--line-2);
  font-size: 13px; color: var(--text-2); cursor: pointer; transition: all .25s;
}
.chip span:hover { border-color: var(--text-3); color: var(--text); }
.chip input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.chip input:focus-visible + span { outline: 1px solid var(--accent); outline-offset: 3px; }
.form__error { font-size: 13px; color: #f08a7a; margin-top: -20px; }

/* ============ Contact ============ */
.contact { min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(96px, 12vw, 140px); overflow: hidden; position: relative;
  background: linear-gradient(180deg, transparent, rgba(12, 14, 17, .65) 60%); }
.contact__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.contact__title { font-size: clamp(36px, 4.6vw, 58px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; max-width: none; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.contact__side { display: grid; justify-items: end; align-content: start; gap: 6px; text-align: right; }
.contact__side p { max-width: 32ch; font-size: 13.5px; color: var(--text-2); margin-bottom: 22px; }
.contact__social { font: 600 clamp(24px, 2.4vw, 32px)/1 var(--f-display); letter-spacing: -.03em; transition: color .3s; }
.contact__social span { color: var(--accent); font-size: .7em; }
.contact__social--sm { font-size: 20px; margin-top: 18px; }
.contact__social:hover { color: var(--accent); }
.contact__handle { font: 400 10px/1.5 var(--f-mono); letter-spacing: .18em; color: var(--text-3); }
.contact__mark {
  margin: 48px 0 0; padding: 0 var(--gutter); text-align: center;
  font: 800 clamp(110px, 27vw, 420px)/.74 var(--f-display); letter-spacing: -.06em;
  color: var(--text); white-space: nowrap;
  transform: translateY(var(--mark-y, 18%));
  transition: transform .2s linear;
}
.footer {
  position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter); padding-right: max(var(--gutter), 170px); border-top: 1px solid var(--line); background: var(--bg-deep);
  font: 400 10px/1.4 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--text-3);
}

/* Back to top */
.to-top {
  position: fixed; right: clamp(16px, 4vw, 40px); bottom: 28px; z-index: 40;
  display: grid; justify-items: center; gap: 10px;
  font: 400 9.5px/1 var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--text-3);
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease), color .3s;
}
.to-top svg { color: var(--accent); }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { color: var(--text); }

/* ============ Reveal animations ============ */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js .split.is-in .w > span { transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
}
@media (max-width: 860px) {
  .projects__grid, .faq, .form-grid { grid-template-columns: 1fr; }
  .projects__stage { order: -1; }
  .projects__stack { margin-bottom: 32px; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .section__lead { text-align: left; }
  .highlight { flex-direction: column; align-items: flex-start; }
  .contact__side { justify-items: start; text-align: left; }
}
@media (max-width: 640px) {
  .nav { padding-top: 16px; }
  .nav a { font-size: 10px; letter-spacing: .16em; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); padding-left: 24px; gap: 40px; }
  .step { padding-top: 0; }
  .step::before { top: 2px; left: -28px; }
  .form__row { grid-template-columns: 1fr; }
  .deck__card { --dx: 14px; }
  .deck { margin-bottom: 24px; }
  .projects__tabs { margin-left: 0; gap: 18px; width: 100%; }
  .footer { flex-direction: column; }
  .to-top span { display: none; }
}

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