/**
 * Section: Origin
 * Ported from .docs/mockup/css/about.css lines 40-152 (`.origin` through
 * `.origin-note`), plus the `.origin-grid` rule taken from the shared
 * @media (max-width: 900px) block near the end of that file. Tokens only —
 * no hardcoded colours or sizes.
 */

.origin {
  padding-block: var(--section-space-m);
  padding-inline: var(--space-gutter);
}

.origin-grid {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: var(--space-2xl);
  align-items: start;
}

.origin-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-s);
  align-items: flex-start;
}

.origin-content h2 {
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: 1.05;
  max-width: 18ch;
}

.origin-content h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--terracotta);
}

.origin-content p {
  color: var(--charcoal);
  line-height: 1.7;
  max-width: 60ch;
}

.lead-p {
  font-size: var(--text-lead);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.55;
}

.pullquote {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  font-style: italic;
  color: var(--deep-ocean);
  line-height: 1.3;
  padding-left: var(--space-m);
  border-left: 3px solid var(--terracotta);
  margin-block: var(--space-xs);
  max-width: 24ch;
}

.origin-aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-m);
}

.origin-img {
  display: block;
  width: 100%;
  height: auto;
  /* Design-team composed graphic (photo + built-in green accent, transparent
     margins) — show it whole; a fixed aspect-ratio + cover would crop it. */
}

.origin-img.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--coastal-soft);
}

.ph-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xs);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--deep-ocean);
  opacity: 0.7;
  text-align: center;
}

.ph-label .material-symbols-outlined {
  font-size: 34px;
}

.origin-note {
  background: var(--pebble);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: var(--space-m);
  font-size: var(--text-small);
  color: var(--graphite);
  line-height: 1.6;
}

.origin-note strong {
  color: var(--deep-ocean);
}


/* === RESPONSIVE === */
@media (max-width: 900px) {
  .origin-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}
