/* =============================================
   ABOUT — SWOOP SCOOP-INSPIRED LAYOUT
   Uses existing Doggo Scoop brand tokens:
   --cream, --blush, --slate, --ink, --bg, --sage
   ============================================= */

/* =============================================
   SHARED UTILITIES
   ============================================= */
.ab-kicker-hero {
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 12px;
}

.ab-kicker {
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 12px;
}

/* =============================================
   HERO — turf-style dark navy hero
   ============================================= */
.ab-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 42%, rgba(45, 145, 220, .35), transparent 34%),
    linear-gradient(135deg, #052C4F 0%, #034F88 48%, #022E52 100%);

  padding: 34px 0 80px;
}

/* Bone/paw pattern overlay — same technique as turf hero */
.ab-hero-bg-pattern {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image: url("/images/hero-pattern.png");
  background-repeat: repeat;
  background-size: 520px 520px;
  background-position: center top;

  opacity: 0.04;
}

/* Radial colour glows */
.ab-hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 84% 26%, rgba(232, 160, 168, .22), transparent 26%),
    radial-gradient(circle at 70% 75%, rgba(255, 255, 255, .14), transparent 28%);
  pointer-events: none;
}

.ab-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
   padding: 48px 0 60px;
}

/* Pill eyebrow — matches .tfHeroV2Eyebrow */
.ab-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 0 28px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, .06);
}

.ab-hero-title {
  margin: 0 0 20px;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #fff;
  position: relative;
  z-index: 1;
  isolation: isolate; /* ← add here at base level */
}

.ab-hero-title sup {
  font-size: 0.45em;
  vertical-align: super;
  letter-spacing: 0;
}

.ab-hero-sub {
  margin-top: 50px;
  margin-bottom: -50px;
  font-size: clamp(17px, 1.4vw, 20px);
  color: rgba(255, 255, 255, .78);
  font-weight: 600;
  line-height: 1.62;
  max-width: 62ch;
}
.ab-hero-underline {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.ab-hero-underline::after {
  content: "";
  position: absolute;
  left: -14px;
  right: -14px;
  bottom: -41px;
  height: 46px;
  background: url("/images/underline-pink.svg") no-repeat center;
  background-size: 85% auto;
  z-index: -1;
  pointer-events: none;
  transform: rotate(-1deg);
}

.ab-hero-story {
  position: relative;
  z-index: 2;
}

.ab-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ab-hero-trust-item strong {
  display: block;
  margin-bottom: 3px;
  color: #0458C3;
  font-size: 15px;
  font-weight: 950;
}

.ab-hero-trust-item p {
  margin: 0;
  color: rgba(24, 39, 58, .72);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.ab-hero-trust-divider {
  width: 1px;
  height: 54px;
  background: rgba(20, 45, 75, .14);
  flex-shrink: 0;
}

.ab-hero-faces {
  display: flex;
}

.ab-hero-faces span {
  width: 42px;
  height: 42px;
  margin-left: -10px;
  border: 3px solid #fff;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #f2c2a2 0 22%, transparent 23%),
    radial-gradient(circle at 50% 72%, #42526a 0 28%, transparent 29%),
    #d8e5ef;
}

.ab-hero-faces span:first-child {
  margin-left: 0;
}

.ab-hero-trust-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(4, 88, 195, .08);
  color: #0458C3;
  font-size: 26px;
}

/* ── Hero responsive ── */
@media (max-width: 860px) {
  .ab-hero-trust {
    grid-template-columns: 1fr;
    margin-top: 28px;
    padding: 28px 28px;
    border-radius: 18px;
  }

  .ab-hero-trust-divider {
    display: none;
  }
}

@media (max-width: 560px) {
  .ab-hero {
    padding-top: 20px;
  }

  .ab-hero-inner {
    padding: 48px 0 80px;
  }

  .ab-hero-eyebrow {
    font-size: 10px;
    letter-spacing: .14em;
  }

  .ab-hero-title {
    font-size: clamp(38px, 12vw, 56px);
  }

  .ab-hero-sub {
    font-size: 16px;
  }

  .ab-hero-trust {
    padding: 20px;
    border-radius: 14px;
  }


  .ab-hero-title{
    line-height: 1.50;
    letter-spacing: -0.05em;
  }

  .ab-hero-underline::after{
    bottom: -18px;          /* pull it WAY closer */
    height: 28px;           /* smaller brush */
    background-size: 100% auto;
  }

}

/* =============================================
   STORY — scrollable card + photo
   ============================================= */
.ab-story {
  padding: 80px 0;
  background: #fff;
  border-bottom: 1px solid rgba(var(--ink-rgb), .07);
}

.ab-story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Text card */
.ab-story-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 40px 40px 0;
  border: 1px solid rgba(var(--ink-rgb), .07);
  display: flex;
  flex-direction: column;
}

.ab-story-kicker {
  margin: 0 0 20px;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blush);
}

.ab-story-scroll {
  max-height: 480px;
  overflow-y: auto;
  padding-right: 12px;
  padding-bottom: 40px;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--blush-rgb), .4) transparent;
}

.ab-story-scroll::-webkit-scrollbar {
  width: 4px;
}
.ab-story-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.ab-story-scroll::-webkit-scrollbar-thumb {
  background: rgba(var(--blush-rgb), .4);
  border-radius: 99px;
}

.ab-story-scroll p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.84;
  color: rgba(var(--ink-rgb), .66);
  font-weight: 480;
}

.ab-story-scroll p:last-child {
  margin-bottom: 0;
}

.ab-story-quote {
  margin: 4px 0 24px;
  padding: 8px 0 8px 22px;
  border-left: 3px solid var(--blush);
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  line-height: 1.55;
}

/* Photo side */
.ab-story-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 110px;
}

.ab-story-photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 7 / 8;
}

.ab-story-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ab-story-founder-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  border: 1px solid rgba(var(--ink-rgb), .08);
  border-radius: 14px;
  padding: 14px 20px;
}

.ab-founder-avatar-sm {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(var(--blush-rgb), .12);
  border: 2px solid rgba(var(--blush-rgb), .22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ab-founder-avatar-sm img {
  width: 26px;
  height: auto;
  opacity: .82;
}

.ab-story-founder-chip strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.ab-story-founder-chip span {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blush);
  margin-top: 2px;
}

/* =============================================
   PANELS — Vision + Mission (alternating)
   ============================================= */
.ab-panel {
  padding: 80px 0;
  border-bottom: 1px solid rgba(var(--ink-rgb), .07);
}

.ab-panel--light {
  background: var(--cream);
}

.ab-panel--flip {
  background: #fff;
}

.ab-panel-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ab-panel-card {
  padding: 48px 44px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(var(--ink-rgb), .07);
  box-shadow: 0 2px 24px rgba(var(--ink-rgb), .04);
}

.ab-panel--flip .ab-panel-card {
  background: var(--cream);
}

.ab-panel-card h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 950;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1.1;
}

.ab-panel-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.84;
  color: rgba(var(--ink-rgb), .60);
  font-weight: 480;
}

.ab-panel-photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 6 / 5;
}

.ab-panel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.ab-panel-photo:hover img {
  transform: scale(1.02);
}

/* =============================================
   VALUES — bordered grid
   ============================================= */
.ab-values {
  padding: 80px 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(var(--ink-rgb), .07);
}

.ab-values-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}

.ab-values-head h2 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 950;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.ab-values-head p {
  margin: 0;
  font-size: 14px;
  color: rgba(var(--ink-rgb), .38);
  font-weight: 600;
  max-width: 36ch;
  text-align: right;
}

.ab-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(var(--ink-rgb), .08);
  border: 1px solid rgba(var(--ink-rgb), .08);
  border-radius: 18px;
  overflow: hidden;
}

.ab-value-item {
  background: var(--cream);
  padding: 34px 30px;
  transition: background .18s ease;
}

.ab-value-item:hover {
  background: rgba(var(--blush-rgb), .05);
}

.ab-value-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
  opacity: .80;
}

.ab-value-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.ab-value-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(var(--ink-rgb), .55);
}

/* =============================================
   CTA
   ============================================= */
.ab-cta {
  padding: 80px 0 88px;
  background: #fff;
}

.ab-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.ab-cta-copy h2 {
  margin: 0 0 5px;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 950;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.ab-cta-copy p {
  margin: 0;
  font-size: 14px;
  color: rgba(var(--ink-rgb), .42);
}

.ab-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .ab-story-layout,
  .ab-panel-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ab-story-right {
    position: static;
    flex-direction: column-reverse;
  }

  .ab-story-photo {
    aspect-ratio: 4 / 3;
  }

  .ab-panel--flip .ab-panel-layout {
    direction: ltr;
  }

  .ab-values-head { flex-direction: column; gap: 4px; }
  .ab-values-head p { text-align: left; }
  .ab-values-grid { grid-template-columns: 1fr; }

  .ab-cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .ab-hero-title {
    line-height: 1.10;
    /* isolation: isolate; ← remove from here */
  }
  /* remove the .ab-hero-underline block entirely from here */

  .ab-story,
  .ab-panel,
  .ab-values,
  .ab-cta { padding: 56px 0; }

  .ab-story-card { padding: 28px 24px 0; }
  .ab-story-scroll { max-height: 360px; padding-bottom: 28px; }
  .ab-panel-card { padding: 32px 28px; }
}

