/* ==========================================================================
   EMERALD ENERGIES — STYLESHEET
   Design concept: "The Sun's Arc" — one recurring arc motif used only where
   the content is genuinely sequential (hero horizon, process timeline,
   footer curve). Editorial, asymmetric layout. Two type families.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #172335;
  --navy-soft: #1F2E45;
  --teal: #3FA6A6;
  --teal-dark: #2C8585;
  --gold: #F4B72A;
  --off-white: #F7F8F5;
  --white: #FFFFFF;
  --muted: #64748B;

  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container-w: 1200px;
  --gutter: 24px;

  --radius-sm: 6px;
  --radius-md: 10px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Visible keyboard focus */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--white);
  color: var(--navy);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography ---------- */
.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  max-width: 20ch;
}
.section-heading--light { color: var(--white); }

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 52ch;
  margin-top: 16px;
}
.section-lead--narrow { max-width: 44ch; }

.eyebrow-plain {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--teal-dark);
  font-weight: 500;
  margin-bottom: 18px;
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  color: var(--teal-dark);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.text-link:hover { border-color: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy);
}
.btn--primary:hover { background: #E0A61F; }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(23, 35, 53, 0.25);
}
.btn--ghost:hover { border-color: var(--navy); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--outline-light:hover { border-color: var(--white); }

/* ---------- Media frames ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #E4E7E1; /* neutral placeholder tone until real image is added */
  aspect-ratio: 4 / 3;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--hero { aspect-ratio: 5 / 6; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--app { aspect-ratio: 9 / 11; max-width: 380px; margin-left: auto; }

/* Reveal-on-scroll (single, restrained pattern) */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(247, 248, 245, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(23, 35, 53, 0.08);
  transition: box-shadow 0.3s var(--ease);
}
.navbar.is-scrolled { box-shadow: 0 6px 20px rgba(23, 35, 53, 0.06); }

.navbar__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.navbar__logo-mark { color: var(--gold); display: inline-flex; }
.navbar__logo-img {
  height: 75px;
  max-height: 75px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.navbar__logo--footer .navbar__logo-img {
  height: 36px;
  max-height: 36px;
  filter: brightness(0) invert(1);
}
.navbar__list {
  display: flex;
  gap: 22px;
}
.navbar__list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.navbar__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--teal);
  transition: right 0.25s var(--ease);
}
.navbar__list a:hover::after { right: 0; }

.navbar__cta { flex-shrink: 0; padding: 12px 22px; margin-left: auto; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.navbar__toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 24px;
  padding: 24px var(--gutter) 32px;
  background: var(--off-white);
  border-bottom: 1px solid rgba(23, 35, 53, 0.08);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-menu__list a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.mobile-menu__cta { align-self: flex-start; }

@media (max-width: 860px) {
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__toggle { display: inline-flex; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 64px 0 96px;
  overflow: hidden;
}
.hero__arc {
  position: absolute;
  inset: 0;
  bottom: auto;
  height: 420px;
  pointer-events: none;
}
.hero__arc svg { width: 100%; height: 100%; }

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: center;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 2rem + 3vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.hero__headline span { color: var(--teal-dark); }

.hero__sub {
  margin-top: 24px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
}

.hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__media { position: relative; }
.hero__badge {
  position: absolute;
  left: -28px;
  bottom: -28px;
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  max-width: 240px;
  box-shadow: 0 20px 40px rgba(23, 35, 53, 0.25);
}
.hero__badge-amount {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gold);
}
.hero__badge-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__badge { left: 16px; bottom: -20px; }
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust {
  border-top: 1px solid rgba(23, 35, 53, 0.08);
  border-bottom: 1px solid rgba(23, 35, 53, 0.08);
  padding: 28px 0;
}
.trust__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.trust__line {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 44ch;
}
.trust__partner-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}
.trust__partners {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust__logo {
  height: 28px;
  width: auto;
  filter: grayscale(100%) opacity(0.7);
  transition: filter 0.2s var(--ease);
}
.trust__logo:hover {
  filter: grayscale(0%) opacity(1);
}

/* ==========================================================================
   SOLAR VALUE
   ========================================================================== */
.value {
  background: var(--white);
  padding: 96px 0;
  border-top: 1px solid rgba(23, 35, 53, 0.06);
  border-bottom: 1px solid rgba(23, 35, 53, 0.06);
}
.value__heading { margin-bottom: 48px; }
.value__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.value__item {
  padding-top: 20px;
  border-top: 1px solid rgba(23, 35, 53, 0.12);
}
.value__figure {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.value__item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.value__item p { color: var(--muted); font-size: 0.96rem; }

@media (max-width: 760px) {
  .value__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .value__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SOLUTIONS
   ========================================================================== */
.solutions { padding: 100px 0; }
.solutions__heading { margin-bottom: 64px; }

.solution-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid rgba(23, 35, 53, 0.12);
}
.solution-row:last-child { border-bottom: 1px solid rgba(23, 35, 53, 0.12); }

.solution-row__number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--teal);
}
.solution-row__copy h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.solution-row__copy p { color: var(--muted); max-width: 42ch; }

.solution-row__media .media-frame {
  aspect-ratio: 16 / 10;
  transition: transform 0.4s var(--ease);
}
.solution-row__media .media-frame:hover { transform: scale(1.015); }

.solution-row--reverse .solution-row__copy { order: 3; }
.solution-row--reverse .solution-row__media { order: 2; }

@media (max-width: 900px) {
  .solution-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .solution-row--reverse .solution-row__copy,
  .solution-row--reverse .solution-row__media { order: initial; }
}

/* ==========================================================================
   PROCESS (arc timeline)
   ========================================================================== */
.process {
  background: var(--navy);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.process .section-heading { margin-bottom: 8px; }
.process__arc {
  position: relative;
  height: 90px;
  margin-top: 40px;
}
.process__arc svg { width: 100%; height: 100%; }

.process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: -20px;
  position: relative;
}
.process__step { text-align: left; }
.process__num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.process__step h3 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.process__step p { color: rgba(255, 255, 255, 0.65); font-size: 0.94rem; }

@media (max-width: 860px) {
  .process__arc { display: none; }
  .process__list {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 40px;
  }
  .process__step {
    padding: 22px 0 22px 28px;
    border-left: 1px solid rgba(244, 183, 42, 0.35);
    position: relative;
  }
  .process__step::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 26px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gold);
  }
}

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.projects { padding: 100px 0; }
.projects .section-lead { margin-bottom: 56px; }

.projects__gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 20px;
}
.projects__item { position: relative; }
.projects__item .media-frame { height: 100%; aspect-ratio: auto; }

.projects__item--feature {
  grid-column: span 4;
  grid-row: span 2;
}
.projects__gallery .projects__item:nth-child(2) { grid-column: span 2; grid-row: span 1; }
.projects__gallery .projects__item:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.projects__gallery .projects__item:nth-child(4) { grid-column: span 3; grid-row: span 1; }
.projects__gallery .projects__item:nth-child(5) { grid-column: span 3; grid-row: span 1; }

.projects__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(23,35,53,0.85), transparent);
  color: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.projects__item:hover figcaption,
.projects__item:focus-within figcaption { opacity: 1; transform: translateY(0); }

.projects__type {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}
.projects__location {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}
.projects__item figcaption p {
  margin-top: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 900px) {
  .projects__gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 24px;
  }
  .projects__item--feature,
  .projects__gallery .projects__item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .projects__item .media-frame { aspect-ratio: 4 / 3; height: auto; }
  .projects__item figcaption { opacity: 1; transform: none; position: static; background: none; color: var(--navy); padding: 10px 2px 0; }
  .projects__location, .projects__item figcaption p { color: var(--muted); }
}

/* ==========================================================================
   WHY US
   ========================================================================== */
.why { background: var(--white); padding: 100px 0; }
.why__list {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.why__item {
  padding: 32px 28px;
  border-top: 1px solid rgba(23, 35, 53, 0.1);
  border-left: 1px solid rgba(23, 35, 53, 0.1);
}
.why__item:nth-child(3n+1) { border-left: none; padding-left: 0; }
.why__item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.why__item p { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 760px) {
  .why__list { grid-template-columns: 1fr; }
  .why__item { border-left: none !important; padding-left: 0; }
  .why__item:not(:first-child) { border-top: 1px solid rgba(23, 35, 53, 0.1); }
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats {
  background: var(--off-white);
  padding: 80px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem);
  color: var(--teal-dark);
}
.stats__label { color: var(--muted); margin-top: 6px; font-size: 0.95rem; }

@media (max-width: 700px) {
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { background: var(--navy); padding: 100px 0; }
.testimonials .section-heading { margin-bottom: 56px; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial {
  background: var(--navy-soft);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial__rating { color: var(--gold); letter-spacing: 2px; }
.testimonial blockquote {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  line-height: 1.65;
  flex-grow: 1;
}
.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial figcaption img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.1);
}
.testimonial__name { display: block; color: var(--white); font-weight: 600; font-size: 0.92rem; }
.testimonial__location { display: block; color: rgba(255, 255, 255, 0.6); font-size: 0.82rem; }

@media (max-width: 900px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SOLAR APP
   ========================================================================== */
.app { padding: 100px 0; }
.app__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: center;
}
.app__status {
  display: inline-block;
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 14px;
}
@media (max-width: 860px) {
  .app__grid { grid-template-columns: 1fr; }
  .app__media { order: -1; }
  .media-frame--app { margin: 0 auto; }
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
  position: relative;
  background: var(--teal-dark);
  padding: 110px 0;
  overflow: hidden;
  text-align: left;
}
.final-cta__arc {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.final-cta__arc svg { width: 100%; height: 100%; }

.final-cta__inner { position: relative; max-width: 640px; }
.final-cta__heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.6rem + 2vw, 3rem);
  color: var(--white);
  line-height: 1.1;
}
.final-cta__sub {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
}
.final-cta__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--navy); color: rgba(255, 255, 255, 0.75); padding: 72px 0 32px; }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.navbar__logo--footer { color: var(--white); margin-bottom: 16px; }
.footer__statement { max-width: 32ch; font-size: 0.92rem; }
.footer h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer li { margin-bottom: 10px; font-size: 0.9rem; }
.footer a:hover { color: var(--white); }

.footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   RESPONSIVE — general section spacing tighten on small screens
   ========================================================================== */
@media (max-width: 640px) {
  .hero { padding: 40px 0 64px; }
  .value, .solutions, .process, .projects, .why, .testimonials, .app { padding: 64px 0; }
  .stats { padding: 56px 0; }
  .final-cta { padding: 72px 0; }
  .hero__headline { font-size: clamp(2.2rem, 1.8rem + 4vw, 3rem); }
}

/* ==========================================================================
   ABOUT PAGE (about.html)
   ========================================================================== */

/* ---- Page header ---- */
.about-hero {
  position: relative;
  padding: 56px 0 0;
  overflow: hidden;
}
.about-hero__arc {
  position: absolute;
  inset: 0;
  bottom: auto;
  height: 320px;
  pointer-events: none;
}
.about-hero__arc svg { width: 100%; height: 100%; }

.about-hero__top {
  position: relative;
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 40px;
  align-items: end;
  padding-bottom: 48px;
}
.about-hero__heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.6rem + 2.4vw, 3.2rem);
  line-height: 1.12;
  color: var(--navy);
  max-width: 16ch;
}
.about-hero__heading span { color: var(--teal-dark); }
.about-hero__cta { justify-self: end; }

/* Asymmetric two-photo band, offset like a diptych rather than a matched pair */
.about-hero__gallery {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 20px;
  padding-bottom: 90px;
}
.about-hero__gallery .media-frame:first-child { aspect-ratio: 5 / 4; }
.about-hero__gallery .media-frame:last-child { aspect-ratio: 4 / 5; margin-top: 56px; }

@media (max-width: 860px) {
  .about-hero__top { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .about-hero__cta { justify-self: start; }
  .about-hero__gallery { grid-template-columns: 1fr; padding-bottom: 48px; }
  .about-hero__gallery .media-frame:last-child { margin-top: 0; }
}

/* ---- Intro statement ---- */
.about-intro { background: var(--white); padding: 90px 0; }
.about-intro__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
}
.about-intro__lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  line-height: 1.35;
  color: var(--navy);
}
.about-intro__body { color: var(--muted); font-size: 1.02rem; }
.about-intro__body p + p { margin-top: 16px; }

@media (max-width: 860px) {
  .about-intro__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---- History: founders + timeline rail ---- */
.history { padding: 100px 0; }
.history__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
}

.history__intro { margin-bottom: 56px; }
.history__intro .eyebrow-plain { margin-bottom: 12px; }

.founders {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.founder {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(23, 35, 53, 0.12);
}
.founder:first-child { border-top: none; padding-top: 0; }

.founder__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: #E4E7E1;
  flex-shrink: 0;
}
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.founder__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
}
.founder__role {
  display: block;
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.88rem;
  margin: 2px 0 10px;
}
.founder__bio { color: var(--muted); font-size: 0.95rem; max-width: 52ch; }

/* Timeline rail — vertical, offset cards, connected by a single line rather than a boxed grid */
.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(23, 35, 53, 0.15);
}
.timeline__item {
  position: relative;
  padding-bottom: 40px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.timeline__date {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.timeline__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.timeline__desc { color: var(--muted); font-size: 0.94rem; }

@media (max-width: 900px) {
  .history__grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 520px) {
  .founder { grid-template-columns: 1fr; }
}