/* ========================================================================
   HArtfull IQ consulting site — layered on colors_and_type.css
   Extends the kit with cinematic editorial patterns:
   - wide hero, dark immersive bands, signal/flow motion, audience pathways
   ========================================================================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--hiq-cream); color: var(--hiq-charcoal); overflow-x: hidden; }

img { max-width: 100%; display: block; }

/* ---- Containers --------------------------------------------------------- */
.hiq-container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.hiq-container.narrow { max-width: 960px; }
.hiq-container.read { max-width: 720px; }

/* section vertical rhythm — bound to a CSS var the Tweaks panel controls */
:root { --hiq-section-pad: 120px; }
.hiq-section { padding: var(--hiq-section-pad) 0; position: relative; }
.hiq-section.band { background: var(--hiq-cream-deep); }
.hiq-section.inverse { background: var(--hiq-charcoal); color: var(--hiq-cream); }
.hiq-section.inverse h1, .hiq-section.inverse h2,
.hiq-section.inverse h3, .hiq-section.inverse h4 { color: var(--hiq-cream); }
.hiq-section.tight { padding: 80px 0; }

/* ============================================================
   NAV — thin cream bar, lockup left, link cluster right
   ============================================================ */
.nav {
  position: relative; z-index: 50;
  padding: 22px 0;
  border-bottom: 1px solid var(--hiq-rule);
  background: var(--hiq-cream);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand img { height: 34px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-family: var(--hiq-font-sans);
  font-size: 14px; font-weight: 500; color: var(--hiq-charcoal);
  text-decoration: none;
  transition: color 180ms var(--hiq-ease);
}
.nav-links a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--hiq-slate); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  font-family: var(--hiq-font-sans);
  font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  transition: background 180ms var(--hiq-ease), color 180ms var(--hiq-ease), transform 180ms var(--hiq-ease), border-color 180ms var(--hiq-ease);
  text-decoration: none;
}
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-lg { padding: 18px 32px; font-size: 15.5px; }
.btn-primary { background: var(--hiq-gold); color: var(--hiq-charcoal); border-color: #C69A45; }
.btn-primary:hover { background: #D2A44E; }
.btn-primary:active { transform: translateY(1px); }
.btn-secondary { background: var(--hiq-charcoal); color: var(--hiq-cream); }
.btn-secondary:hover { background: #1F1F1F; }
.btn-ghost { background: transparent; color: var(--hiq-charcoal); border-color: var(--hiq-charcoal); }
.btn-ghost:hover { background: var(--hiq-charcoal); color: var(--hiq-cream); }
.btn-ghost-inverse { background: transparent; color: var(--hiq-cream); border-color: rgba(250,247,242,.35); }
.btn-ghost-inverse:hover { background: var(--hiq-cream); color: var(--hiq-charcoal); border-color: var(--hiq-cream); }

.textlink {
  font-family: var(--hiq-font-sans);
  font-size: 14.5px; font-weight: 500;
  color: var(--hiq-charcoal);
  text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: var(--hiq-slate);
  transition: text-decoration-color 180ms var(--hiq-ease);
  display: inline-flex; gap: 6px; align-items: center;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.textlink:hover { text-decoration-color: var(--hiq-charcoal); }
.textlink.on-dark { color: var(--hiq-cream); text-decoration-color: rgba(250,247,242,.45); }
.textlink.on-dark:hover { text-decoration-color: var(--hiq-cream); }

/* ============================================================
   HERO — variant A (editorial cream) & variant B (charcoal immersive)
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding-top: 100px; padding-bottom: 140px;
}
.hero.inverse { background: var(--hiq-charcoal); color: var(--hiq-cream); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px; align-items: center;
  position: relative; z-index: 2;
}
.hero-eyebrow { color: var(--hiq-slate); margin-bottom: 22px; }
.hero.inverse .hero-eyebrow { color: rgba(250,247,242,.6); }

.hero-head {
  font-family: var(--hiq-font-serif);
  font-weight: 700;
  font-size: clamp(2.75rem, 5.2vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 0 0 28px;
  max-width: 16ch;
}
.hero-head em {
  font-style: italic; font-weight: 400;
  color: var(--hiq-charcoal);
}
.hero.inverse .hero-head em { color: var(--hiq-blush); }

.hero-sub {
  font-family: var(--hiq-font-sans);
  font-size: 18px; line-height: 1.6;
  max-width: 46ch;
  color: var(--hiq-charcoal);
  margin: 0 0 36px;
}
.hero.inverse .hero-sub { color: rgba(250,247,242,.78); }

.hero-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* Signal visual — on-cream */
.hero-signal {
  position: relative;
  aspect-ratio: 1/1.05;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
}
.hero-signal svg { width: 100%; height: 100%; overflow: visible; }

/* Inverse hero: a centered, full-bleed wide layout */
.hero.inverse .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero.inverse .hero-head { max-width: 22ch; }
.hero.inverse .hero-sub { margin-left: auto; margin-right: auto; max-width: 58ch; }
.hero.inverse .hero-ctas { justify-content: center; }
.hero.inverse .hero-signal {
  position: absolute; inset: 0; margin: 0; max-width: none; width: 100%; height: 100%;
  z-index: 1; opacity: .8; pointer-events: none;
}

/* Ambient wash for inverse hero — warm blush/gold instead of neon */
.hero-wash {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-wash::before, .hero-wash::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .35;
}
.hero-wash::before {
  width: 60vw; height: 60vw; top: -20%; left: -10%;
  background: radial-gradient(circle at 40% 40%, rgba(217,165,165,.55), transparent 65%);
}
.hero-wash::after {
  width: 50vw; height: 50vw; bottom: -25%; right: -10%;
  background: radial-gradient(circle at 60% 50%, rgba(220,178,93,.35), transparent 65%);
}

/* ============================================================
   ANNOUNCEMENT STRIP — thin mono marquee of differentiators
   ============================================================ */
.strip {
  border-top: 1px solid var(--hiq-rule);
  border-bottom: 1px solid var(--hiq-rule);
  background: var(--hiq-cream);
  overflow: hidden;
}
.strip-track {
  display: flex; gap: 64px;
  padding: 18px 0;
  animation: strip-scroll 60s linear infinite;
  width: max-content;
}
.strip-item {
  font-family: var(--hiq-font-mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--hiq-slate);
  display: inline-flex; align-items: center; gap: 12px;
  white-space: nowrap;
}
.strip-item .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--hiq-gold);
}
@keyframes strip-scroll {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%,0,0); }
}

/* ============================================================
   AUDIENCE PATHWAY — three equal editorial cards
   ============================================================ */
.path-trio {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 16px;
}
.path-card {
  position: relative;
  padding: 40px 32px 36px;
  background: var(--hiq-cream-deep);
  border: 1px solid var(--hiq-border);
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 18px;
  text-decoration: none; color: inherit;
  transition: border-color 240ms var(--hiq-ease), background 240ms var(--hiq-ease), transform 240ms var(--hiq-ease);
  min-height: 100%;
}
.path-card::after {
  content: ""; position: absolute; left: 32px; right: 32px; top: 0;
  height: 2px; background: var(--hiq-gold);
  transform: scaleX(0.2); transform-origin: left;
  transition: transform 360ms var(--hiq-ease);
}
.path-card:hover { border-color: var(--hiq-charcoal); background: #EEE7D7; }
.path-card:hover::after { transform: scaleX(1); }
.path-card .path-num {
  font-family: var(--hiq-font-mono); font-size: 11px;
  letter-spacing: 0.2em; color: var(--hiq-slate);
}
.path-card h3 {
  font-family: var(--hiq-font-serif); font-weight: 700;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.2; letter-spacing: -0.005em;
  margin: 0; text-wrap: pretty;
}
.path-card p {
  margin: 0; font-size: 15px; line-height: 1.6;
  color: var(--hiq-charcoal); text-wrap: pretty;
}
.path-card .textlink { margin-top: auto; padding-top: 4px; }

/* ============================================================
   FRAMEWORKS — editorial cards with mono numbering
   ============================================================ */
.fw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fw-card {
  padding: 36px 32px 32px;
  background: var(--hiq-cream);
  border: 1px solid var(--hiq-border);
  border-radius: 4px;
  position: relative;
  transition: border-color 220ms var(--hiq-ease), box-shadow 220ms var(--hiq-ease);
  display: flex; flex-direction: column; gap: 14px;
}
.fw-card:hover { border-color: #B6AE9D; box-shadow: 0 1px 2px rgba(43,43,43,.05), 0 10px 28px rgba(43,43,43,.06); }
.fw-num {
  font-family: var(--hiq-font-mono); font-size: 11.5px;
  letter-spacing: 0.2em; color: var(--hiq-slate);
}
.fw-title {
  font-family: var(--hiq-font-serif); font-weight: 700;
  font-size: 22px; line-height: 1.18; letter-spacing: -0.005em;
  color: var(--hiq-charcoal);
}
.fw-title .tm { font-size: 12px; vertical-align: super; color: var(--hiq-slate); font-weight: 400; margin-left: 2px; }
.fw-body { font-size: 15px; line-height: 1.6; color: var(--hiq-charcoal); margin: 0; }
.fw-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto;
  padding-top: 16px; border-top: 1px solid var(--hiq-rule);
}
.fw-tags span {
  font-family: var(--hiq-font-mono); font-size: 10.5px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--hiq-slate);
}
.fw-tags span + span::before { content: "·"; margin-right: 6px; color: var(--hiq-slate); }

/* ============================================================
   PROOF — stats strip + named clients
   ============================================================ */
.proof-head { max-width: 760px; margin-bottom: 72px; }
.proof-eyebrow { margin-bottom: 14px; }
.proof-head h2 { font-family: var(--hiq-font-serif); font-weight: 700; font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.14; letter-spacing: -0.01em; margin: 0; max-width: 24ch; }

.proof-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px;
  padding-top: 40px; border-top: 1px solid var(--hiq-slate-soft);
}
.proof-stat .val {
  font-family: var(--hiq-font-mono); font-weight: 500;
  font-size: clamp(2.25rem, 3.6vw, 3rem); line-height: 1;
  letter-spacing: -0.02em; color: var(--hiq-charcoal);
}
.proof-stat .lbl {
  font-family: var(--hiq-font-sans);
  font-size: 14px; line-height: 1.5;
  color: var(--hiq-slate); margin-top: 14px; max-width: 22ch;
}
.proof-stat .hint {
  font-family: var(--hiq-font-mono); font-size: 10.5px;
  letter-spacing: 0.18em; color: var(--hiq-slate); margin-top: 6px;
}

.proof-clients {
  margin-top: 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 28px 32px; border: 1px solid var(--hiq-rule); border-radius: 4px;
  background: var(--hiq-cream);
}
.proof-clients-lbl {
  font-family: var(--hiq-font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--hiq-slate);
  flex-shrink: 0;
}
.proof-clients-list { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.proof-clients-list span {
  font-family: var(--hiq-font-serif); font-weight: 700;
  font-size: 20px; letter-spacing: -0.01em;
  color: var(--hiq-charcoal);
}

/* ============================================================
   OFFERS PREVIEW — two-column list with editorial markers
   ============================================================ */
.offers-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 72px; align-items: end; }
.offers-head h2 { font-family: var(--hiq-font-serif); font-weight: 700; font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.1; letter-spacing: -0.01em; margin: 0; max-width: 20ch; }
.offers-head p { font-size: 17px; line-height: 1.6; color: var(--hiq-charcoal); margin: 0; max-width: 42ch; }

.offer-list { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--hiq-rule); }
.offer-row {
  display: grid;
  grid-template-columns: 120px 1fr 2fr 1.1fr auto;
  align-items: start;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--hiq-rule);
  transition: background 220ms var(--hiq-ease);
}
.offer-row:hover { background: var(--hiq-cream-deep); }
.offer-idx { font-family: var(--hiq-font-mono); font-size: 12px; letter-spacing: 0.16em; color: var(--hiq-slate); padding-top: 6px; }
.offer-title { font-family: var(--hiq-font-serif); font-weight: 700; font-size: 22px; line-height: 1.2; margin: 0; }
.offer-desc { font-size: 15px; line-height: 1.6; color: var(--hiq-charcoal); margin: 0; }
.offer-for { font-family: var(--hiq-font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hiq-slate); padding-top: 6px; }
.offer-go { padding-top: 4px; }

/* ============================================================
   FOUNDER / ABOUT PREVIEW
   ============================================================ */
.founder {
  display: grid; grid-template-columns: 360px 1fr; gap: 64px;
  align-items: start;
}
.founder-photo {
  width: 360px;
  height: 360px;
  aspect-ratio: 1/1;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border-radius: 2px;
  border: none;
  padding: 0;
}
.founder h2 { font-family: var(--hiq-font-serif); font-weight: 700; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.14; margin: 14px 0 22px; max-width: 22ch; }
.founder .hiq-lede { max-width: 56ch; margin-bottom: 20px; }
.founder-sig {
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--hiq-rule);
  display: flex; gap: 32px; flex-wrap: wrap;
}
.founder-sig span {
  font-family: var(--hiq-font-mono); font-size: 11.5px;
  letter-spacing: 0.16em; color: var(--hiq-slate);
}

/* ============================================================
   INSIGHTS — editorial list (dated)
   ============================================================ */
.insights-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 48px; padding-bottom: 20px; border-bottom: 1px solid var(--hiq-rule); }
.insights-head h2 { font-family: var(--hiq-font-serif); font-weight: 700; font-size: clamp(1.75rem, 2.6vw, 2.25rem); margin: 0; }
.insights-list { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.insight {
  display: grid; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--hiq-rule);
  transition: border-color 220ms var(--hiq-ease);
}
.insight:hover { border-color: var(--hiq-charcoal); }
.insight-meta { font-family: var(--hiq-font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hiq-slate); display: flex; gap: 14px; }
.insight-title { font-family: var(--hiq-font-serif); font-weight: 700; font-size: 19px; line-height: 1.24; margin: 0; color: var(--hiq-charcoal); }
.insight-body { font-size: 14.5px; line-height: 1.6; color: var(--hiq-charcoal); margin: 0; }

/* ============================================================
   PULLQUOTE — dark immersive
   ============================================================ */
.pullquote-section { background: var(--hiq-charcoal); color: var(--hiq-cream); position: relative; overflow: hidden; }
.pullquote-section .hiq-container { position: relative; z-index: 2; }
.pullquote-section .wash {
  position: absolute; inset: 0; pointer-events: none; opacity: .28;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(217,165,165,.55), transparent 60%),
    radial-gradient(45% 55% at 80% 70%, rgba(220,178,93,.5), transparent 60%);
  filter: blur(20px);
}
.pullquote-big {
  font-family: var(--hiq-font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1.2; letter-spacing: -0.005em;
  max-width: 24ch; margin: 0;
  color: var(--hiq-cream);
}
.pullquote-attr {
  font-family: var(--hiq-font-mono); font-size: 11.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(250,247,242,.55); margin-top: 40px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  text-align: center; max-width: 720px; margin: 0 auto;
}
.final-cta .hiq-eyebrow { margin-bottom: 18px; }
.final-cta h2 { font-family: var(--hiq-font-serif); font-weight: 700; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 22px; }
.final-cta p { font-size: 17px; line-height: 1.6; margin: 0 0 36px; color: var(--hiq-charcoal); }
.final-cta .ctas { display: inline-flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.final-cta .reinforce { font-family: var(--hiq-font-mono); font-size: 11.5px; letter-spacing: 0.18em; color: var(--hiq-slate); margin-top: 28px; text-transform: uppercase; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  background: var(--hiq-cream);
  border-top: 1px solid var(--hiq-rule);
  padding: 56px 0 36px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid var(--hiq-rule);
}
.foot-col h5 { font-family: var(--hiq-font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hiq-slate); margin: 0 0 16px; font-weight: 500; }
.foot-col a { display: block; font-size: 14px; color: var(--hiq-charcoal); text-decoration: none; padding: 4px 0; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-brand img { height: 34px; margin-bottom: 14px; }
.foot-brand p { font-size: 13.5px; color: var(--hiq-slate); line-height: 1.55; max-width: 32ch; margin: 0; }
.foot-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 24px;
  font-family: var(--hiq-font-mono); font-size: 11.5px; letter-spacing: 0.14em; color: var(--hiq-slate);
}

/* ============================================================
   SECTION HEADS (shared)
   ============================================================ */
.sec-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  margin-bottom: 72px; align-items: end;
}
.sec-head.stacked { grid-template-columns: 1fr; max-width: 720px; margin-left: 0; }
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-head h2 { font-family: var(--hiq-font-serif); font-weight: 700; font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.1; letter-spacing: -0.01em; margin: 0; max-width: 22ch; }
.sec-head p { font-size: 16.5px; line-height: 1.6; color: var(--hiq-charcoal); margin: 0; max-width: 44ch; }
.inverse .sec-head p { color: rgba(250,247,242,.75); }
.eyebrow {
  font-family: var(--hiq-font-mono); font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--hiq-slate);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .eb-mark {
  width: 6px; height: 6px; border-radius: 50%; background: var(--hiq-gold); display: inline-block;
}
.eyebrow.blush .eb-mark { background: var(--hiq-blush); }
.inverse .eyebrow { color: rgba(250,247,242,.6); }

/* ============================================================
   Reveal on scroll — subtle editorial fade + y-translate
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 720ms var(--hiq-ease), transform 720ms var(--hiq-ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .strip-track { animation: none; }
}

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 960px) {
  .hiq-container { padding: 0 24px; }
  :root { --hiq-section-pad: 72px; }
  .hero { padding-top: 56px; padding-bottom: 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-signal { max-width: 420px; margin: 0 auto; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .path-trio { grid-template-columns: 1fr; }
  .fw-grid { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr 1fr; gap: 32px; }
  .proof-clients { flex-direction: column; align-items: flex-start; }
  .offers-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .offer-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .founder { grid-template-columns: 1fr; gap: 32px; }
  .founder-photo { width: 100%; height: auto; max-width: 320px; aspect-ratio: 4/5; }
  .insights-list { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links a:not(.btn) { display: none; }
}
