/* =============================================================
   VIKKI SKY — GLOBAL STYLES
   Reset, base typography, layout utilities, scroll reveal.
   ============================================================= */

/* ── RESET ───────────────────────────────────────────────────── */

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

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── LAYOUT ──────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--sp-lg);
}

@media (max-width: 600px) {
  .container {
    padding-inline: var(--sp-md);
  }
}

section {
  padding-block: var(--sp-2xl);
}

section:nth-child(even) {
  background: var(--bg-alt);
}

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-sm);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

.section-sub {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 560px;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.section-header .section-sub {
  margin-inline: auto;
}

.gold-rule {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  margin: var(--sp-md) auto;
}

.gold-rule.left {
  margin-inline: 0;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.22s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  padding: 14px 32px;
  border: 1.5px solid var(--ink);
}

.btn-primary:hover {
  background: #2c2c2c;
  border-color: #2c2c2c;
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  padding: 14px 32px;
  border: 1.5px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  padding: 13px 32px;
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-dk);
  transform: translateY(-1px);
}

/* ── SCROLL REVEAL ───────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── SCREEN READER ONLY ──────────────────────────────────────── */

.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;
}

/* ── SKIP LINK ───────────────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-md);
  z-index: 9999;
  background: var(--ink);
  color: var(--bg);
  padding: var(--sp-sm) var(--sp-md);
  font-size: 0.8rem;
  font-weight: 600;
}

.skip-link:focus {
  top: var(--sp-md);
}

/* ── ENTRY CONTENT (Blog posts, Pages) ───────────────────────── */

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  margin-top: 2em;
  margin-bottom: 0.5em;
  line-height: 1.25;
}

.entry-content h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
.entry-content h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

.entry-content p {
  margin-bottom: 1.25em;
  color: var(--ink-soft);
}

.entry-content ul,
.entry-content ol {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1.25em;
  color: var(--ink-soft);
}

.entry-content ol {
  list-style: decimal;
}

.entry-content li {
  margin-bottom: 0.4em;
}

.entry-content a {
  color: var(--gold-dk);
  border-bottom: 1px solid var(--border);
  transition: color 0.18s, border-color 0.18s;
}

.entry-content a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.entry-content strong {
  font-weight: 600;
  color: var(--ink);
}

.entry-content em {
  font-style: italic;
  color: var(--ink);
}

.entry-content blockquote {
  border-left: 2px solid var(--gold);
  padding-left: var(--sp-lg);
  margin: var(--sp-lg) 0;
  font-family: var(--font-thin);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
}

.entry-content img {
  border-radius: var(--radius);
  margin-block: var(--sp-lg);
}

.entry-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: var(--sp-xl);
}

/* ── RESPONSIVE UTILITIES ────────────────────────────────────── */

@media (max-width: 768px) {
  section {
    padding-block: var(--sp-xl);
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .btn {
    font-size: 0.8rem;
    padding: 12px 24px;
  }
}
