:root {
  --bg: #f7f5f1;
  --bg-muted: #efece6;
  --ink: #1c1b19;
  --ink-soft: #5c574f;
  --line: #ddd6c8;
  --card: #ffffff;
  --accent: #2f4a3c;
  --accent-hover: #243a2f;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(28, 27, 25, 0.06);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(247, 245, 241, 0.88);
  border-bottom: 1px solid transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.logo {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.role {
  margin: 0.85rem 0 0.15rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.company {
  margin: 0;
  color: var(--ink-soft);
}

.lead {
  margin: 1.4rem 0 0;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #f7f5f1;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list .label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
}

.contact-list a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

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

.inline-links {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.section {
  padding: 3.5rem 0;
}

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

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 40rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.product-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.product-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.product-card .text-link,
.stack-links .text-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.stack-links {
  display: grid;
  gap: 0.25rem;
}

.product-card-cta {
  background: linear-gradient(160deg, #f7f5f1, #e8efe9);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.about-grid p {
  color: var(--ink-soft);
}

.about-note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.about-note h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.about-note p {
  margin: 0;
}

.contact-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.contact-tile {
  display: block;
  padding: 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-decoration: none;
  background: var(--bg);
  transition: border-color 0.15s ease;
}

.contact-tile:hover {
  border-color: var(--accent);
}

.tile-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.tile-value {
  color: var(--ink);
  font-weight: 600;
  word-break: break-word;
}

.contact-foot {
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-sub {
  margin-top: 0.35rem !important;
}

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

  .hero {
    padding-top: 3rem;
  }

  .nav {
    gap: 0.9rem;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(1080px, calc(100% - 1.5rem));
  }

  .nav a:nth-child(1) {
    display: none;
  }
}
