/* ============================================================
   Purple Kiwi AI — refreshed visual system
   Light & bright · kiwi-green hero accent · purple secondary
   Display: Bricolage Grotesque · Body: Hanken Grotesk
   ============================================================ */

:root {
  /* brand */
  --purple: #A855F7;
  --purple-deep: #7C3AED;
  --ink: #1B0833;          /* deep aubergine text */
  --ink-soft: #4a3a5e;
  --muted: #6c5f7d;

  /* accent (tweakable) — kiwi green */
  --accent: #84CC16;        /* bright fill */
  --accent-ink: #4d7c0f;    /* legible green for text on light */
  --accent-soft: #f0f9dd;   /* tint */

  /* surfaces */
  --paper: #FCFCF9;
  --panel: #ffffff;
  --panel-2: #f6f4f0;
  --line: rgba(27, 8, 51, 0.10);
  --line-strong: rgba(27, 8, 51, 0.16);

  /* type */
  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --body: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* shape + rhythm */
  --radius: 22px;
  --radius-lg: 30px;
  --radius-sm: 14px;
  --shadow: 0 22px 60px -28px rgba(27, 8, 51, 0.28);
  --shadow-sm: 0 10px 30px -18px rgba(27, 8, 51, 0.30);
  --container: 1140px;
  --pad: 104px;            /* section padding (vibe-tunable) */
  --maxh1: 5.6rem;
}

/* ---------- VIBE: Airy ---------- */
:root[data-vibe="airy"] {
  --paper: #FDFDFB;
  --panel: #ffffff;
  --panel-2: #faf9f6;
  --line: rgba(27, 8, 51, 0.07);
  --line-strong: rgba(27, 8, 51, 0.12);
  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 18px 50px -30px rgba(27, 8, 51, 0.20);
  --pad: 132px;
  --maxh1: 6.4rem;
}

/* ---------- VIBE: Bold ---------- */
:root[data-vibe="bold"] {
  --paper: #F4F1EB;
  --panel: #ffffff;
  --panel-2: #1B0833;
  --line: rgba(27, 8, 51, 0.14);
  --line-strong: rgba(27, 8, 51, 0.22);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 26px 64px -26px rgba(27, 8, 51, 0.40);
  --pad: 92px;
  --maxh1: 5.4rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--muted); }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  color: var(--ink);
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.02;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 6.4vw, var(--maxh1)); line-height: 0.98; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.22rem; line-height: 1.18; letter-spacing: -0.02em; }
h2 em { font-style: italic; color: var(--accent-ink); font-family: var(--display); }

.hl {
  color: var(--ink);
  white-space: nowrap;
  padding: 0 0.04em;
  background-image: linear-gradient(transparent 58%, color-mix(in srgb, var(--accent) 58%, transparent) 58%);
  background-repeat: no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding: var(--pad) 0; }

.skip-link {
  position: absolute; top: -100px; left: 20px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px;
}
.skip-link:focus { top: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 78px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 38px; width: auto; }
.footer-logo { height: 34px; }
.nav { display: flex; gap: 30px; align-items: center; color: var(--ink-soft); font-size: 0.97rem; font-weight: 600; }
.nav a { position: relative; padding: 4px 0; transition: color .16s ease; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); border-radius: 2px; transition: right .22s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 0.95rem; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.nav-cta span { transition: transform .18s ease; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.nav-cta:hover span { transform: translateX(3px); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 20px; color: var(--accent-ink);
  font-weight: 700; font-size: 0.8rem; white-space: nowrap;
  text-transform: uppercase; letter-spacing: 0.13em;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-family: var(--body); font-weight: 700; font-size: 1rem; cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.button span { transition: transform .18s ease; }
.button:hover span { transform: translateX(3px); }
.button-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.button-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.button-ghost { background: var(--panel); border-color: var(--line-strong); color: var(--ink); }
.button-ghost:hover { transform: translateY(-2px); border-color: var(--ink); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--pad) * 0.7); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.74fr);
  gap: 60px; align-items: center;
}
.hero-lede { margin-top: 26px; max-width: 38ch; font-size: 1.2rem; color: var(--ink-soft); line-height: 1.6; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.trust-row li {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--panel); color: var(--ink-soft); font-size: 0.85rem; font-weight: 600;
}

/* hero panel */
.hero-panel {
  position: relative; padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.panel-topline {
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  color: var(--ink-soft); font-weight: 700; font-size: 0.88rem; margin-bottom: 16px;
}
.panel-tag {
  margin-left: auto; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-soft); padding: 4px 9px; border-radius: 999px;
}
.status-dot {
  width: 9px; height: 9px; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  70% { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.pipeline-list { display: grid; gap: 10px; }
.pipeline-item {
  display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start;
  padding: 15px; border-radius: var(--radius-sm);
  background: var(--panel-2); border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.pipeline-item:hover { transform: translateX(3px); }
.pipeline-item.is-active { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.pip-num {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--panel); color: var(--accent-ink); font-family: var(--display); font-weight: 700;
  border: 1px solid var(--line);
}
.is-active .pip-num { background: var(--accent); color: #1b3206; border-color: transparent; }
.pipeline-item strong { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 700; }
.pipeline-item p { font-size: 0.9rem; line-height: 1.45; }
.metric-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.metric-strip div { padding: 15px; border-radius: var(--radius-sm); background: var(--panel-2); }
.metric-strip strong { display: block; font-family: var(--display); font-size: 1.4rem; color: var(--ink); letter-spacing: -0.03em; }
.metric-strip span { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }

/* ---------- Split / intro ---------- */
.split { display: grid; grid-template-columns: 0.86fr 1fr; gap: 64px; align-items: center; }
.split.align-top { align-items: start; }
.lead { font-size: 1.18rem; color: var(--ink-soft); line-height: 1.6; }
.intro-block { border-top: 1px solid var(--line); }
.stacked-copy { display: grid; gap: 18px; }
.stacked-copy p { font-size: 1.05rem; }

.section-heading { margin-bottom: 48px; }
.section-heading.narrow { max-width: 720px; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 18px; }
.four-col { grid-template-columns: repeat(4, 1fr); }
.card {
  display: flex; flex-direction: column;
  padding: 26px; min-height: 232px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--panel); box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: auto;
  border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-top: 26px; }
.card p { margin-top: 12px; font-size: 0.97rem; }

/* ---------- Work / SiteIQ ---------- */
.work-section { border-block: 1px solid var(--line); background: var(--panel-2); }
.work-grid { display: grid; grid-template-columns: 0.92fr 1fr; gap: 60px; align-items: center; }
.work-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 1.08rem; color: var(--ink-soft); }
.check-list { display: grid; gap: 13px; margin: 28px 0 0; }
.check-list li { position: relative; padding-left: 32px; color: var(--ink-soft); line-height: 1.5; font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.18em; width: 20px; height: 20px;
  border-radius: 7px; background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d7c0f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
}

.product-card {
  padding: 18px; border-radius: var(--radius-lg);
  background: var(--ink); color: #fff;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow);
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 6px 8px 16px; }
.browser-bar span { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,0.2); }
.browser-bar span:nth-child(1) { background: var(--purple); }
.browser-bar span:nth-child(2) { background: var(--accent); }
.browser-bar p { margin-left: 10px; color: #b6a7c4; font-size: 0.85rem; white-space: nowrap; }
.audit-score {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; border-radius: var(--radius-sm);
  background: linear-gradient(120deg, color-mix(in srgb, var(--purple) 30%, var(--ink)), color-mix(in srgb, var(--accent) 18%, var(--ink)));
  border: 1px solid rgba(255,255,255,0.10);
}
.audit-score-text span { display: block; color: #e7dcf2; font-weight: 700; font-size: 0.92rem; }
.audit-score-text em { font-style: normal; color: #c3b4d3; font-size: 0.82rem; }
.score-num { display: flex; align-items: baseline; gap: 4px; }
.score-num strong { font-family: var(--display); font-size: 3.6rem; line-height: 0.8; letter-spacing: -0.04em; }
.score-num i { color: var(--accent); font-style: normal; font-weight: 700; }
.audit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }
.audit-grid div, .recommendation-box {
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
}
.audit-grid span, .recommendation-box span {
  display: block; color: #b0a0c1; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px;
}
.audit-grid strong { font-size: 0.95rem; line-height: 1.3; font-weight: 600; }
.recommendation-box { margin-top: 9px; }
.recommendation-box p { color: #e9e1f0; font-size: 0.92rem; line-height: 1.5; }

/* ---------- Work carousel ---------- */
.work-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; margin-bottom: 44px; flex-wrap: wrap;
}
.work-head-copy .eyebrow { margin-bottom: 14px; }
.work-pager { display: flex; align-items: center; gap: 14px; }
.work-count { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--muted); white-space: nowrap; }
.work-count b { color: var(--ink); font-weight: 700; }
.work-count i { font-style: normal; margin: 0 4px; opacity: 0.5; }
.work-arrow {
  width: 48px; height: 48px; flex: none; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; padding: 0;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, opacity .16s ease;
}
.work-arrow svg { width: 20px; height: 20px; }
.work-arrow:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--ink); }
.work-arrow:disabled { opacity: 0.32; cursor: default; }

.work-viewport {
  overflow: hidden; padding: 10px 6px; margin: -10px -6px;
  border-radius: var(--radius-lg); outline: none;
}
.work-track { display: flex; will-change: transform; }
.work-slide {
  flex: 0 0 100%; min-width: 100%;
  padding: clamp(14px, 2vw, 26px) clamp(10px, 2.4vw, 34px);
}
.work-slide .work-grid { margin: 0; }
.work-title {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.04; color: var(--ink);
}
.work-slide .work-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 1.06rem; color: var(--ink-soft); }

.placeholder-visual {
  position: relative; min-height: 340px; border-radius: var(--radius-lg);
  border: 1.5px dashed var(--line-strong); background-color: var(--panel);
  background-image: repeating-linear-gradient(135deg,
    color-mix(in srgb, var(--ink) 5%, transparent) 0 11px, transparent 11px 22px);
  display: grid; place-items: center;
}
.ph-label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.74rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  background: var(--panel); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line);
}

.work-dots { display: flex; gap: 9px; justify-content: center; margin-top: 30px; }
.work-dot {
  width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0;
  background: var(--line-strong); cursor: pointer;
  transition: width .22s ease, background .22s ease;
}
.work-dot.is-active { width: 28px; background: var(--accent-ink); }

/* Launch Bundle (Lakou) layered preview */
.kit-stack { position: relative; min-height: 470px; }
.kit-glow {
  position: absolute; right: -4%; bottom: -6%; width: 56%; height: 56%; z-index: 0;
  border-radius: 999px; filter: blur(8px);
  background: radial-gradient(circle at 55% 45%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 70%);
}
.kit-cover {
  position: absolute; top: 0; right: 1%; width: 63%; z-index: 1;
  display: flex; flex-direction: column; gap: 11px; padding: 26px 24px;
  background: var(--ink); color: #fff; border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(3deg);
}
.kit-kicker { font-family: ui-monospace, Menlo, monospace; font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.kit-title { font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.05; letter-spacing: -0.02em; }
.kit-sub { color: #cabbd9; font-size: 0.85rem; line-height: 1.45; }
.kit-files { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.kit-files span { font-size: 0.69rem; font-weight: 600; color: #e7ddf0; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.13); padding: 5px 9px; border-radius: 999px; }
.kit-badge { align-self: flex-start; margin-top: 3px; font-size: 0.71rem; font-weight: 700; color: #1b3206; background: var(--accent); padding: 6px 12px; border-radius: 999px; }
.kit-road {
  position: absolute; left: 0; bottom: 0; width: 60%; z-index: 2; padding: 20px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transform: rotate(-2.5deg);
}
.kit-road-h { display: block; font-family: ui-monospace, Menlo, monospace; font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.kit-phases { display: grid; gap: 11px; }
.kit-phases li { display: flex; align-items: center; gap: 11px; }
.kit-phases b {
  display: grid; place-items: center; width: 27px; height: 27px; flex: none; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent-ink); font-family: var(--display); font-weight: 700; font-size: 0.82rem;
}
.kit-ph { display: flex; flex-direction: column; line-height: 1.1; }
.kit-ph strong { font-size: 0.94rem; color: var(--ink); font-weight: 700; }
.kit-ph em { font-style: normal; font-size: 0.71rem; color: var(--muted); margin-top: 2px; }
.kit-phases li.is-now b { background: var(--accent); color: #1b3206; }
.kit-phases li.is-now .kit-ph strong { color: var(--accent-ink); }

@media (max-width: 600px) {
  .kit-stack { min-height: 430px; }
  .kit-cover { width: 74%; transform: rotate(2deg); }
  .kit-road { width: 70%; transform: rotate(-2deg); }
}

/* ---------- Process timeline ---------- */
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--panel);
}
.timeline article { padding: 30px 26px; border-right: 1px solid var(--line); transition: background .2s ease; }
.timeline article:last-child { border-right: 0; }
.timeline article:hover { background: var(--panel-2); }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 40px;
  border-radius: 11px; background: var(--accent-soft); color: var(--accent-ink);
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
}
.timeline p { margin-top: 14px; font-size: 0.95rem; }

/* ---------- Quote ---------- */
.quote-section { padding-block: calc(var(--pad) * 0.55); }
.quote-card {
  position: relative; overflow: hidden;
  padding: clamp(40px, 7vw, 80px);
  border-radius: var(--radius-lg);
  background: var(--ink); color: #fff;
  box-shadow: var(--shadow);
}
.quote-mark {
  position: absolute; top: -0.1em; left: clamp(24px, 4vw, 54px);
  font-family: var(--display); font-size: 12rem; line-height: 1; color: var(--accent); opacity: 0.32;
}
.quote-card p {
  position: relative; z-index: 1; max-width: 22ch;
  color: #fff; font-family: var(--display); font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em;
}

/* ---------- Contact ---------- */
.contact-card {
  display: grid; grid-template-columns: 1fr 0.82fr; gap: 48px; align-items: start;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: var(--panel); box-shadow: var(--shadow);
}
.contact-copy p:not(.eyebrow) { margin-top: 18px; max-width: 42ch; color: var(--ink-soft); font-size: 1.05rem; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 22px;
  color: var(--accent-ink); font-weight: 700;
}
.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translateX(3px); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.form-group input, .form-group textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--panel-2); color: var(--ink);
  font-family: var(--body); font-size: 0.97rem; transition: border-color .18s ease, background .18s ease;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); opacity: 0.7; }
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); background: var(--panel);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group textarea { resize: vertical; min-height: 112px; }
.contact-form .button-primary { align-self: flex-start; margin-top: 4px; }
.form-success { margin: 0; font-weight: 700; color: var(--accent-ink); }

/* ---------- Footer ---------- */
.site-footer { padding: 46px 0; border-top: 1px solid var(--line); background: var(--panel-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr auto auto; gap: 32px; align-items: center; }
.footer-brand-block { display: grid; gap: 12px; }
.footer-brand-block p { font-size: 0.93rem; max-width: 34ch; }
.site-footer nav { display: flex; gap: 22px; color: var(--ink-soft); font-weight: 600; font-size: 0.93rem; }
.site-footer nav a:hover { color: var(--accent-ink); }
.footer-fine { font-size: 0.88rem; color: var(--muted); }

/* ============================================================
   BOLD vibe — dark panels for intro & advisory + heavier feel
   ============================================================ */
:root[data-vibe="bold"] body { font-weight: 500; }
:root[data-vibe="bold"] h1, :root[data-vibe="bold"] h2, :root[data-vibe="bold"] h3 { font-weight: 800; letter-spacing: -0.04em; }
:root[data-vibe="bold"] .hl { background-image: linear-gradient(transparent 52%, var(--accent) 52%); }
:root[data-vibe="bold"] .work-section { background: var(--ink); }
:root[data-vibe="bold"] .work-section h2,
:root[data-vibe="bold"] .work-copy > p:not(.eyebrow),
:root[data-vibe="bold"] .work-section .check-list li { color: #f3edf9; }
:root[data-vibe="bold"] .work-section .check-list li { color: #d9cfe6; }
:root[data-vibe="bold"] .work-section .eyebrow { color: var(--accent); }
:root[data-vibe="bold"] .work-section .work-title { color: #f3edf9; }
:root[data-vibe="bold"] .work-section .work-count { color: rgba(243,237,249,0.55); }
:root[data-vibe="bold"] .work-section .work-count b { color: #fff; }
:root[data-vibe="bold"] .work-section .work-arrow { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
:root[data-vibe="bold"] .work-section .work-arrow:hover:not(:disabled) { border-color: #fff; }
:root[data-vibe="bold"] .work-section .work-dot { background: rgba(255,255,255,0.32); }
:root[data-vibe="bold"] .work-section .work-dot.is-active { background: var(--accent); }
:root[data-vibe="bold"] .kit-cover { background: #2c1248; }
:root[data-vibe="bold"] .work-section .button-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
:root[data-vibe="bold"] .work-section .button-ghost:hover { border-color: #fff; }
:root[data-vibe="bold"] .nav-cta { background: var(--accent); color: #1b3206; }
:root[data-vibe="bold"] .button-primary { background: var(--accent); color: #1b3206; }

/* ============================================================
   AIRY vibe — strip fills, lean on whitespace
   ============================================================ */
:root[data-vibe="airy"] .work-section { background: var(--paper); }
:root[data-vibe="airy"] .card { box-shadow: none; }
:root[data-vibe="airy"] .card:hover { box-shadow: var(--shadow-sm); }
:root[data-vibe="airy"] .hl { background-image: linear-gradient(transparent 64%, color-mix(in srgb, var(--accent) 42%, transparent) 64%); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid, .split, .work-grid, .contact-card { grid-template-columns: 1fr; gap: 44px; }
  .four-col { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .timeline article:nth-child(2) { border-right: 0; }
  .timeline article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-panel { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: min(var(--container), calc(100% - 32px)); }
  :root { --pad: 72px; }
  :root[data-vibe="airy"] { --pad: 84px; }
  .hero { padding-top: 44px; }
  .nav-cta { display: none; }
  .four-col, .timeline, .audit-grid { grid-template-columns: 1fr; }
  .timeline article { border-right: 0; border-bottom: 1px solid var(--line); }
  .timeline article:last-child { border-bottom: 0; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .button { width: 100%; justify-content: center; }
  .hero-actions { gap: 12px; }
  .hl { white-space: normal; }
}

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