/* v16.3 TYPE. Display headlines = Kanit 900 italic (OFL, self-hosted latin subset), filled with the LIGHT end of the logo gradient.
   Body, mono and price/number styles are untouched. Fill = background-clip:text (solid #FFC4A3 fallback) + soft magenta drop-shadow filter
   (NOT text-shadow: that bleeds through clipped text and muddies it). Metric-adjusted local fallbacks keep the font swap from shifting layout. */
@font-face { font-family: "GU Headline"; src: url("../assets/fonts/kanit-latin-900-italic.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }
/* Kanit caps avg .659em vs Arial Black ~.78em -> 85%; vs Impact ~.55em -> 120%. Kanit ascent 1.10 / descent .395. */
@font-face { font-family: "GU Headline FB1"; src: local("Arial Black"), local("Arial-Black"); font-weight: 900; font-style: italic; size-adjust: 85%; ascent-override: 129%; descent-override: 46%; line-gap-override: 0%; }
@font-face { font-family: "GU Headline FB2"; src: local("Impact"); font-weight: 900; font-style: italic; size-adjust: 120%; ascent-override: 92%; descent-override: 33%; line-gap-override: 0%; }
:root { --font-headline: "GU Headline", "GU Headline FB1", "GU Headline FB2", "Arial Black", Impact, sans-serif; --hl-solid: #FFC4A3; --hl-grad: linear-gradient(90deg, #FF9BD2 0%, #FFC4A3 50%, #FF9A85 100%); --hl-glow: drop-shadow(0 0 18px rgb(200 30 138 / .45)); --hl-glow-photo: drop-shadow(0 3px 0 rgb(0 0 0 / .72)) drop-shadow(0 10px 24px rgb(0 0 0 / .7)) drop-shadow(0 0 18px rgb(200 30 138 / .45)); }

html :is(h1, .hero__title, .page-hero__title, .lost__title, .section__title, .form__title, .h2, .h3, .gets__t, .closing__t, .clips__title, .plan__t, .crown-card__name, .ccard__name, .gvck__title, .gvsc__title, .liveb__awhead, .studio__body h3, .tile h3) {
  font-family: var(--font-headline); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: .004em; color: var(--hl-solid); text-shadow: none; overflow-wrap: break-word;
}
/* sizes: Kanit is ~1.45x wider than the old condensed face */
html .hero__title { font-size: clamp(36px, 11.2vw, 112px); line-height: .98; }
html .page-hero__title { font-size: clamp(34px, 9.4vw, 76px); line-height: 1; }
html .lost__title { font-size: clamp(44px, 14vw, 120px); line-height: .95; }
html .section__title { font-size: clamp(24px, 4.2vw, 36px); line-height: 1.04; }
html .form__title { font-size: clamp(22px, 4vw, 30px); line-height: 1.06; }
html .h2 { font-size: clamp(28px, 8.2vw, 72px); line-height: 1; }
html .h3 { font-size: clamp(22px, 6vw, 34px); line-height: 1.05; }
html .gets__t { font-size: clamp(28px, 8vw, 56px); line-height: 1.02; }
html .closing__t { font-size: clamp(32px, 9.2vw, 120px); line-height: .98; }
html .clips__title { font-size: clamp(22px, 5vw, 34px); line-height: 1.05; }
html .plan__t { font-size: 28px; line-height: 1.05; }
html .crown-card__name { font-size: clamp(22px, 5vw, 30px); line-height: 1.05; }
html .ccard__name { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.05; }
html :is(.gvck__title, .gvsc__title) { font-size: clamp(22px, 4.4vw, 28px); line-height: 1.08; }
html .liveb__awhead { font-size: clamp(20px, 3.4vw, 30px); line-height: 1.05; }
html .studio__body h3, html .tile h3 { font-size: 20px; line-height: 1.1; }
html main h1:not([class]) { font-size: clamp(30px, 8vw, 52px); line-height: 1.04; }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  html :is(h1, .hero__title, .page-hero__title, .lost__title, .section__title, .form__title, .h2, .h3, .gets__t, .closing__t, .clips__title, .plan__t, .crown-card__name, .ccard__name, .gvck__title, .gvsc__title, .liveb__awhead, .studio__body h3, .tile h3):not(.m2-split),
  html :is(h1, .hero__title, .page-hero__title, .lost__title, .section__title, .form__title, .h2, .h3, .gets__t, .closing__t, .clips__title, .plan__t, .crown-card__name, .ccard__name, .gvck__title, .gvsc__title, .liveb__awhead, .studio__body h3, .tile h3).m2-split .wi {
    background: var(--hl-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; text-shadow: none;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
  }
  /* italic overhang: keep the clip box (and the per-word reveal mask) wide enough that the last glyph is not cut */
  html .m2-split .wi { padding-right: .12em; margin-right: -.12em; }
  html .m2-split .w { padding-right: .16em; margin-right: -.1em; }
  html :is(h1, .hero__title, .page-hero__title, .lost__title, .section__title, .form__title, .h2, .h3, .gets__t, .closing__t, .clips__title, .plan__t, .crown-card__name, .ccard__name, .gvck__title, .gvsc__title, .liveb__awhead):not(.m2-split) { padding-right: .1em; }
  /* the glow sits on the heading box (filter), once; accent words just inherit the same fill, no extra shadow */
  html :is(h1, .hero__title, .page-hero__title, .lost__title, .section__title, .form__title, .h2, .h3, .gets__t, .closing__t, .clips__title) { filter: var(--hl-glow); }
  html :is(h1, .hero__title, .page-hero__title, .lost__title, .section__title, .form__title, .h2, .h3, .gets__t, .closing__t, .clips__title, .plan__t) :is(.grad-text, .pink-text, .orange-text, .cyan-text, .gtxt) {
    background: var(--hl-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; text-shadow: none; filter: none; padding-right: .06em;
  }
  /* headlines that sit directly on photo/video get a dark underlay so the light fill stays legible */
  html :is(.hero__title, .closing__t, .h2--white, .page-hero__title) { filter: var(--hl-glow-photo); }
  /* numbers inside a headline stay mono and keep their own gradient look */
  html :is(.h2, .gets__t) .mono { font-style: normal; }
}

/* v16.3 key-art slots (see docs/KEYART-SLOTS.md). Nothing renders while manifest.keyart entries are null. */
.gu-keyart { display: block; pointer-events: none; }
.gu-keyart img { display: block; width: 100%; height: auto; }
/* hero: right-side art under all content (lives in .hero__media, z-index -1, so it can never cover the Crown card or text) */
.gu-keyart--hero { position: absolute; top: 0; right: 0; bottom: 0; width: min(62%, 1100px); z-index: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%); }
.gu-keyart--hero img { height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 760px) { .gu-keyart--hero { width: 100%; opacity: .55; -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent); } }
/* sections: illustration beside the heading (desktop: top-right of the section, behind content; phone: inline above the heading) */
.has-keyart { position: relative; }
.gu-keyart--sec { position: absolute; z-index: 0; top: 56px; right: max(24px, calc((100% - 1280px) / 2)); width: min(32vw, 420px); }
.gu-keyart--sec img { border-radius: 18px; }
.has-keyart > :not(.gu-keyart) { position: relative; z-index: 1; }
@media (max-width: 760px) { .gu-keyart--sec { position: static; width: min(100%, 420px); margin: 0 16px 16px; } }

/* 19 Nov (owner, 10:43 IST): a headline that sits on VIDEO or KEY ART is WHITE. The light gradient fill clashed with warm video frames
   (Star in your own trailer). White fill + dark underlay reads on every frame; the gradient stays on headlines over our own dark solid
   panels (where it clearly reads) and on buttons. Same specificity as the fill rules above, later in the file, so it wins. */
html :is(.hero__title, .page-hero__title, .lost__title, .closing__t, .h2--white, .on-media, #how .h2, #gets .gets__t, #boards .h2, #pricing .h2, #alerts .h3, #showcase .h2) { color: #fff; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  html :is(.hero__title, .page-hero__title, .lost__title, .closing__t, .h2--white, .on-media, #how .h2, #gets .gets__t, #boards .h2, #pricing .h2, #alerts .h3, #showcase .h2):not(.m2-split),
  html :is(.hero__title, .page-hero__title, .lost__title, .closing__t, .h2--white, .on-media, #how .h2, #gets .gets__t, #boards .h2, #pricing .h2, #alerts .h3, #showcase .h2).m2-split .wi,
  html :is(.hero__title, .page-hero__title, .lost__title, .closing__t, .h2--white, .on-media, #how .h2, #gets .gets__t, #boards .h2, #pricing .h2, #alerts .h3, #showcase .h2) :is(.grad-text, .pink-text, .orange-text, .cyan-text, .gtxt) {
    background: none; -webkit-text-fill-color: #fff; color: #fff; text-shadow: none;
  }
  html :is(.hero__title, .page-hero__title, .lost__title, .closing__t, .h2--white, .on-media, #how .h2, #gets .gets__t, #boards .h2, #pricing .h2, #alerts .h3, #showcase .h2) {
    filter: drop-shadow(0 3px 0 rgb(0 0 0 / .78)) drop-shadow(0 10px 26px rgb(0 0 0 / .72));
  }
}
