:root {
  --brand-background: #f2faff;
  --brand-primary: #0085cd;
  --brand-light: #1aaeff;
  --brand-lighter: #80d2ff;
  --brand-lightest: #e5f6ff;
  --brand-secondary: #f8ad30;
  --brand-tertiary: #7dbdce;
  --brand-dark: #1b72a4;
  --brand-darker: #005380;
  --brand-darkest: #00324d;
  --poster-accent: #7e6499;
  --poster-accent-light: rgba(126, 100, 153, 0.2);
  --poster-accent-lighter: rgba(126, 100, 153, 0.1);
  --poster-accent-strong: #62487d;
  --surface: #ffffff;
  --text-primary: #0d2a3d;
  --text-muted: #496575;
  --border-soft: rgba(0, 83, 128, 0.12);
  --shadow-soft: 0 24px 60px rgba(0, 83, 128, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
  --header-offset: 8.5rem;
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  font-family: var(--font-body), sans-serif;
  background-image:
    linear-gradient(180deg, rgba(242, 250, 255, 0.72) 0%, rgba(255, 255, 255, 0.62) 42%, rgba(229, 246, 255, 0.72) 100%),
    linear-gradient(135deg, rgba(242, 250, 255, 0.22), rgba(242, 250, 255, 0.12)),
    url("../img/kungen-kommer-konferens-2026-himmel.jpg");
  background-position: center top, center top, center top;
  background-size: auto, auto, cover;
  background-repeat: repeat, repeat, no-repeat;
  background-attachment: scroll, scroll, fixed;
  background-color: var(--brand-background);
  color: var(--text-primary);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -2;
}

body::before {
  top: -10rem;
  left: -8rem;
  width: 28rem;
  height: 28rem;
  clip-path: polygon(8% 20%, 70% 0, 100% 30%, 82% 100%, 18% 78%, 0 42%);
  background: linear-gradient(135deg, rgba(126, 100, 153, 0.2), rgba(126, 100, 153, 0.02) 72%);
  filter: blur(8px);
  transform: rotate(-12deg);
}

body::after {
  right: -9rem;
  bottom: 8rem;
  width: 24rem;
  height: 24rem;
  clip-path: polygon(24% 0, 100% 0, 78% 100%, 0 82%);
  background: linear-gradient(160deg, rgba(126, 100, 153, 0.16), rgba(248, 173, 48, 0.02) 70%);
  transform: rotate(8deg);
}

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

.site-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1rem 0 3rem;
  position: relative;
  isolation: isolate;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.site-shell::before {
  top: 7rem;
  right: -2rem;
  width: 15rem;
  height: 15rem;
  border: 1px solid rgba(126, 100, 153, 0.18);
  border-radius: 2.4rem;
  box-shadow:
    0 0 0 24px rgba(126, 100, 153, 0.06),
    0 0 0 48px rgba(128, 210, 255, 0.03);
  transform: rotate(12deg);
}

.site-shell::after {
  left: 0;
  top: 38rem;
  width: 8rem;
  height: 12rem;
  opacity: 0.4;
  background-image:
    linear-gradient(135deg, rgba(126, 100, 153, 0.34) 0 2px, transparent 2px 18px),
    linear-gradient(45deg, rgba(0, 133, 205, 0.16) 0 2px, transparent 2px 18px);
  background-size: 18px 18px;
  border-radius: 1.8rem;
  transform: rotate(-6deg);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.2rem;
  position: sticky;
  top: 0.85rem;
  z-index: 50;
  border: 1px solid rgba(126, 100, 153, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(246, 240, 252, 0.7));
  backdrop-filter: blur(18px) saturate(155%);
  box-shadow: 0 16px 38px rgba(98, 72, 125, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.brand-mark {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--brand-secondary), var(--poster-accent), var(--brand-primary));
  box-shadow: 0 0 0 8px rgba(126, 100, 153, 0.14);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.brand-text {
  color: var(--poster-accent-strong);
  font-family: var(--font-display), serif;
  font-size: 1.45rem;
  line-height: 1;
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.topnav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  color: var(--poster-accent-strong);
  font-weight: 600;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(245, 239, 251, 0.72));
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.55rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-secondary), var(--poster-accent), var(--brand-primary));
  transform: scaleX(0.25);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.topnav a:hover,
.topnav a:focus-visible,
.topnav a.is-active {
  color: var(--brand-darkest);
  border-color: rgba(126, 100, 153, 0.22);
  box-shadow: 0 10px 22px rgba(98, 72, 125, 0.12);
}

.topnav a:hover::after,
.topnav a:focus-visible::after,
.topnav a.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

.topnav a.is-active {
  background: linear-gradient(180deg, rgba(250, 247, 253, 0.98), rgba(126, 100, 153, 0.16));
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(248, 173, 48, 0.45);
  outline-offset: 3px;
}

main {
  position: relative;
}

main::before {
  content: "";
  position: absolute;
  right: 2%;
  top: 20rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgba(126, 100, 153, 0.16);
  border-radius: 1.9rem;
  transform: rotate(24deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(126, 100, 153, 0.08));
  pointer-events: none;
}

section[id] {
  scroll-margin-top: var(--header-offset);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  gap: 2.5rem;
  align-items: center;
  padding: 3.25rem 0 3.5rem;
  position: relative;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  left: -2rem;
  top: 2rem;
  width: 7rem;
  height: 7rem;
  border: 1px solid rgba(126, 100, 153, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(126, 100, 153, 0.08));
  border-radius: 1.5rem;
  transform: rotate(28deg);
}

.hero::after {
  right: 18rem;
  top: 0;
  width: 18rem;
  height: 18rem;
  clip-path: polygon(50% 0, 100% 26%, 84% 100%, 14% 86%, 0 28%);
  background: linear-gradient(145deg, rgba(126, 100, 153, 0.2), rgba(126, 100, 153, 0.02) 72%);
  transform: rotate(10deg);
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--poster-accent-strong);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--font-display), serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
  padding-bottom: 0.08em;
  color: var(--brand-darkest);
  background: linear-gradient(135deg, var(--poster-accent-strong) 0%, var(--brand-darkest) 48%, var(--brand-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  max-width: 12ch;
  text-wrap: balance;
}

.lead,
.section-heading p,
.content-card p,
.info-card p,
.site-footer p,
.embed-placeholder p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.lead {
  max-width: 62ch;
  margin: 1.4rem 0 0;
  font-size: 1.1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.meta-card,
.info-card,
.content-card,
.registration-embed {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.meta-card {
  min-width: 180px;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
}

.meta-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--poster-accent-strong);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.button:hover,
.button:focus-visible,
.topnav a:hover,
.topnav a:focus-visible,
.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 133, 205, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 22px 48px rgba(0, 133, 205, 0.34);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-darker);
  border: 1px solid rgba(0, 83, 128, 0.16);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(229, 246, 255, 0.95);
  border-color: rgba(0, 133, 205, 0.22);
}

.hero-poster {
  margin: 0;
  position: relative;
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: auto 12% -1.2rem 12%;
  height: 2rem;
  border-radius: 999px;
  background: rgba(0, 83, 128, 0.18);
  filter: blur(24px);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: -1rem -1rem auto auto;
  width: 7rem;
  height: 7rem;
  clip-path: polygon(0 18%, 82% 0, 100% 82%, 18% 100%);
  background: linear-gradient(145deg, rgba(126, 100, 153, 0.26), rgba(248, 173, 48, 0.04));
  transform: rotate(10deg);
  z-index: -1;
}

.hero-poster img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 83, 128, 0.14);
  box-shadow: 0 30px 70px rgba(0, 50, 77, 0.28);
}

.content-section {
  padding: 2rem 0;
  position: relative;
}

.section-highlight {
  padding-top: 1rem;
}

.section-highlight::after,
.registration-section::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.section-highlight::after {
  right: -1rem;
  bottom: 1rem;
  width: 12rem;
  height: 12rem;
  border: 1px dashed rgba(126, 100, 153, 0.22);
  border-radius: 2rem;
  transform: rotate(8deg);
}

.registration-section::before {
  left: -2rem;
  top: 1rem;
  width: 18rem;
  height: 10rem;
  background: linear-gradient(90deg, rgba(126, 100, 153, 0.14), rgba(248, 173, 48, 0.08), rgba(26, 174, 255, 0.08));
  clip-path: polygon(0 32%, 18% 0, 100% 0, 82% 100%, 0 100%);
  filter: blur(24px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-wrap: balance;
}

.section-heading p {
  margin: 0.9rem 0 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 1.35rem;
}

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

.promo-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(96px, 116px) minmax(0, 1fr);
  gap: 1.35rem;
  align-items: center;
  padding: 1.55rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(126, 100, 153, 0.16);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(243, 236, 250, 0.76)),
    linear-gradient(180deg, rgba(229, 246, 255, 0.3), rgba(255, 255, 255, 0.16));
  box-shadow: 0 24px 56px rgba(98, 72, 125, 0.11);
  overflow: clip;
  isolation: isolate;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.promo-card::before,
.promo-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.promo-card::before {
  width: 11rem;
  height: 11rem;
  left: -3.2rem;
  bottom: -4.2rem;
  background: radial-gradient(circle, rgba(126, 100, 153, 0.12) 0, rgba(126, 100, 153, 0) 72%);
}

.promo-card::after {
  width: 8rem;
  height: 8rem;
  top: -2.2rem;
  right: -2rem;
  background: radial-gradient(circle, rgba(26, 174, 255, 0.14) 0, rgba(26, 174, 255, 0) 74%);
}

.promo-card:hover,
.promo-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(126, 100, 153, 0.24);
  box-shadow: 0 28px 64px rgba(98, 72, 125, 0.16);
}

.promo-card-graphic,
.promo-card-body {
  position: relative;
  z-index: 1;
}

.promo-card-graphic {
  display: grid;
  place-items: center;
  width: min(100%, 110px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(126, 100, 153, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 18px 30px rgba(98, 72, 125, 0.08);
}

.promo-card--youtube .promo-card-graphic {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), transparent 55%),
    linear-gradient(145deg, rgba(126, 100, 153, 0.18), rgba(255, 255, 255, 0.92));
}

.promo-card--series .promo-card-graphic {
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.85), transparent 55%),
    linear-gradient(145deg, rgba(0, 133, 205, 0.18), rgba(255, 255, 255, 0.94));
}

.promo-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--poster-accent-strong);
  font-size: 1.35rem;
  box-shadow: 0 10px 22px rgba(98, 72, 125, 0.12);
}

.promo-card-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(126, 100, 153, 0.1);
  color: var(--poster-accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-card h3 {
  margin: 0.85rem 0 0;
  font-family: var(--font-display), serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--brand-darkest);
  text-wrap: balance;
}

.promo-card p {
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  line-height: 1.72;
}

.promo-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  color: var(--brand-darkest);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.promo-card-cta::after {
  content: "↗";
  color: var(--poster-accent-strong);
  font-size: 1rem;
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.speaker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 100%;
  padding: 3.9rem 1rem 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(126, 100, 153, 0.16);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(243, 236, 250, 0.78));
  box-shadow: 0 24px 56px rgba(98, 72, 125, 0.1);
  overflow: clip;
}

.speaker-photo {
  position: relative;
  width: min(100%, 170px);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, rgba(126, 100, 153, 0.92), rgba(98, 72, 125, 0.96));
  border-radius: calc(var(--radius-md) - 2px);
  border: none;
  isolation: isolate;
  box-shadow: 0 18px 36px rgba(98, 72, 125, 0.1);
  overflow: hidden;
}

.speaker-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius-md) - 2px);
  box-shadow: inset 0 0 0 3px #d7c8e4;
  pointer-events: none;
  z-index: 1;
}

.speaker-photo img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: 0.2rem;
}

.speaker-photo::after {
  content: none;
}

.speaker-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
  align-items: center;
  padding: 1rem 0 1.25rem;
  text-align: center;
}

.speaker-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8.75rem;
  min-height: 2.2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 239, 251, 0.82));
  border: 1px solid rgba(126, 100, 153, 0.16);
  box-shadow: 0 10px 22px rgba(98, 72, 125, 0.08);
  color: var(--poster-accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.speaker-card h3 {
  margin: 0;
  font-family: var(--font-display), serif;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--brand-darkest);
}

.speaker-church {
  display: grid;
  align-content: start;
  width: 100%;
  margin: 0;
  margin-top: auto;
  height: 84px;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(126, 100, 153, 0.12);
  text-align: center;
}

.speaker-church-label {
  color: var(--poster-accent-strong);
  display: block;
  margin-bottom: 0.35rem;
  opacity: 0.88;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.speaker-church-value {
  color: var(--brand-darkest);
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.speaker-description {
  margin: 0;
  max-width: 28ch;
  color: var(--text-muted);
  line-height: 1.68;
  font-size: 0.97rem;
}

.speakers-note {
  margin: 1rem 0 0;
  color: var(--poster-accent-strong);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.worship-section .section-heading {
  max-width: 720px;
}

.worship-feature {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(126, 100, 153, 0.16);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(243, 236, 250, 0.8));
  box-shadow: 0 24px 56px rgba(98, 72, 125, 0.1);
}

.worship-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 4px);
  border: 1px solid rgba(126, 100, 153, 0.14);
  box-shadow: 0 24px 48px rgba(98, 72, 125, 0.12);
  aspect-ratio: 4 / 4.7;
  background: linear-gradient(180deg, rgba(229, 246, 255, 0.7), rgba(255, 255, 255, 0.3));
}

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

.worship-content {
  display: grid;
  gap: 0.9rem;
  align-content: center;
}

.worship-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 2.1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(126, 100, 153, 0.1);
  color: var(--poster-accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.worship-content h3 {
  margin: 0;
  font-family: var(--font-display), serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--brand-darkest);
  text-wrap: balance;
}

.worship-content p {
  margin: 0;
  max-width: 56ch;
  color: var(--text-muted);
  line-height: 1.78;
  font-size: 1.04rem;
}

.content-card,
.info-card {
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.content-card,
.info-card,
.registration-embed,
.meta-card {
  position: relative;
  overflow: clip;
}

.content-card::before,
.info-card::before,
.registration-embed::before,
.meta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent 60%);
  pointer-events: none;
}

.content-card p:first-child,
.info-card h3 {
  margin-top: 0;
}

.content-card p:last-child,
.info-card p:last-child,
.quote-card-text {
  margin-bottom: 0;
}

.quote-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(243, 236, 250, 0.92));
  border: 1px solid rgba(126, 100, 153, 0.16);
  color: var(--brand-darkest);
  display: flex;
  align-items: flex-start;
  padding: 1.85rem;
  border-radius: var(--radius-md);
}

.quote-card::after {
  content: none;
}

.quote-card::before {
  content: "”";
  position: absolute;
  top: 0.8rem;
  left: 1.15rem;
  font-family: var(--font-display), serif;
  font-size: 5.4rem;
  line-height: 0.8;
  color: rgba(126, 100, 153, 0.15);
  pointer-events: none;
}

.quote-card-text {
  position: relative;
  z-index: 1;
  color: inherit;
  font-family: var(--font-body), sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.72;
  font-weight: 700;
  letter-spacing: 0.01em;
  max-width: 28ch;
}

.quote-card p.quote-card-text {
  margin-top: 1rem;
}

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

.organizers-section::after {
  content: "";
  position: absolute;
  right: 0;
  top: 1.5rem;
  width: 13rem;
  height: 13rem;
  border: 1px solid rgba(126, 100, 153, 0.16);
  border-radius: 2.1rem;
  transform: rotate(6deg);
  pointer-events: none;
  z-index: -1;
}

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

.organizer-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(126, 100, 153, 0.16);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(243, 236, 250, 0.84));
  box-shadow: 0 24px 48px rgba(98, 72, 125, 0.1);
  overflow: clip;
}

.organizer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 62%);
  pointer-events: none;
}

.organizer-card::after {
  content: none;
}

.organizer-logo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 132px;
  margin-bottom: 1.15rem;
  padding: 1rem;
  border: 1px dashed rgba(126, 100, 153, 0.26);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(229, 246, 255, 0.72));
  border-radius: calc(var(--radius-md) - 2px);
}

.organizer-logo--text {
  padding: 1.25rem;
}

.organizer-logo::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border: 1px solid rgba(126, 100, 153, 0.12);
  border-radius: calc(var(--radius-sm) - 2px);
}

.organizer-logo img {
  width: 100%;
  max-width: 210px;
  max-height: 84px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.organizer-logo-image--square {
  max-width: 92px;
  max-height: 92px;
}

.organizer-logo-image--folkunga {
  max-width: 230px;
}

.organizer-logo-text {
  position: relative;
  z-index: 1;
  color: var(--poster-accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.organizer-wordmark {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
  justify-items: center;
  text-align: center;
  max-width: 16rem;
}

.organizer-wordmark-title {
  color: var(--brand-darkest);
  font-family: var(--font-display), serif;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.organizer-wordmark-flags {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(126, 100, 153, 0.09));
  border: 1px solid rgba(126, 100, 153, 0.16);
  box-shadow: 0 10px 20px rgba(98, 72, 125, 0.08);
  font-size: 1.15rem;
  line-height: 1;
}

.organizer-wordmark-heart {
  display: inline-flex;
  transform: translateY(-0.02em);
}

.organizer-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.25;
  color: var(--brand-darkest);
}

.organizer-card p {
  position: relative;
  z-index: 1;
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.organizer-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.65rem;
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 239, 251, 0.78));
  border: 1px solid rgba(126, 100, 153, 0.16);
  color: var(--poster-accent-strong);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 24px rgba(98, 72, 125, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.organizer-link::after {
  content: "↗";
  color: var(--poster-accent-strong);
  font-size: 0.95rem;
}

.organizer-link:hover,
.organizer-link:focus-visible {
  transform: translateY(-1px);
  color: var(--brand-darkest);
  border-color: rgba(126, 100, 153, 0.22);
  box-shadow: 0 16px 28px rgba(98, 72, 125, 0.14);
}

.info-card h3 {
  margin-bottom: 0.55rem;
  color: var(--brand-darker);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.registration-section {
  padding-bottom: 1rem;
}

.registration-section .section-heading {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.registration-section .section-heading p {
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

.registration-shell {
  width: min(100%, 760px);
  margin: 0 auto;
}

.registration-embed {
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2vw, 1.4rem);
  min-height: 0;
}

.embed-placeholder {
  display: block;
  min-height: 0;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid rgba(126, 100, 153, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 250, 255, 0.88));
  padding: clamp(1rem, 2vw, 1.35rem);
}

.beacon-form {
  width: 100%;
  margin: 0 auto;
}

.beacon-form:empty {
  min-height: 260px;
}

.beacon-form:empty::before {
  content: "Laddar anmälningsformuläret …";
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 1rem;
  color: var(--poster-accent-strong);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.embed-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(126, 100, 153, 0.12);
  color: var(--poster-accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.embed-placeholder h3 {
  margin: 1rem 0 0.5rem;
  color: var(--brand-darkest);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 2rem;
  align-items: start;
  padding: 2.25rem;
  margin-top: 1.25rem;
  border: 1px solid rgba(126, 100, 153, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(244, 238, 250, 0.82)),
    linear-gradient(180deg, rgba(229, 246, 255, 0.35), rgba(255, 255, 255, 0.2));
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 56px rgba(98, 72, 125, 0.12);
  overflow: clip;
  isolation: isolate;
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.site-footer::before {
  width: 16rem;
  height: 16rem;
  top: -6rem;
  right: -4rem;
  border-radius: 2.5rem;
  background: linear-gradient(145deg, rgba(126, 100, 153, 0.16), rgba(126, 100, 153, 0.02) 72%);
  transform: rotate(14deg);
}

.site-footer::after {
  left: 1.5rem;
  bottom: 1.25rem;
  width: 8rem;
  height: 8rem;
  opacity: 0.36;
  background-image:
    linear-gradient(135deg, rgba(126, 100, 153, 0.34) 0 2px, transparent 2px 16px),
    linear-gradient(45deg, rgba(0, 133, 205, 0.14) 0 2px, transparent 2px 16px);
  background-size: 16px 16px;
  border-radius: 1.5rem;
  transform: rotate(-5deg);
}

body::before,
body::after,
.site-shell::before,
.site-shell::after,
main::before,
.hero::before,
.hero::after,
.hero-poster::after,
.section-highlight::after,
.registration-section::before,
.organizers-section::after,
.site-footer::before,
.site-footer::after {
  content: none;
  display: none;
}

.footer-copy,
.footer-actions {
  position: relative;
  z-index: 1;
}

.footer-title {
  margin: 0;
  font-family: var(--font-display), serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  padding-bottom: 0.08em;
  text-wrap: balance;
  background: linear-gradient(135deg, var(--poster-accent-strong) 0%, var(--brand-darkest) 58%, var(--brand-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-text {
  margin: 1rem 0 0;
  max-width: 56ch;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.footer-actions {
  display: grid;
  gap: 1rem;
  align-self: center;
}

.footer-links,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-link,
.footer-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer-link {
  position: relative;
  color: var(--poster-accent-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 239, 251, 0.7));
  border: 1px solid rgba(126, 100, 153, 0.14);
  box-shadow: 0 12px 24px rgba(98, 72, 125, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.55rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-secondary), var(--poster-accent), var(--brand-primary));
  transform: scaleX(0.35);
  opacity: 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  transform: translateY(-1px);
  color: var(--brand-darkest);
  border-color: rgba(126, 100, 153, 0.22);
  box-shadow: 0 16px 28px rgba(98, 72, 125, 0.14);
}

.footer-link:hover::after,
.footer-link:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.footer-chip {
  color: var(--brand-darkest);
  background: linear-gradient(180deg, rgba(229, 246, 255, 0.78), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(0, 133, 205, 0.12);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

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

@media (max-width: 960px) {
  :root {
    --header-offset: 10rem;
  }

  .hero,
  .content-grid,
  .promo-grid,
  .info-grid,
  .organizers-grid,
  .worship-feature {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 2rem;
  }

  .hero-copy {
    order: 1;
  }

  .hero-poster {
    order: 0;
    max-width: 540px;
    justify-self: center;
  }

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

  .worship-photo {
    max-width: 520px;
    width: 100%;
    justify-self: center;
  }
}

@media (max-width: 720px) {
  :root {
    --header-offset: 11.5rem;
  }

  .site-shell {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 28px;
  }

  .topnav {
    gap: 0.6rem;
    width: 100%;
  }

  .topnav a {
    flex: 1 1 calc(50% - 0.6rem);
  }

  .hero h1 {
    max-width: none;
  }

  .meta-card,
  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .registration-embed {
    padding: 1rem;
  }

  .promo-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .promo-card-graphic {
    justify-self: center;
  }

  .worship-feature {
    padding: 1rem;
  }

  .worship-content {
    text-align: center;
    justify-items: center;
  }

  .worship-tag {
    justify-self: center;
  }

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

  .site-footer {
    padding: 1.5rem;
  }

  .organizer-wordmark-title {
    font-size: 1.85rem;
  }

  .footer-link,
  .footer-chip {
    width: 100%;
  }
}

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

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

body.admin-bar .topbar {
  top: calc(0.85rem + 32px);
}

@media (max-width: 782px) {
  body.admin-bar .topbar {
    top: calc(0.85rem + 46px);
  }
}

