/* ==========================================================
   Search Asset Lab — V3.1 Home · Golden Line
   Child theme: kadence-child · Scoped under .v3-home
   Parent theme untouched. Other pages/demos unaffected.
   ========================================================== */

:root {
  --v3-ink: #111;
  --v3-paper: #fafaf7;
  --v3-yellow: #f6dc35;
  --v3-muted: #5f5a52;
}

.v3-home {
  color: var(--v3-ink);
  font-family: Georgia, "Times New Roman", serif;
}

/* Home (page 5) only: force the frozen warm paper background over the
   boxed content area; leaves all other pages untouched. */
body.page-id-5 .content-bg {
  background: var(--v3-paper);
}

/* Restore ink headings on warm paper (Kadence global heading color
   otherwise overrides them to the signal yellow). */
.v3-home .v3-hero-h1,
.v3-home .v3-framework-h2,
.v3-home .v3-research-h2 {
  color: var(--v3-ink);
}

/* Home page logo: ink text + small yellow brand mark (V3.1 master).
   Only the home page (page-id-5); header height/nav/mobile menu unchanged. */
body.page-id-5 .site-branding .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
body.page-id-5 .site-branding .site-title {
  color: var(--v3-ink);
}
body.page-id-5 .site-branding .brand::after {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--v3-yellow);
}

/* ---- shared label ---- */
.v3-home .v3-eyebrow {
  margin: 0;
  color: var(--v3-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.v3-home .v3-eyebrow-yellow { color: var(--v3-yellow); }

/* ---- headings ---- */
.v3-home h1.v3-hero-h1,
.v3-home h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
  word-break: normal;
}
.v3-home h1.v3-hero-h1 {
  margin: 22px 0 30px;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.055em;
}
.v3-home h2 {
  margin: 18px 0 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
}

/* ---- hero ---- */
.v3-home .v3-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 128px) 24px 0;
}
.v3-home .v3-hero > .wp-block-group__inner-container > .v3-eyebrow,
.v3-home .v3-hero > .wp-block-group__inner-container > .v3-hero-lead,
.v3-home .v3-hero > .wp-block-group__inner-container > .v3-hero-premise,
.v3-home .v3-hero > .wp-block-group__inner-container > .v3-hero-actions,
.v3-home .v3-hero > .wp-block-group__inner-container > .v3-hero-rule {
  margin-left: 0;
  margin-right: 0;
}
.v3-home .v3-hero-lead {
  max-width: 680px;
  margin: 0;
  color: #413b35;
  font-size: clamp(21px, 2vw, 24px);
  line-height: 1.45;
}
.v3-home .v3-hero-premise {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--v3-muted);
  font-size: 17px;
  line-height: 1.6;
}
.v3-home .v3-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin: 44px 0 0;
}
.v3-home .v3-hero-rule {
  width: 30%;
  max-width: 100%;
  margin-top: clamp(48px, 7vw, 84px);
  background: var(--v3-yellow);
}

/* ---- CTA ---- */
.v3-home .v3-cta {
  display: inline-flex;
  align-items: center;
  padding: 16px 22px;
  color: #111;
  background: var(--v3-yellow);
  border: 1px solid #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.v3-home .v3-cta-text {
  display: inline-block;
  color: var(--v3-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ---- flagship (the only large dark area) ---- */
.v3-home .v3-flagship-section {
  margin-top: clamp(64px, 9vw, 120px);
  padding: clamp(48px, 6vw, 72px) 24px;
  color: #f4f1e8;
  background: #111;
}
.v3-home .v3-flagship-section > .wp-block-group__inner-container {
  max-width: 1180px;
  margin: 0 auto;
}
.v3-home .v3-flagship-h2 {
  max-width: 900px;
  margin: 20px 0 30px;
  color: var(--v3-yellow);
}
.v3-home .v3-flagship-summary {
  max-width: 680px;
  margin: 0 0 40px;
  color: #c9c0b5;
  font-size: 19px;
  line-height: 1.65;
}
.v3-home .v3-flagship-actions { margin: 0; }

/* ---- framework ---- */
.v3-home .v3-framework-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) 24px;
}
.v3-home .v3-framework-columns {
  gap: clamp(40px, 6vw, 90px);
  margin: 0;
}
.v3-home .v3-framework-columns > .wp-block-column {
  min-width: 0;
}
.v3-home .v3-framework-columns .v3-framework-left { flex: 0.9 1 0; }
.v3-home .v3-framework-columns .v3-framework-right { flex: 1.1 1 0; }

/* ---- questions ---- */
.v3-home .v3-questions { margin: 0; }
.v3-home .v3-question {
  padding: 22px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.v3-home .v3-question:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.15); }
.v3-home .v3-question > .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
}
.v3-home .v3-question-num {
  margin: 0;
  color: var(--v3-yellow);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 900;
}
.v3-home .v3-question-text {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.v3-home .v3-framework-link { margin: 28px 0 0; }

/* ---- research ---- */
.v3-home .v3-research-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) 24px;
}
.v3-home .v3-research-body {
  max-width: 680px;
  margin: 20px 0 28px;
  color: var(--v3-muted);
  font-size: 17px;
  line-height: 1.65;
}
.v3-home .v3-research-link { margin: 0; }

/* ---- focus-visible (no outline:none anywhere) ---- */
.v3-home a:focus-visible,
.main-navigation .primary-menu-container a:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--v3-ink);
  outline-offset: 2px;
}
.v3-home .v3-flagship-section a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--v3-yellow);
}

/* ---- mobile nav tap target (>=44px on touch) ---- */
@media (max-width: 620px) {
  .main-navigation .primary-menu-container > ul > li > a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .v3-home .v3-framework-columns {
    flex-direction: column;
    gap: 40px;
  }
  .v3-home .v3-framework-columns .v3-framework-left,
  .v3-home .v3-framework-columns .v3-framework-right { flex: 1 1 0; }
}
@media (max-width: 620px) {
  .v3-home .v3-hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .v3-home .v3-flagship-section,
  .v3-home .v3-framework-section,
  .v3-home .v3-research-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .v3-home .v3-question > .wp-block-group__inner-container {
    grid-template-columns: 40px minmax(0, 1fr);
  }
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
