/* More intentional editorial line art for the homepage */

.homepage-hero-reworked .hero-sketch-picture {
  position: relative;
  min-height: 470px;
  background: url('../assets/home-vision.svg') center / contain no-repeat;
}

.homepage-hero-reworked .hero-sketch-picture > svg {
  opacity: 0;
}

.homepage-hero-reworked .hero-sketch-picture::before,
.homepage-hero-reworked .hero-sketch-picture::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(212, 173, 104, .24);
  border-radius: 50%;
  pointer-events: none;
}

.homepage-hero-reworked .hero-sketch-picture::before {
  width: 360px;
  height: 360px;
  top: 5%;
  left: 12%;
}

.homepage-hero-reworked .hero-sketch-picture::after {
  width: 230px;
  height: 230px;
  top: 20%;
  left: 28%;
}

.hero-sketch-picture .sketch-layer,
.future-callout-art .phone-sketch,
.future-callout-art .orbit-sketch,
.future-callout-art .orbit-dots {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-sketch-picture .sketch-backdrop { opacity: .52; }
.hero-sketch-picture .sketch-people { stroke: var(--paper); stroke-width: 1.8; }
.hero-sketch-picture .sketch-protection { stroke-width: 1.75; }
.hero-sketch-picture .sketch-accent { stroke: var(--gold); stroke-width: 2; }

.hero-sketch-picture.is-visible .sketch-layer { animation: lineReveal 1.8s cubic-bezier(.2,.7,.2,1) both; }
.hero-sketch-picture.is-visible .sketch-people { animation-delay: .2s; }
.hero-sketch-picture.is-visible .sketch-protection { animation-delay: .45s; }
.hero-sketch-picture.is-visible .sketch-accent { animation-delay: .7s; }

@keyframes lineReveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.approach-flow.is-active .approach-step:nth-child(1) { transition-delay: .05s; }
.approach-flow.is-active .approach-step:nth-child(2) { transition-delay: .25s; }
.approach-flow.is-active .approach-step:nth-child(3) { transition-delay: .45s; }
.approach-flow.is-active .approach-step:nth-child(4) { transition-delay: .65s; }
.approach-flow.is-active .approach-step:nth-child(5) { transition-delay: .85s; }
.approach-step.is-highlighted b { color: var(--gold); }
.approach-step.is-highlighted h3 { transform: translateY(-3px); transition: transform .5s ease; }

.future-callout-art {
  min-height: 430px;
  background: url('../assets/future-phone.svg') center / contain no-repeat;
}

.future-callout-art > svg { opacity: 0; }
.future-callout-art .phone-sketch { stroke-width: 1.7; }
.future-callout-art .orbit-sketch { stroke-width: 1.5; opacity: .9; }
.future-callout-art .orbit-dots { fill: var(--gold); stroke: none; }
.future-callout-art .phone-sketch,
.future-callout-art .orbit-sketch,
.future-callout-art .orbit-dots { transform-origin: center; }
.future-callout-art.is-visible { animation: phoneLift 1.2s ease-out both; }

@keyframes phoneLift {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Typography system */
:root {
  --display-font: 'Fraunces', Georgia, serif;
  --body-font: 'DM Sans', Arial, sans-serif;
}

body { font-family: var(--body-font); }
h1, h2, h3, .brand { font-family: var(--display-font); letter-spacing: -.035em; }
.eyebrow, .button, .nav-cta, .approach-step b, .tool-card p { font-family: var(--body-font); }
.hero-copy h1, .future-callout-copy h2 { text-wrap: balance; }
.hero-copy .lede, .approach-intro, .about-copy .lede, .tools-heading .lede { max-width: 540px; }

/* Footer hierarchy and mobile-first alignment */
footer {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
  padding: 54px 0 30px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(240px, 1.25fr) auto;
  gap: 36px 58px;
  align-items: start;
}

.footer-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-brand p { max-width: 250px; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; align-content: flex-start; line-height: 1.6; }
.footer-links a { color: var(--muted); transition: color .25s ease; }
.footer-links a:hover { color: var(--paper); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding-top: 24px; border-top: 1px solid var(--rule); }
.footer-bottom small { max-width: 500px; line-height: 1.6; }
.footer-bottom em { max-width: 110px; line-height: 1.5; }

@media (max-width: 1000px) {
  .future-callout { grid-template-columns: 1fr; padding-right: clamp(24px, 5vw, 55px); }
  .future-callout-art { max-width: 440px; width: 100%; margin: -20px auto 0; }
  footer { grid-template-columns: 1fr 1fr; }
  .footer-links:last-of-type { justify-content: flex-start; }
}

@media (max-width: 800px) {
  .homepage-hero-reworked .hero-sketch-picture { min-height: 350px; background-size: min(100%, 450px); }
  .homepage-hero-reworked .hero-sketch-picture::before { width: 260px; height: 260px; left: 14%; }
  .homepage-hero-reworked .hero-sketch-picture::after { width: 170px; height: 170px; left: 30%; }
  footer { gap: 30px 24px; }
}

@media (max-width: 520px) {
  footer { width: min(100% - 36px, 1240px); grid-template-columns: 1fr; padding: 42px 0 24px; gap: 30px; }
  .footer-links { gap: 8px 18px; }
  .footer-bottom { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .footer-bottom em { max-width: none; }
  .future-callout-art { min-height: 330px; background-size: 100%; margin-top: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sketch-picture.is-visible .sketch-layer,
  .future-callout-art.is-visible { animation: none; }
}
