/* KUN's visual language, with a cinematic landing-page rhythm. */
:root { --kun-ease: cubic-bezier(.22,1,.36,1); }
body[data-home="true"] { --dock-safe-bottom: 0px; background: #000; }
body[data-home="true"] .page-shell { width: 100%; max-width: 1920px; padding-bottom: 0; overflow: clip; }
body[data-home="true"] .aurora-ring { display: none; }
body[data-home="true"] :is(section,footer) { scroll-margin-top: 92px; }
body[data-home="true"] .kun-header {
  position: fixed; inset: 0 0 auto; z-index: 100; width: 100%; max-width: 1920px;
  margin-inline: auto; height: 80px; min-height: 0; padding: 16px 32px; display: flex;
  align-items: center; gap: 30px; border: 0; border-radius: 0; opacity: 1; pointer-events: auto;
  transform: none; animation: none; background: linear-gradient(#0009,transparent);
  box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background 250ms ease, box-shadow 250ms ease;
}
body[data-home="true"] .kun-header::before, body[data-home="true"] .kun-header::after { display: none; }
body[data-home="true"] .kun-header.is-scrolled, body[data-home="true"] .kun-header.is-menu-open { background: #080a08f2; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 1px #ffffff13; }
.kun-brand { flex: 0 0 auto; display: flex; align-items: center; }
.kun-brand img { width: 92px; height: 30px; object-fit: contain; }
.kun-nav { display: flex; justify-content: center; align-items: center; gap: clamp(18px,2.5vw,38px); margin-left: auto; }
.kun-nav a { position: relative; display: inline-flex; padding: 10px 0; color: #f6f5ef; font-size: 14px; font-weight: 500; text-decoration: none; transition: color 200ms ease; }
.kun-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--kun-ease); }
.kun-nav a:hover, .kun-nav a[aria-current="location"] { color: var(--lime); }
.kun-nav a:hover::after, .kun-nav a[aria-current="location"]::after { transform: scaleX(1); }
.kun-header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.kun-button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 46px; border: 1px solid var(--lime); border-radius: 999px; padding: 12px 22px; background: var(--lime); color: #0b1004; font-size: 14px; font-weight: 600; text-decoration: none; transition: background 200ms, color 200ms, transform 250ms var(--kun-ease); }
.kun-button:hover { background: #e0ff9d; transform: none; }
.kun-download-short { display: none; }
body[data-home="true"] .kun-header .locale-picker { position: relative; inset: auto; width: auto; margin: 0; }
body[data-home="true"] .kun-header .locale-button { width: 46px; height: 46px; min-height: 46px; padding: 11px; background: #ffffff0a; box-shadow: none; border: 1px solid #ffffff26; color: var(--text); }
body[data-home="true"] .kun-header .locale-menu { top: calc(100% + 14px); bottom: auto; left: auto; right: 0; transform-origin: top right; }
body[data-home="true"] .kun-header .locale-menu::after { display: none; }
.kun-menu-toggle { display: none; }
body[data-home="true"] .hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 0; padding: 0 0 56px; }
.kun-cinema { position: relative; width: 100%; height: clamp(440px,66svh,760px); overflow: hidden; background: #181b14; }
.kun-video-wall { display: flex; width: 100%; height: 100%; gap: 4px; }
.kun-video-pane { position: relative; min-width: 0; flex: 1; overflow: hidden; transition: flex-grow 650ms var(--kun-ease); }
.kun-video-pane.is-active { flex-grow: 1.4; }
.kun-video-pane video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.kun-cinema::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,#0004,transparent 25%,transparent 60%,#000b); }
.kun-cinema-bottom { position: absolute; z-index: 2; inset: auto 32px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.kun-cinema-bottom > p { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: #fff; margin: 0; }
.kun-video-controls { display: flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid #ffffff25; border-radius: 999px; background: #090b08ad; backdrop-filter: blur(12px); }
.kun-video-controls button { min-height: 38px; min-width: 40px; border: 0; border-radius: 999px; padding: 8px 12px; background: transparent; color: #f6f5efb0; cursor: pointer; font: 500 12px var(--font-sans); transition: background 200ms, color 200ms; }
.kun-video-controls button:hover { background: #ffffff20; color: #fff; }
.kun-video-controls .kun-video-toggle { display: flex; align-items: center; gap: 9px; padding-inline: 16px; color: #fff; }
body[data-home="true"] .hero-copy { display: grid; grid-template-columns: minmax(0,1fr) auto; width: 100%; max-width: none; padding: 32px 40px 0; gap: 0 40px; }
body[data-home="true"] .hero h1 { grid-column: 1; margin: 0; max-width: 960px; width: 100%; font-size: clamp(40px,5.4vw,80px); font-weight: 300; line-height: 1.03; letter-spacing: -.045em; }
body[data-home="true"] .hero-copy > p { grid-column: 1; width: 100%; max-width: 600px; margin: 22px 0 10px; font-size: 16px; }
body[data-home="true"] .hero-story-link { grid-column: 1; width: fit-content; margin: 4px 0 0; }
body[data-home="true"] .hero .app-download-block { grid-column: 2; grid-row: 1 / 4; align-self: start; padding-top: 6px; width: auto; }
body[data-home="true"] .hero .store-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
body[data-home="true"] .store-button { transition: background 220ms, color 220ms, transform 250ms var(--kun-ease), box-shadow 250ms; }
body[data-home="true"] .store-button:hover { transform: none; }
.romance-section { width: min(1280px,calc(100% - 80px)); padding-block: 80px; }
.romance-heading--split { display: block; text-align: center; }
.romance-heading--split > p { max-width: 510px; margin: 24px auto 0; }
.romance-story { border-radius: 28px; background: #14170f; }
.romance-story-art { min-height: 470px; }
.romance-button { border-radius: 12px; transition: background 220ms, transform 250ms var(--kun-ease); }
.romance-button:hover { transform: none; }
.romance-continuation { background: #222b19; width: 100%; padding: 110px max(40px,calc((100% - 1200px)/2)); }
.romance-continuation h2 { font-size: clamp(42px,5.6vw,80px); }
.romance-chat { background: #10160d; }
.romance-plus::after { transition: transform 250ms var(--kun-ease); }
.romance-section details[open] > summary .romance-plus::after { display: block; transform: rotate(0); }
@supports (interpolate-size: allow-keywords) {
  body[data-home="true"] details { interpolate-size: allow-keywords; }
  body[data-home="true"] details::details-content { block-size: 0; overflow: clip; transition: block-size 350ms var(--kun-ease), content-visibility 350ms allow-discrete; }
  body[data-home="true"] details[open]::details-content { block-size: auto; }
}
body[data-home="true"] .faq-section { max-width: 940px; width: calc(100% - 80px); padding-block: 100px 0; margin-bottom: 100px; }
body[data-home="true"] .faq-section h2 { font-size: clamp(40px,5.5vw,72px); }
body[data-home="true"] .faq-item { border-radius: 16px; background: #161913; border: 1px solid #ffffff0d; padding-inline: 26px; }
.romance-download { width: 100%; margin: 0; padding: 110px 30px; border: 0; background: var(--lime); }
.romance-download h2 { color: #16200b; font-size: clamp(44px,6vw,88px); max-width: 1100px; margin: auto; }
.romance-download .romance-eyebrow, .romance-download > p:not(.romance-eyebrow):not(.romance-caption), .romance-download .romance-caption { color: #34431e; }
body[data-home="true"] .romance-download .store-button--ios { background: #131b0c; color: var(--lime); box-shadow: none; }
body[data-home="true"] .romance-download .store-button--ios .store-copy strong { color: var(--lime); }
body[data-home="true"] .site-footer { padding-block: 60px; }
body[data-home="true"] :is(a,button,summary,[tabindex]):focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
@media (max-width: 1100px) {
 .kun-nav { gap: 20px; }
 body[data-home="true"] .hero-copy { grid-template-columns: 1fr; }
 body[data-home="true"] .hero .app-download-block { grid-column: 1; grid-row: auto; margin-top: 24px; }
}
@media (max-width: 1100px) {
 body[data-home="true"] .kun-header, body[data-home="true"] .kun-header.is-mobile-docked { height: 68px; padding: 12px 20px; gap: 12px; inset: 0 0 auto; width: 100%; opacity: 1; transform: none; pointer-events: auto; }
 .kun-brand img { width: 73px; height: 25px; }
 .kun-header-actions { gap: 8px; }
 .kun-header-download { padding: 9px 16px; min-height: 40px; font-size: 12px; }
 body[data-home="true"] .kun-header .locale-button { width: 40px; height: 40px; min-height: 40px; padding: 9px; }
 .kun-menu-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid #ffffff30; background: transparent; color: #fff; cursor: pointer; }
 .kun-menu-toggle > span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
 .kun-menu-toggle i { position: relative; display: block; width: 16px; height: 12px; }
 .kun-menu-toggle i::before, .kun-menu-toggle i::after { content: ''; position: absolute; left: 0; width: 16px; height: 1px; background: #fff; transition: transform 300ms var(--kun-ease); }
 .kun-menu-toggle i::before { top: 3px; }
 .kun-menu-toggle i::after { bottom: 3px; }
 .kun-menu-toggle[aria-expanded="true"] i::before { transform: translateY(2.5px) rotate(45deg); }
 .kun-menu-toggle[aria-expanded="true"] i::after { transform: translateY(-2.5px) rotate(-45deg); }
 .kun-nav { position: fixed; inset: 68px 0 auto; height: calc(100dvh - 68px); overflow-y: auto; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 40px 28px; margin: 0; background: #080a08; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity 250ms, transform 350ms var(--kun-ease), visibility 350ms; }
 .kun-nav a { width: 100%; font-size: clamp(28px,8vw,42px); font-weight: 300; padding: 20px 0; border-bottom: 1px solid #ffffff17; }
 .kun-nav a::after { display: none; }
 .kun-header.is-menu-open .kun-nav { visibility: visible; opacity: 1; transform: none; }
 body.kun-menu-open { overflow: hidden; }
}
@media (max-width: 760px) {
 .kun-cinema { height: 64svh; min-height: 420px; max-height: 640px; }
 .kun-video-wall { position: relative; display: block; }
 .kun-video-pane { position: absolute; inset: 0; opacity: 0; transition: opacity 450ms ease; pointer-events: none; }
 .kun-video-pane.is-active { opacity: 1; }
 .kun-video-pane video { object-position: 50% 28%; }
 .kun-cinema-bottom { inset: auto 20px 20px; justify-content: flex-end; }
 .kun-cinema-bottom > p { display: none; }
 body[data-home="true"] .hero { padding-bottom: 30px; }
 body[data-home="true"] .hero-copy { order: 0; display: block; width: 100%; max-width: none; padding: 28px 20px 0; text-align: left; }
 body[data-home="true"] .hero h1 { text-align: left; font-size: clamp(39px,10.8vw,66px); line-height: 1.04; }
 body[data-home="true"] .hero-copy > p { margin: 22px 0 12px; font-size: 16px; text-align: left; }
 body[data-home="true"] .hero .app-download-block { margin-top: 24px; }
 body[data-home="true"] .hero .store-buttons { justify-content: flex-start; }
 .romance-section { width: calc(100% - 40px); padding-block: 64px; }
 .romance-story-art { min-height: 350px; }
 .romance-story-copy { padding: 30px 24px; }
 .romance-continuation { width: 100%; padding: 64px 20px; gap: 40px; }
 body[data-home="true"] .faq-section { width: calc(100% - 40px); padding-top: 64px; margin-bottom: 64px; gap: 35px; }
 body[data-home="true"] .faq-item { padding-inline: 20px; }
 .romance-download { width: 100%; padding: 70px 20px; }
 body[data-home="true"] .site-footer { padding-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) {
 body[data-home="true"] *, body[data-home="true"] *::before, body[data-home="true"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
body[data-home="true"] .kun-header .locale-picker { transform: none; }
@media (min-width: 761px) {
 [data-carousel="story"] { display: none; }
}
body[data-home="true"] .romance-heading--split > p:not(.romance-eyebrow) { margin: 24px auto 0; }
body[data-home="true"] .kun-header .locale-picker { opacity: 1; pointer-events: auto; }
body[data-home="true"] .kun-header .locale-picker:not(.is-open) .locale-menu { visibility: hidden; }
body[data-home="true"] .kun-header .locale-picker.is-open .locale-menu { visibility: visible; }
/* The character's story stays with the portrait as the panorama turns. */
body[data-home="true"] #characters { width: 100%; padding-inline: 0; overflow: clip; }
#characters .romance-heading { width: min(980px,calc(100% - 40px)); margin: 0 auto 36px; }
.kun-story-gallery { --portrait-width: clamp(290px,30vw,520px); position: relative; width: 100%; height: calc(var(--portrait-width) * 1.328 + 120px); perspective: 1200px; perspective-origin: 50% 45%; touch-action: pan-y; cursor: grab; }
.kun-story-gallery:active { cursor: grabbing; }
.kun-story-card { position: absolute; left: 50%; top: 28px; width: var(--portrait-width); transform: translateX(-50%) translate3d(var(--card-x,0px),0,var(--card-z,-250px)) rotateY(var(--card-angle,0deg)); opacity: var(--card-opacity,1); z-index: var(--card-layer,1); transition: transform 750ms var(--kun-ease),opacity 600ms,filter 600ms; filter: blur(var(--card-blur,0px)); text-align: center; }
.kun-story-card.is-away { visibility: hidden; pointer-events: none; }
.kun-story-portrait { display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #151b12; cursor: pointer; }
.kun-story-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 640/850; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.kun-story-caption { padding: 22px 5px 0; }
.kun-story-caption h3 { margin: 0; font-size: clamp(28px,2.8vw,40px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.kun-story-name { margin: 10px 0 4px; color: #adb3a5; font-size: 17px; line-height: 1.3; }
.kun-story-open { margin-top: 6px; padding: 10px 0; border: 0; border-bottom: 1px solid #c9ff4c44; background: transparent; color: var(--lime); cursor: pointer; font: 500 14px var(--font-sans); }
.kun-story-card:not(.is-selected) .kun-story-open { visibility: hidden; }
.kun-cast-controls { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 22px; }
.kun-cast-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 44px; min-height: 44px; border: 1px solid #ffffff35; border-radius: 999px; background: #0c1009; color: var(--text); font: 20px var(--font-sans); cursor: pointer; transition: background 220ms, color 220ms, transform 250ms var(--kun-ease); }
.kun-cast-controls button:hover { background: var(--lime); color: #101607; transform: none; }
.kun-cast-position { color: #bcc2b2; font-size: 12px; font-variant-numeric: tabular-nums; }
.kun-cast-controls .kun-cast-toggle { padding-inline: 16px; font-size: 12px; }
.kun-story-dialog { width: min(840px,calc(100% - 40px)); max-height: calc(100dvh - 60px); margin: auto; padding: 0; border: 1px solid #ffffff24; border-radius: 24px; background: #13170f; color: var(--text); overflow: auto; }
.kun-story-dialog[open] { display: grid; grid-template-columns: .9fr 1.1fr; animation: kun-dialog-in 300ms var(--kun-ease); }
.kun-story-dialog::backdrop { background: #000c; backdrop-filter: blur(12px); }
.kun-dialog-portrait { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.kun-dialog-copy { padding: 55px 40px 40px; align-self: center; }
.kun-dialog-copy h2 { margin: 0; font-size: clamp(32px,4vw,52px); font-weight: 300; line-height: 1.05; letter-spacing: -.03em; }
.kun-dialog-opening { margin: 28px 0 20px; font-size: 18px; line-height: 1.75; color: #d0d6c5; }
.kun-dialog-copy .romance-caption { margin: 20px 0 26px; }
.kun-story-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #ffffff30; border-radius: 50%; background: #10170fbd; color: #fff; font-size: 26px; cursor: pointer; }
@keyframes kun-dialog-in { from {opacity:0;transform:translateY(16px) scale(.98);} to {opacity:1;transform:none;} }
@media (max-width: 760px) {
 #characters .romance-heading { margin-bottom: 42px; }
 .kun-story-gallery { --portrait-width: clamp(240px,70vw,320px); perspective: 800px; height: calc(var(--portrait-width) * 1.328 + 110px); }
 .kun-story-caption { padding-top: 20px; }
 .kun-story-caption h3 { font-size: 30px; }
 .kun-story-name { font-size: 15px; }
 .kun-cast-controls { gap: 12px; margin-top: 16px; }
 .kun-story-dialog[open] { display: block; }
 .kun-dialog-portrait { height: 220px; min-height: 0; object-position: 50% 22%; }
 .kun-dialog-copy { padding: 28px 24px; }
 .kun-dialog-opening { font-size: 16px; line-height: 1.65; margin: 22px 0; }
 .kun-dialog-copy .romance-button { width: 100%; gap: 15px; padding-inline: 16px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
 .kun-story-card { transition: none; filter: none; }
 .kun-story-dialog[open] { animation: none; }
}
body.kun-story-modal-open { overflow: hidden; }

/* The journal uses the same surfaces and spacing as the stories. */
body[data-home="true"] .related-articles { width: min(1280px,calc(100% - 80px)); margin: 0 auto 100px; }
body[data-home="true"] .related-articles-heading { gap: 32px; margin-bottom: 38px; }
body[data-home="true"] .related-articles h2 { font-weight: 300; font-size: clamp(40px,5vw,68px); line-height: 1.05; letter-spacing: -.035em; }
body[data-home="true"] .related-articles-heading p { max-width: 560px; margin: 22px 0 0; color: #adb3a5; font-size: 16px; line-height: 1.6; }
body[data-home="true"] .related-article-card { border: 1px solid #ffffff14; border-radius: 22px; background: #14170f; box-shadow: none; }
body[data-home="true"] .related-article-card:hover { border-color: #c9ff4c55; background: #1a2013; transform: none; }
body[data-home="true"] .related-article-media { height: auto; aspect-ratio: 2/1; background: #14170f; }
body[data-home="true"] .related-article-media img { object-fit: contain; object-position: center; transform: none; }
body[data-home="true"] .related-article-copy { padding: 24px; }
body[data-home="true"] .related-article-copy h3 { display: block; font-weight: 450; line-height: 1.25; }
body[data-home="true"] .related-article-copy p { color: #adb3a5; font-size: 16px; line-height: 1.6; -webkit-line-clamp: 3; }
body[data-home="true"] .related-article-copy > span { color: var(--lime); font-size: 14px; }
body[data-home="true"] .related-article-card--show-more { background: #263118; }
body[data-home="true"] .related-article-card--show-more:hover { background: #303d1e; }
body[data-home="true"] .related-show-more-kicker { color: var(--lime); font-size: 12px; letter-spacing: .1em; }
body[data-home="true"] .related-show-more-copy h3 { font-weight: 300; }
body[data-home="true"] .related-show-more-copy p { color: #c6cdbd; }
@media (max-width: 600px) {
 .kun-download-full { display: none; }
 .kun-download-short { display: inline; }
 body[data-home="true"] .kun-header { padding-inline: 16px; gap: 10px; }
 .kun-brand img { width: 62px; }
 .kun-header-download { padding-inline: 12px; }
 body[data-home="true"] .related-articles { width: calc(100% - 40px); margin-bottom: 64px; }
 body[data-home="true"] .related-articles-heading { gap: 20px; }
 body[data-home="true"] .related-article-copy { padding: 22px; }
}

/* Quiet controls keep the artwork and the story in focus. */
.kun-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; border: 0 !important; }
.kun-cinema-bottom { justify-content: flex-end; }
.kun-video-controls { padding: 0; gap: 8px; background: none; border: 0; backdrop-filter: none; }
.kun-video-controls button { border-radius: 6px; background: #0009; color: #fff; min-height: 42px; padding-inline: 16px; font-size: 14px; }
.kun-video-controls .kun-video-next { display: none; }
.romance-text-link { gap: 0; }
.romance-text-link > span:last-child { color: inherit; }
.romance-button { gap: 0; font-weight: 500; }
.kun-button { gap: 0; }
.kun-story-card:not(.is-selected) .kun-story-caption { opacity: .45; }
.kun-story-caption { transition: opacity 400ms; }
.kun-story-open { margin-top: 10px; color: var(--text); border-bottom-color: #ffffff40; }
.kun-story-open:hover { color: var(--lime); border-bottom-color: var(--lime); }
.kun-cast-controls { gap: 20px; margin-top: 12px; }
.kun-cast-controls button, .kun-cast-controls .kun-cast-toggle { border: 0; border-radius: 0; background: none; min-height: 44px; padding: 8px; color: #aeb0a8; font-size: 14px; }
.kun-cast-controls button:hover { background: none; color: #fff; transform: none; }
.kun-dialog-hero { margin: 0 0 18px; font-size: 16px; color: #aeb0a8; letter-spacing: 0; }
.kun-dialog-copy .romance-button { margin-top: 16px; }
body[data-home="true"] .faq-item { border: 0; border-bottom: 1px solid #ffffff24; border-radius: 0; background: none; padding-inline: 0; }
body[data-home="true"] .related-articles-grid { display: block; }
body[data-home="true"] .related-article-card, body[data-home="true"] .related-article-card:hover { border: 0; border-bottom: 1px solid #ffffff24; border-radius: 0; background: none; box-shadow: none; transform: none; }
body[data-home="true"] .related-article-card > a { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: 36px; align-items: center; padding: 24px 0; }
body[data-home="true"] .related-article-media { aspect-ratio: 4/3; height: auto; border-radius: 8px; background: none; }
body[data-home="true"] .related-article-media::after { display: none; }
body[data-home="true"] .related-article-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; }
body[data-home="true"] .related-article-copy { display: block; padding: 0; }
body[data-home="true"] .related-article-copy h3 { font-size: clamp(22px,2.5vw,32px); font-weight: 400; }
body[data-home="true"] .related-article-copy p { display: block; max-width: 660px; margin: 16px 0 0; }
body[data-home="true"] .related-article-card:hover h3 { color: var(--lime); }
body[data-home="true"] .site-footer { padding-top: 44px; }
/* One fixed device, screens driven by ordinary document scrolling. */
.kun-feature-story { position: relative; width: 100%; height: calc(100svh + var(--feature-count,5) * 74svh); margin-block: 30px 80px; }
.kun-feature-sticky { position: sticky; top: 80px; height: calc(100svh - 80px); width: min(1520px,100%); margin: auto; padding: 20px 48px; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: clamp(28px,4.5vw,76px); align-items: center; }
.kun-feature-titles, .kun-feature-descriptions { display: grid; align-items: center; }
.kun-feature-titles h3, .kun-feature-descriptions p { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 450ms ease,transform 450ms var(--kun-ease),visibility 450ms; }
.kun-feature-titles h3 { margin: 0; max-width: 330px; color: var(--text); font-size: clamp(34px,3.5vw,54px); line-height: 1.08; letter-spacing: -.025em; font-weight: 300; }
.kun-feature-descriptions p { margin: 0; max-width: 300px; color: #b4b7ad; font-size: clamp(17px,1.5vw,21px); line-height: 1.6; }
.kun-feature-device { height: min(86svh,900px,calc(100svh - 128px)); aspect-ratio: 1073/2331; position: relative; border: 5px solid #20221e; border-radius: 38px; background: #000; box-shadow: 0 0 0 1px #ffffff24; container-type: inline-size; }
.kun-feature-screen { position: absolute; inset: 0; border-radius: 32px; overflow: hidden; background: #000; }
.kun-feature-screen > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; object-position: top; opacity: 0; transition: opacity 450ms ease; }
.kun-feature-preview { position: absolute; inset: 0; overflow: hidden; color: #fff; background: #090a09; opacity: 0; visibility: hidden; transition: opacity 450ms ease,visibility 450ms; }
.kun-feature-preview > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kun-feature-novel > img { object-position: 75% center; }
.kun-feature-roleplay > img { object-position: 48% 30%; }
.kun-feature-preview::after { content: ''; position: absolute; inset: 0; background: linear-gradient(#0007,transparent 26%,#0001 35%,#000c 72%,#070a06 100%); pointer-events: none; }
.kun-preview-status { position: relative; z-index: 1; height: 12cqw; padding: 3.8cqw 9cqw 0; display: flex; align-items: flex-start; justify-content: space-between; font-size: 3.4cqw; line-height: 1; }
.kun-preview-status i { position: absolute; top: 2cqw; left: 34%; width: 32%; height: 8cqw; border-radius: 5cqw; background: #000; }
.kun-preview-heading { position: relative; z-index: 1; margin: 8cqw 7cqw 0; display: grid; gap: 2cqw; }
.kun-preview-heading > span { font-size: 3.8cqw; color: #e4e6df; }
.kun-preview-heading strong { font-size: 7cqw; font-weight: 500; line-height: 1.15; }
.kun-novel-dialogue, .kun-roleplay-dialogue { position: absolute; z-index: 1; inset: auto 6cqw 7cqw; font-size: 4.5cqw; line-height: 1.45; }
.kun-novel-dialogue > span { color: var(--lime); font-weight: 500; font-size: 4cqw; }
.kun-novel-dialogue > p { margin: 2cqw 0 5cqw; }
.kun-novel-choices { display: grid; gap: 3cqw; }
.kun-novel-choices span { display: block; padding: 3.5cqw 4cqw; border: 1px solid #ffffff40; border-radius: 4cqw; background: #151913e6; font-size: 4cqw; line-height: 1.35; }
.kun-novel-choices span:first-child { background: var(--lime); color: #18200d; border-color: var(--lime); }
.kun-feature-preview small { display: block; margin-top: 4cqw; text-align: center; color: #b2b7ad; font-size: 3.2cqw; }
.kun-roleplay-action { margin: 0 0 4cqw; font-style: italic; color: #d0d4c8; font-size: 4cqw; }
.kun-roleplay-message { width: fit-content; max-width: 92%; margin: 3cqw 0; padding: 4cqw 4.5cqw; background: #20251de8; border-radius: 4cqw 4cqw 4cqw 1cqw; }
.kun-roleplay-message--you { margin-left: auto; background: #c9ff4c; color: #17200c; border-radius: 4cqw 4cqw 1cqw 4cqw; }
.kun-roleplay-input { margin-top: 7cqw; padding: 4cqw 5cqw; border: 1px solid #ffffff30; border-radius: 7cqw; color: #c1c5b8; font-size: 4cqw; }
.kun-feature-sticky .is-current { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 1100px) { .kun-feature-sticky { top: 68px; height: calc(100svh - 68px); } }
@media (max-width: 900px) {
 .kun-feature-story { height: calc(100svh + var(--feature-count,5) * 68svh); margin-block: 20px 48px; }
 .kun-feature-sticky { grid-template-columns: 1fr; grid-template-rows: minmax(64px,auto) auto minmax(64px,auto); justify-items: center; align-content: center; gap: 20px; padding: 24px; }
 .kun-feature-titles h3 { text-align: center; max-width: 580px; font-size: clamp(29px,5.8vw,40px); }
 .kun-feature-device { height: min(56svh,580px); border-width: 4px; border-radius: 30px; }
 .kun-feature-screen { border-radius: 26px; }
 .kun-feature-descriptions p { max-width: 380px; text-align: center; font-size: 16px; line-height: 1.5; }
}
@media (max-width: 760px) {
 .kun-video-controls .kun-video-next { display: inline-block; }
 body[data-home="true"] .related-article-card > a { grid-template-columns: 100px minmax(0,1fr); gap: 20px; align-items: start; }
 body[data-home="true"] .related-article-copy h3 { font-size: 20px; }
 body[data-home="true"] .related-article-copy p { font-size: 15px; margin-top: 10px; }
}
@media (max-width: 420px) {
 body[data-home="true"] .related-article-card > a { grid-template-columns: 76px minmax(0,1fr); gap: 16px; }
 body[data-home="true"] .related-article-copy p { display: none; }
 .kun-feature-sticky { padding: 18px 20px; gap: 16px; }
}
@media (max-width: 900px) and (max-height: 650px) { .kun-feature-device { height: 42svh; } }
@media (prefers-reduced-motion: reduce) { .kun-feature-sticky *, .kun-story-caption { transition: none; } }

/* The opening scene and headline share a single composition. */
body[data-home="true"] .hero { position: relative; display: grid; grid-template-columns: 1fr; min-height: min(820px,calc(100svh - 80px)); padding: 0; isolation: isolate; background: #070907; }
.hero .kun-cinema { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; max-height: none; background: #070907; z-index: -1; }
.hero .kun-video-wall { position: absolute; inset: 0 0 0 auto; width: 59%; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
.hero .kun-video-pane { position: relative; inset: auto; opacity: 1; transition: none; pointer-events: none; }
.hero .kun-video-pane video { object-position: 50% 32%; }
.hero .kun-cinema::after { background: linear-gradient(90deg,#070907 39%,transparent 48%),linear-gradient(0deg,#070907,transparent 25%); }
body[data-home="true"] .hero-copy { display: block; align-self: center; max-width: 1520px; margin: 0 auto; padding: 100px 60px 112px; pointer-events: none; }
body[data-home="true"] .hero-copy a { pointer-events: auto; }
body[data-home="true"] .hero h1 { max-width: min(670px,42vw); font-size: clamp(44px,4.6vw,74px); line-height: 1.06; font-weight: 400; text-wrap: balance; }
body[data-home="true"] .hero h1 > span { display: block; }
body[data-home="true"] .hero-copy > p { max-width: 470px; color: #d4d7cd; font-size: 17px; line-height: 1.6; margin: 28px 0 18px; }
body[data-home="true"] .hero .app-download-block { width: fit-content; padding: 0; margin-top: 32px; }
.hero .kun-cinema-bottom { inset: auto 30px 28px auto; z-index: 3; }
.hero .kun-video-controls { gap: 0; }
.hero .kun-video-controls button { display: inline-grid; place-items: center; width: 40px; min-width: 40px; min-height: 44px; padding: 0; background: none; border: 0; border-radius: 50%; }
.kun-video-toggle i { display: block; width: 10px; height: 12px; border-inline: 2px solid #fff; }
.kun-video-toggle[aria-pressed="true"] i { border: 0; width: 0; height: 0; border-block: 6px solid transparent; border-left: 9px solid #fff; }
body[data-home="true"] .related-article-media { width: 100%; min-width: 0; min-height: 0; height: auto; aspect-ratio: 4/3; align-self: start; overflow: hidden; }
body[data-home="true"] .related-article-media img { width: 100%; height: 100%; min-width: 0; object-fit: cover; }
body[data-home="true"] .related-article-copy { min-width: 0; }
body[data-home="true"] .related-article-copy h3 { overflow: visible; overflow-wrap: anywhere; -webkit-line-clamp: unset; }
body[data-home="true"] .romance-download .store-button { background: #131b0c; color: #f5f7ef; border-color: #131b0c; box-shadow: none; }
body[data-home="true"] .romance-download .store-button .store-copy strong { color: #f5f7ef; }
body[data-home="true"] .romance-download .store-button:hover { background: #26351b; }
body[data-home="true"] .romance-download a:focus-visible { outline-color: #131b0c; }
.kun-story-gallery { height: calc(var(--portrait-width) * 1.328 + 175px); }
.kun-story-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; line-height: 1.45; margin-top: 12px; }
.kun-cast-all { text-align: center; margin: 30px 20px 0; }
.kun-cast-controls:not(:focus-within) { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.kun-voice { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: clamp(48px,9vw,140px); align-items: center; }
.kun-voice-art { max-height: 620px; aspect-ratio: 4/5; overflow: hidden; border-radius: 24px; }
.kun-voice-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kun-voice h2 { font-size: clamp(38px,4.7vw,70px); }
.kun-voice .romance-text-link { margin-top: 16px; }
@media(max-width:1100px) and (min-width:761px) {
 body[data-home="true"] .hero-copy { align-self: end; padding: min(48svh,420px) 36px 48px; }
 body[data-home="true"] .hero h1 { max-width: 700px; font-size: 58px; }
 .hero .kun-video-wall { inset: 0 0 auto; width: 100%; height: min(70svh,640px); }
 .hero .kun-cinema::after { background: none; }
 .hero .kun-video-wall::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,#07090733,transparent 30%,#07090770 64%,#070907 100%); }
 .hero .kun-cinema-bottom { inset: 76px 20px auto auto; }
}
@media(max-width:760px) {
 body[data-home="true"] .hero { min-height: calc(100svh - 68px); }
 .hero .kun-video-wall { inset: 0 0 auto; width: 100%; height: min(58svh,440px); max-height: none; gap: 3px; }
 .hero .kun-video-pane video { object-position: 50% 25%; }
 .hero .kun-cinema::after { background: none; }
 .hero .kun-video-wall::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,#07090710,transparent 38%,#07090790 66%,#070907 100%); }
 body[data-home="true"] .hero-copy { align-self: end; padding: min(40svh,320px) 20px 36px; }
 body[data-home="true"] .hero h1 { font-size: clamp(39px,10.4vw,66px); max-width: 610px; text-wrap: balance; line-height: 1.08; }
 body[data-home="true"] .hero-copy > p { font-size: 16px; max-width: 510px; margin: 24px 0 16px; }
 body[data-home="true"] .hero .app-download-block { margin-top: 24px; }
 .hero .kun-cinema-bottom { inset: 76px 10px auto auto; }
 .kun-story-gallery { height: calc(var(--portrait-width) * 1.328 + 180px); }
 .kun-story-name { font-size: 14px; -webkit-line-clamp: 3; }
 .kun-voice { grid-template-columns: 1fr; gap: 32px; }
 .kun-voice-art { aspect-ratio: 4/3; max-height: 420px; }
 .kun-voice-art img { object-position: 50% 35%; }
}
.kun-intro > .romance-heading { max-width: 880px; margin: 0 auto 90px; text-align: center; }
.kun-intro > .romance-heading p { max-width: 710px; margin: 28px auto 0; }
.kun-journey > h3 { margin: 0 0 36px; font-size: 25px; font-weight: 400; }
.kun-journey-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 48px; }
.kun-journey-steps > div { padding-top: 24px; border-top: 1px solid #ffffff24; }
.kun-journey-steps h4 { font-size: clamp(23px,2.5vw,32px); font-weight: 400; line-height: 1.2; margin: 0 0 18px; }
.kun-journey-steps p { color: var(--muted); line-height: 1.6; font-size: 17px; }
.kun-story-intro { max-width: 870px; margin-bottom: 56px; }
@media(max-width:760px) {
 .kun-intro > .romance-heading { text-align: left; margin-bottom: 56px; }
 .kun-journey-steps { grid-template-columns: 1fr; gap: 28px; }
 .kun-journey-steps p { margin-bottom: 0; }
 .kun-story-intro { margin-bottom: 32px; }
}

@media(max-width:760px) { .hero .kun-cinema::before { content: ""; position: absolute; inset: 0 0 auto; height: 90px; z-index: 2; pointer-events: none; background: linear-gradient(#0009,transparent); } }
