/* ============================================================
   ALTERNITY METRICS — assessment-booking property
   Builds on assets/alternity.css (tokens + atoms). This adds the
   more transactional components: pricing, steps, FAQ, testimonials.
   ============================================================ */

/* Metrics hero is above the fold: paint immediately, never time-gate it. */
.js .m-hero .reveal,
.js .m-hero .reveal.in { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }

/* brand sub-label reads "Metrics" — set in markup; teal action accent */
.btn--teal { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn--teal .ar { color: rgba(255,255,255,0.7); }
.btn--teal:hover { background: var(--ink); border-color: var(--ink); }
.btn--teal:hover .ar { color: #fff; }

/* footer service line */
.foot-service { font-size: 11px; letter-spacing: 0.04em; color: rgba(238,240,242,0.55); }
.foot-service a { color: #7fb0c0; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.foot-service a:hover { border-color: #7fb0c0; }

/* footer social icons */
.foot-social { display: flex; align-items: center; gap: 14px; }
.foot-social a { display: inline-flex; color: rgba(238,240,242,0.55); transition: color .2s ease; }
.foot-social a:hover { color: var(--teal-bright); }
.foot-social svg { display: block; width: 19px; height: 19px; }

/* ===================== HERO ===================== */
.m-hero { background: var(--stone); }
.m-hero-inner { display: block; }
.m-hero-left { display: flex; flex-direction: column; justify-content: center; padding: 76px 0 40px; max-width: 760px; }
.m-hero h1 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.05; letter-spacing: -0.014em; margin: 24px 0 0; text-wrap: balance;
}
.m-hero h1 .em { font-style: italic; }
.m-hero .rule { margin: 32px 0 28px; }
.m-hero-sub { font-size: 19px; line-height: 1.6; color: var(--ink-68); max-width: 560px; margin: 0 0 36px; text-wrap: pretty; }
.m-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
/* hero triptych — three landscape measurement photos, read as one teal-duotone band */
.m-tri { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; padding-bottom: 84px; }
.m-tri .panel { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0e1417; margin: 0; }
.m-tri .m-slot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.04); }
.m-tri .panel::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: var(--teal-bright); mix-blend-mode: color; opacity: 0.30; }
.m-tri .plabel {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; margin: 0; padding: 16px 14px;
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: #eef0f2; text-align: center;
  background: linear-gradient(180deg, rgba(8,18,21,0) 0%, rgba(8,18,21,0.55) 100%);
}

/* stat strip */
.stat-strip { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 8px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .n { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.01em; color: var(--ink); line-height: 1; }
.stat .n .teal { color: var(--teal); }
.stat .l { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }

/* ===================== STEPS ===================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 16px; }
.step { padding-top: 26px; border-top: 2px solid var(--teal); }
.step .num { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; color: var(--teal); margin: 0 0 14px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; line-height: 1.16; margin: 0 0 10px; }
.step p { font-size: 15px; line-height: 1.58; color: var(--ink-68); margin: 0; text-wrap: pretty; }

/* ===================== PRICING ===================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.price-card { background: var(--paper); border: 1px solid var(--line-soft); padding: 40px 36px 34px; display: flex; flex-direction: column; }
.price-card.feature { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.price-card .pc-eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); margin: 0 0 14px; }
.price-card .feature & { color: var(--teal); }
.price-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -0.01em; line-height: 1.08; margin: 0 0 14px; }
.price-card .desc { font-size: 15.5px; line-height: 1.6; color: var(--ink-68); margin: 0 0 26px; text-wrap: pretty; }
.price-card .price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px; }
.price-card .price .amt { font-family: var(--serif); font-weight: 500; font-size: 44px; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.price-card .price .unit { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.price-card .price-note { font-size: 13px; color: var(--ink-46); margin: 0 0 24px; }

/* package table */
.pkg { border-top: 1px solid var(--line); margin-top: auto; }
.pkg-row { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.pkg-row .q { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); }
.pkg-row .per { font-family: var(--sans); font-size: 12px; color: var(--ink-46); text-align: right; }
.pkg-row .tot { font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--ink); text-align: right; }
.pkg-foot { font-size: 12.5px; line-height: 1.5; color: var(--ink-46); margin: 16px 0 0; }
.price-card .btn { margin-top: 26px; justify-content: center; }

/* small inline price list (home preview) */
.price-peek { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 8px; }
.peek { border-top: 2px solid var(--teal); padding-top: 22px; }
.peek h4 { font-family: var(--serif); font-weight: 400; font-size: 23px; margin: 0 0 8px; letter-spacing: -0.01em; }
.peek .p { font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
.peek .p small { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.peek .sub { font-size: 14px; color: var(--ink-68); margin: 8px 0 0; }

/* ===================== BOOKING HUB ===================== */
.book-steps { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.book-steps li { display: flex; align-items: baseline; gap: 13px; padding-top: 20px; border-top: 2px solid var(--teal); }
.book-steps .bs-num { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; color: var(--teal); }
.book-steps .bs-label { font-family: var(--serif); font-weight: 400; font-size: 20px; letter-spacing: -0.01em; color: var(--ink); line-height: 1.2; }

.book-options { display: flex; flex-direction: column; margin-top: 44px; border-top: 1px solid var(--line); }
.book-option { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 28px 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding .22s ease, background-color .22s ease; }
.book-option:hover { background: var(--stone); padding-left: 18px; padding-right: 18px; }
.bo-main { display: flex; flex-direction: column; gap: 6px; }
.bo-name { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.01em; line-height: 1.08; }
.bo-desc { font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--ink-68); }
.bo-meta { display: flex; align-items: center; gap: 34px; flex-shrink: 0; }
.bo-price { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: -0.01em; color: var(--ink); white-space: nowrap; }
.bo-price small { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-left: 7px; }
.bo-go { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); white-space: nowrap; }
.bo-go .ar { transition: transform .25s ease; }
.book-option:hover .bo-go .ar { transform: translateX(5px); }
@media (max-width: 620px) {
  .book-steps { grid-template-columns: 1fr; gap: 0; }
  .book-steps li { border-top: 1px solid var(--line-soft); padding: 15px 0; }
  .book-steps li:first-child { border-top: 2px solid var(--teal); }
  .book-option { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 6px; }
  .bo-meta { gap: 22px; }
}

/* ===================== TESTIMONIALS ===================== */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.quote { display: flex; flex-direction: column; }
.quote blockquote {
  font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 2.1vw, 26px);
  line-height: 1.42; letter-spacing: -0.008em; color: var(--ink); margin: 0 0 22px; text-wrap: pretty;
}
.section--dark .quote blockquote { color: #eef0f2; }
.quote .who { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }
.section--dark .quote .who { color: #7f99a8; }

/* ===================== FAQ ===================== */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 2vw, 25px);
  letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 400; font-size: 26px; color: var(--teal); transition: transform .2s ease;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .a { padding: 0 48px 28px 0; }
.faq .a p { font-size: 16.5px; line-height: 1.64; color: var(--ink-68); margin: 0; max-width: 720px; text-wrap: pretty; }

/* ===================== PARTNER BAND ===================== */
.partner-band { background: var(--graphite); color: #eef0f2; }
.partner-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.partner-inner .kicker { color: #7f99a8; }
.partner-inner h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.012em; line-height: 1.08; margin: 18px 0 0; color: #fff; text-wrap: balance; }
.partner-inner p { font-size: 18px; line-height: 1.62; color: rgba(238,240,242,0.7); margin: 22px 0 0; max-width: 520px; text-wrap: pretty; }
.partner-aside { border-left: 1px solid rgba(238,240,242,0.16); padding-left: 56px; }
.partner-aside ul { list-style: none; margin: 0; padding: 0; }
.partner-aside li { padding: 18px 0; border-bottom: 1px solid rgba(238,240,242,0.14); font-size: 16px; color: rgba(238,240,242,0.82); }
.partner-aside li:first-child { padding-top: 0; }

/* ===================== COMPILATION DIAGRAM ===================== */
.compile { display: grid; grid-template-columns: 1fr 92px 1.05fr; gap: 0; align-items: stretch; }
.compile .col-label {
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--slate); margin: 0 0 22px;
}
.measures { display: flex; flex-direction: column; gap: 14px; }
.measure-row {
  background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--teal);
  padding: 20px 24px; display: flex; align-items: baseline; gap: 16px;
}
.measure-row .tag {
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--teal); white-space: nowrap; min-width: 52px;
}
.measure-row .mr-body h4 { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: -0.01em; margin: 0 0 3px; }
.measure-row .mr-body p { font-size: 14px; line-height: 1.5; color: var(--ink-68); margin: 0; }
.measure-row .mr-body .mr-note { font-size: 12.5px; line-height: 1.5; color: var(--ink-46); margin: 9px 0 0; padding-top: 9px; border-top: 1px solid var(--line-soft); text-wrap: pretty; }
/* connector */
.connector { position: relative; }
.connector svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.connector .merge-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: var(--stone); padding: 7px 0; writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--sans); font-size: 9.5px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--slate);
}
.outputs { display: flex; flex-direction: column; gap: 14px; }
.output-card { background: var(--graphite); color: #eef0f2; padding: 26px 28px; }
.output-card.feature { padding-bottom: 30px; }
.output-card .oc-label { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #7fb0c0; margin: 0 0 12px; }
.output-card h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 27px); letter-spacing: -0.01em; line-height: 1.1; margin: 0 0 10px; color: #fff; }
.output-card p { font-size: 14.5px; line-height: 1.55; color: rgba(238,240,242,0.68); margin: 0; }
/* healthspan index scale bar */
.hs-scale { margin-top: 18px; }
.hs-track { position: relative; height: 6px; border-radius: 3px; background: rgba(238,240,242,0.16); overflow: hidden; }
.hs-track .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 68%; background: var(--teal-bright); border-radius: 3px; }
.hs-ticks { display: flex; justify-content: space-between; margin-top: 8px; font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; color: rgba(238,240,242,0.5); }
.compile-foot { font-size: 13px; line-height: 1.5; color: var(--ink-46); margin: 26px 0 0; text-align: center; }
@media (max-width: 820px) {
  .compile { grid-template-columns: 1fr; }
  .connector { height: 44px; }
  .connector svg { display: none; }
  .connector .merge-label { writing-mode: horizontal-tb; position: static; transform: none; display: inline-block; margin: 8px auto; }
  .connector { display: flex; justify-content: center; align-items: center; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .m-hero-left { padding: 60px 0 36px; max-width: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-peek { grid-template-columns: 1fr; gap: 0; }
  .peek { padding: 22px 0; }
  .quotes { grid-template-columns: 1fr; gap: 36px; }
  .partner-inner { grid-template-columns: 1fr; gap: 36px; }
  .partner-aside { border-left: 0; padding-left: 0; border-top: 1px solid rgba(238,240,242,0.16); padding-top: 8px; }
}
@media (max-width: 560px) {
  .m-tri { grid-template-columns: 1fr; gap: 10px; }
  .steps { grid-template-columns: 1fr; }
}
