:root {
  --bg: #faf7f2;
  --bg-elevated: #ffffff;
  --bg-card: #fffdfa;
  --border: #e8ded0;
  --text: #2b2118;
  --text-muted: #7a6f61;
  --accent: #c0623a;
  --accent-strong: #a13d2c;
  --accent-soft: #f3ede1;
  --accent-contrast: #ffffff;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;

  --radius: 14px;
  --max-width: 1120px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--space-3);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2);
  gap: var(--space-3);
}

.logo {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}

.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
  min-height: 44px;
}

.nav-cta:hover, .nav-cta:focus-visible {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-call svg { width: 16px; height: 16px; flex-shrink: 0; }

.nav-call:hover, .nav-call:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  color: var(--text);
  cursor: pointer;
}

/* Hero */
.hero {
  padding-block: var(--space-6) var(--space-5);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 480px;
  background: radial-gradient(ellipse at top, rgba(192, 98, 58, 0.14), transparent 65%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: center;
  position: relative;
}

.hero-copy { position: relative; z-index: 1; }

.hero-art {
  position: relative;
}

.hero-art svg { width: 100%; height: auto; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.hero-dark {
  background: #1c1712;
  border-radius: 0 0 32px 32px;
}

.hero-dark::before {
  background: radial-gradient(ellipse at top, rgba(192, 98, 58, 0.25), transparent 65%);
}

.hero-dark .eyebrow { color: #e79a72; }
.hero-dark .eyebrow::before { background: #e79a72; }

.hero-dark h1 { color: #f8f3ec; }

.hero-dark h1 em {
  font-style: normal;
  color: #e79a72;
}

.hero-dark .lead { color: #c9bdae; }

.hero-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #262019;
  border: 1px solid #3a3226;
  border-radius: 999px;
  padding: 6px;
  max-width: 480px;
}

.hero-form input {
  flex: 1 1 200px;
  min-width: 0;
  background: transparent;
  border: none;
  color: #f8f3ec;
  font-size: 1rem;
  padding: 10px 16px;
  min-height: 44px;
}

.hero-form input::placeholder { color: #8a7e6e; }
.hero-form input:focus { outline: none; }
.hero-form .btn-primary { white-space: nowrap; }

.hero-subactions { margin: var(--space-2) 0 0; }

.hero-subactions a {
  color: #c9bdae;
  text-decoration: none;
  font-size: 0.92rem;
}

.hero-subactions a:hover { color: #e79a72; }

.hero-dark .hero-meta { border-top-color: #3a3226; }
.hero-dark .hero-meta strong { color: #f8f3ec; }
.hero-dark .hero-meta span { color: #8a7e6e; }

/* Hero floating stage */
.hero-stage {
  position: relative;
  width: 100%;
  min-height: 340px;
}

.mock-card {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.mock-card svg { display: block; width: 100%; height: auto; }

.mock-card--back {
  top: 0;
  left: 0;
  width: 66%;
  transform: rotate(-6deg);
  opacity: 0.9;
}

.mock-card--front {
  bottom: 0;
  right: 0;
  width: 76%;
  transform: rotate(3deg);
  border: 6px solid #1c1712;
}

.mock-badge {
  position: absolute;
  top: 12%;
  right: 2%;
  background: #f8f3ec;
  color: #1c1712;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  transform: rotate(-4deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-3);
  max-width: 18ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p.lead {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 46ch;
  margin: 0 0 var(--space-4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  min-height: 44px;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  border: 1px solid var(--accent);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

.hero-meta div strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  color: var(--text);
}

.hero-meta div span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Section shared */
section { padding-block: var(--space-6); }

.section-band {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 60ch;
  margin-bottom: var(--space-5);
}

.section-head .eyebrow { margin-bottom: var(--space-1); }

.section-head h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
}

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

/* Services */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
  box-shadow: 0 1px 2px rgba(16, 26, 46, 0.04);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.card:hover {
  border-color: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(16, 26, 46, 0.08);
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.card h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
  counter-reset: step;
}

.step {
  position: relative;
  padding: var(--space-3);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(16, 26, 46, 0.04);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

/* Work showcase */
.work-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  align-items: center;
  box-shadow: 0 1px 2px rgba(16, 26, 46, 0.04);
}

.work-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--accent-soft), #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.work-media svg { width: 100%; height: auto; }

.work-body { padding: var(--space-4) var(--space-4) var(--space-4) 0; }

.work-body .tag {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent);
  border: 1px solid var(--accent-strong);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: var(--space-2);
}

.work-body h3 { margin: 0 0 var(--space-1); font-size: 1.4rem; }
.work-body p { color: var(--text-muted); margin: 0 0 var(--space-2); }

.work-body a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.work-body a:hover { text-decoration: underline; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: var(--space-5);
  text-align: center;
}

.cta-banner h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 var(--space-2);
  color: #ffffff;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 50ch;
  margin: 0 auto var(--space-3);
}

.cta-banner .btn-primary {
  background: #ffffff;
  color: var(--accent);
  border-color: #ffffff;
}

.cta-banner .btn-primary:hover, .cta-banner .btn-primary:focus-visible {
  background: var(--accent-soft);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: var(--space-4);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
}

.footer-grid a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: var(--space-3);
  }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-actions { gap: 8px; }
  .nav-cta { padding: 10px 14px; font-size: 0.85rem; }
  .nav-call span { display: none; }
  .nav-call { padding: 10px; width: 44px; justify-content: center; }
  .hero-form {
    flex-direction: column;
    border-radius: 20px;
    padding: 10px;
  }
  .hero-form input { width: 100%; flex: none; padding: 12px 14px; }
  .hero-form .btn-primary { width: 100%; }
  .work-card { grid-template-columns: 1fr; }
  .work-body { padding: 0 var(--space-3) var(--space-3); }
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
  .hero-stage { order: -1; min-height: 260px; max-width: 340px; margin: 0 auto; }
}

@media (min-width: 861px) {
  .nav-toggle { display: none; }
}
