/* About (/about). Copy from the brand book, pages 2 to 5. */

/* ---------- Hero: the founder portrait in a geometric window, with a name card in front ---------- */
.portrait { position: relative; width: min(420px, 100%); margin-inline: auto; padding-bottom: 36px; }
.portrait__frame { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--sf-radius-md); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.8); }
.portrait__card { position: absolute; left: -6%; bottom: 0; display: grid; gap: 2px; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--sf-radius-md);
  background: linear-gradient(160deg, rgba(27, 34, 66, 0.9), rgba(14, 18, 36, 0.86)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--sf-white); font-size: 0.8125rem; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.7); }
.portrait__card strong { font-size: 1rem; }
.portrait__card span { color: rgba(255, 255, 255, 0.72); }
@media (max-width: 1023px) { .portrait { width: min(340px, 100%); } .portrait__card { left: 0; } }
/* Light theme: the portrait is a level-3 sheet, and the name card stays a dark screen, solid Midnight instead of
   see-through slate (as the stack cards in site.css). */
:root[data-theme="light"] .portrait__frame { box-shadow: var(--sf-shadow-3); }
:root[data-theme="light"] .portrait__card { background: linear-gradient(160deg, #1A2142 0%, #0D1122 100%); border-color: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: var(--sf-shadow-3), inset 0 1px 0 rgba(255, 255, 255, 0.06); }

/* ---------- Founder note ---------- */
.note__quote { margin: 18px 0 0; font: italic 400 clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem)/1.15 var(--sf-font-serif); color: var(--sf-fg); }
/* This colour holds in the dark theme only: in light the ink ladder in sarafi.css (0,3,0) makes the lead ink. */
.note__body .sf-lead { color: var(--sf-fg); }
.note__sign { display: grid; gap: 2px; margin-top: 28px !important; padding-top: 18px; border-top: 1px solid var(--sf-border); }
.note__sign span { font-size: var(--sf-fs-small); color: var(--sf-fg-muted); }

/* ---------- Mission and vision ---------- */
.mv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
@media (min-width: 768px) { .mv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mv__text { margin-top: 14px; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); font-weight: var(--sf-fw-semibold); line-height: 1.35; letter-spacing: -0.01em; }
.beliefs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; }
@media (min-width: 768px) { .beliefs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.belief { padding: 22px 0 0; border-top: 1px solid var(--sf-border-strong); }
.belief__label { font-size: var(--sf-fs-label); font-weight: var(--sf-fw-semibold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sf-fg-muted); }
.belief__text { margin-top: 10px; font: italic 400 clamp(1.5rem, 1.25rem + 1vw, 2.125rem)/1.2 var(--sf-font-serif); color: var(--sf-fg-accent); text-wrap: pretty; }

/* ---------- Brand promise ---------- */
.promise { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.promise__item { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border: 1px solid var(--sf-border); border-radius: var(--sf-radius-md); background: var(--sf-bg-raised); font-weight: var(--sf-fw-semibold); line-height: 1.4; }
.promise__n { font-size: 0.8125rem; font-weight: var(--sf-fw-bold); letter-spacing: 0.08em; color: var(--sf-fg-accent); }
/* Light theme: the promises sit on the card shadow at rest. */
:root[data-theme="light"] .promise__item { box-shadow: var(--sf-shadow-1); }

/* ---------- What Sarafi is, and is not ---------- */
.is-not { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
@media (min-width: 768px) { .is-not { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.is-not__title { font-size: 1.25rem; font-weight: var(--sf-fw-bold); }
.is-not__list { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.is-not__list li { display: flex; align-items: flex-start; gap: 10px; }
.is-not__list .sf-icon { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.is-not__col--is .sf-icon { color: var(--sf-fg-accent); }
.is-not__col--not .sf-icon { color: var(--sf-fg-muted); }
.is-not__col--not li { color: var(--sf-fg-muted); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; list-style: none; }
@media (min-width: 1024px) { .team { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.team-card__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--sf-radius-md); }
.team-card__name { margin-top: 14px; font-weight: var(--sf-fw-bold); }
.team-card__role { margin-top: 2px; font-size: var(--sf-fs-small); color: var(--sf-fg-muted); }

/* ---------- Office ---------- */
.office__list { display: grid; gap: 14px; margin: 24px 0 26px; padding: 0; list-style: none; font-size: var(--sf-fs-body-lg); }
.office__list li { display: flex; align-items: flex-start; gap: 12px; }
.office__list .sf-icon { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--sf-fg-accent); }
.office__photo { aspect-ratio: 16 / 11; overflow: hidden; border-radius: var(--sf-radius-md); }
/* The name card covers the bottom-left corner, so the placeholder label moves to the top. */
.portrait .art__tag { top: 14px; bottom: auto; }

/* Print flattens soft shadows into solid grey slabs, so the light-theme shadows above are dropped. */
@media print { :root[data-theme="light"] :is(.portrait__frame, .portrait__card, .promise__item) { box-shadow: none; } }
/* The name card is light text on a dark fill, so it prints its fill (as the stack cards in site.css). */
@media print { .portrait__card { print-color-adjust: exact; -webkit-print-color-adjust: exact; } }
