/* ==========================================================================
   Takara Color — main stylesheet
   Structural reference: rgf-professional.jp
     - persistent sticky left sidebar nav (light/dark per section)
     - full-bleed sections alternating light/black backgrounds
     - large display headline, numbered flow, stat cards, tag pills
   Visual identity: original — CMYK "ink" blend animation replaces
   the reference site's photo mosaic / WebGL sphere (see hero).
   Content source: existing takara-gp.jp site.
   ========================================================================== */

:root {
	--ink-cyan: #00aeef;
	--ink-magenta: #ec008c;
	--ink-yellow: #ffd400;
	--ink-key: #1a1a1a;

	--color-navy: #10233d;
	--color-accent: #d9333f;

	--sidebar-w: 280px;

	--light-bg: #ffffff;
	--light-bg-alt: #f4f6f9;
	--light-text: #1c2434;
	--light-text-soft: #5b6478;
	--light-border: #e3e7ee;

	--dark-bg: #0a0a0c;
	--dark-bg-alt: #131316;
	--dark-text: #f3f4f6;
	--dark-text-soft: #9aa0ac;
	--dark-border: rgba(255, 255, 255, 0.1);

	--font-body: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Meiryo", sans-serif;
	--font-display: "Helvetica Neue", Arial, var(--font-body);

	--shadow-md: 0 16px 40px rgba(10, 15, 30, 0.14);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--light-text);
	background: var(--light-bg);
	line-height: 1.9;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; border: none; background: none; cursor: pointer; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px,1px,1px,1px);
}

.u-only-sp { display: none; }

.wrap { max-width: 760px; margin: 0 auto; }

/* ==========================================================================
   App shell / sticky sidebar
   ========================================================================== */

.app-shell {
	display: flex;
	align-items: flex-start;
}

.main-content { flex: 1; min-width: 0; }

.sidebar-column {
	position: sticky;
	top: 0;
	width: var(--sidebar-w);
	flex-shrink: 0;
	height: 100vh;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 16px 16px 16px 16px;
	z-index: 100;
}

.sidebar {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	padding: 30px 24px;
	border-radius: 24px;
	background: var(--light-bg-alt);
	color: var(--light-text);
	box-shadow: 0 2px 14px rgba(16, 35, 61, .05);
	transition: background-color .5s ease, color .5s ease;
}

.sidebar-column.theme-dark .sidebar {
	background: var(--dark-bg);
	color: var(--dark-text);
	box-shadow: none;
}

.sidebar__top { margin-bottom: 36px; }
.sidebar__logo { display: flex; align-items: center; gap: 10px; }
.sidebar__logo-mark {
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 8px;
	background: var(--color-accent); color: #fff;
	font-weight: 800; font-size: 16px;
}
.sidebar__logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.sidebar__logo-text strong { font-size: 14px; letter-spacing: .04em; }
.sidebar__logo-text small { font-size: 10px; color: var(--light-text-soft); }
.sidebar-column.theme-dark .sidebar__logo-text small { color: var(--dark-text-soft); }

.sidebar__nav ul { display: flex; flex-direction: column; gap: 4px; }
.sidebar__nav a {
	display: flex; align-items: center; gap: 8px;
	font-size: 13.5px; font-weight: 600;
	padding: 10px 4px;
	color: inherit; opacity: .68;
	border-bottom: 1px solid transparent;
	transition: opacity .2s ease;
}
.sidebar__nav li:first-child { border-top: 1px solid var(--light-border); }
.sidebar-column.theme-dark .sidebar__nav li:first-child { border-color: var(--dark-border); }
.sidebar__nav li { border-bottom: 1px solid var(--light-border); }
.sidebar-column.theme-dark .sidebar__nav li { border-color: var(--dark-border); }
.sidebar__nav a:hover { opacity: 1; }
.sidebar__nav li.is-current a { opacity: 1; }
.sidebar__nav .dot {
	width: 5px; height: 5px; border-radius: 50%;
	background: var(--color-accent); display: inline-block;
}

.sidebar-ctas {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pill {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 18px; border-radius: 999px;
	font-size: 13px; font-weight: 700;
	transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.pill__icon { width: 15px; height: 15px; flex-shrink: 0; }

.pill--outline {
	background: var(--light-bg);
	border: 1px solid var(--light-border);
	color: var(--light-text);
}
.sidebar-column.theme-dark .pill--outline { background: transparent; border-color: var(--dark-border); color: var(--dark-text); }
.pill--outline:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.pill--solid {
	background: var(--light-text);
	color: #fff;
}
.sidebar-column.theme-dark .pill--solid { background: #fff; color: #0a0a0c; }
.pill--solid:hover { background: var(--color-accent); transform: translateY(-2px); }
.sidebar-column.theme-dark .pill--solid:hover { background: var(--color-accent); color: #fff; }

.pill--large { padding: 15px 26px; font-size: 14.5px; }

.sidebar-toggle {
	display: none;
	position: fixed;
	top: 16px; right: 16px;
	z-index: 200;
	width: 46px; height: 46px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--light-border);
	flex-direction: column; align-items: center; justify-content: center; gap: 5px;
	box-shadow: var(--shadow-md);
}
.sidebar-toggle__bar { width: 20px; height: 2px; background: var(--light-text); transition: transform .2s ease, opacity .2s ease; }
.sidebar-toggle.is-active .sidebar-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sidebar-toggle.is-active .sidebar-toggle__bar:nth-child(2) { opacity: 0; }
.sidebar-toggle.is-active .sidebar-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Buttons / small components shared across sections
   ========================================================================== */

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 15px 30px; border-radius: 999px;
	font-weight: 700; font-size: 15px;
	transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { transform: translateY(-2px); background: #b9222c; }
.btn--outline { border: 1.5px solid var(--light-text); color: var(--light-text); }
.btn--outline:hover { transform: translateY(-2px); background: var(--light-text); color: #fff; }

/* ---------- Shared button hover: rainbow glow from the right + label pop ---------- */

.pill, .btn, .cta-bar, .search-bar {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.pill::before, .btn::before, .cta-bar::before, .search-bar::before {
	content: "";
	position: absolute;
	inset: -20% -10%;
	background: conic-gradient(from 200deg at 80% 50%,
		var(--ink-cyan), var(--ink-magenta), var(--ink-yellow), var(--ink-cyan));
	filter: blur(18px);
	opacity: 0;
	transform: translateX(35%) scale(.6);
	transition: opacity .5s ease, transform .5s ease;
	z-index: 0;
	pointer-events: none;
}

.pill:hover::before, .btn:hover::before, .cta-bar:hover::before, .search-bar:hover::before {
	opacity: .5;
	transform: translateX(0%) scale(1);
}

.pill > *, .btn > *, .cta-bar > *, .search-bar > * { position: relative; z-index: 1; }

.btn-label { display: inline-block; transition: transform .3s ease; }
.pill:hover .btn-label,
.btn:hover .btn-label,
.cta-bar:hover .btn-label,
.search-bar:hover .btn-label {
	transform: scale(1.08);
}

.link-circle {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 13px; font-weight: 700; letter-spacing: .04em;
	margin-top: 30px;
}
.link-circle__dot {
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--light-text);
	position: relative; flex-shrink: 0;
}
.link-circle__dot::after {
	content: ""; position: absolute; inset: 0; margin: auto;
	width: 5px; height: 5px; border-radius: 50%; background: #fff;
}
.link-circle--sm .link-circle__dot { width: 26px; height: 26px; }

/* ==========================================================================
   Section shells
   ========================================================================== */

.section { padding: 110px 64px; }

.section--why, .section--stats { background: var(--dark-bg); color: var(--dark-text); }
.section--vision, .section--services, .section--flow { background: var(--light-bg); color: var(--light-text); }

.section__eyebrow {
	font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
	color: var(--color-accent); margin-bottom: 14px;
}
.section__title {
	font-family: var(--font-display);
	font-size: clamp(28px, 3.4vw, 42px);
	font-weight: 800;
	letter-spacing: -.01em;
}

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

.hero {
	position: relative;
	overflow: hidden;
	min-height: 94vh;
	display: flex;
	align-items: center;
	padding: 64px;
	background: #fff;
}

.ink-stage {
	position: absolute;
	inset: 0;
	filter: url(#ink-goo);
	isolation: isolate;
}

.ink-blob {
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 50%;
	mix-blend-mode: multiply;
	will-change: transform, border-radius, offset-distance;
}

/* Hero: blobs travel along sweeping brush-stroke paths (CSS motion path),
   elongating and morphing shape as they move, instead of just drifting
   in place — reads as flowing ink rather than bouncing circles. */
.ink-stage .ink-blob--c {
	width: 40vw; height: 40vw; max-width: 560px; max-height: 560px;
	background: var(--ink-cyan); opacity: .8;
	offset-path: path("M -120,80 C 180,320 480,-60 760,220 S 1120,480 1300,180");
	offset-rotate: auto;
	animation: ink-travel-c 26s ease-in-out infinite alternate, ink-morph-a 8s ease-in-out infinite;
}
.ink-stage .ink-blob--m {
	width: 32vw; height: 32vw; max-width: 460px; max-height: 460px;
	background: var(--ink-magenta); opacity: .78;
	offset-path: path("M 1320,60 C 1000,260 820,-40 620,210 S 200,420 -60,240");
	offset-rotate: auto;
	animation: ink-travel-m 22s ease-in-out infinite alternate, ink-morph-b 6.5s ease-in-out infinite;
}
.ink-stage .ink-blob--y {
	width: 28vw; height: 28vw; max-width: 400px; max-height: 400px;
	background: var(--ink-yellow); opacity: .85;
	offset-path: path("M -60,620 C 260,420 520,660 800,460 S 1160,300 1360,520");
	offset-rotate: auto;
	animation: ink-travel-y 30s ease-in-out infinite alternate, ink-morph-a 9.5s ease-in-out infinite;
}
.ink-stage .ink-blob--k {
	width: 22vw; height: 22vw; max-width: 320px; max-height: 320px;
	background: var(--ink-key); opacity: .48;
	offset-path: path("M 1280,600 C 960,400 760,600 520,440 S 160,300 -60,470");
	offset-rotate: auto;
	animation: ink-travel-k 18s ease-in-out infinite alternate, ink-morph-b 5.5s ease-in-out infinite;
}

@keyframes ink-travel-c { 0% { offset-distance: 0%; } 100% { offset-distance: 100%; } }
@keyframes ink-travel-m { 0% { offset-distance: 4%; } 100% { offset-distance: 96%; } }
@keyframes ink-travel-y { 0% { offset-distance: 8%; } 100% { offset-distance: 100%; } }
@keyframes ink-travel-k { 0% { offset-distance: 0%; } 100% { offset-distance: 92%; } }

/* Organic "brush" morph: elongates along its direction of travel then
   relaxes back, as if ink is being pulled and released. */
@keyframes ink-morph-a {
	0%, 100% { border-radius: 58% 42% 62% 38% / 44% 58% 42% 56%; transform: scale(1, 1) rotate(0deg); }
	50%      { border-radius: 40% 60% 35% 65% / 62% 38% 66% 34%; transform: scale(1.28, .8) rotate(6deg); }
}
@keyframes ink-morph-b {
	0%, 100% { border-radius: 46% 54% 58% 42% / 58% 46% 54% 42%; transform: scale(1, 1) rotate(0deg); }
	50%      { border-radius: 62% 38% 44% 56% / 40% 62% 38% 60%; transform: scale(.82, 1.3) rotate(-8deg); }
}

/* Final CTA card: a calmer, self-contained pulse (small stage, no motion path). */
.final-cta__ink .ink-blob--c,
.final-cta__ink .ink-blob--m,
.final-cta__ink .ink-blob--y {
	offset-path: none;
	animation: ink-pulse 16s ease-in-out infinite;
}
.final-cta__ink .ink-blob--m { animation-delay: -5s; }
.final-cta__ink .ink-blob--y { animation-delay: -10s; }

@keyframes ink-pulse {
	0%, 100% { transform: translate(0, 0) scale(1); border-radius: 55% 45% 60% 40% / 45% 55% 40% 60%; }
	50% { transform: translate(4%, -4%) scale(1.15); border-radius: 42% 58% 45% 55% / 58% 42% 60% 40%; }
}

.hero__inner {
	position: relative;
	z-index: 2;
	max-width: 680px;
	padding: 52px;
	border-radius: 28px;
	background: rgba(255, 255, 255, .72);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.hero__eyebrow {
	display: inline-block;
	font-size: 13px; font-weight: 700; letter-spacing: .1em;
	color: var(--color-accent);
	background: rgba(217, 51, 63, .1);
	padding: 6px 16px; border-radius: 999px;
	margin-bottom: 22px;
}

.hero__title {
	font-family: var(--font-display);
	font-size: clamp(40px, 6.2vw, 78px);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.02;
	color: var(--color-navy);
}

.hero__lead {
	margin-top: 26px;
	font-size: 15.5px;
	color: var(--light-text-soft);
	max-width: 520px;
}

.hero__actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Vision ---------- */

.section--vision {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 60px;
	align-items: center;
}

.vision__title {
	font-family: var(--font-display);
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: -.01em;
}

.vision__body {
	margin-top: 26px;
	font-size: 15px;
	color: var(--light-text-soft);
	max-width: 560px;
}

.history-row {
	margin-top: 46px;
	padding-top: 22px;
	border-top: 1px solid var(--light-border);
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 560px;
}
.history-row__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--light-text-soft); }
.history-row__date { font-size: 13px; font-weight: 700; color: var(--color-accent); }
.history-row__title { font-size: 13.5px; font-weight: 600; flex: 1; }

.vision__graphic { display: flex; align-items: center; justify-content: center; }

.color-wheel {
	position: relative;
	width: 260px; height: 260px;
	border-radius: 50%;
	animation: wheel-spin 50s linear infinite;
}
.color-wheel::before {
	content: "";
	position: absolute; inset: 18px;
	border-radius: 50%;
	border: 1px dashed var(--light-border);
}
.chip {
	position: absolute;
	width: 46px; height: 46px;
	border-radius: 50%;
	top: 50%; left: 50%;
	margin: -23px 0 0 -23px;
	box-shadow: 0 8px 20px rgba(10, 15, 30, .12);
}
.chip--c  { background: var(--ink-cyan);    transform: rotate(0deg)   translate(110px) rotate(0deg); }
.chip--m  { background: var(--ink-magenta); transform: rotate(45deg)  translate(110px) rotate(-45deg); }
.chip--y  { background: var(--ink-yellow);  transform: rotate(90deg)  translate(110px) rotate(-90deg); }
.chip--k  { background: var(--ink-key);     transform: rotate(135deg) translate(110px) rotate(-135deg); }
.chip--c2 { background: var(--ink-cyan);    opacity: .5; transform: rotate(180deg) translate(110px) rotate(-180deg); }
.chip--m2 { background: var(--ink-magenta); opacity: .5; transform: rotate(225deg) translate(110px) rotate(-225deg); }
.chip--y2 { background: var(--ink-yellow);  opacity: .5; transform: rotate(270deg) translate(110px) rotate(-270deg); }
.chip--k2 { background: var(--ink-key);     opacity: .5; transform: rotate(315deg) translate(110px) rotate(-315deg); }

@keyframes wheel-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

/* ---------- Why ---------- */

.section--why {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.why__tagline {
	margin-top: 30px;
	font-family: var(--font-display);
	font-size: clamp(20px, 2.4vw, 28px);
	font-weight: 800;
}
.why__tagline span { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--dark-text-soft); margin-top: 10px; }

.why__graphic {
	position: relative;
	height: 340px;
}
.node-glow {
	position: absolute;
	width: 220px; height: 220px;
	border-radius: 50%;
	filter: blur(50px);
	opacity: .55;
}
.node-glow--c { background: var(--ink-cyan); top: 10%; left: 8%; }
.node-glow--m { background: var(--ink-magenta); bottom: 6%; right: 10%; }

.node-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.node-lines line { stroke: rgba(255,255,255,.25); stroke-width: 1.5; }

.node {
	position: absolute;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 108px; height: 108px;
	border-radius: 50%;
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.16);
	backdrop-filter: blur(6px);
	text-align: center;
}
.node span { font-size: 15px; font-weight: 800; }
.node small { font-size: 10.5px; color: var(--dark-text-soft); margin-top: 3px; }
.node--a { top: 8%; left: 12%; }
.node--b { top: 6%; right: 6%; }
.node--c { bottom: 4%; left: 34%; }

/* ---------- Stats ---------- */

.section--stats .section__title { margin-bottom: 50px; }

.stats__grid {
	display: grid;
	grid-template-columns: 1fr repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 20px;
}

.stats__photo {
	grid-row: span 2;
	border-radius: 20px;
	min-height: 260px;
	background:
		radial-gradient(circle at 30% 30%, rgba(0,174,239,.35), transparent 60%),
		radial-gradient(circle at 70% 70%, rgba(236,0,140,.3), transparent 60%),
		var(--dark-bg-alt);
	border: 1px solid var(--dark-border);
}

.stat-card {
	background: var(--dark-bg-alt);
	border: 1px solid var(--dark-border);
	border-radius: 20px;
	padding: 30px 26px;
}
.stat-card__num { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; color: var(--ink-yellow); }
.stat-card__num span { font-size: 14px; font-weight: 600; color: var(--dark-text); margin-left: 4px; }
.stat-card__label { margin-top: 8px; font-size: 12.5px; color: var(--dark-text-soft); }

.stats__footnote { margin-top: 22px; font-size: 11.5px; color: var(--dark-text-soft); }

/* ---------- Services ---------- */

.section--services {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 60px;
	align-items: center;
}

.tag-group { margin-top: 30px; }
.tag-group__label { font-size: 12.5px; font-weight: 700; color: var(--light-text-soft); margin-bottom: 12px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
	display: inline-flex; align-items: center;
	padding: 9px 18px; border-radius: 999px;
	border: 1px solid var(--light-border);
	font-size: 13px; font-weight: 600;
}

.cta-bar {
	margin-top: 38px;
	display: flex; align-items: center; justify-content: space-between;
	padding: 20px 26px;
	border-radius: 999px;
	background: var(--light-text);
	color: #fff;
	font-weight: 700; font-size: 15px;
	transition: background-color .2s ease, transform .2s ease;
}
.cta-bar:hover { background: var(--color-accent); transform: translateY(-2px); }
.cta-bar__dot {
	width: 34px; height: 34px; border-radius: 50%;
	background: rgba(255,255,255,.16);
	display: flex; align-items: center; justify-content: center;
}
.services__note { margin-top: 14px; font-size: 12px; color: var(--light-text-soft); }

.services__cards { position: relative; height: 320px; }
.service-card {
	position: absolute;
	width: 260px;
	padding: 28px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid var(--light-border);
	box-shadow: var(--shadow-md);
}
.service-card--back { top: 10px; right: 10px; background: var(--light-bg-alt); transform: rotate(4deg); }
.service-card--front { top: 60px; right: 60px; transform: rotate(-3deg); }
.service-card__tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--color-accent); }
.service-card__title { margin-top: 10px; font-size: 16px; font-weight: 800; }
.service-card__meta { margin-top: 8px; font-size: 12.5px; color: var(--light-text-soft); }

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

.section--flow {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 60px;
}

.flow-steps { grid-row: 1; position: relative; padding-left: 8px; }
.flow-steps__item {
	position: relative;
	display: flex; gap: 22px;
	padding: 0 0 44px 0;
}
.flow-steps__item:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 22px; top: 46px; bottom: 0;
	width: 1px;
	background: var(--light-border);
}
.flow-steps__num {
	flex-shrink: 0;
	width: 44px; height: 44px;
	border-radius: 10px;
	background: var(--light-text);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 14px;
}
.flow-steps__item h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 8px; }
.flow-steps__item p { font-size: 13.5px; color: var(--light-text-soft); max-width: 420px; }

.flow__label { text-align: right; }
.flow__vertical-title {
	writing-mode: vertical-rl;
	font-family: var(--font-display);
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 800;
	letter-spacing: .04em;
	margin: 0 auto;
}

.search-bar {
	grid-column: 1 / -1;
	margin-top: 10px;
	display: flex; align-items: center; justify-content: space-between;
	padding: 20px 26px;
	border-radius: 999px;
	border: 1px solid var(--light-border);
	font-size: 14.5px; font-weight: 600;
	transition: border-color .2s ease, transform .2s ease;
}
.search-bar svg { width: 20px; height: 20px; color: var(--light-text-soft); }
.search-bar:hover { border-color: var(--color-accent); transform: translateY(-2px); }

/* ---------- Final CTA + footer (outside shell, full width) ---------- */

.final-cta { padding: 90px 64px; background: var(--dark-bg); }
.final-cta__card {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	padding: 64px;
	background: var(--dark-bg-alt);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}
.final-cta__ink { position: absolute; inset: 0; filter: url(#ink-goo); isolation: isolate; opacity: .5; }
.final-cta__ink .ink-blob--c { width: 320px; height: 320px; top: -20%; left: -6%; animation-duration: 24s; }
.final-cta__ink .ink-blob--m { width: 260px; height: 260px; bottom: -18%; right: 6%; animation-duration: 28s; }
.final-cta__ink .ink-blob--y { width: 220px; height: 220px; top: 20%; right: 30%; animation-duration: 20s; }
.final-cta__content { position: relative; z-index: 2; max-width: 480px; }
.final-cta__title { font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; color: #fff; }
.final-cta__text { margin-top: 14px; font-size: 14px; color: var(--dark-text-soft); }
.final-cta__actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 14px; }
.final-cta .pill--outline { background: transparent; border-color: var(--dark-border); color: #fff; }
.final-cta .pill--solid { background: #fff; color: #0a0a0c; }
.final-cta .pill--solid:hover { background: var(--color-accent); color: #fff; }

.site-footer { background: var(--dark-bg); color: var(--dark-text-soft); }
.site-footer__top {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 40px;
	padding: 60px 64px 40px;
	border-top: 1px solid var(--dark-border);
}
.site-footer__logo { font-size: 17px; font-weight: 800; color: #fff; }
.site-footer__logo-sub { font-size: 11.5px; margin-top: 4px; }
.site-footer__nav { display: flex; gap: 60px; flex-wrap: wrap; }
.site-footer__nav ul { display: grid; gap: 12px; }
.site-footer__nav a { font-size: 13px; }
.site-footer__nav a:hover { color: #fff; }

.site-footer__bottom {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
	padding: 20px 64px 30px;
	font-size: 11.5px;
	border-top: 1px solid var(--dark-border);
}

/* ---------- Fallback blog list (index.php) ---------- */

.post-card { padding: 24px 0; border-bottom: 1px solid var(--light-border); }
.post-card__title { font-size: 18px; margin-bottom: 10px; }
.post-card__title a:hover { color: var(--color-accent); }
.post-card__excerpt { color: var(--light-text-soft); font-size: 14px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
	.section--vision, .section--why, .section--services { grid-template-columns: 1fr; }
	.vision__graphic, .why__graphic, .services__cards { margin-top: 40px; }
	.section--flow { grid-template-columns: 1fr; }
	.flow__label { text-align: left; }
	.flow__vertical-title { writing-mode: horizontal-tb; }
	.stats__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }
	.stats__photo { grid-row: auto; min-height: 160px; }
}

@media (max-width: 880px) {
	.app-shell { display: block; }
	.sidebar-column {
		position: fixed;
		top: 0; left: 0; bottom: 0;
		height: 100vh;
		width: 82vw;
		max-width: 320px;
		transform: translateX(-100%);
		transition: transform .3s ease;
		z-index: 150;
	}
	.sidebar-column.is-open { transform: translateX(0); }
	.sidebar { box-shadow: var(--shadow-md); }
	.sidebar-toggle { display: flex; }

	.hero { min-height: auto; padding: 100px 24px 60px; }
	.hero__inner { padding: 30px; border-radius: 20px; }
	.section { padding: 64px 24px; }
	.final-cta { padding: 60px 24px; }
	.final-cta__card { padding: 36px; }
	.site-footer__top, .site-footer__bottom { padding-left: 24px; padding-right: 24px; }
}
