/* VB Web Consultant — main stylesheet
   Palette from the logo: red, black, silver, white. Type: Bricolage Grotesque + Instrument Sans. */

:root {
	--ink: #111111;
	--paper: #ffffff;
	--surface: #f2f3f5;
	--card: #ffffff;
	--text: #2a2b2e;
	--muted: #5f6368;
	--line: #d9dbdf;
	--silver: #a9adb3;
	--accent: #e0242b;
	--accent-deep: #b8141c;
	--accent-text: #c81a21;
	--black: #111111;
	--on-ink: #ffffff;
	--on-ink-muted: #c4c6ca;
	--display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
	--body: "Instrument Sans", "Segoe UI", Arial, sans-serif;
	--wrap: 1160px;
	--gutter: 20px;
	--radius: 14px;
	--header-h: 84px;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--ink: #ffffff;
		--paper: #0f0f10;
		--surface: #19191b;
		--card: #202023;
		--text: #e7e8ea;
		--muted: #a4a7ad;
		--line: #333438;
		--accent-text: #ff5a60;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--ink: #ffffff;
	--paper: #0f0f10;
	--surface: #19191b;
	--card: #202023;
	--text: #e7e8ea;
	--muted: #a4a7ad;
	--line: #333438;
	--accent-text: #ff5a60;
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--body);
	font-size: 1.0625rem;
	line-height: 1.6;
	overflow-x: hidden;
}
img, iframe, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--accent); color: #ffffff; padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 780px; }
.icon { flex: none; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 40em; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px;
	border-radius: 999px; border: 2px solid transparent;
	font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--accent); color: #ffffff; }
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--small { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }
.text-link { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 3px solid var(--silver); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.brand__img { height: 68px; width: auto; max-width: none; }
:root[data-theme="dark"] .brand__img { background: #fff; border-radius: 10px; padding: 4px 10px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand__img { background: #fff; border-radius: 10px; padding: 4px 10px; } }
@media (max-width: 480px) { .brand__img { height: 50px; } }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 800; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle__close { display: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 26px; }
.nav__list a { text-decoration: none; font-weight: 500; color: var(--text); padding: 8px 0; display: inline-block; }
.nav__list a:hover, .nav__list a[aria-current="page"], .nav__list .current-menu-item > a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.nav__item--has-sub, .nav__list--wp .menu-item-has-children { position: relative; }
.nav__sub, .nav__list--wp .sub-menu {
	position: absolute; left: -16px; top: 100%; min-width: 230px; padding: 10px 16px;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .35);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub,
.nav__list--wp .menu-item-has-children:hover .sub-menu, .nav__list--wp .menu-item-has-children:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__sub a, .nav__list--wp .sub-menu a { display: block; padding: 7px 0; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.theme-toggle__moon { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__moon { display: block; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-toggle__sun { display: none; }
	:root:not([data-theme="light"]) .theme-toggle__moon { display: block; }
}

@media (max-width: 900px) {
	.nav-toggle { display: grid; }
	.nav {
		position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--paper);
		flex-direction: column; align-items: stretch; gap: 20px; padding: 20px var(--gutter) 110px;
		overflow-y: auto; display: none;
	}
	.nav-open .nav { display: flex; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.nav-open { overflow: hidden; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list > li { border-bottom: 1px solid var(--line); }
	.nav__list a { display: block; padding: 14px 0; font-size: 1.1rem; }
	.nav__sub, .nav__list--wp .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 10px 14px; background: transparent; min-width: 0; }
	.nav__sub a, .nav__list--wp .sub-menu a { padding: 9px 0; font-size: 1rem; color: var(--muted); }
	.nav__actions { justify-content: space-between; }
}

/* Hero */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1, .slide__title { max-width: 12em; }
.slide__title { font: 800 clamp(2.3rem, 5.6vw, 4.2rem)/1.1 var(--display); letter-spacing: -0.02em; color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }

.serp { position: relative; background: #111111; color: #fff; border: 1px solid #2c2d31; border-radius: 22px; padding: 22px 22px 22px 58px; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55); overflow: hidden; }
.serp__bar { display: flex; align-items: center; gap: 10px; background: #fff; color: #111111; border-radius: 999px; padding: 12px 18px; margin: 0 0 18px -36px; font-weight: 500; min-height: 48px; white-space: nowrap; overflow: hidden; }
.serp__caret { width: 2px; height: 1.2em; background: #111111; margin-left: -6px; animation: vbwc-blink 1s steps(1) infinite; }
.serp__ranks { position: absolute; left: 22px; top: 88px; display: grid; gap: 10px; font: 700 1rem var(--display); color: #8d9096; }
.serp__ranks span { height: 68px; display: grid; place-items: center; width: 24px; }
.serp__ranks span:first-child { color: var(--accent); }
.serp__list { display: grid; gap: 10px; }
.serp__row { height: 68px; border-radius: 12px; background: rgba(255, 255, 255, .07); padding: 12px 16px; display: flex; align-items: center; animation: vbwc-drop .9s .5s cubic-bezier(.2, .8, .2, 1) both; }
.serp__row--you { background: #fff; color: #111111; box-shadow: 0 0 0 3px var(--accent); animation-name: vbwc-climb; position: relative; z-index: 1; }
.serp__body { display: grid; gap: 6px; width: 100%; }
.serp__body strong { font: 700 1.05rem/1 var(--display); }
.serp__body em { font-style: normal; font-size: .85rem; color: #c81a21; line-height: 1; }
.serp__body b { height: 10px; width: 46%; border-radius: 6px; background: rgba(255, 255, 255, .28); }
.serp__body i { height: 7px; width: 82%; border-radius: 6px; background: rgba(255, 255, 255, .13); }
.serp__body i + i { width: 64%; }
.serp__row--you .serp__body i { background: #e4e5e8; width: 70%; }
@keyframes vbwc-climb { from { transform: translateY(calc(3 * (100% + 10px))); } to { transform: none; } }
@keyframes vbwc-drop { from { transform: translateY(calc(-1 * (100% + 10px))); } to { transform: none; } }
@keyframes vbwc-blink { 50% { opacity: 0; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: clamp(20px, 3vw, 32px) 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 20px 20px 22px 0; }
.facts dt { color: var(--muted); font-size: .95rem; }
.facts dd { margin: 2px 0 0; font: 700 1.5rem/1.2 var(--display); color: var(--ink); }

/* Sections */
.section { padding: clamp(52px, 8vw, 104px) 0; }
.section--tint { background: var(--surface); }
.section__head { max-width: 44em; margin-bottom: clamp(24px, 4vw, 44px); }
.section__head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section__head--split { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; max-width: none; flex-wrap: wrap; }
.section__head--split h2 { margin: 0; }

.page-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 16em; font-size: clamp(2rem, 4.6vw, 3.4rem); }
.page-hero--small h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .95rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* Service rows */
.service-rows { border-top: 2px solid var(--ink); }
.service-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) auto; gap: 12px 32px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding-left .2s; }
.service-row__name { font: 700 clamp(1.25rem, 2.3vw, 1.75rem)/1.15 var(--display); color: var(--ink); letter-spacing: -0.01em; }
.service-row__text { color: var(--muted); }
.service-row__go { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
.service-row:hover { padding-left: 12px; }
.service-row:hover .service-row__name { color: var(--accent-text); }
.service-rows--compact .service-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); padding: 18px 0; }
.service-rows--compact .service-row__name { font-size: 1.2rem; }
@media (max-width: 760px) {
	.service-row, .service-rows--compact .service-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.service-row:hover { padding-left: 0; }
}

/* Steps (a real sequence, so numbered) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; counter-reset: step; }
.steps__item { counter-increment: step; position: relative; padding-top: 58px; }
.steps__item::before { content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #ffffff; display: grid; place-items: center; font: 800 1.1rem var(--display); }
.steps__item::after { content: ""; position: absolute; top: 20px; left: 54px; right: -16px; height: 2px; background: var(--line); }
.steps__item:last-child::after { display: none; }
.steps__item p { color: var(--muted); margin: 0; }
@media (max-width: 520px) { .steps__item::after { display: none; } }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.principle { border-top: 2px solid var(--ink); padding-top: 18px; }
.principle p { color: var(--muted); margin: 0; }

/* Includes */
.includes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 48px; margin: 0; }
.includes__item { padding: 20px 0; border-top: 1px solid var(--line); }
.includes dt { font: 700 1.15rem var(--display); color: var(--ink); margin-bottom: 4px; }
.includes dd { margin: 0; color: var(--muted); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; }
.plan:nth-child(2) { border: 2px solid var(--ink); }
.plan h3 { margin: 0; font-size: 1.5rem; }
.plan__for { color: var(--muted); margin: 0; }
.plan ul { display: grid; gap: 9px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .icon { color: var(--accent-text); margin-top: 3px; }

/* Cases and reviews (shown only when real ones exist) */
.cases, .reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.case img { border-radius: var(--radius); margin-bottom: 14px; }
.case__result { font: 700 1.2rem var(--display); color: var(--accent-text); margin: 0 0 6px; }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.review blockquote { margin: 0 0 14px; font-size: 1.1rem; }
.review figcaption span { display: block; color: var(--muted); font-size: .95rem; }

/* Logos */
.section--logos { padding: clamp(32px, 5vw, 56px) 0; border-block: 1px solid var(--line); }
.logos__title { font: 500 1rem var(--body); color: var(--muted); letter-spacing: 0; margin-bottom: 20px; }
.marquee__track li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 18px; display: grid; place-items: center; height: 72px; margin-right: 14px; flex: none; }
.marquee__track img { max-height: 44px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .8; }

/* Founder */
.founder { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.founder__img { width: 240px; height: 240px; object-fit: cover; border-radius: 22px; }
.founder__text { max-width: 40em; }
@media (max-width: 700px) { .founder { grid-template-columns: minmax(0, 1fr); } .founder__img { width: 160px; height: 160px; } }

/* Timeline (dated sequence) */
.timeline { border-left: 2px solid var(--line); margin-left: 6px; display: grid; gap: 28px; max-width: 46em; }
.timeline li { position: relative; padding-left: 28px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--paper); }
.timeline__year { font: 800 1.5rem var(--display); color: var(--ink); }
.timeline p { margin: 4px 0 0; color: var(--muted); }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 36px 28px; }
.post-card__img img { border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 14px; }
.post-card time { color: var(--muted); font-size: .9rem; }
.post-card h3 { margin: 4px 0 8px; font-size: 1.25rem; line-height: 1.25; }
.post-card h3 a { text-decoration: none; color: var(--ink); }
.post-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-card p { color: var(--muted); margin: 0; }
.pagination { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* FAQ */
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 2px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 700 1.15rem/1.3 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 500 1.6rem/1 var(--body); color: var(--accent-text); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 22px; color: var(--muted); max-width: 44em; }

/* Call to action and form */
.cta { background: #111111; color: var(--on-ink); padding: clamp(52px, 8vw, 96px) 0; }
.cta h2 { color: #fff; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.cta__text > p { color: var(--on-ink-muted); max-width: 32em; }
@media (max-width: 860px) { .cta__grid { grid-template-columns: minmax(0, 1fr); } }
.contact-list { display: grid; gap: 14px; margin-top: 26px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--accent); margin-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-list--plain .icon { color: var(--accent-text); }

.form { background: var(--card); color: var(--text); border-radius: 20px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.form input, .form select, .form textarea {
	width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
	background: var(--paper); color: var(--text); font: 400 1rem var(--body);
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.form__hp { position: absolute; left: -9999px; }
.form__note { font-size: .9rem; color: var(--muted); margin: 0; }
.form__msg { padding: 14px 16px; border-radius: 10px; font-weight: 600; margin: 0; }
.form__msg--ok { background: #dff5ef; color: #07594d; }
.form__msg--err { background: #fde5e1; color: #8c1d0f; }
.form .btn { justify-self: start; }

.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__details h2 { font-size: 1.5rem; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* Article */
.article__meta { color: var(--muted); margin: 0; }
.article__img { margin: 32px 0 0; }
.article__img img { border-radius: var(--radius); width: 100%; }
.prose { padding: 32px 0; font-size: 1.125rem; line-height: 1.7; overflow-wrap: break-word; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.4em; }
.prose h4 { font: 700 1.15rem var(--display); color: var(--ink); margin: 1.4em 0 .4em; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: 10px; height: auto; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); color: var(--ink); font-size: 1.2rem; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose pre { overflow-x: auto; background: var(--surface); padding: 16px; border-radius: 10px; }
.article__cta { background: var(--surface); border-radius: 20px; padding: 28px; margin: 12px 0 40px; }
.article__cta h2 { font-size: 1.5rem; }
.related { margin-bottom: 48px; }
.related h2 { font-size: 1.4rem; }
.related li { border-top: 1px solid var(--line); }
.related a { display: block; padding: 14px 0; text-decoration: none; font-weight: 600; color: var(--ink); }
.related a:hover { color: var(--accent-text); }
.comments { padding-bottom: 56px; }
.comments h2, .comments h3 { font-size: 1.4rem; }
.comments__list { display: grid; gap: 20px; margin-bottom: 32px; }
.comments input[type="text"], .comments input[type="email"], .comments input[type="url"], .comments textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--text); font: inherit; }
.comments input[type="submit"] { background: var(--accent); color: #ffffff; border: 0; border-radius: 999px; padding: 12px 22px; font: 600 1rem var(--body); cursor: pointer; }

/* Footer */
.site-footer { background: var(--surface); padding: clamp(40px, 6vw, 72px) 0 0; font-size: .98rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer__brand { font: 800 1.4rem var(--display); color: var(--ink); margin-bottom: 8px; }
.site-footer__title { font: 700 1rem var(--display); letter-spacing: 0; margin-bottom: 12px; }
.site-footer p, .site-footer address, .site-footer li { color: var(--muted); }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; color: var(--text); }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.site-footer address { margin-bottom: 12px; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; }
.site-footer__legal { margin-top: 40px; padding-block: 20px; border-top: 1px solid var(--line); }
.site-footer__legal p { margin: 0; font-size: .9rem; }

/* Mobile quick-contact bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
	.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1.2fr; background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 56px; text-decoration: none; font-weight: 600; color: var(--ink); font-size: .95rem; }
	.mobile-bar__main { background: var(--accent); color: #ffffff !important; }
	.site-footer__legal { padding-bottom: 84px; }
	.nav-open .mobile-bar { display: none; }
}

/* ================= Version 2: motion, 3D, video, AI ================= */

/* Scroll reveal. Uses the translate property so it never fights a 3D tilt. */
.js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* Pointer tilt */
[data-tilt] { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .25s ease-out; }
.js [data-tilt][data-reveal] { transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1), transform .25s ease-out; }

/* Hero slider */
.hero__floor {
	position: absolute; left: -10%; right: -10%; bottom: 0; height: 58%; z-index: 0; pointer-events: none;
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 56px 56px;
	transform: perspective(700px) rotateX(64deg); transform-origin: 50% 100%;
	-webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 78%); mask-image: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 78%);
	animation: vbwc-floor 6s linear infinite;
}
@keyframes vbwc-floor { to { background-position: 0 56px, 0 0; } }
.hero > .wrap { position: relative; z-index: 1; }
.hero__slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.js .slide { opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.js .slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.js .slide.is-active .slide__text > * { animation: vbwc-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.js .slide.is-active .slide__text > :nth-child(2) { animation-delay: .1s; }
.js .slide.is-active .slide__text > :nth-child(3) { animation-delay: .2s; }
.js .slide.is-active .slide__visual > * { animation: vbwc-swing .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes vbwc-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes vbwc-swing { from { opacity: 0; transform: perspective(1100px) rotateY(-28deg) translateX(60px); } to { opacity: 1; transform: perspective(1100px) rotateY(0) translateX(0); } }
@media (max-width: 900px) { .slide { grid-template-columns: minmax(0, 1fr); align-items: start; } }

.hero__controls { display: flex; align-items: center; gap: 12px; margin-top: clamp(24px, 4vw, 44px); }
.hero__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 500 1.5rem/1 var(--body); cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; transition: border-color .15s, background-color .15s, color .15s; }
.hero__arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero__dots { display: flex; gap: 8px; align-items: center; }
.hero__dots button { width: 12px; height: 12px; border-radius: 999px; border: 0; padding: 0; background: var(--silver); cursor: pointer; transition: width .3s, background-color .3s; position: relative; }
.hero__dots button::after { content: ""; position: absolute; inset: -12px -4px; }
.hero__dots button[aria-current="true"] { width: 40px; background: var(--accent); }
.hero__pause { margin-left: auto; background: none; border: 0; color: var(--muted); font: 500 .95rem var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; padding: 0 6px; }
html:not(.js) .hero__controls { display: none; }

/* 3D growth chart (echoes the logo) */
.chart3d { position: relative; height: 400px; background: #111111; border: 1px solid #2c2d31; border-radius: 22px; perspective: 900px; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55); }
.chart3d__stage { position: absolute; inset: 70px 60px 56px; display: flex; align-items: flex-end; justify-content: center; gap: 34px; transform-style: preserve-3d; transform: rotateX(-16deg) rotateY(-28deg); }
.chart3d__stage::after { content: ""; position: absolute; left: -30px; right: -30px; bottom: -26px; height: 52px; background: #1d1e21; border: 1px solid #34363b; transform: rotateX(90deg); }
.bar3d { --d: 46px; position: relative; width: var(--d); height: var(--h); transform-style: preserve-3d; transform-origin: 50% 100%; }
.bar3d i { position: absolute; display: block; }
.bar3d__front { inset: 0; background: linear-gradient(#ff4d53, #c4161d); transform: translateZ(calc(var(--d) / 2)); }
.bar3d__right { top: 0; height: 100%; width: var(--d); left: calc(100% - var(--d) / 2); background: linear-gradient(#b3131a, #7f0c11); transform: rotateY(90deg); }
.bar3d__left { top: 0; height: 100%; width: var(--d); left: calc(var(--d) / -2); background: #9d1016; transform: rotateY(-90deg); }
.bar3d__top { left: 0; width: 100%; height: var(--d); top: calc(var(--d) / -2); background: #ff8a8e; transform: rotateX(90deg); }
.slide.is-active .bar3d { animation: vbwc-grow 1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * .14s + .35s); }
@keyframes vbwc-grow { from { transform: scaleY(.02); } to { transform: scaleY(1); } }
.chart3d__arrow { position: absolute; inset: 44px 40px 70px; width: calc(100% - 80px); height: calc(100% - 114px); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.chart3d__arrow path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.slide.is-active .chart3d__arrow path { animation: vbwc-draw 1.1s ease-out 1.1s both; }
.slide.is-active .chart3d__arrow path + path { animation-duration: .4s; animation-delay: 2.1s; }
@keyframes vbwc-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.chart3d__chip { position: absolute; background: #fff; color: #111; font: 600 .85rem var(--body); padding: 7px 12px; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .8); animation: vbwc-float 5s ease-in-out infinite; }
.chart3d__chip--a { left: 22px; top: 22px; }
.chart3d__chip--b { right: 22px; bottom: 20px; animation-delay: -2.5s; }
@keyframes vbwc-float { 50% { translate: 0 -10px; } }
@media (max-width: 480px) { .chart3d { height: 320px; } .chart3d__stage { inset: 60px 30px 50px; gap: 20px; } .bar3d { --d: 36px; } }

/* 3D AI answer */
.ai3d { position: relative; display: grid; gap: 14px; padding: 26px; background: #111111; color: #fff; border: 1px solid #2c2d31; border-radius: 22px; transform-style: preserve-3d; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55); }
.ai3d p { margin: 0; }
.ai3d__ask { justify-self: end; max-width: 88%; background: #fff; color: #111; font-weight: 500; padding: 12px 16px; border-radius: 16px 16px 4px 16px; transform: translateZ(46px); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .9); }
.ai3d__answer { position: relative; display: grid; gap: 12px; padding: 20px 20px 20px 46px; background: rgba(255, 255, 255, .07); border-radius: 4px 16px 16px 16px; transform: translateZ(22px); }
.ai3d__spark { position: absolute; left: 18px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(224, 36, 43, .7); animation: vbwc-pulse 1.8s ease-out infinite; }
@keyframes vbwc-pulse { to { box-shadow: 0 0 0 14px rgba(224, 36, 43, 0); } }
.ai3d b { display: block; height: 9px; border-radius: 6px; background: rgba(255, 255, 255, .22); margin: 0 0 8px; transform-origin: 0 50%; }
.ai3d b:last-child { margin-bottom: 0; }
.ai3d b.short { width: 58%; }
.slide.is-active .ai3d b, .ai3d--live b { animation: vbwc-type .5s ease-out both; }
.ai3d p:nth-of-type(1) b:nth-child(1) { animation-delay: .6s; } .ai3d p:nth-of-type(1) b:nth-child(2) { animation-delay: .9s; } .ai3d p:nth-of-type(1) b:nth-child(3) { animation-delay: 1.2s; }
.ai3d p:nth-of-type(3) b:nth-child(1) { animation-delay: 2s; } .ai3d p:nth-of-type(3) b:nth-child(2) { animation-delay: 2.3s; }
@keyframes vbwc-type { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
.ai3d__pick { font-size: 1.05rem; color: #c4c6ca; }
.ai3d__pick strong { color: #fff; background: var(--accent); padding: 3px 10px; border-radius: 8px; font-family: var(--display); }
.slide.is-active .ai3d__pick, .ai3d--live .ai3d__pick { animation: vbwc-rise .5s ease-out 1.5s both; }
.ai3d__cites { display: flex; flex-wrap: wrap; gap: 8px; transform: translateZ(60px); }
.ai3d__cites span { font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: #26272b; color: #a4a7ad; }
.ai3d__cites .is-you { background: #fff; color: #c81a21; font-weight: 600; box-shadow: 0 0 0 2px var(--accent); }

/* Logo slider */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: vbwc-marquee 36s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__track li:hover img { filter: none; opacity: 1; }
@keyframes vbwc-marquee { to { transform: translateX(-50%); } }

/* AI band and AI page */
.ai-band, .ai-hero { position: relative; overflow: hidden; background: #111111; color: #c4c6ca; }
.ai-band { padding: clamp(56px, 8vw, 104px) 0; border-block: 1px solid #2c2d31; }
.ai-hero { padding: clamp(40px, 6vw, 84px) 0 clamp(40px, 6vw, 72px); }
.ai-band h2, .ai-band h3, .ai-hero h1 { color: #fff; }
.ai-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.ai-hero .lead { color: #c4c6ca; }
.ai-hero .crumbs, .ai-hero .crumbs a { color: #a4a7ad; }
.ai-hero .btn--ghost { color: #fff; border-color: #4a4c52; }
.ai-hero .btn--ghost:hover { border-color: #fff; }
.ai-band > .wrap, .ai-hero > .wrap { position: relative; z-index: 1; }
.ai-band__glow { position: absolute; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; right: -12%; top: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(224, 36, 43, .38), rgba(224, 36, 43, 0) 65%); animation: vbwc-drift 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes vbwc-drift { to { transform: translate(-22%, 26%) scale(1.15); } }
.ai-band__head { max-width: 44em; margin-bottom: clamp(28px, 4vw, 48px); }
.ai-band__head p { font-size: 1.1rem; margin: 0; }
.ai-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .ai-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ai-cards { grid-template-columns: minmax(0, 1fr); } }
.ai-card { position: relative; display: block; padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid #2c2d31; color: #c4c6ca; text-decoration: none; overflow: hidden; }
.ai-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, -40%), rgba(255, 255, 255, .13), transparent 70%); pointer-events: none; }
a.ai-card:hover { border-color: var(--accent); }
.ai-card h3 { margin: 18px 0 2px; font-size: 1.3rem; }
.ai-card--plain h3 { margin-top: 0; }
.ai-card__sub { color: #ff6b70; font-weight: 600; font-size: .95rem; margin: 0 0 10px; }
.ai-card p:last-child { margin: 0; }
.ai-band__more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: clamp(24px, 4vw, 40px) 0 0; }

.ai-card__shape { position: relative; display: block; width: 56px; height: 56px; perspective: 300px; }
.ai-card__shape i { position: absolute; inset: 8px; border: 2px solid var(--accent); border-radius: 8px; background: rgba(224, 36, 43, .14); transform: rotateX(62deg) rotateZ(45deg) translateZ(var(--z, 0px)); animation: vbwc-spin 9s linear infinite; }
.ai-card__shape i:nth-child(2) { --z: 11px; border-color: #ff8a8e; }
.ai-card__shape i:nth-child(3) { --z: 22px; border-color: #fff; background: rgba(255, 255, 255, .1); }
.ai-card__shape--1 i { border-radius: 50%; animation-duration: 12s; }
.ai-card__shape--2 i { border-radius: 2px 18px; animation-direction: reverse; }
.ai-card__shape--3 i { border-radius: 50% 8px; animation-duration: 7s; }
@keyframes vbwc-spin { to { transform: rotateX(62deg) rotateZ(405deg) translateZ(var(--z, 0px)); } }

.ai-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .ai-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ai-grid { grid-template-columns: minmax(0, 1fr); } }
.ai-tile { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 24px 40px -34px rgba(0, 0, 0, .5); }
.ai-tile:hover { border-color: var(--accent); }
.ai-tile h3 { margin: 16px 0 2px; }
.ai-tile .ai-card__sub { color: var(--accent-text); }
.ai-tile .ai-card__shape i:nth-child(3) { border-color: var(--ink); background: transparent; }
.ai-tile > p { color: var(--muted); }
.ai-tile ul { display: grid; gap: 8px; font-size: .97rem; }
.ai-tile li { display: flex; gap: 8px; align-items: flex-start; }
.ai-tile li .icon { color: var(--accent-text); margin-top: 3px; width: 18px; height: 18px; }
.ai-tools { margin-top: clamp(32px, 5vw, 56px); }
.ai-tools h3 { font-size: 1.1rem; }
.ai-tools ul { display: flex; flex-wrap: wrap; gap: 10px; }
.ai-tools li { padding: 8px 16px; border-radius: 999px; border: 1px solid #3a3c41; color: #fff; font-size: .95rem; }

/* Service page illustrations */
.page-hero--media .page-hero__grid, .ai-hero .page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.media-frame { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 14px; box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .45); }
.media-frame img { width: 100%; height: auto; border-radius: 12px; }
.media-frame--hero img { animation: vbwc-float 6s ease-in-out infinite; }
.media-frame--small { width: 200px; flex: none; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.split__media { position: sticky; top: calc(var(--header-h) + 24px); }
.includes--single { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 36px; }
.section__head--media { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; }
@media (max-width: 860px) {
	.page-hero--media .page-hero__grid, .ai-hero .page-hero__grid, .split { grid-template-columns: minmax(0, 1fr); }
	.split__media { position: static; max-width: 420px; }
	.media-frame--hero { max-width: 420px; }
	.media-frame--small { width: 120px; }
}

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #111111; box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .6); }
.video video, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #111111; cursor: pointer; }
.video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s, scale .4s; }
.video__play:hover img { opacity: 1; scale: 1.04; }
.video__btn { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(224, 36, 43, .6); animation: vbwc-ring 2s ease-out infinite; }
.video__btn::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
@keyframes vbwc-ring { to { box-shadow: 0 0 0 22px rgba(224, 36, 43, 0); } }
.intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.intro__text p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 860px) { .intro { grid-template-columns: minmax(0, 1fr); } }

/* Testimonial video slider */
.carousel { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 22px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 min(460px, 86%); scroll-snap-align: start; }
.carousel__name { margin: 14px 0 0; font: 700 1.1rem var(--display); color: var(--ink); }
.carousel__nav { display: flex; gap: 10px; }
.carousel + .reviews { margin-top: 36px; }

/* Smaller 3D touches */
.founder__frame { width: 240px; border-radius: 22px; box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .5); }
@media (max-width: 700px) { .founder__frame { width: 160px; } }
.plan { box-shadow: 0 24px 40px -34px rgba(0, 0, 0, .5); }
.steps__item::before { box-shadow: 0 10px 18px -8px rgba(224, 36, 43, .8); }
.js .steps__item::after { transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s ease .3s; }
.js .steps__item.is-in::after { transform: scaleX(1); }
.post-card__img { display: block; overflow: hidden; border-radius: var(--radius); margin-bottom: 14px; }
.post-card__img img { margin-bottom: 0; transition: scale .5s; }
.post-card:hover .post-card__img img { scale: 1.05; }

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

@media print {
	.site-header, .mobile-bar, .cta, .site-footer__social { display: none; }
}
