.cg-brand {
  display: block;
  flex: none;
  line-height: 0;
}
.cg-brand img {
  display: block;
  height: clamp(52px, 4.8vw, 66px);
  width: auto;
  object-fit: contain;
}
header .navwrap { gap: clamp(17px, 2.2vw, 33px); }
.cg-hero { background: #183e30; padding: clamp(24px, 3.5vw, 50px) 0 18px; }
.cg-hero .herogrid {
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.38fr);
  gap: clamp(20px, 2.7vw, 39px) clamp(24px, 3vw, 46px);
}
.cg-hero .herotxt .overline {
  color: #d5e3c5;
  letter-spacing: .13em;
  font-size: .74rem;
}
.cg-hero .herotxt h1 {
  font-size: clamp(44px, 4.9vw, 72px);
  color: #fffdf5;
}
.cg-hero .herotxt h1 em { color: #dce9bd; }
.cg-hero .herotxt > p:last-child { max-width: 36ch; color: #e5eee5; }
.cg-hero .herophoto {
  height: auto;
  aspect-ratio: 1.92;
  border-radius: 4px 38px 4px 4px;
}
.cg-hero .herophoto img { display: block; object-position: center 48%; }
.cg-hero .finder { border-color: #edeedc; }
.cg-shortcuts, .cg-grad-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 2px clamp(14px, 2vw, 27px);
  align-items: center;
}
.cg-shortcuts { margin: 8px 0 0; }
.cg-shortcuts a, .cg-grad-tools a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  gap: 7px;
  font: 650 .91rem/1.3 var(--sans);
  text-decoration: none;
}
.cg-shortcuts a { color: #f4f6e9; }
.cg-shortcuts svg { width: 19px; height: 19px; color: #d8e7b7; }
.cg-shortcuts a:hover, .cg-grad-tools a:hover, .cg-textlink:hover { text-decoration: underline; }
.cg-section { padding-block: clamp(34px, 4.25vw, 62px); }
.discovery:has(+ .cg-section) { padding-bottom: clamp(32px, 3.1vw, 46px); }
.discovery + .cg-section { border-top: 1px solid #cbd6c9; }
.cg-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: clamp(16px, 2vw, 26px);
}
.cg-section-head h2, .cg-section-head h3 { margin: 0; }
.cg-section h2, .cg-ranking-intro h2, .cg-planning h2 { color: #1a3b2c; }
.cg-textlink {
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
  flex-shrink: 0;
  color: #244e38;
}
.cg-cards, .cg-rank-grid { display: grid; gap: clamp(14px, 1.65vw, 24px); }
.cg-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cg-three, .cg-rank-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cg-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  color: #173b2c;
  text-decoration: none;
  border: 1px solid #ced9ce;
  border-radius: 9px;
}
.cg-image { overflow: hidden; background: #e1e9df; aspect-ratio: 1.65; }
.cg-image img { display: block; height: 100%; width: 100%; object-fit: cover; object-position: center 44%; }
.cg-copy { flex: 1; position: relative; padding: 16px 18px 44px; }
.cg-copy h3, .cg-rank-card h3 {
  font: 400 clamp(1.45rem, 2.1vw, 1.9rem)/1.1 var(--serif);
  letter-spacing: -.035em;
  margin: 0 0 8px;
}
.cg-copy p, .cg-rank-card p { margin: 0; font-size: .96rem; color: #425b4d; line-height: 1.45; }
.cg-arrow {
  position: absolute;
  right: 16px;
  bottom: 10px;
  color: #2d5338;
  font: 550 1.35rem/1 var(--sans);
}
.cg-card:hover, .cg-rank-card:hover { border-color: #628264; }
.cg-card:hover h3, .cg-rank-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.cg-funding { background: #eaf0e7; }
.cg-funding .cg-image { aspect-ratio: 2; }
.cg-grad-intro { padding-top: 12px; }
.cg-grad-hero {
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: stretch;
  background: #e7eee3;
  border-radius: 5px 34px 5px 5px;
}
.cg-grad-hero > div { align-self: center; padding: clamp(26px, 4vw, 60px); }
.cg-grad-hero h1 { font-size: clamp(42px, 4.9vw, 70px); color: #1b3e30; }
.cg-grad-hero p { max-width: 41ch; font-size: clamp(1rem, 1.5vw, 1.18rem); color: #344e40; }
.cg-grad-hero figure { margin: 0; min-height: 280px; }
.cg-grad-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cg-grad-tools { border-bottom: 1px solid #cbd5c9; padding: 9px 0; }
.cg-grad-tools a { color: #245138; text-decoration: underline; text-decoration-color: #a3b59d; }
.cg-rank { background: #f7f4e8; padding-block: clamp(36px, 4vw, 58px); }
.cg-ranking-intro { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 22px; }
.cg-ranking-intro > div { flex: 1; }
.cg-ranking-intro h2 { max-width: 17ch; margin-bottom: 12px; }
.cg-ranking-intro p { color: #455c49; max-width: 50ch; margin: 0; }
.cg-ranking-intro img { width: min(43%, 490px); height: auto; mix-blend-mode: multiply; }
.cg-rank-card {
  position: relative;
  border: 1px solid #bfcbb8;
  border-radius: 5px;
  background: #fffef8;
  color: #224431;
  padding: clamp(18px, 1.8vw, 26px) 36px clamp(18px, 1.8vw, 26px) clamp(18px, 1.8vw, 26px);
  text-decoration: none;
}
.cg-rank-card svg { width: 28px; height: 28px; margin-bottom: 10px; display: block; }
.cg-rank-card > span { position: absolute; right: 15px; bottom: 16px; }
.cg-further { margin-top: clamp(23px, 2.7vw, 37px); }
.cg-further .cg-section-head { margin-bottom: 9px; }
.cg-further .cg-section-head h3 { font-size: clamp(23px, 2vw, 30px); }
.cg-further .rankrows { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; }
.cg-further .rankrows a { display: flex; align-items: center; min-height: 44px; border: 0; border-top: 1px solid #cad1bd; border-radius: 0; padding: 9px 0; background: transparent; font-size: .91rem; }
.cg-planning {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 76px);
  padding-block: clamp(30px, 4.25vw, 60px);
  border-top: 1px solid #c9d6c8;
}
.cg-planning h2 { font-size: clamp(29px, 3vw, 43px); }
.cg-planning ul { list-style: none; padding: 0; margin: 13px 0 0; }
.cg-planning li { border-bottom: 1px solid #d5ded2; }
.cg-planning li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 2px; min-height: 44px; text-decoration: none; color: #284a35; font-weight: 650; }
.cg-planning li a:hover { text-decoration: underline; }
@media (max-width: 1180px) {
  .cg-brand img { height: 58px; }
}
@media (max-width: 849px) {
  .cg-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cg-copy { padding: 14px 14px 38px; }
  .cg-hero .herogrid { gap: 18px; }
  .cg-hero .herotxt h1 { font-size: 44px; }
}
@media (max-width: 760px) {
  header .navwrap { gap: 8px; }
  .cg-brand img { height: 49px; }
  .cg-hero { padding: 20px 0 8px; }
  .cg-hero .herogrid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .cg-hero .herotxt h1 { font-size: clamp(41px, 8vw, 56px); }
  .cg-hero .herotxt h1 br { display: none; }
  .cg-hero .herotxt h1 em::before { content: " "; }
  .cg-hero .herotxt > p:last-child { max-width: 53ch; margin-bottom: 0; }
  .cg-hero .herophoto { aspect-ratio: 2.08; border-radius: 4px 22px 4px 4px; }
  .cg-shortcuts { gap: 0 15px; }
  .cg-shortcuts a { min-height: 42px; font-size: .85rem; }
  .cg-grad-hero { grid-template-columns: minmax(0,1fr); }
  .cg-grad-hero > div { padding: 24px; }
  .cg-grad-hero figure { min-height: 0; aspect-ratio: 2.15; }
  .cg-grad-tools { gap: 0 16px; }
  .cg-grad-tools a { font-size: .85rem; }
  .cg-further .rankrows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
  .cg-three { grid-template-columns: minmax(0, 1fr); }
  .cg-three .cg-card { display: grid; grid-template-columns: .78fr 1.22fr; }
  .cg-three .cg-image { height: 100%; aspect-ratio: auto; min-height: 128px; }
  .cg-three .cg-copy { padding-bottom: 28px; }
  .cg-rank-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .cg-rank-card { display: grid; grid-template-columns: 28px 1fr; column-gap: 13px; padding: 17px 36px 17px 14px; }
  .cg-rank-card svg { margin: 0; grid-row: span 2; }
  .cg-rank-card p { grid-column: 2; }
  .cg-planning { grid-template-columns: minmax(0, 1fr); }
  .cg-section-head { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
  .cg-ranking-intro { display: block; }
  .cg-ranking-intro img { width: min(82%, 360px); margin: 16px auto 0; display: block; }
}
@media (max-width: 419px) {
  .cg-four { grid-template-columns: minmax(0, 1fr); }
  .cg-four .cg-card { display: grid; grid-template-columns: .78fr 1.22fr; }
  .cg-four .cg-image { height: 100%; aspect-ratio: auto; min-height: 125px; }
  .cg-shortcuts { gap: 0 12px; }
  .cg-shortcuts a { font-size: .8rem; gap: 4px; }
  .cg-shortcuts svg { width: 16px; height: 16px; }
  .cg-further .rankrows { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 350px) {
  .cg-brand img { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
