/* ═══════════════════════════════════════════════
   The Almanac — shared stylesheet
   ═══════════════════════════════════════════════ */

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

/* ── TOKENS ─────────────────────────────────── */
:root {
  --bg:        #F9F8F6;
  --nav-bg:    #F5EEE9;
  --pink:      #EDD8CF;
  --border:    #E2D8D2;
  --ink:       #2A2825;
  --muted:     #9E8880;
  --body-text: #7A6E6A;
  --klein:     #002FA7;
  --font:      'Jost', sans-serif;
}

/* ── BASE ────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--klein); }
img { display: block; width: 100%; }

/* ── NAV ─────────────────────────────────────── */
nav {
  background-color: var(--nav-bg);
  border-bottom: 0.5px solid var(--border);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-logo-text {
  font-size: 12px;
  font-weight: 200;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 640px) {
  .nav-logo-text { display: none; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links a:hover { color: var(--klein); }

.nav-instagram {
  display: flex;
  align-items: center;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-instagram:hover { color: var(--klein); }

.nav-instagram svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 0.5px solid var(--border);
}

.footer-logo {
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-copyright {
  font-size: 10px;
  font-weight: 200;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  align-items: flex-end;
}

.footer-links a {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-links a:hover { color: var(--klein); }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-roll {
  background: var(--ink);
  color: #fff;
  min-width: 220px;
}

.btn-roll:hover:not(:disabled) { background: var(--klein); }

.btn-roll:disabled {
  background: var(--border);
  color: var(--muted);
  cursor: not-allowed;
}

.btn-secondary {
  background: transparent;
  color: var(--muted);
  border: 0.5px solid var(--border);
  min-width: 220px;
  font-size: 10px;
}

.btn-secondary:hover { color: var(--ink); border-color: var(--ink); }

.btn-email {
  background: var(--pink);
  color: var(--ink);
  border: none;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-email:hover { background: var(--ink); color: #fff; }

/* ── TYPOGRAPHY UTILITIES ────────────────────── */
.page-eyebrow {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.page-title {
  font-size: 26px;
  font-weight: 200;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 12px;
}

.page-sub {
  font-size: 13px;
  font-weight: 300;
  color: var(--body-text);
  line-height: 1.8;
  max-width: 420px;
  margin: 0 auto 48px;
}

/* ── ACCESSIBILITY ───────────────────────────── */
:focus-visible { outline: 2px solid var(--klein); outline-offset: 3px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
