:root {
  --blue: #8aa5d0;
  --blue-deep: #1f5f96;
  --accent: #f0b200;
  --accent-text: #8b6800;
  --cream: #f4f1ea;
  --ink: #0b132b;
  --mango: #f0b200;
  --pistachio: #55a867;
  --strawberry: #f0b200;
  --glass: rgba(244, 241, 234, 0.42);
  --line: rgba(255, 255, 255, 0.34);
  --shadow: 0 24px 70px rgba(11, 19, 43, 0.18);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.8, 0.2, 1);
  --font-sans: "Avenir Next", "Nunito Sans", Inter, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    linear-gradient(rgba(244, 241, 234, 0.08), rgba(244, 241, 234, 0.08)),
    url("./assets/backdrop.png") center / cover fixed no-repeat;
  color: var(--ink);
  font-family: var(--font-sans);
  letter-spacing: 0;
}

h1,
h2,
h3,
strong {
  font-weight: 500;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(247, 245, 240, 0.34), rgba(247, 245, 240, 0.08)),
    url("./assets/backdrop.png") center / cover fixed no-repeat;
  backdrop-filter: blur(8px) saturate(1.04);
  opacity: 0;
  transform: scale(1.012);
  transition: opacity 460ms var(--ease-out), transform 620ms var(--ease-out), backdrop-filter 460ms var(--ease-out);
}

.is-ready:not(.is-leaving) body::before {
  opacity: 0;
  transform: scale(1.012);
}

.is-leaving body::before {
  opacity: 0.72;
  transform: scale(1);
  backdrop-filter: blur(12px) saturate(1.04);
}

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

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

[hidden] {
  display: none !important;
}

.page-shell {
  min-height: 100vh;
  padding: clamp(18px, 4vw, 60px);
}

.app-frame {
  position: relative;
  width: min(100%, 1360px);
  margin: 0 auto;
  overflow: hidden;
  border: 12px solid rgba(255, 255, 255, 0.62);
  border-radius: clamp(30px, 4vw, 58px);
  background: var(--cream);
  box-shadow: var(--shadow);
  transform-origin: 50% 44%;
  animation: none;
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 620ms var(--ease-out),
    transform 700ms var(--ease-out),
    filter 620ms var(--ease-out);
}

.is-ready .app-frame {
  opacity: 1;
  transform: none;
  filter: none;
}

.is-leaving .app-frame {
  opacity: 0;
  transform: translateY(-8px) scale(0.992);
  filter: blur(10px);
  transition:
    opacity 380ms var(--ease-soft),
    transform 440ms var(--ease-soft),
    filter 380ms var(--ease-soft);
}

.topbar {
  position: absolute;
  inset: 22px 22px auto;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  animation: none;
}

.brand-mark {
  display: inline-flex;
  width: clamp(150px, 14vw, 190px);
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: opacity 220ms var(--ease-soft), transform 220ms var(--ease-soft);
}

.brand-mark:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 42px;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.nav-pills,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-pills {
  justify-content: flex-end;
}

.menu-toggle {
  display: none;
}

.nav-pills a,
.ghost-action,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 22px;
  background: rgba(244, 241, 234, 0.22);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: transform 240ms var(--ease-soft), background 240ms var(--ease-soft), color 240ms var(--ease-soft), box-shadow 240ms var(--ease-soft);
}

.nav-pills a:hover,
.ghost-action:hover,
.primary-action:hover {
  transform: translateY(-2px);
  background: rgba(244, 241, 234, 0.86);
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(11, 19, 43, 0.14);
}

.subpage {
  border-color: rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(135deg, rgba(247, 245, 240, 0.26), rgba(255, 255, 255, 0.08)),
    rgba(134, 164, 197, 0.14);
  box-shadow: 0 24px 70px rgba(20, 34, 58, 0.16);
  backdrop-filter: blur(22px) saturate(1.08);
}

.subpage .topbar {
  position: relative;
  inset: auto;
  padding: 22px;
}

.subpage-main {
  padding: clamp(28px, 5vw, 72px);
}

.page-hero {
  display: grid;
  gap: 24px;
  margin-bottom: 34px;
  border-radius: 34px;
  padding: clamp(30px, 6vw, 72px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(145deg, rgba(247, 245, 240, 0.88), rgba(247, 245, 240, 0.66)),
    rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.1);
  backdrop-filter: blur(18px) saturate(1.04);
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.94;
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  color: rgba(11, 19, 43, 0.68);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.7;
}

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

.page-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(247, 245, 240, 0.86), rgba(247, 245, 240, 0.68)),
    rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.08);
  backdrop-filter: blur(16px) saturate(1.05);
  transition: transform 360ms var(--ease-soft), box-shadow 360ms var(--ease-soft);
}

.page-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 900ms var(--ease-out), filter 500ms var(--ease-soft);
}

.page-card div {
  padding: 24px;
}

.page-card h2,
.page-card h3 {
  margin: 10px 0 0;
  font-size: 1.75rem;
  line-height: 1.08;
}

.page-card p {
  color: rgba(11, 19, 43, 0.64);
  font-weight: 500;
  line-height: 1.6;
}

.page-card a,
.read-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 12px;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--ink);
  color: white;
  font-weight: 600;
  transition: transform 240ms var(--ease-soft), background 240ms var(--ease-soft);
}

.reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 320px;
  gap: 28px;
  align-items: start;
}

.article-body {
  border-radius: 30px;
  background: var(--cream);
  padding: clamp(24px, 4vw, 46px);
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.08);
}

.article-body p {
  margin: 0 0 22px;
  color: rgba(11, 19, 43, 0.76);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.85;
}

.side-panel {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.side-panel a,
.side-panel button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: white;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  transition: transform 240ms var(--ease-soft), background 240ms var(--ease-soft), color 240ms var(--ease-soft);
}

.share-panel {
  border: 0;
  border-radius: 0;
  padding: 8px 0;
  background: transparent;
  box-shadow: none;
}

.share-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.share-icon {
  width: 52px;
  height: 52px;
  min-height: 52px !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(11, 19, 43, 0.12);
  backdrop-filter: blur(14px);
}

.share-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.share-icon.whatsapp {
  color: #25d366;
}

.share-icon.linkedin {
  color: #0a66c2;
}

.share-icon.facebook {
  color: #1877f2;
}

.share-back {
  width: max-content;
  background: rgba(244, 241, 234, 0.72) !important;
  box-shadow: inset 0 0 0 1px rgba(11, 19, 43, 0.1);
}

.event-detail {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 24px;
}

.event-detail img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.12);
  transition: transform 900ms var(--ease-out), filter 500ms var(--ease-soft);
}

.event-info {
  border-radius: 34px;
  padding: clamp(28px, 5vw, 54px);
  background: var(--cream);
}

.event-info h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 0.96;
}

.event-info p {
  color: rgba(11, 19, 43, 0.68);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.7;
}

.meta-list {
  display: grid;
  gap: 10px;
  margin: 26px 0;
}

.meta-list span {
  border-radius: 18px;
  padding: 14px 16px;
  background: white;
  font-weight: 600;
}

.login-main {
  display: grid;
  min-height: min(760px, calc(100vh - 150px));
  align-items: center;
}

.login-card {
  width: min(100%, 860px);
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 36px;
  padding: clamp(28px, 5vw, 64px);
  background:
    linear-gradient(145deg, rgba(244, 241, 234, 0.92), rgba(255, 255, 255, 0.66)),
    rgba(255, 255, 255, 0.24);
  box-shadow: 0 22px 70px rgba(11, 19, 43, 0.12);
  backdrop-filter: blur(20px) saturate(1.04);
}

.login-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.login-heading h1 {
  margin: 8px 0 14px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.login-heading p:not(.eyebrow) {
  margin: 0;
  color: rgba(11, 19, 43, 0.64);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.65;
}

.login-card label {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  font-weight: 600;
}

.login-card input,
.login-choice input,
.newsletter-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 18px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 180ms var(--ease-soft), box-shadow 180ms var(--ease-soft), background 180ms var(--ease-soft);
}

.login-card input:focus,
.login-choice input:focus,
.newsletter-form input:focus {
  border-color: rgba(240, 178, 0, 0.86);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 4px rgba(240, 178, 0, 0.16);
}

.login-card .primary-action {
  width: 100%;
  margin-top: 22px;
}

.login-choice-grid {
  display: grid;
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
  gap: 18px;
  margin-top: 0;
}

.login-choice {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 30px;
  padding: clamp(22px, 3.2vw, 34px);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.login-choice label,
.form-field {
  display: grid;
  gap: 10px;
  min-width: 0;
  color: rgba(11, 19, 43, 0.78);
  font-size: 0.95rem;
  font-weight: 650;
}

.form-field span {
  display: block;
}

.login-choice h2,
.login-choice p {
  margin: 0;
}

.login-choice h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.login-choice p:not(.eyebrow) {
  color: rgba(11, 19, 43, 0.66);
  line-height: 1.55;
}

.phone-field {
  margin-top: 0 !important;
}

.phone-field input {
  background: rgba(255, 255, 255, 0.78);
}

.google-action {
  gap: 12px;
  min-height: 54px;
}

.google-action span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font-weight: 700;
}

.text-action {
  border: 0;
  padding: 8px 0 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.28em;
  cursor: pointer;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 46px);
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(11, 19, 43, 0.42);
  backdrop-filter: blur(14px) saturate(1.05);
  cursor: pointer;
}

.auth-modal-blocking .auth-modal-backdrop {
  background: rgba(11, 19, 43, 0.52);
  cursor: default;
}

.auth-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 660px);
  max-height: min(86vh, 820px);
  overflow: auto;
  min-height: 0;
  background:
    linear-gradient(145deg, rgba(244, 241, 234, 0.96), rgba(255, 255, 255, 0.82)),
    rgba(255, 255, 255, 0.62);
  box-shadow: 0 28px 90px rgba(11, 19, 43, 0.24);
  backdrop-filter: blur(20px) saturate(1.08);
}

.complete-profile-card {
  width: min(100%, 820px);
  gap: 20px;
  padding: clamp(26px, 4vw, 46px);
}

.complete-profile-card h2 {
  max-width: 10ch;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
}

.complete-profile-card p:not(.eyebrow) {
  max-width: 62ch;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.complete-profile-card .full-action {
  margin-top: 4px;
}

.modal-close-button {
  justify-self: end;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}

body[data-auth-overlay="signup"],
body[data-auth-overlay="complete"] {
  overflow: hidden;
}

.newsletter-main {
  min-height: min(720px, calc(100vh - 150px));
  display: grid;
  place-items: center;
}

.newsletter-card {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 38px;
  padding: clamp(28px, 5vw, 64px);
  background:
    radial-gradient(circle at 12% 16%, rgba(240, 178, 0, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(244, 241, 234, 0.94), rgba(255, 255, 255, 0.72));
  box-shadow: 0 24px 80px rgba(11, 19, 43, 0.14);
  backdrop-filter: blur(18px) saturate(1.05);
}

.newsletter-copy h1 {
  margin: 10px 0 20px;
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.98;
}

.newsletter-copy p:not(.eyebrow) {
  max-width: 56ch;
  margin: 0;
  color: rgba(11, 19, 43, 0.66);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.newsletter-form {
  display: grid;
  gap: 18px;
  border-radius: 30px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.newsletter-form .full-action {
  width: 100%;
  margin-top: 4px;
}

.session-panel {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  border-radius: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.66);
}

.session-panel h2 {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 760ms var(--ease-out),
    transform 760ms var(--ease-out),
    filter 760ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

@keyframes frameArrive {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.965);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floatDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes copyRise {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(8px);
  }

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

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(-0.8%, -0.6%, 0);
  }

  to {
    transform: scale(1.09) translate3d(0.8%, 0.6%, 0);
  }
}

@keyframes orbitTrace {
  from {
    transform: rotate(-12deg);
  }

  to {
    transform: rotate(348deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.primary-action {
  border-color: transparent;
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(240, 178, 0, 0.24);
}

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

.hero-panel {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 0 0 34px 34px;
  background: #14223a;
}

.hero-video,
.hero-veil,
.path-line {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 112%;
  object-fit: cover;
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.04);
  transform-origin: center;
  filter: saturate(0.92) contrast(0.96);
  will-change: transform;
}

@supports (-webkit-touch-callout: none) {
  .hero-video {
    height: 100%;
    transform: scale(1.04);
  }
}

.hero-veil {
  background: linear-gradient(90deg, rgba(11, 19, 43, 0.28) 0%, rgba(11, 19, 43, 0.14) 36%, rgba(11, 19, 43, 0) 72%);
}

.path-line {
  width: 390px;
  height: 390px;
  margin: 80px 0 0 165px;
  border: 2px dashed rgba(255, 255, 255, 0.36);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-12deg);
  animation: orbitTrace 12s linear infinite;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 830px;
  padding: 190px 72px 80px;
  color: white;
  animation: none;
}

.eyebrow,
.section-heading p,
.route-card span,
.event-card span,
.articles span {
  margin: 0;
  color: var(--strawberry);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero-copy h1 {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: clamp(3.1rem, 7vw, 6.9rem);
  font-weight: 400;
  line-height: 0.96;
}

.hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 600;
  transition: transform 240ms var(--ease-soft), box-shadow 240ms var(--ease-soft), background 240ms var(--ease-soft);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(11, 19, 43, 0.18);
}

.button.light {
  background: rgba(244, 241, 234, 0.94);
  color: var(--ink);
}

.button.light .button-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
}

.button-arrow svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button.glass {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(244, 241, 234, 0.16);
  color: white;
  backdrop-filter: blur(16px);
}

.floating-cards {
  position: absolute;
  right: 34px;
  bottom: 44px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 16px;
  width: min(54%, 660px);
}

.floating-cards article {
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 24px;
  padding: 18px;
  background: rgba(244, 241, 234, 0.18);
  color: white;
  backdrop-filter: blur(18px);
  transform-origin: 50% 100%;
  transition: transform 320ms var(--ease-soft), background 320ms var(--ease-soft), border-color 320ms var(--ease-soft);
}

.floating-cards article:hover {
  transform: translateY(-9px) rotate(1deg);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(244, 241, 234, 0.27);
}

.floating-cards span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 500;
}

.floating-cards strong {
  display: block;
  margin-top: 8px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.floating-cards img {
  width: 100%;
  height: 84px;
  margin-top: 18px;
  border-radius: 16px;
  object-fit: cover;
}

.content-board,
.agenda-section,
.author-band,
.article-row {
  padding: clamp(38px, 6vw, 82px);
}

.content-board {
  position: relative;
  background:
    radial-gradient(circle at 20% 35%, rgba(138, 165, 208, 0.18), transparent 28%),
    var(--cream);
}

.content-board::before,
.content-board::after {
  content: "";
  position: absolute;
  border: 2px dashed rgba(11, 19, 43, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.content-board::before {
  left: -80px;
  top: 190px;
  width: 250px;
  height: 170px;
}

.content-board::after {
  right: 110px;
  top: 78px;
  width: 220px;
  height: 160px;
  transform: rotate(18deg);
}

.section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 1;
}

.route-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 210px;
  gap: 22px;
}

.route-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 28px;
  padding: 26px;
  background: white;
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.08);
  transition: transform 360ms var(--ease-soft), box-shadow 360ms var(--ease-soft), filter 360ms var(--ease-soft);
}

.route-card:hover,
.page-card:hover,
.event-card:hover,
.articles article:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(11, 19, 43, 0.14);
}

.route-card.tall {
  grid-row: span 2;
  color: white;
}

.route-card.tall::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(11, 19, 43, 0.72));
}

.route-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out), filter 500ms var(--ease-soft);
}

.route-card:hover img,
.page-card:hover img,
.event-card:hover img,
.event-detail:hover img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.route-card span,
.route-card h3 {
  position: relative;
  z-index: 1;
}

.route-card.tall span {
  color: rgba(255, 255, 255, 0.74);
}

.route-card h3 {
  max-width: 420px;
  margin: 12px 0 0;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.04;
}

.route-card.compact {
  cursor: pointer;
  text-align: left;
}

.yellow {
  background: var(--mango);
}

.green {
  background: var(--pistachio);
  color: white;
}

.green span,
.red span {
  color: rgba(255, 255, 255, 0.72);
}

.red {
  border: 0;
  background: var(--strawberry);
  color: white;
}

.agenda-section {
  background: #fffdf8;
}

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

.event-card {
  display: grid;
  grid-template-rows: 230px 1fr auto;
  overflow: hidden;
  border-radius: 28px;
  background: var(--cream);
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.08);
  transition: transform 360ms var(--ease-soft), box-shadow 360ms var(--ease-soft);
}

.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out), filter 500ms var(--ease-soft);
}

.event-card div {
  padding: 22px;
}

.event-card h3,
.articles h3 {
  margin: 10px 0 0;
  font-size: 1.55rem;
  line-height: 1.1;
}

.event-card p {
  color: rgba(11, 19, 43, 0.66);
  font-weight: 500;
  line-height: 1.55;
}

.event-card a,
.event-card button {
  min-height: 50px;
  margin: 0 22px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform 240ms var(--ease-soft), background 240ms var(--ease-soft), color 240ms var(--ease-soft);
}

.event-card a:hover,
.event-card button:hover,
.page-card a:hover,
.read-actions a:hover,
.side-panel a:hover,
.side-panel button:hover {
  transform: translateY(-2px);
  background: var(--strawberry);
  color: var(--ink);
}

.share-panel .share-icon:hover {
  background: white !important;
  transform: translateY(-3px) scale(1.03);
}

.share-panel .share-icon.whatsapp:hover {
  color: #25d366;
}

.share-panel .share-icon.linkedin:hover {
  color: #0a66c2;
}

.share-panel .share-icon.facebook:hover {
  color: #1877f2;
}

.share-panel .share-back:hover {
  background: var(--accent) !important;
  color: var(--ink);
}

.event-card a {
  display: grid;
  place-items: center;
}

.event-card.soft {
  grid-template-rows: 1fr auto;
  background: var(--accent);
}

.author-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(90deg, rgba(247, 245, 240, 0.82), rgba(247, 245, 240, 0.56)),
    url("./assets/backdrop.png") center / cover fixed no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(14px) saturate(1.05);
}

.author-band-copy {
  min-width: 0;
}

.author-band h2 {
  margin: 10px 0;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.95;
}

.author-band p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(20, 34, 58, 0.76);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.7;
}

.author-band .author-actions {
  margin-top: 28px;
}

.author-band .author-linkedin {
  background: var(--ink);
  color: white;
  box-shadow: none;
}

.author-band-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(280px, 1fr);
  gap: 20px;
  align-items: center;
}

.author-mini-portrait {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  border: 8px solid rgba(247, 245, 240, 0.72);
  border-radius: 36px;
  background: var(--cream);
  box-shadow: 0 28px 70px rgba(20, 34, 58, 0.18);
}

.author-mini-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(20, 34, 58, 0.76));
  pointer-events: none;
}

.author-mini-portrait img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.04);
}

.author-mini-portrait figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  color: white;
}

.author-mini-portrait figcaption span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.author-mini-portrait figcaption strong {
  display: block;
  max-width: 230px;
  margin-top: 8px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.08;
}

.author-points {
  display: grid;
  gap: 14px;
}

.author-points span {
  display: flex;
  min-height: 76px;
  align-items: center;
  border-radius: 999px;
  padding: 18px 26px;
  background: rgba(247, 245, 240, 0.94);
  font-weight: 600;
  box-shadow: 0 16px 38px rgba(20, 34, 58, 0.08);
  transition: transform 260ms var(--ease-soft), background 260ms var(--ease-soft);
}

.author-points span:hover {
  transform: translateX(8px);
  background: white;
}

.article-row {
  background: var(--cream);
}

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

.articles article {
  border-radius: 26px;
  padding: 24px;
  background: white;
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.07);
  transition: transform 360ms var(--ease-soft), box-shadow 360ms var(--ease-soft);
}

.articles a {
  display: inline-flex;
  margin-top: 24px;
  color: var(--accent-text);
  font-weight: 600;
}

.newsletter-modal {
  width: min(92vw, 480px);
  border: 0;
  border-radius: 30px;
  padding: 0;
  background: transparent;
}

.newsletter-modal::backdrop {
  background: rgba(11, 19, 43, 0.5);
  backdrop-filter: blur(6px);
}

.newsletter-modal form {
  position: relative;
  display: grid;
  gap: 16px;
  border-radius: 30px;
  padding: 30px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.newsletter-modal h2 {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1;
}

.newsletter-modal p:not(.eyebrow) {
  margin: 0;
  color: rgba(11, 19, 43, 0.66);
  font-weight: 500;
  line-height: 1.5;
}

.newsletter-modal label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.newsletter-modal input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 18px;
  padding: 0 16px;
  background: white;
  color: var(--ink);
}

.close-modal {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Compact visual scale */
:root {
  --blue: #86a4c5;
  --blue-deep: #1b5f91;
  --accent: #f0b200;
  --accent-text: #8b6800;
  --cream: #f7f5f0;
  --ink: #14223a;
  --mango: #f0b200;
  --pistachio: #edf3f5;
  --strawberry: #f0b200;
  --shadow: 0 18px 54px rgba(11, 19, 43, 0.14);
}

body {
  font-size: 15px;
}

.page-shell {
  min-height: 100svh;
  padding: clamp(10px, 1.5svh, 18px) 0;
}

.app-frame {
  width: 97vw;
  max-width: none;
  border-width: 10px;
  border-radius: clamp(28px, 3vw, 44px);
}

.topbar {
  inset: 18px 18px auto;
  gap: 12px;
}

.brand-mark {
  width: clamp(136px, 13vw, 178px);
  height: 44px;
  padding: 0;
}

.nav-pills,
.nav-actions {
  gap: 7px;
}

.nav-pills a,
.ghost-action,
.primary-action {
  min-height: 36px;
  padding: 0 16px;
  font-size: 0.88rem;
  font-weight: 500;
  background: rgba(247, 245, 240, 0.7);
  color: var(--ink);
}

.primary-action {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(240, 178, 0, 0.28);
}

.content-board {
  background:
    radial-gradient(circle at 18% 55%, rgba(27, 95, 145, 0.08), transparent 24%),
    var(--cream);
}

.hero-panel {
  --hero-gutter: max(clamp(56px, 5vw, 92px), calc((100% - 1500px) / 2 + 92px));
  min-height: 0;
  height: calc(100svh - (clamp(10px, 1.5svh, 18px) * 2) - 20px);
}

.path-line {
  width: 260px;
  height: 260px;
  margin: clamp(116px, 15svh, 158px) 0 0 calc(var(--hero-gutter) + 42px);
}

.hero-copy {
  max-width: min(50vw, 860px);
  padding: clamp(178px, 24svh, 235px) clamp(34px, 5vw, 72px) 34px var(--hero-gutter);
}

.hero-copy h1 {
  max-width: min(50vw, 840px);
  font-size: clamp(2.6rem, 5vw, 5.8rem);
  line-height: 0.98;
}

.hero-copy p:not(.eyebrow) {
  max-width: 440px;
  margin-top: 24px;
  font-size: 0.94rem;
  line-height: 1.58;
}

.eyebrow,
.section-heading p,
.route-card span,
.event-card span,
.articles span {
  color: var(--accent-text);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.hero-buttons {
  gap: 10px;
  margin-top: 34px;
}

.button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.86rem;
}

.button.light .button-arrow {
  width: 26px;
  height: 26px;
  background: var(--accent);
  color: var(--ink);
}

.floating-cards {
  right: 24px;
  bottom: 28px;
  grid-template-columns: repeat(3, minmax(108px, 1fr));
  gap: 10px;
  width: min(46%, 500px);
}

.floating-cards article {
  min-height: 124px;
  border-radius: 18px;
  padding: 12px;
}

.floating-cards span {
  font-size: 0.78rem;
}

.floating-cards strong {
  margin-top: 6px;
  font-size: 0.92rem;
}

.floating-cards img {
  height: 52px;
  margin-top: 10px;
  border-radius: 12px;
}

.content-board,
.agenda-section,
.author-band,
.article-row {
  padding: clamp(28px, 4.2vw, 48px);
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.65rem);
}

.route-grid {
  grid-auto-rows: 142px;
  gap: 14px;
}

.route-card {
  border-radius: 21px;
  padding: 18px;
}

.route-card h3 {
  font-size: clamp(1.12rem, 1.9vw, 1.5rem);
  line-height: 1.12;
}

.green {
  color: var(--ink);
}

.green span,
.red span {
  color: rgba(20, 34, 58, 0.58);
}

.red {
  background: var(--accent);
  color: var(--ink);
}

.red span {
  color: rgba(20, 34, 58, 0.62);
}

.event-track {
  gap: 16px;
}

.event-card {
  grid-template-rows: 160px 1fr auto;
  border-radius: 21px;
}

.event-card div {
  padding: 18px;
}

.event-card h3,
.articles h3 {
  font-size: 1.14rem;
  line-height: 1.18;
}

.event-card p {
  font-size: 0.95rem;
}

.event-card a,
.event-card button {
  min-height: 42px;
  margin: 0 18px 18px;
  font-size: 0.9rem;
}

.author-band {
  gap: 20px;
}

.author-band h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.author-band p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.62;
}

.author-points span {
  padding: 13px 16px;
  font-size: 0.94rem;
}

.articles {
  gap: 14px;
}

.articles article {
  border-radius: 22px;
  padding: 20px;
}

.subpage .topbar {
  padding: 18px;
}

.subpage-main {
  padding: clamp(24px, 4.5vw, 54px);
}

.page-hero {
  gap: 16px;
  margin-bottom: 24px;
  border-radius: 28px;
  padding: clamp(26px, 5vw, 54px);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.3vw, 3.3rem);
  line-height: 1;
}

.page-hero p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.6;
}

.page-grid {
  gap: 16px;
}

.page-card {
  border-radius: 23px;
}

.page-card div {
  padding: 20px;
}

.page-card h2,
.page-card h3 {
  font-size: 1.18rem;
  line-height: 1.16;
}

.page-card p {
  font-size: 0.95rem;
}

.page-card a,
.read-actions a,
.side-panel a,
.side-panel button {
  min-height: 40px;
  font-size: 0.9rem;
}

.article-body,
.side-panel,
.login-card {
  border-radius: 24px;
}

.article-body p {
  font-size: 1rem;
  line-height: 1.72;
}

.event-detail {
  gap: 18px;
}

.event-detail img {
  min-height: 340px;
  border-radius: 28px;
}

.event-info {
  border-radius: 28px;
  padding: clamp(24px, 4vw, 44px);
}

.event-info h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.event-info p {
  font-size: 1rem;
}

.meta-list span {
  border-radius: 15px;
  padding: 12px 14px;
}

.reveal {
  transform: translateY(18px);
  filter: blur(3px);
}

.hero-newsletter {
  position: absolute;
  right: var(--hero-gutter);
  top: clamp(198px, 27svh, 268px);
  z-index: 3;
  display: grid;
  gap: 18px;
  width: clamp(280px, 27vw, 430px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 28px;
  padding: clamp(22px, 2.4vw, 34px);
  background:
    linear-gradient(145deg, rgba(244, 241, 234, 0.76), rgba(244, 241, 234, 0.22)),
    rgba(255, 255, 255, 0.12);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(11, 19, 43, 0.22);
  backdrop-filter: blur(22px) saturate(1.08);
}

.hero-newsletter .eyebrow {
  color: rgba(11, 19, 43, 0.58);
}

.hero-newsletter h2 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(1.6rem, 2.35vw, 2.35rem);
  font-weight: 500;
  line-height: 1.03;
}

.hero-newsletter p:not(.eyebrow) {
  max-width: 360px;
  margin: 0;
  color: rgba(11, 19, 43, 0.66);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero-newsletter label {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  color: rgba(11, 19, 43, 0.64);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-newsletter input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hero-newsletter input:focus {
  border-color: rgba(240, 178, 0, 0.76);
  box-shadow: 0 0 0 4px rgba(240, 178, 0, 0.18);
}

.hero-newsletter button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(240, 178, 0, 0.26);
  transition: transform 240ms var(--ease-soft), box-shadow 240ms var(--ease-soft);
}

.hero-newsletter button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(240, 178, 0, 0.34);
}

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

.intro-split {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 42px;
}

.intro-collage {
  position: relative;
  min-height: 255px;
}

.intro-collage img {
  position: absolute;
  width: 58%;
  height: 170px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 48px rgba(11, 19, 43, 0.13);
}

.intro-collage img:first-child {
  left: 0;
  top: 0;
}

.intro-collage img:nth-child(2) {
  right: 0;
  bottom: 0;
}

.intro-collage a {
  position: absolute;
  left: 48px;
  bottom: 36px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(11, 19, 43, 0.18);
}

.intro-collage .play-link span {
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
}

.intro-copy h2 {
  max-width: 520px;
  margin: 10px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.12;
}

.intro-copy p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(20, 34, 58, 0.64);
  font-size: 0.98rem;
  line-height: 1.68;
}

.contact-strip {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  border-radius: 22px;
  padding: 12px 14px 12px 18px;
  background: white;
  box-shadow: 0 16px 38px rgba(11, 19, 43, 0.1);
}

.contact-strip span {
  color: rgba(20, 34, 58, 0.64);
  font-size: 0.86rem;
}

.contact-strip a {
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
}

.routes-heading {
  margin-top: 10px;
}

.routes-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 10px 18px;
}

.routes-heading p {
  grid-column: 1 / -1;
}

.routes-heading h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.routes-heading span {
  max-width: 330px;
  color: rgba(20, 34, 58, 0.56);
  font-size: 0.88rem;
  line-height: 1.5;
}

.route-grid {
  grid-template-columns: minmax(280px, 1.25fr) repeat(3, minmax(160px, 0.75fr));
  grid-auto-rows: 190px;
  align-items: stretch;
}

.route-card {
  min-height: 0;
  justify-content: flex-start;
  border-color: rgba(20, 34, 58, 0.08);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 40px rgba(11, 19, 43, 0.08);
}

.route-card h3 {
  max-width: 260px;
  margin-top: 7px;
  font-size: 1.08rem;
  line-height: 1.16;
}

.route-card small {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 220px;
  margin-top: 10px;
  color: rgba(20, 34, 58, 0.58);
  font-size: 0.82rem;
  line-height: 1.45;
}

.route-card-photo {
  justify-content: flex-end;
  padding: 0;
  color: white;
}

.route-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(11, 19, 43, 0.78));
}

.route-card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-card-photo div {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.route-card-photo span {
  color: rgba(255, 255, 255, 0.72);
}

.route-card-soft {
  padding: 20px;
  justify-content: center;
  background: rgba(239, 244, 248, 0.78);
}

.route-card-soft:nth-child(3) {
  background: rgba(245, 248, 249, 0.92);
}

.route-card-strong {
  background: var(--accent);
  color: var(--ink);
}

.route-card-strong span,
.route-card-strong small {
  color: rgba(20, 34, 58, 0.62);
}

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

  .nav-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .hero-copy {
    padding-top: 210px;
  }

  .floating-cards {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    padding: 0 28px 28px;
  }

  .hero-panel {
    min-height: auto;
    height: auto;
  }

  .hero-newsletter {
    position: relative;
    top: auto;
    right: auto;
    width: min(360px, calc(100% - 56px));
    margin: 0 28px 18px auto;
  }

  .wave-divider {
    display: none;
  }

  .route-grid,
  .event-track,
  .articles,
  .author-band,
  .page-grid,
  .reading-layout,
  .event-detail,
  .intro-split {
    grid-template-columns: 1fr;
  }

  .intro-collage {
    max-width: 520px;
  }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: clamp(26px, 4vw, 54px);
    align-items: center;
    min-height: calc(100svh - 30px);
    padding: clamp(178px, 18svh, 230px) clamp(44px, 6vw, 72px) clamp(54px, 7vw, 86px);
  }

  .path-line {
    width: 250px;
    height: 250px;
    margin: clamp(150px, 17svh, 206px) 0 0 clamp(58px, 8vw, 96px);
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .hero-copy h1 {
    max-width: 620px;
    font-size: clamp(3.25rem, 6.8vw, 4.65rem);
    line-height: 1;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-newsletter {
    position: relative;
    inset: auto;
    align-self: center;
    justify-self: end;
    width: min(100%, 360px);
    margin: 0;
    padding: clamp(20px, 2.8vw, 28px);
  }

  .hero-newsletter h2 {
    font-size: clamp(1.55rem, 3vw, 2.05rem);
  }

  .hero-newsletter input,
  .hero-newsletter button {
    min-height: 48px;
  }
}

@media (min-width: 1101px) and (max-height: 820px) {
  .hero-copy {
    padding-top: clamp(150px, 20svh, 178px);
  }

  .hero-copy h1 {
    max-width: 620px;
    font-size: clamp(2.4rem, 4.45vw, 4.65rem);
    line-height: 0.96;
  }

  .hero-copy p:not(.eyebrow) {
    margin-top: 18px;
    line-height: 1.48;
  }

  .hero-buttons {
    margin-top: 24px;
  }

  .hero-newsletter {
    top: clamp(150px, 20svh, 178px);
    width: clamp(260px, 25vw, 360px);
  }

  .path-line {
    width: 230px;
    height: 230px;
    margin-top: 82px;
  }
}

@media (max-width: 820px) {
  .page-shell {
    padding: 8px;
  }

  .app-frame {
    width: 100%;
    border-width: 7px;
    border-radius: 30px;
  }

  .topbar,
  .subpage .topbar {
    position: relative;
    inset: auto;
    z-index: 12;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 24px 24px 18px 18px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .app-frame:not(.subpage) .topbar {
    position: absolute;
    top: 14px;
    right: 14px;
    left: 14px;
    width: auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .topbar.is-open {
    background: rgba(247, 245, 240, 0.96);
    border-color: rgba(255, 255, 255, 0.56);
    box-shadow: 0 18px 42px rgba(11, 19, 43, 0.12);
    backdrop-filter: blur(18px) saturate(1.04);
  }

  .topbar.is-open .brand-mark img {
    filter: none;
  }

  .app-frame:not(.subpage) .topbar.is-open {
    padding: 12px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    background: rgba(247, 245, 240, 0.92);
    box-shadow: 0 22px 54px rgba(11, 19, 43, 0.18);
    backdrop-filter: blur(18px);
  }

  .brand-mark {
    width: 136px;
    height: 44px;
    padding: 0;
  }

  .menu-toggle {
    display: inline-grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    margin-left: auto;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(247, 245, 240, 0.92);
    color: var(--ink);
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(11, 19, 43, 0.1);
    transition: transform 260ms var(--ease-soft), background 260ms var(--ease-soft), box-shadow 260ms var(--ease-soft);
  }

  .menu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(11, 19, 43, 0.16);
  }

  .menu-toggle[aria-expanded="true"] {
    background: var(--accent);
    transform: rotate(90deg);
  }

  .menu-toggle span {
    grid-area: 1 / 1;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 240ms var(--ease-soft), opacity 180ms var(--ease-soft);
  }

  .menu-toggle span:first-child {
    transform: translateY(-6px);
  }

  .menu-toggle span:nth-child(3) {
    transform: translateY(6px);
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .nav-pills,
  .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition:
      max-height 420ms var(--ease-out),
      opacity 240ms var(--ease-soft),
      transform 320ms var(--ease-soft);
  }

  .topbar.is-open .nav-pills,
  .topbar.is-open .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-height: 280px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .topbar.is-open .nav-pills {
    margin-top: 8px;
  }

  .topbar.is-open .nav-pills a,
  .topbar.is-open .ghost-action,
  .topbar.is-open .primary-action {
    width: 100%;
    min-height: 42px;
    justify-content: space-between;
    border-color: rgba(20, 34, 58, 0.08);
    background: white;
    color: var(--ink);
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity 280ms var(--ease-soft),
      transform 320ms var(--ease-soft),
      background 240ms var(--ease-soft),
      color 240ms var(--ease-soft);
  }

  .topbar.is-open .primary-action {
    background: var(--accent);
    color: var(--ink);
  }

  .topbar.is-open .nav-pills a,
  .topbar.is-open .nav-actions a {
    opacity: 1;
    transform: translateY(0);
  }

  .topbar.is-open .nav-pills a:nth-child(1) {
    transition-delay: 40ms;
  }

  .topbar.is-open .nav-pills a:nth-child(2) {
    transition-delay: 80ms;
  }

  .topbar.is-open .nav-pills a:nth-child(3) {
    transition-delay: 120ms;
  }

  .topbar.is-open .nav-actions a:nth-child(1) {
    transition-delay: 160ms;
  }

  .topbar.is-open .nav-actions a:nth-child(2) {
    transition-delay: 200ms;
  }

  .hero-panel {
    height: auto;
    min-height: calc(100svh - 30px);
    border-radius: 0 0 26px 26px;
  }

  .path-line {
    display: none;
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: clamp(124px, 22svh, 164px) 20px 24px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 9.6vw, 3.15rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 32rem;
    font-size: 0.95rem;
  }

  .hero-buttons {
    margin-top: 26px;
  }

  .hero-newsletter {
    position: relative;
    inset: auto;
  }

  .hero-newsletter {
    width: calc(100% - 40px);
    margin: 0 20px 18px;
  }

}

@media (max-width: 720px) {
  .page-shell {
    padding: 10px;
  }

  .app-frame {
    width: 100%;
    border-width: 7px;
    border-radius: 30px;
  }

  .topbar {
    display: flex;
    flex-wrap: wrap;
  }

  .brand-mark {
    width: 132px;
    height: 44px;
    padding: 0;
  }

  .nav-pills,
  .nav-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-pills a,
  .ghost-action,
  .primary-action {
    min-height: 34px;
    padding: 0 13px;
    font-size: 0.82rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.05rem, 9.6vw, 2.85rem);
  }

  .floating-cards,
  .route-grid {
    grid-template-columns: 1fr;
  }

  .hero-newsletter {
    width: calc(100% - 40px);
    margin: 0 20px 18px;
  }

  .intro-collage {
    min-height: 225px;
  }

  .intro-collage img {
    height: 145px;
  }

  .contact-strip {
    display: grid;
    width: 100%;
  }

  .content-board,
  .agenda-section,
  .author-band,
  .article-row {
    padding: 28px 18px;
  }
}

.author-page {
  display: grid;
  gap: 22px;
}

.author-profile-hero,
.author-story-card,
.credential-card,
.author-closing-panel {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(247, 245, 240, 0.94);
  box-shadow: 0 18px 48px rgba(11, 19, 43, 0.1);
}

.author-profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(30px, 5vw, 64px);
}

.author-profile-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -150px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: rgba(27, 95, 145, 0.09);
}

.author-profile-copy {
  position: relative;
  z-index: 1;
}

.author-profile-copy h1 {
  max-width: 720px;
  margin: 12px 0 0;
  font-size: clamp(2.45rem, 5.5vw, 5rem);
  line-height: 0.98;
}

.author-lead {
  max-width: 630px;
  margin: 20px 0 0;
  color: rgba(20, 34, 58, 0.7);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.72;
}

.author-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.author-chip-list span {
  border-radius: 999px;
  padding: 10px 14px;
  background: white;
  color: rgba(20, 34, 58, 0.72);
  font-size: 0.86rem;
  font-weight: 500;
  box-shadow: 0 10px 26px rgba(11, 19, 43, 0.06);
}

.author-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.author-actions .ghost-action {
  background: white;
  color: var(--ink);
}

.author-portrait-card {
  position: relative;
  z-index: 1;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border: 9px solid white;
  border-radius: 32px;
  background: #dce7f0;
  box-shadow: 0 24px 60px rgba(11, 19, 43, 0.16);
}

.author-portrait-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center top;
}

.author-portrait-card figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  gap: 6px;
  border-radius: 22px;
  padding: 16px 18px;
  background: rgba(247, 245, 240, 0.83);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.author-portrait-card figcaption span {
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.author-portrait-card figcaption strong {
  font-size: 1rem;
  line-height: 1.35;
}

.author-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 18px;
}

.author-story-card {
  border-radius: 28px;
  padding: clamp(24px, 3.6vw, 42px);
}

.author-story-card.main {
  grid-row: span 2;
}

.author-story-card h2,
.author-closing-panel h2 {
  max-width: 690px;
  margin: 10px 0 0;
  font-size: clamp(1.65rem, 3.2vw, 2.8rem);
  line-height: 1.08;
}

.author-story-card h3 {
  margin: 10px 0 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.14;
}

.author-story-card p:not(.eyebrow),
.credential-card p {
  color: rgba(20, 34, 58, 0.66);
  line-height: 1.68;
}

.author-story-card.soft {
  background: rgba(255, 255, 255, 0.78);
}

.author-story-card.blue {
  background: var(--accent);
  color: var(--ink);
}

.author-story-card.blue .eyebrow,
.author-story-card.blue p {
  color: rgba(20, 34, 58, 0.68);
}

.author-credentials-section {
  border-radius: 30px;
  padding: clamp(26px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.35);
}

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

.credential-card {
  display: grid;
  gap: 10px;
  min-height: 220px;
  border-radius: 24px;
  padding: 22px;
}

.credential-card span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.credential-card h3 {
  margin: 8px 0 0;
  font-size: 1.1rem;
  line-height: 1.18;
}

.credential-card p {
  margin: 0;
  font-size: 0.93rem;
}

.author-closing-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  border-radius: 30px;
  padding: clamp(26px, 4vw, 44px);
}

.author-closing-panel .author-actions {
  margin-top: 0;
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  .author-profile-hero,
  .author-story-grid,
  .author-closing-panel {
    grid-template-columns: 1fr;
  }

  .author-band-feature {
    grid-template-columns: minmax(210px, 0.65fr) minmax(240px, 1fr);
  }

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

  .author-portrait-card {
    max-width: 470px;
  }

  .author-closing-panel .author-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .author-page {
    gap: 16px;
  }

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

  .author-mini-portrait {
    min-height: 320px;
  }

  .author-mini-portrait img {
    min-height: 320px;
  }

  .subpage-main.author-page {
    padding: 18px 12px 24px;
  }

  .author-profile-hero,
  .author-story-card,
  .author-credentials-section,
  .author-closing-panel {
    border-radius: 24px;
    padding: 22px;
  }

  .author-profile-hero {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .author-profile-copy,
  .author-portrait-card,
  .author-story-card,
  .credential-card {
    min-width: 0;
    max-width: 100%;
  }

  .author-profile-copy h1 {
    font-size: clamp(2.1rem, 11vw, 2.45rem);
  }

  .author-lead {
    font-size: 0.96rem;
  }

  .author-chip-list {
    max-width: 100%;
  }

  .author-chip-list span {
    max-width: 100%;
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  .author-portrait-card {
    width: 100%;
    min-height: 360px;
    margin-top: 22px;
    border-width: 6px;
    border-radius: 24px;
  }

  .author-portrait-card img {
    min-height: 360px;
  }

  .author-credentials-grid {
    grid-template-columns: 1fr;
  }

  .credential-card {
    min-height: 0;
  }
}

.full-action {
  width: 100%;
}

.admin-page {
  display: grid;
  gap: 26px;
}

.admin-hero h1 {
  max-width: 940px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.admin-panel,
.dynamic-section,
.reader-shell {
  border-radius: 30px;
  background: rgba(244, 241, 234, 0.96);
  box-shadow: 0 18px 50px rgba(11, 19, 43, 0.09);
}

.admin-panel,
.reader-shell {
  padding: clamp(22px, 3.6vw, 40px);
}

.admin-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.admin-panel-head h2,
.dynamic-section h2,
.event-status-grid h3 {
  margin: 6px 0 0;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.05;
}

.admin-form {
  display: grid;
  gap: 18px;
}

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

.admin-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: rgba(11, 19, 43, 0.76);
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.rich-toolbar select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 16px;
  padding: 0 14px;
  background: white;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 200ms var(--ease-soft), box-shadow 200ms var(--ease-soft);
}

.admin-form textarea {
  min-height: 108px;
  padding: 14px;
  resize: vertical;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus,
.rich-editor:focus {
  border-color: rgba(240, 178, 0, 0.78);
  box-shadow: 0 0 0 4px rgba(240, 178, 0, 0.16);
}

.secondary-action {
  min-height: 42px;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 999px;
  padding: 0 18px;
  background: white;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

.editor-block {
  display: grid;
  gap: 10px;
}

.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-radius: 18px;
  padding: 8px;
  background: rgba(138, 165, 208, 0.14);
}

.rich-toolbar select {
  width: auto;
  min-width: 142px;
}

.rich-toolbar button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: white;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  transition: transform 200ms var(--ease-soft), background 200ms var(--ease-soft);
}

.rich-toolbar button:hover {
  transform: translateY(-1px);
  background: var(--accent);
}

.rich-editor {
  min-height: 280px;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 22px;
  padding: 22px;
  background: white;
  color: rgba(11, 19, 43, 0.78);
  font-size: 1rem;
  line-height: 1.75;
  outline: none;
}

.rich-editor h2,
.rich-content h2 {
  margin: 26px 0 12px;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.12;
}

.rich-editor blockquote,
.rich-content blockquote {
  margin: 24px 0;
  border-left: 5px solid var(--accent);
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(240, 178, 0, 0.14);
  color: rgba(11, 19, 43, 0.74);
}

.rich-editor img,
.rich-content img {
  max-width: 100%;
  border-radius: 20px;
}

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

.form-feedback {
  color: var(--pistachio);
  font-weight: 600;
}

.form-feedback[data-type="error"] {
  color: #a92d36;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-dashboard-panel {
  display: grid;
  gap: 24px;
}

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

.dashboard-card {
  border-radius: 24px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(240, 178, 0, 0.2), rgba(255, 255, 255, 0.68)),
    white;
}

.dashboard-card span {
  display: block;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.9;
}

.dashboard-card p {
  margin: 10px 0 0;
  color: rgba(11, 19, 43, 0.62);
  font-weight: 600;
}

.admin-hint {
  margin: 0;
  color: rgba(11, 19, 43, 0.62);
  line-height: 1.55;
}

.admin-hint code,
.firestore-meta code,
.role-access-card code {
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(11, 19, 43, 0.08);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.88em;
  font-weight: 700;
}

.admin-insight-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: 18px;
  align-items: start;
}

.admin-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-section-heading h3 {
  margin: 4px 0 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.user-report-list,
.event-interest-list,
.interest-people {
  display: grid;
  gap: 12px;
}

.user-report-card,
.interest-group-card {
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 34px rgba(11, 19, 43, 0.06);
}

.user-report-card.is-disabled {
  opacity: 0.62;
}

.user-report-main {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.user-report-main img,
.user-avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
}

.user-report-main img {
  object-fit: cover;
}

.user-avatar {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}

.user-report-main span,
.interest-group-head span {
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.user-report-main h3,
.user-report-main p,
.activity-summary,
.interest-group-head h3,
.interest-person strong,
.interest-person span {
  margin: 0;
}

.user-report-main h3,
.interest-group-head h3 {
  margin-top: 2px;
  font-size: 1.08rem;
  line-height: 1.15;
}

.user-report-main p,
.activity-summary,
.interest-person span {
  color: rgba(11, 19, 43, 0.62);
  font-size: 0.9rem;
  line-height: 1.45;
}

.activity-summary {
  margin-top: 12px;
}

.firestore-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px !important;
}

.activity-details {
  margin-top: 10px;
  border-radius: 18px;
  background: rgba(244, 241, 234, 0.7);
}

.activity-details summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 700;
}

.activity-details ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 14px 14px 32px;
  color: rgba(11, 19, 43, 0.68);
}

.activity-details li span {
  display: block;
  margin-top: 2px;
  font-size: 0.88rem;
}

.interest-group-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.interest-person {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-radius: 18px;
  padding: 12px;
  background: rgba(244, 241, 234, 0.74);
}

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

.access-item {
  grid-template-columns: 1fr;
}

.soft-divider {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(11, 19, 43, 0.1);
}

.admin-list-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(11, 19, 43, 0.08);
  border-radius: 22px;
  padding: 12px;
  background: white;
}

.admin-list-item img {
  width: 100%;
  height: 104px;
  border-radius: 16px;
  object-fit: cover;
}

.admin-list-item h3 {
  margin: 4px 0 6px;
  font-size: 1.04rem;
  line-height: 1.18;
}

.admin-list-item p,
.admin-list-item small {
  display: block;
  margin: 0;
  color: rgba(11, 19, 43, 0.62);
  font-size: 0.84rem;
  line-height: 1.45;
}

.admin-list-item span {
  color: var(--accent-text);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.admin-item-actions button,
.admin-item-actions a {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(11, 19, 43, 0.92);
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.admin-item-actions a {
  display: inline-flex;
  align-items: center;
}

.empty-state {
  margin: 0;
  border: 1px dashed rgba(11, 19, 43, 0.18);
  border-radius: 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.5);
  color: rgba(11, 19, 43, 0.62);
  font-weight: 600;
  line-height: 1.5;
}

.dynamic-section {
  display: grid;
  gap: 22px;
  margin-top: 26px;
  padding: clamp(24px, 4vw, 42px);
}

.dynamic-section[hidden] {
  display: none;
}

.dynamic-section .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
}

.event-status-grid {
  display: grid;
  gap: 30px;
}

.event-status-grid > section {
  display: grid;
  gap: 14px;
}

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

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

.page-card .card-actions a {
  margin-top: 0;
}

.page-card .secondary-link,
.read-actions a:nth-child(n + 2) {
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(11, 19, 43, 0.1);
}

.reader-hero h1 {
  font-size: clamp(2.6rem, 5vw, 5.2rem);
}

.reader-cover {
  width: 100%;
  max-height: 420px;
  margin-bottom: 28px;
  object-fit: cover;
}

.article-attachment {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
}

.read-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.read-actions button,
.engagement-actions button,
.comment-form button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--accent);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.engagement-actions button[data-liked="true"],
.engagement-actions button[data-disliked="true"] {
  background: var(--ink);
  color: white;
}

.reader-engagement {
  display: grid;
  gap: 20px;
  margin-top: 34px;
  border-top: 1px solid rgba(11, 19, 43, 0.12);
  padding-top: 28px;
}

.engagement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.comment-form {
  display: grid;
  gap: 12px;
}

.comment-form label {
  display: grid;
  gap: 10px;
  color: rgba(11, 19, 43, 0.7);
  font-weight: 700;
}

.comment-form textarea {
  width: 100%;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 20px;
  padding: 16px;
  background: white;
  color: var(--ink);
  font: inherit;
  line-height: 1.55;
  resize: vertical;
}

.comments-list {
  display: grid;
  gap: 12px;
}

.comment-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  border-radius: 20px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.66);
}

.comment-item img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
}

.comment-item strong,
.comment-item span {
  display: block;
}

.comment-item span {
  color: rgba(11, 19, 43, 0.5);
  font-size: 0.82rem;
}

.comment-item {
  grid-template-columns: 1fr;
}

.article-gallery-card {
  position: relative;
}

.article-card-actions {
  margin-top: 16px;
}

.article-card-actions .article-admin-button,
.danger-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 19, 43, 0.1);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: transform 220ms var(--ease-soft), background 220ms var(--ease-soft), color 220ms var(--ease-soft);
}

.article-card-actions .article-admin-button:hover,
.danger-action:hover {
  transform: translateY(-2px);
  background: white;
}

.article-card-actions .article-admin-button.danger,
.danger-action {
  background: rgba(209, 46, 60, 0.1);
  color: #9b2330;
}

.article-editor-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 46px);
}

.article-editor-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(11, 19, 43, 0.46);
  backdrop-filter: blur(14px) saturate(1.04);
}

.article-editor-card {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  max-height: min(88vh, 920px);
  overflow: auto;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 34px;
  padding: clamp(22px, 3vw, 38px);
  background:
    linear-gradient(145deg, rgba(244, 241, 234, 0.96), rgba(255, 255, 255, 0.82)),
    rgba(255, 255, 255, 0.52);
  box-shadow: 0 30px 90px rgba(11, 19, 43, 0.26);
  backdrop-filter: blur(20px) saturate(1.06);
}

.article-editor-head,
.article-editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.article-editor-head h2 {
  margin: 6px 0 0;
  font-size: clamp(1.85rem, 4vw, 3.4rem);
  line-height: 1;
}

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

.modal-rich-toolbar {
  margin-top: 4px;
}

.modal-rich-editor {
  min-height: 300px;
  border: 1px solid rgba(11, 19, 43, 0.12);
  border-radius: 24px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  outline: none;
}

.modal-rich-editor:focus {
  border-color: rgba(240, 178, 0, 0.72);
  box-shadow: 0 0 0 4px rgba(240, 178, 0, 0.14);
}

.reader-hero-pro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: stretch;
  margin-bottom: 34px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 38px;
  padding: clamp(24px, 4vw, 54px);
  background:
    radial-gradient(circle at 16% 18%, rgba(240, 178, 0, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(244, 241, 234, 0.92), rgba(255, 255, 255, 0.7));
  box-shadow: 0 24px 80px rgba(11, 19, 43, 0.12);
  backdrop-filter: blur(18px) saturate(1.04);
}

.reader-hero-copy {
  display: grid;
  align-content: center;
  gap: 22px;
}

.reader-hero-copy h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  line-height: 0.96;
}

.reader-hero-copy p:not(.eyebrow) {
  max-width: 64ch;
  margin: 0;
  color: rgba(11, 19, 43, 0.66);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.72;
}

.reader-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.reader-hero-actions button,
.reader-hero-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--accent);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.reader-hero-actions a {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(11, 19, 43, 0.1);
}

.reader-hero-media {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  box-shadow: 0 22px 70px rgba(11, 19, 43, 0.14);
}

.reader-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reader-layout-pro {
  grid-template-columns: minmax(0, 820px) minmax(260px, 330px);
  justify-content: center;
}

.reader-article-pro {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 241, 234, 0.94)),
    var(--cream);
}

.article-body-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.article-body-kicker span {
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(240, 178, 0, 0.16);
  color: rgba(11, 19, 43, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rich-content h2,
.rich-content h3 {
  margin: 34px 0 14px;
  line-height: 1.12;
}

.rich-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.rich-content h3 {
  font-size: clamp(1.28rem, 2.2vw, 1.72rem);
}

.rich-content blockquote {
  margin: 34px 0;
  border-left: 6px solid var(--accent);
  border-radius: 24px;
  padding: 24px 26px;
  background: rgba(240, 178, 0, 0.12);
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.rich-content img {
  max-width: 100%;
  border-radius: 24px;
}

.reader-share-pro {
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 28px;
  padding: 24px;
  background: rgba(244, 241, 234, 0.66);
  box-shadow: 0 18px 54px rgba(11, 19, 43, 0.1);
  backdrop-filter: blur(18px);
}

.reader-share-pro h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

.comments-heading h3 {
  margin: 6px 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.comment-header {
  display: flex;
  gap: 12px;
  align-items: center;
}

.comment-avatar,
.comment-avatar-placeholder {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(240, 178, 0, 0.22);
}

.comment-meta strong,
.comment-meta time {
  display: block;
}

.comment-meta time {
  color: rgba(11, 19, 43, 0.5);
  font-size: 0.82rem;
}

.comment-content {
  margin-top: 12px;
}

.comment-content p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.62;
}

@media (min-width: 1101px) {
  .hero-panel {
    height: calc(100svh - (clamp(10px, 1.5svh, 18px) * 2) - 20px);
    min-height: 650px;
    max-height: 900px;
  }

  .hero-copy {
    position: absolute;
    left: var(--hero-gutter);
    top: 54%;
    width: min(46vw, 760px);
    max-width: min(46vw, 760px);
    padding: 0;
    transform: translateY(-43%);
  }

  .hero-copy h1 {
    max-width: 760px;
    font-size: clamp(2.8rem, 4.4vw, 5.2rem);
    line-height: 0.98;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 560px;
    margin-top: 30px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-buttons {
    margin-top: 42px;
  }

  .hero-newsletter {
    top: 52%;
    transform: translateY(-38%);
  }
}

@media (min-width: 1101px) and (max-height: 820px) {
  .hero-copy {
    top: 55%;
    transform: translateY(-43%);
  }

  .hero-copy h1 {
    max-width: 680px;
    font-size: clamp(2.45rem, 4vw, 4.4rem);
    line-height: 0.98;
  }

  .hero-copy p:not(.eyebrow) {
    margin-top: 22px;
    font-size: 0.92rem;
    line-height: 1.48;
  }

  .hero-buttons {
    margin-top: 30px;
  }

  .hero-newsletter {
    top: 51%;
    width: clamp(270px, 23vw, 370px);
    transform: translateY(-38%);
  }
}

@media (max-width: 1100px) {
  .reader-hero-pro,
  .reader-layout-pro,
  .modal-editor-grid {
    grid-template-columns: 1fr;
  }

  .reader-hero-media {
    min-height: 280px;
  }

  .article-editor-head,
  .article-editor-actions {
    display: grid;
  }
}

@media (max-width: 720px) {
  .reader-hero-pro,
  .article-editor-card,
  .reader-share-pro {
    border-radius: 24px;
    padding: 20px;
  }

  .reader-hero-copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.03;
  }

  .reader-hero-media {
    min-height: 220px;
    border-width: 5px;
    border-radius: 22px;
  }

  .article-card-actions .article-admin-button,
  .danger-action,
  .reader-hero-actions button,
  .reader-hero-actions a {
    width: 100%;
  }
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 24px;
  align-items: end;
}

.profile-card {
  display: grid;
  gap: 14px;
  border-radius: 28px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
}

.profile-card img {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  object-fit: cover;
}

.profile-card h2,
.profile-card p {
  margin: 0;
}

.role-chip {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(240, 178, 0, 0.22);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.role-access-card {
  align-content: start;
  gap: 16px;
}

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

.saved-list {
  display: grid;
  gap: 12px;
}

.saved-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 22px;
  padding: 16px;
  background: white;
}

.saved-item h3,
.saved-item p {
  margin: 0;
}

.dynamic-event-detail .read-actions {
  margin-top: 8px;
}

.reveal {
  opacity: 1;
  filter: none;
}

.reveal:not(.is-visible) {
  transform: translateY(14px) scale(0.995);
}

@media (max-width: 1100px) {
  .admin-layout,
  .admin-insight-layout,
  .event-status-grid .page-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .admin-page {
    gap: 18px;
  }

  .admin-hero h1,
  .reader-hero h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 1.04;
  }

  .admin-panel,
  .dynamic-section,
  .reader-shell {
    border-radius: 24px;
    padding: 20px;
  }

  .admin-panel-head,
  .dynamic-section .section-heading {
    display: grid;
    align-items: start;
  }

  .field-grid,
  .admin-list-item,
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .rich-toolbar {
    gap: 6px;
  }

  .rich-toolbar select,
  .rich-toolbar button {
    flex: 1 1 auto;
    min-height: 40px;
  }

  .rich-editor {
    min-height: 240px;
    padding: 18px;
  }

  .form-actions,
  .read-actions,
  .card-actions {
    display: grid;
    width: 100%;
  }

  .form-actions .primary-action,
  .read-actions a,
  .read-actions button,
  .card-actions a {
    width: 100%;
  }

  .account-hero,
  .account-grid,
  .saved-item,
  .login-choice-grid,
  .interest-group-head,
  .interest-person,
  .comment-item {
    grid-template-columns: 1fr;
  }

  .login-main {
    min-height: 0;
  }

  .login-choice {
    min-height: 0;
  }

  .interest-person {
    display: grid;
  }

  .side-panel {
    position: static;
  }
}
