/* Canonical sync: 06_outputs/web/studies/MK-WEB-20260527-003/philosophy-base.css */
/* Hallmark · MK-WEB-20260527-003 · shared layout — lane via html[data-lane] */
/* DES_DONE · tokens: studies/MK-WEB-20260527-003/tokens.css */

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

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

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--font-body);
	font-size: var(--text-body);
	line-height: 1.86;
	color: var(--color-ink-soft);
	background: var(--color-paper);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }

.shell {
	width: min(100%, calc(var(--max-site) + var(--pad) * 2));
	margin-inline: auto;
	padding-inline: var(--pad);
}

/* ── Life: read progress (no mesh) ── */
.progress-bar {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	height: 2px;
	width: 0%;
	background: linear-gradient(90deg, var(--color-accent), color-mix(in srgb, var(--color-accent) 60%, var(--color-paper-bright)));
	z-index: 200;
	pointer-events: none;
}

html[data-lane='life'] .progress-bar {
	display: block;
}

/* ── Corporate: flow-mesh ── */
.flow-mesh-bg {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.45;
	mask-image: linear-gradient(
		180deg,
		transparent 0%,
		rgba(0, 0, 0, 0.3) 16%,
		rgba(0, 0, 0, 0.82) 42%,
		rgba(0, 0, 0, 0.45) 100%
	);
}

.flow-mesh-bg__canvas {
	display: block;
	width: 100%;
	height: 100%;
}

html[data-lane='corporate'] .flow-mesh-bg {
	display: block;
}

@media (prefers-reduced-motion: reduce) {
	html[data-lane='life'] .progress-bar,
	html[data-lane='corporate'] .flow-mesh-bg {
		display: none !important;
	}
}

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

.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: auto;
	min-height: var(--header-h);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	transition: background var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}

.coaras-site-bar {
	font-size: var(--text-caption);
	border-bottom: 1px solid var(--color-rule);
	background: color-mix(in srgb, var(--color-paper-deep) 88%, transparent);
}

.coaras-site-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.35rem 1rem;
	padding-block: 0.4rem;
}

.coaras-site-bar__home {
	text-decoration: none;
	color: var(--color-accent);
	font-weight: 600;
}

.coaras-site-bar__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
}

.coaras-site-bar__links a {
	text-decoration: none;
	color: var(--color-muted);
}

.coaras-site-bar__links a:hover {
	color: var(--color-accent);
}

.site-header > .shell:last-of-type {
	flex: 1;
	display: flex;
	align-items: center;
	min-height: var(--header-h);
}

.coaras-footer-unified__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin-bottom: var(--space-md);
}

.coaras-footer-unified__nav a {
	text-decoration: none;
}

.coaras-footer-unified__contact {
	margin: 0 0 var(--space-sm);
}

.coaras-footer-unified__copy {
	margin: 0;
}

.site-header.is-solid {
	background: color-mix(in srgb, var(--color-paper-bright) 92%, transparent);
	box-shadow: 0 1px 0 var(--color-rule);
	backdrop-filter: blur(12px);
}

.site-header .shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-lg);
}

.brand {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: var(--text-small);
	letter-spacing: 0.06em;
	text-decoration: none;
	color: var(--color-ink);
	white-space: nowrap;
	overflow-wrap: anywhere;
	min-width: 0;
}

html[data-lane='corporate'] .brand {
	font-weight: 600;
}

.header-actions {
	display: flex;
	gap: var(--space-sm);
	flex-wrap: wrap;
}

.nav-cta,
.btn-primary,
.btn-secondary,
.btn-sm {
	min-height: max(2.75rem, 48px);
}

.nav-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 var(--space-lg);
	font-size: var(--text-small);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
	color: var(--color-on-accent);
	background: var(--color-accent);
	border-radius: var(--radius-sm);
	transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.nav-cta:hover,
.btn-primary:hover {
	background: var(--color-accent-hover);
}

.btn-sm {
	display: inline-flex;
	align-items: center;
	padding: 0 var(--space-md);
	font-size: var(--text-caption);
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--radius-sm);
}

.btn-sm--ghost {
	border: 1px solid var(--color-rule-strong);
	color: var(--color-accent);
	background: transparent;
}

.btn-sm--primary {
	background: var(--color-accent);
	color: var(--color-on-accent);
}

/* Hero */
.hero {
	border-bottom: 1px solid var(--color-rule);
	background: var(--color-paper-bright);
}

html[data-lane='corporate'] .hero {
	background: linear-gradient(135deg, var(--color-paper-bright) 55%, var(--color-accent-sky) 100%);
}

.hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	min-height: max(var(--hero-min-h), 88vh);
}

@media (min-width: 960px) {
	.hero__grid {
		grid-template-columns: 1fr 1fr;
		min-height: max(var(--hero-min-h), 92vh);
	}
}

.hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: calc(var(--header-h) + var(--coaras-bar-h, 0px) + var(--space-3xl)) var(--pad) var(--space-3xl);
}

@media (min-width: 960px) {
	.hero__copy {
		padding: calc(var(--header-h) + var(--space-4xl)) var(--space-3xl) var(--space-4xl) var(--pad);
	}
}

.label-en {
	font-family: var(--font-display);
	font-style: italic;
	font-size: clamp(1.1rem, 2.4vw, 1.45rem);
	color: var(--color-accent);
	margin: 0 0 var(--space-md);
	line-height: 1.25;
}

.hero__eyebrow {
	font-size: var(--text-caption);
	letter-spacing: 0.08em;
	color: var(--color-muted);
	margin: 0 0 var(--space-lg);
}

.hero h1 {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: var(--text-display);
	line-height: 1.32;
	color: var(--color-ink);
	margin: 0 0 var(--space-sm);
	overflow-wrap: anywhere;
	min-width: 0;
}

html[data-lane='corporate'] .hero h1 {
	font-weight: 600;
}

.hero__tagline {
	font-family: var(--font-display);
	font-size: var(--text-lead);
	color: var(--color-ink-soft);
	margin: 0 0 var(--space-lg);
}

.hero__lead,
.hero__meta {
	max-width: 34rem;
}

.hero__lead { margin: 0 0 var(--space-xl); }
.hero__meta {
	font-size: var(--text-small);
	color: var(--color-muted);
	margin-bottom: var(--space-xl);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-md);
	align-items: center;
}

.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 var(--space-xl);
	font-weight: 600;
	font-size: var(--text-small);
	letter-spacing: 0.04em;
	text-decoration: none;
	color: var(--color-on-accent);
	background: var(--color-accent);
	border-radius: var(--radius-sm);
	transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {
	.btn-primary:hover,
	.nav-cta:hover {
		transform: translateY(-1px);
		box-shadow: var(--shadow-soft);
	}
}

.btn-primary:active {
	transform: translateY(0);
}

.btn-secondary {
	display: inline-flex;
	align-items: center;
	font-size: var(--text-small);
	font-weight: 500;
	color: var(--color-accent);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.hero__visual {
	position: relative;
	min-height: max(var(--hero-min-h), 52vh);
	overflow: clip;
}

@media (min-width: 960px) {
	.hero__visual { min-height: 100%; }
}

.hero__photo {
	width: 100%;
	height: 100%;
	min-height: max(var(--hero-min-h), 52vh);
	object-fit: cover;
	object-position: center 35%;
}

@media (min-width: 960px) {
	.hero__photo { min-height: 100%; }
}

.hero__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(
		105deg,
		var(--color-paper-bright) 0%,
		transparent 38%,
		color-mix(in srgb, var(--color-ink) 8%, transparent) 100%
	);
}

/* Sections */
.section {
	padding-block: var(--section-gap);
}

.section--band {
	background: var(--color-paper-deep);
	border-block: 1px solid var(--color-rule);
}

.section__num {
	font-size: var(--text-caption);
	letter-spacing: 0.14em;
	color: var(--color-muted);
	margin-bottom: var(--space-md);
}

.section h2 {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: var(--text-display-s);
	line-height: 1.38;
	color: var(--color-ink);
	margin: 0 0 var(--space-lg);
	overflow-wrap: anywhere;
	min-width: 0;
}

html[data-lane='corporate'] .section h2 {
	font-weight: 600;
}

.section__lead {
	max-width: var(--max-text);
	margin: 0 0 var(--space-2xl);
}

.pain-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 40rem;
}

html[data-lane='life'] .pain-list li {
	padding-left: 1.25rem;
	position: relative;
	margin-bottom: var(--space-sm);
}

html[data-lane='life'] .pain-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.65em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-accent-rose);
}

html[data-lane='corporate'] .pain-list li {
	padding: var(--space-md) 0;
	border-bottom: 1px solid var(--color-rule);
}

html[data-lane='corporate'] .pain-list li:last-child {
	border-bottom: none;
}

.program-table-wrap,
.fact-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--color-rule);
	border-radius: var(--radius-md);
	background: var(--color-paper-bright);
}

.program-table,
.fact-table {
	width: 100%;
	min-width: 280px;
	border-collapse: collapse;
	font-size: var(--text-small);
}

.program-table th,
.program-table td,
.fact-table th,
.fact-table td {
	padding: var(--space-md) var(--space-lg);
	border-bottom: 1px solid var(--color-rule);
	text-align: left;
	vertical-align: top;
}

.program-table th,
.fact-table th {
	background: var(--color-paper-deep);
	font-weight: 600;
	color: var(--color-ink);
}

.program-table tr:last-child td,
.program-table tr:last-child th,
.fact-table tr:last-child td,
.fact-table tr:last-child th {
	border-bottom: none;
}

html[data-lane='corporate'] .fact-table tbody tr {
	transition: background var(--dur-fast) var(--ease-out);
}

@media (hover: hover) {
	html[data-lane='corporate'] .fact-table tbody tr:hover {
		background: var(--color-paper-deep);
	}
}

.program-table .is-primary,
.fact-table .is-primary {
	font-weight: 600;
	color: var(--color-accent);
}

.detail-grid {
	display: grid;
	gap: var(--space-2xl);
	max-width: 52rem;
}

@media (min-width: 720px) {
	.detail-grid { grid-template-columns: 1fr 1fr; }
}

.detail-card {
	padding: var(--space-xl);
	background: var(--color-paper-bright);
	border: 1px solid var(--color-rule);
	border-radius: var(--radius-md);
}

.detail-card h3 {
	font-family: var(--font-display);
	font-size: 1.1rem;
	margin: 0 0 var(--space-md);
	color: var(--color-ink);
}

.detail-card ul {
	margin: 0;
	padding-left: 1.1rem;
	font-size: var(--text-small);
}

.schedule-table {
	width: 100%;
	font-size: var(--text-small);
	border-collapse: collapse;
}

.schedule-table th,
.schedule-table td {
	padding: var(--space-sm) var(--space-md);
	border-bottom: 1px solid var(--color-rule);
	text-align: left;
}

.price-block {
	padding: var(--space-2xl);
	background: var(--color-paper-bright);
	border: 1px solid var(--color-rule-strong);
	border-radius: var(--radius-md);
	max-width: 24rem;
}

.price-block .amount {
	font-family: var(--font-display);
	font-size: 2rem;
	color: var(--color-ink);
	margin: 0;
}

.curriculum {
	counter-reset: lesson;
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 48rem;
}

.curriculum li {
	counter-increment: lesson;
	padding: var(--space-lg) 0 var(--space-lg) 3rem;
	border-bottom: 1px solid var(--color-rule);
	position: relative;
	overflow-wrap: anywhere;
	min-width: 0;
}

.curriculum li::before {
	content: counter(lesson, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: var(--space-lg);
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.2rem;
	color: var(--color-accent);
}

.session-card {
	padding: var(--space-xl);
	margin-bottom: var(--space-xl);
	background: var(--color-paper-bright);
	border: 1px solid var(--color-rule);
	border-radius: var(--radius-md);
	max-width: 52rem;
}

.session-card h3 {
	font-family: var(--font-display);
	font-size: 1.15rem;
	margin: 0 0 var(--space-md);
	color: var(--color-ink);
}

.session-card ul {
	margin: 0 0 var(--space-md);
	padding-left: 1.15rem;
	font-size: var(--text-small);
}

.session-card .session-meta {
	margin: var(--space-md) 0 0;
	padding-top: var(--space-md);
	border-top: 1px solid var(--color-rule);
	font-size: var(--text-caption);
	color: var(--color-muted);
}

.session-card .session-meta strong {
	color: var(--color-ink-soft);
}

.sample-showcase {
	display: grid;
	gap: var(--space-2xl);
}

@media (min-width: 900px) {
	.sample-showcase {
		grid-template-columns: 1fr 1fr;
	}
	.sample-showcase .sample-panel--wide {
		grid-column: 1 / -1;
	}
}

.sample-panel {
	border: 1px solid var(--color-rule);
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--color-paper-bright);
}

.sample-panel__head {
	padding: var(--space-md) var(--space-lg);
	border-bottom: 1px solid var(--color-rule);
	font-size: var(--text-small);
	font-weight: 600;
	color: var(--color-ink);
}

.sample-panel__frame {
	display: block;
	width: 100%;
	height: min(28rem, 70vh);
	border: 0;
	background: #f3efe6;
}

.reflect-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 36rem;
}

.reflect-list li {
	padding: var(--space-lg) 0;
	border-bottom: 1px solid var(--color-rule);
	font-family: var(--font-display);
	font-size: clamp(1.05rem, 2.5vw, 1.2rem);
	line-height: 1.65;
	color: var(--color-ink);
}

.reflect-list li:last-child {
	border-bottom: none;
}

.policy-block {
	max-width: 40rem;
	font-size: var(--text-small);
	color: var(--color-ink-soft);
}

.policy-block ul {
	margin: 0;
	padding-left: 1.1rem;
}

.policy-block li {
	margin-bottom: var(--space-sm);
}

.compare-table {
	width: 100%;
	font-size: var(--text-small);
	border-collapse: collapse;
}

.compare-table th,
.compare-table td {
	padding: var(--space-md);
	border: 1px solid var(--color-rule);
	text-align: left;
	vertical-align: top;
}

.compare-table th {
	background: var(--color-paper-deep);
	font-weight: 600;
}

.cross-band {
	padding: var(--space-xl) var(--space-2xl);
	border: 1px solid var(--color-rule);
	border-radius: var(--radius-md);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-lg);
}

html[data-lane='life'] .cross-band {
	background: color-mix(in srgb, var(--color-accent-slate) 10%, var(--color-paper));
}

html[data-lane='corporate'] .cross-band {
	background: color-mix(in oklch, var(--color-accent) 8%, var(--color-paper));
}

.cross-band a {
	font-weight: 600;
	color: var(--color-accent);
	text-decoration: underline;
}

.cta-finale {
	text-align: center;
	padding: clamp(3rem, 8vw, 5rem);
	background: var(--color-ink);
	color: color-mix(in srgb, var(--color-paper-bright) 90%, transparent);
	border-radius: var(--radius-md);
}

.cta-finale h2 {
	font-family: var(--font-display);
	font-size: var(--text-display-s);
	color: var(--color-paper-bright);
	margin: 0 0 var(--space-md);
}

.cta-finale .btn-primary {
	background: var(--color-paper-bright);
	color: var(--color-ink);
}

.cta-finale .btn-secondary {
	color: var(--color-paper-bright);
}

.cta-note {
	display: block;
	margin-top: var(--space-md);
	font-size: var(--text-caption);
	opacity: 0.85;
}

.cta-dual {
	display: grid;
	gap: var(--space-lg);
	max-width: 52rem;
}

@media (min-width: 640px) {
	.cta-dual { grid-template-columns: 1fr 1fr; }
}

.cta-card {
	padding: var(--space-2xl);
	border-radius: var(--radius-md);
	border: 1px solid var(--color-rule);
	background: var(--color-paper-bright);
}

.cta-card--primary {
	background: var(--color-accent);
	color: var(--color-on-accent);
	border-color: transparent;
}

.cta-card--primary .btn-primary {
	background: var(--color-paper-bright);
	color: var(--color-accent);
}

.cta-card h3 {
	font-family: var(--font-display);
	margin: 0 0 var(--space-md);
	font-size: 1.15rem;
}

.site-footer {
	padding: var(--space-3xl) 0 var(--space-2xl);
	border-top: 1px solid var(--color-rule);
	font-size: var(--text-caption);
	color: var(--color-muted);
}

.site-footer a {
	color: var(--color-accent);
}

/* Reveal */
.reveal {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: no-preference) {
	.reveal {
		opacity: 0;
		transform: translateY(var(--motion-reveal-y));
		transition:
			opacity var(--dur-slow) var(--ease-out),
			transform var(--dur-slow) var(--ease-out);
	}

	.reveal.is-visible {
		opacity: 1;
		transform: translateY(0);
	}

	.reveal-stagger > .reveal-child {
		opacity: 0;
		transform: translateY(var(--motion-reveal-y));
		transition:
			opacity var(--dur-slow) var(--ease-out),
			transform var(--dur-slow) var(--ease-out);
	}

	.reveal-stagger.is-visible > .reveal-child {
		opacity: 1;
		transform: translateY(0);
	}

	.reveal-stagger.is-visible > .reveal-child:nth-child(1) { transition-delay: 0ms; }
	.reveal-stagger.is-visible > .reveal-child:nth-child(2) { transition-delay: 80ms; }
	.reveal-stagger.is-visible > .reveal-child:nth-child(3) { transition-delay: 160ms; }
	.reveal-stagger.is-visible > .reveal-child:nth-child(4) { transition-delay: 240ms; }
}

/* 375: stacked tables */
@media (max-width: 599px) {
	.program-table thead,
	.fact-table thead {
		display: none;
	}

	.program-table tr,
	.fact-table tr {
		display: block;
		padding: var(--space-md);
		border-bottom: 1px solid var(--color-rule);
	}

	.program-table td,
	.fact-table td {
		display: block;
		padding: var(--space-xs) 0;
		border: none;
	}

	.program-table td::before,
	.fact-table td::before {
		content: attr(data-label);
		display: block;
		font-weight: 600;
		font-size: var(--text-caption);
		color: var(--color-muted);
		margin-bottom: var(--space-xs);
	}

	.hero__actions .btn-primary,
	.hero__actions .btn-secondary {
		width: 100%;
		justify-content: center;
	}
}
