/* Shared palette, typography, layout, press cards, and responsive rules. */

:root {
  --green: #486348;
  --dark-green: #253426;
  --cream: #f2eddd;
  --line: rgba(242, 237, 221, 0.35);
  --max-width: 1100px;
  --side-padding: 40px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--green);
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

a {
  color: inherit;
}
a:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 4px;
}

:is(.bike-nav, .story-nav, .cc-pagination) {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
:is(.bike-nav, .story-nav, .cc-pagination) a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}
:is(.bike-nav, .story-nav, .cc-pagination) a:hover {
  text-decoration: underline;
}

.hero {
  width: 100%;
  max-width: var(--max-width);
  min-height: 82vh;
  margin: 0 auto;
  padding: 80px var(--side-padding) 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-number {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.hero h1 {
  margin: 8px 0 28px;
  font-size: clamp(4.2rem, 12vw, 10rem);
  line-height: 0.82;
  letter-spacing: -0.075em;
  font-weight: 400;
}

.intro {
  max-width: 690px;
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.3;
}

.section {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px var(--side-padding);
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr);
  gap: 30px;
  border-top: 1px solid var(--line);
}

.section-number {
  margin: 8px 0 0;
}
.section-content {
  min-width: 0;
}

.section h2 {
  margin: 0 0 30px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.03;
  font-weight: 400;
  letter-spacing: -0.04em;
  overflow-wrap: break-word;
}

.section-content > p {
  max-width: 750px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.5;
}

.section-content > img,
.section-content > p > img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px 0;
}

.section-content iframe {
  display: block;
  width: 100%;
  max-width: 750px;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  margin: 30px 0;
}

.section-content a {
  text-underline-offset: 5px;
}

.press-intro {
  max-width: 680px;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px 22px;
  margin-top: 45px;
}

.press-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.press-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  margin: 0 0 18px;
  border: 1px solid var(--line);
}

.press-card .press-source {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0 0 10px;
}

.press-card h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.15;
  font-weight: 400;
}

.press-card .press-description {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.85;
  margin: 0 0 20px;
}

.press-card a {
  margin-top: auto;
  padding-top: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

:is(.site-footer, .bike-bottom, .story-footer, .cc-footer) {
  background: var(--dark-green);
  padding: 32px var(--side-padding);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
}

:is(.site-footer, .bike-bottom, .story-footer, .cc-footer) p,
:is(.site-footer, .bike-bottom, .story-footer, .cc-footer) > a {
  display: block;
  max-width: var(--max-width);
  margin: 0 auto 8px;
}

@media (max-width: 1000px) {
  .press-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 750px) {
  :root {
    --side-padding: 24px;
  }
  :is(.bike-nav, .story-nav, .cc-pagination) {
    gap: 12px;
  }
  .hero {
    min-height: 75vh;
  }
  .hero h1 {
    font-size: clamp(3.8rem, 15vw, 7rem);
  }
  .section {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .section-number {
    margin: 0;
  }
}

@media (max-width: 600px) {
  .press-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }
}

/* Lists use the same text sizing as the surrounding section copy. */
.people-list {
  padding: 0;
  list-style: none;
  max-width: 750px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.5;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
