/* Inner pages: Partner and Privacy. Built on the tokens and components in style.css. */
.pg [data-rise] { transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .pg [data-rise]:not(.is-in) { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) { html.js .pg [data-rise]:not(.is-in) { opacity: 1; transform: none; } .pg [data-rise] { transition: none; } }

.p-wrap { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--pad); }
@media (min-width: 861px) { .p-wrap { padding-left: var(--indent); padding-right: var(--gutter-r); } }

.p-sec { padding: var(--section-y) 0; background: var(--paper); }
.p-sec--cream { background: var(--cream); }
.p-sec--plum { background: var(--plum); color: var(--cream); --hl: rgba(248, 187, 203, .32); }

.p-title { max-width: 17em; font: 400 clamp(36px, 4.6vw, 74px)/.98 var(--display); letter-spacing: -.01em; text-transform: uppercase; color: var(--plum); }
.p-sec--plum .p-title, .p-final .p-title { color: inherit; }
.p-title .script { padding: 0 .06em; margin: 0 -.02em; background: linear-gradient(transparent 56%, var(--hl) 56%, var(--hl) 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.p-lead { max-width: 56ch; font-size: var(--t-lead); line-height: 1.6; color: var(--ink); }
.p-turn { max-width: 24em; margin-top: 24px; font: 400 clamp(23px, 2.1vw, 32px)/1.12 var(--display); text-transform: uppercase; color: var(--plum); }

/* hero */
.p-hero { position: relative; display: flex; align-items: flex-end; min-height: 100svh; overflow: hidden; background: var(--plum); color: var(--cream); --hl: rgba(248, 187, 203, .32); }
.p-hero__media { position: absolute; inset: 0; }
.p-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 45%; }
.p-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 11, 22, .6) 0%, rgba(29, 11, 22, .5) 40%, rgba(29, 11, 22, .86) 100%); }
.p-hero__in { position: relative; padding-top: 150px; padding-bottom: clamp(48px, 6vw, 88px); }
.p-hero__kicker { margin-bottom: 20px; opacity: .85; }
.p-hero h1 { max-width: 13em; font-size: clamp(42px, 6vw, 96px); line-height: .96; }
.p-hero__lede { max-width: 50ch; margin: clamp(22px, 2.4vw, 32px) 0; font-size: var(--t-lead); line-height: 1.55; }
.p-hero__note { margin-top: 20px; font-size: var(--t-meta); line-height: 1.5; opacity: .85; }

/* problem */
.p-problem { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }

/* steps */
.p-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 4vw, 64px); margin-top: var(--head-gap); }
.p-steps li { display: grid; grid-template-columns: clamp(56px, 6vw, 92px) 1fr; column-gap: 8px; align-content: start; padding: 28px 0 36px; border-top: 1px solid rgba(244, 238, 230, .22); }
.p-steps__n { grid-row: span 2; font: 400 clamp(48px, 5vw, 78px)/.9 var(--display); color: var(--rose); }
.p-steps h3 { font: 400 clamp(23px, 2.1vw, 32px)/1.05 var(--display); text-transform: uppercase; }
.p-steps p { margin-top: 12px; max-width: 42ch; opacity: .85; }

/* the system */
.p-how { padding-bottom: 0; }
.p-sys__list { margin-top: var(--head-gap); }
.p-sys__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr); gap: clamp(24px, 3vw, 48px); align-items: center; }
.p-sys__who { margin-bottom: 8px; font-size: var(--t-meta); color: var(--rose); }
.p-sys__cap h3 { font: 400 clamp(23px, 2.1vw, 32px)/1.05 var(--display); text-transform: uppercase; }
.p-sys__cap h3 + p { margin-top: 10px; opacity: .78; }
.p-sys__img, .p-sys__img img, .p-sys__tree img { display: block; width: 100%; height: auto; }
.p-sys__tree { display: none; }
.p-sys__img, .p-sys__tree { position: relative; }
.p-sys__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.p-sys__svg path { fill: none; stroke: var(--rose); stroke-opacity: .6; stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); }
.p-sys__tree .p-sys__svg path { stroke-width: 2.5; stroke-opacity: .7; }
.p-sys__tree .p-sys__svg { -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.p-sys__svg .j { fill: var(--rose); opacity: 0; transition: opacity .5s; }
.p-sys__dot { fill: var(--rose); }
.p-sys__list.is-on .p-sys__svg path { stroke-dashoffset: 0; }
.p-sys__list.is-on .p-sys__svg .j { opacity: 1; }
.p-sys__list.is-on .l1 { transition-delay: .4s; }
.p-sys__list.is-on .l2 { transition-delay: 1.5s; }
.is-armed .p-sys__img img, .is-armed .p-sys__tree img { opacity: .28; transition: opacity .9s ease; }
.is-on .p-sys__tree img, .is-on .p-sys__row:last-child img { opacity: 1; }
.is-on .p-sys__row:nth-child(3) img { opacity: 1; transition-delay: 1.1s; }
.is-on .p-sys__row:nth-child(2) img { opacity: 1; transition-delay: 2.2s; }
@media (prefers-reduced-motion: reduce) { .p-sys__svg path, .p-sys__svg .j, .is-armed .p-sys__img img, .is-armed .p-sys__tree img { transition: none !important; } }

@media (min-width: 1401px) {
  .p-sys__row { container-type: inline-size; align-items: start; }
  .p-sys__cap { display: flex; flex-direction: column; justify-content: center; height: 12.5cqw; margin: .4cqw 0 -60px; }
  .p-sys__row:nth-child(2) .p-sys__cap { height: 35cqw; margin-top: 2.15cqw; }
}
@media (max-width: 1400px) {
  .p-sys__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 40px); }
  .p-sys__tree { display: block; grid-column: 1 / -1; width: 100%; max-width: 560px; margin: 0 auto 40px; }
  .p-sys__img { display: none; }
  .p-sys__row { grid-template-columns: 1fr; }
}

/* what it can do */
.p-rows { margin-top: var(--head-gap); border-top: 1px solid var(--line); }
.p-rows li { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px clamp(24px, 4vw, 64px); align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.p-rows h3 { font: 400 clamp(23px, 2.1vw, 32px)/1.05 var(--display); text-transform: uppercase; color: var(--plum); }
.p-rows p { max-width: 48ch; color: var(--muted); }
.p-rows p::first-letter { text-transform: uppercase; }

/* why */
.p-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 4vw, 64px); margin-top: var(--head-gap); }
.p-why li { padding: 24px 0 34px; border-top: 1px solid var(--plum); }
.p-why h3 { font: 400 clamp(26px, 2.6vw, 42px)/1.02 var(--display); text-transform: uppercase; color: var(--plum); }
.p-why p { max-width: 40ch; margin-top: 10px; color: var(--muted); }

/* about */
.p-about { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.p-about .p-lead { margin-top: clamp(24px, 2.6vw, 36px); }
.p-about__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; }
.p-about__img img { width: 100%; height: 100%; object-fit: cover; }

/* final */
.p-final { position: relative; overflow: hidden; padding: clamp(96px, 11vw, 176px) 0; background: var(--plum); color: var(--cream); text-align: center; --hl: rgba(248, 187, 203, .32); }
.p-final .contact__media img { inset: 0; height: 100%; }
.p-final__in { position: relative; display: flex; flex-direction: column; align-items: center; }
.p-final__sub { margin: 24px 0 32px; font-size: var(--t-lead); opacity: .9; }
.p-final__mail { margin-top: 22px; font-size: var(--t-meta); }
.p-final__mail a { text-underline-offset: 4px; }
.p-final .pill { margin-inline: auto; }

/* privacy */
.legal { padding: clamp(150px, 15vw, 200px) 0 var(--section-y); background: var(--paper); }
.legal h1 { color: var(--plum); font-size: clamp(40px, 5vw, 76px); }
.legal__date { margin-top: 18px; font-size: var(--t-meta); color: var(--muted); }
.legal__body { max-width: 68ch; margin-top: var(--head-gap); }
.legal h2 { margin-top: 40px; font: 400 clamp(23px, 2.1vw, 30px)/1.1 var(--display); text-transform: uppercase; color: var(--plum); }
.legal p, .legal ul { margin-top: 12px; }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal li + li { margin-top: 6px; }
.legal a { text-underline-offset: 3px; }

.hdr__nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .p-hero__in { padding-top: 120px; }
  .p-problem, .p-about, .p-steps, .p-why, .p-rows li, .p-sys__row { grid-template-columns: 1fr; }
  .p-sys__list { grid-template-columns: 1fr; }
  .p-sys__row { padding: 22px 0; border-top: 1px solid rgba(244, 238, 230, .22); }
  .p-final__in .p-title { margin-inline: auto; }
}

/* the display face draws $0 like the letters SO: set the figure in the text face */
.p-num { font-family: var(--sans); font-weight: 500; letter-spacing: -.02em; }
.p-final .contact__media::after { background: linear-gradient(180deg, rgba(29, 11, 22, .78), rgba(29, 11, 22, .7) 50%, rgba(29, 11, 22, .88)); }
