/* About page (company.html) — a founder-led trust page.
   Everything is scoped to .about so nothing reaches other pages. Tokens come
   from styles.css :root; the CTAs reuse the homepage's .btn-hero-primary-lt and
   .btn-hero-wa (css/v2.css) so both pages read as one site.
   Sections that need their own background carry "hero" or "band" in the class:
   css/v2.css forces every other `main > section` background to transparent. */

.about {
  --ab-ink: #24112f;
  --ab-plum: var(--brand-purple, #67107e);
  --ab-plum-deep: #3f0b55;
  --ab-muted: #5b5068;
  --ab-faint: #6c6677;
  --ab-line: #e5dcee;
  --ab-orange: #bc4508; /* the amber that still passes contrast as text on light */
  --ab-amber: var(--brand-amber, #ff9d1a);
  --ab-radius: 24px;
  --ab-ease: var(--ease, cubic-bezier(0.2, 0.8, 0.2, 1));
  color: var(--ab-ink);
}
.about > section { padding: clamp(56px, 7vw, 96px) 0; }

/* ---------- shared type and controls ---------- */
.about h1,
.about h2,
.about h3 { margin: 0; font-family: var(--font-sans); color: var(--ab-plum-deep); }
.about h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  text-wrap: balance;
}
.about p { text-wrap: pretty; }
.about .nowrap { white-space: nowrap; }
.about-eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ab-orange);
}
.about-head { max-width: 46rem; margin: 0 0 clamp(28px, 4vw, 48px); }
.about-head-split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
}
.about-head-split > div { max-width: 44rem; }
.about-head-note { margin: 0; max-width: 30rem; line-height: 1.6; color: var(--ab-muted); }
.about-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.about a:focus-visible,
.about [tabindex]:focus-visible { outline: 3px solid var(--ab-amber); outline-offset: 3px; border-radius: 8px; }
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  color: var(--ab-plum);
  text-decoration: none;
}
.about-link::after { content: "\2192"; transition: transform 0.2s var(--ab-ease); }
.about-link:hover { color: var(--ab-plum-deep); text-decoration: none; }
.about-link:hover::after { transform: translateX(3px); }

/* ---------- 1. founder hero ---------- */
.about > .about-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 88px) 0 clamp(64px, 8vw, 112px);
  background:
    radial-gradient(900px 480px at 88% 0%, rgba(140, 27, 134, 0.16), transparent 62%),
    radial-gradient(640px 400px at 0% 100%, rgba(255, 157, 26, 0.16), transparent 60%);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}
.about-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ab-plum);
}
.about-kicker::before {
  content: "";
  flex: none;
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background: var(--ab-amber);
}
.about-hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
}
.about-hero h1 .accent { color: var(--ab-orange); }
.about-lead {
  margin: 24px 0 0;
  max-width: 36rem;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.65;
  color: var(--ab-muted);
}
.about-lead strong { font-weight: 700; color: var(--ab-ink); }
.about-facts {
  list-style: none;
  margin: 40px 0 0;
  padding: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ab-line);
}
.about-facts li { padding: 0 18px; border-left: 1px solid var(--ab-line); }
.about-facts li:first-child { padding-left: 0; border-left: 0; }
.about-facts strong {
  display: block;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ab-plum-deep);
}
.about-facts span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--ab-muted); }

.about-portrait { position: relative; margin: 0; width: min(100%, 460px); justify-self: end; }
/* offset gold slab behind the photo */
.about-portrait::before {
  content: "";
  position: absolute;
  inset: 32px -20px -20px 32px;
  border-radius: 30px;
  background: linear-gradient(140deg, #ffb54d, var(--ab-amber) 55%, #f07f00);
}
.about-portrait picture { position: relative; display: block; }
.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: 30px;
  background: #ddd3ea;
  box-shadow: 0 40px 70px -34px rgba(63, 11, 85, 0.55);
}
.about-namecard {
  position: absolute;
  left: -32px;
  bottom: 36px;
  display: grid;
  gap: 2px;
  padding: 14px 20px 14px 16px;
  border-left: 4px solid var(--ab-amber);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 44px -18px rgba(63, 11, 85, 0.4);
}
.about-namecard strong { font-size: 18px; font-weight: 800; color: var(--ab-plum-deep); }
.about-namecard span { font-size: 13px; color: var(--ab-muted); }

/* ---------- 2. the usual worries ---------- */
.about-promise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: ab-promise;
  border-top: 1px solid var(--ab-line);
}
.about-promise-list > li {
  counter-increment: ab-promise;
  display: grid;
  grid-template-columns: 56px minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 10px 36px;
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-bottom: 1px solid var(--ab-line);
}
.about-promise-list > li::before {
  content: counter(ab-promise, decimal-leading-zero);
  padding-top: 5px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--ab-orange);
}
.about-q {
  margin: 0;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ab-muted);
}
.about-a h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
}
.about-a h3::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.about-a p { margin: 0; max-width: 38rem; line-height: 1.65; color: var(--ab-muted); }
.about-a a { font-weight: 700; color: var(--ab-plum); }

/* ---------- 3. inside the shop ---------- */
.about > .about-shop-band { background: #fff; }
.about-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(220px, 23vw, 290px));
  gap: 16px;
}
.about-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #e9e2ef;
  isolation: isolate;
}
.about-shot.is-tall { grid-row: span 2; }
.about-shot picture { display: block; height: 100%; }
.about-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ab-ease);
}
.about-shot:hover img { transform: scale(1.035); }
.about-shot figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 48px 18px 16px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(29, 9, 40, 0.86), rgba(29, 9, 40, 0));
}
/* The originals are tall phone shots; frame each on what matters. */
.about-shot img[data-crop="aisle"] { object-position: 50% 55%; }
.about-shot img[data-crop="store"] { object-position: 50% 62%; }
.about-shot img[data-crop="rack"] { object-position: 50% 58%; }
.about-shot img[data-crop="strap"] { object-position: 50% 48%; }
.about-shot img[data-crop="desk"] { object-position: 50% 47%; }

/* ---------- 4. recognition ---------- */
.about-recog {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.about-award { margin: 0; }
.about-award img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--ab-radius);
  box-shadow: 0 34px 60px -32px rgba(29, 9, 40, 0.55);
  filter: brightness(1.12) contrast(1.05);
}
.about-award figcaption { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--ab-muted); }
.about-dealers { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--ab-line); }
.about-dealers li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ab-line);
}
.about-dealers strong { font-weight: 700; color: var(--ab-ink); }
.about-dealers span { font-size: 14px; color: var(--ab-muted); }
.about-docs {
  margin-top: 24px;
  padding: 18px 20px 8px;
  border: 1px solid var(--ab-line);
  border-radius: 18px;
  background: #fff;
}
.about-docs p { margin: 0; font-weight: 600; color: var(--ab-ink); }
.about-docs .about-link { margin-right: 22px; }

/* ---------- 5. brands ---------- */
.about > .about-brands-band { background: #fff; }
.about-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.about-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: 14px 16px;
  border: 1px solid var(--ab-line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ab-ease);
}
.about-logos li:hover {
  border-color: rgba(103, 16, 126, 0.3);
  box-shadow: 0 12px 24px -16px rgba(63, 11, 85, 0.35);
  transform: translateY(-2px);
}
.about-logos img { display: block; max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; }
/* Two full rows of eight on desktop, rather than seven, seven and a stray two. */
@media (min-width: 1100px) {
  .about-logos { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

/* ---------- 6. the counter, online ---------- */
.about-online-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}
.about-online-photo { margin: 0; max-width: 440px; }
.about-online-photo picture { display: block; }
.about-online-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 94%;
  border-radius: var(--ab-radius);
  box-shadow: 0 34px 60px -32px rgba(63, 11, 85, 0.45);
}
.about-online-text { margin: 16px 0 0; max-width: 36rem; line-height: 1.7; color: var(--ab-muted); }
.about-ticks { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--ab-line); }
.about-ticks li { border-bottom: 1px solid var(--ab-line); }
.about-ticks .about-link { width: 100%; justify-content: space-between; padding: 6px 0; }
.about-credit { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--ab-faint); }

/* ---------- 7. visit + closing CTA ---------- */
.about-visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: stretch;
  gap: 20px;
}
.about-visit-card {
  padding: clamp(24px, 3.2vw, 44px);
  border: 1px solid var(--ab-line);
  border-radius: var(--ab-radius);
  background: #fff;
}
.about-dl { margin: 22px 0 0; }
.about-dl > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 4px 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--ab-line);
}
.about-dl > div:first-child { border-top: 1px solid var(--ab-line); }
.about-dl dt {
  padding-top: 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ab-faint);
}
.about-dl dd { margin: 0; line-height: 1.55; color: var(--ab-ink); overflow-wrap: anywhere; }
.about-dl dd a { font-weight: 700; color: var(--ab-plum); text-decoration: none; }
.about-dl dd a:hover { text-decoration: underline; }
.about-cta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(28px, 3.6vw, 52px);
  overflow: hidden;
  border-radius: var(--ab-radius);
  color: #fff;
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(255, 157, 26, 0.38), transparent 62%),
    linear-gradient(155deg, #3f0b55, #67107e 58%, #7e1c90);
}
.about-cta-card .about-eyebrow { margin: 0; color: #ffc27a; }
.about-cta-card h2 { color: #fff; }
.about-cta-card p { margin: 0; max-width: 30rem; line-height: 1.65; color: #eadcf2; }
.about-cta-wa {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin-top: 8px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--ab-amber);
  color: #2a1305;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px -12px rgba(255, 157, 26, 0.7);
  transition: transform 0.15s var(--ab-ease), box-shadow 0.2s;
}
.about-cta-wa:hover {
  color: #2a1305;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -12px rgba(255, 157, 26, 0.8);
}
.about-cta-wa:active { transform: translateY(1px); }
.about-cta-card .about-link { color: #fff; }
.about-cta-card .about-link:hover { color: #ffd8a1; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .about-hero-grid,
  .about-recog,
  .about-online-grid,
  .about-visit-grid { grid-template-columns: minmax(0, 1fr); }
  /* Face first on phones: it is the point of the page. */
  .about-portrait { order: -1; justify-self: start; width: min(100% - 12px, 420px); }
  .about-portrait::before { inset: 18px -12px -12px 18px; border-radius: 24px; }
  .about-portrait img { aspect-ratio: 1 / 1; object-position: 50% 16%; border-radius: 24px; }
  .about-namecard { left: 12px; bottom: 12px; }
  .about-online-photo { max-width: 420px; }
  /* In a narrow column three facts side by side wrapped to three lines each. */
  .about-facts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .about-facts li {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: baseline;
    gap: 12px;
    padding: 0;
    border-left: 0;
  }
  .about-facts strong { font-size: 18px; }
  .about-facts span { margin-top: 0; font-size: 14px; }
}

/* Tablets: side by side again with a smaller portrait. Stacked, the photo left
   a dead band beside it; cropped full-width, a headshot is all face. */
@media (min-width: 700px) and (max-width: 900px) {
  .about-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 290px); align-items: start; gap: 40px; }
  .about-portrait { order: 0; justify-self: end; width: 100%; }
  .about-portrait img { aspect-ratio: 4 / 5; object-position: 50% 12%; }
  .about-namecard { left: -16px; bottom: 20px; }
}

@media (max-width: 760px) {
  .about-promise-list > li { grid-template-columns: 36px minmax(0, 1fr); }
  .about-q,
  .about-a { grid-column: 2; }
  /* Photos become a swipeable row; the peek of the next card is the cue. */
  .about-gallery {
    grid-template-columns: none;
    grid-template-rows: none;
    grid-auto-flow: column;
    grid-auto-columns: 76%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    margin-inline: -16px;
    padding: 0 16px 6px;
    scrollbar-width: none;
  }
  .about-gallery::-webkit-scrollbar { display: none; }
  .about-shot { aspect-ratio: 3 / 4; scroll-snap-align: start; }
  .about-shot.is-tall { grid-row: auto; }
  .about-shot img[data-crop] { object-position: 50% 50%; }
}

@media (max-width: 560px) {
  .about-dl > div { grid-template-columns: minmax(0, 1fr); }
  .about-ctas > a { flex: 1 1 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .about-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-logos li { height: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .about *,
  .about *::before,
  .about *::after { transition: none !important; }
  .about-shot:hover img,
  .about-logos li:hover { transform: none; }
}
