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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--cream);
  color: var(--off-black);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }

p {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  max-width: 60ch;
  line-height: 1.75;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.container-narrow {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

section {
  padding: clamp(80px, 14vw, 160px) 0;
}

.section-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: currentColor;
}

h2 em, h2 i, h1 em {
  font-style: italic;
  color: var(--red);
}

.section-intro {
  color: rgba(26,26,26,0.72);
  margin-top: 16px;
  max-width: 62ch;
}

/* Section colour utilities (original Hungry Boy palette) */
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }

.bg-red { background: var(--red); color: var(--white); }
.bg-red .section-label { color: var(--white); }
.bg-red h1 em, .bg-red h2 em { color: var(--white); }
.bg-red .section-intro, .bg-red p { color: var(--white); }

.bg-green { background: var(--green); color: var(--white); }
.bg-green .section-label { color: var(--white); }
.bg-green .section-label::before { background: var(--mustard-light); }
.bg-green h1 em, .bg-green h2 em { color: var(--mustard-light); }
.bg-green .section-intro, .bg-green p { color: var(--white); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--off-black);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--mustard);
  outline-offset: 2px;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .navbar, .scroll-prompt, .marquee, .loader { display: none !important; }
  body { background: white; color: black; }
  section { padding: 24px 0; }
}
