/* Version 4 hero (local draft, October 8). Copied from the final Version 3 hero (keynote-v3.css, which keeps
   its own file) with the final header refinements: the CSS-cropped SHOW UP / STRONG logo image with a
   three-color underline, the bold display "To", and See Joe in Action under the portrait signature. Loads
   after design-current.css and keynote-v2.css and reuses the approved September hero palette,
   fonts, portrait crop, orbit, signature and demo button. Every rule is scoped to the hero
   (.kn-hero-comparison .kn-hero or .kn-v4 .kn-hero) so shared typography and the page body stay untouched. */

/* Layout: copy and portrait start together; content height drives the hero (no fixed height). */
.kn-hero-comparison .kn-hero .kn-hero-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(2rem,4vw,4rem);align-items:start;min-height:0;padding-block:4.5rem 4rem}
.kn-hero-comparison .kn-hero .kn-hero-copy{overflow-wrap:break-word}

/* Headline: title-case G line, then the supplied SHOW UP / STRONG logo image. The shared decorative span rules
   (block display, italic, orange color, swash :after) are reset here so only the .kn-hc-line spans break
   lines and nothing is underlined by accident. The h1 size is the base for the G line only. */
.kn-hero-comparison .kn-hero .kn-hc-title{margin:0;color:#fff;font-size:clamp(3.4rem,6.7vw,6.2rem);line-height:.9;letter-spacing:-.012em;text-transform:none}
.kn-hero-comparison .kn-hero .kn-hc-title span{display:inline;position:static;width:auto;color:inherit;font-style:normal}
.kn-hero-comparison .kn-hero .kn-hc-title span:after{content:none;display:none}
.kn-hero-comparison .kn-hero .kn-hc-title .kn-hc-line{display:block}
/* Logo: the exact supplied transparent PNG (1545x1018, unedited), about as wide as the G line on desktop
   (34rem) and the full copy column on phones, directly below the G line with no top margin. The image carries
   the accessible name (alt), so SHOW UP STRONG is not repeated as text. These selectors (0,4,0)/(0,4,1)
   outrank the inherited headline span rules (0,3,1), so the wrapper and viewport are blocks and the band is
   absolutely placed. */
.kn-v4 .kn-hero .kn-hc-title .kn-hc-logo{display:block;position:relative;width:min(34rem,100%);margin-top:0;padding-bottom:clamp(9px,2.4vw,12px);line-height:0}
.kn-v4 .kn-hero .kn-hc-title .kn-hc-logo:after,.kn-v4 .kn-hero .kn-hc-title .kn-hc-logo-viewport:after,.kn-v4 .kn-hero .kn-hc-title .kn-hc-logo-band:after{content:none;display:none}
/* Layout crop, not an image edit: the viewport shows only the source rectangle (80,76)-(1475,990), 1395x914,
   which holds the letters (about 91,90 to 1461,964) and their texture and trims the unused transparent
   padding, so the visible S sits on the copy's left edge. The image keeps its own 1545/1018 ratio and is
   scaled and offset so that rectangle fills the viewport exactly. */
.kn-v4 .kn-hero .kn-hc-title .kn-hc-logo-viewport{display:block;position:relative;overflow:hidden;width:100%;aspect-ratio:1395/914}
.kn-v4 .kn-hero .kn-hc-title .kn-hc-logo-viewport>img{display:block;position:absolute;left:calc(-80 / 1395 * 100%);top:calc(-76 / 914 * 100%);width:calc(1545 / 1395 * 100%);max-width:none;height:auto;aspect-ratio:1545/1018;margin:0;border:0;border-radius:0;background:none;filter:none}
/* Three-color underline below the STRONG row, as in the strong-band prototype: equal hard-stop orange, cyan
   and gratitude-blue segments, tilted -2deg. Spans the full cropped viewport (which now matches the visible
   letters) and sits in the wrapper's bottom padding so its angled ends clear the lettering and the promise. */
.kn-v4 .kn-hero .kn-hc-title .kn-hc-logo-band{display:block;position:absolute;left:0;bottom:0;width:100%;height:clamp(5px,.65vw,9px);border-radius:1px;transform:rotate(-2deg);background:linear-gradient(90deg,var(--kn-orange) 0 33.333%,var(--kn-cyan) 33.333% 66.666%,#4c96eb 66.666% 100%)}
/* G line: two .25rem steps (.5rem) below its earlier .68em size (~57.6px at 1440), clearly subordinate to the
   main line; wraps naturally and "& Gratitude To" stays together. */
.kn-hero-comparison .kn-hero .kn-hc-line-sub{font-size:calc(.68em - .5rem);line-height:1.15;letter-spacing:0}
.kn-hero-comparison .kn-hero .kn-hc-title .kn-hc-keep{white-space:nowrap}
.kn-hero-comparison .kn-hero .kn-hc-title .kn-hc-g-grit{color:var(--kn-orange)}
.kn-hero-comparison .kn-hero .kn-hc-title .kn-hc-g-grace{color:var(--kn-cyan)}
/* Slightly lighter than #438cf0 (footer G-word blue) for a readable fill on the dark hero blue. */
.kn-hero-comparison .kn-hero .kn-hc-title .kn-hc-g-gratitude{color:#4c96eb}
/* "To": bold white, in the same display font, weight and size as the G words (replaces the earlier regular Manrope "To"). */
.kn-hero-comparison .kn-hero .kn-hc-title .kn-hc-to{font-family:var(--display);font-weight:800;font-size:1em;color:#fff;letter-spacing:0;vertical-align:baseline}

/* Promise and supporting copy. */
.kn-hero-comparison .kn-hero .kn-promise{margin:1.75rem 0 1.25rem;max-width:38rem;font-size:clamp(1.75rem,2.2vw,2.15rem);font-weight:700}
/* Promise phrase underlines: white text, G-colored solid underline; wraps decorate per line. Shared span styling is reset. */
.kn-hero-comparison .kn-hero .kn-promise .kn-hc-u{display:inline;position:static;width:auto;color:inherit;font-style:inherit;text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:.08em;text-underline-offset:.12em;text-decoration-skip-ink:auto}
.kn-hero-comparison .kn-hero .kn-promise .kn-hc-u:after{content:none;display:none}
.kn-hero-comparison .kn-hero .kn-promise .kn-hc-u-grit{text-decoration-color:var(--kn-orange)}
.kn-hero-comparison .kn-hero .kn-promise .kn-hc-u-grace{text-decoration-color:var(--kn-cyan)}
.kn-hero-comparison .kn-hero .kn-promise .kn-hc-u-gratitude{text-decoration-color:#4c96eb}
.kn-hero-comparison .kn-hero .kn-hero-copy>p:not(.kn-promise){max-width:37rem;font-size:var(--joe-type-body)}
.kn-hero-comparison .kn-hero .kn-hero-copy strong{color:#fff;font-weight:800}
.kn-hero-comparison .kn-hero .kn-demo-button:focus-visible{outline:3px solid var(--kn-cyan);outline-offset:5px}

/* Portrait column: sits high, beside the top of the headline, with signature and then See Joe in Action below. */
.kn-hero-comparison .kn-hero .kn-hc-art{position:relative;min-width:0;display:flex;flex-direction:column;align-items:center;padding-top:.4rem;isolation:isolate}
.kn-hero-comparison .kn-hero .kn-hc-portrait{position:relative;width:min(30rem,100%);isolation:isolate}
.kn-hero-comparison .kn-hero .kn-hc-portrait>img{position:relative;z-index:1;width:100%;height:auto;aspect-ratio:1;object-fit:cover;object-position:54% center;border-radius:50%;border:8px solid #ffffff1c}
.kn-hero-comparison .kn-hero .kn-art-signature{margin-top:1.4rem}
/* Demo button centered under the signature, sized to its label. */
.kn-hero-comparison .kn-hero .kn-hc-art .kn-actions{justify-content:center;width:fit-content;max-width:100%;margin-top:1.85rem}

/* Narrower two-column layout: slightly larger relative G line, still two .25rem steps down. The logo
   viewport simply tracks the copy column width. */
@media(max-width:1050px){
  .kn-hero-comparison .kn-hero .kn-hc-line-sub{font-size:calc(.72em - .5rem)}
}

/* Stacked: copy, then portrait, signature and button. */
@media(max-width:800px){
  .kn-hero-comparison .kn-hero .kn-hero-grid{grid-template-columns:minmax(0,1fr);gap:3rem;padding-block:3rem 4rem}
  .kn-hero-comparison .kn-hero .kn-hc-title{font-size:clamp(2.5rem,12.4vw,5.6rem);line-height:.92}
  .kn-hero-comparison .kn-hero .kn-hc-art{width:min(28rem,100%);justify-self:center;padding-top:0}
  .kn-hero-comparison .kn-hero .kn-hc-portrait{width:min(24rem,95%)}
}
@media(max-width:520px){
  .kn-hero-comparison .kn-hero .kn-hero-grid{padding-block:2.5rem 3.5rem}
  .kn-hero-comparison .kn-hero .kn-promise{margin-top:1.4rem;font-size:clamp(1.6rem,7vw,1.85rem)}
  /* Full-width button within the portrait column. */
  .kn-hero-comparison .kn-hero .kn-hc-art .kn-actions{align-self:stretch;width:auto}
}

/* Version 4 keeps the .kn-v2 class so the body inherits keynote-v2.css, which also gives the hero grid
   named areas and rows for its Version 2 layout (including at 800px). These resets, loaded after
   keynote-v2.css and more specific (0,3,0 against 0,2,0), return the hero to a plain two-child grid:
   copy, then .kn-hc-art. They match only the hero; the page body is unchanged. */
.kn-v4 .kn-hero .kn-hero-grid{grid-template-areas:none;grid-template-rows:none}
.kn-v4 .kn-hero .kn-hero-copy{grid-area:auto}

/* Current inherited body font floor; historical v2 body sheet is not imported. */
.kn-v4{--joe-type-body:18px}
