/*
Theme Name: Expovanta
Theme URI: https://www.expovanta.com
Author: Grinell Studio
Description: Theme for Expovanta, turnkey trade show stands. Projects with 3D model ↔ render comparison, AI metrics page, concept request form, English, Spanish and Portuguese via Polylang.
Version: 1.0.2
Requires at least: 6.4
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: expovanta
*/

/* ---------- Fonts ---------- */
@font-face { font-family: "Bricolage"; font-style: normal; font-display: swap; font-weight: 200 800;
	src: url(assets/fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage"; font-style: normal; font-display: swap; font-weight: 200 800;
	src: url(assets/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900;
	src: url(assets/fonts/figtree-latin-wght-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900;
	src: url(assets/fonts/figtree-latin-ext-wght-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
	--ink: #0E1A29;
	--ink-2: #18283B;
	--signal: #D7DF21;
	--hall: #E8EAE3;
	--white: #FFFFFF;
	--steel: #4E5A66;
	--line: #CBD0C6;
	--line-dark: #2B3B4F;
	--f-display: "Bricolage", "Figtree", system-ui, sans-serif;
	--f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1320px;
	--gut: clamp(20px, 4vw, 48px);
	--r: 6px;
	--sec: clamp(72px, 10vw, 144px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--hall); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 640; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.ai :focus-visible, .site-foot :focus-visible, .process :focus-visible { outline-color: var(--signal); }
main { display: block; outline: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.wrap-wide { width: 100%; max-width: 1760px; margin-inline: auto; padding-inline: clamp(12px, 2vw, 28px); }
.wrap-inner { max-width: var(--wrap); margin-inline: auto; padding-inline: calc(var(--gut) - clamp(12px, 2vw, 28px)); }

/* ---------- Type ---------- */
.display { font-size: clamp(2.6rem, 6.4vw, 6.1rem); line-height: .97; letter-spacing: -.04em; font-weight: 660; max-width: 13ch; }
.display-sm { font-size: clamp(2.3rem, 5vw, 4.4rem); max-width: 18ch; }
.h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); max-width: 20ch; }
.h3 { font-size: 1.375rem; letter-spacing: -.015em; }
.lead { font-size: clamp(1.125rem, 1.4vw, 1.3rem); line-height: 1.5; max-width: 38em; color: var(--ink); }
.muted { color: var(--steel); }
.prose { max-width: 40em; }
.prose p { font-size: 1.125rem; }
.prose a { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font-weight: 650; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: #E4EB4A; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; text-decoration: none; border-bottom: 2px solid var(--signal); padding-bottom: 2px; }
.link-more:hover { border-color: var(--ink); }
.dot { display: inline-block; width: .62em; height: .62em; border-radius: 50%; background: var(--signal); flex: none; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--hall) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.site-head.is-scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: block; flex: none; }
.logo-img { width: 148px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-list { display: flex; gap: 26px; list-style: none; }
.nav-list a { text-decoration: none; font-weight: 550; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-list a:hover, .nav-list a[aria-current], .nav-list .current-menu-item > a { border-bottom-color: var(--signal); }
.nav-end { display: flex; align-items: center; gap: 18px; }
.ev-lang { display: flex; gap: 2px; list-style: none; font-size: .8125rem; font-weight: 650; letter-spacing: .02em; }
.ev-lang a { display: block; padding: 6px 7px; border-radius: 4px; text-decoration: none; color: var(--steel); }
.ev-lang a[aria-current] { color: var(--ink); background: var(--white); }
.ev-lang a:hover { color: var(--ink); }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 4px; font-weight: 650; cursor: pointer; }
.menu-btn-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 2px var(--ink); transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-btn-dot { transform: scale(1.4); }

@media (max-width: 1080px) {
	.menu-btn { display: inline-flex; position: relative; z-index: 60; }
	.site-nav { position: fixed; inset: 0; z-index: 55; flex-direction: column; align-items: flex-start; justify-content: center; gap: 40px; margin: 0; padding: 96px var(--gut) 48px; background: var(--ink); color: var(--white); visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s; }
	.site-nav.is-open { visibility: visible; opacity: 1; transition: opacity .25s; }
	.nav-list { flex-direction: column; gap: 6px; }
	.nav-list a { font-family: var(--f-display); font-size: clamp(2rem, 8vw, 3rem); font-weight: 620; letter-spacing: -.03em; }
	.nav-end { flex-wrap: wrap; }
	.ev-lang a { color: #9AA6B3; }
	.ev-lang a[aria-current] { background: var(--ink-2); color: var(--white); }
	.site-nav .btn-ink { background: var(--signal); color: var(--ink); }
	body.nav-open { overflow: hidden; }
	body.nav-open .site-head { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
	body.nav-open .menu-btn { color: var(--white); }
	body.nav-open .logo { position: relative; z-index: 60; filter: brightness(0) invert(1); }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 6vw, 88px); }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.hero-side .lead { margin-bottom: 28px; }
.hero-hint { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin: 14px clamp(0px, 1vw, 12px) 0; font-size: .9375rem; color: var(--steel); }
.hero-hint a { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .hero-top { grid-template-columns: 1fr; } }

/* ---------- Model ↔ render comparison ---------- */
.cmp { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: #D9DCD4; aspect-ratio: 16 / 9; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; isolation: isolate; }
.cmp-hero { aspect-ratio: 16 / 8; }
.cmp-layer, .cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cmp-img { object-fit: cover; pointer-events: none; }
.cmp-model { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 0 1px rgba(14, 26, 41, .15); pointer-events: none; z-index: 2; }
.cmp-dot { position: absolute; top: 50%; left: 50%; width: clamp(44px, 4.4vw, 64px); aspect-ratio: 1; border-radius: 50%; background: var(--signal); transform: translate(-50%, -50%); box-shadow: 0 6px 24px rgba(14, 26, 41, .28); transition: transform .2s var(--ease); }
.cmp-dot::before, .cmp-dot::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; transform: translateY(-50%); }
.cmp-dot::before { left: 22%; border-right-color: var(--ink); border-left-width: 0; }
.cmp-dot::after { right: 22%; border-left-color: var(--ink); border-right-width: 0; }
.cmp.is-drag .cmp-dot { transform: translate(-50%, -50%) scale(1.12); }
.cmp-tag { position: absolute; top: 16px; z-index: 3; padding: 6px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 650; pointer-events: none; background: rgba(255, 255, 255, .92); color: var(--ink); }
.cmp-tag-l { left: 16px; }
.cmp-tag-r { right: 16px; background: var(--ink); color: var(--white); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; pointer-events: none; }
.cmp:has(.cmp-range:focus-visible) .cmp-dot { box-shadow: 0 0 0 4px var(--ink), 0 0 0 7px var(--signal); }
@media (max-width: 700px) { .cmp-hero { aspect-ratio: 4 / 3; } .cmp-tag { top: 10px; font-size: .75rem; } .cmp-tag-l { left: 10px; } .cmp-tag-r { right: 10px; } }

/* ---------- Facts ---------- */
.facts { padding: clamp(48px, 6vw, 80px) 0 0; }
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 4px 24px 4px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact-big { font-family: var(--f-display); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 640; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 8px; }
.fact-txt { color: var(--steel); margin: 0; max-width: 24ch; }
@media (max-width: 900px) {
	.facts-row { grid-template-columns: 1fr 1fr; row-gap: 32px; }
	.fact:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) { .facts-row { grid-template-columns: 1fr; } .fact + .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; } }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); }
.sec-sm { padding-block: 48px; }
.sec-white { background: var(--white); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.sec-intro { color: var(--steel); margin: 0; max-width: 36em; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Cards / work grid ---------- */
.grid-work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(16px, 2vw, 28px); }
.c-7 { grid-column: span 7; }
.c-5 { grid-column: span 5; }
.c-4 { grid-column: span 4; }
.c-7 .card-media { aspect-ratio: 16 / 10; }
.c-5 .card-media { aspect-ratio: 8 / 7; }
@media (max-width: 900px) { .c-7, .c-5, .c-4 { grid-column: span 6; } .c-7 .card-media, .c-5 .card-media { aspect-ratio: 3 / 2; } }
@media (max-width: 600px) { .c-7, .c-5, .c-4 { grid-column: 1 / -1; } }

.card-link { display: block; text-decoration: none; }
.card-media { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 3 / 2; background: #D9DCD4; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card-model { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease), transform .8s var(--ease); }
.card-flag { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: var(--white); font-size: .75rem; font-weight: 650; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s var(--ease); }
.card-flag.is-built { opacity: 1; transform: none; background: var(--signal); }
.card-title { font-size: 1.375rem; letter-spacing: -.02em; margin: 16px 0 2px; }
.card-meta { color: var(--steel); margin: 0; font-size: .9375rem; }
@media (hover: hover) {
	.card-link:hover .card-img, .card-link:focus-visible .card-img { transform: scale(1.025); }
	.card-link:hover .card-model, .card-link:focus-visible .card-model { opacity: 1; }
	.card-link:hover .card-flag, .card-link:focus-visible .card-flag { opacity: 1; transform: none; }
	.card-link:hover .card-title { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 3px; text-underline-offset: .18em; }
}

.grid-all { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; padding-bottom: var(--sec); }
.grid-all .card[hidden] { display: none; }
@media (max-width: 1100px) { .grid-all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-all { grid-template-columns: 1fr; } }

.page-head { padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(36px, 4vw, 56px); }
.page-head .lead { margin-top: 20px; }
.page-body { padding-bottom: var(--sec); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip-btn { border: 1.5px solid var(--line); background: transparent; border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: .9375rem; cursor: pointer; transition: background-color .2s, border-color .2s; }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* ---------- Services ---------- */
.services { padding-top: 0; }
.srv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 32px; padding-top: var(--sec); position: relative; }
.srv-grid::before, .results::before, .foot-base::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); border-top: 1px solid var(--line); }
.srv-head { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 8px; }
.srv .h3 { padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px solid var(--ink); }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 1.5px var(--ink); }
.ticks-light li::before { box-shadow: none; }
.ticks-cols { grid-template-columns: 1fr 1fr; column-gap: 24px; }
@media (max-width: 1000px) { .srv-grid { grid-template-columns: 1fr 1fr; } .srv-head { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .srv-grid { grid-template-columns: 1fr; } .ticks-cols { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { background: var(--white); }
.process .h2 { margin-bottom: clamp(40px, 5vw, 72px); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; position: relative; counter-reset: none; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); }
.steps::before { content: ""; position: absolute; left: 22px; right: 0; top: 22px; height: 2px; background: var(--ink); }
.step { position: relative; }
.step-n { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--signal); color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; margin-bottom: 22px; box-shadow: 0 0 0 6px var(--white); }
.sec:not(.process):not(.sec-white) .step-n { box-shadow: 0 0 0 6px var(--hall); }
.step-t { font-size: 1.1875rem; letter-spacing: -.015em; margin-bottom: 8px; }
.step p { color: var(--steel); margin: 0; font-size: 1rem; }
@media (max-width: 1000px) {
	.steps, .steps-4 { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.steps::before { display: none; }
}
@media (max-width: 560px) {
	.steps, .steps-4 { grid-template-columns: 1fr; gap: 0; }
	.steps::before { display: block; left: 22px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
	.step { display: grid; grid-template-columns: 46px 1fr; column-gap: 20px; padding-bottom: 32px; }
	.step-n { grid-row: span 2; margin: 0; }
}

/* ---------- AI ---------- */
.ai { background: var(--ink); color: var(--white); }
.ai .lead { color: #D5DBE2; }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ai-copy .h2, .ai-copy .display { margin-bottom: 24px; }
.ai-copy .ticks { margin: 28px 0; }
.ai-privacy { border-left: 3px solid var(--signal); padding-left: 16px; color: #D5DBE2; max-width: 34em; margin: 0 0 32px; }
.heat { position: relative; margin: 0; }
.heat-img { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 10; }
.heat-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.82); }
.heat-svg { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
.heat-panel { position: absolute; left: clamp(-24px, -2vw, 0px); bottom: -28px; min-width: 220px; padding: 18px 20px; border-radius: var(--r); background: var(--white); color: var(--ink); box-shadow: 0 20px 50px rgba(0, 0, 0, .3); font-size: .9375rem; }
.heat-panel p { margin: 0 0 4px; }
.heat-panel strong { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: -.02em; margin-right: 4px; }
.heat-live { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: .8125rem; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 2px var(--ink); }
.heat-hot { color: var(--steel); margin-top: 6px !important; }
.heat-ex { margin-top: 10px !important; padding-top: 8px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--steel); }
.results { position: relative; margin-top: clamp(80px, 9vw, 128px); padding-top: 48px; }
.results::before, .foot-base::before { border-color: var(--line-dark) !important; }
.res-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 32px 0 24px; }
.res dt { font-family: var(--f-display); font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 660; letter-spacing: -.04em; line-height: 1; color: var(--signal); }
.res dt sup { font-size: .35em; vertical-align: top; margin-left: 4px; color: #9AA6B3; }
.res dd { margin: 8px 0 0; color: #D5DBE2; }
.res-note { font-size: .875rem; color: #9AA6B3; max-width: 60em; margin: 0; }
@media (max-width: 900px) { .ai-grid { grid-template-columns: 1fr; } .heat { margin-bottom: 28px; } .heat-panel { left: 12px; } }
@media (max-width: 600px) { .res-row { grid-template-columns: 1fr; } }

/* AI page extras */
.ai-page { padding-top: clamp(40px, 6vw, 96px); }
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px 64px; }
.two-col .h3 { margin-bottom: 20px; }
.vs { margin-top: 72px; }
.vs .h3 { margin-bottom: 20px; }
.vs-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px; }
.vs-row p { margin: 0; padding: 24px; border-radius: var(--r); }
.vs-old { background: var(--hall); color: var(--steel); }
.vs-new { background: var(--ink); color: var(--white); font-size: 1.125rem; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 32px 64px; align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 650; font-size: 1.125rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 2px solid var(--ink); transition: background-color .2s; }
.faq details[open] summary::after { background: var(--signal); }
.faq details p { margin: 0 0 22px; color: var(--steel); max-width: 42em; }
@media (max-width: 900px) { .two-col, .faq-wrap, .vs-row { grid-template-columns: 1fr; } }

/* ---------- Built strip ---------- */
.built { padding-bottom: 0; }
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gut) 16px; scroll-padding-inline: var(--gut); scrollbar-width: thin; }
.strip-item { flex: 0 0 auto; width: clamp(260px, 30vw, 460px); margin: 0; scroll-snap-align: start; }
.strip-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
@media (min-width: 1416px) { .strip { padding-inline: calc((100vw - var(--wrap)) / 2); scroll-padding-inline: calc((100vw - var(--wrap)) / 2); } }

/* ---------- Concept / form ---------- */
.concept-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.concept-copy .h2, .concept-copy .display { margin-bottom: 20px; }
.concept-get { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 28px 0; font-weight: 650; }
.concept-get li { display: flex; align-items: center; gap: 10px; }
.concept-direct { color: var(--steel); }
.concept-direct a { color: var(--ink); font-weight: 600; }
.concept-form { background: var(--white); border-radius: var(--r); padding: clamp(24px, 3.4vw, 48px); }
.concept-page { padding-top: clamp(40px, 6vw, 96px); }
.contact-list { list-style: none; display: grid; gap: 12px; margin: 28px 0 16px; font-size: 1.125rem; font-weight: 600; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
@media (max-width: 900px) { .concept-grid { grid-template-columns: 1fr; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fld { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld-wide { grid-column: 1 / -1; }
.fld label, .fld legend { font-weight: 600; font-size: .9375rem; }
.opt { color: var(--steel); font-weight: 400; }
.fld input, .fld textarea { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r); background: #F7F8F4; padding: 13px 14px; font-size: 1rem; transition: border-color .2s, background-color .2s; }
.fld input:hover, .fld textarea:hover { border-color: #A9AFA4; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px rgba(215, 223, 33, .7); }
.fld textarea { resize: vertical; min-height: 110px; }
fieldset.sizes { border: 0; padding: 0; margin: 0; display: flex; flex-flow: row wrap; gap: 8px; }
fieldset.sizes legend { width: 100%; margin-bottom: 6px; padding: 0; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9375rem; font-weight: 550; transition: background-color .2s, border-color .2s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0; font-size: .9375rem; color: var(--steel); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.turnstile { margin: 22px 0 0; min-height: 65px; }
.req { color: #C62828; font-weight: 700; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.req-note { margin: 0; font-size: .875rem; color: var(--steel); }
.btn-signal.is-off, .btn-signal.is-off:hover { background: #D9DCD4; color: #5E6870; cursor: not-allowed; }
.btn-signal { transition: background-color .25s, color .25s, transform .2s var(--ease); }
.consent.is-invalid { color: #B3261E; }
.consent.is-invalid input { outline: 2px solid #B3261E; outline-offset: 2px; }
.consent-err { margin: -12px 0 18px 30px; color: #B3261E; font-size: .875rem; font-weight: 600; }
.consent-err[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 14px 16px; border-radius: var(--r); background: var(--hall); margin-bottom: 20px; }
.form-note.is-ok { background: var(--signal); font-weight: 600; }
.form-note.is-err { background: #FDE7E2; color: #8A1C07; font-weight: 600; }
.fld.is-invalid input { border-color: #B3261E; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Project page ---------- */
.proj-head { padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 64px); }
.crumb { margin-bottom: 20px; font-weight: 600; }
.crumb a { text-decoration: none; border-bottom: 2px solid var(--signal); }
.proj-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 72px; margin-top: 32px; align-items: start; }
.facts-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0; }
.facts-list div { padding: 12px 0; border-top: 1px solid var(--line); }
.facts-list dt { font-size: .875rem; color: var(--steel); }
.facts-list dd { margin: 2px 0 0; font-weight: 650; font-size: 1.0625rem; }
.proj-compare { margin-bottom: clamp(56px, 7vw, 96px); }
.cmp-head { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: baseline; margin-bottom: 16px; }
.cmp-head p { margin: 0; }
.views { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding: 4px 2px 8px; }
.view { flex: none; padding: 0; border: 0; background: none; border-radius: 4px; cursor: pointer; opacity: .55; transition: opacity .2s; outline-offset: 2px; }
.view img { width: 96px; height: 60px; object-fit: cover; border-radius: 4px; }
.view:hover, .view[aria-pressed="true"] { opacity: 1; }
.view[aria-pressed="true"] img { box-shadow: 0 0 0 3px var(--signal); }
.proj-gallery .h3 { margin-bottom: 20px; }
.gallery { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery li { position: relative; }
.gallery .g-wide { grid-column: 1 / -1; }
.gallery a { display: block; position: relative; overflow: hidden; border-radius: var(--r); }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.gallery .g-wide img { aspect-ratio: 16 / 9; }
.gallery a:hover img { transform: scale(1.02); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } .proj-intro { grid-template-columns: 1fr; } }
.proj-foot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px 72px; padding-block: var(--sec); align-items: start; }
.proj-cta .lead { margin: 20px 0 28px; }
.proj-next .muted { margin-bottom: 12px; font-weight: 600; }
@media (max-width: 900px) { .proj-foot { grid-template-columns: 1fr; } }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(14, 26, 41, .96); padding: 56px 64px; }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lb button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; margin-top: -24px; }
.lb-next { right: 12px; top: 50%; margin-top: -24px; }
.lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #9AA6B3; font-size: .875rem; }
@media (max-width: 600px) { .lb { padding: 64px 8px; } .lb-prev, .lb-next { top: auto; bottom: 8px; margin: 0; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #C9D1DA; padding-top: clamp(64px, 8vw, 112px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px; }
.foot-brand .logo-img { width: 168px; margin-bottom: 20px; }
.foot-brand p { max-width: 28ch; }
.foot-h { font-family: var(--f-body); font-size: .9375rem; font-weight: 650; letter-spacing: 0; color: var(--white); margin-bottom: 14px; }
.foot-list { list-style: none; display: grid; gap: 8px; }
.foot-list a { text-decoration: none; color: #C9D1DA; }
.foot-list a:hover { color: var(--white); text-decoration: underline; }
.foot-list .muted { color: #8794A1; }
.foot-social { display: grid; gap: 20px; align-content: start; }
.site-foot .ev-lang a { color: #8794A1; }
.site-foot .ev-lang a[aria-current] { background: var(--ink-2); color: var(--white); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-top: clamp(56px, 7vw, 96px); padding-block: 28px; position: relative; font-size: .875rem; color: #8794A1; }
.foot-base p { margin: 0; }
.foot-claim { font-family: var(--f-display); font-size: clamp(2rem, 5vw, 4rem); font-weight: 640; letter-spacing: -.04em; line-height: 1; color: var(--white); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.e404 { padding-bottom: var(--sec); }
.e404-dot { width: 72px; height: 72px; border-radius: 50%; background: var(--signal); margin-bottom: 32px; }
.e404 .actions { margin-top: 32px; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 24px; margin-top: 40px; }
.post-item img { border-radius: var(--r); margin-bottom: 14px; }
.post-item .h3 a { text-decoration: none; }
.post-hero { margin: 32px 0; }
.post-hero img { border-radius: var(--r); }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image img { border-radius: var(--r); }
.pagination { margin-top: 48px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.page-numbers.current { background: var(--ink); color: var(--white); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
