/* ============================================================
   launch.pour.now — page layout
   Extends tokens.css. Builds the MQL surface as an editorial spread.
   ============================================================ */

/* ---------- Reset niceties (additive) ---------- */
*, *::before, *::after { box-sizing: border-box; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; padding: 0; color: inherit; }

/* ---------- Page shell ---------- */
.shell {
  max-width: var(--pn-maxw);
  margin: 0 auto;
  padding: 0 var(--pn-s-5);
}

/* ---------- Sticky nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 251, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pn-line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  height: 28px;
  width: auto;
  filter: contrast(1.05);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--pn-s-5);
}
.nav-link {
  font-family: var(--pn-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pn-ink-muted);
  text-decoration: none;
}
.nav-link:hover { color: var(--pn-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--pn-s-2);
  padding: 14px 22px;
  border-radius: var(--pn-r-md);
  font-family: var(--pn-font-body);
  font-weight: var(--pn-w-medium);
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    transform var(--pn-dur) var(--pn-ease),
    box-shadow var(--pn-dur) var(--pn-ease),
    background-color var(--pn-dur) var(--pn-ease);
}
.btn-primary {
  background: var(--pn-naranja);
  color: #fff;
  box-shadow: var(--pn-shadow-sm);
}
.btn-primary:hover {
  background: var(--pn-naranja-deep);
  transform: translateY(-1px);
  box-shadow: var(--pn-shadow-lift);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--pn-selva);
  border: 1.5px solid var(--pn-selva);
}
.btn-secondary:hover {
  background: var(--pn-selva-soft);
  transform: translateY(-1px);
  color: var(--pn-selva-deep);
}
.btn-link {
  color: var(--pn-ink);
  text-decoration: none;
  font-weight: var(--pn-w-medium);
  border-bottom: 1px solid var(--pn-line-strong);
  padding-bottom: 2px;
  transition: color var(--pn-dur) var(--pn-ease), border-color var(--pn-dur) var(--pn-ease);
}
.btn-link:hover { color: var(--pn-naranja); border-color: var(--pn-naranja); }
.btn .arrow {
  display: inline-block;
  transition: transform var(--pn-dur) var(--pn-ease);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(64px, 10vw, 128px) 0 clamp(64px, 9vw, 112px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pn-s-7);
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 280px; align-items: end; }
}

.hero-eyebrow {
  margin-bottom: var(--pn-s-6);
  color: var(--pn-naranja);
}

.hero-display {
  font-family: var(--pn-font-display);
  font-size: clamp(56px, 8.5vw, 120px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--pn-ink);
  font-weight: 300;
  margin: 0 0 var(--pn-s-6);
  max-width: 14ch;
  text-wrap: balance;
}
.hero-display em {
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--pn-ink-soft);
  max-width: 56ch;
  margin: 0 0 var(--pn-s-7);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--pn-s-5);
}
.hero-side {
  display: none;
  position: relative;
}
@media (min-width: 960px) {
  .hero-side { display: block; }
}
.hero-side-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--pn-s-3);
}
.hero-side-list li {
  font-family: var(--pn-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pn-ink-muted);
  position: relative;
  padding-left: 18px;
}
.hero-side-list li::before {
  content: '✶';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--pn-naranja);
  font-size: 11px;
}

/* Decorative editorial flourish — a single hand-drawn arc anchored to the hero */
.hero-flourish {
  position: absolute;
  top: 50%;
  right: -120px;
  width: 360px;
  height: 360px;
  opacity: 0.35;
  pointer-events: none;
  transform: translateY(-50%) rotate(-12deg);
}

/* ---------- Section primitives ---------- */
.section {
  padding: clamp(64px, 8vw, 112px) 0;
  border-top: 1px solid var(--pn-line);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--pn-s-5);
  margin-bottom: var(--pn-s-8);
  flex-wrap: wrap;
}
.section-title {
  font-family: var(--pn-font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
  max-width: 18ch;
}
.section-title em { font-style: italic; }
.section-meta {
  font-family: var(--pn-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pn-ink-muted);
}

/* ─────────────────────────────────────────────────────────
   PROOF CAROUSEL — 3D card flip with editorial front face
   and Naranja results face on the back.
   ───────────────────────────────────────────────────────── */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pn-s-5);
}
@media (min-width: 720px)  { .proof-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .proof-grid { grid-template-columns: 1fr 1fr 1fr; } }

.proof-tile {
  position: relative;
  height: 540px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
  border-radius: var(--pn-r-lg);
}

/* Cross-fade flip container — front and back stacked, opacity swaps on hover.
   Subtle scale + translate gives the perceptual feeling of a card transition
   without requiring a 3D compositor (more reliable than rotateY for screenshots
   and reduced-motion compliance). */
.proof-flip {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--pn-r-lg);
  box-shadow: var(--pn-shadow-md);
  transition: box-shadow var(--pn-dur) var(--pn-ease);
  overflow: hidden;
}

.proof-flip-face {
  position: absolute;
  inset: 0;
  border-radius: var(--pn-r-lg);
  padding: var(--pn-s-6);
  display: flex;
  flex-direction: column;
  gap: var(--pn-s-4);
  overflow: hidden;
  transition:
    opacity 320ms cubic-bezier(0.45, 0, 0.2, 1),
    transform 460ms cubic-bezier(0.45, 0, 0.2, 1);
}

.proof-flip-front {
  background: var(--pn-surface);
  opacity: 1;
  transform: translateY(0) scale(1);
  z-index: 2;
}

.proof-flip-back {
  background: var(--pn-naranja);
  color: #fff;
  justify-content: space-between;
  padding: var(--pn-s-7) var(--pn-s-6) var(--pn-s-6);
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  z-index: 1;
}

/* Hover-capable devices: cross-fade on hover */
@media (hover: hover) and (pointer: fine) {
  .proof-tile:hover .proof-flip,
  .proof-tile:focus-visible .proof-flip {
    box-shadow: var(--pn-shadow-lg);
  }
  .proof-tile:hover .proof-flip-front,
  .proof-tile:focus-visible .proof-flip-front {
    opacity: 0;
    transform: translateY(-12px) scale(0.985);
    pointer-events: none;
  }
  .proof-tile:hover .proof-flip-back,
  .proof-tile:focus-visible .proof-flip-back {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  .proof-tile:focus-visible {
    outline: 3px solid var(--pn-naranja);
    outline-offset: 4px;
    border-radius: var(--pn-r-lg);
  }
}

/* Touch / small screens: back stacks below front, no fade */
@media (max-width: 719px), (hover: none), (pointer: coarse) {
  .proof-tile {
    height: auto;
    min-height: 0;
  }
  .proof-flip { overflow: visible; }
  .proof-flip-face {
    position: relative;
    inset: auto;
    transition: none;
    transform: none;
    opacity: 1;
  }
  .proof-flip-back {
    margin-top: var(--pn-s-3);
    transform: none;
  }
}

/* ── person header (front) ────────────────────────────── */
.proof-person {
  display: flex;
  align-items: center;
  gap: var(--pn-s-4);
}
.proof-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: var(--pn-r-pill);
  background: var(--pn-naranja);
  color: #FFF0E0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 90, 77, 0.28);
  overflow: hidden;
}
.proof-avatar--alt {
  background: var(--pn-selva);
  color: #FFF0E0;
  box-shadow: 0 4px 12px rgba(14, 91, 61, 0.22);
}
.proof-avatar svg {
  width: 44px;
  height: 44px;
  display: block;
}
.proof-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.proof-name {
  font-family: var(--pn-font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--pn-ink);
}
.proof-role {
  font-family: var(--pn-font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--pn-ink-soft);
  line-height: 1.25;
}
.proof-brand {
  font-family: var(--pn-font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--pn-ink-muted);
}

/* ── quote ────────────────────────────────────────────── */
.proof-quote {
  font-family: var(--pn-font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.35;
  color: var(--pn-ink);
  margin: 0;
  padding: 0;
  letter-spacing: -0.005em;
}

/* ── listing thumbnail (real screenshot image) ───────── */
.proof-listing-img {
  margin-top: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: var(--pn-r-md);
  background: var(--pn-surface-2);
  box-shadow: 0 1px 3px rgba(26, 22, 20, 0.08);
  transition: transform var(--pn-dur) var(--pn-ease);
}
.proof-tile:hover .proof-listing-img { transform: scale(1.01); }

/* Legacy CSS-mock thumb styles — kept harmless for any future use */
.proof-listing-thumb {
  margin-top: auto;
  background: var(--pn-surface-2);
  border-radius: var(--pn-r-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.thumb-product {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 2px 2px;
}
.thumb-product-brand {
  font-family: var(--pn-font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pn-ink-muted);
  font-weight: 600;
}
.thumb-product-name {
  font-family: var(--pn-font-display);
  font-style: italic;
  font-size: 14px;
  line-height: 1.1;
  color: var(--pn-ink);
}
.thumb-card {
  background: var(--pn-surface);
  border-radius: 8px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 2px rgba(26, 22, 20, 0.04);
}
.thumb-tag {
  font-family: var(--pn-font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: var(--pn-r-pill);
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.thumb-tag--nearest { background: var(--pn-naranja); }
.thumb-tag--best    { background: var(--pn-selva); }
.thumb-tag--fastest { background: var(--pn-desierto); color: var(--pn-ink); }
.thumb-tag--pickup  { background: var(--pn-selva); }
.thumb-tag--ship    { background: var(--pn-ink); }
.thumb-retailer {
  font-family: var(--pn-font-body);
  font-size: 11px;
  color: var(--pn-ink-soft);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.thumb-price {
  font-family: var(--pn-font-mono);
  font-size: 11px;
  color: var(--pn-ink);
  font-weight: 600;
  text-align: right;
}

/* ── back face (results) ──────────────────────────────── */
.back-tag {
  font-family: var(--pn-font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--pn-s-2);
}
.back-metric {
  font-family: var(--pn-font-display);
  font-size: clamp(40px, 4.2vw, 64px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
  flex: 0 0 auto;
}
.back-metric em {
  font-style: italic;
  font-weight: 400;
}
.back-sub {
  font-family: var(--pn-font-body);
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  max-width: 32ch;
}
.back-cta {
  margin-top: var(--pn-s-3);
  display: inline-flex;
  align-items: center;
  gap: var(--pn-s-2);
  align-self: flex-start;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--pn-r-pill);
  font-family: var(--pn-font-body);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.back-cta .arrow { transition: transform var(--pn-dur) var(--pn-ease); }
.proof-tile:hover .back-cta .arrow { transform: translateX(3px); }

/* Reduced-motion: keep the flip but make it instant */
@media (prefers-reduced-motion: reduce) {
  .proof-flip { transition: none; }
}

/* ── Naranja phrase highlight (used in hero subhead) ── */
.pn-tinted {
  background-image: linear-gradient(to top, rgba(255, 90, 77, 0.22) 38%, transparent 38%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 0 2px;
}
.pn-tinted-deep {
  color: var(--pn-naranja-deep);
  font-weight: 500;
}

/* ---------- LOGO WALL (set as type) ---------- */
.brands {
  background: var(--pn-surface-2);
  margin-top: 0;
}
.brand-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--pn-s-6) var(--pn-s-7);
  align-items: center;
}
@media (min-width: 720px)  { .brand-wall { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1040px) { .brand-wall { grid-template-columns: repeat(4, 1fr); } }

.brand {
  position: relative;
  padding: var(--pn-s-4) 0;
  text-align: left;
}
.brand-name {
  font-family: var(--pn-font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1;
  color: var(--pn-ink);
  letter-spacing: -0.02em;
  display: block;
  transition: color var(--pn-dur) var(--pn-ease), transform var(--pn-dur) var(--pn-ease);
}
.brand--italic .brand-name { font-style: italic; font-weight: 300; }
.brand--bold   .brand-name { font-weight: 600; letter-spacing: -0.025em; }
.brand--light  .brand-name { font-weight: 200; }
.brand-metric {
  font-family: var(--pn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pn-ink-muted);
  margin-top: var(--pn-s-2);
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity var(--pn-dur) var(--pn-ease), transform var(--pn-dur) var(--pn-ease);
}
.brand:hover .brand-metric {
  opacity: 1;
  transform: translateY(0);
}
.brand:hover .brand-name {
  color: var(--pn-naranja);
}

/* ---------- AGGREGATION TRIPTYCH ---------- */
.triptych {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pn-s-7);
  position: relative;
}
@media (min-width: 800px) {
  .triptych { grid-template-columns: 1fr 1fr 1fr; gap: var(--pn-s-6); }
}
.tri {
  padding: var(--pn-s-5) 0;
}
.tri-icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--pn-s-5);
  color: var(--pn-naranja);
}
.tri-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; }
.tri-label {
  font-family: var(--pn-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pn-ink-muted);
  margin-bottom: var(--pn-s-3);
}
.tri-head {
  font-family: var(--pn-font-display);
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 var(--pn-s-4);
  letter-spacing: -0.02em;
}
.tri-body {
  font-size: 16px;
  line-height: 1.55;
  color: var(--pn-ink-soft);
  margin: 0;
  max-width: 30ch;
}

/* ---------- CHAPTER EXCERPT ---------- */
.chapter-excerpt {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pn-s-7);
  align-items: start;
}
@media (min-width: 960px) {
  .chapter-excerpt { grid-template-columns: 1fr 1.2fr; gap: var(--pn-s-9); }
}
.excerpt-meta {
  font-family: var(--pn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pn-ink-muted);
  margin-bottom: var(--pn-s-4);
}
.excerpt-title {
  font-family: var(--pn-font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 var(--pn-s-6);
}
.excerpt-title em { font-style: italic; }
.excerpt-byline {
  font-family: var(--pn-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--pn-ink-muted);
  text-transform: uppercase;
}
.excerpt-body p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--pn-ink-soft);
  margin: 0 0 1.1em;
  max-width: 58ch;
}
.excerpt-body p:first-of-type::first-letter {
  font-family: var(--pn-font-display);
  font-weight: 300;
  font-size: 3.6em;
  float: left;
  line-height: 0.85;
  margin: 8px 14px 0 -2px;
  color: var(--pn-naranja);
}
.excerpt-cta {
  margin-top: var(--pn-s-5);
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--pn-line);
  padding: var(--pn-s-8) 0 var(--pn-s-7);
  background: var(--pn-canvas);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pn-s-6);
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1fr auto auto; align-items: center; }
}
.footer-mark {
  font-family: var(--pn-font-display);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--pn-ink);
}
.footer-mark em { font-style: italic; color: var(--pn-naranja); }
.footer-meta {
  font-family: var(--pn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pn-ink-muted);
  margin-top: var(--pn-s-5);
  padding-top: var(--pn-s-5);
  border-top: 1px solid var(--pn-line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--pn-s-3);
}

/* ---------- ANCHORED RIGHT RAIL ---------- */
.rail {
  display: none;
}
@media (min-width: 1280px) {
  .rail {
    display: block;
    position: fixed;
    right: var(--pn-s-6);
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    z-index: 50;
    padding: var(--pn-s-5);
    background: var(--pn-surface);
    border-radius: var(--pn-r-lg);
    box-shadow: var(--pn-shadow-md);
  }
}
.rail-kicker {
  font-family: var(--pn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--pn-ink-muted);
  margin-bottom: var(--pn-s-4);
}
.rail-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: var(--pn-s-4);
}
.rail-attr {
  font-family: var(--pn-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--pn-ink-muted);
  line-height: 1.4;
}

/* ---------- MOBILE STICKY CTA BAR ---------- */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(253, 252, 251, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--pn-line);
  padding: var(--pn-s-3) var(--pn-s-4);
  z-index: 60;
  display: flex;
  justify-content: center;
}
@media (min-width: 1280px) {
  .mobile-cta { display: none; }
}
.mobile-cta .btn-primary { width: 100%; max-width: 360px; justify-content: center; }

/* ---------- CHAPTER PAGE ---------- */
.article-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 112px) var(--pn-s-5);
}
.article-meta {
  font-family: var(--pn-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pn-ink-muted);
  margin-bottom: var(--pn-s-6);
}
.article-title {
  font-family: var(--pn-font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 var(--pn-s-6);
}
.article-title em { font-style: italic; }
.article-byline {
  font-family: var(--pn-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pn-ink-muted);
  border-top: 1px solid var(--pn-line);
  border-bottom: 1px solid var(--pn-line);
  padding: var(--pn-s-4) 0;
  margin: var(--pn-s-7) 0 var(--pn-s-8);
  display: flex;
  justify-content: space-between;
}
.article-body p {
  font-family: var(--pn-font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--pn-ink-soft);
  margin: 0 0 1.3em;
  max-width: none;
}
.article-body p:first-of-type::first-letter {
  font-family: var(--pn-font-display);
  font-weight: 300;
  font-size: 4em;
  float: left;
  line-height: 0.85;
  margin: 12px 14px 0 -2px;
  color: var(--pn-naranja);
}
.pullquote {
  font-family: var(--pn-font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  color: var(--pn-ink);
  margin: var(--pn-s-8) 0;
  padding: 0 var(--pn-s-6);
  border-left: 2px solid var(--pn-naranja);
  max-width: 32ch;
}
.article-foot {
  margin-top: var(--pn-s-9);
  padding-top: var(--pn-s-6);
  border-top: 1px solid var(--pn-line);
  display: flex;
  flex-direction: column;
  gap: var(--pn-s-4);
}
@media (min-width: 720px) {
  .article-foot { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- RECEIPT PAGE ---------- */
.receipt-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pn-s-7) var(--pn-s-5);
  background:
    radial-gradient(circle at 20% 30%, rgba(255,90,77,0.04), transparent 60%),
    var(--pn-canvas);
}
.receipt {
  background: var(--pn-surface);
  padding: var(--pn-s-8) var(--pn-s-7) var(--pn-s-7);
  box-shadow: var(--pn-shadow-md);
  max-width: 480px;
  width: 100%;
  font-family: var(--pn-font-mono);
  font-size: 13px;
  color: var(--pn-ink);
  position: relative;
  /* tear-edge top — zigzag mask */
  -webkit-mask:
    radial-gradient(circle at 6px 0, transparent 5px, #000 5.5px) repeat-x top / 12px 12px,
    linear-gradient(#000, #000);
          mask:
    radial-gradient(circle at 6px 0, transparent 5px, #000 5.5px) repeat-x top / 12px 12px,
    linear-gradient(#000, #000);
  -webkit-mask-composite: source-over;
          mask-composite: add;
  -webkit-mask-size: 12px 12px, 100% calc(100% - 8px);
          mask-size: 12px 12px, 100% calc(100% - 8px);
  -webkit-mask-position: top, bottom;
          mask-position: top, bottom;
  -webkit-mask-repeat: repeat-x, no-repeat;
          mask-repeat: repeat-x, no-repeat;
}
.receipt-title {
  font-family: var(--pn-font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  margin: 0 0 var(--pn-s-5);
  color: var(--pn-ink);
}
.receipt-rule {
  border: none;
  border-top: 1px dashed var(--pn-line-strong);
  margin: var(--pn-s-4) 0;
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--pn-s-4);
  font-size: 13px;
  padding: 6px 0;
  letter-spacing: -0.005em;
}
.receipt-label {
  color: var(--pn-ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
}
.receipt-value {
  color: var(--pn-ink);
  text-align: right;
  font-weight: 500;
}
.receipt-foot {
  margin-top: var(--pn-s-5);
  text-align: center;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--pn-naranja);
}
.receipt-note {
  margin-top: var(--pn-s-6);
  font-family: var(--pn-font-body);
  font-size: 14px;
  color: var(--pn-ink-muted);
  text-align: center;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

/* ---------- Reveal animations (page load) ---------- */
@keyframes pn-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: pn-fade-up 600ms var(--pn-ease-out) both;
}
.reveal-1 { animation-delay: 80ms; }
.reveal-2 { animation-delay: 180ms; }
.reveal-3 { animation-delay: 280ms; }
.reveal-4 { animation-delay: 380ms; }
.reveal-5 { animation-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-1, .reveal-2, .reveal-3, .reveal-4, .reveal-5 { animation: none; }
}

/* ---------- Decorative hand arrow (SVG inline) ---------- */
.hand-arrow {
  position: absolute;
  pointer-events: none;
  color: var(--pn-naranja);
}

/* ============================================================
   SUB-PAGE LAYOUTS — about / team / partners / gallery
   ============================================================ */

/* ---------- Generic page hero (used by team / partners / gallery) ---------- */
.page-hero {
  padding: clamp(56px, 8vw, 112px) 0 clamp(32px, 5vw, 64px);
}
.page-hero-eyebrow {
  color: var(--pn-naranja);
  margin-bottom: var(--pn-s-5);
}
.page-hero-title {
  font-family: var(--pn-font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 var(--pn-s-6);
  max-width: 16ch;
}
.page-hero-title em { font-style: italic; }
.page-hero-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--pn-ink-soft);
  max-width: 64ch;
  margin: 0;
}

/* Some sub-pages skip the top section border so the page-hero flows into the grid */
.section.section--no-top-border { border-top: none; padding-top: clamp(24px, 4vw, 48px); }

/* ---------- TEAM grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pn-s-6);
}
@media (min-width: 720px)  { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .team-grid { grid-template-columns: 1fr 1fr 1fr; } }

.team-card {
  background: var(--pn-surface);
  border-radius: var(--pn-r-lg);
  padding: var(--pn-s-7) var(--pn-s-6) var(--pn-s-6);
  box-shadow: var(--pn-shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--pn-s-5);
  position: relative;
  transition: transform var(--pn-dur) var(--pn-ease), box-shadow var(--pn-dur) var(--pn-ease);
}
.team-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--pn-shadow-lg);
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--pn-naranja);
  border-radius: var(--pn-r-lg) var(--pn-r-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--pn-ease);
}
.team-card:hover::before { transform: scaleX(1); }

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: var(--pn-r-pill);
  background: var(--pn-naranja);
  color: #FFF0E0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(255, 90, 77, 0.22);
}
.team-avatar--alt {
  background: var(--pn-selva);
  box-shadow: 0 6px 16px rgba(14, 91, 61, 0.18);
}
.team-avatar--ghost {
  background: var(--pn-surface-2);
  color: var(--pn-ink-faint);
  box-shadow: none;
}
.team-avatar svg { width: 64px; height: 64px; display: block; }

.team-meta { display: flex; flex-direction: column; gap: var(--pn-s-3); }
.team-role {
  font-family: var(--pn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--pn-ink-muted);
}
.team-name {
  font-family: var(--pn-font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--pn-ink);
  margin: 0;
}
.team-bio {
  font-size: 15px;
  line-height: 1.55;
  color: var(--pn-ink-soft);
  margin: 0;
  max-width: 38ch;
}
.team-card--placeholder { background: var(--pn-surface-2); }
.team-card--placeholder .team-name { font-style: italic; font-weight: 300; }

/* ---------- PARTNER list ---------- */
.partner-list { display: flex; flex-direction: column; }
.partner-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pn-s-3);
  padding: var(--pn-s-6) 0;
  border-bottom: 1px solid var(--pn-line);
  align-items: baseline;
  transition: background-color var(--pn-dur) var(--pn-ease);
}
@media (min-width: 720px) {
  .partner-row { grid-template-columns: minmax(180px, 22%) minmax(180px, 22%) 1fr; gap: var(--pn-s-6); }
}
.partner-row:first-child { border-top: 1px solid var(--pn-line); }
.partner-row:hover { background: rgba(255, 90, 77, 0.025); }

.partner-name {
  font-family: var(--pn-font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--pn-ink);
}
.partner-name--italic { font-style: italic; font-weight: 300; }
.partner-name--bold { font-weight: 600; }

.partner-cat {
  font-family: var(--pn-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--pn-naranja);
}
.partner-bio {
  font-size: 16px;
  line-height: 1.55;
  color: var(--pn-ink-soft);
  margin: 0;
  max-width: 56ch;
}

.partner-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--pn-s-5);
  flex-wrap: wrap;
}

/* ── Tier headers for Platinum / Gold / Silver groupings ──
   Three-column grid on desktop that mirrors .partner-row below it.
   Title spans cols 1+2 (matches partner name+category width).
   Sub starts at col 2 so it left-aligns with the "Technology and..."
   category column on the partner rows. Stacks on mobile. */
.tier-head {
  margin-bottom: var(--pn-s-7);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pn-s-3) var(--pn-s-6);
}
@media (min-width: 720px) {
  .tier-head {
    grid-template-columns: minmax(180px, 22%) minmax(180px, 22%) 1fr;
  }
  .tier-eyebrow { grid-column: 1 / -1; }
  .tier-title   { grid-column: 1 / 3; }
  .tier-sub     { grid-column: 2 / -1; }
}
.tier-eyebrow {
  font-family: var(--pn-font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pn-naranja);
  font-weight: 600;
}
.tier-title {
  font-family: var(--pn-font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 32ch;
}
.tier-title em { font-style: italic; }
.tier-sub {
  font-family: var(--pn-font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--pn-ink-soft);
  margin: 0;
  max-width: 56ch;
}

/* ── Silver grid (denser, name + cat only) ── */
.silver-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pn-s-3);
}
@media (min-width: 600px)  { .silver-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px)  { .silver-grid { grid-template-columns: 1fr 1fr 1fr; } }
.silver-card {
  background: var(--pn-surface);
  border-radius: var(--pn-r-md);
  padding: var(--pn-s-4) var(--pn-s-5);
  box-shadow: 0 1px 2px rgba(26, 22, 20, 0.04);
  border-left: 2px solid transparent;
  transition: border-color var(--pn-dur) var(--pn-ease), transform var(--pn-dur) var(--pn-ease);
}
.silver-card:hover {
  border-left-color: var(--pn-naranja);
  transform: translateX(2px);
}
.silver-name {
  font-family: var(--pn-font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--pn-ink);
  line-height: 1.15;
}
.silver-cat {
  font-family: var(--pn-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pn-ink-muted);
  margin-top: 4px;
}

/* ── Pricing page ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pn-s-5);
}
@media (min-width: 720px)  { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }

.tier-card {
  background: var(--pn-surface);
  border-radius: var(--pn-r-lg);
  padding: var(--pn-s-7) var(--pn-s-6) var(--pn-s-6);
  box-shadow: var(--pn-shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--pn-s-4);
  position: relative;
  overflow: hidden;
  transition: transform var(--pn-dur) var(--pn-ease), box-shadow var(--pn-dur) var(--pn-ease);
}
.tier-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pn-shadow-lg);
}
.tier-card--featured {
  background: var(--pn-naranja);
  color: #fff;
}
.tier-card--featured .tier-card-name,
.tier-card--featured .tier-card-price,
.tier-card--featured .tier-card-cadence,
.tier-card--featured .tier-card-positioning,
.tier-card--featured .tier-card-include,
.tier-card--featured .tier-card-feat { color: #fff; }
.tier-card--featured .tier-card-feat::before { background: rgba(255, 255, 255, 0.6); }

.tier-card-name {
  font-family: var(--pn-font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pn-naranja);
  font-weight: 700;
}
.tier-card-price {
  font-family: var(--pn-font-display);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--pn-ink);
  margin: 0;
}
.tier-card-price em { font-style: italic; font-size: 0.72em; color: var(--pn-naranja); }
.tier-card-cadence {
  font-family: var(--pn-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pn-ink-muted);
  margin-top: -8px;
}
.tier-card-positioning {
  font-family: var(--pn-font-display);
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: var(--pn-ink-soft);
  margin: 0;
}
.tier-card-include {
  font-family: var(--pn-font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pn-ink-muted);
  padding-top: var(--pn-s-3);
  border-top: 1px solid var(--pn-line);
}
.tier-card-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tier-card-feat {
  position: relative;
  font-size: 13px;
  line-height: 1.4;
  color: var(--pn-ink);
  padding-left: 16px;
}
.tier-card-feat::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pn-naranja);
}
.tier-card-cta {
  margin-top: auto;
  padding-top: var(--pn-s-3);
}
.tier-card--featured .btn-primary {
  background: #fff;
  color: var(--pn-naranja);
}
.tier-card--featured .btn-primary:hover {
  background: var(--pn-chela);
  color: var(--pn-naranja-deep);
}
.pricing-footnote {
  font-family: var(--pn-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pn-ink-muted);
  text-align: center;
  margin-top: var(--pn-s-7);
}

/* ---------- GALLERY grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pn-s-5);
}
@media (min-width: 720px)  { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .gallery-grid { grid-template-columns: 1fr 1fr 1fr; } }

.gallery-card {
  position: relative;
  background: var(--pn-surface);
  border-radius: var(--pn-r-lg);
  padding: var(--pn-s-7) var(--pn-s-5) var(--pn-s-5);
  box-shadow: var(--pn-shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--pn-s-4);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform var(--pn-dur) var(--pn-ease), box-shadow var(--pn-dur) var(--pn-ease);
}
.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--pn-shadow-lg);
}
.gallery-stripe {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--pn-naranja);
}
.gallery-head { display: flex; flex-direction: column; gap: 4px; }
.gallery-brand {
  font-family: var(--pn-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pn-ink-muted);
  font-weight: 600;
}
.gallery-product {
  font-family: var(--pn-font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--pn-ink);
  font-style: italic;
}
.gallery-listing-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: var(--pn-r-md);
  background: var(--pn-surface-2);
  margin-bottom: var(--pn-s-2);
  transition: transform var(--pn-dur) var(--pn-ease);
}
.gallery-card:hover .gallery-listing-img { transform: scale(1.01); }

/* Legacy gallery-cards styles — kept harmless */
.gallery-cards { display: flex; flex-direction: column; gap: 6px; }
.gallery-cards .thumb-card {
  background: var(--pn-surface-2);
}
.gallery-foot {
  margin-top: auto;
  padding-top: var(--pn-s-3);
  font-family: var(--pn-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pn-naranja);
  display: flex;
  align-items: center;
  gap: var(--pn-s-2);
  font-weight: 600;
}
.gallery-foot .arrow { transition: transform var(--pn-dur) var(--pn-ease); }
.gallery-card:hover .gallery-foot .arrow { transform: translate(3px, -3px); }

/* ---------- Footer nav (links to all sub-pages) ---------- */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--pn-s-5);
  margin-top: var(--pn-s-5);
  padding-top: var(--pn-s-5);
  border-top: 1px solid var(--pn-line);
}
.footer-nav a {
  font-family: var(--pn-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pn-ink-muted);
  text-decoration: none;
  transition: color var(--pn-dur) var(--pn-ease);
}
.footer-nav a:hover { color: var(--pn-naranja); }
.footer-nav a[aria-current="page"] { color: var(--pn-naranja); }

/* Hide top-bar nav links on mobile; footer-nav becomes the navigation */
@media (max-width: 719px) {
  .nav-links { gap: var(--pn-s-3); }
  .nav-links .nav-link { display: none; }
}
