/* ------------------------------------------------------------------
   HOMESICK / static rebuild
   Cream + black + yellow, Syne display + DM Sans body
   ------------------------------------------------------------------ */

:root {
  --cream: #F5F0E8;
  --cream-dark: #EBE5D7;
  --white: #FFFFFF;
  --black: #141210;
  --ink: #1F1B17;
  --yellow: #FFD000;
  --yellow-dark: #E8BC00;
  --yellow-soft: #FFF1A8;
  --grey: #7C766C;
  --grey-deep: #4D4842;
  --border: rgba(20, 18, 16, 0.1);
  --border-strong: rgba(20, 18, 16, 0.22);
  --max: 1400px;
  --display: 'Syne', "Helvetica Neue", Arial, sans-serif;
  --sans: 'DM Sans', "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 0 rgba(20, 18, 16, 0.06), 0 24px 60px -28px rgba(20, 18, 16, 0.25);
  --shadow-yellow: 0 12px 32px -10px rgba(255, 208, 0, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--yellow); color: var(--black); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ Nav */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(245, 240, 232, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: padding 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  padding: 12px 40px;
  border-bottom-color: var(--border);
  background: rgba(245, 240, 232, 0.92);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 40px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-deep);
  padding: 10px 16px;
  border-radius: 100px;
  transition: color .2s, background .2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px;
  bottom: 6px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}
.nav-link:hover { color: var(--black); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--black); }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--black);
  color: var(--yellow);
  padding: 11px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  margin-left: 10px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--yellow);
  color: var(--black);
  box-shadow: var(--shadow-yellow);
}

.nav-toggle {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: 44px; height: 44px;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 1.5px;
  background: var(--black);
  transition: transform .25s, opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 78px; left: 0; right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 20px;
  gap: 2px;
  z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 6px;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: 0; color: var(--black); }

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

main { padding-top: 78px; }
section { padding: 96px 40px; }
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

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

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 22px;
}
.yellow-eyebrow {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0;
  color: var(--black);
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--grey-deep);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
.section-head p {
  max-width: 320px;
  font-size: 15px;
  color: var(--grey-deep);
  line-height: 1.65;
  margin: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--yellow); }
.btn-dark:hover { box-shadow: 0 14px 30px -10px rgba(20, 18, 16, 0.35); }
.btn-outline { border-color: var(--border-strong); color: var(--black); background: transparent; }
.btn-outline:hover { border-color: var(--black); background: var(--black); color: var(--cream); }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { box-shadow: var(--shadow-yellow); }

.btn-full {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-full:hover { transform: translateY(-1px); }
.btn-full-dark { background: var(--black); color: var(--yellow); }
.btn-full-dark:hover { box-shadow: 0 12px 28px -8px rgba(20, 18, 16, 0.3); }
.btn-full-outline {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--black);
}
.btn-full-outline:hover { border-color: var(--black); background: var(--black); color: var(--yellow); }
.btn-full-yellow { background: var(--yellow); color: var(--black); }
.btn-full-yellow:hover { box-shadow: var(--shadow-yellow); }

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

.hero {
  padding: clamp(70px, 9vw, 110px) 40px clamp(50px, 6vw, 80px);
  max-width: var(--max);
  margin: 0 auto;
}

.brainz-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  border: none;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
  align-self: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.brainz-badge:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-yellow);
}

.hero-headline {
  font-family: var(--display);
  font-size: clamp(54px, 8.4vw, 124px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 44px;
  color: var(--black);
}
.hero-headline em { font-style: italic; font-weight: 400; color: var(--grey-deep); }
.hero-headline .mark {
  background: var(--yellow);
  padding: 0 14px 6px;
  border-radius: 6px;
  display: inline-block;
  color: var(--black);
  box-decoration-break: clone;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.hero-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 460px;
  margin: 0;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-num {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--black);
}
.stat-badge {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  align-self: flex-start;
}
.stat-label {
  font-size: 12.5px;
  color: var(--grey);
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------------ Quiz */

.quiz-section {
  background: var(--white);
  padding: 96px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quiz-section .section-title { margin-bottom: 48px; }
.quiz-shell {
  max-width: 680px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 36px 32px;
  position: relative;
}
.quiz-shell::before {
  content: "";
  position: absolute;
  top: -1px; left: 36px; right: 36px;
  height: 3px;
  background: var(--yellow);
  border-radius: 0 0 4px 4px;
}

.quiz-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.quiz-progress-pip {
  height: 4px;
  flex: 1;
  background: rgba(20, 18, 16, 0.08);
  border-radius: 4px;
  transition: background 0.4s;
}
.quiz-progress-pip.active { background: var(--black); }
.quiz-stepcount {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
  margin: 0 0 28px;
}

.quiz-step { display: none; animation: fadeUp 0.35s ease both; }
.quiz-step.active { display: block; }
.quiz-q {
  font-family: var(--display);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 400;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
}
.quiz-hint {
  font-size: 13.5px;
  color: var(--grey);
  margin: 0 0 24px;
}
.quiz-q + .quiz-options { margin-top: 24px; }
.quiz-q + .quiz-hint + .quiz-options { margin-top: 16px; }

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz-opt {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.18s, box-shadow 0.18s;
  color: var(--black);
  font-family: var(--sans);
  background: var(--white);
  text-align: left;
  width: 100%;
}
.quiz-opt:hover {
  border-color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -14px rgba(20, 18, 16, 0.25);
}
.quiz-opt:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
.quiz-opt .opt-icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow-soft);
  border-radius: 12px;
  flex-shrink: 0;
  transition: background 0.18s;
}
.quiz-opt:hover .opt-icon { background: var(--yellow); }
.quiz-opt-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quiz-opt-label strong {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--black);
  letter-spacing: -0.005em;
}
.quiz-opt-label small {
  font-size: 13px;
  color: var(--grey);
  font-weight: 400;
}
.quiz-opt-arrow {
  font-size: 18px;
  color: var(--grey);
  opacity: 0;
  transition: opacity 0.18s, transform 0.18s, color 0.18s;
}
.quiz-opt:hover .quiz-opt-arrow {
  opacity: 1;
  transform: translateX(3px);
  color: var(--black);
}

.quiz-result {
  display: none;
  animation: fadeUp 0.4s ease both;
}
.quiz-result.active { display: block; }
.result-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.result-headline {
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 400;
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px;
}
.result-body {
  font-size: 15px;
  color: var(--grey-deep);
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 560px;
}
.result-plan {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  padding: 24px 26px;
  border-radius: 18px;
  background: var(--black);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.result-plan::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--yellow);
}
.result-plan-name {
  font-size: 12px;
  color: var(--yellow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}
.result-plan-price {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.04em;
  line-height: 1;
}
.result-plan-period {
  font-size: 13px;
  color: rgba(245, 240, 232, 0.6);
}
.result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.quiz-reset {
  background: transparent;
  border: none;
  color: var(--grey);
  font-size: 13.5px;
  cursor: pointer;
  font-family: var(--sans);
  margin-top: 24px;
  padding: 0;
  transition: color 0.2s;
}
.quiz-reset:hover { color: var(--black); }

/* ------------------------------------------------------------------ Services */

.services { padding-top: 96px; padding-bottom: 96px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
}
.svc {
  background: var(--white);
  padding: 44px 38px;
  position: relative;
  transition: background 0.25s;
  min-height: 240px;
}
.svc:hover { background: var(--cream); }
.svc-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--grey);
  text-transform: uppercase;
  margin: 0 0 24px;
}
.svc h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--black);
}
.svc p {
  font-size: 14.5px;
  color: var(--grey-deep);
  line-height: 1.7;
  max-width: 380px;
  margin: 0;
}
.svc-arrow {
  position: absolute;
  top: 32px; right: 32px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: var(--cream);
  border-radius: 100px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s, transform 0.2s, background 0.2s;
  color: var(--black);
}
.svc:hover .svc-arrow { opacity: 1; transform: scale(1); background: var(--yellow); }

/* ------------------------------------------------------------------ How */

.how { background: var(--white); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
}
.step {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  background: var(--white);
  transition: background 0.25s;
}
.step:last-child { border-right: none; }
.step:hover { background: var(--cream); }
.step-num {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow);
  background: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.step h3 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--black);
}
.step p {
  font-size: 14px;
  color: var(--grey-deep);
  line-height: 1.6;
  margin: 0;
}

/* ------------------------------------------------------------------ Pricing */

.pricing { background: var(--cream-dark); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  background: var(--border);
}
.pc {
  background: var(--white);
  padding: 40px 32px;
  position: relative;
  transition: background 0.25s;
  display: flex;
  flex-direction: column;
}
.pc:hover { background: #FAFAFA; }
.pc.featured { background: var(--black); color: var(--white); }
.pc.featured:hover { background: #1a1714; }
.pc-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 18px;
}
.pc.featured .pc-tier { color: rgba(255, 255, 255, 0.4); }
.pc-popular {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.pc-price {
  font-family: var(--display);
  font-size: 54px;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 0 0 6px;
}
.pc-price sup {
  font-size: 24px;
  vertical-align: top;
  margin-top: 14px;
  display: inline-block;
}
.pc-period { font-size: 12.5px; color: var(--grey); margin: 0 0 28px; }
.pc.featured .pc-period { color: rgba(255, 255, 255, 0.4); }
.pc-div { height: 1px; background: var(--border); margin-bottom: 26px; }
.pc.featured .pc-div { background: rgba(255, 255, 255, 0.1); }
.pc-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  flex-grow: 1;
}
.pc-feats li {
  font-size: 13.5px;
  color: var(--grey-deep);
  line-height: 1.55;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pc.featured .pc-feats li { color: rgba(255, 255, 255, 0.7); }
.pc-feats li::before {
  content: '→';
  color: var(--yellow-dark);
  flex-shrink: 0;
  font-weight: 700;
  font-size: 13px;
}
.pc.featured .pc-feats li::before { color: var(--yellow); }

.pc-reassurance {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--grey);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ------------------------------------------------------------------ Portfolio */

.portfolio { background: var(--cream); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}
.pi {
  display: flex;
  flex-direction: column;
  cursor: default;
}
.pi-media {
  position: relative;
  flex: 1;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--black);
}
.pi:nth-child(1) { grid-column: span 7; min-height: 420px; }
.pi:nth-child(2) { grid-column: span 5; min-height: 420px; }
.pi:nth-child(3) { grid-column: span 5; min-height: 230px; }
.pi:nth-child(4) { grid-column: span 7; min-height: 230px; }
.pi-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 500;
  transition: transform 0.5s ease;
}
.pi:hover .pi-bg { transform: scale(1.06); }
.pi-bg.wh { background: url('img/work-wildhybrid.jpg') center/cover no-repeat, linear-gradient(135deg, #FFD000 0%, #B89200 100%); color: var(--black); }
.pi-bg.fuel { background: url('img/work-fuel.jpg') center/cover no-repeat, linear-gradient(135deg, #4a2c1a, #1a0d05); color: var(--cream); }
.pi-bg.ugd { background: linear-gradient(rgba(8, 10, 26, 0.45), rgba(8, 10, 26, 0.55)), url('img/work-ugd.jpg') center/cover no-repeat, linear-gradient(135deg, #1f3aa3, #0a1240); color: var(--cream); }
.pi-bg.studio { background: url('img/work-studio.jpg') center/cover no-repeat, linear-gradient(135deg, #141210, #2a2722); color: var(--cream); }
.pi-bg .pi-mark { display: none; }
.pi-mark {
  font-size: clamp(56px, 8vw, 120px);
  letter-spacing: -0.04em;
}
.pi-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 18, 16, 0.82) 0%, transparent 60%);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 1;
  transition: opacity 0.3s;
}
.pi-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
}
.pi-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.02em;
}
.pi-result {
  margin: 14px 4px 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--black);
}

/* ------------------------------------------------------------------ Articles */

.articles { background: var(--white); }
.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.article-list li {
  display: block;
  border-bottom: 1px solid var(--border);
}
.article-link {
  display: grid;
  grid-template-columns: 110px 1fr 160px;
  gap: 24px;
  align-items: baseline;
  padding: 26px 0;
  text-decoration: none;
  transition: padding-left 0.2s, background 0.2s;
}
.article-link:hover {
  padding-left: 10px;
  background: linear-gradient(to right, rgba(255, 208, 0, 0.08), transparent 40%);
}
.art-arrow { font-size: 0.75em; color: var(--grey); }
.articles-more { margin-top: 22px; }
.articles-more a {
  color: var(--black);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
}
.articles-more a:hover { border-bottom-color: var(--black); }
.article-list time {
  font-size: 12px;
  font-weight: 600;
  color: var(--grey);
  letter-spacing: 0.06em;
}
.article-list h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 23px);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--black);
}
.article-list p {
  margin: 0;
  color: var(--grey);
  font-size: 12.5px;
  text-align: right;
}

/* ------------------------------------------------------------------ Enquiry */

.enquiry { background: var(--cream-dark); padding-top: 96px; padding-bottom: 96px; }
.enquiry-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.enquiry-left .section-title { margin: 0 0 20px; }
.enquiry-left p {
  font-size: 15px;
  color: var(--grey-deep);
  line-height: 1.7;
  max-width: 360px;
  margin: 0;
}

.form { display: flex; flex-direction: column; gap: 12px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form input,
.form select,
.form textarea {
  font: inherit;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--black);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(255, 208, 0, 0.35);
}
.btn-submit {
  background: var(--black);
  color: var(--yellow);
  border: none;
  padding: 16px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn-submit:hover {
  transform: translateY(-1px);
  background: var(--yellow);
  color: var(--black);
  box-shadow: var(--shadow-yellow);
}
.form-note {
  margin: 0;
  font-size: 13px;
  color: var(--grey);
  min-height: 1em;
}

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

.site-footer {
  background: var(--black);
  color: var(--cream);
  padding: 72px 40px 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: invert(1);
}
.footer-brand p {
  margin: 20px 0 0;
  max-width: 440px;
  font-size: 14px;
  color: rgba(245, 240, 232, 0.55);
  line-height: 1.7;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(245, 240, 232, 0.6);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--yellow); }
.footer-bottom {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(245, 240, 232, 0.4);
}

/* ------------------------------------------------------------------ Responsive */

@media (max-width: 1024px) {
  .site-header { padding: 14px 24px; }
  .site-header.scrolled { padding: 10px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  section { padding-left: 24px; padding-right: 24px; padding-top: 72px; padding-bottom: 72px; }
  .hero { padding-left: 24px; padding-right: 24px; }
  .quiz-section { padding-left: 24px; padding-right: 24px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero-stats { gap: 36px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(odd) { border-right: 1px solid var(--border); }
  .step:nth-child(even) { border-right: none; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--border); }
  .pricing-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 12px; }
  .pi:nth-child(n) { grid-column: span 1; min-height: 240px; }
  .enquiry-inner { grid-template-columns: 1fr; gap: 40px; }
  .row-2 { grid-template-columns: 1fr; }
  .article-link { grid-template-columns: 1fr; gap: 4px; }
  .article-list p { text-align: left; }
  .footer-inner { flex-direction: column; }
  .footer-nav { align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .quiz-shell { padding: 28px 24px 24px; }
}

@media (max-width: 560px) {
  .hero-headline { font-size: clamp(44px, 12vw, 56px); }
  .stat-num { font-size: 32px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none !important; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .site-footer { padding: 56px 24px 28px; }
  .quiz-opt { padding: 14px 14px; gap: 12px; }
  .quiz-opt .opt-icon { width: 38px; height: 38px; font-size: 18px; }
  .result-plan { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ------------------------------------------------------------------ Scroll reveal */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .reveal.in-view {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------------ Card hover micro-interactions */

@media (prefers-reduced-motion: no-preference) {
  .svc {
    transition: background 0.25s, transform 0.22s ease, box-shadow 0.22s ease;
  }
  .svc:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px -10px rgba(255, 208, 0, 0.38), 0 2px 8px -4px rgba(20, 18, 16, 0.12);
  }
  .svc:hover .svc-arrow {
    transform: scale(1) translateX(4px);
  }
  .pi {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .pi:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px -10px rgba(255, 208, 0, 0.32), 0 2px 10px -4px rgba(20, 18, 16, 0.18);
  }
}

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

/* ------------------------------------------------------------------ Motion
   Scroll reveals + hover micro-interactions (chaseai.io-inspired).
   .reveal is added by script.js, so non-JS visitors see everything. */

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal, .svc, .pc, .pi-media { transition: opacity 0.55s ease, transform 0.3s ease, box-shadow 0.3s ease; }

.svc:hover, .pc:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 208, 0, 0.16), 0 6px 18px rgba(20, 18, 16, 0.08);
}
.svc-arrow { display: inline-block; transition: transform 0.25s ease; }
.svc:hover .svc-arrow { transform: translate(4px, -2px); }
.pi:hover .pi-media {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(20, 18, 16, 0.22);
}

.hero-cursor {
  display: inline-block;
  width: 0.55em;
  height: 0.09em;
  margin-left: 0.14em;
  background: var(--yellow);
  vertical-align: baseline;
  animation: heroBlink 1.1s steps(1) infinite;
}
@keyframes heroBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ------------------------------------------------------------------ Load choreography
   Masked headline reveal, highlight sweep, staggered hero entrance.
   All states come from animation `from` frames, so reduced-motion
   (which kills animations) renders the final state instantly. */

.hl-line { display: block; overflow: hidden; padding-bottom: 0.09em; margin-bottom: -0.09em; }
.hl-inner { display: inline-block; animation: hlUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hl-line:nth-child(1) .hl-inner { animation-delay: 0.18s; }
.hl-line:nth-child(2) .hl-inner { animation-delay: 0.34s; }
@keyframes hlUp { from { transform: translateY(112%); } to { transform: none; } }

/* yellow highlighter sweeps across "On demand." after the line lands */
.hero-headline .mark { background: none; position: relative; z-index: 1; }
.hero-headline .mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--yellow);
  border-radius: 6px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: markSweep 0.6s cubic-bezier(0.65, 0, 0.35, 1) 1s both;
}
@keyframes markSweep { to { transform: scaleX(1); } }

.nav-logo-img { animation: logoPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both; }
@keyframes logoPop { from { transform: scale(0.7); opacity: 0; } to { transform: none; opacity: 1; } }

.hero .eyebrow   { animation: fadeUp 0.6s ease 0.05s both; }
.brainz-badge    { animation: fadeUp 0.6s ease 0.22s both; }
.hero-desc       { animation: fadeUp 0.6s ease 0.55s both; }
.hero-actions    { animation: fadeUp 0.6s ease 0.68s both; }
.hero-stats      { animation: fadeUp 0.7s ease 0.9s both; }

/* cursor stays hidden until the sweep finishes, then ticks */
.hero-cursor { opacity: 0; animation-delay: 1.6s; }

/* ------------------------------------------------------------------ Marquee */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--cream);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeMove 28s linear infinite;
}
.marquee-seg {
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--black);
}
.mq-star { color: var(--yellow); }
@keyframes marqueeMove { to { transform: translateX(-50%); } }
