/* ============================================================
   Viaroux — public teaser.
   Brand-continuous with the institutional deck theme:
   navy / gold / ice, Playfair Display headers, Inter body.
   No external resources; fonts vendored under ../fonts/.
   ============================================================ */

@import url('../fonts/fonts.css');

:root {
  --vx-navy:      #14213D;
  --vx-surface:   #1B2A4C;
  --vx-gold:      #E8B84B;
  --vx-white:     #FFFFFF;
  --vx-muted:     #AEB9D6;

  --vx-hairline:  rgba(174, 185, 214, 0.20);

  --vx-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --vx-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--vx-navy);
  color: var(--vx-white);
  font-family: var(--vx-sans);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--vx-gold);
  color: var(--vx-navy);
}

/* A single soft off-centre wash so the page isn't a flat navy rectangle.
   Fixed + pointer-events-none so it never interferes with layout or taps. */
.vx-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(74rem 46rem at 50% -16%, var(--vx-surface) 0%, transparent 66%),
    radial-gradient(38rem 30rem at 88% 108%, rgba(232, 184, 75, 0.055) 0%, transparent 70%);
}

/* ---------- layout ---------- */

.vx-shell {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 2.5rem;
}

.vx-card {
  width: 100%;
  max-width: 46rem;
  text-align: center;
}

/* ---------- mark + wordmark ---------- */

.vx-mark {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1.5rem;
  color: var(--vx-gold);
}

.vx-wordmark {
  margin: 0;
  font-family: var(--vx-serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 9vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.055em;
  text-indent: 0.055em;   /* optical: offset the trailing letter-space */
}

/* ---------- copy ---------- */

.vx-headline {
  margin: 1.75rem 0 0;
  font-family: var(--vx-serif);
  font-weight: 600;
  font-size: clamp(1.375rem, 4.4vw, 2rem);
  line-height: 1.28;
  color: var(--vx-gold);
  text-wrap: balance;
}

.vx-subhead {
  margin: 1.25rem auto 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  font-weight: 400;
  line-height: 1.62;
  color: var(--vx-white);
  text-wrap: pretty;
}

.vx-rule {
  width: 4rem;
  height: 0;
  margin: 2.25rem auto;
  border: 0;
  border-top: 1px solid var(--vx-hairline);
}

.vx-body {
  margin: 0 auto;
  max-width: 32rem;
  font-size: clamp(0.9375rem, 2.2vw, 1rem);
  line-height: 1.68;
  color: var(--vx-muted);
  text-wrap: pretty;
}

/* ---------- call to action ---------- */

.vx-cta-wrap {
  margin: 2.5rem 0 0;
}

.vx-cta {
  display: inline-block;
  padding: 0.875rem 2.25rem;
  border: 1px solid var(--vx-gold);
  border-radius: 2px;
  color: var(--vx-gold);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.vx-cta:hover,
.vx-cta:focus-visible {
  background: var(--vx-gold);
  color: var(--vx-navy);
}

.vx-cta:focus-visible {
  outline: 2px solid var(--vx-white);
  outline-offset: 3px;
}

/* ---------- footer ---------- */

.vx-footer {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 0 1.5rem 2.25rem;
  text-align: center;
}

.vx-footer p {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--vx-muted);
  opacity: 0.72;
}

/* ---------- narrow screens ---------- */

@media (max-width: 30rem) {
  .vx-shell { padding: 3rem 1.25rem 2rem; }
  .vx-mark  { width: 2.75rem; height: 2.75rem; margin-bottom: 1.25rem; }
  .vx-rule  { margin: 1.875rem auto; }
  .vx-cta   { display: block; padding: 0.9375rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .vx-cta { transition: none; }
}
