/*
  Operforma — Holding page styles
  Tokens from: docs/brand_explorations/operforma-brand-reference-v1-8.html
*/

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

/* ── SKIP LINK (a11y) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-s);
  background: var(--violet);
  color: var(--white);
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ── VISUALLY HIDDEN (a11y) ── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── FOCUS INDICATOR (a11y — WCAG 2.4.7, 2.4.11) ── */
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
  border-radius: 2px;
}

:root {
  --white:    #F4EFE6;   /* Cream */
  --black:    #1A1814;
  --violet:   #4A3F6B;
  --grey:     #E2DDD6;
  --grey-mid: #6E6860;
  --sage:     #8C9583;   /* subtle cool accent */
  --ochre:    #B89968;   /* subtle warm accent */

  --font: 'Satoshi', sans-serif;

  --space-xs: 8px;
  --space-s:  16px;
  --space-m:  32px;
  --space-l:  64px;
}

html { font-size: 16px; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ── */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-m);
}

.wordmark {
  font-family: var(--font);
  font-weight: 300;
  letter-spacing: 0.22em;
  font-size: 1rem;
  color: var(--black);
  text-decoration: none;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.lang-active { color: var(--black); }
.lang-sep    { color: var(--grey-mid); }
.lang-link   { color: var(--grey-mid); text-decoration: none; }

/* enlarge hit area to ≥24×24 (WCAG 2.5.8) without changing visual layout */
.lang-link,
.lang-active {
  display: inline-block;
  padding: 6px 4px;
  margin: -6px -4px;
}

/* ── MAIN STAGE (vertically centered) ── */
.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: var(--space-m);
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: var(--space-m);
}

.stage h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 600px;
  margin-bottom: var(--space-m);
}

.stage h1 em {
  color: var(--violet);
  font-style: normal;
}

.kicker {
  font-size: 0.95rem;
  color: #5A5450;
  max-width: 500px;
  line-height: 1.7;
}

/* ── FOOTER ── */
.bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-s);
  padding: var(--space-m);
  border-top: 1px solid var(--grey);
}

.copy {
  font-size: 0.74rem;
  color: var(--grey-mid);
}

.foot-links {
  display: flex;
  gap: var(--space-s);
}

.foot-links a {
  font-size: 0.74rem;
  color: var(--grey-mid);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .lang-link:hover  { color: var(--black); }
  .foot-links a:hover { color: var(--black); }
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .top   { padding: var(--space-s); }
  .stage { padding: var(--space-m) var(--space-s); }
  .bottom {
    padding: var(--space-s);
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
