/* Colorado state page — complete standalone stylesheet. */
:root {
  --navy: #193d59;
  --ink: #243e4b;
  --text: #405763;
  --rust: #a7462c;
  --green: #25624f;
  --line: #cedee3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: #eef3f5;
  font: 16px/1.75 system-ui, -apple-system, "Segoe UI", sans-serif;
}

a {
  color: #17645f;
  text-decoration: none;
}

a:hover {
  color: var(--rust);
}

a:focus-visible, summary:focus-visible {
  outline: 3px solid #d39328;
  outline-offset: 5px;
}

.wrap, .ch-shell {
  width: min(1250px, calc(100% - 56px));
  margin-inline: auto;
}

.site-header {
  background: white;
  border-top: 5px solid var(--rust);
}

.nav-bar {
  min-height: 87px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.wordmark {
  color: var(--navy);
  font: 700 29px/1.2 Georgia, serif;
  letter-spacing: -.8px;
}

.wordmark .sub {
  display: block;
  margin-top: 6px;
  font: 10px/1.4 system-ui, sans-serif;
  letter-spacing: .9px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
}

.ch-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  padding: 19px 0;
  font-size: 12px;
}

.ch-hero {
  background: var(--navy);
  border-radius: 5px;
  overflow: hidden;
}

.ch-hero-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 36px 40px;
  color: white;
}

.ch-eyebrow {
  font-size: 10px;
  line-height: 1.5;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--rust);
}

.ch-hero .ch-eyebrow {
  color: #f2c47d;
}

h1 {
  margin: 0;
  font: 500 clamp(45px, 4.8vw, 65px)/1.05 Georgia, serif;
  letter-spacing: -1.8px;
}

.ch-hero-intro {
  background: #254f6d;
  border-left: 4px solid #e5ad52;
  padding: 20px 24px;
}

.ch-hero-intro p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #edf3f8;
}

.ch-hero-intro .ch-hero-line {
  font-size: 11px;
  color: #f7d7a3;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid #58778e;
  font-weight: 650;
}

.ch-photo {
  margin: 0;
  position: relative;
}

.ch-photo picture {
  display: block;
}

.ch-photo img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 58%;
  display: block;
}

.ch-photo figcaption {
  padding: 6px 15px;
  color: #d7e5ee;
  background: #193d59;
  font-size: 10px;
  text-align: right;
}

.ch-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 292px;
  align-items: start;
  gap: 30px;
  padding: 32px 0 55px;
}

h2 {
  font: 500 31px/1.22 Georgia, serif;
  letter-spacing: -.5px;
  color: var(--ink);
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

.ch-intro {
  background: white;
  border-top: 5px solid var(--green);
  padding: 28px 30px;
  border-radius: 4px;
  margin-bottom: 18px;
}

.ch-intro > p:not(.ch-eyebrow) {
  font-size: 15px;
  line-height: 1.85;
}

.ch-visit-note {
  background: #dcece4;
  padding: 19px 24px;
  border-left: 4px solid var(--green);
  margin-bottom: 30px;
  font-size: 13px;
}

.ch-visit-note strong {
  display: block;
  color: #214d3d;
  margin-bottom: 4px;
}

.ch-visit-note p {
  margin: 0;
}

.ch-region {
  --accent: #245c82;
  --tint: #e5f0f7;
  margin-bottom: 36px;
}

.ch-region:nth-of-type(3) {
  --accent: #a24a30;
  --tint: #f8eae4;
}

.ch-region:nth-of-type(4) {
  --accent: #28644f;
  --tint: #e4f0e9;
}

.ch-region:nth-of-type(5) {
  --accent: #66507e;
  --tint: #eee8f5;
}

.ch-section-heading {
  background: var(--accent);
  padding: 25px 29px;
  border-radius: 4px 4px 0 0;
}

.ch-section-heading .ch-eyebrow {
  color: #ffe0a8;
  font-size: 9px;
}

.ch-section-heading h2 {
  color: white;
  margin-bottom: 9px;
  font-size: 32px;
}

.ch-section-heading > p:last-child {
  color: #f0f5f8;
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.ch-farm {
  background: white;
  margin: 16px 0 0;
  border: 1px solid #cedde4;
  border-radius: 4px;
  overflow: hidden;
  scroll-margin-top: 20px;
}

.ch-farm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--tint);
  padding: 20px 27px;
  border-left: 5px solid var(--accent);
}

.ch-farm-heading {
  min-width: 0;
}

.ch-location {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .9px;
  margin-bottom: 5px;
}

.ch-name {
  color: var(--ink);
  font: 600 28px/1.22 Georgia, serif;
  letter-spacing: -.5px;
  margin: 0;
}

.ch-kind {
  display: block;
  color: #4b6571;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 7px;
}

.ch-profile-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
  color: var(--accent);
  white-space: nowrap;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}

.ch-details {
  padding: 25px 28px 27px;
}

.ch-details > p {
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
}

.ch-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: #f1f6f7;
  border-left: 3px solid var(--accent);
  padding: 16px 19px;
  margin: 22px 0;
}

.ch-meta dt {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--accent);
  margin-bottom: 5px;
}

.ch-meta dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #344d59;
}

.ch-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px 24px;
}

.ch-profile-button {
  background: var(--accent);
  padding: 11px 16px;
  border-radius: 3px;
  color: white;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .6px;
}

.ch-profile-button:hover {
  background: var(--navy);
  color: white;
}

.ch-site-link {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.ch-site-link::after {
  content: ' ↗';
}

.ch-status {
  padding: 16px 19px;
  background: #fff0e7;
  border-left: 3px solid #ad4c2a;
  color: #803d25;
  font-size: 13px;
}

.ch-status p {
  margin: 6px 0 0;
}

.ch-sidebar {
  display: grid;
  gap: 24px;
}

.ch-sidebar > section {
  padding: 26px 25px;
  border-radius: 4px;
}

.ch-sidebar h2 {
  font-size: 28px;
  line-height: 1.2;
}

.ch-sidebar p {
  font-size: 13px;
  line-height: 1.85;
}

.ch-activities {
  background: #a8482f;
  color: white;
}

.ch-activities h2 {
  color: white;
}

.ch-activities .ch-eyebrow {
  color: #ffdcaa;
  font-size: 9px;
}

.ch-activities ul {
  list-style: none;
  padding: 0;
  margin: 20px -25px -10px;
}

.ch-activities li {
  border-top: 1px solid #ca816d;
}

.ch-activities a {
  display: block;
  color: white;
  padding: 15px 25px;
}

.ch-activities a:hover {
  background: #913b28;
}

.ch-activities span {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.ch-activities small {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  color: #ffe7da;
  margin-top: 4px;
}

.ch-planner {
  background: #e0ece6;
  border-top: 5px solid var(--green);
}

.ch-planner .ch-eyebrow {
  color: #285641;
}

.ch-planner h3 {
  font-size: 13px;
  color: #285641;
  border-top: 1px solid #bfd3c7;
  padding-top: 16px;
  margin: 20px 0 6px;
}

.ch-fiber {
  background: #e9e2f2;
  border-top: 5px solid #6c5285;
}

.ch-fiber .ch-eyebrow {
  color: #604979;
}

.ch-faq {
  background: white;
  border-top: 5px solid #245c82;
}

.ch-faq details {
  border-top: 1px solid var(--line);
  padding: 13px 0;
}

.ch-faq summary {
  cursor: pointer;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--navy);
}

.ch-faq details p {
  margin: 12px 0 0;
  font-size: 12px;
}

.ch-next {
  background: white;
  border-left: 5px solid var(--rust);
  padding: 26px 29px;
}

.ch-next p {
  font-size: 14px;
}

.ch-next a {
  font-weight: 700;
}

.site-footer {
  background: var(--navy);
  color: #e6eff6;
  padding: 25px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 12px;
}

.footer-inner p {
  margin: 0;
}

.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  background: white;
  padding: 12px;
  z-index: 10;
}

@media (max-width: 1050px) {
  .ch-layout {
    grid-template-columns: minmax(0,1fr) 255px;
    gap: 23px;
  }

  .ch-hero-heading {
    padding: 30px;
    gap: 25px;
  }

  .ch-hero-intro {
    padding: 18px;
  }

  .ch-sidebar > section {
    padding: 23px 20px;
  }

  .ch-activities ul {
    margin-inline: -20px;
  }

  .ch-activities a {
    padding-inline: 20px;
  }

  .ch-farm-header {
    flex-wrap: wrap;
    gap: 12px;
  }

}

@media (max-width: 740px) {
  .wrap, .ch-shell {
    width: calc(100% - 28px);
  }

  .nav-bar {
    min-height: 78px;
    gap: 12px;
  }

  .wordmark {
    font-size: 24px;
  }

  .wordmark .sub {
    font-size: 8px;
  }

  .nav-links {
    font-size: 10px;
    gap: 14px;
  }

  .ch-hero-heading {
    grid-template-columns: 1fr;
    padding: 27px;
    gap: 23px;
  }

  h1 {
    font-size: 48px;
  }

  .ch-hero-intro p {
    font-size: 14px;
  }

  .ch-photo img {
    height: 330px;
    object-position: center 57%;
  }

  .ch-photo figcaption {
    font-size: 9px;
    text-align: left;
  }

  .ch-layout {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .ch-intro {
    padding: 24px;
  }

  h2 {
    font-size: 28px;
  }

  .ch-section-heading {
    padding: 22px;
  }

  .ch-section-heading h2 {
    font-size: 29px;
  }

  .ch-farm-header {
    padding: 19px 20px;
  }

  .ch-name {
    font-size: 26px;
  }

  .ch-details {
    padding: 22px;
  }

  .ch-meta {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }

}

/* Native farm accordions: collapsed initially;
multiple farms may stay open. */
.ch-farm > .ch-farm-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  cursor: pointer;
  list-style: none;
  transition: background-color .15s ease;
}

.ch-farm > .ch-farm-header::-webkit-details-marker {
  display: none;
}

.ch-farm > .ch-farm-header::marker {
  content: '';
}

.ch-farm > .ch-farm-header:hover {
  background: #f3f7fa;
}

.ch-farm .ch-accordion-icon {
  grid-column: 3;
  width: 26px;
  height: 26px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: relative;
  color: var(--accent);
}

.ch-accordion-icon::before,
.ch-accordion-icon::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 11px;
  width: 10px;
  height: 2px;
  background: currentColor;
}

.ch-accordion-icon::after {
  transform: rotate(90deg);
}

.ch-farm[open] .ch-accordion-icon::after {
  display: none;
}

.ch-farm[open] > .ch-farm-header {
  border-bottom: 1px solid var(--line);
}

@media (max-width: 740px) {
  .ch-farm > .ch-farm-header {
    grid-template-columns: minmax(0, 1fr) 26px;
    gap: 10px 14px;
  }

  .ch-farm .ch-accordion-icon {
    grid-column: 2;
    grid-row: 1;
  }

  .ch-farm .ch-profile-label {
    grid-column: 1;
    justify-self: start;
  }

}

@media (prefers-reduced-motion: reduce) {
  .ch-farm > .ch-farm-header {
    transition: none;
  }

}
