:root {
  --color-forest: #173f2d;
  --color-forest-dark: #0d281d;
  --color-pounamu: #2f6f5f;
  --color-rimu: #5f7c4c;
  --color-kowhai: #d4a327;
  --color-ochre: #b77928;
  --color-clay: #a94f32;
  --color-whenua: #7a5138;
  --color-bark: #8a6847;
  --color-tan: #eadcc8;
  --color-cream: #fff3dc;
  --color-paper: #fffaf0;
  --color-harakeke: #edf1df;
  --color-ink: #20251f;
  --color-muted: #586454;
  --color-border: #ddc8aa;
  --color-focus: #d4a327;
  --shadow-soft: 0 18px 38px rgba(23, 63, 45, 0.12);
  --shadow-card: 0 12px 24px rgba(80, 55, 35, 0.09);
  --font-heading: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --font-body: "Segoe UI", Arial, Helvetica, sans-serif;
  --container: 1120px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--color-harakeke);
  scroll-behavior: smooth;
}

body {
  --hero-image: linear-gradient(135deg, var(--color-harakeke), var(--color-cream));
  --hero-position-x: center;
  --hero-position-y: 50%;
  --hero-parallax-y: 0px;
  min-height: 100%;
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

.page-home {
  --hero-image: url("../images/banners/home-hero.png");
  --hero-position-x: center;
  --hero-position-y: 50%;
}

.page-calendar {
  --hero-image: url("../images/banners/calendar-hero.png");
  --hero-position-x: center;
  --hero-position-y: 50%;
}

.page-star-courses {
  --hero-image: url("../images/banners/star-courses-hero.webp");
  --hero-position-x: center;
  --hero-position-y: 50%;
}

.page-whanau-support {
  --hero-image: url("../images/banners/whanau-support-hero.png");
  --hero-position-x: center;
  --hero-position-y: 50%;
}

.page-digital-learning {
  --hero-image: url("../images/banners/digital-learning-hero.png");
  --hero-position-x: center;
  --hero-position-y: 50%;
}

.page-our-people {
  --hero-image: url("../images/banners/our-people-hero.png");
  --hero-position-x: center;
  --hero-position-y: 50%;
}

.page-contact {
  --hero-image: url("../images/banners/contact-hero.png");
  --hero-position-x: center;
  --hero-position-y: 50%;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  object-fit: cover;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 4px;
}

::selection {
  color: #fff;
  background: var(--color-clay);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--color-forest-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: 4.45rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 1.7rem;
}

h4 {
  font-size: 1.2rem;
}

p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.35rem;
}

:target {
  scroll-margin-top: 6rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  color: #fff;
  background: var(--color-forest-dark);
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-top: 5px solid var(--color-whenua);
  border-bottom: 1px solid rgba(222, 210, 189, 0.88);
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 10px 28px rgba(80, 55, 35, 0.08);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(100% - 2rem, var(--container));
  min-height: 5.25rem;
  margin: 0 auto;
}

.site-brand {
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.72rem;
  min-width: 14rem;
  color: var(--color-forest-dark);
  text-decoration: none;
}

.site-brand__mark {
  display: inline-flex;
  grid-row: span 2;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 6px 14px rgba(80, 55, 35, 0.16);
}

.site-brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-brand__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.08;
  white-space: nowrap;
}

.site-brand__kura {
  color: var(--color-whenua);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
}

.site-nav a {
  border-radius: var(--radius);
  padding: 0.62rem 0.76rem;
  color: var(--color-forest-dark);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: var(--color-pounamu);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--color-kowhai);
}

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.32rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-forest-dark);
  background: var(--color-paper);
  cursor: pointer;
}

.menu-toggle__line {
  display: block;
  width: 1.35rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.site-header.is-open .menu-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 34rem;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  padding: 5.5rem 0 4.5rem;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.98) 0%, rgba(255, 250, 240, 0.9) 42%, rgba(13, 40, 29, 0.42) 100%),
    var(--hero-image),
    var(--color-harakeke);
  background-position:
    center center,
    var(--hero-position-x) calc(var(--hero-position-y) + var(--hero-parallax-y)),
    center center;
  background-size:
    cover,
    cover,
    cover;
  background-repeat: no-repeat;
  will-change: background-position;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 0.85rem;
  background:
    linear-gradient(90deg,
      var(--color-forest) 0 24%,
      var(--color-whenua) 24% 40%,
      var(--color-kowhai) 40% 52%,
      var(--color-clay) 52% 66%,
      var(--color-pounamu) 66% 84%,
      var(--color-rimu) 84% 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 14rem;
  height: 7rem;
  border-top: 1px solid rgba(23, 63, 45, 0.18);
  border-left: 1px solid rgba(23, 63, 45, 0.18);
  background: rgba(234, 220, 200, 0.7);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-hero--compact {
  min-height: 22rem;
  padding: 4.5rem 0 3.6rem;
}

.page-hero__content,
.content-shell,
.site-footer__inner {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.page-hero__content {
  position: relative;
  display: grid;
  gap: 1.2rem;
  border-left: 7px solid var(--color-whenua);
  padding-left: 1.6rem;
}

.page-hero__content > p:not(.eyebrow) {
  max-width: 44rem;
  color: var(--color-muted);
  font-size: 1.2rem;
}

.eyebrow {
  color: var(--color-clay);
  font-size: 0.95rem;
  font-weight: 900;
}

.hero-focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 50rem;
  padding: 0;
  list-style: none;
}

.hero-focus-list li {
  margin: 0;
  border: 1px solid rgba(122, 81, 56, 0.32);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  color: var(--color-forest-dark);
  background: rgba(255, 250, 240, 0.9);
  font-weight: 800;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-forest);
  border-radius: var(--radius);
  padding: 0.72rem 1rem;
  color: #fff;
  background: var(--color-forest);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  border-color: var(--color-forest-dark);
  background: var(--color-forest-dark);
  transform: translateY(-1px);
}

.button--secondary {
  color: var(--color-forest-dark);
  background: rgba(255, 250, 240, 0.76);
  box-shadow: none;
}

.button--secondary:hover {
  color: #fff;
  background: var(--color-forest);
}

.button--ochre {
  border-color: var(--color-kowhai);
  color: var(--color-forest-dark);
  background: var(--color-kowhai);
}

.button--ochre:hover {
  border-color: var(--color-clay);
  color: #fff;
  background: var(--color-clay);
}

.content-shell {
  padding: 4.5rem 0;
}

.page-section {
  padding: 4.5rem 0;
}

.page-section--cream {
  background: var(--color-harakeke);
}

.page-section--paper {
  background: var(--color-paper);
}

.page-section--tan {
  background: var(--color-tan);
}

.page-section--forest {
  color: #fff;
  background: var(--color-forest-dark);
}

.page-section--forest h2,
.page-section--forest h3,
.page-section--forest .eyebrow {
  color: #fff;
}

.section-heading {
  display: grid;
  max-width: 48rem;
  gap: 0.7rem;
}

.section-heading--center {
  margin: 0 auto;
  text-align: center;
}

.section-heading p:not(.eyebrow),
.lede {
  color: var(--color-muted);
  font-size: 1.12rem;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-card,
.contact-card,
.profile-card,
.callout {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
}

.info-card,
.contact-card,
.profile-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem;
}

.info-card h3,
.contact-card h3,
.profile-card h3 {
  font-size: 1.35rem;
}

.info-card p,
.contact-card p,
.profile-card p {
  color: var(--color-muted);
}

.callout {
  display: grid;
  gap: 0.8rem;
  border-left: 6px solid var(--color-kowhai);
  padding: 1.35rem;
}

.support-section {
  display: grid;
  gap: 2rem;
}

.support-engagement {
  display: grid;
  grid-template-columns: minmax(17rem, 0.86fr) minmax(0, 1.14fr);
  gap: 1.25rem;
  align-items: stretch;
}

.support-lead {
  align-content: start;
  border-left-color: var(--color-pounamu);
  background:
    linear-gradient(135deg, rgba(47, 111, 95, 0.1), transparent 48%),
    var(--color-paper);
}

.support-step-grid,
.support-opportunity-grid,
.support-team-grid {
  display: grid;
  gap: 1rem;
}

.support-step-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-step-card,
.support-opportunity-card,
.support-team-card {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
}

.support-step-card {
  position: relative;
  min-height: 12rem;
  padding: 1.15rem;
}

.support-step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  color: #fff;
  background: var(--color-whenua);
  font-weight: 900;
  line-height: 1;
}

.support-step-card h3,
.support-opportunity-card h3,
.support-team-card h3 {
  font-size: 1.25rem;
}

.support-step-card p,
.support-opportunity-card p:not(.eyebrow),
.support-team-card p:not(.eyebrow) {
  color: var(--color-muted);
}

.support-band {
  border-top: 1px solid rgba(122, 81, 56, 0.16);
  border-bottom: 1px solid rgba(122, 81, 56, 0.16);
}

.support-opportunity-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.support-opportunity-card {
  border-top: 6px solid var(--color-rimu);
  padding: 1.2rem;
}

.support-opportunity-card[data-category="star-courses"] {
  border-top-color: var(--color-whenua);
}

.support-opportunity-card[data-category="trips"] {
  border-top-color: var(--color-ochre);
}

.support-opportunity-card[data-category="assessments"] {
  border-top-color: var(--color-clay);
}

.support-opportunity-card .button {
  align-self: end;
  justify-self: start;
  min-height: 2.75rem;
  margin-top: 0.25rem;
  padding: 0.58rem 0.78rem;
  font-size: 0.92rem;
}

.support-team-section {
  padding-bottom: 5rem;
}

.support-team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.support-team-card {
  position: relative;
  overflow: hidden;
  min-height: 13.5rem;
  border-top: 6px solid var(--color-pounamu);
  padding: 1.2rem;
}

.support-team-card:nth-child(2) {
  border-top-color: var(--color-rimu);
}

.support-team-card:nth-child(3) {
  border-top-color: var(--color-ochre);
}

.support-team-card:nth-child(4) {
  border-top-color: var(--color-whenua);
}

.support-connect {
  border-left-color: var(--color-whenua);
  background:
    linear-gradient(135deg, rgba(122, 81, 56, 0.12), transparent 48%),
    var(--color-paper);
}

.digital-intro,
.digital-access-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(18rem, 1.08fr);
  gap: 2rem;
  align-items: center;
}

.digital-intro__content,
.digital-access-panel__content,
.digital-section {
  display: grid;
  gap: 1.35rem;
}

.digital-intro__content p,
.digital-access-panel__content p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.digital-intro__content a,
.digital-access-panel__content a,
.digital-contact-card a {
  color: var(--color-pounamu);
  font-weight: 900;
}

.digital-image-frame {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin: 0;
  background: var(--color-harakeke);
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 10;
}

.digital-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.digital-need-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.digital-need-card,
.digital-contact-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
}

.digital-need-card {
  min-height: 19rem;
  border-top: 6px solid var(--color-pounamu);
  padding: 1.2rem;
}

.digital-need-card:nth-child(2) {
  border-top-color: var(--color-rimu);
}

.digital-need-card:nth-child(3) {
  border-top-color: var(--color-whenua);
}

.digital-need-card:nth-child(4),
.digital-need-card:nth-child(5) {
  border-top-color: var(--color-ochre);
}

.digital-need-card:nth-child(6) {
  border-top-color: var(--color-clay);
}

.digital-need-card h3,
.digital-contact-card h3 {
  font-size: 1.25rem;
}

.digital-need-card p:not(.eyebrow),
.digital-contact-card p {
  color: var(--color-muted);
}

.digital-need-card .button {
  align-self: end;
  justify-self: start;
  min-height: 2.7rem;
  margin-top: auto;
  padding: 0.56rem 0.78rem;
  font-size: 0.9rem;
}

.digital-need-card--support {
  background:
    linear-gradient(135deg, rgba(212, 163, 39, 0.14), transparent 46%),
    var(--color-paper);
}

.digital-help-strip {
  display: grid;
  gap: 0.2rem;
  border-left: 4px solid var(--color-kowhai);
  padding: 0.65rem 0 0.65rem 0.75rem;
  background: rgba(237, 241, 223, 0.58);
}

.digital-help-strip strong {
  color: var(--color-forest-dark);
}

.digital-help-strip span {
  color: var(--color-muted);
  font-size: 0.94rem;
}

.digital-help-strip a {
  color: var(--color-pounamu);
  font-weight: 900;
}

.digital-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.digital-tag-list span {
  border: 1px solid rgba(122, 81, 56, 0.28);
  border-radius: var(--radius);
  padding: 0.16rem 0.48rem;
  color: var(--color-forest-dark);
  background: var(--color-harakeke);
  font-size: 0.8rem;
  font-weight: 900;
}

.digital-access-panel {
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
}

.digital-access-panel__content {
  border-left: 6px solid var(--color-ochre);
  padding-left: 1.5rem;
}

.digital-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.digital-contact-card {
  min-height: 11rem;
  border-top: 5px solid var(--color-rimu);
  padding: 1.15rem;
}

.digital-contact-card:nth-child(2) {
  border-top-color: var(--color-pounamu);
}

.digital-contact-card:nth-child(3) {
  border-top-color: var(--color-whenua);
  background:
    linear-gradient(135deg, rgba(122, 81, 56, 0.1), transparent 48%),
    var(--color-paper);
}

.contact-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
  gap: 1.25rem;
  align-items: stretch;
}

.contact-start-card,
.contact-direct-card,
.contact-route-card,
.contact-other-card,
.contact-location-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
}

.contact-start-card,
.contact-direct-card {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 1.45rem;
}

.contact-start-card {
  border-left: 6px solid var(--color-pounamu);
  background:
    linear-gradient(135deg, rgba(47, 111, 95, 0.13), transparent 52%),
    var(--color-paper);
}

.contact-start-card h2,
.contact-direct-card h2 {
  font-size: 1.95rem;
}

.contact-start-card p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.contact-start-card a:not(.button),
.contact-direct-card a,
.contact-route-card a:not(.button),
.contact-other-card a {
  color: var(--color-pounamu);
  font-weight: 900;
}

.contact-direct-card {
  border-top: 6px solid var(--color-whenua);
}

.contact-detail-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.contact-detail-list div {
  display: grid;
  gap: 0.08rem;
  border-bottom: 1px solid rgba(122, 81, 56, 0.16);
  padding-bottom: 0.65rem;
}

.contact-detail-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-detail-list dt {
  color: var(--color-forest-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-detail-list dd {
  margin: 0;
  color: var(--color-muted);
}

.contact-section {
  display: grid;
  gap: 1.35rem;
}

.contact-route-grid,
.contact-other-grid {
  display: grid;
  gap: 1rem;
}

.contact-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-route-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-height: 16.5rem;
  border-top: 6px solid var(--color-pounamu);
  padding: 1.2rem;
}

.contact-route-card:nth-child(2) {
  border-top-color: var(--color-rimu);
}

.contact-route-card:nth-child(3) {
  border-top-color: var(--color-ochre);
}

.contact-route-card:nth-child(4) {
  border-top-color: var(--color-clay);
}

.contact-route-card:nth-child(5) {
  border-top-color: var(--color-whenua);
  background:
    linear-gradient(135deg, rgba(212, 163, 39, 0.13), transparent 46%),
    var(--color-paper);
}

.contact-route-card:nth-child(6) {
  border-top-color: var(--color-bark);
}

.contact-route-card h3,
.contact-other-card h3 {
  font-size: 1.25rem;
}

.contact-route-card p:not(.eyebrow) {
  color: var(--color-muted);
}

.contact-route-card .button {
  align-self: end;
  justify-self: start;
  min-height: 2.7rem;
  margin-top: auto;
  padding: 0.56rem 0.78rem;
  font-size: 0.9rem;
}

.contact-note {
  display: block;
  border-left: 4px solid var(--color-kowhai);
  padding: 0.55rem 0 0.55rem 0.75rem;
  color: var(--color-muted);
  background: rgba(237, 241, 223, 0.7);
  font-size: 0.94rem;
}

.contact-link-stack {
  display: grid;
  gap: 0.35rem;
  margin-top: auto;
}

.contact-other-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-other-card {
  display: grid;
  align-content: start;
  gap: 0.42rem;
  min-height: 8.5rem;
  border-top: 5px solid var(--color-rimu);
  padding: 1.05rem;
}

.contact-other-card:nth-child(2),
.contact-other-card:nth-child(5) {
  border-top-color: var(--color-pounamu);
}

.contact-other-card:nth-child(3),
.contact-other-card:nth-child(6) {
  border-top-color: var(--color-whenua);
}

.contact-location-band {
  padding: 4.5rem 0;
  background:
    linear-gradient(135deg, rgba(47, 111, 95, 0.14), transparent 45%),
    var(--color-harakeke);
}

.contact-location-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  gap: 1.25rem;
  align-items: center;
}

.contact-location-copy {
  display: grid;
  gap: 0.65rem;
}

.contact-location-copy p:not(.eyebrow) {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.contact-location-card {
  display: grid;
  gap: 0.25rem;
  border-left: 6px solid var(--color-whenua);
  padding: 1.25rem;
  font-style: normal;
}

.contact-location-card strong {
  margin-bottom: 0.2rem;
  color: var(--color-forest-dark);
  font-size: 1.05rem;
}

.contact-location-card span {
  color: var(--color-muted);
}

.contact-location-card .button {
  justify-self: start;
  margin-top: 0.75rem;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.list-stack {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.list-stack li {
  margin: 0;
  border-left: 4px solid var(--color-rimu);
  padding: 0.75rem 0 0.75rem 1rem;
  background: rgba(237, 241, 223, 0.72);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.tag-list li {
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.35rem 0.6rem;
  color: var(--color-forest-dark);
  background: var(--color-harakeke);
  font-weight: 700;
}

.panui-section {
  display: grid;
  gap: 1.6rem;
}

.home-intro-section {
  padding-bottom: 2.5rem;
}

.home-intro-section + .panui-section {
  padding-top: 2.5rem;
}

.home-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
  gap: 1.75rem;
  align-items: center;
}

.home-intro-copy {
  display: grid;
  gap: 0.85rem;
  border-left: 6px solid var(--color-whenua);
  padding-left: 1.25rem;
}

.home-intro-copy p:not(.eyebrow) {
  color: var(--color-muted);
  font-size: 1.08rem;
}

.home-intro-image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin: 0;
  background: var(--color-harakeke);
  box-shadow: var(--shadow-card);
}

.home-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-section {
  display: grid;
  gap: 1.6rem;
}

.home-start-grid,
.home-quick-grid {
  display: grid;
  gap: 1rem;
}

.home-start-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-start-card,
.home-event-card,
.home-map-card,
.home-quick-link {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
}

.home-start-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-height: 16.5rem;
  border-top: 6px solid var(--color-pounamu);
  padding: 1.2rem;
}

.home-start-card:nth-child(2) {
  border-top-color: var(--color-ochre);
}

.home-start-card:nth-child(3) {
  border-top-color: var(--color-whenua);
}

.home-start-card p:not(.eyebrow),
.home-event-card p,
.home-map-copy p:not(.eyebrow),
.home-map-card p {
  color: var(--color-muted);
}

.home-start-card .button {
  align-self: end;
  justify-self: start;
  min-height: 2.7rem;
  margin-top: auto;
  padding: 0.56rem 0.78rem;
  font-size: 0.9rem;
}

.home-opportunities-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

.home-event-list {
  display: grid;
  gap: 0.85rem;
}

.home-event-card {
  display: grid;
  grid-template-columns: minmax(7rem, 0.42fr) minmax(0, 1fr);
  overflow: hidden;
}

.home-event-card__date {
  display: grid;
  align-content: center;
  gap: 0.2rem;
  padding: 0.85rem;
  color: #fff;
  background: var(--color-whenua);
}

.home-event-card__date span {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.16;
}

.home-event-card__date small {
  color: #f7d57a;
  font-size: 0.78rem;
  font-weight: 900;
}

.home-event-card__body {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.9rem 1rem;
}

.home-event-card__body h3 {
  font-size: 1.15rem;
}

.home-event-card__body p {
  font-size: 0.94rem;
}

.home-map-band {
  padding: 4.5rem 0;
  background:
    linear-gradient(135deg, rgba(23, 63, 45, 0.16), transparent 44%),
    var(--color-tan);
}

.home-map-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.82fr);
  gap: 1.5rem;
  align-items: center;
}

.home-map-copy {
  display: grid;
  gap: 0.75rem;
}

.home-map-copy .button {
  justify-self: start;
}

.home-map-card {
  display: grid;
  gap: 0.75rem;
  border-left: 6px solid var(--color-pounamu);
  padding: 1.35rem;
  background:
    linear-gradient(135deg, rgba(47, 111, 95, 0.12), transparent 50%),
    var(--color-paper);
}

.home-map-card span {
  color: var(--color-clay);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home-map-card strong {
  color: var(--color-forest-dark);
  font-size: 1.35rem;
  line-height: 1.18;
}

.home-quick-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.home-quick-link {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  min-height: 8.5rem;
  border-top: 5px solid var(--color-rimu);
  padding: 1rem;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.home-quick-link:nth-child(2) {
  border-top-color: var(--color-pounamu);
}

.home-quick-link:nth-child(3) {
  border-top-color: var(--color-ochre);
}

.home-quick-link:nth-child(4) {
  border-top-color: var(--color-whenua);
}

.home-quick-link:nth-child(5) {
  border-top-color: var(--color-clay);
}

.home-quick-link:hover {
  border-color: var(--color-pounamu);
  box-shadow: 0 16px 28px rgba(80, 55, 35, 0.14);
  transform: translateY(-2px);
}

.home-quick-link span {
  color: var(--color-clay);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-quick-link strong {
  color: var(--color-forest-dark);
  font-size: 1.05rem;
  line-height: 1.2;
}

.panui-feed,
.event-feed {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.calendar-board[hidden] {
  display: none;
}

.calendar-filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.45rem 0.75rem;
  color: var(--color-forest-dark);
  background: var(--color-paper);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.calendar-filter-button:hover,
.calendar-filter-button[aria-pressed="true"] {
  border-color: var(--color-forest);
  color: #fff;
  background: var(--color-forest);
}

.calendar-filter-toggle {
  min-height: 2.45rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.45rem 0.8rem;
  color: var(--color-forest-dark);
  background: var(--color-paper);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.calendar-filter-toggle:hover,
.calendar-filter-toggle[aria-expanded="true"] {
  border-color: var(--color-whenua);
  color: #fff;
  background: var(--color-whenua);
}

.calendar-filter-menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.85rem;
  background: var(--color-paper);
}

.calendar-filter-menu[hidden] {
  display: none;
}

.region-map-panel {
  display: grid;
  grid-template-columns: minmax(14rem, 0.8fr) minmax(17rem, 1fr) minmax(16rem, 0.95fr);
  align-items: stretch;
  gap: 1rem;
  margin-top: 1.45rem;
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--color-pounamu);
  border-radius: var(--radius);
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(237, 241, 223, 0.72), rgba(255, 250, 240, 0.94)),
    var(--color-paper);
  box-shadow: var(--shadow-card);
}

.region-map-panel[hidden] {
  display: none;
}

.region-map__copy {
  display: grid;
  align-content: center;
  gap: 0.65rem;
  min-width: 0;
}

.region-map__copy h3 {
  font-size: 1.55rem;
}

.region-map__copy p:not(.eyebrow) {
  color: var(--color-muted);
}

.region-map__boundary {
  border-left: 4px solid var(--color-ochre);
  padding-left: 0.7rem;
  color: var(--color-forest-dark);
  font-weight: 800;
}

.region-map__all-button,
.region-map__legend-button {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-forest-dark);
  background: #fffdf6;
  font: inherit;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.region-map__all-button {
  justify-self: start;
  min-height: 2.45rem;
  padding: 0.45rem 0.8rem;
  font-weight: 900;
}

.region-map__copy > .region-map__back-button {
  display: none !important;
}

.region-map__all-button:hover,
.region-map__all-button[aria-pressed="true"] {
  border-color: var(--color-forest);
  color: #fff;
  background: var(--color-forest);
}

.region-map__visual {
  display: grid;
  place-items: center;
  align-self: center;
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.75rem;
  background:
    radial-gradient(circle at 70% 18%, rgba(212, 163, 39, 0.2), transparent 26%),
    linear-gradient(180deg, #f7efd9, var(--color-harakeke));
}

.region-map__stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 31.25rem);
  min-width: 0;
  aspect-ratio: 5 / 6;
}

.region-map__frame {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
}

.region-map__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(80, 55, 35, 0.17));
}

.region-map__image--base {
  z-index: 1;
  opacity: 1;
}

.region-map__image--transition {
  z-index: 2;
}

.region-map__stage--animating .region-map__image--base {
  opacity: 1;
}

.region-map__hotspots {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.region-map__hotspot {
  position: absolute;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.region-map__hotspot--office {
  border-radius: 999px;
  z-index: 2;
}

.region-map__hotspot:hover,
.region-map__hotspot:focus-visible,
.region-map__hotspot[aria-pressed="true"] {
  background: transparent;
}

.region-map__hotspot:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

.region-map__vector-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.region-map__vector-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.region-map__vector-shape {
  fill: transparent !important;
  stroke: transparent !important;
  stroke-width: 2.5;
  outline: none;
  pointer-events: all;
  transition:
    fill 160ms ease,
    stroke 160ms ease,
    filter 160ms ease,
    opacity 160ms ease;
}

.region-map__vector-region {
  cursor: pointer;
}

.region-map__vector-region:hover,
.region-map__vector-region:focus-visible {
  fill: transparent !important;
  stroke: transparent !important;
  filter: none;
}

.region-map__vector-region.is-current {
  cursor: default;
  pointer-events: none;
}

.region-map__vector-office {
  cursor: default;
  fill: transparent !important;
  stroke: transparent !important;
}

.region-map__vector-office[data-office-state] {
  cursor: pointer;
}

.region-map__vector-office:hover {
  fill: transparent !important;
  stroke: transparent !important;
  filter: none;
}

.region-map__vector-passive {
  pointer-events: none;
}

.region-map__stage--animating .region-map__vector-overlay {
  opacity: 0;
  pointer-events: none;
}

.region-map__stage:has(.region-map__vector-overlay) .region-map__hotspot--region {
  pointer-events: none;
}

.region-map__stage--office .region-map__hotspots {
  pointer-events: none;
}

.region-map__office-overlay {
  position: absolute;
  top: 4.5%;
  right: 5%;
  left: 5%;
  z-index: 6;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 62%;
  overflow: hidden;
  border: 1px solid rgba(84, 78, 51, 0.24);
  border-radius: var(--radius);
  background: #fffdf6;
  box-shadow: 0 20px 42px rgba(48, 38, 24, 0.24);
}

.region-map__office-map-panel {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.region-map__office-map-embed {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(67, 121, 87, 0.18), rgba(190, 138, 65, 0.2)),
    var(--color-harakeke);
}

.region-map__office-map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  border: 0;
}

.region-map__office-map-placeholder {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 1rem;
  color: var(--color-forest-dark);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.region-map__office-view-toggle {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  display: inline-flex;
  gap: 0.18rem;
  border: 1px solid rgba(31, 94, 66, 0.18);
  border-radius: 999px;
  padding: 0.18rem;
  background: rgba(255, 253, 246, 0.94);
  box-shadow: 0 8px 18px rgba(48, 38, 24, 0.18);
}

.region-map__office-view-button {
  border: 0;
  border-radius: 999px;
  padding: 0.34rem 0.56rem;
  color: var(--color-forest-dark);
  background: transparent;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    opacity 160ms ease;
}

.region-map__office-view-button.is-active {
  color: #fffdf6;
  background: var(--color-forest);
}

.region-map__office-view-button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.region-map__office-view-button:not(:disabled):hover,
.region-map__office-view-button:not(:disabled):focus-visible {
  color: #fffdf6;
  background: var(--color-forest-dark);
}

.region-map__office-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  border-top: 1px solid rgba(84, 78, 51, 0.18);
  padding: 0.62rem 0.7rem;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.96), rgba(237, 241, 223, 0.96)),
    #fffdf6;
}

.region-map__office-text {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.region-map__office-text h4,
.region-map__office-text p {
  margin: 0;
}

.region-map__office-text h4 {
  color: var(--color-forest-dark);
  font-size: 0.98rem;
  line-height: 1.15;
}

.region-map__office-text p,
.region-map__office-text a {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.22;
}

.region-map__office-text a {
  justify-self: start;
  color: var(--color-forest);
  text-decoration: none;
}

.region-map__office-text a:hover {
  text-decoration: underline;
}

.region-map__directions-button {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(31, 94, 66, 0.4);
  border-radius: 999px;
  color: var(--color-forest);
  background: #fffdf6;
  box-shadow: 0 8px 18px rgba(48, 38, 24, 0.16);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.region-map__directions-button:hover,
.region-map__directions-button:focus-visible {
  border-color: var(--color-forest);
  color: var(--color-forest-dark);
  background: #fffdf6;
  box-shadow: 0 12px 24px rgba(31, 94, 66, 0.26);
  transform: translateY(-1px);
}

.region-map__directions-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.region-map__directions-diamond {
  fill: currentColor;
}

.region-map__directions-arrow {
  fill: #fffdf6;
}

.region-map__office-rotate-button {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(31, 94, 66, 0.24);
  border-radius: 999px;
  color: var(--color-forest-dark);
  background: rgba(255, 253, 246, 0.92);
  box-shadow: 0 10px 24px rgba(48, 38, 24, 0.2);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.region-map__office-rotate-button::before {
  content: "";
  display: block;
  width: 0.62rem;
  height: 0.62rem;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.region-map__office-rotate-button--previous {
  left: 0.55rem;
}

.region-map__office-rotate-button--previous::before {
  transform: translateX(0.12rem) rotate(-135deg);
}

.region-map__office-rotate-button--next {
  right: 0.55rem;
}

.region-map__office-rotate-button--next::before {
  transform: translateX(-0.12rem) rotate(45deg);
}

.region-map__office-rotate-button:hover,
.region-map__office-rotate-button:focus-visible {
  border-color: rgba(31, 94, 66, 0.5);
  color: #fffdf6;
  background: var(--color-forest);
  box-shadow: 0 14px 28px rgba(31, 94, 66, 0.24);
}

.region-map__office-rotate-button--previous:hover,
.region-map__office-rotate-button--previous:focus-visible {
  transform: translate(-2px, -50%);
}

.region-map__office-rotate-button--next:hover,
.region-map__office-rotate-button--next:focus-visible {
  transform: translate(2px, -50%);
}

.region-map__office-back-zone {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5;
  height: 33.333%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.region-map__office-back-zone:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: -6px;
}

.region-map__stage--animating .region-map__office-overlay,
.region-map__stage--animating .region-map__office-back-zone {
  opacity: 0;
  pointer-events: none;
}

.region-map__hotspot--northern {
  top: 2%;
  left: 50%;
  width: 38%;
  height: 38%;
}

.region-map__hotspot--te-kahui-hau-a-uru {
  top: 30%;
  left: 49%;
  width: 29%;
  height: 25%;
}

.region-map__hotspot--te-kahui-rawhiti {
  top: 31%;
  left: 66%;
  width: 31%;
  height: 28%;
}

.region-map__hotspot--central-south {
  top: 43%;
  left: 44%;
  width: 29%;
  height: 24%;
}

.region-map__hotspot--southern {
  top: 42%;
  left: 4%;
  width: 58%;
  height: 56%;
}

.region-map__svg {
  width: min(100%, 18rem);
  max-height: 31rem;
}

.region-map__watermark {
  fill: rgba(255, 250, 240, 0.52);
  stroke: rgba(122, 81, 56, 0.15);
  stroke-width: 4;
}

.region-map__region {
  cursor: pointer;
  outline: none;
}

.region-map__shape {
  stroke: #fffaf0;
  stroke-linejoin: round;
  stroke-width: 4;
  filter: drop-shadow(0 8px 12px rgba(80, 55, 35, 0.12));
  transition:
    filter 180ms ease,
    opacity 180ms ease,
    stroke-width 180ms ease,
    transform 180ms ease;
  transform-box: fill-box;
  transform-origin: center;
}

.region-map__region:hover .region-map__shape,
.region-map__region:focus-visible .region-map__shape,
.region-map__region[aria-pressed="true"] .region-map__shape {
  filter: drop-shadow(0 13px 18px rgba(32, 37, 31, 0.22));
  stroke: var(--color-forest-dark);
  stroke-width: 6;
  transform: scale(1.018);
}

.region-map__label {
  pointer-events: none;
  fill: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 900;
  paint-order: stroke;
  stroke: rgba(13, 40, 29, 0.58);
  stroke-linejoin: round;
  stroke-width: 4;
  text-anchor: middle;
  dominant-baseline: middle;
}

.region-map__region--northern .region-map__shape {
  fill: var(--color-rimu);
}

.region-map__region--te-kahui-hau-a-uru .region-map__shape {
  fill: var(--color-ochre);
}

.region-map__region--te-kahui-rawhiti .region-map__shape {
  fill: var(--color-pounamu);
}

.region-map__region--central-south .region-map__shape {
  fill: var(--color-clay);
}

.region-map__region--southern .region-map__shape {
  fill: var(--color-bark);
}

.region-map__region--overseas .region-map__shape {
  fill: var(--color-forest);
}

.region-map__legend {
  display: grid;
  gap: 0.48rem;
  min-width: 0;
}

.region-map__legend-button {
  --region-accent: var(--color-pounamu);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  border-left: 5px solid var(--region-accent);
  padding: 0.5rem 0.65rem;
  text-align: left;
}

.region-map__legend-button:hover,
.region-map__legend-button:focus-visible,
.region-map__legend-button[aria-pressed="true"] {
  border-color: var(--region-accent);
  box-shadow: 0 10px 18px rgba(80, 55, 35, 0.13);
  transform: translateY(-1px);
}

.region-map__legend-button[aria-pressed="true"] {
  color: #fff;
  background: var(--region-accent);
}

.region-map__legend-button[data-region="northern"] {
  --region-accent: var(--color-rimu);
}

.region-map__legend-button[data-region="te-kahui-hau-a-uru"] {
  --region-accent: var(--color-ochre);
}

.region-map__legend-button[data-region="te-kahui-rawhiti"] {
  --region-accent: var(--color-pounamu);
}

.region-map__legend-button[data-region="central-south"] {
  --region-accent: var(--color-clay);
}

.region-map__legend-button[data-region="southern"] {
  --region-accent: var(--color-bark);
}

.region-map__legend-button[data-region="overseas"] {
  --region-accent: var(--color-forest);
}

.region-map__legend-name,
.region-map__legend-count {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-map__legend-name {
  font-weight: 900;
}

.region-map__legend-count {
  font-size: 0.78rem;
  font-weight: 900;
}

.region-map__events-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 22rem;
  max-height: 36rem;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-whenua);
  border-radius: var(--radius);
  padding: 0.85rem;
  background: #fffdf6;
}

.region-map__events-heading {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.region-map__events-heading h3 {
  font-size: 1.2rem;
}

.region-map__events-heading p:not(.eyebrow) {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.region-map__events-feed {
  align-content: start;
  gap: 0.42rem;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-top: 0;
  padding-right: 0.15rem;
}

.region-map__events-feed .event-card {
  grid-template-columns: minmax(4.65rem, 0.7fr) minmax(0, 2.3fr);
}

.region-map__events-feed .event-card--no-date {
  grid-template-columns: minmax(0, 1fr);
}

.region-map__events-feed .event-card__date {
  gap: 0.16rem;
  padding: 0.45rem;
}

.region-map__events-feed .event-card__date p {
  font-size: 0.74rem;
  line-height: 1.12;
}

.region-map__events-feed .event-card__date span {
  font-size: 0.62rem;
  line-height: 1.12;
}

.region-map__events-feed .event-card__body {
  gap: 0.26rem;
  padding: 0.48rem 0.6rem;
}

.region-map__events-feed .event-tags {
  gap: 0.22rem;
}

.region-map__events-feed .event-tag {
  padding: 0.08rem 0.32rem;
  font-size: 0.62rem;
  line-height: 1.2;
}

.region-map__events-feed .event-card__body h3 {
  font-size: 0.82rem;
  line-height: 1.12;
}

.region-map__events-feed .event-card__body p {
  font-size: 0.68rem;
  line-height: 1.18;
}

.region-map__events-feed .event-card__body > p:not(.event-card__meta):not(.event-card__safety) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.region-map__events-feed .event-card__safety {
  border-left-width: 3px;
  padding-left: 0.42rem;
}

.calendar-select-field {
  display: grid;
  gap: 0.35rem;
  color: var(--color-forest-dark);
  font-weight: 900;
}

.calendar-select-field select {
  min-height: 2.55rem;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  color: var(--color-forest-dark);
  background: #fff;
  font: inherit;
  font-weight: 800;
}

.calendar-nav-button {
  min-height: 2.45rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.45rem 0.75rem;
  color: var(--color-forest-dark);
  background: var(--color-paper);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.calendar-nav-button:hover {
  border-color: var(--color-whenua);
  color: #fff;
  background: var(--color-whenua);
}

.calendar-view-toggle-button {
  min-width: 9.5rem;
  border-color: var(--color-forest);
  color: #fff;
  background: var(--color-forest);
}

.calendar-workspace {
  --calendar-panel-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  margin-top: 1.25rem;
}

.calendar-list-panel,
.calendar-board-panel {
  min-width: 0;
}

.calendar-list-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: var(--calendar-panel-height);
  max-height: var(--calendar-panel-height);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--color-whenua);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
}

.calendar-list-panel .section-heading--compact {
  margin-top: 0;
}

.calendar-list-panel .event-feed {
  align-content: start;
  overflow-y: auto;
  overscroll-behavior: contain;
  min-height: 0;
  margin-top: 0;
  padding-right: 0.15rem;
}

.calendar-board-panel {
  display: grid;
}

.calendar-board-panel .calendar-board {
  height: auto;
  margin-top: 0;
}

.calendar-board {
  display: grid;
  gap: 1rem;
  overflow-x: hidden;
  overflow-y: auto;
  margin-top: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem;
  background: linear-gradient(180deg, var(--color-paper), var(--color-cream));
  box-shadow: var(--shadow-card);
}

.calendar-board__header {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(8rem, 1fr) auto minmax(8rem, 1fr);
  gap: 1rem;
}

.calendar-board__header h3,
.calendar-board__header p {
  margin: 0;
}

.calendar-board__filter {
  position: relative;
  justify-self: start;
}

.calendar-filter-menu--board {
  position: absolute;
  z-index: 12;
  top: calc(100% + 0.45rem);
  left: 0;
  width: min(34rem, 80vw);
  box-shadow: 0 18px 32px rgba(80, 55, 35, 0.16);
}

.calendar-board__nav {
  display: grid;
  align-items: center;
  grid-template-columns: 2.5rem minmax(0, auto) 2.5rem;
  justify-self: center;
  gap: 0.55rem;
}

.calendar-nav-button--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  min-height: 2.45rem;
  padding: 0;
  font-size: 1.45rem;
  line-height: 1;
}

.calendar-board__title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  text-align: center;
}

.calendar-board__title h3 {
  font-size: 1.22rem;
  line-height: 1.2;
}

.calendar-board__title p {
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1.2;
}

.calendar-board__view-toggle .calendar-view-toggle-button {
  min-width: 0;
  min-height: 2rem;
  padding: 0.28rem 0.55rem;
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
}

.calendar-board__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  justify-self: end;
  min-width: 0;
}

.calendar-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-border);
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
}

.calendar-weekday {
  min-width: 0;
  padding: 0.5rem 0.25rem;
  color: #fff;
  background: var(--color-whenua);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.calendar-day {
  display: grid;
  align-content: start;
  position: relative;
  min-width: 0;
  min-height: 8.5rem;
  gap: 0.45rem;
  padding: 0.55rem;
  background: var(--color-paper);
}

.calendar-day--today {
  box-shadow: inset 0 0 0 2px rgba(180, 111, 40, 0.72);
  background:
    linear-gradient(135deg, rgba(212, 163, 39, 0.14), transparent 58%),
    var(--color-paper);
}

.calendar-day--today::after {
  content: "Today";
  position: absolute;
  top: 0.52rem;
  right: 0.52rem;
  border: 1px solid rgba(180, 111, 40, 0.42);
  border-radius: 999px;
  padding: 0.08rem 0.38rem;
  color: var(--color-forest-dark);
  background: #fff4cf;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.2;
}

.calendar-grid--week .calendar-day {
  min-height: 14rem;
}

.calendar-grid.calendar-grid--week {
  min-width: 0;
}

.calendar-grid--week .calendar-weekday {
  padding: 0.45rem 0.25rem;
  font-size: 0.76rem;
}

.calendar-grid--week .calendar-day {
  min-width: 0;
  padding: 0.45rem;
}

.calendar-grid--week .calendar-day__number {
  width: 1.7rem;
  min-height: 1.7rem;
  font-size: 0.86rem;
}

.calendar-week {
  display: grid;
  grid-template-columns: minmax(2.65rem, 0.34fr) repeat(7, minmax(0, 1fr));
  grid-template-rows: auto auto minmax(34rem, auto);
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-border);
  gap: 1px;
}

.calendar-week__day {
  display: contents;
}

.calendar-week__time-heading,
.calendar-week__day-heading {
  min-width: 0;
  padding: 0.48rem 0.28rem;
  color: #fff;
  background: var(--color-whenua);
  font-weight: 900;
  text-align: center;
}

.calendar-week__time-heading {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.calendar-week__day-heading {
  display: grid;
  grid-column: var(--week-column);
  grid-row: 1;
  gap: 0.08rem;
  font-size: 0.78rem;
  line-height: 1.15;
}

.calendar-week__day-name,
.calendar-week__day-date {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-week__day-date {
  color: #f8df97;
  font-size: 0.68rem;
}

.calendar-week__day--today .calendar-week__day-heading {
  background: linear-gradient(135deg, var(--color-whenua), var(--color-ochre));
  box-shadow: inset 0 -3px 0 rgba(255, 244, 207, 0.5);
}

.calendar-week__day--today .calendar-week__day-date::after {
  content: " Today";
  color: #fff4cf;
  font-weight: 900;
}

.calendar-week__untimed-spacer,
.calendar-week__untimed-column,
.calendar-week__time-axis,
.calendar-week__day-timeline {
  min-width: 0;
  background: var(--color-paper);
}

.calendar-week__untimed-spacer {
  grid-column: 1;
  grid-row: 2;
  background: #f4ead8;
}

.calendar-week__untimed-column {
  display: grid;
  grid-column: var(--week-column);
  grid-row: 2;
  align-content: start;
  gap: 0.32rem;
  min-height: 2.6rem;
  padding: 0.38rem;
}

.calendar-week__time-axis,
.calendar-week__day-timeline {
  position: relative;
  min-height: 34rem;
}

.calendar-week__time-axis {
  grid-column: 1;
  grid-row: 3;
  background: #f4ead8;
}

.calendar-week__time-label {
  position: absolute;
  right: 0.38rem;
  left: 0.2rem;
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  transform: translateY(-50%);
}

.calendar-week__day-timeline {
  grid-column: var(--week-column);
  grid-row: 3;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(95, 71, 47, 0.08) 0,
      rgba(95, 71, 47, 0.08) 1px,
      transparent 1px,
      transparent calc(100% / 6)
    ),
    var(--color-paper);
}

.calendar-week__day--today .calendar-week__untimed-column,
.calendar-week__day--today .calendar-week__day-timeline {
  background-color: #fff6dc;
}

.calendar-week__day--today .calendar-week__day-timeline {
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(95, 71, 47, 0.08) 0,
      rgba(95, 71, 47, 0.08) 1px,
      transparent 1px,
      transparent calc(100% / 6)
    ),
    #fff6dc;
  box-shadow: inset 0 0 0 2px rgba(180, 111, 40, 0.42);
}

.calendar-day--outside {
  color: var(--color-muted);
  background: #f4ead8;
}

.calendar-day--outside.calendar-day--today {
  background:
    linear-gradient(135deg, rgba(212, 163, 39, 0.16), transparent 58%),
    #fff1d2;
}

.calendar-day__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  min-height: 2rem;
  border-radius: var(--radius);
  color: var(--color-forest-dark);
  background: var(--color-harakeke);
  font-weight: 900;
}

.calendar-day__events {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.calendar-event {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 2.3rem;
  gap: 0.05rem;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-pounamu);
  border-radius: var(--radius);
  padding: 0.35rem 0.45rem;
  color: var(--color-forest-dark);
  background: #fffdf6;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.calendar-event:hover,
.calendar-event:focus-visible,
.calendar-event.is-detail-open {
  border-color: var(--color-whenua);
  box-shadow: 0 10px 18px rgba(80, 55, 35, 0.13);
  transform: translateY(-1px);
}

.calendar-event[data-category="trips"],
.calendar-event--limited {
  border-left-color: var(--color-ochre);
  background: #fff7df;
}

.calendar-event[data-category="assessments"] {
  border-left-color: var(--color-clay);
}

.calendar-event[data-category="star-courses"] {
  border-left-color: var(--color-whenua);
}

.calendar-event[data-category="huinga-ako"] {
  border-left-color: var(--color-rimu);
}

.calendar-event--past {
  opacity: 0.55;
  border-color: rgba(88, 100, 84, 0.28);
  border-left-color: var(--color-muted);
  color: rgba(34, 54, 38, 0.78);
  background: #f4f0e5;
  filter: saturate(0.68);
}

.calendar-event--past .calendar-event__meta {
  color: rgba(88, 100, 84, 0.82);
}

.calendar-event--past:hover,
.calendar-event--past:focus-visible,
.calendar-event--past.is-detail-open {
  opacity: 0.82;
  filter: saturate(0.82);
}

.calendar-event__title,
.calendar-event__meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-event__title {
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
}

.calendar-event__meta {
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
}

.calendar-event--compact {
  min-height: 2.05rem;
  padding: 0.3rem 0.4rem;
}

.calendar-week .calendar-event--compact {
  border-left-width: 3px;
  padding: 0.28rem 0.32rem;
}

.calendar-week .calendar-event__title {
  font-size: 0.72rem;
}

.calendar-event--week-timed {
  position: absolute;
  right: 0.28rem;
  left: 0.28rem;
  width: auto;
  min-height: 2.35rem;
  border-left-width: 3px;
  box-shadow: 0 7px 14px rgba(80, 55, 35, 0.12);
}

.calendar-event--week-timed:hover,
.calendar-event--week-timed:focus-visible,
.calendar-event--week-timed.is-detail-open {
  transform: translateY(-1px);
}

.calendar-term {
  display: grid;
  min-width: 0;
  gap: 0.7rem;
}

.calendar-term-week {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  min-width: 0;
  gap: 0.9rem;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-whenua);
  border-radius: var(--radius);
  padding: 0.85rem;
  background: var(--color-paper);
}

.calendar-term-week--today {
  border-left-color: var(--color-ochre);
  background:
    linear-gradient(135deg, rgba(212, 163, 39, 0.16), transparent 44%),
    var(--color-paper);
  box-shadow: 0 12px 22px rgba(80, 55, 35, 0.1);
}

.calendar-term-week--today .calendar-term-week__header p::after {
  content: "Current week";
  display: inline-flex;
  margin-left: 0.45rem;
  border: 1px solid rgba(180, 111, 40, 0.34);
  border-radius: 999px;
  padding: 0.08rem 0.34rem;
  color: var(--color-forest-dark);
  background: #fff4cf;
  font-size: 0.62rem;
  text-transform: none;
}

.calendar-term-week__header {
  display: grid;
  align-content: start;
  gap: 0.2rem;
  min-width: 0;
}

.calendar-term-week__header p {
  margin: 0;
  color: var(--color-clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-term-week__header h3 {
  margin: 0;
  font-size: 1.05rem;
}

.calendar-term-week__events {
  display: grid;
  align-content: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 0.45rem;
  min-width: 0;
}

.calendar-term-week__empty {
  margin: 0;
  color: var(--color-muted);
  font-weight: 800;
}

.section-heading--compact {
  margin-top: 2rem;
}

.section-heading--compact h3 {
  font-size: 1.45rem;
}

.panui-card,
.event-card,
.empty-state {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
}

.panui-card {
  position: relative;
  display: grid;
  gap: 1rem;
  border-top: 6px solid var(--color-whenua);
  padding: 1.35rem;
}

.panui-card::before {
  content: "Pānui";
  justify-self: start;
  border-radius: var(--radius);
  padding: 0.2rem 0.55rem;
  color: #fff;
  background: var(--color-whenua);
  font-size: 0.85rem;
  font-weight: 900;
}

.panui-card--collapsible {
  display: block;
  overflow: hidden;
  padding: 0;
}

.panui-card--collapsible::before {
  display: none;
}

.panui-card__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem 1.15rem;
  cursor: pointer;
  list-style: none;
}

.panui-card__summary::-webkit-details-marker {
  display: none;
}

.panui-card__header {
  display: grid;
  gap: 0.3rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.85rem;
}

.panui-card__header--summary {
  border-bottom: 0;
  padding-bottom: 0;
}

.panui-card__header--summary h3 {
  font-size: 1.2rem;
}

.panui-card__date {
  color: var(--color-clay);
  font-weight: 900;
}

.panui-card__toggle {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.36rem 0.62rem;
  color: var(--color-forest-dark);
  background: var(--color-harakeke);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.panui-card--collapsible[open] .panui-card__toggle {
  color: #fff;
  background: var(--color-whenua);
  border-color: var(--color-whenua);
}

.panui-content {
  display: grid;
  gap: 0.8rem;
  color: var(--color-ink);
}

.panui-card--collapsible .panui-content {
  border-top: 1px solid var(--color-border);
  padding: 1rem 1.15rem 1.2rem;
}

.panui-content h2,
.panui-content h3,
.panui-content h4 {
  margin-top: 0.4rem;
}

.panui-content a {
  color: var(--color-pounamu);
  font-weight: 800;
}

.panui-content table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-collapse: collapse;
  border-radius: var(--radius);
}

.panui-content th,
.panui-content td {
  border: 1px solid var(--color-border);
  padding: 0.65rem;
  text-align: left;
  vertical-align: top;
}

.panui-content th {
  color: var(--color-forest-dark);
  background: var(--color-harakeke);
}

.star-courses-shell {
  display: grid;
  gap: 2rem;
  padding: 4rem 0;
}

.star-quiz {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.star-quiz[hidden],
.star-results-panel[hidden] {
  display: none;
}

.star-quiz-card,
.star-selection-card,
.star-results-panel,
.star-course-card,
.star-register-summary,
.star-register-form {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-paper);
  box-shadow: var(--shadow-card);
}

.star-quiz-card {
  grid-area: 1 / 1;
  display: grid;
  gap: 1rem;
  width: min(100%, 56rem);
  margin: 0 auto;
  padding: 1rem;
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  visibility: visible;
  transition:
    opacity 980ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 980ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 980ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0ms linear 980ms;
  will-change: opacity, filter, transform;
}

.star-quiz-card.is-active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
  visibility: visible;
  transition-delay: 0ms;
}

.star-quiz-card.is-inactive {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  filter: blur(8px);
  transform: translateY(2rem) scale(0.96);
  visibility: hidden;
}

.star-quiz-card.is-exiting {
  filter: blur(9px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2.4rem) scale(0.95);
}

.star-courses--has-results .star-results-panel,
.star-courses--has-results .star-course-feed,
.star-courses--has-results .star-calendar-panel {
  animation: starStepIn 980ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes starStepIn {
  from {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(1.35rem) scale(0.97);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.star-quiz-card__heading {
  display: grid;
  gap: 0.45rem;
}

.star-quiz-card__heading p:not(.eyebrow),
.star-selection-card__hint {
  color: var(--color-muted);
}

.star-quiz-card--start {
  min-height: 23rem;
  align-content: center;
  justify-items: start;
  padding: clamp(1.25rem, 3vw, 2rem);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.94), rgba(237, 241, 223, 0.9)),
    var(--color-paper);
}

.star-quiz-start__actions {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.star-quiz-start__actions p {
  color: var(--color-muted);
  font-weight: 900;
}

.star-map {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(237, 241, 223, 0.86), rgba(234, 220, 200, 0.9)),
    var(--color-harakeke);
}

.star-map__stage {
  width: min(100%, 31rem);
  margin: 0 auto;
}

.star-map__prompt {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  display: grid;
  gap: 0.2rem;
  width: max-content;
  max-width: min(15rem, calc(100% - 2rem));
  border: 1px solid rgba(122, 81, 56, 0.28);
  border-left: 5px solid var(--color-kowhai);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  color: var(--color-forest-dark);
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 14px 28px rgba(32, 37, 31, 0.16);
  pointer-events: none;
}

.star-map__prompt--right {
  transform: translate(0.85rem, -50%);
}

.star-map__prompt--left {
  transform: translate(calc(-100% - 0.85rem), -50%);
}

.star-map__prompt strong {
  font-family: var(--font-heading);
  line-height: 1.1;
}

.star-map__prompt span {
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}

.star-map__vector-region {
  transition:
    fill-opacity 160ms ease,
    stroke-opacity 160ms ease;
}

.star-map__vector-region:hover,
.star-map__vector-region:focus-visible {
  fill-opacity: 0.16;
  stroke-opacity: 0.55;
}

.star-map__vector-region.is-current {
  fill: var(--color-kowhai);
  fill-opacity: 0.24;
  stroke: var(--color-forest-dark);
  stroke-opacity: 0.75;
  stroke-width: 3px;
}

.star-selection-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.star-selection-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.star-selection-summary p {
  display: grid;
  gap: 0.12rem;
  border-left: 4px solid var(--color-ochre);
  padding-left: 0.65rem;
}

.star-selection-summary strong,
.star-selection-card legend {
  color: var(--color-clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.star-selection-summary span {
  color: var(--color-forest-dark);
  font-weight: 900;
}

.star-selection-card__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.star-selection-card fieldset {
  display: grid;
  gap: 0.45rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin: 0;
  padding: 0.8rem;
}

.star-filter-check {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  color: var(--color-forest-dark);
  font-size: 0.93rem;
  font-weight: 800;
}

.star-filter-check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--color-pounamu);
}

.star-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.star-industry-button {
  display: grid;
  min-height: 6.4rem;
  align-content: start;
  gap: 0.3rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.85rem;
  color: var(--color-forest-dark);
  background: #fffdf6;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.star-industry-button:hover,
.star-industry-button:focus-visible,
.star-industry-button.is-selected {
  border-color: var(--color-pounamu);
  background: var(--color-harakeke);
  box-shadow: 0 12px 22px rgba(23, 63, 45, 0.11);
}

.star-industry-button.is-selected {
  box-shadow: inset 0 0 0 2px var(--color-pounamu);
}

.star-industry-button strong {
  font-size: 1rem;
}

.star-industry-button span {
  color: var(--color-muted);
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.35;
}

.star-results-panel {
  display: grid;
  gap: 1.15rem;
  padding: 1rem;
}

.star-results-controls {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fffdf6;
}

.star-results-controls summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  color: var(--color-forest-dark);
  cursor: pointer;
  list-style: none;
}

.star-results-controls summary::-webkit-details-marker {
  display: none;
}

.star-results-controls summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-forest-dark);
  background: var(--color-harakeke);
  font-weight: 900;
}

.star-results-controls[open] summary::after {
  content: "-";
}

.star-results-controls summary span {
  display: grid;
  gap: 0.18rem;
}

.star-results-controls summary strong {
  font-size: 1rem;
}

.star-results-controls summary small {
  color: var(--color-muted);
  font-weight: 800;
  line-height: 1.35;
}

.star-results-controls__body {
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--color-border);
  padding: 1rem;
}

.star-events-panel,
.star-calendar-panel {
  display: grid;
  gap: 0.8rem;
}

.star-results-title {
  display: grid;
  gap: 0.28rem;
}

.star-results-title p:not(.eyebrow) {
  max-width: 62rem;
  color: var(--color-muted);
  font-weight: 800;
}

.star-calendar-panel {
  margin-top: 0.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.star-calendar-panel .calendar-board__filter {
  display: none;
}

.star-calendar-panel .calendar-board__header {
  grid-template-columns: minmax(0, 1fr) auto;
}

.star-calendar-panel .calendar-board__nav {
  justify-self: start;
}

.star-answer-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
}

.star-answer-bar__copy {
  display: grid;
  gap: 0.3rem;
}

.star-answer-bar__copy p {
  color: var(--color-muted);
  font-weight: 800;
}

.star-answer-bar__actions {
  display: flex;
  justify-content: flex-end;
}

.star-share-button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.star-course-feed {
  display: grid;
  gap: 0.85rem;
}

.star-course-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.star-course-card__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.star-course-card__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.star-course-card__details p,
.star-course-date-stack {
  display: grid;
  grid-column: 1 / -1;
  gap: 0.16rem;
  border-left: 4px solid var(--color-pounamu);
  padding-left: 0.65rem;
}

.star-course-card__details strong,
.star-course-date-stack > strong {
  color: var(--color-clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.star-course-date-list {
  display: grid;
  gap: 0.45rem;
}

.star-course-date-badge {
  display: block;
  border: 1px solid rgba(23, 63, 45, 0.16);
  border-left: 5px solid var(--color-kowhai);
  border-radius: var(--radius);
  padding: 0.48rem 0.65rem;
  color: var(--color-forest-dark);
  background: var(--color-harakeke);
  font-weight: 900;
  line-height: 1.25;
}

.star-course-date-badge:nth-child(2n) {
  border-left-color: var(--color-ochre);
  background: #fff3d4;
}

.star-course-date-badge:nth-child(3n) {
  border-left-color: var(--color-clay);
  background: #f6e3d6;
}

.star-course-card p {
  color: var(--color-muted);
}

.star-course-card__apply {
  border-left: 4px solid var(--color-kowhai);
  padding-left: 0.7rem;
  color: var(--color-forest-dark) !important;
  font-weight: 900;
}

.star-course-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.star-status {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.28rem 0.55rem;
  color: #fff;
  background: var(--color-pounamu);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.star-status--limited-spaces,
.star-status--waitlist-open {
  color: var(--color-forest-dark);
  background: #f5d991;
  border-color: #d7ab4b;
}

.star-status--full {
  background: var(--color-whenua);
  border-color: var(--color-whenua);
}

.star-status--cancelled {
  background: var(--color-clay);
  border-color: var(--color-clay);
}

.star-register-shell {
  display: grid;
  gap: 2rem;
  padding: 4rem 0;
}

.star-register-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr);
  gap: 1rem;
  align-items: start;
}

.star-register-summary,
.star-register-form {
  padding: 1rem;
}

.star-register-summary {
  display: grid;
  gap: 0.85rem;
  position: sticky;
  top: 6rem;
}

.star-register-detail-list {
  display: grid;
  gap: 0.75rem;
}

.star-register-detail-list div {
  display: grid;
  gap: 0.14rem;
  border-left: 4px solid var(--color-kowhai);
  padding-left: 0.7rem;
}

.star-register-detail-list dt {
  color: var(--color-clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.star-register-detail-list dd {
  color: var(--color-forest-dark);
  font-weight: 850;
}

.star-register-detail-list ul {
  display: grid;
  gap: 0.3rem;
  margin: 0.25rem 0 0;
  padding-left: 1rem;
}

.star-register-form {
  display: grid;
  gap: 1rem;
}

.star-register-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.star-register-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--color-forest-dark);
  font-weight: 900;
}

.star-register-form__wide {
  grid-column: 1 / -1;
}

.star-register-form input[type="text"] {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.8rem 0.85rem;
  color: var(--color-forest-dark);
  background: #fffdf6;
  font: inherit;
}

.star-register-form input[type="text"]:focus-visible {
  outline: 3px solid rgba(226, 173, 63, 0.34);
  outline-offset: 2px;
  border-color: var(--color-pounamu);
}

.star-register-honeypot {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.star-register-check {
  display: flex !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.55rem;
  border: 1px solid rgba(226, 173, 63, 0.45);
  border-radius: var(--radius);
  padding: 0.85rem;
  background: var(--color-harakeke);
}

.star-register-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.16rem;
  accent-color: var(--color-pounamu);
}

.star-register-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.star-register-actions p {
  color: var(--color-muted);
  font-weight: 800;
}

.star-register-actions p[data-tone="success"] {
  color: var(--color-pounamu);
}

.star-register-actions p[data-tone="error"] {
  color: var(--color-clay);
}

.star-register-actions p[data-tone="loading"] {
  color: var(--color-whenua);
}

.star-register-actions p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.star-register-return {
  display: flex;
  justify-content: center;
}

.event-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  overflow: hidden;
  cursor: default;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.event-card--no-date {
  grid-template-columns: minmax(0, 1fr);
}

.event-card:focus-within {
  border-color: var(--color-whenua);
  box-shadow: 0 16px 28px rgba(80, 55, 35, 0.14);
}

.event-card--limited {
  border-top: 5px solid var(--color-ochre);
}

.event-card__date {
  display: grid;
  align-content: center;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.85rem;
  color: #fff;
  background: var(--color-whenua);
}

.event-card__date p {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
}

.event-card__date span {
  color: #f7d57a;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
}

.event-card__body {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  padding: 1rem 1.15rem;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.event-tag {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.16rem 0.48rem;
  color: var(--color-forest-dark);
  background: var(--color-harakeke);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
}

.event-tag--region {
  color: #fff;
  background: var(--color-pounamu);
  border-color: var(--color-pounamu);
}

.event-tag--trips,
.event-tag--limited {
  color: var(--color-forest-dark);
  background: #f5d991;
  border-color: #d7ab4b;
}

.event-tag--assessments {
  color: #fff;
  background: var(--color-clay);
  border-color: var(--color-clay);
}

.event-tag--star-courses {
  color: #fff;
  background: var(--color-whenua);
  border-color: var(--color-whenua);
}

.event-popover__action {
  width: 100%;
  min-height: 2.6rem;
  margin-top: 0.8rem;
}

.event-tag--huinga-ako {
  color: #fff;
  background: var(--color-rimu);
  border-color: var(--color-rimu);
}

.event-card__body p {
  color: var(--color-muted);
}

.event-card__meta {
  color: var(--color-pounamu);
  font-weight: 800;
}

.event-card__safety {
  border-left: 4px solid var(--color-ochre);
  padding-left: 0.65rem;
  color: var(--color-forest-dark);
  font-weight: 800;
}

.event-card__link {
  justify-self: start;
  color: var(--color-pounamu);
  font-weight: 900;
}

.event-popover {
  position: fixed;
  z-index: 30;
  display: grid;
  width: min(22rem, calc(100vw - 1.5rem));
  gap: 0.75rem;
  border: 1px solid var(--color-border);
  border-top: 5px solid var(--color-whenua);
  border-radius: var(--radius);
  padding: 1rem;
  color: var(--color-ink);
  background: var(--color-paper);
  box-shadow: 0 24px 44px rgba(32, 37, 31, 0.2);
}

.event-popover[hidden] {
  display: none;
}

.event-popover h3 {
  font-size: 1.2rem;
}

.event-popover__details {
  display: grid;
  gap: 0.6rem;
  margin: 0;
}

.event-popover__detail {
  display: grid;
  gap: 0.12rem;
}

.event-popover dt {
  color: var(--color-clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-popover dd {
  margin: 0;
  color: var(--color-muted);
  white-space: pre-line;
}

.event-popover__link {
  justify-self: start;
  color: var(--color-pounamu);
  font-weight: 900;
}

.empty-state {
  padding: 1rem;
  color: var(--color-muted);
  background: var(--color-tan);
  font-weight: 800;
}

.image-frame {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-harakeke);
  box-shadow: var(--shadow-card);
}

.image-frame img {
  width: 100%;
  min-height: 100%;
}

.site-footer {
  color: #fff;
  background: var(--color-forest-dark);
  border-top: 0.85rem solid var(--color-whenua);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.9fr) minmax(12rem, 0.75fr);
  gap: 2.2rem;
  padding: 3.5rem 0;
}

.site-footer__brand {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.site-footer__name {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.15;
}

.site-footer__region {
  color: #f2dcc0;
  font-weight: 700;
}

.site-footer__phrase {
  color: #f7d57a;
  font-weight: 800;
}

.footer-heading {
  margin-bottom: 0.75rem;
  color: #f7d57a;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 900;
}

.site-footer address,
.footer-nav {
  display: grid;
  gap: 0.45rem;
  font-style: normal;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: #f7d57a;
}

.footer-nav {
  align-content: start;
}

.footer-nav a {
  border-radius: var(--radius);
  padding: 0.28rem 0;
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

@media (max-width: 1040px) {
  .site-nav a {
    padding-right: 0.55rem;
    padding-left: 0.55rem;
    font-size: 0.9rem;
  }

  .support-opportunity-grid,
  .support-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .digital-need-grid,
  .contact-route-grid,
  .contact-other-grid,
  .star-industry-grid,
  .home-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .site-header__inner {
    min-height: 4.5rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 4.5rem 0 auto 0;
    display: grid;
    max-height: calc(100dvh - 4.5rem);
    overflow-y: auto;
    gap: 0.35rem;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    background: var(--color-paper);
    box-shadow: 0 18px 35px rgba(80, 55, 35, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
    visibility: hidden;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    padding: 0.88rem 1rem;
    font-size: 1rem;
  }

  .calendar-filter-menu {
    grid-template-columns: 1fr;
  }

  .support-engagement {
    grid-template-columns: 1fr;
  }

  .digital-intro,
  .digital-access-panel,
  .contact-intro,
  .contact-location-panel,
  .star-quiz,
  .star-register-layout,
  .home-intro-layout,
  .home-opportunities-layout,
  .home-map-panel {
    grid-template-columns: 1fr;
  }

  .star-selection-card {
    position: static;
  }

  .star-register-summary {
    position: static;
  }

  .star-answer-bar {
    grid-template-columns: 1fr;
  }

  .star-answer-bar__actions {
    justify-content: flex-start;
  }

  .digital-access-panel__content {
    border-left-width: 5px;
    padding-left: 1rem;
  }

  .digital-contact-grid {
    grid-template-columns: 1fr;
  }

  .region-map-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .region-map__visual {
    min-height: 20rem;
  }

  .region-map__stage {
    width: min(100%, 24rem);
  }

  .region-map__svg {
    width: min(100%, 22rem);
  }

  .region-map__legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .region-map__events-panel {
    max-height: none;
  }

  .calendar-board__header {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .calendar-board__filter,
  .calendar-board__actions {
    justify-self: center;
  }

  .calendar-filter-menu--board {
    position: static;
    width: min(100%, 28rem);
    margin-top: 0.5rem;
  }

  .calendar-workspace {
    grid-template-columns: 1fr;
  }

  .grid--two,
  .grid--three,
  .split-panel,
  .card-grid,
  .event-card,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .event-card__date {
    align-content: start;
  }

  .event-popover {
    inset: auto 0.75rem 0.75rem 0.75rem !important;
    width: auto;
    max-height: min(70vh, 32rem);
    overflow: auto;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  h3 {
    font-size: 1.35rem;
  }

  .site-header__inner,
  .page-hero__content,
  .content-shell,
  .site-footer__inner {
    width: min(100% - 1.25rem, var(--container));
  }

  .site-brand {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    column-gap: 0.55rem;
    min-width: 0;
  }

  .site-brand__mark {
    width: 2.25rem;
    height: 2.25rem;
  }

  .site-brand__name {
    font-size: 1.12rem;
  }

  .site-brand__kura {
    font-size: 0.78rem;
  }

  .page-hero,
  .page-hero--compact {
    min-height: 0;
    padding: 3.6rem 0 3rem;
  }

  .page-hero__content {
    border-left-width: 4px;
    padding-left: 1rem;
  }

  .page-hero::after {
    display: none;
  }

  .page-hero__content > p:not(.eyebrow),
  .section-heading p:not(.eyebrow),
  .lede {
    font-size: 1rem;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .support-step-grid,
  .support-opportunity-grid,
  .support-team-grid,
  .digital-need-grid,
  .contact-route-grid,
  .contact-other-grid,
  .star-industry-grid,
  .home-start-grid,
  .home-quick-grid {
    grid-template-columns: 1fr;
  }

  .star-courses-shell {
    padding: 3rem 0;
  }

  .star-quiz-card,
  .star-selection-card,
  .star-results-panel,
  .star-course-card,
  .star-register-summary,
  .star-register-form {
    padding: 0.85rem;
  }

  .star-map__stage {
    width: min(100%, 21rem);
  }

  .star-map__prompt {
    max-width: calc(100% - 1.3rem);
    padding: 0.62rem 0.7rem;
  }

  .star-course-card__header,
  .star-selection-summary,
  .star-selection-card__controls,
  .star-course-card__details,
  .star-register-form__grid {
    grid-template-columns: 1fr;
  }

  .support-step-card,
  .support-team-card,
  .digital-need-card,
  .digital-contact-card,
  .contact-route-card,
  .contact-other-card,
  .home-start-card,
  .home-quick-link {
    min-height: 0;
  }

  .home-event-card {
    grid-template-columns: 1fr;
  }

  .home-map-band {
    padding: 3rem 0;
  }

  .panui-card__summary {
    grid-template-columns: 1fr;
  }

  .panui-card__toggle {
    justify-self: start;
  }

  .contact-start-card,
  .contact-direct-card,
  .contact-route-card,
  .contact-other-card,
  .contact-location-card {
    padding: 1rem;
  }

  .contact-location-band {
    padding: 3rem 0;
  }

  .digital-image-frame {
    aspect-ratio: 4 / 3;
  }

  .calendar-filter-button {
    justify-content: center;
    width: 100%;
  }

  .region-map-panel {
    padding: 0.85rem;
  }

  .region-map__copy h3 {
    font-size: 1.25rem;
  }

  .region-map__all-button {
    width: 100%;
  }

  .region-map__visual {
    min-height: 0;
    padding: 0.6rem;
  }

  .region-map__stage {
    width: min(100%, 21rem);
  }

  .region-map__office-overlay {
    top: 4%;
    right: 4%;
    left: 4%;
    height: 64%;
  }

  .region-map__office-details {
    gap: 0.5rem;
    padding: 0.5rem;
  }

  .region-map__office-text h4 {
    font-size: 0.82rem;
  }

  .region-map__office-text p,
  .region-map__office-text a {
    font-size: 0.72rem;
    line-height: 1.16;
  }

  .region-map__directions-button {
    width: 2.2rem;
    height: 2.2rem;
  }

  .region-map__directions-icon {
    width: 1.35rem;
    height: 1.35rem;
  }

  .region-map__office-rotate-button {
    width: 2rem;
    height: 2rem;
  }

  .region-map__office-rotate-button::before {
    width: 0.5rem;
    height: 0.5rem;
    border-top-width: 2px;
    border-right-width: 2px;
  }

  .region-map__office-rotate-button--previous {
    left: 0.35rem;
  }

  .region-map__office-rotate-button--next {
    right: 0.35rem;
  }

  .region-map__office-map-placeholder {
    padding: 0.65rem;
    font-size: 0.78rem;
  }

  .region-map__office-view-toggle {
    top: 0.42rem;
    right: 0.42rem;
    padding: 0.14rem;
  }

  .region-map__office-view-button {
    padding: 0.3rem 0.44rem;
    font-size: 0.6rem;
  }

  .region-map__svg {
    width: min(100%, 17rem);
    max-height: 28rem;
  }

  .region-map__legend {
    grid-template-columns: 1fr;
  }

  .region-map__legend-button {
    grid-template-columns: 1fr;
  }

  .region-map__legend-count {
    white-space: normal;
  }

  .region-map__events-panel {
    min-height: 18rem;
    padding: 0.75rem;
  }

  .region-map__events-feed .event-card {
    grid-template-columns: 1fr;
  }

  .calendar-board {
    padding: 0.75rem;
  }

  .calendar-list-panel {
    padding: 0.85rem;
  }

  .calendar-board__header {
    gap: 0.6rem;
  }

  .calendar-board__nav {
    grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem;
    width: 100%;
  }

  .calendar-board__title {
    gap: 0.35rem;
  }

  .calendar-board__title h3 {
    font-size: 1rem;
  }

  .calendar-week {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .calendar-week__time-heading,
  .calendar-week__untimed-spacer,
  .calendar-week__time-axis {
    display: none;
  }

  .calendar-week__day {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(18rem, auto);
    min-width: 0;
    gap: 1px;
    background: var(--color-border);
  }

  .calendar-week__day-heading,
  .calendar-week__untimed-column,
  .calendar-week__day-timeline {
    grid-column: 1;
    grid-row: auto;
  }

  .calendar-week__day-heading {
    padding: 0.55rem;
  }

  .calendar-week__untimed-column {
    min-height: 0;
  }

  .calendar-week__day-timeline {
    min-height: 18rem;
  }

  .calendar-event--week-timed {
    right: 0.35rem;
    left: 0.35rem;
  }

  .calendar-grid,
  .calendar-term,
  .calendar-grid.calendar-grid--week {
    min-width: 0;
  }

  .calendar-grid--week .calendar-day {
    min-height: 10rem;
    padding: 0.35rem;
  }

  .calendar-grid--week .calendar-event {
    border-left-width: 3px;
    padding: 0.28rem 0.3rem;
  }

  .calendar-grid--week .calendar-event__title {
    font-size: 0.72rem;
  }

  .calendar-grid--week .calendar-event__meta {
    display: none;
  }

  .calendar-term-week {
    grid-template-columns: 1fr;
  }

  .content-shell,
  .page-section {
    padding: 3rem 0;
  }

  .info-card,
  .contact-card,
  .profile-card,
  .callout {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
