:root {
  --ink: #1f2a2e;
  --charcoal: #263238;
  --avenue: #0f6f78;
  --brick: #b84f3a;
  --porch: #f1c46b;
  --leaf: #6f8f57;
  --paper: #fbf7ee;
  --plaster: #fffdf8;
  --blueprint: #e7f0f1;
  --line: rgba(31, 42, 46, .16);
  --muted: #667176;
  --shadow: 0 20px 58px rgba(31, 42, 46, .15);
}

* {
  letter-spacing: 0;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(15, 111, 120, .055) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(0deg, rgba(15, 111, 120, .04) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--paper);
  font-family: "Avenir Next", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: var(--avenue);
  text-decoration: none;
}

.top-strip {
  color: #fff;
  background: var(--charcoal);
  border-bottom: 4px solid var(--porch);
  font-size: .86rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(251, 247, 238, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.navbar {
  padding-block: .78rem;
}

.navbar-brand {
  color: var(--charcoal);
  font-size: .98rem;
  line-height: 1.1;
  max-width: 320px;
  white-space: normal;
}

.brand-mark {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(45deg, transparent 0 42%, rgba(255,255,255,.16) 43% 58%, transparent 59%),
    var(--brick);
  border: 2px solid var(--charcoal);
  border-radius: 2px;
  box-shadow: 5px 5px 0 var(--porch);
  font-size: .86rem;
  font-weight: 600;
}

.nav-link {
  color: var(--charcoal);
  font-size: .92rem;
  font-weight: 600;
  padding: .5rem .72rem !important;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active,
.dropdown-toggle.show {
  color: #fff !important;
  background: var(--avenue);
}

.dropdown-menu {
  border: 2px solid var(--charcoal);
  border-radius: 2px;
  padding: .5rem;
  background: var(--plaster);
  box-shadow: 8px 8px 0 rgba(184, 79, 58, .22);
}

.dropdown-item {
  border-radius: 2px;
  font-weight: 750;
}

.dropdown-item:hover {
  color: #fff;
  background: var(--brick);
}

.navbar-toggler {
  border: 2px solid var(--charcoal);
  border-radius: 2px;
  background: var(--plaster);
}

.btn {
  border-radius: 2px;
  font-weight: 600;
  box-shadow: none;
}

.btn-primary {
  --bs-btn-bg: var(--avenue);
  --bs-btn-border-color: var(--avenue);
  --bs-btn-hover-bg: #0b5960;
  --bs-btn-hover-border-color: #0b5960;
}

.btn-warning {
  --bs-btn-bg: var(--porch);
  --bs-btn-border-color: var(--charcoal);
  --bs-btn-color: var(--charcoal);
  --bs-btn-hover-bg: #e4b455;
  --bs-btn-hover-border-color: var(--charcoal);
}

.btn-outline-primary {
  --bs-btn-color: var(--avenue);
  --bs-btn-border-color: var(--avenue);
  --bs-btn-hover-bg: var(--avenue);
  --bs-btn-hover-border-color: var(--avenue);
}

.hero {
  min-height: 84vh;
  display: grid;
  align-items: center;
  padding: 6.5rem 0 4.5rem;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(38, 50, 56, .96) 0 43%, rgba(38, 50, 56, .62) 44% 62%, rgba(184, 79, 58, .18) 63%),
    url("https://images.unsplash.com/photo-1449844908441-8829872d2607?auto=format&fit=crop&w=1800&q=82&fm=webp") center / cover;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 20px;
  background: repeating-linear-gradient(90deg, var(--porch) 0 42px, var(--brick) 42px 84px, var(--avenue) 84px 126px);
}

.hero::after {
  content: "Edgewater";
  position: absolute;
  right: clamp(1rem, 6vw, 6rem);
  top: 24%;
  color: rgba(255, 255, 255, .16);
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 600;
  transform: rotate(-6deg);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 6vw, 45px);
  line-height: 1.2;
  font-weight: 600;
}

.hero-copy {
  max-width: 690px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1.04rem, 2vw, 1.22rem);
  line-height: 1.7;
}

.eyebrow {
  color: var(--brick);
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 950;
}

.hero .eyebrow {
  color: var(--porch) !important;
  border-bottom: 3px solid var(--porch);
  display: inline-block;
  padding-bottom: .25rem;
}

.hero-panel {
  max-width: 650px;
  margin-top: 1.35rem;
  padding: 1.15rem 1.25rem;
  color: #fff;
  background: rgba(15, 111, 120, .42);
  border: 1px solid rgba(255, 255, 255, .22);
  border-left: 8px solid var(--porch);
  backdrop-filter: blur(10px);
}

.hero-panel a {
  color: #fff !important;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.35rem;
}

.glass-card {
  color: var(--charcoal);
  background: var(--plaster);
  border: 2px solid var(--charcoal);
  padding: .62rem .82rem;
  font-weight: 600;
  box-shadow: 5px 5px 0 rgba(241, 196, 107, .85);
}

.hero .actions {
  justify-content: flex-start !important;
}

.section-pad {
  padding: 5.25rem 0;
}

.section-title {
  color: var(--charcoal);
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.02;
  font-weight: 950;
}

.lead {
  color: #465257;
  line-height: 1.75;
}

.muted {
  color: var(--muted);
}

.alt-band {
  background:
    linear-gradient(135deg, rgba(231, 240, 241, .92), rgba(255, 253, 248, .92)),
    linear-gradient(90deg, rgba(241, 196, 107, .18), transparent);
  border-block: 2px solid rgba(38, 50, 56, .1);
}

.dark-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(38, 50, 56, .96), rgba(15, 111, 120, .88)),
    url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1800&q=80&fm=webp") center / cover;
}

.dark-band .section-title,
.dark-band .eyebrow {
  color: #fff;
}

.dark-band .muted {
  color: rgba(255, 255, 255, .78);
}

.feature-panel,
.program-card,
.blog-card,
.calc-shell,
.toc-box,
.article-cta {
  background: var(--plaster);
  border: 2px solid var(--charcoal);
  border-radius: 2px;
  padding: 1.35rem;
  box-shadow: 8px 8px 0 rgba(15, 111, 120, .12);
}

.program-card,
.blog-card {
  height: 100%;
  position: relative;
  transition: transform .16s ease, box-shadow .16s ease;
}

.program-card:hover,
.blog-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 12px 12px 0 rgba(184, 79, 58, .2);
}

.program-card::before {
  content: "";
  display: block;
  height: 8px;
  margin: -1.35rem -1.35rem 1rem;
  background: repeating-linear-gradient(90deg, var(--brick) 0 34px, var(--porch) 34px 68px, var(--avenue) 68px 102px);
}

.program-card h3,
.blog-card h2,
.feature-panel h2,
.feature-panel h3 {
  color: var(--charcoal);
}

.calc-shell {
  background:
    linear-gradient(180deg, #fff, var(--blueprint));
}

.form-control {
  border: 2px solid rgba(38, 50, 56, .22);
  border-radius: 2px;
  padding: .74rem .9rem;
}

.form-control:focus {
  border-color: var(--avenue);
  box-shadow: 0 0 0 .2rem rgba(15, 111, 120, .16);
}

.result-box {
  background: var(--paper);
  border: 2px solid var(--charcoal);
  border-radius: 2px;
  padding: 1rem;
  box-shadow: 5px 5px 0 rgba(241, 196, 107, .6);
}

.link-grid {
  background: var(--plaster);
  border: 2px solid var(--charcoal);
  padding: .75rem 1.1rem;
  box-shadow: 8px 8px 0 rgba(15, 111, 120, .12);
}

.link-grid a {
  display: flex;
  justify-content: space-between;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--charcoal);
  font-weight: 600;
}

.link-grid a::after {
  content: ">";
  color: var(--brick);
}

.link-grid a:last-child {
  border-bottom: 0;
}

.page-hero {
  padding: 6.25rem 0 4.25rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(38, 50, 56, .96), rgba(15, 111, 120, .9)),
    repeating-linear-gradient(90deg, transparent 0 48px, rgba(241, 196, 107, .18) 48px 52px);
}

.page-hero h1 {
  max-width: 900px;
}

.article-wrap {
  max-width: 920px;
}

.article-wrap h2,
.article-wrap h3 {
  margin-top: 2.1rem;
  color: var(--charcoal);
}

.toc-box {
  background: var(--blueprint);
  border-left: 10px solid var(--avenue);
}

.article-cta {
  margin: 1.65rem 0;
  background: linear-gradient(135deg, var(--paper), #fff);
}

.accordion-item {
  overflow: hidden;
  border: 2px solid var(--charcoal);
  border-radius: 2px !important;
  margin-bottom: .75rem;
}

.accordion-button {
  color: var(--charcoal);
  background: var(--plaster);
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background: var(--charcoal);
  box-shadow: none;
}

.site-footer {
  color: rgba(255, 255, 255, .78);
  background: linear-gradient(135deg, #202b30, #11191c);
  border-top: 8px solid var(--porch);
}

.site-footer a {
  color: rgba(255, 255, 255, .88);
}

.site-footer h3,
.site-footer strong {
  color: #fff;
}

.sticky-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  display: none;
  background: rgba(251, 247, 238, .96);
  border-top: 2px solid var(--charcoal);
  padding: .65rem;
  box-shadow: 0 -14px 40px rgba(31, 42, 46, .18);
  backdrop-filter: blur(14px);
}

.columns-list {
  columns: 2;
}

.modal-content {
  border: 2px solid var(--charcoal);
  border-radius: 2px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

@media (max-width: 1199.98px) {
  .navbar-brand {
    max-width: 260px;
  }
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding: 5.5rem 0 3.75rem;
  }

  .hero::after {
    display: none;
  }

  .section-pad {
    padding: 3.75rem 0;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 76px;
  }

  .top-strip .container {
    justify-content: center !important;
    text-align: center;
  }

  .sticky-mobile-cta {
    display: block;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .navbar-brand {
    font-size: .9rem;
    max-width: 220px;
  }

  .columns-list {
    columns: 1;
  }
}
