*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0b1220;
  --navy-mid: #111d2e;
  --navy-card: #162035;
  --navy-border: rgba(255,255,255,0.08);
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim: rgba(201,168,76,0.15);
  --text: #e8eaf0;
  --text-muted: #7c8ba1;
  --text-soft: #b0bac9;
  --white: #ffffff;
  --success: #3ecf8e;
  --warning: #f5a623;
  --info: #4a9eff;
  --sans: 'Inter', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.report-viewer-open {
  overflow: hidden;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,18,32,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--navy-border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--gold);
  letter-spacing: 0.01em;
  text-decoration: none;
}
.nav-logo-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-logo-title {
  color: var(--gold);
  font-size: 15px;
}
.nav-logo-affiliation {
  margin-top: 3px;
  color: var(--text-muted);
  font: 500 8px/1.2 var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.nav-logo-img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--gold-light);
}

/* HERO */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(201,168,76,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(74,158,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  padding-left: clamp(0px, 30vw, 300px);
  z-index: 1;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-title-lockup {
  display: block;
  margin-bottom: 1.5rem;
}
.hero-title-lockup h1 {
  margin-bottom: 0;
}
.hero-logo-disc {
  position: absolute;
  top: 50%;
  right: -15%;
  z-index: 0;
  width: clamp(480px, 48vw, 720px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.96;
  transform: translateY(-50%);
}
.hero-logo-disc img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  clip-path: circle(48% at center);
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.28));
  animation: hero-disc-spin 36s linear infinite;
  will-change: transform;
}
@keyframes hero-disc-spin {
  to { transform: rotate(360deg); }
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 400px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: #0b1220;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* STAT BAR */
.stat-bar {
  background: var(--navy-card);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.stat-item {
  padding: 1rem 2rem;
  border-right: 1px solid var(--navy-border);
  text-align: center;
}
.stat-item:last-child {
  border-right: none;
}
.stat-number {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* SECTION COMMONS */
section {
  padding: 5rem 2rem;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
}
.divider {
  border: none;
  border-top: 1px solid var(--navy-border);
  margin: 0;
}

/* BUDGET SECTION */
.budget-section {
  background: var(--navy-mid);
}
.budget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}
.budget-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.bar-dept {
  width: 100px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  flex-shrink: 0;
}
.bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 1s ease;
}
.bar-amt {
  width: 80px;
  font-size: 12px;
  color: var(--text-soft);
  flex-shrink: 0;
  text-align: right;
}
.budget-summary {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 8px;
  padding: 2rem;
}
.budget-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--navy-border);
  font-size: 14px;
}
.budget-summary-row:last-child {
  border-bottom: none;
}
.budget-summary-row .label {
  color: var(--text-muted);
}
.budget-summary-row .val {
  color: var(--white);
  font-weight: 500;
}
.budget-summary-row .val.gold {
  color: var(--gold);
}
.budget-summary-row .val.success {
  color: var(--success);
}
.progress-bar-outer {
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  height: 6px;
  margin-top: 1.2rem;
}
.progress-bar-inner {
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, #c9a84c, #e8c97a);
  width: 64%;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* PROGRAMS CAROUSEL */
.programs-viewport {
  overflow-x: clip;
  overflow-y: visible;
  margin-top: 1rem;
}
.programs-track {
  display: flex;
  width: max-content;
  animation: programs-carousel-scroll 24s linear infinite;
}
.programs-grid {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  gap: 16px;
  margin-right: 16px;
}
@keyframes programs-carousel-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(0px - var(--programs-carousel-distance, 50%)), 0, 0);
  }
}
.program-card {
  flex: 0 0 clamp(240px, calc((min(1100px, 100vw - 4rem) - 48px) / 4), 360px);
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}
.program-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28), 0 0 0 1px rgba(201,168,76,0.16);
  transform: translateY(-8px);
}
.program-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 16px;
}
.program-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.program-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.program-budget {
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  font-family: var(--serif);
}
.program-budget-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
body.admin-mode .programs-viewport {
  overflow: visible;
}
body.admin-mode .programs-track {
  width: 100%;
  animation: none;
}
body.admin-mode .programs-grid {
  display: grid;
  flex: 1 1 100%;
  width: 100%;
  margin-right: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
body.admin-mode .programs-grid[aria-hidden="true"] {
  display: none;
}

@media (prefers-reduced-motion: reduce) and (min-width: 769px) {
.programs-viewport {
  overflow: visible;
}
.programs-track {
  width: 100%;
  animation: none;
}
  .programs-grid {
    display: grid;
    width: 100%;
    margin-right: 0;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  }
.programs-grid[aria-hidden="true"] {
  display: none;
}
}

/* TIMELINE SECTION */
.timeline {
  position: relative;
  margin-top: 3.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--navy-border);
}
.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--navy-border);
  background: var(--navy-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.timeline-dot.active {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
}
.timeline-dot.done {
  background: rgba(62,207,142,0.1);
  border-color: var(--success);
  color: var(--success);
}
.timeline-dot.upcoming {
  border-style: dashed;
}
.timeline-body {
  padding-top: 6px;
}
.timeline-status {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline-status.active {
  color: var(--gold);
}
.timeline-status.done {
  color: var(--success);
}
.timeline-status.upcoming {
  color: var(--text-muted);
}
.timeline-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.timeline-date {
  font-size: 12px;
  color: var(--text-muted);
}
.add-timeline-step-button {
  display: none;
  margin: 0 0 0 72px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 6px;
  padding: 9px 14px;
  background: transparent;
  color: var(--gold-light);
  font: inherit;
  cursor: pointer;
}
.add-timeline-step-button:hover {
  background: rgba(201,168,76,0.1);
}
body.admin-mode .add-timeline-step-button {
  display: inline-flex;
}

/* AUDIT TABLE */
.audit-section {
  background: var(--navy-mid);
}
.audit-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  font-size: 14px;
}
.audit-table th {
  text-align: left;
  padding: 10px 16px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--navy-border);
  font-weight: 500;
}
.audit-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--navy-border);
  color: var(--text-soft);
  vertical-align: middle;
}
.audit-table tr:last-child td {
  border-bottom: none;
}
.audit-table tbody tr:hover td {
  background: rgba(255,255,255,0.02);
}
.pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
}
.pill-complete {
  background: rgba(62,207,142,0.12);
  color: var(--success);
}
.pill-not-started {
  background: rgba(255,91,91,0.12);
  color: #ff6b6b;
}
.pill-review {
  background: rgba(74,158,255,0.12);
  color: var(--info);
}
.pill-pending {
  background: rgba(245,166,35,0.12);
  color: var(--warning);
}
.pill-none {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
}
.dl-link {
  font-size: 12px;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.dl-link:hover {
  color: var(--gold-light);
  text-decoration: underline;
}
.audit-pending-release {
  font-size: 12px;
  color: var(--text-muted);
}
.add-audit-report-button {
  display: none;
  margin-top: 1rem;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 6px;
  padding: 9px 14px;
  background: transparent;
  color: var(--gold-light);
  font: inherit;
  cursor: pointer;
}
.add-audit-report-button:hover {
  background: rgba(201,168,76,0.1);
}
body.admin-mode .add-audit-report-button {
  display: inline-flex;
}
tr[data-liquidation-group] {
  cursor: pointer;
}
.liquidation-group-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.liquidation-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.liquidation-group-chevron {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(-45deg);
  transition: transform 0.25s ease;
}
.liquidation-group-toggle[aria-expanded="true"] .liquidation-group-chevron {
  transform: rotate(45deg);
}
.liquidation-event-row td {
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
  transition: padding 0.28s ease, border-color 0.28s ease;
}
.liquidation-event-row .liquidation-cell-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.2s ease;
}
.liquidation-event-name {
  display: block;
  width: calc(100% + 32px);
  margin-left: -16px;
  padding: 0 16px;
  box-sizing: border-box;
}
.liquidation-event-row.expanded td {
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom-color: var(--navy-border);
}
.liquidation-event-row.expanded .liquidation-cell-content {
  max-height: 160px;
  overflow: visible;
  opacity: 1;
}
.liquidation-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 6px;
}
.liquidation-admin-actions {
  display: none;
}
body.admin-mode .liquidation-admin-actions {
  display: flex;
}
[data-liquidation-field][data-placeholder]:empty::before {
  content: attr(data-placeholder);
  color: var(--text-muted);
  pointer-events: none;
}
.liquidation-admin-actions button {
  padding: 4px 8px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 4px;
  background: transparent;
  color: var(--gold-light);
  font: 600 10px var(--sans);
  cursor: pointer;
}
.liquidation-admin-actions .delete-liquidation-report {
  border-color: rgba(255,91,91,0.45);
  color: #ff9a8f;
}
.liquidation-editor[hidden] {
  display: none;
}
.liquidation-editor {
  position: fixed;
  inset: 0;
  z-index: 135;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(3,8,16,0.78);
}
.liquidation-editor-card {
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 22px;
  border: 1px solid rgba(201,168,76,0.45);
  border-radius: 8px;
  background: var(--navy-card);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}
.liquidation-editor-card h2 {
  margin: 0 0 12px;
  color: var(--white);
  font: 700 21px var(--serif);
}
.liquidation-editor-card label {
  margin: 10px 0 5px;
  color: var(--text-soft);
  font-size: 11px;
}
.liquidation-editor-card input,
.liquidation-editor-card select,
.liquidation-editor-card textarea {
  width: 100%;
  border: 1px solid var(--navy-border);
  border-radius: 4px;
  padding: 9px 10px;
  outline: none;
  background: var(--navy);
  color: var(--text);
  font: 12px/1.5 var(--sans);
}
.liquidation-editor-card input:focus,
.liquidation-editor-card select:focus,
.liquidation-editor-card textarea:focus {
  border-color: var(--gold);
}
.liquidation-editor-card input[type="file"] {
  padding: 7px;
}
.liquidation-editor-card .pdf-link-editor-actions {
  position: sticky;
  bottom: -22px;
  margin: 14px -22px -22px;
  padding: 12px 22px;
  border-top: 1px solid var(--navy-border);
  background: var(--navy-card);
}
.liquidation-editor-card .pdf-link-editor-actions button[type="submit"] {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}
@media (prefers-reduced-motion: reduce) {
  .liquidation-group-chevron,
  .liquidation-event-row td,
  .liquidation-event-row .liquidation-cell-content {
    transition-duration: 0.01ms;
  }
}

/* PROJECT ACCORDION */
.projects-section {
  background: var(--navy);
}
.project-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2.5rem;
}
.project-item {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.project-item.open {
  border-color: rgba(201,168,76,0.5);
}
.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
}
.project-header:hover .project-title {
  color: var(--gold-light);
}
.project-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.project-number {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid rgba(201,168,76,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: var(--gold); flex-shrink: 0;
}
.project-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}
.project-category {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 3px 10px; border-radius: 99px;
  background: rgba(255,255,255,0.06); color: var(--text-muted);
}
.project-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.project-budget-preview {
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
}
.project-chevron {
  width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: transform 0.25s;
}
.project-item.open .project-chevron {
  transform: rotate(180deg);
  color: var(--gold);
}
.project-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 1.5rem;
}
.project-item.open .project-body {
  max-height: 600px;
  padding: 0 1.5rem 1.5rem;
}
.project-description {
  font-size: 13px; color: var(--text-soft); line-height: 1.7;
  padding: 1rem 0; border-bottom: 1px solid var(--navy-border); margin-bottom: 1rem;
}
.budget-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.budget-col {
  background: rgba(255,255,255,0.03); border-radius: 6px;
  padding: 1rem 1.25rem; border: 1px solid var(--navy-border);
}
.budget-col-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted); margin-bottom: 6px;
}
.budget-col-amount {
  font-size: 22px;
  font-weight: 600;
  font-family: var(--serif);
}
.budget-col-amount.proposed {
  color: var(--gold);
}
.budget-col-amount.actual {
  color: var(--success);
}
.budget-col-amount.pending {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
}
.actual-expenses-editor {
  display: none;
  align-items: baseline;
  gap: 2px;
  color: var(--success);
  font: 600 22px var(--serif);
}
.actual-expenses-editor input {
  width: 130px;
  max-width: 100%;
  border: 0;
  border-bottom: 1px dashed rgba(62,207,142,0.6);
  border-radius: 0;
  padding: 0 2px;
  outline: none;
  background: transparent;
  color: inherit;
  font: inherit;
}
.actual-expenses-editor input:focus {
  border-bottom-color: var(--success);
}
body.admin-mode .actual-expenses-editor {
  display: inline-flex;
}
body.admin-mode .budget-col-amount.actual {
  display: none;
}
.budget-col-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.budget-variance {
  margin-top: 10px; font-size: 12px; padding: 6px 10px; border-radius: 4px;
  display: inline-flex; align-items: center; gap: 6px;
}
.budget-variance.under {
  background: rgba(62,207,142,0.1);
  color: var(--success);
}
.budget-variance.over {
  background: rgba(245,166,35,0.1);
  color: var(--warning);
}
.budget-variance.pending-var {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
}
.add-project-button {
  display: none;
  margin-top: 1rem;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 6px;
  padding: 9px 14px;
  background: transparent;
  color: var(--gold-light);
  font: inherit;
  cursor: pointer;
}
.add-project-button:hover {
  background: rgba(201,168,76,0.1);
}
body.admin-mode .add-project-button {
  display: inline-flex;
}

/* BUDGET EDITORS AND CALCULATED VALUES */
.editable-num {
  background: transparent;
  border: none;
  border-bottom: 1px dashed rgba(201,168,76,0.5);
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  width: auto;
  min-width: 60px;
  max-width: 140px;
  text-align: right;
  outline: none;
  padding: 0 2px;
  cursor: text;
}
.editable-num:focus {
  border-bottom-color: var(--gold);
  color: var(--gold);
}
.calc-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
}
.bar-amt-wrap {
  display:flex;
  align-items:center;
  gap:4px;
  justify-content:flex-end;
}
.allocation-editor {
  display: none;
  width: 110px;
  max-width: 100%;
  border: 0;
  border-bottom: 1px dashed rgba(201,168,76,0.5);
  border-radius: 0;
  padding: 2px;
  outline: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: right;
}
.allocation-editor:focus {
  border-bottom-color: var(--gold);
  color: var(--gold-light);
}
body.admin-mode .allocation-editor {
  display: inline-block;
}
body.admin-mode .allocation-display {
  display: none;
}
.disbursed-editor {
  display: none;
  width: 120px;
  max-width: 100%;
  border: 0;
  border-bottom: 1px dashed rgba(201,168,76,0.5);
  border-radius: 0;
  padding: 2px;
  outline: none;
  background: transparent;
  color: var(--white);
  font: inherit;
  text-align: right;
}
.summary-amount-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.disbursed-editor:focus {
  border-bottom-color: var(--gold);
  color: var(--gold-light);
}
body.admin-mode .disbursed-editor {
  display: inline-block;
}
body.admin-mode #sum-disbursed {
  display: none;
}
#sum-remaining.over-budget {
  color: var(--warning);
}
.variance-tag {
  display:inline-block; font-size:11px; font-weight:600;
  padding: 3px 10px; border-radius:99px; margin-top:8px;
}
.variance-under {
  background: rgba(62,207,142,0.1);
  color: var(--success);
}
.variance-over {
  background: rgba(245,166,35,0.1);
  color: var(--warning);
}
.variance-even {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
}
.variance-pending {
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
}

/* FOOTER */
footer {
  background: #070e1a;
  border-top: 1px solid var(--navy-border);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 3fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.75rem;
}
.footer-brand-logo {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.footer-brand-name {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 0;
  white-space: nowrap;
}
.footer-brand-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col-title {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover {
  color: var(--gold-light);
}
@media (min-width: 769px) {
  .footer-col:last-child ul a {
    white-space: nowrap;
  }
}
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--navy-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* MOMENTS THAT MATTER */
.moments-section {
  overflow: hidden;
  background: var(--navy-mid);
}
.moments-carousel {
  overflow: hidden;
  margin-top: 2rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.moments-carousel + .moments-carousel {
  margin-top: 1rem;
}
.moments-track {
  display: flex;
  width: max-content;
  animation: moments-carousel-scroll var(--moments-duration, 62s) linear infinite;
  will-change: transform;
}
.moments-sequence {
  display: flex;
  flex: 0 0 auto;
  gap: 14px;
  padding-right: 14px;
}
.moments-photo {
  position: relative;
  flex: 0 0 clamp(210px, 25vw, 270px);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--navy-border);
  border-radius: 6px;
  background: var(--navy-card);
}
.moments-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.12s ease, transform 0.45s ease;
}
.moments-carousel:hover .moments-track,
.moments-carousel:focus-within .moments-track {
  animation-play-state: paused;
}
.moments-carousel:hover .moments-photo img,
.moments-carousel:not(:hover):focus-within .moments-photo img {
  filter: grayscale(1);
}
.moments-carousel:hover .moments-photo:hover img,
.moments-carousel:not(:hover):focus-within .moments-photo:focus img,
.moments-carousel:not(:hover):focus-within .moments-photo:focus-within img {
  filter: grayscale(0);
  transform: scale(1.055);
}
.moments-photo:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
@keyframes moments-carousel-scroll {
  to { transform: translate3d(-50%, 0, 0); }
}
.moments-carousel[data-gallery-row="bottom"] .moments-track {
  animation-name: moments-carousel-scroll-reverse;
}
@keyframes moments-carousel-scroll-reverse {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}
.gallery-admin {
  display: none;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--navy-border);
}
body.admin-mode .gallery-admin {
  display: block;
}
.gallery-admin-intro {
  margin-bottom: 1.5rem;
}
.gallery-admin-intro .section-eyebrow {
  margin-bottom: 0.4rem;
}
.gallery-admin-intro h3 {
  margin-bottom: 0.35rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}
.gallery-admin-intro > p:last-child {
  color: var(--text-muted);
  font-size: 12px;
}
.gallery-save-status:not([hidden]) {
  margin-top: 0.5rem;
  color: var(--gold-light);
  font-size: 11px;
}
.gallery-admin-panels {
  display: grid;
  gap: 1.25rem;
}
.gallery-admin-panel {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--navy-border);
  border-radius: 8px;
  background: var(--navy-card);
}
.gallery-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.gallery-panel-heading h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
}
.gallery-panel-heading h4 span {
  margin-left: 0.65rem;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.14em;
}
.gallery-panel-heading p {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 11px;
}
.gallery-add-label,
.gallery-photo-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid rgba(201,168,76,0.45);
  border-radius: 4px;
  padding: 6px 9px;
  background: rgba(201,168,76,0.08);
  color: var(--gold-light);
  font: 600 10px var(--sans);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.gallery-add-label:hover,
.gallery-photo-actions button:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.16);
}
.gallery-add-label input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.gallery-add-label:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.gallery-photo-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--navy-border);
  border-radius: 5px;
  background: var(--navy);
}
.gallery-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--navy-mid);
}
.gallery-photo-card img.image-error {
  object-fit: contain;
  padding: 1rem;
}
.gallery-photo-name {
  overflow: hidden;
  padding: 7px 8px 4px;
  color: var(--text-soft);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gallery-empty {
  grid-column: 1 / -1;
  padding: 1rem;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}
.gallery-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 4px 7px 8px;
}
.gallery-photo-actions button {
  min-height: 28px;
  padding: 4px 6px;
  font-size: 9px;
}
.gallery-photo-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.gallery-photo-actions .gallery-delete {
  border-color: rgba(255,154,143,0.4);
  background: rgba(255,154,143,0.06);
  color: #ff9a8f;
}
.gallery-photo-actions .gallery-delete:hover {
  background: rgba(255,154,143,0.14);
}

/* ADMIN CONTROLS AND EDITORS */
.admin-toolbar {
  display: none;
  position: sticky;
  top: 60px;
  z-index: 90;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 2rem;
  border-bottom: 1px solid rgba(201,168,76,0.35);
  background: rgba(22,32,53,0.97);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
body.admin-mode .admin-toolbar {
  display: flex;
}
.admin-toolbar-copy {
  color: var(--text-soft);
  font-size: 12px;
}
.admin-toolbar-copy strong {
  color: var(--gold-light);
}
.admin-toolbar-note {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 10px;
}
.admin-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.admin-toolbar button {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  padding: 8px 12px;
  background: transparent;
  color: var(--text-soft);
  font: 600 11px var(--sans);
}
.admin-toolbar button:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
.admin-toolbar #saveContent {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}
.admin-toolbar #saveContent:hover {
  background: var(--gold-light);
}
.admin-toolbar button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.admin-login[hidden] {
  display: none;
}
.admin-login {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3,8,16,0.82);
}
.admin-login-card {
  width: min(410px, 100%);
  padding: 26px;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 8px;
  background: var(--navy-card);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}
.admin-auth-step {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}
.admin-auth-step[hidden] {
  display: none;
}
.admin-login h2 {
  margin: 0 0 7px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 25px;
}
.admin-login p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
}
.admin-login label {
  display: block;
  margin: 12px 0 6px;
  color: var(--text-soft);
  font-size: 11px;
}
.admin-login input {
  width: 100%;
  border: 1px solid var(--navy-border);
  border-radius: 4px;
  padding: 10px 11px;
  outline: none;
  background: var(--navy);
  color: var(--text);
  font: 13px var(--sans);
}
.admin-login input:focus {
  border-color: var(--gold);
}
.admin-mfa-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 14px;
}
.admin-mfa-options[hidden] {
  display: none;
}
.admin-mfa-options button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--gold-light);
  font: 600 11px var(--sans);
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}
.admin-mfa-options button:disabled {
  cursor: wait;
  opacity: .65;
}
.admin-mfa-email-note,
.admin-mfa-qr-error {
  overflow-wrap: anywhere;
}
.admin-mfa-qr {
  display: block;
  width: 176px;
  height: 176px;
  margin: 0 auto 12px;
  border-radius: 4px;
  padding: 8px;
  background: #fff;
}
.admin-mfa-qr[hidden] {
  display: none;
}
.admin-mfa-secret-label {
  overflow-wrap: anywhere;
}
.admin-mfa-secret-label code {
  display: block;
  margin-top: 6px;
  color: var(--gold-light);
  font-size: 11px;
  user-select: all;
}
.admin-login-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}
.admin-login-actions button {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  padding: 9px 13px;
  background: transparent;
  color: var(--text-soft);
  font: 600 11px var(--sans);
}
.admin-login-actions button[type="submit"] {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}
.admin-login-actions button:disabled {
  cursor: wait;
  opacity: .65;
}
.admin-login-error {
  min-height: 18px;
  margin-top: 10px;
  color: #ff9a8f;
  font-size: 11px;
}
body.admin-mode [data-admin-editable="true"] {
  outline: 1px dashed rgba(201,168,76,0.55);
  outline-offset: 3px;
  cursor: text;
}
body.admin-mode [data-admin-editable="true"]:focus {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}
.admin-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  padding: 11px 16px;
  border: 1px solid rgba(201,168,76,0.45);
  border-radius: 5px;
  background: var(--navy-card);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  font-size: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.admin-toast.visible {
  opacity: 1;
  transform: translateY(0);
}
.pdf-link-editor[hidden] {
  display: none;
}
.pdf-link-editor {
  position: fixed;
  inset: 0;
  z-index: 125;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3,8,16,0.72);
}
.pdf-link-editor-card {
  width: min(440px, 100%);
  padding: 22px;
  border: 1px solid rgba(201,168,76,0.45);
  border-radius: 8px;
  background: var(--navy-card);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}
.pdf-link-editor h2 {
  margin: 0 0 6px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 21px;
}
.pdf-link-editor p {
  margin: 0 0 15px;
  color: var(--text-muted);
  font-size: 12px;
}
.pdf-link-editor label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 11px;
}
.pdf-link-editor input {
  width: 100%;
  border: 1px solid var(--navy-border);
  border-radius: 4px;
  padding: 10px 11px;
  outline: none;
  background: var(--navy);
  color: var(--text);
  font: 12px var(--sans);
}
.pdf-link-editor input:focus {
  border-color: var(--gold);
}
.pdf-link-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}
.pdf-link-editor-actions button {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  padding: 8px 13px;
  background: transparent;
  color: var(--text-soft);
  font: 600 11px var(--sans);
}
.pdf-link-editor-actions button[type="submit"] {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}
.pdf-link-editor-actions button:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
.pdf-link-editor-actions button[type="submit"]:hover {
  background: var(--gold-light);
  color: var(--navy);
}
.report-viewer[hidden] {
  display: none;
}
.report-viewer {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 36px);
  background: rgba(3,8,16,0.86);
}
.report-viewer-card {
  display: flex;
  flex-direction: column;
  width: min(1100px, 100%);
  max-height: 92vh;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.45);
  border-radius: 10px;
  background: var(--navy-card);
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
}
.report-viewer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--navy-border);
}
.report-viewer-header h2 {
  color: var(--white);
  font: 700 20px/1.3 var(--serif);
}
.report-viewer-header p {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 12px;
}
.report-viewer-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid var(--navy-border);
  border-radius: 6px;
  background: transparent;
  color: var(--text-soft);
  font: 24px/1 var(--sans);
  cursor: pointer;
}
.report-viewer-close:hover,
.report-viewer-close:focus-visible {
  border-color: var(--gold);
  color: var(--gold-light);
}
.report-viewer-frame-wrap {
  position: relative;
  min-height: 240px;
  height: min(72vh, 760px);
  background: #070e1a;
}
.report-viewer-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #070e1a;
}
.report-viewer-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--text-soft);
  text-align: center;
}
.report-viewer-error[hidden] {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
nav {
  padding: 0 1rem;
}
.nav-links {
  display: none;
}
.hero {
  padding: 5rem 1.25rem 5rem;
  min-height: auto;
}
.hero-content {
  padding-left: clamp(0px, 8vw, 64px);
}
.hero-title-lockup h1 {
  font-size: clamp(40px, 8vw, 60px);
}
.hero-logo-disc {
  right: -28%;
  width: clamp(420px, 62vw, 580px);
  opacity: 0.46;
}
section {
  padding: 3.5rem 1.25rem;
}
.moments-carousel {
  margin-top: 1.5rem;
}
.moments-sequence {
  gap: 10px;
  padding-right: 10px;
}
.moments-photo {
  flex-basis: clamp(220px, 42vw, 300px);
}
.gallery-photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.budget-grid {
  grid-template-columns: 1fr;
}
.footer-grid {
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.stat-bar {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  transform: translateY(22px);
}
.stat-item {
  min-width: 0;
  padding: 1rem 3px;
}
.stat-item:nth-child(2) {
  border-right: 1px solid var(--navy-border);
}
.stat-item:nth-child(-n+2) {
  border-bottom: none;
}
.stat-number {
  font-size: clamp(16px, 5vw, 26px);
  white-space: nowrap;
}
.stat-label {
  font-size: clamp(6px, 1.8vw, 9px);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.hero-cta {
  transform: translateY(32px);
}
.audit-table {
  font-size: 12px;
}
.audit-table td, .audit-table th {
  padding: 10px 10px;
}
}

@media (max-width: 600px) {
.gallery-admin-panel {
  padding: 14px;
}
.gallery-photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.gallery-photo-actions button {
  flex: 1 1 auto;
}
.budget-compare {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.project-header-right .project-budget-preview {
  display: none;
}
.project-accordion {
  gap: 10px;
  margin-top: 2rem;
}
.project-header {
  gap: 12px;
  padding: 14px 18px;
}
.project-header-left {
  gap: 11px;
}
.project-number {
  width: 26px;
  height: 26px;
}
.project-title {
  font-size: 14px;
  line-height: 1.4;
}
.project-category {
  padding: 2px 9px;
}
.project-item.open .project-body {
  max-height: 700px;
  padding: 0 12px 12px;
}
.project-description {
  padding: 10px 0;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.55;
}
.budget-col {
  min-width: 0;
  padding: 10px 9px;
}
.budget-col-label {
  font-size: 8px;
  letter-spacing: 0.08em;
}
.budget-col-amount,
.actual-expenses-editor {
  font-size: 16px;
}
.budget-col-amount.pending {
  font-size: 12px;
}
.budget-col-note {
  font-size: 10px;
}
.budget-variance {
  margin-top: 8px;
  padding: 5px 8px;
  font-size: 11px;
}
}

@media (max-width: 480px) {
.hero-content {
  padding-left: 0;
}
.footer-brand-lockup {
  gap: 8px;
}
.footer-brand-logo {
  flex-basis: 32px;
  width: 32px;
  height: 32px;
}
.footer-brand-name {
  font-size: 15px;
}
.hero-title-lockup h1 {
  font-size: clamp(34px, 10vw, 46px);
}
.hero-logo-disc {
  top: 45%;
  right: -43%;
  width: clamp(340px, 88vw, 420px);
  opacity: 0.24;
}
.footer-grid {
  grid-template-columns: 1fr;
}
.hero-cta {
  flex-direction: column;
}
.btn-primary, .btn-ghost {
  text-align: center;
}
.report-viewer {
  padding: 8px;
}
.report-viewer-card {
  max-height: 96vh;
}
.report-viewer-header {
  padding: 14px;
}
.report-viewer-frame-wrap {
  height: 78vh;
}
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-disc img {
    animation: none;
  }
  .moments-photo img {
    transition: none;
  }
}

@media (max-width: 768px) {
  #audits .audit-table {
    display: block;
    width: 100%;
    border-collapse: separate;
    margin-top: 1.5rem;
  }
  #audits .audit-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
  }
  #audits .audit-table tbody {
    display: grid;
    width: 100%;
    gap: 8px;
  }
  #audits .audit-table tbody > tr {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 12px;
    padding: 10px 12px;
    border: 1px solid var(--navy-border);
    border-radius: 8px;
    background: var(--navy-card);
  }
  #audits .audit-table tbody > tr[hidden] {
    display: none !important;
  }
  #audits .audit-table tbody > tr > td {
    display: block;
    min-width: 0;
    padding: 5px 0;
    border: 0;
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 1.45;
  }
  #audits .audit-table tbody > tr > td:first-child {
    grid-column: 1 / -1;
    padding-bottom: 4px;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
  }
  #audits .audit-table tbody > tr > td:not(:first-child)::before {
    display: block;
    margin-bottom: 2px;
    color: var(--text-muted);
    content: "";
    font-size: 8px;
    letter-spacing: 0.1em;
    line-height: 1.35;
    text-transform: uppercase;
  }
  #audits .audit-table tbody > tr > td:nth-child(2)::before {
    content: "Period covered";
  }
  #audits .audit-table tbody > tr > td:nth-child(3)::before {
    content: "Filed by";
  }
  #audits .audit-table tbody > tr > td:nth-child(4)::before {
    content: "Status";
  }
  #audits .audit-table tbody > tr > td:nth-child(5)::before {
    content: "Document";
  }
  #audits .audit-table tbody > tr[data-liquidation-group] > td:first-child {
    grid-column: 1 / -1;
  }
  #audits .audit-table tbody > tr[data-liquidation-group] > td:nth-child(2)::before {
    content: "Reports";
  }
  #audits .audit-table tbody > tr[data-liquidation-group] > td:nth-child(5)::before {
    content: "Action";
  }
  #audits .audit-table tbody > tr[data-liquidation-row] > td:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 390px) {
  #audits .audit-table tbody > tr {
    gap: 2px 8px;
    padding: 9px 10px;
  }
  #audits .audit-table tbody > tr > td {
    font-size: 11px;
  }
}
