/* =========================================================================
   Tiudo — Direction B "Youth Voltage"
   Dark ground, electric lime accent, Anton display over Space Grotesk.
   Square corners throughout: the brand has no rounded edges.
   ========================================================================= */

:root {
	--ink: #0E1410;
	--surface: #16201A;
	--surface-2: #1B271F;
	--line: #223026;
	--line-2: #3A4C3E;
	--text: #F2F5F0;
	--text-muted: #A8B5A6;
	--text-dim: #6E7C6C;
	--text-faint: #5D6E5C;
	--accent: #C6F24E;
	--accent-soft: #D9FA85;
	--light: #F2F5F0;
	--light-surface: #FFFFFF;
	--light-line: #DDE2DB;
	--light-text: #0E1410;
	--light-muted: #4A5A4C;

	--font-display: Anton, Impact, "Arial Narrow Bold", sans-serif;
	--font-body: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;

	--gutter: 56px;
	--max: 1440px;
	--radius: 0;
	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--reveal: 380ms;
	--reveal-mask: 460ms;
}

@media (max-width: 900px) {
	:root { --gutter: 20px; }
}

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

/* ScrollSmoother drives anchor scrolling when active; native smooth-scroll would
   fight it. The no-JS / reduced-motion path re-enables it (see below). */
html { scroll-padding-top: 110px; }
html.no-smooth { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-soft); }
button { font: inherit; color: inherit; }

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--accent); color: var(--ink); padding: 14px 22px; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* --- Layout ------------------------------------------------------------ */

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }

.section { padding: 72px 0 76px; }
.section--tight { padding: 56px 0 40px; }
.section--flush { padding: 0; }
.section--center { text-align: center; padding: 96px 0; }
.section--raised { background: var(--surface); border-block: 1px solid var(--line); }
.section--light { background: var(--light); color: var(--light-text); }
.section--light a { color: #0B7A46; }
.section--light .section-head__intro,
.section--light .card__text { color: var(--light-muted); }

@media (max-width: 900px) {
	.section { padding: 44px 0 48px; }
}

/* --- Type -------------------------------------------------------------- */

.display {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1.14;
	letter-spacing: -0.01em;
	margin: 0;
	text-wrap: balance;
}
.display--hero { font-size: clamp(48px, 8.6vw, 124px); line-height: 1.1; }
.display--xl { font-size: clamp(42px, 6.6vw, 96px); line-height: 1.1; }
.display--lg { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.16; }
.display--md { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.2; }

.eyebrow {
	display: flex; align-items: center; gap: 14px;
	font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--accent); margin: 0 0 20px;
}
.eyebrow__dot { width: 8px; height: 8px; background: currentColor; flex: none; }
.section--light .eyebrow { color: #2A3B2C; }

.lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--text-muted); max-width: 56ch; text-wrap: pretty; }

.prose { font-size: 18px; line-height: 1.75; color: #D5DCD1; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); text-transform: uppercase; line-height: 1.24; margin-top: 1.6em; }
.prose h3 { font-size: 22px; font-weight: 700; margin-top: 1.5em; }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--accent); font-size: 24px; line-height: 1.45; color: var(--text); }
.prose img { margin: 1.6em 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.section--light .prose { color: var(--light-muted); }

.link-arrow { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.link-arrow::after { content: " \2192"; }

.empty-state { color: var(--text-dim); }

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

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; padding: 18px 32px;
	font-size: 16px; font-weight: 700; letter-spacing: 0.02em;
	border: 1px solid transparent; background: none; cursor: pointer;
	transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-soft); color: var(--ink); }
.btn--ghost { border-color: var(--line-2); color: var(--text); font-weight: 600; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--dark { background: var(--ink); color: var(--accent); }
.btn--dark:hover { background: #000; color: var(--accent-soft); }
.btn--sm { min-height: 46px; padding: 13px 22px; font-size: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.filter-chip {
	display: inline-flex; align-items: center; min-height: 44px; padding: 11px 22px;
	font-size: 14px; font-weight: 600; color: var(--text-muted);
	border: 1px solid var(--line); background: none; cursor: pointer;
	transition: all 160ms var(--ease);
}
.filter-chip:hover { border-color: var(--line-2); color: var(--text); }
.filter-chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 700; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 32px; padding: 0; }

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

.site-header { position: fixed; top: var(--tiudo-admin-bar, 0px); left: 0; right: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid var(--line); }
/* The fixed header no longer occupies flow space, so the content starts below it. */
#smooth-content { padding-top: 84px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 84px; padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto; }
.site-header__logo { display: inline-flex; align-items: center; font-family: var(--font-display); font-size: 28px; line-height: 1.1; letter-spacing: 0.02em; color: var(--text); }
.site-header__logo img { display: block; width: auto; height: var(--logo-height, 52px); }
.site-footer__logo img { display: block; width: auto; height: calc(var(--logo-height, 52px) * 1.15); }
.site-header__logo:hover { color: var(--accent); }
.site-header__actions { display: flex; align-items: center; gap: 18px; }

.site-nav__list { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav__item { position: relative; }
.site-nav__item > a { font-size: 14px; font-weight: 500; text-transform: uppercase; color: var(--text-muted); }
.site-nav__item > a:hover, .site-nav__item.is-current > a { color: var(--text); }
.site-nav__sub { position: absolute; top: 100%; left: 0; min-width: 220px; padding: 14px 0; margin: 14px 0 0; list-style: none; background: var(--surface); border: 1px solid var(--line); opacity: 0; visibility: hidden; transition: opacity 160ms var(--ease); }
.site-nav__item:hover .site-nav__sub, .site-nav__item:focus-within .site-nav__sub { opacity: 1; visibility: visible; }
.site-nav__sub a { display: block; padding: 9px 20px; font-size: 14px; color: var(--text-muted); }
.site-nav__sub a:hover { color: var(--accent); }

.lang-switch { display: flex; gap: 7px; font-size: 13px; color: var(--text-dim); }
.lang-switch__item { color: var(--text-dim); }
.lang-switch__item.is-current { color: var(--accent); font-weight: 700; }

.nav-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; padding: 0; border: 0; background: none; cursor: pointer; color: var(--text); -webkit-tap-highlight-color: transparent; }
.nav-toggle:hover { color: var(--accent); }
.nav-toggle__icon { display: block; overflow: visible; }
.nav-toggle__bar { stroke: currentColor; stroke-width: 2.6; stroke-linecap: square; transition: stroke 160ms var(--ease); }
/* Fallback for when GSAP is unavailable. Scoped so it can never apply while GSAP
   is driving the icon — otherwise it pre-empts the tween's starting value. */
html:not(.has-gsap) .nav-toggle[aria-expanded="true"] .nav-toggle__bar[data-bar="mid"] { opacity: 0; }

.mobile-nav {
	display: none;
	position: absolute;
	inset: 100% 0 auto 0;
	max-height: calc(100vh - 84px);
	overflow-y: auto;
	padding: 20px var(--gutter) 32px;
	background: var(--ink);
	border-top: 1px solid var(--line);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}
.mobile-nav__list { list-style: none; margin: 0 0 24px; padding: 0; }
.mobile-nav__list a { display: block; padding: 16px 0; font-size: 20px; font-weight: 600; text-transform: uppercase; color: var(--text); border-bottom: 1px solid var(--line); }
.mobile-nav__foot { display: flex; flex-direction: column; gap: 12px; }
.mobile-nav__phone { font-size: 18px; font-weight: 600; }

@media (max-width: 1100px) {
	.site-nav { display: none; }
	.nav-toggle { display: inline-flex; }
	/* :not([hidden]) so the hidden attribute still wins — a bare display:block here
	   outranks [hidden]{display:none} and pins the panel open. */
	.mobile-nav:not([hidden]) { display: block; }
	.site-header__actions .btn--sm { display: none; }
}

/* --- Section head ------------------------------------------------------ */

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.section-head__right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.section-head__intro { font-size: 15px; line-height: 1.55; color: var(--text-dim); max-width: 40ch; margin: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 40px; }
.page-head__intro { font-size: 17px; line-height: 1.55; color: var(--text-muted); max-width: 42ch; margin: 0; }

@media (max-width: 900px) {
	.section-head, .page-head { flex-direction: column; align-items: flex-start; gap: 20px; }
	.section-head__right { align-items: flex-start; }
}

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

.hero { padding: 66px 0 0; }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding-top: 34px; }
/* The cutout is 823px native. Capping the width keeps it close to 1:1 instead of
   upscaling to the full container, and the bottom margin stops the tyres sitting
   directly on the figures strip below. */
.hero__media { margin: 42px 0 64px; position: relative; display: flex; justify-content: center; }
.hero__media img { width: 100%; max-width: 880px; max-height: 52vh; object-fit: contain; }

@media (max-width: 900px) {
	.hero__foot { flex-direction: column; align-items: stretch; }
	.btn-row .btn { flex: 1 1 auto; }
}

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

.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stat { background: var(--ink); padding: 28px 30px; }
.stat__value { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; color: var(--accent); margin: 0 0 6px; font-variant-numeric: tabular-nums; }
.stat__label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin: 0; }
.stat-strip--xl .stat { padding: 44px 40px; }
.stat-strip--xl .stat__value { font-size: clamp(40px, 5vw, 66px); }

@media (max-width: 900px) {
	.stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat { padding: 20px 18px; }
}

/* --- Cards ------------------------------------------------------------- */

.card-grid { display: grid; gap: 20px; }
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }

.card { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--line); padding: 32px; }
.card__num { font-family: var(--font-display); font-size: 40px; line-height: 1; margin: 0; }
.card__title { font-size: 21px; font-weight: 700; margin: 0; }
.card__text { font-size: 15px; line-height: 1.6; color: var(--text-dim); margin: 0; }
.card__icon { width: 26px; height: 26px; }
.section--light .card { background: var(--light-surface); border-color: var(--light-line); }



/* --- Model cards + slider ---------------------------------------------- */

.model-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.model-grid--2 { margin-top: 48px; }


.model-card { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); transition: border-color 200ms var(--ease); }
.model-card:hover { border-color: var(--line-2); }
.model-card--upcoming { background: var(--ink); border-style: dashed; }
.model-card--upcoming .model-card__title { color: var(--line-2); }
.model-card__media { position: relative; aspect-ratio: 3 / 2; background: var(--surface-2); overflow: hidden; padding: 26px 30px; }
.model-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 600ms var(--ease); }
.model-card:hover .model-card__media img { transform: scale(1.04); }
.model-card__badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--accent); color: var(--ink); }
.model-card__body { display: flex; flex-direction: column; gap: 18px; padding: 28px 30px 32px; flex: 1; }
.model-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.model-card__title { font-family: var(--font-display); font-size: 38px; line-height: 1.16; text-transform: uppercase; margin: 0; }
.model-card__price { font-size: 16px; font-weight: 600; color: var(--accent); margin: 0; white-space: nowrap; }
.model-card__price--muted { color: var(--text-dim); }
.model-card__excerpt { font-size: 15px; line-height: 1.55; color: var(--text-muted); margin: 0; }
.model-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.model-card__actions .btn { min-height: 50px; padding: 15px 26px; font-size: 15px; }

.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.spec-chips__item { font-size: 13px; font-weight: 600; color: var(--accent); border: 1px solid var(--line-2); padding: 8px 14px; }

.slider { overflow: hidden; width: 100%; max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter); }
.slider__track { display: flex; gap: 24px; transition: transform 520ms var(--ease); will-change: transform; }
.slider__slide { flex: 0 0 620px; max-width: 88vw; }
.slider__controls { display: flex; align-items: center; gap: 24px; }
.slider__counter { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; color: var(--text-dim); margin: 0; }
.slider__buttons { display: flex; gap: 10px; }
.slider__btn { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid var(--line-2); background: none; cursor: pointer; transition: all 160ms var(--ease); }
.slider__btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.slider__btn:disabled { border-color: var(--line); color: var(--line-2); cursor: default; }
.slider__progress { height: 2px; background: var(--line); margin-top: 26px; }
.slider__progress span { display: block; height: 2px; background: var(--accent); transition: width 520ms var(--ease); }
.slider-section { padding-bottom: 76px; }

/* Phones: the card fills the width, with the next one peeking in when there are several. */
@media (max-width: 700px) {
	.slider__slide { flex-basis: 85%; max-width: none; }
	.slider__slide:only-child { flex-basis: 100%; }
}

/* --- Comparison table --------------------------------------------------- */

.table-scroll { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; background: var(--light-surface); color: var(--light-text); border: 1px solid var(--light-line); min-width: 720px; }
.compare th, .compare td { padding: 15px 24px; text-align: left; border-bottom: 1px solid #E7EBE5; border-right: 1px solid #E7EBE5; vertical-align: middle; }
.compare thead th { vertical-align: top; padding: 22px 24px; }
.compare thead img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; padding: 10px; margin-bottom: 12px; }
.compare__name { display: block; font-size: 20px; font-weight: 700; }
.compare__price { display: block; font-size: 13px; color: #0B7A46; margin-top: 4px; }
.compare tbody th { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6A756B; white-space: nowrap; }
.compare td.is-missing { color: #A6ADA0; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }

/* --- Split ------------------------------------------------------------- */

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.split--reverse .split__media { order: 2; }
.split__media { background: var(--surface); min-height: 420px; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 64px var(--gutter); }
.split--light { background: var(--light); color: var(--light-text); }

@media (max-width: 900px) {
	.split { grid-template-columns: 1fr; }
	.split--reverse .split__media { order: 0; }
	.split__media { min-height: 260px; }
	.split__body { padding: 40px var(--gutter); }
}

.spec-list { margin: 0; }
.spec-list > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.spec-list dt { color: var(--text-dim); font-size: 15px; }
.spec-list dd { margin: 0; font-weight: 600; font-size: 15px; text-align: right; }
.section--light .spec-list > div { border-color: var(--light-line); }

/* --- Steps / timeline / team -------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps__item { border-top: 3px solid var(--line); padding-top: 20px; }
.steps__item.is-active { border-top-color: var(--accent); }
.steps__num { font-family: var(--font-display); font-size: 30px; color: var(--accent); }
.steps__title { font-size: 18px; font-weight: 700; margin: 8px 0 6px; }
.steps__text { font-size: 15px; line-height: 1.6; color: var(--text-dim); margin: 0; }
.steps--inline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.section--light .steps__item { border-top-color: #C9D0C6; }
.section--light .steps__item.is-active { border-top-color: var(--light-text); }
.section--light .steps__num { color: var(--light-text); }
.section--light .steps__text { color: var(--light-muted); }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.timeline__item { border-top: 3px solid var(--line); padding-top: 20px; }
.timeline__item.is-active { border-top-color: var(--accent); }
.timeline__year { font-family: var(--font-display); font-size: 30px; margin: 0 0 10px; }
.timeline__text { font-size: 15px; line-height: 1.6; color: var(--text-dim); margin: 0; }

@media (max-width: 900px) { .steps, .steps--inline, .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps, .steps--inline, .timeline { grid-template-columns: 1fr; } }

.person__media { aspect-ratio: 3 / 4; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.person__media img { width: 100%; height: 100%; object-fit: cover; }
.person__name { font-size: 18px; font-weight: 700; margin: 18px 0 4px; }
.person__role { font-size: 14px; color: var(--accent); margin: 0; }
.person__email { font-size: 14px; color: var(--text-dim); }

/* --- Posts -------------------------------------------------------------- */

.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }


.post-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); transition: border-color 200ms var(--ease); }
.post-card:hover { border-color: var(--line-2); }
/* Stretched link: one anchor, whole card clickable, markup stays valid. */
.post-card__link { color: inherit; }
.post-card__link::after { content: ""; position: absolute; inset: 0; }
.post-card__link:hover { color: var(--accent); }
.post-card__media { aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 28px; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin: 0; }
.post-card__cat { color: var(--accent); }
.post-card__title { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 0; text-wrap: pretty; }
.post-card__excerpt { font-size: 14px; line-height: 1.55; color: var(--text-dim); margin: 0; }

.post-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); margin-bottom: 44px; }
.post-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.post-feature__body { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 48px 44px; background: var(--surface); }
.post-feature__body h2 a { color: var(--text); }
@media (max-width: 900px) { .post-feature { grid-template-columns: 1fr; } }

.pagination ul { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; margin: 48px 0 0; padding: 0; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 16px; border: 1px solid var(--line); font-weight: 600; color: var(--text-muted); }
.pagination .is-current { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 700; }

/* --- Article ------------------------------------------------------------ */

.article__head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; gap: 10px; font-size: 13px; color: var(--text-dim); margin-bottom: 26px; }
.breadcrumbs a { color: var(--text-dim); }
.article__head .post-card__meta { margin-bottom: 20px; }
.article__head .lead { margin-top: 20px; }
.article__hero { margin: 0; border-bottom: 1px solid var(--line); }
.article__hero img { width: 100%; }
.article__layout { display: grid; grid-template-columns: 240px minmax(0, 760px) 1fr; gap: 48px; padding-top: 60px; padding-bottom: 76px; }
/* Not sticky: ScrollSmoother transforms the content, and sticky needs an
   untransformed scroll ancestor. Kept static rather than shipping something broken. */
.article__aside, .article__cta { align-self: start; }
@media (max-width: 1100px) {
	.article__layout { grid-template-columns: 1fr; }
	.article__aside, .article__cta { position: static; }
}

.socials { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.socials a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-2); color: var(--text-muted); font-size: 13px; font-weight: 700; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }

/* --- Model page --------------------------------------------------------- */


.model-hero { position: relative; overflow: hidden; padding: 48px 0 56px; }
.model-hero__ghost { position: absolute; left: 0; right: 0; top: 90px; text-align: center; font-family: var(--font-display); font-size: clamp(90px, 16vw, 230px); line-height: 1.1; text-transform: uppercase; color: var(--surface); margin: 0; pointer-events: none; user-select: none; will-change: transform; }
.model-hero__inner { position: relative; padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto; }
.model-hero__media { margin: 30px 0 40px; will-change: transform; }
.model-hero__media img { width: 100%; }
.model-hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.model-hero__copy { max-width: 480px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 900px) { .model-hero__foot { flex-direction: column; align-items: stretch; } }

.walkaround { position: relative; height: 320vh; background: var(--surface); border-block: 1px solid var(--line); }
.walkaround__sticky { padding: 40px 0 56px; }
.walkaround__stage { display: grid; grid-template-columns: 300px minmax(0, 1fr) 300px; gap: 28px; align-items: center; }
.walkaround__frames { position: relative; aspect-ratio: 14 / 9; background: var(--surface-2); }
.walkaround__frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.walkaround__frame.is-active { opacity: 1; }
.walkaround__hotspots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.hotspot { display: flex; gap: 14px; border-left: 2px solid var(--line-2); padding-left: 16px; opacity: 0.35; transition: opacity 260ms var(--ease), border-color 260ms var(--ease); }
.hotspot.is-active { opacity: 1; border-left-color: var(--accent); }
.hotspot__num { font-family: var(--font-display); font-size: 22px; line-height: 1; color: var(--line-2); }
.hotspot.is-active .hotspot__num { color: var(--accent); }
.hotspot__body strong { display: block; font-size: 16px; margin-bottom: 5px; }
.hotspot__body span { font-size: 14px; line-height: 1.5; color: var(--text-dim); }
.walkaround__scrub { display: flex; align-items: center; gap: 16px; margin-top: 28px; font-size: 12px; letter-spacing: 0.1em; color: var(--text-faint); }
.walkaround__track { flex: 1; height: 3px; background: var(--line); }
.walkaround__progress { display: block; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; }

@media (max-width: 1000px) {
	.walkaround { height: auto; }
	.walkaround__sticky { position: static; }
	.walkaround__stage { grid-template-columns: 1fr; }
	.walkaround__hotspots { flex-direction: row; overflow-x: auto; }
	.hotspot { opacity: 1; min-width: 240px; }
}

.range { margin-top: 20px; }
.range__track { position: relative; height: 16px; background: #DDE2DB; }
.range__fill { position: absolute; inset: 0; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; }
.range__stops { position: relative; list-style: none; margin: 18px 0 0; padding: 0; height: 60px; }
.range__stop { position: absolute; left: var(--at); transform: translateX(-50%); text-align: center; min-width: 90px; }
.range__stop:first-child { transform: none; left: 0; text-align: left; }
.range__stop:last-child { transform: translateX(-100%); text-align: right; }
.range__km { display: block; font-size: 14px; font-weight: 700; color: #2A3B2C; }
.range__note { display: block; font-size: 13px; color: #6A756B; }

.hstrip { display: flex; gap: 20px; width: 100%; max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.hstrip__item { flex: 0 0 620px; max-width: 86vw; margin: 0; scroll-snap-align: start; }
.hstrip__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface); }
.hstrip__item figcaption { font-size: 14px; color: var(--text-dim); padding-top: 12px; }

/* While pinned, the track is moved by transform, so it must not also be a
   scroll container — and the section clips whatever hangs outside it.
   The section also fills the viewport: a pinned section shorter than the screen
   leaves dead space below it for the whole length of the pin. */
[data-hscroll].is-hscroll {
	overflow: hidden;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 34px;
	padding-block: 88px 48px;
}
[data-hscroll].is-hscroll .section-head { margin-bottom: 0; }
[data-hscroll].is-hscroll .hstrip {
	overflow: visible;
	scroll-snap-type: none;
	padding-bottom: 0;
	align-items: center;
}
[data-hscroll].is-hscroll .hstrip::-webkit-scrollbar { display: none; }

/* Bigger panels, sized off the viewport height so they fill the pinned screen. */
[data-hscroll].is-hscroll .hstrip__item { flex: 0 0 auto; width: clamp(420px, 44vw, 760px); max-width: none; }
[data-hscroll].is-hscroll .hstrip__item img {
	height: clamp(300px, 52vh, 620px);
	width: 100%;
	aspect-ratio: auto;
	object-fit: contain;
	padding: 24px;
}
[data-hscroll].is-hscroll .hstrip__item figcaption { padding-top: 14px; }

/* Horizontal strips get a branded scrollbar instead of the OS default. */
.hstrip { scrollbar-width: thin; scrollbar-color: var(--accent) var(--line); padding-bottom: 18px; }
.hstrip::-webkit-scrollbar { height: 6px; }
.hstrip::-webkit-scrollbar-track { background: var(--line); }
.hstrip::-webkit-scrollbar-thumb { background: var(--accent); }
.hstrip::-webkit-scrollbar-thumb:hover { background: var(--accent-soft); }

/* And the page itself, so the window scrollbar matches the dark ground. */
html { scrollbar-width: thin; scrollbar-color: var(--line-2) var(--ink); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--line-2); border: 2px solid var(--ink); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.section--light ::-webkit-scrollbar-track { background: var(--light-line); }

.configurator { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
.configurator__stage { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); transition: background 400ms var(--ease); }
.configurator__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 320ms var(--ease); }
.configurator__image.is-active { opacity: 1; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 20px 0 0; padding: 0; }
.swatch { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 11px 16px; border: 1px solid var(--line); background: none; cursor: pointer; transition: all 160ms var(--ease); }
.swatch.is-active { border-color: var(--accent); background: var(--surface); }
.swatch__dot { width: 20px; height: 20px; border: 1px solid var(--line-2); }
.swatch__label { font-size: 14px; font-weight: 600; color: var(--text-dim); }
.swatch.is-active .swatch__label { color: var(--text); }

.configurator__panel { display: flex; flex-direction: column; gap: 22px; background: var(--ink); border: 1px solid var(--line); padding: 30px; }
.config-group { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.config-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 62px; padding: 16px 18px; text-align: left; border: 1px solid var(--line); background: none; cursor: pointer; transition: all 160ms var(--ease); }
.config-option.is-active { border-color: var(--accent); background: var(--surface); }
.config-option__text strong { display: block; font-size: 15px; font-weight: 600; }
.config-option__text span { font-size: 13px; color: var(--text-dim); }
.config-option__price { font-size: 14px; font-weight: 600; color: var(--text-dim); white-space: nowrap; }
.config-option.is-active .config-option__price { color: var(--accent); }
.config-total { border-top: 1px solid var(--line); padding-top: 20px; }
.config-total p { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--text-dim); margin: 0 0 12px; }
.config-total__sum { align-items: baseline; }
.config-total__sum span { font-size: 14px; font-weight: 600; color: var(--text); }
.config-total__sum strong { font-family: var(--font-display); font-size: 38px; line-height: 1; color: var(--accent); }

@media (max-width: 1000px) { .configurator { grid-template-columns: 1fr; } }

.dimensions { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--line); padding: 48px var(--gutter); }
/* No technical drawing: one column, and the figures stay a readable width instead
   of stretching the full container. */
.dimensions--plain { grid-template-columns: 1fr; max-width: 860px; padding: 36px 44px; }
.dimensions--plain .dimensions__list > div { padding: 12px 0; }
.dimensions__drawing { width: 100%; }
.dimensions__list { margin: 0; }
.dimensions__list > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); }
.dimensions__list dt { color: var(--text-dim); font-size: 15px; }
.dimensions__list dd { margin: 0; font-weight: 600; }
@media (max-width: 900px) { .dimensions { grid-template-columns: 1fr; padding: 28px 20px; } }

/* --- Accordion ---------------------------------------------------------- */

.accordion { border: 1px solid var(--line); }
.accordion--flush { border: 0; border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion h3 { margin: 0; }
.accordion__trigger { display: flex; align-items: center; justify-content: space-between; gap: 32px; width: 100%; min-height: 64px; padding: 20px 26px; text-align: left; background: var(--surface); border: 0; cursor: pointer; font-size: 18px; font-weight: 600; }
.accordion--flush .accordion__trigger { background: none; padding: 24px 4px; font-size: 20px; }
.accordion__trigger svg { flex: none; color: var(--text-dim); transition: transform 220ms var(--ease); }
.accordion__trigger[aria-expanded="true"] { color: var(--accent); }
.accordion__trigger[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--accent); }
/* Collapsible rows. The 0fr -> 1fr grid trick resolves to 0 inside this layout,
   so the height is measured and set by script; CSS only owns the easing. */
.accordion__panel {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 420ms var(--ease), opacity 280ms var(--ease);
}
.accordion__inner { padding: 4px 26px 24px; }
.accordion__item.is-open > .accordion__panel { max-height: 250vh; opacity: 1; }
.accordion--flush .accordion__inner { padding: 0 4px 28px; max-width: 76ch; }
.accordion__item[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
	.accordion__panel { transition: none; }
}

.faq-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
.faq-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.faq-nav .filter-chip { width: 100%; justify-content: flex-start; border: 0; }
@media (max-width: 900px) {
	.faq-layout { grid-template-columns: 1fr; }
	.faq-nav ul { flex-direction: row; flex-wrap: wrap; }
	.faq-nav .filter-chip { width: auto; border: 1px solid var(--line); }
}

/* --- Dealers ------------------------------------------------------------ */

.dealers { display: grid; grid-template-columns: 480px minmax(0, 1fr); border: 1px solid var(--line); }
.dealers__list { border-right: 1px solid var(--line); }
.dealers__filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 26px 28px; background: var(--surface); border-bottom: 1px solid var(--line); }
.dealer { padding: 24px 28px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
.dealer.is-active { border-left-color: var(--accent); background: var(--surface); }
.dealer[hidden] { display: none; }
.dealer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dealer__name { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.dealer__badge { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--accent); color: var(--ink); padding: 5px 10px; white-space: nowrap; }
.dealer__address, .dealer__hours { font-size: 15px; line-height: 1.55; color: var(--text-muted); margin: 0 0 8px; }
.dealer__links { display: flex; gap: 20px; font-size: 14px; font-weight: 600; margin: 8px 0 0; }
.dealers__map { min-height: 680px; background: var(--surface); display: flex; align-items: center; justify-content: center; }
.dealers__map iframe { width: 100%; height: 100%; min-height: 680px; border: 0; display: block; }
/* Google's embed cannot be styled from outside, so the whole frame is turned into a dark grey map. */
.dealers__map iframe { filter: grayscale(1) invert(0.92) contrast(0.9); }
.dealers__map-empty { color: var(--text-faint); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
/* `display: block` above would otherwise outrank [hidden] when the script swaps maps. */
.dealers__map iframe[hidden], .dealers__map-empty[hidden] { display: none; }
/* Complianz wraps a blocked iframe in its own placeholder; size it like the map and hide it with it. */
.dealers__map > .cmplz-placeholder-parent { flex: 1 1 auto; align-self: stretch; }
.dealers__map > .cmplz-placeholder-parent:has(> iframe[hidden]) { display: none; }
.dealers--selectable .dealer { cursor: pointer; }
.dealers--selectable .dealer:not(.is-active):hover { border-left-color: var(--line); }
.dealer__select { font: inherit; color: inherit; text-align: left; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
@media (max-width: 1000px) {
	.dealers { grid-template-columns: 1fr; }
	.dealers__list { border-right: 0; }
	.dealers__map, .dealers__map iframe { min-height: 380px; }
}

/* --- Forms -------------------------------------------------------------- */

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 620px; gap: 48px; align-items: start; }
.form-layout--flip { grid-template-columns: 620px minmax(0, 1fr); }
.form-layout--flip .form { order: -1; }
@media (max-width: 1000px) { .form-layout, .form-layout--flip { grid-template-columns: 1fr; } .form-layout--flip .form { order: 0; } }

.form { display: flex; flex-direction: column; gap: 20px; background: var(--surface); border: 1px solid var(--line); padding: 34px 36px 38px; }
.form__hp { position: absolute; left: -9999px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__label { font-size: 13px; color: var(--text-dim); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
	width: 100%; min-height: 54px; padding: 15px 18px;
	font-family: inherit; font-size: 15px; color: var(--text);
	background: transparent; border: 1px solid var(--line-2); border-radius: 0;
	transition: border-color 160ms var(--ease);
}
.form textarea { min-height: 110px; resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(100% - 20px) 24px, calc(100% - 14px) 24px; background-size: 6px 6px; background-repeat: no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); outline: none; }
.form .has-error input, .form .has-error textarea, .form .has-error select { border-color: #E0674B; }
.form__error { font-size: 13px; color: #E0674B; }

.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 50px; padding: 14px 20px; font-size: 15px; font-weight: 600; color: var(--text-muted); border: 1px solid var(--line-2); cursor: pointer; transition: all 160ms var(--ease); }
.choice input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }

.form__consent { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; line-height: 1.55; color: var(--text-dim); }
.form__consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.form__status { font-size: 14px; margin: 0; min-height: 1.4em; }
.form__status.is-error { color: #E0674B; }
.form__status.is-success { color: var(--accent); }
.form.is-sending { opacity: 0.6; pointer-events: none; }

.form-notes ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--text-muted); }
.form-notes li::before { content: "· "; color: var(--accent); }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 600; }

/* --- CTA band ------------------------------------------------------------ */

.cta-band { background: var(--accent); color: var(--ink); padding: 60px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta-band .display { color: var(--ink); }
.cta-band p { color: #2A3B2C; margin: 12px 0 0; max-width: 60ch; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cta-band__contact { font-size: 14px; font-weight: 600; }
.cta-band__contact a { color: #2A3B2C; }
@media (max-width: 900px) { .cta-band__inner { flex-direction: column; align-items: flex-start; } .cta-band__actions { align-items: stretch; width: 100%; } }

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

.site-footer { border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 60px var(--gutter) 44px; max-width: var(--max); margin: 0 auto; }
.site-footer__logo { font-family: var(--font-display); font-size: 26px; }
.site-footer__intro { font-size: 14px; line-height: 1.6; color: var(--text-dim); margin: 16px 0; }
.site-footer__title { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer__col a, .site-footer__col li { font-size: 14px; color: var(--text-muted); }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px var(--gutter); border-top: 1px solid var(--line); max-width: var(--max); margin: 0 auto; font-size: 12px; color: var(--text-faint); }
.site-footer__bar ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-footer__bar a { color: var(--text-faint); }
.site-footer__consent { font: inherit; color: var(--text-faint); background: none; border: 0; padding: 0; cursor: pointer; }
.site-footer__consent:hover { color: var(--text); }
/* Complianz's banner is white with a lime button, where the theme's lime focus ring disappears. */
.cmplz-cookiebanner :focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (max-width: 900px) {
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__bar { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   Scroll motion
   ========================================================================= */

/* Reading-progress bar. */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--accent); z-index: 90; transform: scaleX(0); transform-origin: left center; pointer-events: none; }

/* Header condenses on scroll, and steps out of the way when scrolling down. */
.site-header { transition: transform 320ms var(--ease), background-color 320ms var(--ease), box-shadow 320ms var(--ease); }
.site-header.is-scrolled { background: rgba(14, 20, 16, 0.92); backdrop-filter: blur(12px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-hidden .mobile-nav { display: none; }

/* Generic reveal. --delay staggers siblings. */
html.has-js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--reveal) var(--ease) var(--delay, 0ms), transform var(--reveal) var(--ease) var(--delay, 0ms); }
html.has-js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* Display headings wipe up from behind a mask. */
html.has-js [data-reveal-mask] { display: block; clip-path: inset(-22% -10% 110% -10%); transform: translateY(0.12em); transition: clip-path var(--reveal-mask) var(--ease) var(--delay, 0ms), transform var(--reveal-mask) var(--ease) var(--delay, 0ms); }
html.has-js [data-reveal-mask].is-revealed { clip-path: inset(-25% -10% -22% -10%); transform: none; }

/* Media panes drift against the scroll and settle. */
.is-parallax { overflow: hidden; }
.is-parallax img { transform: scale(1.14); }

/* Section backgrounds that slide up over the preceding one. */

@media (prefers-reduced-motion: reduce) {
	.scroll-progress { display: none; }
	.range__fill, .walkaround__progress { transform: scaleX(1); }
	.site-header.is-hidden { transform: none; }
	[data-reveal], [data-reveal-mask] { opacity: 1; transform: none; clip-path: none; transition: none; }
	[data-parallax] > img { transform: none; }
}


@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
	[data-reveal] { opacity: 1; transform: none; }
	.walkaround { height: auto; }
	.walkaround__sticky { position: static; }
}


/* --- Contact Form 7 ------------------------------------------------------- */

/* CF7 emits its own markup, so map it onto the theme's field styling. */
.form--cf7 .wpcf7-form p { margin: 0 0 18px; }
.form--cf7 label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-dim); }
.form--cf7 input[type="text"], .form--cf7 input[type="email"], .form--cf7 input[type="tel"],
.form--cf7 input[type="url"], .form--cf7 input[type="date"], .form--cf7 input[type="number"],
.form--cf7 select, .form--cf7 textarea {
	width: 100%; min-height: 54px; padding: 15px 18px;
	font-family: inherit; font-size: 15px; color: var(--text);
	background: transparent; border: 1px solid var(--line-2); border-radius: 0;
	transition: border-color 160ms var(--ease);
}
.form--cf7 textarea { min-height: 130px; resize: vertical; }
.form--cf7 input:focus, .form--cf7 select:focus, .form--cf7 textarea:focus { border-color: var(--accent); outline: none; }
.form--cf7 input::placeholder, .form--cf7 textarea::placeholder { color: var(--text-faint); }

/* Radio and checkbox groups render as segmented buttons, matching the rest of the
   site. The consent box is deliberately excluded — it must stay a real checkbox. */
.form--cf7 .wpcf7-radio,
.form--cf7 .wpcf7-checkbox:not(.wpcf7-acceptance) { display: flex; flex-wrap: wrap; gap: 10px; }
.form--cf7 .wpcf7-radio .wpcf7-list-item,
.form--cf7 .wpcf7-checkbox:not(.wpcf7-acceptance) .wpcf7-list-item { margin: 0; }
.form--cf7 .wpcf7-radio .wpcf7-list-item label,
.form--cf7 .wpcf7-checkbox:not(.wpcf7-acceptance) .wpcf7-list-item label { display: block; cursor: pointer; }
.form--cf7 .wpcf7-radio input,
.form--cf7 .wpcf7-checkbox:not(.wpcf7-acceptance) input { position: absolute; opacity: 0; width: 0; height: 0; }
.form--cf7 .wpcf7-radio .wpcf7-list-item-label,
.form--cf7 .wpcf7-checkbox:not(.wpcf7-acceptance) .wpcf7-list-item-label {
	display: inline-flex; align-items: center; min-height: 50px; padding: 14px 20px;
	font-size: 15px; font-weight: 600; color: var(--text-muted);
	border: 1px solid var(--line-2); transition: background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}
.form--cf7 .wpcf7-radio .wpcf7-list-item-label:hover,
.form--cf7 .wpcf7-checkbox:not(.wpcf7-acceptance) .wpcf7-list-item-label:hover { border-color: var(--accent); color: var(--text); }
.form--cf7 .wpcf7-list-item label:has(input:checked) .wpcf7-list-item-label {
	background: var(--accent); border-color: var(--accent); color: var(--ink);
}
.form--cf7 .wpcf7-list-item label:has(input:focus-visible) .wpcf7-list-item-label { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Consent stays an ordinary checkbox beside its sentence. */
.form--cf7 .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.form--cf7 .wpcf7-acceptance label { flex-direction: row; align-items: flex-start; gap: 12px; cursor: pointer; }
.form--cf7 .wpcf7-acceptance input[type="checkbox"] { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.form--cf7 .wpcf7-acceptance .wpcf7-list-item-label { font-size: 13px; line-height: 1.55; color: var(--text-dim); }

.form--cf7 .wpcf7-submit {
	width: 100%; min-height: 56px; padding: 18px 32px; margin-top: 6px;
	font-size: 16px; font-weight: 700; font-family: inherit;
	background: var(--accent); color: var(--ink); border: 0; cursor: pointer;
	transition: background 180ms var(--ease);
}
.form--cf7 .wpcf7-submit:hover { background: var(--accent-soft); }

.form--cf7 .wpcf7-not-valid-tip { font-size: 13px; color: #E0674B; }
.form--cf7 .wpcf7-not-valid { border-color: #E0674B; }
.form--cf7 .wpcf7-response-output { margin: 18px 0 0; padding: 14px 18px; font-size: 14px; border: 1px solid var(--line-2); color: var(--text-muted); }
.form--cf7 .wpcf7 form.sent .wpcf7-response-output { border-color: var(--accent); color: var(--accent); }
.form--cf7 .wpcf7 form.invalid .wpcf7-response-output,
.form--cf7 .wpcf7 form.failed .wpcf7-response-output { border-color: #E0674B; color: #E0674B; }
.form--cf7 .wpcf7-spinner { background-color: var(--line-2); }

/* Read-only summary fields carry the configurator's selection into the form. */
.form--cf7 input[readonly] {
	background: var(--surface-2);
	border-color: var(--line);
	color: var(--accent);
	font-weight: 600;
	cursor: default;
}
.form--cf7 input[readonly]:focus { border-color: var(--line); }
