.origin-page main {
  border-top: 1px solid var(--line);
}

.origin-page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  align-items: center;
  gap: clamp(34px, 5vw, 78px);
  min-height: 650px;
  overflow: hidden;
  padding: clamp(48px, 7vw, 94px) clamp(22px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 4% 12%, rgba(236, 111, 81, 0.11) 0 8%, transparent 24%),
    radial-gradient(circle at 93% 89%, rgba(75, 134, 84, 0.1) 0 9%, transparent 25%),
    var(--page);
}

.origin-page-hero::before {
  content: "";
  position: absolute;
  top: 36px;
  right: 43%;
  width: 92px;
  height: 116px;
  border: 2px solid rgba(36, 39, 36, 0.14);
  border-radius: 50% 50% 45% 55% / 61% 61% 39% 39%;
  background: rgba(137, 184, 79, 0.18);
  transform: rotate(13deg);
}

.origin-page-intro {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.origin-page-intro h1 {
  margin: 0;
  font-size: clamp(3.25rem, 5.6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.074em;
}

.origin-page-intro h1 em {
  display: block;
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.origin-page-lede {
  max-width: 500px;
  margin: 27px 0 28px;
  color: #504d47;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.origin-page-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 42px 0 0;
  border-top: 1px solid var(--line);
}

.origin-page-facts div {
  min-width: 0;
  padding: 17px 14px 0 0;
}

.origin-page-facts div + div {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.origin-page-facts dt {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.origin-page-facts dd {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.origin-page-image {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 32px 32px 90px 32px;
  background: var(--paper-deep);
  box-shadow: 18px 20px 0 var(--coral-soft);
  transform: rotate(1.2deg);
}

.origin-page-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
}

.origin-page-image::after {
  content: "";
  position: absolute;
  inset: 54% 0 0;
  background: linear-gradient(transparent, rgba(45, 30, 19, 0.76));
  pointer-events: none;
}

.origin-page-image figcaption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  color: white;
}

.origin-page-image figcaption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.origin-page-image figcaption strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-style: italic;
}

.origin-story {
  padding: 116px clamp(22px, 5vw, 70px) 32px;
}

.origin-story-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(360px, 1.3fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 42px;
}

.origin-story-heading .eyebrow {
  margin: 0 0 7px;
}

.origin-story-heading h2 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.origin-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 18px;
}

.origin-story-copy {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.story-beat {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  min-height: 176px;
  padding: 30px 34px;
}

.story-beat + .story-beat {
  border-top: 1px solid var(--line);
}

.story-beat > span {
  display: grid;
  place-items: center;
  align-self: start;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(36, 39, 36, 0.2);
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.74rem;
  font-weight: 800;
}

.story-beat h3 {
  margin: 2px 0 10px;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
}

.story-beat p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.94rem;
  line-height: 1.75;
}

.harold-quote {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  overflow: hidden;
  padding: clamp(32px, 4.5vw, 58px);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--coral);
  color: white;
  box-shadow: 12px 14px 0 rgba(236, 111, 81, 0.17);
}

.harold-quote::after {
  content: "H";
  position: absolute;
  right: -16px;
  bottom: -49px;
  color: rgba(255, 255, 255, 0.09);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13rem;
  font-weight: 900;
  line-height: 1;
}

.quote-mark {
  height: 45px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  line-height: 1;
}

.harold-quote blockquote {
  position: relative;
  z-index: 1;
  margin: 15px 0 38px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 3.65rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.052em;
}

.harold-quote .story-signoff {
  position: relative;
  z-index: 1;
  border-color: rgba(255, 255, 255, 0.28);
}

.harold-quote .story-signoff > span {
  border-color: white;
  background: var(--ink);
}

.harold-quote .story-signoff small {
  color: rgba(255, 255, 255, 0.72);
}

.origin-cast {
  padding: 108px clamp(22px, 5vw, 70px) 30px;
}

.origin-cast-heading {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.origin-cast-heading h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
  line-height: 0.99;
  letter-spacing: -0.068em;
}

.origin-cast-heading > p:not(.eyebrow) {
  max-width: 570px;
  margin: 18px auto 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

.origin-equation {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 18px;
}

.origin-equation > b {
  align-self: center;
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.origin-equation-item {
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: 32px 20px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--paper);
  text-align: center;
}

.origin-equation-item strong {
  display: grid;
  place-items: center;
  width: 68px;
  height: 76px;
  margin-bottom: 18px;
  border: 2px solid var(--ink);
  border-radius: 50% 50% 45% 55% / 61% 61% 39% 39%;
  background: var(--green-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.men-item strong {
  border-radius: 22px;
  background: var(--gold);
}

.harold-item strong {
  border-radius: 58% 42% 52% 48% / 48% 53% 47% 52%;
  background: var(--coral);
  color: white;
  transform: rotate(-4deg);
}

.origin-equation-item span {
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.origin-equation-item small {
  margin-top: 7px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  line-height: 1.45;
}

.origin-page-closing {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin: 110px clamp(22px, 5vw, 70px) 30px;
  padding: clamp(36px, 6vw, 72px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 91% 15%, rgba(255, 255, 255, 0.12) 0 12%, transparent 13%),
    var(--green);
  color: white;
  box-shadow: var(--shadow);
}

.origin-page-closing h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.068em;
}

.origin-page-closing p:not(.eyebrow) {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: Georgia, "Times New Roman", serif;
}

.origin-closing-actions {
  display: grid;
  flex: 0 0 auto;
  justify-items: center;
  gap: 14px;
}

.origin-home-link {
  min-height: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.69rem;
  font-weight: 800;
}

.origin-home-link:hover {
  border-color: white;
  color: white;
}

@media (max-width: 980px) {
  .origin-page-hero {
    grid-template-columns: 1fr;
  }

  .origin-page-hero::before {
    right: 5%;
  }

  .origin-page-intro {
    max-width: 760px;
  }

  .origin-page-image {
    max-width: 880px;
  }

  .origin-story-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .origin-story-heading h2 {
    grid-column: auto;
    grid-row: auto;
  }

  .origin-story-layout {
    grid-template-columns: 1fr;
  }

  .harold-quote {
    min-height: 440px;
  }

  .origin-equation {
    gap: 10px;
  }
}

@media (max-width: 740px) {
  .origin-page-hero {
    min-height: 0;
    gap: 46px;
    padding: 54px 16px 76px;
  }

  .origin-page-hero::before {
    top: 18px;
    right: -24px;
    width: 78px;
    height: 98px;
  }

  .origin-page-intro h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .origin-page-facts {
    margin-top: 34px;
  }

  .origin-page-facts div {
    padding-right: 8px;
  }

  .origin-page-facts div + div {
    padding-left: 10px;
  }

  .origin-page-facts dd {
    font-size: 0.72rem;
  }

  .origin-page-image {
    border-radius: 24px 24px 58px 24px;
    box-shadow: 9px 11px 0 var(--coral-soft);
    transform: none;
  }

  .origin-page-image figcaption {
    right: 16px;
    bottom: 15px;
    left: 16px;
  }

  .origin-page-image figcaption span {
    max-width: 52%;
  }

  .origin-story {
    padding: 82px 16px 20px;
  }

  .origin-story-heading {
    margin-bottom: 28px;
  }

  .origin-story-heading h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .origin-story-copy,
  .harold-quote {
    border-radius: 22px;
  }

  .story-beat {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 24px 20px;
  }

  .story-beat > span {
    width: 38px;
    height: 38px;
  }

  .harold-quote {
    min-height: 400px;
    padding: 36px 24px;
  }

  .origin-cast {
    padding: 80px 16px 24px;
  }

  .origin-equation {
    grid-template-columns: 1fr;
  }

  .origin-equation > b {
    justify-self: center;
    line-height: 0.65;
  }

  .origin-page-closing {
    align-items: stretch;
    flex-direction: column;
    margin: 82px 16px 22px;
    padding: 36px 22px;
    border-radius: 24px;
  }

  .origin-closing-actions {
    justify-items: stretch;
  }

  .origin-closing-actions .button {
    width: 100%;
  }

  .origin-home-link {
    justify-self: center;
  }
}

@media (max-width: 440px) {
  .origin-page-intro h1 {
    font-size: clamp(2.75rem, 13.8vw, 3.65rem);
  }

  .origin-page-facts {
    grid-template-columns: 1fr;
  }

  .origin-page-facts div,
  .origin-page-facts div + div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .origin-page-facts dd {
    margin: 0;
    text-align: right;
  }

  .origin-page-image figcaption strong {
    font-size: 0.96rem;
  }

  .story-beat {
    grid-template-columns: 1fr;
  }

  .harold-quote blockquote {
    font-size: clamp(2.05rem, 10.5vw, 2.8rem);
  }
}
