:root {
  --bg: #08111f;
  --bg-alt: #101b2d;
  --panel: #ffffff;
  --panel-muted: #eef3f8;
  --text: #0b1220;
  --text-on-dark: #f8fbff;
  --accent: #ffb703;
  --accent-strong: #fb8500;
  --danger: #b42318;
  --success: #146c43;
  --border: #d8e1eb;
  --shadow: 0 18px 48px rgba(2, 12, 27, 0.12);
  --radius: 1.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef5ff 0%, #ffffff 32%, #f8fbff 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.container { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 4.5rem 0; }
.stack-xl > * + * { margin-top: 2.5rem; }
.stack-lg > * + * { margin-top: 1.5rem; }
.stack-md > * + * { margin-top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  z-index: 1000;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: static;
  backdrop-filter: blur(12px);
  background: rgba(8, 17, 31, 0.92);
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner,
.header-actions,
.brand,
.nav-list,
.hero-actions,
.form-row,
.stats-grid,
.social-icon-list,
.header-nav-shell,
.section-cta-row {
  display: flex;
  gap: 1rem;
}

.header-inner,
.brand,
.header-nav-shell {
  align-items: center;
  justify-content: space-between;
}

.header-inner {
  padding: 0.95rem 0;
  flex-wrap: wrap;
}

.brand {
  text-decoration: none;
  color: inherit;
  justify-content: flex-start;
  gap: 0.9rem;
}

.brand img {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  object-fit: cover;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand small,
.record-date,
.fine-print {
  color: rgba(248, 251, 255, 0.78);
  font-size: 0.92rem;
}

.admin-body .record-date,
.admin-body .fine-print {
  color: #5e6c84;
}

.header-nav-shell {
  flex-wrap: wrap;
  flex: 1 1 24rem;
  min-width: 0;
  justify-content: flex-end;
}
.nav-list,
.social-icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.nav-list { min-width: 0; }

.nav-list a {
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current='page'] {
  color: var(--accent);
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.social-icon-link[aria-disabled='true'] {
  opacity: 0.45;
  cursor: not-allowed;
}

.social-icon-link:hover,
.social-icon-link:focus-visible,
.social-icon-link[aria-current='page'] {
  background: rgba(255, 183, 3, 0.16);
  color: var(--accent);
  transform: translateY(-1px);
}

.social-icon-link svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.store-cart-link {
  width: auto;
  min-height: 2.7rem;
  padding: 0.35rem 0.75rem;
  gap: 0.4rem;
}

.store-cart-total {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
}

.store-cart-count {
  font-size: 0.8rem;
  opacity: 0.92;
}

.store-cart-total-banner {
  font-size: 1.2rem;
}

.hero-section,
.page-hero {
  background: radial-gradient(circle at top right, rgba(255, 183, 3, 0.24), transparent 26%),
    linear-gradient(135deg, var(--bg), #14345d);
  color: var(--text-on-dark);
}

.hero-section { padding: 5.5rem 0 4.25rem; }
.page-hero { padding: 4.75rem 0 3.25rem; }

.hero-grid,
.two-column-layout,
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-copy-shell { max-width: 42rem; }
.hero-copy,
.page-intro {
  font-size: 1.1rem;
  max-width: 46rem;
}

.hero-card,
.card,
.stat-card,
.filter-bar,
.feature-panel,
.about-section-card {
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

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

.filter-bar label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.9rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid var(--border);
  font: inherit;
  background: #fff;
}

.hero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.section-quiet {
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.section-video {
  background: linear-gradient(180deg, #f2f8ff, #e7f1ff);
}

.section-contrast {
  background: linear-gradient(180deg, #ffffff, #f2f7ff);
}

.section-about-preview {
  background: linear-gradient(180deg, #fff9ef, #fff3d9);
}

.section-tone {
  background: linear-gradient(180deg, #f9fbff, #eff5ff);
}

.campaign-tone-panel {
  gap: 1.5rem;
}

.tone-column {
  min-width: 0;
  padding: 1.25rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--border);
}

.tone-column h2,
.tone-column h3 {
  margin-top: 0;
}

.section-faq-callout {
  background: linear-gradient(180deg, #fff, #f8fbff);
  border-top: 1px solid #dde7f1;
  border-bottom: 1px solid #dde7f1;
}

.hero-logo {
  width: min(100%, 320px);
  margin: 0 auto 1rem;
  border-radius: 1.5rem;
}

.hero-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-strong);
  margin: 0 0 0.75rem;
}

.section-heading h2,
.hero-section h1,
.page-hero h1,
.auth-card h1,
.faq-card h3,
.qa-feed-card h2 {
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.left-aligned { text-align: left; }
.compact-heading h2 { margin-bottom: 0; }

.section-dark {
  background: linear-gradient(180deg, #0d1728, #11223c);
  color: var(--text-on-dark);
}

.section-accent {
  background: linear-gradient(180deg, #fff8e8, #fffdf8);
}

.section-question-form {
  background: linear-gradient(180deg, #f5f8fc, #ffffff);
}

.card-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--panel-muted);
}

.tag-supportive { background: #dff6e7; color: #14532d; }
.tag-warning { background: #fff4cc; color: #7a4b00; }
.tag-danger { background: #ffe0e3; color: #8c1020; }

.notice {
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
}

.notice.success { background: #e4f8ec; color: var(--success); }
.notice.error { background: #ffe7ea; color: var(--danger); }

.status-region { padding-top: 1.5rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #111;
  box-shadow: 0 10px 28px rgba(251, 133, 0, 0.24);
}

.button-secondary {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}

.form label { display: block; font-weight: 600; }

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

.form input,
.form textarea,
.form select {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.9rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid var(--border);
  font: inherit;
  background: #fff;
}

.form textarea { resize: vertical; }
.checkbox-row { display: flex !important; align-items: center; gap: 0.75rem; }
.checkbox-row input { width: auto; margin-top: 0; }
.form-checkbox-group {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fbfdff;
}
.form-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 0.5rem;
}
.honeypot { position: absolute; left: -9999px; }

.feature-panel {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.feature-panel-actions {
  display: flex;
  justify-content: flex-start;
}

.section-cta-row {
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.faq-card,
.qa-feed-card,
.empty-state {
  padding: 1.75rem;
}

.qa-search-bar,
.qa-results {
  min-width: 0;
}

.qa-page-shell {
  max-width: 72rem;
}

.qa-page-intro-card {
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.qa-page-intro-card .card {
  box-shadow: none;
  border: 1px solid var(--border);
}

.qa-results-group {
  min-width: 0;
}

.qa-feed {
  display: grid;
  gap: 1.5rem;
}

.qa-search-bar + .qa-results,
.qa-search-bar + .empty-state {
  margin-top: 1.75rem;
}

.qa-answer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.qa-faq-item summary {
  align-items: center;
}

.qa-faq-item summary h2 {
  margin: 0;
  font-size: 1.15rem;
}

.about-editorial {
  display: grid;
  gap: 1.75rem;
}

.about-page-shell {
  width: 100%;
  max-width: 960px;
}

.about-section-card {
  padding: 2rem;
  min-width: 0;
}

.about-section-heading {
  max-width: 44rem;
  margin-bottom: 1rem;
}

.about-copy {
  max-width: 48rem;
  font-size: 1.05rem;
}

.about-copy p,
.about-section-heading h2,
.qa-faq-item h2,
.recipient-option span,
.mini-card p {
  overflow-wrap: anywhere;
}

.bio-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 320px));
  justify-content: center;
  gap: 1rem;
}

.bio-photo-card,
.bio-gallery-item {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
}

.bio-photo-card {
  width: min(100%, 320px);
  margin: 0 auto;
}

.bio-photo-card img,
.bio-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bio-photo-2189 {
  object-position: center 20%;
}

.bio-photo-card figcaption,
.bio-gallery-item figcaption {
  padding: 0.75rem 0.9rem;
  font-weight: 600;
}

.bio-gallery-shell {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #f7faff;
}

.bio-gallery-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding: 0.5rem;
}

.bio-gallery-item {
  flex: 1 1 220px;
  max-width: 320px;
}

.image-fallback .image-fallback-note,
.image-fallback-note {
  display: grid;
  place-content: center;
  min-height: 12rem;
  padding: 1rem;
  text-align: center;
  color: #45556d;
  background: var(--panel-muted);
}

.image-fallback-note[hidden] {
  display: none !important;
}

.store-image-button {
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
}

.store-image-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 1rem;
}

.store-image-button img {
  width: 100%;
  border-radius: 1rem;
}

.mobile-menu-button {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.75rem;
  padding: 0.55rem;
}

.mobile-menu-button span {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: var(--text-on-dark);
}

.mobile-menu-button span + span {
  margin-top: 0.25rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 2rem 0;
  text-align: center;
}

.tag-list,
.label-grid,
.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.label-grid {
  gap: 0.75rem 1rem;
}

.mini-card {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  background: #fbfdff;
}

.admin-checkbox {
  margin-top: 1.8rem;
}

.legal-strip {
  padding: 1rem 0 0;
}

.legal-links {
  justify-content: center;
}

fieldset {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}

legend {
  font-weight: 700;
  text-transform: capitalize;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.auth-card { width: min(100%, 34rem); }

.auth-brand {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.auth-brand img,
.inline-logo {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  border-radius: 1rem;
}

.admin-body { background: #f3f7fb; }
.admin-header { position: static; }
.stats-grid { flex-wrap: wrap; }
.admin-sections-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.admin-sections-grid .button {
  width: 100%;
  min-width: 0;
  text-align: center;
}
.team-chat-dashboard-link {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.team-chat-unread-dot {
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #d90429;
  color: #fff;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.4rem;
}
.floating-chat-link {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #0b2f5b;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  z-index: 20;
}
.floating-chat-link svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}
.floating-chat-link .team-chat-unread-dot {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
  margin: 0;
}

.team-chat-shell {
  display: grid;
  gap: 0.55rem;
  max-height: 52vh;
  overflow-y: auto;
  padding: 0.2rem;
}
.chat-bubble {
  display: grid;
  gap: 0.25rem;
  background: #f4f7fb;
  border: 1px solid #d8e2ef;
  border-radius: 0.75rem;
  padding: 0.55rem 0.7rem;
  max-width: min(100%, 35rem);
}
.chat-bubble-own {
  margin-left: auto;
  background: #e8f5e9;
  border-color: #c8e6c9;
}
.chat-inline-actions {
  display: flex;
  gap: 0.45rem;
  justify-content: flex-end;
  margin-top: 0.2rem;
}
.chat-inline-actions .button {
  padding: 0.3rem 0.55rem;
  font-size: 0.8rem;
}
.team-chat-shell-compact {
  max-height: 20rem;
}
.chat-drawer {
  position: fixed;
  right: 1rem;
  bottom: 4.4rem;
  width: min(30rem, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid #d8e2ef;
  border-radius: 0.8rem;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  padding: 0.8rem;
  display: grid;
  gap: 0.55rem;
  z-index: 25;
}
.chat-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.suggestion-launcher {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
}
.suggestion-launcher > summary {
  list-style: none;
  display: block;
}
.suggestion-launcher > summary::-webkit-details-marker {
  display: none;
}
.suggestion-launcher > summary::marker {
  content: '';
}
.suggestion-launcher > summary::after {
  content: none;
}
.suggestion-launcher-button {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #0b2f5b;
  color: #fff;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  margin: 0;
  border: 0;
  overflow: hidden;
}
.suggestion-launcher-button svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
  display: block;
  margin: 0;
  pointer-events: none;
}
.suggestion-launcher-panel {
  position: absolute;
  right: 0;
  bottom: 3.8rem;
  width: min(28rem, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid #d8e2ef;
  border-radius: 0.8rem;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  padding: 1rem;
}
.suggestion-launcher-header,
.suggestion-launcher-actions,
.form-inline {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.suggestion-launcher-panel textarea {
  width: 100%;
}
.chat-drawer-header h2 {
  margin: 0;
  font-size: 1.05rem;
}
.chat-drawer-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.chat-drawer-compose-actions {
  display: flex;
  justify-content: flex-end;
}

.stat-card {
  min-width: 10rem;
  flex: 1 1 10rem;
  display: grid;
  gap: 0.35rem;
}

.stat-card strong { font-size: 2rem; }

.table-shell {
  overflow-x: auto;
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.facility-contact-role-row {
  background: #eefbf3;
}

.facility-contact-role-row td:first-child {
  border-left: 0.35rem solid #15803d;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e6edf4;
}

.admin-record-header,
summary,
.summary-title,
.summary-flags {
  display: flex;
  gap: 1rem;
}

.admin-record-header,
summary {
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

summary {
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }
summary::after { content: '▾'; font-size: 1.1rem; font-weight: 700; }
details:not([open]) summary::after { transform: rotate(-90deg); }
.details-body { padding-top: 1rem; }


.video-placeholder {
  min-height: 16rem;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  text-align: center;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: linear-gradient(180deg, #f8fbff, #eef3f8);
  padding: 2rem;
}

.button-danger {
  background: #fff1f2;
  color: var(--danger);
  border: 1px solid #fecdd3;
}

.form-row-grid,
.form-row-grid-three,
.admin-user-grid,
.experience-grid {
  display: grid;
  gap: 1rem;
}

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

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

.align-center { align-items: center; }
.wrap-row { flex-wrap: wrap; }

.admin-user-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.campaign-editor {
  min-height: 220px;
}

.card-muted {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  background: #fbfdff;
}

.recipient-selector,
.recipient-review-list,
.recipient-list {
  min-width: 0;
}

.recipient-list,
.recipient-review-list {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.recipient-option {
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
  align-items: flex-start;
}

.recipient-option.is-hidden {
  display: none !important;
}

.recipient-option small {
  display: block;
  color: #5e6c84;
}

.email-preview-shell {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #fff;
}

.editorial-list {
  margin: 0;
  padding-left: 1.25rem;
}

.editorial-list li + li {
  margin-top: 0.45rem;
}

.experience-grid section {
  background: var(--panel-muted);
  border-radius: 1rem;
  padding: 1.25rem;
  min-width: 0;
}

.experience-wide {
  grid-column: 1 / -1;
}

.modal {
  width: min(100%, 34rem);
  border: none;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(8, 17, 31, 0.52);
}

.store-image-modal {
  width: min(100%, 52rem);
}

.store-image-modal img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 1rem;
}

.modal-close-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
  }

  .two-column-layout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }

  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-panel { grid-template-columns: 1.4fr auto; }
  .video-panel,
  .promise-panel { grid-template-columns: 1.2fr 0.8fr; }
}

@media (max-width: 767px) {
  .header-actions,
  .hero-actions,
  .form-row,
  .stats-grid,
  .header-nav-shell {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list,
  .social-icon-list {
    justify-content: flex-start;
  }

  .mobile-menu-button {
    display: inline-flex;
    flex-direction: column;
  }

  .header-nav-shell {
    display: none;
    flex: 1 1 100%;
    width: 100%;
    padding: 1rem;
    border-radius: 0.85rem;
    background: rgba(8, 17, 31, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .site-header.is-mobile-open .header-nav-shell {
    display: flex;
  }

  .social-icon-link {
    width: 2.3rem;
    height: 2.3rem;
  }

  .hero-section { padding-top: 4.5rem; }
  .page-hero { padding-top: 4rem; }
  .section { padding: 3.5rem 0; }
}

@media (max-width: 767px) {
  .form-row-grid,
  .form-row-grid-three,
  .form-fields-grid,
  .video-panel,
  .promise-panel {
    grid-template-columns: 1fr;
  }

  .bio-gallery-item {
    flex-basis: 100%;
    max-width: none;
  }

  .table-shell {
    overflow-x: visible;
    box-shadow: none;
    background: transparent;
  }

  .table-shell table,
  .table-shell thead,
  .table-shell tbody,
  .table-shell tr,
  .table-shell th,
  .table-shell td {
    display: block;
    width: 100%;
  }

  .table-shell thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .table-shell tr {
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: #fff;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
  }

  .table-shell td {
    border-bottom: none;
    padding: 0.65rem 1rem;
  }

  .table-shell td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    margin-bottom: 0.15rem;
    color: #3e4f68;
    font-size: 0.85rem;
  }
}

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