:root {
  --ink: #142421;
  --ink-soft: #33433e;
  --paper: #fbfaf6;
  --paper-strong: #ffffff;
  --pine: #12564b;
  --reef: #0a7b82;
  --coral: #e66b4e;
  --sun: #f4c95d;
  --line: #d8ddd5;
  --shadow: 0 18px 45px rgba(20, 36, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
  padding: 0.9rem clamp(1rem, 5vw, 4rem);
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(216, 221, 213, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--sun);
  color: var(--ink);
  font-size: 0.86rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.94rem;
}

.site-nav a {
  padding: 0.45rem 0;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--reef);
}

.hero {
  display: grid;
  align-items: center;
  justify-items: end;
  min-height: 76vh;
  padding: 5rem clamp(1rem, 5vw, 4rem);
  color: white;
  background:
    linear-gradient(270deg, rgba(8, 22, 22, 0.88), rgba(8, 22, 22, 0.62) 48%, rgba(8, 22, 22, 0.18)),
    url("../img/quokkafest-hero-canberra.png") center / cover no-repeat;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
  font-size: 1.05rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 12ch;
  font-size: 4.6rem;
  font-weight: 900;
}

h2 {
  max-width: 14ch;
  font-size: 2.7rem;
  font-weight: 900;
}

h3 {
  font-size: 1.2rem;
  font-weight: 850;
}

.hero-lede {
  max-width: 680px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

.hero-actions,
.registration {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.05rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: var(--coral);
  color: white;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #c9563e;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.58);
  color: white;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}

.fact {
  min-height: 136px;
  padding: 1.7rem clamp(1rem, 4vw, 3rem);
  border-right: 1px solid var(--line);
}

.fact:last-child {
  border-right: 0;
}

.fact strong,
.fact span {
  display: block;
}

.fact strong {
  color: var(--pine);
  font-size: 1.6rem;
  line-height: 1;
}

.fact span {
  max-width: 32ch;
  margin-top: 0.7rem;
  color: var(--ink-soft);
}

.section {
  padding: 5.5rem clamp(1rem, 5vw, 4rem);
}

.section-heading {
  max-width: 760px;
}

.section-heading > p:last-child {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.program-note {
  margin-top: 2.2rem;
  max-width: 760px;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.program-note p,
.split p,
.registration p {
  color: var(--ink-soft);
}

.program-note p {
  margin: 0;
}

.band {
  background: #e9f4f1;
  border-block: 1px solid #c8dfda;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.6fr);
  gap: 3rem;
  align-items: stretch;
}

.split h2,
.registration h2 {
  max-width: 16ch;
}

.split p {
  max-width: 64ch;
  font-size: 1.06rem;
}

.venue-panel,
.funder-panel {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.funder-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.funder-panel dl {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.funder-panel div {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.funder-panel img.funder-logo {
  max-height: 120px;
  max-width: 100%;
  width: auto;
  display: block;
}

.venue-panel dl,
.venue-panel dd {
  margin: 0;
}

.venue-panel div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.venue-panel div:first-child {
  padding-top: 0;
}

.venue-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.venue-panel dt {
  color: var(--pine);
  font-weight: 900;
}

.registration {
  justify-content: space-between;
  background: var(--ink);
  color: white;
}

.registration p {
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 980px) {
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 68vh;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background:
      linear-gradient(180deg, rgba(8, 22, 22, 0.86), rgba(8, 22, 22, 0.66)),
      url("../img/quokkafest-hero-canberra.png") 24% center / cover no-repeat;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .fact {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .venue-panel div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (max-width: 430px) {
  .brand {
    white-space: normal;
  }

  .button {
    width: 100%;
  }
}
