/* About page. Loads after main.css. */

/* Desktop: the storefront sits on the right third, clear of the copy, and fades in from the left */
@media (min-width: 861px) {
  .about-hero .backdrop img {
    position: absolute; top: 0; right: -28vw; width: auto; height: 100%; max-width: none; object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%); mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
  }
  .about-hero .backdrop::after { background: linear-gradient(90deg, rgba(0, 15, 38, .9) 0%, rgba(0, 15, 38, .5) 40%, rgba(0, 15, 38, 0) 62%); }
}

/* Origin story */
.story { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story__head .h2 { margin-top: 18px; }
.story__body > * + * { margin-top: 22px; }
.story__body .body { font-size: 18px; }
.story__walls { margin-top: 32px !important; gap: 20px; }
.story__walls li { font-size: 17px; }
.story__walls b { display: block; color: var(--white); font-size: 19px; margin-bottom: 2px; }
/* Story bullets: an open circle with a bold green check breaking out of its top right (Ryan, 2026-10-28) */
.story__walls li { position: relative; gap: 20px; }
.story__walls li::before {
  flex: 0 0 30px; height: 30px; margin-top: 0;
  border: 2px solid rgba(91, 212, 255, .55); background: rgba(10, 31, 61, .7) none;
}
.story__walls li::after {
  /* the check's point (11,24 in its viewBox) lands at the circle's bottom center */
  content: ""; position: absolute; left: 4px; top: -4px; width: 32px; height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 30' fill='none' stroke='%2334D399' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17l7 7L29 4'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 6px rgba(52, 211, 153, .45));
}
.story__turn {
  margin-top: 44px !important; padding-left: 22px; border-left: 3px solid var(--cyan);
  font-size: clamp(22px, 2.1vw, 30px); font-weight: 800; line-height: 1.3; color: var(--white); letter-spacing: -.01em;
}

/* Founders */
.founders__photo { max-width: 1040px; margin: 56px auto 0; }
.founders__bios { position: relative; z-index: 2; max-width: 1120px; margin: -96px auto 0; padding: 0 clamp(0px, 3vw, 40px); }
.bio .h3 { font-size: clamp(26px, 2.4vw, 34px); }
.bio p + p { margin-top: 14px; }
.bio:first-child .label { color: var(--amber); }

/* Principles */
.principles { margin-top: 56px; }
.principle__n {
  display: block; font-size: 56px; font-weight: 900; line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(100deg, #FFFFFF 0%, #BDEBFF 45%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.principle .h3 { margin-top: 20px; }

/* Client zero */
.zero__title { margin-top: 10px; font-size: clamp(26px, 2.6vw, 38px); }
.zero .body { margin-top: 14px; }
.zero__side { display: grid; gap: 28px; justify-items: start; }

/* Close */
.about-close .backdrop img { object-position: 50% 75%; }

@media (max-width: 860px) {
  /* Phone: copy on top, the storefront shows under the buttons */
  .about-hero { padding-bottom: clamp(220px, 62vw, 340px); }
  .about-hero .backdrop img { position: absolute; left: 50%; bottom: 0; width: auto; height: clamp(380px, 112vw, 600px); max-width: none; transform: translateX(-54%); }
  .about-hero .backdrop::after { background: linear-gradient(180deg, rgba(0, 15, 38, .94) 0%, rgba(0, 15, 38, .88) 52%, rgba(0, 15, 38, .15) 78%, rgba(0, 15, 38, .45) 100%); }
  .about-close { padding-bottom: clamp(200px, 56vw, 300px); }
  .about-close .backdrop img { position: absolute; left: 50%; bottom: 0; width: auto; height: clamp(340px, 100vw, 520px); max-width: none; transform: translateX(-50%); object-position: 50% 100%; }
  .about-close .backdrop::after { background: linear-gradient(180deg, var(--navy-sunken) 0%, var(--navy-sunken) 40%, rgba(0, 15, 38, .7) 62%, rgba(0, 15, 38, .1) 82%, rgba(0, 15, 38, .5) 100%); }
  .story { grid-template-columns: 1fr; gap: 22px; }
  .founders__photo { margin-top: 36px; }
  .founders__bios { margin-top: 16px; padding: 0; }
  .principles { margin-top: 36px; }
  .principle__n { font-size: 44px; }
  .zero__side .btn { width: 100%; }
  .about-close .row { flex-direction: column; align-items: stretch; }
}
