:root {
  --bg: #2b2b2b;
  --bg-soft: #343434;
  --panel: #303030;
  --panel-2: #373737;
  --text: #f4f4f2;
  --muted: rgba(244, 244, 242, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --overlay: rgba(0, 0, 0, 0.36);
  --max: 1720px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.04), transparent 28%),
    linear-gradient(180deg, #313131 0%, #2b2b2b 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 18px 24px;
  background: rgba(43, 43, 43, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}
.brand-symbol {
  width: 76px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-text strong {
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  font-weight: 700;
}
.brand-text span {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-top: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--text);
  transition: width 0.25s ease;
}
.site-nav a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
}

.hero {
  position: relative;
  min-height: min(92vh, 1080px);
  overflow: hidden;
}
.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-media img {
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.95) contrast(1.02);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18,18,18,0.72) 0%, rgba(18,18,18,0.48) 36%, rgba(18,18,18,0.18) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.5));
}
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: min(92vh, 1080px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 0 90px;
}
.hero-kicker,
.module-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
}
.hero-kicker { margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(3.4rem, 5.8vw, 7rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 700;
  max-width: 980px;
}
.hero-copy {
  max-width: 760px;
  margin-top: 24px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,0.6);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid {
  background: rgba(255,255,255,0.12);
  color: var(--text);
}
.btn-line {
  background: transparent;
  color: var(--text);
}
.btn:hover {
  background: var(--text);
  color: var(--bg);
}

.section-grid,
.featured-grid,
.project-grid,
.services-grid {
  display: grid;
  gap: 22px;
}

.intro {
  margin-top: 28px;
  grid-template-columns: 1.15fr 0.85fr;
}

.module {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.intro-card,
.service-box,
.studio-copy,
.contact-box { padding: 32px; }
.statement-card h2,
.studio-copy h2,
.contact-box h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
}
.statement-card p,
.metric-list span,
.card-copy p,
.section-head p,
.studio-copy p,
.service-box p,
.contact-box p,
.lightbox-caption p {
  color: var(--muted);
}
.metric-list {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
.metric-list li {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.metric-list strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.projects-section,
.services-section,
.contact-section,
.site-footer,
.studio-section { margin-top: 28px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 22px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  letter-spacing: -0.03em;
  margin-top: 10px;
}
.section-head p {
  max-width: 640px;
}

.featured-grid {
  grid-template-columns: 1.3fr 0.7fr;
  margin-bottom: 22px;
}
.featured-card,
.project-card {
  overflow: hidden;
}
.featured-card img,
.project-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.featured-large img { aspect-ratio: 16 / 8.4; }
.project-trigger {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}
.project-trigger:hover img {
  transform: scale(1.03);
  filter: brightness(1.04);
}
.card-copy {
  padding: 22px 22px 24px;
}
.card-type {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.64);
  text-transform: uppercase;
}
.card-copy h3 {
  font-size: 1.08rem;
  margin: 8px 0 8px;
  letter-spacing: 0.01em;
}
.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.studio-section {
  grid-template-columns: 1fr 1fr;
}
.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-no {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.62);
  margin-bottom: 22px;
}
.service-box h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: end;
}
.contact-info {
  display: grid;
  gap: 8px;
}
.contact-name {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text) !important;
  letter-spacing: 0.08em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
}
.site-footer p {
  color: var(--muted);
  font-size: 0.86rem;
}
.site-footer strong {
  color: var(--text);
  letter-spacing: 0.16em;
  font-size: 0.82rem;
}
.site-footer span {
  margin-left: 8px;
  letter-spacing: 0.12em;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.84);
  display: grid;
  place-items: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 3000;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-stage {
  width: min(1500px, calc(100vw - 80px));
  max-height: calc(100vh - 80px);
  display: grid;
  gap: 18px;
}
.lightbox-image {
  width: 100%;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  background: #1f1f1f;
  border: 1px solid rgba(255,255,255,0.12);
}
.lightbox-caption h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 26px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .intro,
  .studio-section,
  .contact-box,
  .featured-grid,
  .services-grid,
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }
  .featured-large { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .site-header {
    padding: 16px 18px;
  }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    background: #2e2e2e;
    border: 1px solid var(--line);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    min-width: 220px;
  }
  .site-nav.is-open { display: flex; }
  .hero-inner {
    padding: 110px 0 70px;
  }
  .hero h1 { font-size: clamp(2.6rem, 8vw, 4.4rem); }
  .intro,
  .studio-section,
  .contact-box,
  .featured-grid,
  .services-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(var(--max), calc(100% - 24px));
  }
  .brand-symbol { width: 64px; }
  .brand-text strong { font-size: 0.82rem; }
  .hero-copy { font-size: 0.95rem; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }
  .btn { width: 100%; }
  .intro-card,
  .service-box,
  .studio-copy,
  .contact-box,
  .card-copy { padding: 22px; }
  .site-footer {
    flex-direction: column;
  }
  .lightbox {
    padding: 16px;
  }
  .lightbox-stage {
    width: calc(100vw - 32px);
  }
  .lightbox-close {
    top: 10px;
    right: 12px;
  }
}
