/* ==========================================================================
   Samuel Campos — portfolio
   Palette: graphite base, warm off-white ink. No accent color: the videos
   are the only color on the page.
   ========================================================================== */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic; font-weight: 400; font-display: swap;
  src: url("assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic; font-weight: 400; font-display: swap;
  src: url("assets/fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("assets/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("assets/fonts/instrument-sans-latin-wght-italic.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("assets/fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}

/* ---------- tokens ---------- */
:root {
  --bg: #0C0C0E;
  --bg-deep: #060607;
  --surface: #131316;
  --ink: #ECEAE4;
  --ink-2: #9A9893;
  --ink-3: #5F5E5B;
  --line: rgba(236, 234, 228, 0.10);
  --dot: rgba(236, 234, 228, 0.10);

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;

  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1320px;
  --sp: clamp(6rem, 12vw, 10rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

main { position: relative; z-index: 1; }

/* ---------- dot grid ---------- */
.grid {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  --mx: 50%; --my: 35%;
}
.grid__dots, .grid__spot {
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.4px);
  background-size: 26px 26px;
  background-position: 13px 13px;
}
.grid__dots { opacity: 0.55; }
.grid__spot {
  --dot: rgba(236, 234, 228, 0.40);
  -webkit-mask-image: radial-gradient(320px circle at var(--mx) var(--my), #000 0%, transparent 100%);
  mask-image: radial-gradient(320px circle at var(--mx) var(--my), #000 0%, transparent 100%);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 1.1rem var(--pad);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.is-scrolled {
  background: rgba(12, 12, 14, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav__name { font-family: var(--serif); font-size: 1.4rem; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: 1.75rem; font-size: 0.92rem; color: var(--ink-2); }
.nav__links a { transition: color 0.25s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  justify-self: end;
  font-size: 0.88rem; font-weight: 500;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.nav__cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 3rem; padding: 0 1.45rem;
  border-radius: 999px;
  font-size: 0.95rem; font-weight: 500;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: #ffffff; }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-2); }
.btn--lg { height: 3.5rem; padding: 0 1.9rem; font-size: 1.02rem; }

.copy { position: relative; }
.copy__done {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  opacity: 0; transition: opacity 0.25s ease;
}
.copy__label { transition: opacity 0.25s ease; }
.copy.is-copied .copy__label { opacity: 0; }
.copy.is-copied .copy__done { opacity: 1; }

/* ---------- text reveal primitives (only active when JS runs) ---------- */
.line { display: block; }
.line--i { font-style: italic; }
.js [data-split] .line { overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.js [data-split] .line__in { display: block; transform: translateY(110%); }
.js [data-split="words"] .w { display: inline-block; opacity: 0; filter: blur(6px); transform: translateY(8px); }
.sw { display: inline-block; opacity: 0.16; }
.js .hero__eyebrow, .js .hero__actions, .js .hero__note { opacity: 0; }
.js .hero__stage .phone__frame { opacity: 0; }

/* ---------- hero ---------- */
.hero {
  --pw: clamp(160px, 12.5vw, 220px);
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 7.5rem var(--pad) 8rem;
  overflow: hidden;
}
.hero__content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 680px;
}
.hero__eyebrow {
  font-size: 0.98rem; color: var(--ink-2);
  display: inline-flex; gap: 0.35em; align-items: baseline;
}
.flip {
  display: inline-block; overflow: hidden;
  height: 1.3em; line-height: 1.3em;
  vertical-align: bottom;
  color: var(--ink);
}
.flip__track { display: flex; flex-direction: column; animation: flip 9s var(--ease) infinite; }
.flip__track span { height: 1.3em; line-height: 1.3em; text-align: left; }
@keyframes flip {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(-1.3em); }
  50%, 70% { transform: translateY(-2.6em); }
  75%, 95% { transform: translateY(-3.9em); }
  100% { transform: translateY(-5.2em); }
}
.hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 8.2vw, 6.8rem);
  line-height: 0.98; letter-spacing: -0.015em;
  margin: 1.3rem 0 1.6rem;
}
.hero__sub {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.55; color: var(--ink-2);
  max-width: 34rem; margin: 0 auto;
}
.hero__actions { display: flex; justify-content: center; gap: 0.7rem; margin-top: 2rem; flex-wrap: wrap; }
.hero__stats {
  position: relative;
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0.55rem 1.6rem; margin: 2rem auto 0;
  width: max-content; max-width: 100%;
  padding: 0.75rem 1.6rem;
  border: 1px solid rgba(236, 234, 228, 0.22);
  border-radius: 999px;
  font-size: 0.9rem; color: var(--ink-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
/* the glow lives on its own layer so the pulse animates opacity, not box-shadow */
.hero__stats::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(236, 234, 228, 0.10),
    0 0 26px -2px rgba(236, 234, 228, 0.18),
    inset 0 0 18px -6px rgba(236, 234, 228, 0.16);
  opacity: 0.6;
  animation: statglow 5s ease-in-out infinite;
}
@keyframes statglow { 50% { opacity: 1; } }
.hero__stats li { display: flex; align-items: baseline; gap: 0.4rem; }
.hero__stats li + li { position: relative; }
.hero__stats li + li::before {
  content: ""; position: absolute; left: -0.83rem; top: 0.15em; bottom: 0.15em;
  width: 1px; background: rgba(236, 234, 228, 0.18);
}
.hero__stats b { font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.hero__note { margin-top: 1.1rem; font-size: 0.82rem; color: var(--ink-3); }

/* ---------- post-work CTA ---------- */
.afterwork {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--pad);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.afterwork__lead {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.15; letter-spacing: -0.01em;
  color: var(--ink);
}

.hero__stage { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 18%; z-index: 3;
  background: linear-gradient(to bottom, rgba(12,12,14,0) 0%, rgba(12,12,14,0.6) 55%, var(--bg) 100%);
  pointer-events: none;
}

/* ---------- phone ---------- */
.phone {
  position: absolute;
  width: var(--pw);
  aspect-ratio: 9 / 19.5;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(var(--sc, 1));
}
.phone__frame {
  position: relative; width: 100%; height: 100%;
  padding: 3.6%;
  background: #141417;
  border-radius: calc(var(--pw) * 0.16);
  box-shadow:
    0 0 0 1px rgba(236, 234, 228, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.phone__screen {
  position: relative; width: 100%; height: 100%;
  overflow: hidden; background: #000;
  border-radius: calc(var(--pw) * 0.125);
}
.phone__poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 16s ease-in-out infinite alternate;
}
.phone__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.6s ease;
}
.phone__video.is-playing { opacity: 1; }
.phone__bar {
  position: absolute; left: 6%; right: 6%; bottom: 4%; height: 2px;
  background: rgba(255, 255, 255, 0.28); border-radius: 2px; overflow: hidden;
}
.phone__bar i { display: block; height: 100%; width: 0; background: #fff; animation: bar 7s linear infinite; }
.phone__island {
  position: absolute; top: 5.2%; left: 50%; transform: translateX(-50%);
  width: 32%; height: 3.1%;
  background: #000; border-radius: 999px;
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes bar { from { width: 0; } to { width: 100%; } }

/* hero phone positions (desktop) */
.phone--1 { left: calc(50% - clamp(520px, 44vw, 720px)); top: 36%; --rot: -14deg; --sc: 0.72; filter: blur(1.3px); opacity: 0.7; }
.phone--2 { left: calc(50% - clamp(390px, 33vw, 540px)); top: 52%; --rot: -7deg; --sc: 1; }
.phone--3 { left: calc(50% + clamp(520px, 44vw, 720px)); top: 33%; --rot: 13deg; --sc: 0.74; filter: blur(1.3px); opacity: 0.7; }
.phone--4 { left: calc(50% + clamp(390px, 33vw, 540px)); top: 55%; --rot: 7deg; --sc: 1.03; }

/* ---------- marquee ---------- */
.marquee {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1rem 0; overflow: hidden;
  background: var(--bg);
}
.marquee__track {
  display: flex; align-items: center; gap: 2.2rem;
  width: max-content; white-space: nowrap;
  animation: marquee 44s linear infinite;
}
.marquee__track span { font-family: var(--serif); font-size: 1.45rem; color: var(--ink-2); }
.marquee__track i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */
.manifesto { padding: var(--sp) var(--pad); }
.manifesto__text {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.24; letter-spacing: -0.01em;
  max-width: 46ch; margin: 0 auto;
  text-align: center; text-wrap: balance;
}

/* ---------- feed ---------- */
.feed { position: relative; padding-top: calc(var(--sp) * 0.5); }
.feed__head {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad) 1.5rem;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
}
.feed__title, .services__title, .about__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1; letter-spacing: -0.015em;
}
.feed__hint { font-size: 0.85rem; color: var(--ink-3); padding-bottom: 0.4rem; }

.wall {
  position: relative; z-index: 2;
  overflow: hidden;
  padding: 0.5rem 0 1rem;
  --fade: clamp(3rem, 9vw, 11rem);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
  mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
}
.wall__track {
  display: flex; width: max-content;
  gap: clamp(1rem, 2vw, 1.9rem);
  animation: wall 64s linear infinite;
  will-change: transform;
}
.wall:hover .wall__track, .wall:focus-within .wall__track { animation-play-state: paused; }
@keyframes wall { to { transform: translateX(calc(-50% - clamp(0.5rem, 1vw, 0.95rem))); } }

.wall__item { margin: 0; width: var(--pw); --pw: clamp(148px, 17vw, 232px); }
.phone--wall { position: relative; width: 100%; transform: none; }
.wall__item .phone__poster { animation: none; }
.wall__cap {
  margin-top: 0.95rem;
  display: grid; gap: 0.15rem;
  font-size: 0.85rem; line-height: 1.35;
}
.wall__cap b { font-weight: 500; color: var(--ink); }
.wall__cap span { color: var(--ink-2); }

/* ---------- services ---------- */
.services { padding: var(--sp) var(--pad); max-width: var(--max); margin: 0 auto; }
.services__head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end;
  padding-bottom: 2.5rem;
}
.services__lead { font-size: 1.05rem; line-height: 1.55; color: var(--ink-2); max-width: 44ch; }
.services__list { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 2rem; align-items: start;
  padding: 2.2rem 0; border-bottom: 1px solid var(--line);
}
.service__name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.05; letter-spacing: -0.01em;
}
.service__desc { font-size: 1rem; line-height: 1.55; color: var(--ink-2); max-width: 48ch; }
.service__tags { display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: flex-end; }
.service__tags li {
  font-size: 0.76rem; color: var(--ink-2);
  padding: 0.3rem 0.7rem; border: 1px solid var(--line); border-radius: 999px;
  white-space: nowrap;
}

.services__how {
  margin-top: 2.6rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem;
}
.services__how dt {
  font-size: 0.78rem; letter-spacing: 0.02em; color: var(--ink-3);
}
.services__how dd {
  margin: 0.5rem 0 0; max-width: 42ch;
  font-size: 1.02rem; line-height: 1.55; color: var(--ink-2);
}

/* ---------- about ---------- */
.about {
  padding: 0 var(--pad) var(--sp); max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 7rem); align-items: start;
}
.about__photo {
  position: sticky; top: 6.5rem;
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px;
  background: var(--surface);
}
.about__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.8s ease, transform 1.2s var(--ease);
}
.about__photo:hover img { filter: grayscale(0); transform: scale(1.03); }
.about__text { margin-top: 2rem; display: grid; gap: 1.2rem; }
.about__text p { font-size: 1.06rem; line-height: 1.65; color: var(--ink-2); max-width: 58ch; }
.about__facts {
  margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.about__facts dt { font-size: 0.78rem; color: var(--ink-3); }
.about__facts dd { margin-top: 0.3rem; font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }

/* ---------- contact ---------- */
.contact { padding: var(--sp) var(--pad) calc(var(--sp) * 1.1); text-align: center; }
.contact__lead { font-size: 1rem; color: var(--ink-2); }
.contact__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.8rem, 7.6vw, 6.6rem);
  line-height: 0.98; letter-spacing: -0.015em;
  margin: 1.2rem auto 2.2rem; max-width: 14ch;
}
.contact__actions { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }
.contact__note { margin-top: 1.4rem; font-size: 0.82rem; color: var(--ink-3); }

/* ---------- footer ---------- */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  padding: 1.6rem var(--pad);
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--ink-3);
}
.footer__links { display: flex; gap: 1.4rem; }
.footer__links a, .footer__top { transition: color 0.25s ease; }
.footer__links a:hover, .footer__top:hover { color: var(--ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1279px) {
  .hero {
    --pw: clamp(120px, 26vw, 190px);
    grid-template-rows: auto auto; place-items: start center;
    padding-top: 7rem; padding-bottom: 0;
  }
  .hero__content { align-self: center; }
  .hero__stage {
    position: relative; inset: auto; width: 100%;
    height: calc(var(--pw) * 1.95); margin-top: 2rem;
  }
  .phone--3 { display: none; }
  .phone--2 { left: calc(50% - var(--pw) * 1.12); top: 62%; --rot: -9deg; --sc: 0.92; }
  .phone--1 { left: 50%; top: 50%; --rot: 0deg; --sc: 1.05; z-index: 2; }
  .phone--4 { left: calc(50% + var(--pw) * 1.12); top: 62%; --rot: 9deg; --sc: 0.92; }
  .hero__fade { height: 22%; }
}

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .services__head { grid-template-columns: 1fr; gap: 1.2rem; }
  .services__how { grid-template-columns: 1fr; gap: 1.6rem; }
  .service { grid-template-columns: 1fr; gap: 0.9rem; padding: 1.8rem 0; }
  .service__tags { justify-content: flex-start; }
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__photo { position: static; max-width: 420px; }
  .about__facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero { padding-top: 6rem; }
  .hero__title { font-size: clamp(2.6rem, 12.5vw, 3.6rem); }
  .hero__actions .btn { width: 100%; }
  .hero__stats {
    width: 100%; flex-direction: column; align-items: center;
    gap: 0.5rem; padding: 1rem 1.2rem; border-radius: 18px;
  }
  .hero__stats li + li::before { display: none; }
  .marquee__track span { font-size: 1.2rem; }
  .manifesto__text { font-size: clamp(1.5rem, 7vw, 1.9rem); text-align: left; }
  .feed__head { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .contact__title { max-width: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flip__track, .phone__poster, .phone__bar i, .marquee__track, .wall__track { animation: none; }
  .wall { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .wall__track { width: auto; }
  .sw { opacity: 1; }
  .hero__stats::after { animation: none; opacity: 0.85; }
  .about__photo img, .btn { transition: none; }
}
