/*
 * Yabu Meizan Archive: landing page and archive header bar.
 * Everything is scoped to .yabu-landing / .yabu-nav.
 */
.yabu-landing, .yabu-nav {
	--yl-cream: #FAF7F0;
	--yl-paper: #F3EDE1;
	--yl-black: #121212;
	--yl-lacquer: #0c0b0a;
	--yl-gold: #C5A059;
	--yl-gold-bright: #D4AF37;
	--yl-gold-deep: #8a6d3b;
	--yl-wisteria: #4A2E4B;
	--yl-ink: #2a2522;
	--yl-muted: #6b625a;
	--yl-line: rgba(197, 160, 89, 0.5);
	--yl-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
	--yl-body: "EB Garamond", Garamond, Georgia, serif;
	--yl-ja: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--yl-ease: cubic-bezier(.2, .7, .2, 1);
}
.yabu-landing *, .yabu-landing *::before, .yabu-landing *::after,
.yabu-nav *, .yabu-nav *::before, .yabu-nav *::after { box-sizing: border-box; }

.yabu-archive--landing { max-width: none; padding: 0; margin: 0; background: #FAF7F0; }
.yabu-landing-embed { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

.yabu-landing {
	background: var(--yl-cream);
	color: var(--yl-ink);
	font-family: var(--yl-body);
	font-size: 1.125rem;
	line-height: 1.7;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
.yabu-landing [lang="ja"] { font-family: var(--yl-ja); font-feature-settings: "palt"; }
.yabu-landing img { max-width: 100%; height: auto; display: block; }
.yabu-landing picture { display: contents; }
.yabu-landing a { color: inherit; }
.yabu-landing :focus-visible { outline: 2px solid var(--yl-gold-bright); outline-offset: 3px; }
.yabu-landing h1, .yabu-landing h2, .yabu-landing h3 { margin: 0; font-weight: 400; }
.yabu-landing :where(p) { margin: 0 0 1.1em; }

.yl-wrap { width: min(100% - 2.5rem, 1240px); margin-inline: auto; }
.yl-wrap--narrow { width: min(100% - 2.5rem, 920px); }
.yl-center { text-align: center; }

/* Typography primitives */
.yl-eyebrow {
	font-family: var(--yl-display);
	font-variant-caps: all-small-caps;
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.3em;
	color: var(--yl-wisteria);
	margin: 0 0 0.9rem;
}
.yl-eyebrow--gold { color: var(--yl-gold); }
.yl-heading { text-align: center; margin: 0 auto clamp(2.5rem, 5vw, 4rem); max-width: 46rem; }
.yabu-landing .yl-title {
	font-family: var(--yl-display);
	font-weight: 300;
	font-size: clamp(2.2rem, 4.6vw, 3.6rem);
	line-height: 1.08;
	letter-spacing: 0.01em;
	color: var(--yl-black);
}
.yabu-landing .yl-title--left { text-align: left; }
.yabu-landing .yl-title--light { color: var(--yl-cream); }
.yabu-landing .yl-title-ja { font-size: 1rem; letter-spacing: 0.6em; padding-left: 0.6em; color: var(--yl-gold-deep); margin: 0.9rem 0 0; }
.yl-rule {
	display: block; width: 7rem; height: 9px; margin: 1.4rem auto 0;
	background:
		linear-gradient(var(--yl-gold), var(--yl-gold)) left center / calc(50% - 9px) 1px no-repeat,
		linear-gradient(var(--yl-gold), var(--yl-gold)) right center / calc(50% - 9px) 1px no-repeat;
	position: relative;
}
.yl-rule::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
	border: 1px solid var(--yl-gold); transform: translate(-50%, -50%) rotate(45deg);
}
.yl-note { font-size: 0.9rem; color: var(--yl-muted); font-style: italic; text-align: center; margin-top: 1.5rem; }
.yl-empty { text-align: center; font-style: italic; color: var(--yl-muted); font-size: 1.15rem; max-width: 38rem; margin: 0 auto; }
.yabu-landing .yl-link { font-family: var(--yl-display); font-variant-caps: all-small-caps; letter-spacing: 0.18em; font-weight: 600; color: var(--yl-wisteria); text-decoration: none; border-bottom: 1px solid var(--yl-gold); padding-bottom: 2px; }
.yabu-landing .yl-link:hover { color: var(--yl-black); border-color: var(--yl-gold-bright); }

/* Buttons */
.yl-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
	min-height: 3.1rem; padding: 0.7rem 1.9rem;
	font-family: var(--yl-display); font-variant-caps: all-small-caps; font-weight: 600;
	font-size: 1.15rem; letter-spacing: 0.22em; text-decoration: none;
	border: 1px solid var(--yl-gold); border-radius: 0;
	transition: background-color .35s var(--yl-ease), color .35s var(--yl-ease), border-color .35s var(--yl-ease);
}
.yabu-landing .yl-btn--gold { background: var(--yl-gold); color: var(--yl-black); box-shadow: 0 10px 24px -14px rgba(138, 109, 59, 0.8); }
.yabu-landing .yl-btn--gold:hover { background: var(--yl-gold-bright); border-color: var(--yl-gold-bright); color: var(--yl-black); }
.yabu-landing .yl-btn--ghost { background: transparent; color: var(--yl-cream); border-color: rgba(250, 247, 240, 0.55); }
.yabu-landing .yl-btn--ghost:hover { border-color: var(--yl-gold-bright); color: var(--yl-gold-bright); }
.yabu-landing .yl-btn--outline { color: var(--yl-wisteria); background: rgba(255, 253, 248, 0.6); }
.yabu-landing .yl-btn--outline:hover { background: var(--yl-wisteria); color: var(--yl-cream); border-color: var(--yl-wisteria); }

/* Crackle texture */
.yl-crackle { position: relative; isolation: isolate; }
.yl-crackle::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: url("../img/crackle.svg") 0 0 / 320px 320px repeat;
	opacity: 0.11;
}

/* Gold frame */
.yl-frame { position: absolute; inset: clamp(12px, 2.4vw, 34px); border: 1px solid rgba(197, 160, 89, 0.55); pointer-events: none; z-index: 2; }
.yl-frame span { position: absolute; width: 22px; height: 22px; border: 1px solid var(--yl-gold-bright); }
.yl-frame span:nth-child(1) { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.yl-frame span:nth-child(2) { top: -6px; right: -6px; border-left: 0; border-bottom: 0; }
.yl-frame span:nth-child(3) { bottom: -6px; left: -6px; border-right: 0; border-top: 0; }
.yl-frame span:nth-child(4) { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }

/* (a) Hero: luminous cream stage with the masterworks orbiting the title -- */
.yl-hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: clamp(660px, calc(100svh - 4.25rem - var(--wp-admin--admin-bar--height, 0px)), 980px);
	background:
		radial-gradient(ellipse 46% 42% at 50% 46%, rgba(255, 254, 249, 0.95) 0%, rgba(255, 254, 249, 0) 72%),
		radial-gradient(ellipse 80% 60% at 50% 110%, rgba(212, 175, 55, 0.14) 0%, rgba(212, 175, 55, 0) 70%),
		linear-gradient(180deg, #FAF7F0 0%, #F6EFE2 55%, #F1E6D2 100%);
	color: var(--yl-black);
}
.yl-hero__media {
	position: absolute; inset: 0; z-index: -2; pointer-events: none;
	-webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 78%);
	mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 78%);
}
.yl-hero__media img, .yabu-landing .yl-hero__img {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
	object-fit: cover; object-position: 50% 45%;
	opacity: 0.11; mix-blend-mode: multiply;
	filter: sepia(0.9) saturate(0.7) contrast(0.85) brightness(1.08);
	transform-origin: 62% 40%;
	animation: yl-kenburns 48s ease-in-out infinite alternate;
	will-change: transform;
}
@keyframes yl-kenburns {
	from { transform: scale(1) translate3d(0, 0, 0); }
	to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
.yl-hero__glow {
	position: absolute; left: 50%; top: 46%; width: min(70vw, 900px); aspect-ratio: 1.5; z-index: -1; pointer-events: none;
	transform: translate(-50%, -50%);
	background: radial-gradient(ellipse at center, rgba(255, 252, 240, 0.9) 0%, rgba(250, 240, 214, 0.35) 45%, rgba(250, 247, 240, 0) 70%);
}
.yl-hero .yl-frame { border-color: rgba(197, 160, 89, 0.6); }
.yl-hero__stage { position: relative; min-height: inherit; display: grid; place-items: center; padding: clamp(5rem, 9vw, 7rem) 1.5rem clamp(6rem, 9vw, 7.5rem); }
.yl-hero__content { position: relative; z-index: 3; text-align: center; max-width: 44rem; }
.yabu-landing .yl-hero .yl-eyebrow--gold { color: #7a5c2e; }
.yabu-landing .yl-hero__title {
	font-family: var(--yl-display); font-weight: 300;
	font-size: clamp(3.2rem, 7.4vw, 7rem); line-height: 0.95; letter-spacing: 0.03em;
	color: var(--yl-black);
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.yl-hero__ja {
	display: block; margin-top: 0.45em;
	font-size: clamp(1.3rem, 2.3vw, 1.95rem); font-weight: 500;
	letter-spacing: 0.7em; padding-left: 0.7em; color: var(--yl-gold-deep);
}
.yl-hero__dates {
	margin: 1.4rem 0 0; display: flex; justify-content: center; gap: 0.9em;
	font-family: var(--yl-display); font-size: clamp(1.1rem, 1.5vw, 1.28rem); font-weight: 600;
	font-variant-caps: all-small-caps; letter-spacing: 0.32em; color: var(--yl-wisteria);
	font-variant-numeric: lining-nums;
}
.yl-dot { color: var(--yl-gold); }
.yl-hero__rule { display: block; width: 1px; height: 2.8rem; margin: 1.4rem auto; background: linear-gradient(180deg, transparent, var(--yl-gold), transparent); }
.yl-hero__tagline {
	font-family: var(--yl-body); font-style: italic;
	font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.45;
	max-width: 30ch; margin: 0 auto 2.2rem; color: var(--yl-wisteria);
}
.yl-hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.yl-hero__caption {
	position: absolute; z-index: 3; left: clamp(28px, 4vw, 60px); right: clamp(28px, 4vw, 60px); bottom: clamp(20px, 3vw, 44px);
	margin: 0 auto; max-width: 60rem; text-align: center; font-size: 0.74rem; line-height: 1.4; font-style: italic;
	color: #7d7368;
}
.yabu-landing .yl-hero__scroll { position: absolute; z-index: 3; left: 50%; top: calc(100% - clamp(70px, 8vw, 96px)); width: 28px; height: 34px; transform: translateX(-50%); }
.yl-hero__scroll span[aria-hidden] { position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: linear-gradient(180deg, transparent, var(--yl-gold-deep)); animation: yl-drip 2.6s var(--yl-ease) infinite; transform-origin: top; }
@keyframes yl-drip { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* The orbit */
.yl-orbit { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.yl-piece {
	--w: calc(var(--s, 1) * clamp(140px, 13vw, 212px));
	position: absolute; left: var(--x); top: var(--y); width: var(--w);
	translate: calc(-50% + var(--mx, 0px)) calc(-50% + var(--my, 0px));
	transition: translate 1.2s var(--yl-ease);
	pointer-events: auto;
	opacity: 0; animation: yl-piece-in 1.4s var(--yl-ease) forwards; animation-delay: calc(0.35s + var(--i) * 0.12s);
}
.yl-piece:hover, .yl-piece:focus-within { z-index: 6; }
@keyframes yl-piece-in { from { opacity: 0; scale: 0.92; } to { opacity: 1; scale: 1; } }
.yl-piece__float { animation: yl-float 8s ease-in-out infinite; animation-delay: calc(var(--i) * -1.37s); }
.yl-piece:nth-child(even) .yl-piece__float { animation-duration: 9.5s; }
@keyframes yl-float {
	0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.6deg); }
	50% { transform: translate3d(0, -9px, 0) rotate(0.6deg); }
}
.yabu-landing .yl-piece__link { position: relative; display: block; color: var(--yl-ink); text-decoration: none; outline-offset: 6px; border-radius: 4px; }
.yl-piece__halo {
	position: absolute; left: 50%; top: 50%; width: 170%; aspect-ratio: 1; z-index: -1; pointer-events: none;
	transform: translate(-50%, -50%) scale(0.6); opacity: 0;
	background: radial-gradient(circle, rgba(255, 236, 170, 0.85) 0%, rgba(212, 175, 55, 0.32) 32%, rgba(212, 175, 55, 0) 66%);
	transition: opacity .6s var(--yl-ease), transform .8s var(--yl-ease);
}
.yl-piece__media {
	position: relative; display: block; aspect-ratio: 4 / 5;
	transition: transform .7s var(--yl-ease), filter .7s var(--yl-ease), box-shadow .7s var(--yl-ease);
}
.yabu-landing .yl-piece__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: 50% 72%; }
.yabu-landing .is-card .yl-piece__img { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
.is-cutout .yl-piece__media { filter: drop-shadow(0 16px 14px rgba(74, 46, 75, 0.16)) drop-shadow(0 3px 3px rgba(18, 18, 18, 0.12)); }
.is-cutout .yl-piece__media::after {
	content: ""; position: absolute; left: 14%; right: 14%; bottom: -7px; height: 12px; z-index: -1;
	background: radial-gradient(ellipse at center, rgba(74, 46, 75, 0.22), rgba(74, 46, 75, 0) 70%);
}
.is-card .yl-piece__media {
	padding: 8px; background: #fffdf8; border: 1px solid rgba(197, 160, 89, 0.55); border-radius: 3px;
	box-shadow: 0 22px 34px -22px rgba(74, 46, 75, 0.38), 0 2px 6px rgba(18, 18, 18, 0.06);
}
.yabu-landing .is-card .yl-piece__img { object-fit: cover; object-position: 50% 40%; }
.yl-piece__link:hover .yl-piece__media, .yl-piece__link:focus-visible .yl-piece__media { transform: translateY(-12px) scale(1.07); }
.is-cutout .yl-piece__link:hover .yl-piece__media, .is-cutout .yl-piece__link:focus-visible .yl-piece__media {
	filter: drop-shadow(0 22px 20px rgba(74, 46, 75, 0.2)) drop-shadow(0 0 16px rgba(212, 175, 55, 0.75)) drop-shadow(0 0 34px rgba(255, 220, 140, 0.55));
}
.is-card .yl-piece__link:hover .yl-piece__media, .is-card .yl-piece__link:focus-visible .yl-piece__media {
	border-color: var(--yl-gold-bright);
	box-shadow: 0 28px 40px -22px rgba(74, 46, 75, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.6), 0 0 34px 6px rgba(212, 175, 55, 0.45);
}
.yl-piece__link:hover .yl-piece__halo, .yl-piece__link:focus-visible .yl-piece__halo { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Caption tooltip */
.yl-piece__tip {
	position: absolute; left: 50%; top: calc(100% + 14px); z-index: 7; width: max-content; max-width: 17rem;
	translate: -50% 6px; opacity: 0; visibility: hidden; pointer-events: none;
	padding: 0.7rem 0.95rem 0.75rem; text-align: center;
	background: rgba(255, 253, 248, 0.97); border: 1px solid rgba(197, 160, 89, 0.7);
	box-shadow: 0 18px 30px -18px rgba(74, 46, 75, 0.45);
	transition: opacity .35s var(--yl-ease), translate .45s var(--yl-ease), visibility 0s linear .45s;
}
.yl-piece__tip::before { content: ""; position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; background: inherit; border: 1px solid rgba(197, 160, 89, 0.7); border-right: 0; border-bottom: 0; transform: translateX(-50%) rotate(45deg); }
.tip-up .yl-piece__tip { top: auto; bottom: calc(100% + 14px); translate: -50% -6px; }
.tip-up .yl-piece__tip::before { top: auto; bottom: -5px; transform: translateX(-50%) rotate(225deg); }
.yl-piece__link:hover .yl-piece__tip, .yl-piece__link:focus-visible .yl-piece__tip { opacity: 1; visibility: visible; translate: -50% 0; transition-delay: 0s; }
@media (min-width: 1280px) {
	.tip-start .yl-piece__tip { left: 0; translate: 0 6px; }
	.tip-end .yl-piece__tip { left: auto; right: 0; translate: 0 6px; }
	.tip-start.tip-up .yl-piece__tip, .tip-end.tip-up .yl-piece__tip { translate: 0 -6px; }
	.tip-start .yl-piece__link:hover .yl-piece__tip, .tip-start .yl-piece__link:focus-visible .yl-piece__tip,
	.tip-end .yl-piece__link:hover .yl-piece__tip, .tip-end .yl-piece__link:focus-visible .yl-piece__tip { translate: 0 0; }
	.tip-start .yl-piece__tip::before { left: calc(var(--w) / 2); }
	.tip-end .yl-piece__tip::before { left: auto; right: calc(var(--w) / 2 - 9px); transform: rotate(45deg); }
	.tip-end.tip-up .yl-piece__tip::before { transform: rotate(225deg); }
}
.yl-piece__title { display: block; font-family: var(--yl-display); font-size: 1.05rem; line-height: 1.22; font-weight: 600; color: var(--yl-black); }
.yl-piece__meta { display: block; margin-top: 0.25rem; font-size: 0.8rem; line-height: 1.35; color: var(--yl-wisteria); font-variant-numeric: lining-nums; }
.yl-piece__credit { display: block; margin-top: 0.3rem; font-size: 0.68rem; line-height: 1.3; font-style: italic; color: #7d7368; }

/* Intro motion for the hero */
.yl-hero__content > * { opacity: 0; translate: 0 18px; animation: yl-rise 1.4s var(--yl-ease) forwards; }
.yl-hero__content > :nth-child(2) { animation-delay: .15s; }
.yl-hero__content > :nth-child(3) { animation-delay: .45s; }
.yl-hero__content > :nth-child(4) { animation-delay: .6s; }
.yl-hero__content > :nth-child(5) { animation-delay: .75s; }
.yl-hero__content > :nth-child(6) { animation-delay: .95s; }
@keyframes yl-rise { to { opacity: 1; translate: 0 0; } }

/* Scroll reveal */
.yabu-js .yabu-landing [data-reveal] { opacity: 0; translate: 0 26px; transition: opacity 1.1s var(--yl-ease), translate 1.1s var(--yl-ease); }
.yabu-js .yabu-landing [data-reveal].is-visible { opacity: 1; translate: 0 0; }

/* (c) Studio -------------------------------------------------------------- */
.yl-studio { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--yl-cream); }
.yl-studio__grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.yl-studio__figure { margin: 0; position: sticky; top: 6rem; }
.yl-studio__frame { padding: 14px; border: 1px solid var(--yl-line); background: #fffdf8; box-shadow: 0 40px 60px -45px rgba(18, 18, 18, 0.55); }
.yabu-landing .yl-studio__img { width: 100%; filter: sepia(0.35) contrast(1.02); }
.yl-studio__figure figcaption { margin-top: 0.9rem; font-size: 0.9rem; font-style: italic; color: var(--yl-muted); line-height: 1.45; }
.yabu-landing .yl-studio__text .yl-title { margin-bottom: 1.6rem; }
.yl-lede { font-size: 1.24rem; color: var(--yl-black); }
.yl-lede::first-letter { float: left; font-family: var(--yl-display); font-weight: 400; font-size: 4.6em; line-height: 0.78; margin: 0.08em 0.1em 0 0; color: var(--yl-gold-deep); }
.yl-quote { margin: 2.4rem 0; padding: 1.6rem 0; border-top: 1px solid var(--yl-line); border-bottom: 1px solid var(--yl-line); position: relative; }
.yl-quote::before { content: ""; position: absolute; left: 50%; top: -4px; width: 7px; height: 7px; background: var(--yl-cream); border: 1px solid var(--yl-gold); transform: translateX(-50%) rotate(45deg); }
.yl-quote p { font-family: var(--yl-display); font-style: italic; font-weight: 400; font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.3; color: var(--yl-wisteria); margin: 0 0 0.8rem; }
.yl-quote footer { font-variant-numeric: lining-nums; font-family: var(--yl-display); font-variant-caps: all-small-caps; letter-spacing: 0.18em; font-weight: 600; color: var(--yl-muted); font-size: 1rem; }
.yl-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; margin: 0 0 2rem; }
.yl-facts div { padding: 0.8rem 0; border-top: 1px solid rgba(197, 160, 89, 0.35); }
.yl-facts dt { font-family: var(--yl-display); font-variant-caps: all-small-caps; letter-spacing: 0.2em; font-weight: 600; color: var(--yl-gold-deep); font-size: 0.98rem; }
.yl-facts dd { margin: 0.1rem 0 0; font-size: 1rem; line-height: 1.45; }

/* (d) Stats --------------------------------------------------------------- */
.yl-stats { background: linear-gradient(180deg, #FFFDF8, #F6EFE2); color: var(--yl-ink); padding: clamp(3.5rem, 7vw, 5.5rem) 0; border-top: 1px solid rgba(197, 160, 89, 0.4); border-bottom: 1px solid rgba(197, 160, 89, 0.4); }
.yl-stats__list { list-style: none; margin-block: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.yl-stat { text-align: center; padding: 0.5rem 1rem; display: flex; flex-direction: column; align-items: center; }
.yl-stat + .yl-stat { border-left: 1px solid rgba(197, 160, 89, 0.3); }
.yl-stat__num { font-family: var(--yl-display); font-weight: 300; font-size: clamp(2.8rem, 5.4vw, 4.6rem); line-height: 1; color: var(--yl-gold-deep); font-variant-numeric: lining-nums tabular-nums; }
.yl-stat__label { color: var(--yl-black); margin-top: 0.8rem; font-family: var(--yl-display); font-variant-caps: all-small-caps; letter-spacing: 0.24em; font-weight: 600; font-size: 1.05rem; }
.yl-stat__ja { font-size: 0.85rem; letter-spacing: 0.4em; color: var(--yl-wisteria); margin-top: 0.2rem; }
.yl-stat__note { font-size: 0.85rem; font-style: italic; color: var(--yl-muted); margin-top: 0.3rem; }

/* (e) Timeline ------------------------------------------------------------ */
.yl-timeline { padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(4rem, 8vw, 7rem); background: var(--yl-paper); }
.yl-tl__controls { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: -1.5rem; margin-bottom: 1rem; }
.yl-tl__btn { width: 2.9rem; height: 2.9rem; border: 1px solid var(--yl-gold); background: transparent; color: var(--yl-wisteria); font-size: 1.1rem; cursor: pointer; border-radius: 50%; transition: background-color .3s, color .3s; }
.yl-tl__btn:hover:not(:disabled) { background: var(--yl-wisteria); color: var(--yl-cream); border-color: var(--yl-wisteria); }
.yl-tl__btn:disabled { opacity: 0.35; cursor: default; }
.yl-tl__btn:focus-visible { outline: 2px solid var(--yl-gold-bright); outline-offset: 3px; }
.yl-tl__viewport {
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: thin; scrollbar-color: var(--yl-gold) transparent;
	padding: 0 max(1.25rem, (100vw - 1240px) / 2) 1.5rem;
	scroll-padding-inline: max(1.25rem, (100vw - 1240px) / 2);
}
.yl-tl__viewport:focus-visible { outline: 2px solid var(--yl-gold-bright); outline-offset: -2px; }
.yl-tl__track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; }
.yl-tl__item { flex: 0 0 clamp(240px, 23vw, 300px); scroll-snap-align: start; }
.yl-tl__item:last-child { flex-basis: clamp(240px, 23vw, 300px); }
.yl-tl__year { display: block; font-family: var(--yl-display); font-weight: 300; font-size: clamp(2.4rem, 3.6vw, 3.1rem); line-height: 1; color: var(--yl-gold-deep); font-variant-numeric: lining-nums; transition: color .4s; }
.yl-tl__node { display: block; position: relative; height: 13px; margin: 1rem 0 1.3rem; }
.yl-tl__node::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--yl-line); }
.yl-tl__item:last-child .yl-tl__node::before { right: 60%; background: linear-gradient(90deg, var(--yl-line), transparent); }
.yl-tl__node::after { content: ""; position: absolute; left: 1px; top: 1px; width: 11px; height: 11px; background: var(--yl-paper); border: 1px solid var(--yl-gold); transform: rotate(45deg); transition: background-color .4s, box-shadow .4s; }
.yl-tl__item:hover .yl-tl__node::after { background: var(--yl-gold-bright); box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.18); }
.yl-tl__item:hover .yl-tl__year { color: var(--yl-wisteria); }
.yabu-landing .yl-tl__title { font-family: var(--yl-display); font-weight: 500; font-size: 1.4rem; line-height: 1.2; color: var(--yl-black); padding-right: 2rem; margin-bottom: 0.5rem !important; }
.yl-tl__text { font-size: 1rem; line-height: 1.55; color: var(--yl-muted); padding-right: 2rem; margin: 0; }

/* (f) Cards --------------------------------------------------------------- */
.yl-cards { padding: clamp(5rem, 10vw, 8.5rem) 0; background: var(--yl-cream); }
.yl-cards__grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 1.8vw, 1.6rem); }
.yl-card { flex: 0 1 calc((100% - 3 * clamp(1rem, 1.8vw, 1.6rem)) / 4); min-width: 0; }
.yabu-landing .yl-card__link { position: relative; display: flex; flex-direction: column; height: 100%; background: #FFFDF8; color: var(--yl-ink); border: 1px solid rgba(197, 160, 89, 0.4); box-shadow: 0 24px 40px -34px rgba(74, 46, 75, 0.5); transition: box-shadow .6s var(--yl-ease), transform .6s var(--yl-ease); text-decoration: none; overflow: hidden; isolation: isolate; }
.yl-card__link::after {
	content: ""; position: absolute; inset: 10px; border: 1px solid var(--yl-gold-bright); pointer-events: none; z-index: 2;
	clip-path: inset(0 100% 100% 0); transition: clip-path .9s var(--yl-ease);
}
.yl-card__link::before {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 2;
	background: linear-gradient(90deg, var(--yl-gold-deep), var(--yl-gold-bright), var(--yl-gold-deep));
	transform: scaleX(0); transform-origin: left; transition: transform .7s var(--yl-ease);
}
a.yl-card__link:hover::after, a.yl-card__link:focus-visible::after { clip-path: inset(0 0 0 0); }
.yabu-landing a.yl-card__link:hover, .yabu-landing a.yl-card__link:focus-visible { transform: translateY(-4px); box-shadow: 0 30px 44px -30px rgba(74, 46, 75, 0.55), 0 0 30px -6px rgba(212, 175, 55, 0.45); }
a.yl-card__link:hover::before, a.yl-card__link:focus-visible::before { transform: scaleX(1); }
.yl-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #efe6d4; }
.yabu-landing .yl-card__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: sepia(0.25) saturate(0.85) brightness(0.98); transition: filter .9s var(--yl-ease), transform 1.4s var(--yl-ease); }
a.yl-card__link:hover .yl-card__img, a.yl-card__link:focus-visible .yl-card__img { filter: sepia(0) saturate(1.05) brightness(1.04); transform: scale(1.05); }
.yl-card__glyph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 6rem; color: var(--yl-gold); background: url("../img/crackle.svg") 0 0 / 220px repeat, radial-gradient(ellipse at 50% 40%, #fffaf0, #efe4cf); color: var(--yl-gold-deep); transition: color .6s; }
a.yl-card__link:hover .yl-card__glyph { color: var(--yl-gold-bright); }
.yl-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.yl-card__ja { font-size: 1.05rem; letter-spacing: 0.35em; color: var(--yl-gold-deep); }
.yl-card__title { font-family: var(--yl-display); font-size: 1.65rem; font-weight: 400; line-height: 1.15; margin: 0.3rem 0 0.55rem; color: var(--yl-black); }
.yl-card__text { font-size: 0.98rem; line-height: 1.5; color: var(--yl-muted); flex: 1; }
.yl-card__more { margin-top: 1.1rem; font-family: var(--yl-display); font-variant-caps: all-small-caps; letter-spacing: 0.22em; font-weight: 600; font-size: 1rem; color: var(--yl-wisteria); transition: color .4s, letter-spacing .6s var(--yl-ease); }
a.yl-card__link:hover .yl-card__more { color: var(--yl-gold-deep); letter-spacing: 0.3em; }
.yl-card.is-pending .yl-card__link { opacity: 0.78; }
.yl-card.is-pending .yl-card__more { color: var(--yl-muted); font-style: italic; }

/* (g) Records ------------------------------------------------------------- */
.yl-records { padding: clamp(5rem, 10vw, 8.5rem) 0; background: var(--yl-paper); }
.yl-records__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--yl-line); }
.yl-record { display: grid; grid-template-columns: 4rem 4.5rem 1fr auto; gap: 1.5rem; align-items: center; padding: 1.5rem 0.25rem; border-bottom: 1px solid var(--yl-line); }
.yl-record__rank { font-family: var(--yl-display); font-style: italic; font-size: 2rem; line-height: 1; color: var(--yl-gold); font-variant-numeric: lining-nums; }
.yl-record__body { min-width: 0; }
.yabu-landing .yl-record__title { font-family: var(--yl-display); font-size: 1.4rem; line-height: 1.25; font-weight: 500; color: var(--yl-black); text-decoration: none; background: linear-gradient(var(--yl-gold), var(--yl-gold)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--yl-ease); }
.yabu-landing .yl-record__title:hover, .yabu-landing .yl-record__title:focus-visible { background-size: 100% 1px; }
.yl-record__meta { display: block; margin-top: 0.3rem; font-size: 0.92rem; color: var(--yl-muted); }
.yl-record__price { text-align: right; white-space: nowrap; }
.yl-record__amount { display: block; font-family: var(--yl-display); font-size: 1.7rem; font-weight: 500; color: var(--yl-wisteria); font-variant-numeric: lining-nums; }
.yl-record__thumb { display: block; width: 4.5rem; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--yl-line); background: rgba(0,0,0,0.03); }
.yl-record__thumb.is-empty { background: transparent; border-style: dashed; }
.yl-record__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yl-record__usd { display: block; font-size: 0.85rem; color: var(--yl-muted); }
.yl-records .yl-center { margin-top: 2.4rem; }

/* (h) Museums ------------------------------------------------------------- */
.yl-museums { padding: clamp(5rem, 10vw, 8.5rem) 0; background: var(--yl-cream); }
.yl-museums__list { list-style: none; margin: 0 auto; padding: 0; columns: 3 18rem; column-gap: 3.5rem; max-width: 1100px; }
.yl-museums__list li { break-inside: avoid; border-bottom: 1px solid rgba(197, 160, 89, 0.3); }
.yabu-landing .yl-museums__list a { display: flex; align-items: baseline; gap: 1rem; justify-content: space-between; padding: 0.85rem 0; text-decoration: none; }
.yl-museums__name { font-family: var(--yl-display); font-size: 1.25rem; line-height: 1.25; color: var(--yl-black); transition: color .3s; }
.yl-museums__count { flex: none; font-variant-numeric: lining-nums; font-family: var(--yl-display); font-variant-caps: all-small-caps; letter-spacing: 0.16em; font-weight: 600; font-size: 0.95rem; color: var(--yl-gold-deep); }
.yl-museums__list a:hover .yl-museums__name { color: var(--yl-wisteria); }

/* (i) CTA ----------------------------------------------------------------- */
.yl-cta { position: relative; isolation: isolate; padding: clamp(6rem, 12vw, 10rem) 0; color: var(--yl-cream); background: radial-gradient(ellipse at 50% 120%, #5d3c5e 0%, #2e1d2f 58%, #1d1320 100%); }
.yl-frame--inset { inset: clamp(16px, 3vw, 40px); }
.yabu-landing .yl-cta .yl-title { margin-bottom: 1.4rem; }
.yl-cta__text { font-size: 1.2rem; color: rgba(250, 247, 240, 0.82); max-width: 38rem; margin: 0 auto 2.4rem !important; }

/* Header bar -------------------------------------------------------------- */
.yabu-nav {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50;
	background: rgba(250, 247, 240, 0.94); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
	border-bottom: 1px solid rgba(197, 160, 89, 0.45);
	font-family: var(--yl-display);
}
.yabu-nav__inner { width: min(100% - 2.5rem, 1320px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.25rem; }
.yabu-nav__brand { display: inline-flex; align-items: baseline; gap: 0.6rem; text-decoration: none; color: var(--yl-black); white-space: nowrap; }
.yabu-nav__brand-en { font-size: 1.5rem; font-weight: 500; letter-spacing: 0.06em; }
.yabu-nav__brand-ja { font-family: var(--yl-ja); font-size: 1rem; letter-spacing: 0.25em; color: var(--yl-gold-deep); }
.yabu-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.yabu-nav__list a { display: block; padding: 0.4rem 0; font-variant-caps: all-small-caps; font-weight: 600; font-size: 1.08rem; letter-spacing: 0.16em; color: var(--yl-ink); text-decoration: none; background: linear-gradient(var(--yl-gold), var(--yl-gold)) 50% 100% / 0 1px no-repeat; transition: background-size .4s var(--yl-ease), color .3s; }
.yabu-nav__list a:hover, .yabu-nav__list a:focus-visible, .yabu-nav__list [aria-current="page"], .yabu-nav__list .current-menu-item > a { color: var(--yl-wisteria); background-size: 100% 1px; }
.yabu-nav a:focus-visible, .yabu-nav button:focus-visible { outline: 2px solid var(--yl-gold-bright); outline-offset: 3px; }
.yabu-nav__toggle { display: none; width: 2.75rem; height: 2.75rem; border: 1px solid var(--yl-line); background: transparent; cursor: pointer; position: relative; border-radius: 0; padding: 0; }
.yabu-nav__bars, .yabu-nav__bars::before, .yabu-nav__bars::after { position: absolute; left: 50%; width: 18px; height: 1px; background: var(--yl-black); transform: translateX(-50%); transition: transform .3s, opacity .3s; }
.yabu-nav__bars { top: 50%; }
.yabu-nav__bars::before, .yabu-nav__bars::after { content: ""; left: 0; transform: none; }
.yabu-nav__bars::before { top: -6px; }
.yabu-nav__bars::after { top: 6px; }
.yabu-nav__toggle[aria-expanded="true"] .yabu-nav__bars { background: transparent; }
.yabu-nav__toggle[aria-expanded="true"] .yabu-nav__bars::before { transform: translateY(6px) rotate(45deg); }
.yabu-nav__toggle[aria-expanded="true"] .yabu-nav__bars::after { transform: translateY(-6px) rotate(-45deg); }
.yabu-nav .yabu-sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1279px) {
	.yl-card { flex-basis: calc((100% - clamp(1rem, 1.8vw, 1.6rem)) / 2); }
	.yabu-nav__list { gap: 0.25rem 1.1rem; }
}
@media (max-width: 1020px) {
	.yabu-js .yabu-nav__toggle { display: inline-block; }
	.yabu-nav__inner { flex-wrap: wrap; }
	.yabu-nav__list { flex-basis: 100%; gap: 0.1rem 1.1rem; padding: 0 0 0.75rem; }
	.yabu-js .yabu-nav__list { display: none; flex-direction: column; padding: 0.25rem 0 1rem; }
	.yabu-js .yabu-nav__list.is-open { display: flex; }
	.yabu-js .yabu-nav__list a { padding: 0.65rem 0; border-top: 1px solid rgba(197, 160, 89, 0.25); background: none; }
}
@media (max-width: 900px) {
	.yl-studio__grid { grid-template-columns: 1fr; }
	.yl-studio__figure { position: static; }
	.yl-stats__list { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
	.yl-stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 760px) {
	.yl-hero__caption { font-size: 0.68rem; }
	.yl-hero__ctas .yl-btn { width: min(100%, 20rem); }
	.yl-facts { grid-template-columns: 1fr; }
	.yl-record { grid-template-columns: 2.5rem 3.5rem 1fr; gap: 0.25rem 0.85rem; }
	.yl-record__thumb { width: 3.5rem; grid-row: span 2; align-self: start; }
	.yl-record__price { grid-column: 3; text-align: left; margin-top: 0.4rem; }
	.yl-tl__controls { margin-top: -1rem; }
}
@media (max-width: 600px) {
	.yl-card { flex-basis: 100%; }
	.yabu-landing { font-size: 1.0625rem; }
	.yl-tl__item { flex-basis: 78vw; }
	.yl-tl__item:last-child { flex-basis: 78vw; }
	.yabu-nav__brand-en { font-size: 1.3rem; }
}

/* Hero orbit on narrower screens: a swipe row under the title */
@media (min-width: 1280px) {
	.yl-piece.is-extra { display: none; } /* Desktop shows six around the title; the swipe row shows all. */
}
@media (max-width: 1279px) {
	.yl-hero { min-height: 0; }
	/* Flatten the content so the swipe row sits directly under the title and dates. */
	.yl-hero__stage { display: flex; flex-direction: column; align-items: stretch; text-align: center; padding: clamp(3.25rem, 9vw, 5rem) 0 4rem; }
	.yl-hero__content { display: contents; }
	.yl-hero__content > * { margin-inline: 1.25rem; }
	.yl-hero__content > .yl-eyebrow { order: 1; }
	.yl-hero__title { order: 2; }
	.yl-hero__dates { order: 3; }
	.yl-orbit { order: 4; }
	.yl-hero__rule { display: none; }
	.yabu-landing .yl-hero__tagline { order: 5; margin: 1.6rem auto 1.8rem; padding-inline: 1.25rem; }
	.yl-hero__ctas { order: 6; }
	.yl-orbit {
		position: relative; inset: auto; display: flex; gap: 1rem; margin-top: 1.6rem; text-align: center;
		overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
		padding: 1.4rem 1.25rem 0.5rem; scroll-padding-inline: 1.25rem;
	}
	.yl-orbit::-webkit-scrollbar { display: none; }
	.yl-piece { position: relative; left: auto; top: auto; translate: none; flex: 0 0 clamp(140px, 38vw, 210px); width: auto; scroll-snap-align: start; }
	.yl-piece__tip, .tip-up .yl-piece__tip {
		position: static; translate: none; opacity: 1; visibility: visible; width: auto; max-width: none;
		margin-top: 0.9rem; padding: 0; background: none; border: 0; box-shadow: none;
	}
	.yl-piece__tip::before { display: none; }
	.yl-piece__title { font-size: 1rem; }
	.yl-piece__media { aspect-ratio: 1 / 1; }
	.yl-piece__link:hover .yl-piece__media, .yl-piece__link:focus-visible .yl-piece__media { transform: translateY(-6px) scale(1.04); }
	.yabu-landing .yl-hero__scroll { display: none; }
	.yl-hero__caption { position: static; margin: 1.5rem 1.5rem 0; }
	.yabu-landing .yl-hero .yl-eyebrow { letter-spacing: 0.2em; font-size: 0.95rem; }
}

/* Motion preferences ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	.yl-hero__media img, .yabu-landing .yl-hero__img { animation: none; transform: none; }
	.yl-hero__scroll span[aria-hidden] { animation: none; transform: none; opacity: 0.7; }
	.yl-hero__content > * { animation: none; opacity: 1; translate: none; }
	.yl-piece, .yl-piece__float { animation: none; opacity: 1; }
	.yl-piece { translate: -50% -50%; }
	.yabu-js .yabu-landing [data-reveal] { opacity: 1; translate: none; transition: none; }
	.yl-tl__viewport { scroll-behavior: auto; }
	.yabu-landing *, .yabu-nav * { transition-duration: 0.01ms !important; }
}
@media print {
	.yabu-nav, .yl-hero__media, .yl-hero__scroll, .yl-tl__controls { display: none; }
	.yl-hero, .yl-stats, .yl-cta { background: none; color: #000; }
	.yl-piece__tip { display: none; }
}

/* 1.6.1 ------------------------------------------------------------------ */
/* One nav: hide the theme's header bar whenever the archive bar is on the page. */
body:has(.yabu-nav) .yabu-site-header { display: none !important; }
.yabu-nav { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; }
/* Hero type (Website Optimizer P0) */
.yabu-landing .yl-hero .yl-eyebrow,
.yabu-landing .yl-hero .yl-eyebrow--gold { font-size: 12px; letter-spacing: 0.3em; color: #6B5426; }
.yabu-landing .yl-hero__tagline { font-size: 20px; color: #3A2E1F; }
@media (max-width: 1279px) {
	.yabu-landing .yl-hero .yl-eyebrow { font-size: 12px; letter-spacing: 0.24em; }
}
/* Below 480px: at most two thumbnails, under the CTAs, no side strip. */
@media (max-width: 479.98px) {
	.yl-orbit { order: 7; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; overflow: visible; scroll-snap-type: none; padding: 1.6rem 1.25rem 0; }
	.yl-piece { flex: none; width: auto; min-width: 0; }
	.yl-piece:nth-child(n+3) { display: none; }
	.yl-piece__title { font-size: 0.9rem; }
}
