:root {
  --ink: #143c68;
  --ink-2: #092944;
  --blue: #1a8bdb;
  --blue-dark: #0969b4;
  --aqua: #91dce7;
  --yellow: #ffd451;
  --pink: #ff8cb7;
  --green: #8fd35e;
  --paper: #f7fbff;
  --white: #ffffff;
  --muted: #5d7186;
  --line: #d8e7f4;
  --shadow: 0 22px 70px rgba(20, 60, 104, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-2);
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 212, 81, 0.36), transparent 24rem),
    radial-gradient(circle at 92% 16%, rgba(145, 220, 231, 0.48), transparent 28rem),
    linear-gradient(180deg, #f5fbff 0%, #ffffff 48%, #eef9ff 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(20, 60, 104, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 45px rgba(20, 60, 104, 0.12);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.logo-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
}

.desktop-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.desktop-nav a:hover,
.footer a:hover,
.footer button:hover {
  color: var(--blue-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.primary-button,
.secondary-button,
.link-button {
  border: 0;
  font-weight: 900;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 26px rgba(26, 139, 219, 0.24);
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.primary-button.small {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 14px;
}

.small-link {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 14px;
}

.primary-button.full {
  width: 100%;
}

.link-button {
  background: transparent;
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: 38px;
  width: min(1160px, calc(100% - 32px));
  min-height: 650px;
  margin: 42px auto 22px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.number,
.admin-header p,
.section-head p {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
}

.hero-copy p:not(.eyebrow) {
  max-width: 580px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 700;
}

.hero-art {
  position: relative;
  min-height: 560px;
}

.bubble {
  position: absolute;
  border-radius: 42% 58% 55% 45%;
  box-shadow: var(--shadow);
}

.bubble-a {
  inset: 30px 58px 120px 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(145, 220, 231, 0.78)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Crect width='600' height='600' fill='%23e8f8ff'/%3E%3Ccircle cx='190' cy='180' r='86' fill='%23ffd451'/%3E%3Ccircle cx='390' cy='210' r='118' fill='%23ffffff'/%3E%3Cpath d='M120 430c82-92 246-106 354 0v170H120z' fill='%231a8bdb'/%3E%3Ccircle cx='292' cy='286' r='64' fill='%23ff8cb7'/%3E%3C/svg%3E");
  background-size: cover;
}

.hero-media {
  position: absolute;
  inset: 30px 58px 120px 0;
  width: calc(100% - 58px);
  height: calc(100% - 150px);
  object-fit: cover;
  border-radius: 42% 58% 55% 45%;
  box-shadow: var(--shadow);
}

.bubble-b {
  right: 0;
  bottom: 34px;
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--yellow), var(--pink));
}

.hero-card {
  position: absolute;
  right: 26px;
  bottom: 74px;
  display: grid;
  gap: 8px;
  width: min(310px, 80%);
  padding: 26px;
  border: 1px solid rgba(20, 60, 104, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.spark,
.sparkle {
  color: var(--yellow);
  font-size: 34px;
}

.hero-card strong {
  color: var(--ink);
  font-size: 27px;
}

.hero-card small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.intro-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto 30px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(20, 60, 104, 0.1);
}

.intro-band div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.intro-band h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 4vw, 42px);
}

.icon-dot {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
}

.info-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: min(900px, calc(100% - 32px));
  margin: 0 auto 44px;
}

.info-tabs a {
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}

.visual-slider {
  width: min(1080px, calc(100% - 32px));
  margin: 64px auto;
}

.slider-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.slider-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 56px);
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-dots button {
  border: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(20, 60, 104, 0.1);
}

.nav-3d,
.button-3d {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  transform: translateY(0);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-3d {
  min-width: 126px;
  padding: 0 18px;
  background: linear-gradient(180deg, #39a9f3, #0868b4);
  box-shadow: 0 8px 0 #064a7d, 0 18px 34px rgba(8, 104, 180, 0.28);
}

.nav-3d span {
  font-size: 26px;
  line-height: 1;
}

.nav-3d.prev {
  background: linear-gradient(180deg, #ffd95f, #e39b08);
  box-shadow: 0 8px 0 #9d6800, 0 18px 34px rgba(227, 155, 8, 0.28);
  color: #432d00;
}

.nav-3d:active,
.button-3d:active {
  transform: translateY(6px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.28), 0 8px 18px rgba(20, 60, 104, 0.18);
}

.button-3d {
  width: fit-content;
  min-width: 170px;
  padding: 0 26px;
  perspective: 800px;
}

.style-blue {
  background: linear-gradient(180deg, #43b2ff, #0969b4);
  box-shadow: 0 9px 0 #074c84, 0 18px 34px rgba(9, 105, 180, 0.26);
}

.style-yellow {
  background: linear-gradient(180deg, #ffe87c, #f4aa13);
  box-shadow: 0 9px 0 #a87000, 0 18px 34px rgba(244, 170, 19, 0.28);
  color: #432d00;
}

.style-pink {
  background: linear-gradient(180deg, #ff9fc6, #e83f87);
  box-shadow: 0 9px 0 #9d1b54, 0 18px 34px rgba(232, 63, 135, 0.25);
}

.style-glass {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(26, 139, 219, 0.34));
  color: var(--ink);
  box-shadow: 0 9px 0 rgba(20, 60, 104, 0.22), 0 18px 34px rgba(20, 60, 104, 0.18);
  backdrop-filter: blur(10px);
}

.slider-track {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  opacity: 0;
  pointer-events: none;
  transform: translateX(22px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.slide.transition-slide {
  transform: translateX(80px);
}

.slide.transition-zoom {
  transform: scale(0.94);
}

.slide.transition-wipe {
  clip-path: inset(0 100% 0 0);
  transform: none;
}

.slide.transition-wipe.is-active {
  clip-path: inset(0 0 0 0);
}

.slide-media {
  min-height: 520px;
  background: linear-gradient(135deg, #dff6ff, #fff4cf);
}

.slide-media img,
.slide-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 212, 81, 0.9), transparent 12rem),
    radial-gradient(circle at 70% 45%, rgba(255, 140, 183, 0.62), transparent 14rem),
    linear-gradient(135deg, #dff6ff, #ffffff);
}

.slide-placeholder span {
  display: grid;
  width: 120px;
  height: 120px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 48px;
  font-weight: 900;
}

.rev-scene {
  position: relative;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 212, 81, 0.72), transparent 13rem),
    radial-gradient(circle at 80% 28%, rgba(145, 220, 231, 0.86), transparent 15rem),
    linear-gradient(135deg, #ffffff, #e8f8ff);
}

.rev-layer {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 55px rgba(20, 60, 104, 0.18);
}

.rev-layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rev-layer figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.layer-1 {
  top: 8%;
  left: 8%;
  width: 54%;
  height: 58%;
}

.layer-2 {
  top: 17%;
  right: 7%;
  width: 33%;
  height: 35%;
}

.layer-3 {
  right: 13%;
  bottom: 9%;
  width: 42%;
  height: 36%;
}

.layer-4 {
  left: 14%;
  bottom: 8%;
  width: 28%;
  height: 30%;
}

.slide.is-active .anim-float {
  animation: layerFloat 5s ease-in-out infinite;
}

.slide.is-active .anim-fade-up {
  animation: layerFadeUp 760ms ease both;
}

.slide.is-active .anim-zoom-in {
  animation: layerZoomIn 760ms ease both;
}

.slide.is-active .anim-slide-left {
  animation: layerSlideLeft 760ms ease both;
}

@keyframes layerFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes layerFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes layerZoomIn {
  from {
    opacity: 0;
    transform: scale(0.82);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes layerSlideLeft {
  from {
    opacity: 0;
    transform: translateX(42px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 44px;
  background: var(--white);
}

.slide-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
}

.slide-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
  font-weight: 700;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.42;
}

.slider-dots button.is-active {
  opacity: 1;
  background: var(--blue);
}

.slider-progress {
  overflow: hidden;
  height: 5px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(26, 139, 219, 0.14);
}

.slider-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

@keyframes sliderProgress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.story-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 54px;
  align-items: center;
  width: min(1080px, calc(100% - 32px));
  margin: 68px auto;
}

.story-section.reverse {
  grid-template-columns: minmax(320px, 1.15fr) minmax(280px, 0.85fr);
}

.story-section.reverse .story-copy {
  order: 2;
}

.story-copy h2,
.community h2,
.admin-header h1,
.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
}

.story-copy > p:not(.number) {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
  font-weight: 700;
}

.photo-panel {
  position: relative;
  display: grid;
  min-height: 430px;
  align-content: end;
  gap: 12px;
  padding: 28px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.photo-panel img,
.photo-panel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-panel span {
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-weight: 900;
}

.panel-one {
  background:
    linear-gradient(140deg, rgba(26, 139, 219, 0.16), rgba(255, 212, 81, 0.18)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='520' viewBox='0 0 700 520'%3E%3Crect width='700' height='520' fill='%23dff6ff'/%3E%3Ccircle cx='180' cy='170' r='110' fill='%23ffffff'/%3E%3Ccircle cx='452' cy='150' r='95' fill='%23ffd451'/%3E%3Crect x='130' y='290' width='420' height='150' rx='28' fill='%231a8bdb'/%3E%3Ccircle cx='304' cy='250' r='68' fill='%23ff8cb7'/%3E%3C/svg%3E") center/cover;
}

.panel-two {
  background:
    linear-gradient(140deg, rgba(255, 140, 183, 0.14), rgba(145, 220, 231, 0.22)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='520' viewBox='0 0 700 520'%3E%3Crect width='700' height='520' fill='%23fff7e4'/%3E%3Crect x='100' y='90' width='500' height='320' rx='42' fill='%23ffffff'/%3E%3Ccircle cx='245' cy='230' r='76' fill='%2391dce7'/%3E%3Ccircle cx='455' cy='230' r='76' fill='%23ffd451'/%3E%3Cpath d='M170 382h360v56H170z' fill='%23143c68'/%3E%3C/svg%3E") center/cover;
}

.panel-three {
  background:
    linear-gradient(140deg, rgba(143, 211, 94, 0.18), rgba(26, 139, 219, 0.18)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='520' viewBox='0 0 700 520'%3E%3Crect width='700' height='520' fill='%23edf9ec'/%3E%3Ccircle cx='350' cy='205' r='142' fill='%23ffffff'/%3E%3Cpath d='M198 350c84-80 220-80 304 0v110H198z' fill='%238fd35e'/%3E%3Ccircle cx='250' cy='200' r='58' fill='%23ffd451'/%3E%3Ccircle cx='450' cy='200' r='58' fill='%23ff8cb7'/%3E%3C/svg%3E") center/cover;
}

.community {
  width: min(1060px, calc(100% - 32px));
  margin: 86px auto 70px;
  text-align: center;
}

.sparkle {
  margin: 0;
}

.brand-box {
  margin-top: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(20, 60, 104, 0.1);
}

.brand-box h3 {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 18px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.brand-grid span {
  display: grid;
  min-height: 76px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #eff9ff, #ffffff);
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.page-teasers,
.subpage-hero,
.page-media,
.page-content {
  width: min(1060px, calc(100% - 32px));
  margin-inline: auto;
}

.page-teasers {
  margin-block: 74px;
}

.page-teasers h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
}

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

.teaser-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(20, 60, 104, 0.08);
}

.teaser-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.teaser-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
}

.teaser-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 700;
}

.teaser-grid a {
  color: var(--blue-dark);
  font-weight: 900;
}

.subpage-hero {
  padding: 96px 0 34px;
}

.subpage-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1;
}

.subpage-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
  font-weight: 700;
}

.page-media {
  margin-block: 24px 34px;
}

.page-media img,
.page-media video,
.page-media iframe {
  width: 100%;
  aspect-ratio: 16 / 8;
  border: 0;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-content {
  margin-bottom: 78px;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.8;
  font-weight: 600;
}

.footer {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 34px 16px 42px;
  color: var(--muted);
  font-weight: 700;
}

.socials,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer button {
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 700;
}

.modal {
  width: min(460px, calc(100% - 28px));
  max-height: 88vh;
  padding: 30px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(9, 41, 68, 0.48);
  backdrop-filter: blur(4px);
}

.modal.wide {
  width: min(820px, calc(100% - 28px));
}

.text-modal {
  width: min(760px, calc(100% - 28px));
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #edf6fc;
  color: var(--ink);
  font-size: 22px;
}

.modal-form {
  display: grid;
  gap: 14px;
}

.modal-form h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 34px;
}

.modal-form h3 {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  color: var(--ink);
}

.user-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: #edf7ff;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  background: var(--white);
  color: var(--ink-2);
}

input[type="file"].drop-input {
  min-height: 76px;
  padding: 18px;
  border: 2px dashed #a7cbe8;
  background: #f4fbff;
  cursor: pointer;
}

label.is-dragging input[type="file"].drop-input,
input[type="file"].drop-input:hover {
  border-color: var(--blue);
  background: #eaf7ff;
}

label.has-file input[type="file"].drop-input {
  border-color: #23824d;
  background: #edf9f2;
}

.current-file {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  word-break: break-all;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

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

.span-2 {
  grid-column: 1 / -1;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  line-height: 1.4;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 1px;
}

.modal-form p,
.modal-form p button {
  color: var(--muted);
  font-weight: 800;
}

.modal-form p button {
  border: 0;
  background: transparent;
  color: var(--blue-dark);
}

.rich-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.toast {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 100;
  width: min(540px, calc(100% - 28px));
  transform: translateX(-50%);
  padding: 14px 18px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 900;
  box-shadow: var(--shadow);
}

.toast-success {
  background: #23824d;
}

.toast-error {
  background: #c93636;
}

.admin-login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.admin-login {
  display: grid;
  gap: 16px;
  width: min(430px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-login h1 {
  margin: 10px 0 0;
  color: var(--ink);
}

.admin-login p {
  color: var(--muted);
  line-height: 1.5;
}

.admin-page {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
  background: #f3f8fc;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  gap: 28px;
  min-height: 100vh;
  padding: 24px;
  background: var(--white);
  border-right: 1px solid var(--line);
}

.admin-sidebar nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.admin-sidebar nav a {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 900;
}

.admin-sidebar nav a:hover {
  background: #eef7ff;
  color: var(--ink);
}

.admin-main {
  display: grid;
  gap: 24px;
  width: min(1120px, 100%);
  padding: 28px;
}

.admin-header,
.section-head,
.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.admin-header h1,
.section-head h2 {
  font-size: 42px;
}

.admin-header span {
  color: var(--muted);
  font-weight: 900;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.stats-row article,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(20, 60, 104, 0.08);
}

.stats-row article {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.stats-row span {
  color: var(--muted);
  font-weight: 800;
}

.stats-row strong {
  color: var(--ink);
  font-size: 34px;
}

.admin-card {
  padding: 24px;
}

.settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

td {
  color: var(--muted);
  font-weight: 700;
}

td a {
  color: var(--blue-dark);
}

.password-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px;
  margin-top: 18px;
}

.password-form label {
  min-width: 260px;
}

.danger-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #c93636;
  color: var(--white);
  font-weight: 900;
}

.slider-admin-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.slider-admin-list article {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcff;
}

.slider-listbox {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.slider-list-row {
  display: grid;
  grid-template-columns: auto 74px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcff;
}

.slider-thumb {
  display: grid;
  width: 74px;
  height: 56px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8f8ff, #fff4cf);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.slider-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-list-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.slider-list-meta strong,
.slider-list-meta small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slider-list-meta strong {
  color: var(--ink);
  font-size: 17px;
}

.slider-list-meta small {
  color: var(--muted);
  font-weight: 800;
}

.slider-list-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.slider-list-actions form {
  margin: 0;
}

.slide-editor-panel {
  display: grid;
  gap: 20px;
  margin-top: 24px;
  padding: 20px;
  border: 2px solid #d9edf9;
  border-radius: 8px;
  background: #ffffff;
}

.sort-save-form {
  margin: 18px 0 0;
}

.drag-handle {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: #e6f4ff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  cursor: grab;
}

.is-dragging-item {
  opacity: 0.48;
  outline: 2px dashed var(--blue);
}

.slide-image-manager {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--white);
}

.slide-image-manager h3 {
  margin: 0;
  color: var(--ink);
}

.slide-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.slide-image-grid article {
  padding: 10px;
  background: #f8fcff;
}

.slide-image-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.slide-image-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.slide-image-grid small {
  color: var(--blue-dark);
  font-weight: 900;
}

.slide-image-grid button {
  border: 0;
  background: transparent;
  color: #c93636;
  font-weight: 900;
}

.compact-table {
  margin-top: 26px;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.row-actions form {
  margin: 0;
}

.row-actions a,
.row-actions button {
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  font-weight: 900;
}

.row-actions button {
  color: #b92f2f;
}

.seo-pill {
  display: inline-flex;
  min-width: 78px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
}

.score-good {
  background: #23824d;
}

.score-mid {
  background: #d99217;
}

.score-bad {
  background: #c93636;
}

.seo-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.seo-checklist span {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
}

.seo-checklist .ok {
  background: #e8f7ef;
  color: #167142;
}

.seo-checklist .warn {
  background: #fff2d9;
  color: #995f00;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.media-grid article {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcff;
}

.media-grid img,
.media-grid video {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 8px;
  background: #e6f0f8;
}

.media-grid strong {
  color: var(--ink);
}

.media-grid input {
  min-height: 38px;
  font-size: 13px;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}

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

  .hero,
  .story-section,
  .story-section.reverse {
    grid-template-columns: 1fr;
  }

  .story-section.reverse .story-copy {
    order: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 420px;
    order: -1;
  }

  .bubble-a {
    inset: 0 18px 50px 0;
  }

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

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

  .slider-track,
  .slide-media {
    min-height: 720px;
  }

  .slide-copy {
    min-height: 300px;
  }

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

  .admin-page {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .topbar {
    position: static;
    display: grid;
    border-radius: 8px;
  }

  .nav-actions,
  .intro-band,
  .admin-header,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .hero h1 {
    font-size: 44px;
  }

  .intro-band div {
    align-items: flex-start;
  }

  .grid-form,
  .settings-form,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }

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

  .modal {
    padding: 24px 18px;
  }

  .slider-list-row {
    grid-template-columns: auto 64px minmax(0, 1fr);
  }

  .slider-list-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}
