:root {
  --ivory: #fff7ea;
  --porcelain: #fffdf6;
  --parchment: #f2e2c7;
  --midnight: #102330;
  --graphite: #18212b;
  --charcoal: #2f3437;
  --teal: #1f6f68;
  --teal-dark: #164f4b;
  --marigold: #e0a92b;
  --clay: #b86445;
  --lotus: #c65e73;
  --river: #4a8da1;
  --line: rgba(24, 33, 43, 0.13);
  --shadow: 0 22px 60px rgba(16, 35, 48, 0.13);
  --serif: "Iowan Old Style", "Cormorant Garamond", Georgia, serif;
  --sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--porcelain);
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--graphite);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font: 400 1rem/1.5 var(--sans);
}

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  background: var(--teal);
  color: var(--ivory);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 246, 0.95);
  padding: 0.9rem 1rem;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: var(--shadow);
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
}

.brand small,
.desktop-nav a,
.header-cta,
.button,
.eyebrow,
.stats-band span,
.progress-labels {
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 0.2rem;
  color: rgba(47, 52, 55, 0.65);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.desktop-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.desktop-nav a {
  color: rgba(24, 33, 43, 0.78);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.desktop-nav a:hover {
  color: var(--teal);
}

.header-cta {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: var(--ivory);
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.header-cta:hover,
.button.primary:hover {
  background: var(--midnight);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 78svh;
  overflow: hidden;
  background: var(--midnight);
  color: var(--ivory);
}

.hero > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 35, 48, 0.94), rgba(16, 35, 48, 0.78) 46%, rgba(16, 35, 48, 0.18)),
    linear-gradient(0deg, rgba(16, 35, 48, 0.44), rgba(16, 35, 48, 0.08));
}

.hero-content {
  display: grid;
  align-content: end;
  width: min(100%, 78rem);
  min-height: 78svh;
  margin: 0 auto;
  padding: 7rem 1rem 3rem;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--marigold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--clay);
}

.eyebrow.gold {
  color: var(--marigold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
}

h1 {
  margin-bottom: 1.4rem;
  font-size: 4.4rem;
  line-height: 0.9;
}

h2 {
  margin-bottom: 0;
  color: var(--graphite);
  font-size: 3rem;
  line-height: 1.03;
}

h3 {
  margin-bottom: 0;
  font-size: 2rem;
  line-height: 1.1;
}

.hero-copy {
  max-width: 43rem;
  margin-bottom: 1rem;
  color: rgba(255, 247, 234, 0.8);
  font-size: 1.15rem;
  line-height: 1.7;
}

.founder-line {
  margin: 0 0 2rem;
  color: var(--marigold);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-actions,
.contact-actions,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0.8rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button.primary {
  background: var(--teal);
  color: var(--ivory);
}

.button.secondary {
  border-color: rgba(255, 247, 234, 0.42);
  color: var(--ivory);
}

.button.secondary:hover {
  border-color: var(--marigold);
  color: var(--marigold);
}

.stats-band {
  display: grid;
  gap: 1px;
  width: min(100%, 78rem);
  margin: 0 auto;
  background: var(--line);
  padding: 1rem;
}

.stats-band article {
  background: var(--porcelain);
  padding: 1.5rem;
}

.stats-band strong {
  display: block;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 3.8rem;
  font-weight: 500;
  line-height: 1;
}

.stats-band span {
  display: block;
  margin-top: 0.7rem;
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stats-band p {
  margin: 0.8rem 0 0;
  color: rgba(47, 52, 55, 0.72);
  font-size: 0.95rem;
  line-height: 1.7;
}

.section {
  width: min(100%, 78rem);
  margin: 0 auto;
  padding: 4.8rem 1rem;
}

.split,
.partner,
.timeline-section {
  display: grid;
  gap: 2.7rem;
}

.prose {
  color: rgba(47, 52, 55, 0.76);
  font-size: 1.08rem;
  line-height: 1.85;
}

.prose p {
  margin-bottom: 1.35rem;
}

blockquote {
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.7rem 0;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 2.05rem;
  line-height: 1.2;
}

.warm,
.gallery-section,
.founders-section {
  width: 100%;
  background: var(--ivory);
}

.warm > *,
.gallery-section > *,
.founders-section > * {
  max-width: 78rem;
  margin-inline: auto;
}

.founders-section {
  display: grid;
  gap: 2rem;
}

.founders-copy {
  max-width: 78rem;
}

.founders-copy h2 {
  max-width: 44rem;
}

.founders-copy p:not(.eyebrow) {
  max-width: 44rem;
  margin: 1.4rem 0 0;
  color: rgba(47, 52, 55, 0.72);
  font-size: 1.05rem;
  line-height: 1.8;
}

.founders-list {
  display: grid;
  gap: 1rem;
}

.founders-visual {
  display: grid;
  gap: 1rem;
}

.founders-photo {
  min-height: 24rem;
}

.founders-photo img {
  object-position: center;
}

.founders-list article {
  border-top: 4px solid var(--teal);
  background: var(--porcelain);
  padding: 1.45rem;
  box-shadow: var(--shadow);
}

.founders-list span {
  display: block;
  margin-bottom: 1.3rem;
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.founders-list strong {
  display: block;
  color: var(--graphite);
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
}

.section-intro {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.3rem;
}

.intro-heading {
  display: grid;
  gap: 1rem;
}

.intro-heading .eyebrow {
  margin-bottom: 0;
}

.section-intro h2 {
  max-width: 48rem;
}

.section-intro p:not(.eyebrow) {
  max-width: 33rem;
  color: rgba(47, 52, 55, 0.7);
  font-size: 0.96rem;
  line-height: 1.75;
}

.compact {
  margin-bottom: 2.1rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid article {
  border-top: 4px solid var(--teal);
  background: var(--porcelain);
  padding: 1.45rem;
  box-shadow: var(--shadow);
}

.card-grid .icon {
  display: inline-grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 1px solid rgba(31, 111, 104, 0.35);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
}

.card-grid h3 {
  margin-top: 1.7rem;
  color: var(--graphite);
}

.card-grid p {
  margin: 1rem 0 0;
  color: rgba(47, 52, 55, 0.71);
  font-size: 0.95rem;
  line-height: 1.75;
}

.timeline-section {
  width: 100%;
  max-width: none;
  background: var(--midnight);
  color: var(--ivory);
}

.timeline-section > div {
  max-width: 78rem;
  margin-inline: auto;
}

.timeline-section h2,
.contact-band h2 {
  color: var(--ivory);
}

.timeline-section > div:first-child p:not(.eyebrow) {
  max-width: 26rem;
  color: rgba(255, 247, 234, 0.66);
  line-height: 1.75;
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline article {
  display: grid;
  gap: 0.8rem;
  border-top: 1px solid rgba(255, 247, 234, 0.16);
  padding: 1.4rem 0;
}

.timeline span {
  color: var(--marigold);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.timeline h3 {
  color: var(--ivory);
}

.timeline p {
  margin-bottom: 0;
  color: rgba(255, 247, 234, 0.68);
  font-size: 0.95rem;
  line-height: 1.75;
}

.gallery {
  display: grid;
  gap: 1rem;
}

figure {
  position: relative;
  min-height: 18rem;
  margin: 0;
  overflow: hidden;
  background: var(--parchment);
  box-shadow: var(--shadow);
}

figure img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 450ms ease;
}

figure:hover img {
  transform: scale(1.025);
}

figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(16, 35, 48, 0.86), rgba(16, 35, 48, 0));
  color: var(--ivory);
  font-size: 0.9rem;
  line-height: 1.55;
  padding: 4rem 1rem 1rem;
}

.partner {
  background: var(--porcelain);
}

.partner > div > p {
  max-width: 44rem;
  color: rgba(47, 52, 55, 0.72);
  font-size: 1.05rem;
  line-height: 1.8;
}

.progress {
  height: 1rem;
  max-width: 37rem;
  overflow: hidden;
  background: rgba(24, 33, 43, 0.1);
}

.progress span {
  display: block;
  width: 30%;
  height: 100%;
  background: var(--teal);
}

.progress-labels {
  display: flex;
  max-width: 37rem;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.9rem;
  color: rgba(47, 52, 55, 0.66);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.support-box {
  background: var(--ivory);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.support-box h3 {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  color: var(--graphite);
}

.support-box ul {
  display: grid;
  gap: 0.75rem;
  margin: 1.3rem 0 1.6rem;
  padding: 0;
  list-style: none;
}

.support-box li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(47, 52, 55, 0.74);
  font-size: 0.95rem;
  line-height: 1.65;
}

.support-box li::before {
  content: "";
  position: absolute;
  top: 0.63rem;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  background: var(--teal);
}

.contact-band {
  display: grid;
  gap: 2.5rem;
  background: var(--midnight);
  color: var(--ivory);
  padding: 4rem 1rem;
}

.contact-band > * {
  width: min(100%, 78rem);
  margin-inline: auto;
}

.contact-actions {
  display: grid;
  gap: 1rem;
}

.contact-actions article {
  border-top: 1px solid var(--marigold);
  padding-top: 1.2rem;
}

.contact-actions h3 {
  color: var(--ivory);
}

.contact-actions p {
  margin: 0.7rem 0 0;
  color: rgba(255, 247, 234, 0.66);
  font-size: 0.94rem;
  line-height: 1.7;
}

.site-footer {
  display: grid;
  gap: 1.6rem;
  border-top: 1px solid var(--line);
  background: var(--porcelain);
  padding: 2rem 1rem;
}

.site-footer > * {
  width: min(100%, 78rem);
  margin-inline: auto;
}

.site-footer strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
}

.site-footer p {
  max-width: 31rem;
  margin: 0.5rem 0 0;
  color: rgba(47, 52, 55, 0.7);
  font-size: 0.95rem;
  line-height: 1.65;
}

.site-footer nav a {
  color: rgba(47, 52, 55, 0.72);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-footer nav a:hover {
  color: var(--teal);
}

@media (min-width: 640px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-inline: 1.5rem;
  }

  .desktop-nav {
    display: flex;
  }

  h1 {
    font-size: 6.4rem;
  }

  h2 {
    font-size: 4rem;
  }

  .stats-band {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid,
  .contact-actions,
  .founders-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .site-header {
    padding-inline: 2rem;
  }

  .hero-content,
  .section,
  .stats-band {
    padding-inline: 2rem;
  }

  .hero-content {
    padding-bottom: 3.8rem;
  }

  h1 {
    font-size: 8rem;
  }

  h2 {
    font-size: 4.7rem;
  }

  .split,
  .partner {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5rem;
  }

  .timeline-section {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 5rem;
    padding-inline: 2rem;
  }

  .timeline article {
    grid-template-columns: 0.3fr 0.7fr;
    gap: 2rem;
  }

  .section-intro {
    grid-template-columns: 1fr 0.8fr;
    align-items: end;
  }

  .section-intro.compact {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .founders-section {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: end;
    padding-inline: 2rem;
  }

  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 18rem;
  }

  figure.feature {
    grid-column: span 2;
    grid-row: span 2;
  }

  figure.wide {
    grid-column: span 2;
  }

  .contact-band {
    grid-template-columns: 0.8fr 1.2fr;
    padding-inline: 2rem;
  }

  .contact-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    align-items: end;
    padding-inline: 2rem;
  }
}

@media (max-width: 639px) {
  .site-header {
    align-items: start;
  }

  .header-cta {
    min-height: 2.6rem;
    max-width: 7.5rem;
    padding-inline: 0.75rem;
    text-align: center;
  }

  .brand strong {
    font-size: 1.35rem;
  }

  h1 {
    font-size: 4.25rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .hero-copy {
    font-size: 1.02rem;
  }
}
