/* ============================================================
   Bring Joy 2026 — Bază: reset, tipografie, secțiuni, layout
   Compact: body 16px, secțiuni de 2–2.75rem, container 1040px.
   ============================================================ */

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--bj-fg-1);
  background: var(--bj-bg);
}

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

a {
  color: var(--bj-brick);
}

button {
  font: inherit;
  color: inherit;
}

em {
  font-style: italic;
}

strong,
b {
  font-weight: 700;
}

/* Atributul `hidden` bate orice `display` setat pe clasă. */
[hidden] {
  display: none !important;
}

ul,
ol {
  padding-left: 1.2rem;
}

p + p {
  margin-top: var(--space-3);
}

/* ── Titluri Anton: condensate, line-height strâns ── */
h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--bj-brick);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
  margin-bottom: var(--space-2);
}

h3 {
  font-size: 1.2rem;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 48rem) {
  .container {
    padding-inline: var(--space-6);
  }
}

.text-col {
  max-width: var(--text-col);
}

/* ── Secțiuni ── */
.section {
  padding-block: var(--space-6);
}

@media (min-width: 48rem) {
  .section {
    padding-block: 2.75rem;
  }
}

.section--alt {
  background: var(--bj-cream);
  border-top: var(--bj-border-w) solid var(--bj-border);
}

.section--dark {
  --bj-shadow-color: var(--bj-gold);
  background: var(--bj-burgundy-deep);
  color: var(--bj-cream);
  border-top: var(--bj-border-w) solid var(--bj-border);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--bj-gold-light);
}

.section--dark a {
  color: var(--bj-gold-light);
}

/* Capul de secțiune: eyebrow + titlu + lead, compact */
.section-head {
  margin-bottom: var(--space-5);
}

.section-head .lead {
  max-width: 60ch;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bj-burgundy);
  margin-bottom: var(--space-2);
}

.section--dark .eyebrow {
  color: var(--bj-gold);
}

.lead {
  font-size: 1.0625rem;
  color: var(--bj-fg-2);
}

.section--dark .lead {
  color: var(--bj-cream);
}

.muted {
  color: var(--bj-fg-2);
}

/* ── Bandă cu dungi diagonale aurii (ornament, design brief §4) ── */
.stripe-band {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--bj-gold) 0 10px,
    transparent 10px 22px
  );
}

/* ── Citate ── */
blockquote {
  font-style: italic;
  color: var(--bj-fg-2);
}

blockquote footer {
  margin-top: var(--space-2);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bj-burgundy);
}

/* ── Utilitare ── */
.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;
}

.center {
  text-align: center;
}

.center .text-col {
  margin-inline: auto;
}

.m-0 {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--bj-gold);
  outline-offset: 3px;
}
