/* Home page sections: hero, problem, outcomes, how we work, industries, Why Hazelrod, About AI. */

/* Hero: centered promise, then the product, standing on the ground line */
.hero { position: relative; overflow: hidden; padding-top: var(--space-64); }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-kicker { margin: 0 0 var(--space-24); padding: var(--space-8) var(--space-16); border-radius: 999px; background: var(--color-ink-raised); font-size: var(--text-14); color: var(--text-secondary); }
.hero h1 { max-width: 28ch; font-size: clamp(var(--text-48), 5.6vw, 4.75rem); }
.industry-hero h1 { max-width: 22ch; }
.hero-lede { max-width: 38rem; margin: var(--space-32) 0 var(--space-48); font-size: var(--text-21); line-height: 1.55; color: var(--text-secondary); }
.hero .action-row { justify-content: center; }
.not-found .hero-copy { padding-block: var(--space-64) var(--space-96); }

/* Problem */
.problem .statement { max-width: 30ch; margin-bottom: var(--space-64); }
.symptoms .card h3 { font-size: var(--text-21); }
.statement-note { margin-top: var(--space-64); }
.problem-questions { margin-top: var(--space-96); }

/* Outcomes and trust use the same four-up card rhythm */
.outcome-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.outcome-grid .card { min-height: 15rem; }
.trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* How we work */
.how .section-head { margin-bottom: var(--space-96); }

/* Industries */
.industry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.industry-grid .card { min-height: 19rem; }
.card-detail-top { font-size: var(--text-12); color: var(--text-muted); }
.industries-other { margin: var(--space-32) 0 0; color: var(--text-secondary); }

/* About AI: the approved text beside what AI is good at and where it falls short */
.about-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-96); align-items: start; }
.about-copy p { margin: 0 0 var(--space-24); max-width: 38rem; font-size: var(--text-18); line-height: 1.65; color: var(--text-on-stone-secondary); }
.about-copy h2 { margin-bottom: var(--space-32); }
.about-copy .about-lede { font-family: var(--font-heading); font-weight: var(--weight-heading); font-size: var(--text-24); line-height: 1.35; color: var(--color-ink); }
.about-diagram { position: sticky; top: calc(var(--header-height) + var(--space-32)); display: flex; flex-direction: column; gap: var(--space-16); }
.lane { padding: var(--space-32); border-radius: var(--radius-card); background: color-mix(in srgb, var(--color-ink) 6%, var(--color-stone)); }
.lane-ai { background: var(--color-ink); color: var(--color-stone); }
.lane-title { margin: 0 0 var(--space-16); font-weight: var(--weight-strong); }
.lane ul { margin: 0; padding: 0; list-style: none; }
.lane li { padding: var(--space-16) 0; border-top: 1px solid var(--rule-on-stone); line-height: 1.55; color: var(--text-on-stone-secondary); }
.lane li strong { display: block; margin-bottom: var(--space-4); color: var(--color-ink); }
.lane-ai li strong { color: var(--color-stone); }
.lane-ai li { border-top-color: var(--rule-on-ink); color: var(--text-secondary); }

/* Why Hazelrod: the founder's story, signed. One centered reading column, like a letter; the text stays left-aligned. */
.why .section-head, .why-details { max-width: 42rem; margin-inline: auto; }
.demo { margin: 0 0 var(--space-64); }
.demo-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-card); background: var(--color-ink); }
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-16); margin-top: var(--space-16); font-size: var(--text-14); color: var(--text-muted); }
.why-story p { margin: 0 0 var(--space-24); font-size: var(--text-18); line-height: 1.65; color: var(--text-secondary); }
.why-story .why-lede, .why-story .why-close { font-family: var(--font-heading); font-weight: var(--weight-heading); font-size: var(--text-24); line-height: 1.35; color: var(--color-stone); }
.why-story .why-close { margin-top: var(--space-32); }
.why-story .why-numbers { color: var(--color-stone); font-weight: var(--weight-strong); }
.why-pattern { margin: 0 0 var(--space-32); padding: 0; list-style: none; }
.why-pattern li { padding: var(--space-12) 0 var(--space-12) var(--space-24); border-left: 2px solid var(--color-water-lit); font-size: var(--text-18); line-height: 1.55; color: var(--color-stone); }
.why-pattern li + li { margin-top: var(--space-8); }
.signoff { margin-top: var(--space-48); padding-top: var(--space-32); border-top: 1px solid var(--rule-on-ink); }
/* The signature is the founder's name drawn as outlines, so no script font loads */
.signature { width: 340px; max-width: 100%; height: auto; }
.why-story .signoff-role { margin: var(--space-8) 0 0; font-size: var(--text-12); font-weight: var(--weight-strong); letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }

@media (max-width: 1100px) {
  .outcome-grid, .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-48); }
  .about-diagram { position: static; }
}

@media (max-width: 760px) {
  .hero { padding-top: var(--space-48); }
  .hero-kicker { font-size: var(--text-12); }
  .hero-lede { font-size: var(--text-18); margin-bottom: var(--space-32); }
  .hero .action-row { flex-direction: column; align-items: stretch; align-self: stretch; }
  .outcome-grid, .industry-grid, .trust-grid { grid-template-columns: 1fr; }
  .outcome-grid .card, .industry-grid .card { min-height: 0; }
  .problem-questions { margin-top: var(--space-64); }
}
