/* Testing, Testing, One, Two, Three. landing — palette sampled from
   _mocks/landing/testing-testing/desktop-concept-001-{day,dusk,dark,dawn}.png.
   The accent (#B23169 magenta) is shared across all four modes, used for the
   inline punctuation in the wordmark + button hover + active mode-picker. */

/* Day = cream + near-black. Default palette. */
:root,
:root[data-mode="day"] {
  --bg: #f2ead8;
  --ink: #13100e;
  --accent: #b23169;
}

/* Dusk = olive tan + dark brown. */
:root[data-mode="dusk"] {
  --bg: #bcad86;
  --ink: #372f23;
  --accent: #b23169;
}

/* Dark = pitch black + cream (Day inverted). */
:root[data-mode="dark"] {
  --bg: #060403;
  --ink: #f2ead8;
  --accent: #b23169;
}

/* Dawn = espresso + olive cream (Dusk inverted). */
:root[data-mode="dawn"] {
  --bg: #1a170e;
  --ink: #d4c4a4;
  --accent: #b23169;
}

:root {
  --pad-x: clamp(24px, 5vw, 64px);
  --pad-y: clamp(24px, 4vw, 28px);
  --stage-pad-y: clamp(56px, 9vw, 96px);
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "acumin-variable", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -0.005em;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.ab {
  min-height: 100vh;
  max-width: 1440px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

/* Header + footer "meta" bars. */
.meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: var(--pad-y) var(--pad-x);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.meta .rule {
  flex: 1 1 0;
  height: 1px;
  background: var(--ink);
  opacity: 0.25;
  transition: background 0.25s ease;
}

.meta .version {
  white-space: nowrap;
}

/* Stage. */
.stage {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(32px, 6vw, 48px);
  padding: var(--stage-pad-y) var(--pad-x);
}

.wordmark {
  margin: 0;
  font-family: "p22-glaser-babyteeth-solid", "acumin-variable", sans-serif;
  font-size: clamp(56px, 11vw, 160px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.wordmark .punc {
  color: var(--accent);
  transition: color 0.25s ease;
}

.tag-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
}

.tagline {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 18em;
}

.tagline em {
  font-style: italic;
  text-decoration: underline 1.5px var(--accent);
  text-underline-offset: 5px;
  transition: text-decoration-color 0.25s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px 18px 28px;
  background: var(--ink);
  color: var(--bg);
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--accent);
  color: var(--bg);
}

.btn .arrow {
  display: inline-block;
  transform: translateY(-1px);
}

/* Mode picker — inline in the footer, after the rule. */
.mode-picker {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
}

.mode-picker button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  opacity: 0.35;
  cursor: pointer;
  transition:
    opacity 0.18s ease,
    color 0.18s ease;
}

.mode-picker button:hover {
  opacity: 0.7;
}

.mode-picker button.active {
  opacity: 1;
  color: var(--accent);
}

/* Narrow viewports. */
@media (max-width: 640px) {
  .tag-row {
    align-items: flex-start;
  }
  .btn {
    align-self: stretch;
    justify-content: center;
  }
  .meta.bot {
    flex-wrap: wrap;
  }
  .mode-picker {
    flex-basis: 100%;
    justify-content: center;
  }
}
