:root {
  --bg: #f5f3ee;
  --bg-alt: #e9ecef;
  --ink: #111316;
  --muted: #4b5563;
  --accent: #0c4a6e;
  --accent-2: #ff6b35;
  --card: #ffffff;
  --stroke: rgba(17, 19, 22, 0.12);
  --shadow: 0 30px 80px rgba(15, 23, 42, 0.16);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fdf5e6 0%, #f5f3ee 55%, #eef2f6 100%);
}

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

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

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(12, 74, 110, 0.2), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(255, 107, 53, 0.12), transparent 45%),
    radial-gradient(circle at 60% 80%, rgba(15, 23, 42, 0.12), transparent 60%);
  z-index: -1;
}

.container {
  width: min(1100px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(245, 243, 238, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

.button {
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
}

.ghost {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-weight: 600;
}

.hero {
  padding: 90px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 12px;
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 26px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

.metrics span {
  display: block;
  font-weight: 600;
  font-size: 1.1rem;
}

.metrics small {
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--card);
  padding: 16px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  font-size: 0.85rem;
  display: grid;
  gap: 6px;
}

.section {
  padding: 80px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cards article {
  background: var(--card);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.solution-media {
  margin-top: 40px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.solution-media img {
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.solution-media ul {
  padding-left: 20px;
  color: var(--muted);
}

.applications {
  background: linear-gradient(120deg, #f1f5f9, #ffffff);
}

.applications-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.app {
  background: var(--card);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

.app div {
  padding: 18px 20px 24px;
}

.process {
  background: #111316;
  color: #f9fafb;
}

.process .section-head p,
.process p {
  color: rgba(249, 250, 251, 0.7);
}

.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.steps div {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.steps span {
  font-size: 1.3rem;
  font-family: "Instrument Serif", serif;
}

.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery-grid img {
  border-radius: 18px;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.specs {
  background: var(--bg-alt);
}

.specs-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.spec-list {
  display: grid;
  gap: 18px;
}

.spec-list div {
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--stroke);
}

.contact-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.contact-card {
  background: #fff;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}

.contact-card a {
  color: var(--accent);
}

.site-footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--stroke);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  color: var(--muted);
}

@media (max-width: 800px) {
  .nav {
    display: none;
  }

  .badge {
    position: static;
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-visual,
  .cards article,
  .app,
  .gallery-grid img,
  .steps div {
    animation: fadeUp 0.8s ease both;
  }

  .cards article:nth-child(2),
  .app:nth-child(2),
  .gallery-grid img:nth-child(2),
  .steps div:nth-child(2) {
    animation-delay: 0.08s;
  }

  .cards article:nth-child(3),
  .app:nth-child(3),
  .gallery-grid img:nth-child(3),
  .steps div:nth-child(3) {
    animation-delay: 0.16s;
  }
}

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