:root {
  --bg: #f1efe8;
  --ink: #151513;
  --muted: #77736a;
  --line: rgba(21, 21, 19, 0.14);
  --card: #e7e2d7;
  --accent: #9c5b3c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

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

.container {
  width: min(1400px, calc(100% - 64px));
  margin: auto;
}

/* Navigation */

nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 13px;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hero */

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 70px;
  padding: 70px 0 50px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 28px;
}

h1 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: clamp(72px, 8vw, 142px);
  line-height: 0.82;
  letter-spacing: -0.055em;
}

h1 em {
  font-weight: 500;
  color: var(--accent);
}

.hero-copy {
  max-width: 430px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 46px 0 34px;
}

.button {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  padding: 15px 21px;
  border: 1px solid var(--ink);
  font-size: 12px;
  transition: 0.3s ease;
}

.button:hover {
  background: var(--ink);
  color: var(--bg);
}

.hero-image {
  position: relative;
  height: 72vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-image img {
  height: 100%;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-image:hover img {
  transform: scale(1.025);
}

.image-tag {
  position: absolute;
  right: 22px;
  bottom: 22px;
  background: rgba(241, 239, 232, 0.91);
  backdrop-filter: blur(12px);
  padding: 14px 17px;
  font-size: 11px;
  line-height: 1.5;
}

/* Intro */

.intro {
  padding: 170px 0;
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 90px;
  border-top: 1px solid var(--line);
}

.section-number {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.intro h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.07;
  max-width: 900px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.intro h2 em {
  color: var(--accent);
  font-weight: 500;
}

/* Objects */

.objects {
  padding-bottom: 180px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.section-heading p {
  color: var(--muted);
  max-width: 340px;
  font-size: 13px;
  line-height: 1.6;
}

.object-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 22px;
}

.object-card {
  cursor: pointer;
}

.object-image {
  overflow: hidden;
  background: var(--card);
  aspect-ratio: 3 / 4;
}

.object-card:first-child .object-image {
  aspect-ratio: 4 / 5;
}

.object-image img {
  height: 100%;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.object-card:hover img {
  transform: scale(1.035);
}

.object-info {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  font-size: 12px;
}

.object-info span:last-child {
  color: var(--muted);
}

/* Feature */

.feature {
  position: relative;
  height: 92vh;
  min-height: 700px;
  overflow: hidden;
  color: white;
}

.feature img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.12) 60%,
    transparent 100%
  );
}

.feature-content {
  position: absolute;
  left: 7vw;
  bottom: 9vh;
  z-index: 2;
  max-width: 640px;
}

.feature-content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(60px, 7vw, 112px);
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.feature-content p {
  max-width: 440px;
  margin-top: 30px;
  line-height: 1.7;
  opacity: 0.82;
  font-size: 14px;
}

/* Categories */

.categories {
  padding: 170px 0;
}

.category {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding: 31px 0;
  cursor: pointer;
  transition: padding 0.35s ease;
}

.category:last-child {
  border-bottom: 1px solid var(--line);
}

.category:hover {
  padding-left: 15px;
}

.category-number {
  color: var(--muted);
  font-size: 11px;
}

.category-name {
  font-family: "Playfair Display", serif;
  font-size: clamp(35px, 4vw, 58px);
  letter-spacing: -0.035em;
}

.category-count {
  font-size: 11px;
  color: var(--muted);
}

/* Philosophy */

.philosophy {
  padding: 30px 0 180px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: end;
}

.philosophy-img {
  height: 700px;
}

.philosophy-img img {
  height: 100%;
}

.philosophy-text {
  padding-bottom: 30px;
}

.philosophy-text h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(50px, 5vw, 78px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 35px;
}

.philosophy-text p {
  color: var(--muted);
  max-width: 500px;
  line-height: 1.8;
  font-size: 14px;
}

/* CTA */

.cta {
  text-align: center;
  padding: 150px 20px 170px;
  border-top: 1px solid var(--line);
}

.cta .eyebrow {
  margin-bottom: 35px;
}

.cta h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(66px, 10vw, 150px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.cta h2 em {
  color: var(--accent);
  font-weight: 500;
}

.cta .button {
  margin-top: 50px;
}

footer {
  border-top: 1px solid var(--line);
  min-height: 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

/* Responsive */

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 32px), 1400px);
  }

  nav {
    height: 75px;
  }

  .nav-links a:not(:last-child) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
  }

  .hero-image {
    height: 68vh;
    min-height: 500px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 110px 0;
  }

  .object-grid {
    grid-template-columns: 1fr;
  }

  .object-image,
  .object-card:first-child .object-image {
    aspect-ratio: 4 / 5;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .feature {
    min-height: 620px;
    height: 80vh;
  }

  .categories {
    padding: 110px 0;
  }

  .category {
    grid-template-columns: 45px 1fr auto;
    gap: 10px;
  }

  .philosophy {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-bottom: 110px;
  }

  .philosophy-img {
    height: 570px;
  }

  .cta {
    padding: 110px 0 130px;
  }

  footer {
    gap: 20px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
