/* Values and breakpoints transcribed from the verified V11 source; Gutenberg adapters only. */
:root {
  --cream: var(--wp--preset--color--cream);
  --ink: var(--wp--preset--color--ink);
  --violet: var(--wp--preset--color--violet);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
.header {
  max-width: 1360px;
  margin: auto;
  padding: 24px 40px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-signet {
  margin: 0;
}
.brand-signet img {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
}
.header .wp-block-site-logo {
  width: 172px;
  height: 88px;
  display: flex;
  align-items: center;
}
.header .wp-block-site-logo img {
  width: 172px;
  height: 88px;
  object-fit: contain;
  max-width: none;
}
.header nav {
  font-weight: 800;
  font-size: 15px;
}
.header .wp-block-navigation__container {
  display: flex;
  gap: 22px;
  align-items: center;
}
.header .wp-block-navigation-item__content:hover {
  color: var(--violet);
}
.wp-block-button__link,
.header .kkr-nav-cta > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--violet);
  color: white;
  padding: 15px 24px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  transition:
    transform 0.18s,
    background 0.18s;
}
.wp-block-button__link:hover,
.header .kkr-nav-cta > a:hover {
  background: var(--wp--preset--color--violet-hover);
  transform: translateY(-2px);
  color: white;
}
.wp-block-button__link span,
.kkr-nav-cta span[aria-hidden] {
  font-size: 23px;
  line-height: 1;
}
.header .kkr-nav-cta > a {
  padding: 12px 20px;
  font-size: 14px;
}
.header .kkr-nav-cta .wp-block-navigation-item__label {
  display: flex;
  align-items: center;
  gap: 24px;
}
.menu-toggle {
  display: none;
}
.kkr-main {
  max-width: 1360px;
  margin: 0 auto !important;
  padding: 0 28px;
}
.panel {
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  gap: 0 28px;
  padding: 28px;
  min-height: 0;
  background: var(--wp--preset--color--hero-background);
  align-items: stretch;
  overflow: hidden;
}
.paper {
  background: var(--wp--preset--color--paper);
  border-radius: 24px;
  padding: 40px;
}
.hero-copy {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
  width: auto;
  max-width: none;
  margin: 0 !important;
  padding: 32px;
  align-self: stretch;
  box-shadow: none;
}
.hero-copy h1 {
  font-size: var(--wp--custom--hero--heading-size);
}
.hero-copy > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.65;
  margin: 24px 0 28px;
}
.eyebrow {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--violet);
  margin: 0 0 18px !important;
}
.hero-gallery {
  display: block;
  position: relative;
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  min-width: 0;
  height: 100%;
  padding: 0;
  min-height: 0;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 !important;
}
.carousel-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: var(--wp--preset--color--image-background);
  position: relative;
}
.carousel-image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-gallery > .carousel-controls {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 20px);
  padding: 6px 12px;
  gap: 10px;
  border-radius: 999px;
  background: rgba(255, 248, 234, 0.94);
  box-shadow: 0 3px 18px #123a6f1a;
  backdrop-filter: blur(8px);
}
.carousel-controls > button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 23px;
}
.carousel-controls > button:hover {
  background: var(--ink);
  color: white;
}
.carousel-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.carousel-dots button {
  border: 0;
  background: transparent;
  width: 30px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.carousel-dots button:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #849aac;
}
.carousel-dots button[aria-current="true"]:before {
  width: 20px;
  border-radius: 10px;
  background: var(--violet);
}
.carousel-count {
  font-size: 12px;
  font-weight: 800;
  min-width: 32px;
}
footer.wp-block-template-part {
  margin-top: 160px;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 65px 40px 24px;
}
.footer-content > .footer-logo {
  display: contents;
}
.footer-logo img {
  display: inline;
  vertical-align: baseline;
  width: 180px;
  max-height: 100px;
  object-fit: contain;
}
.footer-content > p {
  font-size: 18px;
  margin-top: 20px;
}
footer nav.kkr-footer-navigation {
  font-size: 14px;
  margin: 30px 0 65px;
}
footer .wp-block-navigation__container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-bottom {
  max-width: 1250px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid #ffffff30;
  padding-top: 22px;
  font-size: 11px;
  color: var(--wp--preset--color--footer-muted);
}
.footer-bottom p {
  margin: 0;
}
@media (max-width: 1100px) and (min-width: 761px) {
  .header {
    gap: 18px;
  }
  .header .wp-block-navigation__container {
    gap: 12px;
  }
  .header nav {
    font-size: 12px;
  }
  .brand-signet img {
    width: 52px;
    height: 52px;
  }
  .header .wp-block-site-logo,
  .header .wp-block-site-logo img {
    width: 145px;
  }
  .header .kkr-nav-cta > a {
    font-size: 12px;
    padding: 11px 14px;
  }
}
@media (max-width: 1050px) {
  .header {
    padding: 22px 28px;
  }
  .hero {
    padding: 20px;
    gap: 0 20px;
  }
  .hero-copy {
    padding: 24px;
  }
  .hero-copy h1 {
    font-size: 36px;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 17px;
  }
  .header {
    padding: 14px 22px 22px;
    position: relative;
    flex-wrap: wrap;
  }
  .brand-lockup {
    gap: 8px;
  }
  .brand-signet img {
    width: 48px;
    height: 48px;
  }
  .header .wp-block-site-logo,
  .header .wp-block-site-logo img {
    width: 125px;
    height: 72px;
  }
  .menu-toggle:not([hidden]) {
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid var(--wp--preset--color--menu-border);
    background: transparent;
    border-radius: 99px;
    padding: 9px 15px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    margin-left: auto;
  }
  .header nav {
    width: 100%;
    background: var(--wp--preset--color--menu-background);
    padding: 24px;
    border-radius: 20px;
    font-size: 13px;
  }
  .kkr-js .header nav:not(.open) {
    display: none;
  }
  .header .wp-block-navigation__container {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .header .wp-block-navigation-item {
    width: 100%;
  }
  .header .wp-block-navigation-item__content {
    padding: 9px 0;
    width: 100%;
  }
  .header .kkr-nav-cta > a {
    padding: 13px;
  }
  .header .kkr-nav-cta .wp-block-navigation-item__label {
    justify-content: center;
    width: 100%;
  }
  .kkr-main {
    padding: 0 16px;
  }
  .panel {
    border-radius: 24px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding: 20px 16px 18px;
    gap: 16px;
  }
  .hero-copy {
    margin: 0;
    padding: 25px 23px;
    width: 100%;
    order: 0;
  }
  .hero h1 {
    font-size: 37px;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 16px;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .hero .wp-block-button__link {
    font-size: 14px;
  }
  .hero-gallery {
    height: auto;
    padding: 0;
    width: 100%;
    order: 1;
    flex-shrink: 0;
  }
  .hero-gallery > .carousel-viewport {
    height: auto;
    aspect-ratio: 3/2;
    border-radius: 16px;
  }
  .hero-gallery .carousel-image {
    position: static;
    height: auto;
    width: 100%;
    aspect-ratio: 3/2;
  }
  .hero-gallery > .carousel-controls {
    bottom: 8px;
    padding: 2px 7px;
    gap: 6px;
  }
  .hero-gallery .carousel-dots {
    gap: 2px;
  }
  .hero-gallery .carousel-dots button {
    width: 24px;
  }
  .hero-gallery .carousel-count {
    font-size: 11px;
    min-width: 28px;
  }
  footer.wp-block-template-part {
    margin-top: 95px;
    padding: 48px 24px 28px;
  }
  footer nav.kkr-footer-navigation {
    margin-bottom: 40px;
  }
  footer .wp-block-navigation__container {
    gap: 18px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
}
/* Editor only: preserve the native image-gallery editing controls. */
.editor-styles-wrapper .kkr-hero-gallery {
  display: flex;
  height: auto;
  position: relative;
  min-height: 260px;
}
.editor-styles-wrapper .hero-copy {
  z-index: auto;
}

.header .kkr-nav-cta > .wp-block-navigation-item__content {
  color: white;
}
/* Core navigation repeats its custom class on the list. */
footer ul.kkr-footer-navigation {
  margin: 0;
}
/* V11: info strip, world views and friends. */
.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 950px;
  margin: 45px auto 0 !important;
  text-align: center;
}
.intro-strip > .intro-item + div {
  border-left: 1px solid #e8dcc9;
}
.intro-strip strong {
  font: 600 25px var(--wp--preset--font-family--fredoka);
  color: var(--violet);
  display: block;
}
.intro-strip .intro-description {
  display: block;
  font-size: 14px;
  margin-top: 6px;
}
.section-space {
  margin-top: 144px !important;
}
.section-heading {
  text-align: center;
  margin: 0 auto 56px !important;
  max-width: 720px;
}
.section-heading > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px auto 0;
}
.world-scene {
  min-height: 570px;
  position: relative;
  background: #168ac5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 56px;
}
.world-background {
  position: absolute;
  inset: 0;
}
.world-view {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.world-card {
  width: 450px;
  position: relative;
  z-index: 2;
}
.world-card h3 {
  font-size: 38px;
}
.world-card > p:not(.eyebrow) {
  font-size: 17px;
  margin-top: 22px;
}
.places {
  padding: 0;
  margin: 28px 0 0 !important;
  display: grid;
  gap: 8px;
  counter-reset: places;
}
.place-entry {
  display: block;
}
.place-button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 10px;
  text-align: left;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  counter-increment: places;
}
.place-number {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #c6ebee;
  font-size: 12px;
  font-weight: 900;
}
.place-number::before {
  content: counter(places, decimal-leading-zero);
}
.place-button.active {
  background: #e4f4f3;
  border-color: #9ad9df;
}
.place-button.active > .place-number {
  background: var(--violet);
  color: white;
}
.place-button:hover {
  background: #e4f4f3;
}
.place-copy b {
  font-size: 16px;
}
.place-copy small {
  display: block;
  font-size: 14px;
  line-height: 1.5;
}
.wave {
  position: absolute;
  width: 120%;
  height: 90px;
  left: -10%;
  bottom: -45px;
  border-radius: 50% 65% 0 0;
  transform: rotate(-2deg);
  pointer-events: none;
}
.deep {
  background: var(--ink);
}
.friend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  max-width: 1130px;
  margin: auto !important;
}
.friend-grid article {
  text-align: center;
}
.friend-grid .portrait {
  display: block;
  width: 230px;
  height: 215px;
  margin: 0 auto 28px !important;
  border-radius: 50%;
  overflow: hidden;
}
.portrait img {
  display: block;
  width: 230px;
  height: 215px;
  object-fit: cover;
}
.friend-grid .character-note {
  display: inline;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #687992;
}
.friend-grid h3 {
  font-size: 40px;
  color: var(--violet);
  margin: 10px 0 0;
}
.friend-grid article:nth-child(2) h3 {
  color: #aa6500;
}
.friend-grid article:nth-child(3) h3 {
  color: #c5491d;
}
.friend-grid .friend-description {
  font-size: 17px;
  text-align: left;
  max-width: 320px;
  margin: 20px auto 0;
}
@media (max-width: 1050px) {
  .friend-grid {
    gap: 24px;
  }
  .world-scene {
    padding: 35px;
  }
}
@media (max-width: 760px) {
  .intro-strip {
    margin-top: 30px !important;
    gap: 9px;
  }
  .intro-strip strong {
    font-size: 18px;
  }
  .intro-strip .intro-description {
    font-size: 11px;
    line-height: 1.5;
  }
  .section-space {
    margin-top: 88px !important;
  }
  .section-heading {
    margin-bottom: 36px !important;
    padding: 0 10px;
  }
  .section-heading h2 {
    font-size: 36px;
  }
  .eyebrow {
    font-size: 11px;
  }
  .section-heading > p:not(.eyebrow) {
    font-size: 16px;
  }
  .world-background {
    inset: 0 0 auto;
    height: 260px;
  }
  .world-scene {
    padding: 235px 20px 55px;
    min-height: 0;
  }
  .world-card {
    width: 100%;
    padding: 28px;
  }
  .world-card h3 {
    font-size: 33px;
  }
  .friend-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .friend-grid .friend-description {
    text-align: center;
    max-width: 340px;
    padding: 0 8px;
  }
  .friend-grid h3 {
    font-size: 36px;
  }
  .friend-grid .portrait {
    margin-bottom: 20px !important;
  }
}
.editor-styles-wrapper .kkr-world-edit {
  display: block;
  overflow: visible;
  padding: 20px;
}
.editor-styles-wrapper .kkr-world-edit .world-card {
  width: 100%;
}
.kkr-place-editor {
  padding: 16px;
  border: 1px solid currentColor;
  border-radius: 12px;
}

/* V11 book composition; data and controls are supplied by the books plugin. */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 48px 64px;
  padding: 64px 64px 36px;
  background: #f5e3bb;
  align-items: center;
  isolation: isolate;
}
.story:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    72deg,
    transparent 39%,
    #fff8ea40 39%,
    #fff8ea40 47%,
    transparent 47%
  );
  pointer-events: none;
}
.book-slide {
  display: contents;
}
.books-intro {
  grid-column: 1/-1;
  text-align: center;
  max-width: 850px;
  margin: 0 auto 12px;
  position: relative;
  z-index: 2;
}
.books-intro h2 {
  font-size: clamp(32px, 3.4vw, 46px);
}
.books-intro p {
  font-size: 18px;
  max-width: 650px;
  margin: 18px auto 0;
}
.story-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 20px 20px 24px 10px;
}
.book-viewport {
  min-height: 0;
  overflow: visible;
  aspect-ratio: 1/1;
  transform: rotate(-3deg);
  border-radius: 22px;
  background: #168abd;
  box-shadow: 13px 15px 0 var(--violet);
}
.book-placeholder {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 28px;
  border: 0;
  border-radius: 22px;
  background:
    linear-gradient(
      75deg,
      transparent 45%,
      #ffffff20 45%,
      #ffffff20 63%,
      transparent 63%
    ),
    #168abd;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  transform: none;
  color: var(--cream);
}
.book-placeholder:before,
.book-placeholder:after {
  content: "";
  position: absolute;
  left: -15%;
  width: 130%;
  height: 30%;
  border-radius: 48% 52% 0 0;
  z-index: -1;
  bottom: -3%;
  background: #22b5ca;
  transform: rotate(5deg);
}
.book-placeholder:after {
  bottom: -14%;
  background: #f5e3bb;
  transform: rotate(-4deg);
}
.book-placeholder .book-kind {
  position: absolute;
  top: 22px;
  left: 22px;
  background: var(--cream);
  border-radius: 99px;
  padding: 8px 15px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}
.book-placeholder .book-title {
  font: 600 clamp(30px, 3vw, 44px) / 1.15 Fredoka;
  max-width: 320px;
  margin: 20px 0;
}
.book-placeholder .book-note {
  color: var(--cream);
  font-size: 14px;
  max-width: 250px;
  line-height: 1.5;
}
.book-image {
  height: 100%;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--cream);
  border-radius: 22px;
}
.story-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px;
  min-height: 460px;
  background: #fff8eaf5;
  border: 2px solid #e6d9bc;
  border-radius: 30px;
  align-self: stretch;
  justify-content: center;
}
.story-copy .eyebrow {
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: 17px;
}
.story-copy .book-heading {
  font-size: clamp(32px, 3.3vw, 46px);
  line-height: 1.12;
}
.story-copy .book-story-title {
  font: 800 18px/1.5 Nunito;
  margin: 24px 0 0;
}
.story-copy .book-description {
  font-size: 17px;
  line-height: 1.7;
  margin: 14px 0 30px;
}
.story .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: #b434e0;
  color: white;
  padding: 15px 24px;
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  transition:
    transform 0.18s,
    background 0.18s;
}
.story .button:hover {
  background: #5d15ae;
  transform: translateY(-2px);
}
.story .button span {
  font-size: 23px;
  line-height: 1;
}
.story-copy .availability {
  display: block;
  font-size: 12px;
  margin-top: 12px;
  line-height: 1.5;
}
.story > .carousel-controls {
  grid-column: 1/-1;
  position: relative;
  z-index: 2;
  justify-self: center;
  background: var(--cream);
  padding: 8px 16px;
  border-radius: 99px;
  gap: 16px;
  margin-top: 0;
  box-shadow: 0 3px 14px #123a6f12;
}
.book-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  z-index: -1;
  pointer-events: none;
}
.story:focus-visible {
  outline: 3px solid #ed9a21;
  outline-offset: 4px;
}
@media (max-width: 1050px) {
  .story {
    padding: 48px 32px 30px;
    gap: 36px 32px;
  }
  .story-copy {
    padding: 28px;
  }
  .story-visual {
    padding: 16px 12px 24px 0;
  }
  .book-placeholder {
    padding: 22px;
  }
  .book-placeholder .book-kind {
    top: 16px;
    left: 16px;
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  .story {
    grid-template-columns: minmax(0, 1fr);
    padding: 38px 24px 26px;
    gap: 32px;
  }
  .books-intro {
    text-align: center;
    margin-bottom: 12px;
  }
  .books-intro p {
    font-size: 16px;
  }
  .story-visual {
    width: 100%;
    max-width: 410px;
    margin: auto;
    padding: 10px 20px 20px 8px;
  }
  .story-copy {
    padding: 28px 24px;
    min-height: 0;
    border-radius: 24px;
  }
  .book-placeholder .book-title {
    font-size: 34px;
  }
  .story-copy .book-description {
    font-size: 16px;
  }
  .story-copy .book-story-title {
    font-size: 17px;
  }
  .story > .carousel-controls {
    gap: 10px;
  }
  .book-waves {
    height: 140px;
  }
}
.editor-styles-wrapper .kkr-books-edit {
  border: 1px dashed #8a70a0;
  padding: 24px;
}
/* Additional volumes keep the controls inside a narrow viewport. */
.story > .carousel-controls {
  max-width: 100%;
  min-width: 0;
}
.story .carousel-dots {
  min-width: 0;
  overflow-x: auto;
}
.story .carousel-controls > button,
.story .carousel-dots button {
  flex-shrink: 0;
}
