/* ============================================================
   ABOUT PAGE — Append these styles to the bottom of style.css
   No nav, footer, cursor, loader, or body styles here —
   those already live in the shared style.css
   ============================================================ */

/* ── Shared section utilities ─────────────────────────────── */
section { padding: 120px 56px; }
.section--paper  { background: var(--paper); }
.section--off    { background: var(--off-white); }
.section--white  { background: var(--white); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 62px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--black);
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--grey-200);
  flex-shrink: 0;
}

.section-body {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--grey-600);
}

/* ── Reveal animation ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
  padding: 10px 40px;
  padding-top: 30px;
}

/* ── Page breadcrumb ──────────────────────────────────────── */
.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s ease forwards;
  padding-top: 40px;
}
.page-breadcrumb a { color: var(--grey-400); text-decoration: none; transition: color 0.3s; }
.page-breadcrumb a:hover { color: var(--blue); }
.page-breadcrumb::before { content: ""; width: 24px; height: 1px; background: var(--red); }

/* ── Hero (about page) ────────────────────────────────────── */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 0 56px;
  overflow: hidden;
  background: var(--white);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.page-hero-line {
  position: absolute; left: 0; top: 0;
  width: 3px; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--red) 35%, var(--blue) 70%, transparent);
  opacity: 0.5;
  transform: scaleY(0);
  transform-origin: top;
  animation: lineAnim 1.2s 0.3s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes lineAnim { to { transform: scaleY(1); } }

.page-hero-h1 {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: 24px;
}
.page-hero-h1 .line { display: block; overflow: hidden; }
.page-hero-h1 .line-inner {
  display: block;
  transform: translateY(100%);
  animation: slideUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.page-hero-h1 .line:nth-child(1) .line-inner { animation-delay: .55s; }
.page-hero-h1 .line:nth-child(2) .line-inner { animation-delay: .70s; }
.page-hero-h1 .line:nth-child(3) .line-inner { animation-delay: .85s; }

.page-hero-sub {
  font-size: 22px;
  font-weight: 400;
  color: var(--grey-600);
  max-width: 580px;
  line-height: 1.75;
  opacity: 0;
  animation: fadeUp 0.8s 1.0s ease forwards;
}

@keyframes fadeUp  { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn  { to { opacity:1; } }

/* ── Story grid (Fold 2) ──────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.story-image { position: relative; }
.story-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: grayscale(10%);
}
.story-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--black);
  color: var(--white);
  padding: 20px 24px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  max-width: 168px;
}
.story-badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}
.story-paragraphs p {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--grey-600);
  margin-bottom: 18px;
}
.story-paragraphs p:last-child { margin-bottom: 0; }
.story-paragraphs strong { color: var(--black); font-weight: 600; }

/* ── Vision / Mission grid (Fold 3) ──────────────────────── */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--grey-100);
  border: 1px solid var(--grey-100);
  margin-top: 56px;
}
.vm-card {
  background: var(--white);
  padding: 48px 44px;
  transition: background 0.2s;
}
.vm-card:hover { background: var(--off-white); }
.vm-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 16px;
}
.vm-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.vm-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--grey-600);
}

/* ── Promise / Values (Fold 4) ───────────────────────────── */
.promise-wrap {
  background: var(--off-white);
  border-top: 1px solid var(--grey-100);
  border-bottom: 1px solid var(--grey-100);
}
.promise-header { gap: 72px; align-items: start; }
.promise-quote {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--grey-800);
  border-left: 2px solid var(--grey-200);
  padding-left: 24px;
  margin-top: 8px;
}
.values-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 24px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--grey-100);
  border: 1px solid var(--grey-100);
}
.value-item {
  background: var(--white);
  padding: 32px 28px;
  transition: background 0.2s;
}
.value-item:hover { background: var(--paper); }
.value-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--grey-200);
  margin-bottom: 10px;
}
.value-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}
.value-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--grey-600);
}

/* ── Team / Expertise (Fold 5) ───────────────────────────── */
.team-intro { gap: 40px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--grey-100);
  border: 1px solid var(--grey-100);
}
.team-card {
  background: var(--white);
  transition: background 0.2s;
}
.team-card:hover { background: var(--off-white); }
.team-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo-placeholder svg { width: 48px; height: 48px; opacity: 0.2; }
.team-info { padding: 20px 24px 28px; }
.team-name { font-size: 1rem; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.team-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 12px;
}
.team-bio { font-size: 1rem; line-height: 1.65; color: var(--grey-600); }

/* ── Stats (Fold 6) ──────────────────────────────────────── */
.stats-header { text-align: center; margin-bottom: 64px; }
.stats-header .eyebrow { justify-content: center; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--white);
  border: 1px solid var(--grey-100);
  margin-bottom: 60px;
}
.stat-item {
  background: var(--white);
  padding: 48px 36px;
  text-align: center;
  opacity: 1;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.2s;
}
.stat-item.visible { opacity: 1; transform: none; }
/* .stat-item:hover { background: var(--off-white); } */
.stat-number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--grey-600);
  margin: 0 auto 8px;
}
.stat-sub {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--grey-400);
}

/* ── Solution strip ──────────────────────────────────────── */
.solution-strip {
  background: var(--off-white);
  border: 1px solid var(--grey-100);
  padding: 40px 48px;
  display: grid;
  /*grid-template-columns: auto 1fr;*/
  gap: 48px;
  align-items: center;
}
.solution-number {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.05em;
  line-height: 1;
}
.solution-number span {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-top: 6px;
}
.service-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.service-pill {
  background: var(--white);
  border: 1px solid var(--grey-100);
  color: var(--grey-800);
  font-size: 16px;
  font-weight: 500;
  padding: 9px 18px;
  letter-spacing: 0.03em;
  transition: all 0.2s;
}
.service-pill:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* ── CTA section (Fold 7) ────────────────────────────────── */
.cta-section {
  background: var(--blue);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 56px;
}
.cta-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-content { position: relative; z-index: 1; margin: 0 auto; }
.cta-overline {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 20px;
}
.cta-overline::before { content: ""; width: 24px; height: 1px; background: var(--red); }
.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 5.5vw, 74px);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 20px;
}
.cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  margin-bottom: 44px;
  line-height: 1.75;
}
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  border: 1px solid var(--grey-200);
  transition: all 0.3s ease;
}
.btn-primary:hover { background: var(--red); }
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--grey-200);
  display: inline-block;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

/* ── Responsive: 1024px ──────────────────────────────────── */
@media (max-width: 1024px) {
  section { padding: 80px 32px !important; }
  .cta-section { padding: 80px 32px !important; }

  .page-hero { padding: 0 32px !important; }
  .page-hero-content { max-width: 100%; }
  .page-hero-h1 { font-size: clamp(36px, 5vw, 56px); }
  .page-hero-sub { font-size: 18px; }

  .story-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  .story-badge { right: -8px; bottom: -12px; }

  .vm-grid { grid-template-columns: 1fr !important; }
  .vm-card { padding: 36px 32px !important; }

  .values-grid { grid-template-columns: 1fr 1fr !important; }

  .stats-grid { grid-template-columns: 1fr 1fr !important; }
  .stat-item { padding: 36px 24px; }

  .solution-strip { grid-template-columns: 1fr !important; gap: 20px; padding: 28px 24px !important; }

  .team-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ── Responsive: 768px ───────────────────────────────────── */
@media (max-width: 768px) {
  section { padding: 56px 20px !important; }
  .cta-section { padding: 64px 20px !important; }

  .page-hero { padding: 0 20px !important; min-height: 100svh; align-items: center; padding-bottom: 60px !important; }
  .page-hero-content { padding-top: 80px; }
  .page-breadcrumb { font-size: 10px; letter-spacing: 0.14em; margin-bottom: 16px; padding-top: 0; }
  .page-hero-h1 { font-size: clamp(28px, 8vw, 44px) !important; margin-bottom: 16px; }
  .page-hero-sub { font-size: 15px !important; max-width: 100%; }

  .section-title { text-align: left !important; font-size: clamp(24px, 6vw, 38px) !important; }
  .eyebrow { justify-content: flex-start !important; }
  .section-body { text-align: left !important; }
  .page-breadcrumb { text-align: left !important; }

  .story-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .story-badge { right: 0; bottom: -10px; max-width: 140px; padding: 14px 16px; }
  .story-image { margin-bottom: 20px; }
  .story-paragraphs p { font-size: 15px; }

  .vm-grid { grid-template-columns: 1fr !important; gap: 2px; }
  .vm-card { padding: 32px 28px !important; }
  .vm-heading { font-size: 1.1rem; }
  .vm-text { font-size: 15px; }

  .values-grid { grid-template-columns: 1fr !important; }
  .value-item { padding: 24px 20px; }
  .value-name { font-size: 15px; }
  .value-text { font-size: 14px; }
  .promise-quote { font-size: 1.1rem; }

  .stats-header { text-align: left !important; }
  .stats-header .eyebrow { justify-content: flex-start !important; }
  .stats-grid { grid-template-columns: 1fr !important; }
  .stat-item { padding: 28px 20px !important; text-align: left !important; }
  .stat-number { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .stat-label { margin: 0 0 6px; }

  .solution-strip { grid-template-columns: 1fr !important; gap: 16px; padding: 24px 20px !important; }
  .solution-strip div { text-align: left !important; }
  .solution-strip p { text-align: left !important; }

  .team-grid { grid-template-columns: 1fr !important; }
  .team-intro { gap: 20px; }
  .team-intro .section-title { text-align: left !important; }
  .team-info { padding: 16px 20px 24px; }

  .cta-title { font-size: clamp(28px, 8vw, 44px) !important; }
  .cta-sub { font-size: 14px; }
  .cta-buttons { justify-content: center !important; flex-wrap: wrap; gap: 10px; }
  .cta-overline { font-size: 11px; }

  .reveal.visible { padding: 0 !important; }
  .page-breadcrumb.reveal { text-align: left !important; }
  .btn-primary, .btn-outline { font-size: 13px; padding: 10px 20px; }
}

/* ── Responsive: 480px ───────────────────────────────────── */
@media (max-width: 480px) {
  .page-hero { padding-bottom: 48px !important; }
  .page-hero-h1 { font-size: clamp(26px, 7.5vw, 36px) !important; line-height: 1.1; }
  .page-hero-sub { font-size: 14px !important; }
  section { padding: 48px 16px !important; }
  .section-title { font-size: clamp(22px, 6.5vw, 30px) !important; }
  .vm-card { padding: 24px 18px; }
  .stat-item { padding: 24px 16px; }
  .value-item { padding: 20px 16px; }
  .cta-section { padding: 52px 16px !important; }
  .cta-title { font-size: clamp(24px, 7vw, 36px) !important; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

/* ── Touch device: no stuck hover states ─────────────────── */
@media (hover: none) {
  .vm-card:hover,
  .value-item:hover,
  .team-card:hover,
  .stat-item:hover { background: inherit; }
  .btn-primary:hover, .btn-outline:hover { transform: none; }
}
