:root {
  --bg-canvas: #eef7f2;
  --bg-field: #dcece3;
  --bg-surface: rgba(255, 255, 255, 0.88);
  --bg-surface-solid: #ffffff;
  --bg-surface-hover: rgba(255, 255, 255, 0.96);
  --text-primary: #1f2937;
  --text-muted: #4b5563;
  --accent-primary: #14532d;
  --accent-secondary: #166534;
  --border-subtle: rgba(20, 83, 45, 0.14);
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(20, 83, 45, 0.08);
  --glow-accent: 0 0 24px -4px rgba(20, 83, 45, 0.22);
  --glass-backdrop: blur(16px) saturate(180%);
  --radius-card: 20px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .nav-link, .brand-logo, .eyebrow, .berth-strip dt {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-top: 0;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-secondary);
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 3px;
}

.dot-grid-bg {
  background-color: var(--bg-field);
  background-image: radial-gradient(rgba(20, 83, 45, 0.16) 1.25px, transparent 1.25px);
  background-size: 20px 20px;
}

.site-header-wrap {
  padding: 1.25rem 1.5rem 0;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

.site-header {
  background: var(--bg-surface-solid);
  background: var(--bg-surface);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-elevation);
  position: relative;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent-primary);
  letter-spacing: 0.16em;
  margin-right: auto;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-primary);
  display: inline-block;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px solid #eef7f2;
  border-radius: 50%;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link[aria-current="page"] {
  color: var(--accent-primary);
  background: rgba(20, 83, 45, 0.08);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--accent-primary);
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.mobile-nav-overlay {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 1.5rem;
  right: 1.5rem;
  background: var(--bg-surface-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  box-shadow: var(--shadow-elevation);
  z-index: 50;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-overlay.is-open {
  display: flex;
}

.btn-pill {
  display: inline-block;
  background-color: var(--accent-primary);
  color: #ffffff;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-kinetic), box-shadow 0.3s var(--ease-kinetic), background-color 0.2s ease;
}

.btn-pill:hover {
  background-color: var(--accent-secondary);
  color: #ffffff;
  transform: translateY(-3px) scale(1.015);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
}

.btn-pill-secondary {
  background-color: rgba(20, 83, 45, 0.1);
  color: var(--accent-primary);
}

.btn-pill-secondary:hover {
  background-color: rgba(20, 83, 45, 0.18);
  color: var(--accent-primary);
}

.container-wide {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.reading-column {
  max-width: 68ch;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 1.5rem auto 2rem;
  padding: 2.5rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
}

.eyebrow {
  display: block;
  font-size: 0.78rem;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.hero-media img, .breakout-figure img, .card-img {
  width: 100%;
  display: block;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.hero-media img {
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-elevation);
}

.breakout-figure {
  max-width: 1080px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

.breakout-figure img {
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-elevation);
}

.breakout-figure figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.65rem;
  text-align: right;
}

.pull-quote {
  max-width: 76ch;
  margin: 2.5rem auto;
  padding: 1.75rem 2.25rem;
  background: var(--bg-surface-solid);
  background: var(--bg-surface);
  backdrop-filter: var(--glass-backdrop);
  border-left: 4px solid var(--accent-primary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-elevation);
  font-size: 1.18rem;
  font-style: italic;
  color: var(--text-primary);
}

.pull-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-style: normal;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
}

.translucent-field {
  background-color: var(--bg-field);
  padding: 3rem 1.5rem;
  margin: 2.5rem 0;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 1.5rem auto;
}

.glass-card {
  background: var(--bg-surface-solid);
  background: var(--bg-surface);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.65rem;
  box-shadow: var(--shadow-elevation);
  transition: transform 0.35s var(--ease-kinetic), box-shadow 0.35s var(--ease-kinetic), background-color 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.glass-card:hover {
  transform: translateY(-5px) scale(1.01);
  background: var(--bg-surface-hover);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
}

.card-img {
  aspect-ratio: 4 / 3;
  margin-bottom: 1.15rem;
}

.berth-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  background: var(--bg-surface-solid);
  background: var(--bg-surface);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  box-shadow: var(--shadow-elevation);
}

.berth-strip div {
  border-left: 2px solid rgba(20, 83, 45, 0.2);
  padding-left: 0.85rem;
}

.berth-strip dt {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.berth-strip dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-primary);
}

.course-notes {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 1rem;
}

.course-notes li {
  background: var(--bg-surface-solid);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.15rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.course-label {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--accent-primary);
  min-width: 140px;
}

.table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-solid);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

th, td {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(20, 83, 45, 0.06);
  color: var(--accent-primary);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.faq-item {
  background: var(--bg-surface-solid);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 0.95rem 1.35rem;
  box-shadow: var(--shadow-elevation);
}

.faq-item summary {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  cursor: pointer;
  color: var(--accent-primary);
  padding: 0.25rem 0;
}

.faq-item p {
  margin-top: 0.85rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.form-grid {
  display: grid;
  gap: 1.15rem;
}

.form-group label {
  display: block;
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(20, 83, 45, 0.28);
  background: #ffffff;
  color: var(--text-primary);
  font: inherit;
}

.draft-output {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86rem;
  margin-top: 1rem;
}

.site-footer {
  background: var(--bg-field);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 1.5rem;
  margin-top: 4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s var(--ease-kinetic), transform 0.65s var(--ease-kinetic);
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
}

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

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-block;
  }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
