:root {
  --bg: #f4efe7;
  --panel: rgba(27, 45, 63, 0.9);
  --panel-soft: rgba(255, 255, 255, 0.58);
  --ink: #18212d;
  --muted: #516070;
  --line: rgba(24, 33, 45, 0.12);
  --accent: #be5b2d;
  --accent-strong: #8b3416;
  --cream: #fffaf2;
  --shadow: 0 18px 50px rgba(24, 33, 45, 0.12);
  --display: "Space Grotesk", "Aptos", "Segoe UI", sans-serif;
  --body: "IBM Plex Sans", "Aptos", "Segoe UI", sans-serif;
  --ui: "Space Grotesk", "Aptos", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(190, 91, 45, 0.18), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(24, 33, 45, 0.16), transparent 22%),
    linear-gradient(180deg, #f7f1e8 0%, #f2ece2 52%, #efe6d8 100%);
  font-family: var(--body);
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 10px 0 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cream);
  font: 700 0.95rem var(--ui);
  letter-spacing: 0.14em;
}

.brand-text,
.nav a,
.eyebrow,
.button,
.panel-chip,
.metric,
.timeline span,
.contact-label,
.footer p:first-child {
  font-family: var(--ui);
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 32px;
  align-items: stretch;
  padding: 26px 0 40px;
}

.hero-copy,
.hero-panel,
.service-card,
.spotlight,
.contact-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 42px;
  background: rgba(255, 250, 242, 0.72);
  backdrop-filter: blur(8px);
  border-radius: 28px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  max-width: 10ch;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.intro {
  max-width: 34rem;
  margin: 22px 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button-primary {
  background: var(--accent);
  color: #fff9f3;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(18, 31, 44, 0.96), rgba(33, 56, 78, 0.9)),
    var(--panel);
  color: #f7f0e5;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(190, 91, 45, 0.22);
  filter: blur(6px);
}

.panel-chip {
  display: inline-block;
  margin: 0 10px 10px 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
}

.metric-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.metric-grid article {
  position: relative;
  padding: 18px 18px 18px 66px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.metric {
  position: absolute;
  left: 18px;
  top: 18px;
  color: #f4b08b;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.metric-grid h2,
.section-heading h2,
.spotlight h2,
.contact h2 {
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.metric-grid h2 {
  font-family: var(--ui);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.metric-grid p,
.service-card p,
.timeline p,
.contact-copy p,
.contact-note {
  line-height: 1.7;
}

.section {
  padding: 34px 0;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 22px;
}

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

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

.service-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
}

.product-card,
.stack-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.76);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-card h3 {
  font-family: var(--ui);
  font-size: 1.2rem;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.product-card h3,
.stack-card h3 {
  font-family: var(--ui);
  font-size: 1.28rem;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.product-kicker {
  margin: 0 0 8px;
  font-family: var(--ui);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.product-card p,
.stack-card p {
  margin: 0;
  line-height: 1.72;
}

.spotlight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  padding: 30px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(245, 237, 224, 0.88));
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--panel-soft);
  border: 1px solid rgba(24, 33, 45, 0.09);
}

.timeline span,
.contact-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.contact-card {
  padding: 26px;
  border-radius: 28px;
  background: var(--ink);
  color: #f9f2e8;
}

.contact-link {
  display: inline-block;
  margin: 4px 0 16px;
  font-family: var(--ui);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  text-decoration: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero,
  .card-grid,
  .product-grid,
  .stack-grid,
  .spotlight,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .spotlight,
  .contact-card {
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1160px);
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .hero-panel,
  .spotlight,
  .product-card,
  .stack-card,
  .service-card,
  .contact-card {
    padding: 22px;
  }

  h1 {
    max-width: none;
  }

  .intro {
    font-size: 1.02rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
