/* ---------- Font ---------- */
@font-face {
  font-family: "Anton";
  src: url("assets/fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --gold: #F2A72B;
  --blue: #2E6FB5;
  --green: #233029;
  --green-dark: #1a2420;
  --orange: #E7671F;
  --cream: #FBF3E0;
  --ink: #1c1a12;
  --link-light: #123e6b; /* links on light bands (AA on cream/gold) */

  --display: "Anton", Impact, "Haettenschweiler", "Arial Narrow Bold", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1080px;
  --maxw-narrow: 720px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --nav-h: 3.5rem;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
}

img, picture, svg { max-width: 100%; display: block; height: auto; }
ul { padding: 0; list-style: none; }

a { color: var(--link-light); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }

/* smooth scrolling, disabled for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- Accessibility helpers ---------- */
.skip-nav {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 1000;
  background: var(--green);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-nav:focus { top: 0; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.container--narrow { max-width: var(--maxw-narrow); }

main > section, .site-footer { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
/* offset sticky nav for anchor targets */
section[id], main { scroll-margin-top: calc(var(--nav-h) + 0.5rem); }

/* ---------- Bands ---------- */
.band-cream { background: var(--cream); color: var(--ink); }
.band-gold  { background: var(--gold);  color: var(--ink); }
.band-green { background: var(--green); color: var(--cream); }
.band-dark  { background: var(--green-dark); color: var(--cream); }

/* links + focus per band */
.band-green a, .band-dark a { color: var(--gold); }
.band-green :focus-visible,
.band-dark :focus-visible,
.site-header :focus-visible { outline-color: var(--gold); }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(2rem, 1.3rem + 3.4vw, 3.6rem);
  margin-bottom: 1rem;
}
h3 {
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem);
  letter-spacing: 0.02em;
}
p + p, p + .cards, p + .essentials, .cards + p, h2 + p, h3 + p { margin-top: 0.9rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green);
  color: var(--cream);
  box-shadow: 0 2px 0 rgba(0,0,0,0.2);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0.6rem var(--pad);
  min-height: var(--nav-h);
}
.nav__brand {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.35rem;
  color: var(--cream);
  text-decoration: none;
  margin-right: auto;
}
.nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  align-items: center;
}
.nav__links a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.25rem;
}
.nav__links a:hover { color: var(--gold); text-decoration: underline; }

/* hamburger toggle (mobile) */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 2px solid var(--cream);
  border-radius: 0.4rem;
  cursor: pointer;
}
.nav__toggle-bar {
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--cream);
}
@media (prefers-reduced-motion: no-preference) {
  .nav__toggle-bar { transition: transform 0.2s ease, opacity 0.2s ease; }
}

@media (max-width: 640px) {
  .js .nav__toggle { display: flex; }
  .js .nav__links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 0.35rem;
  }
  .js .nav--open .nav__links { display: flex; }
  .js .nav__links a { display: block; padding: 0.7rem 0.25rem; }
  .js .nav--open .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .js .nav--open .nav__toggle-bar:nth-child(2) { opacity: 0; }
  .js .nav--open .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { text-align: center; }
.hero__inner { padding-block: clamp(2rem, 5vw, 3.5rem); }
.hero__logo img {
  margin-inline: auto;
  width: min(100%, 780px);
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
}
.hero__date {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.1rem, 0.9rem + 1.4vw, 1.9rem);
  color: var(--gold);
  margin-top: 1.25rem;
}
.hero__tag {
  max-width: 52ch;
  margin: 1rem auto 0;
  font-size: 1.1rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.4rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 0.4rem;
  border: 3px solid var(--blue);
  background: var(--blue);
  color: #fff;
  transition: transform 0.12s ease, background-color 0.12s ease;
}
.btn:hover { background: #24568c; border-color: #24568c; text-decoration: none; }
.btn--outline {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}
.btn--outline:hover { background: rgba(0,0,0,0.08); }
.band-green .btn--outline:hover, .band-dark .btn--outline:hover { background: rgba(255,255,255,0.12); }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px); }
}

/* ---------- Essentials ---------- */
.essentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 1.5rem;
}
.essential h3 { color: var(--green); margin-bottom: 0.4rem; }
.schedule li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(35,48,41,0.25);
}
.schedule__time {
  display: block;
  font-weight: 700;
  color: var(--green);
}

/* ---------- Workshop cards ---------- */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin: 1.75rem 0;
}
@media (min-width: 1040px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
/* extra breathing room between the workshops intro copy and the cards */
#workshops .cards { margin-top: clamp(2rem, 4vw, 3rem); }
.card {
  background: var(--cream);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 0.6rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: 6px 6px 0 var(--orange);
}
.card__title {
  margin-bottom: 0.6rem;
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem);
}
.card__meta { font-weight: 600; }
.card__price {
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--blue);
  margin: 0.5rem 0 0.75rem;
}

/* ---------- Callouts / notes ---------- */
.callout {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.6rem);
  color: var(--green);
  text-align: center;
}
.soon {
  font-style: italic;
  opacity: 0.85;
}
.note { font-size: 0.95rem; opacity: 0.9; }

.ticket-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

/* ---------- Footer ---------- */
.site-footer .credits {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.85;
}
.site-footer .colophon {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.85;
}
.colophon .heart { color: var(--orange); }
.feature-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--cream);
  border-radius: 0.6rem;
  box-shadow: 8px 8px 0 var(--orange);
  background: #000;
}
.media-credit {
  margin-top: 0.6rem;
  text-align: right;
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.85;
}
/* long video-section heading: keep it small enough to fit on a line */
#materials-title { font-size: clamp(1.3rem, 0.8rem + 2vw, 2rem); }

.icon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.2em;
  margin-right: 0.3em;
}
.ig-link { text-decoration: none; }
.ig-link:hover { text-decoration: underline; }
