/* =========================================================
   Solange Gonzalez Azcurra — UX Research Portfolio
   Editorial, warm, human. Cream + ink + terracotta + olive.
   ========================================================= */

:root {
  /* Palette ---------------------------------------------- */
  --bg:           #efe7d8;            /* cream paper */
  --bg-2:         #e7dccb;            /* deeper cream */
  --bg-3:         #ddd0b9;            /* sand */
  --ink:          #1a1916;            /* primary text */
  --ink-2:        #3b362f;            /* secondary */
  --ink-3:        #6e6557;            /* muted */
  --line:         #c9bba1;            /* hairline */
  --line-2:       #b5a684;            /* stronger hairline */
  --accent:       #b04e2a;            /* terracotta */
  --accent-deep:  #883a1d;            /* deeper terracotta */
  --olive:        #5a5a36;            /* olive */
  --paper:        #f6f0e3;            /* lighter card */
  --paper-2:      #f9f4ea;
  --warn:         #b85c39;
  --warn-2:       #c89446;
  --ok:           #5a6b3a;

  /* Typography ------------------------------------------- */
  --display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:    "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;

  /* Scale ------------------------------------------------ */
  --step--1: clamp(0.78rem, 0.74rem + 0.2vw, 0.86rem);
  --step-0:  clamp(0.95rem, 0.90rem + 0.25vw, 1.05rem);
  --step-1:  clamp(1.10rem, 1.02rem + 0.35vw, 1.25rem);
  --step-2:  clamp(1.35rem, 1.20rem + 0.7vw, 1.65rem);
  --step-3:  clamp(1.7rem, 1.45rem + 1.2vw, 2.25rem);
  --step-4:  clamp(2.2rem, 1.75rem + 2.1vw, 3.25rem);
  --step-5:  clamp(3.0rem, 2.2rem + 3.5vw, 4.75rem);
  --step-6:  clamp(4.0rem, 2.8rem + 6vw, 7.5rem);
  --step-7:  clamp(5.0rem, 3.5rem + 9vw, 11rem);

  /* Layout ----------------------------------------------- */
  --pad-x: clamp(20px, 4.5vw, 72px);
  --maxw: 1340px;
  --rule: 1px solid var(--line);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.55;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: italic; font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; }
strong { font-weight: 600; }

::selection { background: var(--accent); color: var(--bg); }

/* ---------- helpers ---------- */
.mono {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- grain overlay ---------- */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad-x);
  background: linear-gradient(to bottom, rgba(239,231,216,0.85), rgba(239,231,216,0));
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
  transition: background .35s ease, padding .35s ease;
}
.nav.is-scrolled {
  background: rgba(239,231,216,0.92);
  padding-top: 12px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(181,166,132,0.4);
}
.nav__mark {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: var(--display); font-size: 1.6rem; font-style: italic;
  line-height: 1; color: var(--ink);
}
.nav__mark-dot {
  display: inline-block; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  transform: translateY(-2px);
}
.nav__links {
  display: flex; gap: 28px;
  font-size: 0.92rem;
}
.nav__links a {
  position: relative;
  color: var(--ink-2);
  transition: color .2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.7,0,.2,1);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink-2);
  background: rgba(246,240,227,0.5);
  transition: background .25s, color .25s, border-color .25s;
}
.nav__cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nav__cta-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(90,107,58,0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(90,107,58,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(90,107,58,0); }
  100% { box-shadow: 0 0 0 0 rgba(90,107,58,0); }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__cta span:not(.nav__cta-dot) { display: none; }
  .nav__cta { padding: 8px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 120px var(--pad-x) 48px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero__meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px;
}
.hero__location { text-align: right; }

.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-7);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0;
  display: flex; flex-direction: column;
  gap: 0.04em;
}
.hero__title > span { display: block; }
.hero__italic em {
  color: var(--accent-deep);
  font-style: italic;
  letter-spacing: -0.01em;
}
.hero__sub {
  font-style: italic;
  color: var(--ink-2);
  font-size: 0.5em;
  letter-spacing: -0.005em;
  margin-top: 0.2em;
  padding-left: 1.2em;
  position: relative;
}
.hero__sub::before {
  content: "—";
  position: absolute; left: 0; color: var(--accent);
  font-style: normal;
}

.hero__foot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: end;
  margin-top: 56px;
}
.hero__lede {
  max-width: 56ch;
  font-size: var(--step-2);
  line-height: 1.35;
  color: var(--ink-2);
  font-weight: 300;
  margin: 0;
}
.hero__lede em { color: var(--ink); }

.hero__scroll {
  display: flex; align-items: center; gap: 14px;
  justify-self: end;
  align-self: end;
}
.hero__scroll-line {
  position: relative; display: inline-block;
  width: 64px; height: 1px; background: var(--line-2);
  overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 24px; background: var(--ink);
  animation: scrollLine 2.6s cubic-bezier(.7,0,.2,1) infinite;
}
@keyframes scrollLine {
  0%   { transform: translateX(-30px); }
  50%  { transform: translateX(64px); }
  100% { transform: translateX(64px); }
}

/* floating chips */
.hero__chip {
  position: absolute;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(246,240,227,0.6);
  backdrop-filter: blur(4px);
  font-size: 0.7rem;
  color: var(--ink-2);
  opacity: 0;
  animation: floatIn 1.2s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__chip--1 { top: 22%;  right: 8%;  animation-delay: 0.9s; transform: translateY(8px) rotate(-2deg); }
.hero__chip--2 { top: 36%;  right: 18%; animation-delay: 1.1s; transform: translateY(8px) rotate(1deg); }
.hero__chip--3 { top: 52%;  right: 6%;  animation-delay: 1.3s; transform: translateY(8px) rotate(-1deg); }
@keyframes floatIn {
  to { opacity: 1; transform: translateY(0) rotate(var(--r,0)); }
}
@media (max-width: 900px) {
  .hero__foot { grid-template-columns: 1fr; gap: 32px; }
  .hero__chip { display: none; }
  .hero__scroll { justify-self: start; }
}

/* ============================================================
   SECTION CHROME
   ============================================================ */
.section-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  border-top: var(--rule);
  padding-top: 48px;
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  align-items: start;
}
.section-head--center {
  grid-template-columns: 1fr;
  text-align: left;
}
.section-num { color: var(--ink-3); padding-top: 8px; }
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-4);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 22ch;
  color: var(--ink);
}
.section-title--big {
  font-size: var(--step-5);
  max-width: 18ch;
}
.section-title em { color: var(--accent-deep); }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 96px 0 80px;
}
.about__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
}
.about__copy p {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
  margin-bottom: 1.5em;
}
.about__copy p:first-child::first-letter {
  font-family: var(--display);
  font-size: 3.4em;
  float: left;
  line-height: 0.85;
  padding: 0.12em 0.12em 0 0;
  color: var(--accent-deep);
  font-style: italic;
}

.about__side { display: flex; flex-direction: column; gap: 24px; }
.card-stat {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.card-stat::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, var(--accent), var(--olive));
}
.card-stat__num {
  font-family: var(--display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--ink);
  font-style: italic;
  display: inline-block;
}
.card-stat__suffix {
  font-family: var(--display);
  font-size: 2.5rem;
  color: var(--accent);
  vertical-align: top;
}
.card-stat p {
  margin: 12px 0 0;
  font-size: 0.92rem;
  color: var(--ink-2);
  max-width: 28ch;
}

.kv {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.kv__k { display: block; margin-bottom: 10px; }
.kv__v { font-size: 0.95rem; color: var(--ink-2); margin: 0; }
.chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.chips li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink-2);
  background: var(--paper-2);
}
.chips--alt li {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================
   PROCESS
   ============================================================ */
.process { padding: 96px 0 96px; background: var(--bg-2); position: relative; }
.process::before, .process::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line-2);
}
.process::before { top: 0; }
.process::after { bottom: 0; }
.steps {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
}
.step {
  padding: 28px 24px 28px 0;
  border-left: 1px solid var(--line-2);
  padding-left: 24px;
  position: relative;
  min-height: 280px;
  display: flex; flex-direction: column;
}
.step:first-child { padding-left: 0; border-left: 0; }
.step__num {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.step__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-3);
  margin: 0 0 12px;
  line-height: 1;
  color: var(--ink);
}
.step p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 16px;
  flex: 1;
}
.step__bits { display: flex; flex-direction: column; gap: 4px; font-size: 0.7rem; }
.step__bits li { color: var(--ink-3); }
.step__bits li::before { content: "·  "; color: var(--accent); }

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-left: none; padding-left: 0; border-top: 1px solid var(--line-2); padding-top: 24px; min-height: auto; }
  .step:first-child, .step:nth-child(2) { border-top: 0; padding-top: 0; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(2) { border-top: 1px solid var(--line-2); padding-top: 24px; }
}

/* ============================================================
   WORK INDEX
   ============================================================ */
.work-intro {
  padding: 96px 0 32px;
}
.work-index {
  max-width: var(--maxw);
  margin: 64px auto 0;
  padding: 0 var(--pad-x);
  border-top: 1px solid var(--line-2);
}
.work-index li { border-bottom: 1px solid var(--line-2); }
.work-index a {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  gap: 24px;
  align-items: baseline;
  padding: 32px 0;
  font-family: var(--display);
  font-size: var(--step-3);
  color: var(--ink);
  transition: color .25s, padding .35s cubic-bezier(.7,0,.2,1);
  position: relative;
}
.work-index a::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--ink); width: 0;
  transition: width .45s cubic-bezier(.7,0,.2,1);
  z-index: -1;
}
.work-index a:hover { padding-left: 24px; color: var(--bg); }
.work-index a:hover::before { width: 100%; left: -24px; right: -24px; padding-left: 24px; padding-right: 24px; width: calc(100% + 48px); }
.work-index a span:first-child { color: var(--ink-3); font-family: var(--mono); font-size: 0.78rem; }
.work-index a span:last-child { text-align: right; color: var(--ink-3); font-family: var(--mono); font-size: 0.78rem; }
.work-index a:hover span:first-child,
.work-index a:hover span:last-child { color: var(--bg-2); }

@media (max-width: 600px) {
  .work-index a { font-size: var(--step-2); grid-template-columns: 50px 1fr 60px; gap: 12px; }
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case {
  padding: 0 0 96px;
  position: relative;
}
.case--alt { background: var(--bg-2); }
.case--alt + .case { background: var(--bg); }

.case__hero {
  padding: 80px var(--pad-x) 64px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-2);
}
.case__hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}
.case__index {
  color: var(--accent);
  display: inline-block;
  margin-bottom: 24px;
}
.case__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-5);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 18ch;
  color: var(--ink);
  grid-column: 1;
}
.case__title em { color: var(--accent-deep); }
.case__kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  grid-column: 1;
}
.case__meta {
  grid-column: 1;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  margin: 40px 0 0; padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.case__meta div { display: flex; flex-direction: column; gap: 4px; }
.case__meta dt { color: var(--ink-3); }
.case__meta dd { margin: 0; font-size: 0.95rem; color: var(--ink); }

/* place mock on the right */
.case__hero .mock {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: stretch;
  justify-self: end;
}

@media (max-width: 1000px) {
  .case__hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .case__hero .mock { grid-column: 1; grid-row: auto; justify-self: stretch; }
  .case__title { grid-column: 1; }
}

/* CASE BODY -------------------------------------------------- */
.case__body {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px var(--pad-x) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}
.case__block {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.case__block-num {
  color: var(--ink-3);
  position: sticky;
  top: 100px;
  align-self: start;
}
.case__block > :not(.case__block-num) { grid-column: 2; }
.case__block p {
  font-size: var(--step-1);
  color: var(--ink-2);
  max-width: 62ch;
}
.case__lede {
  font-family: var(--display);
  font-size: var(--step-2) !important;
  line-height: 1.3;
  color: var(--ink) !important;
  font-style: italic;
  font-weight: 400;
  max-width: 28ch !important;
}

@media (max-width: 800px) {
  .case__block { grid-template-columns: 1fr; gap: 16px; padding-top: 40px; }
  .case__block > :not(.case__block-num) { grid-column: 1; }
  .case__block-num { position: static; }
}

/* bullets ---------------------------------------------------- */
.bullets li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px dashed var(--line);
  font-size: var(--step-0);
  color: var(--ink-2);
  line-height: 1.5;
}
.bullets li:last-child { border-bottom: 0; }
.bullets li::before {
  content: ""; position: absolute; left: 0; top: 22px;
  width: 14px; height: 1px; background: var(--accent);
}
.bullets--inline { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.bullets--inline li { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); }
.bullets--inline li::before { display: none; }
.bullets--num { counter-reset: b; }
.bullets--num li { counter-increment: b; padding-left: 40px; }
.bullets--num li::before {
  content: counter(b, decimal-leading-zero);
  background: transparent; width: auto; height: auto;
  font-family: var(--mono); font-size: 0.78rem; color: var(--accent);
  top: 14px;
}

/* tables ---------------------------------------------------- */
.table-wrap {
  margin: 24px 0 0;
  border: 1px solid var(--line-2);
  background: var(--paper);
  overflow-x: auto;
}
.table-wrap figcaption {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-3);
  background: var(--paper-2);
}
.r-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.r-table th, .r-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.r-table thead th {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  background: var(--paper-2);
}
.r-table tbody tr:last-child td { border-bottom: 0; }
.r-table--data tbody tr:hover { background: rgba(176,78,42,0.06); }
.r-table td.mono { color: var(--accent-deep); font-size: 0.75rem; }

.sev {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.sev--hi { background: var(--accent); color: var(--bg); }
.sev--md { background: var(--warn-2); color: #2a2008; }

/* findings -------------------------------------------------- */
.findings { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.findings__col h4 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--step-2);
  margin: 0 0 12px;
  color: var(--accent-deep);
}
@media (max-width: 700px) {
  .findings { grid-template-columns: 1fr; }
}

/* insights -------------------------------------------------- */
.insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.insight {
  margin: 0;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.insight::before {
  content: """;
  position: absolute; top: -32px; right: 12px;
  font-family: var(--display);
  font-size: 7rem;
  color: var(--accent);
  opacity: 0.18;
  line-height: 1;
  font-style: italic;
}
.insight__tag {
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.insight p {
  font-family: var(--display);
  font-size: var(--step-1) !important;
  line-height: 1.4 !important;
  color: var(--ink) !important;
  margin: 0 !important;
  max-width: none !important;
  font-style: italic;
}
.insight p em { color: var(--accent-deep); }
@media (max-width: 900px) { .insights { grid-template-columns: 1fr; } }

/* solo insight — featured large card */
.insights--solo { grid-template-columns: 1fr; }
.insights--solo .insight { padding: 40px 48px; }
.insights--solo .insight p {
  font-size: var(--step-3) !important;
  line-height: 1.25 !important;
  max-width: 32ch !important;
}
.insights--solo .insight::before { font-size: 12rem; top: -50px; right: 32px; }

/* reco ------------------------------------------------------ */
.reco { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.reco h4 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--step-2);
  margin: 0 0 16px;
  color: var(--accent-deep);
}
.reco__impact {
  padding: 24px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 2px;
  position: relative;
}
.reco__impact h4 { color: var(--bg); }
.reco__impact p { color: var(--bg-2) !important; margin: 0 !important; font-size: var(--step-1) !important; }
.reco__impact em { color: var(--bg) !important; }
@media (max-width: 800px) { .reco { grid-template-columns: 1fr; gap: 24px; } }

/* tasks ---------------------------------------------------- */
.tasks { margin-top: 24px; padding: 20px; background: var(--paper); border: 1px solid var(--line); }
.tasks__label { display: block; margin-bottom: 12px; color: var(--ink-3); }
.tasks__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tasks__list li {
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px; background: var(--paper-2); border: 1px solid var(--line);
  font-size: 0.85rem;
}
.tasks__list li span:first-child { color: var(--accent); font-size: 0.68rem; }
@media (max-width: 760px) { .tasks__list { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   MOCKS (decorative dashboard / queue / spotify)
   ============================================================ */
.mock {
  width: 100%; max-width: 520px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(40,30,20,0.18),
              0 8px 18px -10px rgba(40,30,20,0.18);
  overflow: hidden;
  transform: rotate(0.5deg);
}
.mock__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line-2);
}
.mock__bar > span:not(.mock__tag) {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--line-2);
}
.mock__tag {
  margin-left: auto;
  font-family: var(--mono); font-size: 0.68rem; color: var(--ink-3);
}

/* bienestar dashboard --------------------------------------- */
.mock__body { display: grid; grid-template-columns: 56px 1fr; min-height: 280px; }
.mock__sidebar {
  display: flex; flex-direction: column; gap: 16px;
  padding: 20px 0; align-items: center;
  border-right: 1px solid var(--line);
  background: var(--paper-2);
}
.mock__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line-2);
}
.mock__dot.is-active {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(176,78,42,0.15);
}
.mock__panels { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.mock__pill {
  display: inline-block; padding: 6px 14px;
  background: var(--bg-3); border-radius: 999px;
  font-size: 0.78rem; color: var(--ink-2);
  align-self: flex-start;
}
.mock__pill--lg {
  background: var(--ink); color: var(--bg);
}
.mock__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px;
}
.mock__card {
  padding: 14px; background: var(--bg); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
  min-height: 70px;
}
.mock__card--full { grid-column: span 2; }
.mock__lbl { color: var(--ink-3); }
.mock__big { font-family: var(--display); font-size: 1.6rem; color: var(--ink); line-height: 1; }
.mock__line {
  height: 8px; background: var(--bg-2); border-radius: 2px; margin-top: 6px;
}
.mock__line--s { width: 60%; }

/* SaaS queue ----------------------------------------------- */
.mock--saas { transform: rotate(-0.5deg); }
.mock__queue { padding: 16px; display: flex; flex-direction: column; gap: 8px; min-height: 280px; }
.qrow {
  display: grid;
  grid-template-columns: 78px 78px 1fr 40px;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.qcar { font-size: 0.72rem; color: var(--ink); }
.qstate {
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  text-align: center;
}
.qstate--wash { background: rgba(176,78,42,0.15); color: var(--accent-deep); }
.qstate--wait { background: var(--bg-3); color: var(--ink-2); }
.qstate--done { background: rgba(90,107,58,0.18); color: var(--ok); }
.qstate--dry { background: rgba(200,148,70,0.2); color: #6a4d12; }
.qbar { display: block; height: 4px; background: var(--bg-3); border-radius: 2px; position: relative; overflow: hidden; }
.qbar i { display: block; height: 100%; background: var(--accent); }
.qmin { color: var(--ink-3); font-size: 0.68rem; text-align: right; }

/* Spotify-ish ----------------------------------------------- */
.mock--spot { transform: rotate(0.4deg); background: #181612; border-color: #2a251e; }
.mock--spot .mock__bar { background: #221d17; border-bottom-color: #2a251e; }
.mock--spot .mock__tag { color: #8b7d6a; }
.mock__wave {
  display: flex; align-items: flex-end; justify-content: space-between;
  height: 90px; padding: 20px 24px 0;
  gap: 4px;
}
.mock__wave span {
  flex: 1; background: linear-gradient(to top, var(--accent), #e8a071);
  border-radius: 2px;
  animation: wave 1.8s ease-in-out infinite;
}
.mock__wave span:nth-child(1)  { height: 35%; animation-delay: -.1s; }
.mock__wave span:nth-child(2)  { height: 60%; animation-delay: -.2s; }
.mock__wave span:nth-child(3)  { height: 80%; animation-delay: -.3s; }
.mock__wave span:nth-child(4)  { height: 45%; animation-delay: -.4s; }
.mock__wave span:nth-child(5)  { height: 70%; animation-delay: -.5s; }
.mock__wave span:nth-child(6)  { height: 30%; animation-delay: -.6s; }
.mock__wave span:nth-child(7)  { height: 55%; animation-delay: -.7s; }
.mock__wave span:nth-child(8)  { height: 75%; animation-delay: -.8s; }
.mock__wave span:nth-child(9)  { height: 40%; animation-delay: -.9s; }
.mock__wave span:nth-child(10) { height: 90%; animation-delay: -1s; }
.mock__wave span:nth-child(11) { height: 50%; animation-delay: -1.1s; }
.mock__wave span:nth-child(12) { height: 65%; animation-delay: -1.2s; }
.mock__wave span:nth-child(13) { height: 30%; animation-delay: -1.3s; }
.mock__wave span:nth-child(14) { height: 80%; animation-delay: -1.4s; }
.mock__wave span:nth-child(15) { height: 55%; animation-delay: -1.5s; }
.mock__wave span:nth-child(16) { height: 40%; animation-delay: -1.6s; }
.mock__wave span:nth-child(17) { height: 70%; animation-delay: -1.7s; }
.mock__wave span:nth-child(18) { height: 35%; animation-delay: -1.8s; }
.mock__wave span:nth-child(19) { height: 60%; animation-delay: -1.9s; }
.mock__wave span:nth-child(20) { height: 50%; animation-delay: -2s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.6); opacity: 0.6; }
  50%      { transform: scaleY(1.05); opacity: 1; }
}
.mock__track {
  display: flex; gap: 14px; align-items: center;
  padding: 20px 24px;
}
.mock__cover {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--accent) 0%, #d8915f 50%, #5a5a36 100%);
  border-radius: 4px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
  flex-shrink: 0;
}
.mock__track-title { display: block; color: #f1e8d8; font-size: 1rem; font-family: var(--display); font-style: italic; }
.mock__track-sub { display: block; color: #8b7d6a; margin-top: 4px; }
.mock__pills { display: flex; gap: 6px; padding: 0 24px 20px; }
.mock__pills span {
  padding: 5px 12px; border: 1px solid #3a3128; border-radius: 999px;
  font-size: 0.72rem; color: #c4b59e;
  background: #221d17;
}
.mock__pills span:first-child { background: var(--accent); border-color: var(--accent); color: #f1ebe0; }

/* ============================================================
   CONTACT + FOOT
   ============================================================ */
.contact {
  padding: 120px var(--pad-x);
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  position: relative;
}
.contact .section-num { color: var(--bg-3); display: inline-block; margin-bottom: 32px; }
.contact__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--step-6);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 auto;
  max-width: 16ch;
  color: var(--bg);
}
.contact__title em { color: #e8a071; }
.contact__lede {
  margin: 32px auto 48px;
  max-width: 52ch;
  font-size: var(--step-1);
  color: var(--bg-3);
}
.contact__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px;
  border-radius: 999px;
  font-size: 1rem;
  transition: transform .25s, background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { transition: transform .35s cubic-bezier(.7,0,.2,1); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: #d8915f; }
.btn--ghost { border: 1px solid rgba(246,240,227,0.3); color: var(--bg); }
.btn--ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

.foot {
  background: var(--ink);
  color: var(--bg-3);
  padding: 32px var(--pad-x) 0;
  border-top: 1px solid #2a2723;
  position: relative;
  overflow: hidden;
}
.foot__row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 0.8rem;
}
.foot__mark { font-family: var(--display); font-style: italic; font-size: 1.4rem; color: var(--bg); }
.foot__loc { text-align: right; }
.foot__big {
  font-family: var(--display);
  font-size: clamp(5rem, 16vw, 16rem);
  color: #2a2723;
  line-height: 1;
  text-align: center;
  margin-top: 16px;
  letter-spacing: -0.04em;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}
@media (max-width: 600px) {
  .foot__row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .foot__loc { text-align: left; }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-stagger] { transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
