:root {
  --ink: #15272b;
  --muted: #607278;
  --line: #dfe7e5;
  --paper: #f7f7f2;
  --white: #ffffff;
  --river: #1e6b72;
  --pine: #1f5b48;
  --gold: #c58c32;
  --coral: #c9573f;
  --sky: #d6ecf2;
  --shadow: 0 18px 48px rgba(25, 42, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 247, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--river);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #31484d;
  font-size: 0.95rem;
}

.top-nav a {
  text-decoration: none;
}

.ghost-button,
.secondary-button,
.primary-button,
.search-row button,
.card-actions button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.primary-button,
.search-row button {
  border-color: var(--river);
  background: var(--river);
  color: var(--white);
}

.primary-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--river);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.secondary-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(22px, 4vw, 56px);
  min-height: calc(100vh - 78px);
  padding: clamp(28px, 5vw, 72px) clamp(18px, 4vw, 56px) 48px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  pointer-events: none;
}

.lake-visual {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(197, 140, 50, 0.28), transparent 24%),
    linear-gradient(140deg, #d9edf0 0%, #f7f7f2 46%, #e7f1de 100%);
}

.ridge,
.water-line,
.pin {
  position: absolute;
  display: block;
}

.ridge {
  width: 56vw;
  height: 24vw;
  border-radius: 50% 50% 0 0;
  background: rgba(31, 91, 72, 0.36);
  transform: rotate(-8deg);
}

.ridge-one {
  right: -8vw;
  top: 15vh;
}

.ridge-two {
  left: -10vw;
  top: 28vh;
  background: rgba(21, 60, 67, 0.26);
}

.water-line {
  left: 7vw;
  right: 8vw;
  height: 2px;
  background: rgba(30, 107, 114, 0.34);
}

.water-one {
  bottom: 24vh;
}

.water-two {
  bottom: 18vh;
  left: 20vw;
}

.pin {
  width: 14px;
  height: 14px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: var(--shadow);
}

.pin-a {
  right: 28vw;
  top: 34vh;
}

.pin-b {
  left: 24vw;
  bottom: 30vh;
  background: var(--gold);
}

.pin-c {
  right: 16vw;
  bottom: 21vh;
  background: var(--river);
}

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

.hero-copy {
  align-self: center;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  color: #41565b;
  font-size: 1.18rem;
}

.search-panel {
  align-self: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(223, 231, 229, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-panel label,
.filter-panel label,
.modal label {
  display: grid;
  gap: 8px;
  color: #34494e;
  font-size: 0.9rem;
  font-weight: 800;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 10px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: var(--white);
  color: var(--ink);
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.quick-filters button,
.tag-row span,
.status-pill,
.plan-label {
  border: 1px solid rgba(30, 107, 114, 0.2);
  border-radius: 999px;
  padding: 6px 10px;
  background: #eef7f6;
  color: #21555c;
  font-size: 0.78rem;
  font-weight: 800;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-strip article {
  padding: 24px clamp(18px, 4vw, 56px);
  background: var(--white);
}

.metric-strip strong {
  display: block;
  color: var(--river);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.metric-strip span {
  color: var(--muted);
}

.section-shell,
.directory-layout {
  padding: clamp(42px, 7vw, 88px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.category-card,
.guide-card,
.business-card,
.sponsor-grid article,
.community-board article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(21, 39, 43, 0.04);
}

.category-card {
  display: grid;
  gap: 8px;
  min-height: 170px;
  padding: 20px;
  text-align: left;
}

.category-card button {
  display: grid;
  gap: 8px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.category-card a,
.business-card h3 a {
  color: var(--river);
  font-weight: 900;
  text-decoration-thickness: 2px;
}

.category-card span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.category-card strong {
  font-size: 1.25rem;
}

.category-card small {
  color: var(--muted);
  font-size: 0.94rem;
}

.directory-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  background: #edf3ef;
}

.filter-panel {
  position: sticky;
  top: 96px;
  display: grid;
  align-self: start;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.filter-panel h2 {
  font-size: 1.25rem;
}

.checkbox-row {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkbox-row input {
  width: auto;
}

.listing-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.listing-toolbar h2 {
  margin-bottom: 0;
}

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

.business-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 20px;
}

.card-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.business-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #e8f0d9;
  color: var(--pine);
  font-size: 0.8rem;
  font-weight: 900;
}

.card-top p,
.card-top h3,
.business-card p,
.guide-card p,
.sponsor-grid p,
.community-board span {
  margin-bottom: 0;
}

.card-top p {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.business-card > p,
.guide-card p,
.sponsor-grid p,
.community-board span {
  color: var(--muted);
}

dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-actions {
  display: flex;
  gap: 8px;
}

.card-actions button:first-child {
  background: var(--ink);
  color: var(--white);
}

.status-pill {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: #fff6df;
  color: #7a561d;
}

.status-pill.muted {
  background: #f2f2ee;
  color: var(--muted);
}

.guide-band {
  background: var(--paper);
}

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

.guide-card,
.sponsor-grid article {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.guide-card span {
  color: var(--river);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-card a {
  color: var(--river);
  font-weight: 900;
  text-decoration-thickness: 2px;
}

.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 34px;
  color: var(--white);
  background: var(--ink);
}

.community-copy p:not(.eyebrow) {
  color: #c4d0d3;
  font-size: 1.05rem;
}

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

.community-board article {
  display: grid;
  gap: 10px;
  padding: 20px;
  color: var(--ink);
}

.sponsor-section {
  background: var(--white);
}

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

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5fbfa;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--river);
  font-weight: 800;
}

.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  padding: clamp(34px, 6vw, 80px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(214, 236, 242, 0.85), rgba(247, 247, 242, 0.92)),
    var(--paper);
}

.portal-hero h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
}

.portal-hero p:not(.eyebrow) {
  max-width: 720px;
  color: #41565b;
  font-size: 1.12rem;
}

.revenue-card {
  align-self: center;
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.revenue-card strong {
  font-size: 1.45rem;
  line-height: 1.15;
}

.revenue-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.portal-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.portal-dashboard article {
  padding: 22px clamp(18px, 4vw, 34px);
  background: var(--white);
}

.portal-dashboard span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-dashboard strong {
  color: var(--river);
  font-size: 2.6rem;
  line-height: 1;
}

.backend-notice {
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid #efd08c;
  background: #fff6df;
  color: #4f3a16;
}

.backend-notice p {
  margin: 6px 0 0;
}

.backend-notice code {
  border: 1px solid rgba(79, 58, 22, 0.16);
  border-radius: 6px;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.55);
}

.portal-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 24px;
  padding: clamp(36px, 6vw, 72px) clamp(18px, 4vw, 56px);
  background: #edf3ef;
}

.portal-aside {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.portal-aside h2 {
  font-size: 1.3rem;
}

.portal-aside ol {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: #40565b;
}

.portal-note {
  margin-top: 20px;
  padding: 14px;
  border-radius: 8px;
  background: #fff6df;
}

.portal-note p {
  margin: 6px 0 0;
  color: #6a5534;
}

.portal-forms {
  display: grid;
  gap: 18px;
}

.portal-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.panel-heading {
  margin-bottom: 16px;
}

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

.stacked-form label {
  display: grid;
  gap: 8px;
  color: #34494e;
  font-size: 0.9rem;
  font-weight: 800;
}

.stacked-form label:has(textarea),
.stacked-form .checkbox-row,
.stacked-form button,
.stacked-form .form-status {
  grid-column: 1 / -1;
}

.activity-list {
  display: grid;
  gap: 10px;
}

.activity-list article {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.activity-list span,
.activity-list small {
  color: var(--muted);
}

.activity-list span {
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.activity-list small {
  font-size: 0.9rem;
}

.empty-state {
  margin-bottom: 0;
  color: var(--muted);
}

.seo-hero {
  padding: clamp(40px, 7vw, 92px) clamp(18px, 4vw, 56px);
  background:
    linear-gradient(135deg, rgba(214, 236, 242, 0.86), rgba(247, 247, 242, 0.95)),
    var(--paper);
}

.seo-hero h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 7vw, 5.8rem);
}

.seo-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #41565b;
  font-size: 1.12rem;
}

.seo-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.seo-band {
  padding: clamp(30px, 5vw, 56px) clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  padding: clamp(34px, 5vw, 62px) clamp(18px, 4vw, 56px);
  background: #edf3ef;
}

.profile-list {
  gap: 14px;
}

.profile-list div {
  grid-template-columns: 130px 1fr;
}

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

.faq-grid article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.faq-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.article-body {
  display: grid;
  gap: 1px;
  padding: clamp(30px, 5vw, 62px) clamp(18px, 4vw, 56px);
  background: var(--line);
}

.article-body section {
  max-width: 920px;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
}

.article-body p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 56px);
  color: #d4dcdd;
  background: #102025;
}

.site-footer p {
  max-width: 560px;
  margin: 8px 0 0;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

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

.modal::backdrop {
  background: rgba(16, 32, 37, 0.56);
}

.modal form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.modal-close {
  justify-self: end;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

@media (max-width: 980px) {
  .hero,
  .directory-layout,
  .community-grid,
  .portal-hero,
  .portal-layout,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .filter-panel {
    position: static;
  }

  .portal-aside {
    position: static;
  }

  .category-grid,
  .guide-grid,
  .sponsor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .top-nav {
    flex-wrap: wrap;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .hero {
    gap: 18px;
    padding-top: 22px;
  }

  .search-panel {
    order: -1;
    padding: 18px;
  }

  .search-row,
  .metric-strip,
  .portal-dashboard,
  .category-grid,
  .listing-grid,
  .guide-grid,
  .sponsor-grid,
  .community-board,
  .stacked-form,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .listing-toolbar,
  .site-footer,
  .inline-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-pill {
    position: static;
    justify-self: start;
  }
}
