/* About page (/about/) in the new homepage's visual language. Builds on design.css tokens; everything here is prefixed ab-. */
.about-site { background: var(--ds-paper); color: var(--ds-ink); }

/* ---------------- Shared section pieces ---------------- */
.ab-section { padding: 96px 32px; }
.ab-tint { background: var(--ds-tint); }
.ab-dark { background: var(--ds-black); color: var(--ds-light); }
.ab-eyebrow { display: inline-block; font: 500 12px/1.4 'Geist Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ds-muted); }
.ab-head { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 920px; margin: 0 auto 72px; text-align: center; }
.ab-head h2 { margin: 0; font-size: var(--ds-h2); line-height: 1.1; letter-spacing: -.05em; text-wrap: balance; }
.ab-head p { max-width: 680px; margin: 0; font-size: 18px; line-height: 1.65; color: var(--ds-text, rgba(20,20,20,.75)); text-wrap: pretty; }
.ab-dark .ab-eyebrow { color: var(--ds-text-on-dark, rgba(252,252,252,.72)); }
.ab-dark .ab-head p { color: var(--ds-text-on-dark, rgba(252,252,252,.72)); }
.ab-num { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 'Geist Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ds-orange-text); }
.ab-num::before { content: ""; width: 7px; height: 7px; border-radius: 1.5px; background: var(--ds-orange); }
.ab-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------- Hero: plain paper; the full-bleed painting belongs to the homepage alone ---------------- */
.ab-hero { display: flex; flex-direction: column; align-items: center; padding: 72px 32px 96px; text-align: center; }
.ab-hero-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; max-width: 820px; }
.ab-breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 6px; font: 400 11px/1.4 'Geist Mono', monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ds-muted); }
.ab-breadcrumb a { margin: -12px -6px; padding: 12px 6px; }
.ab-breadcrumb a:hover { color: var(--ds-ink); text-decoration: underline; text-underline-offset: 3px; }
.ab-hero h1 { margin: 0; font-size: var(--ds-h1); line-height: 1; letter-spacing: -.05em; }
.ab-hero .sp-deck { max-width: 760px; margin: 0; font-size: 19px; line-height: 1.6; color: var(--ds-text, rgba(20,20,20,.75)); text-wrap: pretty; }
.ab-hero .sp-deck + .sp-deck { max-width: 620px; font-size: 16px; color: var(--ds-muted); }
.ab-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 10px; }
.ab-text-link { display: inline-flex; gap: 8px; padding: 11px 4px; font-size: 15px; font-weight: 500; color: var(--ds-ink); }
.ab-text-link:hover { color: var(--ds-ink); text-decoration: underline; text-underline-offset: 4px; }
/* "at a glance" facts on one white card */
.ab-glance { width: 100%; max-width: 1056px; margin-top: 64px; padding: 24px 28px; border: 1px solid var(--ds-line); border-radius: 16px; background: #FFFFFF; box-shadow: 0 32px 70px -50px rgba(20,20,20,.3); text-align: left; }
.ab-glance dl { display: grid; grid-template-columns: .8fr .8fr 1.25fr 1.35fr .8fr; margin: 0; }
.ab-glance dl > div { min-width: 0; padding: 2px 22px; border-left: 1px solid var(--ds-line); }
.ab-glance dl > div:first-child { padding-left: 0; border-left: 0; }
.ab-glance dt { font: 500 11px/1.4 'Geist Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ds-muted); }
.ab-glance dd { margin: 8px 0 0; font-size: 15px; line-height: 1.45; letter-spacing: -.2px; color: var(--ds-ink); }

/* ---------------- Services: two cards, each topped with its painting ---------------- */
.ab-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1056px; margin: 0 auto; }
.ab-service { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--ds-line); border-radius: 12px; background: #FFFFFF; box-shadow: 0 44px 80px -60px rgba(20,20,20,.35); }
.ab-service-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ds-dark); }
.ab-service-art img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 45%; }
.ab-service-body { display: flex; flex-direction: column; flex: 1; padding: 30px 32px 32px; }
.ab-service h3 { margin: 18px 0 14px; font-size: 30px; line-height: 1.15; letter-spacing: -1.1px; }
.ab-service p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ds-muted); }
.ab-service p + p { margin-top: 14px; }

/* ---------------- Difference: an editorial list ---------------- */
.ab-diff { max-width: 1056px; margin: 0 auto; padding: 0; list-style: none; border-bottom: 1px solid var(--ds-line); }
.ab-diff li { display: grid; grid-template-columns: 88px minmax(0, .9fr) minmax(0, 1.15fr); gap: 32px; padding: 36px 0; border-top: 1px solid var(--ds-line); }
.ab-diff li:first-child { border-top-color: var(--ds-ink); }
.ab-diff .ab-num { align-self: start; padding-top: 7px; }
.ab-diff h3 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.8px; text-wrap: balance; }
.ab-diff p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ds-muted); }

/* ---------------- Who it is for ---------------- */
.ab-who { max-width: 820px; margin: 0 auto; padding: 8px 32px; list-style: none; border: 1px solid var(--ds-line); border-radius: 16px; background: #FFFFFF; }
.ab-who li { display: grid; grid-template-columns: 20px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--ds-line); font-size: 17px; line-height: 1.55; letter-spacing: -.2px; color: var(--ds-ink); }
.ab-who li:first-child { border-top: 0; }
.ab-who li::before { content: ""; width: 8px; height: 8px; margin-top: 8px; border-radius: 1.5px; background: var(--ds-orange); }

/* ---------------- Team: founder on black, like the homepage ---------------- */
.ab-team { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; max-width: 1056px; margin: 0 auto; }
.ab-portrait { position: sticky; top: 105px; }
.ab-portrait img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.ab-team-copy h3 { margin: 40px 0 14px; font-size: 24px; line-height: 1.2; letter-spacing: -.8px; color: var(--ds-light); }
.ab-team-copy h3:first-child { margin-top: 0; }
.ab-team-copy p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ds-text-on-dark, rgba(252,252,252,.72)); }
.ab-team-copy p + p { margin-top: 14px; }
.ab-link { color: var(--ds-light); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(252,252,252,.4); text-underline-offset: 4px; }
.ab-link:hover { color: var(--ds-light); text-decoration-color: var(--ds-orange); }
.ab-team-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(252,252,252,.14); }
.ab-team-cta span { font-size: 15px; color: var(--ds-text-on-dark, rgba(252,252,252,.72)); }

/* ---------------- How Escalay works: cards four to a row, a short last row centred ---------------- */
.ab-steps { --cols: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1056px; margin: 0 auto; padding: 0; list-style: none; }
.ab-steps li { flex: 0 0 calc((100% - (var(--cols) - 1) * 16px) / var(--cols)); display: flex; flex-direction: column; min-width: 0; padding: 24px 22px 26px; border: 1px solid var(--ds-line); border-radius: 12px; background: #FFFFFF; }
.ab-steps h3 { margin: 28px 0 10px; font-size: 20px; line-height: 1.2; letter-spacing: -.6px; text-wrap: balance; }
.ab-steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ds-muted); }

/* ---------------- Key facts ---------------- */
.ab-facts { max-width: 880px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--ds-line); border-radius: 16px; background: #FFFFFF; }
.ab-facts table { width: 100%; border-collapse: collapse; }
.ab-facts th, .ab-facts td { padding: 16px 28px; vertical-align: top; text-align: left; font-size: 15px; line-height: 1.55; border-top: 1px solid var(--ds-line); }
.ab-facts tr:first-child th, .ab-facts tr:first-child td { border-top: 0; }
.ab-facts th { width: 34%; font-weight: 500; color: var(--ds-ink); }
.ab-facts td { color: var(--ds-muted); }
.ab-facts td a { color: var(--ds-ink); text-decoration: underline; text-decoration-color: rgba(20,20,20,.3); text-underline-offset: 3px; }
.ab-facts td a:hover { color: var(--ds-orange-text); text-decoration-color: currentColor; }
.ab-facts:focus-visible { outline: 2px solid var(--ds-orange); outline-offset: 4px; }

/* ---------------- FAQ: the homepage's grey rows and square plus ---------------- */
.ab-faq { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin: 0 auto; }
.ab-faq details { border: 1px solid #F0F0F0; border-radius: 12px; background: #F7F7F7; }
.ab-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; cursor: pointer; list-style: none; }
.ab-faq summary::-webkit-details-marker { display: none; }
.ab-faq summary:focus-visible { outline: 2px solid var(--ds-orange); outline-offset: 2px; border-radius: 12px; }
.ab-faq h3 { margin: 0; font-size: 16px; line-height: 1.4; letter-spacing: -.32px; }
.ab-faq summary span { position: relative; flex-shrink: 0; width: 20px; height: 20px; border-radius: 4px; background: var(--ds-ink); }
.ab-faq summary span::before, .ab-faq summary span::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ds-light); transform: translate(-50%, -50%); }
.ab-faq summary span::before { width: 10px; height: 1.5px; }
.ab-faq summary span::after { width: 1.5px; height: 10px; transition: opacity .2s ease; }
.ab-faq details[open] summary span::after { opacity: 0; }
.ab-faq details p { margin: 0; padding: 0 24px 22px; font-size: 15px; line-height: 1.6; letter-spacing: -.2px; color: var(--ds-text, rgba(20,20,20,.75)); }

/* ---------------- Closing CTA: the entrance painting fading into a dark card ---------------- */
.ab-cta { padding-top: 16px; }
.ab-cta-card { position: relative; max-width: 1056px; margin: 0 auto; overflow: hidden; border-radius: 16px; background: var(--ds-ink); color: var(--ds-light); text-align: center; }
.ab-cta-art { position: relative; aspect-ratio: 916 / 278; min-height: 220px; overflow: hidden; }
.ab-cta-art img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ab-cta-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,20,0) 45%, var(--ds-ink) 100%); }
.ab-cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; margin-top: -56px; padding: 0 32px 96px; }
.ab-cta h2 { max-width: 760px; margin: 0; font-size: var(--ds-h2); line-height: 1.1; letter-spacing: -.05em; color: var(--ds-light); text-wrap: balance; }
.ab-cta p { max-width: 560px; margin: 0; font-size: 16px; line-height: 1.6; color: var(--ds-text-on-dark, rgba(252,252,252,.72)); }
.ab-cta .blog-button { margin-top: 8px; }

/* ---------------- Tablet ---------------- */
@media (max-width: 960px) {
  .ab-section { padding: 72px 20px; }
  .ab-hero { padding: 56px 20px 72px; }
  .ab-glance dl { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .ab-glance dl > div:nth-child(4) { grid-column: span 2; padding-left: 0; border-left: 0; }
  .ab-services { grid-template-columns: 1fr; max-width: 640px; }
  .ab-diff li { grid-template-columns: 64px minmax(0, 1fr); gap: 12px 20px; }
  .ab-diff p { grid-column: 2; }
  .ab-team { grid-template-columns: 1fr; gap: 40px; max-width: 640px; }
  .ab-portrait { position: relative; top: auto; max-width: 420px; }
  .ab-steps { --cols: 2; max-width: 720px; }
  .ab-cta-inner { padding-bottom: 72px; }
}

/* ---------------- Phone ---------------- */
@media (max-width: 600px) {
  .ab-section { padding: 56px 16px; }
  .ab-head { gap: 14px; margin-bottom: 40px; }
  .ab-head p { font-size: 16px; }
  .ab-hero { padding: 40px 16px 56px; }
  .ab-hero .sp-deck { font-size: 16.5px; }
  .ab-hero .sp-deck + .sp-deck { font-size: 15px; }
  .ab-actions { flex-direction: column; gap: 16px; }
  .ab-glance { margin-top: 40px; padding: 6px 18px; }
  .ab-glance dl { grid-template-columns: 1fr; row-gap: 0; }
  .ab-glance dl > div, .ab-glance dl > div:first-child, .ab-glance dl > div:nth-child(4) { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; grid-column: auto; padding: 13px 0; border-left: 0; border-top: 1px solid var(--ds-line); }
  .ab-glance dl > div:first-child { border-top: 0; }
  .ab-glance dt { padding-top: 2px; }
  .ab-glance dd { margin: 0; font-size: 14px; }
  .ab-service-body { padding: 24px 22px 26px; }
  .ab-service h3 { font-size: 26px; }
  .ab-diff li { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .ab-diff .ab-num { padding-top: 0; }
  .ab-diff p { grid-column: auto; }
  .ab-diff h3 { font-size: 21px; }
  .ab-who { padding: 4px 20px; }
  .ab-who li { font-size: 16px; padding: 16px 0; gap: 12px; }
  .ab-team-copy p { font-size: 16px; }
  .ab-steps { --cols: 1; }
  .ab-steps h3 { margin-top: 20px; }
  .ab-facts tr { display: block; padding: 14px 20px; border-top: 1px solid var(--ds-line); }
  .ab-facts tr:first-child { border-top: 0; }
  .ab-facts th, .ab-facts td { display: block; width: auto; padding: 0; border: 0; }
  .ab-facts td { margin-top: 4px; }
  .ab-faq summary { padding: 18px 16px; }
  .ab-faq h3 { font-size: 15px; }
  .ab-faq details p { padding: 0 16px 18px; font-size: 14.5px; }
  .ab-cta { padding-top: 8px; }
  .ab-cta-art { min-height: 170px; }
  .ab-cta-inner { margin-top: -36px; padding: 0 20px 56px; gap: 20px; }
}
