@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Baloo2-600.woff2") format("woff2");
}

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Baloo2-700.woff2") format("woff2");
}

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Baloo2-800.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Nunito-400.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Nunito-600.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Nunito-700.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/Nunito-800.woff2") format("woff2");
}

:root {
  --fjord: #116a8d;
  --fjord-deep: #123b53;
  --sky: #dff4f5;
  --seafoam: #bfe4d3;
  --leaf: #4f7d59;
  --sun: #f6c453;
  --coral: #e56f5d;
  --berry: #bd4263;
  --plum: #68385b;
  --cream: #fff8e8;
  --paper: #fffdf7;
  --ink: #183443;
  --muted: #526977;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(18, 59, 83, 0.12);
  --shadow-md: 0 18px 48px rgba(18, 59, 83, 0.18);
  --radius-sm: 16px;
  --radius-md: 26px;
  --radius-lg: 38px;
  --content: 1180px;
  --tap: 48px;
  --font-title: "Baloo 2", "Avenir Next", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-text: "Nunito", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  padding-top: 76px;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 6% 13%, rgba(246, 196, 83, 0.22) 0 7%, transparent 7.4%),
    radial-gradient(circle at 96% 45%, rgba(191, 228, 211, 0.34) 0 11%, transparent 11.4%),
    var(--cream);
}

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

img {
  background: #d9e8e4;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select {
  font: inherit;
}

button {
  font-family: var(--font-title);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1,
h2 {
  font-weight: 800;
}

h3 {
  font-weight: 700;
}

.button,
.card__link,
.season-tab,
.wardrobe__button,
.profile-secret__button,
.place-jump a,
.place-jump button,
.map-hotspot,
.map-legend,
.footer-brand {
  font-family: var(--font-title);
  font-weight: 800;
}

h1 {
  font-size: clamp(2.65rem, 7vw, 5.65rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.55rem);
}

h3 {
  font-size: clamp(1.28rem, 2.2vw, 1.75rem);
}

p {
  max-width: 68ch;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  color: var(--white);
  background: var(--fjord-deep);
  border-radius: 12px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 36px), var(--content));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 36px), 820px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(70px, 9vw, 124px) 0;
}

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

.section--blue {
  color: var(--white);
  background: var(--fjord-deep);
}

.section--foam {
  background: var(--sky);
}

.section--berry {
  color: var(--white);
  background: var(--plum);
}

.section-heading {
  margin-bottom: clamp(28px, 5vw, 52px);
}

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

.section--blue .section-heading p,
.section--berry .section-heading p {
  color: rgba(255, 255, 255, 0.8);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 15px;
  padding: 5px 13px;
  color: var(--fjord-deep);
  background: var(--sun);
  border-radius: 999px;
  font-size: 0.82rem;
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  min-height: 76px;
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid rgba(18, 59, 83, 0.1);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fjord-deep);
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.05;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  background: transparent;
}

.brand span {
  display: flex;
  flex-direction: column;
  max-width: 150px;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-text);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a,
.calm-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 10px 14px;
  color: var(--fjord-deep);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-title);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.main-nav a[aria-current="true"],
.calm-toggle:hover,
.calm-toggle[aria-pressed="true"] {
  background: var(--sky);
}

.nav-toggle {
  display: none;
  width: var(--tap);
  height: var(--tap);
  padding: 0;
  color: var(--fjord-deep);
  background: var(--sky);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: min(800px, calc(100svh - 76px));
  display: grid;
  align-items: start;
  color: var(--white);
  background: linear-gradient(180deg, var(--sky), var(--fjord));
  isolation: isolate;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(18, 59, 83, 0.43) 0%, rgba(18, 59, 83, 0.08) 42%, rgba(18, 59, 83, 0.13) 68%, rgba(18, 59, 83, 0.36) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 83% 11%, rgba(246, 196, 83, 0.24), transparent 22%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 4;
}

.hero__content {
  width: min(860px, 94vw);
  margin-inline: auto;
  padding: clamp(56px, 8vh, 88px) 0 180px;
  text-align: center;
}

.hero .eyebrow {
  color: var(--fjord-deep);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.02em;
  text-transform: none;
  transform: rotate(-1.5deg);
}

.hero h1 {
  margin-bottom: 14px;
  text-wrap: balance;
  text-shadow: 0 3px 22px rgba(18, 59, 83, 0.76), 0 1px 5px rgba(18, 59, 83, 0.72);
}

.hero p {
  margin: 0 auto 30px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 750;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(18, 59, 83, 0.82);
}

.hero__cloud {
  position: absolute;
  left: -250px;
  z-index: 1;
  opacity: 0.82;
  filter: drop-shadow(0 6px 12px rgba(18, 59, 83, 0.08));
  animation: hero-cloud-drift 70s linear infinite;
  pointer-events: none;
}

.hero__cloud--one {
  top: 9%;
}

.hero__cloud--two {
  top: 21%;
  opacity: 0.68;
  animation-duration: 96s;
  animation-delay: -42s;
}

.hero__cloud--three {
  top: 4%;
  opacity: 0.58;
  animation-duration: 122s;
  animation-delay: -74s;
}

.hero__gull {
  position: absolute;
  z-index: 2;
  color: var(--fjord-deep);
  filter: drop-shadow(0 2px 3px rgba(255, 255, 255, 0.7));
  animation: hero-gull-float 9s ease-in-out infinite;
  pointer-events: none;
}

.hero__gull--one {
  top: 17%;
  left: 14%;
}

.hero__gull--two {
  top: 10%;
  right: 17%;
  animation-delay: -4s;
}

.hero__boat {
  position: absolute;
  bottom: 90px;
  left: -140px;
  z-index: 5;
  width: clamp(70px, 9vw, 108px);
  animation: hero-boat-sail 46s linear infinite, hero-boat-rock 5s ease-in-out infinite;
  filter: drop-shadow(0 7px 8px rgba(18, 59, 83, 0.22));
  pointer-events: none;
}

.hero-waves {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  z-index: 6;
  height: 142px;
  overflow: hidden;
  pointer-events: none;
}

.hero-waves__layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% + 1200px);
  height: 100%;
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: 1200px 100%;
}

.hero-waves__layer--back {
  bottom: 22px;
  opacity: 0.64;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 150' preserveAspectRatio='none'%3E%3Cpath d='M0,75 C200,20 400,20 600,75 C800,130 1000,130 1200,75 L1200,150 L0,150 Z' fill='%237FB4DC'/%3E%3C/svg%3E");
  animation: hero-wave-roll 26s linear infinite;
}

.hero-waves__layer--front {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 150' preserveAspectRatio='none'%3E%3Cpath d='M0,75 C200,20 400,20 600,75 C800,130 1000,130 1200,75 L1200,150 L0,150 Z' fill='%23FFF8E8'/%3E%3C/svg%3E");
  animation: hero-wave-roll 16s linear infinite reverse;
}

@keyframes hero-cloud-drift {
  from { transform: translateX(-260px); }
  to { transform: translateX(calc(100vw + 520px)); }
}

@keyframes hero-gull-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(3deg); }
}

@keyframes hero-boat-sail {
  from { left: -140px; }
  to { left: calc(100vw + 140px); }
}

@keyframes hero-boat-rock {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-6px); }
}

@keyframes hero-wave-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-1200px); }
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 12px 21px;
  color: var(--white);
  background: var(--fjord);
  border: 2px solid transparent;
  border-radius: 999px;
  box-shadow: 0 7px 0 rgba(18, 59, 83, 0.18);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 0 rgba(18, 59, 83, 0.18);
}

.button:active {
  transform: translateY(3px);
  box-shadow: 0 3px 0 rgba(18, 59, 83, 0.18);
}

.button--sun {
  color: var(--fjord-deep);
  background: var(--sun);
}

.button--cream {
  color: var(--fjord-deep);
  background: var(--cream);
}

.button--outline {
  color: inherit;
  background: transparent;
  border-color: currentColor;
  box-shadow: none;
}

.button--small {
  min-height: 46px;
  padding: 9px 17px;
  font-size: 0.94rem;
}

.wave-divider {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 54px;
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.wave-divider--paper {
  background: var(--paper);
}

.wave-divider--foam {
  background: var(--sky);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: clamp(30px, 7vw, 86px);
}

.split--reverse .split__image {
  order: 2;
}

.split__image {
  position: relative;
}

.split__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 8px solid var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.split__image--portrait-focus img {
  object-position: center 10%;
}

.split__image::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -16px;
  z-index: -1;
  width: 72%;
  height: 42%;
  background: var(--sun);
  border-radius: 45% 55% 40% 60%;
  transform: rotate(-3deg);
}

.split__copy p {
  font-size: 1.08rem;
}

.mini-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.mini-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 750;
}

.mini-list li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 5px;
  background: var(--coral);
  border: 4px solid rgba(255, 255, 255, 0.8);
  border-radius: 45% 55% 50% 50%;
  box-shadow: 0 0 0 2px var(--coral);
}

.episode-byline {
  width: min(100%, 980px);
  margin: 28px auto 0;
  padding: 16px 20px;
  color: var(--muted);
  text-align: center;
  background: var(--cream);
  border: 2px solid rgba(17, 106, 141, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
}

.episode-byline a {
  color: var(--fjord);
  font-weight: 850;
}

.production-credits {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  background: var(--paper);
  border: 3px solid rgba(17, 106, 141, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.production-credits__intro h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  overflow-wrap: break-word;
}

.credit-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.credit-list > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 14px 18px;
  background: var(--sky);
  border-radius: var(--radius-sm);
}

.credit-list dt {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.credit-list dd {
  margin: 0;
  color: var(--fjord-deep);
  font-weight: 900;
}

.credit-list a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.footer-developer,
.footer-producer {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.5;
}

.footer-developer + .footer-producer {
  margin-top: 8px;
}

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

.card {
  position: relative;
  min-width: 0;
  background: var(--white);
  border: 1px solid rgba(18, 59, 83, 0.09);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__body {
  padding: 24px;
}

.card__body p:last-child {
  margin-bottom: 0;
}

.card__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fjord);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.is-clickable {
  cursor: pointer;
  transition: box-shadow 180ms ease, filter 180ms ease;
}

.card-hit-area {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
}

.card-hit-area:focus-visible {
  outline: 5px solid var(--sun);
  outline-offset: -7px;
}

.is-clickable:hover,
.is-clickable:focus-within {
  box-shadow: 0 18px 44px rgba(18, 59, 83, 0.24);
}

.is-clickable img {
  transition: transform 220ms ease, filter 220ms ease;
}

.is-clickable:hover img,
.is-clickable:focus-within img {
  transform: scale(1.025);
  filter: saturate(1.05);
}

.activity-card:nth-child(2) {
  transform: translateY(22px);
}

.activity-card:nth-child(3) {
  transform: translateY(-8px);
}

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

.character-card {
  position: relative;
  min-height: 430px;
  color: var(--white);
  background: var(--fjord-deep);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  isolation: isolate;
}

.character-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.character-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(18, 59, 83, 0.93) 88%);
}

.character-card__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px;
}

.character-card__body h3 {
  margin-bottom: 5px;
  font-size: 2rem;
}

.character-card__body p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.85);
}

.character-card__hint {
  display: inline-block;
  margin-top: 13px;
  color: var(--sun-soft);
  font-weight: 900;
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.season-card {
  position: relative;
  min-height: 370px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.season-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.season-card span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 14px;
  color: var(--fjord-deep);
  background: rgba(255, 248, 232, 0.92);
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 900;
  text-align: center;
  backdrop-filter: blur(8px);
}

.season-explorer {
  max-width: 1060px;
  margin-inline: auto;
}

.season-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.season-tab {
  min-height: 52px;
  padding: 10px 20px;
  color: var(--fjord-deep);
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.14);
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.season-tab:hover {
  transform: translateY(-2px);
}

.season-tab[aria-selected="true"] {
  color: var(--fjord-deep);
  background: var(--sun);
  border-color: var(--sun);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.18);
}

.season-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  min-height: 490px;
  color: var(--ink);
  background: var(--paper);
  border: 6px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  animation: season-in 260ms ease both;
}

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

.season-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.season-panel__copy {
  align-self: center;
  padding: clamp(26px, 5vw, 54px);
}

.season-panel__copy h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
}

.season-question {
  margin: 24px 0 0;
  padding: 14px 16px;
  color: var(--fjord-deep);
  background: var(--sky);
  border-radius: var(--radius-sm);
  font-weight: 900;
}

@keyframes season-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-hero {
  position: relative;
  padding: clamp(74px, 9vw, 120px) 0 clamp(94px, 12vw, 150px);
  color: var(--white);
  background:
    radial-gradient(circle at 88% 12%, rgba(246, 196, 83, 0.4) 0 8%, transparent 8.4%),
    radial-gradient(circle at 74% 82%, rgba(191, 228, 211, 0.22) 0 16%, transparent 16.4%),
    var(--fjord-deep);
  overflow: hidden;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
}

.page-hero p {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.page-hero--image {
  min-height: clamp(540px, 52vw, 660px);
  display: grid;
  align-items: center;
  padding: 58px 0 104px;
  background: var(--fjord-deep);
  isolation: isolate;
}

.page-hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(18, 59, 83, 0.16), rgba(18, 59, 83, 0.04) 50%, rgba(18, 59, 83, 0.28));
  pointer-events: none;
}

.page-hero--align-left::before {
  background:
    linear-gradient(90deg, rgba(18, 59, 83, 0.78) 0%, rgba(18, 59, 83, 0.48) 31%, rgba(18, 59, 83, 0.08) 64%),
    linear-gradient(180deg, rgba(18, 59, 83, 0.12), transparent 55%, rgba(18, 59, 83, 0.3));
}

.page-hero--align-right::before {
  background:
    linear-gradient(270deg, rgba(18, 59, 83, 0.78) 0%, rgba(18, 59, 83, 0.48) 31%, rgba(18, 59, 83, 0.08) 64%),
    linear-gradient(180deg, rgba(18, 59, 83, 0.12), transparent 55%, rgba(18, 59, 83, 0.3));
}

.page-hero__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero--image > .container {
  position: relative;
  z-index: 1;
  display: flex;
}

.page-hero--align-right > .container {
  justify-content: flex-end;
}

.page-hero--align-left > .container {
  justify-content: flex-start;
}

.page-hero__content {
  width: min(620px, 55%);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.page-hero--family .page-hero__content {
  width: min(560px, 46%);
}

.page-hero--explore .page-hero__content {
  width: min(650px, 56%);
}

.page-hero--image h1 {
  margin-bottom: 15px;
  font-size: clamp(2.45rem, 4.6vw, 4.65rem);
  text-shadow: 0 4px 24px rgba(8, 30, 42, 0.92), 0 1px 5px rgba(8, 30, 42, 0.86);
}

.page-hero--image p {
  margin-bottom: 0;
  font-weight: 750;
  text-shadow: 0 3px 16px rgba(8, 30, 42, 0.92), 0 1px 4px rgba(8, 30, 42, 0.86);
}

.page-hero--image .eyebrow {
  color: var(--fjord-deep);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.02em;
  text-transform: none;
  transform: rotate(-1.5deg);
}

.page-hero--image .page-hero__trail {
  margin-top: 22px;
}

.page-hero--image .button-row {
  margin-top: 24px;
}

.page-hero--image .wave-divider {
  z-index: 2;
}

.page-hero__trail {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.page-hero__trail span,
.page-hero__trail a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 13px;
  color: var(--fjord-deep);
  background: var(--sun);
  border-radius: 999px;
  font-weight: 850;
}

.page-hero__trail a {
  min-height: var(--tap);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.page-hero__trail a:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.page-hero__trail a[aria-current="true"] {
  background: var(--cream);
  box-shadow: 0 0 0 3px var(--sun);
  transform: translateY(-2px);
}

#episoder {
  scroll-margin-top: 76px;
}

.episode-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.player-shell {
  position: relative;
  background: var(--fjord-deep);
  border: 7px solid var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.player-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
  background:
    linear-gradient(rgba(18, 59, 83, 0.58), rgba(18, 59, 83, 0.72)),
    url("../images/canonical/familien-kveldsbonn-sm.jpg") center / cover;
}

.player-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-placeholder {
  display: grid;
  justify-items: center;
  max-width: 500px;
  color: var(--white);
}

.play-orb {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  color: var(--fjord-deep);
  background: var(--sun);
  border-radius: 50%;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.18);
  font-size: 2rem;
}

.player-caption {
  padding: 20px 22px;
  color: var(--white);
}

.player-caption p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.safe-note {
  padding: 25px;
  background: var(--sky);
  border: 2px solid rgba(17, 106, 141, 0.16);
  border-radius: var(--radius-md);
}

.safe-note h2,
.safe-note h3 {
  margin-bottom: 10px;
}

.safe-note p:last-child {
  margin-bottom: 0;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.episode-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 22px;
}

.episode-search {
  display: grid;
  gap: 7px;
  color: var(--fjord-deep);
  font-weight: 900;
}

.episode-search input {
  width: 100%;
  min-height: 54px;
  padding: 12px 17px;
  color: var(--ink);
  background: var(--white);
  border: 3px solid rgba(17, 106, 141, 0.2);
  border-radius: 16px;
  font: inherit;
}

.episode-search input:focus {
  border-color: var(--fjord);
}

.episode-results {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 850;
}

.episode-empty {
  padding: 28px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.player-fallback {
  max-width: 520px;
  color: var(--white);
}

.player-fallback a {
  margin-top: 10px;
}

.filter-button {
  min-height: 46px;
  padding: 8px 17px;
  color: var(--fjord-deep);
  background: var(--white);
  border: 2px solid rgba(17, 106, 141, 0.22);
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
}

.filter-button[aria-pressed="true"],
.filter-button:hover {
  color: var(--white);
  background: var(--fjord);
  border-color: var(--fjord);
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.episode-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease;
}

.episode-card:hover {
  transform: translateY(-4px);
  border-color: var(--sun);
}

.episode-card[aria-pressed="true"] {
  border-color: var(--fjord);
  box-shadow: 0 0 0 4px rgba(17, 106, 141, 0.16), var(--shadow-sm);
}

.episode-card[hidden] {
  display: none;
}

.episode-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.episode-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px;
}

.episode-card .episode-title {
  display: block;
  margin-bottom: 12px;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.22;
}

.episode-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.episode-meta strong {
  color: var(--fjord);
}

.wardrobe {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(360px, 1.25fr);
  gap: 18px 30px;
  align-items: center;
  margin-bottom: 34px;
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 94% 14%, rgba(246, 196, 83, 0.34) 0 12%, transparent 12.5%),
    linear-gradient(135deg, var(--sky), #eef9f3);
  border: 2px solid rgba(17, 106, 141, 0.13);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.wardrobe__intro {
  display: flex;
  gap: 15px;
  align-items: center;
}

.wardrobe--individual {
  grid-template-columns: 1fr;
}

.wardrobe--individual .wardrobe__intro {
  max-width: 720px;
}

.wardrobe__icon {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(18, 59, 83, 0.1);
  font-size: 1.8rem;
}

.wardrobe__intro h3 {
  margin-bottom: 3px;
  color: var(--fjord-deep);
}

.wardrobe__intro p,
.wardrobe__status {
  margin-bottom: 0;
  color: var(--muted);
}

.wardrobe__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.wardrobe__button {
  min-height: var(--tap);
  padding: 10px 16px;
  color: var(--fjord-deep);
  background: var(--white);
  border: 2px solid rgba(18, 59, 83, 0.16);
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(18, 59, 83, 0.08);
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.wardrobe__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 18px rgba(18, 59, 83, 0.13);
}

.wardrobe__button[aria-pressed="true"] {
  color: var(--white);
  background: var(--fjord);
  border-color: var(--fjord);
  box-shadow: 0 8px 20px rgba(17, 106, 141, 0.24);
}

.wardrobe__button[data-person-outfit="church"][aria-pressed="true"],
.wardrobe__button[data-wardrobe-choice="church"][aria-pressed="true"] {
  background: var(--plum);
  border-color: var(--plum);
}

.wardrobe__button[data-person-outfit="modern"][aria-pressed="true"],
.wardrobe__button[data-wardrobe-choice="modern"][aria-pressed="true"] {
  color: var(--fjord-deep);
  background: var(--sun);
  border-color: #d9a62d;
}

.wardrobe__status {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.93rem;
  font-weight: 800;
}

.person-wardrobe {
  margin: 24px 0;
  padding: 17px;
  background: linear-gradient(135deg, var(--sky), #eef9f3);
  border: 2px solid rgba(17, 106, 141, 0.12);
  border-radius: var(--radius-sm);
}

.person-wardrobe > strong {
  display: block;
  margin-bottom: 11px;
  color: var(--fjord-deep);
  font-size: 1rem;
}

.person-wardrobe__choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.person-wardrobe .wardrobe__button {
  min-height: 44px;
  padding: 8px 10px;
  font-size: 0.88rem;
}

.person-wardrobe__status {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.profile-secret {
  margin: 22px 0 8px;
}

.profile-secret__button {
  min-height: 46px;
  padding: 9px 16px;
  color: var(--fjord-deep);
  cursor: pointer;
  background: var(--cream);
  border: 2px dashed rgba(17, 106, 141, 0.24);
  border-radius: 999px;
  box-shadow: 0 5px 14px rgba(18, 59, 83, 0.08);
  font-weight: 900;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.profile-secret__button:hover {
  background: #fff1c9;
  border-color: var(--sun);
  transform: translateY(-2px);
}

.profile-secret__button[aria-expanded="true"] {
  background: var(--sun);
  border-color: #d9a62d;
}

.profile-secret__reveal {
  margin-top: 10px;
  padding: 14px 16px;
  background: #fff4dc;
  border-left: 6px solid var(--sun);
  border-radius: 8px var(--radius-sm) var(--radius-sm) 8px;
}

.profile-secret__reveal[hidden] {
  display: none;
}

.profile-secret__reveal.is-revealing {
  animation: profile-secret-in 320ms ease both;
}

.profile-secret__reveal p {
  margin: 0;
}

.profile-secret__reveal span {
  display: block;
  margin-top: 6px;
  color: var(--fjord);
  font-size: 0.8rem;
  font-weight: 900;
}

@keyframes profile-secret-in {
  from { opacity: 0; transform: translateY(7px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.profile-list {
  display: grid;
  gap: 26px;
}

.profile {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  min-height: 390px;
  scroll-margin-top: 102px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.profile:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) 310px;
}

.profile:nth-child(even) .profile__image {
  order: 2;
}

.profile__image {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center 18%;
  transition: opacity 180ms ease;
}

.profile__image.is-changing {
  opacity: 0.36;
}

.profile__copy {
  align-self: center;
  padding: clamp(28px, 5vw, 58px);
}

.profile__copy p:last-child {
  margin-bottom: 0;
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}

.fact {
  padding: 7px 12px;
  color: var(--fjord-deep);
  background: var(--sky);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 850;
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.place-jump {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: clamp(24px, 4vw, 36px) 0 0;
  padding-top: clamp(18px, 3vw, 26px);
  border-top: 2px dashed rgba(17, 106, 141, 0.18);
}

.place-jump + .place-explorer {
  margin-top: 28px;
}

.place-jump a,
.place-jump button {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  color: var(--fjord-deep);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  background: var(--white);
  border: 2px solid rgba(17, 106, 141, 0.12);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font: inherit;
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease;
}

.place-jump a:hover,
.place-jump button:hover {
  transform: translateY(-3px);
  border-color: var(--sun);
}

.place-jump span {
  font-size: 1.5rem;
}

.place-card {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--fjord-deep);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: 102px;
}

.place-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.place-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 25%, rgba(18, 59, 83, 0.94) 92%);
}

.place-card__copy {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 40px);
  pointer-events: none;
}

.place-card__copy p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.place-card__hint {
  display: inline-flex;
  padding: 6px 11px;
  color: var(--fjord-deep);
  background: var(--sun);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
}

.place-card__trigger {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: inherit;
}

.place-card__trigger:focus-visible {
  outline-offset: -8px;
}

.place-card:hover img,
.place-card:focus-within img {
  transform: scale(1.025);
}

.place-explorer {
  scroll-margin-top: 110px;
  margin-top: clamp(28px, 5vw, 54px);
  padding: clamp(20px, 4vw, 46px);
  background: var(--paper);
  border: 3px solid rgba(17, 106, 141, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.place-explorer[hidden],
.place-detail[hidden] {
  display: none;
}

.place-explorer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(22px, 4vw, 38px);
  padding-bottom: 18px;
  border-bottom: 2px dashed rgba(17, 106, 141, 0.18);
}

.place-explorer__header h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
}

.place-explorer__close {
  min-height: var(--tap);
  flex: 0 0 auto;
  padding: 10px 16px;
  color: var(--fjord-deep);
  cursor: pointer;
  background: var(--sky);
  border: 2px solid rgba(17, 106, 141, 0.15);
  border-radius: 999px;
  font-weight: 900;
}

.place-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: clamp(24px, 5vw, 52px);
  align-items: center;
}

.place-detail__hero > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 6px solid var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.place-detail__hero h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.place-detail__hero .button {
  width: auto;
  margin-top: 6px;
}

.room-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.room-choice {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 144px;
  padding: 12px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  background: var(--white);
  border: 3px solid transparent;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, border-color 160ms ease;
}

.room-choice:hover {
  transform: translateY(-3px);
  border-color: var(--sun);
}

.room-choice img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
}

.room-choice span,
.room-choice strong,
.room-choice small {
  display: block;
}

.room-choice strong {
  margin-bottom: 7px;
  color: var(--fjord-deep);
  font-size: 1.08rem;
}

.room-choice small {
  color: var(--muted);
  line-height: 1.45;
}

.place-detail > .mini-list {
  margin-top: 28px;
}

.place-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: clamp(24px, 5vw, 46px);
  align-items: center;
  margin-top: 34px;
  padding: clamp(18px, 3vw, 30px);
  background: var(--sky);
  border-radius: var(--radius-md);
}

.place-story-grid figure,
.place-detail__wide {
  margin: 0;
}

.place-story-grid img,
.place-detail__wide img {
  width: 100%;
  border-radius: var(--radius-sm);
}

.place-story-grid figcaption,
.place-detail__wide figcaption {
  padding: 10px 4px 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.place-detail__wide {
  margin-top: 32px;
}

.church-object-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.church-object {
  overflow: hidden;
  background: var(--white);
  border: 3px solid rgba(17, 106, 141, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.church-object[open] {
  border-color: var(--sun);
}

.church-object summary {
  position: relative;
  cursor: pointer;
  list-style: none;
}

.church-object summary::after {
  content: "⌄ Les mer";
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 7px 10px;
  color: var(--fjord-deep);
  pointer-events: none;
  background: rgba(255, 253, 247, 0.94);
  border: 2px solid var(--sun);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 0.76rem;
  font-weight: 900;
}

.church-object summary::-webkit-details-marker {
  display: none;
}

.church-object summary img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.church-object summary span {
  display: block;
  padding: 15px 16px;
  color: var(--fjord-deep);
  font-weight: 900;
}

.church-object summary strong {
  display: block;
  margin-top: 3px;
  color: var(--berry);
  font-size: 0.78rem;
}

.church-object[open] summary strong::before {
  content: "✓ ";
}

.church-object__body {
  display: grid;
  gap: 14px;
  padding: 0 16px 18px;
}

.church-object__body > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.church-object__zoom {
  min-height: var(--tap);
  justify-self: start;
  padding: 9px 15px;
  color: var(--fjord-deep);
  cursor: zoom-in;
  background: var(--cream);
  border: 2px solid var(--sun);
  border-radius: 999px;
  font-family: var(--font-title);
  font-weight: 800;
}

.church-object__zoom:hover,
.church-object__zoom:focus-visible {
  background: var(--sun);
}

.image-lightbox {
  width: min(calc(100% - 32px), 1200px);
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  color: var(--fjord-deep);
  background: var(--paper);
  border: 7px solid var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 90px rgba(8, 30, 42, 0.48);
  overflow: hidden;
}

.image-lightbox[open] {
  display: grid;
  place-items: center;
}

.image-lightbox::backdrop {
  background: rgba(8, 30, 42, 0.82);
  backdrop-filter: blur(8px);
}

.image-lightbox__panel {
  position: relative;
  width: 100%;
  max-height: calc(100vh - 46px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.image-lightbox__panel img {
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  background: var(--fjord-deep);
}

.image-lightbox__panel p {
  max-width: none;
  margin: 0;
  padding: 14px 74px 14px 18px;
  font-weight: 850;
}

.image-lightbox__close {
  position: absolute;
  right: 14px;
  bottom: 9px;
  z-index: 2;
  width: var(--tap);
  height: var(--tap);
  color: var(--white);
  cursor: pointer;
  background: var(--berry);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
}

.island-intro {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: flex-end;
  color: var(--white);
  background: var(--fjord-deep);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  isolation: isolate;
}

.island-intro img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.island-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18, 59, 83, 0.02) 25%, rgba(18, 59, 83, 0.92) 100%);
}

.section--map {
  padding-top: 0;
  background: var(--cream);
}

.map-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 6vw, 74px);
  align-items: end;
}

.map-heading h2,
.map-heading p {
  margin-bottom: 0;
}

.maram-map {
  margin: 0;
}

.maram-map__canvas {
  position: relative;
  aspect-ratio: 16 / 9;
  container-type: inline-size;
  background: var(--fjord-deep);
  border: 8px solid var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  isolation: isolate;
}

.maram-map__canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: calc(var(--radius-lg) - 8px);
  box-shadow: inset 0 -80px 100px rgba(18, 59, 83, 0.1);
}

.maram-map__canvas > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-coast-labels {
  position: absolute;
  top: 18px;
  right: 20px;
  left: 20px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}

.map-coast-labels span,
.map-travel-note {
  padding: 7px 12px;
  color: var(--white);
  background: rgba(18, 59, 83, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  box-shadow: 0 5px 18px rgba(18, 59, 83, 0.22);
  backdrop-filter: blur(6px);
  font-size: 0.82rem;
  font-weight: 900;
}

.map-hotspot {
  --target-x: 0px;
  --target-y: 0px;
  --leader-length: 0px;
  --leader-angle: 0deg;
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: var(--tap);
  padding: 4px 11px 4px 4px;
  color: var(--fjord-deep);
  cursor: pointer;
  background: rgba(255, 253, 247, 0.96);
  border: 3px solid var(--sun);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(18, 59, 83, 0.3);
  font-size: 0.84rem;
  font-weight: 900;
  transform: translate(-50%, -50%);
  transition: transform 160ms ease, box-shadow 160ms ease;
  isolation: isolate;
}

.map-hotspot__leader {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: var(--leader-length);
  height: 4px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(18, 59, 83, 0.28), 0 3px 9px rgba(18, 59, 83, 0.22);
  transform: translateY(-50%) rotate(var(--leader-angle));
  transform-origin: left center;
  pointer-events: none;
}

.map-hotspot__target {
  position: absolute;
  top: calc(50% + var(--target-y));
  left: calc(50% + var(--target-x));
  z-index: 1;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.44);
  border: 4px solid var(--sun);
  border-radius: 50%;
  box-shadow: 0 3px 11px rgba(18, 59, 83, 0.42);
  transform: translate(-50%, -50%);
  pointer-events: auto;
  cursor: pointer;
}

.map-hotspot__target::before {
  content: "";
  position: absolute;
  inset: -15px;
  border-radius: 50%;
}

.map-hotspot__target::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  animation: map-pulse 2.4s ease-out infinite;
}

.map-hotspot:hover,
.map-hotspot[aria-expanded="true"] {
  box-shadow: 0 11px 28px rgba(18, 59, 83, 0.38);
  transform: translate(-50%, -50%) scale(1.05);
}

.map-hotspot[aria-expanded="true"] {
  color: var(--white);
  background: var(--fjord-deep);
}

.map-hotspot__pin {
  position: relative;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 38px;
  background: var(--sun);
  border-radius: 50%;
  font-size: 1.15rem;
}

.map-hotspot__label {
  position: relative;
  z-index: 2;
}

.map-hotspot--house {
  --target-x: 140px;
  --target-x: 14cqw;
  --target-y: 73px;
  --target-y: 7.31cqw;
  --leader-length: 158px;
  --leader-length: 15.79cqw;
  --leader-angle: 28deg;
  top: 35%;
  left: 28%;
}

.map-hotspot--school {
  --target-x: 150px;
  --target-x: 15cqw;
  --target-y: -34px;
  --target-y: -3.38cqw;
  --leader-length: 154px;
  --leader-length: 15.38cqw;
  --leader-angle: 347deg;
  top: 67%;
  left: 34%;
}

.map-hotspot--kindergarten {
  --target-x: 65px;
  --target-x: 7cqw;
  --target-y: 70px;
  --target-y: 7.5cqw;
  --leader-length: 96px;
  --leader-length: 10.25cqw;
  --leader-angle: 47deg;
  top: 42%;
  left: 55%;
}

.map-hotspot--harbor {
  --target-x: -100px;
  --target-x: -10cqw;
  --target-y: -23px;
  --target-y: -2.25cqw;
  --leader-length: 103px;
  --leader-length: 10.25cqw;
  --leader-angle: 193deg;
  top: 60%;
  left: 85%;
}

.map-hotspot--bridge {
  --target-x: 100px;
  --target-x: 10cqw;
  --target-y: 73px;
  --target-y: 7.31cqw;
  --leader-length: 124px;
  --leader-length: 12.39cqw;
  --leader-angle: 36deg;
  top: 32%;
  left: 69%;
}

.map-hotspot--shore {
  --target-x: -130px;
  --target-x: -13cqw;
  --target-y: -11px;
  --target-y: -1.13cqw;
  --leader-length: 131px;
  --leader-length: 13.05cqw;
  --leader-angle: 185deg;
  top: 78%;
  left: 83%;
}

.map-hotspot--church {
  --target-x: 60px;
  --target-x: 6cqw;
  --target-y: 96px;
  --target-y: 9.56cqw;
  --leader-length: 113px;
  --leader-length: 11.28cqw;
  --leader-angle: 58deg;
  top: 14%;
  left: 87%;
}

.map-travel-note {
  position: absolute;
  top: 42%;
  right: 4%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.map-quest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  margin: 16px auto 0;
  padding: 13px 18px;
  color: var(--fjord-deep);
  background: var(--sky);
  border: 2px solid rgba(17, 106, 141, 0.16);
  border-radius: 18px;
  font-weight: 800;
}

.map-quest strong {
  font-size: 1.05rem;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: center;
  margin: 14px auto 0;
}

.map-legend span {
  padding: 6px 11px;
  color: var(--fjord-deep);
  background: var(--sky);
  border: 1px solid rgba(17, 106, 141, 0.18);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 850;
}

.map-place-key {
  display: none;
}

.map-treasure {
  top: var(--treasure-top);
  left: var(--treasure-left);
  position: absolute;
  z-index: 1;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  cursor: pointer;
  background: rgba(18, 59, 83, 0.74);
  border: 3px dashed rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 7px 18px rgba(18, 59, 83, 0.28);
  font-size: 1.1rem;
  font-weight: 950;
  transform: translate(-50%, -50%);
  transition: transform 160ms ease, background 160ms ease;
}

.map-treasure-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.map-treasure-layer .map-treasure {
  pointer-events: auto;
}

.map-treasure:hover,
.map-treasure:focus-visible {
  transform: translate(-50%, -50%) scale(1.1);
}

.map-treasure[aria-pressed="true"] {
  background: var(--leaf);
  border-style: solid;
}

.maram-map figcaption {
  max-width: 82ch;
  margin: 9px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.94rem;
  font-weight: 720;
}

@keyframes map-pulse {
  0% {
    opacity: 0.85;
    transform: scale(0.9);
  }
  72%,
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

.island-intro__copy {
  max-width: 720px;
  padding: clamp(30px, 6vw, 70px);
}

.adult-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.adult-card {
  padding: clamp(28px, 4vw, 44px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.adult-card p:last-child {
  margin-bottom: 0;
}

.section--support {
  background: linear-gradient(135deg, #dff4f5 0%, #fff8e8 58%, #fce7bd 100%);
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(30px, 6vw, 70px);
  background: var(--white);
  border: 3px solid rgba(17, 106, 141, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.support-panel__copy p:last-child {
  margin-bottom: 0;
}

.support-panel__action {
  display: grid;
  justify-items: stretch;
  gap: 16px;
  text-align: center;
}

.vipps-number {
  display: grid;
  justify-items: center;
  padding: 20px;
  color: var(--white);
  background: #5c2d91;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 0 rgba(92, 45, 145, 0.22);
}

.vipps-number span {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vipps-number strong {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: 0.04em;
  line-height: 1;
}

.support-more {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--fjord);
  font-weight: 850;
}

.site-footer {
  padding: 60px 0 34px;
  color: var(--white);
  background: var(--fjord-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 42px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.35rem;
  font-weight: 900;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  background: transparent;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  font-weight: 750;
}

.footer-bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.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;
}

[data-calm="true"] *,
[data-calm="true"] *::before,
[data-calm="true"] *::after {
  scroll-behavior: auto !important;
  transition: none !important;
  animation: none !important;
}

[data-calm="true"] .activity-card {
  transform: none;
}

[data-calm="true"] body::before,
[data-calm="true"] .hero::after {
  display: none;
}

.page-hero--saints .page-hero__image {
  object-position: 64% 18%;
}

.page-hero--saints .page-hero__content {
  width: min(620px, 51%);
}

.saint-intro__note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
  margin-top: 26px;
  padding: 18px 20px;
  color: var(--fjord-deep);
  background: var(--cream);
  border: 2px solid rgba(18, 59, 83, 0.1);
  border-radius: var(--radius-sm);
}

.saint-intro__note > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--fjord-deep);
  background: var(--sun);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 900;
}

.saint-intro__note p {
  margin: 0;
}

.saint-library {
  display: grid;
  gap: clamp(28px, 5vw, 52px);
}

.saint-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  min-width: 0;
  background: var(--white);
  border: 3px solid rgba(18, 59, 83, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  scroll-margin-top: 106px;
}

.saint-story--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.saint-story--reverse .saint-story__image {
  order: 2;
}

.saint-story__image {
  min-width: 0;
  background: var(--sky);
}

.saint-story__image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.saint-story__copy {
  min-width: 0;
  align-self: center;
  padding: clamp(30px, 5vw, 58px);
}

.saint-story__copy h2 {
  margin: 18px 0 22px;
  font-size: clamp(2rem, 3.7vw, 3.15rem);
}

.saint-story__copy > p {
  font-size: 1.05rem;
}

.saint-story__ask {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  padding: 16px 18px;
  color: var(--fjord-deep);
  background: var(--cream);
  border-left: 7px solid var(--sun);
  border-radius: 8px var(--radius-sm) var(--radius-sm) 8px;
}

.saint-story__ask strong {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.saint-story__ask span {
  font-size: 1.06rem;
  font-weight: 850;
}

.saint-story__family-link {
  display: inline-flex;
  min-height: var(--tap);
  align-items: center;
  margin-top: 17px;
  color: var(--fjord);
  font-weight: 900;
}

.saints-grow {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  gap: clamp(34px, 7vw, 82px);
  align-items: center;
}

.saints-grow__copy .button-row {
  margin-top: 28px;
}

.saints-grow__next {
  display: grid;
  min-height: 330px;
  place-items: center;
  align-content: center;
  padding: 34px;
  text-align: center;
  background: var(--sky);
  border: 4px dashed rgba(17, 106, 141, 0.28);
  border-radius: var(--radius-lg);
}

.saints-grow__next > span {
  display: grid;
  width: 82px;
  height: 82px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--fjord-deep);
  background: var(--sun);
  border-radius: 50%;
  font-size: 3.4rem;
  line-height: 1;
}

.saints-grow__next strong {
  font-size: 1.35rem;
}

.saints-grow__next p {
  margin: 8px 0 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--paper);
    border: 1px solid rgba(18, 59, 83, 0.1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
  }

  .main-nav[data-open="true"] {
    display: flex;
  }

  .main-nav a,
  .calm-toggle {
    justify-content: flex-start;
    width: 100%;
  }

  .hero {
    min-height: 740px;
    align-items: start;
  }

  .hero__image {
    object-position: center 60%;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(18, 59, 83, 0.52) 0%, rgba(18, 59, 83, 0.12) 48%, rgba(18, 59, 83, 0.32) 100%);
  }

  .hero__content {
    width: min(760px, 100%);
    padding: 58px 0 170px;
  }

  .page-hero--image {
    min-height: 760px;
    align-items: end;
    padding: 310px 0 96px;
  }

  .page-hero--image::before {
    background: linear-gradient(
      180deg,
      rgba(18, 59, 83, 0.04) 20%,
      rgba(18, 59, 83, 0.44) 55%,
      rgba(18, 59, 83, 0.92) 100%
    );
  }

  .page-hero--image > .container {
    display: block;
  }

  .page-hero__content,
  .page-hero--family .page-hero__content,
  .page-hero--explore .page-hero__content {
    width: min(760px, 100%);
    padding: 0;
    background: transparent;
  }

  .page-hero--episodes .page-hero__image {
    object-position: 36% center;
  }

  .page-hero--family .page-hero__image {
    object-position: 68% center;
  }

  .page-hero--explore .page-hero__image {
    object-position: 42% center;
  }

  .page-hero--adults .page-hero__image {
    object-position: 50% center;
  }

  .page-hero--saints .page-hero__image {
    object-position: 64% 18%;
  }

  .page-hero--saints .page-hero__content {
    width: min(760px, 100%);
  }

  .split,
  .episode-layout,
  .season-panel,
  .support-panel,
  .production-credits {
    grid-template-columns: 1fr;
  }

  .saint-story,
  .saint-story--reverse,
  .saints-grow {
    grid-template-columns: 1fr;
  }

  .saint-story--reverse .saint-story__image {
    order: 0;
  }

  .saint-story__image img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

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

  .map-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .map-hotspot__label {
    display: none;
  }

  .map-place-key {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 14px 0 0;
  }

  .map-place-key button {
    min-height: 46px;
    padding: 8px 10px;
    color: var(--fjord-deep);
    cursor: pointer;
    background: var(--white);
    border: 2px solid rgba(17, 106, 141, 0.18);
    border-radius: 14px;
    font-family: var(--font-title);
    font-weight: 750;
  }

  .map-place-key button:hover,
  .map-place-key button:focus-visible,
  .map-place-key button[aria-expanded="true"] {
    background: var(--sun);
    border-color: var(--sun);
  }

  .map-hotspot__leader,
  .map-hotspot__target {
    display: none;
  }

  .map-hotspot {
    min-width: 50px;
    min-height: 50px;
    justify-content: center;
    padding: 4px;
  }

  .map-hotspot--house { top: 48%; left: 42%; }
  .map-hotspot--school { top: 61%; left: 49%; }
  .map-hotspot--kindergarten { top: 55%; left: 62%; }
  .map-hotspot--harbor { top: 56%; left: 75%; }
  .map-hotspot--bridge { top: 45%; left: 79%; }
  .map-hotspot--shore { top: 77%; left: 70%; }
  .map-hotspot--church { top: 31%; left: 93%; }

  .place-detail__hero,
  .place-story-grid {
    grid-template-columns: 1fr;
  }

  .room-choice-grid {
    grid-template-columns: 1fr;
  }

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

  .season-panel img {
    max-height: 500px;
  }

  .split--reverse .split__image {
    order: 0;
  }

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

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

  .activity-card:nth-child(n) {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

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

  .wardrobe__choices {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .wardrobe__button {
    width: 100%;
  }

  .wardrobe__status {
    grid-column: auto;
  }

  .person-wardrobe__choices {
    grid-template-columns: 1fr;
  }

  .person-wardrobe .wardrobe__button {
    width: 100%;
    padding-inline: 7px;
  }

  .profile-secret__button {
    width: 100%;
  }

  body {
    font-size: 16px;
  }

  .container,
  .narrow {
    width: min(calc(100% - 24px), var(--content));
  }

  .brand span {
    max-width: 128px;
    font-size: 0.94rem;
  }

  .brand small {
    font-size: 0.58rem;
  }

  .hero {
    min-height: 700px;
  }

  .hero__image {
    object-position: 52% center;
  }

  .hero__content {
    padding: 44px 0 150px;
  }

  .page-hero--image {
    min-height: 0;
    padding: 300px 0 82px;
  }

  .page-hero__content,
  .page-hero--family .page-hero__content,
  .page-hero--explore .page-hero__content {
    padding: 0;
    border-radius: 0;
  }

  .page-hero--image h1 {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
  }

  .page-hero--image .page-hero__trail {
    gap: 7px;
    margin-top: 18px;
  }

  .page-hero--image .page-hero__trail span,
  .page-hero--image .page-hero__trail a {
    padding: 7px 10px;
    font-size: 0.82rem;
  }

  .hero .eyebrow {
    font-size: 0.76rem;
  }

  .hero__cloud--one {
    width: 132px;
  }

  .hero__gull--one {
    left: 6%;
  }

  .hero__gull--two {
    right: 7%;
  }

  .hero__boat {
    bottom: 72px;
  }

  .hero-waves {
    height: 122px;
  }

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

  .button {
    width: 100%;
  }

  .episode-tools {
    grid-template-columns: 1fr;
  }

  .split__image img {
    border-width: 5px;
    border-radius: var(--radius-md);
  }

  .card-grid,
  .character-grid,
  .season-grid,
  .episode-grid,
  .place-grid,
  .adult-grid {
    grid-template-columns: 1fr;
  }

  .character-card {
    min-height: 480px;
  }

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

  .place-jump a,
  .place-jump button {
    min-height: 68px;
  }

  .maram-map__canvas {
    border-width: 5px;
    border-radius: var(--radius-md);
  }

  .map-coast-labels {
    top: 8px;
    right: 8px;
    left: 8px;
  }

  .map-coast-labels span,
  .map-travel-note {
    padding: 4px 8px;
    font-size: 0.66rem;
  }

  .map-travel-note {
    right: 2%;
  }

  .map-hotspot {
    transform: translate(-50%, -50%) scale(0.88);
  }

  .map-hotspot:hover,
  .map-hotspot[aria-expanded="true"] {
    transform: translate(-50%, -50%) scale(0.95);
  }

  .map-hotspot__pin {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .map-treasure {
    width: 44px;
    height: 44px;
    font-size: 0.95rem;
  }

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

  .map-legend {
    gap: 6px;
  }

  .map-legend span {
    padding: 5px 8px;
    font-size: 0.7rem;
  }

  .place-explorer {
    padding: 18px;
    border-radius: var(--radius-md);
  }

  .place-explorer__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .place-explorer__close {
    width: 100%;
  }

  .room-choice {
    grid-template-columns: 106px minmax(0, 1fr);
    min-height: 118px;
  }

  .room-choice img {
    height: 96px;
  }

  .church-object-grid {
    grid-template-columns: 1fr;
  }

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

  .season-tab {
    width: 100%;
    padding-inline: 10px;
  }

  .season-panel {
    min-height: 0;
  }

  .season-panel img {
    height: 310px;
  }

  .season-card {
    min-height: 310px;
  }

  .profile,
  .profile:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .profile:nth-child(even) .profile__image {
    order: 0;
  }

  .profile__image {
    height: 430px;
    min-height: 0;
  }

  .place-card,
  .island-intro {
    min-height: 520px;
  }

  .credit-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > :first-child {
    grid-column: auto;
  }
}

.hero-actions {
  justify-content: center;
}

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

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

@media (prefers-contrast: more) {
  :root {
    --muted: #334e5d;
  }

  .card,
  .profile,
  .episode-card,
  .adult-card {
    border: 2px solid var(--fjord-deep);
  }
}

/* Jesus og vennene hans */

.page-hero--friends .page-hero__image {
  object-position: center 48%;
}

.page-hero--friends .page-hero__content {
  width: min(620px, 52%);
}

.faith-center .split__image {
  justify-self: center;
  width: min(100%, 440px);
  background: linear-gradient(145deg, var(--sky), var(--cream));
}

.faith-center .split__image img {
  aspect-ratio: 3 / 5;
  object-fit: cover;
  object-position: center;
}

.faith-center__note,
.friend-learning {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-top: 22px;
  padding: 16px 18px;
  color: var(--fjord-deep);
  background: var(--cream);
  border-left: 7px solid var(--sun);
  border-radius: 8px var(--radius-sm) var(--radius-sm) 8px;
}

.faith-center__note > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--berry);
  border-radius: 50%;
}

.faith-center__note p,
.friend-learning span {
  margin: 0;
}

.biblical-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 42px);
  max-width: 1120px;
  margin-inline: auto;
}

.biblical-feature {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
  min-width: 0;
  background: var(--white);
  border: 3px solid rgba(18, 59, 83, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.biblical-feature > img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center 14%;
  background: #fff2df;
}

.biblical-feature:nth-child(even) > img {
  order: 2;
}

.biblical-feature__copy {
  position: relative;
  align-self: center;
  min-width: 0;
  padding: clamp(26px, 3vw, 42px);
}

.biblical-feature__copy h3 {
  margin: 18px 0 16px;
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}

.friend-symbol {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--fjord-deep);
  background: var(--sun);
  border: 3px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.bible-place {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.friend-learning {
  grid-template-columns: 1fr;
  gap: 3px;
  margin-top: 18px;
  padding: 14px 16px;
  border-left-width: 5px;
}

.friend-learning strong {
  font-family: var(--font-title);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-heading--apostles {
  max-width: 820px;
}

.apostles-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  max-width: 920px;
  margin: 0 0 clamp(28px, 5vw, 48px);
  padding: 18px 22px;
  color: var(--fjord-deep);
  background: var(--sky);
  border: 2px solid rgba(17, 106, 141, 0.16);
  border-radius: var(--radius-md);
}

.apostles-note > span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  background: var(--sun);
  border-radius: 50%;
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
}

.apostles-note p {
  margin: 0;
}

.apostle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 30px);
  align-items: start;
}

.apostle-card {
  min-width: 0;
  background: var(--white);
  border: 3px solid rgba(18, 59, 83, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  scroll-margin-top: 100px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.apostle-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.apostle-card[open] {
  border-color: rgba(17, 106, 141, 0.28);
}

.apostle-card summary {
  position: relative;
  display: grid;
  grid-template-columns: 112px auto minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  min-height: 136px;
  padding: 12px 16px 12px 12px;
  cursor: pointer;
  list-style: none;
}

.apostle-card summary::-webkit-details-marker {
  display: none;
}

.apostle-card summary > img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  object-position: center;
  background: #fff2df;
  border-radius: 20px;
}

.apostle-card summary > img.apostle-card__matthias {
  object-position: center 14%;
}

.apostle-card summary .friend-symbol {
  width: 42px;
  height: 42px;
  border-width: 2px;
  box-shadow: none;
}

.apostle-card__heading {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.apostle-card__heading strong {
  color: var(--fjord-deep);
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 2vw, 1.48rem);
  line-height: 1.12;
}

.apostle-card__heading small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.apostle-card__action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 11px;
  color: var(--fjord-deep);
  background: var(--sky);
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.apostle-card[open] .apostle-card__action {
  font-size: 0;
}

.apostle-card[open] .apostle-card__action::after {
  content: "Lukk";
  font-size: 0.82rem;
}

.apostle-card__body {
  padding: 4px clamp(22px, 4vw, 34px) clamp(24px, 4vw, 34px);
  border-top: 2px dashed rgba(18, 59, 83, 0.12);
}

.apostle-card__body > p:first-child {
  margin-top: 22px;
}

.friends-next {
  text-align: center;
}

.friends-next p {
  margin-inline: auto;
  font-size: 1.12rem;
}

.friends-next .button-row {
  justify-content: center;
}

.faith-gateway {
  text-align: center;
}

.faith-gateway .section-heading {
  max-width: 760px;
  margin-inline: auto;
}

.faith-gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 42px);
  text-align: left;
}

.faith-gateway-card {
  position: relative;
  min-width: 0;
  color: var(--white);
  background: var(--fjord-deep);
  border: 4px solid rgba(18, 59, 83, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.faith-gateway-card img {
  width: 100%;
  height: 285px;
  object-fit: cover;
}

.faith-gateway-card__copy {
  padding: clamp(24px, 4vw, 38px);
}

.faith-gateway-card__copy h3 {
  color: var(--white);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.faith-gateway-card__copy p {
  color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 1180px) {
  .biblical-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .page-hero--friends .page-hero__image {
    object-position: 49% center;
  }

  .page-hero--friends .page-hero__content {
    width: min(760px, 100%);
  }

  .faith-gateway-grid,
  .apostle-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .page-hero--friends {
    padding-top: 300px;
  }

  .biblical-feature {
    grid-template-columns: 1fr;
  }

  .biblical-feature > img {
    height: 520px;
    min-height: 0;
  }

  .biblical-feature:nth-child(even) > img {
    order: 0;
  }

  .apostles-note {
    grid-template-columns: 1fr;
  }

  .apostle-card summary {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 11px;
    min-height: 112px;
    padding: 11px;
  }

  .apostle-card summary > img {
    width: 88px;
    height: 88px;
    border-radius: 16px;
  }

  .apostle-card summary .friend-symbol {
    position: absolute;
    top: 7px;
    left: 77px;
    width: 34px;
    height: 34px;
    font-size: 0.88rem;
  }

  .apostle-card__heading {
    grid-column: 2;
  }

  .apostle-card__action {
    grid-column: 3;
    padding-inline: 9px;
  }

  .faith-gateway-card img {
    height: 240px;
  }
}

/* The seven sacraments */
.page-hero--sacraments .page-hero__image {
  object-position: center 46%;
}

.page-hero--sacraments::before {
  background: linear-gradient(90deg, rgba(8, 30, 42, 0.9) 0%, rgba(8, 30, 42, 0.64) 43%, rgba(8, 30, 42, 0.12) 76%);
}

.page-hero--sacraments .page-hero__content {
  width: min(690px, 58%);
}

.sacrament-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.sacrament-intro__copy > p {
  font-size: 1.08rem;
}

.sacrament-intro__note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  margin-top: 25px;
  padding: 16px 18px;
  background: color-mix(in srgb, var(--sun) 16%, transparent);
  border-left: 5px solid var(--sun);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.sacrament-intro__note span {
  color: var(--berry);
  font-size: 1.55rem;
}

.sacrament-intro__note p {
  margin: 0;
}

.sacrament-seven {
  position: relative;
  min-height: 470px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  align-content: center;
  padding: clamp(25px, 4vw, 48px);
  background:
    radial-gradient(circle at 50% 50%, rgba(246, 196, 83, 0.26), transparent 38%),
    linear-gradient(145deg, rgba(216, 242, 244, 0.9), rgba(255, 249, 237, 0.92));
  border: 3px solid rgba(18, 59, 83, 0.1);
  border-radius: 50% 42% 48% 44% / 44% 50% 42% 48%;
  box-shadow: var(--shadow-md);
}

.sacrament-seven::before {
  position: absolute;
  inset: 12%;
  content: "";
  border: 2px dashed rgba(18, 59, 83, 0.2);
  border-radius: 50%;
}

.sacrament-seven span {
  position: relative;
  z-index: 1;
  min-height: 112px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 12px 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.76);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  font-size: 2rem;
}

.sacrament-seven span:nth-child(4) {
  grid-column: 1;
}

.sacrament-seven span:nth-child(7) {
  grid-column: 2;
}

.sacrament-seven strong {
  color: var(--fjord-deep);
  font-family: var(--font-title);
  font-size: 0.95rem;
  line-height: 1.08;
}

.sacrament-journey {
  overflow: clip;
}

.sacrament-journey__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 35px;
  align-items: end;
  text-align: left;
}

.sacrament-progress {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 2px solid rgba(18, 59, 83, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

.sacrament-progress__top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.sacrament-progress__top strong {
  color: var(--fjord-deep);
  font-family: var(--font-title);
}

.sacrament-progress__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.sacrament-progress button,
.sacrament-panel__footer button,
.sacrament-zoom {
  min-height: var(--tap);
  padding: 9px 15px;
  color: var(--fjord-deep);
  cursor: pointer;
  background: var(--sun);
  border: 0;
  border-radius: 999px;
  font-family: var(--font-title);
  font-weight: 800;
}

.sacrament-progress button:hover,
.sacrament-progress button:focus-visible,
.sacrament-panel__footer button:hover,
.sacrament-panel__footer button:focus-visible,
.sacrament-zoom:hover,
.sacrament-zoom:focus-visible {
  color: var(--white);
  background: var(--berry);
}

.sacrament-progress__track {
  height: 12px;
  margin-top: 13px;
  background: rgba(18, 59, 83, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.sacrament-progress__track span {
  width: 0;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--berry), var(--sun));
  border-radius: inherit;
  transition: width 420ms ease;
}

.sacrament-progress .sacrament-progress__reset {
  color: var(--fjord-deep);
  background: var(--white);
  border: 2px solid rgba(18, 59, 83, 0.18);
  box-shadow: 0 4px 0 rgba(18, 59, 83, 0.1);
}

.sacrament-progress .sacrament-progress__reset:hover,
.sacrament-progress .sacrament-progress__reset:focus-visible {
  color: var(--white);
  background: var(--berry);
  border-color: var(--berry);
}

.sacrament-tabs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(7, minmax(112px, 1fr));
  gap: 9px;
  margin-top: 34px;
  padding: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.sacrament-tabs::before {
  position: absolute;
  top: 50%;
  right: 4%;
  left: 4%;
  z-index: -1;
  height: 5px;
  content: "";
  background: rgba(18, 59, 83, 0.14);
  border-radius: 999px;
}

.sacrament-tabs button {
  position: relative;
  min-width: 112px;
  min-height: 118px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  padding: 10px 8px;
  color: var(--fjord-deep);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.83);
  border: 3px solid var(--white);
  border-radius: 25px;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-title);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.sacrament-tabs button > span {
  font-size: 1.8rem;
}

.sacrament-tabs button strong {
  font-size: 0.89rem;
  line-height: 1.05;
}

.sacrament-tabs button small {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: var(--foam);
  border-radius: 50%;
  font-weight: 900;
}

.sacrament-tabs button:hover,
.sacrament-tabs button:focus-visible {
  transform: translateY(-5px);
}

.sacrament-tabs button[aria-selected="true"] {
  color: var(--white);
  background: var(--fjord);
  border-color: var(--sun);
  box-shadow: 0 12px 30px rgba(18, 59, 83, 0.24);
  transform: translateY(-7px);
}

.sacrament-tabs button.is-complete::after {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  content: "✓";
  color: var(--white);
  background: var(--berry);
  border: 3px solid var(--white);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
}

.sacrament-stage {
  position: relative;
  margin-top: 24px;
  padding: clamp(18px, 3vw, 34px);
  background:
    radial-gradient(circle at 90% 10%, rgba(246, 196, 83, 0.2), transparent 28%),
    rgba(255, 249, 237, 0.9);
  border: 4px solid var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.sacrament-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

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

.sacrament-visual {
  position: relative;
  overflow: hidden;
  background: var(--fjord-deep);
  border: 5px solid var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.sacrament-visual > img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sacrament-hotspot {
  position: absolute;
  top: var(--spot-y);
  left: var(--spot-x);
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--fjord-deep);
  cursor: pointer;
  background: var(--sun);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(8, 30, 42, 0.36);
  transform: translate(-50%, -50%);
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 900;
  animation: sacrament-pulse 2.2s ease-in-out infinite;
}

.sacrament-hotspot:nth-of-type(2) {
  animation-delay: 260ms;
}

.sacrament-hotspot:nth-of-type(3) {
  animation-delay: 520ms;
}

.sacrament-hotspot::after {
  position: absolute;
  inset: -10px;
  content: "";
  border: 2px solid rgba(246, 196, 83, 0.72);
  border-radius: 50%;
}

.sacrament-hotspot:hover,
.sacrament-hotspot:focus-visible {
  color: var(--white);
  background: var(--berry);
  animation: none;
}

.sacrament-hotspot[aria-pressed="true"] {
  color: var(--white);
  background: var(--berry);
  animation: none;
}

.sacrament-hotspot[aria-pressed="true"]::after {
  display: none;
}

.sacrament-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 42px;
  background: rgba(255, 249, 237, 0.94);
  border: 2px solid var(--sun);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}

.sacrament-panel__copy h3 {
  margin-bottom: 17px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.sacrament-panel__copy > p {
  font-size: 1.04rem;
}

.sacrament-clues {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.sacrament-clues:has(p:not([hidden])) {
  padding-top: 3px;
}

.sacrament-clues p {
  margin: 0;
  padding: 12px 14px;
  color: var(--fjord-deep);
  background: rgba(216, 242, 244, 0.72);
  border-left: 4px solid var(--sun);
  border-radius: 0 14px 14px 0;
  animation: sacrament-clue-in 260ms ease both;
}

.sacrament-panel__maram {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(246, 196, 83, 0.14);
  border: 2px dashed rgba(194, 85, 50, 0.36);
  border-radius: var(--radius-sm);
}

.sacrament-panel__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}

.sacrament-panel__footer span {
  color: var(--muted);
  font-weight: 800;
}

.sacrament-panel__footer button {
  background: var(--foam);
  border: 2px solid rgba(18, 59, 83, 0.12);
}

.sacrament-complete {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 18px 22px;
  color: var(--white);
  background: var(--berry);
  border: 4px solid var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.sacrament-complete[hidden] {
  display: none;
}

.sacrament-complete > span {
  color: var(--sun);
  font-size: 2rem;
}

.sacrament-complete strong {
  font-family: var(--font-title);
  font-size: 1.25rem;
}

.sacrament-complete p {
  margin: 3px 0 0;
}

.sacrament-complete__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.sacrament-complete__actions .button {
  border: 0;
  cursor: pointer;
}

.sacrament-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sacrament-groups article {
  position: relative;
  padding: 28px;
  background: rgba(216, 242, 244, 0.56);
  border: 3px solid var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.sacrament-groups article:nth-child(2) {
  background: rgba(246, 196, 83, 0.16);
}

.sacrament-groups article:nth-child(3) {
  background: rgba(194, 85, 50, 0.1);
}

.sacrament-groups article > span {
  font-size: 2rem;
}

.sacrament-groups h3 {
  margin: 11px 0 9px;
  font-size: 1.55rem;
}

.sacrament-groups p {
  margin-bottom: 15px;
}

.sacrament-groups a {
  font-family: var(--font-title);
  font-weight: 850;
}

.sacrament-home-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  min-height: 520px;
  overflow: hidden;
  color: var(--white);
  background: var(--fjord-deep);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.sacrament-home-teaser__image {
  position: relative;
  min-height: 460px;
}

.sacrament-home-teaser__image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 58%, var(--fjord-deep));
}

.sacrament-home-teaser__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sacrament-home-teaser__copy {
  display: grid;
  align-content: center;
  padding: clamp(30px, 5vw, 70px);
}

.sacrament-home-teaser__copy h2 {
  color: var(--white);
}

.sacrament-home-teaser__icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0 23px;
}

.sacrament-home-teaser__icons span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.13);
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

@keyframes sacrament-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.12); }
}

@keyframes sacrament-clue-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

[data-calm="true"] .sacrament-hotspot,
[data-calm="true"] .sacrament-clues p,
[data-calm="true"] .sacrament-progress__track span {
  animation: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .sacrament-hotspot,
  .sacrament-clues p,
  .sacrament-progress__track span {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .sacrament-panel {
    grid-template-columns: 1fr;
  }

  .sacrament-panel__copy {
    padding-inline: 8px;
  }

  .sacrament-tabs {
    grid-template-columns: repeat(7, 124px);
  }
}

@media (max-width: 980px) {
  .page-hero--sacraments .page-hero__image {
    object-position: 54% center;
  }

  .page-hero--sacraments .page-hero__content {
    width: min(760px, 100%);
  }

  .sacrament-intro,
  .sacrament-journey__heading,
  .sacrament-home-teaser {
    grid-template-columns: 1fr;
  }

  .sacrament-seven {
    min-height: 0;
    border-radius: var(--radius-lg);
  }

  .sacrament-groups {
    grid-template-columns: 1fr;
  }

  .sacrament-home-teaser__image {
    min-height: 400px;
  }

  .sacrament-home-teaser__image::after {
    background: linear-gradient(180deg, transparent 60%, var(--fjord-deep));
  }
}

@media (max-width: 680px) {
  .page-hero--sacraments {
    padding-top: 310px;
  }

  .sacrament-seven {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px;
  }

  .sacrament-seven span:nth-child(4),
  .sacrament-seven span:nth-child(7) {
    grid-column: auto;
  }

  .sacrament-seven span:last-child {
    grid-column: 1 / -1;
  }

  .sacrament-journey__heading {
    gap: 20px;
  }

  .sacrament-tabs {
    margin-inline: -18px;
    padding-inline: 18px;
  }

  .sacrament-stage {
    margin-inline: -10px;
    padding: 10px;
    border-width: 3px;
  }

  .sacrament-hotspot {
    width: 46px;
    height: 46px;
  }

  .sacrament-zoom {
    right: 8px;
    bottom: 8px;
    padding-inline: 12px;
    font-size: 0.83rem;
  }

  .sacrament-panel__copy {
    padding: 10px 8px 16px;
  }

  .sacrament-panel__footer {
    align-items: stretch;
  }

  .sacrament-panel__footer button {
    flex: 1 1 44%;
  }

  .sacrament-panel__footer span {
    flex: 1 0 100%;
    order: -1;
  }

  .sacrament-complete {
    grid-template-columns: auto 1fr;
  }

  .sacrament-complete .button {
    width: 100%;
    text-align: center;
  }

  .sacrament-complete__actions {
    grid-column: 1 / -1;
    width: 100%;
  }

  .sacrament-home-teaser__image {
    min-height: 300px;
  }
}
