:root {
  --bg: #ece6df;
  --surface: #f6f1ea;
  --text: #13110f;
  --muted: rgba(19, 17, 15, 0.72);
  --line: rgba(19, 17, 15, 0.12);
  --shadow: 0 30px 80px rgba(18, 15, 12, 0.16);
  --content-width: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 22%),
    linear-gradient(180deg, #f7f2eb 0%, var(--bg) 100%);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.site-header,
.intro,
.works,
.split,
.services,
.journal,
.contact,
.site-footer {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  width: min(1280px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  color: #f8f1ea;
  mix-blend-mode: difference;
}

.brand,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
}

.brand {
  font-size: 2rem;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  background: #f3eee7;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(248, 243, 237, 0.92) 0%, rgba(248, 243, 237, 0.72) 30%, rgba(248, 243, 237, 0.22) 58%, rgba(248, 243, 237, 0.06) 84%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(28, 23, 19, 0.14));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 40px));
  min-height: 100svh;
  margin-left: clamp(20px, 7vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 0 64px;
  color: #2f2721;
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  opacity: 0.68;
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  line-height: 0.94;
}

.hero-copy h1 {
  font-size: clamp(3.6rem, 9vw, 7.3rem);
  max-width: 7.2ch;
  text-wrap: balance;
}

.hero-text {
  max-width: 33ch;
  margin: 22px 0 0;
  line-height: 1.8;
  color: rgba(47, 39, 33, 0.76);
}

.hero-link {
  margin-top: 28px;
  width: fit-content;
  border-bottom: 1px solid rgba(47, 39, 33, 0.28);
  padding-bottom: 6px;
  font-size: 0.94rem;
}

.intro {
  padding: 64px 0 18px;
}

.intro-line {
  max-width: 780px;
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.58rem);
  line-height: 1.75;
  color: var(--muted);
}

.works,
.split,
.services,
.journal,
.contact {
  padding: 56px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.gallery figure {
  margin: 0;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 22px;
  overflow: hidden;
}

.gallery figure:nth-child(1) { grid-column: span 5; }
.gallery figure:nth-child(2) { grid-column: span 3; }
.gallery figure:nth-child(3) { grid-column: span 4; }
.gallery figure:nth-child(4) { grid-column: span 3; }
.gallery figure:nth-child(5) { grid-column: span 5; }
.gallery figure:nth-child(6) { grid-column: span 4; }

.gallery img {
  height: clamp(280px, 38vw, 560px);
  object-fit: cover;
}

.gallery .wide img {
  object-position: center 44%;
}

.gallery figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 42px;
  align-items: start;
}

.split-copy,
.journal-copy,
.contact-note,
.service-list p {
  color: var(--muted);
  line-height: 1.85;
}

.split-copy p:first-child,
.journal-copy,
.contact-note {
  margin-top: 0;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-list article {
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.service-list h3 {
  margin: 0 0 10px;
  font-size: 2.05rem;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px 26px;
}

.contact-link {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.site-footer {
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

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

@media (max-width: 980px) {
  .site-header {
    mix-blend-mode: normal;
    color: #f8f1ea;
  }

  .gallery,
  .split,
  .service-list {
    grid-template-columns: 1fr;
  }

  .gallery figure,
  .gallery figure:nth-child(1),
  .gallery figure:nth-child(2),
  .gallery figure:nth-child(3),
  .gallery figure:nth-child(4),
  .gallery figure:nth-child(5),
  .gallery figure:nth-child(6) {
    grid-column: auto;
  }

  .gallery img {
    height: min(72vw, 520px);
  }

  .service-list {
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: calc(100% - 28px);
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.88rem;
  }

  .hero-copy {
    width: calc(100% - 28px);
    margin-left: 14px;
    padding-bottom: 38px;
  }

  .hero-image {
    object-position: 76% 34%;
  }

  .intro,
  .works,
  .split,
  .services,
  .journal,
  .contact,
  .site-footer {
    width: calc(100% - 28px);
  }

  .hero-copy h1 {
    max-width: 7ch;
  }
}
