:root {
  /* Color Palette - Stark Monochrome */
  --bg: #ffffff;
  --fg: #000000;
  --accent: #000000;
  --muted: #f5f5f5;
  --border: #e0e0e0;
  --text-dim: #666666;

  /* Typography - Clean Sans-Serif / Monospace mix */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', 'Roboto Mono', monospace;

  /* Spacing */
  --space-unit: 1rem;
  --section-padding: 8rem 2rem;
  --container-max: 1400px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Layout Utilities */
.grid {
  display: grid;
  gap: 2rem;
}

.flex {
  display: flex;
  gap: 1rem;
}

.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  border: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: var(--fg);
  color: var(--bg);
}

.btn-large {
  padding: 1.5rem 4rem;
  font-size: 1rem;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 24px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 3rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.9;
  margin-bottom: 2rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

.hero-meta p {
  font-size: 1.25rem;
  max-width: 500px;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Sections */
section {
  padding: var(--section-padding);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 4rem;
  display: block;
}

.section-title {
  font-size: 3.5rem;
  margin-bottom: 4rem;
  max-width: 800px;
}

.section-title-white {
  color: var(--bg);
  margin-bottom: 6rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
}

.about-text {
  font-size: 1.125rem;
  color: var(--text-dim);
}

.about-accent {
  border-left: 1px solid var(--fg);
  padding-left: 2rem;
}

.about-accent-label {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
}

.about-accent-text {
  margin-top: 1rem;
}

.hero-cta {
  display: flex;
  align-items: center;
}

.case-action-footer {
  margin-top: 6rem;
  text-align: right;
}

.footer-desc {
  max-width: 300px;
  color: var(--text-dim);
}

.footer-office {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.8;
}

/* Services */
.services-grid {
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
}

.service-card {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.service-card:nth-child(odd) {
  padding-right: 4rem;
  border-right: 1px solid var(--border);
}

.service-card:nth-child(even) {
  padding-left: 4rem;
}

.service-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-dim);
  max-width: 400px;
}

/* Case Studies */
.case-studies {
  background: var(--fg);
  color: var(--bg);
}

.case-studies .section-label { color: #888; }
.case-studies .border-bottom { border-bottom: 1px solid #333; }

.case-list {
  display: flex;
  flex-direction: column;
}

.case-item {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid #333;
  transition: all 0.3s ease;
}

.case-item:hover {
  background: #111;
  padding-left: 2rem;
  padding-right: 2rem;
}

.case-year { font-family: var(--font-mono); font-size: 0.875rem; }
.case-name { font-size: 2rem; }
.case-tag { font-family: var(--font-mono); font-size: 0.75rem; text-align: right; }

/* Join Us */
.join-section {
  text-align: center;
  padding: 12rem 2rem;
}

.join-title {
  font-size: clamp(2rem, 8vw, 6rem);
  margin-bottom: 3rem;
}

/* Footer */
footer {
  padding: 6rem 0 3rem;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-bottom: 2rem;
  color: var(--text-dim);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* Visual Elements */
.line {
  height: 1px;
  background: var(--border);
  width: 100%;
}

.placeholder-image {
  background: #eee;
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.placeholder-image::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(45deg, transparent 49%, #ddd 49%, #ddd 51%, transparent 51%);
}

@media (max-width: 1024px) {
  :root {
    --section-padding: 6rem 1.5rem;
  }
  
  .section-title {
    font-size: 2.75rem;
  }
  
  .about-grid {
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem 1.25rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .hero-meta { 
    grid-template-columns: 1fr; 
    gap: 3rem; 
    margin-top: 3rem;
  }
  
  .hero-meta p {
    font-size: 1.125rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-grid { 
    grid-template-columns: 1fr; 
  }
  
  .service-card { 
    padding: 3rem 0 !important; 
    border-right: none !important; 
  }
  
  .case-item { 
    grid-template-columns: auto 1fr; 
    gap: 2rem;
    padding: 2.5rem 0;
  }
  
  .case-tag { 
    display: none; 
  }

  .case-name {
    font-size: 1.5rem;
  }
  
  .footer-top { 
    grid-template-columns: 1fr 1fr; 
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 3.5rem 1rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  nav {
    padding: 1.5rem 0;
  }

  .nav-links {
    display: none; /* In a real app we'd add a hamburger, for wireframe we'll focus on layout stability */
  }

  .hero {
    padding-top: 80px;
    justify-content: flex-start;
    min-height: auto;
  }

  .hero-title {
    font-size: 3.25rem;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    line-height: 1.2;
  }

  .section-label {
    margin-bottom: 2rem;
  }

  .btn-large {
    padding: 1.25rem 2.5rem;
    width: 100%;
    justify-content: center;
  }

  .about-accent {
    padding-left: 1.5rem;
  }

  .case-item {
    padding: 2rem 0;
    gap: 1.5rem;
  }

  .case-name {
    font-size: 1.25rem;
  }

  .case-action-footer {
    margin-top: 3rem;
    text-align: center;
  }

  .join-section {
    padding: 6rem 1.25rem;
  }

  .join-title {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-col {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
  }

  .footer-col:last-child {
    border-bottom: none;
  }
}
