/* ===================== ABOUT =====================
   Editorial and minimal: the founder, what the brand is built on, what is
   in every piece, the rating, one call to action, then the footer.

   Built from the storefront's existing design language — the same type
   scale, the same easing ladder from motion.css, the same white space as
   the homepage sections. No new colours, no new fonts.
   ================================================= */

/* This project has no global border-box reset, so a padded block would
   otherwise measure padding ON TOP of its width and push the page wider
   than the viewport on a phone. Scoped here rather than set globally, so
   nothing already laid out elsewhere shifts. */
.about,
.about * {
  box-sizing: border-box;
}

.about {
  padding: 0 0 96px;
}

/* Shared type ----------------------------------------------------- */

.ab-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  margin: 0 0 16px;
}

.ab-title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0;
}

.ab-body {
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(0, 0, 0, 0.6);
  margin: 0 0 16px;
  max-width: 60ch;
}

.ab-body:last-child { margin-bottom: 0; }

.ab-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 48px 0;
}

.ab-section__head {
  margin-bottom: 40px;
}

/* ---------- FOUNDER ----------
   The page opens straight into this: image on the left, name and story
   on the right, clearing the fixed nav. */

.fnd {
  max-width: 1180px;
  margin: 0 auto;
  padding: 132px 48px 0;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.fnd__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f2f0ec;
  aspect-ratio: 4 / 5;
}

.fnd__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

/* The photograph hasn't been added yet: hide the broken image and let the
   mark behind it show, so the frame still looks deliberate. */
.fnd__photo.is-missing {
  display: none;
}

.fnd__fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
}

.fnd__fallback svg {
  width: 68px;
  height: auto;
  opacity: 0.16;
}

.fnd__fallback path { fill: #000; }

.fnd__name {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 28px;
}

/* Second word set lighter, the way a masthead splits a name. */
.fnd__name span {
  font-weight: 400;
  color: rgba(0, 0, 0, 0.42);
  margin-left: 0.28em;
}

/* ---------- BUILD PHILOSOPHY ---------- */

.ab-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.ab-value {
  padding: 32px 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: #fff;
  transition:
    transform var(--dur-slow, 620ms) var(--ease-out, ease),
    border-color var(--dur-slow, 620ms) var(--ease-soft, ease);
}

.ab-value:hover {
  transform: translate3d(0, -4px, 0);
  border-color: rgba(0, 0, 0, 0.18);
}

.ab-value__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f4f2ef;
  color: #000;
  margin-bottom: 20px;
}

.ab-value__title {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 10px;
}

.ab-value__text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.55);
  margin: 0;
}

/* ---------- QUALITY DETAILS ----------
   Label only — no descriptions, so the row stays a clean list of facts. */

.ab-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.ab-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
}

.ab-detail__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f4f2ef;
  color: #000;
}

.ab-detail__title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

/* ---------- RATING ----------
   The number and a star, nothing else. */

.ab-rating {
  max-width: 1120px;
  margin: 96px auto 0;
  padding: 0 48px;
  text-align: center;
}

.ab-rating__value {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.ab-rating__star {
  font-size: 0.72em;
  line-height: 1;
  color: #f5a623;
}

/* ---------- CTA ---------- */

.ab-cta {
  max-width: 1120px;
  margin: 96px auto 0;
  padding: 76px 48px;
  border-radius: 22px;
  background: #f4f2ef;
  text-align: center;
}

.ab-cta__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.ab-cta__text {
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.58);
  margin: 0 auto 34px;
  max-width: 44ch;
}

.ab-btn {
  display: inline-block;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  padding: 17px 40px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  transition:
    transform var(--dur-base, 320ms) var(--ease-out, ease),
    opacity var(--dur-base, 320ms) var(--ease-soft, ease);
}

.ab-btn:hover {
  transform: translate3d(0, -2px, 0);
  opacity: 0.9;
}

.ab-btn:active {
  transform: translate3d(0, 0, 0) scale(0.985);
}

/* ---------- FOOTER ----------
   The one black surface on the site. Page transitions never paint one,
   so black reads as "you have reached the bottom", not "the page is
   loading". */

.ab-foot {
  background: #0a0a0a;
  color: #fff;
  padding: 64px 48px;
}

.ab-foot__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

.ab-foot__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ab-foot__logo {
  width: 30px;
  height: auto;
}

.ab-foot__logo path { fill: #fff; }

.ab-foot__word {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.ab-foot__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.ab-foot__heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 4px;
}

.ab-foot__links a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition:
    color var(--dur-base, 320ms) var(--ease-soft, ease),
    transform var(--dur-base, 320ms) var(--ease-out, ease);
}

.ab-foot__links a:hover {
  color: #fff;
  transform: translate3d(3px, 0, 0);
}

/* ---------- scroll reveal ----------
   Scoped to .js-reveal, which about.js adds only once it has an observer
   ready to take the sections back out again. Without JS, without an
   IntersectionObserver, or under reduced motion, everything is simply
   visible — a failure here can never leave the page blank. */

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.js-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--dur-slow, 620ms) var(--ease-out, ease),
    transform var(--dur-slow, 620ms) var(--ease-out, ease);
}

.js-reveal [data-reveal] [data-reveal-item] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

.js-reveal [data-reveal].is-revealed [data-reveal-item] {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--dur-slow, 620ms) var(--ease-out, ease),
    transform var(--dur-slow, 620ms) var(--ease-out, ease);
  transition-delay: calc(120ms + var(--i, 0) * 80ms);
}

/* The founder photograph resolves from a slight scale rather than fading
   alone — the same restrained reveal the product cards use. */
.js-reveal [data-reveal] .fnd__photo {
  transform: scale(1.06);
  transition: transform var(--dur-cinematic, 1100ms) var(--ease-out, ease);
}

.js-reveal [data-reveal].is-revealed .fnd__photo {
  transform: scale(1);
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .fnd {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 112px 32px 0;
  }

  .fnd__media { aspect-ratio: 4 / 3; }

  .ab-section { padding: 76px 32px 0; }
  .ab-rating { margin-top: 76px; padding: 0 32px; }
  .ab-cta { margin-top: 76px; padding: 60px 32px; }
  .ab-foot { padding: 52px 32px; }
}

@media (max-width: 640px) {
  .about { padding-bottom: 64px; }

  .fnd { padding: 96px 22px 0; gap: 28px; }
  .fnd__media { aspect-ratio: 1 / 1; }

  .ab-section { padding: 56px 22px 0; }
  .ab-section__head { margin-bottom: 28px; }

  .ab-details { grid-template-columns: 1fr 1fr; }
  .ab-detail { padding: 20px 16px; }

  .ab-rating { margin-top: 56px; padding: 0 22px; }

  .ab-cta {
    margin-top: 56px;
    padding: 48px 24px;
    border-radius: 18px;
  }

  .ab-btn { display: block; }

  .ab-foot { padding: 44px 22px; }

  .ab-foot__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal],
  .js-reveal [data-reveal] [data-reveal-item] {
    opacity: 1;
    transform: none;
  }

  .js-reveal [data-reveal] .fnd__photo,
  .ab-value:hover {
    transform: none;
  }
}
