@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --page-bg: #f4efe8;
  --surface: #ffffff;
  --surface-muted: #f6f1ea;
  --surface-soft: #edf3f8;
  --surface-warm: #efe5d8;
  --text: #182230;
  --muted: #627183;
  --muted-strong: #425062;
  --border: #d9d2c8;
  --border-strong: #c8c0b6;
  --accent: #182433;
  --accent-hover: #243246;
  --accent-soft: #eef2f6;
  --accent-warm: #7d6149;
  --shadow-sm: 0 18px 40px rgba(24, 36, 51, 0.06);
  --shadow-md: 0 20px 48px rgba(24, 36, 51, 0.08);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --ease-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--page-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
ul {
  margin: 0;
}

ul {
  padding: 0;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

.site-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header {
  position: relative;
  z-index: 2;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.88rem;
}

.nav-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav-links {
  justify-content: center;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a,
.footer-links a,
.project-link {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.footer-links a:hover,
.project-link:hover,
.project-link:focus-visible {
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta,
.button-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(24, 36, 51, 0.12);
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-hover);
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--accent-soft);
}

.page-flow {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.section-card,
.cta-panel,
.footer,
.stat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.section-card,
.footer,
.cta-panel {
  padding: 56px;
}

.section-muted {
  background: var(--surface-muted);
}

.section-soft {
  background: var(--surface-soft);
}

.hero-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-grid,
.section-split,
.subpage-grid,
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.88fr);
  gap: 28px;
  align-items: start;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.eyebrow {
  color: var(--accent-warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1,
.cta-panel h2,
.footer h2 {
  font-size: clamp(3.2rem, 6.4vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  max-width: 12ch;
}

.lede,
.section-heading p,
.hero-summary p,
.project-body,
.detail-card p,
.service-card p,
.process-card p,
.footer > div > p:last-of-type,
.footer-note,
.cta-panel p:last-of-type,
.info-list li,
.support-list li {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.78;
}

.hero-actions,
.link-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-points,
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.hero-points span,
.project-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-summary {
  display: grid;
  gap: 18px;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.7);
}

.card-label {
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.summary-grid article,
.project-card,
.detail-card,
.service-card,
.process-card,
.info-card,
.support-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s var(--ease-spring), border-color 0.28s ease;
}

.summary-grid article:hover,
.project-card:hover,
.detail-card:hover,
.service-card:hover,
.process-card:hover,
.info-card:hover,
.support-card:hover,
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.summary-grid article {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.summary-grid strong,
.stat-card strong {
  font-size: 1.02rem;
  letter-spacing: -0.03em;
}

.hero-note {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.hero-note strong {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 26px;
}

.stat-card strong {
  display: block;
  margin-bottom: 10px;
}

.stat-card span {
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 14ch;
}

.project-grid,
.detail-grid,
.service-grid,
.process-list {
  display: grid;
  gap: 18px;
}

.project-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.project-card,
.detail-card,
.service-card,
.info-card,
.support-card {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.project-card {
  min-height: 100%;
}

.project-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.project-type {
  color: var(--accent-warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-card h3,
.detail-card h3,
.service-card h3,
.process-card h3 {
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.project-card-footer {
  display: grid;
  gap: 16px;
  margin-top: auto;
}

.project-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--muted-strong);
  font-weight: 700;
}

.product-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 10px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
  overflow: hidden;
}

.product-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-mark-text {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.mark-promptha {
  background: #182433;
  box-shadow: none;
}

.mark-formsin {
  background: #8b6a52;
  box-shadow: none;
}

.mark-phonepickup {
  background: #5a738f;
  box-shadow: none;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 800;
}

.process-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 24px;
}

.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface-warm);
}

.cta-panel > div {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.footer {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.footer > div {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.footer-note {
  font-size: 0.95rem;
}

.info-list,
.support-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.info-list li,
.support-list li {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.info-list strong,
.support-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

@media (max-width: 1120px) {
  .hero-grid,
  .section-split,
  .subpage-grid,
  .support-grid,
  .service-grid,
  .process-list,
  .detail-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    display: grid;
  }

  .hero-copy h1,
  .cta-panel h2,
  .footer h2 {
    max-width: 13ch;
  }
}

@media (max-width: 860px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 30px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 32px;
  }

  .site-shell {
    width: min(100% - 20px, 100%);
    padding: 10px 0 28px;
  }

  .section-card,
  .footer,
  .cta-panel {
    padding: 28px 20px;
    border-radius: 26px;
  }

  .hero-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .topbar {
    padding: 16px;
  }

  .hero-copy h1,
  .cta-panel h2,
  .footer h2 {
    font-size: clamp(2.5rem, 12vw, 3.9rem);
  }

  .section-heading h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .project-card,
  .detail-card,
  .service-card,
  .info-card,
  .support-card,
  .hero-summary {
    padding: 22px;
  }

  .process-card {
    grid-template-columns: 1fr;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .hero-actions,
  .link-stack {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-cta,
  .button,
  .summary-grid article,
  .project-card,
  .detail-card,
  .service-card,
  .process-card,
  .info-card,
  .support-card,
  .stat-card {
    transition: none;
  }
}
