:root {
  --ink: #17171a;
  --muted: #5b5f6b;
  --line: #e7e2d8;
  --cream: #f8f5ef;
  --white: #ffffff;
  --orange: #e8843c;
  --orange-dark: #d9762f;
  --amber: #fdf3e7;
  --green: #1f9d55;
  --max: 1160px;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(23, 23, 26, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(56px, 8vw, 100px) 0; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--muted); }
.script { font-family: Georgia, "Times New Roman", serif; font-style: italic; color: var(--orange); }
.eyebrow {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--orange); margin: 0 0 12px;
}
.center { text-align: center; }
.lead { font-size: 1.1rem; max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 50%; background: #000; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: none; }
@media (min-width: 860px) { .nav-cta { display: block; } }
.nav-mobile { display: none; }
@media (max-width: 859px) {
  .nav-links { display: none; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(232,132,60,.32); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* hero */
.hero { padding-top: clamp(64px, 10vw, 110px); }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr 0.85fr; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--amber); color: var(--orange-dark);
  font-weight: 700; font-size: 0.82rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero-art {
  background: #0a0a0a; border-radius: 24px; aspect-ratio: 1; display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.hero-art img { width: 72%; }

/* grid helpers */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 780px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
@media (min-width: 781px) and (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card.cream { background: var(--cream); border-color: #ede6d9; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.96rem; }
.ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--amber); color: var(--orange); margin-bottom: 14px; font-weight: 800;
}

/* section variants */
.dark { background: var(--ink); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark p, .dark .muted { color: #b6b8c2; }
.dark .card { background: #232329; border-color: rgba(255,255,255,.08); }
.dark .card p { color: #b6b8c2; }
.dark .step p { color: #fff; }
.section-alt { background: var(--cream); }

/* stat */
.stat { font-weight: 800; letter-spacing: -0.02em; font-size: clamp(2rem, 4.4vw, 2.9rem); color: var(--ink); }
.stat-label { font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 4px; }
.stat-note { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* smart acronym */
.smart-list { display: flex; flex-direction: column; gap: 14px; }
.smart-row { display: flex; align-items: baseline; gap: 14px; font-size: 1.15rem; font-weight: 700; }
.smart-row .letter { font-family: Georgia, serif; font-style: italic; color: var(--orange); font-size: 1.5rem; min-width: 34px; }

/* steps */
.steps { display: flex; flex-direction: column; gap: 22px; counter-reset: step; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 0.9rem;
}
.step p { margin: 0; color: var(--ink); font-weight: 600; }

/* pill row */
.pill-row { display: flex; gap: 12px; flex-wrap: wrap; }
.pill {
  background: var(--amber); color: var(--orange-dark); font-weight: 700; font-size: 0.85rem;
  padding: 8px 16px; border-radius: 999px;
}

/* clients */
.clients-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.client-badge {
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 18px; font-weight: 700; color: var(--ink);
  background: #fff; font-size: 0.95rem;
}

/* case studies */
.case-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.case-num { color: var(--orange); font-weight: 800; font-size: 1.6rem; margin-bottom: 6px; }
.case-card h3 { margin-bottom: 6px; font-size: 1.05rem; }
.case-card p { font-size: 0.92rem; margin: 0; }

/* team */
.team-card { text-align: center; }
.avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--orange), #f2a35f); color: #fff; font-weight: 800; font-size: 1.3rem;
}
.team-card h3 { margin-bottom: 4px; }
.team-role { color: var(--orange-dark); font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.team-bg { color: var(--muted); font-size: 0.88rem; }

/* contact */
.contact-wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact-wrap { grid-template-columns: 1fr 1fr; } }
.contact-info p { margin: 0 0 10px; }
.contact-info a { color: var(--orange-dark); font-weight: 700; }
form.contact-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 0.88rem; }
.field input, .field textarea {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; font-family: var(--font);
  font-size: 0.98rem; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-msg { font-weight: 700; font-size: 0.92rem; min-height: 1.2em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #c0392b; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 28px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
footer, footer a { color: var(--muted); font-size: 0.88rem; }

.mt-lg { margin-top: 48px; }
.small-note { font-size: 0.85rem; color: var(--muted); }
