/* =========================================================
   Reset + global elements
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text-light-bg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;           /* safety net; layouts must not need it */
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 400; line-height: 0.88; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible, .nav__panel :focus-visible, .hero__band :focus-visible {
  outline-color: var(--gold);
}

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

.section { padding-block: var(--section-y); }

/* Anchor links land below the sticky navbar instead of under it */
main section[id], #hero { scroll-margin-top: var(--nav-h); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--ink); color: var(--text-dark-bg);
  padding: 12px 18px; font-weight: 700;
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: 12px; }

/* Display type helper used by headings */
.display, .hero__title, .intro__title, .cultures__title,
.beyond__title, .experience__title, .syllable__word,
.culture-call__title, .waiting__title, .programme__title, .countdown__title {
  font-family: var(--font-display);
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

/* Scroll-reveal (progressive enhancement: visible by default) */
[data-reveal] { will-change: transform, opacity; }
.js [data-reveal] { opacity: 0; transform: translateY(18px); }
.js [data-reveal].is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: calc((var(--d, 0) - 1) * 90ms);
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
