/* ==========================================================================
   Mª del Mar — Psicopedagoga i Coach
   Design language: clean, minimalist, formal — a professional service site.
   Palette and type are the client's brand spec, not a decorative choice:
   verd principal #5C9186, blanc trencat #F8F8F7, tipografia Montserrat.
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/montserrat-500.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/montserrat-700.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/montserrat-800.woff2") format("woff2");
}

:root {
  /* --- Palette: brand green on off-white ------------------------------- */
  --paper: #f8f8f7;         /* blanc trencat — base ground */
  --paper-deep: #eff1f0;    /* slightly deeper paper for alternating bands */
  --green: #5c9186;         /* verd principal — the one brand color */
  --green-deep: #3f675e;    /* darker green — emphasis, hover, active states */
  --green-pale: #e3ebe9;    /* pale green tint — chip fills, subtle washes */
  --ink: #202b28;           /* near-black green-grey — body text */
  --ink-dim: #5c6b67;       /* muted secondary text */
  --white: #ffffff;
  --border: #dfe4e2;
  --border-strong: #c9d2cf;

  --glass-fill: rgba(255, 255, 255, 0.6);
  --glass-fill-strong: rgba(255, 255, 255, 0.85);
  --glass-border: var(--border);
  --glass-border-strong: var(--border-strong);
  --glow: var(--green);                       /* single accent, no secondary pop hue */
  --glow-dim: rgba(92, 145, 134, 0.16);

  --bg: var(--paper);

  /* --- Type: one family, distinguished by weight per the brand spec ---- */
  --font: "Montserrat", "Segoe UI", Arial, sans-serif;

  --fs-hero: clamp(1.8rem, 3.4vw, 3.1rem);
  --fs-h2: clamp(2.4rem, 6.4vw, 5.6rem);
  --fs-h3: clamp(1.5rem, 3vw, 2.1rem);
  --fs-lede: clamp(1.05rem, 1.6vw, 1.35rem);
  --fs-body: clamp(1rem, 1.05vw, 1.1rem);
  --fs-eyebrow: 0.78rem;

  /* --- Rhythm ------------------------------------------------------------ */
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section-pad: clamp(4rem, 12vw, 10rem);
  --radius: 18px;

  --ease-out: cubic-bezier(.16,.84,.32,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

* { box-sizing: border-box; }
html { background: var(--bg); }
html, body { width: 100%; overscroll-behavior: none; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Lenis drives scroll; this element becomes the native scroll container */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

::selection { background: var(--glow-dim); color: var(--ink); }

/* Título → ExtraBold 800, uppercase. Subtítols → Bold 700. */
h1 {
  font-family: var(--font);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
  letter-spacing: 0;
}
h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
  letter-spacing: 0;
}
p { margin: 0; max-width: 62ch; font-weight: 500; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font);
  font-weight: 700;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--green);
  display: inline-block;
}

.wrap { max-width: 1360px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
section { position: relative; }

/* ==========================================================================
   Aurora WebGL background — fixed behind everything, one instance, reused.
   Toned down to a barely-there paper texture, not a mood-setting backdrop.
   ========================================================================== */
#aurora {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.grain {
  position: fixed;
  inset: -100%;
  width: 300%;
  height: 300%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.02;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 8s steps(8) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0,0); }
  50%  { transform: translate(-3%, 2%); }
  100% { transform: translate(0,0); }
}

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

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--paper);
}
#preloader .preloader-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}
#preloader .mark {
  font-family: var(--font);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  color: var(--green-deep);
}
#preloader .count {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
}
#preloader .bar {
  width: min(320px, 60vw);
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
#preloader .curtain {
  position: fixed; inset: 0;
  background: var(--green);
  z-index: 1;
  transform-origin: bottom;
}

/* ==========================================================================
   Header / nav
   ========================================================================== */
header.site {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1rem, 2.4vw, 1.6rem) var(--gutter);
  background: rgba(248, 248, 247, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand {
  font-family: var(--font);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand span { color: var(--green); }
nav.site-nav { display: flex; gap: clamp(1.2rem, 3vw, 2.4rem); }
nav.site-nav a {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  color: var(--ink);
}
nav.site-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--green);
  transition: right 0.4s var(--ease-out);
}
nav.site-nav a:hover { color: var(--green-deep); }
nav.site-nav a:hover::after { right: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 50%;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  nav.site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem var(--gutter) 1rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease-out), opacity 0.25s ease;
  }
  nav.site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  nav.site-nav a { padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
  nav.site-nav a:last-child { border-bottom: 0; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}
.hero__grid {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(320px, 44%) 1fr;
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  /* Full width is available once the grid stacks — the 13ch cap made sense
     only for the narrow 44% column and would just add pointless extra line
     breaks here. */
  .hero__title { max-width: 20ch; }
}
.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.2rem, 3vw, 2rem);
  padding: clamp(6rem, 14vw, 8rem) var(--gutter) clamp(3rem, 6vw, 4rem);
}
.hero__kicker { max-width: 30ch; }
.hero__title {
  max-width: 13ch;
  font-size: var(--fs-hero);
  line-height: 1.15;
  color: var(--ink);
  /* Safety net: the text column is now only ~44% of the viewport, so a
     single long word (e.g. "FACILITADORA") can be wider than the box at
     some sizes. Break it onto another row instead of silently clipping —
     overflow:hidden lived here before and just cut the last letter off. */
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; will-change: transform; }
.hero__lede { max-width: 38ch; color: var(--ink-dim); font-size: var(--fs-lede); line-height: 1.6; }

/* The calm room photo — bleeds to the viewport edge, softly seamed into
   the paper ground on its inner edge rather than a hard vertical cut,
   and tinted toward the brand green so a neutral stock photo reads as
   "ours" rather than generic. */
.hero__photo {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
}
.hero__photo::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(248, 248, 247, 0) 14%);
  z-index: 1;
}
/* This is a real photo of her — unlike the stock room photo, only a very
   faint tint here (not a heavy color-grade) so skin tone stays natural. */
.hero__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(92, 145, 134, 0.08), rgba(63, 103, 94, 0.04));
  mix-blend-mode: multiply;
  z-index: 1;
}
@media (max-width: 860px) {
  .hero__photo::before { background: linear-gradient(180deg, var(--paper) 0%, rgba(248, 248, 247, 0) 16%); }
}
.hero__deco {
  /* Placed over the plain wall on the right of the frame, not over her —
     a real portrait needs the decoration to stay out of the way. */
  position: absolute;
  top: 30%; left: 80%;
  transform: translate(-50%, -50%);
  width: min(38%, 280px);
  height: auto;
  color: var(--green);
  opacity: 0.22;
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 860px) { .hero__deco { display: none; } }

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1.6rem, 4vw, 2.6rem);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-weight: 700;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green-deep);
}
.scroll-cue .rail { width: 1px; height: 46px; background: var(--border-strong); position: relative; overflow: hidden; }
.scroll-cue .rail::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--green);
  animation: cue-fall 1.8s ease-in-out infinite;
}
@keyframes cue-fall { to { top: 100%; } }

/* ==========================================================================
   Manifesto — pinned scroll-scrub paragraph
   ========================================================================== */
.manifesto { min-height: 100svh; display: flex; align-items: center; padding: var(--section-pad) 0; }
.manifesto__inner { padding: 0 var(--gutter); }
.manifesto p {
  font-weight: 700;
  font-size: clamp(1.6rem, 4.2vw, 3.1rem);
  line-height: 1.28;
  max-width: 20ch;
  color: var(--ink-dim);
}
.manifesto .word { display: inline-block; filter: blur(6px); opacity: 0.18; will-change: transform, filter, opacity; }
.manifesto .word.is-key { color: var(--green-deep); font-weight: 800; }

/* ==========================================================================
   Fork — two-path chooser
   ========================================================================== */
.fork { padding: var(--section-pad) 0; }
.fork__grid {
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 860px) { .fork__grid { grid-template-columns: 1fr; } }
.fork__panel {
  position: relative;
  padding: clamp(2rem, 4vw, 3.2rem);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--glass-fill);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -30px rgba(32, 43, 40, 0.14);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform;
  transform-style: preserve-3d;
}
.fork__panel::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), var(--glow-dim), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.fork__panel:hover::before { opacity: 1; }
.fork__panel--a, .fork__panel--b { transform: rotate(0deg); }
.fork__tag { font-weight: 700; font-size: var(--fs-eyebrow); letter-spacing: 0.24em; text-transform: uppercase; color: var(--green-deep); }
.fork__panel h3 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 0.5rem 0 1rem; color: var(--ink); }
.fork__panel p { color: var(--ink-dim); max-width: 34ch; }
.fork__go {
  align-self: flex-start;
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--ink);
}
.fork__go .arrow { transition: transform 0.35s var(--ease-out); }
.fork__panel:hover .fork__go .arrow { transform: translateX(6px); }

/* ==========================================================================
   Marquee ticker — velocity reactive
   ========================================================================== */
.marquee {
  padding: clamp(1.6rem, 4vw, 2.6rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 3rem;
  will-change: transform;
}
.marquee__track span {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  color: var(--ink-dim);
}
.marquee__track span.dot { color: var(--green); }

/* ==========================================================================
   Pinned horizontal gallery (Coaching)
   ========================================================================== */
/* No fixed height here: the horizontal-scroll distance is dynamic (depends
   on card count/width), so this section must be left to auto-size around
   the pin-spacer GSAP inserts for .pin-h__sticky — a fixed height here was
   shorter than that spacer, so the next section started overlapping it
   mid-pin. */
.pin-h { }
.pin-h__sticky {
  /* No CSS position:sticky here — ScrollTrigger's `pin` option handles the
     fixing itself. Combining native sticky with a JS pin on the same
     element corrupts the pin-spacer height and makes sections overlap. */
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.pin-h__head { padding: 0 var(--gutter); margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.pin-h__head h2 { max-width: 22ch; color: var(--ink); }
.pin-h__track {
  display: flex;
  gap: clamp(1.2rem, 2.6vw, 2.2rem);
  padding: 0 var(--gutter);
  will-change: transform;
}
.gcard {
  flex: 0 0 clamp(240px, 30vw, 340px);
  height: clamp(280px, 38vw, 380px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 24px 50px -28px rgba(32, 43, 40, 0.16);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.gcard::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), var(--glow-dim), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gcard:hover::before { opacity: 1; }
.gcard__index { font-weight: 700; font-size: 0.85rem; color: var(--green); }
.gcard h4 { font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.25; margin: 0; color: var(--ink); }
.gcard--tag { justify-content: flex-end; }
.gcard--tag h4 { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.gcard--media { justify-content: flex-start; }
.gcard__media {
  flex: 1;
  min-height: 0;
  margin: 0.9rem 0;
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
}
.gcard__media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Flip-process (3 coaching phases)
   ========================================================================== */
.flip-process { height: 320svh; }
.flip-process__sticky {
  /* No CSS position:sticky — see .pin-h__sticky note above. */
  height: 100svh;
  display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: 0 var(--gutter);
}
@media (max-width: 860px) { .flip-process__sticky { grid-template-columns: 1fr; } }
.flip-process__rail { display: flex; flex-direction: column; gap: 1.1rem; }
.flip-process__rail .tick {
  display: flex; align-items: center; gap: 1rem;
  font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim);
  opacity: 0.45; transition: opacity 0.3s ease, color 0.3s ease;
}
.flip-process__rail .tick.is-active { opacity: 1; color: var(--ink); }
.flip-process__rail .tick i { width: 22px; height: 1px; background: currentColor; display: inline-block; }
.flip-process__stage { position: relative; perspective: 1800px; height: clamp(320px, 46vw, 460px); }
.flip-panel {
  position: absolute; inset: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 30px 60px -30px rgba(32, 43, 40, 0.16);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, filter, opacity;
}
.flip-panel .num { font-weight: 800; font-size: 3.4rem; color: var(--green); line-height: 1; margin-bottom: 1rem; }
.flip-panel h4 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); margin-bottom: 0.7rem; color: var(--ink); }
.flip-panel p { color: var(--ink-dim); max-width: 40ch; }

/* ==========================================================================
   Dolly-zoom process (7 psicopedagogia steps) — distinct mechanic
   ========================================================================== */
.dolly { height: 620svh; background: linear-gradient(180deg, var(--paper), var(--green-pale) 12%, var(--green-pale) 88%, var(--paper)); }
.dolly__sticky {
  /* No CSS position:sticky — see .pin-h__sticky note above. */
  height: 100svh;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: 0 var(--gutter);
  overflow: hidden;
}
@media (max-width: 860px) { .dolly__sticky { grid-template-columns: 1fr; } }
.dolly__side h2 { max-width: 12ch; margin-bottom: 1rem; color: var(--ink); }
.dolly__rail { display: flex; gap: 0.5rem; margin-top: 2rem; }
.dolly__rail i {
  width: 26px; height: 3px; border-radius: 2px;
  background: var(--border-strong);
}
.dolly__rail i.is-active { background: var(--green); }
.dolly__stage { position: relative; height: clamp(340px, 50vw, 480px); perspective: 2000px; }
.dolly-card {
  position: absolute; inset: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 30px 70px -32px rgba(32, 43, 40, 0.2);
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  will-change: transform, filter, opacity;
}
.dolly-card .num { font-weight: 800; font-size: 2.6rem; color: var(--green); line-height: 1; margin-bottom: 0.8rem; }
.dolly-card h4 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); margin-bottom: 0.6rem; color: var(--ink); }
.dolly-card p { color: var(--ink-dim); font-size: 0.95rem; }

/* ==========================================================================
   About
   ========================================================================== */
.about { padding: var(--section-pad) 0; background: var(--paper); }
.about__grid {
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.about__frame {
  /* Source photo is a 150x150 Instagram avatar — Instagram's URL is signed
     to that exact size, so a larger version isn't available. Shown near
     its native size as a circular headshot instead of stretched into a
     large portrait, which was the actual cause of the pixelation. */
  position: relative;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  overflow: hidden;
  clip-path: inset(0 0 100% 0 round 50%);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -22px rgba(32, 43, 40, 0.18);
}
.about__frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.about h2 { margin-bottom: 1.2rem; color: var(--ink); }
.about p { color: var(--ink-dim); margin-bottom: 1rem; }
.about p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding: var(--section-pad) 0 clamp(4rem, 8vw, 6rem); }
.contact__card {
  margin: 0 var(--gutter);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 40px 80px -36px rgba(32, 43, 40, 0.18);
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
}
.contact__card h2 { max-width: 16ch; color: var(--ink); }
.magnet-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 1.3rem 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--green);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  overflow: hidden;
  will-change: transform;
}
.magnet-btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--green);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}
.magnet-btn:hover::before { transform: translateY(0); }
.magnet-btn:hover { color: var(--white); }
.contact__row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.pending-chip {
  border: 1px dashed var(--border-strong);
  border-radius: 999px;
  padding: 0.65rem 1.3rem;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--ink-dim);
}
.social-row { display: flex; gap: 0.8rem; }
.social-row a {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.7rem; letter-spacing: 0.05em;
  color: var(--ink);
}
.fine-print { font-size: 0.78rem; color: var(--ink-dim); max-width: 50ch; opacity: 0.85; }
.notice-bar {
  position: relative; z-index: 5;
  text-align: center; font-weight: 700; font-size: 0.78rem;
  padding: 0.6rem 1rem;
  color: var(--white);
  background: var(--green);
}

footer.site-footer {
  position: relative; z-index: 2;
  padding: 2rem var(--gutter) 3rem;
  display: flex; justify-content: space-between; color: var(--ink-dim); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.05em;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Reduced motion — keep content usable, drop the show
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .scroll-cue .rail::after { animation: none; }
  * { scroll-behavior: auto !important; }
}
body.reduced-motion .hero__title .line > span,
body.reduced-motion .manifesto .word {
  filter: none !important; opacity: 1 !important; transform: none !important;
}
