:root {
  --ink: #4a3a36;
  --muted: #766963;
  --cream: #fff7ef;
  --paper: #fffdf9;
  --warm-1: #fbf7f2;
  --warm-2: #f7f1ec;
  --warm-3: #f3e7e2;
  --warm-4: #f8f2ed;
  --warm-5: #f6eee8;
  --lavender: #eee8ea;
  --rose: #cf8f82;
  --mauve: #8f6f7f;
  --night: #2b2532;
  --sage: #7e8a75;
  --line: rgba(74, 58, 54, 0.14);
  --shadow: 0 24px 70px rgba(60, 43, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-1);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}

body::before {
  background:
    linear-gradient(rgba(251, 247, 242, 0.1), rgba(251, 247, 242, 0.16)),
    url("../assets/images/bg-floral-soft.png") center center / cover no-repeat,
    var(--warm-1);
  content: "";
  inset: 0;
  opacity: 1;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.68), rgba(255, 249, 243, 0.52));
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 34px rgba(74, 55, 50, 0.08);
  display: flex;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 54px);
  position: sticky;
  top: 0;
  transition: box-shadow 180ms ease, background 180ms ease;
  z-index: 10;
}

.site-header.is-scrolled {
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.76), rgba(255, 249, 243, 0.6));
  box-shadow: 0 12px 38px rgba(54, 39, 34, 0.13);
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 1;
}

.brand-logo {
  display: block;
  height: auto;
  width: clamp(132px, 13vw, 176px);
}

.site-nav {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  font-size: 14px;
  color: #514845;
}

.nav-toggle {
  display: none;
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  clip: rect(0, 0, 0, 0);
}

.hero {
  height: calc(100vh - 67px);
  max-height: 840px;
  min-height: 680px;
  overflow: hidden;
  position: relative;
}

.hero::after {
  display: none;
}

.hero-image,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  filter: brightness(1.12) saturate(1.04);
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(74, 55, 50, 0.66), rgba(128, 98, 87, 0.36) 36%, rgba(255, 247, 239, 0.04) 62%),
    linear-gradient(0deg, rgba(42, 32, 31, 0.22), rgba(255, 247, 239, 0.1));
}

.hero-content {
  color: #fffaf4;
  max-width: 820px;
  padding: clamp(92px, 16vh, 150px) clamp(22px, 7vw, 104px) clamp(80px, 12vh, 120px);
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--rose);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta .eyebrow {
  color: #f1c5b7;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.keep {
  white-space: nowrap;
}

h1,
h2 {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  line-break: strict;
  line-height: 1.35;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

h1 {
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: 0;
  line-height: 1.48;
  margin-bottom: 24px;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 20px;
}

h2 span {
  display: block;
}

h3 {
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 8px;
}

.hero-copy {
  font-size: clamp(16px, 2vw, 19px);
  line-break: strict;
  max-width: 590px;
  line-height: 2;
  overflow-wrap: normal;
  text-shadow: 0 1px 18px rgba(45, 34, 32, 0.24);
  word-break: normal;
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
}

.button.primary {
  background: #f2b5a2;
  color: #4a3834;
}

.button.ghost {
  border-color: rgba(255, 250, 244, 0.54);
  color: #fffaf4;
}

.button.ghost.light {
  border-color: rgba(255, 250, 244, 0.58);
}

.hero .button {
  backdrop-filter: blur(10px);
}

.hero .button.primary {
  background: rgba(255, 226, 211, 0.9);
  border-color: rgba(255, 244, 237, 0.48);
  box-shadow: 0 16px 36px rgba(62, 43, 38, 0.2);
}

.hero .button.ghost {
  background: rgba(255, 250, 244, 0.1);
  border-color: rgba(255, 250, 244, 0.48);
}

.button.outline {
  border-color: rgba(48, 42, 40, 0.2);
  color: var(--ink);
}

.mini-player {
  align-items: center;
  background:
    linear-gradient(145deg, rgba(255, 247, 240, 0.86), rgba(244, 224, 216, 0.76));
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  border: 1px solid rgba(203, 150, 137, 0.26);
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 18px 50px rgba(74, 55, 50, 0.18);
  color: var(--ink);
  display: flex;
  gap: 18px;
  left: 50%;
  max-width: min(460px, calc(100vw - 36px));
  padding: 10px 12px 10px 18px;
  position: fixed;
  transform: translateX(-50%);
  transition: opacity 520ms ease, transform 520ms ease, box-shadow 520ms ease;
  width: max-content;
  z-index: 20;
}

.mini-player[hidden] {
  display: none;
}

.mini-player.is-idle {
  box-shadow: 0 12px 32px rgba(74, 55, 50, 0.09);
  opacity: 0.34;
  transform: translateX(-50%) translateY(10px);
}

.mini-player.is-idle:hover,
.mini-player.is-idle:focus-within {
  box-shadow: 0 18px 50px rgba(74, 55, 50, 0.18);
  opacity: 1;
  transform: translateX(-50%);
}

.mini-player span {
  display: grid;
  gap: 1px;
}

.mini-player small {
  color: #9b766d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mini-player strong {
  font-size: 14px;
  line-height: 1.4;
}

.mini-player-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.mini-player a,
.mini-player button {
  background: rgba(91, 70, 65, 0.9);
  border: 0;
  border-radius: 999px;
  color: #fff8ef;
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 9px 14px;
}

.mini-player button {
  background: rgba(255, 250, 244, 0.72);
  color: #6d514a;
}

.section {
  display: grid;
  gap: clamp(34px, 6vw, 84px);
  margin: 38px auto 0;
  max-width: 1180px;
  padding: clamp(78px, 10vw, 128px) clamp(22px, 5vw, 48px);
}

.intro,
.split,
.kyun {
  align-items: center;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1.08fr);
}

.split {
  align-items: start;
  grid-template-columns: minmax(340px, 1.1fr) minmax(0, 0.92fr);
}

.section-text p,
.section-heading p {
  color: var(--muted);
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: normal;
}

.section-text {
  max-width: 560px;
  min-width: 0;
  width: 100%;
}

.section-heading,
.image-panel,
.series-gallery,
.scene-card,
.series-list {
  min-width: 0;
}

.intro {
  background:
    linear-gradient(rgba(251, 247, 242, 0.56), rgba(251, 247, 242, 0.66)),
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.64), transparent 24%);
  max-width: none;
  padding-left: max(clamp(22px, 5vw, 48px), calc((100vw - 1180px) / 2));
  padding-right: max(clamp(22px, 5vw, 48px), calc((100vw - 1180px) / 2));
}

.image-panel {
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-panel img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.image-panel.soft {
  border-radius: 36% 28% 26% 20px;
}

.kyun .image-panel img {
  object-position: center 24%;
}

.scenes {
  background:
    linear-gradient(rgba(247, 241, 236, 0.52), rgba(247, 241, 236, 0.64));
  max-width: 1240px;
}

.scenes.section {
  max-width: none;
  padding-left: max(clamp(22px, 5vw, 48px), calc((100vw - 1240px) / 2));
  padding-right: max(clamp(22px, 5vw, 48px), calc((100vw - 1240px) / 2));
}

.section-heading {
  max-width: 760px;
}

.section-heading.narrow {
  margin: 0 auto;
  max-width: 780px;
  text-align: center;
}

.scene-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scene-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(68, 48, 43, 0.08);
  overflow: hidden;
  transition:
    border-color 320ms ease,
    box-shadow 420ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.scene-card:hover {
  border-color: rgba(207, 143, 130, 0.42);
  box-shadow: 0 26px 64px rgba(68, 48, 43, 0.15);
  transform: translateY(-8px);
}

.scene-card img {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.62), transparent 48%),
    #f8f2ed;
  display: block;
  height: auto;
  object-fit: contain;
  transition: filter 520ms ease, opacity 520ms ease;
  width: 100%;
}

.scene-card:hover img {
  filter: brightness(1.04) saturate(1.04);
  opacity: 0.96;
}

.scene-card div {
  padding: 26px;
}

.scene-card p,
.series-list p {
  color: var(--muted);
  font-size: 15px;
  line-break: strict;
  line-height: 1.95;
  margin-bottom: 0;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: normal;
}

.scene-kicker {
  color: var(--rose);
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.text-link {
  color: #6f5f55;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  margin-top: 18px;
}

.text-link::after {
  content: "→";
  margin-left: 7px;
}

.split {
  background:
    linear-gradient(rgba(251, 247, 242, 0.48), rgba(251, 247, 242, 0.6));
  max-width: none;
  padding-left: max(clamp(22px, 5vw, 48px), calc((100vw - 1180px) / 2));
  padding-right: max(clamp(22px, 5vw, 48px), calc((100vw - 1180px) / 2));
}

.series-gallery {
  align-self: start;
  display: grid;
  gap: 18px;
  margin: 0;
}

.series-gallery-main {
  background:
    linear-gradient(145deg, rgba(255, 250, 244, 0.26), rgba(244, 223, 214, 0.18));
  border: 1px solid rgba(205, 154, 139, 0.28);
  border-radius: 34% 22px 28% 22px;
  box-shadow:
    0 26px 60px rgba(74, 55, 50, 0.13),
    0 0 0 10px rgba(255, 248, 240, 0.18);
  min-height: clamp(520px, 46vw, 650px);
  overflow: hidden;
  position: relative;
}

.series-gallery-main img {
  display: block;
  filter: brightness(1.07) saturate(1.03);
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: opacity 180ms ease, transform 260ms ease;
  width: 100%;
}

.series-gallery-main::after {
  background:
    radial-gradient(circle at 62% 24%, rgba(255, 246, 224, 0.22), transparent 30%),
    linear-gradient(0deg, rgba(48, 36, 34, 0.34), rgba(48, 36, 34, 0.02) 36%, rgba(255, 247, 239, 0.1));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.series-visual-title {
  bottom: clamp(18px, 3vw, 28px);
  color: rgba(255, 249, 242, 0.86);
  display: grid;
  left: clamp(22px, 4vw, 36px);
  margin: 0;
  position: absolute;
  text-shadow: 0 2px 14px rgba(45, 34, 32, 0.24);
  z-index: 2;
}

.series-visual-title strong {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.25;
}

.series-gallery-caption {
  background: rgba(255, 250, 244, 0.54);
  border: 1px solid rgba(203, 150, 137, 0.16);
  border-radius: 16px;
  color: #665854;
  display: grid;
  gap: 8px;
  line-height: 1.9;
  margin: -2px 0 0;
  padding: 15px 18px;
}

.series-gallery-caption span:first-child {
  background: rgba(243, 231, 226, 0.78);
  border-radius: 999px;
  color: #7a615b;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  justify-self: start;
  line-height: 1;
  padding: 6px 11px;
}

.series-gallery-main img.is-changing {
  opacity: 0;
  transform: scale(1.01);
}

.series-gallery-thumbs {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}

.series-gallery-thumbs button {
  background:
    linear-gradient(145deg, rgba(255, 248, 241, 0.5), rgba(244, 225, 217, 0.22));
  border: 1px solid rgba(197, 143, 129, 0.24);
  border-radius: 18px 12px 18px 12px;
  box-shadow: 0 14px 28px rgba(74, 55, 50, 0.09);
  cursor: pointer;
  overflow: hidden;
  padding: 3px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.series-gallery-thumbs button:hover,
.series-gallery-thumbs button:focus-visible,
.series-gallery-thumbs button.is-active {
  background:
    linear-gradient(145deg, rgba(255, 244, 237, 0.76), rgba(235, 204, 196, 0.32));
  border-color: rgba(207, 143, 130, 0.66);
  box-shadow: 0 16px 34px rgba(74, 55, 50, 0.13);
  transform: translateY(-2px);
}

.series-gallery-thumbs img {
  aspect-ratio: 4 / 3;
  border-radius: 15px 10px 15px 10px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.series-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.series-list article {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 46px minmax(0, 1fr);
  padding: 18px 20px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.series-list article > div {
  min-width: 0;
}

.series-list article:hover {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(207, 143, 130, 0.36);
  transform: translateX(3px);
}

.series-list span {
  color: var(--sage);
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
}

.series-list h3 {
  margin-bottom: 4px;
}

.series-list small {
  background: #f3e7e2;
  border-radius: 999px;
  color: #6d5a55;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  margin-top: 12px;
  padding: 4px 10px;
}

.listen {
  background:
    linear-gradient(rgba(243, 231, 226, 0.46), rgba(238, 232, 234, 0.58)),
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.72), transparent 22%),
    linear-gradient(180deg, rgba(243, 231, 226, 0.46) 0%, rgba(238, 232, 234, 0.52) 100%);
  max-width: none;
  padding-left: clamp(22px, 5vw, 48px);
  padding-right: clamp(22px, 5vw, 48px);
}

.listen > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 860px;
  width: 100%;
}

.listen-player {
  background:
    linear-gradient(145deg, rgba(247, 227, 219, 0.24), rgba(255, 248, 240, 0.08));
  border: 1px solid rgba(203, 150, 137, 0.26);
  border-radius: 28px 18px 28px 18px;
  box-shadow:
    0 28px 76px rgba(74, 55, 50, 0.16),
    0 0 0 1px rgba(255, 247, 240, 0.22);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.listen-player iframe {
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: inherit;
  display: block;
  opacity: 0;
  transition: opacity 180ms ease;
  width: 100%;
}

.listen-player.is-playing iframe {
  opacity: 1;
}

.listen-cover {
  align-items: center;
  background: #3a2d30;
  border: 0;
  border-radius: inherit;
  color: #fffaf4;
  cursor: pointer;
  display: grid;
  inset: 0;
  justify-items: center;
  overflow: hidden;
  padding: 0;
  position: absolute;
  text-align: center;
  z-index: 1;
}

.listen-cover::after {
  background:
    radial-gradient(circle at 62% 30%, rgba(255, 233, 205, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(42, 31, 36, 0.62), rgba(42, 31, 36, 0.12)),
    linear-gradient(0deg, rgba(42, 31, 36, 0.3), rgba(42, 31, 36, 0.04));
  content: "";
  inset: 0;
  position: absolute;
}

.listen-cover img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  width: 100%;
}

.listen-cover::before {
  align-items: center;
  background: rgba(255, 73, 73, 0.92);
  border-radius: 18px;
  color: #fff;
  content: "▶";
  display: inline-flex;
  font-size: 24px;
  height: 58px;
  justify-content: center;
  padding-left: 4px;
  position: relative;
  width: 78px;
  z-index: 2;
}

.listen-cover-text {
  bottom: clamp(22px, 5vw, 44px);
  display: grid;
  gap: 6px;
  left: clamp(22px, 5vw, 52px);
  position: absolute;
  text-align: left;
  z-index: 2;
}

.listen-cover-text span {
  color: #f1c5b7;
  font-size: 13px;
  font-weight: 700;
}

.listen-cover-text strong {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.35;
}

.listen-player.is-playing .listen-cover {
  display: none;
}

.listen-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.listen-actions .button.primary {
  box-shadow: 0 16px 36px rgba(207, 143, 130, 0.24);
  padding-left: 28px;
  padding-right: 28px;
}

.kyun {
  background:
    linear-gradient(rgba(248, 242, 237, 0.48), rgba(248, 242, 237, 0.6)),
    radial-gradient(circle at 76% 22%, rgba(255, 255, 255, 0.55), transparent 24%);
  max-width: none;
  padding-left: max(clamp(22px, 5vw, 48px), calc((100vw - 1180px) / 2));
  padding-right: max(clamp(22px, 5vw, 48px), calc((100vw - 1180px) / 2));
}

.kyun .section-text {
  max-width: 590px;
}

#kyun-title {
  font-size: clamp(28px, 3.5vw, 42px);
  overflow-wrap: normal;
  word-break: keep-all;
}

#kyun-title span {
  display: block;
  white-space: nowrap;
}

.about {
  background:
    linear-gradient(rgba(246, 238, 232, 0.46), rgba(246, 238, 232, 0.58)),
    radial-gradient(circle at 52% 50%, rgba(255, 255, 255, 0.48), transparent 32%);
  max-width: none;
}

.about .section-heading {
  max-width: 720px;
}

.about .section-heading p {
  line-height: 2.05;
}

.pathways {
  background:
    linear-gradient(rgba(251, 247, 242, 0.54), rgba(246, 238, 232, 0.62)),
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.5), transparent 26%),
    radial-gradient(circle at 82% 78%, rgba(243, 210, 200, 0.22), transparent 28%);
  max-width: none;
  padding-left: max(clamp(22px, 5vw, 48px), calc((100vw - 1180px) / 2));
  padding-right: max(clamp(22px, 5vw, 48px), calc((100vw - 1180px) / 2));
}

.pathways .section-heading p {
  line-height: 2.05;
}

.pathway-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pathway-card {
  background: rgba(255, 253, 249, 0.62);
  border: 1px solid rgba(203, 150, 137, 0.18);
  border-radius: 20px 12px 20px 12px;
  box-shadow: 0 18px 46px rgba(74, 55, 50, 0.08);
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 24px;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pathway-card:hover,
.pathway-card:focus-visible {
  background: rgba(255, 253, 249, 0.84);
  border-color: rgba(207, 143, 130, 0.34);
  box-shadow: 0 22px 54px rgba(74, 55, 50, 0.12);
  transform: translateY(-3px);
}

.pathway-card span {
  color: var(--rose);
  font-size: 13px;
  font-weight: 700;
}

.pathway-card strong {
  color: var(--ink);
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.45;
}

.pathway-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.cta {
  color: #fffaf4;
  display: grid;
  margin-top: 38px;
  min-height: 660px;
  overflow: hidden;
  place-items: center start;
  position: relative;
  text-align: left;
}

.cta::after {
  background:
    linear-gradient(90deg, rgba(38, 27, 35, 0.78), rgba(72, 52, 57, 0.46) 42%, rgba(44, 31, 37, 0.12) 72%),
    linear-gradient(0deg, rgba(31, 25, 31, 0.5), rgba(31, 25, 31, 0.18));
  content: "";
  inset: 0;
  position: absolute;
}

.cta img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: right center;
  position: absolute;
  width: 100%;
}

.cta-content {
  max-width: 720px;
  padding: 110px clamp(24px, 7vw, 104px);
  position: relative;
  z-index: 1;
}

.cta-content p {
  line-height: 2;
}

.cta .link-row {
  justify-content: flex-start;
}

.site-footer {
  align-items: center;
  background: var(--night);
  color: #fff7ef;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 28px clamp(22px, 5vw, 54px);
}

.site-footer p,
.site-footer small {
  margin: 0;
}

.site-footer small {
  color: rgba(255, 247, 239, 0.72);
}

@media (max-width: 860px) {
  .site-header {
    align-items: center;
    padding: 9px 16px;
  }

  .site-nav {
    background:
      linear-gradient(145deg, rgba(255, 250, 244, 0.94), rgba(244, 225, 217, 0.88));
    -webkit-backdrop-filter: blur(20px) saturate(135%);
    backdrop-filter: blur(20px) saturate(135%);
    border: 1px solid rgba(203, 150, 137, 0.22);
    border-radius: 18px;
    box-shadow: 0 18px 46px rgba(74, 55, 50, 0.14);
    color: #5c4641;
    display: grid;
    gap: 2px;
    opacity: 0;
    padding: 10px;
    pointer-events: none;
    position: absolute;
    right: 14px;
    top: calc(100% + 8px);
    transform: translateY(-6px);
    transition: opacity 180ms ease, transform 180ms ease;
    width: min(230px, calc(100vw - 28px));
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    border-radius: 12px;
    padding: 12px 14px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.54);
  }

  .nav-toggle {
    align-items: center;
    background: rgba(255, 250, 244, 0.38);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
    backdrop-filter: blur(14px) saturate(135%);
    border: 1px solid rgba(143, 111, 127, 0.18);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(74, 55, 50, 0.06);
    cursor: pointer;
    display: inline-block;
    height: 42px;
    padding: 0;
    position: relative;
    width: 42px;
  }

  .nav-toggle span:not(.sr-only) {
    background: linear-gradient(90deg, rgba(116, 82, 78, 0.62), rgba(143, 111, 127, 0.72));
    border-radius: 999px;
    display: block;
    height: 1px;
    left: 12px;
    position: absolute;
    transition: background 180ms ease, opacity 180ms ease, transform 180ms ease;
    width: 18px;
  }

  .nav-toggle span:nth-child(1) {
    top: 15px;
  }

  .nav-toggle span:nth-child(2) {
    top: 21px;
  }

  .nav-toggle span:nth-child(3) {
    top: 27px;
  }

  .nav-toggle[aria-expanded="true"] {
    background: rgba(255, 244, 237, 0.62);
    border-color: rgba(143, 111, 127, 0.28);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    object-position: 68% 18%;
  }

  .hero-shade {
    background:
      radial-gradient(circle at 64% 16%, rgba(255, 238, 211, 0.24), transparent 36%),
      linear-gradient(0deg, rgba(55, 40, 36, 0.64), rgba(82, 60, 52, 0.18) 62%, rgba(255, 247, 239, 0.12)),
      linear-gradient(90deg, rgba(74, 55, 50, 0.58), rgba(92, 68, 58, 0.28) 52%, rgba(255, 247, 239, 0.08) 82%);
  }

  .hero-content {
    padding-top: 132px;
  }

  .intro,
  .split,
  .kyun,
  .pathway-grid,
  .scene-grid {
    grid-template-columns: 1fr;
  }

  .intro,
  .split,
  .scenes.section,
  .pathways,
  .kyun {
    padding-left: 22px;
    padding-right: 22px;
  }

  .split .image-panel,
  .split .series-gallery {
    order: 2;
  }

  #series .series-gallery {
    order: 1;
  }

  #series .section-text {
    order: 2;
  }

  .series-gallery-thumbs {
    margin-top: 0;
    width: 100%;
  }

  .cta {
    min-height: 720px;
  }

  .cta img {
    object-position: 66% center;
  }

  .cta::after {
    background:
      linear-gradient(0deg, rgba(35, 25, 32, 0.78), rgba(48, 34, 39, 0.26) 68%),
      linear-gradient(90deg, rgba(38, 27, 35, 0.72), rgba(38, 27, 35, 0.14));
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand-logo {
    width: 116px;
  }

  .hero {
    height: calc(100svh - 59px);
    min-height: 700px;
    width: 100%;
  }

  .hero-image {
    height: 118%;
    object-position: 56% top;
    top: -7%;
  }

  .hero-content {
    max-width: min(318px, calc(100% - 52px));
    padding: 248px 26px 34px;
  }

  h1 {
    font-size: 24px;
    line-height: 1.45;
    margin-bottom: 16px;
  }

  h1 span {
    white-space: nowrap;
  }

  h2 {
    font-size: 24px;
    line-height: 1.55;
    word-break: normal;
  }

  .hero-copy,
  .section-text p,
  .section-heading p,
  .scene-card p,
  .series-list p {
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-copy {
    font-size: 12.8px;
    line-height: 1.7;
    max-width: 292px;
  }

  .series-list article {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 16px;
  }

  .series-gallery-main {
    min-height: 520px;
  }

  .section-text,
  .section-heading {
    max-width: min(330px, calc(100vw - 56px));
  }

  .scene-card div,
  .series-list article > div {
    max-width: min(310px, calc(100vw - 86px));
  }

  .hero-actions,
  .link-row,
  .listen-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions {
    gap: 11px;
    margin-top: 22px;
  }

  .button {
    min-height: 46px;
    width: 100%;
  }

  .mini-player {
    align-items: center;
    border-radius: 999px;
    bottom: 12px;
    flex-direction: row;
    gap: 8px;
    left: auto;
    max-width: calc(100vw - 24px);
    padding: 8px 9px 8px 12px;
    right: 12px;
    transform: none;
    width: auto;
  }

  .mini-player.is-idle {
    opacity: 0.28;
    transform: translateY(8px);
  }

  .mini-player.is-idle:hover,
  .mini-player.is-idle:focus-within {
    opacity: 1;
    transform: none;
  }

  .mini-player small {
    font-size: 10px;
  }

  .mini-player strong {
    font-size: 12px;
  }

  .mini-player-actions {
    display: flex;
    gap: 6px;
  }

  .mini-player a,
  .mini-player button {
    font-size: 12px;
    padding: 8px 10px;
    text-align: center;
  }

  .section {
    margin-top: 30px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .cta {
    margin-top: 30px;
    min-height: 720px;
    place-items: end start;
  }

  .cta-content {
    padding: 0 26px 78px;
  }

  .intro .image-panel,
  .kyun .image-panel {
    justify-self: center;
    max-width: 100%;
    width: 100%;
  }

  .intro,
  .split,
  .scenes.section,
  .pathways,
  .kyun {
    padding-left: 18px;
    padding-right: 18px;
  }

  .pathway-card {
    min-height: 0;
    padding: 20px;
  }

  .series-gallery-main,
  .listen-player {
    border-radius: 18px;
  }

  .intro .image-panel.soft,
  .kyun .image-panel.soft {
    border-radius: 36% 28% 26% 20px;
  }

  .series-gallery-main {
    min-height: 480px;
  }

  .series-visual-title {
    bottom: 18px;
    left: 18px;
  }

  .series-visual-title strong {
    font-size: 17px;
  }

  .series-gallery-caption {
    font-size: 13px;
    line-height: 1.8;
    padding: 13px 15px;
  }

  .series-gallery-thumbs {
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .series-gallery-thumbs img {
    height: auto;
    aspect-ratio: 1 / 1;
    width: 100%;
  }

  .listen-player {
    padding: 0;
  }

  .listen-cover {
    inset: 0;
  }

  .listen-cover-text {
    bottom: 20px;
    left: 20px;
  }

  .scene-card div {
    padding: 20px;
  }
}
