/* CORA Projects static site */
:root {
  --white: #ffffff;
  --black: #000000;
  --accent: hsl(218.18, 37.29%, 23.14%);
  --cream: hsl(60, 7.46%, 86.86%);
  --ink: hsl(330, 2.44%, 16.08%);
  --blue: #2978BD;
  --footer: hsl(330, 2.44%, 16.08%);
  --max: 1600px;
  --pad: 3vw;
  --header-h: 120px;
  --font: "Poppins", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  letter-spacing: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { opacity: 0.85; }
h1, h2, h3, h4, h5 { font-weight: 500; line-height: 1.15; letter-spacing: 0; margin: 0 0 0.6em; color: var(--accent); }
h1 { font-size: clamp(2.2rem, 4.8vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.8rem); color: inherit; }
h3 { font-size: clamp(1.4rem, 2.1vw, 2.1rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
.hl { color: var(--blue); font-weight: 600; }
.hl-u { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { height: 88px; width: auto; }
.logo-mobile { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--accent);
  margin: 7px 0;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.site-nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.02rem;
  padding-bottom: 2px;
}
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.15rem 2.2rem;
  border: 2px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  background: transparent;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.btn:hover { background: var(--blue); color: #fff; opacity: 1; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--accent); }

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.narrow { max-width: 920px; margin-left: auto; margin-right: auto; }
.prose-wide { max-width: 1080px; }

/* Heroes */
.hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a;
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  padding: 5rem var(--pad);
  margin: 0;
}
.hero h1, .hero h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.6rem); margin: 0; font-weight: 500; line-height: 1.15; text-shadow: 0 1px 18px rgba(0,0,0,0.25); }
.banner {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 5.5rem var(--pad);
}
.banner h1, .banner h2 { color: #fff; margin: 0; font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 500; text-shadow: 0 1px 18px rgba(0,0,0,0.25); }

.hero-about {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  background: #123 center/cover no-repeat;
  color: #fff;
  padding: 6rem var(--pad);
}
.hero-about-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero-about h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 4.2rem); margin: 0; line-height: 1.12; text-shadow: 0 1px 16px rgba(0,0,0,0.3); }
.hero-about p { margin: 0; font-size: 1.15rem; line-height: 1.55; text-shadow: 0 1px 12px rgba(0,0,0,0.35); }

/* Sections */
.section { padding: 5.5rem var(--pad); }
.section-tight { padding: 4rem var(--pad); }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--accent); color: #fff; }
.bg-navy h2, .bg-navy h3, .bg-navy h1 { color: #fff; }
.eyebrow {
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0 0 0.35rem;
}
.bg-navy .eyebrow { color: #5aa0d6; }

.split {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.split-text { padding: 5.5rem 5vw; display: flex; flex-direction: column; justify-content: center; }
.split-text .rule {
  width: 100%;
  max-width: 280px;
  border: 0;
  border-top: 1px solid #222;
  margin: 0.7rem 0 1.6rem;
}
.split-media { min-height: 520px; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.rounded { border-radius: 14px; overflow: hidden; }
.bg-navy .split { gap: 3rem; align-items: center; padding: 5rem var(--pad); }
.bg-navy .split-text { padding: 2rem 1rem 2rem 0; }
.bg-navy .split-media { padding: 2rem 0; min-height: 0; }
.bg-navy .split-media img { border-radius: 14px; height: auto; max-height: 640px; object-fit: cover; width: 100%; }

.center { text-align: center; }
.lede { font-size: 1.08rem; line-height: 1.6; }
.section h2 + p, .section-tight h2 + p { }

/* Restoration / CTA band */
.cta-row {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.cta-row img { width: 100%; border-radius: 14px; }
.cta-card {
  background: var(--blue);
  color: #fff;
  border-radius: 28px;
  padding: 2rem 2.1rem 1.6rem;
  margin: 0 0 1.4rem;
}
.cta-card h3 { color: #fff; margin: 0; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.25; }

/* Quote */
.quote-band {
  background: #0d0d0d;
  color: #fff;
  padding: 4.5rem var(--pad) 3.5rem;
  text-align: left;
}
.quote-band blockquote {
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 500;
  line-height: 1.3;
  font-style: normal;
}
.quote-band cite {
  display: block;
  text-align: right;
  margin-top: 1.4rem;
  font-style: italic;
  font-weight: 600;
  font-size: 1rem;
}
.quote-photo {
  line-height: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
}
.quote-photo img { width: 100%; height: 320px; object-fit: cover; object-position: center 30%; }
.quote-photo .cap {
  position: relative;
  margin-top: -3.2rem;
  text-align: right;
  padding-right: 6vw;
  color: #fff;
  font-weight: 500;
  font-size: 1.05rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* Values */
.values { text-align: center; padding: 4.5rem var(--pad) 5.5rem; }
.values-grid {
  max-width: 1100px;
  margin: 2.2rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value img {
  width: 210px; height: 210px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.2rem;
}
.value h3 { margin: 0 0 0.4rem; }
.value p { max-width: 240px; margin: 0 auto; font-size: 0.98rem; color: #222; }

/* Mission */
.mission {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.mission img { width: 100%; border-radius: 14px; max-height: 520px; object-fit: cover; }
.mission ul { margin: 0 0 1.8rem; padding-left: 1.15rem; }
.mission li { margin: 0 0 0.85rem; }

/* Accordion */
.accordion-band {
  background: var(--accent);
  color: #fff;
  padding: 4rem var(--pad);
}
.accordion-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}
.accordion-inner h3 { color: #fff; margin: 0; font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.acc { border-top: 1px solid rgba(255,255,255,0.55); }
.acc:last-child { border-bottom: 1px solid rgba(255,255,255,0.55); }
.acc > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 0;
  font-size: 1.05rem;
  color: #fff;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc .plus {
  width: 18px; height: 18px; position: relative; flex: 0 0 18px;
}
.acc .plus::before, .acc .plus::after {
  content: "";
  position: absolute;
  background: #fff;
  left: 50%; top: 50%;
}
.acc .plus::before { width: 16px; height: 1.5px; transform: translate(-50%, -50%); }
.acc .plus::after { width: 1.5px; height: 16px; transform: translate(-50%, -50%); }
.acc[open] .plus::after { display: none; }
.acc .acc-body { padding: 0 2rem 1.2rem 0; color: #eef3f8; font-size: 0.98rem; }

/* Team */
.kicker-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 2.2rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.kicker-line::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--accent);
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  max-width: 980px;
  margin: 0 auto 3.5rem;
  justify-items: center;
}
.person { width: 100%; max-width: 360px; text-align: center; }
.person img {
  width: 260px; height: 260px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.1rem;
}
.person details { text-align: left; }
.person summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--accent);
  padding: 0.35rem 0 0.45rem;
  color: var(--accent);
  font-size: 1.05rem;
}
.person summary::-webkit-details-marker { display: none; }
.person summary .plus {
  width: 16px; height: 16px; position: relative; flex: 0 0 16px;
}
.person summary .plus::before, .person summary .plus::after {
  content: ""; position: absolute; background: var(--accent); left: 50%; top: 50%;
}
.person summary .plus::before { width: 14px; height: 1.5px; transform: translate(-50%,-50%); }
.person summary .plus::after { width: 1.5px; height: 14px; transform: translate(-50%,-50%); }
.person details[open] summary .plus::after { display: none; }
.person .bio { padding: 1rem 0 0; font-size: 0.98rem; line-height: 1.55; text-align: left; }

/* Essay */
.essay { max-width: 920px; margin: 0 auto; padding: 3.5rem var(--pad) 5rem; }
.essay .meta { letter-spacing: 0.04em; font-size: 0.95rem; margin: 0 0 0.8rem; color: #111; }
.essay h1 { color: #111; margin: 0 0 1rem; }
.essay .sub { font-style: italic; margin: 0; }
.essay p { font-size: 1.08rem; }

/* Contact form (mailto) */
.form-wrap { max-width: 720px; margin: 3.2rem auto 5rem; }
.form-wrap label { display: block; font-weight: 500; margin: 0 0 0.35rem; }
.req { font-weight: 400; color: #444; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-wrap input, .form-wrap textarea {
  width: 100%;
  border: 1px solid #c8c8c8;
  border-radius: 2px;
  padding: 0.7rem 0.75rem;
  font: 400 1rem/1.4 var(--font);
  margin-bottom: 1.15rem;
  background: #fff;
}
.form-wrap textarea { min-height: 140px; resize: vertical; }
.form-note { margin-top: 1rem; color: #333; font-size: 0.95rem; }

/* Carbon page */
.carbon { text-align: center; padding: 5rem var(--pad) 4rem; max-width: 900px; margin: 0 auto; }
.carbon h3 { color: var(--accent); margin: 0 0 0.35rem; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.carbon h2 { color: var(--accent); margin: 0 0 1.8rem; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.15; }
.carbon .rule { width: 46%; max-width: 420px; margin: 2.4rem auto 1.8rem; border: 0; border-top: 1px solid #333; }

/* Footer */
.site-footer {
  background: var(--footer);
  color: #fff;
  padding: 4rem var(--pad) 3.5rem;
}
.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
  font-weight: 600;
}
.acronym { margin: 0; line-height: 1.45; font-weight: 500; }
.site-footer p { margin: 0 0 1.2rem; }

/* Responsive */
@media (max-width: 900px) {
  .logo-desktop { display: none; }
  .logo-mobile { display: block; }
  .logo img { height: 58px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid #eee;
  }
  .is-open .site-nav { display: flex; }
  .site-nav a { padding: 0.85rem var(--pad); }
  .split, .hero-about-inner, .cta-row, .mission, .accordion-inner, .values-grid, .team-grid, .footer-inner, .row-2, .bg-navy .split {
    grid-template-columns: 1fr;
  }
  .split-media { min-height: 320px; }
  .split-text { padding: 3rem var(--pad); }
  .bg-navy .split { padding: 3.2rem var(--pad); }
  .bg-navy .split-text { padding: 0 0 1.5rem; }
  .hero { min-height: 42vh; padding: 4rem var(--pad); }
  .hero-about { min-height: 0; padding: 4.5rem var(--pad); }
  .section { padding: 3.5rem var(--pad); }
  .quote-photo img { height: 220px; }
  .person img, .value img { width: 200px; height: 200px; }
}

@media (min-width: 901px) {
  .team-grid .person:nth-child(3) { grid-column: 1; }
}
