/* Homepage sections — same design language as base/layout */

.home-hero {
  padding: 64px 0 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
  .home-hero {
    padding: 88px 0 72px;
  }
}

.home-hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 48px;
  }
}

.home-hero h1 {
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.1;
  max-width: 18ch;
  margin-bottom: 0;
}

.home-hero h1 .accent {
  color: var(--teal-deep);
  font-style: italic;
}

.home-hero .lead {
  font-size: 18px;
  max-width: 38ch;
  margin: 20px 0 0;
  line-height: 1.65;
}

.home-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.home-hero-visual {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(14, 124, 123, 0.08), transparent 65%),
    var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.home-hero-visual picture,
.home-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.home-hero-visual img {
  object-fit: cover;
  object-position: center;
  aspect-ratio: 3 / 2;
  transform: scale(1.04);
  transform-origin: center;
}

.home-band {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 22px 0;
}

.home-band .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

.home-band .band-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-right: 8px;
}

.home-band span {
  font-size: 13px;
  color: var(--ink-soft);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 12px;
}

.home-section {
  padding: 64px 0;
}

@media (min-width: 640px) {
  .home-section {
    padding: 88px 0;
  }
}

.home-section.surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.home-section.ink {
  background: var(--ink);
  color: #fff;
}

.home-section.ink h2,
.home-section.ink h3 {
  color: #fff;
}

.home-section.ink p,
.home-section.ink .section-head p {
  color: #b7c1d1;
}

.home-section.ink .eyebrow {
  color: #9fe1cb;
}

.home-section.ink .eyebrow::before {
  background: #9fe1cb;
}

.value-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.home-arch-section {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(14, 124, 123, 0.05), transparent 55%),
    var(--bg);
  border-top: 1px solid var(--border);
}

.home-arch .arch-node {
  min-width: 96px;
}

@media (min-width: 720px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background: var(--surface);
  padding: 28px 26px;
}

.value-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14.5px;
  margin: 0;
  line-height: 1.65;
}

.value-card .value-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 12px;
}

.split {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
}

.check-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--ink-soft);
}

.home-section.ink .check-list li {
  color: #dde3ec;
}

.check-list .dot {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 2px;
}

.home-section.ink .check-list .dot {
  background: rgba(159, 225, 203, 0.15);
  color: #9fe1cb;
}

.outcome-list {
  display: grid;
  gap: 16px;
}

.outcome-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  background: var(--bg);
  box-shadow: var(--shadow-xs);
}

.home-section.surface .outcome-item {
  background: var(--bg);
}

.outcome-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.outcome-item p {
  font-size: 14.5px;
  margin: 0;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 720px) {
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1000px) {
  .industry-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.industry-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 14px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.process-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 800px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.process-step .num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 26px;
  color: var(--teal-deep);
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  margin: 0;
}

.cta-band .wrap {
  display: grid;
  gap: 28px;
}

@media (min-width: 800px) {
  .cta-band .wrap {
    grid-template-columns: 1.3fr auto;
    align-items: center;
  }
}

.cta-band h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 10px;
}

.cta-band p {
  margin: 0;
  max-width: 48ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-section.ink .btn-primary {
  background: #fff;
  color: var(--ink);
}

.home-section.ink .btn-primary:hover {
  background: #9fe1cb;
  color: var(--ink);
}



/* Topic hubs */
.hub-link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .hub-link-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .hub-link-grid { grid-template-columns: repeat(3, 1fr); }
}
.hub-link {
  display: block;
  padding: 18px 18px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.hub-link:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
}
.hub-link strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--ink);
}
.hub-link span {
  display: block;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Illustration layout system */
.home-section-head-center {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.home-section-head-center p {
  margin-left: auto;
  margin-right: auto;
}

.home-section-link {
  margin: 14px 0 0;
  font-size: 14.5px;
}

.home-section-link a {
  color: var(--teal-deep);
  font-weight: 500;
  text-decoration: none;
}

.home-section-link a:hover {
  text-decoration: underline;
}

/* Wider canvas for showcase illustrations (dashboard, architecture, process) */
.wrap--illust {
  width: 100%;
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .wrap--illust {
    padding: 0 24px;
  }
}

@media (min-width: 1100px) {
  .wrap--illust {
    padding: 0 32px;
  }
}

.home-illust {
  margin: 0;
}

.home-illust picture,
.home-illust img {
  display: block;
  width: 100%;
  height: auto;
}

.home-illust img {
  object-fit: cover;
  object-position: center;
}

.home-illust--wide,
.home-illust--premium,
.home-illust--panorama {
  margin-top: 40px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .home-illust--wide,
  .home-illust--premium,
  .home-illust--panorama {
    margin-top: 56px;
  }
}

.home-illust--premium {
  padding: 8px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(14, 124, 123, 0.06), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-md);
}

@media (min-width: 720px) {
  .home-illust--premium {
    padding: 12px;
  }
}

.home-illust--premium img {
  border-radius: calc(var(--radius-xl) - 6px);
}

.home-illust--wide img,
.home-illust--split img,
.home-illust--premium img {
  aspect-ratio: 3 / 2;
  /* Mild crop of white canvas margins in source art */
  transform: scale(1.05);
  transform-origin: center;
}

.home-illust--panorama img {
  aspect-ratio: 1200 / 250;
  transform: scale(1.03);
  transform-origin: center;
}

/* Architecture / workflow diagrams: less crop so edge labels stay visible */
.home-illust--wide img,
.home-illust--split img {
  transform: scale(1.03);
}

.home-illust--split {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(14, 124, 123, 0.06), transparent 65%),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.home-dashboard-section {
  padding-top: 72px;
  padding-bottom: 72px;
  background:
    radial-gradient(ellipse 70% 45% at 50% 15%, rgba(14, 124, 123, 0.07), transparent 55%),
    var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
  .home-dashboard-section {
    padding-top: 104px;
    padding-bottom: 104px;
  }
}

.home-dashboard-section .home-illust--dashboard {
  transition: transform var(--duration-slow) var(--ease-out), box-shadow var(--duration-slow) var(--ease-out);
}

.home-dashboard-section .home-illust--dashboard.is-visible {
  box-shadow: var(--shadow-lg);
}

@media (hover: hover) and (pointer: fine) {
  .home-dashboard-section .home-illust--dashboard:hover {
    transform: translateY(-4px);
  }
}

.home-tech-section {
  background:
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(14, 124, 123, 0.05), transparent 50%),
    var(--bg);
}

.home-split-visual {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .home-split-visual {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 56px;
  }

  .home-split-visual--reverse {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .home-split-visual--reverse .home-split-copy {
    order: 2;
  }

  .home-split-visual--reverse .home-illust {
    order: 1;
  }
}

.home-split-copy .eyebrow {
  margin-bottom: 12px;
}

.home-split-copy h2 {
  margin-bottom: 14px;
}

.home-split-copy > p {
  margin-top: 0;
}

.home-bullet-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.home-bullet-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.home-bullet-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.home-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.home-bullet-list li:first-child::before {
  top: 0.55em;
}

.outcome-list--compact {
  gap: 12px;
}

.outcome-list--compact .outcome-item {
  padding: 18px 20px 16px;
}

.outcome-list--compact .outcome-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.outcome-list--compact .outcome-item p {
  font-size: 14px;
}

@media (max-width: 719px) {
  .home-illust--wide,
  .home-illust--premium,
  .home-illust--panorama,
  .home-illust--split {
    border-radius: var(--radius-lg);
  }

  .home-illust--premium {
    padding: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-visual img,
  .home-illust--wide img,
  .home-illust--split img,
  .home-illust--premium img,
  .home-illust--panorama img {
    transform: none;
  }
}

