/* ═══════════════════════════════════════════════════
   KAVE — About Us (Premium Redesign v2)
   Bento mosaic, inline images, gallery, horizontal team
   ═══════════════════════════════════════════════════ */

/* ═══ SECTION 1: HERO — Bento Image Mosaic ═══ */
.ab-hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 100vh;
  padding-top: 80px;
  background: var(--color-bg);
  gap: 40px;
}

.ab-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0 60px var(--gutter);
}

.ab-breadcrumb {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 28px;
}

.ab-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 74px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.ab-hero-desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 460px;
  margin-bottom: 32px;
}

.ab-hero-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  animation: abBounce 2.5s ease infinite;
  margin-top: auto;
  padding-bottom: 20px;
}
.ab-hero-scroll svg { width: 14px; height: 14px; }

@keyframes abBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* Mosaic grid */
.ab-hero-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  padding: 6px 6px 6px 0;
}

.ab-mosaic-main {
  grid-row: 1 / 3;
  overflow: hidden;
  border-radius: 8px;
}
.ab-mosaic-main img,
.ab-mosaic-top img,
.ab-mosaic-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.ab-mosaic-main:hover img,
.ab-mosaic-top:hover img,
.ab-mosaic-bottom:hover img {
  transform: scale(1.04);
}

.ab-mosaic-top,
.ab-mosaic-bottom { overflow: hidden; border-radius: 8px; }

/* Floating stat badges */
.ab-stat-badge {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.ab-stat-badge--projects {
  bottom: 30%;
  left: -28px;
}

.ab-stat-badge--years {
  top: 25%;
  right: 20px;
}

.ab-stat-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--color-text);
}

.ab-stat-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}


/* ═══ SECTION 2: INLINE IMAGES IN TEXT ═══ */
.ab-craft {
  padding: 120px 0;
  background: var(--color-bg-alt);
}

.ab-craft-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.ab-craft .eyebrow {
  display: block;
  margin-bottom: 28px;
}

.ab-craft-heading {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}

.ab-inline-img {
  display: inline-block;
  width: clamp(70px, 8vw, 100px);
  height: clamp(40px, 4.5vw, 56px);
  object-fit: cover;
  border-radius: 40px;
  vertical-align: middle;
  margin: 0 4px;
  transition: transform var(--duration-base) var(--ease);
}
.ab-inline-img:hover { transform: scale(1.08); }

.ab-craft-text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}


/* ═══ SECTION 3: IMAGE GALLERY STRIP ═══ */
.ab-gallery {
  overflow: hidden;
}

.ab-gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 6px;
  height: 55vh;
  min-height: 380px;
}

.ab-gallery-item {
  position: relative;
  overflow: hidden;
}

.ab-gallery-item img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  position: absolute;
  top: -10%;
  will-change: transform;
  transition: transform 0.6s var(--ease);
}

.ab-gallery-item:hover img { transform: scale(1.03); }

.ab-gallery-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(17, 29, 41, 0.75) 0%, rgba(17, 29, 41, 0.2) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 36px;
}

.ab-gallery-overlay p {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 32px);
  color: #fff;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.3px;
  max-width: 360px;
}


/* ═══ SECTION 4: STATS ROW ═══ */
.ab-stats {
  padding: 0;
  background: var(--color-bg);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.ab-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ab-stat {
  padding: 56px 32px;
  text-align: center;
  border-right: 1px solid var(--color-line);
  transition: background var(--duration-base) var(--ease);
}
.ab-stat:last-child { border-right: none; }
.ab-stat:hover { background: rgba(17, 29, 41, 0.02); }

.ab-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(48px, 5.5vw, 72px);
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--color-text);
  line-height: 1;
  margin-bottom: 10px;
}

.ab-stat-suffix {
  font-size: 0.45em;
  opacity: 0.35;
  margin-left: 2px;
  letter-spacing: 0;
}

.ab-stat-desc {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}


/* ═══ SECTION 5: FOUNDER STORY ═══ */
.ab-story {
  padding: 120px 0;
  background: var(--color-bg-alt);
}

.ab-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 0 var(--gutter);
  align-items: center;
}

.ab-story-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.ab-story-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.ab-story-img-wrap:hover .ab-story-img { transform: scale(1.04); }

.ab-story-year {
  position: absolute;
  bottom: 28px;
  left: 28px;
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 400;
  color: #fff;
  line-height: 1;
  mix-blend-mode: difference;
  opacity: 0.6;
}

.ab-story-text-col .eyebrow {
  display: block;
  margin-bottom: 24px;
}

.ab-story-quote {
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}

.ab-story-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.ab-story-signature {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
}

.ab-story-sig-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-line);
}

.ab-story-sig-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
}

.ab-story-sig-role {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
}


/* ═══ SECTION 6: VALUES — Feature Cards ═══ */
.ab-values {
  padding: 100px 0;
  background: var(--color-bg);
}

.ab-values-head {
  padding: 0 var(--gutter);
  margin-bottom: 48px;
}

.ab-values-head .eyebrow { display: block; margin-bottom: 12px; }

.ab-values-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: -0.5px;
}

.ab-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 var(--gutter);
}

.ab-value-card {
  position: relative;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 40px 32px;
  transition: transform var(--duration-base) var(--ease), box-shadow var(--duration-base) var(--ease);
}

.ab-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(17, 29, 41, 0.06);
}

.ab-value-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  color: var(--color-text);
}
.ab-value-icon svg { width: 40px; height: 40px; }

.ab-value-num {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 400;
  color: var(--color-text);
  opacity: 0.05;
  line-height: 1;
  position: absolute;
  top: 28px;
  right: 28px;
}

.ab-value-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.ab-value-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 300px;
}


/* ═══ SECTION 7: TEAM — Horizontal Scroll ═══ */
.ab-team {
  padding: 100px 0 80px;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.ab-team-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 var(--gutter);
  margin-bottom: 40px;
}

.ab-team-head .eyebrow { display: block; margin-bottom: 12px; }

.ab-team-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: -0.5px;
}

.ab-team-arrows {
  display: flex;
  gap: 8px;
}

.ab-team-arrow {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--color-line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-base) var(--ease), border-color var(--duration-base), color var(--duration-base);
  color: var(--color-text);
}
.ab-team-arrow svg { width: 20px; height: 20px; }
.ab-team-arrow:hover {
  background: var(--color-text);
  border-color: var(--color-text);
  color: #fff;
}

/* Scroll track */
.ab-team-track {
  display: flex;
  gap: 16px;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}
.ab-team-track::-webkit-scrollbar { display: none; }
.ab-team-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }

.ab-team-card {
  flex: 0 0 300px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #222;
  border-radius: 8px;
}

.ab-team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) brightness(0.75);
  transition: filter 0.8s var(--ease), transform 1.2s var(--ease);
}

.ab-team-card:hover .ab-team-photo {
  filter: grayscale(0) brightness(0.6);
  transform: scale(1.05);
}

.ab-team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.08) 50%, transparent 100%);
  z-index: 1;
}

.ab-team-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 28px;
  color: #fff;
}

.ab-team-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}

.ab-team-role {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}


/* ═══ SECTION 8: CTA ═══ */
.ab-cta {
  position: relative;
  padding: 140px var(--gutter);
  text-align: center;
  overflow: hidden;
  background: var(--color-text);
  color: #fff;
}

.ab-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: grayscale(0.5);
  will-change: transform;
}

.ab-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.ab-cta-line {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto 32px;
}

.ab-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.ab-cta p {
  font-family: var(--font-body);
  font-size: 15px;
  opacity: 0.55;
  line-height: 1.65;
  margin-bottom: 40px;
}

.ab-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 22px 48px;
  background: #fff;
  color: var(--color-text);
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--duration-slow) var(--ease), box-shadow var(--duration-base);
}

.ab-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-text);
  border-radius: 8px;
  transform: translateY(101%);
  transition: transform var(--duration-slow) var(--ease);
  z-index: -1;
}
.ab-cta-btn:hover::before { transform: translateY(0); }
.ab-cta-btn:hover { color: #fff; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); }


/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  .ab-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 0;
  }
  .ab-hero-text { padding: 40px var(--gutter) 40px; }
  .ab-hero-mosaic {
    height: 60vh;
    padding: 0 6px 6px;
  }
  .ab-hero-scroll { display: none; }
  .ab-stat-badge--projects { bottom: 20%; left: 10px; }
  .ab-stat-badge--years { top: 20%; right: 10px; }

  .ab-craft { padding: 80px 0; }
  .ab-craft-heading { font-size: clamp(28px, 5vw, 44px); }

  .ab-gallery-grid {
    grid-template-columns: 1fr 1fr;
    height: 45vh;
  }
  .ab-gallery-item--short { display: none; }

  .ab-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .ab-stat:nth-child(2) { border-right: none; }
  .ab-stat:nth-child(1),
  .ab-stat:nth-child(2) { border-bottom: 1px solid var(--color-line); }
  .ab-stat:nth-child(3) { border-right: 1px solid var(--color-line); }

  .ab-story-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .ab-story { padding: 80px 0; }

  .ab-values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ab-values { padding: 80px 0; }

  .ab-team-card { flex: 0 0 260px; }
}

@media (max-width: 760px) {
  .ab-hero-title { font-size: 34px; }
  .ab-hero-mosaic { height: 50vh; }
  .ab-stat-badge { padding: 12px 16px; }
  .ab-stat-num { font-size: 24px; }

  .ab-craft { padding: 60px 0; }
  .ab-inline-img { width: 60px; height: 34px; }

  .ab-gallery-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  .ab-gallery-item { height: 40vh; }
  .ab-gallery-item--short { display: block; }
  .ab-gallery-item img { height: 100%; position: relative; top: 0; }

  .ab-stats-inner { grid-template-columns: 1fr 1fr; }
  .ab-stat { padding: 36px 20px; }
  .ab-stat-number { font-size: 40px; }

  .ab-story { padding: 60px 0; }
  .ab-story-quote { font-size: 24px; }

  .ab-values { padding: 60px 0; }
  .ab-team { padding: 60px 0 60px; }
  .ab-team-card { flex: 0 0 240px; }

  .ab-cta { padding: 80px var(--gutter); }
}
