/* ============================================
   HAUSS MARKET — Design System
   Premium · Timeless · Editorial
   ============================================ */

:root {
  /* Palette — black / white / warm gray, gold accent */
  --black: #0d0d0d;
  --ink: #1a1a1a;
  --white: #ffffff;
  --paper: #faf9f7;     /* warm white page bg */
  --warm: #f3f1ec;      /* warm gray section */
  --warm-2: #ece9e2;    /* warm gray deeper */
  --line: #e7e3db;      /* hairline */
  --line-dark: #2a2826;
  --gray: #8a8579;      /* muted */
  --text: #1c1c1c;
  --text-soft: #6a655c;
  --gold: #b08d4f;
  --gold-soft: #c2a062;

  /* deep navy to aubergine — dark brand surface */
  --navy: #001435;        /* fallback / deepest tone */
  --navy-card: #0a1540;   /* raised cards on the dark surface */
  --navy-line: rgba(255, 255, 255, 0.12);
  /* signature gradient — subtle navy shifting to deep purple */
  --grad-dark: linear-gradient(140deg, #00122e 0%, #131046 50%, #2a1458 100%);
  --grad-scrim: linear-gradient(140deg, rgba(0, 12, 34, 0.74) 0%, rgba(17, 14, 68, 0.66) 50%, rgba(48, 18, 98, 0.7) 100%);
  --grad-tint: linear-gradient(140deg, rgba(0, 18, 46, 0.16) 0%, rgba(19, 16, 70, 0.08) 50%, rgba(42, 20, 88, 0.15) 100%);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1200px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --shadow-sm: 0 6px 24px -12px rgba(20, 18, 14, 0.14);
  --shadow: 0 18px 50px -20px rgba(20, 18, 14, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.container--wide { max-width: 1340px; }
.container--narrow { max-width: 760px; }

img { max-width: 100%; display: block; }
em { font-style: italic; color: var(--gold); }

.statement-banner {
  text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  max-width: 78ch;
  margin: 0 auto;
}

/* ---------- Typographic helpers ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: inline-block;
}
.eyebrow--light { color: var(--gold-soft); }
/* Dark section heads: small label in white, large title in gold */
.section--dark .section__head .eyebrow { color: #fff; }
.section--dark .section__head .h-section { color: var(--gold); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.h-section {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  line-height: 1.1;
  color: var(--ink);
}
.lede {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-soft);
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  padding: 1.05rem 2.1rem;
  border: 1px solid transparent;
  border-radius: 100px;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn > svg { width: 15px; height: 15px; flex-shrink: 0; position: relative; z-index: 2; }
.btn > span { position: relative; z-index: 2; }
/* Premium hover sheen — a diagonal band of light swept across via background-position */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: 250% 250%;
  background-position: 130% -30%;
  transition: background-position 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.btn:hover::before { background-position: -30% 130%; }
.btn--primary { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--primary:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn--primary::before,
.btn--gold::before { background-image: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%); }
.btn--ghost { background: transparent; color: var(--black); border-color: rgba(13,13,13,0.22); }
.btn--ghost:hover { border-color: var(--black); background: var(--black); color: var(--white); }
.btn--ghost::before { background-image: linear-gradient(115deg, transparent 35%, rgba(176, 141, 79, 0.42) 50%, transparent 65%); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn--ghost-light:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--ghost-light::before { background-image: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%); }
.btn--gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn--gold:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.2rem 2.6rem; }
.btn--sm { padding: 0.85rem 1.5rem; font-size: 0.7rem; }
@media (prefers-reduced-motion: reduce) { .btn::before { transition: none; } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  transition: gap 0.4s var(--ease);
}
.link-arrow span { color: var(--gold); transition: transform 0.4s var(--ease); }
.link-arrow:hover { gap: 0.95rem; }
.link-arrow:hover span { transform: translateX(4px); }

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 2.2rem 0;
  transition: background 0.5s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav--scrolled {
  background: rgba(250, 249, 247, 0.86);
  backdrop-filter: blur(16px);
  padding: 1.55rem 0;
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
.nav__brand { display: flex; align-items: baseline; gap: 0.45rem; text-decoration: none; }
.nav__mark { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; letter-spacing: 0.18em; color: var(--black); }
.nav__mark-light { font-size: 0.68rem; letter-spacing: 0.4em; font-weight: 400; color: var(--text-soft); text-transform: uppercase; }

/* Brand logo image (replaces the text mark) */
.nav__brand { align-items: center; flex-shrink: 0; min-width: max-content; }
.brand-logo { height: 44px; width: auto; max-width: none; display: block; }
.brand-logo--light { display: none; }              /* default (light bg): show the black logo */
/* Nav over a dark hero (before scroll): show the white logo */
.nav--over-dark:not(.nav--scrolled):not(.nav--open) .brand-logo--dark { display: none; }
.nav--over-dark:not(.nav--scrolled):not(.nav--open) .brand-logo--light { display: block; }
/* Footer & login aside: always white logo */
.footer__brand .brand-logo--dark, .auth__aside .brand-logo--dark { display: none; }
.footer__brand .brand-logo--light, .auth__aside .brand-logo--light { display: block; }
.footer__brand .brand-logo { height: 48px; }
.auth__aside .brand-logo { height: 56px; }

.nav__links { display: flex; align-items: center; justify-content: center; gap: 1.15rem; flex-wrap: nowrap; }
.nav__links a {
  font-size: 0.79rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.4s var(--ease), opacity 0.4s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute; left: 50%; bottom: -6px;
  width: 100%; height: 1px; background: var(--gold);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover { color: var(--gold); }
.nav__links a:hover::after { transform: translateX(-50%) scaleX(1); }
.nav__links:hover a:not(:hover) { opacity: 0.45; }
.nav__links a.is-active { color: var(--gold); }
.nav__links a.is-active::after { transform: translateX(-50%) scaleX(1); }

.nav__actions {
  display: flex; align-items: center; gap: 0.9rem; justify-self: end;
  padding-left: 1.4rem; border-left: 1px solid var(--line);
}
.nav--over-dark:not(.nav--scrolled):not(.nav--open) .nav__actions { border-left-color: rgba(255, 255, 255, 0.25); }
.nav__login {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.71rem; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text); text-decoration: none; transition: color 0.3s var(--ease);
}
.nav__login svg, .nav__cta svg { width: 13px; height: 13px; flex-shrink: 0; }
.nav__lang {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray); text-decoration: none; border: 1px solid var(--line);
  border-radius: 100px; padding: 0.4rem 0.7rem; transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav__lang:hover { color: var(--gold); border-color: var(--gold); }
.nav--over-dark:not(.nav--scrolled):not(.nav--open) .nav__lang { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.3); }
.nav--over-dark:not(.nav--scrolled):not(.nav--open) .nav__lang:hover { color: #fff; border-color: #fff; }
.nav__login:hover { color: var(--gold); }
/* mobile-only login link inside the menu — hidden on desktop */
.nav__login-mobile { display: none; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
  background: var(--black); color: var(--white); text-decoration: none;
  padding: 0.62rem 1.3rem; border-radius: 100px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.nav__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-image: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  background-size: 250% 250%;
  background-position: 130% -30%;
  transition: background-position 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.nav__cta:hover::before { background-position: -30% 130%; }
.nav__cta:hover { background: var(--gold); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }

.nav__toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 120; }
.nav__toggle span { width: 26px; height: 1.5px; background: var(--black); transition: transform 0.4s var(--ease), opacity 0.3s var(--ease); }

/* ============================================
   Hero (shared)
   ============================================ */
.hero {
  padding-top: 8.5rem;
  padding-bottom: clamp(4rem, 8vw, 7rem);
  background: var(--paper);
}
.hero--full { min-height: 82vh; min-height: 82svh; overflow: visible; display: flex; flex-direction: column; justify-content: center; padding-top: 7.2rem; padding-bottom: 2.4rem; }
/* Compact full-height hero so it fits a standard screen without scroll */
.hero--full .eyebrow { margin-bottom: 0.9rem; }
.hero--full .hero__title { font-size: clamp(1.7rem, 4.2vw, 3.4rem); line-height: 1.12; letter-spacing: -0.015em; }
.hero--full .hero__sub { margin-top: 0.7rem; font-size: clamp(1.25rem, 1.9vw, 1.65rem); }
.hero--full .hero__lede { margin-top: 0.85rem; line-height: 1.6; }
.hero--full .hero__cta { margin-top: 1.35rem; }
.hero--full .hero__meta { max-width: 980px; margin-top: clamp(2rem, 4.5vh, 3.4rem); padding-top: 1.25rem; }
.hero--full .hero__inner { max-width: 980px; margin-left: clamp(165px, 17vw, 245px); margin-right: auto; }
@media (max-height: 640px) {
  .hero--full .hero__title { font-size: clamp(1.6rem, 4.6vh, 3rem); }
  .hero--full .hero__sub { font-size: 1.4rem; }
  .hero--full .hero__lede { font-size: 1.1rem; line-height: 1.5; }
}
.hero__inner { max-width: 780px; }
.hero__title { max-width: 31ch; }
.hero__sub { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(1.2rem, 1.9vw, 1.6rem); color: var(--gold); margin-top: 1.6rem; }
.hero__lede { max-width: 50ch; margin-top: 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.6rem; }
.hero__cta--nowrap { flex-wrap: nowrap; }
@media (max-width: 560px) { .hero__cta--nowrap { flex-wrap: wrap; } }
.hero__meta {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2.5rem;
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  border-top: 1px solid var(--line);
}
.hero__meta span {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-soft); position: relative; padding-left: 1.1rem;
}
.hero__meta span::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px;
  background: var(--gold); border-radius: 50%; transform: translateY(-50%);
}

/* ============================================
   Hero rotator — multi-theme rotating hero
   ============================================ */
.hero--rotator .hero__bg img { transition: opacity 0.8s var(--ease); }
.hero--rotator .hero__inner { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.hero--rotator .hero__inner.is-fading { opacity: 0; transform: translateY(22px); }

.hero__dots {
  display: flex; align-items: center; gap: 0.7rem; margin-top: clamp(1.8rem, 4vw, 2.6rem);
}
.hero__dot {
  width: 32px; height: 3px; border: none; border-radius: 2px; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.32); transition: background 0.35s var(--ease), transform 0.25s var(--ease);
}
.hero__dot:hover { background: rgba(255, 255, 255, 0.6); }
.hero__dot.is-active { background: var(--gold); }
.hero__dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.hero__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 50%;
  color: rgba(255, 255, 255, 0.85); cursor: pointer;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}
.hero__arrow svg { width: 18px; height: 18px; display: block; }
.hero__arrow:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.08); color: var(--gold); }
.hero__arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hero__arrow--prev { left: clamp(1rem, 3vw, 2.5rem); }
.hero__arrow--next { right: clamp(1rem, 3vw, 2.5rem); }
@media (max-width: 720px) {
  .hero__arrow { width: 40px; height: 40px; }
  .hero__arrow svg { width: 14px; height: 14px; }
}

/* Magazine hub — contained featured-articles rotator (not full-viewport) */
.mag-hero {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: clamp(440px, 50vw, 600px);
  display: flex;
  align-items: flex-end;
  padding: clamp(1.8rem, 4vw, 3.5rem);
}
.mag-hero__label {
  position: absolute;
  top: clamp(1.2rem, 2.4vw, 2rem);
  right: clamp(1.8rem, 4vw, 3.5rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.01em;
  padding-bottom: 0.2rem;
}
.mag-hero__label-icon { height: 1.3em; width: auto; display: block; }
.mag-hero__label::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
}
.mag-hero .hero__inner { max-width: 640px; }
.mag-hero .hero__title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); max-width: 18ch; line-height: 1.14; margin-top: 0.5rem; }
.mag-hero .hero__lede { font-size: 1rem; max-width: 54ch; margin-top: 1rem; }
.mag-hero .hero__cta { margin-top: 1.7rem; }
.mag-hero .hero__dots { margin-top: 2.2rem; }
@media (max-width: 640px) {
  .mag-hero { min-height: 460px; padding: 1.5rem; }
  .mag-hero .hero__arrow { top: 1.2rem; bottom: auto; transform: none; }
  .mag-hero .hero__arrow--prev { left: 1.2rem; }
  .mag-hero .hero__arrow--next { right: 1.2rem; }
}

@media (max-width: 680px) {
  .hero--full {
    height: auto;
    min-height: 100svh;
    overflow: visible;
    padding-top: 7rem;
    padding-bottom: 2.6rem;
  }
  .hero--full .hero__inner { max-width: 100%; margin-left: 0; margin-right: 0; }
  .hero--full .hero__title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .hero--full .hero__meta { gap: 1rem 1.6rem; margin-top: 1.8rem; padding-top: 1rem; }
  .hero--full .hero__cta { flex-wrap: wrap; }
  .hero__inner { max-width: 100%; }
  .hero__title { max-width: none; }
  .hero__lede { max-width: none; }
  .hero--full .hero__arrow { top: auto; bottom: 1.1rem; transform: none; }
  .hero--full .hero__arrow--prev { left: 0.6rem; }
  .hero--full .hero__arrow--next { right: 0.6rem; }
}

/* hero with background image + overlaid text */
.hero--bg { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.hero--bg .hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero--bg .hero__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero--bg .hero__scrim { position: absolute; inset: 0; z-index: 1; background: var(--grad-scrim); }
.hero--bg .hero__inner, .hero--bg .hero__meta { position: relative; z-index: 2; }
.hero--bg .hero__title { color: var(--white); }
.hero--bg .eyebrow { color: var(--gold-soft); }
.hero--bg .hero__lede { color: rgba(255, 255, 255, 0.84); }
.hero--bg .hero__meta { border-top-color: rgba(255, 255, 255, 0.22); }
.hero--bg .hero__meta span { color: rgba(255, 255, 255, 0.78); }

/* nav legibility over a dark hero (before scroll) */
.nav--over-dark:not(.nav--scrolled):not(.nav--open) .nav__mark,
.nav--over-dark:not(.nav--scrolled):not(.nav--open) .nav__links a,
.nav--over-dark:not(.nav--scrolled):not(.nav--open) .nav__login { color: #fff; }
.nav--over-dark:not(.nav--scrolled):not(.nav--open) .nav__mark-light { color: rgba(255, 255, 255, 0.7); }
.nav--over-dark:not(.nav--scrolled):not(.nav--open) .nav__cta { background: #fff; color: var(--black); }
.nav--over-dark:not(.nav--scrolled):not(.nav--open) .nav__cta::before { background-image: linear-gradient(115deg, transparent 35%, rgba(176, 141, 79, 0.4) 50%, transparent 65%); }
.nav--over-dark:not(.nav--scrolled):not(.nav--open) .nav__cta:hover { background: var(--gold); color: var(--white); }
.nav--over-dark:not(.nav--scrolled):not(.nav--open) .nav__toggle span { background: #fff; }

/* page hero (interior pages) */
.page-hero { padding-top: 8.5rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero .split > * { min-width: 0; }
.page-hero__title { max-width: 34ch; font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.split .page-hero__title { max-width: 18ch; }
.page-hero__lede { max-width: 54ch; margin-top: 1.5rem; font-size: clamp(0.95rem, 1.3vw, 1.05rem); color: #4a463f; }
.page-hero__lede + .page-hero__lede { margin-top: 0.9rem; }

/* ============================================
   Sections
   ============================================ */
.section { padding: clamp(3.25rem, 6.5vw, 6rem) 0; }
.section.section--statement { padding-top: 1.8rem; padding-bottom: 1.8rem; }
.section--warm { background: var(--warm); }
.section--shadowed { position: relative; box-shadow: 0 -14px 26px -18px rgba(0, 0, 0, 0.12), 0 14px 26px -18px rgba(0, 0, 0, 0.12); }
.section--dark { background: var(--navy); background-image: var(--grad-dark); color: var(--white); }

/* ============================================
   Fondo animado — red de conexión / constelación
   Se usa sobre fondos oscuros (navy/morado) como capa decorativa
   ============================================ */
.bg-network { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg-network svg {
  position: absolute; top: -8%; left: -8%; width: 116%; height: 116%; display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.bg-network .net-line { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.bg-network .net-node {
  fill: var(--gold-soft); opacity: 0.5; transform-box: fill-box; transform-origin: center;
  animation: netPulse 3.2s ease-in-out infinite, netShine 9s ease-in-out infinite;
}
.bg-network .net-node:nth-child(2n) { animation-delay: -1.1s, -3s; }
.bg-network .net-node:nth-child(3n) { animation-delay: -2.1s, -6.4s; }
.bg-network .net-node:nth-child(5n) { animation-delay: -0.6s, -1.8s; }
.bg-network .net-node:nth-child(7n) { animation-delay: -1.6s, -4.5s; }
.bg-network .net-group { animation: netDrift 10s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.bg-network .net-group--b { animation-duration: 13s; animation-delay: -4s; }
.bg-network .net-group--c { animation-duration: 8s; animation-delay: -6s; }
@keyframes netDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(24px, -18px); }
}
@keyframes netPulse {
  0%, 100% { opacity: 0.16; transform: scale(0.8); }
  50% { opacity: 0.55; transform: scale(1.25); }
}
@keyframes netShine {
  0%, 82%, 100% { filter: drop-shadow(0 0 0 rgba(255, 240, 200, 0)); }
  90% { filter: drop-shadow(0 0 8px rgba(255, 240, 200, 0.95)) drop-shadow(0 0 3px rgba(255, 255, 255, 0.9)); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-network .net-group, .bg-network .net-node, .bg-network svg { animation: none; transition: none; }
}
#why.section--dark, #advantage.section--dark, .auth__aside { position: relative; overflow: hidden; }
#why.section--dark > .container, #advantage.section--dark > .container, .auth__aside > *:not(.bg-network) { position: relative; z-index: 1; }
.section--dark .h-section, .section--dark .display { color: var(--white); }
.section__head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__lede { margin-top: 1.4rem; }

/* Statement */
.statement { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; max-width: 18ch; letter-spacing: -0.015em; }
.statement__body { margin-top: 2.2rem; max-width: 60ch; font-size: clamp(0.98rem, 1.4vw, 1.15rem); line-height: 1.75; color: var(--text-soft); }

/* ---------- Cards ---------- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 3.5vw, 3rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__index { font-family: var(--serif); font-size: 0.95rem; color: var(--gold); letter-spacing: 0.2em; }
.card__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 1.1rem 0 1rem; line-height: 1.15; }
.card__lead { font-size: 1.08rem; color: var(--ink); line-height: 1.6; }
.card__text { margin-top: 0.7rem; margin-bottom: 2rem; color: var(--text-soft); }
.card .link-arrow { margin-top: 2rem; }
.card .btn { margin-top: auto; align-self: flex-start; }

/* Profile card — richer variant with photo, for dual Investor/Partner block */
.profile-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.profile-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.profile-card .img-slot { border-radius: 0; aspect-ratio: 16 / 10; }
.profile-card .img-slot img { transition: transform 0.6s var(--ease); }
.profile-card:hover .img-slot img { transform: scale(1.05); }
/* Premium hover sheen — same mechanic as the Magazine grid cards */
.profile-card .img-slot::before {
  background-image: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%), var(--grad-tint);
  background-size: 250% 250%, cover;
  background-position: 130% -30%, center;
  background-repeat: no-repeat, no-repeat;
  transition: background-position 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.profile-card:hover .img-slot::before { background-position: -30% 130%, center; }
@media (prefers-reduced-motion: reduce) {
  .profile-card .img-slot::before, .profile-card .img-slot img { transition: none; }
}
.profile-card__body { padding: clamp(1.8rem, 3vw, 2.4rem); }
.profile-card__index {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; display: inline-block; margin-bottom: 1rem;
}
.profile-card__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.2; margin-bottom: 1.3rem;
}
.profile-card__list { list-style: none; display: grid; gap: 0.85rem; margin-bottom: 1.8rem; }
.profile-card__list li {
  position: relative; padding-left: 1.4rem; font-size: 0.96rem; color: var(--text-soft); line-height: 1.55;
}
.profile-card__list li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold);
}
.profile-card .btn { width: 100%; }

.grid { display: grid; gap: clamp(1.4rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* feature card (small) */
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 2rem; box-shadow: var(--shadow-sm); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__num { font-family: var(--serif); font-size: 0.9rem; color: var(--gold); letter-spacing: 0.16em; }
.feature h4 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0.8rem 0 0.6rem; }
.feature p { color: var(--text-soft); font-size: 0.95rem; }

/* dark feature — gold-bordered cards with icons */
.section--dark .feature { background: var(--navy-card); border-color: rgba(176, 141, 79, 0.45); }
.section--dark .feature:hover { border-color: var(--gold); box-shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.6); }

/* feature icon */
.feature__icon { display: block; width: 34px; height: 34px; margin-bottom: 1.1rem; color: var(--gold); }
.feature__icon svg { width: 100%; height: 100%; display: block; stroke-width: 1.1; }

/* elegant icon on registration buttons (targets links to the register pages) */
.btn[href="register-investor.html"]::after,
.btn[href="register-partner.html"]::after {
  content: ""; display: inline-block; width: 1.05em; height: 1.05em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.7'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2012h15M13%206l6%206-6%206'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='1.7'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M4%2012h15M13%206l6%206-6%206'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.4s var(--ease);
}
.btn[href="register-investor.html"]:hover::after,
.btn[href="register-partner.html"]:hover::after { transform: translateX(4px); }
.section--dark .feature h4 { color: var(--white); }
.section--dark .feature p { color: var(--gray); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat__num { display: flex; align-items: flex-end; min-height: clamp(2.6rem, 5vw, 4rem); font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 500; line-height: 1; color: var(--ink); }
.stat__num--text { font-size: clamp(1.5rem, 2.6vw, 2.3rem); white-space: nowrap; }
.section--dark .stat__num { color: var(--white); }
.stat__num em { color: var(--gold); }
.stat__label { margin-top: 0.8rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft); }
.section--dark .stat__label { color: var(--gray); }

/* ---------- Split / dual ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--end { align-items: end; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 2.5vw, 2rem); }
.step {
  position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 2.6rem 1.8rem 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.step__num {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  width: 2.9rem; height: 2.9rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  background: var(--white);
  margin-bottom: 1.5rem;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.step:hover .step__num { background: var(--gold); color: var(--white); }
.step h4 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin-bottom: 0.7rem; line-height: 1.2; }
.step p { font-size: 0.92rem; color: var(--text-soft); }

/* Connector: reads left-to-right as a sequence on desktop */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(2.6rem + 1.45rem);
  right: -1.05rem;
  width: 8px; height: 8px;
  border-top: 1.5px solid var(--gold-soft);
  border-right: 1.5px solid var(--gold-soft);
  transform: translateY(-50%) rotate(45deg);
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; gap: 1.1rem; }
.checklist li { display: flex; gap: 1rem; align-items: flex-start; font-size: 1.02rem; color: var(--ink); }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--warm-2); border: 1px solid var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-5' fill='none' stroke='%23b08d4f' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ============================================
   Accordion (FAQ)
   ============================================ */
.accordion { border-top: 1px solid var(--line); max-width: 860px; }
.acc {
  border-bottom: 1px solid var(--line);
}
.acc__btn {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1.8rem 0; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500; color: var(--ink); transition: color 0.3s var(--ease);
}
.acc__btn:hover { color: var(--gold); }
.acc__icon { flex: none; width: 22px; height: 22px; position: relative; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; background: var(--gold); transition: transform 0.4s var(--ease);
}
.acc__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.acc__icon::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.acc.is-open .acc__icon::after { transform: translateX(-50%) scaleY(0); }
.acc__panel { overflow: hidden; max-height: 0; transition: max-height 0.5s var(--ease); }
.acc__panel-inner { padding: 0 0 1.8rem; color: var(--text-soft); max-width: 64ch; line-height: 1.8; }

/* ============================================
   CTA band
   ============================================ */
.cta-band { background: var(--navy); background-image: var(--grad-dark); color: var(--white); text-align: center; }
.cta-band .h-section { color: var(--white); }
.cta-band__cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.6rem; }

/* ============================================
   Footer
   ============================================ */
.footer {
  position: relative;
  background:
    linear-gradient(rgba(8, 8, 8, 0.97), rgba(8, 8, 8, 0.97)),
    url("images/footer-city.jpg") center 40% / cover no-repeat,
    var(--black);
  color: var(--white);
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 3rem;
  padding-bottom: 3.5rem; border-bottom: 1px solid var(--navy-line);
}
.footer__brand .nav__mark { color: var(--white); }
.footer__brand .nav__mark-light { color: var(--gray); }
.footer__tag { margin-top: 1.3rem; color: rgba(255, 255, 255, 0.68); max-width: 38ch; font-size: 0.95rem; line-height: 1.6; }
.footer__col h5 { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); font-weight: 500; margin-bottom: 1.3rem; }
.footer__col a { display: block; color: rgba(255, 255, 255, 0.68); text-decoration: none; font-size: 0.92rem; margin-bottom: 0.75rem; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--white); }
.footer__loc { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; margin-top: 1rem; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.8rem 0 2.4rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.62); letter-spacing: 0.04em; }
.footer__legal a { color: rgba(255, 255, 255, 0.62); font-size: 0.85rem; text-decoration: none; margin-left: 1.5rem; transition: color 0.3s var(--ease); }
.footer__legal a:hover { color: var(--gold-soft); }
.footer__legal a.footer__lang {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem; letter-spacing: 0.08em; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 100px;
  padding: 0.28rem 0.85rem; margin-right: 0.4rem;
}
.footer__legal a.footer__lang:hover { border-color: var(--gold-soft); }

/* ============================================
   Auth pages (Login)
   ============================================ */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth__aside {
  background: var(--navy); background-image: var(--grad-dark); color: var(--white);
  padding: clamp(2.5rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: space-between;
}
.auth__aside .nav__mark { color: var(--white); }
.auth__aside .nav__mark-light { color: var(--gray); }
.auth__quote { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.2; max-width: 18ch; color: var(--white); }
.auth__quote em { color: var(--gold-soft); }
.auth__aside-foot { color: var(--gray); font-size: 0.85rem; letter-spacing: 0.04em; }
.auth__main { display: flex; align-items: center; justify-content: center; padding: clamp(2.5rem, 6vw, 5rem); }
.auth__box { width: 100%; max-width: 420px; }
.access-form-header { margin-bottom: 2.5rem; }
.auth__title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 500; }
.auth__sub { color: var(--text-soft); margin-top: 0.8rem; }
.hm-access-mobile-brand { display: none; width: 100%; max-width: 420px; margin-bottom: 2rem; }
.hm-access-mobile-brand img { height: 34px; width: auto; max-width: none; }

/* Onboarding journey shell — two-column layout shared by registration, identity
   verification, profile, and application-review screens. Distinct from .auth
   (still used for plain login/recovery) and from .access-shell in globals.css
   (a different grid owned by another layout — do not reuse either name here). */
.hm-journey { min-height: 100vh; display: grid; grid-template-columns: minmax(300px, min(38vw, 380px)) minmax(0, 1fr); }
.hm-journey__aside { background: var(--navy); background-image: var(--grad-dark); color: var(--white); position: relative; overflow: hidden; }
.hm-journey__aside > *:not(.bg-network) { position: relative; z-index: 1; }
.hm-journey__aside-inner { position: sticky; top: 0; min-height: 100dvh; display: flex; flex-direction: column; gap: 2rem; padding: clamp(2.5rem, 5vw, 5rem); box-sizing: border-box; }
.hm-journey__brand { display: flex; align-items: center; }
.hm-journey__brand .brand-logo { height: 56px; }
.hm-journey__brand .brand-logo--light { display: block; }
.hm-journey__context-title { font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1.12; max-width: 20ch; margin: 0 0 1rem; }
.hm-journey__copy p { color: rgba(255, 255, 255, 0.68); font-family: var(--sans); font-size: 1rem; font-weight: 300; line-height: 1.65; margin: 0; max-width: 36ch; }
.hm-journey__eyebrow {
  font-family: var(--sans);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.2;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}
.hm-journey__rail { flex: 0 0 auto; list-style: none; margin: 0.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.3rem; justify-content: flex-start; }
.hm-journey__step { position: relative; display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.64); }
.hm-journey__step:not(:first-child)::before {
  content: ""; position: absolute; left: 16px; top: -1.3rem; width: 2px; height: 1.3rem; transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.18);
}
.hm-journey__step--done + .hm-journey__step::before { background: var(--gold); }
.hm-journey__step-dot { position: relative; z-index: 1; width: 32px; height: 32px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 0.8rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: 0; border: 2px solid rgba(255,255,255,0.25); background: var(--navy); }
.hm-journey__step--done .hm-journey__step-dot { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.hm-journey__step--done .hm-journey__step-label { color: var(--white); }
.hm-journey__step--active .hm-journey__step-dot { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,160,98,0.25); }
.hm-journey__step--active .hm-journey__step-label { color: var(--white); font-weight: 600; }
.hm-journey__fill { flex: 1; min-height: 2rem; }
.hm-journey__foot { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; letter-spacing: 0.04em; }
.hm-journey__content { display: flex; flex-direction: column; align-items: center; padding: clamp(2rem, 5vw, 4rem); background: var(--paper); }
.hm-journey__content-inner { width: 100%; }
.hm-journey__content--narrow { justify-content: center; }
.hm-journey__content--narrow .hm-journey__content-inner { max-width: 420px; }
.hm-journey__content--wide .hm-journey__content-inner { max-width: 960px; }
.hm-journey__mobile-progress { display: none; }
.hm-journey__foot { margin-top: auto; }

/* ============================================
   Forms
   ============================================ */
.form-page { padding-top: 8rem; padding-bottom: 5rem; background: var(--warm); min-height: 100vh; }
.form-card {
  max-width: 680px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.form-card__head { margin-bottom: 2rem; }
.form-card__head .eyebrow {
  background: var(--gold); color: var(--ink); padding: 0.4rem 1rem;
  border-radius: 999px; letter-spacing: 0.16em;
}
.form-card__title { font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 500; }
.form-card__sub { color: var(--text-soft); margin-top: 0.6rem; }

/* progress */
.progress { margin-bottom: 2.5rem; }
.progress__meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.8rem; }
.progress__step { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.progress__pct { font-size: 0.78rem; color: var(--text-soft); letter-spacing: 0.06em; }
.progress__track { height: 4px; background: var(--warm-2); border-radius: 100px; overflow: hidden; }
.progress__bar { height: 100%; background: var(--gold); width: 50%; border-radius: 100px; transition: width 0.6s var(--ease); }

/* fields */
.fields { display: grid; gap: 1.4rem; }
.fields--2 { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; font-weight: 300; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 0.95rem 1.1rem; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,79,0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field__hint { font-size: 0.8rem; color: var(--gray); }
.registration-account-context {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 0.2rem;
}
.registration-account-context strong { color: var(--ink); font-weight: 600; }
.account-type-selector { border: 0; display: grid; gap: 0.65rem; grid-column: 1 / -1; margin: 0; padding: 0; width: 100%; }
.account-type-selector legend {
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.account-type-selector__options {
  background: var(--paper);
  border: 0;
  border-radius: var(--r-sm);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  padding: 0;
  position: relative;
}
.account-type-selector__option { cursor: pointer; height: 100%; min-width: 0; position: relative; }
.account-type-selector__option + .account-type-selector__option::before {
  background: var(--line);
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: 1px;
  z-index: 1;
}
.account-type-selector__option:has(input:checked)::before,
.account-type-selector__option:has(input:checked) + .account-type-selector__option::before {
  display: none;
}
.account-type-selector__option input { height: 1px; left: 50%; opacity: 0; position: absolute; top: 50%; width: 1px; }
.account-type-selector__option span {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  box-sizing: border-box;
  color: var(--text-soft);
  display: flex;
  font-size: 0.95rem;
  height: 100%;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1rem;
  position: relative;
  text-align: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
  user-select: none;
  width: 100%;
}
.account-type-selector__option:first-child > span { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.account-type-selector__option:last-child > span { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.account-type-selector__option:hover span { color: var(--ink); }
.account-type-selector__option input:checked + span {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: none;
  color: var(--ink);
  z-index: 2;
}
.account-type-selector__option input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}
.field .registration-consent {
  align-items: flex-start;
  color: var(--text-soft);
  cursor: pointer;
  display: flex;
  gap: 0.7rem;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}
.field .registration-consent__checkbox {
  accent-color: var(--gold);
  background: initial;
  border: initial;
  border-radius: initial;
  flex: 0 0 auto;
  height: 19px;
  margin-top: 0.12rem;
  padding: 0;
  width: 19px;
}
.registration-consent__text a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.registration-consent__text a:hover { color: var(--gold); }
.registration-consent__text a:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* choice cards (radio) */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box {
  border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.4rem;
  background: var(--paper); transition: all 0.3s var(--ease); height: 100%;
}
.choice__box strong { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; display: block; margin-bottom: 0.3rem; }
.choice__box span { font-size: 0.88rem; color: var(--text-soft); }
.choice input:checked + .choice__box { border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(176,141,79,0.12); }

/* check row */
.check-row { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.9rem; color: var(--text-soft); }
.check-row input { margin-top: 4px; accent-color: var(--gold); width: 16px; height: 16px; }
.check-row a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* required-field marker + legend */
.req { color: var(--gold); margin-left: 0.2rem; }
.form-legend { font-size: 0.8rem; color: var(--text-soft); margin: -0.4rem 0 0.2rem; }

/* form nav */
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.form-nav__back { background: none; border: none; cursor: pointer; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft); transition: color 0.3s var(--ease); }
.form-nav__back:hover { color: var(--ink); }
.form-nav__back[hidden] { visibility: hidden; }

.form-step { display: none; }
.form-step.is-active { display: block; animation: fadeStep 0.5s var(--ease); }
@keyframes fadeStep { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.form-success { display: none; text-align: center; padding: 1rem 0; }
.form-success.is-active { display: block; }
.form-success__mark {
  width: 64px; height: 64px; margin: 0 auto 1.6rem; border-radius: 50%;
  background: var(--warm); border: 1px solid var(--gold); display: grid; place-items: center;
}
.form-success__mark::after {
  content: ""; width: 26px; height: 14px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg) translate(1px, -3px);
}
.form-success h3 { font-family: var(--serif); font-size: 2rem; font-weight: 500; margin-bottom: 0.8rem; }
.form-success p { color: var(--text-soft); max-width: 42ch; margin: 0 auto 2rem; }

.form-aside { text-align: center; margin-top: 1.6rem; font-size: 0.88rem; color: var(--text-soft); }
.form-aside a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* honeypot — oculto a personas, visible a bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* estado de error del formulario */
.form-error {
  display: none; margin-top: 1.2rem; padding: 0.9rem 1.1rem; border-radius: var(--r-sm, 8px);
  background: rgba(178, 48, 48, 0.08); border: 1px solid rgba(178, 48, 48, 0.3);
  color: #8a2222; font-size: 0.88rem; line-height: 1.5;
}
.form-error.is-active { display: block; }
.form-nav__next[disabled] { opacity: 0.6; cursor: default; }

/* form sections (grouped profile) */
.form-section { padding-top: 1.9rem; margin-top: 1.9rem; border-top: 1px solid var(--line); }
.form-section:first-of-type { padding-top: 0; margin-top: 0; border-top: none; }
.form-section__title { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1.4rem; }
.field-group { margin-bottom: 1.6rem; }
.field-group:last-child { margin-bottom: 0; }
.field-group > .field-group__label { display: block; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-soft); font-weight: 500; margin-bottom: 0.9rem; }

/* chips (multi-select & single-select pills) */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 0.62rem 1.15rem; border: 1px solid var(--line);
  border-radius: 100px; font-size: 0.9rem; color: var(--text-soft); background: var(--paper);
  transition: all 0.3s var(--ease); user-select: none;
}
.chip:hover span { border-color: var(--gray); color: var(--ink); }
.chip input:checked + span { border-color: var(--gold); background: var(--white); color: var(--ink); box-shadow: 0 0 0 3px rgba(176,141,79,0.12); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* uploads */
.uploads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.upload { position: relative; }
.upload input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload__box {
  display: flex; flex-direction: column;
  border: 1px dashed var(--gray); border-radius: var(--r); padding: 1.4rem 1.3rem;
  background: var(--paper); transition: border-color 0.3s var(--ease), background 0.3s var(--ease); height: 100%;
}
.upload:hover .upload__box { border-color: var(--gold); background: var(--white); }
.upload__icon {
  width: 30px; height: 30px; border-radius: 50%; background: var(--warm); display: grid; place-items: center; margin-bottom: 0.9rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M7 9.5V2.5M4 5l3-3 3 3M2.5 11.5h9' fill='none' stroke='%23b08d4f' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.upload__label { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.upload__hint { display: block; font-size: 0.78rem; color: var(--gray); margin-top: 0.2rem; }
.upload__name { display: block; font-size: 0.8rem; color: var(--gold); margin-top: 0.6rem; word-break: break-all; }
.upload.has-file .upload__box { border-style: solid; border-color: var(--gold); background: var(--white); }

/* ============================================
   Image slots (drop-in)
   Drop a file into /images with the named size and
   it replaces the placeholder automatically.
   ============================================ */
.img-slot {
  position: relative; overflow: hidden; display: grid; place-items: center;
  background: var(--warm-2); border-radius: var(--r-lg); width: 100%;
}
.img-slot::after {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray);
  font-weight: 500; padding: 1.5rem; line-height: 1.9;
}
.img-slot img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.img-slot::before {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: var(--grad-tint);
  pointer-events: none;
}

.img-slot--portrait { aspect-ratio: 4 / 5; }
.img-slot--tall { aspect-ratio: 5 / 6; }
.img-slot--square { aspect-ratio: 1 / 1; }

/* full-bleed bands */
.img-band { width: 100%; }
.img-band .img-slot { border-radius: 0; }
.img-band--hero .img-slot { height: clamp(360px, 56vw, 720px); }
.img-band--cine .img-slot { height: clamp(240px, 26vw, 380px); }
.img-band--cine .img-slot img { object-position: center 97%; }

/* ============================================
   Magazine — editorial card system
   ============================================ */
.mag-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.mag-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mag-card .img-slot { aspect-ratio: 16 / 10; border-radius: 0; background-image: var(--grad-dark); }
.mag-card .img-slot::after { color: rgba(255, 255, 255, 0.55); }
.mag-card .img-slot img { transition: transform 0.6s var(--ease); }
.mag-card:hover .img-slot img { transform: scale(1.05); }
/* Premium hover sheen — same mechanic as the buttons, layered above the brand tint */
.mag-card .img-slot::before {
  background-image: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%), var(--grad-tint);
  background-size: 250% 250%, cover;
  background-position: 130% -30%, center;
  background-repeat: no-repeat, no-repeat;
  transition: background-position 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.mag-card:hover .img-slot::before { background-position: -30% 130%, center; }
@media (prefers-reduced-motion: reduce) {
  .mag-card .img-slot::before, .mag-card .img-slot img { transition: none; }
}
.mag-card__body { padding: 1.6rem 1.8rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.mag-cat { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.mag-card__title { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.18; transition: color 0.3s var(--ease); }
.mag-card:hover .mag-card__title { color: var(--gold); }
.mag-card__summary { font-size: 0.93rem; color: var(--text-soft); }
.mag-meta { margin-top: auto; padding-top: 0.9rem; font-size: 0.76rem; color: var(--gray); letter-spacing: 0.04em; }

/* Featured article (Magazine hub hero) */
.mag-featured {
  display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
}
.mag-featured .img-slot { min-height: 380px; border-radius: 0; background-image: var(--grad-dark); }
.mag-featured .img-slot::after { color: rgba(255, 255, 255, 0.55); }
.mag-featured__body { padding: clamp(1.8rem, 3.5vw, 3rem); display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
.mag-featured__title {
  font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; line-height: 1.12;
  transition: color 0.3s var(--ease);
}
.mag-featured:hover .mag-featured__title { color: var(--gold); }
.mag-summary { color: var(--text-soft); font-size: 1rem; line-height: 1.7; }

@media (max-width: 900px) {
  .mag-featured { grid-template-columns: 1fr; }
  .mag-featured .img-slot { min-height: 240px; }
}

/* ==========================================================================
   Article (Magazine) — 748px reading width, editorial typography
   ========================================================================== */
.article-hero { position: relative; padding-top: 1.2rem; padding-bottom: 2rem; }
.article-hero .mag-cat { font-size: 0.72rem; }
.article-hero .container--prose { max-width: 900px; }
.container--prose { max-width: 748px; margin: 0 auto; }

/* Magazine masthead — newspaper-style nameplate, before article/hub content */
.mag-masthead { text-align: center; padding: clamp(6.8rem, 12.5vw, 8.4rem) var(--pad) 1.4rem; }
.mag-masthead__rule { width: 100%; max-width: 760px; height: 1px; background: var(--line); margin: 0 auto; }
.mag-masthead__title {
  font-family: var(--serif); font-weight: 500; letter-spacing: 0.015em;
  font-size: clamp(3.2rem, 7.4vw, 5.4rem); color: var(--ink); line-height: 1;
  margin: 1.1rem 0;
}
.mag-masthead__cities {
  font-size: 0.78rem; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--text-soft); margin-top: 1.1rem;
}
.article-hero__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.06; margin: 1rem 0 1.2rem; max-width: 28ch;
}
.article-hero__meta { font-size: 0.82rem; color: var(--gray); letter-spacing: 0.04em; display: flex; align-items: center; gap: 0.55rem; }
.article-hero__avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.article-cover { margin: 0 0 3rem; }
.article-cover .img-slot { border-radius: var(--r-lg); aspect-ratio: 16 / 9; }

.article-summary {
  border-left: 2px solid var(--gold); background: var(--warm);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 1.4rem 1.7rem; margin: 0 0 2.8rem;
}
.article-summary h2 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.6rem; }
.article-summary p { font-size: 0.97rem; color: var(--text-soft); line-height: 1.75; margin: 0; }

.prose { font-size: 1.05rem; line-height: 1.85; color: var(--ink); }
.prose p { margin-bottom: 1.5rem; }
.prose h2 { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 500; margin: 2.6rem 0 1rem; }
.prose h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin: 2rem 0 0.8rem; }
.prose ul, .prose ol { margin: 0 0 1.5rem 1.3rem; }
.prose li { margin-bottom: 0.5rem; line-height: 1.7; }
.prose strong { color: var(--ink); }
.prose blockquote {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-style: italic; line-height: 1.35;
  color: var(--ink); border: none; text-align: center; max-width: 24ch; margin: 2.8rem auto; position: relative; padding-top: 1.6rem;
}
.prose blockquote::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 46px; height: 1px; background: var(--gold);
}

.article-related {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem 1.8rem; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: var(--shadow-sm);
}
.article-related:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-related h4 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; margin: 0.6rem 0 0.5rem; transition: color 0.3s var(--ease); }
.article-related:hover h4 { color: var(--gold); }
.article-related p { color: var(--text-soft); font-size: 0.88rem; margin: 0; }

/* ============================================
   Reveal
   ============================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .form-step.is-active { animation: none; }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .nav__links, .nav__actions .nav__login, .nav__actions .nav__lang { display: none; }
  .nav__inner { gap: 0.5rem; }
  .nav__actions { min-width: 0; gap: 0.6rem; padding-left: 0; border-left: none; }
  .nav__cta { padding: 0.55rem 1.05rem; font-size: 0.64rem; }
  .brand-logo { height: 34px; }
  .nav__links {
    display: flex; position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 2rem;
    background: var(--paper); padding: 3rem var(--pad); transform: translateX(100%);
    transition: transform 0.55s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,0.12);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1rem; }
  .nav__links .nav__login-mobile { display: block; }
  .nav__toggle { display: flex; }
  .nav--open .nav__toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav--open .nav__toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .grid--3, .grid--4, .stats, .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .split { grid-template-columns: 1fr; }
  .auth { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
  .auth__main { align-items: flex-start; flex-direction: column; padding: 1.5rem; }
  .auth__box { margin-inline: auto; }
  .auth__main .hm-access-mobile-brand { margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  .hm-journey { grid-template-columns: 1fr; }
  .hm-journey__aside { display: none; }
  .hm-journey__content { padding: 1.5rem; }
  .hm-access-mobile-brand { display: flex; align-items: center; }
  .hm-journey__content .hm-access-mobile-brand,
  .hm-journey__mobile-progress { max-width: 420px; }
  .hm-journey__mobile-progress {
    display: flex; flex-direction: column; gap: 0.2rem; width: 100%;
    margin-bottom: 1.5rem; margin-inline: auto; padding-bottom: 1rem; border-bottom: 1px solid var(--line);
  }
  .hm-journey__mobile-progress span { color: var(--text-soft); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
  .hm-journey__mobile-progress strong { color: var(--text); font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
}

@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4, .stats, .steps { grid-template-columns: 1fr; }
  .fields--2, .choice-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer__legal a:first-child { margin-left: 0; }
  .btn { width: 100%; }
  .hero__cta, .cta-band__cta { width: 100%; }
}
