/* Homepage "Our story" section (inc/home-story-section.php). Scoped under
   .kt-home-story so nothing leaks into the Bricks sections around it. Brand
   tokens mirror docs/brand/kisstour-tokens.css: primary pink #E4367E,
   secondary blue #0461CA, Poppins. The phone frame is the same pattern as
   the Fast Track hub's story block (assets/css/ft-hub.css). */

.kt-home-story {
  --kt-pink: #E4367E; --kt-pink-dk: #b23064; --kt-pink-5: #fdf1f6; --kt-pink-soft: #ffdbe4;
  --kt-blue: #0461CA; --kt-blue-soft: #d8ddf5;
  --kt-ink: #0D0D0D; --kt-body: #404040; --kt-muted: #66728a; --kt-line: #e4e8f0;
  --kt-green: #1f8f5f; --kt-green-dk: #15724b;
  --kt-shadow: 0 1px 2px rgba(2,49,102,.06), 0 10px 28px rgba(2,49,102,.08);
  --kt-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #fff; color: var(--kt-body); font-family: var(--kt-font); font-size: 15px; line-height: 1.6;
  padding-block: 56px; width: 100%; max-width: 100%; overflow-x: hidden; overflow-x: clip;
}
.kt-home-story *, .kt-home-story *::before, .kt-home-story *::after { box-sizing: border-box; }
.kt-hs-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: 16px; padding-right: 16px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
/* minmax(0, ...) above and min-width: 0 here: a grid column must never grow past the viewport to fit its content (the text column did on a tablet, 2026-11-05) */
.kt-hs-wrap > * { min-width: 0; max-width: 100%; }
.kt-home-story h2, .kt-home-story h3 { color: var(--kt-ink); font-family: var(--kt-font); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.kt-home-story h2 { font-size: clamp(28px, 3.4vw, 36px); margin-bottom: 14px; }
.kt-home-story h2 span { color: var(--kt-pink); }
.kt-home-story h3 { overflow-wrap: anywhere; }
.kt-home-story h2::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 2px; background: var(--kt-pink); margin: 12px 0 0; }
.kt-home-story p { margin: 0; }
.kt-hs-lead { color: var(--kt-body); font-size: 16px; max-width: min(62ch, 100%); margin-bottom: 18px; }

.kt-hs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--kt-font); font-weight: 600; font-size: 15px; border-radius: 999px; padding: 12px 22px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; line-height: 1.2; transition: background .15s, color .15s; }
.kt-home-story .kt-hs-btn-ghost { background: #fff; color: var(--kt-pink); border-color: var(--kt-pink); }
.kt-home-story .kt-hs-btn-ghost:hover { background: var(--kt-pink); color: #fff; }
.kt-home-story :is(a, [role="button"]):focus-visible { outline: 3px solid var(--kt-blue-soft); outline-offset: 2px; }

/* "Book direct, get the original" card */
.kt-hs-direct { margin-top: 26px; background: var(--kt-pink-5); border: 1px solid var(--kt-pink-soft); border-radius: 16px; padding: 20px 22px; }
.kt-hs-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--kt-pink); margin-bottom: 6px; }
.kt-hs-direct h3 { font-size: 19px; margin-bottom: 8px; }
.kt-hs-direct p { color: var(--kt-body); font-size: 14.5px; }
.kt-hs-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; }
.kt-home-story .kt-hs-link { font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.kt-home-story .kt-hs-link:hover { border-bottom-color: transparent; }
.kt-home-story .kt-hs-link-book { color: var(--kt-pink); }
.kt-home-story .kt-hs-link-wa { color: var(--kt-green); }

/* Vertical video, phone frame */
.kt-hs-phone-col { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.kt-hs-phone { width: min(290px, 78vw); max-width: 100%; aspect-ratio: 9 / 16; max-height: 560px; border-radius: 30px; border: 8px solid #10151f; position: relative; overflow: hidden; box-shadow: var(--kt-shadow); background: #10151f; cursor: pointer; }
.kt-hs-phone .kt-hs-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: 100%; }
.kt-hs-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.4)); }
.kt-hs-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.94); z-index: 2; display: grid; place-items: center; }
.kt-hs-play::after { content: ""; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--kt-pink); margin-left: 5px; }
.kt-hs-vlabel { position: absolute; left: 12px; right: 12px; bottom: 12px; color: #fff; font-size: 12.5px; font-weight: 600; background: rgba(0,0,0,.45); border-radius: 8px; padding: 7px 9px; text-align: center; z-index: 2; }
.kt-hs-phone video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }
.kt-hs-phone[data-loaded] .kt-hs-bg, .kt-hs-phone[data-loaded] .kt-hs-shade, .kt-hs-phone[data-loaded] .kt-hs-play, .kt-hs-phone[data-loaded] .kt-hs-vlabel { display: none; }
.kt-hs-vnote { font-size: 12.5px; color: var(--kt-muted); }

@media (max-width: 960px) {
  .kt-home-story { padding-block: 40px; }
  .kt-hs-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .kt-hs-text { text-align: center; width: 100%; }
  .kt-hs-lead { margin-inline: auto; font-size: 15px; max-width: 100%; }
  .kt-home-story h2::after { margin-inline: auto; }
  .kt-hs-direct { text-align: left; }
  .kt-hs-links { justify-content: center; }
}
