/* Central Arc Angels site styles
   Sizes are measured from the original Squarespace site and scale
   between phone, laptop (1000px) and wide (1440px+) screens. */

:root {
  --navy: #253551;
  --green: #3fb34f;
  --white: #ffffff;
  --text: #000000;
  --overlay: rgba(37, 53, 81, 0.85);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout: 1200px content column, 3vw side gutter (6vw on phones) */
  --max-width: 1200px;
  --gutter: 3vw;
  --section-pad: 3.3vw;

  /* Type scale */
  --fs-body: clamp(19.2px, 16.87px + 0.273vw, 20.8px);
  --fs-lead: clamp(20.3px, 17.16px + 0.364vw, 22.4px);
  --fs-h2: clamp(28.9px, 19.5px + 1.09vw, 35.2px);
  --fs-display: clamp(35.4px, 21.24px + 1.636vw, 44.8px);
  --fs-h1: clamp(48.4px, 24.73px + 2.727vw, 64px);
  --fs-small: 16px;
}

@media (max-width: 767px) {
  :root {
    --gutter: 6vw;
    --section-pad: 63px;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-weight: 500;
  margin: 0 0 32px;
}
h1 { font-size: var(--fs-h1); line-height: 1.32; }
h2 { font-size: var(--fs-h2); line-height: 1.428; }
h3 { font-size: var(--fs-lead); line-height: 1.476; }

.display { font-size: var(--fs-display); line-height: 1.392; }

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { opacity: 0.75; }

strong { font-weight: 500; }

.container {
  width: 100%;
  max-width: calc(var(--max-width) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Bold intro paragraph, styled as a heading on the original */
.lead {
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.476;
  margin-bottom: 32px;
}

.small { font-size: var(--fs-small); }
.measure { max-width: 70.6%; }

@media (max-width: 767px) {
  .measure { max-width: none; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--navy);
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Header */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  color: var(--white);
  font-size: 16px;
}
.site-header--solid {
  position: relative;
  background: var(--navy);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.3vw;
  padding-bottom: 2.3vw;
}
.site-header--solid .container { padding-bottom: 4.1vw; }

.site-logo img { width: 148px; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--white);
  text-decoration: none;
  line-height: 24px;
  padding: 1.6px 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { opacity: 1; border-bottom-color: var(--white); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  width: 47px;
  height: 37px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 35px;
  height: 1.5px;
  margin: 8px auto;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 767px) {
  .site-header .container,
  .site-header--solid .container { padding-top: 23px; padding-bottom: 23px; }
  .site-logo img { width: 96px; }
  .nav-toggle { display: block; position: relative; z-index: 30; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 25;
  }
  .site-nav ul { flex-direction: column; align-items: center; gap: 1.5rem; font-size: 1.5rem; }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }
}

/* Image-backed navy sections */

.band {
  position: relative;
  color: var(--white);
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: -1;
}

.hero { padding: calc(75px + 7.9vw) 0 3.4vw; }
.hero--home { padding-bottom: clamp(64px, 7.4vw, 126px); }
.hero--home h1 { margin: 0; max-width: 70.6%; }
.hero--founders { padding-bottom: min(5.8vw, 39px + 3.05vw); }

.hero ul { padding-left: 40px; margin: 0 0 clamp(24px, 2.64vw, 38px); }
.hero li { margin-bottom: 11px; }
.hero li:last-child { margin-bottom: 0; }
.hero .btn-row { margin: 0 0 min(28px + 1.4vw, 48px); }

@media (max-width: 767px) {
  .hero { padding-top: 113px; padding-bottom: 48px; }
  .hero--home { padding-bottom: 31px; }
  .hero--home h1 { max-width: none; }
  .hero ul { margin-bottom: 53px; }
  .hero .btn-row { margin-bottom: 46px; }
  .btn-row.btn-row--spaced { margin-top: 49px; }
}

.band--quote {
  padding: calc(25px + 4vw) 0 3.6vw;
  text-align: center;
}
.band--quote figure { margin: 0 auto; max-width: 66.4%; }
.band--quote blockquote { margin: 0 0 15px; }
.band--quote blockquote p { font-style: italic; }
.band--quote .quote-logo { width: clamp(69px, 19px + 5vw, 91px); margin: clamp(17px, 7.5vw - 58px, 50px) auto 0; }

@media (max-width: 767px) {
  .band--quote { padding: 64px 0 71px; }
  .band--quote figure { max-width: none; }
  .band--quote .quote-logo { width: 78px; margin-top: 18px; }
}

/* Home sections below the hero are at least a third of the window
   tall, with content centred vertically, as on the original */
.fill { min-height: 33vh; display: flex; align-items: center; }
.fill > .container { flex: 1; }
.band--image { height: 33vh; }

/* Content sections */

.section { padding: var(--section-pad) 0; }
.section--about { padding: min(6.6vw, 122px) 0 calc(150px + 6.5vw); }

@media (max-width: 767px) {
  .section--about { padding: 56px 0 96px; }
}

.section h2 + p,
.section .lead + p { margin-top: 0; }
.section * + h2 { margin-top: 32px; }

.btn-row { margin: clamp(9px, 3.2vw - 23px, 23px) 0 0; }
.btn-row--spaced { margin-top: clamp(24px, 5.9vw - 27px, 58px); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(228px, 82.5px + 14.55vw, 292px);
  height: clamp(50px, 22.7px + 2.73vw, 62px);
  padding: 0 32px;
  font-family: inherit;
  font-weight: 500;
  font-size: clamp(17.2px, 16.3px + 0.09vw, 17.6px);
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 6.4px;
  background: var(--navy);
  color: var(--white);
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.8; }

.btn--light {
  background: var(--white);
  color: var(--navy);
  width: clamp(266px, 93.3px + 17.27vw, 342px);
}

@media (max-width: 767px) {
  .btn,
  .btn--light { width: 100%; height: 58px; }
}

/* Pitch process */

.steps { list-style: none; padding: 0; margin: 32px 0 0; }
.steps li { margin-bottom: 32px; }
.steps li:last-child { margin-bottom: 0; }
.steps h3 { margin: 0 0 32px; }

/* Pitch training: text plus portrait */

.training {
  margin-top: clamp(12px, 6.1vw - 49px, 39px);
  margin-bottom: clamp(0px, 14.9vw - 147px, 68px);
  display: grid;
  grid-template-columns: 66.4% 1fr;
  align-items: start;
}
.training h2 { grid-column: 1 / -1; }
.training-photo {
  justify-self: end;
  width: clamp(199px, 139px + 10vw, 283px);
  max-width: 100%;
  margin-right: clamp(0px, 3.6vw - 22px, 30px);
}
.training-photo img { border-radius: 8px; }

@media (max-width: 767px) {
  .training { grid-template-columns: 1fr; margin-bottom: 0; }
  .training-photo { justify-self: center; width: 199px; margin: 32px 0 0; }
}

/* Partner logos */

.logo-grid {
  list-style: none;
  padding: 0;
  margin: -8px 0 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 50px;
  row-gap: 48px;
}
.logo-grid li {
  aspect-ratio: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-grid a { display: contents; }
.logo-grid img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-grid + h2 { margin-top: 65px; }

@media (max-width: 1100px) {
  .logo-grid { column-gap: 4vw; row-gap: 40px; }
}
@media (max-width: 767px) {
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 50px; row-gap: 53px; }
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0 56px;
  font-size: 16px;
  line-height: 1.5;
}
.footer-grid {
  display: grid;
  grid-template-columns: 41.2% 1fr 15.9% 11.7%;
  column-gap: 0.9%;
}
.footer-brand { grid-column: 1; grid-row: 1; }
.footer-learn { grid-column: 3; grid-row: 1; }
.footer-follow { grid-column: 4; grid-row: 1; }

.footer-title { font-size: var(--fs-lead); font-weight: 500; line-height: 1.476; margin: 0 0 32px; }
.footer-heading { font-weight: 500; margin: 0 0 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-brand p { margin-bottom: 16px; }
.footer-brand .footer-title { margin-bottom: 32px; }

@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 40px; }
  .footer-brand { grid-column: 1 / -1; grid-row: 1; }
  .footer-learn { grid-column: 1; grid-row: 2; }
  .footer-follow { grid-column: 2; grid-row: 2; }
}

/* 404 */

.gap-before { margin-top: 31px; }
.section h2.after-text { margin-top: 57px; }

@media (max-width: 767px) {
  .section h2.after-text { margin-top: 48px; }
}

@media (max-width: 767px) {
  .site-header--solid .container { padding-bottom: 72px; }
}

.not-found { padding: 6.6vw 0 12vw; }
