/* nine.zero — Services · AI Enablement. Layout for /services/ai-enablement/ only.
   Values from the Paper artboard "Service · AI Enablement" at 1440px. */

/* ---------- Shared bits on this page ---------- */
.ai-kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--np-font-mono); font-size: 16px; line-height: 22px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--np-ink);
}
.ai-kicker b { font-weight: 400; color: var(--np-ink); }

.ai-sec { display: flex; align-items: flex-start; padding-bottom: 32px; border-bottom: 1px solid var(--np-hair); }
.ai-sec__idx {
  flex: none; width: 72px; padding-top: 16px;
  font-family: var(--np-font-mono); font-size: 12px; line-height: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--np-ink);
}
.ai-sec__body { display: flex; flex-direction: column; gap: 16px; max-width: 800px; }
.ai-sec__title { font-size: 56px; line-height: 60px; letter-spacing: -0.015em; }
.ai-sec__body p { max-width: 640px; font-size: 16px; line-height: 26px; color: var(--np-text-2); }

/* ---------- Hero ---------- */
.ai-hero { padding: 112px 0 96px; }
.ai-hero__wrap { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.ai-hero__copy { display: flex; flex-direction: column; gap: 32px; width: 600px; flex: none; }
.ai-hero__title { font-size: 104px; line-height: 100px; letter-spacing: -0.02em; }
.ai-hero__lede { max-width: 520px; font-size: 18px; line-height: 30px; color: var(--np-text-2); }
.ai-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Example plan card (dark) */
.ai-plan {
  width: 600px; flex: none; display: flex; flex-direction: column;
  border-radius: var(--np-radius-card); overflow: hidden;
  background: var(--np-dark); color: var(--np-dark-text); border: 1px solid var(--np-foot-hair);
}
.ai-plan__head {
  display: flex; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--np-foot-hair);
  font-family: var(--np-font-mono); font-size: 11px; line-height: 16px; letter-spacing: 0.08em; color: var(--np-dark-muted);
}
.ai-plan__intro { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.ai-plan__title { font-size: 34px; line-height: 38px; color: #fff; }
.ai-plan__sub { font-size: 15px; line-height: 24px; color: var(--np-dark-muted); }
.ai-plan__steps li { display: flex; gap: 18px; padding: 16px 24px; border-top: 1px solid var(--np-foot-hair); }
.ai-plan__idx { flex: none; width: 26px; font-family: var(--np-font-mono); font-size: 12px; line-height: 22px; color: var(--np-lime); }
.ai-plan__steps li > div { display: flex; flex-direction: column; gap: 4px; }
.ai-plan__name { font-size: 16px; line-height: 22px; color: #fff; }
.ai-plan__desc { font-size: 14px; line-height: 22px; color: var(--np-dark-muted); }

/* ---------- A clearer starting point ---------- */
.ai-start { padding: 72px 0; }
.ai-start .wrap { display: flex; flex-direction: column; gap: 48px; }
.ai-start__eyebrow { font-family: var(--np-font-mono); font-size: 12px; line-height: 18px; letter-spacing: 0.06em; color: var(--np-ink); }
.ai-start__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 80px; }
.ai-start__title { width: 570px; flex: none; font-size: 64px; line-height: 66px; letter-spacing: -0.02em; }
.ai-start__intro { width: 510px; flex: none; font-size: 18px; line-height: 29px; color: #4f555c; }
.ai-start__body { display: flex; align-items: flex-start; gap: 64px; }
.ai-steps { flex: 1 1 auto; min-width: 0; }
.ai-step { display: flex; gap: 24px; padding: 28px 0; border-top: 1px solid #d8d9d6; }
.ai-step__idx { flex: none; width: 32px; font-family: var(--np-font-mono); font-size: 12px; line-height: 24px; color: var(--np-text-2); }
.ai-step__body { display: flex; flex-direction: column; gap: 12px; }
.ai-step__title { font-size: 32px; line-height: 36px; letter-spacing: -0.01em; color: #000; }
.ai-step__body p { font-size: 17px; line-height: 27px; color: #4f555c; }
.ai-commit {
  position: relative; width: 440px; flex: none;
  display: flex; flex-direction: column; gap: 22px; padding: 36px;
  background: var(--np-dark); color: var(--np-dark-text);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px, 16px 16px);
}
.ai-commit::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(133, 238, 0, .14), rgba(133, 238, 0, 0) 55%); pointer-events: none; }
.ai-commit__label { display: flex; align-items: center; gap: 10px; font-family: var(--np-font-mono); font-size: 11px; line-height: 16px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--np-lime); }
.ai-commit__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--np-lime); box-shadow: 0 0 0 4px rgba(133, 238, 0, .18); }
.ai-commit__title { font-family: var(--np-font-display); font-weight: 400; font-size: 44px; line-height: 46px; letter-spacing: -0.01em; color: var(--np-dark-text); }
.ai-commit__title i { color: var(--np-lime); }
.ai-commit > p:not(.ai-commit__label):not(.commit__agreed):not(.commit__agreed-note) { font-size: 16px; line-height: 26px; color: var(--np-dark-muted); }
.ai-commit .commit__agreed { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; padding-top: 20px; border-top: 1px solid var(--np-dark-hair-2); }
.ai-commit .commit__agreed span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--np-dark-hair-2); font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-dark-text); }
.ai-commit .commit__agreed span::before { content: "✓"; color: var(--np-lime); font-weight: 600; }
.ai-commit .commit__agreed-note { width: 100%; margin: 4px 0 0; font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-dark-muted); }
.ai-start__cta { display: none; }

/* ---------- /01 Learning through doing ---------- */
.ai-loop { padding: 96px 0; border-top: 1px solid var(--np-hair); }
.ai-loop__wrap { position: relative; display: flex; flex-direction: column; gap: 40px; }
.ai-flow { display: flex; flex-direction: column; gap: 16px; }
.ai-flow__track { display: flex; align-items: center; }
.ai-flow__card {
  width: 200px; height: 96px; flex: none; display: flex; flex-direction: column; gap: 6px; padding: 20px;
  border-radius: var(--np-radius-tile); background: var(--np-ground); border: 1px solid var(--np-hair);
}
.ai-flow__card--green { background: #e7eedf; border-color: #b9ccae; }
.ai-flow__card--sand { background: #f4eedc; border-color: #ddd1af; }
.ai-flow__card--ink { background: var(--np-dark); border-color: var(--np-dark); }
.ai-flow__name { font-size: 16px; line-height: 20px; font-weight: 500; color: var(--np-ink); }
.ai-flow__sub { font-family: var(--np-font-mono); font-size: 9px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-text-2); }
.ai-flow__card--ink .ai-flow__name { color: var(--np-dark-text); }
.ai-flow__card--ink .ai-flow__sub { color: var(--np-dark-muted); }
.ai-flow__link { width: 56px; flex: none; display: flex; align-items: center; font-size: 14px; line-height: 18px; color: var(--np-text-2); }
.ai-flow__link span { flex: 1 1 auto; height: 1px; background: var(--np-hair); }
.ai-flow__note {
  padding-left: 568px; max-width: 1168px;
  font-family: var(--np-font-mono); font-size: 9px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-text-2);
}

/* ---------- /02 Skills that stay ---------- */
.ai-skills { padding: 96px 0; border-top: 1px solid var(--np-hair); }
.ai-skills__wrap { position: relative; display: flex; flex-direction: column; gap: 40px; }
.ai-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ai-tile { display: flex; flex-direction: column; gap: 16px; min-height: 214px; padding: 24px; border-radius: var(--np-radius-tile); border: 1px solid; }
.ai-tile--green { background: #e7eedf; border-color: #b9ccae; }
.ai-tile--sand { background: #f4eedc; border-color: #ddd1af; }
.ai-tile--lilac { background: #eae5ee; border-color: #d4c9de; }
.ai-tile__label { font-family: var(--np-font-mono); font-size: 11px; line-height: 16px; letter-spacing: 0.1em; color: #4f555c; }
.ai-tile__title { font-size: 32px; line-height: 36px; letter-spacing: -0.01em; }
.ai-tile p { font-size: 15px; line-height: 24px; color: #4f555c; }

/* ---------- /03 Six weeks to a number ---------- */
.ai-pilot { padding: 96px 0; border-top: 1px solid var(--np-hair); }
.ai-pilot__wrap { display: flex; flex-direction: column; gap: 40px; }
.ai-timeline { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--np-hair); border-bottom: 1px solid var(--np-hair); }
.ai-timeline li { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-right: 1px solid var(--np-hair); }
.ai-timeline li:first-child { padding-left: 0; }
.ai-timeline li:last-child { padding-right: 0; border-right: 0; }
.ai-timeline__when { font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-ink); }
.ai-timeline__when--then { color: var(--np-text-2); }
.ai-timeline h3 { font-size: 34px; line-height: 36px; }
.ai-timeline p { font-size: 14px; line-height: 22px; color: var(--np-text-2); }

/* ---------- Photograph ---------- */
.ai-photo { padding-bottom: 80px; }
.ai-photo__fig {
  display: grid; width: 100%;
  max-width: min(calc(100% - var(--np-gutter)), calc(50% + var(--np-container) / 2));
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px, 24px 24px);
}
.ai-photo__fig > * { grid-area: 1 / 1; }
.ai-photo__fig img { width: 100%; height: 560px; object-fit: cover; }
.ai-photo__overlay {
  align-self: end; display: flex; flex-direction: column; gap: 6px;
  padding: 0 24px 32px max(var(--np-gutter), calc(100% - var(--np-container)));
  color: #fff;
}
.ai-photo__tag {
  display: flex; gap: 14px; margin-bottom: 8px;
  font-family: var(--np-font-mono); font-size: 11px; line-height: 14px; letter-spacing: 0.16em; text-transform: uppercase;
}
.ai-photo__stat { font-size: 64px; line-height: 60px; letter-spacing: -0.02em; }
.ai-photo__sub { font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.16em; text-transform: uppercase; }
.ai-photo__caption {
  display: flex; justify-content: space-between; gap: 24px; margin-top: 18px;
  font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--np-text-2);
}

/* ---------- Guidance + Agents ---------- */
.ai-more { padding: 80px 0 96px; border-top: 1px solid var(--np-hair); }
.ai-more__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.ai-guide { display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: var(--np-radius-card); border: 1px solid var(--np-hair); }
.ai-guide__label { font-family: var(--np-font-mono); font-size: 11px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: #416556; }
.ai-guide__list { display: flex; flex-direction: column; gap: 12px; }
.ai-guide__list li { display: flex; gap: 14px; font-size: 16px; line-height: 26px; color: var(--np-ink); }
.ai-guide__list li span { color: #416556; }
.ai-agents {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 32px;
  border-radius: var(--np-radius-card); background: var(--np-band); border: 1px solid var(--np-hair);
}
.ai-agents__head { display: flex; justify-content: space-between; gap: 16px; }
.ai-agents__label { font-family: var(--np-font-mono); font-size: 11px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-text-2); }
.ai-agents__tag { font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-ink); }
.ai-agents__body { display: flex; flex-direction: column; gap: 12px; }
.ai-agents__title { font-size: 40px; line-height: 44px; }
.ai-agents__body p { font-size: 15px; line-height: 24px; color: var(--np-text-2); }
.ai-agents__btn { align-self: flex-start; padding: 14px 20px; gap: 24px; font-size: 14px; line-height: 20px; font-weight: 400; color: #fff; }

/* ---------- CTA ---------- */
.ai-cta { padding: 64px 0; }
.ai-cta__wrap { display: flex; flex-direction: column; gap: 48px; }
.ai-cta__top { display: flex; align-items: center; justify-content: space-between; gap: 80px; }
.ai-cta__copy { display: flex; flex-direction: column; gap: 16px; max-width: 780px; }
.ai-cta__title { font-size: 60px; line-height: 64px; color: var(--np-dark-text); }
.ai-cta__copy p { font-size: 18px; line-height: 29px; color: var(--np-dark-muted); }
.ai-cta__btn { flex: none; padding: 16px 24px; gap: 24px; font-size: 16px; line-height: 22px; font-weight: 400; }
.ai-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.ai-next li { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--np-foot-hair); }
.ai-next__idx { font-family: var(--np-font-mono); font-size: 12px; line-height: 18px; color: var(--np-dark-muted); }
.ai-next h3 { font-size: 30px; line-height: 34px; color: var(--np-dark-text); }
.ai-next p { font-size: 16px; line-height: 26px; color: var(--np-dark-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .ai-hero__copy { width: 50%; }
  .ai-hero__title { font-size: 84px; line-height: 0.96; }
  .ai-plan { width: 46%; }
  .ai-start__head { gap: 40px; }
  .ai-start__title { width: auto; flex: 1 1 50%; }
  .ai-start__intro { width: auto; flex: 1 1 40%; }
  .ai-commit { width: 38%; }
  .ai-flow__track { flex-wrap: wrap; row-gap: 16px; }
  .ai-flow__note { padding-left: 0; }
}

@media (max-width: 900px) {
  .ai-hero { padding: 64px 0 72px; }
  .ai-hero__wrap { flex-direction: column; gap: 48px; }
  .ai-hero__copy, .ai-plan { width: 100%; }
  .ai-hero__title { font-size: 64px; line-height: 0.98; }
  .ai-plan__head { flex-wrap: wrap; }

  .ai-start { padding: 64px 0; }
  .ai-start .wrap { gap: 32px; }
  .ai-start__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .ai-start__title { font-size: 44px; line-height: 48px; }
  .ai-start__body { flex-direction: column; gap: 32px; }
  .ai-step__body p { font-size: 16px; line-height: 26px; }
  .ai-commit { width: 100%; padding: 24px; }
  .ai-start__cta { display: inline-flex; width: 100%; min-height: 56px; font-size: 16px; }

  .ai-sec { flex-direction: column; gap: 12px; padding-bottom: 24px; }
  .ai-sec__idx { padding-top: 0; }
  .ai-sec__title { font-size: 40px; line-height: 44px; }

  .ai-loop, .ai-skills, .ai-pilot { padding: 64px 0; }
  .ai-loop__wrap, .ai-skills__wrap, .ai-pilot__wrap { gap: 32px; }
  .ai-flow__track { flex-direction: column; align-items: stretch; row-gap: 0; }
  .ai-flow__card { width: 100%; height: auto; }
  .ai-flow__link { width: auto; height: 40px; flex-direction: column; justify-content: center; align-items: center; }
  .ai-flow__link span { width: 1px; height: auto; flex: 1 1 auto; }
  .ai-flow__link { font-size: 0; }
  .ai-flow__link::after { content: "↓"; font-size: 14px; line-height: 18px; }
  .ai-flow__note { padding-left: 0; max-width: none; }

  .ai-tiles { grid-template-columns: 1fr; }
  .ai-tile { min-height: 0; }

  .ai-timeline { grid-template-columns: 1fr; }
  .ai-timeline li, .ai-timeline li:first-child, .ai-timeline li:last-child { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--np-hair); }
  .ai-timeline li:last-child { border-bottom: 0; }

  .ai-photo { padding-bottom: 56px; }
  .ai-photo__fig { max-width: calc(100% - var(--np-gutter)); }
  .ai-photo__fig img { height: 380px; }
  .ai-photo__overlay { padding: 40px 24px 24px var(--np-gutter); background: linear-gradient(to top, rgba(10,10,11,.55), rgba(10,10,11,0)); }
  .ai-photo__stat { font-size: 44px; line-height: 44px; }
  .ai-photo__caption { flex-direction: column; gap: 8px; }

  .ai-more { padding: 64px 0; }
  .ai-more__wrap { grid-template-columns: 1fr; }
  .ai-guide, .ai-agents { padding: 24px; }
  .ai-agents__title { font-size: 32px; line-height: 36px; }

  .ai-cta { padding: 56px 0; }
  .ai-cta__top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .ai-cta__title { font-size: 40px; line-height: 44px; }
  .ai-cta__copy p br { display: none; }
  .ai-next { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  .ai-hero__title { font-size: 52px; }
  .ai-hero__actions .btn { width: 100%; }
  .ai-agents__btn { align-self: stretch; }
  .ai-cta__btn { width: 100%; }
}
