/**
 * Homepage-specific styles — Whylet Design System.
 * Hero, capability marquee, production route, engagement steps and contact.
 * Shared components live in components.css.
 */

/* ---------- Hero ---------- */
.hero { padding: var(--space-10) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: var(--space-9); }
.hero-copy { padding: var(--space-3) 0 var(--space-11); position: relative; z-index: 2; }
.hero h1 { font-size: var(--fs-hero); line-height: 0.9; max-width: 880px; }
.hero-lead { max-width: 600px; font-size: 18px; line-height: var(--lh-body); color: var(--muted); margin: var(--space-6) 0 var(--space-8); }
.hero-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.hero-assurance { margin-top: var(--space-4); font-size: 13px; line-height: var(--lh-body); color: var(--muted); }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 680px; margin-top: var(--space-10); border-top: 1px solid var(--line); }
.hero-meta div { padding: var(--space-4) var(--space-4) 0 0; border-right: 1px solid var(--line); }
.hero-meta div + div { padding-left: var(--space-4); }
.hero-meta div:last-child { border-right: 0; }
.hero-meta strong { display: block; font: 600 15px var(--font-display); letter-spacing: var(--tracking-heading); }
.hero-meta span { display: block; color: var(--muted); font-size: 12px; margin-top: var(--space-1); line-height: 1.4; }

.hero-art { height: 600px; position: relative; display: grid; place-items: center; }
.hero-orbit { position: absolute; width: 500px; height: 500px; border: 1px solid var(--line); border-radius: 50%; right: -60px; top: 50px; }
.hero-orbit:after { content: ""; position: absolute; inset: 58px; border: 1px dashed var(--line); border-radius: 50%; }
.pattern { width: min(420px, 88%); z-index: 2; }
.pattern svg { width: 100%; height: auto; }
.pattern .line { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.pattern .fine { fill: none; stroke: var(--accent); stroke-width: 1; }
.pattern .dash { stroke-dasharray: 4 7; }
.pattern text { font: 500 9px var(--font-mono); letter-spacing: var(--tracking-mono); fill: var(--muted); }
.pattern .particle { fill: var(--accent); opacity: 0.45; }
.hero-scan { position: absolute; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.12; }
.art-label { position: absolute; background: rgba(243, 240, 232, 0.9); backdrop-filter: blur(8px); padding: var(--space-2) var(--space-3); border: 1px solid var(--line); z-index: 3; }
.art-label.one { right: 2%; top: 18%; }
.art-label.two { left: 0; bottom: 16%; }
.art-label b { display: block; font: 500 11px var(--font-mono); letter-spacing: var(--tracking-mono); }
.art-label small { font-size: 11px; color: var(--muted); }

/* ---------- Capability marquee ---------- */
.marquee { background: var(--dark); color: var(--light); overflow: hidden; }
.marquee-track { display: flex; width: max-content; }
.marquee-item { display: flex; align-items: center; padding: var(--space-4) 0; white-space: nowrap; font: 500 11px var(--font-mono); letter-spacing: var(--tracking-mono); text-transform: uppercase; }
/* <b> would inherit bold, but IBM Plex Mono ships only weight 500 here, so the
   browser would synthesise a faux-bold separator. Pin it to the loaded weight. */
.marquee-item b { color: var(--accent-light); font-weight: 500; font-size: 15px; margin: 0 var(--space-2); }

/* ---------- Dark section treatment ---------- */
.section-dark { background: var(--dark); color: var(--light); position: relative; }
.section-dark .section-intro { color: rgba(245, 241, 231, 0.72); }
.section-dark .kicker { color: var(--accent-light); }

/* ---------- Production route ---------- */
.process-timeline { position: relative; border-top: 1px solid var(--line-dark); }
.process-track {
  position: absolute; top: -1px; left: 0;
  width: 100%; height: 2px;
  background: var(--accent-light);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease);
}
.process-timeline.active .process-track { transform: scaleX(1); }
.process-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.process-item { padding: var(--space-7) var(--space-3) var(--space-8) 0; border-right: 1px solid var(--line-dark); }
.process-item + .process-item { padding-left: var(--space-3); }
.process-item:last-child { border-right: 0; }
.process-item .no { color: var(--accent-light); }
.process-item h3 { font: 600 19px/var(--lh-heading) var(--font-display); letter-spacing: var(--tracking-heading); margin-top: var(--space-9); }
.process-item p { font-size: 13px; line-height: var(--lh-body); color: rgba(245, 241, 231, 0.7); margin-top: var(--space-3); }

/* ---------- Engagement steps (what happens after you enquire) ---------- */
.steps-head { margin-top: var(--space-12); margin-bottom: var(--space-6); }
.steps-head h3 { font: 600 clamp(24px, 2.6vw, 32px)/var(--lh-heading) var(--font-display); letter-spacing: var(--tracking-heading); }
.steps-head p { color: rgba(245, 241, 231, 0.72); font-size: 15px; line-height: var(--lh-body); margin-top: var(--space-3); max-width: 620px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.step { border: 1px solid var(--line-dark); padding: var(--space-6) var(--space-5) var(--space-6); }
.step .no { color: var(--accent-light); }
.step h4 { font: 600 19px/var(--lh-heading) var(--font-display); letter-spacing: var(--tracking-heading); margin-top: var(--space-6); }
.step p { font-size: 14px; line-height: var(--lh-body); color: rgba(245, 241, 231, 0.72); margin-top: var(--space-3); }

/* ---------- FAQ layout ---------- */
.faq-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: var(--space-11); }
.faq-intro h2 { font-size: var(--fs-section); line-height: 0.96; max-width: 520px; }
.faq-intro p { color: var(--muted); font-size: 15px; line-height: var(--lh-body); margin-top: var(--space-5); max-width: 400px; }
.faq-intro .btn { margin-top: var(--space-7); }

/* ---------- Contact ---------- */
.contact { background: var(--dark); color: var(--light); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-11); align-items: start; }
.contact .kicker { color: var(--accent-light); }
.contact h2 { font-size: var(--fs-section); line-height: 0.96; max-width: 620px; }
.contact-copy > p { font-size: 16px; line-height: var(--lh-body); color: rgba(245, 241, 231, 0.78); max-width: 470px; margin-top: var(--space-5); }
.contact-list { margin-top: var(--space-7); border-top: 1px solid var(--line-dark); }
.contact-list li { list-style: none; display: grid; grid-template-columns: 22px 1fr; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line-dark); font-size: 14px; line-height: var(--lh-body); color: rgba(245, 241, 231, 0.82); }
.contact-list li b { color: var(--accent-light); font-weight: 500; font-family: var(--font-mono); font-size: 11px; letter-spacing: var(--tracking-mono); }
.contact-direct { margin-top: var(--space-6); font-size: 14px; line-height: var(--lh-body); color: rgba(245, 241, 231, 0.72); }
.contact-direct a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: var(--space-6) 0 var(--space-9); }
  .hero-art { height: 460px; order: -1; }
  .hero-orbit { right: 4%; top: 6px; width: 420px; height: 420px; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--space-9); }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .process-item:nth-child(4) { border-right: 0; }
  .process-item:nth-child(n+5) { border-top: 1px solid var(--line-dark); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero { padding-top: var(--space-5); }
  .hero h1 { font-size: clamp(40px, 11.5vw, 62px); }
  .hero-lead { font-size: 16px; margin: var(--space-5) 0 var(--space-7); }
  .hero-art { height: 320px; }
  .hero-orbit { width: 290px; height: 290px; right: -6px; top: 18px; }
  .pattern { width: 280px; }
  .art-label { display: none; }
  .hero-meta { margin-top: var(--space-8); }
  .hero-meta div { padding: var(--space-3) var(--space-2) 0 0; }
  .hero-meta div + div { padding-left: var(--space-2); }
  .hero-meta strong { font-size: 13px; }
  .hero-meta span { font-size: 11px; }

  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-item, .process-item + .process-item { padding: var(--space-5) var(--space-3) var(--space-5) 0; }
  .process-item:nth-child(even) { padding-left: var(--space-3); border-right: 0; }
  .process-item:nth-child(odd) { border-right: 1px solid var(--line-dark); }
  .process-item h3 { margin-top: var(--space-3); }
  .process-item:last-child { grid-column: 1 / -1; border-right: 0; padding-left: 0; }

  .steps-head { margin-top: var(--space-10); }
  .faq-intro .btn { width: 100%; }
}

@media (max-width: 430px) {
  .hero-actions .btn { width: 100%; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta div, .hero-meta div + div { padding: var(--space-3) 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-meta div:last-child { border-bottom: 0; }
}
