:root {
  --navy: #071d49;
  --blue: #0d3f88;
  --red: #d71920;
  --red-dark: #a80f16;
  --white: #ffffff;
  --paper: #f8fafc;
  --ink: #111827;
  --muted: #5c6472;
  --line: rgba(7, 29, 73, 0.14);
  --gold: #f5b84b;
  --steel: #6e7f96;
  --success: #13795b;
  --warning: #b45309;
  --panel: #ffffff;
  --panel-soft: #f1f5f9;
  --shadow: 0 24px 54px rgba(7, 29, 73, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(215, 25, 32, 0.12), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f3f6fb 45%, #ffffff 100%);
}

body.embed-mode .topbar {
  display: none;
}

body.embed-mode main {
  padding-top: 0;
}

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

a {
  color: inherit;
}

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

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4.35rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: clamp(1.7rem, 3.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.1rem;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(14px, 3vw, 44px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: transparent;
  box-shadow: none;
  font-weight: 950;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  gap: 7px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 850;
  white-space: nowrap;
  text-decoration: none;
}

.main-nav a:hover {
  background: #eef2f7;
  color: var(--red);
}

main {
  display: grid;
  gap: 24px;
  padding: 24px clamp(12px, 3vw, 44px) 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  min-height: clamp(520px, calc(100vh - 150px), 660px);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
}

.hero-copy {
  display: grid;
  align-content: center;
}

.eyebrow {
  margin-bottom: 9px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 760px;
  margin-bottom: 22px;
  color: #273349;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.hero-actions,
.button-row,
.modal-actions,
.contact-actions,
.library-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.ghost-button,
.danger-button,
.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-weight: 900;
  text-decoration: none;
}

.primary-button {
  color: #ffffff;
  background: var(--red);
  box-shadow: 0 12px 26px rgba(215, 25, 32, 0.24);
}

.primary-button:hover {
  background: var(--red-dark);
}

.secondary-button {
  color: #ffffff;
  background: var(--navy);
}

.secondary-button:hover {
  background: #0c2b64;
}

.ghost-button {
  color: var(--navy);
  background: #ffffff;
  border-color: var(--line);
}

.ghost-button:hover {
  background: #f1f5f9;
}

.danger-button {
  color: #ffffff;
  background: #9f1239;
}

button svg,
a svg,
.learning-grid svg,
.tab-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  gap: 10px;
  margin-top: 28px;
}

.hero-stats span,
.metric-grid span {
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 26px rgba(7, 29, 73, 0.08);
  color: var(--muted);
  font-weight: 800;
}

.hero-stats strong,
.metric-grid strong {
  display: block;
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.1;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: clamp(500px, 72vh, 620px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--navy);
}

.hero-video:not([src]),
.hero-video[src=""] {
  display: none;
}

.flyer-backdrop {
  position: absolute;
  inset: 0;
  background: #ffffff;
}

.flyer-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.flyer-link-stack {
  position: absolute;
  left: 50%;
  bottom: clamp(12px, 2vw, 22px);
  z-index: 3;
  display: grid;
  gap: 7px;
  width: min(220px, 52%);
  transform: translateX(-50%);
  text-align: center;
}

.flyer-link-stack a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  background: var(--red);
  box-shadow: 0 5px 14px rgba(7, 29, 73, 0.24);
  font-size: 0.84rem;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.flyer-link-stack a:last-child {
  color: var(--navy);
  background: #ffffff;
  border-color: var(--navy);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
  min-height: clamp(430px, calc(100vh - 210px), 600px);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
}

.about-flyer-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.about-flyer-card img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: top center;
}

.ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--red);
}

.ribbon span {
  min-height: 56px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: #ffffff;
  background: var(--navy);
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.camp-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.7fr) minmax(220px, 0.7fr);
  gap: 14px;
}

.gallery-card {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: 0 16px 36px rgba(7, 29, 73, 0.12);
}

.gallery-card.large {
  min-height: 360px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card.has-embedded-caption img {
  object-fit: contain;
  object-position: center bottom;
  background:
    linear-gradient(180deg, rgba(21, 27, 80, 0.12), rgba(21, 27, 80, 0.22)),
    var(--navy);
}

.gallery-card figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 10px;
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(7, 29, 73, 0.82);
  font-weight: 900;
}

.gallery-card.has-embedded-caption figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 46px rgba(7, 29, 73, 0.08);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 18px;
}

.section-heading.tight {
  margin-bottom: 12px;
}

.row-heading {
  display: flex;
  max-width: none;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.5fr);
  gap: 22px;
}

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

.event-card,
.store-card,
.review-card,
.workspace-card,
.editor-card,
.qa-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(7, 29, 73, 0.06);
}

.event-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  text-align: left;
}

.event-card.active {
  border-color: rgba(215, 25, 32, 0.5);
  box-shadow: 0 18px 36px rgba(215, 25, 32, 0.14);
}

.event-card h3 {
  margin: 0;
}

.event-date {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--navy);
  font-size: 0.84rem;
  font-weight: 900;
}

.event-card:nth-child(even) .event-date {
  background: var(--red);
}

.track-row,
.payment-row,
.order-row,
.music-row,
.library-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.track-row strong,
.payment-row strong,
.order-row strong,
.music-row strong {
  color: var(--navy);
}

.detail-panel {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 18px;
  border: 1px solid rgba(7, 29, 73, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #eef4fb);
}

.price-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.price-band span {
  padding: 12px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--navy);
}

.price-band strong {
  display: block;
  font-size: 1.7rem;
}

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

.learning-grid div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 70px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: #ffffff;
  font-weight: 850;
}

.learning-grid svg {
  color: var(--red);
}

.venue-section {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: center;
  overflow: hidden;
}

.venue-copy {
  display: grid;
  justify-items: start;
}

.ahs-logo {
  width: min(360px, 100%);
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.venue-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(7, 29, 73, 0.1);
}

.venue-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.instructor-section {
  display: grid;
  gap: 18px;
}

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

.instructor-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(7, 29, 73, 0.08);
}

.instructor-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef2f7;
}

.instructor-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.instructor-copy {
  min-width: 0;
}

.bio-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.bio-list div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.bio-list dt {
  margin-bottom: 4px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.bio-list dd {
  margin: 0;
  color: #263247;
  line-height: 1.5;
}

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

.credential-grid span {
  display: flex;
  align-items: flex-start;
  min-height: 82px;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: #ffffff;
  font-weight: 850;
}

.credential-grid svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--red);
}

.source-section {
  display: grid;
  gap: 12px;
}

.source-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(7, 29, 73, 0.2);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(13, 63, 136, 0.18);
  border-color: var(--blue);
}

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

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

.form-grid.five {
  grid-template-columns: 1.2fr repeat(4, minmax(120px, 1fr));
  align-items: end;
}

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

.field-hint,
.form-note {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.price-preview {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--navy);
  font-size: 1.1rem;
  font-weight: 950;
}

.waiver-sign-block {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(7, 29, 73, 0.18);
  border-radius: var(--radius);
  background: #f8fafc;
}

.waiver-preview {
  max-height: 260px;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.waiver-preview p {
  margin-bottom: 10px;
  color: #263247;
  font-size: 0.92rem;
}

.check-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: #263247;
  font-weight: 800;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.store-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.store-visual {
  display: grid;
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 20%, #ffffff, #e7edf6 72%),
    #eef2f7;
}

.store-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-design {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.store-design span {
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: #f8fafc;
  font-size: 0.78rem;
  font-weight: 900;
}

.store-price {
  color: var(--red);
  font-size: 1.3rem;
  font-weight: 950;
}

.info-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
}

.qa-list,
.review-list {
  display: grid;
  gap: 10px;
}

.qa-item {
  padding: 0;
  overflow: hidden;
}

.qa-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 0;
  color: var(--navy);
  background: #ffffff;
  font-weight: 900;
  text-align: left;
}

.qa-answer {
  display: none;
  padding: 0 14px 14px;
}

.qa-item.open .qa-answer {
  display: block;
}

.review-card {
  padding: 16px;
}

.review-stars {
  color: var(--gold);
  font-weight: 950;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 22px;
  align-items: start;
}

.login-card,
.workspace-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.hidden {
  display: none !important;
}

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

.admin-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

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

.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.tab-button {
  color: var(--navy);
  background: #ffffff;
  border-color: var(--line);
}

.tab-button.active {
  color: #ffffff;
  background: var(--navy);
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: grid;
  gap: 16px;
}

.toolbar {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(150px, 1fr));
  gap: 10px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 16px;
  align-items: start;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--navy);
  background: #eef2f7;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

td {
  color: #263247;
  font-size: 0.92rem;
}

tr.clickable-row {
  cursor: pointer;
}

tr.clickable-row:hover td {
  background: #f8fafc;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 6px;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--steel);
  font-size: 0.78rem;
  font-weight: 950;
}

.status-pill.paid,
.status-pill.active {
  background: var(--success);
}

.status-pill.pending {
  background: var(--warning);
}

.participant-detail {
  min-height: 320px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.detail-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.detail-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
  font-weight: 800;
}

.detail-list dd {
  margin: 0;
  color: var(--navy);
  font-weight: 900;
  text-align: right;
}

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

.editor-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.admin-product-preview {
  display: grid;
  gap: 8px;
  margin: 0;
}

.admin-product-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef2f7;
}

.admin-product-preview figcaption {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.idea-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.idea-chip {
  display: grid;
  gap: 3px;
  min-height: 64px;
  padding: 9px 10px;
  border: 1px solid rgba(7, 29, 73, 0.18);
  border-radius: var(--radius);
  color: var(--navy);
  background: #f8fafc;
  text-align: left;
}

.idea-chip:hover {
  border-color: rgba(215, 25, 32, 0.46);
  background: #ffffff;
}

.idea-chip strong {
  color: var(--red);
}

.idea-chip span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.mini-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

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

.flyer-admin {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.flyer-library,
.flyer-editor-grid {
  display: grid;
  gap: 14px;
}

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

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

.flyer-card {
  display: grid;
  grid-template-columns: minmax(120px, 0.36fr) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(7, 29, 73, 0.06);
}

.flyer-card.active {
  border-color: rgba(19, 121, 91, 0.46);
  box-shadow: 0 12px 26px rgba(19, 121, 91, 0.12);
}

.flyer-thumb,
.admin-flyer-preview {
  margin: 0;
}

.flyer-thumb {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.flyer-thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}

.admin-flyer-preview {
  display: grid;
  gap: 8px;
}

.admin-flyer-preview img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.admin-flyer-preview figcaption {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.flyer-editor-card {
  align-content: start;
}

.file-button {
  position: relative;
  overflow: hidden;
}

.file-button input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.library-list,
.song-grid,
.content-editor {
  display: grid;
  gap: 12px;
}

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

.song-card {
  display: grid;
  gap: 6px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.song-card.active {
  border-color: rgba(215, 25, 32, 0.55);
  box-shadow: 0 12px 26px rgba(215, 25, 32, 0.12);
}

.edit-plan {
  min-height: 120px;
  overflow: auto;
  padding: 12px;
  border-radius: var(--radius);
  color: #dbeafe;
  background: #0b1220;
  white-space: pre-wrap;
}

.content-editor {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.wide-card {
  grid-column: span 2;
}

.modal {
  width: min(760px, calc(100vw - 24px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(7, 29, 73, 0.56);
}

.modal-card {
  position: relative;
  padding: 22px;
  background: #ffffff;
}

.icon-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy);
  background: #ffffff;
  font-weight: 950;
}

.receipt-card {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.waiver-modal {
  width: min(900px, calc(100vw - 24px));
}

.signed-waiver {
  display: grid;
  gap: 14px;
}

.signed-waiver-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.waiver-body {
  max-height: 360px;
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.waiver-body p {
  margin-bottom: 12px;
  color: #263247;
}

.signature-block {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(19, 121, 91, 0.35);
  border-radius: var(--radius);
  background: rgba(19, 121, 91, 0.08);
}

.signature-block span,
.signature-block small,
.waiver-proof {
  color: var(--muted);
  font-weight: 800;
}

.signature-block strong {
  color: var(--navy);
  font-size: 1.25rem;
}

.waiver-proof {
  margin: 0;
  padding-left: 18px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  max-width: 380px;
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--navy);
  box-shadow: var(--shadow);
  font-weight: 900;
  transition: 180ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1180px) {
  .hero,
  .about-hero,
  .split-section,
  .info-section,
  .instructor-grid,
  .venue-section,
  .admin-login,
  .admin-grid,
  .media-grid,
  .flyer-library,
  .flyer-editor-grid,
  .content-editor {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 620px;
  }

  .detail-panel {
    position: static;
  }

  .learning-grid,
  .credential-grid,
  .store-grid,
  .song-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: center;
    flex-direction: row;
  }

  .main-nav {
    flex: 1;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  main {
    padding: 14px 10px 44px;
  }

  .hero-media {
    min-height: 300px;
  }

  .hero-stats,
  .ribbon,
  .camp-gallery,
  .event-list,
  .flyer-card,
  .learning-grid,
  .credential-grid,
  .instructor-grid,
  .store-grid,
  .form-grid.two,
  .form-grid.five,
  .toolbar,
  .editor-grid,
  .idea-strip,
  .song-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .modal-card {
    padding: 18px;
  }

  .row-heading,
  .contact-section,
  .instructor-card,
  .admin-header,
  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .instructor-card,
  .about-hero {
    grid-template-columns: 1fr;
  }

  .wide-card {
    grid-column: auto;
  }

  table {
    min-width: 620px;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2.25rem;
  }

  .hero-media {
    min-height: 220px;
  }

  .hero-stats {
    display: none;
  }

  .hero-actions,
  .contact-actions,
  .button-row,
  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .ghost-button {
    width: 100%;
  }
}

/* Patriot Nation Club inspired visual direction. */
:root {
  --navy: #151b50;
  --blue: #242d86;
  --blue-deep: #111847;
  --red: #a60f2d;
  --red-dark: #7f0b24;
  --white: #ffffff;
  --paper: #f4f6fb;
  --ink: #10162d;
  --muted: #606a7f;
  --line: rgba(21, 27, 80, 0.16);
  --gold: #f1bd53;
  --steel: #6e7f96;
  --success: #13795b;
  --warning: #b45309;
  --panel: #ffffff;
  --panel-soft: #f5f7fc;
  --shadow: 0 22px 44px rgba(4, 9, 36, 0.2);
  --radius: 8px;
  font-family: Roboto, "Arial Narrow", Arial, Helvetica, sans-serif;
}

body {
  color: var(--ink);
  background-color: var(--red-dark);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.13), transparent 18rem),
    radial-gradient(circle at 80% 0%, rgba(36, 45, 134, 0.34), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 16%, transparent 16% 32%, rgba(255, 255, 255, 0.035) 32% 48%, transparent 48% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #8b0d27 0%, #b11431 46%, #7f0b24 100%);
  background-attachment: fixed;
}

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

.topbar {
  min-height: 70px;
  padding: 10px clamp(16px, 3vw, 38px);
  border-bottom: 0;
  color: #ffffff;
  background: var(--navy);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
  backdrop-filter: none;
}

.brand {
  gap: 12px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.brand strong {
  color: #ffffff;
  font-family: Impact, "Arial Black", "Arial Narrow", Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav {
  gap: 2px;
}

.main-nav a {
  min-height: 36px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.main-nav a:last-child {
  padding-inline: 16px;
  color: var(--navy);
  background: #ffffff;
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.18);
}

main {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  padding: 20px 0 68px;
  gap: 20px;
}

.hero {
  position: relative;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 0.64fr);
  min-height: min(720px, calc(100vh - 108px));
  gap: clamp(18px, 3vw, 36px);
  padding: clamp(18px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(127, 11, 36, 0.95), rgba(166, 15, 45, 0.9)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 14%, transparent 14% 30%, rgba(255, 255, 255, 0.05) 30% 44%, transparent 44% 100%);
  box-shadow: var(--shadow);
}

.hero::before {
  content: "PATRIOTS JIU-JITSU";
  position: absolute;
  left: clamp(18px, 4vw, 52px);
  right: 18px;
  bottom: clamp(8px, 2vw, 20px);
  z-index: 0;
  color: transparent;
  font-family: Impact, "Arial Black", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(3rem, 8.4vw, 7.8rem);
  line-height: 0.86;
  letter-spacing: 0;
  opacity: 0.34;
  text-transform: uppercase;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.86);
  text-shadow: 0 2px 0 rgba(21, 27, 80, 0.7);
  pointer-events: none;
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.hero-copy {
  align-content: start;
  align-self: start;
  gap: 14px;
  padding: clamp(20px, 3vw, 34px);
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(21, 27, 80, 0.98), rgba(36, 45, 134, 0.94)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 46%);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.eyebrow {
  color: var(--red);
  font-family: Impact, "Arial Black", "Arial Narrow", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #ffffff;
  opacity: 0.9;
}

h1,
h2,
h3 {
  font-family: Impact, "Arial Black", "Arial Narrow", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  color: #ffffff;
  font-size: clamp(2.25rem, 4.7vw, 5.05rem);
  line-height: 0.92;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.24);
}

h2 {
  color: var(--navy);
  font-size: clamp(1.75rem, 3.1vw, 3.1rem);
}

h3 {
  color: var(--navy);
}

.hero-lede {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 700;
}

.primary-button,
.secondary-button,
.ghost-button,
.danger-button,
.tab-button {
  border-radius: 999px;
  padding: 10px 18px;
  font-family: Impact, "Arial Black", "Arial Narrow", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.primary-button {
  color: var(--navy);
  background: #ffffff;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.primary-button:hover {
  color: #ffffff;
  background: var(--red);
}

.secondary-button {
  color: #ffffff;
  background: var(--red);
  box-shadow: 0 12px 22px rgba(127, 11, 36, 0.2);
}

.secondary-button:hover {
  background: var(--red-dark);
}

.ghost-button {
  color: var(--navy);
  background: #ffffff;
  border-color: rgba(21, 27, 80, 0.18);
}

.ghost-button:hover {
  color: #ffffff;
  background: var(--navy);
}

.hero-stats {
  margin-top: 8px;
}

.hero-stats span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.hero-stats strong {
  color: #ffffff;
  font-family: Impact, "Arial Black", "Arial Narrow", Arial, sans-serif;
  text-transform: uppercase;
}

.metric-grid span {
  border-color: rgba(21, 27, 80, 0.13);
  color: var(--muted);
  background: #ffffff;
}

.metric-grid strong {
  color: var(--navy);
}

.hero-media,
.gallery-card,
.about-flyer-card,
.venue-image {
  border: 7px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.hero-media {
  min-height: clamp(500px, 68vh, 650px);
  background: var(--navy);
}

.about-hero {
  position: relative;
  padding: clamp(18px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(127, 11, 36, 0.95), rgba(166, 15, 45, 0.9)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 14%, transparent 14% 30%, rgba(255, 255, 255, 0.05) 30% 44%, transparent 44% 100%);
  box-shadow: var(--shadow);
}

.about-hero > div {
  padding: clamp(20px, 3vw, 34px);
  border-radius: var(--radius);
  background:
    linear-gradient(110deg, rgba(21, 27, 80, 0.98), rgba(36, 45, 134, 0.94)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 46%);
}

.about-hero .eyebrow,
.about-hero h1,
.about-hero .hero-lede {
  color: #ffffff;
}

.flyer-backdrop {
  background: #ffffff;
}

.ribbon {
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--red);
  box-shadow: var(--shadow);
}

.ribbon span {
  min-height: 60px;
  color: #ffffff;
  background: var(--navy);
  font-family: Impact, "Arial Black", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.45rem);
  letter-spacing: 0;
}

.camp-gallery {
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.gallery-card {
  border-width: 4px;
  background: var(--navy);
}

.gallery-card.large,
.gallery-card {
  min-height: 360px;
}

.section {
  border: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.section::before {
  content: "";
  display: block;
  width: 74px;
  height: 6px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--red);
}

.section-heading p,
.venue-copy p,
.qa-answer p,
.review-card p,
.contact-section p {
  color: var(--muted);
}

.event-card,
.store-card,
.review-card,
.workspace-card,
.editor-card,
.qa-item,
.login-card,
.participant-detail,
.table-wrap,
.waiver-preview,
.flyer-card,
.bio-list div,
.credential-grid span,
.learning-grid div {
  border-color: rgba(21, 27, 80, 0.13);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(21, 27, 80, 0.08);
}

.event-card.active,
.flyer-card.active {
  border-color: rgba(166, 15, 45, 0.52);
  box-shadow: 0 16px 30px rgba(166, 15, 45, 0.18);
}

.event-date,
.price-preview,
.price-band span,
.tab-button.active,
.toast {
  background: var(--navy);
}

.event-card:nth-child(even) .event-date {
  background: var(--red);
}

.detail-panel,
.waiver-sign-block,
.flyer-admin {
  border: 1px solid rgba(21, 27, 80, 0.13);
  background:
    linear-gradient(180deg, #ffffff, #f4f6fb);
  box-shadow: 0 12px 28px rgba(21, 27, 80, 0.09);
}

.learning-grid div {
  color: var(--navy);
  font-weight: 900;
}

.learning-grid svg,
.credential-grid svg {
  color: var(--red);
}

input,
select,
textarea {
  border-color: rgba(21, 27, 80, 0.22);
  border-radius: 6px;
}

input:focus,
select:focus,
textarea:focus {
  outline-color: rgba(36, 45, 134, 0.2);
  border-color: var(--blue);
}

.store-visual {
  background:
    radial-gradient(circle at 50% 20%, #ffffff, #eef2fb 72%),
    #eef2f7;
}

th {
  color: #ffffff;
  background: var(--navy);
}

.admin-tabs {
  border-bottom-color: rgba(21, 27, 80, 0.16);
}

.tab-button {
  color: var(--navy);
  background: #ffffff;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    min-height: 600px;
  }
}

@media (max-width: 760px) {
  main {
    width: min(100% - 20px, 1240px);
    padding-top: 12px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding: 12px;
  }

  .hero::before {
    font-size: clamp(2.2rem, 14vw, 5rem);
  }

  .hero-media {
    min-height: 360px;
  }

  .camp-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card.large {
    min-height: 300px;
  }
}

@media (max-width: 460px) {
  .hero-copy {
    padding: 18px;
  }

  h1 {
    font-size: 2.2rem;
  }

  .hero-media {
    min-height: 260px;
  }
}

/* Readability pass: use wider, lighter lettering where the athletic font crowded words. */
.brand strong,
.brand small,
.main-nav a,
.hero::before,
.eyebrow,
h1,
h2,
h3,
.primary-button,
.secondary-button,
.ghost-button,
.danger-button,
.tab-button,
.hero-stats strong,
.ribbon span {
  font-family: Roboto, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.brand strong {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
}

.brand small {
  font-weight: 700;
}

.main-nav a {
  font-weight: 760;
}

.hero::before {
  font-weight: 800;
  line-height: 1.02;
  opacity: 0.22;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.74);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
}

h1 {
  max-width: 940px;
  font-size: clamp(2.15rem, 4.2vw, 4.35rem);
  font-weight: 800;
  line-height: 1.03;
}

h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.7rem);
  font-weight: 800;
  line-height: 1.08;
}

h3 {
  font-weight: 780;
  line-height: 1.18;
}

.primary-button,
.secondary-button,
.ghost-button,
.danger-button,
.tab-button {
  font-weight: 800;
}

.hero-stats strong {
  font-weight: 800;
  line-height: 1.14;
}

.ribbon span {
  font-size: clamp(0.96rem, 1.35vw, 1.18rem);
  font-weight: 800;
  line-height: 1.18;
}

.learning-grid div,
label,
.event-card,
.store-card,
.qa-question,
.review-card,
.detail-list dd,
.store-design span,
.price-preview,
th {
  font-weight: 780;
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(2rem, 8.5vw, 3.05rem);
    line-height: 1.05;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 2rem;
  }
}

/* Match embedded-caption cards to the source image ratios so captions stay visible without excess padding. */
.camp-gallery {
  align-items: start;
}

.gallery-card.has-embedded-caption {
  min-height: 0;
  aspect-ratio: 1.03 / 1;
}

.gallery-card.large.has-embedded-caption {
  min-height: 0;
  aspect-ratio: 1.754 / 1;
}

.gallery-card.has-embedded-caption img {
  object-fit: contain;
  object-position: center bottom;
}

/* Keep event pricing text inside the white event cards. */
.event-card {
  width: 100%;
  min-width: 0;
}

.event-list .event-card.wide-card {
  grid-column: 1 / -1;
}

.event-card .event-date {
  max-width: 100%;
  width: fit-content;
  white-space: normal;
}

.event-card .track-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
}

.event-card .track-row span {
  min-width: 0;
}

.event-card .track-row > strong:last-child {
  justify-self: end;
  white-space: nowrap;
}

/* Keep the section accent from becoming a grid/flex item and creating empty cells. */
.section {
  position: relative;
  padding-top: clamp(42px, 5vw, 64px);
}

.section::before {
  position: absolute;
  top: clamp(22px, 3vw, 30px);
  left: clamp(24px, 4vw, 44px);
  margin: 0;
}

@media (max-width: 760px) {
  .section {
    padding: 38px 18px 18px;
  }

  .section::before {
    top: 18px;
    left: 18px;
  }
}
