/* Merke — About page styles. Layer on top of colors_and_type.css + homepage.css.
   Uses the shared design tokens (spacing, palette, type) so the page reads as
   part of the same site. All classes are prefixed `abt-` to avoid colliding
   with the homepage's existing `.about-*` (polaroid) section. */

/* ---------- Hero ---------- */
.abt-hero {
  padding: 56px var(--page-px) 72px;
  border-bottom: 1px solid rgba(11, 22, 31, 0.08);
  background: var(--bg-canvas);
}
.abt-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Roboto Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 48px;
}
.abt-breadcrumb a { color: var(--fg-muted); text-decoration: none; transition: color 160ms ease; }
.abt-breadcrumb a:hover { color: var(--merke-blue); }
.abt-breadcrumb-sep { opacity: 0.5; }
.abt-breadcrumb [aria-current="page"] { color: var(--fg-primary); }

.abt-hero-inner {
  max-width: 1280px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 34ch);
  column-gap: clamp(40px, 6vw, 120px);
  align-items: start;
}
.abt-hero-eyebrow { grid-column: 1; grid-row: 1; margin-bottom: 22px; }
.abt-hero-h1 {
  font-family: "Epilogue", sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 6.2vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--fg-primary);
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.abt-hero-h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--merke-blue);
}
.abt-hero-lede {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  max-width: 40ch;
  color: var(--fg-secondary);
  margin: 0 0 6px;
}

/* ---------- Interlude image band (visual break between hero + story) ---------- */
.abt-interlude {
  height: clamp(120px, 14vw, 200px);
  background-color: var(--bg-canvas);
  /* Faint brand-pattern texture (inlined) under a flat cream veil that keeps it
     muted and even — no fade, no hairlines, just a quiet textured band. */
  background-image:
    linear-gradient(rgba(248,244,232,0.64), rgba(248,244,232,0.64)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60' width='60' height='60'%3E%3Crect x='0' y='0' width='20' height='20' fill='%23888734'/%3E%3Crect x='20' y='0' width='20' height='20' fill='%232B587C'/%3E%3Crect x='40' y='0' width='20' height='20' fill='%23735843'/%3E%3Crect x='0' y='20' width='20' height='20' fill='%23735843'/%3E%3Crect x='20' y='20' width='20' height='20' fill='%23888734'/%3E%3Crect x='40' y='20' width='20' height='20' fill='%232B587C'/%3E%3Crect x='0' y='40' width='20' height='20' fill='%232B587C'/%3E%3Crect x='20' y='40' width='20' height='20' fill='%23735843'/%3E%3Crect x='40' y='40' width='20' height='20' fill='%23888734'/%3E%3C/svg%3E");
  background-size: 100% 100%, 46px 46px;
  background-repeat: no-repeat, repeat;
  background-position: center, center;
}

/* ---------- Origin story ---------- */
.abt-story-grid {
  display: grid;
  grid-template-columns: var(--left-rail) minmax(0, 1fr) minmax(0, 1.15fr);
  column-gap: var(--col-gutter);
  align-items: start;
}
.abt-story-eyebrow { grid-column: 1; padding-top: 8px; }
.abt-story-headline {
  grid-column: 2;
  margin: 0 !important;
  max-width: none;
}
.abt-story-body {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.abt-story-body .body-p { max-width: 60ch; }
.abt-story-body strong { color: var(--fg-primary); font-weight: 600; }

/* ---------- Pull quote (dark band, breaks the cream) ---------- */
.abt-quote {
  background: var(--bg-inverse);
  color: var(--fg-on-inverse);
  padding: clamp(72px, 10vw, 132px) var(--page-px);
  border-bottom: 1px solid var(--border-soft);
}
.abt-quote-inner {
  max-width: 1080px;
  margin-left: var(--content-indent);
}
.abt-quote-text {
  font-family: "Epilogue", sans-serif;
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 24ch;
  text-wrap: balance;
}
.abt-quote-accent { color: var(--merke-blue-300); }

/* ---------- Founders ---------- */
.abt-founder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
.abt-founder {
  display: flex;
  flex-direction: column;
}
.abt-founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-canvas);
  margin-bottom: 28px;
}
.abt-founder-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 0.4s ease; }

/* Tasteful monogram placeholder until real headshots are dropped in */
.abt-founder-ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(43, 88, 124, 0.10) 0%, rgba(43, 88, 124, 0) 60%),
    repeating-linear-gradient(135deg, #EDE7D9 0 14px, #E6E0D1 14px 28px);
}
.abt-founder-monogram {
  font-family: "Wingman", "Epilogue", serif;
  font-size: 96px;
  line-height: 1;
  color: var(--merke-blue);
  opacity: 0.85;
}
.abt-founder-ph-note {
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.abt-founder-ph-path {
  font-family: "Roboto Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--fg-subtle);
  padding: 0 18px;
  text-align: center;
  word-break: break-all;
}

.abt-founder-tag {
  display: inline-block;
  font-family: "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--merke-blue);
  margin-bottom: 14px;
}
.abt-founder-name {
  font-family: "Epilogue", sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--fg-primary);
  margin: 0;
}
.abt-founder-role {
  font-family: "Epilogue", sans-serif;
  font-size: 16px;
  color: var(--fg-muted);
  margin-top: 6px;
}
.abt-founder-bio { margin-top: 18px; max-width: 42ch; }

/* ---------- Beliefs ---------- */
.abt-beliefs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.abt-belief {
  border-top: 2px solid var(--accent, var(--merke-blue));
  padding-top: 26px;
}
.abt-belief-title { margin: 0 0 14px; }

/* ---------- Responsive ---------- */
@container page (max-width: 1100px) {
  /* Drop the headline above the body, keeping the eyebrow in the rail. */
  .abt-story-grid { grid-template-columns: var(--left-rail) minmax(0, 1fr); }
  .abt-story-headline { grid-column: 2; grid-row: 1; margin: 0 0 28px !important; max-width: 30ch; }
  .abt-story-body { grid-column: 2; grid-row: 2; }
}
@container page (max-width: 980px) {
  .abt-founder-grid { gap: 36px; }
  .abt-beliefs-grid { grid-template-columns: 1fr; gap: 28px; }
}
@container page (max-width: 900px) {
  /* Hero collapses: lede drops below the headline, full measure restored. */
  .abt-hero-inner { grid-template-columns: 1fr; }
  .abt-hero-h1 { grid-column: 1; grid-row: 2; margin: 0 0 24px; }
  .abt-hero-lede { grid-column: 1; grid-row: 3; align-self: start; margin: 0; max-width: 58ch; }
}
@container page (max-width: 760px) {
  .abt-hero { padding: 36px var(--page-px) 52px; }
  .abt-breadcrumb { margin-bottom: 32px; }
  .abt-story-grid { grid-template-columns: 1fr; }
  .abt-story-eyebrow { grid-column: 1; padding-top: 0; margin-bottom: 18px; }
  .abt-story-headline { grid-column: 1; grid-row: auto; margin: 0 0 24px !important; }
  .abt-story-body { grid-column: 1; grid-row: auto; }
  .abt-founder-grid { grid-template-columns: 1fr; gap: 44px; }
  .abt-founder-photo { max-width: 360px; }
}
