/* Purpose Finder and Productizer
   Scoped to .suite. The doorway, philosophy page, and Philosophy Tree stay on their own sheets. */

.suite {
  --s-ink: #f4efe6;
  --s-soft: #d9d0c3;
  --s-muted: #b7aa9a;
  --s-quiet: #8f8476;
  --s-gold: #c9951e;
  --s-line: rgba(232, 220, 196, 0.16);
  --s-pad: clamp(1.25rem, 4vw, 7rem);
  background: #07070b;
  color: var(--s-ink);
  font-size: 1.125rem;
  line-height: 1.55;
}

.suite a {
  color: inherit;
  text-decoration: none;
}

.suite :focus-visible {
  outline: 2px solid var(--s-gold);
  outline-offset: 4px;
}

.suite .wrap {
  width: min(1080px, calc(100% - (var(--s-pad) * 2)));
  margin-inline: auto;
}

.suite .narrow {
  width: min(720px, calc(100% - (var(--s-pad) * 2)));
}

.suite .hero {
  padding: clamp(4.5rem, 12vh, 8rem) var(--s-pad) clamp(3rem, 8vh, 5rem);
  background:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(201, 149, 30, 0.08), transparent 55%),
    #07070b;
}

#purpose-finder .hero {
  min-height: calc(100svh - 4.5rem);
  display: flex;
  align-items: flex-end;
  padding: clamp(4.5rem, 12vh, 7rem) var(--s-pad) clamp(3rem, 8vh, 5rem);
  background-color: #14110c;
  background-image:
    linear-gradient(to top, rgba(7, 7, 11, 0.9) 0%, rgba(7, 7, 11, 0.5) 30%, rgba(7, 7, 11, 0.12) 56%),
    linear-gradient(to right, rgba(7, 7, 11, 0.55) 0%, rgba(7, 7, 11, 0.18) 38%, rgba(7, 7, 11, 0) 62%),
    var(--pf-hero);
  background-size: cover;
  background-position: center 46%;
  background-repeat: no-repeat;
}

#purpose-finder .hero-inner {
  width: min(540px, 100%);
}

#purpose-finder .hero .sub,
#purpose-finder .hero .lead {
  max-width: 16em;
}

#purpose-finder .hero .trail {
  color: #f4efe6;
}

#productizer .hero {
  min-height: calc(100svh - 4.5rem);
  display: flex;
  align-items: flex-end;
  padding: clamp(4.5rem, 12vh, 7rem) var(--s-pad) clamp(3rem, 8vh, 5rem);
  background-color: #14110c;
  background-image:
    linear-gradient(to top, rgba(7, 7, 11, 0.9) 0%, rgba(7, 7, 11, 0.5) 30%, rgba(7, 7, 11, 0.12) 56%),
    linear-gradient(to right, rgba(7, 7, 11, 0.55) 0%, rgba(7, 7, 11, 0.18) 36%, rgba(7, 7, 11, 0) 60%),
    var(--pz-hero);
  background-size: cover;
  background-position: 58% 54%;
  background-repeat: no-repeat;
}

#productizer .hero-inner {
  width: min(500px, 100%);
}

#productizer .hero .sub,
#productizer .hero .lead {
  max-width: 16em;
}

#productizer .hero .trail {
  color: #f4efe6;
}

.suite .hero-inner {
  width: min(820px, 100%);
}

.suite .trail,
.suite .price,
.suite .index,
.suite .here,
.suite .next,
.suite .take {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.suite .trail {
  margin: 0 0 1.6rem;
  font-size: 0.72rem;
  color: var(--s-quiet);
}

.suite .trail a:hover {
  color: var(--s-gold);
}

.suite .brow {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--s-soft);
}

.suite h1 {
  margin: 0;
  max-width: 11em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: #f7f3ea;
}

.suite .sub {
  margin: 1.2rem 0 0;
  max-width: 16em;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.2;
  color: #e7dccb;
}

.suite .lead,
.suite .prose,
.suite .value p,
.suite .equation-block p,
.suite .experience p,
.suite .note p,
.suite .get .prose {
  max-width: 36em;
  color: var(--s-soft);
}

.suite .lead {
  margin: 1.15rem 0 0;
}

.suite .price {
  margin: 1.4rem 0 0;
  font-size: 0.72rem;
  color: var(--s-gold);
}

.suite .cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
  padding: 0.95rem 1.45rem 0.95rem 1.55rem;
  min-height: 52px;
  background: #f4efe4;
  color: #1a140c;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.suite .cta .arrow {
  font-size: 1.15rem;
  letter-spacing: 0;
  transition: transform 0.25s ease;
}

.suite .cta:hover {
  background: #fffaf1;
  color: #1a140c;
}

.suite .cta:hover .arrow {
  transform: translateX(5px);
}

.suite .cta:disabled {
  opacity: 0.65;
  cursor: wait;
}

.suite .value,
.suite .equation-block,
.suite .experience,
.suite .receive,
.suite .note,
.suite .journey {
  padding: clamp(3.5rem, 9vh, 6.5rem) 0;
}

.suite h2 {
  margin: 0 0 1.15rem;
  max-width: 12em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.suite .value p,
.suite .equation-block p,
.suite .experience p,
.suite .note p {
  margin: 0 0 1rem;
}

.suite .emphasis,
.suite .truth,
.suite .anchor {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: #f7f3ea;
}

.suite .emphasis {
  margin-top: 1.6rem;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.25;
}

.suite .equation-block,
.suite .note {
  background: #0c0b10;
}

.suite .anchor {
  margin: 1.6rem 0 0;
  max-width: 16em;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
}

.suite .split {
  display: grid;
  gap: 2.5rem;
}

.suite .steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.suite .steps li {
  position: relative;
  padding: 0.15rem 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  color: var(--s-soft);
}

.suite .steps li:not(:last-child)::after {
  content: "";
  display: block;
  width: 1px;
  height: 0.65rem;
  margin-top: 0.55rem;
  background: rgba(201, 149, 30, 0.55);
}

.suite .quiet-line {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--s-muted);
}

.suite .holds {
  display: grid;
  gap: 0;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--s-line);
}

.suite .holds li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--s-line);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.suite .take {
  margin-top: 1.3rem;
  font-size: 0.72rem;
  color: var(--s-gold);
}

.suite .truth {
  margin: 1.4rem 0 0;
  max-width: 14em;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.18;
}

.suite .get {
  scroll-margin-top: 5.5rem;
  padding: clamp(3.5rem, 9vh, 6rem) 0;
  background: #f4efe4;
  color: #1a140c;
}

.suite .get h2,
.suite .ready-line {
  color: #1a140c;
}

.suite .get .prose,
.suite .disclosure {
  color: #5c5144;
}

.suite .gate {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
  max-width: 32rem;
}

.suite .gate input {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1.1rem;
  box-sizing: border-box;
  border: 1px solid rgba(26, 20, 12, 0.18);
  border-radius: 999px;
  background: #fffaf1;
  color: #1a140c;
  font-family: var(--font-body);
  font-size: 1.05rem;
}

.suite .gate input:focus {
  outline: 2px solid var(--s-gold);
  outline-offset: 3px;
}

.suite .get .cta {
  justify-content: center;
  background: #1a140c;
  color: #f7f1e4;
}

.suite .get .cta:hover {
  background: #2c2418;
  color: #f7f1e4;
}

.suite .form-error {
  display: none;
  margin: 0;
  color: #8a3b24;
}

.suite .form-error.show {
  display: block;
}

.suite .ready {
  margin-top: 1.5rem;
}

.suite .ready-line {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.suite .disclosure {
  margin: 1.2rem 0 0;
  max-width: 28em;
  font-size: 0.95rem;
}

.suite .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.suite .journey .prose {
  margin: 0;
}

.suite .stages {
  display: grid;
  gap: 1px;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  background: var(--s-line);
  border: 1px solid var(--s-line);
}

.suite .stages li {
  padding: 1.4rem 1.25rem 1.3rem;
  background: #120f0c;
}

.suite .stages .open {
  background: #18140f;
  box-shadow: inset 0 2px 0 var(--s-gold);
}

.suite .index {
  margin: 0;
  font-size: 0.72rem;
  color: var(--s-quiet);
}

.suite .stages .open .index {
  color: var(--s-gold);
}

.suite .here,
.suite .next {
  margin-left: 0.65rem;
  font-size: 0.68rem;
  color: #e7d7b0;
}

.suite h3 {
  margin: 0.55rem 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
}

.suite .ask {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--s-soft);
}

.suite .offer {
  display: inline-block;
  margin: 0.75rem 0 0;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--s-gold);
}

.suite .offer:hover {
  color: #e7d7b0;
}

@media (max-width: 720px) {
  .suite .get {
    padding-bottom: 6.5rem;
  }

  #purpose-finder .hero {
    /* The gift sits just right of center. Hold it in a narrow frame. */
    background-position: 60% 42%;
    padding-bottom: 6.5rem;
  }

  #purpose-finder .hero-inner {
    width: min(820px, 100%);
  }

  #productizer .hero {
    background-position: 72% 44%;
    padding-bottom: 6.5rem;
  }

  #productizer .hero-inner {
    width: min(820px, 100%);
  }
}

@media (min-width: 760px) {
  .suite .split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: start;
  }

  .suite .holds {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }
}

@media (min-width: 860px) {
  .suite .stages {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .suite .cta .arrow {
    transition: none;
  }
}

.suite .stages li,
.suite .stage { padding: 0; }
.suite .stage-link,
.suite .stage-face {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.4rem 1.25rem 1.3rem;
  color: inherit;
  text-decoration: none;
}
.suite .stage-link:hover {
  background: #1c1813;
  box-shadow: inset 0 2px 0 var(--s-gold);
}
