/* ============================================================================
   hahn.Klea inner pages: demos.html and about.html.
   Plain pages, outside the scroll animation. They borrow the tokens, type,
   buttons, bar, drawer, fields, reviews and sun from site.css and add only
   their own layout here.
   ========================================================================== */

.page main { position: relative; z-index: 10; }
/* the navy pool from the home page, parked high and to the right, with no landscape */
.page .ground__pool { transform: translate3d(72vw, 22vh, 0); }

.wrap { width: 100%; max-width: 78rem; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { margin: 0 0 1rem; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-hi); }

/* ------------------------------------------------------------ page hero --- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--bar-h) + clamp(3.5rem, 11vh, 7.5rem)) 0 clamp(3rem, 8vh, 5.5rem); }
.page-hero .wrap { position: relative; }
.page-hero__mark {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  height: min(60vh, 28rem); width: auto; opacity: 0.14; pointer-events: none;
}
.page-hero .display { position: relative; max-width: 15ch; }
.page-hero .accent { position: relative; max-width: 36rem; }
.page-hero .body { position: relative; max-width: 42rem; }

.jump { position: relative; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.2rem; }
.jump a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.6rem 1rem;
  border: 1px solid rgba(197, 160, 89, 0.4); border-radius: var(--radius);
  color: var(--alabaster); text-decoration: none; font-size: 0.92rem;
  transition: border-color 160ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
.jump a:hover, .jump a:focus-visible { border-color: var(--gold); background: rgba(197, 160, 89, 0.1); }

/* ------------------------------------------------------------- sections --- */
.block { padding: clamp(3.5rem, 10vh, 6.5rem) 0; border-top: 1px solid var(--sc-hairline); }
.block__head { max-width: 44rem; margin-bottom: clamp(2rem, 5vh, 3rem); }
.block__head .body { margin-top: 1rem; }
.block__title {
  margin: 0; font-family: var(--sc-font-display); font-weight: 600;
  font-size: clamp(2.1rem, 1.35rem + 2.3vw, 3.3rem); line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance;
}
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }

/* the same raised material as the ring panels */
.card {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: linear-gradient(180deg, rgba(18, 49, 112, 0.92) 0%, rgba(10, 30, 72, 0.95) 100%);
  border: 1px solid rgba(197, 160, 89, 0.4); border-radius: var(--radius);
  box-shadow: 0 2px 4px hsl(var(--sc-shadow-color) / 0.3), 0 34px 70px -24px hsl(var(--sc-shadow-color) / 0.75),
              inset 0 1px 0 rgba(251, 249, 244, 0.08);
}
.card__title { margin: 0; font-family: var(--sc-font-display); font-weight: 600; font-size: clamp(1.7rem, 1.25rem + 1vw, 2.2rem); line-height: 1.05; }
.card__lead { margin: 0.5rem 0 0; color: var(--sc-ink-soft); font-size: 0.95rem; line-height: 1.55; }

/* a review at page size */
.review--page { margin-top: 2.4rem; }
.review--page .review__quote p { font-size: clamp(1.3rem, 1.05rem + 0.8vw, 1.8rem); line-height: 1.32; }
.review--page .review__by { font-size: 0.86rem; }

/* ------------------------------------------------------------ voice demo -- */
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 0.9rem; margin-top: 1.5rem; }
.demo-form .field { align-content: start; }
.demo-form .field input { min-height: 2.85rem; }
.field__hint { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: none; color: rgba(205, 212, 226, 0.75); }

/* Voice demo: connecting shimmer, then the live transcript. Renamed from
   .skeleton: that name collided with the full-page loading overlay in
   site.css (also .skeleton, position: fixed). Same specificity, this file
   loads second, so this rule's position: relative was silently winning and
   leaving the real page-load skeleton stuck visible, permanently pushing
   every plain page's content down by its own height. Currently unused by
   any markup, but kept and renamed rather than deleted in case it backs a
   loading state that hasn't been wired up yet. */
.load-shimmer { position: relative; overflow: hidden; border-radius: 2px; background: rgba(251, 249, 244, 0.07); }
.load-shimmer--line { height: 0.62rem; margin: 0.5rem 0; }
.load-shimmer::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.22), transparent);
  animation: hk-shimmer 1.25s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .load-shimmer::after { animation: none; } }
@keyframes hk-shimmer { to { transform: translateX(100%); } }

.call-live {
  grid-column: 1 / -1; margin-top: 0.4rem; padding: 0.9rem 1rem;
  border: 1px solid rgba(251, 249, 244, 0.16); background: rgba(7, 22, 54, 0.55);
}
/* Only this scrolls. The bar above it never moves, so the End button is
   always where the caller last saw it. */
.call-live__log { max-height: 10.5rem; overflow-y: auto; overscroll-behavior: contain; }
.call-live[hidden] { display: none; }
.call-live__head { margin: 0 0 0.55rem; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sc-ink-soft); }
.call-turn { margin: 0 0 0.5rem; font-size: 0.88rem; line-height: 1.5; }
.call-turn__who { display: block; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(205, 212, 226, 0.65); }
.call-turn--agent .call-turn__who { color: var(--gold); }
.demo-form__status[data-tone="bad"] { color: #E9A77E; }
.demo-form__status[data-tone="good"] { color: var(--gold); }
.demo-form.is-live button[type="submit"] { min-width: 10.5rem; }
.cf-turnstile-slot { grid-column: 1 / -1; min-height: 0; }
.cf-turnstile-slot[hidden] { display: none; }
.demo-form.is-live .cf-turnstile-slot { opacity: 0.45; pointer-events: none; }
.btn--end-big {
  color: #FBF9F4; background: rgba(233, 167, 126, 0.22); border: 1px solid #E9A77E;
}
.btn--end-big:hover, .btn--end-big:focus-visible { background: rgba(233, 167, 126, 0.38); }
.demo-form.is-live input:disabled, .demo-form.is-live select:disabled { opacity: 0.45; cursor: not-allowed; }
.demo-form.is-live .check { opacity: 0.45; }

/* The caller always has a visible way out of the call. */
.call-live__bar {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding-bottom: 0.6rem; margin-bottom: 0.55rem;
  border-bottom: 1px solid rgba(251, 249, 244, 0.14);
  background: rgba(7, 22, 54, 0.98);
}
.call-live__bar .call-live__head { margin: 0; display: flex; align-items: center; gap: 0.45rem; }
.btn--end {
  flex: none; padding: 0.42rem 0.85rem; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #F3C9AE; background: rgba(233, 167, 126, 0.12); border: 1px solid rgba(233, 167, 126, 0.55);
}
.btn--end:hover, .btn--end:focus-visible { background: rgba(233, 167, 126, 0.24); border-color: #E9A77E; color: #FBF9F4; }
.call-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #E9A77E; animation: hk-pulse 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .call-dot { animation: none; } }
@keyframes hk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.check {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start;
  min-height: 44px; font-size: 0.9rem; line-height: 1.5; color: var(--sc-ink-soft); cursor: pointer;
}
.check input { width: 1.2rem; height: 1.2rem; margin: 0.15rem 0 0; accent-color: var(--gold); }
.check input[aria-invalid="true"] { outline: 2px solid #E9A77E; outline-offset: 2px; }
.demo-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.3rem; }
.demo-form__status { margin: 0; font-size: 0.9rem; line-height: 1.45; color: var(--sc-ink-soft); max-width: 24rem; }

/* ----------------------------------------------------------------- reels -- */
/* phone sized frames: three sit side by side, five still fit one row on a wide screen */
.reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 17rem)); justify-content: start; gap: clamp(1rem, 2.4vw, 1.75rem); }
.reel { margin: 0; }
.reel__frame {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius);
  display: grid; place-content: center; justify-items: center; gap: 1rem;
  background: radial-gradient(120% 80% at 50% 28%, rgba(60, 105, 188, 0.38) 0%, rgba(11, 31, 77, 0.92) 72%);
  border: 1px solid rgba(197, 160, 89, 0.35);
}
.reel__frame video, .reel__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; background: #000; }
.reel__play {
  width: 4rem; height: 4rem; border: 1px solid rgba(226, 196, 138, 0.7); border-radius: 50%;
  display: grid; place-items: center;
}
.reel__play::before {
  content: ""; margin-left: 0.3rem;
  border-style: solid; border-width: 0.62rem 0 0.62rem 1.05rem; border-color: transparent transparent transparent var(--gold-hi);
}
.reel__soon { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sc-ink-soft); }
.reel__cap { margin-top: 0.8rem; font-family: var(--sc-font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.15; }

/* -------------------------------------------------------------- findings -- */
.findings, .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.6vw, 2rem); }
.finding, .step { padding-top: 1.1rem; border-top: 1px solid rgba(197, 160, 89, 0.5); }
.num { display: block; font-family: var(--sc-font-display); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--gold); }
.finding h3, .step h3, .include h3 { margin: 0.7rem 0 0; font-family: var(--sc-font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; }
.finding p, .step p, .include p { margin: 0.55rem 0 0; color: var(--sc-ink-soft); font-size: 1rem; line-height: 1.6; }
.finding__stat { margin: 0.65rem 0 0; color: var(--gold-hi); font-size: 0.92rem; font-weight: 600; line-height: 1.5; }
.case-review { margin-top: clamp(2.5rem, 7vh, 4rem); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: end; }
.case-review .review--page { margin-top: 0; }
.case-review__cta { display: grid; justify-items: start; gap: 1rem; }
.case-review__cta p { margin: 0; color: var(--sc-ink-soft); font-size: 0.98rem; }

/* -------------------------------------------------------------- workshop -- */
.includes { list-style: none; margin: 0; padding: 0; }
.include { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 0 1rem; padding: 1.25rem 0; border-top: 1px solid var(--sc-hairline); }
.include:last-child { border-bottom: 1px solid var(--sc-hairline); }
.include .num { font-size: 1.7rem; padding-top: 0.1rem; }
.include h3 { margin: 0; }
.price-line { margin: 1.8rem 0 1.5rem; color: var(--sc-ink-soft); font-size: 0.95rem; }
.price-line strong { display: block; font-family: var(--sc-font-display); font-weight: 600; font-size: 2.4rem; line-height: 1.1; color: var(--alabaster); }

/* ----------------------------------------------------------------- about -- */
.founder-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.6vw, 2rem); }
.founder-card__name { margin: 0; font-family: var(--sc-font-display); font-weight: 600; font-size: clamp(2rem, 1.45rem + 1.3vw, 2.7rem); line-height: 1.02; }
.founder-card__role { margin: 0.6rem 0 0; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-hi); line-height: 1.5; }
.founder-card .body { margin-top: 1.1rem; }
.pull { max-width: 58rem; }
.pull .review { border-top: 0; padding-top: 0; }
.pull .review__quote p { font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.6rem); line-height: 1.24; }

/* --------------------------------------------------------------- closing -- */
.page-cta { padding: clamp(4rem, 12vh, 8rem) 0; text-align: center; border-top: 1px solid var(--sc-hairline); }
.page-cta .accent, .page-cta .body { margin-left: auto; margin-right: auto; }
.page-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 2rem; }

.page .foot { margin-top: 0; }
.foot__contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 1.6rem; margin: 0; font-size: 0.92rem; }
.foot__contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sc-ink-soft); text-decoration: none; }
.foot__contact a:hover, .foot__contact a:focus-visible { color: var(--alabaster); }

/* ---------------------------------------------------------------- phones -- */
@media (max-width: 860px) {
  .split, .founder-cards, .findings, .steps, .case-review { grid-template-columns: 1fr; }
  .demo-form { grid-template-columns: 1fr; }
  .page-hero__mark { opacity: 0.08; height: 22rem; right: -3rem; }
  .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel__play { width: 3.2rem; height: 3.2rem; }
  .reel__cap { font-size: 1.08rem; }
  .reel__soon { padding: 0 0.6rem; font-size: 0.64rem; letter-spacing: 0.12em; text-align: center; }
  .price-line strong { font-size: 2rem; }
}
.demo-form__head { grid-column: 1 / -1; }

/* ----------------------------------------------------------------- legal -- */
.legal-hero { padding-bottom: clamp(2.5rem, 6vh, 4rem); }
.legal-hero .display { max-width: 20ch; font-size: clamp(2.6rem, 1.6rem + 3vw, 4.2rem); }
.legal-meta { position: relative; margin: 1.1rem 0 0; font-size: 0.95rem; line-height: 1.6; color: var(--sc-ink-soft); }
.legal-meta strong { font-weight: 500; color: var(--alabaster); }
.jump a[aria-current="page"] { border-color: var(--gold); background: rgba(197, 160, 89, 0.14); }
.legal { padding: clamp(3rem, 8vh, 5rem) 0 clamp(4rem, 12vh, 7rem); border-top: 1px solid var(--sc-hairline); }
.legal__grid { display: grid; grid-template-columns: 15rem minmax(0, 46rem); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.toc { position: sticky; top: calc(var(--bar-h) + 1.5rem); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.05rem; }
.toc a { display: block; padding: 0.35rem 0; font-size: 0.88rem; line-height: 1.35; color: var(--sc-ink-soft); text-decoration: none; transition: color 160ms var(--sc-ease-out); }
.toc a:hover, .toc a:focus-visible { color: var(--alabaster); }
.prose .lead { margin: 0; font-size: 1.15rem; line-height: 1.65; color: var(--alabaster); }
.prose h2 {
  margin: 2.8rem 0 0; font-family: var(--sc-font-display); font-weight: 600;
  font-size: clamp(1.55rem, 1.25rem + 0.9vw, 2.05rem); line-height: 1.15; scroll-margin-top: calc(var(--bar-h) + 1.5rem);
}
.prose h2 .n { margin-right: 0.55rem; color: var(--gold); }
.prose p, .prose li { font-size: 1.02rem; line-height: 1.72; color: var(--sc-ink-soft); }
.prose p { margin: 0.9rem 0 0; }
.prose ul { margin: 0.9rem 0 0; padding-left: 1.25rem; }
.prose li { margin-top: 0.4rem; padding-left: 0.2rem; }
.prose li::marker { color: var(--gold); }
.prose address { font-style: normal; }
.prose a { color: var(--alabaster); text-decoration-color: rgba(197, 160, 89, 0.7); text-underline-offset: 0.2em; }
.prose a:hover, .prose a:focus-visible { text-decoration-color: var(--gold); }
@media (max-width: 860px) {
  .legal__grid { grid-template-columns: 1fr; }
  .toc { display: none; }
  .prose .lead { font-size: 1.06rem; }
}

/* the display face draws old style figures, so a 1 reads as a roman I: numbers use lining figures */
.num, .prose h2 .n { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* ------------------------------------------------------- video showcase -- */
/* landscape films: the first one large, the rest two to a row */
.reels { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; gap: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1rem, 2.4vw, 1.75rem); }
.reel--feature { grid-column: 1 / -1; }
.reel__frame { aspect-ratio: 16 / 9; background: var(--navy-950); }
.reel__frame video { background: var(--navy-950); }
.reel__play {
  position: absolute; left: 50%; top: 50%; margin: 0; padding: 0;
  width: 4.4rem; height: 4.4rem; transform: translate(-50%, -50%);
  background: rgba(7, 22, 54, 0.55); cursor: pointer;
  transition: background-color 180ms var(--sc-ease-out), transform 180ms var(--sc-ease-out);
}
.reel--feature .reel__play { width: 5.6rem; height: 5.6rem; }
.reel__play:hover, .reel__play:focus-visible { background: rgba(197, 160, 89, 0.3); transform: translate(-50%, -50%) scale(1.06); }
.reel__play[hidden] { display: none; }
.reel__text { margin-top: 1rem; }
.reel__meta { margin: 0; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-hi); }
.reel__cap { margin: 0.35rem 0 0; }
.reel--feature .reel__cap { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); }
.reel__desc { margin: 0.4rem 0 0; max-width: 40rem; font-size: 0.96rem; line-height: 1.6; color: var(--sc-ink-soft); }
@media (max-width: 860px) {
  .reels { grid-template-columns: 1fr; }
  .reel__play, .reel--feature .reel__play { width: 4rem; height: 4rem; }
}

/* ------------------------------------------------------------------ faq -- */
.faq { max-width: 52rem; border-top: 1px solid var(--sc-hairline); }
.faq details { border-bottom: 1px solid var(--sc-hairline); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 44px; padding: 1.15rem 0;
  font-family: var(--sc-font-display); font-weight: 600; font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.6rem); line-height: 1.2;
  color: var(--alabaster); transition: color 160ms var(--sc-ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 0.6rem; height: 0.6rem; margin-right: 0.3rem;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: translateY(-0.2rem) rotate(45deg); transition: transform 200ms var(--sc-ease-out);
}
.faq details[open] summary::after { transform: translateY(0.15rem) rotate(225deg); }
.faq summary:hover, .faq summary:focus-visible { color: var(--gold-hi); }
.faq__answer { padding: 0 0 1.35rem; max-width: 44rem; }
.faq__answer p { margin: 0; font-size: 1.02rem; line-height: 1.7; color: var(--sc-ink-soft); }
.faq__answer a { color: var(--alabaster); text-decoration-color: rgba(197, 160, 89, 0.7); text-underline-offset: 0.2em; }
