:root {
  --parchment: var(--cream-2);
  --ash: #DDD3C3;
  --graphite: rgba(7, 30, 54, 0.72);
  --r-card: 28px;
  --r-inner: 18px;
  --r-btn: 28px;
  --r-pill: 9999px;
  --r-input: 8px;
  --section: clamp(96px, 11vw, 136px);
}

.p-display { font-family: var(--f-display); font-weight: 900; font-size: clamp(50px, 7.2vw, 100px); line-height: 1.34; }
.p-h-lg { font-family: var(--f-display); font-weight: 900; font-size: clamp(38px, 4.8vw, 66px); line-height: 1.36; }
.p-h { font-family: var(--f-display); font-weight: 900; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.45; }
.p-sub { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.65; color: var(--ink-strong); }
.p-muted { color: var(--graphite); }

.p-tag {
  display: inline-flex; align-items: center; align-self: flex-start;
  min-height: 34px; padding: 4px 16px;
  border-radius: var(--r-pill);
  background: var(--parchment); color: var(--ink);
  font-size: 14px; font-weight: 700; line-height: 1.4;
}
.p-tag--white { background: var(--white); box-shadow: inset 0 0 0 1px rgba(7, 30, 54, 0.06); }

.p-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 16px 28px 16px 24px;
  border-radius: var(--r-btn);
  font-family: var(--f-sans); font-size: 17px; font-weight: 700; line-height: 1.2;
  white-space: nowrap;
  background: var(--gold); color: var(--navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform var(--t-press) var(--ease-out), filter var(--t-hover) ease;
}
.p-btn:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .p-btn:hover { filter: brightness(1.05); } }

.p-underline {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding-bottom: 4px;
  font-size: 17px; font-weight: 700; line-height: 1.4;
  background: linear-gradient(currentColor, currentColor) right bottom / 100% 1px no-repeat;
  transition: background-size 500ms var(--ease-lux);
}
.p-underline span[aria-hidden] { font-family: var(--f-sans); font-weight: 400; transition: transform 400ms var(--ease-lux); }
@media (hover: hover) and (pointer: fine) {
  .p-underline:hover { background-size: 0 1px; background-position: left bottom; }
  .p-underline:hover span[aria-hidden] { transform: translateX(-4px); }
}

.p-nav { display: flow-root; position: sticky; top: 0; z-index: 100; color: var(--on-dark); background: var(--navy); transition: background-color 400ms var(--ease-lux); }
.p-nav--light { color: var(--ink); background: var(--cream); }
.p-nav__bar { transition: margin 500ms var(--ease-lux), padding 500ms var(--ease-lux), background-color 500ms var(--ease-lux), border-radius 500ms var(--ease-lux), box-shadow 500ms var(--ease-lux); }
.p-nav.is-stuck { background: transparent; }
.p-nav.is-stuck .p-nav__bar {
  margin: 12px auto 0; max-width: calc(var(--page) + 40px);
  padding-inline: 20px 10px;
  border-radius: 9999px;
  background: rgba(7, 30, 54, 0.82);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  box-shadow: inset 0 0 0 1px var(--gold-line), 0 24px 48px -28px rgba(4, 21, 42, 0.7);
}
.p-nav--light.is-stuck .p-nav__bar { background: rgba(251, 248, 242, 0.82); box-shadow: inset 0 0 0 1px rgba(7, 30, 54, 0.08), 0 24px 48px -30px rgba(7, 30, 54, 0.35); }
.p-nav__inner { display: flex; align-items: center; gap: 32px; min-height: 84px; transition: min-height 500ms var(--ease-lux); }
.p-nav.is-stuck .p-nav__inner { min-height: 68px; padding-inline: 0; }
.p-nav__logo img { height: 54px; width: auto; }
.p-nav.is-stuck .p-nav__logo img { height: 46px; }
.p-nav__links { display: flex; gap: 4px; margin-inline-start: auto; }
.p-nav__links a { padding: 10px 16px; border-radius: var(--r-pill); font-size: 16px; font-weight: 500; opacity: 0.82; transition: opacity var(--t-hover) ease, background-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .p-nav__links a:hover { opacity: 1; background: rgba(251, 248, 242, 0.08); }
  .p-nav--light .p-nav__links a:hover { background: rgba(7, 30, 54, 0.05); }
}
.p-nav__actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.p-nav__login { padding: 10px 16px; border-radius: var(--r-pill); font-size: 16px; font-weight: 700; transition: background-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .p-nav__login:hover { background: rgba(251, 248, 242, 0.08); } .p-nav--light .p-nav__login:hover { background: rgba(7, 30, 54, 0.05); } }
.p-nav__toggle { display: none; position: relative; z-index: 160; width: 46px; height: 46px; border-radius: 50%; place-items: center; box-shadow: inset 0 0 0 1px var(--gold-line); }
.p-nav__toggle span, .p-nav__toggle span::before, .p-nav__toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; transition: transform 400ms var(--ease-lux), background-color 200ms ease; }
.p-nav__toggle span { position: relative; }
.p-nav__toggle span::before, .p-nav__toggle span::after { content: ""; position: absolute; inset-inline: 0; }
.p-nav__toggle span::before { top: -6px; }
.p-nav__toggle span::after { top: 6px; }
.p-nav.is-open .p-nav__toggle { color: var(--on-dark); }
.p-nav.is-open .p-nav__toggle span { background: transparent; }
.p-nav.is-open .p-nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.p-nav.is-open .p-nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.p-hero { position: relative; isolation: isolate; overflow: clip; background: var(--navy); color: var(--on-dark); padding-block: clamp(64px, 8vw, 112px) clamp(80px, 9vw, 128px); }
.p-hero .pattern, .p-hero .glow { z-index: -1; }
.p-hero .pattern { -webkit-mask-image: radial-gradient(ellipse 60% 75% at 72% 40%, #000, rgba(0, 0, 0, 0.5) 45%, transparent 80%); mask-image: radial-gradient(ellipse 60% 75% at 72% 40%, #000, rgba(0, 0, 0, 0.5) 45%, transparent 80%); }
.p-hero .glow { inset-inline-start: 22%; top: -20%; }
.p-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.p-hero__text { display: flex; flex-direction: column; gap: 28px; }
.p-hero .p-display { font-size: clamp(52px, 6.4vw, 92px); }
.p-hero__text .p-sub { color: var(--on-dark-strong); max-width: 32em; }
.p-hero .p-underline { color: var(--on-dark); }

.p-form { display: flex; align-items: center; gap: 8px; padding: 8px; padding-inline-start: 24px; border-radius: 9999px; max-width: 620px; background: var(--white); box-shadow: inset 0 0 0 1px rgba(7, 30, 54, 0.08); transition: box-shadow 300ms var(--ease-lux); }
.p-form:focus-within { box-shadow: inset 0 0 0 1px var(--navy), 0 0 0 4px rgba(12, 12, 12, 0.08); }
.p-form--glass:focus-within { box-shadow: inset 0 0 0 1px var(--on-dark-strong), 0 0 0 4px rgba(246, 241, 232, 0.08); }
.p-form input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 17px; font-weight: 500; color: var(--navy); padding-block: 12px; }
.p-form input::placeholder { color: var(--graphite); }
.p-form input:focus { outline: none; }
.p-form--glass { background: rgba(251, 248, 242, 0.07); box-shadow: inset 0 0 0 1px var(--on-dark-line); }
.p-form--glass input { color: var(--on-dark); }
.p-form--glass input::placeholder { color: var(--on-dark-soft); }

.p-hero .notch { --notch-bg: var(--navy); }
.p-hero .notch > .ph { aspect-ratio: 4 / 5; background: var(--navy-2); }

.p-band { position: relative; padding-block: var(--section); background: var(--white); }
.p-band--parchment { background: var(--parchment); }
.p-band--parchment .p-tag { background: var(--white); }
.p-band--dark { background: var(--navy); color: var(--on-dark); }
.p-band--dark .p-sub { color: var(--on-dark-strong); }
.p-band--dark .p-tag { background: rgba(246, 241, 232, 0.08); color: var(--on-dark); }
.p-band--dark .p-underline { color: var(--on-dark); }
.p-band--dark .p-defs, .p-band--dark .p-defs li, .p-band--dark .p-steps, .p-band--dark .p-step { border-color: var(--on-dark-line); }
.p-band--dark .p-defs p, .p-band--dark .p-step p, .p-band--dark .b-step p { color: var(--on-dark-soft); }
.p-band--dark .bezel { background: rgba(246, 241, 232, 0.05); box-shadow: inset 0 0 0 1px var(--on-dark-line); }
.p-band--dark .p-island, .p-island.p-island--open { background: transparent; border-radius: 0; padding: 0; overflow: visible; }
.p-band--dark .p-island .pattern, .p-island--open .pattern { display: none; }
.p-island.p-island--open { color: var(--ink); }
.p-island--open .eyebrow-pill { color: var(--ink); background: rgba(12, 12, 12, 0.04); box-shadow: inset 0 0 0 1px var(--ink-11); }
.p-island--open .p-stat { border-color: var(--ink-11); }
.p-island--open .p-stat strong { color: var(--ink); }
.p-island--open .p-stat p { color: var(--ink-soft); }

.p-statement { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: clamp(48px, 6vw, 80px); }
.p-statement > .p-tag { justify-self: start; }
.p-statement__row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.p-statement__aside { display: flex; flex-direction: column; gap: 24px; }

.p-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.p-cards > div:nth-child(2) { margin-top: 64px; }
.p-card { border-radius: var(--r-card); padding: clamp(32px, 3.4vw, 48px); background: var(--cream-2); box-shadow: inset 0 0 0 1px rgba(7, 30, 54, 0.06); display: flex; flex-direction: column; gap: 20px; transition: box-shadow 500ms var(--ease-lux); }
.p-card p { color: var(--graphite); }
@media (hover: hover) and (pointer: fine) { .p-card:hover { box-shadow: inset 0 0 0 1px rgba(12, 12, 12, 0.14), 0 30px 60px -40px rgba(12, 12, 12, 0.35); } }
.p-band--parchment .p-card { background: var(--white); }
.p-band--parchment .p-pills li { background: var(--cream-2); }
.p-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.p-pills li { padding: 8px 16px; border-radius: var(--r-pill); background: var(--white); font-size: 15px; font-weight: 500; line-height: 1.4; transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .p-pills li:hover { background: var(--navy); color: var(--on-dark); } }

.p-island { position: relative; isolation: isolate; overflow: clip; background: var(--navy); color: var(--on-dark); border-radius: var(--r-card); padding: clamp(40px, 5vw, 72px); }
.p-island .pattern { z-index: -1; opacity: 0.1; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 10%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 90% at 85% 10%, #000, transparent 75%); }
.p-island__head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.p-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.p-stat { display: flex; flex-direction: column; gap: 12px; padding-inline: 28px; border-inline-start: 1px solid var(--on-dark-line); }
.p-stat:first-child { padding-inline-start: 0; border-inline-start: 0; }
.p-stat .num { align-self: flex-start; font-size: clamp(48px, 5vw, 76px); line-height: 1; }
.p-stat strong { font-size: 18px; font-weight: 700; color: var(--on-dark); }
.p-stat p { font-size: 16px; color: var(--on-dark-soft); }

.p-journey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.p-journey__aside { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 24px; }
.p-journey__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-inner); overflow: hidden; background: var(--cream-3); }
.p-journey__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); filter: blur(4px); transition: opacity 700ms var(--ease-lux), transform 1200ms var(--ease-lux), filter 700ms var(--ease-lux); }
.p-journey__media img.is-active { opacity: 1; transform: none; filter: none; }
.p-journey .bezel { --r: var(--r-inner); margin-top: 12px; }
.p-steps { border-top: 1px solid var(--ash); }
.p-step { padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--ash); display: flex; flex-direction: column; gap: 14px; opacity: 0.36; transition: opacity 600ms var(--ease-lux); }
.p-step.is-active { opacity: 1; }
.p-step .num { align-self: flex-start; font-size: 64px; line-height: 1; color: var(--navy); }
.p-step p { color: var(--graphite); max-width: 30em; }
.p-step .ph { display: none; aspect-ratio: 4 / 3; border-radius: var(--r-inner); margin-top: 8px; }

.p-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.p-split__text { display: flex; flex-direction: column; gap: 22px; }
.p-split .bezel { --r: var(--r-card); }
.p-split .ph { aspect-ratio: 1; }
.p-defs { border-top: 1px solid var(--ash); }
.p-defs li { padding-block: 20px; border-bottom: 1px solid var(--ash); display: grid; gap: 6px; }
.p-defs h3 { font-size: 21px; font-weight: 700; line-height: 1.4; }
.p-defs p { font-size: 17px; color: var(--graphite); }
.p-defs--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 0; }
.p-defs--grid li { padding-block: 18px 6px; border-bottom: 0; border-top: 1px solid var(--ash); align-content: start; gap: 4px; }
.p-defs--grid h3 { font-size: 19px; }
.p-defs--grid p { font-size: 16px; }

.p-surface { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--cream-2); border-radius: var(--r-card); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(7, 30, 54, 0.06); }
.p-surface__text { padding: clamp(36px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.p-surface__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 8px; }
.p-surface .ph { min-height: 100%; aspect-ratio: 1; background: var(--cream-3); }
.p-band--parchment .p-surface { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; gap: clamp(40px, 6vw, 96px); align-items: center; }
.p-band--parchment .p-surface__text { padding: 0; }
.p-band--parchment .p-surface .ph { min-height: 0; border-radius: var(--r-card); }

.p-quote { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.p-quote__stage { display: grid; }
.p-quote__slide { grid-area: 1 / 1; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; align-items: center; opacity: 0; visibility: hidden; filter: blur(4px); transition: opacity 600ms var(--ease-lux), filter 600ms var(--ease-lux), visibility 0s linear 600ms; }
.p-quote__slide.is-active { opacity: 1; visibility: visible; filter: none; transition: opacity 600ms var(--ease-lux), filter 600ms var(--ease-lux), visibility 0s; }
.p-quote__slide .ph { aspect-ratio: 1; border-radius: var(--r-inner); }
.p-quote blockquote { font-family: var(--f-text); font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.6; }
.p-quote figcaption { margin-top: 20px; font-size: 16px; color: var(--graphite); }
.p-quote figcaption strong { display: block; color: var(--ink); font-size: 17px; }
.p-quote__nav { display: flex; align-items: center; gap: 10px; margin-top: 32px; }
.p-round { width: 52px; height: 52px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1px rgba(7, 30, 54, 0.1); display: grid; place-items: center; font-size: 22px; line-height: 1; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.p-round:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .p-round:hover { background: var(--navy); color: var(--white); } }
.p-count { font-size: 15px; font-weight: 700; color: var(--graphite); margin-inline-start: 8px; font-variant-numeric: tabular-nums; }

.p-accent { position: relative; isolation: isolate; overflow: clip; background: var(--navy); color: var(--on-dark); padding-block: clamp(104px, 12vw, 168px); text-align: center; }
.p-accent .pattern { z-index: -1; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 78%); mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 78%); }
.p-accent__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.p-accent .p-display, .b-cta .p-display { font-size: clamp(44px, 6vw, 84px); }
.p-accent .p-sub { color: var(--on-dark-strong); font-weight: 700; }
.p-accent .p-underline { color: var(--on-dark); }
.p-accent .p-form { width: 100%; margin-top: 8px; }

.p-footer { position: relative; isolation: isolate; overflow: clip; background: var(--navy-deep); color: var(--on-dark); padding-block: 88px 40px; }
.p-footer .pattern { z-index: -1; opacity: 0.06; -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); mask-image: linear-gradient(to bottom, #000, transparent 70%); }
.p-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--on-dark-line); }
.p-footer__brand img { height: 84px; width: auto; }
.p-footer__brand p { margin-top: 20px; font-family: var(--f-display); font-size: 24px; font-weight: 900; line-height: 1.4; max-width: 14em; }
.p-footer h2 { font-size: 13px; font-weight: 700; color: var(--on-dark-soft); margin-bottom: 18px; }
.p-footer ul { display: grid; gap: 12px; }
.p-footer a { font-size: 15px; color: var(--on-dark-strong); transition: color var(--t-hover) ease; }
.p-footer a[dir="ltr"] { unicode-bidi: isolate; }
@media (hover: hover) and (pointer: fine) { .p-footer a:hover { color: var(--white); } }
.p-footer__bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; font-size: 14px; line-height: 1.8; color: var(--on-dark-soft); }

@media (max-width: 1080px) {
  .p-nav__links { display: none; }
  .p-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .p-stat:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .p-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .p-nav__inner { min-height: 70px; gap: 12px; }
  .p-nav__logo img { height: 46px; }
  .p-nav__login, .p-nav__actions .island { display: none; }
  .p-nav__toggle { display: grid; }
  .p-nav.is-stuck .p-nav__bar { margin: 8px 8px 0; padding-inline: 8px; }

  .p-hero__grid, .p-statement__row, .p-journey, .p-split, .p-surface, .p-quote { grid-template-columns: minmax(0, 1fr); }
  .p-hero .notch > .ph { aspect-ratio: 4 / 5; }
  .p-form { flex-wrap: wrap; padding: 8px; border-radius: 24px; }
  .p-form input { flex-basis: 100%; padding-inline: 16px; }
  .p-form .island { flex: 1; justify-content: center; gap: 14px; }
  .p-cards { grid-template-columns: minmax(0, 1fr); }
  .p-cards > div:nth-child(2) { margin-top: 0; }
  .p-journey__aside { position: static; }
  .p-journey .bezel { display: none; }
  .p-step { opacity: 1; }
  .p-step .ph { display: block; }
  .p-split .bezel { order: -1; }
  .p-split .ph { aspect-ratio: 4 / 3; }
  .p-surface .ph { order: -1; aspect-ratio: 4 / 3; }
  .p-quote__slide { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .p-quote__slide .ph { width: 120px; }
}

@media (max-width: 600px) {
  .p-stats { grid-template-columns: minmax(0, 1fr); }
  .p-defs--grid { grid-template-columns: minmax(0, 1fr); }
  .p-island--open .p-stat { border-top-color: var(--ink-11); }
  .p-stat, .p-stat:nth-child(3) { padding-inline: 0; border-inline-start: 0; padding-top: 32px; border-top: 1px solid var(--gold-line); }
  .p-stat:first-child { border-top: 0; padding-top: 0; }
  .p-footer__top { grid-template-columns: minmax(0, 1fr); }
}
