/* ─────────────────────────────────────────────────────────────────────
   SvarKlar - /about page styles.

   Sections, top to bottom:
     hero       - centered, pill-row contacts on a photo
     why-built  - founder story + a small polaroid photo (floats right)
     how-i-work - 3 gold-rule columns ("editorial" card treatment)
     quotes     - two equal dark client-quote cards

   Section background arc + on-dark text flips live near the bottom.
   ───────────────────────────────────────────────────────────────────── */


/* ════════════════════════════════════════════════════
   Override site.css em line-height squash inside about
   section heads (Caveat descenders were colliding with sub).
   ════════════════════════════════════════════════════ */
.t-abt-head h2 em,
.t-abt-story h2 em { line-height: 1; }


/* ════════════════════════════════════════════════════
   1. HERO (centered, no big Fred face)
   ════════════════════════════════════════════════════ */
.t-abt-hero {
  position: relative;
  min-height: 720px; height: 100vh; max-height: 880px;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
}
.t-abt-hero picture { display: contents; }   /* hero bg is a <picture> (avif/webp); keep it transparent to layout */
.t-abt-hero .t-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.t-abt-hero .t-hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 78% 58% at 50% 46%, rgba(8,8,10,0.58) 0%, rgba(8,8,10,0.22) 70%, rgba(8,8,10,0.08) 100%),
    linear-gradient(180deg, rgba(8,8,10,0.50) 0%, rgba(8,8,10,0.28) 32%, rgba(8,8,10,0.36) 64%, rgba(8,8,10,0.58) 100%);
}
.t-abt-hero-inner {
  position: relative; z-index: 3;
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 120px 32px 96px;
  text-align: center;
}
.t-abt-hero .t-hero-h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  margin: 0 0 22px;
  text-wrap: balance;
}
.t-abt-hero .t-h1-line { white-space: normal; }
.t-abt-hero .t-hero-sub {
  margin: 0 auto 32px;
  max-width: 56ch;
  font-size: 1.18rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8), 0 0 14px rgba(0,0,0,0.6);
}
.t-sub-break { display: inline; }
@media (max-width: 640px) { .t-sub-break { display: none; } }
.t-abt-hero .t-hero-cta-wrap {
  align-items: center;
  margin-bottom: 0;
}

/* Hero contacts - pill row (chip-like horizontal) */
.t-abt-contacts { margin-top: 44px; width: 100%; max-width: 720px; }
.t-abt-contacts-pill {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.t-abt-contacts-pill a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 14px;
  background: rgba(20, 18, 14, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 196, 89, 0.32);
  border-radius: 999px;
  text-decoration: none;
  color: #f5f0e6;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.97rem;
  letter-spacing: -0.005em;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.t-abt-contacts-pill a:hover {
  background: rgba(20, 18, 14, 0.78);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.t-abt-contacts-pill .t-abt-icon {
  width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.t-abt-contacts-pill .t-abt-icon svg { width: 13px; height: 13px; }


/* ════════════════════════════════════════════════════
   2. WHY I BUILT (small polaroid photo, floats right)
   ════════════════════════════════════════════════════ */
.t-abt-story {
  background: var(--cream);
  padding: 120px 0;
  position: relative;
}
.t-abt-story h2 {
  font-family: var(--heading-font);
  font-size: var(--h2-size-d);
  font-weight: var(--h2-weight);
  letter-spacing: var(--h2-ls);
  line-height: var(--h2-lh);
  color: var(--ink);
  margin: 0 0 36px;
  text-wrap: balance;
}
.t-abt-story p {
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.t-abt-story p:last-child { margin-bottom: 0; }
.t-abt-narrow { max-width: 720px; }

/* Polaroid - square photo, slight rotation, floats at the start of p1 */
.t-abt-fred-polaroid { position: relative; }
.t-abt-fred-polaroid .t-abt-polaroid-frame {
  float: right;
  width: 200px;
  margin: 0 0 18px 32px;
  background: var(--paper);
  padding: 12px 12px 36px;
  border-radius: 4px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.18), 0 1px 0 rgba(0,0,0,0.05);
  transform: rotate(2.5deg);
  position: relative;
}
.t-abt-fred-polaroid .t-abt-polaroid-frame picture { display: block; }   /* photo is a <picture> (avif/webp); keep the wrapper out of inline layout */
.t-abt-fred-polaroid .t-abt-polaroid-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.t-abt-fred-polaroid .t-abt-polaroid-caption {
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}


/* ════════════════════════════════════════════════════
   3. HOW I WORK (3 gold-rule columns, editorial)
   ════════════════════════════════════════════════════ */
.t-abt-howiwork {
  background: var(--cream-2);
  padding: 120px 0;
}
.t-abt-head { text-align: center; margin: 0 auto 56px; max-width: 760px; }
.t-abt-head h2 {
  font-family: var(--heading-font);
  font-size: var(--h2-size-d);
  font-weight: var(--h2-weight);
  letter-spacing: var(--h2-ls);
  line-height: var(--h2-lh);
  color: var(--ink);
  margin: 0 0 28px;
  text-wrap: balance;
  padding-bottom: 4px;
}
.t-abt-head h2 em { line-height: 1.05; }
.t-abt-sub {
  font-size: 1.075rem;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}

.t-abt-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Shared card body type */
.t-abt-card h3 {
  font-family: var(--heading-font);
  font-size: var(--h3-size);
  font-weight: var(--h3-weight);
  letter-spacing: var(--h3-ls);
  color: var(--ink);
  margin: 0 0 10px;
  line-height: var(--h3-lh);
  text-wrap: balance;
}
.t-abt-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}

/* Editorial - gold-rule columns, no card chrome */
.t-abt-cards-3.is-editorial { gap: 0; }
.t-abt-cards-3.is-editorial .t-abt-card {
  padding: 8px 32px 8px;
  border-left: 1px solid rgba(245, 240, 230, 0.24);
  background: transparent;
}
.t-abt-cards-3.is-editorial .t-abt-card:first-child { border-left: 0; padding-left: 8px; }
.t-abt-cards-3.is-editorial .t-abt-card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(28, 24, 12, 0.22);
  margin: 0 0 20px;
}
.t-abt-cards-3.is-editorial .t-abt-card-icon svg { width: 23px; height: 23px; }


/* ════════════════════════════════════════════════════
   4. PAST CLIENT QUOTES (two equal cards)
   ════════════════════════════════════════════════════ */
.t-abt-trust { padding: 120px 0; }

.t-abt-quotes-sidebyside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}
.t-abt-quotes-sidebyside .t-abt-quote {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px 22px;
  margin: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex; flex-direction: column;
}
.t-abt-quotes-sidebyside .t-abt-quote-text {
  font-family: var(--heading-font);
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0 0 18px;
  text-wrap: pretty;
  flex: 1;
}
.t-abt-quotes-sidebyside .t-abt-quote-by-row {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  min-height: 44px;
}
.t-abt-quotes-sidebyside .t-abt-quote-by-row img {
  width: 36px; height: 36px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}
.t-abt-quotes-sidebyside .t-abt-quote-by-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.t-abt-quotes-sidebyside .t-abt-quote-by-meta {
  font-size: 12px;
  color: var(--ink);
}


/* ════════════════════════════════════════════════════
   Section background arc: each section one step darker than the last.
     story    = var(--arc-5)    warm-tan, dark text
     howiwork = var(--arc-6)    espresso, cream text
     trust    = var(--ink-warm) near-black, cream text + top-shadow + edge hairlines (homepage .t-faq)
   ════════════════════════════════════════════════════ */
.t-abt-story    { background: var(--arc-5) !important; }
.t-abt-howiwork { background: var(--arc-6) !important; color: #f5f0e6; }
.t-abt-trust    { background: var(--ink-warm) !important; color: #f5f0e6; position: relative; }

/* trust = the faq-style closing dark section: faint top-shadow + edge hairlines */
.t-abt-trust::before,
.t-abt-trust::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,240,230,0.12) 20%, rgba(245,240,230,0.12) 80%, transparent);
}
.t-abt-trust::before {
  top: 0; height: 96px;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), transparent);
}
.t-abt-trust::after { bottom: 0; }

/* On-dark text flips: the espresso how-i-work section + the near-black trust section */
.t-abt-howiwork .t-abt-head h2 { color: #f5f0e6; }
.t-abt-howiwork .t-abt-sub { color: var(--body-on-dark); }
.t-abt-howiwork .t-abt-card h3 { color: #f5f0e6; }
.t-abt-howiwork .t-abt-card p { color: var(--body-on-dark); }
.t-abt-trust .t-abt-head h2 { color: #f5f0e6; }
.t-abt-trust .t-abt-sub { color: var(--body-on-dark); }

/* Caveat heading accents:
   - why-built "SvarKlar" on the --arc-5 warm-tan: --gold-ink bronze (--gold-deep is too low-contrast there)
   - how-i-work "with you" on the --arc-6 espresso: bright --gold + shadow (the dark-section em treatment) */
.t-abt-story h2 em { color: var(--gold-ink); }
.t-abt-howiwork .t-abt-head h2 em,
.t-abt-trust .t-abt-head h2 em { color: var(--gold); text-shadow: 0 1px 2px rgba(0,0,0,0.45); }

/* Dark quote cards on the dark trust section */
.t-abt-quotes-sidebyside .t-abt-quote {
  background: var(--ink-2);
  border: 1px solid rgba(232, 196, 89, 0.25);
  color: #f5f0e6;
  box-shadow: 0 12px 32px rgba(0,0,0,0.32);
}
.t-abt-quotes-sidebyside .t-abt-quote-text { color: #f5f0e6; }
.t-abt-quotes-sidebyside .t-abt-quote-by-row { border-top-color: rgba(245, 240, 230, 0.18); }
.t-abt-quotes-sidebyside .t-abt-quote-by-name { color: #f5f0e6; }
.t-abt-quotes-sidebyside .t-abt-quote-by-meta { color: var(--body-on-dark-mute); }


/* FINAL CTA inherits .t-final from site.css (shared sunrise bg). */


/* ════════════════════════════════════════════════════
   Responsive
   ════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  /* Section H2 step-down at tablet band (token-driven) */
  .t-abt-story h2,
  .t-abt-head h2 { font-size: var(--h2-size-t); }

  .t-abt-hero { height: auto; min-height: 0; max-height: none; }
  .t-abt-hero-inner { height: auto; padding: 168px 32px 88px; }

  .t-abt-story, .t-abt-howiwork, .t-abt-trust { padding: 88px 0; }

  .t-abt-cards-3 { grid-template-columns: 1fr; }
  /* stacked = centered: icon disc, h3 and body all center under iPad / phone widths */
  .t-abt-cards-3.is-editorial .t-abt-card { border-left: 0; border-top: 1px solid rgba(245, 240, 230, 0.24); padding: 26px 8px; text-align: center; }
  .t-abt-cards-3.is-editorial .t-abt-card:first-child { border-top: 0; padding-top: 8px; }
  .t-abt-cards-3.is-editorial .t-abt-card p { max-width: 30rem; margin-left: auto; margin-right: auto; }

  .t-abt-quotes-sidebyside { grid-template-columns: 1fr; }
  /* stacked = centered: quote text + the name/photo row both center */
  .t-abt-quotes-sidebyside .t-abt-quote { text-align: center; }
  .t-abt-quotes-sidebyside .t-abt-quote-text { max-width: 34rem; align-self: center; }
  .t-abt-quotes-sidebyside .t-abt-quote-by-row { justify-content: center; }
}

@media (max-width: 640px) {
  /* Section H2 step-down at mobile band */
  .t-abt-story h2,
  .t-abt-head h2 { font-size: var(--h2-size-m); }

  .t-abt-hero-inner { padding: 120px 22px 64px; }
  .t-abt-story, .t-abt-howiwork, .t-abt-trust { padding: 64px 0; }

  /* mobile: center the why-built header too (the polaroid below it already centers) */
  .t-abt-story h2 { text-align: center; }

  .t-abt-fred-polaroid .t-abt-polaroid-frame { float: none; margin: 0 auto 24px; width: 220px; }
}
