/* =========================================================
   KIMAMA 3D HOME HERO
   Cocoon child theme / Front page only
   ========================================================= */

.kimama-hero {
  --kimama-ivory: #f4f0e8;
  --kimama-muted: rgba(244, 240, 232, 0.68);
  --kimama-line: rgba(244, 240, 232, 0.26);
  --kimama-accent: #d9bb8a;

  position: relative;
  width: 100vw;
  height: min(900px, 88svh);
  min-height: 640px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 44%, rgba(70, 85, 105, 0.22), transparent 32%),
    radial-gradient(circle at 28% 82%, rgba(126, 92, 61, 0.10), transparent 30%),
    linear-gradient(160deg, #05080d 0%, #090f18 58%, #0e1115 100%);
  color: var(--kimama-ivory);
}

.kimama-hero__canvas,
.kimama-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.kimama-hero__canvas {
  z-index: 0;
  display: block;
}

.kimama-hero__shade {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 7, 11, 0.82) 0%, rgba(4, 7, 11, 0.35) 42%, rgba(4, 7, 11, 0.06) 72%),
    linear-gradient(0deg, rgba(4, 7, 11, 0.60) 0%, transparent 34%);
}

.kimama-hero__copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(6vw, 28px);
  width: min(620px, 46vw);
  transform: translateY(-52%);
}

.kimama-hero__eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.24em;
  color: var(--kimama-muted);
}

.kimama-hero__title {
  margin: 0;
  font-family: serif;
  font-size: clamp(42px, 5.3vw, 82px);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: 0.02em;
  color: var(--kimama-ivory);
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.kimama-hero__lead {
  max-width: 520px;
  margin: 28px 0 0;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--kimama-muted);
}

.kimama-hero__route {
  position: absolute;
  z-index: 2;
  left: max(6vw, 28px);
  right: max(6vw, 28px);
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(244, 240, 232, 0.48);
  white-space: nowrap;
}

.kimama-hero__route i {
  height: 1px;
  flex: 1 1 40px;
  max-width: 74px;
  background: var(--kimama-line);
}

.kimama-hero__scroll {
  position: absolute;
  z-index: 3;
  right: max(4vw, 22px);
  bottom: 34px;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: rgba(244, 240, 232, 0.64);
  text-decoration: none;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.kimama-hero__scroll b {
  font-size: 18px;
  font-weight: 400;
  animation: kimama-scroll 1.8s ease-in-out infinite;
}

.kimama-anchor {
  scroll-margin-top: 24px;
}

@keyframes kimama-scroll {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(7px); opacity: 1; }
}

@media screen and (max-width: 834px) {
  .kimama-hero {
    height: 78svh;
    min-height: 570px;
  }

  .kimama-hero__shade {
    background:
      linear-gradient(0deg, rgba(4, 7, 11, 0.86) 0%, rgba(4, 7, 11, 0.18) 58%, rgba(4, 7, 11, 0.05) 100%);
  }

  .kimama-hero__copy {
    top: auto;
    left: 24px;
    right: 24px;
    bottom: 112px;
    width: auto;
    transform: none;
  }

  .kimama-hero__title {
    font-size: clamp(38px, 11vw, 58px);
  }

  .kimama-hero__lead {
    max-width: 34em;
    margin-top: 20px;
    font-size: 13px;
  }

  .kimama-hero__route {
    left: 24px;
    right: 24px;
    bottom: 50px;
    overflow: hidden;
  }

  .kimama-hero__route span:nth-of-type(2),
  .kimama-hero__route span:nth-of-type(3),
  .kimama-hero__route i:nth-of-type(2),
  .kimama-hero__route i:nth-of-type(3) {
    display: none;
  }

  .kimama-hero__scroll {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kimama-hero__scroll b {
    animation: none;
  }
}

/* =========================================================
   KIMAMA 3D STAGE 2
   City tooltip / route refinements
   ========================================================= */

.kimama-globe-tooltip {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  min-width: 156px;
  padding: 11px 13px 10px;
  border: 1px solid rgba(226, 193, 142, 0.28);
  background: rgba(6, 10, 16, 0.88);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  color: #f4f0e8;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 140ms ease, visibility 140ms ease;
}

.kimama-globe-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
}

.kimama-globe-tooltip strong,
.kimama-globe-tooltip small,
.kimama-globe-tooltip span,
.kimama-globe-tooltip em {
  display: block;
}

.kimama-globe-tooltip strong {
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.kimama-globe-tooltip small {
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: rgba(244, 240, 232, 0.56);
}

.kimama-globe-tooltip span {
  margin-top: 8px;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: #d9bb8a;
}

.kimama-globe-tooltip em {
  margin-top: 7px;
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.14em;
  color: rgba(244, 240, 232, 0.72);
}

@media (min-width: 900px) {
  .kimama-hero__copy {
    width: min(520px, 40vw);
  }

  .kimama-hero__title {
    font-size: clamp(46px, 3.2vw, 68px);
    line-height: 1.38;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .kimama-hero__title br {
    display: block;
  }

  .kimama-hero__route {
    right: 260px;
    gap: 9px;
    font-size: 8px;
  }

  .kimama-hero__route i {
    max-width: 54px;
  }
}

@media screen and (max-width: 834px) {
  .kimama-globe-tooltip {
    display: none;
  }

  .kimama-hero__route span:not(:first-of-type):not(:last-of-type),
  .kimama-hero__route i {
    display: none;
  }

  .kimama-hero__route span:first-of-type::after {
    content: '  ···  ';
    margin: 0 12px;
    color: rgba(244, 240, 232, 0.32);
  }
}


/* =========================================================
   KIMAMA 3D STAGE 3
   Sticky scroll journey + chapter HUD
   ========================================================= */

.kimama-journey-shell {
  position: relative;
  height: 310svh;
  width: 100%;
}

.kimama-journey-shell > .kimama-hero {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 640px;
}

.kimama-journey-hud {
  --kimama-journey-progress: 0;
  position: absolute;
  z-index: 4;
  left: max(6vw, 36px);
  top: 50%;
  width: min(360px, 38vw);
  transform: translateY(-50%);
  color: #f4f0e8;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 160ms ease;
}

.kimama-journey-hud__chapter,
.kimama-journey-hud__city,
.kimama-journey-hud__country,
.kimama-journey-hud__hint {
  display: block;
}

.kimama-journey-hud__chapter {
  margin-bottom: 12px;
  font-size: 9px;
  letter-spacing: 0.22em;
  color: #d9bb8a;
}

.kimama-journey-hud__city {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 4.5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 400;
}

.kimama-journey-hud__country {
  margin-top: 13px;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: rgba(244, 240, 232, 0.58);
}

.kimama-journey-hud__story,
.kimama-journey-hud__full {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(217, 187, 138, 0.48);
  color: rgba(244, 240, 232, 0.86);
  text-decoration: none;
  font-size: 9px;
  letter-spacing: 0.18em;
  pointer-events: auto;
  transition: color 160ms ease, border-color 160ms ease, opacity 220ms ease;
}

.kimama-journey-hud__story:hover,
.kimama-journey-hud__full:hover {
  color: #fff;
  border-color: #d9bb8a;
}

.kimama-journey-hud__full {
  display: block;
  width: max-content;
  margin-top: 14px;
  opacity: 0;
  visibility: hidden;
}

.kimama-journey-hud__full.is-visible {
  opacity: 1;
  visibility: visible;
}

.kimama-journey-hud__hint {
  margin-top: 22px;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: rgba(244, 240, 232, 0.38);
}

.kimama-hero__route span {
  transition: color 220ms ease, opacity 220ms ease, text-shadow 220ms ease;
}

.kimama-hero__route span.is-past {
  color: rgba(217, 187, 138, 0.52);
}

.kimama-hero__route span.is-active {
  color: #f7dcae;
  opacity: 1;
  text-shadow: 0 0 14px rgba(217, 187, 138, 0.38);
}

.kimama-hero__copy {
  will-change: auto;
}

.kimama-hero__copy.is-journey-transitioning {
  will-change: opacity, transform;
}

@media screen and (max-width: 834px) {
  .kimama-journey-shell {
    height: 250svh;
  }

  .kimama-journey-shell > .kimama-hero {
    height: 100svh;
    min-height: 600px;
  }

  .kimama-journey-hud {
    top: auto;
    left: 24px;
    right: 24px;
    bottom: 108px;
    width: auto;
    transform: none;
  }

  .kimama-journey-hud__city {
    font-size: clamp(38px, 12vw, 58px);
  }

  .kimama-journey-hud__hint {
    display: none;
  }

  .kimama-hero__route span:not(.is-active) {
    opacity: 0.36;
  }

  .kimama-hero__route span.is-active {
    display: inline !important;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kimama-journey-shell {
    height: auto;
  }

  .kimama-journey-shell > .kimama-hero {
    position: relative;
    height: 78svh;
  }

  .kimama-journey-hud {
    display: none;
  }
}


/* =========================================================
   KIMAMA 3D STAGE 3.1
   Route order / long city titles / clean chapter transition
   ========================================================= */

@media screen and (min-width: 835px) {
  .kimama-journey-hud {
    width: min(560px, 46vw);
  }

  .kimama-journey-hud__city {
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
    font-size: clamp(42px, 3.9vw, 70px);
    line-height: 0.98;
  }
}

/* The opening Japanese copy should disappear fully once a journey chapter takes over. */
.kimama-hero__copy {
  pointer-events: none;
}


/* =========================================================
   KIMAMA 3D STAGE 3.2
   Motion polish / chapter transitions / final arrival
   ========================================================= */

.kimama-journey-hud__chapter,
.kimama-journey-hud__city,
.kimama-journey-hud__country,
.kimama-journey-hud__story {
  will-change: opacity, transform, filter;
}

.kimama-journey-hud.is-changing .kimama-journey-hud__chapter {
  animation: kimamaChapterIn 520ms cubic-bezier(.22,.8,.28,1) both;
}

.kimama-journey-hud.is-changing .kimama-journey-hud__city {
  animation: kimamaCityIn 640ms cubic-bezier(.18,.82,.24,1) both;
}

.kimama-journey-hud.is-changing .kimama-journey-hud__country,
.kimama-journey-hud.is-changing .kimama-journey-hud__story {
  animation: kimamaMetaIn 560ms 90ms cubic-bezier(.22,.8,.28,1) both;
}

@keyframes kimamaChapterIn {
  from {
    opacity: 0;
    transform: translate3d(0, 5px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes kimamaCityIn {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes kimamaMetaIn {
  from {
    opacity: 0;
    transform: translate3d(0, 7px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.kimama-journey-hud__full {
  position: relative;
  padding: 9px 0 6px;
  border-bottom-color: rgba(217, 187, 138, 0.58);
}

.kimama-journey-hud.is-final .kimama-journey-hud__full.is-visible {
  animation: kimamaFinalCta 2.8s ease-in-out infinite;
}

@keyframes kimamaFinalCta {
  0%, 100% {
    text-shadow: 0 0 0 rgba(217, 187, 138, 0);
    border-bottom-color: rgba(217, 187, 138, 0.48);
  }
  50% {
    text-shadow: 0 0 14px rgba(217, 187, 138, 0.28);
    border-bottom-color: rgba(247, 220, 174, 0.92);
  }
}

.kimama-hero__route,
.kimama-hero__scroll {
  transition: opacity 260ms ease;
}

@media screen and (max-width: 834px) {
  .kimama-journey-hud.is-changing .kimama-journey-hud__city {
    animation-duration: 520ms;
  }

  .kimama-journey-hud__full {
    padding-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kimama-journey-hud.is-changing .kimama-journey-hud__chapter,
  .kimama-journey-hud.is-changing .kimama-journey-hud__city,
  .kimama-journey-hud.is-changing .kimama-journey-hud__country,
  .kimama-journey-hud.is-changing .kimama-journey-hud__story,
  .kimama-journey-hud.is-final .kimama-journey-hud__full.is-visible {
    animation: none;
  }
}


/* =========================================================
   KIMAMA 3D STAGE 4
   Journey-to-stories bridge
   ========================================================= */

.kimama-afterglobe {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: clamp(88px, 10vw, 160px) max(6vw, 32px) clamp(76px, 9vw, 132px);
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 187, 138, 0.08), transparent 30%),
    linear-gradient(180deg, #070b10 0%, #0b1017 72%, #f5f1e9 100%);
  color: #f4f0e8;
}

.kimama-afterglobe::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 187, 138, 0.4), transparent);
  opacity: 0.65;
}

.kimama-afterglobe__inner {
  position: relative;
  width: min(1480px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: clamp(54px, 7vw, 120px);
  align-items: center;
}

.kimama-afterglobe__copy {
  position: relative;
  z-index: 2;
  max-width: 570px;
}

.kimama-afterglobe__eyebrow {
  margin: 0 0 20px;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.26em;
  color: #d9bb8a;
}

.kimama-afterglobe__title {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-size: clamp(38px, 4vw, 66px);
  line-height: 1.42;
  letter-spacing: 0.035em;
  font-weight: 500;
  color: #f4f0e8;
}

.kimama-afterglobe__route {
  margin: 30px 0 0;
  max-width: 520px;
  font-size: 8px;
  line-height: 2;
  letter-spacing: 0.17em;
  color: rgba(217, 187, 138, 0.68);
}

.kimama-afterglobe__lead {
  margin: 25px 0 0;
  max-width: 510px;
  font-size: clamp(14px, 1.08vw, 17px);
  line-height: 2;
  letter-spacing: 0.035em;
  color: rgba(244, 240, 232, 0.68);
}

.kimama-afterglobe__cta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  padding: 13px 0 9px;
  border-bottom: 1px solid rgba(217, 187, 138, 0.55);
  color: #f4f0e8;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  transition: border-color 220ms ease, color 220ms ease, gap 220ms ease;
}

.kimama-afterglobe__cta b {
  font-size: 15px;
  font-weight: 400;
  color: #d9bb8a;
}

.kimama-afterglobe__cta:hover {
  gap: 29px;
  color: #fff;
  border-bottom-color: #d9bb8a;
}

.kimama-afterglobe__visual {
  position: relative;
  display: block;
  min-height: 440px;
  overflow: hidden;
  background: #0d131b;
  color: #f4f0e8;
  text-decoration: none;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

.kimama-afterglobe__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(5, 8, 12, 0.7) 100%),
    linear-gradient(90deg, rgba(5, 8, 12, 0.12), transparent 50%);
  pointer-events: none;
}

.kimama-afterglobe__visual img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) contrast(1.02);
  transform: scale(1.035);
  transition: transform 1.1s cubic-bezier(.2,.72,.24,1), filter 500ms ease;
}

.kimama-afterglobe__visual:hover img {
  transform: scale(1.065);
  filter: saturate(0.96) contrast(1.04);
}

.kimama-afterglobe__visual-label {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 20px;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(244, 240, 232, 0.72);
}

.kimama-afterglobe__handoff {
  width: min(1480px, 100%);
  margin: clamp(64px, 7vw, 110px) auto 0;
  padding-bottom: clamp(34px, 4vw, 66px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 8px;
  letter-spacing: 0.22em;
  color: rgba(22, 25, 29, 0.54);
}

.kimama-afterglobe__handoff i {
  display: block;
  width: clamp(34px, 4vw, 70px);
  height: 1px;
  background: rgba(22, 25, 29, 0.2);
}

/* Entrance: restrained, not theatrical. */
.kimama-afterglobe__copy,
.kimama-afterglobe__visual {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

.kimama-afterglobe.is-visible .kimama-afterglobe__copy {
  animation: kimamaBridgeIn 820ms cubic-bezier(.18,.78,.22,1) forwards;
}

.kimama-afterglobe.is-visible .kimama-afterglobe__visual {
  animation: kimamaBridgeIn 940ms 100ms cubic-bezier(.18,.78,.22,1) forwards;
}

@keyframes kimamaBridgeIn {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Give the existing first HOME paragraph breathing room after the bridge. */
.kimama-afterglobe + p {
  margin-top: clamp(60px, 7vw, 100px);
}

@media screen and (max-width: 834px) {
  .kimama-afterglobe {
    padding: 76px 22px 68px;
    background:
      radial-gradient(circle at 50% 12%, rgba(217, 187, 138, 0.07), transparent 26%),
      linear-gradient(180deg, #070b10 0%, #0b1017 78%, #f5f1e9 100%);
  }

  .kimama-afterglobe__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .kimama-afterglobe__title {
    font-size: clamp(36px, 10vw, 52px);
    line-height: 1.46;
  }

  .kimama-afterglobe__route {
    font-size: 7px;
    line-height: 2.15;
  }

  .kimama-afterglobe__visual,
  .kimama-afterglobe__visual img {
    min-height: 310px;
  }

  .kimama-afterglobe__handoff {
    margin-top: 64px;
    gap: 9px;
    font-size: 7px;
    letter-spacing: 0.13em;
  }

  .kimama-afterglobe__handoff i {
    width: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kimama-afterglobe__copy,
  .kimama-afterglobe__visual {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .kimama-afterglobe__visual img,
  .kimama-afterglobe__cta {
    transition: none;
  }
}


/* =========================================================
   KIMAMA 3D STAGE 4.1
   Cocoon heading reset + horizontal overflow fix
   ========================================================= */

.kimama-afterglobe {
  box-sizing: border-box;
  max-width: 100%;
}

/* Cocoon applies its article H2 decoration globally.
   Reset it only inside the Stage 4 bridge. */
.kimama-afterglobe .kimama-afterglobe__title {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #f4f0e8 !important;
}

.kimama-afterglobe .kimama-afterglobe__title::before,
.kimama-afterglobe .kimama-afterglobe__title::after {
  content: none !important;
  display: none !important;
}

.kimama-afterglobe__inner,
.kimama-afterglobe__copy,
.kimama-afterglobe__visual {
  box-sizing: border-box;
  min-width: 0;
}

/* Defensive containment for theme wrappers with content-box sizing. */
#kimama-start,
.kimama-afterglobe {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  #kimama-start,
  .kimama-afterglobe {
    overflow-x: hidden;
  }
}


/* =========================================================
   KIMAMA 3D STAGE 4.2
   Compact handoff / true full bleed / overflow cleanup
   ========================================================= */

/* Keep the cinematic sections edge-to-edge without a page-level
   horizontal scrollbar caused by 100vw on desktop browsers. */
body.home {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  body.home {
    overflow-x: hidden;
  }
}

.kimama-afterglobe {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding-bottom: 0;

  /* Keep the story block dark. The light transition is now a
     separate, controlled strip at the bottom. */
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 187, 138, 0.08), transparent 30%),
    linear-gradient(180deg, #070b10 0%, #0b1017 100%);
}

.kimama-afterglobe::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 210px;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(11, 16, 23, 0) 0%,
      rgba(26, 30, 35, 0.82) 20%,
      rgba(99, 99, 96, 0.82) 56%,
      #f5f1e9 100%
    );
}

.kimama-afterglobe__inner,
.kimama-afterglobe__handoff {
  position: relative;
  z-index: 1;
}

/* The handoff is now a short landing strip rather than a large empty field. */
.kimama-afterglobe__handoff {
  min-height: 210px;
  margin: 38px auto 0;
  padding: 76px 0 54px;
  box-sizing: border-box;
  color: rgba(244, 240, 232, 0.56);
}

.kimama-afterglobe__handoff i {
  background: rgba(244, 240, 232, 0.24);
}

/* Make the three labels readable while still quiet. */
.kimama-afterglobe__handoff span {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.34);
}

/* The existing HOME content should begin soon after the cinematic handoff. */
.kimama-afterglobe + p {
  margin-top: clamp(42px, 5vw, 72px);
}

@media screen and (max-width: 834px) {
  .kimama-afterglobe {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    padding-bottom: 0;
    background:
      radial-gradient(circle at 50% 12%, rgba(217, 187, 138, 0.07), transparent 26%),
      #070b10;
  }

  .kimama-afterglobe::after {
    height: 165px;
    background:
      linear-gradient(
        180deg,
        rgba(11, 16, 23, 0) 0%,
        rgba(42, 45, 47, 0.78) 30%,
        #f5f1e9 100%
      );
  }

  .kimama-afterglobe__handoff {
    min-height: 165px;
    margin-top: 28px;
    padding: 56px 0 38px;
  }
}


/* =========================================================
   KIMAMA 3D STAGE 5
   03 WAYS TO TRAVEL / editorial category cards
   ========================================================= */

.kimama-paths {
  position: relative;
  width: 100vw;
  max-width: none;
  margin: clamp(90px, 10vw, 160px) 0 clamp(100px, 11vw, 170px) calc(50% - 50vw);
  padding: clamp(86px, 9vw, 145px) max(6vw, 34px) clamp(96px, 10vw, 160px);
  box-sizing: border-box;
  overflow: hidden;
  background: #f4f0e8;
  color: #17191c;
}

.kimama-paths::before {
  content: "";
  position: absolute;
  left: max(6vw, 34px);
  right: max(6vw, 34px);
  top: 0;
  height: 1px;
  background: rgba(23, 25, 28, 0.16);
}

.kimama-paths__inner {
  width: min(1540px, 100%);
  margin: 0 auto;
}

.kimama-paths__header {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(380px, 1.28fr);
  column-gap: clamp(52px, 7vw, 128px);
  align-items: end;
  margin-bottom: clamp(72px, 8vw, 124px);
}

.kimama-paths__eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 18px;
  font-size: 9px;
  letter-spacing: 0.26em;
  color: #9a7849;
}

.kimama-paths .kimama-paths__title {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-size: clamp(42px, 4.2vw, 72px);
  line-height: 1.38;
  letter-spacing: 0.035em;
  font-weight: 500;
  color: #17191c !important;
}

.kimama-paths .kimama-paths__title::before,
.kimama-paths .kimama-paths__title::after {
  content: none !important;
  display: none !important;
}

.kimama-paths__intro {
  margin: 0 0 7px;
  max-width: 600px;
  font-size: clamp(14px, 1.04vw, 17px);
  line-height: 2.05;
  letter-spacing: 0.035em;
  color: rgba(23, 25, 28, 0.64);
}

.kimama-paths__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 2.25vw, 38px);
  align-items: start;
}

.kimama-path-card {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none !important;
}

.kimama-path-card--01 {
  grid-column: 1 / span 4;
}

.kimama-path-card--02 {
  grid-column: 5 / span 4;
  margin-top: clamp(70px, 7vw, 118px);
}

.kimama-path-card--03 {
  grid-column: 9 / span 4;
  margin-top: clamp(20px, 2.5vw, 44px);
}

.kimama-path-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: #d8d2c8;
}

.kimama-path-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(8, 10, 12, 0.42) 100%);
  pointer-events: none;
}

.kimama-path-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transform: scale(1.025);
  transition: transform 900ms cubic-bezier(.2,.72,.24,1), filter 500ms ease;
}

.kimama-path-card:hover .kimama-path-card__media img {
  transform: scale(1.065);
  filter: saturate(0.98) contrast(1.035);
}

.kimama-path-card__number {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 3vw, 54px);
  line-height: 1;
  color: rgba(244, 240, 232, 0.82);
}

.kimama-path-card__body {
  padding: 22px 3px 0;
}

.kimama-path-card__label {
  display: block;
  margin-bottom: 11px;
  font-size: 8px;
  letter-spacing: 0.24em;
  color: #9a7849;
}

.kimama-path-card .kimama-path-card__title {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-size: clamp(25px, 2vw, 34px);
  line-height: 1.45;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: #17191c !important;
}

.kimama-path-card .kimama-path-card__title::before,
.kimama-path-card .kimama-path-card__title::after {
  content: none !important;
  display: none !important;
}

.kimama-path-card__description {
  min-height: 7.8em;
  margin: 17px 0 0;
  font-size: 13px;
  line-height: 1.95;
  letter-spacing: 0.025em;
  color: rgba(23, 25, 28, 0.62);
}

.kimama-path-card__link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(23, 25, 28, 0.25);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(23, 25, 28, 0.72);
  transition: color 220ms ease, border-color 220ms ease, gap 220ms ease;
}

.kimama-path-card__link b {
  font-size: 13px;
  font-weight: 400;
  color: #9a7849;
}

.kimama-path-card:hover .kimama-path-card__link {
  gap: 23px;
  color: #9a7849;
  border-bottom-color: #9a7849;
}

/* Entrance is intentionally quiet. */
.kimama-paths__header,
.kimama-path-card {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

.kimama-paths.is-visible .kimama-paths__header {
  animation: kimamaPathsIn 760ms cubic-bezier(.18,.78,.22,1) forwards;
}

.kimama-paths.is-visible .kimama-path-card--01 {
  animation: kimamaPathsIn 820ms 80ms cubic-bezier(.18,.78,.22,1) forwards;
}

.kimama-paths.is-visible .kimama-path-card--02 {
  animation: kimamaPathsIn 880ms 150ms cubic-bezier(.18,.78,.22,1) forwards;
}

.kimama-paths.is-visible .kimama-path-card--03 {
  animation: kimamaPathsIn 920ms 220ms cubic-bezier(.18,.78,.22,1) forwards;
}

@keyframes kimamaPathsIn {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media screen and (max-width: 1000px) {
  .kimama-paths__header {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .kimama-paths__intro {
    max-width: 680px;
  }

  .kimama-paths__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 54px 26px;
  }

  .kimama-path-card--01,
  .kimama-path-card--02,
  .kimama-path-card--03 {
    grid-column: auto;
    margin-top: 0;
  }

  .kimama-path-card--03 {
    grid-column: 1 / -1;
    width: calc(50% - 13px);
    justify-self: center;
  }
}

@media screen and (max-width: 640px) {
  .kimama-paths {
    margin-top: 72px;
    margin-bottom: 92px;
    padding: 72px 22px 90px;
  }

  .kimama-paths::before {
    left: 22px;
    right: 22px;
  }

  .kimama-paths__header {
    margin-bottom: 58px;
  }

  .kimama-paths__title {
    font-size: clamp(38px, 11vw, 52px) !important;
  }

  .kimama-paths__grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .kimama-path-card--03 {
    grid-column: auto;
    width: auto;
  }

  .kimama-path-card__media {
    aspect-ratio: 4 / 4.7;
  }

  .kimama-path-card__description {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kimama-paths__header,
  .kimama-path-card {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .kimama-path-card__media img,
  .kimama-path-card__link {
    transition: none;
  }
}


/* =========================================================
   KIMAMA 3D STAGE 6
   HOME manifesto / hide HOME TOC / closing ABOUT
   ========================================================= */

/* HOME is a landing page, not a long-form article.
   Individual post TOCs are untouched because these assets load on HOME only. */
body.home .toc,
body.home #toc,
body.home .toc-box,
body.home .toc-widget-box {
  display: none !important;
}

/* -------------------------
   MANIFESTO
   ------------------------- */

.kimama-manifesto {
  position: relative;
  width: 100vw;
  max-width: none;
  margin: 0 0 clamp(90px, 9vw, 150px) calc(50% - 50vw);
  padding: clamp(92px, 10vw, 158px) max(6vw, 34px);
  box-sizing: border-box;
  overflow: hidden;
  background: #fbfaf7;
  color: #17191c;
}

.kimama-manifesto::before {
  content: "";
  position: absolute;
  left: max(6vw, 34px);
  right: max(6vw, 34px);
  top: 0;
  height: 1px;
  background: rgba(23, 25, 28, 0.13);
}

.kimama-manifesto__inner {
  width: min(1500px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(520px, 1.12fr) minmax(380px, 0.88fr);
  gap: clamp(64px, 8vw, 132px);
  align-items: center;
}

.kimama-manifesto__visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 560px;
  background: #ddd7cc;
}

.kimama-manifesto__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 60%, rgba(8, 10, 12, 0.36) 100%);
  pointer-events: none;
}

.kimama-manifesto__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: saturate(0.87) contrast(1.02);
  transform: scale(1.025);
  transition: transform 1.15s cubic-bezier(.2,.72,.24,1);
}

.kimama-manifesto__visual:hover img {
  transform: scale(1.055);
}

.kimama-manifesto__visual figcaption {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 20px;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(244, 240, 232, 0.78);
}

.kimama-manifesto__copy {
  max-width: 580px;
}

.kimama-manifesto__eyebrow {
  margin: 0 0 24px;
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.24em;
  color: #9a7849;
}

.kimama-manifesto .kimama-manifesto__title {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-size: clamp(42px, 4.1vw, 70px);
  line-height: 1.4;
  letter-spacing: 0.035em;
  font-weight: 500;
  color: #17191c !important;
}

.kimama-manifesto .kimama-manifesto__title::before,
.kimama-manifesto .kimama-manifesto__title::after {
  content: none !important;
  display: none !important;
}

.kimama-manifesto__lead {
  margin: 38px 0 0;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 2.05;
  letter-spacing: 0.03em;
  color: rgba(23, 25, 28, 0.76);
}

.kimama-manifesto__note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  font-size: 7px;
  letter-spacing: 0.2em;
  color: rgba(154, 120, 73, 0.84);
}

.kimama-manifesto__note i {
  width: 54px;
  height: 1px;
  background: rgba(154, 120, 73, 0.36);
}

.kimama-manifesto__body {
  margin: 0;
  font-size: 13px;
  line-height: 2.1;
  letter-spacing: 0.025em;
  color: rgba(23, 25, 28, 0.58);
}

/* -------------------------
   ABOUT
   ------------------------- */

.kimama-about {
  position: relative;
  width: 100vw;
  max-width: none;
  margin: 0 0 0 calc(50% - 50vw);
  padding: clamp(100px, 11vw, 180px) max(6vw, 34px) clamp(74px, 8vw, 126px);
  box-sizing: border-box;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(217, 187, 138, 0.07), transparent 30%),
    #080c11;
  color: #f4f0e8;
}

.kimama-about::before {
  content: "";
  position: absolute;
  left: max(6vw, 34px);
  right: max(6vw, 34px);
  top: 0;
  height: 1px;
  background: rgba(217, 187, 138, 0.28);
}

.kimama-about__inner {
  width: min(1500px, 100%);
  margin: 0 auto;
}

.kimama-about__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: clamp(64px, 7vw, 112px);
}

.kimama-about__eyebrow,
.kimama-about__since {
  margin: 0;
  font-size: 8px;
  line-height: 1.8;
  letter-spacing: 0.24em;
  color: #d9bb8a;
}

.kimama-about__since {
  text-align: right;
  color: rgba(244, 240, 232, 0.4);
}

.kimama-about__main {
  display: grid;
  grid-template-columns: minmax(520px, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(60px, 8vw, 140px);
  align-items: end;
}

.kimama-about .kimama-about__title {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-size: clamp(44px, 4.8vw, 82px);
  line-height: 1.45;
  letter-spacing: 0.035em;
  font-weight: 500;
  color: #f4f0e8 !important;
}

.kimama-about .kimama-about__title::before,
.kimama-about .kimama-about__title::after {
  content: none !important;
  display: none !important;
}

.kimama-about__copy {
  padding-bottom: 8px;
}

.kimama-about__copy p {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 2.1;
  letter-spacing: 0.03em;
  color: rgba(244, 240, 232, 0.62);
}

.kimama-about__cta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 20px;
  padding: 12px 0 8px;
  border-bottom: 1px solid rgba(217, 187, 138, 0.5);
  color: #f4f0e8;
  text-decoration: none !important;
  font-size: 10px;
  letter-spacing: 0.14em;
  transition: gap 220ms ease, color 220ms ease, border-color 220ms ease;
}

.kimama-about__cta b {
  font-size: 14px;
  font-weight: 400;
  color: #d9bb8a;
}

.kimama-about__cta:hover {
  gap: 30px;
  color: #fff;
  border-bottom-color: #d9bb8a;
}

.kimama-about__footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: clamp(88px, 9vw, 142px);
  padding-top: 28px;
  border-top: 1px solid rgba(244, 240, 232, 0.09);
  font-size: 7px;
  letter-spacing: 0.21em;
  color: rgba(244, 240, 232, 0.32);
}

.kimama-about__footer i {
  width: clamp(28px, 4vw, 64px);
  height: 1px;
  background: rgba(244, 240, 232, 0.13);
}

/* Quiet entrance motion */
.kimama-manifesto__visual,
.kimama-manifesto__copy,
.kimama-about__meta,
.kimama-about__main,
.kimama-about__footer {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

.kimama-manifesto.is-visible .kimama-manifesto__visual {
  animation: kimamaStage6In 900ms cubic-bezier(.18,.78,.22,1) forwards;
}

.kimama-manifesto.is-visible .kimama-manifesto__copy {
  animation: kimamaStage6In 860ms 100ms cubic-bezier(.18,.78,.22,1) forwards;
}

.kimama-about.is-visible .kimama-about__meta {
  animation: kimamaStage6In 720ms cubic-bezier(.18,.78,.22,1) forwards;
}

.kimama-about.is-visible .kimama-about__main {
  animation: kimamaStage6In 900ms 90ms cubic-bezier(.18,.78,.22,1) forwards;
}

.kimama-about.is-visible .kimama-about__footer {
  animation: kimamaStage6In 720ms 180ms cubic-bezier(.18,.78,.22,1) forwards;
}

@keyframes kimamaStage6In {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Stage 5 now sits directly after the manifesto. */
.kimama-manifesto + .kimama-paths {
  margin-top: 0;
}

/* Avoid stray article spacing around the generated landing-page sections. */
.kimama-paths + .kimama-about {
  margin-top: 0;
}

@media screen and (max-width: 1000px) {
  .kimama-manifesto__inner,
  .kimama-about__main {
    grid-template-columns: 1fr;
  }

  .kimama-manifesto__visual {
    min-height: 480px;
  }

  .kimama-manifesto__visual img {
    min-height: 480px;
  }

  .kimama-manifesto__copy,
  .kimama-about__copy {
    max-width: 720px;
  }
}

@media screen and (max-width: 640px) {
  .kimama-manifesto {
    padding: 76px 22px 92px;
    margin-bottom: 0;
  }

  .kimama-manifesto::before,
  .kimama-about::before {
    left: 22px;
    right: 22px;
  }

  .kimama-manifesto__inner {
    gap: 48px;
  }

  .kimama-manifesto__visual,
  .kimama-manifesto__visual img {
    min-height: 340px;
  }

  .kimama-manifesto .kimama-manifesto__title {
    font-size: clamp(38px, 11vw, 52px);
  }

  .kimama-manifesto__lead br,
  .kimama-manifesto__body br,
  .kimama-about__copy br {
    display: none;
  }

  .kimama-manifesto__note {
    flex-wrap: wrap;
  }

  .kimama-about {
    padding: 82px 22px 62px;
  }

  .kimama-about__meta {
    margin-bottom: 58px;
  }

  .kimama-about__main {
    gap: 48px;
  }

  .kimama-about .kimama-about__title {
    font-size: clamp(39px, 11vw, 55px);
  }

  .kimama-about__footer {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 76px;
  }

  .kimama-about__footer i {
    width: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kimama-manifesto__visual,
  .kimama-manifesto__copy,
  .kimama-about__meta,
  .kimama-about__main,
  .kimama-about__footer {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .kimama-manifesto__visual img,
  .kimama-about__cta {
    transition: none;
  }
}


/* =========================================================
   KIMAMA 3D STAGE 6.1
   Make the 3D journey the true HOME first view.
   HOME only: hide Cocoon's standard site-logo header and
   singular page shell around the custom landing experience.
   ========================================================= */

/* Hide the large Cocoon site title / tagline area on HOME.
   #navi is rendered outside #header, so the navigation can remain. */
body.home #header {
  display: none !important;
}

/* Remove the standard fixed-page title, eye-catch,
   top SNS share buttons and date block.
   Cocoon outputs all of these inside .article-header. */
body.home article.article > .article-header {
  display: none !important;
}

/* HOME is now a designed landing page, so suppress Cocoon's
   default page footer share/follow/meta area as well.
   Individual posts and other pages are unaffected. */
body.home article.article > .article-footer {
  display: none !important;
}

/* Remove any residual top spacing left by the hidden header. */
body.home .article {
  margin-top: 0 !important;
}

body.home .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* If no global navigation is configured, collapse the otherwise
   empty header container. If a nav exists, it remains visible. */
body.home #header-container-in:has(#navi:empty),
body.home #header-container-in:has(.navi-in:empty) {
  min-height: 0 !important;
}


/* =========================================================
   KIMAMA 3D STAGE 6.2
   Final vertical rhythm / remove white seams
   ========================================================= */

/* The anchor is only a scroll target. It should occupy no visual space. */
body.home #kimama-start {
  display: block;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  line-height: 0 !important;
}

/* Cocoon/WordPress block spacing must not insert seams between
   the generated full-bleed landing-page sections. */
body.home .entry-content > .kimama-journey-shell,
body.home .entry-content > #kimama-start,
body.home .entry-content > .kimama-afterglobe,
body.home .entry-content > .kimama-manifesto,
body.home .entry-content > .kimama-paths,
body.home .entry-content > .kimama-about {
  margin-block-start: 0 !important;
}

/* Philosophy already has generous internal breathing room.
   Remove the large external white moat beneath it. */
body.home .kimama-manifesto {
  margin-bottom: 0 !important;
  padding-bottom: clamp(72px, 7vw, 110px);
}

/* Stage 5 previously carried large outside margins because it
   lived among ordinary WordPress blocks. It now sits between
   designed sections, so those outside gaps are unnecessary. */
body.home .kimama-paths {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: clamp(74px, 7.5vw, 116px);
  padding-bottom: clamp(82px, 8vw, 126px);
}

/* Let ABOUT begin immediately after the editorial cards. */
body.home .kimama-about {
  margin-top: 0 !important;
}

/* Remove occasional theme-generated bottom margins from the full-bleed bridge. */
body.home .kimama-afterglobe {
  margin-bottom: 0 !important;
}

/* The first cinematic block should meet the journey bridge without
   a white WordPress gutter. */
body.home .kimama-journey-shell + #kimama-start + .kimama-afterglobe {
  margin-top: 0 !important;
}

/* Keep the final Cocoon footer, but avoid an oversized white buffer
   between our ABOUT ending and that footer. */
body.home .kimama-about + * {
  margin-top: 0 !important;
}

@media screen and (max-width: 640px) {
  body.home .kimama-manifesto {
    padding-bottom: 68px;
  }

  body.home .kimama-paths {
    padding-top: 66px;
    padding-bottom: 76px;
  }
}


/* =========================================================
   KIMAMA 3D STAGE 6.3
   Cocoon shell cleanup + tighter final rhythm
   ========================================================= */

/* ---- 1. Collapse the empty Cocoon shell above the custom HOME ---- */

body.home #header-container,
body.home #header-container-in,
body.home .header-container,
body.home .header-container-in {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* If no menu is actually present, do not let the navigation shell
   reserve an empty row. A real menu with children remains untouched. */
body.home #navi:not(:has(a)),
body.home .navi:not(:has(a)),
body.home .navi-in:not(:has(a)) {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Cocoon normally gives the main content area article-style breathing room.
   HOME is now a full-bleed landing page, so remove only that outer spacing. */
body.home #content,
body.home .content,
body.home .content-in,
body.home #main,
body.home main.main,
body.home article.article,
body.home .entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.home #content,
body.home .content,
body.home .content-in,
body.home #main,
body.home main.main,
body.home article.article {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ---- 2. Remove the seam between generated cinematic sections ---- */

body.home .entry-content > .kimama-journey-shell,
body.home .entry-content > #kimama-start,
body.home .entry-content > .kimama-afterglobe,
body.home .entry-content > .kimama-manifesto,
body.home .entry-content > .kimama-paths,
body.home .entry-content > .kimama-about {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.home .kimama-journey-shell {
  margin-bottom: 0 !important;
}

body.home #kimama-start {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
}

/* ---- 3. Tighten the editorial sections without changing their design ---- */

body.home .kimama-manifesto {
  padding-top: clamp(72px, 7vw, 108px);
  padding-bottom: clamp(48px, 5vw, 76px);
}

body.home .kimama-paths {
  padding-top: clamp(56px, 5.8vw, 86px);
  padding-bottom: clamp(54px, 5.8vw, 88px);
}

body.home .kimama-paths__header {
  margin-bottom: clamp(52px, 5.5vw, 84px);
}

/* The stagger comes from the cards themselves, so the section no longer
   needs a large empty floor below them. */
body.home .kimama-path-card__description {
  min-height: 6.3em;
}

/* ABOUT keeps its cinematic scale, but starts sooner. */
body.home .kimama-about {
  padding-top: clamp(72px, 7.5vw, 116px);
  padding-bottom: clamp(62px, 6.5vw, 96px);
}

body.home .kimama-about__meta {
  margin-bottom: clamp(48px, 5vw, 78px);
}

body.home .kimama-about__footer {
  margin-top: clamp(62px, 6vw, 92px);
}

/* ---- 4. Let ABOUT meet the real Cocoon footer cleanly ---- */

body.home #footer,
body.home .footer,
body.home .footer-bottom,
body.home .footer-bottom-content {
  margin-top: 0 !important;
}

body.home .content-bottom,
body.home .content-bottom-in,
body.home .main-scroll {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Remove an empty spacer immediately between the custom ABOUT and footer
   when Cocoon inserts one. */
body.home .kimama-about ~ .content-bottom:empty,
body.home .kimama-about ~ .content-bottom-in:empty {
  display: none !important;
}

@media screen and (max-width: 640px) {
  body.home .kimama-manifesto {
    padding-top: 64px;
    padding-bottom: 52px;
  }

  body.home .kimama-paths {
    padding-top: 58px;
    padding-bottom: 66px;
  }

  body.home .kimama-about {
    padding-top: 68px;
    padding-bottom: 56px;
  }
}


/* =========================================================
   KIMAMA 3D STAGE 7
   Automatically updated LATEST STORIES
   ========================================================= */

.kimama-latest {
  position: relative;
  width: 100vw;
  max-width: none;
  margin: 0 0 0 calc(50% - 50vw);
  padding: clamp(78px, 8vw, 126px) max(6vw, 34px) clamp(86px, 8vw, 132px);
  box-sizing: border-box;
  overflow: hidden;
  background: #fbfaf7;
  color: #17191c;
}

.kimama-latest::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(6vw, 34px);
  right: max(6vw, 34px);
  height: 1px;
  background: rgba(23, 25, 28, 0.13);
}

.kimama-latest__inner {
  width: min(1500px, 100%);
  margin: 0 auto;
}

.kimama-latest__header {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(340px, 0.72fr);
  gap: clamp(56px, 8vw, 140px);
  align-items: end;
  margin-bottom: clamp(54px, 6vw, 92px);
}

.kimama-latest__eyebrow {
  margin: 0 0 20px;
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.24em;
  color: #9a7849;
}

.kimama-latest .kimama-latest__title {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-size: clamp(43px, 4.5vw, 76px);
  line-height: 1.35;
  letter-spacing: 0.035em;
  font-weight: 500;
  color: #17191c !important;
}

.kimama-latest .kimama-latest__title::before,
.kimama-latest .kimama-latest__title::after {
  content: none !important;
  display: none !important;
}

.kimama-latest__intro {
  margin: 0;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.03em;
  color: rgba(23, 25, 28, 0.56);
}

.kimama-latest__content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
  gap: clamp(42px, 5vw, 82px);
  align-items: stretch;
}

.kimama-latest__feature,
.kimama-latest__row {
  color: inherit;
  text-decoration: none !important;
}

.kimama-latest__feature {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.kimama-latest__feature-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(154, 120, 73, 0.15), rgba(23, 25, 28, 0.07)),
    #e6e0d6;
}

.kimama-latest__feature-media img,
.kimama-latest__row-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.015);
  transition:
    transform 900ms cubic-bezier(.2,.72,.24,1),
    filter 350ms ease;
}

.kimama-latest__feature:hover .kimama-latest__feature-media img,
.kimama-latest__row:hover .kimama-latest__row-media img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.025);
}

.kimama-latest__feature-body {
  padding-top: 22px;
}

.kimama-latest__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 15px;
  min-width: 0;
  margin-bottom: 13px;
  font-size: 7px;
  line-height: 1.5;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(23, 25, 28, 0.42);
}

.kimama-latest__number {
  color: #9a7849;
}

.kimama-latest__category {
  color: rgba(154, 120, 73, 0.9);
}

.kimama-latest__date {
  margin-left: auto;
}

.kimama-latest__feature-title,
.kimama-latest__row-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  font-weight: 500;
  color: #17191c;
}

.kimama-latest__feature-title {
  margin: 0;
  max-width: 900px;
  font-size: clamp(24px, 2.25vw, 38px);
  line-height: 1.6;
  letter-spacing: 0.018em;
}

.kimama-latest__read {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  margin-top: 19px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(154, 120, 73, 0.42);
  font-size: 7px;
  letter-spacing: 0.18em;
  color: rgba(23, 25, 28, 0.48);
  transition: color 180ms ease, gap 180ms ease, border-color 180ms ease;
}

.kimama-latest__read b {
  font-size: 12px;
  font-weight: 400;
  color: #9a7849;
}

.kimama-latest__feature:hover .kimama-latest__read,
.kimama-latest__row:hover .kimama-latest__read {
  gap: 17px;
  color: #17191c;
  border-bottom-color: #9a7849;
}

.kimama-latest__rail {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(23, 25, 28, 0.12);
}

.kimama-latest__row {
  display: grid;
  grid-template-columns: minmax(130px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(20px, 2.4vw, 34px);
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(23, 25, 28, 0.12);
}

.kimama-latest__row-media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(154, 120, 73, 0.15), rgba(23, 25, 28, 0.07)),
    #e6e0d6;
}

.kimama-latest__row-title {
  margin: 0;
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.7;
  letter-spacing: 0.015em;
}

.kimama-latest__row .kimama-latest__read {
  margin-top: 12px;
}

/* Loading skeleton. It disappears completely once REST/fallback data arrives. */
.kimama-latest__skeleton {
  pointer-events: none;
}

.kimama-latest__skeleton-media,
.kimama-latest__skeleton-thumb,
.kimama-latest__skeleton-line {
  position: relative;
  overflow: hidden;
  background: rgba(23, 25, 28, 0.075);
}

.kimama-latest__skeleton-media {
  aspect-ratio: 16 / 10;
}

.kimama-latest__skeleton-thumb {
  aspect-ratio: 4 / 3;
}

.kimama-latest__skeleton-line {
  height: 11px;
  margin-top: 12px;
}

.kimama-latest__skeleton-line--short {
  width: 38%;
}

.kimama-latest:not(.is-ready) .kimama-latest__skeleton-media::after,
.kimama-latest:not(.is-ready) .kimama-latest__skeleton-thumb::after,
.kimama-latest:not(.is-ready) .kimama-latest__skeleton-line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: kimamaLatestShimmer 1.45s ease-in-out infinite;
}

.kimama-latest__skeleton-copy {
  min-width: 0;
}

@keyframes kimamaLatestShimmer {
  to {
    transform: translateX(100%);
  }
}

/* Quiet reveal once content has loaded. */
.kimama-latest__header,
.kimama-latest.is-ready .kimama-latest__feature,
.kimama-latest.is-ready .kimama-latest__row {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}

.kimama-latest.is-visible .kimama-latest__header {
  animation: kimamaLatestIn 720ms cubic-bezier(.18,.78,.22,1) forwards;
}

.kimama-latest.is-visible .kimama-latest__feature {
  animation: kimamaLatestIn 860ms 80ms cubic-bezier(.18,.78,.22,1) forwards;
}

.kimama-latest.is-visible .kimama-latest__row:nth-child(1) {
  animation: kimamaLatestIn 700ms 150ms cubic-bezier(.18,.78,.22,1) forwards;
}

.kimama-latest.is-visible .kimama-latest__row:nth-child(2) {
  animation: kimamaLatestIn 700ms 220ms cubic-bezier(.18,.78,.22,1) forwards;
}

.kimama-latest.is-visible .kimama-latest__row:nth-child(3) {
  animation: kimamaLatestIn 700ms 290ms cubic-bezier(.18,.78,.22,1) forwards;
}

@keyframes kimamaLatestIn {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Stage 7 belongs directly between Stage 5 and ABOUT. */
body.home .entry-content > .kimama-latest {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.home .kimama-paths + .kimama-latest,
body.home .kimama-latest + .kimama-about {
  margin-top: 0 !important;
}

@media screen and (max-width: 1000px) {
  .kimama-latest__header,
  .kimama-latest__content {
    grid-template-columns: 1fr;
  }

  .kimama-latest__intro {
    max-width: 660px;
  }

  .kimama-latest__row {
    grid-template-columns: minmax(150px, 0.32fr) minmax(0, 0.68fr);
  }
}

@media screen and (max-width: 640px) {
  .kimama-latest {
    padding: 68px 22px 78px;
  }

  .kimama-latest::before {
    left: 22px;
    right: 22px;
  }

  .kimama-latest__header {
    gap: 28px;
    margin-bottom: 48px;
  }

  .kimama-latest .kimama-latest__title {
    font-size: clamp(38px, 11vw, 52px);
  }

  .kimama-latest__intro br {
    display: none;
  }

  .kimama-latest__content {
    gap: 46px;
  }

  .kimama-latest__feature-title {
    font-size: 24px;
  }

  .kimama-latest__row {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 18px;
    padding: 20px 0;
  }

  .kimama-latest__row-title {
    font-size: 15px;
    line-height: 1.65;
  }

  .kimama-latest__meta {
    gap: 6px 9px;
    font-size: 6px;
    letter-spacing: 0.12em;
  }

  .kimama-latest__date {
    width: 100%;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kimama-latest__header,
  .kimama-latest.is-ready .kimama-latest__feature,
  .kimama-latest.is-ready .kimama-latest__row {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .kimama-latest:not(.is-ready) .kimama-latest__skeleton-media::after,
  .kimama-latest:not(.is-ready) .kimama-latest__skeleton-thumb::after,
  .kimama-latest:not(.is-ready) .kimama-latest__skeleton-line::after {
    animation: none;
  }

  .kimama-latest__feature-media img,
  .kimama-latest__row-media img,
  .kimama-latest__read {
    transition: none;
  }
}


/* =========================================================
   KIMAMA 3D STAGE 7.1
   Reset Cocoon H3 decorations inside LATEST STORIES
   ========================================================= */

.kimama-latest .kimama-latest__feature-title,
.kimama-latest .kimama-latest__row-title {
  display: block;
  width: auto;
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none;
}

.kimama-latest .kimama-latest__feature-title::before,
.kimama-latest .kimama-latest__feature-title::after,
.kimama-latest .kimama-latest__row-title::before,
.kimama-latest .kimama-latest__row-title::after {
  content: none !important;
  display: none !important;
}

/* Feature story gets an editorial line rather than a boxed heading. */
.kimama-latest__feature-title {
  margin-top: 4px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(23, 25, 28, 0.12) !important;
}

/* Side stories stay compact and magazine-like. */
.kimama-latest__row-title {
  margin-top: 3px !important;
}

/* Slightly improve long Japanese titles on desktop. */
@media screen and (min-width: 1001px) {
  .kimama-latest__feature-title {
    max-width: 880px;
    font-size: clamp(23px, 1.9vw, 34px);
    line-height: 1.65;
  }

  .kimama-latest__row-title {
    font-size: clamp(15px, 1.05vw, 19px);
    line-height: 1.72;
  }
}


/* =========================================================
   KIMAMA 3D STAGE 8
   Mobile / touch optimization
   Desktop styles above remain the source of truth.
   ========================================================= */

@media screen and (max-width: 834px) {
  html,
  body.home {
    max-width: 100%;
    overflow-x: clip;
  }

  @supports not (overflow: clip) {
    html,
    body.home {
      overflow-x: hidden;
    }
  }

  body.home *,
  body.home *::before,
  body.home *::after {
    box-sizing: border-box;
  }

  /* -------------------------
     3D HERO / TOUCH
     ------------------------- */

  .kimama-journey-shell {
    height: 280svh;
  }

  .kimama-journey-shell > .kimama-hero {
    height: 100svh;
    min-height: 620px;
  }

  .kimama-hero {
    min-height: 620px;
    background:
      radial-gradient(circle at 58% 27%, rgba(70, 85, 105, 0.20), transparent 34%),
      linear-gradient(165deg, #05080d 0%, #090f18 62%, #0e1115 100%);
  }

  .kimama-hero__canvas {
    touch-action: pan-y;
  }

  .kimama-hero__shade {
    background:
      linear-gradient(
        0deg,
        rgba(4, 7, 11, 0.92) 0%,
        rgba(4, 7, 11, 0.58) 32%,
        rgba(4, 7, 11, 0.12) 67%,
        rgba(4, 7, 11, 0.04) 100%
      );
  }

  .kimama-hero__copy {
    left: 22px;
    right: 22px;
    bottom: max(112px, calc(env(safe-area-inset-bottom) + 98px));
    width: auto;
  }

  .kimama-hero__eyebrow {
    margin-bottom: 14px;
    font-size: 9px;
    letter-spacing: 0.20em;
  }

  .kimama-hero__title {
    max-width: 9.8em;
    font-size: clamp(36px, 10.4vw, 50px);
    line-height: 1.32;
    letter-spacing: 0.015em;
  }

  .kimama-hero__lead {
    max-width: 29em;
    margin-top: 18px;
    font-size: 12.5px;
    line-height: 1.9;
    letter-spacing: 0.035em;
  }

  .kimama-hero__route {
    left: 22px;
    right: 22px;
    bottom: max(28px, calc(env(safe-area-inset-bottom) + 20px));
    min-height: 20px;
    gap: 8px;
    font-size: 7px;
    letter-spacing: 0.13em;
  }

  .kimama-hero__route span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .kimama-journey-hud {
    left: 22px;
    right: 22px;
    bottom: max(78px, calc(env(safe-area-inset-bottom) + 68px));
  }

  .kimama-journey-hud__chapter {
    margin-bottom: 9px;
    font-size: 8px;
    letter-spacing: 0.19em;
  }

  .kimama-journey-hud__city {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: keep-all;
    font-size: clamp(37px, 11.7vw, 54px);
    line-height: 1;
  }

  .kimama-journey-hud__country {
    margin-top: 10px;
    font-size: 8px;
    letter-spacing: 0.2em;
  }

  .kimama-journey-hud__story,
  .kimama-journey-hud__full {
    min-height: 42px;
    margin-top: 10px;
    padding: 12px 2px 7px;
    font-size: 8px;
    letter-spacing: 0.15em;
  }

  .kimama-journey-hud__full {
    margin-top: 3px;
  }

  /* -------------------------
     JOURNEY CONTINUES
     ------------------------- */

  .kimama-afterglobe {
    padding: 64px 22px 0;
  }

  .kimama-afterglobe__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .kimama-afterglobe__copy {
    max-width: 100%;
  }

  .kimama-afterglobe__title {
    font-size: clamp(34px, 9.5vw, 48px);
    line-height: 1.48;
  }

  .kimama-afterglobe__route {
    margin-top: 23px;
    font-size: 6.5px;
    line-height: 2.05;
    letter-spacing: 0.12em;
    overflow-wrap: anywhere;
  }

  .kimama-afterglobe__lead {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.95;
  }

  .kimama-afterglobe__cta {
    min-height: 44px;
    margin-top: 25px;
    padding: 12px 0 8px;
  }

  .kimama-afterglobe__visual,
  .kimama-afterglobe__visual img {
    min-height: 260px;
  }

  .kimama-afterglobe__visual {
    aspect-ratio: 4 / 3;
  }

  .kimama-afterglobe__visual img {
    object-position: 46% center;
  }

  .kimama-afterglobe__handoff {
    min-height: 145px;
    margin-top: 24px;
    padding: 48px 0 30px;
    font-size: 6px;
    letter-spacing: 0.11em;
  }

  .kimama-afterglobe::after {
    height: 145px;
  }

  /* -------------------------
     TRAVEL PHILOSOPHY
     ------------------------- */

  body.home .kimama-manifesto {
    padding: 62px 22px 64px;
  }

  .kimama-manifesto__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .kimama-manifesto__copy {
    order: 1;
  }

  .kimama-manifesto__visual {
    order: 2;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .kimama-manifesto__visual img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .kimama-manifesto__eyebrow {
    margin-bottom: 17px;
    font-size: 7px;
    letter-spacing: 0.19em;
  }

  .kimama-manifesto .kimama-manifesto__title {
    font-size: clamp(36px, 10.4vw, 49px);
    line-height: 1.42;
  }

  .kimama-manifesto__lead {
    margin-top: 27px;
    font-size: 14px;
    line-height: 1.95;
  }

  .kimama-manifesto__note {
    gap: 9px;
    margin: 21px 0;
    font-size: 6px;
    letter-spacing: 0.13em;
  }

  .kimama-manifesto__note i {
    width: 30px;
  }

  .kimama-manifesto__body {
    font-size: 12.5px;
    line-height: 1.95;
  }

  /* -------------------------
     03 WAYS TO TRAVEL
     ------------------------- */

  body.home .kimama-paths {
    padding: 58px 22px 68px;
  }

  .kimama-paths__header {
    row-gap: 22px;
    margin-bottom: 44px;
  }

  .kimama-paths__eyebrow {
    margin-bottom: 10px;
    font-size: 7px;
    letter-spacing: 0.2em;
  }

  .kimama-paths .kimama-paths__title {
    font-size: clamp(36px, 10.3vw, 49px) !important;
    line-height: 1.43;
  }

  .kimama-paths__intro {
    font-size: 13px;
    line-height: 1.9;
  }

  .kimama-paths__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .kimama-path-card--01,
  .kimama-path-card--02,
  .kimama-path-card--03 {
    grid-column: auto;
    width: 100%;
    margin-top: 0;
  }

  .kimama-path-card__media {
    aspect-ratio: 16 / 11;
  }

  .kimama-path-card__number {
    right: 14px;
    bottom: 10px;
    font-size: 38px;
  }

  .kimama-path-card__body {
    padding-top: 18px;
  }

  .kimama-path-card .kimama-path-card__title {
    font-size: 27px;
  }

  body.home .kimama-path-card__description {
    min-height: 0;
    margin-top: 12px;
    font-size: 12.5px;
    line-height: 1.9;
  }

  .kimama-path-card__link {
    min-height: 42px;
    margin-top: 14px;
    padding-top: 10px;
  }

  /* -------------------------
     LATEST STORIES
     ------------------------- */

  .kimama-latest {
    padding: 62px 22px 70px;
  }

  .kimama-latest__header {
    gap: 22px;
    margin-bottom: 42px;
  }

  .kimama-latest__eyebrow {
    margin-bottom: 14px;
    font-size: 7px;
    letter-spacing: 0.19em;
  }

  .kimama-latest .kimama-latest__title {
    font-size: clamp(36px, 10.4vw, 49px);
  }

  .kimama-latest__intro {
    font-size: 12.5px;
    line-height: 1.9;
  }

  .kimama-latest__content {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .kimama-latest__feature-media {
    aspect-ratio: 4 / 3;
  }

  .kimama-latest__feature-title {
    font-size: 22px !important;
    line-height: 1.65 !important;
    padding-top: 14px !important;
  }

  .kimama-latest__rail {
    width: 100%;
  }

  .kimama-latest__row {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0;
  }

  .kimama-latest__row-media {
    aspect-ratio: 1 / 1;
  }

  .kimama-latest__row-title {
    font-size: 14.5px !important;
    line-height: 1.62 !important;
  }

  .kimama-latest__meta {
    gap: 5px 8px;
    margin-bottom: 8px;
    font-size: 5.8px;
    letter-spacing: 0.1em;
  }

  .kimama-latest__date {
    width: auto;
    margin-left: auto;
  }

  .kimama-latest__read {
    min-height: 36px;
    margin-top: 8px;
    padding-top: 9px;
  }

  /* -------------------------
     ABOUT / ENDING
     ------------------------- */

  body.home .kimama-about {
    padding: 64px 22px 54px;
  }

  .kimama-about__meta {
    margin-bottom: 48px;
  }

  .kimama-about__eyebrow,
  .kimama-about__since {
    font-size: 6.5px;
    letter-spacing: 0.16em;
  }

  .kimama-about__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .kimama-about .kimama-about__title {
    font-size: clamp(37px, 10.5vw, 50px);
    line-height: 1.48;
  }

  .kimama-about__copy p {
    margin-bottom: 16px;
    font-size: 12.5px;
    line-height: 1.95;
  }

  .kimama-about__cta {
    min-height: 44px;
    margin-top: 12px;
    padding: 12px 0 8px;
  }

  .kimama-about__footer {
    gap: 8px;
    margin-top: 52px;
    padding-top: 24px;
    font-size: 5.8px;
    letter-spacing: 0.12em;
  }

  .kimama-about__footer i {
    width: 18px;
  }

  /* Native Cocoon footer gets a little less air on mobile. */
  body.home #footer,
  body.home .footer {
    min-height: 0;
  }
}


/* Extra-narrow phones */
@media screen and (max-width: 430px) {
  .kimama-hero__copy {
    left: 18px;
    right: 18px;
  }

  .kimama-hero__title {
    font-size: clamp(34px, 10.8vw, 46px);
  }

  .kimama-hero__lead {
    max-width: 25em;
    font-size: 12px;
  }

  .kimama-hero__route,
  .kimama-journey-hud {
    left: 18px;
    right: 18px;
  }

  .kimama-journey-hud__city {
    font-size: clamp(34px, 11.5vw, 48px);
  }

  .kimama-afterglobe,
  body.home .kimama-manifesto,
  body.home .kimama-paths,
  .kimama-latest,
  body.home .kimama-about {
    padding-left: 18px;
    padding-right: 18px;
  }

  .kimama-latest__row {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 13px;
  }

  .kimama-latest__row-title {
    font-size: 13.5px !important;
  }

  .kimama-about__meta {
    gap: 14px;
  }
}


/* Touch devices: do not depend on hover to communicate interaction. */
@media (hover: none) and (pointer: coarse) {
  .kimama-path-card__link,
  .kimama-latest__read,
  .kimama-afterglobe__cta,
  .kimama-about__cta {
    color: inherit;
  }

  .kimama-path-card__media img,
  .kimama-latest__feature-media img,
  .kimama-latest__row-media img,
  .kimama-afterglobe__visual img,
  .kimama-manifesto__visual img {
    transform: none;
  }
}


/* =========================================================
   KIMAMA 3D STAGE 8.1
   Real-device polish
   ========================================================= */

@media screen and (max-width: 834px) {
  /* HOME is an immersive landing page. Hide Cocoon's fixed footer
     mobile buttons here only; posts and other pages keep them. */
  body.home .mobile-footer-menu-buttons {
    display: none !important;
  }

  /* Cocoon may reserve space for the fixed mobile footer buttons.
     HOME no longer needs that reservation. */
  body.home {
    padding-bottom: 0 !important;
  }

  /* With the fixed button bar gone, the final Cocoon footer can sit
     naturally at the bottom without an artificial mobile offset. */
  body.home #footer,
  body.home .footer {
    margin-bottom: 0 !important;
    padding-bottom: max(18px, env(safe-area-inset-bottom)) !important;
  }
}


/* =========================================================
   KIMAMA 3D STAGE 8.2
   Touch city selection card
   ========================================================= */

.kimama-mobile-city-card {
  display: none;
}

@media screen and (max-width: 834px) {
  .kimama-mobile-city-card {
    position: absolute;
    z-index: 9;
    top: max(18px, env(safe-area-inset-top));
    left: 18px;
    right: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 18px;
    align-items: center;
    padding: 17px 48px 16px 17px;
    border: 1px solid rgba(217, 187, 138, 0.30);
    background: rgba(5, 9, 15, 0.88);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #f4f0e8;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -8px, 0);
    pointer-events: none;
    transition:
      opacity 180ms ease,
      transform 220ms cubic-bezier(.18,.78,.22,1),
      visibility 180ms ease;
  }

  .kimama-mobile-city-card.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }

  .kimama-mobile-city-card__meta {
    min-width: 0;
  }

  .kimama-mobile-city-card__city,
  .kimama-mobile-city-card__country,
  .kimama-mobile-city-card__visits {
    display: block;
  }

  .kimama-mobile-city-card__city {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: 0.04em;
    font-weight: 400;
  }

  .kimama-mobile-city-card__country {
    margin-top: 5px;
    font-size: 7px;
    line-height: 1.4;
    letter-spacing: 0.20em;
    color: rgba(244, 240, 232, 0.54);
  }

  .kimama-mobile-city-card__visits {
    margin-top: 7px;
    font-size: 7px;
    line-height: 1.4;
    letter-spacing: 0.15em;
    color: #d9bb8a;
  }

  .kimama-mobile-city-card__story,
  .kimama-mobile-city-card__visited {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 10px 0 7px;
    border-bottom: 1px solid rgba(217, 187, 138, 0.54);
    color: #f4f0e8;
    text-decoration: none !important;
    font-size: 7px;
    letter-spacing: 0.16em;
    white-space: nowrap;
  }

  .kimama-mobile-city-card__visited {
    border-bottom-color: transparent;
    color: rgba(244, 240, 232, 0.48);
  }

  .kimama-mobile-city-card__story[hidden],
  .kimama-mobile-city-card__visited[hidden],
  .kimama-mobile-city-card__visits[hidden] {
    display: none !important;
  }

  .kimama-mobile-city-card__close {
    position: absolute;
    top: 5px;
    right: 7px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(244, 240, 232, 0.62);
    font-family: Arial, sans-serif;
    font-size: 22px;
    line-height: 36px;
    font-weight: 300;
    text-align: center;
    appearance: none;
  }

  .kimama-mobile-city-card__close:active,
  .kimama-mobile-city-card__story:active {
    opacity: 0.62;
  }
}

@media screen and (max-width: 430px) {
  .kimama-mobile-city-card {
    left: 14px;
    right: 14px;
    padding-left: 15px;
    gap: 7px 12px;
  }

  .kimama-mobile-city-card__city {
    font-size: 22px;
  }

  .kimama-mobile-city-card__story,
  .kimama-mobile-city-card__visited {
    font-size: 6.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kimama-mobile-city-card {
    transition: none;
  }
}


/* =========================================================
   KIMAMA 3D STAGE 8.3
   Preserve the original landscape photography in 03 WAYS
   Desktop/tablet landscape cards only. Mobile remains unchanged.
   ========================================================= */

@media screen and (min-width: 835px) {
  /* The original travel photos are landscape photographs.
     Use a wide editorial frame instead of cropping them into portrait cards. */
  .kimama-path-card__media {
    aspect-ratio: 16 / 10;
  }

  /* Keep nearly the full original composition visible. */
  .kimama-path-card__media img {
    transform: scale(1.005);
  }

  .kimama-path-card:hover .kimama-path-card__media img {
    transform: scale(1.025);
  }

  /* Per-photo framing.
     These are intentionally subtle because the source photos already
     have strong compositions of their own. */
  .kimama-path-card--01 .kimama-path-card__media img {
    object-position: 50% 50%;
  }

  .kimama-path-card--02 .kimama-path-card__media img {
    object-position: 50% 52%;
  }

  .kimama-path-card--03 .kimama-path-card__media img {
    object-position: 50% 46%;
  }

  /* Keep the magazine stagger after shortening the image frames. */
  .kimama-path-card--02 {
    margin-top: clamp(58px, 5.7vw, 94px);
  }

  .kimama-path-card--03 {
    margin-top: clamp(18px, 2vw, 34px);
  }

  /* Numbers can sit a little closer to the edge on the wide images. */
  .kimama-path-card__number {
    right: 16px;
    bottom: 11px;
  }
}


/* =========================================================
   KIMAMA 3D STAGE 9
   Quality / performance safeguards
   ========================================================= */

/* Browsers that support it can skip painting far-below-fold sections
   until they approach the viewport. The intrinsic size reduces jump risk.
   This is deliberately limited to the two deepest sections. */
@supports (content-visibility: auto) {
  body.home .kimama-latest,
  body.home .kimama-about {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }
}


/* =========================================================
   KIMAMA 3D STAGE 9.4
   LCP safeguard
   The opening H1 remains a normal static paint. Compositing
   hints activate only after the scroll journey begins.
   ========================================================= */
