/* ==========================================================================
   Eskulan — single-screen brand mark.
   "Understated Authority": wordmark, gold rule, tagline, contact button.
   Light is the default palette; dark applies automatically via
   prefers-color-scheme. The only external dependency is Google Fonts.
   ========================================================================== */

:root {
  --bg: #faf9f8;                 /* alabaster cream */
  --on-surface: #1a1c1c;         /* wordmark */
  --on-surface-variant: #45464d; /* tagline */
  --gold: #775a19;               /* the single "high-light" accent */

  /* Ink: primary button (slightly navy-black per the "Ink Navy" brand note) */
  --ink: #131b2e;
  --on-ink: #ffffff;

  --selection-bg: #fed488;
  --selection-fg: #785a1a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1c1c;                  /* warm near-black "midnight slate" */
    --on-surface: #f1f0f0;
    --on-surface-variant: #c6c6cd;
    --gold: #e9c176;

    --ink: #f1f0f0;                 /* button inverts: light fill, dark label */
    --on-ink: #1a1c1c;

    --selection-bg: #5d4201;
    --selection-fg: #ffdea5;
  }
}

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

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background-color: var(--bg);
  color: var(--on-surface);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--selection-bg);
  color: var(--selection-fg);
}

.lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 32rem;
}

.wordmark {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(48px, 11vw, 88px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--on-surface);
}

.rule {
  width: 64px;
  height: 3px;
  margin: 28px 0;
  background: var(--gold);
}

.tagline {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 3.4vw, 24px);
  line-height: 1.4;
  color: var(--on-surface-variant);
}

.btn-primary {
  display: inline-block;
  margin-top: 48px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 4px;
  transition: opacity 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible { opacity: 0.8; }

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