/* Don Gastón homepage: refined visual system (2026-10-05).
   Layered on top of app.css + portfolio.css; homepage only. Same tokens (ink,
   brass, Fraunces + Public Sans + IBM Plex Mono): this refines, it does not
   re-skin. The site is a single dark theme by design, so there is no light
   variant; <meta name="color-scheme" content="dark"> tells the browser so.
   All motion is transform/opacity and is switched off under
   prefers-reduced-motion. */

::selection { background: rgba(176, 141, 87, .35); color: var(--text); }

/* Hero: a quiet brass glow and hairline grid behind the type. */
.hero.wrap { position: relative; isolation: isolate; padding-bottom: 40px; }
.hero.wrap::before {
  content: ""; position: absolute; z-index: -1; inset: -40px 0 0;
  background:
    radial-gradient(520px 320px at 12% 18%, rgba(176, 141, 87, .16), transparent 70%),
    linear-gradient(var(--line-soft) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 20% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 20% 30%, #000 10%, transparent 75%);
  pointer-events: none;
}
.hero h1 { font-size: clamp(2.2rem, 5.8vw, 3.9rem); font-optical-sizing: auto; }
.hero h1::after {
  content: ""; display: block; width: 72px; height: 2px; margin-top: 22px;
  background: linear-gradient(90deg, var(--brass), transparent);
}

/* Facts strip: only numbers that are stated on the page itself. */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  margin-top: 36px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--surface);
}
.stats > div { padding: 18px 20px; border-right: 1px solid var(--line-soft); }
.stats > div:last-child { border-right: 0; }
.stats dt { order: 2; font-family: var(--font-label); font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-top: 6px; }
.stats dd { order: 1; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1; color: var(--brass-soft); }
.stats > div { display: flex; flex-direction: column; }

/* Property cards: per-card facts row. */
.biz-facts { margin: 0 22px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--font-label); font-size: 0.75rem; letter-spacing: .06em; text-transform: uppercase; }
.biz-facts div { display: flex; gap: 6px; }
.biz-facts dt { color: var(--text-3); }
.biz-facts dd { color: var(--text-2); margin: 0; }

/* Contact: role-based paths for press, partners, acquirers and clients. */
.paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.path {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; min-height: 132px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  color: var(--text-2); font-size: .9rem; line-height: 1.5;
  transition: border-color .3s, transform .3s, background .3s;
}
.path b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text); }
.path span.go { margin-top: auto; font-family: var(--font-label); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-soft); }
.path:hover, .path:focus-visible { text-decoration: none; border-color: rgba(176, 141, 87, .55); background: var(--surface-2); transform: translateY(-3px); }
.updated { margin-top: 18px; font-family: var(--font-label); font-size: 0.75rem; letter-spacing: .06em; color: var(--text-3); }

@media (max-width: 960px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); } }
@media (max-width: 600px) { .paths { grid-template-columns: 1fr; } .path { min-height: 0; } }

/* Entrance motion (hero only; the portfolio grid already reveals on scroll). */
@keyframes dg-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow, .hero h1, .hero .lede, .hero .stats { animation: dg-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero h1 { animation-delay: .08s; }
  .hero .lede { animation-delay: .16s; }
  .hero .stats { animation-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) { .path { transition: none; } .path:hover, .path:focus-visible { transform: none; } }

/* Footer credit: inline opacity .8 dropped contrast to 4.1:1; keep it at full opacity (AA). */
.nwm-credit { opacity: 1 !important; }
