/*
 * cognavis — index.css
 * Homepage-specific styles
 * Version 2.4 | October 2026
 *
 * Scope: styles that apply ONLY to index.html.
 * Shared tokens, nav, footer, buttons → global.css
 *
 * CHANGED IN v2.4
 * ---------------
 * • .hero-ctas .btn-primary and .hero-ctas .btn-ghost: reduced vertical
 *   padding to 8px (was 14px / 13px from global.css), added white-space:nowrap
 *   to prevent text wrapping. Scoped to .hero-ctas so global buttons unchanged.
 * • All other rules are unchanged from v2.3.
 */

/* ─── HERO — full-bleed <img> with left text overlay ────────────────────── */

.hero-fullbleed {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-h));
  background-color: var(--cocoa);
  display: flex;
  align-items: flex-end;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(26, 9, 5, 0.80) 0%,
    rgba(26, 9, 5, 0.50) 50%,
    rgba(26, 9, 5, 0.08) 100%
  );
}

.hero-overlay-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: calc(var(--nav-h) + 80px) 56px 88px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
}

.hero-display {
  font-size: 52px;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--linen-light);
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 19px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--linen-light);
  max-width: 460px;
  margin-bottom: 40px;
}

/* CTA row — primary left, ghost pushed to far right */
.hero-ctas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 460px;
  gap: 16px;
}

/* Flat button overrides — scoped to hero only, global.css buttons unchanged */
.hero-ctas .btn-primary,
.hero-ctas .btn-ghost {
  padding: 8px 24px;
  white-space: nowrap;
}
.hero-ctas .btn-ghost {
  color: var(--linen-light);
  border-color: var(--linen-light);
}
.hero-ctas .btn-ghost:hover {
  background: var(--linen-light);
  color: var(--cocoa);
  border-color: var(--linen-light);
}

/* ─── PROMISE SECTION ────────────────────────────────────────────────────── */
.promise-h2 {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--cocoa);
  margin-bottom: 16px;
}

.promise-lead {
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  color: var(--cocoa-60);
  line-height: 1.6;
  margin-bottom: 28px;
}

.promise-body {
  font-size: 18px;
  color: var(--cocoa-60);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* ─── AUDIENCE STRIP ─────────────────────────────────────────────────────── */
.audience-strip {
  background: var(--linen);
  padding: 72px 32px;
}

.audience-h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--cocoa);
  text-align: center;
  margin-bottom: 8px;
}

.audience-lead {
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--cocoa-60);
  text-align: center;
  margin-bottom: 48px;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.audience-card {
  background: var(--linen-light);
  border: 1px solid var(--cocoa-10);
  border-radius: var(--r);
  padding: 28px 32px;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: box-shadow var(--t);
}

.audience-card:hover {
  box-shadow: 0 4px 20px rgba(26,9,5,.10);
}

.audience-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cocoa-40);
  margin-bottom: 8px;
}

.audience-card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--cocoa);
  margin-bottom: 8px;
}

.audience-card-body {
  font-size: 16px;
  color: var(--cocoa-60);
  line-height: 1.7;
}

.audience-card-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--slate);
  text-transform: uppercase;
  margin-top: 16px;
  display: inline-block;
}

/* ─── ANCHORS SECTION ────────────────────────────────────────────────────── */
.anchors-section {
  background: var(--slate-bg);
  border-top: 1px solid var(--slate-light);
  border-bottom: 1px solid var(--slate-light);
}

.anchors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.anchor-card {
  background: var(--cloud);
  border: 1px solid var(--slate-light);
  border-radius: var(--r-lg);
  padding: 24px 24px 20px;
  text-decoration: none;
  display: block;
  transition: box-shadow var(--t);
}

.anchor-card:hover {
  box-shadow: 0 4px 16px rgba(26,9,5,.08);
}

.anchor-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 6px;
}

.anchor-icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.anchor-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--cocoa);
  margin-bottom: 6px;
}

.anchor-desc {
  font-size: 14px;
  color: var(--cocoa-60);
  line-height: 1.65;
}

/* ─── BELIEFS TASTER ─────────────────────────────────────────────────────── */
.belief-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--cocoa-10);
}

.belief-item:last-child {
  border-bottom: none;
}

.belief-item .belief-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--burgundy);
  min-width: 28px;
  line-height: 1.8;
}

.belief-text {
  font-size: 17px;
  color: var(--cocoa-60);
  line-height: 1.8;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .hero-fullbleed       { min-height: 88vh; }
  .hero-overlay-inner   { padding: calc(var(--nav-h) + 48px) 24px 64px; max-width: 100%; }
  .hero-display         { font-size: 30px; }
  .hero-lead            { font-size: 17px; }
  .hero-ctas            { justify-content: flex-start; flex-wrap: wrap; }
  .audience-grid        { grid-template-columns: 1fr; }
  .anchors-grid         { grid-template-columns: 1fr 1fr; }
  .promise-h2           { font-size: 26px; }
  .audience-strip       { padding: 56px 20px; }
}

@media (max-width: 460px) {
  .anchors-grid         { grid-template-columns: 1fr; }
}
/* ─── ANCHOR CARD — CLICKABLE VARIANT ──────────────────────────────────────────
   Applied to the Anchor 04 card on the homepage anchors grid.
   The card becomes an <a> — inherits base .anchor-card styles from index.css,
   these rules add the interactive layer.
   Added: v2.7 | October 2026
────────────────────────────────────────────────────────────────────────────── */
a.anchor-card--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
a.anchor-card--link:hover {
  border-color: var(--slate-light);
  box-shadow: 0 6px 20px rgba(26, 9, 5, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}
a.anchor-card--link:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
}
.anchor-cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r);
  background-color: var(--slate-bg);
  color: var(--slate);
  align-self: flex-start;
  transition: background-color var(--t), color var(--t);
}
a.anchor-card--link:hover .anchor-cta {
  background-color: var(--slate);
  color: var(--white);
}
