/* ==========================================================================
   About (about.html — generated by scripts/build-about.mjs). Loads after site.css; reuses .oz-crumbs, .oz-kicker, .oz-pill, .section.
   Mobile first: one column; two columns from 1024px. A sticky "on this page" bar sits under the header.
   ========================================================================== */

.ab-page [hidden] { display: none !important; }
.ab-sec { scroll-margin-top: 56px; } /* html already has scroll-padding-top (bar + 8px, header.css): this only adds the sticky bar (56px) */
.ab-page h2 { text-wrap: balance; }

/* ---- Hero ----------------------------------------------------------------- */
.ab-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); padding-block: 4px var(--s-4); align-items: center; }
.ab-hero h1 { margin: var(--s-1) 0 16px; font-size: 2.25rem; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
.ab-hero__lead { max-width: 52ch; font-size: 1.125rem; line-height: 1.6; color: var(--oz-text-2); }
.ab-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s-3); }
.ab-hero__media { position: relative; isolation: isolate; }
.ab-hero__media::before { content: ""; position: absolute; inset: 14px -12px -14px 12px; z-index: -1; border-radius: 20px; background: var(--c-primary-soft); }
.ab-hero__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 20px; object-fit: cover; box-shadow: var(--sh-2); }
.ab-rating {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  max-width: calc(100% - 28px);
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--sh-2);
  color: var(--c-text);
  font-size: .875rem;
  text-decoration: none;
}
.ab-rating .icon { flex: none; color: var(--c-rating); fill: currentColor; }
.ab-rating:hover { box-shadow: 0 10px 28px rgba(16, 24, 40, .22); }
@media (max-width: 479px) { .ab-hero__actions .oz-pill { width: 100%; } }
@media (min-width: 768px) { .ab-hero h1 { font-size: 2.75rem; } }
@media (min-width: 1024px) {
  .ab-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s-8); padding-block: var(--s-3) var(--s-6); }
  .ab-hero h1 { font-size: 3.5rem; }
}

/* ---- Numbers -------------------------------------------------------------- */
.ab-stats ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--oz-line); border-radius: 16px; list-style: none; background: #fff; }
.ab-stats li { display: grid; gap: 2px; padding: 20px 12px; border-top: 1px solid var(--oz-line); text-align: center; }
.ab-stats li:nth-child(-n+2) { border-top: 0; }
.ab-stats li:nth-child(even) { border-left: 1px solid var(--oz-line); }
.ab-stats li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.ab-stats b { font-size: 1.875rem; line-height: 1.1; letter-spacing: -.02em; color: var(--oz-navy); }
.ab-stats span { font-size: .875rem; color: var(--oz-text-2); }
@media (min-width: 768px) {
  .ab-stats ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ab-stats li { padding: 26px 12px; border-top: 0; border-left: 1px solid var(--oz-line); }
  .ab-stats li:first-child { border-left: 0; }
  .ab-stats li:last-child:nth-child(odd) { grid-column: auto; }
  .ab-stats b { font-size: 2.25rem; }
}

/* ---- "On this page" bar --------------------------------------------------- */
.ab-nav { position: sticky; top: var(--bar-h); z-index: 30; margin-top: var(--s-4); border-block: 1px solid var(--oz-line); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); }
.ab-nav ul { display: flex; gap: 6px; margin: 0; padding: 6px 0; overflow-x: auto; list-style: none; scrollbar-width: none; }
.ab-nav ul::-webkit-scrollbar { display: none; }
.ab-nav li { flex: none; }
.ab-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--c-text);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.ab-nav a:hover { background: var(--oz-gray); }
.ab-nav a[aria-current="true"] { background: var(--oz-navy); color: #fff; }

/* ---- Our story ------------------------------------------------------------ */
.ab-story { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.ab-story h2, .ab-mission h2, .ab-head h2, .ab-lic h2 { margin: var(--s-1) 0 var(--s-3); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.15; letter-spacing: -.025em; }
.ab-story__text p:not(.oz-kicker) { max-width: 62ch; margin-bottom: 1.1em; font-size: 1.0625rem; line-height: 1.75; }
.ab-story__text p.ab-lead { font-size: 1.25rem; line-height: 1.6; font-weight: 500; }
.ab-collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.ab-collage figure { margin: 0; }
.ab-collage img { width: 100%; height: 100%; aspect-ratio: 4 / 3; border-radius: 16px; object-fit: cover; }
.ab-collage figure:first-child { grid-column: 1 / -1; }
.ab-collage figure:first-child img { aspect-ratio: 3 / 2; }
@media (min-width: 1024px) {
  .ab-story { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s-8); }
  .ab-collage figure:not(:first-child) img { aspect-ratio: 4 / 5; } /* the two lower photos are taller so the collage is about as high as the text */
}

.ab-ways { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: var(--s-6) 0 0; padding: 0; list-style: none; }
.ab-ways a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 88px; padding: 16px 18px; border: 1px solid var(--oz-line); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.ab-ways a:hover { border-color: var(--oz-navy); box-shadow: var(--sh-1); transform: translateY(-2px); }
.ab-ways .icon--lg { width: 28px; height: 28px; color: var(--oz-orange); }
.ab-ways b { display: block; font-size: 1rem; }
.ab-ways small { display: block; margin-top: 2px; font-size: .875rem; line-height: 1.45; color: var(--oz-text-2); }
.ab-ways__go { color: var(--oz-orange); transition: transform .2s ease; }
.ab-ways a:hover .ab-ways__go { transform: translateX(3px); }
@media (min-width: 768px) { .ab-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } .ab-ways a { height: 100%; } }

/* ---- Quote band (the one dark block of the page) ---------------------------- */
.ab-quote { margin-block: var(--s-6); padding-block: clamp(44px, 6vw, 80px); background: var(--oz-dark); color: #fff; text-align: center; }
.ab-quote p { max-width: 20ch; margin-inline: auto; font-size: clamp(1.75rem, 1.1rem + 2.8vw, 3.25rem); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.ab-quote .ab-quote__2 { max-width: 24ch; margin-top: .35em; color: var(--c-accent); }

/* ---- Mission & values --------------------------------------------------------- */
.ab-mission { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.ab-statement { margin: 0; padding-left: 20px; border-left: 4px solid var(--oz-orange); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 600; line-height: 1.4; letter-spacing: -.015em; }
.ab-mission__text p { max-width: 62ch; margin-bottom: 1.1em; font-size: 1.0625rem; line-height: 1.75; }
.ab-mission__text .ab-closing { color: var(--oz-text-2); font-style: italic; }
@media (min-width: 1024px) { .ab-mission { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8); } }

.ab-subhead { margin: var(--s-6) 0 var(--s-3); font-size: 1.375rem; letter-spacing: -.015em; }
.ab-subhead small { display: block; margin-top: 4px; font-size: .9375rem; font-weight: 400; letter-spacing: 0; color: var(--oz-text-2); }
.ab-values { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ab-values li { padding: 24px 22px; border: 1px solid var(--oz-line); border-radius: 16px; background: #fff; }
.ab-values__ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 12px; background: var(--c-primary-soft); color: var(--oz-navy); }
.ab-values__ic .icon { width: 24px; height: 24px; }
.ab-values h4 { margin-bottom: 6px; font-size: 1.0625rem; letter-spacing: -.01em; }
.ab-values p { font-size: .9375rem; line-height: 1.6; color: var(--oz-text-2); }
@media (min-width: 640px) { .ab-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ab-values { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---- Team -------------------------------------------------------------------- */
.theme-oz .ab-team { padding-block: clamp(40px, 5vw, 72px); background: var(--oz-gray); margin-block: 0; }
.ab-head { max-width: 62ch; margin-bottom: var(--s-4); }
.ab-head p:not(.oz-kicker) { font-size: 1.0625rem; line-height: 1.65; color: var(--oz-text-2); }
.ab-ceo { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; border-radius: 20px; background: #fff; box-shadow: var(--sh-1); }
.ab-ceo__photo img { width: 100%; height: 100%; aspect-ratio: 13 / 9; object-fit: cover; }
.ab-ceo__body { padding: 24px 22px 28px; }
.ab-ceo__role { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--oz-orange); }
.ab-ceo h3 { margin: 4px 0 14px; font-size: 1.75rem; letter-spacing: -.02em; }
.ab-ceo__body p:not(.ab-ceo__role) { max-width: 60ch; margin-bottom: 1em; font-size: 1.0625rem; line-height: 1.7; }
.ab-ceo__body p:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .ab-ceo { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .ab-ceo__photo img { aspect-ratio: auto; min-height: 320px; }
  .ab-ceo__body { align-self: center; padding: 32px 36px; }
}

.ab-guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ab-guide figure { margin: 0; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 2px 12px rgba(16, 24, 40, .06); transition: transform .25s var(--ease-out), box-shadow .25s ease; }
.ab-guide:hover figure { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(16, 24, 40, .12); }
.ab-guide img { width: 100%; aspect-ratio: 14 / 15; object-fit: cover; object-position: top; }
.ab-guide figcaption { display: grid; gap: 1px; padding: 10px 12px 14px; }
.ab-guide b { font-size: 1rem; }
.ab-guide span { font-size: .8125rem; color: var(--oz-text-2); }
@media (min-width: 640px) { .ab-guides { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 768px) { .ab-guides { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ab-guides { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; } }

/* ---- License ------------------------------------------------------------------ */
.ab-lic { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.ab-lic__text p:not(.oz-kicker) { max-width: 56ch; margin-bottom: var(--s-3); font-size: 1.0625rem; line-height: 1.7; }
.ab-lic__card { margin: 0; padding: 8px 22px; border: 1px solid var(--oz-line); border-radius: 16px; background: #fff; box-shadow: var(--sh-1); }
.ab-lic__card > div { padding: 16px 0; border-top: 1px solid var(--oz-line); }
.ab-lic__card > div:first-child { border-top: 0; }
.ab-lic__card dt { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--oz-text-2); }
.ab-lic__card dd { margin: 4px 0 0; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.ab-lic__card dd small { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 400; color: var(--oz-text-2); }
@media (min-width: 1024px) { .ab-lic { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-8); } }

.ab-trust { display: grid; gap: 14px; margin: 0 0 var(--s-4); padding: 0; list-style: none; }
.ab-trust li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.ab-trust__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--c-primary-soft); color: var(--oz-navy); }
.ab-trust b { display: block; font-size: 1rem; }
.ab-trust small { display: block; margin-top: 1px; font-size: .875rem; line-height: 1.45; color: var(--oz-text-2); }

/* ---- CTA ---------------------------------------------------------------------- */
.ab-cta { display: grid; gap: var(--s-3); margin-block: clamp(56px, 4vw + 32px, 88px); padding: var(--s-5) var(--s-3); border-radius: 20px; background: var(--oz-dark); color: #fff; }
.ab-cta h2 { margin-bottom: 8px; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); letter-spacing: -.025em; }
.ab-cta p { max-width: 52ch; color: rgba(255, 255, 255, .82); }
.ab-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 768px) { .ab-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: var(--s-6); } }

@media (prefers-reduced-motion: reduce) {
  .ab-guide figure, .ab-ways a, .ab-ways__go, .ab-nav a { transition: none; }
  .ab-guide:hover figure, .ab-ways a:hover { transform: none; }
}

/* ---- Text the owner formats in the admin editor (links, lists, bold, headings) ------------- */
.ab-story__text :is(ul, ol), .ab-mission__text :is(ul, ol) { max-width: 62ch; margin: 0 0 1.1em; padding-left: 1.4em; font-size: 1.0625rem; line-height: 1.75; }
.ab-story__text ul, .ab-mission__text ul { list-style: disc; }
.ab-story__text ol, .ab-mission__text ol { list-style: decimal; }
.ab-story__text li, .ab-mission__text li { margin-bottom: .35em; }
.ab-story__text :is(h3, h4), .ab-mission__text :is(h3, h4) { max-width: 62ch; margin: 1.4em 0 .5em; font-size: 1.25rem; line-height: 1.3; letter-spacing: -.01em; }
.ab-story__text h4, .ab-mission__text h4 { font-size: 1.0625rem; }
.ab-story__text blockquote, .ab-mission__text blockquote { max-width: 62ch; margin: 0 0 1.1em; padding-left: 16px; border-left: 3px solid var(--oz-orange); font-size: 1.0625rem; line-height: 1.7; }
.ab-story__text p a, .ab-story__text li a, .ab-mission__text p a, .ab-mission__text li a { color: var(--oz-navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ab-story__text p a:hover, .ab-story__text li a:hover, .ab-mission__text p a:hover, .ab-mission__text li a:hover { text-decoration-thickness: 2px; }
