:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-strong: rgba(255, 255, 255, 0.05);
  --text: #ffffff;
  --text-soft: #f5f5f5;
  --text-body: #b3b3b3;
  --text-muted: #8a8a8a;
  --stroke: #2a2a2a;
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

.site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.09), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255,255,255,0.05), transparent 30%),
    var(--bg);
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 10, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-inner { min-height: 76px; }
.wordmark {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 0.96rem;
  color: var(--text-body);
}

.site-nav a:hover,
.contact-link:hover { color: var(--text); }

.section { padding: 112px 0; }
.section-alt { background: rgba(255, 255, 255, 0.02); border-top: 1px solid rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.section-hero { padding: 104px 0 88px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: end;
}

.hero-copy { max-width: 780px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.75rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.hero-body,
.section-body,
.panel-copy,
.project-description,
.service-description,
.difference-description,
.contact-label,
.footer-inner,
.client-list {
  color: var(--text-body);
}

.hero-body {
  max-width: 640px;
  margin: 28px 0 0;
  font-size: 1.18rem;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.project-card:hover,
.service-card:hover,
.difference-card:hover,
.client-chip:hover { transform: translateY(-2px); }
.button-primary {
  background: var(--text);
  color: var(--bg);
}
.button-primary:hover { background: var(--text-soft); }
.button-secondary {
  border: 1px solid var(--stroke);
  color: var(--text);
}
.button-secondary:hover { border-color: #3b3b3b; background: rgba(255,255,255,0.03); }

.hero-panel,
.closing-card,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border-radius: 32px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
}

.hero-panel {
  padding: 28px;
  display: grid;
  gap: 24px;
}

.panel-label,
.contact-label {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel-value {
  margin: 10px 0 0;
  font-size: 1.7rem;
  line-height: 1.25;
  font-weight: 500;
}

.panel-block-bordered {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
}

.panel-copy {
  margin: 12px 0 0;
  line-height: 1.75;
}

.narrow-layout { max-width: 880px; }
.max-title { max-width: 860px; }
.max-body { max-width: 720px; }
.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.section-body {
  margin: 20px 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
}

.section-header { margin-bottom: 40px; }
.expertise-grid,
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

.service-card,
.project-card,
.difference-card {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  border-radius: 30px;
  padding: 28px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.project-card:hover,
.difference-card:hover {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.045);
}

.service-title,
.project-title,
.difference-title {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.3;
  font-weight: 500;
}

.service-description,
.project-description,
.difference-description {
  margin: 14px 0 0;
  font-size: 0.98rem;
  line-height: 1.75;
}

.client-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.client-chip {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.02);
  font-size: 0.95rem;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.client-chip:hover {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
}

.project-category {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-closing { padding-top: 20px; }
.closing-card { padding: 40px; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 32px;
  align-items: end;
}

.contact-card {
  padding: 28px;
}
.contact-label-spaced { margin-top: 26px; }
.contact-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text);
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 26px 0 34px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 1024px) {
  .hero-grid,
  .contact-grid,
  .expertise-grid,
  .difference-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .site-nav { display: none; }
  .section { padding: 84px 0; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 32px), var(--max-width)); }
  .hero-title { font-size: clamp(3rem, 14vw, 4.25rem); }
  .hero-body,
  .section-body { font-size: 1rem; }
  .closing-card,
  .service-card,
  .project-card,
  .difference-card,
  .contact-card,
  .hero-panel { padding: 22px; border-radius: 24px; }
  .header-inner,
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

.project-image-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 12px;
  background: #111111;
}

.project-image {
  width: 100%;
  height: auto;
  display: block;
}

.project-card {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
}

.project-image-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #111111;
}

.project-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image {
  transform: scale(1.03);
}
