:root {
  --bg: #fbf6ee;
  --bg-soft: #f3ebe0;
  --paper: #fffdf9;
  --paper-2: #f8f1e7;
  --text: #2a2522;
  --muted: #6f685f;
  --line: rgba(42, 37, 34, 0.10);
  --primary: #2a2522;
  --accent: #c47d48;
  --accent-soft: rgba(196, 125, 72, 0.15);
  --accent-2: #7a8c6b;
  --shadow: 0 20px 60px rgba(58, 44, 30, 0.10);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 10%, rgba(196,125,72,0.10), transparent 20%),
    radial-gradient(circle at 10% 18%, rgba(122,140,107,0.12), transparent 22%),
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -0.03em; }
ul { list-style: none; margin: 0; padding: 0; }
.container { width: min(calc(100% - 2rem), var(--container)); margin: 0 auto; }
.section { padding: 5.4rem 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-2);
}
.eyebrow::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42,37,34,0.06);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}
.brand { display: inline-flex; align-items: center; gap: 0.9rem; }
.brand-mark {
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: var(--shadow);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1rem; font-weight: 800; }
.brand-text small { color: var(--muted); font-size: 0.8rem; letter-spacing: 0.12em; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { color: var(--muted); font-size: 0.95rem; }
.site-nav a:hover { color: var(--text); }
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.7rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.96rem 1.4rem;
  border-radius: 16px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--primary);
  color: #fff9f1;
  box-shadow: 0 14px 34px rgba(42,37,34,0.16);
}
.button-primary:hover { background: #3a332f; }
.button-secondary {
  background: rgba(255,255,255,0.72);
  color: var(--text);
  border-color: var(--line);
}
.button-secondary:hover { background: var(--paper); }
.button-full { width: 100%; }

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-copy h1 { font-size: clamp(3rem, 7vw, 5.8rem); max-width: 10ch; }
.lead {
  margin-top: 1.45rem;
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.82;
  font-size: 1.08rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero-tags span {
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(42,37,34,0.08);
  border-radius: 999px;
  color: #534b45;
  font-size: 0.92rem;
}
.hero-visual {
  position: relative;
  min-height: 38rem;
}
.hero-frame,
.visual-panel {
  background: linear-gradient(145deg, #fffdf9, #f2e8db);
  border: 1px solid rgba(42,37,34,0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-frame {
  position: absolute;
  inset: 0 0 3rem 1.8rem;
}
.hero-frame img,
.visual-panel img { width: 100%; height: 100%; object-fit: cover; }
.hero-note {
  position: absolute;
  max-width: 15rem;
  border-radius: 18px;
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow);
  background: rgba(255,253,249,0.95);
  border: 1px solid rgba(42,37,34,0.08);
}
.hero-note span {
  display: block;
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.45rem;
}
.hero-note strong { line-height: 1.55; font-size: 0.96rem; }
.note-left { left: 0; top: 1.3rem; }
.note-right { right: 0; bottom: 0; }

.metrics-strip { padding-top: 1rem; }
.metrics-grid,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.metric-card,
.service-card,
.stack-item,
.contact-card,
.contact-form-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(42,37,34,0.08);
  box-shadow: var(--shadow);
}
.metric-card {
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.25rem;
}
.metric-card strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  color: var(--accent);
}
.metric-card span,
.section-heading p,
.service-card p,
.service-card li,
.stack-item span,
.contact-copy p,
.footer-copy,
.form-note { color: var(--muted); line-height: 1.78; }

.section-heading { max-width: 48rem; margin-bottom: 2.3rem; }
.section-heading h2,
.sales-copy h2,
.about-copy h2,
.contact-copy h2 { font-size: clamp(2.15rem, 4vw, 3.4rem); max-width: 13ch; }
.section-heading p { margin-top: 1rem; }
.service-card {
  border-radius: var(--radius-lg);
  padding: 1.35rem;
}
.service-card img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: #fcf7f0;
  border: 1px solid rgba(42,37,34,0.05);
}
.service-card h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.service-card ul { display: grid; gap: 0.65rem; margin-top: 1rem; }
.service-card li {
  position: relative;
  padding-left: 1.15rem;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
}

.alt-section {
  background: linear-gradient(180deg, rgba(243,235,224,0.65), rgba(251,246,238,0.95));
  border-top: 1px solid rgba(42,37,34,0.06);
  border-bottom: 1px solid rgba(42,37,34,0.06);
}
.stack-list,
.contact-cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}
.stack-item,
.contact-card {
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
}
.stack-item strong,
.contact-card strong {
  display: block;
  margin-bottom: 0.35rem;
}
.compact-list { margin-top: 1.6rem; }
.outline-panel {
  background: linear-gradient(145deg, #f8f1e7, #fffdf9);
}
.contact-card span {
  display: block;
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.contact-form-card {
  border-radius: var(--radius-xl);
  padding: 1.45rem;
}
.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: 0.45rem; }
.contact-form span { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(42,37,34,0.12);
  background: #fffdf9;
  color: var(--text);
  font: inherit;
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: rgba(196,125,72,0.45); }

.site-footer {
  padding: 1.75rem 0 3rem;
  border-top: 1px solid rgba(42,37,34,0.08);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}
.brand-footer { margin-bottom: 0.8rem; }
.footer-copy { max-width: 34rem; }
.footer-meta {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
  text-align: right;
}

@media (max-width: 980px) {
  .site-nav,
  .desktop-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-nav.open {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255,253,249,0.98);
    border: 1px solid rgba(42,37,34,0.10);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .hero-grid,
  .split-grid,
  .contact-grid,
  .metrics-grid,
  .cards-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 31rem; }
  .footer-row { flex-direction: column; align-items: start; }
  .footer-meta { justify-items: start; text-align: left; }
}

@media (max-width: 680px) {
  .section { padding: 4.5rem 0; }
  .hero-frame { inset: 0 0 4.5rem 0.2rem; }
  .note-left { top: 0.8rem; left: 0; }
  .note-right { right: 0; bottom: 0; }
}
