@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f6f3;
  --surface: #fcfcfc;
  --ink: #1a1a18;
  --body: #4a4946;
  --muted: #6f6e69;
  --line: #e8e6e0;
  --line-strong: #d9d6ce;
  --btn: #1a1a18;
  --btn-ink: #f7f6f3;
  --shadow-low: 0 0 0 0.5px #d9d6ce, 0 1px 2px rgba(26, 26, 24, 0.04);
  --radius: 8px;
  --radius-sm: 6px;
  --nav: 64px;
  --gutter: clamp(20px, 4vw, 48px);
  --shell: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100dvh;
  font-family: "Manrope", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--nav);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  font-weight: 650;
  font-size: 15px;
  letter-spacing: -0.03em;
}
.brand__mark {
  width: 14px;
  height: 14px;
  background: var(--ink);
  display: inline-block;
  position: relative;
  flex: none;
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 2px 5px;
  background: var(--bg);
}
.nav__links {
  display: flex;
  gap: clamp(18px, 2.4vw, 32px);
  margin-left: auto;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  letter-spacing: -0.01em;
}
.nav__link:hover { color: var(--ink); }
.nav__cta { margin-left: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
  line-height: 1;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--solid {
  background: var(--btn);
  color: var(--btn-ink);
}
.btn--solid:hover { background: #2c2c28; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--ghost:hover { background: var(--surface); }
.btn--lg { padding: 15px 24px; font-size: 15px; }

#dither {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
}
.hero {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: calc(100dvh - var(--nav));
  overflow: hidden;
  background: transparent;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 42%, color-mix(in srgb, var(--bg) 12%, transparent) 68%, transparent 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 40%, transparent) 0%, transparent 18%, transparent 78%, var(--bg) 100%);
}
.hero__copy {
  position: relative;
  z-index: 2;
  padding: 48px var(--gutter) 64px;
  max-width: 640px;
  margin-left: max(0px, calc((100vw - var(--shell)) / 2));
}
.band,
.contact,
.company,
.footer {
  position: relative;
  z-index: 2;
  background: var(--bg);
}
.contact { background: var(--ink); }
.hero h1 {
  color: var(--ink);
  font-size: clamp(32px, 4.1vw, 48px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
  max-width: 16ch;
}
.hero__sub {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 16.5px;
  line-height: 1.5;
  color: var(--body);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.band {
  padding: 88px 0;
}
.band--tight { padding: 64px 0 88px; }
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

h2 {
  color: var(--ink);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 650;
  letter-spacing: -0.038em;
  line-height: 1.15;
}
.lede {
  margin-top: 16px;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.55;
}

.what {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.what__copy p + p { margin-top: 14px; }
.what__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-low);
}
.what__note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.service {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.service:nth-child(odd) { padding-right: 32px; }
.service:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
.service h3 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.service p {
  font-size: 15px;
  max-width: 46ch;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.step {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step h3 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}
.step p { font-size: 15px; max-width: 42ch; }
.steps__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-low);
}

.work-head { margin-bottom: 36px; max-width: 40ch; }
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.gallery__hero {
  grid-row: 1 / 3;
}
.gallery__hero img { aspect-ratio: 3 / 4; min-height: 100%; }
.gallery__a img,
.gallery__b img { aspect-ratio: 16 / 10; }

.case {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.case blockquote {
  color: var(--ink);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.22;
}
.case__meta {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
  max-width: 42ch;
}
.case img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-low);
}

.contact {
  background: var(--ink);
  color: #d4d2cc;
  padding: 88px 0;
}
.contact h2 { color: #f4f3ef; max-width: 16ch; }
.contact p {
  margin-top: 16px;
  max-width: 46ch;
  color: #c5c3bb;
}
.contact__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  margin-top: 32px;
}
.contact .btn--solid {
  background: #f4f3ef;
  color: var(--ink);
}
.contact .btn--solid:hover { background: #fff; }
.contact a.phone {
  color: #f4f3ef;
  font-weight: 650;
  font-size: 18px;
  letter-spacing: -0.03em;
}
.contact a.phone:hover { opacity: 0.8; }

.company {
  padding: 56px 0 32px;
}
.defs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
  margin-top: 28px;
}
.defs dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.defs dd {
  color: var(--ink);
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.footer a:hover { color: var(--ink); }
.footer nav { display: flex; gap: 20px; }
.footer > div { display: flex; flex-direction: column; gap: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .hero {
    min-height: calc(100dvh - var(--nav));
  }
  .hero__copy {
    margin: 0;
    padding: 36px var(--gutter) 48px;
  }
  .hero h1 { max-width: 14ch; }
  .what,
  .steps,
  .case,
  .gallery {
    grid-template-columns: 1fr;
  }
  .gallery__hero { grid-row: auto; }
  .gallery__hero img { aspect-ratio: 4 / 3; }
  .services { grid-template-columns: 1fr; }
  .service:nth-child(odd),
  .service:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }
  .defs { grid-template-columns: 1fr 1fr; }
  .band { padding: 64px 0; }
  .contact { padding: 64px 0; }
}

@media (max-width: 520px) {
  .defs { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}
