:root {
	--color-background: #f7f4ee;
	--color-surface: #ffffff;
	--color-text: #242536;
	--color-text-muted: #666878;
	--color-primary: #4b4a82;
	--color-primary-dark: #32315f;
	--color-lavender: #e7e3f3;
	--color-accent: #a8875a;
	--color-border: #e3ded6;
	--color-soft-gold: #eee3d2;
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--font-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
	--shadow-soft: 0 20px 50px rgba(44, 43, 72, 0.08);
	--shadow-card: 0 14px 34px rgba(44, 43, 72, 0.1);
	--radius-large: 20px;
	--radius-medium: 16px;
	--shell: 1180px;
	--article: 760px;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 0;
}

body {
	margin: 0;
	overflow-wrap: break-word;
	background: var(--color-background);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
}

body.has-open-navigation {
	overflow: hidden;
}

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

svg {
	display: block;
	width: 1em;
	height: 1em;
}

a {
	color: var(--color-primary);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a,
button,
input {
	-webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 3px solid #7674c2;
	outline-offset: 3px;
}

button,
input {
	font: inherit;
}

h1,
h2,
h3,
h4 {
	margin-top: 0;
	color: var(--color-text);
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.015em;
}

p {
	margin-top: 0;
}

.shell {
	width: min(calc(100% - 48px), var(--shell));
	margin-inline: auto;
}

.shell--narrow {
	width: min(calc(100% - 48px), 940px);
}

.shell--article {
	width: min(calc(100% - 48px), var(--article));
}

.shell--wide {
	width: min(calc(100% - 48px), 1060px);
}

.section {
	padding-block: 96px;
}

.section--surface {
	background: var(--color-surface);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 10px 16px;
	clip: auto;
	background: var(--color-surface);
	color: var(--color-primary-dark);
	font-weight: 700;
}

.section-kicker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	color: var(--color-primary);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.section-kicker > span {
	width: 26px;
	height: 1px;
	background: currentColor;
	opacity: 0.65;
}

.section-kicker--light {
	color: #d4caed;
}

.section-heading {
	margin-bottom: 42px;
}

.section-heading h2 {
	margin-bottom: 14px;
	font-size: clamp(1.85rem, 3vw, 2.65rem);
}

.section-heading > p:last-child,
.section-heading--split > p {
	margin-bottom: 0;
	color: var(--color-text-muted);
	line-height: 1.9;
}

.section-heading--center {
	max-width: 700px;
	margin-inline: auto;
	text-align: center;
}

.section-heading--center .section-kicker {
	justify-content: center;
}

.section-heading--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 48px;
}

.section-heading--split > div {
	flex: 0 1 580px;
}

.section-heading--split > div h2 {
	margin-bottom: 0;
}

.section-heading--split > p {
	max-width: 470px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 20px;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button svg {
	width: 18px;
	height: 18px;
}

.button:hover {
	transform: translateY(-1px);
}

.button--primary,
.button--search {
	background: var(--color-primary);
	box-shadow: 0 10px 24px rgba(75, 74, 130, 0.2);
	color: #fff;
}

.button--primary:hover,
.button--search:hover {
	background: var(--color-primary-dark);
	color: #fff;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--color-primary);
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
}

.text-link svg {
	width: 17px;
	height: 17px;
	transition: transform 180ms ease;
}

.text-link:hover svg {
	transform: translateX(4px);
}

.text-link--large {
	font-size: 0.94rem;
}

/* Header */
.site-header {
	position: relative;
	z-index: 100;
	border-bottom: 1px solid rgba(227, 222, 214, 0.86);
	background: rgba(247, 244, 238, 0.94);
	backdrop-filter: blur(14px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	min-height: 78px;
	gap: 30px;
}

.site-brand {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 10px;
	color: var(--color-primary-dark);
	text-decoration: none;
}

.site-brand__mark {
	display: grid;
	width: 36px;
	height: 36px;
	place-items: center;
	border: 1px solid rgba(75, 74, 130, 0.24);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.7);
	color: var(--color-primary);
}

.site-brand__mark svg {
	width: 21px;
	height: 21px;
}

.site-brand__text {
	font-family: var(--font-serif);
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.desktop-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(18px, 2vw, 32px);
	margin-left: auto;
}

.desktop-nav a {
	position: relative;
	color: var(--color-text);
	font-size: 0.84rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.desktop-nav a::after {
	position: absolute;
	right: 0;
	bottom: -7px;
	left: 0;
	height: 1px;
	background: var(--color-primary);
	content: "";
	transform: scaleX(0);
	transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
	transform: scaleX(1);
}

.site-header__search {
	width: 236px;
}

.nav-toggle,
.mobile-navigation,
.nav-backdrop {
	display: none;
}

/* Search forms and suggestions */
.dream-search-form {
	position: relative;
	z-index: 8;
	width: 100%;
}

.dream-search-form__field {
	display: flex;
	align-items: center;
	padding: 7px;
	border: 1px solid rgba(75, 74, 130, 0.14);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 16px 42px rgba(46, 44, 82, 0.1);
}

.dream-search-form__icon {
	display: grid;
	flex: none;
	width: 46px;
	place-items: center;
	color: var(--color-primary);
}

.dream-search-form__icon svg {
	width: 21px;
	height: 21px;
}

.dream-search-form__input {
	width: 100%;
	min-width: 0;
	height: 52px;
	padding: 0 12px 0 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--color-text);
}

.dream-search-form__input::placeholder {
	color: #71727e;
}

.dream-search-form__input:focus-visible {
	outline: 0;
}

.dream-search-form__field:focus-within {
	border-color: rgba(75, 74, 130, 0.55);
	box-shadow: 0 0 0 4px rgba(75, 74, 130, 0.12), 0 16px 42px rgba(46, 44, 82, 0.1);
}

.dream-search-form .button--search {
	flex: none;
	min-height: 52px;
	padding-inline: 24px;
}

.dream-search-form--compact .dream-search-form__field {
	padding: 3px;
	box-shadow: none;
}

.dream-search-form--compact .dream-search-form__icon {
	width: 34px;
}

.dream-search-form--compact .dream-search-form__icon svg {
	width: 17px;
	height: 17px;
}

.dream-search-form--compact .dream-search-form__input {
	height: 38px;
	padding-right: 5px;
	font-size: 0.79rem;
}

.dream-search-form--compact .button--search {
	width: 42px;
	min-height: 38px;
	padding: 0;
}

.dream-search-form--compact .button--search span,
.dream-search-form--compact .button--search svg {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.dream-search-form--compact .button--search::after {
	content: "\2192";
	font-size: 1rem;
}

.dream-suggestions {
	position: absolute;
	z-index: 50;
	top: calc(100% + 10px);
	right: 0;
	left: 0;
	max-height: min(520px, 65vh);
	padding: 7px;
	overflow-y: auto;
	border: 1px solid var(--color-border);
	border-radius: 18px;
	background: var(--color-surface);
	box-shadow: 0 24px 70px rgba(34, 33, 57, 0.2);
}

.dream-suggestion {
	display: grid;
	grid-template-columns: 70px minmax(0, 1fr) 20px;
	align-items: center;
	gap: 13px;
	padding: 9px;
	border-radius: 12px;
	color: var(--color-text);
	text-decoration: none;
}

.dream-suggestion:hover,
.dream-suggestion.is-active {
	background: #f1eef8;
}

.dream-suggestion__media {
	display: grid;
	width: 70px;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	place-items: center;
	border-radius: 9px;
	background: var(--color-lavender);
	color: var(--color-primary);
}

.dream-suggestion__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dream-suggestion__content {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.dream-suggestion__content strong {
	overflow: hidden;
	font-family: var(--font-serif);
	font-size: 0.9rem;
	line-height: 1.55;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dream-suggestion__content small {
	color: var(--color-primary);
	font-size: 0.68rem;
	font-weight: 700;
}

.dream-suggestion__content > span {
	overflow: hidden;
	color: var(--color-text-muted);
	font-size: 0.72rem;
	line-height: 1.5;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dream-suggestion__arrow {
	color: var(--color-primary);
}

.site-header__search .dream-suggestion {
	grid-template-columns: 44px minmax(0, 1fr) 16px;
	gap: 8px;
}

.site-header__search .dream-suggestions {
	right: 0;
	left: auto;
	width: min(440px, calc(100vw - 48px));
}

.site-header__search .dream-suggestion__media {
	width: 44px;
}

/* Hero */
.hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 83% 19%, rgba(255, 255, 255, 0.82) 0 1px, transparent 2px),
		radial-gradient(circle at 74% 68%, rgba(168, 135, 90, 0.38) 0 1px, transparent 2px),
		radial-gradient(circle at 95% 46%, rgba(75, 74, 130, 0.22) 0 1px, transparent 2px),
		linear-gradient(135deg, #f7f4ee 0%, #f3eff4 58%, #eee9f2 100%);
}

.hero::before {
	position: absolute;
	top: -240px;
	right: -190px;
	width: 650px;
	height: 650px;
	border: 1px solid rgba(75, 74, 130, 0.1);
	border-radius: 50%;
	content: "";
}

.hero::after {
	position: absolute;
	bottom: -230px;
	left: -110px;
	width: 430px;
	height: 430px;
	border: 1px solid rgba(168, 135, 90, 0.12);
	border-radius: 50%;
	content: "";
}

.hero__mist {
	position: absolute;
	border-radius: 50%;
	filter: blur(30px);
	pointer-events: none;
}

.hero__mist--one {
	top: 12%;
	right: 8%;
	width: 300px;
	height: 180px;
	background: rgba(255, 255, 255, 0.4);
	transform: rotate(-18deg);
}

.hero__mist--two {
	right: 24%;
	bottom: 8%;
	width: 330px;
	height: 100px;
	background: rgba(231, 227, 243, 0.8);
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	min-height: 650px;
	grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
	align-items: center;
	gap: clamp(50px, 7vw, 96px);
	padding-block: 72px 82px;
}

.hero__content {
	max-width: 640px;
}

.hero h1 {
	margin-bottom: 22px;
	font-size: clamp(2.65rem, 5vw, 4.15rem);
	line-height: 1.32;
	letter-spacing: 0.035em;
}

.hero__lead {
	max-width: 570px;
	margin-bottom: 30px;
	color: #5d5d6d;
	font-size: 1.03rem;
	line-height: 2;
}

.hero__search {
	max-width: 630px;
}

.dream-search-form--hero .dream-search-form__field {
	padding: 9px;
	border-radius: 18px;
}

.dream-search-form--hero .dream-search-form__input {
	height: 58px;
	font-size: 1rem;
}

.dream-search-form--hero .button--search {
	min-height: 58px;
	border-radius: 13px;
}

.search-examples {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin-top: 17px;
	font-size: 0.78rem;
}

.search-examples > span {
	color: var(--color-text-muted);
}

.search-examples a {
	padding: 4px 12px;
	border: 1px solid rgba(75, 74, 130, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.55);
	color: var(--color-primary-dark);
	text-decoration: none;
}

.search-examples a:hover {
	border-color: rgba(75, 74, 130, 0.42);
	background: #fff;
}

.hero-visual {
	position: relative;
	width: 100%;
	height: 470px;
}

.hero-visual__orbit {
	position: absolute;
	top: 22px;
	right: 4px;
	width: 365px;
	height: 365px;
	border: 1px solid rgba(75, 74, 130, 0.14);
	border-radius: 50%;
}

.hero-visual__orbit::before,
.hero-visual__orbit::after {
	position: absolute;
	border-radius: 50%;
	content: "";
}

.hero-visual__orbit::before {
	top: 27px;
	right: 27px;
	bottom: 27px;
	left: 27px;
	border: 1px dashed rgba(168, 135, 90, 0.18);
}

.hero-visual__orbit::after {
	top: -5px;
	left: 98px;
	width: 8px;
	height: 8px;
	background: var(--color-accent);
	box-shadow: 0 0 18px rgba(168, 135, 90, 0.8);
}

.hero-visual__card {
	position: absolute;
	display: block;
	width: min(310px, 70%);
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border: 7px solid rgba(255, 255, 255, 0.86);
	border-radius: 18px;
	background: #dcd8e9;
	box-shadow: 0 24px 52px rgba(44, 42, 72, 0.19);
	transition: transform 250ms ease, box-shadow 250ms ease;
}

.hero-visual__card:hover {
	z-index: 5;
	box-shadow: 0 28px 65px rgba(44, 42, 72, 0.25);
}

.hero-visual__card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-visual__card--1 {
	z-index: 3;
	top: 40px;
	right: 0;
	transform: rotate(4deg);
}

.hero-visual__card--1:hover {
	transform: rotate(2deg) translateY(-5px);
}

.hero-visual__card--2 {
	z-index: 2;
	top: 160px;
	left: 0;
	transform: rotate(-7deg);
}

.hero-visual__card--2:hover {
	transform: rotate(-4deg) translateY(-5px);
}

.hero-visual__card--3 {
	z-index: 4;
	right: 22px;
	bottom: 25px;
	transform: rotate(2deg);
}

.hero-visual__card--3:hover {
	transform: rotate(0) translateY(-5px);
}

.hero-visual__placeholder,
.hero-visual__card.hero-visual__placeholder {
	display: grid;
	place-items: center;
	background:
		radial-gradient(circle at 65% 28%, rgba(255, 255, 255, 0.4), transparent 19%),
		linear-gradient(145deg, #77769d, #35345f);
	color: #f0e9d7;
}

.hero-visual__placeholder svg {
	width: 58px;
	height: 58px;
}

.hero-visual__caption {
	position: absolute;
	z-index: 6;
	right: 8px;
	bottom: -8px;
	margin: 0;
	padding: 8px 14px;
	border: 1px solid rgba(75, 74, 130, 0.13);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	color: var(--color-text-muted);
	font-size: 0.7rem;
	backdrop-filter: blur(8px);
}

.hero-visual__caption span {
	margin-right: 5px;
	color: var(--color-accent);
}

/* Discovery */
.discovery {
	background: var(--color-background);
}

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

.discovery-card {
	position: relative;
	display: flex;
	min-height: 285px;
	flex-direction: column;
	align-items: flex-start;
	padding: 34px;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-large);
	background: var(--color-surface);
	box-shadow: 0 10px 25px rgba(44, 43, 72, 0.04);
	color: var(--color-text);
	text-decoration: none;
	transition: transform 200ms ease, box-shadow 200ms ease;
}

.discovery-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-card);
}

.discovery-card--lavender {
	background: #efecf7;
}

.discovery-card--dark {
	border-color: var(--color-primary-dark);
	background: var(--color-primary-dark);
	color: #fff;
}

.discovery-card--dark strong {
	color: #fff;
}

.discovery-card--dark small {
	color: #cecede;
}

.discovery-card--dark .text-link {
	color: #ece8f8;
}

.discovery-card__number {
	position: absolute;
	top: 23px;
	right: 26px;
	color: rgba(75, 74, 130, 0.18);
	font-family: var(--font-serif);
	font-size: 2.6rem;
	line-height: 1;
}

.discovery-card--dark .discovery-card__number {
	color: rgba(255, 255, 255, 0.14);
}

.discovery-card__icon {
	display: grid;
	width: 58px;
	height: 58px;
	margin-bottom: 26px;
	place-items: center;
	border-radius: 50%;
	background: var(--color-lavender);
	color: var(--color-primary);
}

.discovery-card__icon svg {
	width: 28px;
	height: 28px;
}

.discovery-card--lavender .discovery-card__icon {
	background: #fff;
}

.discovery-card--dark .discovery-card__icon {
	background: rgba(255, 255, 255, 0.1);
	color: #e8dfc9;
}

.discovery-card strong {
	margin-bottom: 8px;
	font-family: var(--font-serif);
	font-size: 1.17rem;
}

.discovery-card small {
	margin-bottom: 22px;
	color: var(--color-text-muted);
	font-size: 0.82rem;
}

.discovery-card .text-link {
	margin-top: auto;
}

/* Category grid */
.category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.category-card {
	display: grid;
	min-height: 112px;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	align-items: center;
	gap: 15px;
	padding: 20px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-medium);
	background: var(--color-surface);
	color: var(--color-text);
	text-decoration: none;
	transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

a.category-card:hover {
	border-color: rgba(75, 74, 130, 0.35);
	box-shadow: 0 10px 24px rgba(44, 43, 72, 0.07);
	transform: translateY(-2px);
}

.category-card.is-empty {
	background: #fbfaf7;
}

.category-card.is-empty .category-card__icon {
	opacity: 0.62;
}

.category-card.is-empty .category-card__copy strong {
	color: #555766;
}

.category-card.is-empty .category-card__count {
	color: #626473;
}

.category-card__icon {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	border-radius: 50%;
	background: #f0edf6;
	color: var(--color-primary);
}

.category-card__icon svg {
	width: 24px;
	height: 24px;
}

.category-card__copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.category-card__copy strong {
	font-family: var(--font-serif);
	font-size: 0.95rem;
}

.category-card__copy small {
	overflow: hidden;
	color: var(--color-text-muted);
	font-size: 0.7rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.category-card__count {
	display: inline-flex;
	align-items: baseline;
	gap: 2px;
	color: var(--color-primary);
	font-family: var(--font-serif);
	font-size: 1.2rem;
}

.category-card__count small {
	color: var(--color-text-muted);
	font-family: var(--font-sans);
	font-size: 0.65rem;
}

/* Tags */
.tags-section {
	padding-bottom: 42px;
}

.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.tag-cloud a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 15px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.68);
	color: var(--color-primary-dark);
	font-size: 0.84rem;
	text-decoration: none;
	transition: border-color 160ms ease, background-color 160ms ease;
}

.tag-cloud a:hover {
	border-color: rgba(75, 74, 130, 0.4);
	background: #fff;
}

.tag-cloud a span {
	display: grid;
	min-width: 21px;
	height: 21px;
	place-items: center;
	border-radius: 50%;
	background: var(--color-lavender);
	font-size: 0.64rem;
}

/* Kana */
.kana-section {
	padding-top: 54px;
}

.kana-panel {
	position: relative;
	padding: 66px clamp(28px, 6vw, 76px) 44px;
	overflow: hidden;
	border-radius: 28px;
	background:
		radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.18) 0 1px, transparent 2px),
		radial-gradient(circle at 92% 26%, rgba(218, 196, 151, 0.45) 0 1px, transparent 2px),
		radial-gradient(circle at 81% 78%, rgba(255, 255, 255, 0.14) 0 1px, transparent 2px),
		linear-gradient(140deg, #42416f, #29284f);
	box-shadow: 0 28px 70px rgba(38, 37, 71, 0.2);
	color: #fff;
}

.kana-panel::before {
	position: absolute;
	top: -130px;
	right: -80px;
	width: 310px;
	height: 310px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	content: "";
}

.kana-panel .section-heading h2,
.kana-panel .section-heading > p {
	color: #fff;
}

.kana-panel .section-heading > p {
	opacity: 0.72;
}

.kana-index {
	position: relative;
	display: grid;
	grid-template-columns: repeat(10, minmax(38px, 1fr));
	gap: 9px;
}

.kana-index a,
.kana-index span {
	display: grid;
	aspect-ratio: 1;
	place-items: center;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	background: var(--color-surface);
	color: var(--color-primary-dark);
	font-family: var(--font-serif);
	font-size: 0.95rem;
	text-decoration: none;
}

.kana-index a {
	box-shadow: 0 7px 18px rgba(24, 23, 47, 0.08);
	transition: transform 160ms ease, background-color 160ms ease;
}

.kana-index a:hover {
	background: var(--color-lavender);
	transform: translateY(-2px);
}

.kana-index span {
	opacity: 0.33;
}

.kana-panel .kana-index a,
.kana-panel .kana-index span {
	border-color: rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.09);
	color: #fff;
}

.kana-panel .kana-index a:hover {
	background: rgba(255, 255, 255, 0.19);
}

.kana-panel .kana-index span {
	opacity: 0.25;
}

.kana-panel__note {
	margin: 20px 0 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.72rem;
	text-align: center;
}

/* Dream cards */
.dream-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.dream-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-large);
	background: var(--color-surface);
	box-shadow: 0 10px 30px rgba(44, 43, 72, 0.05);
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.dream-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-card);
}

.dream-card__image {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--color-lavender);
}

.dream-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.dream-card:hover .dream-card__image img {
	transform: scale(1.035);
}

.dream-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	background:
		radial-gradient(circle at 64% 28%, rgba(255, 255, 255, 0.5), transparent 18%),
		linear-gradient(135deg, #77769e, #3d3c6b);
	color: #efe6d0;
}

.dream-card__placeholder svg {
	width: 46px;
	height: 46px;
}

.dream-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px;
}

.eyebrow-link {
	margin-bottom: 8px;
	color: var(--color-primary);
	font-size: 0.69rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-decoration: none;
}

.dream-card__title {
	margin-bottom: 12px;
	font-size: 1.14rem;
	line-height: 1.62;
}

.dream-card__title a {
	color: var(--color-text);
	text-decoration: none;
}

.dream-card__body > p {
	display: -webkit-box;
	margin-bottom: 18px;
	overflow: hidden;
	color: var(--color-text-muted);
	font-size: 0.82rem;
	line-height: 1.78;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.dream-card__body .text-link {
	margin-top: auto;
}

/* About */
.about-section {
	padding-bottom: 120px;
}

.about-section__inner {
	display: grid;
	grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
	align-items: center;
	gap: clamp(54px, 8vw, 110px);
	padding: 64px clamp(38px, 7vw, 86px);
	border: 1px solid var(--color-border);
	border-radius: 26px;
	background: rgba(255, 255, 255, 0.68);
}

.about-section__symbol {
	position: relative;
	display: grid;
	width: 190px;
	height: 190px;
	margin-inline: auto;
	place-items: center;
	border: 1px solid rgba(75, 74, 130, 0.18);
	border-radius: 50%;
	color: var(--color-primary);
}

.about-section__symbol::before,
.about-section__symbol::after {
	position: absolute;
	border: 1px solid rgba(168, 135, 90, 0.15);
	border-radius: 50%;
	content: "";
}

.about-section__symbol::before {
	inset: 18px;
}

.about-section__symbol::after {
	inset: -14px;
}

.about-section__symbol svg {
	width: 78px;
	height: 78px;
}

.about-section__symbol span {
	position: absolute;
	top: 25px;
	right: 30px;
	color: var(--color-accent);
}

.about-section__content h2 {
	margin-bottom: 24px;
	font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.about-section__content > p:not(.section-kicker) {
	color: #575867;
	line-height: 2.05;
}

.about-section__content > p:last-child {
	margin-bottom: 0;
}

/* Breadcrumbs and archives */
.breadcrumbs {
	padding-block: 18px;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--color-text-muted);
	font-size: 0.72rem;
}

.breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.breadcrumbs li:not(:last-child)::after {
	color: #aaa8b1;
	content: "/";
}

.breadcrumbs a {
	color: var(--color-text-muted);
	text-decoration: none;
}

.breadcrumbs [aria-current="page"] {
	display: inline-block;
	max-width: min(48vw, 440px);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.archive-hero,
.search-page__header {
	position: relative;
	overflow: visible;
	border-block: 1px solid rgba(227, 222, 214, 0.8);
	background:
		radial-gradient(circle at 84% 22%, rgba(255, 255, 255, 0.78), transparent 20%),
		linear-gradient(135deg, #f2eef4, #f7f4ee);
}

.archive-hero__inner {
	display: grid;
	min-height: 285px;
	grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
	align-items: center;
	gap: 70px;
	padding-block: 56px;
}

.archive-hero h1,
.search-page__header h1 {
	margin-bottom: 14px;
	font-size: clamp(2.2rem, 4vw, 3.35rem);
}

.archive-hero__inner > div:first-child > p:last-child {
	max-width: 640px;
	margin: 0;
	color: var(--color-text-muted);
}

.archive-results__meta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-bottom: 20px;
	color: var(--color-text-muted);
	font-size: 0.8rem;
}

.archive-results__meta p {
	margin: 0;
}

.archive-results__meta strong,
.search-result-heading strong {
	margin-right: 3px;
	color: var(--color-primary);
	font-family: var(--font-serif);
	font-size: 1.2rem;
}

.archive-kana {
	border-top: 1px solid var(--color-border);
}

.empty-state {
	max-width: 680px;
	margin-inline: auto;
	padding: 68px 30px;
	text-align: center;
}

.empty-state__icon {
	display: grid;
	width: 76px;
	height: 76px;
	margin: 0 auto 24px;
	place-items: center;
	border-radius: 50%;
	background: var(--color-lavender);
	color: var(--color-primary);
}

.empty-state__icon svg {
	width: 36px;
	height: 36px;
}

.empty-state h2 {
	margin-bottom: 14px;
	font-size: 1.7rem;
}

.empty-state > p {
	margin-bottom: 26px;
	color: var(--color-text-muted);
}

.empty-state__examples {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 9px;
}

.empty-state__examples span {
	color: var(--color-text-muted);
	font-size: 0.75rem;
}

.empty-state__examples a {
	padding: 5px 12px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: #fff;
	font-size: 0.78rem;
	text-decoration: none;
}

.navigation.pagination {
	margin-top: 32px;
}

.pagination .nav-links,
.pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.pagination ul.page-numbers {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination ul.page-numbers > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination .nav-links > .page-numbers,
.pagination ul.page-numbers > li > .page-numbers {
	display: inline-grid;
	width: auto;
	min-width: 40px;
	height: 40px;
	padding-inline: 10px;
	place-items: center;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: var(--color-surface);
	color: var(--color-primary);
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.pagination .nav-links > .current,
.pagination ul.page-numbers > li > .current {
	border-color: var(--color-primary);
	background: var(--color-primary);
	color: #fff;
}

.pagination .nav-links > .dots,
.pagination ul.page-numbers > li > .dots {
	border-color: transparent;
	background: transparent;
}

.pagination .nav-links > a.page-numbers:hover,
.pagination ul.page-numbers > li > a.page-numbers:hover {
	border-color: var(--color-primary);
	background: var(--color-lavender);
}

/* Single dream */
.dream-entry__header {
	padding-block: 50px 42px;
	text-align: center;
}

.dream-entry__category {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 18px;
	color: var(--color-primary);
	font-size: 0.76rem;
	font-weight: 700;
	text-decoration: none;
}

.dream-entry__category span {
	display: grid;
	width: 25px;
	height: 25px;
	place-items: center;
	border-radius: 50%;
	background: var(--color-lavender);
}

.dream-entry__category svg {
	width: 14px;
	height: 14px;
}

.dream-entry__header h1 {
	margin-bottom: 12px;
	font-size: clamp(2.15rem, 4.4vw, 3.45rem);
	line-height: 1.45;
}

.dream-summary {
	position: relative;
	max-width: 700px;
	margin: 0 auto 18px;
	padding: 26px 32px 24px;
	border: 1px solid rgba(75, 74, 130, 0.17);
	border-radius: 17px;
	background: rgba(255, 255, 255, 0.7);
	text-align: left;
}

.dream-summary::before {
	position: absolute;
	top: -1px;
	bottom: -1px;
	left: -1px;
	width: 5px;
	border-radius: 17px 0 0 17px;
	background: var(--color-primary);
	content: "";
}

.dream-summary__label {
	display: block;
	margin-bottom: 6px;
	color: var(--color-primary);
	font-size: 0.71rem;
	font-weight: 700;
}

.dream-summary p {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 1.05rem;
	line-height: 1.9;
}

.meaning-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 12px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.45);
	color: var(--color-text-muted);
	font-size: 0.7rem;
}

.meaning-label > span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #8f8fa1;
}

.meaning-label--positive > span {
	background: #718c73;
}

.meaning-label--warning > span {
	background: #b18460;
}

.meaning-label--mixed > span {
	background: #7775a3;
}

.dream-entry__image {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 24px;
	box-shadow: 0 24px 60px rgba(42, 40, 70, 0.15);
}

.dream-entry__image::after {
	position: absolute;
	inset: 0;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
	border-radius: inherit;
	content: "";
	pointer-events: none;
}

.dream-entry__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dream-entry__layout {
	display: grid;
	grid-template-columns: 260px minmax(0, 720px);
	justify-content: center;
	gap: clamp(48px, 7vw, 84px);
	padding-block: 84px 70px;
}

.dream-entry__sidebar {
	min-width: 0;
}

.table-of-contents {
	position: sticky;
	top: 30px;
	max-height: calc(100vh - 60px);
	padding: 23px 20px;
	overflow-y: auto;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-medium);
	background: rgba(255, 255, 255, 0.64);
}

.table-of-contents__heading {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 13px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--color-border);
}

.table-of-contents__heading span {
	color: var(--color-primary);
}

.table-of-contents__heading h2 {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 0.95rem;
	letter-spacing: 0.08em;
}

.table-of-contents ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.table-of-contents li + li {
	margin-top: 7px;
}

.table-of-contents li.toc-level-3 {
	padding-left: 13px;
}

.table-of-contents a {
	display: block;
	padding-block: 3px;
	color: var(--color-text-muted);
	font-size: 0.875rem;
	line-height: 1.65;
	text-decoration: none;
}

.table-of-contents a:hover,
.table-of-contents a[aria-current="location"] {
	color: var(--color-primary);
}

.table-of-contents a[aria-current="location"] {
	font-weight: 700;
}

.dream-entry__main {
	min-width: 0;
}

.entry-content {
	color: #3e3f4c;
	font-size: 1rem;
	line-height: 2.05;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content figure,
.entry-content .wp-block-group {
	margin-top: 0;
	margin-bottom: 1.7em;
}

.entry-content h2 {
	position: relative;
	margin: 3.3em 0 1.25em;
	padding: 0 0 15px 20px;
	border-bottom: 1px solid var(--color-border);
	font-size: clamp(1.55rem, 3vw, 2rem);
	scroll-margin-top: 24px;
}

.entry-content h2::before {
	position: absolute;
	top: 0.22em;
	bottom: calc(15px + 0.22em);
	left: 0;
	width: 4px;
	border-radius: 4px;
	background: var(--color-primary);
	content: "";
}

.entry-content h3 {
	margin: 2.3em 0 0.9em;
	font-size: clamp(1.18rem, 2.5vw, 1.4rem);
	scroll-margin-top: 24px;
}

.entry-content h3::before {
	margin-right: 9px;
	color: var(--color-accent);
	content: "\25C7";
	font-family: var(--font-sans);
	font-size: 0.67em;
}

.entry-content a {
	font-weight: 600;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.35em;
}

.entry-content li {
	padding-left: 0.2em;
}

.entry-content li + li {
	margin-top: 0.55em;
}

.entry-content blockquote {
	padding: 22px 26px;
	border: 0;
	border-left: 4px solid var(--color-primary);
	border-radius: 0 12px 12px 0;
	background: #eeebf5;
	color: #4d4d60;
}

.entry-content blockquote > :last-child {
	margin-bottom: 0;
}

.entry-content .wp-block-separator {
	width: 80px;
	margin-block: 54px;
	border: 0;
	border-top: 1px solid var(--color-accent);
	opacity: 0.5;
}

.entry-content img {
	border-radius: 14px;
}

.dream-entry__tags {
	margin-top: 66px;
	padding-top: 30px;
	border-top: 1px solid var(--color-border);
}

.dream-entry__tags h2 {
	margin-bottom: 16px;
	font-family: var(--font-sans);
	font-size: 0.88rem;
	letter-spacing: 0.04em;
}

.tag-cloud--article {
	justify-content: flex-start;
}

.related-section {
	border-block: 1px solid var(--color-border);
}

.research-cta {
	padding-bottom: 54px;
	background: var(--color-primary-dark);
	color: #fff;
}

.research-cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
	align-items: center;
	gap: 54px;
}

.research-cta h2 {
	margin-bottom: 10px;
	color: #fff;
	font-size: 1.8rem;
}

.research-cta__inner > div > p:last-child {
	margin: 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.84rem;
}

.dream-search-form--cta .dream-search-form__field {
	box-shadow: none;
}

.article-disclaimer {
	padding-block: 34px 74px;
}

.article-disclaimer p {
	margin: 0;
	padding: 18px 22px;
	border-radius: 12px;
	background: #efebe4;
	color: var(--color-text-muted);
	font-size: 0.76rem;
	line-height: 1.8;
}

.article-disclaimer strong {
	color: var(--color-text);
}

/* Search page */
.search-page__header {
	padding-block: 62px 68px;
	text-align: center;
}

.search-page__header .section-kicker {
	justify-content: center;
}

.search-page__header .dream-search-form {
	max-width: 700px;
	margin-inline: auto;
}

.dream-search-form--results .dream-search-form__field,
.dream-search-form--not-found .dream-search-form__field {
	border-radius: 18px;
}

.dream-search-form--results .button--search,
.dream-search-form--not-found .button--search {
	border-radius: 13px;
}

.search-result-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--color-border);
}

.search-result-heading h2 {
	margin: 0;
	font-size: 1.4rem;
}

.search-result-heading p {
	margin: 0;
	color: var(--color-text-muted);
	font-size: 0.76rem;
	white-space: nowrap;
}

/* Standard pages */
.standard-page {
	padding-block: 62px 110px;
}

.standard-page__header {
	margin-bottom: 46px;
	padding-bottom: 25px;
	border-bottom: 1px solid var(--color-border);
}

.standard-page__header h1 {
	margin-bottom: 0;
	font-size: clamp(2rem, 4vw, 3rem);
}

.standard-list {
	max-width: 820px;
	margin-inline: auto;
}

.standard-list__item {
	padding-block: 28px;
	border-bottom: 1px solid var(--color-border);
}

.standard-list__item h2 {
	margin-bottom: 10px;
	font-size: 1.4rem;
}

.standard-list__item h2 a {
	color: var(--color-text);
	text-decoration: none;
}

.standard-list__date {
	margin-bottom: 5px;
	color: var(--color-text-muted);
	font-size: 0.7rem;
}

/* 404 */
.not-found__inner {
	padding-block: 34px 72px;
	text-align: center;
}

.not-found__symbol {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 12px;
	color: var(--color-primary);
	font-family: var(--font-serif);
	font-size: 5.5rem;
	line-height: 1;
}

.not-found__symbol svg {
	width: 78px;
	height: 78px;
}

.not-found .section-kicker {
	justify-content: center;
}

.not-found h1 {
	margin-bottom: 16px;
	font-size: clamp(2rem, 4vw, 3rem);
}

.not-found__inner > p:not(.section-kicker) {
	max-width: 610px;
	margin: 0 auto 30px;
	color: var(--color-text-muted);
}

.not-found .dream-search-form {
	max-width: 680px;
	margin: 0 auto 26px;
}

/* Footer */
.site-footer {
	position: relative;
	overflow: hidden;
	background: #24233f;
	color: #fff;
}

.site-footer__glow {
	position: absolute;
	top: -220px;
	right: -130px;
	width: 500px;
	height: 500px;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 50%;
}

.site-footer__glow::before {
	position: absolute;
	inset: 55px;
	border: 1px solid rgba(168, 135, 90, 0.12);
	border-radius: 50%;
	content: "";
}

.site-footer__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 48px 80px;
	padding-block: 66px 46px;
}

.site-brand--footer {
	color: #fff;
}

.site-brand--footer .site-brand__mark {
	border-color: rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.site-footer__brand > p {
	margin: 12px 0 0 46px;
	color: #fff;
	font-size: 0.78rem;
}

.site-footer__nav {
	display: grid;
	grid-template-columns: repeat(2, auto);
	gap: 10px 42px;
}

.site-footer__nav a {
	color: #fff;
	font-size: 0.78rem;
	text-decoration: none;
}

.site-footer__nav a:hover {
	color: #fff;
}

.site-footer__notice {
	grid-column: 1 / -1;
	max-width: 790px;
	margin: 0;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 0.7rem;
	line-height: 1.8;
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__bottom .shell {
	padding-block: 18px;
}

.site-footer__bottom small {
	color: #fff;
	font-size: 0.65rem;
	letter-spacing: 0.04em;
}

@media (max-width: 1100px) {
	.site-header__inner {
		gap: 20px;
	}

	.desktop-nav {
		gap: 16px;
	}

	.desktop-nav a {
		font-size: 0.78rem;
	}

	.site-header__search {
		width: 200px;
	}

	.hero__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.95fr);
		gap: 42px;
	}

	.hero-visual__card {
		width: min(280px, 74%);
	}

	.category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 959px) {
	.shell,
	.shell--narrow,
	.shell--article,
	.shell--wide {
		width: min(calc(100% - 40px), var(--shell));
	}

	.site-header__inner {
		min-height: 70px;
	}

	.desktop-nav,
	.site-header__search {
		display: none;
	}

	.nav-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		margin-left: auto;
		padding: 9px 12px;
		border: 1px solid rgba(75, 74, 130, 0.2);
		border-radius: 999px;
		background: transparent;
		color: var(--color-primary-dark);
		cursor: pointer;
	}

	.nav-toggle__icon {
		display: flex;
		width: 18px;
		flex-direction: column;
		gap: 4px;
	}

	.nav-toggle__icon span {
		width: 100%;
		height: 1px;
		background: currentColor;
		transition: transform 180ms ease, opacity 180ms ease;
	}

	.nav-toggle__label {
		font-size: 0.72rem;
		font-weight: 700;
	}

	.is-navigation-open .nav-toggle__icon span:first-child {
		transform: translateY(5px) rotate(45deg);
	}

	.is-navigation-open .nav-toggle__icon span:nth-child(2) {
		opacity: 0;
	}

	.is-navigation-open .nav-toggle__icon span:last-child {
		transform: translateY(-5px) rotate(-45deg);
	}

	.mobile-navigation {
		position: absolute;
		z-index: 102;
		top: 100%;
		right: 0;
		left: 0;
		display: block;
		padding-block: 22px 28px;
		border-top: 1px solid var(--color-border);
		background: var(--color-background);
		box-shadow: 0 22px 50px rgba(34, 33, 57, 0.15);
	}

	.mobile-navigation[hidden],
	.nav-backdrop[hidden] {
		display: none;
	}

	.mobile-navigation__inner {
		display: grid;
		grid-template-columns: minmax(200px, 0.8fr) minmax(300px, 1.2fr);
		align-items: center;
		gap: 32px;
	}

	.mobile-navigation nav {
		display: grid;
	}

	.mobile-navigation nav a {
		padding: 8px 4px;
		border-bottom: 1px solid var(--color-border);
		color: var(--color-text);
		font-family: var(--font-serif);
		text-decoration: none;
	}

	.nav-backdrop {
		position: fixed;
		z-index: 98;
		inset: 70px 0 0;
		display: block;
		background: rgba(29, 28, 50, 0.36);
		backdrop-filter: blur(2px);
	}

	.hero__inner {
		min-height: auto;
		grid-template-columns: 1fr;
		gap: 32px;
		padding-block: 64px 58px;
	}

	.hero__content {
		max-width: 700px;
	}

	.hero h1 {
		font-size: clamp(2.8rem, 7vw, 4rem);
	}

	.hero-visual {
		width: min(100%, 620px);
		height: 440px;
		margin-inline: auto;
	}

	.hero-visual__orbit {
		right: 13%;
	}

	.hero-visual__card {
		width: min(330px, 62%);
	}

	.discovery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.discovery-card:last-child {
		grid-column: 1 / -1;
		min-height: 230px;
	}

	.dream-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dream-card:last-child:nth-child(odd) {
		grid-column: span 2;
	}

	.dream-card:last-child:nth-child(odd) {
		display: grid;
		grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
	}

	.dream-card:last-child:nth-child(odd) .dream-card__image {
		height: 100%;
		aspect-ratio: auto;
	}

	.kana-index {
		grid-template-columns: repeat(8, minmax(36px, 1fr));
	}

	.about-section__inner {
		grid-template-columns: 180px minmax(0, 1fr);
		gap: 44px;
	}

	.about-section__symbol {
		width: 150px;
		height: 150px;
	}

	.about-section__symbol svg {
		width: 60px;
		height: 60px;
	}

	.archive-hero__inner {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.archive-hero__search {
		max-width: 680px;
	}

	.dream-entry__layout {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.dream-entry__sidebar {
		order: 0;
	}

	.table-of-contents {
		position: static;
		max-height: none;
	}

	.table-of-contents ol {
		columns: 2;
		column-gap: 30px;
	}

	.table-of-contents li {
		break-inside: avoid;
	}

	.dream-entry__main {
		width: min(100%, 720px);
		margin-inline: auto;
	}

	.research-cta__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 700px) {
	:root {
		--radius-large: 17px;
		--radius-medium: 14px;
	}

	html {
		scroll-padding-top: 0;
	}

	body {
		font-size: 16px;
	}

	.shell,
	.shell--narrow,
	.shell--article,
	.shell--wide {
		width: min(calc(100% - 32px), var(--shell));
	}

	.section {
		padding-block: 68px;
	}

	.section-heading {
		margin-bottom: 30px;
	}

	.section-heading--split {
		display: block;
	}

	.section-heading--split > p,
	.section-heading--split > .text-link {
		margin-top: 13px;
	}

	.site-header__inner {
		min-height: 66px;
	}

	.site-brand__mark {
		width: 32px;
		height: 32px;
	}

	.site-brand__mark svg {
		width: 18px;
		height: 18px;
	}

	.site-brand__text {
		font-size: 1.08rem;
	}

	.mobile-navigation__inner {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.nav-backdrop {
		inset: 66px 0 0;
	}

	.hero__inner {
		gap: 30px;
		padding-block: 48px 42px;
	}

	.hero h1 {
		margin-bottom: 17px;
		font-size: clamp(2.25rem, 11vw, 3.05rem);
		line-height: 1.35;
	}

	.hero__lead {
		margin-bottom: 24px;
		font-size: 0.94rem;
		line-height: 1.9;
	}

	.desktop-only {
		display: none;
	}

	.dream-search-form__field {
		border-radius: 14px;
	}

	.dream-search-form--hero .dream-search-form__field,
	.dream-search-form--results .dream-search-form__field,
	.dream-search-form--not-found .dream-search-form__field,
	.dream-search-form--cta .dream-search-form__field,
	.dream-search-form--archive .dream-search-form__field {
		display: grid;
		grid-template-columns: 38px minmax(0, 1fr);
		padding: 7px;
	}

	.dream-search-form--hero .dream-search-form__icon,
	.dream-search-form--results .dream-search-form__icon,
	.dream-search-form--not-found .dream-search-form__icon,
	.dream-search-form--cta .dream-search-form__icon,
	.dream-search-form--archive .dream-search-form__icon {
		width: 38px;
	}

	.dream-search-form--hero .dream-search-form__input,
	.dream-search-form--results .dream-search-form__input,
	.dream-search-form--not-found .dream-search-form__input,
	.dream-search-form--cta .dream-search-form__input,
	.dream-search-form--archive .dream-search-form__input {
		height: 49px;
	}

	.dream-search-form--hero .button--search,
	.dream-search-form--results .button--search,
	.dream-search-form--not-found .button--search,
	.dream-search-form--cta .button--search,
	.dream-search-form--archive .button--search {
		width: 100%;
		grid-column: 1 / -1;
		min-height: 48px;
		margin-top: 4px;
		border-radius: 10px;
	}

	.search-examples {
		margin-top: 14px;
	}

	.hero-visual {
		height: 335px;
	}

	.hero-visual__orbit {
		top: 16px;
		right: 6%;
		width: 280px;
		height: 280px;
	}

	.hero-visual__card {
		width: min(245px, 69%);
		border-width: 5px;
		border-radius: 14px;
	}

	.hero-visual__card--1 {
		top: 24px;
	}

	.hero-visual__card--2 {
		top: 117px;
	}

	.hero-visual__card--3 {
		right: 10px;
		bottom: 18px;
	}

	.hero-visual__caption {
		right: 0;
		bottom: -15px;
		font-size: 0.64rem;
	}

	.discovery-grid,
	.category-grid,
	.dream-grid {
		grid-template-columns: 1fr;
	}

	.discovery-card,
	.discovery-card:last-child {
		min-height: 235px;
		grid-column: auto;
		padding: 27px;
	}

	.discovery-card__icon {
		width: 52px;
		height: 52px;
		margin-bottom: 20px;
	}

	.category-card {
		min-height: 96px;
		padding: 16px;
	}

	.dream-card:last-child:nth-child(odd) {
		display: flex;
		grid-column: auto;
	}

	.dream-card:last-child:nth-child(odd) .dream-card__image {
		height: auto;
		aspect-ratio: 3 / 2;
	}

	.tags-section {
		padding-bottom: 26px;
	}

	.kana-section {
		padding-top: 42px;
	}

	.kana-panel {
		margin-inline: -4px;
		padding: 48px 20px 32px;
		border-radius: 20px;
	}

	.kana-index {
		grid-template-columns: repeat(6, minmax(34px, 1fr));
		gap: 7px;
	}

	.kana-index a,
	.kana-index span {
		border-radius: 8px;
	}

	.about-section {
		padding-bottom: 82px;
	}

	.about-section__inner {
		grid-template-columns: 1fr;
		gap: 38px;
		padding: 44px 25px;
	}

	.about-section__symbol {
		width: 128px;
		height: 128px;
	}

	.about-section__symbol svg {
		width: 50px;
		height: 50px;
	}

	.breadcrumbs {
		padding-block: 13px;
	}

	.archive-hero__inner {
		min-height: 0;
		gap: 24px;
		padding-block: 44px;
	}

	.archive-results__meta {
		justify-content: flex-start;
	}

	.dream-entry__header {
		padding-block: 38px 32px;
	}

	.dream-entry__header h1 {
		font-size: clamp(1.9rem, 8.6vw, 2.6rem);
	}

	.dream-summary {
		padding: 21px 22px;
	}

	.dream-summary p {
		font-size: 0.95rem;
	}

	.dream-entry__image {
		width: calc(100% - 24px);
		border-radius: 17px;
	}

	.dream-entry__layout {
		gap: 30px;
		padding-block: 54px 46px;
	}

	.table-of-contents {
		padding: 20px;
	}

	.table-of-contents ol {
		columns: 1;
	}

	.entry-content {
		font-size: 0.97rem;
		line-height: 2;
	}

	.entry-content h2 {
		margin-top: 2.8em;
		padding-left: 15px;
		font-size: 1.48rem;
	}

	.entry-content h3 {
		font-size: 1.18rem;
	}

	.related-section .section-heading .text-link {
		margin-top: 12px;
	}

	.research-cta {
		padding-block: 58px;
	}

	.research-cta h2 {
		font-size: 1.55rem;
	}

	.article-disclaimer {
		padding-bottom: 54px;
	}

	.search-page__header {
		padding-block: 44px 50px;
	}

	.search-result-heading {
		display: block;
	}

	.search-result-heading h2 {
		margin-bottom: 6px;
	}

	.not-found__symbol {
		font-size: 4.2rem;
	}

	.not-found__symbol svg {
		width: 58px;
		height: 58px;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
		gap: 34px;
		padding-block: 52px 38px;
	}

	.site-footer__nav {
		grid-template-columns: 1fr 1fr;
		gap: 9px 20px;
	}

	.site-footer__notice {
		grid-column: auto;
	}
}

@media (max-width: 390px) {
	.shell,
	.shell--narrow,
	.shell--article,
	.shell--wide {
		width: calc(100% - 28px);
	}

	.site-brand__text {
		font-size: 1rem;
		letter-spacing: 0.055em;
	}

	.nav-toggle {
		padding: 8px 10px;
	}

	.hero h1 {
		font-size: 2.18rem;
	}

	.hero-visual {
		height: 310px;
	}

	.hero-visual__card {
		width: 222px;
	}

	.hero-visual__card--2 {
		top: 105px;
	}

	.kana-index {
		grid-template-columns: repeat(5, minmax(34px, 1fr));
	}

	.category-card {
		grid-template-columns: 44px minmax(0, 1fr) auto;
		gap: 11px;
		padding: 14px;
	}

	.category-card__icon {
		width: 44px;
		height: 44px;
	}

	.category-card__copy strong {
		font-size: 0.88rem;
	}

	.category-card__copy small {
		font-size: 0.64rem;
	}

	.dream-suggestion {
		grid-template-columns: 54px minmax(0, 1fr) 16px;
		gap: 9px;
	}

	.dream-suggestion__media {
		width: 54px;
	}
}

/* Home dictionary workspace */
.home-main {
	background: #f6f4ef;
}

.home-finder {
	border-bottom: 1px solid var(--color-border);
	background:
		linear-gradient(rgba(75, 74, 130, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(75, 74, 130, 0.035) 1px, transparent 1px),
		linear-gradient(135deg, #f8f6f1, #f1eef6);
	background-size: 32px 32px, 32px 32px, auto;
}

.home-finder__inner {
	padding-block: 28px 20px;
}

.home-finder__top {
	display: grid;
	grid-template-columns: minmax(310px, 0.56fr) minmax(480px, 1.44fr);
	align-items: end;
	gap: clamp(28px, 4vw, 60px);
}

.home-finder__heading h1 {
	margin: 0;
	font-size: clamp(1.65rem, 2.2vw, 2.05rem);
	line-height: 1.35;
	letter-spacing: 0.025em;
}

.home-finder__heading > p:last-child {
	margin: 7px 0 0;
	color: var(--color-text-muted);
	font-size: 0.78rem;
	line-height: 1.65;
}

@media (min-width: 701px) {
	.home-finder__heading > p:last-child {
		white-space: nowrap;
	}
}

.home-finder__eyebrow {
	margin: 0 0 5px;
	color: var(--color-primary);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.13em;
}

.home-search__label {
	margin: 0 0 7px;
	color: var(--color-primary-dark);
	font-size: 0.76rem;
	font-weight: 700;
}

.home-search .dream-search-form--hero .dream-search-form__field {
	padding: 6px;
	border: 1px solid rgba(75, 74, 130, 0.22);
	border-radius: 13px;
	box-shadow: 0 10px 28px rgba(44, 43, 72, 0.09);
}

.home-search .dream-search-form--hero .dream-search-form__input {
	height: 48px;
	font-size: 0.94rem;
}

.home-search .dream-search-form--hero .button--search {
	min-height: 48px;
	padding-inline: 20px;
	border-radius: 9px;
}

.home-search__examples {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 7px;
	font-size: 0.7rem;
}

.home-search__examples > span {
	color: var(--color-text-muted);
}

.home-search__examples a {
	padding: 2px 9px;
	border: 1px solid rgba(75, 74, 130, 0.17);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.6);
	color: var(--color-primary-dark);
	text-decoration: none;
}

.home-search__examples a:hover {
	border-color: rgba(75, 74, 130, 0.4);
	background: #fff;
}

.home-finder__tools {
	display: grid;
	grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
	align-items: stretch;
	gap: 12px;
	margin-top: 18px;
}

.home-tool {
	min-width: 0;
	padding: 14px;
	border: 1px solid rgba(75, 74, 130, 0.16);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.76);
	box-shadow: 0 5px 18px rgba(44, 43, 72, 0.035);
}

.home-tool__heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--color-border);
}

.home-tool__heading h2 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.4;
}

.home-tool__heading span {
	color: var(--color-text-muted);
	font-size: 0.66rem;
	white-space: nowrap;
}

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

.home-category-link {
	display: grid;
	min-width: 0;
	min-height: 39px;
	grid-template-columns: 27px minmax(0, 1fr) auto;
	align-items: center;
	gap: 6px;
	padding: 4px 7px;
	border: 1px solid rgba(75, 74, 130, 0.13);
	border-radius: 8px;
	background: #fff;
	color: var(--color-text);
	text-decoration: none;
	transition: border-color 160ms ease, background-color 160ms ease;
}

a.home-category-link:hover {
	border-color: rgba(75, 74, 130, 0.4);
	background: #f2eff8;
}

.home-category-link.is-empty {
	background: rgba(247, 246, 242, 0.68);
	color: #72727d;
}

.home-category-link__icon {
	display: grid;
	width: 27px;
	height: 27px;
	place-items: center;
	border-radius: 7px;
	background: #efecf6;
	color: var(--color-primary);
}

.home-category-link__icon svg {
	width: 15px;
	height: 15px;
}

.home-category-link.is-empty .home-category-link__icon {
	opacity: 0.55;
}

.home-category-link__name {
	overflow: hidden;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.home-category-link__count {
	display: grid;
	min-width: 18px;
	height: 18px;
	place-items: center;
	border-radius: 999px;
	background: var(--color-primary);
	color: #fff;
	font-size: 0.61rem;
	font-weight: 700;
}

.home-tool--kana .kana-index {
	grid-template-columns: repeat(10, minmax(0, 1fr));
	gap: 5px;
}

.home-tool--kana .kana-index a,
.home-tool--kana .kana-index span {
	height: 35px;
	aspect-ratio: auto;
	border-radius: 7px;
	font-size: 0.78rem;
}

.home-tool--kana .kana-index a {
	background: #eeebf6;
	box-shadow: none;
	font-weight: 700;
}

.home-tool--kana .kana-index span {
	background: #f8f7f4;
	opacity: 0.43;
}

.home-finder__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 10px;
	font-size: 0.69rem;
}

.home-finder__footer > a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--color-primary-dark);
	font-weight: 700;
	text-decoration: none;
}

.home-finder__footer > a span {
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--color-primary);
	color: #fff;
	font-size: 0.6rem;
}

.home-finder__footer > a svg {
	width: 14px;
	height: 14px;
}

.home-finder__footer p {
	margin: 0;
	color: var(--color-text-muted);
}

.home-content {
	padding-block: 40px 72px;
}

.home-content__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.72fr);
	align-items: start;
	gap: 24px;
}

.home-dreams,
.home-reference__section {
	padding: 20px;
	border: 1px solid var(--color-border);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.72);
}

.home-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 14px;
}

.home-section-heading p {
	margin: 0 0 2px;
	color: var(--color-primary);
	font-size: 0.61rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.home-section-heading h2 {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.4;
}

.home-section-heading > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--color-primary);
	font-size: 0.7rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.home-section-heading > a svg {
	width: 14px;
	height: 14px;
}

.home-reference {
	display: grid;
	gap: 14px;
}

.home-section-heading--small {
	margin-bottom: 11px;
}

.home-section-heading--small h2 {
	font-size: 1.05rem;
}

.home-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.home-tag-list a {
	padding: 4px 9px;
	border: 1px solid rgba(75, 74, 130, 0.17);
	border-radius: 999px;
	background: #f7f5fa;
	color: var(--color-primary-dark);
	font-size: 0.7rem;
	text-decoration: none;
}

.home-tag-list a:hover {
	border-color: rgba(75, 74, 130, 0.4);
	background: #fff;
}

.home-about > p {
	margin: 0;
	color: var(--color-text-muted);
	font-size: 0.72rem;
	line-height: 1.75;
}

@media (max-width: 959px) {
	.home-finder__top {
		grid-template-columns: minmax(310px, 0.56fr) minmax(0, 1.44fr);
		gap: 22px;
	}

	.home-finder__heading h1 {
		font-size: 1.7rem;
	}

	.home-finder__tools {
		grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	}

	.home-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-tool--kana .kana-index {
		grid-template-columns: repeat(7, minmax(0, 1fr));
	}

	.home-content__grid {
		grid-template-columns: minmax(0, 1.5fr) minmax(230px, 0.75fr);
		gap: 16px;
	}
}

@media (max-width: 700px) {
	.home-finder__inner {
		padding-block: 14px 12px;
	}

	.home-finder__top {
		grid-template-columns: 1fr;
		gap: 9px;
	}

	.home-finder__heading h1 {
		font-size: clamp(1.42rem, 6.4vw, 1.72rem);
		line-height: 1.3;
	}

	.home-finder__heading > p:last-child {
		margin-top: 3px;
		font-size: 0.68rem;
		line-height: 1.5;
	}

	.home-finder__eyebrow {
		margin-bottom: 2px;
		font-size: 0.58rem;
	}

	.home-search__label {
		margin-bottom: 4px;
		font-size: 0.68rem;
	}

	.home-search .dream-search-form--hero .dream-search-form__field {
		grid-template-columns: 34px minmax(0, 1fr) auto;
		padding: 4px;
		border-radius: 10px;
	}

	.home-search .dream-search-form--hero .dream-search-form__icon {
		width: 34px;
	}

	.home-search .dream-search-form--hero .dream-search-form__input {
		height: 42px;
		font-size: 0.78rem;
	}

	.home-search .dream-search-form--hero .button--search {
		width: auto;
		grid-column: auto;
		min-height: 42px;
		margin-top: 0;
		padding-inline: 12px;
		border-radius: 7px;
	}

	.home-search .dream-search-form--hero .button--search svg {
		display: none;
	}

	.home-search__examples {
		gap: 4px;
		margin-top: 5px;
		font-size: 0.63rem;
	}

	.home-search__examples a {
		padding: 1px 7px;
	}

	.home-finder__tools {
		grid-template-columns: 1fr;
		gap: 8px;
		margin-top: 10px;
	}

	.home-tool {
		padding: 9px;
		border-radius: 10px;
	}

	.home-tool__heading {
		margin-bottom: 6px;
		padding-bottom: 5px;
	}

	.home-tool__heading h2 {
		font-size: 0.86rem;
	}

	.home-tool__heading span {
		font-size: 0.58rem;
	}

	.home-category-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 4px;
	}

	.home-category-link {
		min-height: 34px;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 3px;
		padding: 3px 5px;
		border-radius: 6px;
	}

	.home-category-link__icon {
		display: none;
	}

	.home-category-link__name {
		font-size: 0.61rem;
		white-space: normal;
	}

	.home-category-link__count {
		min-width: 15px;
		height: 15px;
		font-size: 0.53rem;
	}

	.home-tool--kana .kana-index {
		grid-template-columns: repeat(9, minmax(0, 1fr));
		gap: 3px;
	}

	.home-tool--kana .kana-index a,
	.home-tool--kana .kana-index span {
		height: 32px;
		border-radius: 5px;
		font-size: 0.7rem;
	}

	.home-finder__footer {
		margin-top: 7px;
		font-size: 0.63rem;
	}

	.home-finder__footer p {
		display: none;
	}

	.home-content {
		padding-block: 24px 48px;
	}

	.home-content__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.home-dreams,
	.home-reference__section {
		padding: 14px;
		border-radius: 10px;
	}

	.home-section-heading {
		margin-bottom: 10px;
	}

	.home-section-heading h2 {
		font-size: 1.05rem;
	}

	.home-reference {
		gap: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media (forced-colors: active) {
	.button,
	.category-card,
	.discovery-card,
	.dream-card,
	.kana-index a,
	.kana-index span {
		border: 1px solid CanvasText;
	}
}

/* Dictionary-density refinements */
.site-header__inner {
	min-height: 64px;
}

.breadcrumbs {
	padding-block: 10px;
}

body.single-dream .breadcrumbs li:last-child {
	display: none;
}

body.single-dream .breadcrumbs li:nth-last-child(2)::after {
	display: none;
}

.dream-list {
	display: grid;
	max-width: 980px;
	gap: 9px;
	margin: 0;
}

.dream-list__item {
	min-width: 0;
}

.dream-list .dream-card.dream-card--compact {
	display: grid;
	height: 112px;
	min-height: 112px;
	grid-template-columns: 148px minmax(0, 1fr);
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(44, 43, 72, 0.035);
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.dream-card--compact:hover {
	border-color: rgba(75, 74, 130, 0.34);
	box-shadow: 0 8px 22px rgba(44, 43, 72, 0.07);
	transform: none;
}

.dream-list .dream-card.dream-card--compact .dream-card__media {
	height: 100%;
	min-height: 112px;
	aspect-ratio: auto;
	border-radius: 0;
}

.dream-card--compact:hover .dream-card__media img {
	transform: scale(1.02);
}

.dream-card--compact .dream-card__content {
	display: grid;
	min-width: 0;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto 1fr;
	align-content: center;
	align-items: start;
	column-gap: 22px;
	padding: 12px 16px;
}

.dream-card--compact .dream-card__meta,
.dream-card--compact .dream-card__title,
.dream-card--compact .dream-card__summary {
	grid-column: 1;
}

.dream-card--compact .dream-card__meta {
	margin-bottom: 2px;
	line-height: 1.2;
}

.dream-card--compact .dream-card__category {
	margin: 0;
	font-size: 0.64rem;
}

.dream-card--compact .dream-card__title {
	margin: 0 0 3px;
	font-size: 1.03rem;
	line-height: 1.45;
}

.dream-card--compact .dream-card__summary,
.dream-card--compact .dream-card__body > p {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--color-text-muted);
	font-size: 0.75rem;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.dream-card--compact .dream-card__action,
.dream-card--compact .dream-card__body .text-link {
	grid-column: 2;
	grid-row: 1 / 4;
	align-self: center;
	margin: 0;
	padding: 10px 0 10px 12px;
	font-size: 0.72rem;
	white-space: nowrap;
}

.archive-hero--compact .archive-hero__inner,
.search-page__header--compact .search-page__header-inner {
	display: grid;
	min-height: 0;
	grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
	padding-block: 20px;
}

.archive-hero__label,
.archive-hero__search-label,
.search-page__label {
	margin: 0 0 4px;
	color: var(--color-primary);
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.09em;
}

.archive-hero__search-label {
	color: var(--color-text-muted);
	letter-spacing: 0;
}

.archive-hero--compact h1,
.search-page__header--compact h1 {
	margin-bottom: 4px;
	font-size: clamp(1.65rem, 2.7vw, 2.15rem);
	line-height: 1.35;
}

.archive-hero--compact .archive-hero__copy > p:last-child,
.search-page__header--compact .search-page__header-copy > p:last-child {
	margin: 0;
	color: var(--color-text-muted);
	font-size: 0.76rem;
	line-height: 1.65;
}

.search-page__header--compact {
	padding-block: 0;
	text-align: left;
}

.search-page__header--compact .dream-search-form {
	max-width: none;
}

.archive-results--compact,
.search-page__results--compact {
	padding-block: 28px 44px;
}

.archive-results--compact .archive-results__meta {
	justify-content: space-between;
	max-width: 980px;
	margin-bottom: 12px;
}

.archive-results__heading {
	margin: 0;
	font-size: 1.2rem;
}

.search-page__results--compact .search-result-heading {
	max-width: 980px;
	margin-bottom: 12px;
	padding-bottom: 10px;
}

.archive-results--compact .pagination,
.search-page__results--compact .pagination {
	max-width: 980px;
	margin-top: 26px;
}

.empty-state--compact {
	padding-block: 34px;
}

.empty-state--compact h2 {
	margin-bottom: 8px;
	font-size: 1.35rem;
}

.empty-state--compact > p {
	margin-bottom: 16px;
	font-size: 0.8rem;
	line-height: 1.7;
}

.empty-state--compact .empty-state__icon {
	width: 54px;
	height: 54px;
	margin-bottom: 14px;
}

.empty-state--compact .empty-state__icon svg {
	width: 27px;
	height: 27px;
}

.archive-kana--compact,
.search-page__kana--compact {
	padding-block: 32px 38px;
}

.section-heading--compact {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 13px;
}

.section-heading--compact h2 {
	margin: 0;
	font-size: 1.25rem;
}

.section-heading--compact > p:last-child {
	margin: 0;
	font-size: 0.72rem;
	line-height: 1.6;
}

.archive-kana--compact .kana-index,
.search-page__kana--compact .kana-index {
	grid-template-columns: repeat(15, minmax(0, 1fr));
	gap: 6px;
}

.archive-kana--compact .kana-index a,
.archive-kana--compact .kana-index span,
.search-page__kana--compact .kana-index a,
.search-page__kana--compact .kana-index span {
	height: 38px;
	aspect-ratio: auto;
	border-radius: 7px;
	box-shadow: none;
	font-size: 0.78rem;
}

.dream-entry__header {
	padding-block: 18px 16px;
}

.dream-entry__category {
	margin-bottom: 6px;
}

.dream-entry__header h1 {
	max-width: 900px;
	margin: 0 auto 4px;
	font-size: clamp(1.85rem, 3vw, 2.25rem);
	line-height: 1.32;
}

.dream-summary {
	max-width: 760px;
	margin-bottom: 8px;
	padding: 12px 18px;
}

.dream-summary p {
	font-size: 0.9rem;
	line-height: 1.6;
}

.dream-entry__image {
	width: min(calc(100% - 48px), 820px);
	height: clamp(240px, 23vw, 280px);
	aspect-ratio: auto;
	border-radius: 18px;
	box-shadow: 0 16px 38px rgba(42, 40, 70, 0.12);
}

.dream-entry__layout {
	gap: clamp(38px, 5vw, 64px);
	padding-block: 32px 46px;
}

.related-section {
	padding-block: 42px;
}

.related-section .section-heading {
	margin-bottom: 18px;
}

.related-section .section-kicker {
	margin-bottom: 5px;
}

.related-section .section-heading h2 {
	font-size: 1.55rem;
}

.related-section .dream-list {
	max-width: none;
}

.research-cta {
	padding-block: 34px;
}

.research-cta__inner {
	gap: 38px;
}

.research-cta h2 {
	font-size: 1.5rem;
}

.article-disclaimer {
	padding-block: 26px 44px;
}

@media (max-width: 959px) {
	.site-header__inner {
		min-height: 60px;
	}

	.nav-backdrop {
		inset-block-start: 60px;
	}

	.archive-hero--compact .archive-hero__inner,
	.search-page__header--compact .search-page__header-inner {
		grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
		gap: 24px;
	}
}

@media (max-width: 700px) {
	html {
		scroll-padding-top: 0;
	}

	.site-header__inner {
		min-height: 56px;
	}

	.nav-backdrop {
		inset-block-start: 56px;
	}

	.breadcrumbs {
		padding-block: 7px;
	}

	.home-finder__heading h1 br {
		display: none;
	}

	.dream-list .dream-card.dream-card--compact {
		display: grid;
		height: 100px;
		min-height: 100px;
		grid-template-columns: 92px minmax(0, 1fr);
		border-radius: 9px;
	}

	.dream-list .dream-card.dream-card--compact .dream-card__media {
		height: 100%;
		min-height: 100px;
		aspect-ratio: auto;
	}

	.dream-card--compact .dream-card__content {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 18px;
		grid-template-rows: auto auto 1fr;
		column-gap: 5px;
		padding: 8px 9px 8px 11px;
	}

	.dream-card--compact .dream-card__title {
		display: -webkit-box;
		margin-bottom: 2px;
		overflow: hidden;
		font-size: 0.88rem;
		line-height: 1.38;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}

	.dream-card--compact .dream-card__summary,
	.dream-card--compact .dream-card__body > p {
		font-size: 0.67rem;
		line-height: 1.4;
		-webkit-line-clamp: 1;
	}

	.dream-card--compact .dream-card__action,
	.dream-card--compact .dream-card__body .text-link {
		grid-column: 2;
		padding: 0;
	}

	.dream-card--compact .dream-card__action span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}

	.dream-card--compact .dream-card__action svg {
		width: 16px;
		height: 16px;
	}

	.archive-hero--compact .archive-hero__inner,
	.search-page__header--compact .search-page__header-inner {
		grid-template-columns: 1fr;
		gap: 9px;
		padding-block: 12px;
	}

	.archive-hero--compact h1,
	.search-page__header--compact h1 {
		margin: 0;
		font-size: 1.45rem;
	}

	.archive-hero--compact .archive-hero__copy > p:last-child,
	.search-page__header--compact .search-page__header-copy > p:last-child,
	.archive-hero__search-label {
		display: none;
	}

	.archive-hero--compact .dream-search-form__field,
	.search-page__header--compact .dream-search-form__field {
		grid-template-columns: 34px minmax(0, 1fr) auto;
		padding: 4px;
		border-radius: 10px;
	}

	.archive-hero--compact .dream-search-form__icon,
	.search-page__header--compact .dream-search-form__icon {
		width: 34px;
	}

	.archive-hero--compact .dream-search-form__input,
	.search-page__header--compact .dream-search-form__input {
		height: 42px;
		font-size: 0.78rem;
	}

	.archive-hero--compact .button--search,
	.search-page__header--compact .button--search {
		width: auto;
		grid-column: auto;
		min-height: 42px;
		margin-top: 0;
		padding-inline: 12px;
		border-radius: 7px;
	}

	.archive-hero--compact .button--search svg,
	.search-page__header--compact .button--search svg {
		display: none;
	}

	.archive-results--compact,
	.search-page__results--compact {
		padding-block: 18px 30px;
	}

	.empty-state--compact {
		padding: 20px 12px;
	}

	.empty-state--compact h2 {
		margin-bottom: 6px;
		font-size: 1.15rem;
		line-height: 1.45;
	}

	.empty-state--compact > p {
		margin-bottom: 12px;
		font-size: 0.74rem;
		line-height: 1.6;
	}

	.empty-state--compact .empty-state__icon {
		width: 42px;
		height: 42px;
		margin-bottom: 9px;
	}

	.empty-state--compact .empty-state__icon svg {
		width: 22px;
		height: 22px;
	}

	.empty-state--compact .button {
		min-height: 44px;
		padding: 9px 16px;
		font-size: 0.8rem;
	}

	.archive-results--compact .archive-results__meta,
	.search-page__results--compact .search-result-heading {
		margin-bottom: 9px;
	}

	.archive-results__heading,
	.search-page__results--compact .search-result-heading h2 {
		font-size: 1rem;
	}

	.archive-kana--compact,
	.search-page__kana--compact {
		padding-block: 24px 28px;
	}

	.section-heading--compact {
		display: block;
		margin-bottom: 10px;
	}

	.section-heading--compact h2 {
		font-size: 1.08rem;
	}

	.section-heading--compact > p:last-child {
		margin-top: 3px;
		font-size: 0.66rem;
	}

	.archive-kana--compact .kana-index,
	.search-page__kana--compact .kana-index {
		grid-template-columns: repeat(9, minmax(0, 1fr));
		gap: 4px;
	}

	.archive-kana--compact .kana-index a,
	.archive-kana--compact .kana-index span,
	.search-page__kana--compact .kana-index a,
	.search-page__kana--compact .kana-index span {
		height: 32px;
		border-radius: 5px;
		font-size: 0.69rem;
	}

	.dream-entry__header {
		padding-block: 16px 13px;
	}

	.dream-entry__category {
		margin-bottom: 7px;
	}

	.dream-entry__header h1 {
		margin-bottom: 4px;
		font-size: clamp(1.65rem, 7.4vw, 2rem);
		line-height: 1.35;
	}

	.dream-summary {
		padding: 11px 14px 10px;
	}

	.dream-summary p {
		font-size: 0.82rem;
		line-height: 1.55;
	}

	.dream-entry__image {
		width: calc(100% - 28px);
		height: 174px;
		border-radius: 13px;
	}

	.dream-entry__layout {
		gap: 16px;
		padding-block: 22px 32px;
	}

	.table-of-contents {
		padding: 10px;
		overflow: hidden;
	}

	.table-of-contents__heading {
		margin-bottom: 7px;
		padding-bottom: 7px;
	}

	.table-of-contents ol {
		display: flex;
		gap: 5px;
		padding-bottom: 2px;
		overflow-x: auto;
		columns: auto;
		scrollbar-width: thin;
	}

	.table-of-contents li,
	.table-of-contents li + li,
	.table-of-contents li.toc-level-3 {
		flex: none;
		margin: 0;
		padding: 0;
	}

	.table-of-contents a {
		max-width: 190px;
		padding: 5px 8px;
		overflow: hidden;
		border-radius: 6px;
		background: #f1eef8;
		line-height: 1.45;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.related-section,
	.research-cta {
		padding-block: 28px;
	}

	.related-section .section-heading {
		margin-bottom: 12px;
	}

	.related-section .section-heading h2 {
		font-size: 1.25rem;
	}

	.article-disclaimer {
		padding-block: 22px 36px;
	}
}

/* Compact secondary and utility pages */
.archive-hero--simple .archive-hero__inner {
	grid-template-columns: 1fr;
	padding-block: 18px;
}

.standard-index {
	padding-block: 26px 48px;
}

.standard-page {
	padding-block: 34px 64px;
}

.standard-page__header {
	margin-bottom: 24px;
	padding-bottom: 14px;
}

.standard-page__header .section-kicker {
	margin-bottom: 6px;
	font-size: 0.63rem;
}

.standard-page__header h1 {
	font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.standard-page .entry-content h2 {
	margin-top: 2.35em;
}

.standard-page .entry-content h3 {
	margin-top: 1.85em;
}

.standard-list {
	max-width: 880px;
}

.standard-list__item {
	padding-block: 17px;
}

.standard-list__item h2 {
	margin-bottom: 5px;
	font-size: 1.14rem;
}

.standard-list__item > p:last-child {
	margin-bottom: 0;
	color: var(--color-text-muted);
	font-size: 0.82rem;
	line-height: 1.7;
}

.not-found {
	padding-block: 24px 42px;
}

.not-found__inner {
	padding-block: 12px 24px;
}

.not-found__symbol {
	gap: 8px;
	margin-bottom: 7px;
	font-size: 3.2rem;
}

.not-found__symbol svg {
	width: 46px;
	height: 46px;
}

.not-found .section-kicker {
	margin-bottom: 7px;
}

.not-found h1 {
	margin-bottom: 8px;
	font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.not-found__inner > p:not(.section-kicker) {
	margin-bottom: 18px;
	font-size: 0.82rem;
	line-height: 1.7;
}

.not-found .dream-search-form {
	max-width: 620px;
	margin-bottom: 16px;
}

.site-footer__inner {
	grid-template-columns: minmax(230px, 0.75fr) auto;
	gap: 18px 48px;
	padding-block: 26px 20px;
}

.site-footer__brand > p {
	margin-top: 7px;
}

.site-footer__nav {
	align-content: center;
	gap: 7px 32px;
}

.site-footer__notice {
	max-width: none;
	padding-top: 13px;
	line-height: 1.65;
}

.site-footer__bottom .shell {
	padding-block: 9px;
}

@media (max-width: 700px) {
	.standard-index {
		padding-block: 18px 32px;
	}

	.standard-page {
		padding-block: 24px 42px;
	}

	.standard-page__header {
		margin-bottom: 18px;
		padding-bottom: 10px;
	}

	.standard-page__header h1 {
		font-size: 1.55rem;
	}

	.standard-list__item {
		padding-block: 13px;
	}

	.not-found {
		padding-block: 18px 28px;
	}

	.not-found__inner {
		padding-block: 6px 16px;
	}

	.not-found__symbol {
		font-size: 2.55rem;
	}

	.not-found__symbol svg {
		width: 36px;
		height: 36px;
	}

	.not-found h1 {
		font-size: 1.45rem;
	}

	.not-found .dream-search-form--not-found .dream-search-form__field {
		grid-template-columns: 34px minmax(0, 1fr) auto;
		padding: 4px;
		border-radius: 10px;
	}

	.not-found .dream-search-form--not-found .dream-search-form__icon {
		width: 34px;
	}

	.not-found .dream-search-form--not-found .dream-search-form__input {
		height: 42px;
		font-size: 0.78rem;
	}

	.not-found .dream-search-form--not-found .button--search {
		width: auto;
		grid-column: auto;
		min-height: 42px;
		margin-top: 0;
		padding-inline: 11px;
		border-radius: 7px;
	}

	.not-found .dream-search-form--not-found .button--search svg {
		display: none;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
		gap: 12px;
		padding-block: 22px 16px;
	}

	.site-footer__brand > p {
		display: none;
	}

	.site-footer__nav {
		gap: 4px 18px;
	}

	.site-footer__nav a {
		font-size: 0.72rem;
	}

	.site-footer__notice {
		padding-top: 10px;
		font-size: 0.63rem;
		line-height: 1.55;
	}
}

/* Navigation, directories, linked cards, and article controls */
.dream-summary {
	overflow: hidden;
}

.dream-summary::before {
	inset: 0 auto 0 0;
	width: 4px;
	border-radius: 0;
}

a.dream-card {
	color: inherit;
	text-decoration: none;
}

a.dream-card .dream-card__title {
	color: var(--color-text);
}

a.dream-card:hover .dream-card__action svg {
	transform: translateX(4px);
}

a.dream-card:focus-visible {
	outline-offset: 4px;
}

.archive-hero--no-search .archive-hero__inner {
	grid-template-columns: minmax(0, 760px);
	justify-content: start;
}

.archive-results--category .dream-list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: none;
}

.archive-results--category .dream-list .dream-card.dream-card--compact {
	height: 108px;
	min-height: 108px;
	grid-template-columns: 104px minmax(0, 1fr);
}

.archive-results--category .dream-list .dream-card.dream-card--compact .dream-card__media {
	min-height: 108px;
}

.archive-results--category .dream-card--compact .dream-card__content {
	grid-template-columns: minmax(0, 1fr);
	padding: 10px 12px;
}

.archive-results--category .dream-card--compact .dream-card__action {
	display: none;
}

.home-tool--keywords {
	grid-column: 1 / -1;
}

.home-tool--keywords .home-tool__heading {
	margin-bottom: 8px;
	padding-bottom: 6px;
}

.home-tool--keywords .home-tag-list {
	gap: 5px;
}

.home-tool--keywords .home-tag-list a {
	padding: 3px 9px;
	font-size: 0.68rem;
}

.directory-page__article {
	padding-bottom: 58px;
}

.directory-page__header {
	padding-block: 24px 18px;
	border-bottom: 1px solid var(--color-border);
}

.directory-page__header .section-kicker {
	margin-bottom: 5px;
}

.directory-page__header h1 {
	margin-bottom: 5px;
	font-size: clamp(1.75rem, 3vw, 2.3rem);
}

.directory-page__header > p:last-child {
	max-width: 680px;
	margin: 0;
	color: var(--color-text-muted);
	font-size: 0.8rem;
	line-height: 1.7;
}

.directory-page__content {
	margin-top: 24px;
}

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

.category-directory-grid .category-card {
	min-height: 96px;
	padding: 14px 16px;
	border-radius: 12px;
}

.directory-page__content--kana {
	padding: 18px;
	border: 1px solid var(--color-border);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.72);
}

.directory-page__section-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--color-border);
}

.directory-page__section-heading h2,
.directory-page__section-heading p {
	margin: 0;
}

.directory-page__section-heading h2 {
	font-size: 1.25rem;
}

.directory-page__section-heading p {
	color: var(--color-text-muted);
	font-size: 0.72rem;
}

.directory-page__content--kana .kana-index {
	grid-template-columns: repeat(15, minmax(0, 1fr));
	gap: 6px;
}

.directory-page__content--kana .kana-index a,
.directory-page__content--kana .kana-index span {
	height: 40px;
	aspect-ratio: auto;
	border-radius: 7px;
	box-shadow: none;
	font-size: 0.78rem;
}

.directory-page__article--narrow {
	width: min(calc(100% - 48px), 820px);
}

.about-page__content {
	display: grid;
	gap: 12px;
}

.about-page__content section {
	padding: 18px 20px;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.68);
}

.about-page__content section h2 {
	margin: 0 0 7px;
	padding: 0;
	border: 0;
	font-size: 1.22rem;
}

.about-page__content section h2::before {
	display: none;
}

.about-page__content section p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.9;
}

.about-page__notice {
	border-color: rgba(75, 74, 130, 0.22) !important;
	background: #efecf5 !important;
}

.table-of-contents__toggle {
	display: none;
	margin-left: auto;
	padding: 5px 9px;
	border: 1px solid var(--color-border);
	border-radius: 7px;
	background: var(--color-surface);
	color: var(--color-primary);
	cursor: pointer;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.35;
}

.table-of-contents__preview {
	display: none;
}

.table-of-contents__close {
	display: none;
}

.table-of-contents [data-toc-panel][hidden] {
	display: none;
}

@media (max-width: 959px) {
	.archive-results--category .dream-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.category-directory-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.archive-results--category .dream-list {
		grid-template-columns: 1fr;
	}

	.archive-results--category .dream-list .dream-card.dream-card--compact {
		height: 100px;
		min-height: 100px;
		grid-template-columns: 92px minmax(0, 1fr);
	}

	.archive-results--category .dream-list .dream-card.dream-card--compact .dream-card__media {
		min-height: 100px;
	}

	.home-tool--keywords .home-tag-list {
		gap: 4px;
	}

	.home-tool--keywords .home-tag-list a {
		padding: 2px 7px;
		font-size: 0.62rem;
	}

	.directory-page__article,
	.directory-page__article--narrow {
		width: calc(100% - 28px);
		padding-bottom: 38px;
	}

	.directory-page__header {
		padding-block: 17px 13px;
	}

	.directory-page__header h1 {
		font-size: 1.55rem;
	}

	.directory-page__header > p:last-child {
		font-size: 0.72rem;
	}

	.directory-page__content {
		margin-top: 16px;
	}

	.category-directory-grid {
		grid-template-columns: 1fr;
		gap: 7px;
	}

	.category-directory-grid .category-card {
		min-height: 78px;
		padding: 10px 12px;
	}

	.directory-page__content--kana {
		padding: 12px;
	}

	.directory-page__section-heading {
		display: block;
		margin-bottom: 10px;
		padding-bottom: 7px;
	}

	.directory-page__section-heading h2 {
		font-size: 1.08rem;
	}

	.directory-page__section-heading p {
		margin-top: 2px;
		font-size: 0.65rem;
	}

	.directory-page__content--kana .kana-index {
		grid-template-columns: repeat(9, minmax(0, 1fr));
		gap: 4px;
	}

	.directory-page__content--kana .kana-index a,
	.directory-page__content--kana .kana-index span {
		height: 32px;
		border-radius: 5px;
		font-size: 0.69rem;
	}

	.about-page__content {
		gap: 8px;
	}

	.about-page__content section {
		padding: 14px 15px;
	}

	.about-page__content section h2 {
		font-size: 1.08rem;
	}

	.about-page__content section p {
		font-size: 0.8rem;
		line-height: 1.75;
	}

	.table-of-contents {
		padding: 12px 14px;
		overflow: visible;
	}

	.table-of-contents__heading {
		margin: 0;
		padding: 0;
		border: 0;
	}

	.table-of-contents__heading h2 {
		font-size: 1rem;
	}

	.table-of-contents__toggle {
		display: inline-flex;
		min-width: 52px;
		min-height: 40px;
		align-items: center;
		justify-content: center;
	}

	.table-of-contents__preview {
		position: relative;
		display: grid;
		gap: 0;
		margin-top: 9px;
		padding-top: 8px;
		overflow: hidden;
		border-top: 1px solid var(--color-border);
		color: var(--color-text-muted);
		font-size: 0.8125rem;
		line-height: 1.6;
	}

	.table-of-contents__preview[hidden] {
		display: none;
	}

	.table-of-contents__preview span {
		display: block;
		padding: 6px 2px;
		overflow: hidden;
		border-bottom: 1px solid rgba(227, 222, 214, 0.72);
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.table-of-contents__preview span:last-child {
		opacity: 0.48;
	}

	.table-of-contents [data-toc-panel] {
		margin-top: 9px;
		padding-top: 8px;
		border-top: 1px solid var(--color-border);
	}

	.table-of-contents ol {
		display: block;
		padding: 0;
		overflow: visible;
		columns: 1;
	}

	.table-of-contents li,
	.table-of-contents li + li,
	.table-of-contents li.toc-level-3 {
		margin: 0;
		padding: 0;
	}

	.table-of-contents li + li {
		border-top: 1px solid rgba(227, 222, 214, 0.72);
	}

	.table-of-contents li.toc-level-3 {
		padding-left: 12px;
	}

	.table-of-contents a {
		display: block;
		max-width: none;
		padding: 9px 2px;
		overflow: visible;
		border-radius: 0;
		background: transparent;
		font-size: 0.9rem;
		line-height: 1.65;
		text-overflow: clip;
		white-space: normal;
	}

	.table-of-contents__close {
		display: inline-flex;
		width: 100%;
		min-height: 44px;
		margin-top: 14px;
		align-items: center;
		justify-content: center;
		border: 1px solid var(--color-border);
		border-radius: 8px;
		background: #f7f5fa;
		color: var(--color-primary);
		cursor: pointer;
		font-size: 0.9rem;
		font-weight: 700;
		line-height: 1.35;
	}

	.table-of-contents__close:hover {
		border-color: rgba(75, 74, 130, 0.38);
		background: #fff;
	}

	.table-of-contents__close:focus-visible {
		outline: 2px solid var(--color-primary);
		outline-offset: 2px;
	}
}

/* Home featured grid and nocturnal navigation refinement */
.site-header {
	border-bottom-color: rgba(255, 255, 255, 0.13);
	background: linear-gradient(118deg, #17122f 0%, #332052 48%, #231741 100%);
	box-shadow: 0 6px 22px rgba(24, 17, 50, 0.16);
}

.site-header .site-brand,
.site-header .desktop-nav a {
	color: rgba(255, 255, 255, 0.94);
}

.site-header .site-brand__mark {
	border-color: rgba(255, 255, 255, 0.24);
	background: rgba(255, 255, 255, 0.1);
	color: #f1d995;
}

.site-header .desktop-nav a::after {
	background: #e7cd8c;
}

.site-header .site-brand:hover,
.site-header .desktop-nav a:hover {
	color: #fff;
}

.site-header .site-brand:focus-visible,
.site-header .desktop-nav a:focus-visible,
.site-header .nav-toggle:focus-visible {
	border-radius: 5px;
	outline: 2px solid #f2d58d;
	outline-offset: 4px;
}

.site-header__search .dream-search-form__field {
	border-color: rgba(255, 255, 255, 0.48);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 8px 24px rgba(7, 5, 21, 0.24);
}

.site-header__search .dream-search-form__field:focus-within {
	border-color: #f0d58e;
	box-shadow:
		0 0 0 3px rgba(255, 255, 255, 0.28),
		0 0 0 6px rgba(232, 202, 126, 0.32),
		0 8px 24px rgba(7, 5, 21, 0.24);
}

.site-header__search .dream-search-form__icon {
	color: #4b3c7c;
}

.site-header .nav-toggle {
	border-color: rgba(255, 255, 255, 0.28);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.home-finder .home-tool--keywords {
	border-color: rgba(255, 255, 255, 0.1);
	background:
		radial-gradient(circle at 86% 18%, rgba(220, 193, 255, 0.2), transparent 29%),
		linear-gradient(122deg, #1a1435 0%, #3a255d 54%, #251946 100%);
	box-shadow: 0 10px 24px rgba(32, 21, 62, 0.13);
	color: #fff;
}

.home-finder .home-tool--keywords .home-tool__heading {
	border-bottom-color: rgba(255, 255, 255, 0.17);
}

.home-finder .home-tool--keywords .home-tool__heading h2 {
	color: #fff;
}

.home-finder .home-tool--keywords .home-tool__heading span {
	color: rgba(255, 255, 255, 0.68);
}

.home-finder .home-tool--keywords .home-tag-list a {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.09);
	color: rgba(255, 255, 255, 0.94);
}

.home-finder .home-tool--keywords .home-tag-list a:hover {
	border-color: rgba(242, 216, 151, 0.72);
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.home-finder .home-tool--keywords .home-tag-list a:focus-visible {
	outline: 2px solid #f2d58d;
	outline-offset: 2px;
}

.home-content__inner {
	display: block;
}

.home-content__inner .home-dreams {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.home-dream-list {
	max-width: none;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.home-dream-list .dream-card.dream-card--compact {
	height: 108px;
	min-height: 108px;
	grid-template-columns: 104px minmax(0, 1fr);
	overflow: hidden;
}

.home-dream-list .dream-card.dream-card--compact .dream-card__media {
	height: 108px;
	min-height: 108px;
}

.home-dream-list .dream-card--compact .dream-card__content {
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto auto 1fr;
	column-gap: 0;
	padding: 10px 12px;
}

.home-dream-list .dream-card--compact .dream-card__meta,
.home-dream-list .dream-card--compact .dream-card__title,
.home-dream-list .dream-card--compact .dream-card__summary {
	grid-column: 1;
	min-width: 0;
}

.home-dream-list .dream-card--compact .dream-card__title {
	display: -webkit-box;
	margin-bottom: 2px;
	overflow: hidden;
	font-size: 0.9rem;
	line-height: 1.38;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.home-dream-list .dream-card--compact .dream-card__summary {
	font-size: 0.66rem;
	line-height: 1.4;
	-webkit-line-clamp: 1;
}

.home-dream-list .dream-card--compact .dream-card__action {
	display: none;
}

.home-about--wide {
	display: grid;
	grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(20px, 4vw, 56px);
	margin-top: 34px;
	padding-top: 4px;
}

.home-about__heading p {
	margin: 0 0 3px;
	color: var(--color-primary);
	font-size: 0.61rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.home-about__heading h2 {
	margin: 0;
	font-size: 1.16rem;
	line-height: 1.45;
}

.home-about--wide > p {
	margin: 0;
	color: var(--color-text-muted);
	font-size: 0.76rem;
	line-height: 1.8;
}

.home-about__link {
	justify-self: end;
	white-space: nowrap;
}

@media (max-width: 959px) {
	.home-dream-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-about--wide {
		grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
		gap: 10px 28px;
	}

	.home-about__link {
		grid-column: 2;
		justify-self: start;
	}
}

@media (max-width: 700px) {
	.home-dream-list {
		grid-template-columns: 1fr;
		gap: 7px;
	}

	.home-dream-list .dream-card.dream-card--compact {
		height: 94px;
		min-height: 94px;
		grid-template-columns: 88px minmax(0, 1fr);
	}

	.home-dream-list .dream-card.dream-card--compact .dream-card__media {
		height: 94px;
		min-height: 94px;
	}

	.home-dream-list .dream-card--compact .dream-card__content {
		padding: 8px 10px;
	}

	.home-dream-list .dream-card--compact .dream-card__title {
		font-size: 0.86rem;
	}

	.home-dream-list .dream-card--compact .dream-card__summary {
		font-size: 0.64rem;
	}

	.home-about--wide {
		display: block;
		margin-top: 26px;
	}

	.home-about--wide > p {
		margin-top: 7px;
		font-size: 0.72rem;
		line-height: 1.7;
	}

	.home-about__link {
		margin-top: 10px;
		font-size: 0.74rem;
	}
}

/* Long-form guide pages use open document flow instead of boxed sections. */
.about-page__content,
.dream-fortune-page__content,
.privacy-page__content {
	display: block;
}

.about-page__content > section,
.dream-fortune-page__content > section,
.privacy-page__content > section {
	margin: 0;
	padding: 22px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.about-page__content > section + section,
.dream-fortune-page__content > section + section,
.privacy-page__content > section + section {
	border-top: 1px solid var(--color-border);
}

.about-page__content > section h2,
.dream-fortune-page__content > section h2,
.privacy-page__content > section h2 {
	margin: 0 0 9px;
	padding: 0;
	border: 0;
	font-size: 1.24rem;
}

.about-page__content > section h2::before,
.dream-fortune-page__content > section h2::before,
.privacy-page__content > section h2::before {
	display: none;
}

.dream-fortune-page__content > section h3 {
	margin: 18px 0 5px;
	font-size: 1rem;
	line-height: 1.6;
}

.about-page__content > section p,
.dream-fortune-page__content > section p,
.privacy-page__content > section p,
.about-page__content > section li,
.dream-fortune-page__content > section li,
.privacy-page__content > section li {
	font-size: 0.88rem;
	line-height: 1.9;
}

.about-page__content > section p,
.dream-fortune-page__content > section p,
.privacy-page__content > section p {
	margin: 0;
}

.about-page__content > section p + p,
.dream-fortune-page__content > section p + p,
.privacy-page__content > section p + p {
	margin-top: 10px;
}

.about-page__content > section ul,
.dream-fortune-page__content > section ol,
.privacy-page__content > section ul {
	margin-block: 10px;
}

.about-page__notice {
	border: 0 !important;
	background: transparent !important;
}

@media (max-width: 700px) {
	.about-page__content > section,
	.dream-fortune-page__content > section,
	.privacy-page__content > section {
		padding: 17px 0;
	}

	.about-page__content > section h2,
	.dream-fortune-page__content > section h2,
	.privacy-page__content > section h2 {
		font-size: 1.08rem;
	}

	.about-page__content > section p,
	.dream-fortune-page__content > section p,
	.privacy-page__content > section p,
	.about-page__content > section li,
	.dream-fortune-page__content > section li,
	.privacy-page__content > section li {
		font-size: 0.8rem;
		line-height: 1.78;
	}
}

/* Unified nocturnal finder, resilient media cards, and open home guides. */
.home-finder {
	border-bottom-color: rgba(255, 255, 255, 0.13);
	background:
		radial-gradient(circle at 86% 7%, rgba(163, 111, 207, 0.24), transparent 31%),
		radial-gradient(circle at 7% 86%, rgba(111, 88, 181, 0.21), transparent 28%),
		linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
		linear-gradient(132deg, #17112f 0%, #382151 49%, #241641 100%);
	background-size: auto, auto, 32px 32px, 32px 32px, auto;
	color: rgba(255, 255, 255, 0.94);
}

.home-finder__heading h1,
.home-search__label,
.home-finder .home-tool__heading h2 {
	color: #fff;
}

.home-finder__eyebrow {
	color: #efd693;
}

.home-finder__heading > p:last-child,
.home-finder .home-tool__heading span,
.home-search__examples > span,
.home-finder__footer p {
	color: rgba(255, 255, 255, 0.67);
}

.home-search .dream-search-form--hero .dream-search-form__field {
	border-color: rgba(255, 255, 255, 0.48);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 12px 30px rgba(7, 4, 24, 0.24);
}

.home-search .dream-search-form--hero .dream-search-form__field:focus-within {
	border-color: #f0d58e;
	box-shadow:
		0 0 0 3px rgba(255, 255, 255, 0.22),
		0 0 0 6px rgba(232, 202, 126, 0.23),
		0 12px 30px rgba(7, 4, 24, 0.24);
}

.home-search__examples a {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.94);
}

.home-search__examples a:hover {
	border-color: rgba(240, 213, 142, 0.68);
	background: rgba(255, 255, 255, 0.17);
}

.home-search__examples a:focus-visible,
.home-finder .home-category-link:focus-visible,
.home-finder .kana-index a:focus-visible,
.home-finder .home-tag-list a:focus-visible,
.home-finder__footer > a:focus-visible {
	outline: 2px solid #f2d58d;
	outline-offset: 2px;
}

.home-finder .home-tool,
.home-finder .home-tool--keywords {
	border-color: rgba(255, 255, 255, 0.15);
	background: rgba(14, 8, 37, 0.28);
	box-shadow: 0 8px 24px rgba(8, 4, 25, 0.13);
	color: #fff;
}

.home-finder .home-tool__heading,
.home-finder .home-tool--keywords .home-tool__heading {
	border-bottom-color: rgba(255, 255, 255, 0.16);
}

.home-finder .home-category-link {
	border-color: rgba(255, 255, 255, 0.13);
	background: rgba(255, 255, 255, 0.09);
	color: rgba(255, 255, 255, 0.94);
}

.home-finder a.home-category-link:hover {
	border-color: rgba(239, 214, 147, 0.48);
	background: rgba(255, 255, 255, 0.16);
}

.home-finder .home-category-link.is-empty {
	background: rgba(255, 255, 255, 0.045);
	color: rgba(255, 255, 255, 0.48);
}

.home-finder .home-category-link__icon {
	background: rgba(255, 255, 255, 0.12);
	color: #efd693;
}

.home-finder .home-category-link__count {
	background: #e5d08e;
	color: #291a45;
}

.home-finder .home-tool--kana .kana-index a,
.home-finder .home-tool--kana .kana-index span {
	border-color: rgba(255, 255, 255, 0.13);
	color: rgba(255, 255, 255, 0.94);
}

.home-finder .home-tool--kana .kana-index a {
	background: rgba(255, 255, 255, 0.12);
}

.home-finder .home-tool--kana .kana-index a:hover {
	border-color: rgba(239, 214, 147, 0.52);
	background: rgba(255, 255, 255, 0.2);
}

.home-finder .home-tool--kana .kana-index span {
	background: rgba(255, 255, 255, 0.035);
	opacity: 0.42;
}

.home-finder .home-tool--keywords .home-tag-list a {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.09);
	color: rgba(255, 255, 255, 0.94);
}

.home-finder .home-tool--keywords .home-tag-list a:hover {
	border-color: rgba(242, 216, 151, 0.72);
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.home-finder__footer > a {
	color: #fff;
}

.home-finder__footer > a span {
	background: #e5d08e;
	color: #291a45;
}

.dream-list,
.dream-list__item,
.dream-list .dream-card.dream-card--compact,
.dream-list .dream-card.dream-card--compact .dream-card__media,
.dream-card--compact .dream-card__content {
	min-width: 0;
}

.dream-list__item,
.dream-list .dream-card.dream-card--compact {
	width: 100%;
	max-width: 100%;
}

.dream-list .dream-card.dream-card--compact {
	overflow: hidden;
}

.dream-list .dream-card.dream-card--compact .dream-card__media {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.dream-list .dream-card.dream-card--compact .dream-card__media img {
	width: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.dream-card--compact .dream-card__content {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.dream-card--compact .dream-card__meta,
.dream-card--compact .dream-card__title,
.dream-card--compact .dream-card__summary {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
}

.dream-card--compact .dream-card__meta {
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dream-card--compact .dream-card__title {
	overflow-wrap: anywhere;
}

.archive-results--category .dream-card--compact .dream-card__title {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.archive-results--category .dream-card--compact .dream-card__summary {
	-webkit-line-clamp: 1;
}

.dream-fortune-figure {
	width: min(100%, 680px);
	margin: 14px auto 18px;
}

.dream-fortune-figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	border-radius: 10px;
	object-fit: cover;
}

.dream-fortune-figure figcaption {
	margin-top: 6px;
	color: var(--color-text-muted);
	font-size: 0.7rem;
	line-height: 1.65;
	text-align: center;
}

.home-guide--wide {
	display: grid;
	grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr) auto;
	align-items: start;
	gap: clamp(20px, 4vw, 56px);
	margin-top: 36px;
	padding-top: 30px;
	border-top: 1px solid var(--color-border);
}

.home-guide__heading p {
	margin: 0 0 3px;
	color: var(--color-primary);
	font-size: 0.61rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.home-guide__heading h2 {
	margin: 0;
	font-size: 1.24rem;
	line-height: 1.45;
}

.home-guide__copy p {
	margin: 0;
	color: var(--color-text-muted);
	font-size: 0.78rem;
	line-height: 1.88;
}

.home-guide__copy p + p {
	margin-top: 7px;
}

.home-guide__link {
	align-self: center;
	white-space: nowrap;
}

.home-about--wide {
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid var(--color-border);
}

@media (max-width: 959px) {
	.home-guide--wide {
		grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
		gap: 10px 28px;
	}

	.home-guide__link {
		grid-column: 2;
		justify-self: start;
	}
}

@media (max-width: 700px) {
	.navigation.pagination {
		margin-top: 24px;
	}

	.pagination .nav-links,
	.pagination ul.page-numbers {
		gap: 6px;
	}

	.pagination .nav-links > .page-numbers,
	.pagination ul.page-numbers > li > .page-numbers {
		min-width: 38px;
		height: 38px;
		padding-inline: 8px;
		font-size: 0.76rem;
	}

	.home-guide--wide {
		display: block;
		margin-top: 27px;
		padding-top: 22px;
	}

	.dream-fortune-figure {
		margin-block: 11px 15px;
	}

	.dream-fortune-figure img {
		border-radius: 8px;
	}

	.dream-fortune-figure figcaption {
		font-size: 0.66rem;
		text-align: left;
	}

	.home-guide__copy {
		margin-top: 8px;
	}

	.home-guide__copy p {
		font-size: 0.73rem;
		line-height: 1.76;
	}

	.home-guide__link {
		margin-top: 11px;
		font-size: 0.74rem;
	}

	.home-about--wide {
		margin-top: 23px;
		padding-top: 21px;
	}
}

/* Keep the finder canvas nocturnal while returning its lookup panels to a light surface. */
.home-finder .home-tool,
.home-finder .home-tool--keywords {
	border-color: rgba(255, 255, 255, 0.48);
	background: rgba(251, 249, 255, 0.94);
	box-shadow: 0 10px 28px rgba(8, 4, 25, 0.16);
	color: var(--color-text);
}

.home-finder .home-tool__heading,
.home-finder .home-tool--keywords .home-tool__heading {
	border-bottom-color: rgba(75, 74, 130, 0.16);
}

.home-finder .home-tool__heading h2,
.home-finder .home-tool--keywords .home-tool__heading h2 {
	color: var(--color-text);
}

.home-finder .home-tool__heading span,
.home-finder .home-tool--keywords .home-tool__heading span {
	color: var(--color-text-muted);
}

.home-finder .home-category-link {
	border-color: rgba(75, 74, 130, 0.14);
	background: #fff;
	color: var(--color-text);
}

.home-finder a.home-category-link:hover {
	border-color: rgba(75, 74, 130, 0.4);
	background: #f2eff8;
}

.home-finder .home-category-link.is-empty {
	background: rgba(247, 246, 242, 0.72);
	color: #72727d;
}

.home-finder .home-category-link__icon {
	background: #efecf6;
	color: var(--color-primary);
}

.home-finder .home-category-link__count {
	background: var(--color-primary);
	color: #fff;
}

.home-finder .home-tool--kana .kana-index a,
.home-finder .home-tool--kana .kana-index span {
	border-color: rgba(75, 74, 130, 0.13);
	color: var(--color-primary-dark);
}

.home-finder .home-tool--kana .kana-index a {
	background: #fff;
}

.home-finder .home-tool--kana .kana-index a:hover {
	border-color: rgba(75, 74, 130, 0.4);
	background: #f2eff8;
}

.home-finder .home-tool--kana .kana-index span {
	background: #f8f7f4;
	color: #8c8897;
	opacity: 0.52;
}

.home-finder .home-tool--keywords .home-tag-list a {
	border-color: rgba(75, 74, 130, 0.17);
	background: #fff;
	color: var(--color-primary-dark);
}

.home-finder .home-tool--keywords .home-tag-list a:hover {
	border-color: rgba(75, 74, 130, 0.4);
	background: #f2eff8;
	color: var(--color-primary-dark);
}

.home-finder .home-category-link:focus-visible,
.home-finder .kana-index a:focus-visible,
.home-finder .home-tag-list a:focus-visible {
	outline-color: #5c4f8d;
}

/* Dictionary density: count-led headings, three-column result grids, and gojuon flow. */
.desktop-nav {
	gap: clamp(14px, 1.55vw, 24px);
}

.desktop-nav a {
	font-size: 0.8rem;
}

.archive-hero--no-search .archive-hero__inner,
.search-page__header--compact .search-page__header-inner {
	grid-template-columns: minmax(0, 960px);
	justify-content: start;
}

.archive-hero--compact h1,
.search-page__header--compact h1 {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 7px 12px;
}

.archive-hero__count {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border: 1px solid rgba(75, 74, 130, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.58);
	color: var(--color-primary);
	font-family: var(--font-sans);
	font-size: 0.38em;
	font-weight: 700;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.related-section .dream-list,
.archive-results--grid .dream-list,
.search-page__results--grid .dream-list {
	max-width: none;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.related-section .dream-list .dream-card.dream-card--compact,
.archive-results--grid .dream-list .dream-card.dream-card--compact,
.search-page__results--grid .dream-list .dream-card.dream-card--compact {
	height: 108px;
	min-height: 108px;
	grid-template-columns: 104px minmax(0, 1fr);
}

.related-section .dream-list .dream-card.dream-card--compact .dream-card__media,
.archive-results--grid .dream-list .dream-card.dream-card--compact .dream-card__media,
.search-page__results--grid .dream-list .dream-card.dream-card--compact .dream-card__media {
	height: 108px;
	min-height: 108px;
}

.related-section .dream-card--compact .dream-card__content,
.archive-results--grid .dream-card--compact .dream-card__content,
.search-page__results--grid .dream-card--compact .dream-card__content {
	grid-template-columns: minmax(0, 1fr);
	padding: 10px 12px;
}

.related-section .dream-card--compact .dream-card__title,
.archive-results--grid .dream-card--compact .dream-card__title,
.search-page__results--grid .dream-card--compact .dream-card__title {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.related-section .dream-card--compact .dream-card__summary,
.archive-results--grid .dream-card--compact .dream-card__summary,
.search-page__results--grid .dream-card--compact .dream-card__summary {
	-webkit-line-clamp: 1;
}

.related-section .dream-card--compact .dream-card__action,
.archive-results--grid .dream-card--compact .dream-card__action,
.search-page__results--grid .dream-card--compact .dream-card__action {
	display: none;
}

.kana-index,
.directory-page__content--kana .kana-index,
.archive-kana--compact .kana-index,
.search-page__kana--compact .kana-index {
	grid-template-columns: repeat(10, minmax(0, 1fr));
	grid-template-rows: repeat(5, auto);
	grid-auto-flow: column;
}

.dream-entry__header h1 {
	max-width: 980px;
	word-break: auto-phrase;
	line-break: strict;
	text-wrap: pretty;
}

.entry-content h2 {
	margin-top: 1.55em;
	margin-bottom: 0.9em;
}

.entry-content h3 {
	margin-top: 1.85em;
}

.dream-supervisor {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 18px;
	margin-top: 36px;
	padding-top: 26px;
	border-top: 1px solid var(--color-border);
}

.dream-supervisor__portrait {
	width: 88px;
	height: 88px;
	overflow: hidden;
	border-radius: 50%;
	background: #ece8f3;
}

.dream-supervisor__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dream-supervisor__portrait--fallback {
	display: grid;
	place-items: center;
	background:
		radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.78), transparent 34%),
		linear-gradient(145deg, #dcd6eb, #f1edf6);
	color: var(--color-primary);
}

.dream-supervisor__portrait--fallback span {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border: 1px solid rgba(75, 74, 130, 0.2);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
}

.dream-supervisor__portrait--fallback svg {
	width: 22px;
	height: 22px;
}

.dream-supervisor__content {
	min-width: 0;
}

.dream-supervisor__label {
	margin: 0 0 3px;
	color: var(--color-primary);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.dream-supervisor h2 {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 1.08rem;
	line-height: 1.5;
}

.dream-supervisor__title {
	margin: 1px 0 7px;
	color: var(--color-primary);
	font-size: 0.82rem;
	font-weight: 700;
}

.dream-supervisor__biography {
	margin: 0;
	color: var(--color-text-muted);
	font-size: 0.9rem;
	line-height: 1.9;
}

@media (max-width: 959px) {
	.related-section .dream-list,
	.archive-results--grid .dream-list,
	.search-page__results--grid .dream-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mobile-navigation {
		border-top-color: rgba(255, 255, 255, 0.14);
		background:
			radial-gradient(circle at 88% 8%, rgba(164, 116, 211, 0.24), transparent 34%),
			linear-gradient(128deg, #17112f 0%, #382151 55%, #241641 100%);
		box-shadow: 0 22px 50px rgba(15, 9, 34, 0.34);
		color: #fff;
	}

	.mobile-navigation nav a {
		border-bottom-color: rgba(255, 255, 255, 0.14);
		color: rgba(255, 255, 255, 0.94);
	}

	.mobile-navigation nav a:hover {
		color: #f2d58d;
	}

	.mobile-navigation .dream-search-form__field {
		border-color: rgba(255, 255, 255, 0.34);
		background: rgba(255, 255, 255, 0.98);
		box-shadow: 0 10px 24px rgba(8, 4, 25, 0.24);
	}
}

@media (max-width: 700px) {
	.mobile-navigation .dream-search-form__icon {
		width: 36px;
	}

	.mobile-navigation .dream-search-form__input {
		padding-right: 4px;
	}

	.mobile-navigation .dream-search-form__input::placeholder {
		font-size: 0.65rem;
		letter-spacing: -0.015em;
	}

	.mobile-navigation .dream-search-form .button--search {
		padding-inline: 10px;
	}

	.related-section .dream-list,
	.archive-results--grid .dream-list,
	.search-page__results--grid .dream-list {
		grid-template-columns: 1fr;
		gap: 7px;
	}

	.related-section .dream-list .dream-card.dream-card--compact,
	.archive-results--grid .dream-list .dream-card.dream-card--compact,
	.search-page__results--grid .dream-list .dream-card.dream-card--compact {
		height: 100px;
		min-height: 100px;
		grid-template-columns: 92px minmax(0, 1fr);
	}

	.related-section .dream-list .dream-card.dream-card--compact .dream-card__media,
	.archive-results--grid .dream-list .dream-card.dream-card--compact .dream-card__media,
	.search-page__results--grid .dream-list .dream-card.dream-card--compact .dream-card__media {
		height: 100px;
		min-height: 100px;
	}

	.archive-hero__count {
		padding: 2px 7px;
		font-size: 0.43em;
	}

	.entry-content h2 {
		margin-top: 1.5em;
		margin-bottom: 0.8em;
		scroll-margin-top: 18px;
	}

	.entry-content h3 {
		margin-top: 1.65em;
		scroll-margin-top: 18px;
	}

	.dream-supervisor {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 14px;
		margin-top: 28px;
		padding-top: 20px;
	}

	.dream-supervisor__portrait {
		width: 72px;
		height: 72px;
	}

	.dream-supervisor__portrait--fallback span {
		width: 36px;
		height: 36px;
	}

	.dream-supervisor__portrait--fallback svg {
		width: 19px;
		height: 19px;
	}

	.dream-supervisor__biography {
		font-size: 0.875rem;
		line-height: 1.85;
	}
}
