/* Elements — resets and base typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-ink);
  background-color: var(--color-bg);
  padding-top: var(--age-bar-h);
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-coral);
  text-decoration: none;
  font-weight: 700;
}

a::before {
  content: "· ";
  color: var(--color-cobalt-mid);
  font-weight: 400;
}

a.btn::before,
a.logo-link::before,
a.nav__link::before,
a.masthead__brand::before,
a.safety-card::before,
a.ticket__cta::before,
.nav a::before,
.footer a::before,
.age-bar a::before,
.cookie-banner a::before,
.skip-link::before {
  content: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-ink);
  margin: 0 0 var(--space-md);
}

h1 {
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 var(--space-md);
}

ul, ol {
  margin: 0 0 var(--space-md);
  padding-left: 1.25rem;
}

li {
  margin-bottom: var(--space-xs);
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--color-coral);
  color: var(--color-white);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-coral);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-md);
  z-index: 1000;
}

.skip-link:focus {
  left: var(--space-md);
}

.accent {
  color: var(--color-coral);
}

.mark {
  background: linear-gradient(transparent 62%, rgba(255, 90, 95, 0.28) 62%);
}
