:root {
  color-scheme: light;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: #111111;
  background: #ece7dd;
  line-height: 1.7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #ece7dd;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 30px 60px;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 40px;
  background: rgba(12, 10, 9, 0.18);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-subtitle {
  margin-top: 6px;
  font-size: 0.94rem;
  color: #6a655d;
}

.site-nav {
  display: flex;
  gap: 30px;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.95);
  transition: width 0.25s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  color: #ffffff;
  font-size: 1.6rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 0;
  margin: 0 0 80px;
  background: #111111;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel-controls {
  position: absolute;
  right: 40px;
  bottom: 32px;
  z-index: 3;
  display: flex;
  gap: 12px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 1);
  transform: scale(1.15);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.18), rgba(8, 7, 6, 0.88));
}

.hero-panel {
  position: relative;
  z-index: 1;
  padding: 72px 64px 72px;
  max-width: 720px;
  color: #ffffff;
}

.hero-panel .eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-tag {
  display: inline-flex;
  margin-bottom: 22px;
  color: #111111;
  background: #ffffff;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border-radius: 999px;
}

.hero-panel h1 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #ffffff;
  font-weight: 900;
}

.hero-panel p {
  margin: 24px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  font-size: 0.95rem;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: rgba(255, 255, 255, 0.95);
  color: #111111;
  border-color: transparent;
}

.button-secondary {
  background: transparent;
  color: #ffffff;
}

.hero-label {
  position: absolute;
  right: 40px;
  bottom: 32px;
  z-index: 1;
  font-size: clamp(5rem, 9vw, 8rem);
  color: rgba(255, 255, 255, 0.12);
  font-weight: 900;
  letter-spacing: -0.08em;
}

.section {
  padding: 120px 0 80px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
  position: relative;
}

.section-head .eyebrow {
  margin-bottom: 12px;
  color: #111111;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 800;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #111111;
  font-weight: 900;
}

.section-head p {
  margin: 20px 0 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.9;
}

.waterfall-grid {
  column-count: 3;
  column-gap: 24px;
}

.project-card {
  display: inline-grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  margin: 0 0 24px;
  padding: 30px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  break-inside: avoid;
}

.project-card.wide {
  width: 100%;
}

.project-card.tall {
  padding-bottom: 42px;
}

.project-media {
  min-height: 240px;
  border-radius: 20px;
  background: #111111;
  display: grid;
  overflow: hidden;
}

.project-media img,
.project-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-media video {
  filter: brightness(0.9);
}

.project-copy h3 {
  margin: 0;
  font-size: 1.7rem;
  color: #111111;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.project-copy p {
  margin: 12px 0 0;
  color: #333;
  font-size: 1rem;
  line-height: 1.9;
}

.contact {
  padding-bottom: 120px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-card {
  padding: 34px;
  border-radius: 24px;
  background: #111111;
  border: 1px solid #111111;
  color: #ffffff;
  position: relative;
  overflow: visible;
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 38%);
  pointer-events: none;
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-social {
  display: block;
  margin-top: 12px;
  line-height: 1.7;
}

.social-hover {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.95);
}

.social-hover::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.social-divider {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.65);
}

.social-preview {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) translateY(12px);
  width: 160px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 4;
}

.social-hover:hover .social-preview {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.social-preview img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.contact-label {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
}

.contact-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.9;
}

.site-footer {
  padding: 28px 0 36px;
  text-align: center;
  color: #555;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .page-shell {
    padding: 24px 24px 50px;
  }

  .waterfall-grid {
    column-count: 2;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 28px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    display: none;
    flex-direction: column;
    padding: 18px 0;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: 80vh;
    border-radius: 20px;
  }

  .hero-panel {
    padding: 32px 24px 45px;
  }

  .hero-panel h1 {
    font-size: 2.8rem;
  }

  .hero-label {
    right: 20px;
    bottom: 12px;
    font-size: 5rem;
  }

  .section {
    padding: 70px 0;
  }

  .waterfall-grid {
    column-count: 1;
  }
}
