/* H2 Pure Life — Origin (About) page styles
 * Story-led, quiet, editorial. Product is barely mentioned.
 */

/* ---------------------------------------------------------------
 * 1. Hero — 52/48 portrait split
 * ------------------------------------------------------------- */
.origin-hero {
  display: grid;
  grid-template-columns: 52fr 48fr;
  background: #F0EDE8;
  min-height: clamp(520px, 68vh, 640px);
  margin-top: var(--nav-h);
}
.origin-hero__panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(40px, 6vw, 72px) clamp(32px, 4vw, 56px);
}
.origin-hero__panel-inner {
  max-width: 540px;
  width: 100%;
}
.origin-hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal-deep);
  margin: 0 0 22px;
}
.origin-hero__h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--teal-ink);
  margin: 0 0 24px;
}
.origin-hero__h1 em {
  color: var(--teal-deep);
  font-style: italic;
}
.origin-hero__rule {
  width: 36px;
  height: 2px;
  background: var(--teal-deep);
  margin: 0 0 28px;
  border: 0;
}
.origin-hero__lede {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(10, 31, 31, 0.72);
  margin: 0;
}

.origin-hero__portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 68vh, 640px);
}
.origin-hero__portrait {
  position: relative;
  overflow: hidden;
  background: #14302E;
}
.origin-hero__portrait + .origin-hero__portrait {
  border-left: 1px solid rgba(0, 230, 204, 0.18);
}
.origin-hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  display: block;
  transition: transform 700ms var(--ease);
}
.origin-hero__portrait:hover img {
  transform: scale(1.03);
}
.origin-hero__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,31,31,0) 0%, rgba(10,31,31,0) 45%, rgba(10,31,31,0.95) 100%);
  pointer-events: none;
}
.origin-hero__label {
  position: absolute;
  left: clamp(18px, 2vw, 28px);
  bottom: clamp(28px, 4vh, 40px);
  z-index: 2;
  color: var(--white);
}
.origin-hero__role {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 6px;
  font-weight: 500;
}
.origin-hero__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  color: var(--white);
  margin: 0;
  line-height: 1;
}

/* Mobile — stack panel above stacked portraits */
@media (max-width: 860px) {
  .origin-hero {
    grid-template-columns: 1fr;
    margin-top: var(--nav-h-mobile);
    min-height: 0;
  }
  .origin-hero__panel {
    justify-content: center;
    padding: 56px 24px 48px;
  }
  .origin-hero__panel-inner { max-width: 100%; }
  .origin-hero__portraits {
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
  }
}
@media (max-width: 480px) {
  .origin-hero__portraits {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .origin-hero__portrait {
    aspect-ratio: 4 / 5;
    min-height: 360px;
  }
  .origin-hero__portrait + .origin-hero__portrait {
    border-left: 0;
    border-top: 1px solid rgba(0, 230, 204, 0.18);
  }
}

/* ---------------------------------------------------------------
 * 2. Our Story — founder letter (white, single column)
 * ------------------------------------------------------------- */
.origin-story {
  background: var(--white);
  padding: clamp(72px, 10vw, 130px) 0;
  position: relative;
}
.origin-story__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}
.origin-story__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.origin-story__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-mute);
  margin: 0;
  flex-shrink: 0;
}
.origin-story__hairline {
  flex: 1;
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.origin-story__h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 36px;
  letter-spacing: -0.01em;
}
.origin-story__body p {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1.4em;
}
.origin-story__body p:last-of-type { margin-bottom: 0; }
.origin-story__sig {
  display: block;
  margin-top: 1.6em;
  font-style: italic;
  color: var(--ink-soft);
}
.origin-story__quote {
  margin: 40px 0;
  padding: 26px 28px;
  background: #F8F8F6;
  border-left: 3px solid var(--teal-deep);
  border-radius: 2px;
}
.origin-story__quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 12px;
}
.origin-story__quote-attr {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal-deep);
  margin: 0;
  font-style: normal;
}

/* ---------------------------------------------------------------
 * 3. Timeline — dark teal, alternating
 * ------------------------------------------------------------- */
.origin-timeline {
  background: #0A2826;
  color: rgba(255, 255, 255, 0.86);
  padding: clamp(80px, 11vw, 140px) 0;
}
.origin-timeline h2,
.origin-timeline h3 { color: var(--white); }
.origin-timeline em { color: var(--teal); }

.origin-timeline__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(48px, 7vw, 88px);
  padding: 0 var(--gutter);
}
.origin-timeline__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal);
  margin: 0 0 20px;
}
.origin-timeline__h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

.origin-timeline__rail {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  list-style: none;
}
.origin-timeline__rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(0, 230, 204, 0.22);
  transform: translateX(-50%);
}
.origin-timeline__entry {
  position: relative;
  width: 50%;
  padding: 0 48px;
  margin-bottom: clamp(40px, 6vw, 64px);
  box-sizing: border-box;
}
.origin-timeline__entry:last-child { margin-bottom: 0; }
.origin-timeline__entry--left {
  margin-left: 0;
  text-align: right;
}
.origin-timeline__entry--right {
  margin-left: 50%;
  text-align: left;
}
.origin-timeline__dot {
  position: absolute;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid #0A2826;
  box-shadow: 0 0 0 1px var(--teal), 0 0 12px rgba(0, 230, 204, 0.5);
}
.origin-timeline__entry--left .origin-timeline__dot {
  right: -7px;
}
.origin-timeline__entry--right .origin-timeline__dot {
  left: -7px;
}
.origin-timeline__year {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 10px;
}
.origin-timeline__h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--white);
}
.origin-timeline__entry p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.74);
  margin: 0;
}

@media (max-width: 768px) {
  .origin-timeline__rail::before {
    left: 18px;
  }
  .origin-timeline__entry,
  .origin-timeline__entry--left,
  .origin-timeline__entry--right {
    width: 100%;
    margin-left: 0;
    padding-left: 48px;
    padding-right: 0;
    text-align: left;
  }
  .origin-timeline__entry--left .origin-timeline__dot,
  .origin-timeline__entry--right .origin-timeline__dot {
    left: 11px;
    right: auto;
  }
}

/* ---------------------------------------------------------------
 * 4. Why we're different — 3x2 pillar grid
 * ------------------------------------------------------------- */
.origin-pillars {
  background: var(--cream-2);
  padding: clamp(72px, 10vw, 130px) 0;
}
.origin-pillars__head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  max-width: var(--container);
  margin: 0 auto clamp(48px, 6vw, 72px);
  padding: 0 var(--gutter);
}
.origin-pillars__h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  line-height: 1.15;
  color: var(--teal-ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.origin-pillars__h2 em {
  color: var(--teal-deep);
  font-style: italic;
}
.origin-pillars__intro {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(10, 31, 31, 0.7);
  margin: 0;
}
.origin-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  background: rgba(0, 0, 0, 0.06);
  gap: 1px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  overflow: hidden;
}
@media (min-width: 901px) {
  .origin-pillars__grid {
    padding: 0;
    margin: 0 auto;
    width: calc(100% - var(--gutter) * 2);
    max-width: var(--container);
  }
}
.origin-pillars__card {
  background: #FAFAF8;
  padding: clamp(28px, 3.6vw, 44px);
  display: flex;
  flex-direction: column;
}
.origin-pillars__num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 2rem;
  line-height: 1;
  color: rgba(0, 184, 160, 0.32);
  margin: 0 0 18px;
}
.origin-pillars__icon {
  width: 28px;
  height: 28px;
  color: var(--teal-deep);
  margin-bottom: 18px;
}
.origin-pillars__card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.18rem;
  line-height: 1.25;
  color: var(--teal-ink);
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.origin-pillars__card p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(10, 31, 31, 0.72);
  margin: 0;
}

@media (max-width: 900px) {
  .origin-pillars__head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .origin-pillars__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .origin-pillars__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------
 * 5. Subtle outbound — single quiet link at the end
 * ------------------------------------------------------------- */
.origin-coda {
  background: var(--white);
  padding: clamp(56px, 8vw, 96px) 0;
  text-align: center;
}
.origin-coda a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--teal-readable);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 122, 106, 0.3);
  padding-bottom: 3px;
  transition: color var(--tx) var(--ease), border-color var(--tx) var(--ease);
}
.origin-coda a:hover {
  color: var(--teal-deep);
  border-bottom-color: var(--teal-deep);
}
