:root {
  color-scheme: dark;
  --bg: #12161f;
  --bg-card: #171c27;
  --panel-border: #3a3f4a;
  --text: #f4f5f7;
  --text-muted: #9aa0ac;
  --text-muted-strong: #7a7f8a;
  --accent: #4dd8d6;
  --accent-bright: #6feae8;
  --contact-text: #101319;
  --text-link: #e3e5ea;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Space Grotesk', sans-serif;
  background: #0b1019;
  color: var(--text);
}

.page-shell {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--bg);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 88px;
  padding: 0 56px;
  border-bottom: 3px solid var(--accent);
}

.site-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.site-nav,
.footer-nav {
  display: flex;
  gap: 36px;
}

.site-nav a,
.footer-nav a {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-link);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.site-nav a:hover,
.footer-nav a:hover {
  opacity: 0.8;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 96px 56px;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-copy {
  position: relative;
  max-width: 760px;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.hero-section h1,
.section-header h2,
.contact-section h2,
.about-section h2 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  margin: 0;
}

.hero-section h1 {
  font-size: clamp(48px, 5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  color: var(--text);
}

.hero-section h1 span,
.section-header h2 span,
.contact-section h2 span,
.about-section h2 span {
  color: var(--accent);
}

.hero-text {
  font-size: 19px;
  line-height: 1.6;
  max-width: 640px;
  color: var(--text-muted);
}

.section {
  padding: 96px 56px;
}

.section-header {
  margin-bottom: 48px;
}

.section-header .eyebrow,
.about-copy .eyebrow {
  font-size: 13px;
  margin-bottom: 12px;
}

.section-header h2,
.about-copy h2 {
  font-size: 44px;
  color: var(--text);
}

.services-grid,
.cases-grid {
  display: grid;
  gap: 20px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  border-top: 3px solid var(--accent);
  border-right: 1px solid var(--panel-border);
  padding: 32px 28px;
  min-height: 180px;
}

.service-card:last-child,
.service-card:nth-child(3) {
  border-right: none;
}

.service-index,
.case-tag {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 16px;
}

.service-card h3,
.case-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}

.case-card h3 a {
  color: inherit;
  text-decoration: none;
}

.case-card h3 a:hover {
  color: var(--accent);
}

.service-card p,
.case-card p,
.about-section p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.track-record-section .client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.track-record-section .client-logos span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

.case-card {
  padding: 28px;
  background: var(--bg-card);
}

.case-tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.case-card-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  width: 100%;
  min-height: 420px;
  background: linear-gradient(135deg, rgba(77, 216, 214, 0.12) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 16px;
  text-align: center;
  padding: 32px;
}

.about-photo {
  padding: 0;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.case-image {
  width: 72px;
  height: 72px;
  min-height: 0;
  flex-shrink: 0;
  padding: 4px;
  font-size: 8px;
  line-height: 1.1;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.about-copy h2 {
  margin-bottom: 24px;
}

.about-copy p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 560px;
}

.about-copy p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-copy p a:hover {
  color: var(--accent-bright);
}

.biztech-panel {
  margin-top: 28px;
  padding: 20px 24px;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.biztech-label {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.biztech-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.biztech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.biztech-badges span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  padding: 96px 56px;
  background: var(--accent);
}

.contact-copy h2 {
  font-size: 38px;
  color: var(--contact-text);
  line-height: 1.05;
}

.contact-details {
  text-align: right;
}

.contact-email {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--contact-text);
}

.contact-phone {
  margin: 0;
  font-size: 14px;
  color: rgba(16, 19, 25, 0.75);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 32px 56px;
  border-top: 3px solid rgba(255, 255, 255, 0.05);
  background: #10141c;
}

.footer-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-note {
  margin-top: 6px;
  text-transform: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

@media (max-width: 1200px) {
  .services-grid,
  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .page-shell,
  .site-header,
  .section,
  .hero-section,
  .contact-section,
  .site-footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 24px;
    height: auto;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero-section,
  .section,
  .contact-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .services-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .contact-details {
    text-align: left;
  }

  .site-nav,
  .footer-nav {
    flex-wrap: wrap;
    gap: 20px;
  }
}
