/* =========================================================
   LIFE QUALITY — Copacabana P5
   Editorial athletics landing page
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #14100f;
  --ink-soft: #1f1917;
  --paper: #f4efe7;
  --paper-2: #ebe3d7;
  --red: #d3212d;
  --red-deep: #a3101a;
  --muted: #6e645c;
  --line: rgba(20, 16, 15, 0.14);
  --line-dark: rgba(244, 239, 231, 0.16);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1280px;
  --radius: 30px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: var(--red); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  transition: top 0.3s var(--ease);
}
.skip:focus { top: 16px; }

/* ---------- Type helpers ---------- */
.display {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.accent {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--red);
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(211, 33, 45, 0.12);
  flex: none;
}
.eyebrow--light { color: rgba(244, 239, 231, 0.62); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Film grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  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.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- Reveal ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   NAV
   ========================================================= */
.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  width: 100%;
  max-width: 1160px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 9px 10px 9px 14px;
  border-radius: 999px;
  background: rgba(244, 239, 231, 0.72);
  border: 1px solid rgba(20, 16, 15, 0.08);
  box-shadow: 0 18px 40px -26px rgba(20, 16, 15, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav-wrap.scrolled .nav {
  background: rgba(244, 239, 231, 0.9);
  box-shadow: 0 22px 50px -28px rgba(20, 16, 15, 0.6);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
}
.brand span {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
}
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn span:nth-child(3) { top: 27px; }

body.menu-open .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Mobile menu overlay ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 28px 48px;
  background: rgba(20, 16, 15, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
body.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.menu-overlay nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.menu-overlay nav a {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  padding: 8px 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
body.menu-open .menu-overlay nav a {
  opacity: 1;
  transform: none;
}
.menu-overlay nav a:hover { color: var(--red); }
.menu-overlay .menu-meta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(244, 239, 231, 0.6);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--red);
  color: var(--paper);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.5s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.985); }

.btn .ic {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: rgba(244, 239, 231, 0.16);
  transition: transform 0.5s var(--ease), background 0.35s var(--ease);
}
.btn:hover .ic {
  transform: translate(2px, -1px);
  background: rgba(244, 239, 231, 0.25);
}

.btn--paper {
  background: var(--paper);
  color: var(--ink);
}
.btn--paper:hover { background: var(--ink); color: var(--paper); }
.btn--paper .ic { background: rgba(20, 16, 15, 0.09); }
.btn--paper:hover .ic { background: rgba(244, 239, 231, 0.16); }

.btn--ink {
  background: var(--ink);
  color: var(--paper);
}
.btn--ink:hover { background: var(--red); }
.btn--ink .ic { background: rgba(244, 239, 231, 0.14); }

.play {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.play svg { transition: transform 0.45s var(--ease); }
.play:hover { color: var(--red); border-color: var(--red); }
.play:hover svg { transform: translate(3px, -3px); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 140px 0 84px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  top: -34vw;
  right: -16vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 33, 45, 0.12), rgba(211, 33, 45, 0) 62%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.86fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  min-height: calc(100dvh - 224px);
}

.hero-copy { max-width: 700px; }

.hero h1 {
  margin: 22px 0 24px;
  font-size: clamp(3.1rem, 7.2vw, 6.6rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
}
.hero h1 .accent {
  display: inline-block;
  font-size: 1.06em;
  line-height: 0.7;
  padding-right: 0.04em;
}

.hero-lede {
  max-width: 48ch;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.proof {
  display: flex;
  align-items: stretch;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.proof-item {
  flex: 1;
  padding-right: 16px;
}
.proof-item + .proof-item {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}
.proof-item strong {
  display: block;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.proof-item span {
  display: block;
  margin-top: 7px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero media */
.hero-media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 470px;
}

.frame {
  background: rgba(20, 16, 15, 0.055);
  border: 1px solid rgba(20, 16, 15, 0.08);
  padding: 10px;
  border-radius: 34px;
  box-shadow: 0 30px 70px -46px rgba(20, 16, 15, 0.6);
}
.frame-inner {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18);
}
.frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease);
}
.frame:hover .frame-inner img { transform: scale(1.07); }

.frame-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 15, 0.02) 40%, rgba(20, 16, 15, 0.34) 100%);
  pointer-events: none;
}

.hero-stamp {
  position: absolute;
  top: -34px;
  right: -30px;
  width: 116px;
  height: 116px;
  filter: drop-shadow(0 16px 24px rgba(20, 16, 15, 0.18));
}
.hero-stamp .stamp-rotate {
  transform-origin: 60px 60px;
  animation: spin 26s linear infinite;
}
.hero-stamp text {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 8.1px;
  letter-spacing: 1.35px;
  fill: var(--paper);
  text-transform: uppercase;
}
.hero-stamp .stamp-core {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  fill: var(--paper);
  text-anchor: middle;
}

.hero-chip {
  position: absolute;
  left: -34px;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 14px;
  border-radius: 18px;
  background: rgba(244, 239, 231, 0.94);
  border: 1px solid rgba(20, 16, 15, 0.08);
  box-shadow: 0 18px 40px -24px rgba(20, 16, 15, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-chip .dot {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper);
}
.hero-chip .mono { color: var(--muted); font-size: 9px; }
.hero-chip strong {
  display: block;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero-chip small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}

.hero-coords {
  position: absolute;
  right: -52px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.24em;
  white-space: nowrap;
}

.hero-scroll {
  position: absolute;
  left: 24px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--red), transparent);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: var(--paper);
  padding: 15px 0;
  border-top: 1px solid rgba(20, 16, 15, 0.08);
  border-bottom: 1px solid rgba(20, 16, 15, 0.08);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-item::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(244, 239, 231, 0.55);
  flex: none;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================================================
   MANIFESTO / SERVICES
   ========================================================= */
.manifesto {
  padding: clamp(88px, 12vw, 150px) 0;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}
.manifesto h2 {
  margin: 20px 0 24px;
  font-size: clamp(2.5rem, 4.7vw, 4.5rem);
}
.manifesto h2 .accent { display: block; }
.manifesto-copy {
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.03rem;
}
.manifesto-seal {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.manifesto-seal img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  object-fit: cover;
  flex: none;
}
.manifesto-seal p {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
.manifesto-seal strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
}

.services {
  border-top: 1px solid var(--line);
}
.service {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 44px;
  gap: 18px;
  align-items: start;
  padding: 26px 8px 26px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.service:hover { background: rgba(211, 33, 45, 0.045); }
.service-num {
  padding-top: 4px;
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.service h3 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  transition: color 0.3s var(--ease);
}
.service p {
  margin-top: 7px;
  max-width: 44ch;
  font-size: 13.8px;
  line-height: 1.55;
  color: var(--muted);
}
.service-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: transform 0.45s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service:hover .service-arrow {
  transform: translate(2px, -2px);
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}
.service:hover h3 { color: var(--red); }

/* =========================================================
   RITUAL (dark)
   ========================================================= */
.ritual {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(88px, 12vw, 156px) 0;
}
.ritual-orb {
  position: absolute;
  width: 64vw;
  aspect-ratio: 1;
  max-width: 920px;
  right: -22vw;
  top: -18vw;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 231, 0.07);
  pointer-events: none;
}
.ritual-orb::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 231, 0.05);
}
.ritual-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}
.ritual h2 {
  margin: 20px 0 0;
  font-size: clamp(2.6rem, 5.6vw, 5.4rem);
  letter-spacing: -0.045em;
}
.ritual h2 .accent { color: #f45a63; }
.ritual-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 46px;
  border-top: 1px solid var(--line-dark);
}
.ritual-step {
  padding: 20px 18px 0 0;
}
.ritual-step + .ritual-step {
  padding-left: 20px;
  border-left: 1px solid var(--line-dark);
}
.ritual-step .mono {
  color: #f45a63;
  font-size: 10px;
}
.ritual-step strong {
  display: block;
  margin-top: 9px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(244, 239, 231, 0.9);
}
.ritual-step p {
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(244, 239, 231, 0.55);
}

.ritual-media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 390px;
}
.frame--dark {
  background: rgba(244, 239, 231, 0.05);
  border-color: rgba(244, 239, 231, 0.11);
  box-shadow: 0 36px 80px -50px rgba(0, 0, 0, 0.9);
}
.ritual-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: rgba(244, 239, 231, 0.52);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =========================================================
   FEED
   ========================================================= */
.feed {
  padding: clamp(88px, 12vw, 150px) 0;
}
.feed-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}
.feed-head h2 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
}
.feed-head p {
  margin-top: 12px;
  max-width: 44ch;
  color: var(--muted);
  font-size: 14.5px;
}
.feed-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.circle-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.circle-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.circle-btn:active { transform: translateY(0) scale(0.97); }
.circle-btn:disabled { opacity: 0.3; cursor: default; }
.circle-btn:disabled:hover {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  transform: none;
}

.feed-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 16, 15, 0.25) transparent;
  padding-bottom: 10px;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
}
.feed-track::-webkit-scrollbar { height: 4px; }
.feed-track::-webkit-scrollbar-track { background: transparent; }
.feed-track::-webkit-scrollbar-thumb { background: rgba(20, 16, 15, 0.2); border-radius: 4px; }

.feed-card {
  flex: 0 0 clamp(222px, 24vw, 292px);
  scroll-snap-align: start;
}
.feed-card .frame {
  padding: 7px;
  border-radius: 24px;
}
.feed-card .frame-inner {
  border-radius: 18px;
  aspect-ratio: 4 / 5;
}
.feed-card .frame-inner::after {
  background: linear-gradient(180deg, rgba(20, 16, 15, 0) 55%, rgba(20, 16, 15, 0.24) 100%);
}
.feed-card:hover .frame-inner img { transform: scale(1.05); }
.feed-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.feed-meta .mono {
  color: var(--red);
  font-size: 9px;
}
.feed-meta h3 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-align: right;
}
.feed-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.feed-note::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--red);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contato {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: var(--paper);
  padding: clamp(88px, 12vw, 150px) 0;
}
.contato::before {
  content: "";
  position: absolute;
  width: 70vw;
  aspect-ratio: 1;
  max-width: 1000px;
  left: -28vw;
  bottom: -40vw;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 231, 0.14);
  pointer-events: none;
}
.contato-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}
.contato h2 {
  margin: 20px 0 22px;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  letter-spacing: -0.05em;
}
.contato h2 .accent { color: var(--paper); }
.contato-copy {
  max-width: 42ch;
  color: rgba(244, 239, 231, 0.82);
  font-size: 1.02rem;
}
.contato-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.contato-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 239, 231, 0.26);
}
.contato-meta a,
.contato-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(244, 239, 231, 0.85);
  transition: color 0.3s var(--ease);
}
.contato-meta a:hover { color: var(--paper); }
.contato-meta svg { flex: none; opacity: 0.7; }

.contact-panel {
  background: rgba(20, 16, 15, 0.16);
  border: 1px solid rgba(244, 239, 231, 0.22);
  padding: 9px;
  border-radius: 32px;
  box-shadow: 0 40px 80px -50px rgba(20, 16, 15, 0.85);
}
.contact-panel-inner {
  background: var(--ink);
  border-radius: 24px;
  overflow: hidden;
}
.contact-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--line-dark);
}
.contact-panel-head .mono { color: rgba(244, 239, 231, 0.55); font-size: 9px; }
.contact-panel-head strong {
  display: block;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.contact-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 38px;
  gap: 14px;
  align-items: center;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.35s var(--ease);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row:hover { background: rgba(244, 239, 231, 0.055); }
.contact-row .num {
  color: #f45a63;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.contact-row strong {
  display: block;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.contact-row small {
  display: block;
  margin-top: 3px;
  color: rgba(244, 239, 231, 0.55);
  font-size: 11.5px;
}
.contact-row .arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  color: var(--paper);
  transition: transform 0.45s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.contact-row:hover .arrow {
  transform: translate(2px, -2px);
  background: var(--red);
  border-color: var(--red);
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 26px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  object-fit: cover;
}
.footer-brand span {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.footer-brand small {
  display: block;
  margin-top: 4px;
  color: rgba(244, 239, 231, 0.45);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 6px;
}
.footer-nav a {
  color: rgba(244, 239, 231, 0.55);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.footer-nav a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  color: rgba(244, 239, 231, 0.48);
  font-size: 11px;
}
.footer-bottom .mono { font-size: 9px; color: rgba(244, 239, 231, 0.48); }
.footer-bottom .soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom .soon::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2.4s var(--ease-soft) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}

/* =========================================================
   SMALL BUTTON
   ========================================================= */
.btn--sm {
  padding: 9px 10px 9px 16px;
  font-size: 13px;
  gap: 9px;
}
.btn--sm .ic { width: 26px; height: 26px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .hero-coords { display: none; }
  .hero-scroll { display: none; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .nav-cta { display: none; }

  .hero { padding-top: 126px; }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 54px;
  }
  .hero-media {
    justify-self: start;
    max-width: 440px;
  }
  .hero-stamp { right: -18px; }
  .hero-chip { left: -14px; }

  .manifesto-grid,
  .ritual-grid,
  .contato-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .ritual-media,
  .contato-panel {
    justify-self: start;
    width: 100%;
    max-width: 440px;
  }
  .manifesto h2 br { display: none; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 96px; }

  .nav-wrap { top: 12px; }
  .nav { gap: 12px; padding: 8px 8px 8px 12px; }
  .brand span { font-size: 15.5px; }

  .hero { padding: 112px 0 64px; }
  .hero h1 { margin-top: 18px; }
  .hero-lede { font-size: 15.5px; }
  .hero-actions { gap: 16px; }
  .proof { margin-top: 34px; }
  .proof-item + .proof-item { padding-left: 16px; }
  .proof-item { padding-right: 12px; }
  .proof-item span { font-size: 8.5px; letter-spacing: 0.1em; }

  .hero-chip { bottom: 22px; }
  .hero-stamp { width: 92px; height: 92px; top: -24px; right: -10px; }

  .feed-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .feed-tools { align-self: flex-end; }

  .ritual-steps { grid-template-columns: 1fr; }
  .ritual-step { padding: 16px 0; }
  .ritual-step + .ritual-step {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .contato-meta { gap: 14px 22px; }

  .footer-top { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .feed-track {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero h1 { font-size: clamp(2.7rem, 13.5vw, 3.4rem); }
  .btn { width: 100%; justify-content: space-between; }
  .hero-actions .play { width: auto; }
  .proof-item strong { font-size: 1.3rem; }
  .contact-row { padding: 15px 16px; }
  .contact-panel-head { padding: 18px 16px 14px; }
  .hero-chip { left: -6px; }
  .hero-stamp { right: -4px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .hero-stamp .stamp-rotate { animation: none; }
}

/* =========================================================
   TOUCH — avoid sticky hover states
   ========================================================= */
@media (hover: none) {
  .service:hover { background: transparent; }
  .service:hover h3 { color: var(--ink); }
  .service:hover .service-arrow {
    transform: none;
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
  }
  .contact-row:hover { background: transparent; }
  .contact-row:hover .arrow {
    transform: none;
    background: transparent;
    border-color: var(--line-dark);
  }
  .circle-btn:hover {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
    transform: none;
  }
  .frame:hover .frame-inner img,
  .feed-card:hover .frame-inner img { transform: scale(1.02); }
  .btn:hover { transform: none; }
  .btn--paper:hover { background: var(--paper); color: var(--ink); }
  .btn--ink:hover { background: var(--ink); color: var(--paper); }
  .play:hover { color: inherit; border-color: var(--ink); }
  .play:hover svg { transform: none; }
  .nav-links a:hover::after { transform: scaleX(0); }
}
