/* ============================================
   EGOES SOLUTION — corporate BPO landing page
   ============================================ */

:root {
  --navy: #101E2B;
  --navy-2: #0B1721;
  --teal: #0D6A57;
  --teal-dark: #095345;
  --cream: #F7F6F3;
  --paper: #FBFAF8;
  --line: #E2E1DC;
  --line-dark: rgba(255, 255, 255, 0.14);
  --text: #101E2B;
  --text-muted: #5B6670;
  --text-on-dark: #F4F5F3;
  --text-on-dark-muted: #A7B0B6;
  --white: #FFFFFF;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  --max-width: 1280px;
  --gutter: 32px;

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Manrope", "Inter", sans-serif;
  margin: 0;
  color: inherit;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

ul { list-style: none; margin: 0; padding: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: var(--space-2) var(--space-3);
  z-index: 1000;
}
.skip-link:focus { left: var(--space-2); top: var(--space-2); }

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

.arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
a:hover .arrow,
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Fade-up scroll animation ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-small { padding: 11px 20px; font-size: 12.5px; }
.btn-large { padding: 19px 34px; font-size: 15px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--line);
  z-index: 500;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo { display: block; line-height: 0; }
.logo img {
  height: 58px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: var(--space-5);
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-cta { flex-shrink: 0; background: var(--teal); }
.header-cta:hover { background: #0F8A70; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--navy);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-2) var(--gutter) var(--space-4);
  border-top: 1px solid var(--line);
  background: var(--white);
}
.mobile-nav a {
  padding: var(--space-2) 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: var(--space-3); align-self: flex-start; }
.mobile-nav.open { display: flex; }

/* ---------- Section labels / headings ---------- */
.section-label {
  font-family: "Manrope", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-2);
}
.section-label-dark { color: #6FC7B4; }

.section-heading {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  max-width: 720px;
  margin-bottom: var(--space-4);
}
.section-heading-dark { color: var(--text-on-dark); }
.section-intro-dark { color: var(--text-on-dark-muted); margin-bottom: var(--space-5); }

.section-intro {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: var(--space-6);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(680px, 100vh);
  min-height: max(680px, 100svh);
  display: flex;
  align-items: center;
  padding: calc(84px + var(--space-6)) 0 var(--space-7);
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img,
.hero-bg video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-bg { background: url("images/hero-poster.webp") center / cover no-repeat; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--navy);
  opacity: 0.74;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}
.eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6FC7B4;
  margin-bottom: var(--space-3);
}
.hero-copy { max-width: 860px; }
.hero h1 {
  font-size: clamp(40px, 6vw, 86px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  margin-bottom: var(--space-4);
  max-width: 18ch;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-on-dark-muted);
  max-width: 46ch;
  margin-bottom: var(--space-5);
}
.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.hero .btn-primary { background: var(--teal); }
.hero .btn-primary:hover { background: #0F8A70; }
.hero .btn-outline {
  color: var(--text-on-dark);
  border-color: rgba(244, 245, 243, 0.5);
}
.hero .btn-outline:hover {
  background: var(--text-on-dark);
  color: var(--navy);
  border-color: var(--text-on-dark);
}

/* ---------- About ---------- */
.about {
  position: relative;
  overflow: hidden;
  padding: var(--space-8) 0;
  background: var(--navy);
  color: var(--text-on-dark);
}
.about-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 23, 33, 0.95) 0%, rgba(16, 30, 43, 0.88) 50%, rgba(16, 30, 43, 0.6) 100%);
}
.about-grid {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
}
.about-text { max-width: 640px; }
.about-heading {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-on-dark);
  max-width: 16ch;
  margin-bottom: var(--space-4);
}
.about-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.about-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-on-dark-muted);
  max-width: 58ch;
}
.about-copy p:nth-last-child(2) {
  margin-top: var(--space-2);
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-on-dark);
}
.about-copy .about-closing { color: var(--text-on-dark); }
.btn-pill {
  display: inline-block;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  color: #6FC7B4;
  border: 1.5px solid #6FC7B4;
  border-radius: 999px;
  padding: 12px 26px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-pill:hover { background: #6FC7B4; color: var(--navy); }
/* ---------- Services ---------- */
.services {
  position: relative;
  padding-top: var(--space-7);
  padding-bottom: var(--space-8);
  overflow: hidden;
}
.services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.services-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services-overlay {
  position: absolute;
  inset: 0;
  background: var(--white);
  opacity: 0.68;
}
.services .container {
  position: relative;
  z-index: 1;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.it-solutions {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(84px + var(--space-6));
  padding-bottom: var(--space-6);
}
.it-solutions .container { width: 100%; }
.it-solutions .section-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal);
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(16, 30, 43, 0.12);
}
.it-solutions .section-heading,
.it-solutions .section-intro {
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.95), 0 0 6px rgba(255, 255, 255, 0.9);
}
.it-solutions .section-intro { color: var(--text); }
.it-solutions .services-bg img { object-position: center 12%; }
.it-solutions .services-overlay {
  opacity: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0.72) 55%, rgba(255, 255, 255, 0.85) 100%);
}
.it-solutions .service-card { background: rgba(255, 255, 255, 0.94); }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: var(--space-4) var(--space-3);
  box-shadow: 0 1px 2px rgba(16, 30, 43, 0.04);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 106, 87, 0.35);
  box-shadow: 0 12px 28px rgba(16, 30, 43, 0.08);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(13, 106, 87, 0.1);
  color: var(--teal);
  margin-bottom: var(--space-4);
}
.service-title {
  margin: 0 0 var(--space-1);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
}
.service-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- Why Egoes (dark) ---------- */
.why-egoes {
  position: relative;
  background: var(--navy);
  padding: var(--space-8) 0;
  overflow: hidden;
}
.why-bg { position: absolute; inset: 0; z-index: 0; }
.why-bg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.why-overlay { position: absolute; inset: 0; background: var(--navy); opacity: 0.8; }
.why-egoes .container { position: relative; z-index: 1; }
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-3);
}
.principle {
  display: flex;
  flex-direction: column;
  padding-top: var(--space-3);
  border-top: 1px solid var(--line-dark);
}
.principle-index {
  display: block;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 34px;
  color: #6FC7B4;
  margin-bottom: var(--space-3);
}
.principle h3 {
  color: var(--text-on-dark);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.principle p {
  color: var(--text-on-dark-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Process ---------- */
.process { padding: var(--space-8) 0; }
.process-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-top: var(--space-3);
}
.process-step {
  flex: 1;
  padding-top: var(--space-3);
  border-top: 1px solid var(--navy);
}
.process-index {
  display: block;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--teal);
  margin-bottom: var(--space-2);
}
.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.process-step p {
  font-size: 14.5px;
  color: var(--text-muted);
}
.process-arrow {
  color: var(--line);
  font-size: 20px;
  margin-top: var(--space-3);
  flex-shrink: 0;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--cream);
  padding: var(--space-8) 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-7);
  align-items: start;
}
.faq-head { position: sticky; top: calc(84px + var(--space-3)); }
.faq-head .section-heading { margin-bottom: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--navy); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  cursor: pointer;
  list-style: none;
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 700;
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  color: var(--teal);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--teal); }
.faq-item summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.faq-item p {
  padding: 0 var(--space-5) var(--space-3) 0;
  color: var(--text-muted);
  font-size: 16px;
}

/* ---------- CTA / Contact ---------- */
.cta {
  background: var(--navy);
  padding: var(--space-8) 0;
  text-align: center;
}
.cta-heading {
  color: var(--text-on-dark);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  max-width: 18ch;
  margin: 0 auto var(--space-3);
}
.cta-sub {
  color: var(--text-on-dark);
  font-size: 19px;
  font-weight: 600;
  margin: 0 auto var(--space-2);
}
.cta-body {
  color: var(--text-on-dark-muted);
  font-size: 17px;
  max-width: 52ch;
  margin: 0 auto var(--space-5);
}
.cta .btn-primary {
  background: var(--teal);
}
.cta .btn-primary:hover { background: #0F8A70; }
.cta-contact {
  margin-top: var(--space-5);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-on-dark-muted);
  font-size: 15px;
}
.cta-contact a { color: var(--text-on-dark); font-weight: 500; }
.cta-contact .dot { color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-2);
  padding: var(--space-6) 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-logo {
  line-height: 0;
  margin-bottom: 12px;
}
.footer-logo img {
  height: 52px;
  width: auto;
}
.footer-tagline {
  font-size: 13.5px;
  color: var(--text-on-dark-muted);
}
.footer-nav {
  display: flex;
  gap: var(--space-4);
}
.footer-nav a {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover { color: var(--text-on-dark); }
.footer-copy {
  font-size: 13px;
  color: #5C6870;
  width: 100%;
  padding-top: var(--space-4);
  margin-top: var(--space-2);
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-4);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { min-height: max(560px, 100svh); padding-top: calc(72px + var(--space-6)); padding-bottom: var(--space-6); }
  .hero h1 { max-width: none; }

  .about-overlay { background: rgba(11, 23, 33, 0.9); }

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

  .faq-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .faq-head { position: static; }

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

  .process-row { flex-direction: column; }
  .process-arrow { display: none; }
  .process-step { width: 100%; }

}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 15.5px; }
  .header-inner { height: 68px; }
  .hero { min-height: max(480px, 100svh); padding-top: calc(68px + var(--space-5)); padding-bottom: var(--space-5); }

  .section-heading { margin-bottom: var(--space-3); }
  .faq-item summary { font-size: 16.5px; }
  .faq-item p { padding-right: 0; }
  .about, .why-egoes, .process, .faq, .cta { padding: var(--space-6) 0; }
  .services { padding-top: var(--space-6); padding-bottom: var(--space-6); }

  .principles-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .service-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .footer-inner { flex-direction: column; }
  .footer-nav { flex-wrap: wrap; }
}

/* ---------- About page ---------- */
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(84px + var(--space-8)) 0 var(--space-8);
  background: var(--navy);
  color: var(--text-on-dark);
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,23,33,0.95) 0%, rgba(16,30,43,0.86) 55%, rgba(16,30,43,0.6) 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  max-width: 16ch;
  margin-bottom: var(--space-4);
}
.page-hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-on-dark-muted);
  max-width: 62ch;
}

.founder { padding: var(--space-8) 0; background: var(--paper); }
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: var(--space-7);
  align-items: start;
}
.founder-photo { position: sticky; top: calc(84px + var(--space-4)); }
.founder-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 24px 24px 0 -8px var(--line);
}
.founder-lead {
  font-family: "Manrope", sans-serif;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--space-4);
  padding-left: var(--space-3);
  border-left: 3px solid var(--teal);
}
.founder-copy { display: flex; flex-direction: column; gap: var(--space-3); }
.founder-copy p { font-size: 17px; line-height: 1.7; color: var(--text-muted); max-width: 62ch; }
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.stat-row strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.1;
}
.stat-row span { font-size: 14px; color: var(--text-muted); }

.team { padding: var(--space-8) 0; background: var(--white); }
.team .section-intro { margin-bottom: var(--space-6); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-6) var(--space-5);
}
.team-grid .person { grid-column: span 2; }
.team-grid .person:first-child { grid-column: 3 / span 2; }
.team-grid .person:nth-child(2) { grid-column: 1 / span 2; }
.person img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  margin-bottom: var(--space-3);
  background: var(--cream);
}
.person h3 { font-size: 21px; font-weight: 700; }
.person-role {
  font-family: "Manrope", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 4px 0 var(--space-2);
}
.person p:last-child { font-size: 15px; line-height: 1.65; color: var(--text-muted); }

.tl-block {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}
.tl-heading { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; margin-bottom: var(--space-2); }
.tl-copy { max-width: 66ch; color: var(--text-muted); font-size: 16.5px; margin-bottom: var(--space-5); }
.tl-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-3);
}
.tl img { width: 100%; height: auto; display: block; border-radius: 4px; background: var(--cream); }
.tl figcaption {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-top: var(--space-1);
}

@media (max-width: 1024px) {
  .page-hero { padding: calc(72px + var(--space-6)) 0 var(--space-6); }
  .founder-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .founder-photo { position: static; max-width: 360px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid .person,
  .team-grid .person:nth-child(2),
  .team-grid .person:first-child { grid-column: auto; }
  .team-grid .person:first-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - var(--space-5) / 2); }
  .tl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .page-hero { padding-top: calc(68px + var(--space-5)); }
  .page-hero-sub { font-size: 16.5px; }
  .founder, .team { padding: var(--space-6) 0; }
  .team-grid { grid-template-columns: 1fr; }
  .team-grid .person:first-child { width: auto; justify-self: stretch; }
  .person img { max-width: 320px; }
  .tl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
