/* Limbic Personality GmbH */

@font-face { font-family: 'Tajawal'; src: url('../fonts/tajawal-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('../fonts/tajawal-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Tajawal'; src: url('../fonts/tajawal-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Assistant'; src: url('../fonts/assistant.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
	--red: #d4103e;
	--red-dark: #ae0c32;
	--stripe: #c9c4ae;
	--sand: #d9d4c6;
	--paper: #f4f2ee;
	--ink: #262321;
	--text: #4a4541;
	--muted: #8a8174;
	--line: #e0dcd3;
	--business: #2a97aa;
	--youth: #e3841c;
	--health: #7d972c;
	--accent: var(--red);
	--wrap: 1200px;
	--gutter: clamp(20px, 4vw, 48px);
	--head: 'Tajawal', 'Helvetica Neue', Arial, sans-serif;
	--body: 'Assistant', 'Helvetica Neue', Arial, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

.area-business { --accent: var(--business); }
.area-youth { --accent: var(--youth); }
.area-health { --accent: var(--health); }

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body {
	margin: 0;
	font-family: var(--body);
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p, ul, ol { margin: 0 0 1.15em; }
strong, b { font-weight: 700; color: var(--ink); }

h1, h2, h3, h4 {
	font-family: var(--head);
	font-weight: 700;
	color: var(--ink);
	line-height: 1.12;
	margin: 0 0 .55em;
}

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.sprite { position: absolute; }
.icon { width: 1em; height: 1em; flex: none; }
.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: #fff; color: var(--ink); padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* Buttons & links */

.btn {
	display: inline-flex;
	align-items: center;
	gap: .7em;
	padding: 15px 24px 13px;
	border: 2px solid currentColor;
	font-family: var(--head);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .12em;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 1.3em; height: 1.3em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-light { color: #fff; }
.btn-light:hover { background: #fff; color: var(--red); border-color: #fff; }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.more {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	font-family: var(--head);
	font-weight: 700;
	font-size: .82rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--accent);
	padding-bottom: 4px;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
	transition: background-size .3s var(--ease);
}
.more:hover { background-size: 40% 2px; }

.kicker {
	font-family: var(--head);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 1.2em;
}

/* Header */

.topbar { background: var(--red); color: #fff; position: relative; z-index: 60; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; }
.brand img { width: 210px; }
.topbar-actions { display: flex; align-items: center; gap: 30px; }

.lang {
	display: flex;
	margin: 0;
	font-family: var(--head);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .14em;
}
.lang a, .lang span { padding: 6px 8px 4px; text-decoration: none; }
.lang a { opacity: .65; transition: opacity .2s; }
.lang a:hover { opacity: 1; }
.lang span { box-shadow: inset 0 -2px #fff; }

.menu-button { display: none; }

.navbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--sand);
	border-top: 4px solid var(--stripe);
}
.navbar > .wrap { display: flex; align-items: stretch; }
.nav-list { display: flex; margin: 0 0 0 -18px; padding: 0; list-style: none; }
.nav-item { position: relative; }
.nav-link {
	display: block;
	padding: 0 18px;
	line-height: 56px;
	font-family: var(--head);
	font-weight: 500;
	font-size: .82rem;
	letter-spacing: .1em;
	color: var(--ink);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s, color .2s;
}
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link { background: rgba(38, 35, 33, .07); }
.nav-item.is-active > .nav-link { background: var(--red); color: #fff; }
.nav-toggle, .nav-cta { display: none; }

.nav-sub {
	position: absolute;
	top: 100%;
	left: 0;
	display: grid;
	grid-template-columns: minmax(230px, auto) 230px;
	gap: 36px;
	padding: 30px 34px 32px;
	background: #fff;
	border-top: 3px solid var(--red);
	box-shadow: 0 24px 48px -20px rgba(38, 35, 33, .35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.nav-item:hover > .nav-sub,
.nav-item:focus-within > .nav-sub {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.nav-item:nth-last-child(-n+2) > .nav-sub { left: auto; right: 0; }

.nav-sub-title {
	font-family: var(--head);
	font-weight: 700;
	font-size: .75rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 10px;
}
.nav-sub ul { list-style: none; margin: 0; padding: 0; }
.nav-sub li a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-size: 1.02rem;
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s, padding .25s var(--ease);
}
.nav-sub li a::after { content: '→'; color: var(--red); opacity: 0; transition: opacity .2s; }
.nav-sub li a:hover { color: var(--red); padding-left: 6px; }
.nav-sub li a:hover::after { opacity: 1; }
.nav-sub li a[aria-current] { color: var(--red); font-weight: 700; }
.nav-claim {
	align-self: center;
	margin: 0;
	padding-left: 30px;
	border-left: 1px solid var(--line);
	font-family: var(--head);
	font-weight: 500;
	font-size: 1.3rem;
	line-height: 1.3;
	color: var(--red);
}

/* Home hero */

.hero {
	position: relative;
	overflow: hidden;
	background: radial-gradient(ellipse 70% 80% at 72% 48%, #fdfcfa 0%, #f1eee8 55%, #e6e2da 100%);
}
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: center;
	min-height: min(760px, calc(100svh - 150px));
	padding-block: clamp(56px, 8vw, 110px);
}
.hero-text { position: relative; z-index: 2; }
.hero-title {
	font-size: clamp(.95rem, 1.3vw, 1.1rem);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--red);
	margin: 0 0 1.4em;
}
.hero-claim {
	font-weight: 500;
	font-size: clamp(2.5rem, 5.4vw, 4.6rem);
	line-height: 1.02;
	letter-spacing: -.015em;
	margin: 0 0 .7em;
}
.hero-claim span { display: flex; align-items: center; gap: .32em; }
.hero-claim .icon { width: .62em; height: .62em; color: var(--red); }
.hero-copy { max-width: 31em; }
.hero-copy strong { font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 2em; }

.brain {
	position: relative;
	margin: 0;
	pointer-events: none;
}
.brain img { width: 100%; }
.brain .symbol {
	position: absolute;
	left: 69%;
	top: 50%;
	width: 15%;
	height: auto;
	aspect-ratio: 1;
	fill: var(--accent);
	animation: pulse 6s ease-in-out infinite;
}
.hero .brain { width: 128%; margin-left: -6%; animation: float 12s ease-in-out infinite; }
.hero .brain .symbol { fill: var(--red); }

@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes pulse { 50% { transform: scale(1.08) rotate(30deg); } }

/* Areas (home) */

.areas { padding-block: clamp(70px, 9vw, 130px); }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.area { padding: 0 clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.area:first-child { padding-left: 0; border-left: 0; }
.area:last-child { padding-right: 0; }
.area .symbol { width: 44px; height: 44px; fill: var(--accent); margin-bottom: 26px; }
.area h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: var(--accent); }
.area p { flex: 0 0 auto; }
.area .more { margin-top: auto; align-self: flex-start; }

/* Dimensions (home) */

.dimensions { background: var(--paper); padding-block: clamp(70px, 9vw, 130px); }
.dimensions-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.dimensions-art svg { width: 100%; height: auto; display: block; }
.dimensions-text .statement { font-family: var(--head); font-weight: 500; font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.35; color: var(--ink); }
.dim-label { font-family: var(--head); font-weight: 700; font-size: 29px; letter-spacing: .12em; text-transform: uppercase; }

/* News (home) */

.news { padding-block: clamp(70px, 9vw, 130px); }
.news-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 110px); }
.news-lead { font-size: 1.05rem; color: var(--muted); margin-bottom: .8em; }
.news-lead strong { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.15; color: var(--ink); margin-top: .2em; }
.link-list { list-style: none; padding: 0; margin: 0 0 2.2em; border-top: 1px solid var(--line); }
.link-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	font-family: var(--head);
	font-weight: 500;
	font-size: clamp(1.15rem, 1.8vw, 1.4rem);
	color: var(--ink);
	text-decoration: none;
	transition: color .2s, padding .3s var(--ease);
}
.link-list a::before { content: ''; width: 10px; height: 10px; flex: none; background: var(--accent); order: -1; }
.link-list a span { flex: 1; }
.link-list a .icon { width: 22px; height: 22px; color: var(--accent); transition: transform .3s var(--ease); }
.link-list a:hover { color: var(--accent); padding-left: 8px; }
.link-list a:hover .icon { transform: translateX(4px); }
.link-list li { --accent: var(--business); }
.link-list li.area-health { --accent: var(--health); }
.link-list li.area-youth { --accent: var(--youth); }

.book { border-left: 1px solid var(--line); padding-left: clamp(24px, 4vw, 56px); }
.book-title { display: block; font-family: var(--head); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; color: var(--red); margin: .3em 0 .2em; }
.book-meta { font-size: 1rem; }

/* Inner pages */

.page-hero {
	position: relative;
	overflow: hidden;
	background: radial-gradient(ellipse 60% 120% at 85% 50%, #fdfcfa 0%, #f1eee8 55%, #e6e2da 100%);
	border-bottom: 1px solid var(--line);
}
.page-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	align-items: center;
	gap: 40px;
	min-height: 340px;
	padding-block: clamp(48px, 6vw, 84px);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.7rem); line-height: 1.06; letter-spacing: -.01em; margin: 0; }
.page-hero h1 strong { color: var(--accent); font-weight: inherit; }
.page-hero .page-claim { font-family: var(--head); font-weight: 400; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.25; color: var(--muted); margin: .7em 0 0; }
.page-hero .brain { width: 135%; margin-right: -35%; opacity: .95; }
.page-hero .brain .symbol { width: 16%; }

.page-body {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: clamp(40px, 6vw, 96px);
	padding-block: clamp(56px, 7vw, 100px);
}

.subnav { align-self: start; position: sticky; top: 92px; }
.subnav-title { font-family: var(--head); font-weight: 700; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.subnav ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.subnav a {
	display: block;
	margin-left: -1px;
	padding: 8px 0 8px 18px;
	border-left: 2px solid transparent;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--text);
	text-decoration: none;
	transition: color .2s, border-color .2s;
}
.subnav a:hover { color: var(--ink); border-color: var(--sand); }
.subnav a[aria-current] { color: var(--ink); font-weight: 700; border-color: var(--accent); }

/* Prose */

.prose { max-width: 760px; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose h4 { font-family: var(--head); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 1.8em 0 .5em; }
.prose a:where(:not(.btn, .more)) { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 28px; margin-bottom: .55em; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .72em; width: 14px; height: 2px; background: var(--accent); }
.prose ol { padding-left: 1.3em; }
.prose .lead { font-size: 1.28rem; line-height: 1.55; color: var(--ink); }
.prose .lead strong { font-weight: 600; }
.prose .statement { font-family: var(--head); font-weight: 500; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.35; color: var(--ink); }

.check-list { border-top: 1px solid var(--line); }
.prose .check-list li { padding: 16px 0 16px 44px; margin: 0; border-bottom: 1px solid var(--line); }
.prose .check-list li::before { top: 22px; width: 18px; height: 18px; background: none; border: 2px solid var(--accent); }
.prose .check-list li::after { content: ''; position: absolute; left: 6px; top: 25px; width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.prose .check-list strong { font-weight: 600; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2em; }

.figure { margin: 2.6em 0; padding: clamp(20px, 4vw, 48px) 0; border-block: 1px solid var(--line); }
.figure svg { display: block; width: 100%; max-width: 760px; height: auto; margin-inline: auto; }
.figure-dimensions svg { max-width: 520px; }
.chart-label { font-family: var(--head); font-size: 25px; letter-spacing: .04em; fill: #59534d; }
.chart-words text { font-family: var(--body); font-size: 19.5px; fill: #5f5852; }
.chart-scale { font-family: var(--body); font-size: 13px; font-weight: 700; fill: #fff; }

/* Analyses */

.prose .toc { counter-reset: toc; list-style: none; padding: 0; margin: 1.6em 0 0; border-top: 2px solid var(--ink); }
.toc li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.prose .toc a {
	display: flex;
	align-items: baseline;
	gap: 18px;
	padding: 14px 0;
	font-family: var(--head);
	font-weight: 500;
	font-size: 1.2rem;
	color: var(--ink);
	text-decoration: none;
	transition: color .2s, padding-left .3s var(--ease);
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-weight: 700; font-size: .8rem; letter-spacing: .1em; color: var(--accent); }
.prose .toc a:hover { color: var(--accent); padding-left: 8px; }
.analysis { padding-top: clamp(48px, 6vw, 80px); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.analysis.area-health { --accent: var(--health); }
.prose .analysis h2 { margin-top: 0; }
.analysis-number { display: block; font-family: var(--head); font-weight: 400; font-size: clamp(3rem, 5vw, 4.2rem); line-height: 1; color: var(--accent); margin-bottom: .15em; }
.prose .analysis-claim { font-family: var(--head); font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.3; color: var(--accent); margin: -.2em 0 1.2em; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 1em; }
.benefits h4 { margin-top: 1em; }

/* Prices */

.prices { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 1.05rem; }
.prices th, .prices td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
.prices th:first-child { text-align: left; padding-left: 0; font-weight: 400; }
.prices thead th { font-family: var(--head); font-weight: 700; font-size: .82rem; letter-spacing: .16em; color: var(--muted); border-bottom: 2px solid var(--ink); }
.prices td { font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prices td:last-child { padding-right: 0; }
.prices .type { display: block; font-size: .78rem; font-family: var(--head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.prices .group th { padding-top: 34px; font-family: var(--head); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.prices .group td { border-bottom-color: var(--line); }

/* Team */

.person { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); padding-block: 44px; border-top: 1px solid var(--line); }
.person:first-child { padding-top: 0; border-top: 0; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: contrast(1.02); }
.person h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin: 0 0 .5em; }
.person .person-intro { font-size: 1.18rem; color: var(--ink); }

/* Contact */

.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(36px, 5vw, 72px); }
.contact-card h2 { font-size: 1.5rem; }
.contact-card { align-self: start; padding-top: 22px; border-top: 4px solid var(--red); }
.contact-card p { font-size: 1.15rem; }
.contact-card a { color: var(--red); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.form h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label, .field .label { font-family: var(--head); font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
	width: 100%;
	padding: 10px 0 9px;
	border: 0;
	border-bottom: 1px solid #bdb6aa;
	border-radius: 0;
	background: transparent;
	font: inherit;
	color: var(--ink);
	transition: border-color .2s;
}
.field select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 28px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23262321' stroke-width='1.8'/%3E%3C/svg%3E") right 2px center / 18px no-repeat;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom: 2px solid var(--red); margin-bottom: -1px; }
.field .checkbox { display: flex; gap: 14px; align-items: flex-start; font-family: var(--body); font-weight: 400; font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--text); }
.checkbox input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 2px 0 0; border: 2px solid var(--ink); background: #fff; display: grid; place-content: center; cursor: pointer; }
.checkbox input:checked { background: var(--red); border-color: var(--red); }
.checkbox input:checked::after { content: ''; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.checkbox a { color: var(--red); }
.form-note { font-size: .95rem; color: var(--muted); margin: 0; }
.form-hp { position: absolute; left: -9999px; }
.notice { padding: 18px 22px; margin-bottom: 30px; border-left: 4px solid var(--health); background: var(--paper); color: var(--ink); }
.notice-error { border-color: var(--red); }

/* CTA band & footer */

.cta-band { background: var(--red); color: #fff; overflow: hidden; }
.cta-band-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 4vw, 56px); padding-block: clamp(44px, 5vw, 64px); }
.cta-symbol { width: 72px; height: 72px; fill: #fff; opacity: .9; }
.cta-title { font-family: var(--head); font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 .4em; opacity: .85; }
.cta-claim { font-family: var(--head); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.1; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-badge img { height: 44px; width: auto; }

.footer { background: var(--paper); border-top: 6px solid var(--stripe); font-size: 1rem; }
.footer-main { display: grid; grid-template-columns: minmax(220px, 3fr) minmax(0, 9fr); gap: clamp(40px, 5vw, 80px); padding-block: 64px 40px; }
.footer-brand img { width: 190px; margin-bottom: 24px; }
.footer-brand a { text-decoration: none; }
.footer-brand p a:hover { color: var(--red); }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 30px; }
.footer-title { font-family: var(--head); font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 10px; }
.footer-title a { text-decoration: none; }
.footer-nav ul { list-style: none; padding: 0; margin: 0 0 22px; }
.footer-nav li { margin-bottom: 4px; }
.footer-nav li a { text-decoration: none; color: var(--text); }
.footer-nav a:hover { color: var(--red); }
.footer-note { padding-bottom: 28px; font-size: .9rem; color: var(--muted); }
.footer-note p { margin: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.footer-note strong { color: var(--muted); }
.footer-bar { background: var(--ink); color: #cfc9bf; font-size: .9rem; }
.footer-bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-block: 18px; }
.footer-bar p, .footer-bar ul { margin: 0; }
.footer-bar ul { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; padding: 0; }
.footer-bar a { text-decoration: none; }
.footer-bar a:hover { color: #fff; }

/* Legal */

.legal { counter-reset: section; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal > h2:first-child { margin-top: 0; }
.legal h2.num::before { counter-increment: section; content: counter(section) '. '; color: var(--red); }
.legal h2.legal-part { margin-top: 2.6em; padding-top: 1.4em; border-top: 2px solid var(--ink); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p { font-size: 1.05rem; }
.imprint { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; padding-bottom: 36px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.imprint h2 { margin-top: 0; }
.imprint dl { margin: 0; padding-top: 6px; }
.imprint dt { font-family: var(--head); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.imprint dd { margin: 0 0 14px; font-weight: 600; color: var(--ink); }

/* Reveal */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-2 { transition-delay: .12s; }
.js .reveal-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* Responsive */

@media (max-width: 1140px) {
	.topbar { position: sticky; top: 0; }
	.topbar-inner { height: 72px; }
	.brand img { width: 170px; }
	.topbar-cta { display: none; }
	.topbar-actions { gap: 14px; }

	.menu-button {
		display: grid;
		place-items: center;
		width: 48px;
		height: 48px;
		margin-right: -10px;
		padding: 0;
		border: 0;
		background: none;
		color: #fff;
		cursor: pointer;
	}
	.menu-icon, .menu-icon::before, .menu-icon::after {
		display: block;
		width: 26px;
		height: 2px;
		background: currentColor;
		transition: transform .3s var(--ease), background-color .2s;
	}
	.menu-icon { position: relative; }
	.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; }
	.menu-icon::before { top: -8px; }
	.menu-icon::after { top: 8px; }
	.nav-open .menu-icon { background: transparent; }
	.nav-open .menu-icon::before { transform: translateY(8px) rotate(45deg); }
	.nav-open .menu-icon::after { transform: translateY(-8px) rotate(-45deg); }

	.navbar {
		position: fixed;
		inset: 72px 0 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: #fff;
		border-top: 4px solid var(--stripe);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
	}
	.nav-open { overflow: hidden; }
	.nav-open .navbar { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.navbar > .wrap { flex-direction: column; padding-block: 12px 40px; }
	.nav-list { flex-direction: column; margin: 0; }
	.nav-item { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav-link { flex: 1; padding: 0; line-height: 60px; font-size: .95rem; }
	.nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link { background: none; }
	.nav-item.is-active > .nav-link { background: none; color: var(--red); }
	.nav-toggle {
		display: grid;
		place-items: center;
		width: 60px;
		margin-right: -16px;
		border: 0;
		background: none;
		color: var(--ink);
		font-size: 22px;
		cursor: pointer;
	}
	.nav-toggle .icon { transition: transform .3s var(--ease); }
	.nav-item.is-open .nav-toggle .icon { transform: rotate(180deg); }
	.nav-sub {
		position: static;
		display: none;
		width: 100%;
		padding: 0 0 18px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: none;
	}
	.nav-item:hover > .nav-sub, .nav-item:focus-within > .nav-sub { display: none; }
	.nav-item.is-open > .nav-sub { display: block; }
	.nav-sub-title, .nav-claim { display: none; }
	.nav-sub li a { padding: 10px 0 10px 18px; border-bottom: 0; border-left: 2px solid var(--line); white-space: normal; }
	.nav-sub li a[aria-current] { border-left-color: var(--red); }
	.nav-cta { display: inline-flex; align-self: flex-start; margin-top: 30px; }
}

@media (max-width: 960px) {
	.hero-grid { grid-template-columns: 1fr; min-height: 0; padding-bottom: 0; }
	.hero .brain { width: 110%; margin: -10px -5% -12%; }
	.areas-grid { grid-template-columns: 1fr; gap: 48px; }
	.area, .area:first-child, .area:last-child { padding: 40px 0 0; border-left: 0; border-top: 1px solid var(--line); }
	.area:first-child { padding-top: 0; border-top: 0; }
	.dimensions-grid, .news-grid, .contact-grid { grid-template-columns: 1fr; }
	.dimensions-art { max-width: 520px; }
	.book { border-left: 0; padding-left: 0; padding-top: 40px; border-top: 1px solid var(--line); }
	.page-hero-grid { grid-template-columns: minmax(0, 1fr) 160px; min-height: 0; }
	.page-hero .brain { width: 260%; margin-right: -160%; }
	.page-body { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
	.subnav { position: static; margin: 0 calc(-1 * var(--gutter)) 40px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
	.subnav-title { display: none; }
	.subnav ul { display: flex; border: 0; gap: 24px; }
	.subnav a { white-space: nowrap; margin: 0; padding: 18px 0 14px; border: 0; border-bottom: 2px solid transparent; }
	.subnav a[aria-current] { border-bottom-color: var(--accent); }
	.footer-main { grid-template-columns: 1fr; }
	.cta-band-inner { grid-template-columns: 1fr; }
	.cta-symbol { width: 52px; height: 52px; }
}

@media (max-width: 640px) {
	body { font-size: 1.0625rem; }
	.brand img { width: 150px; }
	.hero-claim { font-size: clamp(2.1rem, 10vw, 2.8rem); }
	.page-hero-grid { grid-template-columns: 1fr; }
	.page-hero-art { display: none; }
	.benefits, .form-grid, .imprint { grid-template-columns: 1fr; }
	.btn { white-space: normal; }
	.person { grid-template-columns: 1fr; }
	.person img { width: 180px; }
	.prices thead { display: none; }
	.prices, .prices tbody, .prices tr { display: block; }
	.prices tr { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); padding: 14px 0; }
	.prices th, .prices td { border: 0; padding: 4px 0; text-align: left; }
	.prices th { grid-column: 1 / -1; padding-bottom: 8px; }
	.prices td::before { content: attr(data-label); display: block; font-size: .7rem; letter-spacing: .14em; color: var(--muted); }
	.prices .group { border-bottom: 0; padding-bottom: 0; }
	.footer-nav { grid-template-columns: 1fr 1fr; }
}
