:root {
  --bg: #fffef2;
  --surface: #f2f1e6;
  --text: #333333;
  --muted: #777772;
  --border: #dfded3;

  --page-padding: clamp(20px, 4vw, 72px);
  --section-space: clamp(72px, 10vw, 150px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

/* HEADER */

.site-header {
  width: 100%;
  padding: 28px var(--page-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 13px;
}

.nav a:hover {
  text-decoration: underline;
}

/* HERO */

.hero {
  width: 100%;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(320px, 40%) 1fr;
  align-items: stretch;
}

.hero-text {
  padding:
    clamp(70px, 9vw, 140px)
    var(--page-padding);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.intro {
  max-width: 480px;
  margin: 28px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}

.hero-links {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  border-radius: 0;
  font-weight: 700;
}

.button:hover {
  background: transparent;
  color: var(--text);
}

.text-link {
  border-bottom: 1px solid transparent;
}

.text-link:hover {
  border-color: var(--text);
}

/* HERO IMAGE */

.hero-image {
  width: 100%;
  min-height: 70vh;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 70vh;
  object-fit: cover;
  object-position: center;
}

/* ABOUT */

.about {
  width: 100%;
  padding:
    var(--section-space)
    var(--page-padding);
  border-top: 1px solid var(--border);
}

.about p {
  margin: 0;
  max-width: 900px;
  font-size: clamp(26px, 3vw, 46px);
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.025em;
}

/* GALLERY */

.gallery-section {
  width: 100%;
  padding:
    0
    var(--page-padding)
    var(--section-space);
}

.section-heading {
  padding: 0 0 32px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.gallery {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
}

.gallery-item {
  margin: 0;
  width: 100%;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: clamp(420px, 65vw, 850px);
  object-fit: cover;
}

.gallery-item.large {
  grid-column: 1 / -1;
}

.gallery-item.large img {
  height: min(85vh, 1000px);
}

/* FOOTER */

.footer {
  width: 100%;
  padding:
    48px
    var(--page-padding)
    64px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  text-transform: lowercase;
}

.footer p,
.footer-links {
  margin: 0;
  font-size: 13px;
}

/* TABLET */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-text {
    min-height: 55vh;
  }

  .hero-image {
    min-height: auto;
  }

  .hero-image img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }

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

  .gallery-item.large {
    grid-column: auto;
  }

  .gallery-item img,
  .gallery-item.large img {
    height: auto;
    aspect-ratio: 4 / 5;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .site-header {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .nav {
    gap: 16px;
  }

  .nav a {
    font-size: 12px;
  }

  .hero-text {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .hero-links {
    flex-wrap: wrap;
  }

  .about {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .footer {
    flex-direction: column;
  }
}
