/* Cove website. Design: Matt Seakins (Oct 2026). Tokens follow the design file exactly. */

:root {
  --teal: #015D5F;
  --mint-light: #CEEBE6;
  --mint: #A7D0C7;
  --plum: #530141;
  --pink: #EA91D3;
  --yellow: #FBEB5E;
  --orange: #FF7501;
  --white: #FFFFFF;
  --container: 1200px;
  --gutter: 48px;
  --header-h: 81px;
}
section[id], footer[id] { scroll-margin-top: var(--header-h); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--white);
  color: var(--teal);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
p { margin: 0; }
a { color: var(--teal); }
a:hover { color: var(--plum); }
ul { margin: 0; padding: 0; list-style: none; }
.d { font-family: 'Baloo 2', sans-serif; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .site-header__logo:focus-visible { border-radius: 999px; }
main { display: block; }
.plum { color: var(--plum); }
.pink { color: var(--pink); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
}

.h2 {
  margin: 0;
  font-size: 60px;
  line-height: 1.02;
  font-weight: 800;
}

.section-intro { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.section-intro__lede { font-size: 20px; line-height: 1.55; }

.eyebrow {
  align-self: flex-start;
  background: var(--white);
  color: var(--teal);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 15px;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  padding: 18px 28px;
  line-height: 1.2;
  white-space: nowrap;
}
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--plum); color: var(--white); }
.btn--outline { border: 2px solid var(--teal); padding: 16px 26px; color: var(--teal); }
.btn--outline:hover { border-color: var(--plum); color: var(--plum); }
.btn--sm { font-size: 15px; padding: 12px 22px; }

.pill {
  font-size: 14px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill--yellow { background: var(--yellow); color: var(--plum); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--mint-light);
  border-bottom: 1px solid var(--mint);
}
.site-header__row {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header__logo { display: flex; align-items: center; color: var(--teal); }
.site-header__logo svg { display: block; }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 16px; font-weight: 500; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--mint-light); }
.hero__mark { position: absolute; right: 60px; top: 70px; color: var(--teal); }
.hero__mark svg { display: block; }
.hero__inner {
  position: relative;
  padding-top: 110px;
  padding-bottom: 120px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.hero__title { margin: 0; font-size: 76px; line-height: 1.02; font-weight: 800; max-width: 760px; }
.hero__lede { font-size: 22px; line-height: 1.5; max-width: 620px; }
.hero__actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* Metrics */
.metrics { background: var(--teal); color: var(--mint-light); }
.metrics__grid {
  padding-top: 72px;
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.metric { display: flex; flex-direction: column; gap: 8px; }
.metric__value { font-size: 64px; line-height: 1; font-weight: 800; color: var(--yellow); }
.metric__label { font-size: 16px; line-height: 1.45; }

/* Model */
.model__inner { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 56px; }
.model__inner .h2 { max-width: 720px; }
.model__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.model__step { border-top: 6px solid var(--teal); padding-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.model__step--orange { border-top-color: var(--orange); }
.model__step--yellow { border-top-color: var(--yellow); }
.model__step--pink { border-top-color: var(--pink); }
.model__step--plum { border-top-color: var(--plum); }
.model__step-title { font-size: 40px; line-height: 1.05; font-weight: 800; }

/* Thesis */
.thesis { background: var(--mint-light); }
.thesis__grid {
  padding-top: 120px;
  padding-bottom: 120px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px;
}
.thesis__quote { grid-column: span 7; display: flex; flex-direction: column; gap: 24px; }
.thesis__cite { font-size: 16px; font-weight: 700; }
.thesis__body { grid-column: span 5; display: flex; flex-direction: column; gap: 22px; padding-top: 12px; font-size: 19px; line-height: 1.6; }

/* Approach */
.approach { background: var(--white); }
.approach__inner { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 56px; }
.approach__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile {
  background: var(--mint-light);
  border-radius: 28px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tile__num {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: var(--plum);
}
.tile__num--orange { background: var(--orange); }
.tile__num--yellow { background: var(--yellow); }
.tile__num--pink { background: var(--pink); }
.tile__num--mint { background: var(--mint); color: var(--teal); }
.tile__title { margin: 0; font-size: 27px; line-height: 1.1; font-weight: 700; }

/* Platform */
.platform { background: var(--plum); color: var(--white); }
.platform__inner { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 60px; }
.platform__levers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.platform__levers + .foundation { margin-top: -40px; }
.card {
  border-radius: 32px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--plum);
}
.card--yellow { background: var(--yellow); }
.card--orange { background: var(--orange); }
.card--pink { background: var(--pink); }
.card--mint { background: var(--mint); color: var(--teal); }
.card__tag {
  align-self: flex-start;
  background: var(--plum);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 15px;
  font-weight: 700;
}
.card--yellow .card__tag { color: var(--yellow); }
.card--orange .card__tag { color: var(--orange); }
.card--pink .card__tag { color: var(--pink); }
.card--mint .card__tag { background: var(--teal); color: var(--mint); }
.card__title { margin: 0; font-size: 34px; line-height: 1.1; font-weight: 700; }
.card__list { display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.5; }

.foundation { gap: 28px; }
.foundation__head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.foundation__lede { font-size: 18px; line-height: 1.55; }
.foundation__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border-top: 2px solid rgba(1, 93, 95, 0.25);
  padding-top: 24px;
}

/* Policy administration */
.pas { background: var(--mint-light); }
.pas__inner { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 44px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips li {
  background: var(--teal);
  color: var(--white);
  border-radius: 999px;
  padding: 12px 22px;
  font-family: 'Baloo 2', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}
.pas__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pas .tile { background: var(--white); }

/* Sectors */
.sectors__grid {
  padding-top: 120px;
  padding-bottom: 120px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px;
}
.sectors__copy { grid-column: span 6; display: flex; flex-direction: column; gap: 22px; font-size: 19px; line-height: 1.6; }
.sectors__list { grid-column: span 6; display: flex; flex-direction: column; gap: 12px; }
.sector {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 2px solid var(--mint);
  border-radius: 22px;
  padding: 22px 26px;
}
.sector--now { background: var(--teal); color: var(--white); border-color: var(--teal); padding: 24px 28px; }
.sector__name { font-size: 27px; font-weight: 700; line-height: 1.15; }
.sector__status { font-size: 14px; font-weight: 700; background: var(--mint-light); color: var(--teal); padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.sector__status--now { background: var(--yellow); color: var(--plum); }

/* Portfolio */
.portfolio { background: var(--mint-light); }
.portfolio__inner { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 48px; }
.portfolio__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.deal {
  grid-column: span 8;
  background: var(--white);
  border-radius: 32px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.deal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.deal__name { font-size: 42px; line-height: 1.1; font-weight: 800; }
.deal__meta { font-size: 16px; margin-top: 4px; }
.deal__body { font-size: 18px; line-height: 1.6; max-width: 620px; }
.deal__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 16px;
  border-top: 2px solid var(--mint-light);
  padding-top: 24px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__value { font-size: 44px; line-height: 1.05; font-weight: 800; color: var(--plum); }
.stat__label { font-size: 16px; line-height: 1.45; }
.next-deal {
  grid-column: span 4;
  border: 3px dashed var(--teal);
  border-radius: 32px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.next-deal__title { font-size: 32px; font-weight: 700; line-height: 1.1; }
.next-deal .btn { align-self: flex-start; }

/* Doors */
.doors__inner { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 48px; }
.doors__inner .h2 { max-width: 800px; }
.doors__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.door { border-radius: 32px; padding: 40px 34px; display: flex; flex-direction: column; gap: 16px; }
.door--yellow { background: var(--yellow); color: var(--plum); }
.door--teal { background: var(--teal); color: var(--white); }
.door--teal p { color: var(--mint-light); }
.door__tag { align-self: flex-start; background: var(--white); color: var(--plum); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 700; }
.door--teal .door__tag { background: var(--mint); color: var(--teal); }
.door__title { margin: 0; font-size: 32px; line-height: 1.08; font-weight: 700; }
.door__link { margin-top: auto; font-weight: 700; font-size: 16px; text-decoration: none; padding: 10px 0; align-self: flex-start; }
.door--yellow .door__link { color: var(--plum); }
.door--teal .door__link { color: var(--yellow); }
.door__link:hover { text-decoration: underline; }

/* Team */
.team { background: var(--mint-light); }
.team__inner { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 48px; }
.team__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.team__head .h2 { max-width: 720px; }
.team__lede { max-width: 360px; font-size: 18px; line-height: 1.55; }
.team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.person { display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.5; }
.person__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background: var(--mint);
  overflow: hidden;
}
.person__photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Placements taken from the Figma team section (261 x 326 tile). */
.person__photo--tom > img { position: absolute; left: -17.9%; top: 0; width: 125.5%; height: 100%; }
.person__photo--matt > img { position: absolute; left: -35.25%; top: 5.28%; width: 170.5%; height: 97.5%; }
.person__logos { position: absolute; left: 0; bottom: 0; width: 100%; padding: 8px; display: flex; gap: 8px; flex-wrap: nowrap; }
.logo-slot {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 8px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.logo-slot img { display: block; height: auto; width: auto; max-width: 110px; object-fit: contain; position: static; }
.logo-slot img[src$=".png"] { height: 21px; }
.person__name { font-size: 24px; line-height: 1.1; font-weight: 700; }
.person__role { font-size: 15px; font-weight: 700; color: var(--plum); margin-top: 2px; }

/* Press */
.press__inner { padding-top: 100px; padding-bottom: 100px; display: flex; flex-direction: column; gap: 28px; }
.press__title { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 800; }
.press__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.clip { text-decoration: none; border-top: 4px solid var(--teal); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.clip__source { font-size: 15px; font-weight: 700; color: var(--plum); }
.clip__headline { font-size: 23px; font-weight: 700; line-height: 1.2; }
.clip:hover .clip__headline { text-decoration: underline; }

/* Footer */
.site-footer { background: var(--plum); color: var(--white); }
.site-footer__inner {
  padding-top: 60px;
  padding-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 420px; font-size: 14px; line-height: 1.55; }
.site-footer__mark { color: var(--pink); }
.site-footer__mark svg { display: block; }
.site-footer__legal { font-size: 13px; }
.site-footer__cols { display: flex; gap: 60px; font-size: 14px; }
.site-footer__col { display: flex; flex-direction: column; gap: 2px; }
.site-footer__col a { padding: 11px 0; }
.site-footer__heading { font-weight: 700; color: var(--pink); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--pink); }

/* Responsive */
@media (max-width: 1100px) {
  .hero__mark { right: -80px; top: 120px; opacity: 0.35; }
  .model__grid, .approach__grid, .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform__levers, .pas__grid, .foundation__list, .press__grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .platform__levers + .foundation { margin-top: 0; }
  .foundation__list { gap: 12px; }
  .press__grid { gap: 32px; }
}

@media (max-width: 860px) {
  :root { --gutter: 24px; }
  .h2 { font-size: 44px; }
  .hero__mark { display: none; }
  .hero__inner { padding-top: 72px; padding-bottom: 80px; }
  .hero__title { font-size: 48px; }
  .hero__lede { font-size: 19px; }
  .metrics__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
  .metric__value { font-size: 52px; }
  .model__inner, .thesis__grid, .approach__inner, .platform__inner, .pas__inner, .sectors__grid,
  .portfolio__inner, .doors__inner, .team__inner { padding-top: 64px; padding-bottom: 64px; }
  .model__grid, .approach__grid, .team__grid, .doors__grid { grid-template-columns: 1fr; }
  .model__step-title { font-size: 34px; }
  .thesis__quote, .thesis__body, .sectors__copy, .sectors__list, .deal, .next-deal { grid-column: span 12; }
  .thesis__grid, .sectors__grid { gap: 28px; }
  .card { padding: 28px; border-radius: 24px; }
  .card__title { font-size: 28px; }
  .chips li { font-size: 17px; padding: 10px 18px; }
  .sector__name { font-size: 22px; }
  .deal { padding: 28px; }
  .deal__head { flex-direction: column; }
  .deal__name { font-size: 34px; }
  .deal__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next-deal { padding: 28px; }
  .door { padding: 28px 24px; }
  .team__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .press__inner { padding-top: 64px; padding-bottom: 64px; }
  .press__title { font-size: 32px; }
  .site-footer__inner { flex-direction: column; gap: 32px; }
  .site-footer__cols { gap: 40px; }
}
