/*
 * PIANEST LP — front end and editor styles.
 *
 * Faculty-led layout: the hero states what the service is and shows featured
 * instructors; the full faculty follows immediately.
 * Brand colours from the official flyer (deep navy + gold), used with restraint:
 * gold for small labels, hairlines and the primary button only.
 * Mobile first. Breakpoints: 768 / 1024 / 1280.
 */

:root {
	--lp-navy: var(--wp--preset--color--navy, #0b1a2f);
	--lp-navy-2: #12243f;
	--lp-gold: var(--wp--preset--color--gold, #cfae4a);
	--lp-gold-light: #e2c66f;
	--lp-gold-ink: #876a1c; /* gold for text on light backgrounds (contrast ≥ 4.5:1) */
	--lp-ink: var(--wp--preset--color--ink, #1c2533);
	--lp-ink-soft: var(--wp--preset--color--ink-soft, #566070);
	--lp-ivory: var(--wp--preset--color--ivory, #f7f4ee);
	--lp-paper: #ffffff;
	--lp-line: #e4dfd4;
	--lp-line-dark: rgb(255 255 255 / 16%);
	--lp-blue: var(--wp--preset--color--blue, #4f6f8f);

	--lp-sans: var(--wp--preset--font-family--sans, sans-serif);
	--lp-serif: var(--wp--preset--font-family--serif, serif);
	--lp-latin: "Cormorant Garamond", "Optima", "Didot", Georgia, "Times New Roman", serif;

	--lp-content: 1160px;
	--lp-gutter: 20px;
	--lp-header-h: 60px;
	--lp-radius: 14px;
	--lp-shadow: 0 1px 2px rgb(11 26 47 / 5%), 0 10px 30px rgb(11 26 47 / 8%);
}

/* ---------- Base ---------- */

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--lp-paper);
	color: var(--lp-ink);
	font-family: var(--lp-sans);
	font-size: 1rem;
	line-height: 1.9;
	font-feature-settings: "palt" 1;
	letter-spacing: 0.02em;
	overflow-wrap: anywhere;
	line-break: strict;
}

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

a {
	color: var(--lp-blue);
	text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
	outline: 3px solid var(--lp-gold);
	outline-offset: 3px;
	border-radius: 4px;
}

h1,
h2,
h3 {
	font-family: var(--lp-serif);
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.5;
	text-wrap: balance;
	word-break: auto-phrase;
}

strong {
	font-weight: 700;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 8px;
	z-index: 1000;
	padding: 0.75rem 1rem;
	background: var(--lp-gold);
	color: var(--lp-navy);
	border-radius: 8px;
}

.skip-link:focus {
	top: 8px;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgb(11 26 47 / 96%);
	border-bottom: 1px solid rgb(207 174 74 / 25%);
}

.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height, 0);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: var(--lp-content);
	min-height: var(--lp-header-h);
	margin: 0 auto;
	padding: 0 var(--lp-gutter);
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
}

.site-brand__pianest {
	width: 38px;
	height: 38px;
}

.site-brand__cross {
	color: rgb(255 255 255 / 60%);
	font-size: 0.8125rem;
}

.site-brand__matsuishi {
	width: 108px;
	height: auto;
}

.site-nav,
.site-header .button--small {
	display: none;
}

/* ---------- Buttons ---------- */

.button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.85rem 1.75rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--lp-sans);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button,
.wp-block-button .wp-block-button__link,
.is-style-pianest-primary .wp-block-button__link {
	background: var(--lp-gold);
	color: var(--lp-navy);
}

.button:hover,
.wp-block-button .wp-block-button__link:hover,
.is-style-pianest-primary .wp-block-button__link:hover {
	background: var(--lp-gold-light);
	color: var(--lp-navy);
}

.is-style-pianest-ghost .wp-block-button__link {
	background: transparent;
	color: var(--lp-navy);
	border-color: currentColor;
}

.is-style-pianest-ghost .wp-block-button__link:hover {
	background: var(--lp-navy);
	color: #fff;
	border-color: var(--lp-navy);
}

.lp-dark .is-style-pianest-ghost .wp-block-button__link,
.lp-hero .is-style-pianest-ghost .wp-block-button__link {
	color: #fff;
	border-color: rgb(255 255 255 / 55%);
}

.lp-dark .is-style-pianest-ghost .wp-block-button__link:hover,
.lp-hero .is-style-pianest-ghost .wp-block-button__link:hover {
	background: #fff;
	color: var(--lp-navy);
	border-color: #fff;
}

.button--small {
	min-height: 42px;
	padding: 0.45rem 1.2rem;
	font-size: 0.8125rem;
}

.wp-block-buttons.lp-cta-row {
	gap: 0.75rem;
	margin-top: 2rem;
}

.wp-block-buttons.lp-cta-row--center {
	justify-content: center;
}

/* ---------- Section system ---------- */

.site-main {
	display: block;
}

.lp-section {
	padding: clamp(3.5rem, 10vw, 7rem) var(--lp-gutter);
	scroll-margin-top: var(--lp-header-h);
}

.lp-section > * {
	margin-block: 0;
}

.lp-paper {
	background: var(--lp-paper);
}

.lp-ivory {
	background: var(--lp-ivory);
}

.lp-dark {
	background: var(--lp-navy);
	color: #fff;
}

.lp-dark a {
	color: #fff;
}

/* Small English label with a short rule: the single recurring brand accent. */
.lp-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	color: var(--lp-gold-ink);
	font-family: var(--lp-latin);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.32em;
	line-height: 1.4;
}

.lp-eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
}

.lp-dark .lp-eyebrow,
.lp-hero .lp-eyebrow {
	color: var(--lp-gold);
}

.lp-title {
	margin-top: 0.9rem !important;
	font-size: clamp(1.5rem, 5.6vw, 2.25rem);
	line-height: 1.5;
}

.lp-intro {
	max-width: 44em;
	margin-top: 1.25rem !important;
	color: var(--lp-ink-soft);
}

.lp-small {
	font-size: 0.8125rem;
	line-height: 1.8;
	color: var(--lp-ink-soft);
}

.lp-dark__lead {
	margin-top: 1.25rem !important;
	color: rgb(255 255 255 / 82%);
}

.lp-dark__note {
	margin-top: 1.5rem !important;
	font-size: 0.8125rem;
	line-height: 1.8;
	color: rgb(255 255 255 / 64%);
}

/* Two-column editorial split (stacked on phones). */
.lp-split {
	display: grid;
	gap: 2.5rem;
}

.lp-split > * {
	margin: 0 !important;
}

.lp-split__main > * {
	margin-block: 0;
}

.lp-split__main > * + * {
	margin-top: 1.1rem;
}

/* ---------- Hero ---------- */

.wp-block-cover.lp-hero {
	position: relative;
	min-height: 0;
	padding: 1.5rem var(--lp-gutter) 2.5rem;
	align-items: flex-start;
	overflow: hidden;
}

.lp-hero .wp-block-cover__background {
	background: linear-gradient(180deg, rgb(11 26 47 / 86%) 0%, rgb(11 26 47 / 95%) 40%, #0b1a2f 100%) !important;
	opacity: 1 !important;
}

.lp-hero .wp-block-cover__image-background {
	object-position: 75% 20%;
}

/* Core's content-position rules use doubled class selectors; match them. */
.wp-block-cover.lp-hero.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container,
.wp-block-cover.lp-hero .wp-block-cover__inner-container {
	width: 100%;
	max-width: var(--lp-content);
	margin: 0 auto;
	color: #fff;
}

.lp-hero__body > * {
	margin-block: 0;
}

.lp-hero__en {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--lp-gold);
	font-family: var(--lp-latin);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.34em;
	line-height: 1.4;
}

.lp-hero__en::before {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
}

.lp-hero__title {
	margin-top: 0.8rem !important;
	color: #fff;
	font-size: clamp(1.75rem, 7.6vw, 3.125rem);
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.45;
}

.lp-hero__lead {
	max-width: 34em;
	margin-top: 0.8rem !important;
	color: rgb(255 255 255 / 80%);
	font-size: 0.875rem;
	line-height: 1.85;
}

.lp-hero__nation {
	margin-top: 1rem !important;
	padding: 0.6rem 0 0.6rem 0.9rem;
	border-left: 2px solid var(--lp-gold);
	background: linear-gradient(90deg, rgb(207 174 74 / 12%), transparent);
	color: #fff;
	font-family: var(--lp-serif);
	font-size: clamp(1rem, 4.4vw, 1.375rem);
	font-weight: 600;
	line-height: 1.6;
}

/* Nationwide / video / written review, read as one set. */
.lp-pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 1rem !important;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--lp-line-dark);
	border-bottom: 1px solid var(--lp-line-dark);
}

.lp-pillars li {
	padding: 0.6rem 0.25rem;
	color: rgb(255 255 255 / 70%);
	font-size: 0;
	line-height: 1.55;
	text-align: center;
}

.lp-pillars li + li {
	border-left: 1px solid var(--lp-line-dark);
}

.lp-pillars strong {
	display: block;
	color: #fff;
	font-size: clamp(0.9375rem, 4.2vw, 1.0625rem);
	letter-spacing: 0.06em;
}

/* Featured faculty panel. */
.lp-faculty {
	margin-top: 1.25rem !important;
	padding: 0.9rem 1rem 0.75rem;
	border: 1px solid var(--lp-line-dark);
	border-radius: var(--lp-radius);
	background: rgb(255 255 255 / 4%);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.lp-faculty > * {
	margin-block: 0;
}

.lp-faculty__eyebrow {
	color: var(--lp-gold);
	font-family: var(--lp-latin);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.32em;
	line-height: 1.4;
}

.lp-faculty__heading {
	margin-top: 0.2rem !important;
	color: #fff;
	font-family: var(--lp-serif);
	font-size: 1rem;
	font-weight: 600;
}

.lp-faculty__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	margin-top: 0.5rem !important;
}

.lp-faculty__item {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 0.75rem;
	align-items: center;
	margin: 0 !important;
	padding: 0.45rem 0;
}

.lp-faculty__item + .lp-faculty__item {
	border-top: 1px solid var(--lp-line-dark);
}

.lp-faculty__item > * {
	margin: 0 !important;
}

.lp-faculty__photo {
	grid-row: 1 / 3;
}

.lp-faculty__photo img {
	display: block;
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 50%;
	border: 1px solid rgb(207 174 74 / 55%);
}

.lp-faculty__role {
	align-self: end;
	color: var(--lp-gold-light);
	font-size: 0.75rem;
	line-height: 1.45;
}

.lp-faculty__name {
	align-self: start;
	color: #fff;
	font-family: var(--lp-serif);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.5;
}

.lp-faculty__more {
	margin-top: 0.4rem !important;
	padding-top: 0.6rem;
	border-top: 1px solid var(--lp-line-dark);
	font-size: 0.8125rem;
	text-align: right;
}

.lp-faculty__more a {
	color: #fff;
	text-decoration: none;
}

.lp-faculty__more a::after {
	content: " →";
	color: var(--lp-gold);
}

.lp-hero__cta .wp-block-button {
	flex: 1 1 100%;
}

.lp-hero__cta .wp-block-button__link {
	width: 100%;
}

.lp-hero__note {
	margin-top: 1rem !important;
	color: rgb(255 255 255 / 58%);
	font-size: 0.6875rem;
	line-height: 1.75;
}

/* ---------- Instructors ---------- */

.lp-instructor-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.25rem 1rem;
	margin-top: 2.5rem !important;
}

.lp-instructor {
	margin: 0 !important;
	text-align: center;
}

.lp-instructor > * {
	margin-block: 0;
}

.lp-instructor__photo {
	margin: 0 auto 0.85rem !important;
}

.lp-instructor__photo img {
	display: block;
	width: min(116px, 100%);
	aspect-ratio: 1;
	margin: 0 auto;
	object-fit: cover;
	border-radius: 50%;
	background: var(--lp-line);
	box-shadow: 0 0 0 1px var(--lp-paper), 0 0 0 2px rgb(207 174 74 / 60%);
}

.lp-instructor__name {
	font-family: var(--lp-serif);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.5;
}

.lp-instructor__name a {
	color: var(--lp-ink);
	text-decoration: none;
}

.lp-instructor__name a:hover {
	color: var(--lp-gold-ink);
	text-decoration: underline;
}

.lp-instructor__title {
	margin-top: 0.35rem !important;
	color: var(--lp-ink-soft);
	font-size: 0.75rem;
	line-height: 1.65;
	letter-spacing: 0.02em;
}

.lp-instructors__foot {
	max-width: 52em;
	margin-top: 2.75rem !important;
	padding-top: 1.25rem;
	border-top: 1px solid var(--lp-line);
	color: var(--lp-ink-soft);
	font-size: 0.8125rem;
	line-height: 1.8;
}

/* ---------- About ---------- */

.lp-about__headline {
	font-family: var(--lp-serif);
	font-size: clamp(1.125rem, 4.4vw, 1.375rem);
	font-weight: 600;
	line-height: 1.7;
}

.lp-numbered {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: lp-num;
}

.lp-numbered li {
	position: relative;
	padding: 1.25rem 0 1.25rem 3.25rem;
	border-top: 1px solid var(--lp-line);
	color: var(--lp-ink-soft);
	font-size: 0.875rem;
	line-height: 1.8;
	counter-increment: lp-num;
}

.lp-numbered li:last-child {
	border-bottom: 1px solid var(--lp-line);
}

.lp-numbered li::before {
	content: counter(lp-num, decimal-leading-zero);
	position: absolute;
	top: 1.15rem;
	left: 0;
	color: var(--lp-gold-ink);
	font-family: var(--lp-latin);
	font-size: 1.5rem;
	line-height: 1.2;
}

.lp-numbered strong {
	display: block;
	margin-bottom: 0.2rem;
	color: var(--lp-ink);
	font-family: var(--lp-serif);
	font-size: 1.0625rem;
	font-weight: 600;
}

/* ---------- Benefits ---------- */

.lp-outcomes {
	display: grid;
	gap: 0;
	margin-top: 2.25rem !important;
	padding: 0;
	list-style: none;
	counter-reset: lp-out;
}

.lp-outcomes li {
	position: relative;
	padding: 1.4rem 0 1.4rem 3rem;
	border-top: 1px solid var(--lp-line-dark);
	color: rgb(255 255 255 / 72%);
	font-size: 0.875rem;
	line-height: 1.85;
	counter-increment: lp-out;
}

.lp-outcomes li::before {
	content: counter(lp-out, upper-roman);
	position: absolute;
	top: 1.35rem;
	left: 0;
	color: var(--lp-gold);
	font-family: var(--lp-latin);
	font-size: 1.25rem;
}

.lp-outcomes strong {
	display: block;
	margin-bottom: 0.3rem;
	color: #fff;
	font-family: var(--lp-serif);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.6;
}

.lp-benefits__label {
	margin-top: 2.5rem !important;
	color: var(--lp-gold);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.lp-viewpoints {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 0.75rem !important;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--lp-line-dark);
}

.lp-viewpoints li {
	padding: 0.8rem 0.25rem;
	border-bottom: 1px solid var(--lp-line-dark);
	font-family: var(--lp-serif);
	font-size: 0.9375rem;
	letter-spacing: 0.06em;
}

/* ---------- Recommend ---------- */

.lp-audiences {
	display: grid;
	gap: 2.25rem;
	margin-top: 2.5rem !important;
}

.lp-audience {
	margin: 0 !important;
	padding-top: 1.25rem;
	border-top: 2px solid var(--lp-gold);
}

.lp-audience > * {
	margin-block: 0;
}

.lp-audience > * + * {
	margin-top: 0.6rem;
}

.lp-audience h3 {
	font-size: 1.1875rem;
}

.lp-audience p {
	color: var(--lp-ink-soft);
	font-size: 0.9375rem;
}

.lp-dashes {
	padding: 0;
	list-style: none;
}

.lp-dashes li {
	position: relative;
	padding: 0.2rem 0 0.2rem 1.25rem;
	font-size: 0.875rem;
	line-height: 1.7;
}

.lp-dashes li::before {
	content: "";
	position: absolute;
	top: 0.95em;
	left: 0;
	width: 0.6rem;
	height: 1px;
	background: var(--lp-gold-ink);
}

/* ---------- Flow ---------- */

.lp-steps {
	display: grid;
	gap: 0;
	margin-top: 2.5rem !important;
}

.lp-step {
	position: relative;
	display: grid;
	grid-template-columns: 3.75rem minmax(0, 1fr);
	column-gap: 1rem;
	margin: 0 !important;
	padding: 1.25rem 0;
	border-top: 1px solid var(--lp-line);
}

.lp-step:last-child {
	border-bottom: 1px solid var(--lp-line);
}

.lp-step > * {
	margin: 0 !important;
}

.lp-step__num {
	grid-row: 1 / 3;
	display: flex;
	flex-direction: column;
	color: var(--lp-gold-ink);
	font-family: var(--lp-latin);
	font-size: 0.6875rem;
	letter-spacing: 0.24em;
	line-height: 1.2;
	text-transform: uppercase;
}

.lp-step__num strong {
	font-size: 2rem;
	font-weight: 500;
	letter-spacing: 0.04em;
}

.lp-step__title {
	font-size: 1.125rem;
}

.lp-step__text {
	margin-top: 0.25rem !important;
	color: var(--lp-ink-soft);
	font-size: 0.875rem;
	line-height: 1.8;
}

/* ---------- Price ---------- */

.lp-price-sheet {
	padding: 1.5rem 1.25rem;
	border: 1px solid var(--lp-line);
	border-radius: var(--lp-radius);
	background: var(--lp-paper);
	box-shadow: var(--lp-shadow);
}

.lp-price-sheet > * {
	margin-block: 0;
}

.lp-price-sheet__head {
	padding-bottom: 0.6rem;
	color: var(--lp-ink-soft);
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
}

.lp-price-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 !important;
	padding: 0.85rem 0;
	border-top: 1px solid var(--lp-line);
}

.lp-price-row > * {
	margin: 0 !important;
}

.lp-price-row__label {
	font-size: 0.9375rem;
}

.lp-price-row__price {
	font-family: var(--lp-latin);
	font-size: clamp(1.375rem, 6vw, 1.75rem);
	font-weight: 600;
	font-variant-numeric: lining-nums tabular-nums;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.lp-price-row--option {
	margin-top: 0.5rem !important;
	border-top: 2px solid var(--lp-gold);
}

.lp-price-row--option .lp-price-row__price {
	color: var(--lp-gold-ink);
}

.lp-price-sheet__note {
	margin-top: 0.75rem !important;
	color: var(--lp-ink-soft);
	font-size: 0.8125rem;
	line-height: 1.8;
}

.lp-price-sheet .lp-cta-row {
	margin-top: 1.25rem;
}

.lp-price-sheet .wp-block-button,
.lp-price-sheet .wp-block-button__link {
	width: 100%;
}

/* ---------- FAQ ---------- */

.lp-faq .wp-block-details {
	max-width: 820px;
	margin: 0 auto !important;
	border-bottom: 1px solid var(--lp-line);
}

.lp-faq .wp-block-details:first-of-type {
	margin-top: 2rem !important;
	border-top: 1px solid var(--lp-line);
}

.lp-faq .wp-block-details summary {
	position: relative;
	padding: 1.15rem 2.25rem 1.15rem 2.25rem;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.lp-faq .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.lp-faq .wp-block-details summary::before {
	content: "Q.";
	position: absolute;
	left: 0.1rem;
	color: var(--lp-gold-ink);
	font-family: var(--lp-latin);
	font-size: 1.125rem;
}

.lp-faq .wp-block-details summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0.5rem;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 1.5px solid var(--lp-ink-soft);
	border-bottom: 1.5px solid var(--lp-ink-soft);
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.2s ease;
}

.lp-faq .wp-block-details[open] summary::after {
	transform: translateY(-30%) rotate(-135deg);
}

.lp-faq .wp-block-details > p {
	margin: 0 0 1.2rem;
	padding-left: 2.25rem;
	color: var(--lp-ink-soft);
	font-size: 0.9375rem;
}

/* ---------- Apply ---------- */

.lp-routes {
	margin-top: 2rem !important;
}

.lp-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

.lp-grid > * {
	margin: 0 !important;
}

.is-style-pianest-card {
	padding: 1.4rem 1.25rem;
	border-radius: var(--lp-radius);
	background: var(--lp-paper);
	color: var(--lp-ink);
	box-shadow: var(--lp-shadow);
}

.is-style-pianest-card > * {
	margin-block: 0;
}

.is-style-pianest-card > * + * {
	margin-block-start: 0.5rem;
}

.lp-dark .is-style-pianest-card a:not(.wp-block-button__link) {
	color: var(--lp-blue);
}

.lp-route {
	display: flex;
	flex-direction: column;
}

.lp-route .wp-block-buttons {
	margin-top: auto;
	padding-top: 0.9rem;
}

.lp-route .wp-block-button,
.lp-route .wp-block-button__link {
	width: 100%;
}

.lp-route .wp-block-button .wp-block-button__link {
	background: var(--lp-navy);
	color: #fff;
}

.lp-route .wp-block-button .wp-block-button__link:hover {
	background: var(--lp-gold);
	color: var(--lp-navy);
}

.lp-route__label {
	color: var(--lp-gold-ink);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.lp-route h3 {
	font-size: 1.0625rem;
}

.lp-route p {
	font-size: 0.875rem;
}

.lp-terms {
	margin-top: 2rem !important;
	padding: 1.25rem;
	border: 1px solid var(--lp-line-dark);
	border-radius: var(--lp-radius);
	font-size: 0.875rem;
}

.lp-terms > * {
	margin-block: 0;
}

.lp-terms > * + * {
	margin-block-start: 0.5rem;
}

.lp-terms h3 {
	color: var(--lp-gold);
	font-size: 1rem;
}

.lp-terms ul {
	padding-left: 1.2rem;
}

/* ---------- Optional patterns kept for the inserter ---------- */

.lp-bar-title {
	padding: 0.7rem 1rem;
	border-left: 4px solid var(--lp-gold);
	background: rgb(0 0 0 / 30%);
	color: #fff;
}

.lp-worry-card {
	padding: 1.25rem;
	border-radius: var(--lp-radius);
	background: var(--lp-paper);
	color: var(--lp-ink);
}

.lp-checks {
	padding: 0;
	list-style: none;
}

.lp-checks li {
	position: relative;
	padding-left: 1.5rem;
}

.lp-checks li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--lp-gold-ink);
}

.lp-final {
	text-align: center;
}

.lp-final .wp-block-buttons {
	justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
	padding: 3rem var(--lp-gutter) calc(3rem + 76px);
	background: var(--lp-ivory);
	border-top: 1px solid var(--lp-line);
	color: var(--lp-ink);
	font-size: 0.875rem;
}

.site-footer__inner {
	display: grid;
	gap: 2rem;
	max-width: var(--lp-content);
	margin: 0 auto;
}

.site-footer p {
	margin: 0;
}

.site-footer__matsuishi {
	display: block;
	width: 150px;
	height: auto;
	margin-bottom: 0.75rem;
}

.site-footer__shop-name {
	font-family: var(--lp-serif);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.site-footer__shop-address {
	margin-top: 0.4rem !important;
	color: var(--lp-ink-soft);
}

.site-footer__shop-address a {
	color: var(--lp-ink);
	font-weight: 700;
}

.site-footer__pianest {
	display: block;
	width: 56px;
	height: auto;
	margin-bottom: 0.6rem;
}

.site-footer__legal {
	color: var(--lp-ink-soft);
}

.site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem 1.25rem;
	margin-top: 1rem;
}

.site-footer__nav a {
	display: inline-block;
	padding: 0.4rem 0;
	color: var(--lp-ink);
}

.site-footer__notice {
	max-width: 760px;
	font-size: 0.75rem;
	line-height: 1.7;
	color: var(--lp-ink-soft);
}

.site-footer__copyright {
	font-size: 0.75rem;
	color: var(--lp-ink-soft);
}

/* ---------- Mobile fixed CTA ---------- */

.mobile-cta {
	position: fixed;
	inset: auto 0 0;
	z-index: 90;
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 0.5rem;
	padding: 0.6rem var(--lp-gutter) calc(0.6rem + env(safe-area-inset-bottom));
	background: rgb(11 26 47 / 96%);
	border-top: 1px solid rgb(207 174 74 / 35%);
	transition: transform 0.25s ease;
}

.mobile-cta[data-hidden="true"] {
	transform: translateY(110%);
}

.mobile-cta__link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border: 1px solid var(--lp-gold);
	border-radius: 999px;
	background: var(--lp-gold);
	color: var(--lp-navy);
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
}

.mobile-cta__link--ghost {
	background: transparent;
	border-color: rgb(255 255 255 / 60%);
	color: #fff;
}

/* ---------- 414px and up ---------- */

@media (min-width: 400px) {
	.lp-pillars li {
		padding: 0.75rem 0.4rem;
		font-size: 0.6875rem;
	}

	.lp-pillars strong {
		margin-bottom: 0.1rem;
	}
}

@media (min-width: 600px) {
	.lp-faculty__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 1.5rem;
	}

	.lp-faculty__item + .lp-faculty__item {
		border-top: 0;
	}
}

/* ---------- Tablet ---------- */

@media (min-width: 768px) {
	:root {
		--lp-gutter: 40px;
		--lp-header-h: 68px;
	}

	.site-nav {
		display: flex;
		gap: 1.5rem;
		margin-left: auto;
		font-size: 0.8125rem;
		letter-spacing: 0.08em;
	}

	.site-nav a {
		padding: 0.5rem 0;
		color: rgb(255 255 255 / 88%);
		text-decoration: none;
	}

	.site-nav a:hover {
		color: var(--lp-gold-light);
	}

	.site-header .button--small {
		display: inline-flex;
	}

	.wp-block-cover.lp-hero {
		padding: 4rem var(--lp-gutter) 4.5rem;
	}

	.lp-hero__title {
		margin-top: 1.1rem !important;
	}

	.lp-hero__lead {
		margin-top: 1.1rem !important;
		font-size: 1rem;
	}

	.lp-hero__nation {
		margin-top: 1.5rem !important;
		padding: 0.9rem 0 0.9rem 1rem;
	}

	.lp-hero__cta .wp-block-button {
		flex: 0 0 auto;
	}

	.lp-pillars li {
		padding: 1rem 0.75rem;
		font-size: 0.8125rem;
	}

	.lp-faculty {
		padding: 1.5rem;
	}

	.lp-faculty__list {
		row-gap: 0.4rem;
	}

	.lp-instructor-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 3rem 1.5rem;
	}

	.lp-instructor__photo img {
		width: 132px;
	}

	.lp-instructor__title {
		font-size: 0.8125rem;
	}

	.lp-viewpoints {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.lp-audiences {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2.5rem;
	}

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

	.lp-price-sheet {
		padding: 2rem;
	}

	.mobile-cta {
		display: none;
	}

	.site-footer {
		padding-bottom: 3rem;
	}

	.site-footer__inner {
		grid-template-columns: 1.2fr 1fr;
		align-items: start;
	}

	.site-footer__notice,
	.site-footer__copyright {
		grid-column: 1 / -1;
	}
}

/* ---------- Desktop ---------- */

@media (min-width: 1024px) {
	.wp-block-cover.lp-hero {
		min-height: min(760px, calc(100vh - var(--lp-header-h)));
		padding-block: 4.5rem;
		align-items: center;
	}

	.lp-hero .wp-block-cover__background {
		background: linear-gradient(90deg, #0b1a2f 0%, rgb(11 26 47 / 94%) 52%, rgb(11 26 47 / 80%) 100%) !important;
	}

	/* Copy on the left, faculty panel on the right. */
	.lp-hero__body {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 400px;
		column-gap: clamp(3rem, 6vw, 6rem);
		align-items: start;
	}

	.lp-hero__body > * {
		grid-column: 1;
	}

	.lp-hero__body > .lp-faculty {
		grid-column: 2;
		grid-row: 1 / span 7;
		align-self: center;
		margin-top: 0 !important;
		padding: 1.75rem;
	}

	.lp-faculty__heading {
		font-size: 1.125rem;
	}

	.lp-faculty__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		margin-top: 1rem !important;
	}

	.lp-faculty__item,
	.lp-faculty__item + .lp-faculty__item {
		grid-template-columns: 60px minmax(0, 1fr);
		column-gap: 1rem;
		padding: 0.85rem 0;
		border-top: 1px solid var(--lp-line-dark);
	}

	.lp-faculty__photo img {
		width: 60px;
		height: 60px;
	}

	.lp-faculty__role {
		font-size: 0.8125rem;
	}

	.lp-faculty__name {
		font-size: 1.125rem;
	}

	.lp-split {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
		gap: clamp(3rem, 6vw, 6rem);
		align-items: start;
	}

	.lp-instructor-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.lp-outcomes {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 2.5rem;
	}

	.lp-outcomes li {
		padding: 1.5rem 0 0;
		border-top: 1px solid var(--lp-gold);
	}

	.lp-outcomes li::before {
		position: static;
		display: block;
		margin-bottom: 0.4rem;
	}

	/* Flow: four steps in a row on one hairline. */
	.lp-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		column-gap: 2rem;
		border-top: 1px solid var(--lp-line);
	}

	.lp-step {
		display: block;
		padding: 1.75rem 0 0;
		border: 0 !important;
	}

	.lp-step::before {
		content: "";
		position: absolute;
		top: -5px;
		left: 0;
		width: 9px;
		height: 9px;
		border-radius: 50%;
		background: var(--lp-gold);
	}

	.lp-step__num {
		margin-bottom: 0.6rem !important;
	}

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

/* ---------- Motion ---------- */

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

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
