:root {
  --sea: #1a6b7a;
  --sea-deep: #0d3d4a;
  --foam: #e8f4f6;
  --sand: #d4c4a8;
  --sand-light: #f3ebe0;
  --night: #12252c;
  --coral: #c45c3a;
  --ink: #1a2a30;
  --muted: #5a6f76;
  --card: rgba(255, 255, 255, 0.72);
  --radius: 14px;
  --font-display: "Figtree", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --font-brand: "Figtree", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 80% at 10% -20%, #9fd4de 0%, transparent 50%),
    radial-gradient(ellipse 90% 60% at 100% 0%, #f0d9b5 0%, transparent 45%),
    linear-gradient(180deg, #dceef2 0%, #f7f3ec 42%, #e8f0f2 100%);
  min-height: 100vh;
  line-height: 1.55;
}

a {
  color: var(--sea-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--coral);
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--sea-deep);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  color: var(--sea-deep);
}

.brand-mark .brand-mark-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.brand-mark--sm {
  width: 32px;
  height: 32px;
}

.brand-mark--lg {
  width: 72px;
  height: 72px;
  margin-bottom: 0.85rem;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.brand-text {
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95em;
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--muted);
  line-height: 1.2;
  white-space: nowrap;
}

.page-home .site-header--over-hero .brand-tagline {
  color: rgba(255, 255, 255, 0.78);
}

.bm-underline {
  transform-origin: 26px 51.75px;
  animation: bm-underline 3.2s ease-in-out infinite;
}

@keyframes bm-underline {
  0%, 100% { transform: scaleX(1); opacity: 0.92; }
  50% { transform: scaleX(1.06); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .bm-underline {
    animation: none;
  }
}

@media (max-width: 720px) {
  .site-header .brand-tagline {
    display: none;
  }
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
  font-size: 0.95rem;
}

.nav a:not(.btn) {
  text-decoration: none;
  color: var(--night);
  font-weight: 500;
}

.nav a:not(.btn):hover {
  color: var(--sea);
}

.lang-switch {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  margin-left: 0.25rem;
  padding-left: 0.65rem;
  border-left: 1px solid rgba(13, 61, 74, 0.18);
}

.lang-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none !important;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  color: var(--muted) !important;
}

.lang-link.is-active {
  background: var(--foam);
  color: var(--sea-deep) !important;
}

.page-home .site-header--over-hero .lang-switch {
  border-left-color: rgba(255, 255, 255, 0.35);
}

.page-home .site-header--over-hero .lang-link {
  color: rgba(255, 255, 255, 0.8) !important;
  text-shadow: none;
}

.page-home .site-header--over-hero .lang-link.is-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 24px rgba(196, 92, 58, 0.28);
}

.btn-primary:hover {
  background: #a84c30;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--sea-deep);
  border: 1.5px solid rgba(13, 61, 74, 0.25);
}

.btn-soft {
  background: var(--foam);
  color: var(--sea-deep);
}

.btn-danger {
  background: transparent;
  color: var(--coral);
  border: 1.5px solid rgba(196, 92, 58, 0.35);
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.flash {
  max-width: 1100px;
  margin: 0.5rem auto 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 500;
}

.flash-success {
  background: #d9f0e4;
  color: #1a5c40;
}

.flash-error {
  background: #f8e0d8;
  color: #8a3a28;
}

/* Landing hero — one composition */
.hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #1a6b7a 0%, #0d3d4a 55%, #12252c 100%);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transform: scale(1.04);
  animation: hero-drift 28s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.6%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo {
    animation: none;
    transform: none;
  }
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 28, 34, 0.72) 0%, rgba(10, 28, 34, 0.42) 42%, rgba(10, 28, 34, 0.22) 100%),
    linear-gradient(180deg, rgba(10, 28, 34, 0.28) 0%, rgba(10, 28, 34, 0.15) 45%, rgba(10, 28, 34, 0.62) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 1.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  color: #fff;
  animation: rise 0.9s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-brand {
  font-family: var(--font-brand);
  font-size: clamp(1.85rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}

.hero-tagline {
  margin: 0.55rem 0 0;
  max-width: none;
  font-size: 1.05rem !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95) !important;
  position: relative;
  display: inline-block;
  padding-bottom: 0.55rem;
}

.hero-tagline::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 3px;
  margin-top: 0.55rem;
  border-radius: 2px;
  background: var(--coral);
}

.hero-brand em {
  font-style: normal;
  font-weight: inherit;
  color: inherit;
}

.hero p {
  max-width: 32rem;
  font-size: 1.15rem;
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero p.hero-tagline {
  margin-bottom: 1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero .btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.hero .btn-primary:hover {
  background: #a84c30;
  color: #fff;
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-logo {
  color: #e8f4f6;
}

.page-home .site-header--over-hero {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  max-width: none;
  padding-left: max(1.5rem, calc((100% - 1100px) / 2 + 1.5rem));
  padding-right: max(1.5rem, calc((100% - 1100px) / 2 + 1.5rem));
}

.page-home .site-header--over-hero .brand-mark {
  color: #e8f4f6;
}

.page-home .site-header--over-hero .brand-text,
.page-home .site-header--over-hero .nav a:not(.btn) {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.page-home .site-header--over-hero .nav a:not(.btn):hover {
  color: var(--sand);
}

/* Join / primary in header — always coral + white text */
.site-header .btn-primary,
.nav .btn-primary {
  background: var(--coral);
  color: #fff !important;
  text-shadow: none;
  border: none;
  box-shadow: 0 6px 18px rgba(196, 92, 58, 0.35);
}

.site-header .btn-primary:hover,
.nav .btn-primary:hover {
  background: #a84c30;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(168, 76, 48, 0.4);
}

.site-header .btn-primary:active,
.nav .btn-primary:active {
  background: #8f3f28;
  color: #fff !important;
}

/* Sign out — solid bg so text stays readable on light and hero headers */
.site-header .btn-header-out,
.nav .btn-header-out {
  padding: 0.4rem 0.95rem;
  font-size: 0.85rem;
  background: var(--foam);
  color: var(--sea-deep) !important;
  border: 1.5px solid rgba(13, 61, 74, 0.18);
  text-shadow: none;
  box-shadow: none;
}

.site-header .btn-header-out:hover,
.nav .btn-header-out:hover {
  background: #d7e8ec;
  color: var(--sea-deep) !important;
}

.page-home .site-header--over-hero .btn-header-out {
  background: rgba(255, 255, 255, 0.95);
  color: var(--sea-deep) !important;
  border-color: transparent;
}

.page-home .site-header--over-hero .btn-header-out:hover {
  background: #fff;
  color: var(--sea-deep) !important;
}

.landing .body-copy {
  max-width: 38rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.landing .body-copy a,
.landing .lede a,
.page-content a:not(.btn),
.people-banner a:not(.btn) {
  color: var(--teal, #0d3d4a);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.landing .body-copy a:hover,
.landing .lede a:hover,
.page-content a:not(.btn):hover {
  color: var(--coral, #e07a5f);
}

.seo-hub {
  max-width: 40rem;
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.seo-links a {
  font-weight: 600;
}

.purpose-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.purpose-list li {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(13, 61, 74, 0.12);
}

.purpose-list strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.purpose-list span {
  color: var(--muted);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--coral);
  line-height: 1;
  min-width: 2.2rem;
}

.steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  text-align: left;
  padding-bottom: 2rem;
}

.cta-band .btn-ghost {
  background: rgba(255, 255, 255, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-brand);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--sea-deep);
  margin-bottom: 0.35rem;
}

.site-footer .footer-brand .brand-tagline {
  white-space: normal;
}

.site-footer .footer-brand img,
.site-footer .footer-brand .brand-mark {
  border-radius: 0;
}

.section {
  padding: 3.5rem 0 1rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section .lede {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

.panel {
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(18, 37, 44, 0.06);
}

.panel + .panel {
  margin-top: 1rem;
}

.panel--warn {
  border-color: rgba(196, 92, 58, 0.35);
  background: rgba(196, 92, 58, 0.08);
}

.check-row {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  margin: 0.5rem 0 1rem !important;
  cursor: pointer;
}

.check-row input {
  width: auto;
  margin: 0;
}

.admin-maint-status {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--coral);
  font-weight: 600;
}

.maint-admin-banner {
  background: var(--coral);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  z-index: 20;
}

.maint-admin-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.maintenance-page {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    linear-gradient(160deg, rgba(13, 61, 74, 0.88), rgba(18, 37, 44, 0.92)),
    url("/assets/img/hero-ibiza.jpg") center / cover no-repeat;
}

.maintenance-modal {
  width: min(100%, 26rem);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 18px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
  animation: rise 0.55s ease-out both;
}

.maintenance-modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  color: var(--sea-deep);
}

.maintenance-modal__icon .brand-mark-svg {
  width: 100%;
  height: 100%;
}

.maintenance-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}

.maintenance-modal h1 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 0.75rem;
  color: var(--sea-deep);
}

.maintenance-message {
  margin: 0 0 1.35rem;
  color: var(--muted);
  line-height: 1.55;
}

.maintenance-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.maintenance-hint {
  margin: 0;
  font-size: 0.85rem;
}

.grid-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.85rem 0 0.35rem;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="password"],
.form input[type="number"],
.form input[type="date"],
.form input[type="file"],
.form select,
.form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1.5px solid rgba(13, 61, 74, 0.18);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 0.5rem;
}

.checkbox-row label {
  font-weight: 500;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.question {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(13, 61, 74, 0.1);
}

.question:last-child {
  border-bottom: none;
}

.question h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  font-weight: 550;
}

.options {
  display: grid;
  gap: 0.5rem;
}

.options label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid transparent;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.options label:has(input:checked) {
  border-color: var(--sea);
  background: var(--foam);
}

.progress-bar {
  height: 8px;
  background: rgba(13, 61, 74, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin: 0.75rem 0 1.25rem;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--sea), #3a9aab);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.ai-profile h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

.ai-profile .summary {
  white-space: pre-wrap;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.meta-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .meta-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.meta-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.score-ring {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--sea-deep);
  line-height: 1;
}

.score-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.score-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(13, 61, 74, 0.08);
}

.match-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(18, 37, 44, 0.1);
  color: inherit;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sand);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--sea-deep);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 420px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.bubble {
  max-width: 80%;
  padding: 0.7rem 0.95rem;
  border-radius: 14px;
  background: #fff;
  align-self: flex-start;
}

.bubble.mine {
  align-self: flex-end;
  background: var(--foam);
  border: 1px solid rgba(26, 107, 122, 0.15);
}

.bubble.flagged {
  outline: 1px solid var(--coral);
}

.hints {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hints li {
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.5rem;
  border-left: 3px solid var(--coral);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0 8px 8px 0;
}

.muted {
  color: var(--muted);
}

.site-footer {
  margin-top: 3rem;
  color: var(--muted);
  font-size: 0.95rem;
  background:
    linear-gradient(180deg, transparent, rgba(13, 61, 74, 0.06)),
    rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(13, 61, 74, 0.1);
}

.site-footer--rich {
  text-align: left;
  padding: 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.75rem 1.5rem 1.75rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--sea-deep);
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.footer-col a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}

.footer-col a:hover {
  color: var(--sea-deep);
}

.footer-col--brand p {
  margin: 0.65rem 0 0;
  max-width: 18rem;
  line-height: 1.5;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(13, 61, 74, 0.08);
  font-size: 0.85rem;
}

.page-content .prose {
  max-width: 40rem;
}

.page-content .prose p {
  margin: 0 0 1rem;
  line-height: 1.65;
}

.page-content .prose strong,
.landing strong {
  font-weight: 700;
}

.page-content .prose em,
.landing em {
  font-style: italic;
}

.page-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.page-content .prose h3 {
  font-family: var(--font-display);
  margin: 1.75rem 0 0.5rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 40rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(13, 61, 74, 0.1);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.faq-item summary {
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
}

.faq-item p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.person-card {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.person-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18, 37, 44, 0.1);
  color: inherit;
}

.person-photo {
  aspect-ratio: 1;
  background: var(--sand);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-fallback {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--sea-deep);
}

.person-meta {
  padding: 0.75rem 0.85rem 1rem;
  display: grid;
  gap: 0.15rem;
}

.person-card--blurred .person-photo img,
.person-card--blurred .person-name,
.person-card--blurred .person-fallback {
  filter: blur(7px);
  user-select: none;
}

.people-grid.is-locked {
  position: relative;
}

.people-banner {
  margin-bottom: 1.25rem;
}

.people-unlock {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid rgba(13, 61, 74, 0.1);
}

.admin-msg {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(13, 61, 74, 0.08);
}

.admin-msg.is-unread {
  background: rgba(232, 244, 246, 0.5);
  margin: 0 -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 8px;
}

.inline-form {
  display: inline;
}

.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.starters {
  padding-left: 1.1rem;
}

.starters li {
  margin-bottom: 0.4rem;
}
