:root {
  --color-red:        #C8102E; --color-charcoal:    #2B2B2B; --color-amber:       #F2A900; --color-slate:       #4A5A6A; --color-concrete:    #F4F1EC; --color-white:       #FFFFFF;

  --color-border:       #E2DED5; --color-border-dash:  #D8D2C4; --color-row-alt:      #FBFAF7; --color-muted:        #8A8580; --color-placeholder-border: #B9B2A4; --color-placeholder-text:   #9A9284;
  --color-footer-muted: #8FA0AC; --color-footer-tag:   #C9C5BC; --color-footer-label: #F2A900; --color-footer-chip:  #3A3A3A; --color-footer-rule:  #45433F; --font-display: 'Oswald', 'Arial Narrow', Arial, sans-serif; --font-body:    'Inter', system-ui, Arial, sans-serif;       }

.wrap {
  margin: 0 auto;
  padding: 32px 20px 48px 20px;
  box-sizing: border-box;
  font-family: var(--font-body);
}
.wrap--overview{ max-width: 960px; }
.wrap--table   { max-width: 880px; }
.wrap--table.wrap--loose { padding-top: 40px; }
.wrap--copy    { max-width: 760px; padding-top: 40px; }

.wrap p {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 18px 0;
}
.wrap p:last-of-type { margin-bottom: 0; }
.wrap p a, .wrap li a, .wrap td a { color: var(--color-red); }
.wrap p.intro { margin-bottom: 20px; }

.page-title {
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-charcoal);
  line-height: 1.2;
}
h1.page-title { font-size: 32px; line-height: 1.15; }
h2.page-title { font-size: 28px; margin-bottom: 14px; }

.subhead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--color-red);
  margin: 24px 0 10px 0;
}

.accent-bar {
  height: 3px;
  background: var(--color-red);
  width: 100%;
}
.accent-bar--wide   { max-width: 200px; margin: 10px 0 16px 0; }
.accent-bar--narrow { max-width: 160px; margin: 0 0 20px 0; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-red);
  margin: 32px 0 4px 0;
}
.eyebrow:first-of-type { margin-top: 8px; }

.lede {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-charcoal);
  margin: 0 0 8px 0;
  max-width: 720px;
}

.footnote {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  font-style: italic;
  color: var(--color-slate);
  margin: 24px 0 0 0;
  max-width: 720px;
}
.footnote--tight { margin-top: 8px; }
.footnote a { color: var(--color-slate); }

.policy-lede {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-charcoal);
  margin: 0 0 12px 0;
}
.policy-lede--last { margin-bottom: 24px; }

.policy-section {
  scroll-margin-top: 80px; /* clearance if the theme adds a sticky header; adjust to match its height */
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--color-border);
}
.policy-section:first-of-type {
  padding-top: 0;
  margin-top: 36px;
  border-top: none;
}

.policy-back-to-top {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-slate);
  text-decoration: none;
}
.policy-back-to-top::before { content: "\2191  "; }
.policy-back-to-top:hover { color: var(--color-red); text-decoration: underline; }

.back-to-top-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-charcoal);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  z-index: 100;
}
.back-to-top-fab:hover { background: var(--color-red); }
@media (max-width: 480px) {
  .back-to-top-fab { right: 14px; bottom: 14px; width: 40px; height: 40px; font-size: 17px; }
}

.italic { font-style: italic; }

.callout {
  background: var(--color-concrete);
  border-left: 4px solid var(--color-amber);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-style: italic;
  color: var(--color-slate);
  margin: 0 0 16px 0;
  max-width: 720px;
  box-sizing: border-box;
}

.photo-placeholder {
  background: var(--color-concrete);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  color: var(--color-slate);
  margin: 0 0 16px 0;
  max-width: 720px;
  box-sizing: border-box;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.grid > a, .grid > div { display: block; min-width: 0; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.tile-link { text-decoration: none; color: inherit; }

.tile {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 24px 18px;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
  transition: box-shadow .15s ease;
  display: flex;
  flex-direction: column;
}
a:hover .tile { box-shadow: 0 2px 10px rgba(0,0,0,0.10); }

.tile-icon-wrap {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}
.tile-icon { display: inline-block; object-fit: contain; }
.icon-placeholder {
  width: 56px; height: 56px;
  border: 2px dashed var(--color-placeholder-border);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 9px;
  color: var(--color-placeholder-text);
  text-align: center; line-height: 1.1;
}

.tile-title { margin: 0 0 6px 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--color-charcoal); }
.tile-desc  { margin: 0; font-family: var(--font-body); font-size: 13px; line-height: 1.4; color: var(--color-slate); }
.tile-desc--pending { margin: 0 0 8px 0; font-family: var(--font-body); font-size: 13px; line-height: 1.4; color: var(--color-slate); }

.tile--pending {
  background: var(--color-row-alt);
  border: 1px dashed var(--color-border-dash);
  border-radius: 6px;
  padding: 24px 18px;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}
.tile-note { font-family: var(--font-body); font-size: 11px; font-style: italic; color: var(--color-red); }

.mini-tile-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 30px;
  margin-top: 24px;
}
.mini-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 92px;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.mini-tile-icon-wrap {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-tile-icon { display: block; object-fit: contain; transition: transform .15s ease; }
a.mini-tile:hover .mini-tile-icon { transform: translateY(-2px); }
.mini-tile-label { font-family: var(--font-body); font-weight: 500; font-size: 13px; line-height: 1.3; color: var(--color-charcoal); }
a.mini-tile:hover .mini-tile-label { color: var(--color-red); }
.mini-tile--pending { opacity: 0.6; }
.mini-tile--pending .mini-tile-label { font-style: italic; color: var(--color-muted); }
.icon-placeholder--mini { width: 40px; height: 40px; font-size: 7px; }

.step-badge {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-charcoal);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  margin: 0 auto 14px auto;
}

.process-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 24px;
}
.process-table-wrap {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  min-width: 640px;
  box-sizing: border-box;
}
table.process-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  position: relative;
  z-index: 2;
}
table.process-table td {
  box-sizing: border-box;
  font-family: var(--font-body);
}
table.process-table td.process-num-cell {
  padding: 22px 8px 14px 8px;
  text-align: center;
  background: transparent;
}
table.process-table .step-badge {
  position: relative;
  z-index: 2;
  margin: 0 auto;
}
table.process-table td.process-title-cell {
  padding: 2px 10px 16px 10px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--color-red);
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}
table.process-table td.process-desc-cell {
  padding: 12px 14px 20px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-charcoal);
  border-top: 1px solid var(--color-border);
  background: var(--color-row-alt);
}
.process-table-arrow {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 42px;
  height: 2px;
  background: var(--color-border-dash);
  z-index: 1;
}
.process-table-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 0; height: 0;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent var(--color-border-dash);
}

.cta-row { display: flex; justify-content: space-evenly; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; width: 100%; }
.cta-row .cta-btn { margin-top: 0; }
@media (max-width: 480px) {
  .cta-row { flex-direction: column; }
  .cta-row .cta-btn { width: 100%; text-align: center; box-sizing: border-box; }
}

.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 24px 18px;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}
.team-photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 14px auto;
  border: 3px solid var(--color-concrete);
}
.team-name { margin: 0 0 4px 0; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--color-charcoal); }
.team-role { margin: 0 0 8px 0; font-family: var(--font-body); font-size: 13px; line-height: 1.4; color: var(--color-slate); }
.team-contact { margin: 0; font-family: var(--font-body); font-size: 12px; }
.team-contact a { color: var(--color-red); text-decoration: none; font-weight: 500; }
.team-contact a:hover { text-decoration: underline; }
.team-contact.pending { color: var(--color-muted); font-style: italic; }

@media (max-width: 820px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .grid { grid-template-columns: minmax(0, 1fr); } }

.cta-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 22px;
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  border-radius: 4px;
  transition: background .15s ease;
  box-sizing: border-box;
}
.cta-btn:hover { background: var(--color-charcoal); }
.cta-btn--block { display: block; width: 100%; text-align: center; margin-top: auto; }

table.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  max-width: 720px;
}
table.data-table th {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-charcoal);
  padding: 12px 16px;
}
table.data-table td {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-charcoal);
  padding: 14px 16px;
  border-top: 1px solid var(--color-border);
  vertical-align: top;
}
table.data-table tr:nth-child(even) td { background: var(--color-row-alt); }
table.data-table td.title-cell { width: 34%; font-weight: 500; }
table.data-table tr.pending td { background: var(--color-row-alt); color: var(--color-muted); font-style: italic; }

table.data-table--equipment th { width: 50%; font-size: 14px; text-transform: none; letter-spacing: 0; }
table.data-table--equipment td { font-size: 13px; padding: 7px 10px; }

table.data-table--safety th { background: var(--color-charcoal); color: var(--color-amber); font-size: 14px; }
table.data-table--safety td.icon-cell { width: 64px; text-align: center; vertical-align: middle; }
table.data-table--safety td.icon-cell img { display: block; margin: 0 auto; }

@media (max-width: 600px) {
  table.data-table td.title-cell { width: auto; white-space: normal; }
  table.data-table, table.data-table thead, table.data-table tbody,
  table.data-table th, table.data-table td, table.data-table tr { display: block; }
  table.data-table thead { display: none; }
  table.data-table tr { border-top: 1px solid var(--color-border); padding: 10px 0; }
  table.data-table td { border-top: none; padding: 4px 16px; }
  table.data-table td.title-cell { font-weight: 700; padding-top: 10px; }
  table.data-table--safety td.icon-cell { text-align: left; padding-top: 10px; }
}

.area-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 4px 0;
}
.area-header img { display: block; }
.area-header h1 { margin: 0; padding: 0; }

.class-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 22px 22px 20px 22px;
  text-align: left;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.class-title { margin: 0 0 6px 0; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--color-charcoal); }
.class-meta { margin: 0 0 12px 0; font-family: var(--font-body); font-size: 13px; line-height: 1.5; color: var(--color-slate); }
.class-meta strong { color: var(--color-charcoal); font-weight: 500; }
.class-desc { margin: 0 0 14px 0; font-family: var(--font-body); font-size: 14px; line-height: 1.55; color: var(--color-charcoal); }
.class-tags { margin: 0 0 16px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.class-tag { display: inline-block; font-family: var(--font-body); font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 12px; background: var(--color-concrete); color: var(--color-slate); border: 1px solid var(--color-border); }
.class-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-block; font-family: var(--font-body); font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 4px; }
.badge--spots { background: var(--color-charcoal); color: var(--color-amber); }
.badge--closed { background: var(--color-row-alt); color: var(--color-muted); font-style: italic; border: 1px dashed var(--color-border-dash); }

.gallery-item { display: block; }
.gallery-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; border: 1px solid var(--color-border); }
.testimonial-pending { margin-top: 20px; padding: 18px 20px; background: var(--color-row-alt); border: 1px dashed var(--color-border-dash); border-radius: 6px; font-family: var(--font-body); font-size: 13px; font-style: italic; color: var(--color-muted); }

footer.site-footer { background: var(--color-charcoal); padding: 40px 20px 0 20px; font-family: var(--font-body); }
.footer-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 28px; }
.brand-row { display: flex; align-items: flex-start; gap: 14px; }
.brand-row img.logo-mark { width: 64px; height: 64px; flex: none; margin-top: 2px; }
.brand-row .brand-text { min-width: 0; }
.brand-address { margin-top: 14px; }
.col h3 { margin: 0 0 12px 0; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-footer-label); }
.col p, .col li { font-size: 14px; line-height: 1.6; color: var(--color-white); }
.col ul { list-style: none; margin: 0; padding: 0; }
.col li { margin-bottom: 8px; }
.col a { color: var(--color-white); text-decoration: none; }
.col a:hover { color: var(--color-red); text-decoration: underline; }
.col a.pending { color: var(--color-muted); pointer-events: none; }
.org-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--color-white); margin: 0 0 8px 0; }
.tagline { font-size: 13px; font-style: italic; color: var(--color-footer-tag); margin: 0; }
.social-row { display: flex; gap: 14px; margin-top: 6px; }
.social-row a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--color-footer-chip); }
.social-row a:hover { background: var(--color-red); }
.social-row img { width: 17px; height: 17px; display: block; }
.bottom-bar { border-top: 1px solid var(--color-footer-rule); padding: 16px 20px; text-align: center; }
.bottom-bar p { max-width: 1000px; margin: 0 auto; font-size: 12px; line-height: 1.6; color: var(--color-footer-muted); }
.bottom-bar a { color: var(--color-footer-muted); }

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner .col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}
