:root {
  color-scheme: light;
  --ink: #151c1b;
  --muted: #61716d;
  --paper: #fbfcf8;
  --surface: #ffffff;
  --soft: #edf3ee;
  --line: #d9e2dc;
  --accent: #0f7b68;
  --accent-dark: #084b40;
  --gold: #b98522;
  --coral: #b9473f;
  --shadow: 0 18px 60px rgba(21, 28, 27, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(217, 226, 220, 0.8);
  background: rgba(251, 252, 248, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(150px, 18vw, 220px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  color: var(--muted);
  font-size: 0.94rem;
  scrollbar-width: none;
}

.nav a {
  flex: 0 0 auto;
  text-decoration: none;
}

.nav a:hover,
.news-card h3 a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  align-items: end;
  gap: 40px;
  padding: clamp(46px, 6vw, 76px) clamp(18px, 5vw, 72px) clamp(34px, 5vw, 54px);
  overflow: hidden;
  color: white;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(8, 75, 64, 0.92), rgba(21, 28, 27, 0.62) 55%, rgba(185, 71, 63, 0.36));
}

.hero-bg,
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content,
.hero-panel,
.page-hero > div {
  position: relative;
  z-index: 1;
}

.hero h1,
.page-hero h1 {
  margin: 8px 0 22px;
  max-width: 980px;
  font-size: clamp(2.7rem, 5.8vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lead,
.page-hero p {
  max-width: 760px;
  font-size: clamp(1rem, 1.7vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid white;
  background: white;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: white;
}

.button.dark {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: white;
}

.section-actions {
  margin-top: 24px;
}

.hero-panel {
  display: block;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.hero-panel:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.hero-panel strong {
  display: block;
  margin: 8px 0 16px;
  font-size: 1.35rem;
  line-height: 1.3;
}

.hero-panel span {
  color: #f3d795;
  font-weight: 800;
}

.eyebrow,
.meta {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.hero .meta,
.page-hero .eyebrow {
  color: #f3d795;
}

.ticker {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.ticker a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration: none;
}

.ticker a:hover {
  border-color: var(--accent);
  background: var(--soft);
}

.section {
  padding: 52px clamp(18px, 5vw, 72px);
}

.dense-section {
  padding-top: 40px;
  padding-bottom: 44px;
}

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

.section-heading.compact {
  margin-bottom: 18px;
}

.section-heading h2,
.page-hero h1 {
  margin-top: 0;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.section-heading p,
.sidebar p,
.plain-card p,
.event-card p,
.card-body p,
.news-card p,
.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.68;
}

.split {
  background: linear-gradient(180deg, var(--paper), #f5f8f2);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.feature-card {
  grid-row: span 2;
}

.grid,
.program-grid,
.plain-grid,
.event-grid,
.newsletter-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.story-card,
.plain-card,
.sidebar,
.event-card,
.news-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.link-card {
  transition: border-color 160ms ease, transform 160ms ease;
}

.link-card:hover {
  border-color: rgba(15, 123, 104, 0.45);
  transform: translateY(-2px);
}

.card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.story-card:has(.card-link)::after,
.plain-card:has(.card-link)::after,
.news-card:has(.card-link)::after {
  content: "->";
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-dark);
  font-weight: 900;
}

.program-card::after {
  content: "->";
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  margin: auto 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: white;
  font-weight: 900;
}

.story-card,
.news-card {
  transition: border-color 160ms ease, transform 160ms ease;
}

.story-card:hover,
.news-card:hover {
  border-color: rgba(15, 123, 104, 0.45);
  transform: translateY(-2px);
}

.story-card:hover h3,
.news-card:hover h3 {
  color: var(--accent);
}

.story-card .media,
.program-card img,
.event-card img {
  display: block;
  height: 160px;
  overflow: hidden;
}

.brand-tile,
.brand-panel {
  display: grid;
  place-items: center;
  min-height: 160px;
  padding: 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 131, 32, 0.2), transparent 34%),
    linear-gradient(135deg, #0d3b34, #0f7b68);
  color: white;
}

.brand-tile img,
.brand-panel img {
  width: 86px;
  height: 86px;
  padding: 12px;
  border-radius: 18px;
  background: white;
  object-fit: contain;
  box-shadow: 0 18px 40px rgba(6, 35, 31, 0.2);
}

.brand-tile span,
.brand-panel span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 800;
}

.brand-tile.large {
  min-height: 240px;
  margin-bottom: 18px;
  border-radius: 6px;
}

.feature-card .media {
  height: 320px;
}

.story-card img,
.program-card img,
.event-card img,
.news-card img,
.sidebar img {
  width: 100%;
  height: 100%;
}

.card-body,
.plain-card,
.event-card > div {
  padding: 22px 58px 22px 22px;
}

.card-body h3,
.news-card h3,
.plain-card h3,
.event-card h3,
.sidebar h3 {
  margin: 8px 0 10px;
  font-size: 1.2rem;
  line-height: 1.24;
}

.news-card h3 a {
  text-decoration: none;
}

.author {
  display: block;
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 800;
}

.keywords {
  margin-top: 16px;
  color: var(--accent-dark) !important;
  font-size: 0.84rem;
  font-weight: 800;
}

.band {
  background: #f7f8f4;
}

.program-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  text-decoration: none;
}

.program-card img {
  height: 230px;
}

.program-card span {
  display: block;
  padding: 22px 22px 0;
  font-size: 1.35rem;
  font-weight: 850;
}

.program-card p {
  margin: 10px 0 0;
  padding: 0 22px 24px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 28px;
  align-items: start;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-list.wide {
  max-width: 1100px;
  margin: 0 auto;
}

.news-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.news-card img {
  height: 112px;
  border-radius: 6px;
}

.source-link {
  color: var(--accent-dark);
  font-weight: 850;
  text-decoration: none;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 30px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.pagination span {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: white;
}

.sidebar {
  padding: 20px;
}

.sidebar img {
  height: 240px;
  margin-bottom: 18px;
  border-radius: 6px;
}

.sidebar .brand-tile img {
  width: 96px;
  height: 96px;
  margin: 0;
}

.startup-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 28px;
  align-items: stretch;
  padding: clamp(34px, 6vw, 72px) clamp(18px, 5vw, 72px);
  background: #f7f8f4;
}

.startup-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: 0.98;
}

.startup-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.62;
}

.brand-panel {
  min-height: 260px;
  border-radius: 8px;
}

.number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-weight: 850;
}

.plain-card.large {
  min-height: 260px;
}

.image-credit-card img {
  width: 100%;
  height: 140px;
  margin: 0 0 14px;
  border-radius: 6px;
}

.event-card img {
  height: 210px;
}

.page-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: end;
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 72px) clamp(34px, 5vw, 54px);
  overflow: hidden;
  color: white;
}

.page-hero h1 {
  max-width: 950px;
  font-size: clamp(2.4rem, 5.6vw, 5.4rem);
}

.prose {
  max-width: 820px;
  margin: 0 auto;
  padding: 38px 18px 64px;
}

.prose.embedded {
  margin: 0;
  padding: 0;
}

.prose h2 {
  margin: 36px 0 10px;
  font-size: 1.55rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer a {
  color: var(--accent-dark);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .featured-grid,
  .startup-hero,
  .two-col {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-row: auto;
  }

  .feature-card .media {
    height: 210px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 620px;
  }

  .news-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .news-card img {
    height: 92px;
  }

  .news-card .source-link {
    grid-column: 2;
  }

  .site-footer {
    flex-direction: column;
  }
}
