/* ============================================================
   The Ondo Tokyo — Homepage styles (v3, 2026-05-03)
   Self-contained: design tokens merged in from ondo-base.css.
   ============================================================ */

/* ---------- Design tokens (from ondo-base.css) ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #faf8f4;
  --bg-tint: #fceeea;
  --ink: #0f0f0f;
  --ink-soft: #2a2a2a;
  --gray: #6b6b6b;
  --gray-soft: #b8b8b8;
  --rule: #e8e4dc;
  --red: #c8161e;
  --red-soft: #fce9ea;
  --red-line: #faebe9;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hand: "Fraunces", Georgia, serif; /* deprecated — kept as alias to serif italic */
  --page-pad: 22px;
  --section-gap: 44px;
  --radius-sm: 4px;
  --radius-pill: 999px;
  --home-section-gap: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

/* ---------- Body baseline ---------- */
body.ondo-template-home {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.ondo-template-home a { color: var(--red); text-decoration: none; }
body.ondo-template-home a:hover { text-decoration: underline; text-underline-offset: 2px; }
body.ondo-template-home img { max-width: 100%; display: block; }

html { scroll-behavior: smooth; }

/* ---------- Scroll progress bar ---------- */
.ondo-scroll-progress {
	position: fixed; top: 0; left: 0; right: 0;
	height: 3px; background: transparent; z-index: 100;
	pointer-events: none;
}
.ondo-scroll-progress::after {
	content: "";
	display: block; height: 100%;
	width: var(--scroll, 0%);
	background: var(--red);
	box-shadow: 0 0 8px rgba(200, 22, 30, 0.35);
	transition: width 50ms linear;
}

/* ---------- Header (matches single-venues for parity) ---------- */
body.ondo-template-home .ondo-site-header {
	position: sticky; top: 0; z-index: 50;
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px; padding: 12px 22px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--rule);
}
body.ondo-template-home .ondo-logo {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--ink);
}
body.ondo-template-home .ondo-logo:hover { text-decoration: none; }
.ondo-logo-mark { width: 14px; height: 20px; }
.ondo-logo-word {
	font-family: var(--serif);
	font-size: 18px; font-weight: 600;
	letter-spacing: -0.005em;
}
.ondo-logo-word--red { color: var(--red); }

body.ondo-template-home .ondo-nav {
	display: none;
	gap: 22px;
	font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
}
body.ondo-template-home .ondo-nav a { color: var(--ink-soft); }
body.ondo-template-home .ondo-nav a:hover { color: var(--red); text-decoration: none; }

body.ondo-template-home .ondo-header-actions { display: inline-flex; gap: 4px; }
body.ondo-template-home .ondo-icon-btn {
	width: 36px; height: 36px;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--ink); border-radius: 6px;
	transition: background 150ms;
}
body.ondo-template-home .ondo-icon-btn:hover { background: var(--bg-soft); text-decoration: none; }

@media (min-width: 900px) {
	body.ondo-template-home .ondo-nav { display: inline-flex; }
}

/* ---------- Section primitives ---------- */
body.ondo-template-home .ondo-chapter-mark {
	display: flex; align-items: center; gap: 12px;
	margin-bottom: 16px;
}
body.ondo-template-home .ondo-chapter-mark::before {
	content: "";
	width: 0; height: 2px;
	background: var(--red);
	transition: width 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 350ms;
}
body.ondo-template-home .ondo-chapter-mark.is-visible::before { width: 56px; }
.ondo-chapter-num {
	font-family: var(--serif);
	font-size: 13px; font-weight: 500;
	letter-spacing: 0.06em; color: var(--red);
}
.ondo-chapter-eyebrow {
	font-size: 10px; font-weight: 600;
	letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--gray);
}

body.ondo-template-home .ondo-section-h2 {
	margin: 0 0 12px;
	font-family: var(--serif);
	font-size: 32px; font-weight: 500;
	line-height: 1.1; letter-spacing: -0.02em;
	color: var(--ink);
}
body.ondo-template-home .ondo-section-sub {
	margin: 0 0 30px;
	font-family: var(--serif);
	font-size: 17px; font-style: italic;
	line-height: 1.5; color: var(--gray);
	max-width: 540px;
}

@media (min-width: 700px) {
	body.ondo-template-home .ondo-section-h2 { font-size: 40px; }
}

/* ---------- HERO ---------- */
body.ondo-template-home .ondo-hero {
	padding: 36px var(--page-pad) 40px;
}
.ondo-hero-grid {
	display: grid; gap: 36px;
}
.ondo-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	margin-bottom: 18px;
	font-size: 11px; font-weight: 600;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--red);
}
.ondo-eyebrow-dot {
	width: 4px; height: 4px; border-radius: 50%;
	background: var(--red);
}
body.ondo-template-home .ondo-hero-h1 {
	margin: 0 0 18px;
	font-family: var(--serif);
	font-size: 38px; font-weight: 500;
	line-height: 1.05; letter-spacing: -0.02em;
	color: var(--ink);
}
body.ondo-template-home .ondo-hero-h1 em {
	font-style: italic;
	color: var(--red);
}
body.ondo-template-home .ondo-hero-dek {
	margin: 0 0 28px;
	padding-left: 14px;
	border-left: 2px solid var(--red);
	font-family: var(--serif);
	font-size: 18px; font-style: italic;
	line-height: 1.45; color: var(--gray);
	max-width: 520px;
}
.ondo-hero-ctas {
	display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}

@media (min-width: 900px) {
	body.ondo-template-home .ondo-hero {
		padding: 80px var(--page-pad);
		max-width: 1180px; margin: 0 auto;
	}
	.ondo-hero-grid {
		grid-template-columns: 1.4fr 1fr;
		gap: 60px;
		align-items: center;
	}
	body.ondo-template-home .ondo-hero-h1 { font-size: 64px; }
	body.ondo-template-home .ondo-hero-dek { font-size: 22px; }
}

/* ---------- Buttons ---------- */
body.ondo-template-home .ondo-btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 8px; min-height: 48px; padding: 13px 22px;
	border: 1.5px solid transparent;
	border-radius: var(--radius-sm);
	font-family: var(--sans);
	font-size: 14px; font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 180ms, color 180ms, border-color 180ms, transform 120ms;
}
body.ondo-template-home .ondo-btn:hover { transform: translateY(-1px); text-decoration: none; }
body.ondo-template-home .ondo-btn:active { transform: translateY(0); }

body.ondo-template-home .ondo-btn--primary,
body.ondo-template-home a.ondo-btn--primary {
	background: var(--ink);
	color: #fff;
}
body.ondo-template-home .ondo-btn--primary:hover,
body.ondo-template-home a.ondo-btn--primary:hover { background: var(--red); }

body.ondo-template-home .ondo-btn--secondary,
body.ondo-template-home a.ondo-btn--secondary {
	border-color: var(--ink); color: var(--ink); background: transparent;
}
body.ondo-template-home .ondo-btn--secondary:hover,
body.ondo-template-home a.ondo-btn--secondary:hover {
	background: var(--ink); color: #fff;
}

body.ondo-template-home .ondo-btn--ghost,
body.ondo-template-home a.ondo-btn--ghost {
	background: transparent; color: var(--ink);
	padding: 8px 0; min-height: auto;
	font-size: 14px; font-weight: 500;
	border: 0;
}
body.ondo-template-home .ondo-btn--ghost:hover,
body.ondo-template-home a.ondo-btn--ghost:hover { color: var(--red); transform: none; }

/* Accent button: red filled, equal weight to primary, used for the weekly newsletter CTA */
body.ondo-template-home .ondo-btn--accent,
body.ondo-template-home a.ondo-btn--accent {
	background: var(--red);
	color: #fff;
	border-color: var(--red);
	box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 4px 14px rgba(200,22,30,.16);
}
body.ondo-template-home .ondo-btn--accent:hover,
body.ondo-template-home a.ondo-btn--accent:hover {
	background: #a91018;
	border-color: #a91018;
	box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 6px 18px rgba(200,22,30,.22);
}

/* Hero CTA helper note (under buttons) */
body.ondo-template-home .ondo-hero-cta-note {
	margin: 14px 0 0;
	font-family: var(--sans);
	font-size: 12px;
	color: var(--gray);
	letter-spacing: .02em;
}

/* Japanese name appended to area card title */
body.ondo-template-home .ondo-area-card-name-jp {
	display: inline-block;
	margin-left: 6px;
	font-family: var(--serif);
	font-size: .55em;
	font-weight: 400;
	opacity: .75;
	letter-spacing: 0;
	vertical-align: middle;
}

/* ---------- Hero score card ---------- */
body.ondo-template-home .ondo-hero-card {
	display: block;
	border: 1px solid var(--rule);
	border-radius: var(--radius-sm);
	background: var(--bg);
	overflow: hidden;
	color: var(--ink);
	text-decoration: none !important;
	transition: transform 240ms, box-shadow 240ms;
}
body.ondo-template-home .ondo-hero-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px -16px rgba(15,15,15,0.18);
	text-decoration: none;
}
.ondo-hero-card-image {
	aspect-ratio: 4 / 3;
	background: var(--bg-soft) center/cover no-repeat;
	position: relative;
}
.ondo-hero-card-tag {
	position: absolute; top: 10px; left: 10px;
	padding: 4px 10px;
	font-size: 9px; font-weight: 700;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: #fff; background: rgba(15,15,15,0.86);
	border-radius: var(--radius-sm);
}
.ondo-hero-card-body {
	padding: 14px 16px 18px;
	display: grid; gap: 10px;
	grid-template-columns: 1fr auto;
	align-items: center;
}
.ondo-hero-card-text { min-width: 0; }
.ondo-hero-card-eyebrow {
	font-size: 10px; font-weight: 600;
	letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--red);
	margin-bottom: 6px;
}
.ondo-hero-card-title {
	font-family: var(--serif);
	font-size: 18px; font-weight: 500;
	line-height: 1.2; letter-spacing: -0.01em;
	color: var(--ink);
	margin: 0;
}
.ondo-hero-card-score {
	display: flex; align-items: center; gap: 8px;
	flex-shrink: 0;
}
.ondo-hero-card-score svg { width: 24px; height: 32px; }
.ondo-hero-card-score-num {
	font-family: var(--serif);
	font-size: 26px; font-weight: 600;
	line-height: 1; color: var(--ink);
}
.ondo-hero-card-score-num small {
	font-family: var(--sans);
	font-size: 11px; font-weight: 400;
	color: var(--gray);
}

/* ---------- Trust strip ---------- */
.ondo-trust-strip {
	border-top: 1px solid var(--rule);
	border-bottom: 1px solid var(--rule);
	padding: 14px var(--page-pad);
	margin-bottom: var(--home-section-gap);
	background: var(--bg-soft);
}
.ondo-trust-list {
	display: flex; flex-wrap: wrap; gap: 8px 14px;
	justify-content: center; align-items: center;
	font-size: 11px; font-weight: 500;
	letter-spacing: 0.10em; text-transform: uppercase;
	color: var(--ink-soft);
	max-width: 980px; margin: 0 auto;
}
.ondo-trust-dot {
	width: 4px; height: 4px; border-radius: 50%;
	background: var(--red);
	display: inline-block;
}

/* ---------- Most locally loved ---------- */
body.ondo-template-home .ondo-spots-section {
	max-width: 1180px;
	margin: 0 auto var(--home-section-gap);
	padding: 0 var(--page-pad);
}
.ondo-section-header { max-width: 1180px; margin: 0 auto 28px; }

.ondo-spots-grid {
	display: grid; gap: 28px 22px;
	grid-template-columns: 1fr;
}
@media (min-width: 600px) {
	.ondo-spots-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
	.ondo-spots-grid { grid-template-columns: 1fr 1fr 1fr; }
}

body.ondo-template-home .ondo-card {
	display: block;
	color: var(--ink);
	text-decoration: none !important;
	transition: transform 240ms;
}
body.ondo-template-home .ondo-card:hover {
	transform: translateY(-3px);
	text-decoration: none;
}
.ondo-card-image {
	aspect-ratio: 4 / 3;
	background: var(--bg-soft) center/cover no-repeat;
	border-radius: var(--radius-sm);
	overflow: hidden;
	margin-bottom: 14px;
	position: relative;
}
.ondo-card-image::after {
	content: "";
	position: absolute; inset: 0;
	background: rgba(15,15,15,0);
	transition: background 240ms;
}
body.ondo-template-home .ondo-card:hover .ondo-card-image::after {
	background: rgba(15,15,15,0.04);
}
.ondo-card-eyebrow {
	font-size: 10px; font-weight: 600;
	letter-spacing: 0.16em; text-transform: uppercase;
	color: var(--red);
	margin-bottom: 8px;
	display: inline-flex; align-items: center; gap: 6px;
	flex-wrap: wrap;
}
.ondo-card-eyebrow .dot {
	width: 3px; height: 3px; border-radius: 50%; background: var(--red);
}
body.ondo-template-home .ondo-card-title {
	font-family: var(--serif);
	font-size: 22px; font-weight: 500;
	line-height: 1.2; letter-spacing: -0.01em;
	color: var(--ink); margin: 0 0 10px;
}
.ondo-card-meta {
	display: flex; align-items: center; gap: 10px;
}
.ondo-card-score {
	display: inline-flex; align-items: baseline;
	font-family: var(--serif);
	font-size: 17px; font-weight: 600;
	color: var(--red);
}
.ondo-card-score small {
	font-family: var(--sans);
	font-size: 10px; font-weight: 600;
	letter-spacing: 0.12em; text-transform: uppercase;
	color: var(--gray);
	margin-right: 5px;
}
.ondo-card-price {
	font-size: 13px; color: var(--gray);
}
.ondo-card-dot {
	width: 3px; height: 3px; border-radius: 50%; background: var(--gray-soft);
}

.ondo-spots-cta-row {
	max-width: 1180px;
	margin: 32px auto 0;
	text-align: right;
}

/* ---------- ONDO Score explainer ---------- */
.ondo-score-explainer {
	background: var(--bg-soft);
	padding: 80px var(--page-pad);
	margin-bottom: var(--home-section-gap);
}
.ondo-score-explainer-inner {
	max-width: 980px; margin: 0 auto;
	display: grid; gap: 48px;
	grid-template-columns: 1fr;
	align-items: center;
}
@media (min-width: 800px) {
	.ondo-score-explainer-inner {
		grid-template-columns: auto 1fr;
		gap: 80px;
	}
}
.ondo-thermo-large {
	width: 140px; height: 196px;
	margin: 0 auto;
	flex-shrink: 0;
}
body.ondo-template-home .ondo-score-steps {
	list-style: none; counter-reset: ondo-step;
	padding: 0; margin: 28px 0 0;
}
body.ondo-template-home .ondo-score-steps li {
	position: relative;
	padding: 14px 0 14px 50px;
	border-bottom: 1px solid var(--rule);
	display: grid; grid-template-columns: auto 1fr; gap: 16px;
	align-items: baseline;
}
body.ondo-template-home .ondo-score-steps li:last-child { border-bottom: 0; }
body.ondo-template-home .ondo-score-steps li::before {
	content: counter(ondo-step);
	counter-increment: ondo-step;
	position: absolute; top: 12px; left: 0;
	width: 30px; height: 30px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1.5px solid var(--red); border-radius: 50%;
	font-family: var(--serif);
	font-size: 14px; font-weight: 500; color: var(--red);
}
.ondo-score-step-band {
	font-family: var(--serif);
	font-size: 22px; font-weight: 600;
	color: var(--red); white-space: nowrap;
}
.ondo-score-step-text {
	font-size: 14px; color: var(--ink-soft);
	line-height: 1.5;
}
.ondo-score-step-text strong {
	color: var(--ink); font-weight: 600;
}

/* ---------- Newsletter ---------- */
body.ondo-template-home .ondo-nl {
	max-width: 760px;
	margin: 0 auto var(--home-section-gap);
	padding: 0 var(--page-pad);
}
.ondo-nl-card {
	background: var(--bg-tint);
	border: 1px solid var(--red-line);
	border-radius: 8px;
	padding: 36px 28px;
	text-align: center;
}
.ondo-nl-eyebrow {
	font-size: 10px; font-weight: 600;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--red);
	margin-bottom: 14px;
}
body.ondo-template-home .ondo-nl-title {
	margin: 0 0 14px;
	font-family: var(--serif);
	font-size: 30px; font-weight: 500;
	line-height: 1.15; letter-spacing: -0.01em;
	color: var(--ink);
}
.ondo-nl-perks {
	list-style: none; padding: 0;
	margin: 0 0 20px;
	font-size: 14px; color: var(--ink-soft);
	display: flex; flex-direction: column; gap: 6px;
	text-align: left;
	max-width: 420px; margin-left: auto; margin-right: auto;
}
.ondo-nl-perks li::before {
	content: "→ ";
	color: var(--red); font-weight: 600;
}
.ondo-nl-meta {
	font-size: 12px; color: var(--gray);
	margin: 0 0 22px;
	font-style: italic;
}
.ondo-nl-form {
	display: flex; flex-direction: column; gap: 8px;
	max-width: 420px; margin: 0 auto;
}
.ondo-nl-form input {
	width: 100%; height: 48px; padding: 0 16px;
	border: 1px solid var(--rule);
	border-radius: var(--radius-sm);
	font-family: var(--sans);
	font-size: 14px; color: var(--ink);
	background: #fff;
	transition: border-color 180ms;
}
.ondo-nl-form input:focus {
	outline: none; border-color: var(--ink);
}
.ondo-nl-form button {
	background: var(--red); color: #fff;
	border: none; border-radius: var(--radius-sm);
	height: 48px; font-family: var(--sans);
	font-size: 14px; font-weight: 600;
	letter-spacing: 0.04em; cursor: pointer;
	transition: background 180ms;
}
.ondo-nl-form button:hover { background: var(--ink); }
.ondo-nl-form button:disabled { opacity: 0.7; cursor: progress; }

@media (min-width: 600px) {
	.ondo-nl-card { padding: 48px 36px; }
	body.ondo-template-home .ondo-nl-title { font-size: 36px; }
	.ondo-nl-form { flex-direction: row; }
	.ondo-nl-form input { flex: 1; }
	.ondo-nl-form button { padding: 0 24px; }
}

@media (min-width: 700px) {
	body.ondo-template-home .ondo-nl-title { font-size: 38px; }
}

/* ---------- By neighborhood ---------- */
body.ondo-template-home .ondo-areas-section {
	max-width: 1180px;
	margin: 0 auto var(--home-section-gap);
	padding: 0 var(--page-pad);
}
.ondo-areas-grid {
	display: grid; gap: 22px;
	grid-template-columns: 1fr 1fr;
}
@media (min-width: 1000px) {
	.ondo-areas-grid { grid-template-columns: repeat(4, 1fr); }
}
body.ondo-template-home .ondo-area-card {
	display: block;
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: var(--radius-sm);
	overflow: hidden;
	color: #fff;
	background-color: var(--ink);
	text-decoration: none !important;
}
body.ondo-template-home .ondo-area-card:hover { text-decoration: none; }
.ondo-area-card-bg {
	position: absolute; inset: 0;
	background-position: center; background-size: cover;
	transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
	filter: brightness(0.7);
}
body.ondo-template-home .ondo-area-card:hover .ondo-area-card-bg { transform: scale(1.04); }
.ondo-area-card::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.6) 100%);
	z-index: 1;
}
.ondo-area-card-body {
	position: relative; z-index: 2;
	height: 100%; display: flex; flex-direction: column;
	justify-content: flex-end;
	padding: 18px;
}
body.ondo-template-home .ondo-area-card-name {
	font-family: var(--serif);
	font-size: 22px; font-weight: 500;
	letter-spacing: -0.01em;
	color: #fff;
	margin: 0 0 6px;
}
.ondo-area-card-note {
	font-size: 12px; line-height: 1.4;
	opacity: 0.85;
	margin: 0 0 8px;
	max-height: 0; overflow: hidden;
	transition: max-height 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
	            margin-bottom 320ms;
}
body.ondo-template-home .ondo-area-card:hover .ondo-area-card-note {
	max-height: 60px;
}
.ondo-area-card-count {
	font-size: 10px; font-weight: 600;
	letter-spacing: 0.14em; text-transform: uppercase;
	opacity: 0.85;
}

/* ---------- By type (pills) ---------- */
body.ondo-template-home .ondo-types-section {
	max-width: 980px;
	margin: 0 auto var(--home-section-gap);
	padding: 0 var(--page-pad);
}
.ondo-types-grid {
	display: flex; flex-wrap: wrap; gap: 10px;
}
body.ondo-template-home .ondo-type-pill {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 18px;
	border: 1px solid var(--rule);
	border-radius: var(--radius-pill);
	font-size: 13px; font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--ink-soft);
	background: var(--bg);
	text-decoration: none !important;
	transition: border-color 180ms, color 180ms, background 180ms;
}
body.ondo-template-home .ondo-type-pill:hover {
	border-color: var(--ink);
	color: var(--ink);
	background: var(--bg-soft);
	text-decoration: none;
}
.ondo-type-pill .count {
	font-size: 11px; color: var(--gray);
}

/* ---------- About blurb ---------- */
body.ondo-template-home .ondo-about {
	max-width: 700px;
	margin: 0 auto var(--home-section-gap);
	padding: 0 var(--page-pad);
	text-align: center;
}
.ondo-about-tagline {
	font-family: var(--serif);
	font-style: italic;
	font-weight: 500;
	font-size: 24px; color: var(--red);
	display: block; margin-bottom: 28px;
	line-height: 1.2;
	letter-spacing: -0.005em;
}
.ondo-about-body {
	font-family: var(--serif);
	font-size: 18px; line-height: 1.55;
	color: var(--ink-soft);
	text-align: left;
}
body.ondo-template-home .ondo-about-body p { margin: 0; }
body.ondo-template-home .ondo-about-body p:first-of-type::first-letter {
	float: left;
	margin: 6px 10px -2px 0;
	font-family: var(--serif);
	font-size: 64px; font-weight: 600;
	line-height: 0.85;
	color: var(--red);
}
.ondo-about-byline {
	margin-top: 24px;
	font-family: var(--sans);
	font-size: 12px; color: var(--gray);
	text-align: center;
}
body.ondo-template-home .ondo-about-byline a { color: var(--ink); }

/* ---------- Footer ---------- */
body.ondo-template-home .ondo-footer {
	border-top: 1px solid var(--rule);
	padding: 36px var(--page-pad) 28px;
	background: var(--bg-soft);
}
.ondo-footer-inner {
	max-width: 1180px; margin: 0 auto;
	display: grid; gap: 28px;
	grid-template-columns: 1fr;
}
@media (min-width: 700px) {
	.ondo-footer-inner {
		grid-template-columns: auto 1fr auto;
		align-items: start;
	}
}
.ondo-footer-brand {
	display: flex; flex-direction: column; gap: 10px;
}
.ondo-footer-tagline {
	font-family: var(--serif);
	font-size: 13px; font-style: italic;
	color: var(--gray);
	max-width: 260px;
	margin: 0;
}
.ondo-footer-links {
	display: grid; gap: 8px;
	grid-template-columns: 1fr 1fr;
	max-width: 360px;
	font-size: 13px;
}
body.ondo-template-home .ondo-footer-links a { color: var(--ink-soft); }
body.ondo-template-home .ondo-footer-links a:hover { color: var(--red); text-decoration: none; }

.ondo-footer-nl {
	font-size: 12px; color: var(--gray);
}
body.ondo-template-home .ondo-footer-nl a {
	display: inline-block; margin-top: 6px;
	color: var(--red); font-weight: 600;
	letter-spacing: 0.08em; text-transform: uppercase;
	font-size: 11px;
}
.ondo-footer-bottom {
	max-width: 1180px;
	margin: 28px auto 0;
	padding-top: 18px;
	border-top: 1px solid var(--rule);
	font-size: 11px; color: var(--gray);
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ---------- Reveal animation ---------- */
.fade-up {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 600ms cubic-bezier(0.2, 0.8, 0.2, 1),
	            transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-up.is-visible {
	opacity: 1; transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.fade-up { opacity: 1; transform: none; transition: none; }
	body.ondo-template-home .ondo-chapter-mark::before { transition: none; }
	body.ondo-template-home .ondo-chapter-mark.is-visible::before { width: 56px; }
	html { scroll-behavior: auto; }
}
