* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
}

a { color: inherit; }

.home-wrap,
.home-hero-inner {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
}

.home-kicker,
.home-section-label {
  margin: 0;
  color: var(--site-ink-mute);
  font-family: var(--site-font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.home-hero {
  position: relative;
  min-height: clamp(640px, 78vh, 820px);
  display: flex;
  align-items: center;
  background: var(--site-cream) url("assets/maya-ai-collaboration.webp") right center / cover no-repeat;
  isolation: isolate;
}

.home-hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: 64%;
  content: "";
  background: rgba(250, 246, 240, 0.95);
}

.home-hero-inner { padding: clamp(84px, 10vh, 120px) 0; }

.home-hero h1,
.home-heading-row h2,
.home-audience h2,
.home-final h2 {
  margin: 0;
  font-family: var(--site-font-display);
  font-weight: 300;
}

.home-hero h1 {
  max-width: min(760px, 62vw);
  margin-top: 24px;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.98;
}

.home-hero h1 span {
  color: var(--site-terracotta);
  font-style: italic;
}

.home-lead {
  max-width: 610px;
  margin: 32px 0 0;
  color: var(--site-ink-soft);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.home-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border: 1px solid var(--site-ink);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.home-button-primary {
  border-color: var(--site-ink);
  background: var(--site-ink);
  color: var(--site-cream);
}

.home-button-secondary {
  border-color: var(--site-line);
  background: rgba(250, 246, 240, 0.86);
  color: var(--site-ink);
}

.home-button-primary:hover {
  border-color: var(--site-terracotta);
  background: var(--site-terracotta);
}

.home-button-secondary:hover {
  border-color: var(--site-terracotta);
  color: var(--site-terracotta-deep);
}

.home-capabilities,
.home-process,
.home-final {
  padding: clamp(80px, 9vw, 120px) 0;
}

.home-capabilities {
  border-top: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
}

.home-heading-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.home-heading-row h2 {
  max-width: 760px;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.05;
}

.home-capability-grid,
.home-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(54px, 7vw, 84px);
  border-top: 1px solid var(--site-line);
}

.home-capability-grid article,
.home-process-grid article {
  min-width: 0;
  padding: 30px 30px 4px;
  border-right: 1px solid var(--site-line);
}

.home-capability-grid article:first-child,
.home-process-grid article:first-child { padding-left: 0; }

.home-capability-grid article:last-child,
.home-process-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.home-capability-grid span {
  color: var(--site-terracotta);
  font-family: var(--site-font-mono);
  font-size: 11px;
}

.home-capability-grid h3 {
  margin: 44px 0 14px;
  font-family: var(--site-font-display);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.15;
}

.home-capability-grid p,
.home-process-grid p,
.home-audience > p:not(.home-section-label) {
  margin: 0;
  color: var(--site-ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.home-process { background: var(--site-cream-deep); }

.home-process-grid article { padding-top: 28px; }

.home-process-grid strong {
  display: block;
  margin-bottom: 14px;
  font-family: var(--site-font-display);
  font-size: 24px;
  font-weight: 400;
}

.home-audiences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--site-line);
  border-bottom: 1px solid var(--site-line);
}

.home-audience {
  min-width: 0;
  padding-top: clamp(72px, 8vw, 112px);
  padding-bottom: clamp(72px, 8vw, 112px);
}

.home-audience + .home-audience { border-left: 1px solid var(--site-line); }

.home-audience-business {
  padding-left: max(32px, calc((100vw - 1240px) / 2));
  padding-right: clamp(32px, 5vw, 72px);
  background: var(--site-terracotta-soft);
}

.home-audience-talent {
  padding-left: clamp(32px, 5vw, 72px);
  padding-right: max(32px, calc((100vw - 1240px) / 2));
  background: var(--site-green-soft);
}

.home-audience h2 {
  max-width: 520px;
  margin-top: 20px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.05;
}

.home-audience > p:not(.home-section-label) {
  max-width: 520px;
  margin-top: 24px;
}

.home-audience > a {
  display: inline-block;
  margin-top: 28px;
  color: var(--site-terracotta-deep);
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 5px;
}

.home-final { background: var(--site-paper); }

.home-final-inner {
  display: grid;
  grid-template-columns: minmax(120px, 0.25fr) minmax(320px, 1fr) auto;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.home-final h2 {
  max-width: 680px;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05;
}

@media (max-width: 1100px) {
  .home-hero::before { width: 72%; }

  .home-hero h1 { max-width: 68vw; }

  .home-audience {
    padding-left: 40px;
    padding-right: 40px;
  }

  .home-final-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .home-final .home-section-label { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .home-wrap,
  .home-hero-inner { width: min(100% - 48px, 720px); }

  .home-hero {
    min-height: 680px;
    align-items: flex-end;
    background-position: 66% center;
  }

  .home-hero::before {
    inset: auto 0 0;
    width: 100%;
    height: 88%;
    background: rgba(250, 246, 240, 0.94);
  }

  .home-hero-inner { padding: 96px 0 72px; }

  .home-hero h1 {
    max-width: 660px;
    font-size: clamp(46px, 9vw, 66px);
  }

  .home-heading-row,
  .home-final-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-capability-grid,
  .home-process-grid {
    grid-template-columns: 1fr;
  }

  .home-capability-grid article,
  .home-process-grid article,
  .home-capability-grid article:first-child,
  .home-process-grid article:first-child {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--site-line);
  }

  .home-capability-grid article:last-child,
  .home-process-grid article:last-child { border-bottom: 0; }

  .home-capability-grid h3 { margin-top: 22px; }

  .home-audiences { grid-template-columns: 1fr; }

  .home-audience {
    padding: 72px 24px;
  }

  .home-audience + .home-audience {
    border-top: 1px solid var(--site-line);
    border-left: 0;
  }

  .home-final .home-section-label { grid-column: auto; }

  .home-final .home-button { justify-self: start; }
}

@media (max-width: 560px) {
  .home-wrap,
  .home-hero-inner { width: calc(100% - 40px); }

  .home-hero { min-height: 620px; }

  .home-hero h1 { font-size: clamp(42px, 13vw, 56px); }

  .home-lead { font-size: 16px; }

  .home-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-button { width: 100%; }

  .home-capabilities,
  .home-process,
  .home-final { padding: 72px 0; }

  .home-heading-row h2,
  .home-audience h2,
  .home-final h2 { font-size: 38px; }

  .home-audience { padding: 64px 20px; }
}

@media (max-width: 360px) {
  .home-wrap,
  .home-hero-inner { width: calc(100% - 32px); }

  .home-hero h1 { font-size: 40px; }

  .home-heading-row h2,
  .home-audience h2,
  .home-final h2 { font-size: 34px; }
}
