:root {
  color-scheme: dark;
  --bg: #000;
  --text: #f6f6f4;
  --muted: #b7b7b2;
  --line: #171717;
  --button: #f4f4f1;
  --button-text: #111;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

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

.section {
  border-bottom: 1px solid var(--line);
}

.hero {
  min-height: 635px;
  display: grid;
  place-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(310px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 9vw, 132px);
  padding: 88px 0;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-visual img {
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 9px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.brand-mark {
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 22px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.hero-copy p {
  margin-top: 15px;
  color: var(--muted);
  font-size: clamp(12px, 1.4vw, 16px);
}

.hero-copy p span {
  margin: 0 6px;
  color: #666;
}

.button {
  min-height: 42px;
  margin-top: 28px;
  padding: 11px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--button);
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: transparent;
  color: var(--text);
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.portfolio {
  padding: 84px 0 105px;
}

.portfolio h2,
.reviews h2 {
  text-align: center;
  font-size: clamp(17px, 2vw, 27px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.work-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.3vw, 30px);
}

.work-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
}

.reviews {
  padding: 94px 0 112px;
}

.review-strip {
  margin: 58px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  max-width: 850px;
}

.review-strip img {
  width: 100%;
  aspect-ratio: 0.74;
  object-fit: cover;
  border-radius: 28px;
}

.brand-divider {
  height: 82px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  color: #999;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.final-cta {
  min-height: 520px;
  display: grid;
  place-items: center;
  border-bottom: 0;
  text-align: center;
}

.final-cta .shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta h2 {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.button-large {
  margin-top: 34px;
  min-height: 46px;
  padding-inline: 34px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay,
.reveal-delay-1 {
  transition-delay: 80ms;
}

.reveal-delay-2 {
  transition-delay: 150ms;
}

.reveal-delay-3 {
  transition-delay: 220ms;
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 32px, 568px);
  }

  .hero {
    min-height: 420px;
  }

  .hero-inner {
    grid-template-columns: minmax(130px, 0.9fr) minmax(170px, 1.1fr);
    gap: 22px;
    padding: 48px 14px;
  }

  .hero-visual img {
    width: 100%;
    border-radius: 6px;
  }

  .brand-mark {
    width: 92px;
    height: 94px;
    margin-bottom: 12px;
  }

  h1 {
    font-size: clamp(19px, 4.5vw, 26px);
    line-height: 1.12;
  }

  .hero-copy p {
    margin-top: 8px;
    font-size: 9px;
  }

  .hero-copy p span {
    margin-inline: 3px;
  }

  .button {
    min-height: 32px;
    margin-top: 16px;
    padding: 8px 22px;
    font-size: 11px;
  }

  .portfolio {
    padding: 44px 0 66px;
  }

  .portfolio h2,
  .reviews h2 {
    font-size: 15px;
  }

  .work-grid {
    margin-top: 32px;
    margin-inline: -16px;
    padding: 0 16px 10px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    align-items: center;
  }

  .work-grid::-webkit-scrollbar {
    display: none;
  }

  .work-grid img {
    flex: 0 0 min(78vw, 320px);
    width: min(78vw, 320px);
    height: auto;
    min-width: 0;
    aspect-ratio: 3 / 4;
    scroll-snap-align: center;
    border-radius: 12px;
  }

  .reviews {
    padding: 62px 0 76px;
  }

  .review-strip {
    margin-top: 38px;
    gap: 10px;
  }

  .review-strip img {
    border-radius: 17px;
  }

  .brand-divider {
    height: 54px;
    font-size: 8px;
  }

  .final-cta {
    min-height: 350px;
  }

  .final-cta h2 {
    font-size: 24px;
  }

  .button-large {
    min-height: 36px;
    margin-top: 24px;
    padding-inline: 26px;
  }
}

@media (max-width: 390px) {
  .hero-inner {
    grid-template-columns: 1fr 1.05fr;
    padding-inline: 0;
    gap: 16px;
  }

  .brand-mark {
    width: 76px;
    height: 78px;
  }

  .hero-copy p {
    max-width: 160px;
    line-height: 1.45;
  }

  .review-strip {
    margin-inline: -16px;
    padding: 0 16px 10px;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .review-strip::-webkit-scrollbar {
    display: none;
  }

  .review-strip img {
    flex: 0 0 132px;
    scroll-snap-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
