:root {
  --black: #0d0d0d;
  --black-soft: #151515;
  --red: #e53935;
  --white: #f7f7f5;
  --white-soft: #efefea;
  --gray: #747474;
  --gray-light: #b9b9b2;
  --border: #e3e3dc;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 13, 13, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 13, 13, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 70%);
  z-index: -1;
}

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

.section {
  padding: 88px 6%;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 18px 6%;
  background: rgba(247, 247, 245, 0.86);
  border-bottom: 1px solid rgba(13, 13, 13, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 112px;
}

.brand-logo {
  width: 100%;
  height: auto;
  display: block;
}

.site-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 0;
  color: rgba(13, 13, 13, 0.72);
  font-size: 1rem;
  padding-top: 16px;
}

.site-nav a {
  padding: 14px 0;
  border-top: 1px solid rgba(13, 13, 13, 0.08);
  transition: color 0.25s ease;
}

.site-nav a:hover {
  color: var(--red);
}

.active-link {
  color: var(--red);
}

.site-nav.is-open {
  display: flex;
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--black);
  padding: 4px;
  cursor: pointer;
}

.menu-icon {
  color: var(--red);
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
}

/* HERO */
.hero {
  min-height: auto;
  padding: 64px 6% 72px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
}

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

.eyebrow,
.section-label,
.footer-label,
.project-type {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
}

.eyebrow {
  margin-bottom: 20px;
}

.hero-brand-mark {
  font-size: clamp(2.8rem, 10vw, 5.2rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.08em;
  margin-bottom: 22px;
}

.hero-fx,
.story-highlight {
  color: var(--red);
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.2rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin-bottom: 24px;
}

.hero-text {
  max-width: 620px;
  color: var(--gray);
  font-size: clamp(1rem, 2.5vw, 1.18rem);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.94rem;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--black);
  color: var(--white);
}

.button-dark:hover {
  background: var(--red);
}

.button-light {
  border: 1px solid rgba(13, 13, 13, 0.22);
  color: var(--black);
}

.button-light:hover {
  border-color: var(--red);
  color: var(--red);
}

.hero-panel {
  width: 100%;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--black);
  box-shadow: 0 28px 80px rgba(13, 13, 13, 0.18);
}

.hero-cover-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  object-position: center right;
  transition: transform 0.2s linear;
}

/* STORY */
.story-section {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  margin-bottom: 18px;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.section h2,
.story-grid h2,
.section-heading h2,
.now-header h2,
.with-us-copy h2,
.collab-box h2,
.footer-top h2 {
  font-size: clamp(1.9rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.story-content {
  color: var(--gray);
  font-size: 1.02rem;
}

.story-content p {
  margin-bottom: 22px;
}

.story-content p:last-child {
  margin-bottom: 0;
}

/* WHAT WE BUILD */
.build-section {
  background: var(--white-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-heading {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-heading p,
.now-header p {
  max-width: 690px;
  margin-top: 24px;
  color: var(--gray);
  font-size: 1.04rem;
}

.build-grid {
  max-width: var(--max-width);
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(13, 13, 13, 0.12);
}

.build-card {
  padding: 28px 0;
  border-bottom: 1px solid rgba(13, 13, 13, 0.12);
  transition: transform 0.25s ease;
}

.build-card:hover {
  transform: translateX(6px);
}

.build-card span {
  display: block;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.build-card h3 {
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}

.build-card p {
  color: var(--gray);
  max-width: 520px;
}

/* BUILDING NOW */
.now-section {
  background: var(--black);
  color: var(--white);
}

.now-header {
  max-width: var(--max-width);
  margin: 0 auto;
}

.now-header p {
  color: var(--gray-light);
}

.project-grid {
  max-width: var(--max-width);
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.project-card {
  min-height: 280px;
  padding: 28px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(229, 57, 53, 0.14), transparent 45%), #191919;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 57, 53, 0.6);
}

.project-type {
  margin-bottom: 18px;
}

.project-card h3 {
  font-size: clamp(1.7rem, 5vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}

.project-card p:last-child {
  color: var(--gray-light);
  max-width: 520px;
}

/* BUILD WITH US */
.with-us-section {
  background: var(--white);
  position: relative;
}

.with-us-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
}

.with-us-copy {
  max-width: 760px;
}

.with-us-copy p:not(.section-label) {
  color: var(--gray);
  font-size: 1.04rem;
  margin-top: 20px;
}

.with-us-cta {
  background:
    radial-gradient(
      circle at top right,
      rgba(229, 57, 53, 0.18),
      transparent 34%
    ),
    var(--white-soft);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: clamp(28px, 5vw, 56px);
  align-self: start;
}

.with-us-cta p {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.with-us-cta h3 {
  font-size: clamp(1.45rem, 4vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 28px;
}

.with-us-cta .button {
  background: var(--black);
  color: var(--white);
}

.with-us-cta .button:hover {
  background: var(--red);
}

/* COLLAB SECTION */
.collaboration-section {
  background: var(--white);
}

.collab-box {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--black);
  color: var(--white);
  padding: clamp(36px, 8vw, 84px);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}

.collab-box::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(229, 57, 53, 0.22);
  right: -80px;
  top: -80px;
  filter: blur(8px);
}

.collab-box > * {
  position: relative;
  z-index: 1;
}

.collab-box p:last-child {
  max-width: 700px;
  color: var(--gray-light);
  margin-top: 24px;
  font-size: 1.04rem;
}

/* FOOTER */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 76px 6% 34px;
}

.footer-top,
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-label {
  margin-bottom: 20px;
}

.footer-bottom {
  padding-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  color: var(--gray-light);
}

.footer-logo {
  width: 140px;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-contact > a {
  color: var(--white);
  font-size: clamp(1.4rem, 8vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.footer-contact > a:hover,
.footer-links a:hover {
  color: var(--red);
}

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

.footer-links a {
  color: var(--gray-light);
  transition: color 0.25s ease;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* TABLET */
@media (min-width: 700px) {
  .section {
    padding: 112px 7%;
  }

  .hero {
    padding: 86px 7% 96px;
  }

  .build-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 36px;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-bottom {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: end;
  }
}

/* LAPTOP */
@media (min-width: 1000px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    width: auto;
    flex-direction: row;
    gap: 28px;
    padding-top: 0;
    font-size: 0.92rem;
  }

  .site-nav a {
    padding: 0;
    border-top: 0;
  }

  .hero {
    min-height: calc(100vh - 72px);
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding-top: 82px;
  }

  .hero-panel {
    min-height: 620px;
  }

  .hero-cover-image {
    min-height: 620px;
  }

  .story-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
  }

  .build-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 38px;
  }
  .with-us-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
  }
}

/* WIDE */
@media (min-width: 1300px) {
  .hero {
    gap: 72px;
  }
}
