/* ==========================================================================
   Squarely — About Us page
   Built from Figma node 426:2. Pixel-faithful >=1100px, stacks below.
   Reuses tokens.css + base.css (header/footer/buttons). Motion via motion.css.
   ========================================================================== */

:root {
  --muted-3: #7a9a98;
  --beige: #f8f6f1;
  --c-mint: #aada91;
  --c-blue: #cfe2f3;
  --c-lilac: #e4daf5;
  --c-peach: #ffd9c2;
  --label-blue: #7ba8d9;
  --grad-team: linear-gradient(135deg, #3fa285 0%, #125e59 100%);
  --grad-pastel: linear-gradient(144deg, #aada91 0%, #cfe2f3 38.9%, #e4daf5 69.2%, #ffd9c2 100%);
}

.a-container { width: 100%; max-width: 1792px; margin-inline: auto; padding-inline: 60px; }
.a-eyebrow { font-weight: 600; font-size: 20px; color: var(--green-600); margin: 0 0 10px; }
.a-section-title { font-weight: 700; font-size: 42px; line-height: 1.2; color: var(--teal-900); margin: 0; }

/* ============================ HERO ============================ */
.about-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #125e59 0%, #3fa285 100%);
  color: #fff;
  min-height: 660px;
  display: flex;
  align-items: center;
}
.about-hero__lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.8;
  pointer-events: none;
}
.about-hero .a-container { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 70px; }
.about-hero__eyebrow { font-weight: 600; font-size: 20px; margin: 0 0 18px; }
.about-hero__title {
  font-weight: 900;
  font-size: 60px;
  line-height: 67px;
  letter-spacing: -1.5px;
  margin: 0;
  max-width: 1084px;
}
.about-hero__title .grad {
  background: linear-gradient(90deg, #aada91 0%, #cfe2f3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-hero__lead { font-size: 28px; line-height: 1.25; max-width: 812px; margin: 22px 0 0; }

/* ====================== WHY (3 cards on pastel panel) ====================== */
.why-why { padding: 80px 0 40px; text-align: center; }
.why-why__lead { font-size: 18px; line-height: 1.4; color: var(--teal-900); max-width: 757px; margin: 14px auto 0; }
.why-why__lead strong { font-weight: 600; }
.why-panel {
  position: relative;
  margin-top: 48px;
  border-radius: 30px;
  background: var(--grad-pastel);
  padding: 44px;
}
.why-panel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-info {
  background: #fff;
  border-radius: 30px;
  padding: 30px;
  text-align: left;
  min-height: 288px;
}
.why-info__icon { width: 48px; height: 48px; margin-bottom: 22px; }
.why-info__label { font-weight: 600; font-size: 18px; color: var(--label-blue); margin: 0 0 8px; }
.why-info__title { font-weight: 700; font-size: 22px; color: var(--teal-900); margin: 0 0 16px; }
.why-info__text { font-weight: 300; font-size: 18px; line-height: 1.35; color: var(--teal-700); margin: 0; }
.why-info__text strong { font-weight: 500; }

/* ====================== TEAM ====================== */
.team { padding: 64px 0 56px; }
.team__head { text-align: center; margin-bottom: 44px; }
.team__lead { font-size: 18px; line-height: 1.4; color: var(--teal-900); max-width: 757px; margin: 14px auto 0; }
.team__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 20px; align-items: start; }
/* Each card is a single composed image exported from Figma (portrait on the teal
   gradient + name badge baked in). Uniform aspect → uniform heights, no gaps.
   IMPORTANT: keep these as single images — see the note in about.html / CLAUDE.md. */
.team-card {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 225 / 299;
  object-fit: contain;
}

/* ====================== COMPANY (Sustainable Square) ====================== */
.company { padding: 24px 0; }
.company__box {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 90% at 5% 100%, rgba(83,188,125,0.29), rgba(83,188,125,0) 45%),
    var(--beige);
  border-radius: 50px;
  box-shadow: inset 0 0 50px rgba(45,130,103,0.05);
  padding: 90px 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 396px;
  gap: 80px;
  align-items: center;
}
.company__title { font-weight: 700; font-size: 44px; line-height: 1.2; color: var(--teal-900); margin: 8px 0 24px; max-width: 778px; }
.company__text { font-size: 18px; line-height: 1.5; color: var(--teal-900); margin: 0 0 14px; max-width: 700px; }
.company__text strong { font-weight: 600; }
.company__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.company__lockup { width: 100%; max-width: 396px; height: auto; justify-self: end; }
.btn--outline-teal {
  background: transparent;
  color: var(--teal-900);
  border: 1px solid var(--teal-900);
  height: 42px; padding: 0 26px; font-size: 18px; font-weight: 500;
}

/* ====================== CTA ====================== */
.about-cta { padding: 24px 0 64px; }
.about-cta__box {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(110% 110% at 85% 35%, rgba(45,130,103,0.9), rgba(45,130,103,0) 55%),
    var(--teal-700);
  border-radius: 50px;
  padding: 90px 100px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.about-cta__media { display: flex; align-items: center; justify-content: center; }
.about-cta__media img { height: 300px; width: auto; max-width: 100%; }
.about-cta__title { font-weight: 700; font-size: 48px; line-height: 1.2; margin: 0 0 18px; max-width: 724px; }
.about-cta__lead { font-size: 18px; line-height: 1.4; margin: 0 0 30px; max-width: 724px; }
.about-cta__actions { display: flex; flex-wrap: wrap; gap: 18px; }
.btn--outline-white {
  background: transparent; color: #fff; border: 1px solid #fff;
  height: 42px; padding: 0 26px; font-size: 18px;
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 1200px) {
  .team__grid { grid-template-columns: repeat(4, 1fr); }
  .company__box { grid-template-columns: 1fr; gap: 48px; }
  .company__lockup { justify-self: start; max-width: 320px; }
}
@media (max-width: 1100px) {
  .about-hero { min-height: 0; }
  .about-hero .a-container { padding-top: 120px; padding-bottom: 64px; }
  .about-hero__title { font-size: clamp(34px, 6vw, 52px); line-height: 1.08; }
  .about-hero__lead { font-size: clamp(18px, 2.6vw, 24px); }
  .why-panel__grid { grid-template-columns: 1fr; }
  .why-info { min-height: 0; }
  .a-section-title { font-size: clamp(28px, 5vw, 40px); }
}
@media (max-width: 820px) {
  .a-container { padding-inline: 40px; }
  .team__grid { grid-template-columns: repeat(3, 1fr); }
  .company__box, .about-cta__box { padding: 48px 32px; border-radius: 32px; }
  .company__title, .about-cta__title { font-size: 32px; }
  .about-cta__box { grid-template-columns: 1fr; gap: 32px; }
  .about-cta__media { display: none; } /* decorative mark — hide on mobile/tablet */
}
@media (max-width: 560px) {
  .a-container { padding-inline: 22px; }
  .why-panel { padding: 22px; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}
