:root {
  --bg: #07111f;
  --bg-soft: #0f2036;
  --panel: rgba(12, 24, 42, 0.82);
  --panel-solid: #13243b;
  --panel-light: #f5efe4;
  --text: #eef4ff;
  --text-dark: #0f1c2c;
  --muted: #9db1cb;
  --muted-dark: #55667d;
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(15, 28, 44, 0.12);
  --gold: #d9aa52;
  --gold-soft: #f4d28d;
  --coral: #f07f68;
  --teal: #61c6c2;
  --sky: #7ab4ff;
  --white: #ffffff;
  --max: 1240px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 32px 70px rgba(2, 8, 20, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(240, 127, 104, 0.22), transparent 26%),
    radial-gradient(circle at top right, rgba(97, 198, 194, 0.22), transparent 28%),
    linear-gradient(180deg, #06101d 0%, #0d1b2f 38%, #0a1323 100%);
}

body.light-shell {
  color: var(--text-dark);
  background:
    radial-gradient(circle at top left, rgba(240, 127, 104, 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(97, 198, 194, 0.14), transparent 28%),
    linear-gradient(180deg, #f4efe7 0%, #eef2f7 44%, #eef3f8 100%);
}

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

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

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.light-shell .topbar {
  background: rgba(244, 239, 231, 0.86);
  border-bottom: 1px solid rgba(15, 28, 44, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(240, 127, 104, 0.8), rgba(217, 170, 82, 0.88) 48%, rgba(97, 198, 194, 0.8));
  color: #08111d;
  box-shadow: var(--shadow);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.65rem;
}

.nav-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
}

.light-shell .nav-links {
  color: var(--muted-dark);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.is-current::after {
  transform: scaleX(1);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  color: #09121f;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold), var(--coral));
  box-shadow: 0 18px 34px rgba(217, 170, 82, 0.26);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.light-shell .btn-secondary {
  color: var(--text-dark);
  border-color: rgba(15, 28, 44, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.hero {
  padding: 42px 0 28px;
}

.hero-panel {
  padding: 34px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top left, rgba(240, 127, 104, 0.22), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(97, 198, 194, 0.24), transparent 26%),
    linear-gradient(135deg, #091523 0%, #14263e 42%, #1d4668 100%);
  box-shadow: 0 42px 90px rgba(2, 8, 20, 0.3);
}

.hero-grid,
.split-grid,
.three-grid,
.four-grid,
.media-grid,
.contact-grid,
.logo-grid {
  display: grid;
  gap: 18px;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.home-hero-grid,
.home-media-row,
.home-editorial-grid,
.home-editorial-media,
.home-proof-rail {
  display: grid;
  gap: 18px;
}

.home-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: end;
}

.home-hero-panel {
  padding: 46px;
  background:
    radial-gradient(circle at top left, rgba(240, 127, 104, 0.24), transparent 26%),
    radial-gradient(circle at 76% 18%, rgba(97, 198, 194, 0.2), transparent 24%),
    linear-gradient(135deg, #091523 0%, #10253d 44%, #184462 100%);
}

.home-hero-copy h1 {
  max-width: 10ch;
}

.home-proof-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.home-proof-chip {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-proof-chip strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.home-proof-chip span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
  font-size: 0.94rem;
}

.home-hero-media {
  display: grid;
  gap: 18px;
}

.home-media-feature .media-slot.banner-slot {
  min-height: 380px;
}

.home-media-row {
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
}

.home-editorial-grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: stretch;
}

.home-editorial-copy .page-title {
  font-size: clamp(2.5rem, 4vw, 4.1rem);
}

.home-editorial-media {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}

.home-editorial-media .banner-slot {
  min-height: 420px;
}

.home-gallery-grid .banner-slot {
  min-height: 280px;
}

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

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

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

.media-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-grid {
  grid-template-columns: 1fr 0.95fr;
}

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

.member-shell {
  padding-bottom: 42px;
}

.member-shell .container {
  width: min(calc(100% - 40px), 1380px);
}

.member-hero-card {
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(240, 127, 104, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(122, 180, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(244,239,231,0.96));
  border: 1px solid rgba(15, 28, 44, 0.08);
  box-shadow: 0 28px 70px rgba(15, 28, 44, 0.12);
}

.member-hero-grid,
.member-layout,
.member-dashboard-overview,
.member-card-grid,
.member-invoice-grid,
.member-directory-grid,
.member-notification-grid {
  display: grid;
  gap: 18px;
}

.member-hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  align-items: start;
}

.member-layout {
  grid-template-columns: minmax(320px, 380px) minmax(0, 1.55fr);
  align-items: start;
  gap: 24px;
}

.member-dashboard-shell {
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.member-dashboard-shell.is-locked {
  opacity: 0.52;
  filter: saturate(0.8);
}

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

.member-main,
.member-sidebar,
.member-notification-list {
  display: grid;
  gap: 18px;
}

.member-sidebar {
  position: sticky;
  top: 96px;
}

.member-dashboard-overview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.member-auth-divider {
  height: 1px;
  margin: 12px 0 4px;
  background: linear-gradient(90deg, rgba(15, 28, 44, 0.08), rgba(217, 170, 82, 0.35), rgba(15, 28, 44, 0.08));
}

.member-inline-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-dark);
  font-size: 0.94rem;
}

.member-inline-toggle input {
  width: 18px;
  height: 18px;
}

.member-turnstile {
  min-height: 66px;
  display: grid;
  align-items: center;
}

.member-verification-banner {
  grid-column: 1 / -1;
  background:
    radial-gradient(circle at top right, rgba(122, 180, 255, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(244,239,231,0.98));
}

.member-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.member-card-grid,
.member-invoice-grid,
.member-directory-grid,
.member-notification-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.member-hero-title {
  margin: 16px 0 12px;
  font-family: "Cormorant Garamond", serif;
  color: var(--text-dark);
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 0.96;
}

.member-hero-copy,
.member-soft-copy,
.member-card p,
.member-invoice-card p,
.member-directory-card p,
.member-notification-card p {
  color: var(--muted-dark);
  line-height: 1.75;
}

.panel-light,
.member-highlight-card,
.member-card,
.member-invoice-card,
.member-directory-card,
.member-notification-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 18px 38px rgba(15, 28, 44, 0.08);
}

.member-highlight-card {
  display: grid;
  gap: 12px;
  background:
    radial-gradient(circle at top right, rgba(122, 180, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.88), rgba(246, 239, 226, 0.96));
}

.member-highlight-card strong {
  color: var(--text-dark);
  font-size: clamp(1.7rem, 2vw, 2.35rem);
  line-height: 1;
}

.member-highlight-card p {
  color: var(--muted-dark);
  line-height: 1.65;
}

.member-summary {
  display: grid;
  gap: 16px;
}

.member-summary-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.member-avatar {
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--coral), var(--gold), var(--teal));
  color: #08111d;
  font-size: 1.7rem;
  font-weight: 800;
  box-shadow: 0 20px 44px rgba(217, 170, 82, 0.22);
}

.member-summary-text strong,
.member-section h2,
.panel-light h2,
.member-card h3,
.member-invoice-card h3,
.member-directory-card h3 {
  color: var(--text-dark);
}

.member-summary-text {
  display: grid;
  gap: 8px;
  flex: 1;
}

.member-summary-text span {
  color: var(--gold);
  font-weight: 700;
}

.member-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-pill {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(15, 28, 44, 0.06);
  border: 1px solid var(--line-dark);
  color: var(--text-dark);
  font-size: 0.84rem;
}

.member-search {
  margin-top: 20px;
  display: grid;
  gap: 8px;
}

.member-search label {
  color: var(--muted-dark);
  font-weight: 600;
}

.inline-auth-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.inline-auth-form textarea,
.inline-auth-form input {
  width: 100%;
}

.member-form-feedback {
  margin-top: 12px;
  color: var(--muted-dark);
  line-height: 1.6;
}

.member-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.member-search-row input {
  border-radius: 16px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.78);
  color: var(--text-dark);
  padding: 14px 16px;
  font: inherit;
}

.member-meta-list,
.member-subscription-meta,
.member-invoice-meta,
.member-directory-meta {
  display: grid;
  gap: 10px;
}

.member-meta-list div,
.member-subscription-meta div,
.member-invoice-meta div,
.member-directory-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15, 28, 44, 0.08);
  color: var(--muted-dark);
}

.member-meta-list strong,
.member-subscription-meta strong,
.member-invoice-meta strong,
.member-directory-meta strong {
  color: var(--text-dark);
  text-align: right;
}

.member-section {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.46);
  border: 1px solid rgba(15, 28, 44, 0.08);
  box-shadow: 0 18px 40px rgba(15, 28, 44, 0.06);
}

.member-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.member-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.member-status-badge {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(15, 28, 44, 0.08);
  color: var(--text-dark);
}

.member-status-badge.is-confirmed,
.member-status-badge.is-paid,
.member-status-badge.is-success {
  background: rgba(97, 198, 194, 0.18);
  color: #0f514c;
}

.member-status-badge.is-due,
.member-status-badge.is-important {
  background: rgba(240, 127, 104, 0.18);
  color: #8b3627;
}

.member-status-badge.is-upcoming,
.member-status-badge.is-draft,
.member-status-badge.is-info {
  background: rgba(122, 180, 255, 0.18);
  color: #174a86;
}

.member-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.member-notification-card {
  padding: 18px;
}

.member-directory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.member-directory-tags span {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(15, 28, 44, 0.06);
  border: 1px solid var(--line-dark);
  color: var(--text-dark);
  font-size: 0.82rem;
}

.member-empty {
  padding: 20px;
  border-radius: 18px;
  border: 1px dashed rgba(15, 28, 44, 0.16);
  color: var(--muted-dark);
  background: rgba(255,255,255,0.68);
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--gold-soft);
}

.kicker {
  background: rgba(217, 170, 82, 0.14);
  color: #8f672b;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
}

.hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(3.2rem, 6vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

.hero-copy p,
.section-head p,
.card p,
.spotlight p,
.event-card p,
.contact-card p,
.page-lead {
  color: var(--muted);
  line-height: 1.8;
}

.light-shell .section-head p,
.light-shell .card p,
.light-shell .spotlight p,
.light-shell .event-card p,
.light-shell .contact-card p,
.light-shell .page-lead {
  color: var(--muted-dark);
}

.hero-copy p {
  margin-top: 20px;
  max-width: 62ch;
}

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

.hero-actions {
  margin-top: 28px;
}

.chip-row,
.trust-row {
  margin-top: 18px;
}

.chip,
.trust-badge,
.stat-badge {
  display: inline-flex;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.panel,
.card,
.spotlight,
.event-card,
.contact-card,
.page-banner,
.video-card,
.logo-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.panel,
.card,
.event-card,
.video-card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.light-shell .card,
.light-shell .event-card,
.light-shell .video-card,
.light-shell .contact-card,
.light-shell .spotlight,
.light-shell .page-banner,
.light-shell .logo-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line-dark);
}

.spotlight,
.contact-card,
.page-banner {
  padding: 28px;
}

.page-banner {
  background:
    radial-gradient(circle at top left, rgba(217, 170, 82, 0.22), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(245, 239, 228, 0.88));
  color: var(--text-dark);
}

.light-shell .page-banner {
  background:
    radial-gradient(circle at top left, rgba(240, 127, 104, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(241, 233, 219, 0.86));
}

.section {
  padding: 30px 0;
}

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

.section-head h2 {
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: 0.95;
}

.card h3,
.spotlight h3,
.event-card h3,
.contact-card h3,
.video-card h3 {
  font-size: 1.4rem;
  margin-top: 14px;
}

.icon-chip {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(240, 127, 104, 0.95), rgba(217, 170, 82, 0.92));
  color: #07111f;
  font-weight: 800;
}

.detail-list,
.meta-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.detail-list div,
.meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.light-shell .detail-list div,
.light-shell .meta-list div {
  border-bottom-color: rgba(15, 28, 44, 0.08);
  color: var(--muted-dark);
}

.detail-list strong,
.detail-list span:last-child,
.meta-list span:last-child {
  color: var(--text);
  text-align: right;
}

.light-shell .detail-list strong,
.light-shell .detail-list span:last-child,
.light-shell .meta-list span:last-child {
  color: var(--text-dark);
}

.tag-row {
  margin-top: 18px;
}

.tag-row span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: inherit;
}

.light-shell .tag-row span {
  background: rgba(15, 28, 44, 0.05);
  border-color: rgba(15, 28, 44, 0.08);
}

.media-slot,
.video-slot,
.logo-slot {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.26);
  background:
    linear-gradient(135deg, rgba(240, 127, 104, 0.16), rgba(97, 198, 194, 0.18)),
    rgba(255, 255, 255, 0.04);
  min-height: 220px;
}

.light-shell .media-slot,
.light-shell .video-slot,
.light-shell .logo-slot {
  border-color: rgba(15, 28, 44, 0.14);
  background:
    linear-gradient(135deg, rgba(240, 127, 104, 0.1), rgba(97, 198, 194, 0.12)),
    rgba(255, 255, 255, 0.9);
}

.media-slot.banner-slot {
  min-height: 320px;
}

.media-slot.square-slot,
.logo-slot {
  min-height: 160px;
}

.slot-image,
.slot-frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: inherit;
  border: 0;
}

.slot-placeholder {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 10px;
  background: linear-gradient(180deg, rgba(6, 16, 29, 0.1), rgba(6, 16, 29, 0.64));
}

.light-shell .slot-placeholder {
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(15, 28, 44, 0.08));
}

.slot-placeholder strong {
  font-size: 1rem;
}

.slot-placeholder span {
  font-size: 0.88rem;
  color: var(--muted);
}

.light-shell .slot-placeholder span {
  color: var(--muted-dark);
}

.logo-slot {
  display: grid;
  place-items: center;
  padding: 20px;
  min-height: 140px;
}

.logo-slot .slot-placeholder {
  position: static;
  background: none;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.page-title {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  color: var(--text-dark);
}

.page-lead {
  margin-top: 14px;
  max-width: 68ch;
}

.banner-caption {
  margin-top: 12px;
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.video-card .video-slot {
  margin-top: 16px;
  min-height: 280px;
}

.page-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.page-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 28, 44, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-dark);
}

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

.stat-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.light-shell .stat-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 28, 44, 0.08);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 6px;
}

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 28, 44, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-dark);
  font: inherit;
  outline: none;
}

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

.success {
  display: none;
  margin-top: 14px;
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(97, 198, 194, 0.16);
  border: 1px solid rgba(97, 198, 194, 0.28);
  color: #0d403f;
}

.footer {
  padding: 24px 0 44px;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.light-shell .footer-shell {
  border-top-color: rgba(15, 28, 44, 0.08);
  color: var(--muted-dark);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .home-hero-grid,
  .home-media-row,
  .home-editorial-grid,
  .home-editorial-media,
  .home-proof-rail,
  .split-grid,
  .three-grid,
  .four-grid,
  .media-grid,
  .contact-grid,
  .logo-grid,
  .member-hero-grid,
  .member-layout,
  .member-dashboard-overview,
  .member-auth-grid,
  .member-card-grid,
  .member-invoice-grid,
  .member-directory-grid,
  .member-notification-grid,
  .stat-band {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .member-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .hero-panel,
  .page-banner {
    padding: 22px;
    border-radius: 28px;
  }

  .home-hero-panel {
    padding: 24px;
  }

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

  .nav-actions,
  .hero-actions,
  .mini-row,
  .member-actions,
  .member-section-head {
    width: 100%;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .member-summary-header {
    align-items: flex-start;
  }

  .member-search-row,
  .task-controls {
    grid-template-columns: 1fr;
  }

  form {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer-shell {
    flex-direction: column;
    align-items: start;
  }
}
