/* KingsWord Canada: shared styles for the landing page and SC2027 */
/* ------------------------------------------------------------
   Tokens
   ------------------------------------------------------------ */
:root {
  --primary: #006194;
  --primary-hover: #007bb9;
  --primary-deep: #004b73;
  --primary-fixed: #cce5ff;
  --sky: #7bd0ff;
  --sky-bright: #40c2fd;

  --ink: #131b2e;
  --ink-soft: #3f4850;
  --ink-faint: #5d6772;

  --surface: #faf8ff;
  --surface-low: #f2f3ff;
  --surface-high: #e2e7ff;
  --card: #ffffff;
  --outline: #bfc7d2;
  --chip-ink: #004d6a;

  /* map */
  --pin: #c27803;
  --pin-deep: #9a5f02;
  --prov: #dcecfb;
  --prov-branch: #a8d2f3;
  --prov-hi: #7fbde8;
  --prov-stroke: #6aaedb;

  --sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  --shell: 1280px;
  --gutter: clamp(1.25rem, 3vw, 1.5rem);
  --radius-card: 1.5rem;
  --header-h: 80px;
  --gold: #f0b54a;

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

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

.icon {
  width: 1.15em;
  height: 1.15em;
  display: flex;
  align-items: center;
}

:focus-visible {
  outline: 3px solid var(--sky-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--primary);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ------------------------------------------------------------
   Buttons & shared type
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.25;
  padding: .875rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, .45);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--card);
  color: var(--ink);
  border-color: var(--outline);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-light {
  background: #fff;
  color: var(--primary-deep);
}

.btn-light:hover {
  background: var(--primary-fixed);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}

.btn-ghost-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--surface-high);
  color: var(--chip-ink);
  padding: .3rem 1rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.chip .icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .6rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.02em;
}

.section-head p {
  color: var(--ink-soft);
  max-width: 40rem;
}

.kicker {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(250, 248, 255, .86);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, .04);
}

.site-header .shell {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 128px;
  height: auto;
  mix-blend-mode: multiply;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.primary-nav a:not(.btn) {
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: .5rem .85rem;
  border-radius: 999px;
  transition: color .2s ease, background-color .2s ease;
}

.primary-nav a:not(.btn):hover {
  color: var(--ink);
  background: var(--surface-high);
}

.primary-nav .btn {
  margin-left: .75rem;
  padding: .7rem 1.25rem;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-btn:hover {
  background: var(--surface-high);
}

.menu-btn .icon {
  width: 24px;
  height: 24px;
}

@media (max-width: 1023px) {
  .primary-nav {
    display: none;
  }

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

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(19, 27, 46, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 100;
  width: min(360px, 86vw);
  background: #fff;
  color: var(--ink);
  padding: 1.25rem 1.5rem 2rem;
  /* parked past the edge so its shadow doesn't bleed in; `inert` keeps it out of reach when closed */
  transform: translateX(calc(100% + 64px));
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  box-shadow: -20px 0 40px rgba(19, 27, 46, .15);
}

body.nav-open .drawer {
  transform: none;
}

body.nav-open .drawer-scrim {
  opacity: 1;
  pointer-events: auto;
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-top img {
  width: 112px;
  mix-blend-mode: multiply;
  height: auto;
}

.drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.drawer li a {
  display: block;
  padding: .85rem 0;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--surface-high);
}

.drawer li a:hover {
  color: var(--primary);
}

.drawer .drawer-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 1.25rem 0 .25rem;
}

.drawer .drawer-quiet a {
  font-weight: 500;
  color: var(--ink-faint);
  font-size: .875rem;
}

/* ------------------------------------------------------------
   Hero with animated map
   ------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem)) 0 clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(180deg, rgba(226, 231, 255, .55) 0%, var(--surface) 70%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.hero::before {
  width: 26rem;
  height: 26rem;
  top: 3rem;
  left: -6rem;
  background: rgba(196, 231, 255, .6);
}

.hero::after {
  width: 34rem;
  height: 34rem;
  top: 6rem;
  right: -8rem;
  background: rgba(204, 229, 255, .55);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.5rem 3rem;
  align-items: center;
}

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

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.hero-copy h1 {
  font-size: clamp(2.25rem, 1.45rem + 3vw, 3.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.03em;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero-lede {
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .4rem;
}

.hero-times {
  list-style: none;
  margin: .75rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--surface-high);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
  font-size: .85rem;
  color: var(--ink-soft);
}

.hero-times strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-times span {
  font-variant-numeric: tabular-nums;
}

/* map stage */
.map-figure {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-stage {
  position: relative;
  width: 50%;
  /*max-width: 760px;*/
  margin-inline: auto;
  aspect-ratio: 1000 / 858;
}

.map-stage>svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.map-svg {
  filter: drop-shadow(0 22px 34px rgba(0, 75, 115, .16));
}

.map-graticule {
  fill: none;
  stroke: var(--outline);
  stroke-width: .6;
  stroke-dasharray: 2 5;
  opacity: .75;
}

.map-other {
  fill: var(--surface-high);
  opacity: .7;
}

.map-prov {
  fill: var(--prov);
  stroke: var(--prov-stroke);
  stroke-width: .7;
  stroke-linejoin: round;
  transition: fill .3s ease;
}

.map-prov[data-code="BC"],
.map-prov[data-code="AB"],
.map-prov[data-code="ON"] {
  fill: var(--prov-branch);
}

.map-prov:hover {
  fill: #c4e1f8;
}

.map-prov[data-code].is-hi {
  fill: var(--prov-hi);
}

.map-borders {
  fill: none;
  stroke: #fff;
  stroke-width: 1.1;
  pointer-events: none;
}

.map-lakes {
  fill: var(--surface);
  stroke: #9ccbe9;
  stroke-width: .5;
  pointer-events: none;
}

.map-graticule,
.map-other {
  animation: fade-in 1.2s ease both;
}

.map-prov {
  animation: fade-in .7s ease both;
  animation-delay: calc(var(--i) * 70ms + 150ms);
}

.map-borders,
.map-lakes {
  animation: fade-in .8s ease both 1.05s;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.map-arcs .arc {
  fill: none;
  stroke: var(--pin);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-dasharray: 1;
  opacity: .85;
  vector-effect: non-scaling-stroke;
  animation: arc-draw 1.1s ease-in-out both;
  animation-delay: var(--ad);
}

@keyframes arc-draw {
  from {
    stroke-dashoffset: 1;
  }

  to {
    stroke-dashoffset: 0;
  }
}

.map-pins {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
}

.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
}

.pin-link {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ink);
  text-decoration: none;
}

.pin-link::before {
  content: "";
  position: absolute;
  left: -22px;
  top: -48px;
  width: 44px;
  height: 54px;
}

.pin-link:focus-visible {
  outline: none;
}

.pin-shadow {
  position: absolute;
  left: -9px;
  top: -4px;
  width: 18px;
  height: 8px;
  border-radius: 50%;
  background: rgba(19, 27, 46, .3);
  filter: blur(1px);
  animation: pin-shadow .85s ease-out both;
  animation-delay: var(--d);
}

.pin-pulse {
  position: absolute;
  left: -20px;
  top: -10px;
  width: 40px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--pin);
  opacity: 0;
  pointer-events: none;
  animation: pin-pulse 2.6s ease-out infinite;
  animation-delay: calc(var(--d) + .9s);
}

.pin-marker {
  position: absolute;
  left: -15px;
  top: -40px;
  width: 30px;
  height: 40px;
  transform-origin: 50% 100%;
  filter: drop-shadow(0 4px 6px rgba(19, 27, 46, .28));
  animation: pin-drop .85s both;
  animation-delay: var(--d);
  transition: scale .2s ease;
}

.pin-marker svg {
  display: block;
  width: 100%;
  height: 100%;
}

.pin-marker path {
  fill: var(--pin);
  stroke: #fff;
  stroke-width: 2;
}

.pin-marker circle {
  fill: #fff;
}

@keyframes pin-drop {
  0% {
    opacity: 0;
    transform: translateY(-90px);
    animation-timing-function: cubic-bezier(.55, 0, 1, .45);
  }

  55% {
    opacity: 1;
    transform: translateY(0) scale(1.1, .85);
    animation-timing-function: cubic-bezier(0, .55, .45, 1);
  }

  76% {
    transform: translateY(-10px) scale(.96, 1.04);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes pin-shadow {
  0% {
    opacity: 0;
    transform: scale(.2);
  }

  55% {
    opacity: 1;
    transform: scale(1.25);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes pin-pulse {
  0% {
    opacity: .9;
    transform: scale(.5);
  }

  100% {
    opacity: 0;
    transform: scale(2.5);
  }
}

.pin-label {
  position: absolute;
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  white-space: nowrap;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  border-radius: 999px;
  padding: .4rem .8rem;
  font-size: .8rem;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(19, 27, 46, .14);
  animation: label-in .5s ease-out both;
  animation-delay: calc(var(--d) + .55s);
  transition: background-color .2s ease, color .2s ease;
}

.pin-label strong {
  font-weight: 700;
}

.pin-time {
  color: var(--ink-faint);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: color .2s ease;
}

@keyframes label-in {
  from {
    opacity: 0;
    translate: 0 6px;
  }
}

.pin--above .pin-label {
  bottom: 50px;
  left: -14px;
}

.pin--below .pin-label {
  top: 12px;
  left: -14px;
}

.pin--center .pin-label {
  left: 0;
  transform: translateX(-50%);
}

.pin-link:hover .pin-label,
.pin-link:focus-visible .pin-label,
.pin.is-highlight .pin-label {
  background: var(--ink);
  color: #fff;
}

.pin-link:hover .pin-time,
.pin-link:focus-visible .pin-time,
.pin.is-highlight .pin-time {
  color: var(--sky);
}

.pin-link:focus-visible .pin-label {
  outline: 3px solid var(--sky-bright);
  outline-offset: 2px;
}

.pin-link:hover .pin-marker,
.pin.is-highlight .pin-marker {
  scale: 1.15;
}

@media (max-width: 520px) {
  .pin-time {
    display: none;
  }

  .pin-label {
    font-size: .72rem;
    padding: .3rem .6rem;
  }

  .pin-marker {
    width: 24px;
    height: 32px;
    left: -12px;
    top: -32px;
  }

  .pin--above .pin-label {
    bottom: 40px;
  }
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
  font-size: .8rem;
  color: var(--ink-faint);
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.lg-pin {
  width: 10px;
  height: 10px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--pin);
}

.lg-prov {
  width: 16px;
  height: 10px;
  border-radius: 3px;
  background: var(--prov-branch);
  border: 1px solid var(--prov-stroke);
}

/* ------------------------------------------------------------
   Branch cards
   ------------------------------------------------------------ */
.branches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1023px) {
  .branches {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.branch {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(19, 27, 46, .06);
  transition: box-shadow .3s ease, transform .3s ease;
}

.branch:hover,
.branch.is-highlight {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px var(--pin), 0 20px 40px -12px rgba(19, 27, 46, .22);
}

.branch-photo {
  position: relative;
  height: 13rem;
  overflow: hidden;
  background: var(--ink);
}

.branch-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.branch:hover .branch-photo img {
  transform: scale(1.05);
}

.branch-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(19, 27, 46, .8) 0%, rgba(19, 27, 46, 0) 65%);
}

.branch-tag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 1;
  background: rgba(255, 255, 255, .92);
  color: var(--primary);
  padding: .25rem .75rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.branch-title {
  position: absolute;
  left: 1rem;
  bottom: .85rem;
  z-index: 1;
  color: #fff;
}

.branch-title h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 700;
}

.branch-title p {
  font-size: .875rem;
  color: var(--surface-high);
}

.branch-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
}

.branch-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}

.branch-facts li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .875rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.branch-facts .icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  margin-top: .05rem;
}

.branch-facts .time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--ink);
}

.branch-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--surface-high);
}

.link-primary,
.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
}

.link-primary {
  color: var(--primary);
}

.link-primary:hover {
  color: var(--primary-hover);
}

.link-primary .icon {
  transition: transform .2s ease;
}

.link-primary:hover .icon {
  transform: translateX(3px);
}

.link-quiet {
  color: var(--ink-faint);
}

.link-quiet:hover {
  color: var(--ink);
}

.link-primary .icon,
.link-quiet .icon {
  width: 16px;
  height: 16px;
}

/* ------------------------------------------------------------
   About & beliefs
   ------------------------------------------------------------ */
.about {
  background: var(--card);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 2.5rem 4rem;
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (max-width: 859px) {
  .about-intro {
    grid-template-columns: 1fr;
  }
}

.about-intro .section-head {
  margin-bottom: 0;
}

.about-intro .lede {
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 36rem;
}

.about-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-high);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 40%;
}

.beliefs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.belief {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  background: var(--surface-low);
  border-radius: 1.25rem;
  padding: 1.75rem;
}

.belief h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.belief p {
  color: var(--ink-soft);
}

.belief .ref {
  margin-top: auto;
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: .02em;
}

/* ------------------------------------------------------------
   Mission, vision & values
   ------------------------------------------------------------ */
.mv {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 3rem 4rem;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

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

.mv-item .kicker {
  display: block;
  margin-bottom: 1rem;
}

.mv-item p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem);
  line-height: 1.45;
  letter-spacing: -.005em;
  max-width: 34ch;
}

.mv-item+.mv-item {
  border-left: 1px solid var(--outline);
  padding-left: 4rem;
}

@media (max-width: 767px) {
  .mv-item+.mv-item {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--outline);
    padding-top: 3rem;
  }
}

.values-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-bottom: 1.5rem;
}

.values-head h3 {
  font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.01em;
}

.values-head p {
  color: var(--ink-soft);
}

.values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.value {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  background: var(--card);
  border-radius: 1.25rem;
  padding: 1.5rem 1.35rem 1.6rem;
  box-shadow: 0 1px 2px rgba(19, 27, 46, .06);
}

.value-letter {
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--primary);
}

.value p {
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 1023px) {
  .values {
    grid-template-columns: repeat(6, 1fr);
  }

  .value {
    grid-column: span 2;
  }

  .value:nth-child(n+4) {
    grid-column: span 3;
  }
}

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

  .value,
  .value:nth-child(n+4) {
    grid-column: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.1rem;
  }

  .value-letter {
    font-size: 2.25rem;
    width: 2rem;
  }
}

/* ------------------------------------------------------------
   History timeline — interactive marquee
   ------------------------------------------------------------ */
.history {
  background: var(--surface-low);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 2.4rem 0 0;
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.timeline::before {
  content: "";
  position: absolute;
  top: .55rem;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-fixed), var(--primary));
}

.timeline.tl-scrubbing {
  cursor: grabbing;
}

.tl-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transition: transform .65s cubic-bezier(.33, .1, .2, 1);
}

/* used for silent, instant repositioning (seamless wrap-around) */
.tl-track.tl-snap {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .tl-track {
    transition: none;
  }
}

.tl-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  width: 15rem;
  flex: none;
  margin-right: 3.5rem;
  border-radius: .75rem;
  padding: .5rem .75rem .75rem;
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
  outline: none;
}

.tl-item::before {
  content: "";
  position: absolute;
  top: -2.25rem;
  left: .75rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--primary);
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.tl-item:last-child::before {
  background: var(--primary);
}

.tl-item:hover,
.tl-item.is-active {
  background: var(--card);
  box-shadow: 0 6px 18px rgba(19, 27, 46, .08);
  transform: translateY(-.25rem);
}

.tl-item:hover::before,
.tl-item.is-active::before {
  background: var(--primary);
  transform: scale(1.25);
  box-shadow: 0 0 0 .35rem rgba(0, 97, 148, .15);
  animation: tl-pulse 1.6s ease-in-out infinite;
}

.tl-item:focus-visible {
  box-shadow: 0 0 0 2px var(--primary), 0 6px 18px rgba(19, 27, 46, .08);
}

@keyframes tl-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 .35rem rgba(0, 97, 148, .15);
  }

  50% {
    box-shadow: 0 0 0 .6rem rgba(0, 97, 148, .06);
  }
}

.tl-year {
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.tl-text {
  font-size: .925rem;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {

  .tl-item,
  .tl-item::before {
    transition: none;
    animation: none;
  }
}

/* ------------------------------------------------------------
   Leadership
   ------------------------------------------------------------ */
.leaders-feature {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 959px) {
  .leaders-feature {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

.leader-feature {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(19, 27, 46, .06);
}

.leader-feature .photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-high);
}

.leader-feature .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-feature .body {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.75rem;
}

.leader-feature h3 {
  font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -.01em;
}

.leader-feature p {
  color: var(--ink-soft);
}

/* Resident Pastors Owl Carousel overrides */
#res-pastors-carousel.owl-carousel {
  display: block;
  grid-template-columns: none;
  gap: 0;
  max-width: none;
}

#res-pastors-carousel .leader-feature {
  height: 100%;
}

#res-pastors-carousel .owl-stage {
  display: flex;
}

#res-pastors-carousel .owl-stage-outer {
  padding-top: .25rem;
  padding-bottom: .25rem;
}

#res-pastors-carousel .owl-nav {
  margin-top: 1.5rem;
}

#res-pastors-carousel .owl-nav button.owl-prev,
#res-pastors-carousel .owl-nav button.owl-next {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(19, 27, 46, .06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 .35rem;
}

#res-pastors-carousel .owl-nav button:hover,
#res-pastors-carousel .owl-nav button:focus {
  background: var(--surface-high);
}

#res-pastors-carousel .owl-dots {
  margin-top: 1rem;
}

#res-pastors-carousel .owl-dot span {
  width: .6rem;
  height: .6rem;
}


/* ------------------------------------------------------------
   Creed
   ------------------------------------------------------------ */
.creed {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.creed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40rem 26rem at 90% 0%, rgba(64, 194, 253, .18), transparent 70%),
    radial-gradient(30rem 24rem at 0% 100%, rgba(194, 120, 3, .16), transparent 70%);
}

.creed-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.5rem 5rem;
}

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

.creed .chip {
  background: rgba(255, 255, 255, .1);
  color: var(--sky);
}

.creed h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: .75rem 0 1.25rem;
}

.creed-intro p {
  color: rgba(226, 231, 255, .78);
  max-width: 34rem;
}

.creed-intro p+p {
  margin-top: 1rem;
}

.creed-text {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.creed-text .line {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem);
  line-height: 1.45;
  color: #eef0ff;
  max-width: 38ch;
}

.creed-text .opener {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  letter-spacing: -.02em;
  color: #fff;
}

.vows {
  list-style: none;
  margin: .25rem 0;
  padding: 1.25rem 0;
  border-block: 1px solid rgba(255, 255, 255, .14);
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: .45rem 2.5rem;
}

.vows li {
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--sky);
  font-size: .95rem;
}

.vows li:first-child {
  grid-column: 1 / -1;
  color: rgba(226, 231, 255, .7);
  font-weight: 600;
  letter-spacing: .02em;
}

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

.creed-close {
  font-weight: 800;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.creed-close span {
  color: #f0b54a;
}

/* ------------------------------------------------------------
   Church life & join
   ------------------------------------------------------------ */
.life-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 13rem;
  gap: 1rem;
}

.life-grid figure {
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--surface-high);
}

.life-grid figure:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.life-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.life-grid figure:hover img {
  transform: scale(1.04);
}

@media (max-width: 767px) {
  .life-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 9.5rem;
  }

  .life-grid figure:first-child {
    grid-row: span 1;
  }
}

.join {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2rem 3rem;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 55%, var(--primary-hover) 100%);
  color: #fff;
  border-radius: var(--radius-card);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 25px 50px -20px rgba(0, 75, 115, .5);
}

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

.join blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 1.1rem + .9vw, 1.8rem);
  line-height: 1.4;
  max-width: 34ch;
}

.join h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .6rem;
}

.join .join-cta p {
  color: rgba(226, 231, 255, .88);
  margin-bottom: 1.25rem;
}

.join .actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--surface-low);
  color: var(--ink);
  padding: 4rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--surface-high);
}

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

  .footer-about {
    grid-column: 1 / -1;
  }
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
}

.footer-about img {
  width: 112px;
  mix-blend-mode: multiply;
  margin-left: -6px;
  height: auto;
}

.footer-about p {
  color: var(--ink-soft);
}

.socials {
  display: flex;
  gap: .75rem;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  color: var(--ink-soft);
  transition: background-color .2s ease, color .2s ease;
}

.socials a:hover {
  background: var(--primary);
  color: #fff;
}

.socials svg {
  width: 20px;
  height: 20px;
}

.site-footer h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.site-footer ul a {
  font-size: .875rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer ul a:hover {
  color: var(--primary);
}

.footer-base {
  padding-top: 2rem;
  font-size: .875rem;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }

  .branch:hover,
  .branch.is-highlight,
  .btn-primary:hover {
    transform: none;
  }

  .branch:hover .branch-photo img,
  .life-grid figure:hover img {
    transform: none;
  }
}

/* ------------------------------------------------------------
       SC2027 page — builds on assets/css/site.css
       ------------------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.primary-nav a[aria-current="page"] {
  color: var(--primary);
  background: var(--surface-high);
}

.drawer a[aria-current="page"] {
  color: var(--primary);
}

/* ---------- hero ---------- */
.sc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.sc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(44rem 30rem at 85% 10%, rgba(64, 194, 253, .22), transparent 70%),
    radial-gradient(36rem 26rem at 5% 100%, rgba(194, 120, 3, .22), transparent 70%);
}

.sc-year-mark {
  position: absolute;
  z-index: -1;
  right: -2vw;
  bottom: -4vw;
  pointer-events: none;
  font-size: clamp(9rem, 30vw, 27rem);
  line-height: .8;
  font-weight: 800;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .09);
  font-variant-numeric: tabular-nums;
}

.sc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2.5rem 4rem;
  align-items: end;
}

@media (max-width: 959px) {
  .sc-hero-grid {
    grid-template-columns: 1fr;
  }
}

.sc-hero .chip {
  background: rgba(255, 255, 255, .1);
  color: var(--sky);
}

.sc-hero h1 {
  margin: 1rem 0 1.1rem;
  font-size: clamp(2.8rem, 1.5rem + 5.4vw, 5.75rem);
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.045em;
}

.sc-hero h1 .yr {
  display: block;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.sc-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem);
  line-height: 1.4;
  color: rgba(226, 231, 255, .88);
  max-width: 30ch;
}

.sc-meta {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
}

.sc-meta li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
}

.sc-meta .icon {
  width: 20px;
  height: 20px;
  color: var(--sky);
}

.sc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: #f5c56c;
  transform: translateY(-1px);
}

.countdown {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-card);
  padding: clamp(1.4rem, 3vw, 2rem);
}

.countdown .kicker {
  color: var(--sky);
}

.cd-grid {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .6rem;
}

.cd-grid li {
  background: rgba(255, 255, 255, .06);
  border-radius: 1rem;
  padding: .9rem .4rem .8rem;
  text-align: center;
}

.cd-num {
  display: block;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.cd-unit {
  display: block;
  margin-top: .35rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(226, 231, 255, .7);
}

.cd-note {
  margin-top: 1rem;
  font-size: .85rem;
  color: rgba(226, 231, 255, .75);
}

.countdown.is-live .cd-grid {
  display: none;
}

.sc-jump {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.sc-jump a {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-decoration: none;
  color: rgba(226, 231, 255, .85);
  padding: .45rem .95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  transition: border-color .2s ease, color .2s ease;
}

.sc-jump a:hover {
  color: #fff;
  border-color: var(--sky);
}

/* ---------- details ---------- */
.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.detail {
  background: var(--card);
  border-radius: 1.25rem;
  padding: 1.6rem 1.6rem 1.75rem;
  box-shadow: 0 1px 2px rgba(19, 27, 46, .06);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.detail .icon {
  width: 26px;
  height: 26px;
  color: var(--primary);
  margin-bottom: .4rem;
}

.detail strong {
  font-size: 1.15rem;
  font-weight: 700;
}

.detail p,
.detail a {
  color: var(--ink-soft);
}

.detail a {
  text-decoration: none;
}

.detail a:hover {
  color: var(--primary);
}

/* ---------- schedule ---------- */
.schedule-wrap {
  background: var(--surface-low);
}

.schedule {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 959px) {
  .schedule {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
}

.day {
  background: var(--card);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(19, 27, 46, .06);
}

.day-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--ink);
  color: #fff;
}

.day-top .kicker {
  color: var(--sky);
}

.day-date {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.day-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.day h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.day-time {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--surface-high);
  color: var(--chip-ink);
  border-radius: 999px;
  padding: .3rem .8rem;
  font-size: .85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.day-time .icon {
  width: 16px;
  height: 16px;
}

.day-ministers {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--surface-high);
}

.day-ministers .kicker {
  display: block;
  margin-bottom: .5rem;
}

.day-ministers ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: .9rem;
  color: var(--ink-soft);
}

.schedule-note {
  margin-top: 1.25rem;
  font-size: .85rem;
  color: var(--ink-faint);
}

/* ---------- reflection ---------- */
.reflection {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 2.5rem 5rem;
  align-items: start;
}

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

.reflection-author {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 859px) {
  .reflection-author {
    position: static;
    flex-direction: row;
    align-items: center;
  }
}

.reflection-author .photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface-high);
}

@media (max-width: 859px) {
  .reflection-author .photo {
    width: 7rem;
    flex: none;
    border-radius: 1rem;
  }
}

.reflection-author img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

.reflection-author strong {
  display: block;
  font-size: 1.15rem;
}

.reflection-author span {
  color: var(--ink-faint);
  font-size: .9rem;
}

.letter h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: .6rem 0 1.5rem;
}

.letter p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.02rem + .35vw, 1.3rem);
  line-height: 1.65;
  color: var(--ink);
  max-width: 62ch;
}

.letter p+p {
  margin-top: 1.1rem;
}

.letter .pull {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.65rem);
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--primary);
  margin-top: 1.75rem;
  max-width: 34ch;
}

/* ---------- ministers ---------- */
.ministers-wrap {
  background: var(--card);
}

.ministers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.minister {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: var(--surface-low);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.minister:nth-child(n+4) {
  grid-column: span 3;
}

.minister .photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface-high);
}

.minister:nth-child(n+4) .photo {
  aspect-ratio: 16 / 10;
}

.minister .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.minister .body {
  padding: 1.5rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.minister h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.minister p {
  color: var(--ink-soft);
  margin-top: .35rem;
}

@media (max-width: 1023px) {
  .ministers {
    grid-template-columns: repeat(2, 1fr);
  }

  .minister,
  .minister:nth-child(n+4) {
    grid-column: auto;
  }

  .minister:last-child {
    grid-column: 1 / -1;
  }

  .minister:nth-child(n+4) .photo {
    aspect-ratio: 4 / 5;
  }

  .minister:last-child .photo {
    aspect-ratio: 16 / 9;
  }
}

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

  .minister .photo,
  .minister:nth-child(n+4) .photo {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- merch ---------- */
.merch {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2.5rem 4rem;
  align-items: center;
}

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

.merch-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 25px 50px -20px rgba(19, 27, 46, .35);
  background: var(--card);
}

.merch-photo img {
  width: 100%;
  height: auto;
}

.merch-copy h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: .6rem 0 1rem;
}

.merch-copy p {
  color: var(--ink-soft);
}

.merch-copy p+p {
  margin-top: .9rem;
}

.highlights {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.highlights li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .95rem;
  color: var(--ink);
}

.highlights li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pin);
}

.merch-copy .actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.merch-tag {
  margin-top: 1.25rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--primary);
}

/* ---------- gallery ---------- */
.sc-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 767px) {
  .sc-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
  }
}

.sc-gallery figure {
  aspect-ratio: 1 / 1;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--surface-high);
}

.sc-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.sc-gallery figure:hover img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .btn-gold:hover {
    transform: none;
  }

  .sc-gallery figure:hover img {
    transform: none;
  }
}

body {

}

img {
  max-width: 100%
}

[hidden]:not([hidden=until-found i]) {
  display: none !important
}