:root {
  --bg: #f5f5f5;
  --surface: #fafafa;
  --surface-strong: #111111;
  --text: #111111;
  --muted: #575757;
  --line: rgba(17, 17, 17, 0.96);
  --line-soft: rgba(17, 17, 17, 0.14);
  --accent: #111111;
  --radius: 0;
  --shadow: none;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Mono", monospace;
  color: var(--text);
  line-height: 1.55;
  background:
    linear-gradient(rgba(17, 17, 17, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.03) 1px, transparent 1px),
    var(--bg);
  background-size: 32px 32px, 32px 32px, auto;
}

p,
ul {
  margin: 0;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(245, 245, 245, 0.9);
  border-bottom: 1px solid var(--line);
}

.nav,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 18px 0;
}

.brand,
h1,
h2 {
  letter-spacing: -0.04em;
}

.brand {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.menu {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.button,
.button-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-strong);
  color: #ffffff;
  padding: 13px 22px;
  font: inherit;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
  box-shadow: inset 0 0 0 1px #111111;
}

.button-small {
  padding: 10px 16px;
}

.button:hover,
.button-small:hover {
  transform: translateY(-1px);
}

.text-link {
  font-weight: 700;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.hero {
  padding: var(--space-6) 0 var(--space-4);
}

.hero-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: var(--space-5);
  align-items: start;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 var(--space-2);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: 0.94;
  font-weight: 700;
}

h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.85rem, 4vw, 3.35rem);
  line-height: 1.02;
  font-weight: 700;
}

h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 700;
}

.lead,
.media-card p,
.showcase-card p,
.about-copy p,
.contact-text,
.service-card p,
.project-card p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.95rem;
}

.lead {
  max-width: 58ch;
  margin-top: var(--space-4);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-4);
}

.hero-strip span,
.card-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  background: var(--surface);
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.hero-visual .media-object {
  position: absolute;
  inset: 0;
}

.visual-card {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.visual-card-main {
  height: 100%;
  min-height: 460px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(12, 12, 12, 1), rgba(36, 36, 36, 0.9)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
  color: #f8f4ee;
  display: flex;
  align-items: end;
  font-size: 1.2rem;
  overflow: hidden;
  position: relative;
}

.visual-card-main::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(245, 245, 245, 0.18);
  pointer-events: none;
}

.visual-overlay {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.visual-label {
  margin: 0;
  color: rgba(248, 244, 238, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
}

.visual-overlay strong {
  max-width: 16ch;
  font-size: 1.55rem;
  line-height: 1.18;
}

.visual-card-accent {
  position: absolute;
  right: -10px;
  bottom: 24px;
  width: 220px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.visual-card-accent span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.visual-card-score {
  position: absolute;
  left: -10px;
  top: 28px;
  width: 220px;
  padding: 16px;
  background: rgba(250, 250, 250, 0.95);
  border: 1px solid var(--line);
}

.visual-card-score span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
}

.metrics {
  padding: var(--space-3) 0 var(--space-4);
}

.metrics-grid,
.media-grid,
.showcase-grid,
.services-grid,
.projects-grid,
.city-grid {
  display: grid;
  gap: 24px;
}

.metrics-grid {
  grid-template-columns: repeat(4, 1fr);
}

.metrics-grid article,
.service-card,
.project-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(250, 250, 250, 0.86);
  box-shadow: var(--shadow);
}

.metrics-grid article {
  padding: 20px;
}

.metrics-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.ticker-track {
  display: flex;
  gap: 36px;
  padding: 14px 0;
  width: max-content;
  white-space: nowrap;
  animation: scroll 32s linear infinite;
  font-weight: 700;
  font-size: 0.92rem;
}

.media-section {
  padding-top: 56px;
}

.section-dark {
  background: #121212;
  color: #f8f4ee;
}

.section-dark .about-copy p,
.section-dark .feature-list {
  color: rgba(246, 239, 230, 0.78);
}

.section-heading {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: start;
  gap: var(--space-4);
  margin-bottom: 36px;
}

.section-heading .eyebrow {
  margin-top: 6px;
}

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

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

.showcase-grid {
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
}

.media-card,
.showcase-card,
.service-card,
.project-card {
  padding: 24px;
}

.media-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(250, 250, 250, 0.98)),
    linear-gradient(135deg, rgba(17, 17, 17, 0.02), rgba(255, 255, 255, 0.22));
  box-shadow: var(--shadow);
}

.media-card-large {
  grid-column: span 2;
  min-height: 360px;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.08), rgba(18, 18, 18, 0.86)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.1), transparent 35%),
    #222;
  color: #fff8f0;
}

.media-card-large p,
.media-card-large a {
  color: rgba(255, 248, 240, 0.82);
}

.media-card a {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 700;
}

.showcase-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(250, 250, 250, 0.86);
}

.showcase-card-wide {
  background: #111111;
  color: #f5f5f5;
}

.showcase-card-wide .card-tag {
  color: #f5f5f5;
  border-color: rgba(245, 245, 245, 0.7);
  background: transparent;
}

.showcase-media {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  border: 1px solid currentColor;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.05), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}

.showcase-media.portrait {
  min-height: 320px;
}

.media-object {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #eaeaea;
}

video.media-object {
  background: #111111;
}

.showcase-card .card-tag,
.showcase-card-wide .card-tag {
  position: relative;
  z-index: 1;
}

.media-card h3,
.service-card h3,
.project-card h3 {
  margin-bottom: 12px;
}

.feature-list {
  margin: 22px 0 0;
  padding-left: 18px;
  line-height: 1.9;
  font-size: 0.95rem;
}

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

.project-image {
  min-height: 220px;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(28, 28, 28, 0.98), rgba(84, 84, 84, 0.88));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}

.image-one {
  background:
    linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(68, 68, 68, 0.84));
}

.image-two {
  background:
    linear-gradient(135deg, rgba(32, 32, 32, 0.98), rgba(110, 110, 110, 0.82));
}

.image-three {
  background:
    linear-gradient(135deg, rgba(230, 230, 230, 1), rgba(55, 55, 55, 0.92));
}

.city-section {
  padding-top: 24px;
}

.city-grid {
  grid-template-columns: repeat(5, 1fr);
}

.city-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  border: 1px solid var(--line);
  background: rgba(250, 250, 250, 0.86);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.cta-section {
  padding-top: 0;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 32px;
  border-radius: 0;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 1), rgba(42, 42, 42, 0.9)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 38%);
  color: #fff8f0;
  box-shadow: var(--shadow);
}

.contact-section {
  padding-bottom: 110px;
}

.contact-form {
  padding: 24px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  font-weight: 500;
  font-size: 0.88rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  padding: 14px 16px;
  font: inherit;
}

.contact-form button {
  margin-top: 8px;
}

.contact-mini {
  display: flex;
  gap: 26px;
  margin-top: 24px;
}

.contact-mini p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  gap: 18px;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .metrics-grid,
  .media-grid,
  .showcase-grid,
  .services-grid,
  .projects-grid,
  .city-grid {
    grid-template-columns: 1fr;
  }

  .menu {
    display: none;
  }

  .hero {
    padding-top: 36px;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: 340px;
  }

  .visual-card-main {
    min-height: 340px;
  }

  .visual-card-accent,
  .visual-card-score {
    position: static;
    width: auto;
    margin-top: 16px;
  }

  .media-card-large {
    grid-column: span 1;
    min-height: 250px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta-panel,
  .footer-row,
  .contact-mini {
    flex-direction: column;
    align-items: start;
  }
}
