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

html {
  scroll-behavior: smooth;
}

html.lenis {
  height: auto;
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--burgundy);
  color: var(--text-hi);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1,
h2,
h3,
blockquote,
figure,
p,
dl,
dd {
  margin: 0;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--gold);
  color: var(--burgundy-dark);
}

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Címsorok */
.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 380;
  line-height: 1.08;
  letter-spacing: 0.005em;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section--cream .section-title em {
  color: var(--nose-brown);
}

.kicker {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
}

.section--cream .kicker {
  color: var(--ink-soft);
}

.kicker::before {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.kicker--gold {
  color: var(--gold);
}

.kicker--center {
  justify-content: center;
}

.kicker--center::after {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* Világos editorial szekciók */
.section--cream {
  background: var(--cream);
  color: var(--ink);
}

.section--cream p {
  color: var(--ink-soft);
}

/* Reveal alapállapot — JS nélkül is látható marad */
.reveal,
.split-lines .line {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
