:root {
  --ink: #1c1916;
  --ink-soft: #3f3933;
  --muted: #6e665c;
  --line: rgba(28, 25, 22, 0.14);
  --paper: #f3efe8;
  --paper-deep: #e7e1d6;
  --stone: #cfc6b8;
  --warm: #8d7358;
  --hero: #171512;
  --hero-text: #f6f1e8;
  --hero-muted: rgba(246, 241, 232, 0.62);
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--warm);
}

:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 3px;
}

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 6vw;
  color: var(--hero-text);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
}

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    linear-gradient(180deg, rgba(23, 21, 18, 0.2), rgba(23, 21, 18, 0.55)),
    radial-gradient(1200px 700px at 80% 20%, #2c2823 0%, transparent 60%),
    var(--hero);
  color: var(--hero-text);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 7rem 6vw 3.2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 12vh 6vw auto auto;
  width: min(42vw, 520px);
  height: min(52vh, 460px);
  border: 1px solid rgba(246, 241, 232, 0.16);
  background:
    linear-gradient(160deg, rgba(141, 115, 88, 0.28), transparent 55%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 47px,
      rgba(246, 241, 232, 0.06) 48px
    );
}

.hero-kicker {
  position: relative;
  margin: 0 0 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hero-muted);
}

.hero h1 {
  position: relative;
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.1rem, 7.4vw, 6.4rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
}

.hero h1 span {
  display: block;
  font-style: italic;
  font-weight: 400;
  padding-left: 0.18em;
}

.hero-foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(246, 241, 232, 0.18);
  font-size: 0.92rem;
  color: var(--hero-muted);
}

.wrap {
  width: min(1120px, calc(100% - 12vw));
  margin: 0 auto;
}

.intro {
  padding: 7.5rem 0 5rem;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 4rem;
  align-items: end;
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm);
}

.intro h2,
.work h2,
.about h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.intro h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.intro p {
  margin: 0;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.work {
  padding: 1rem 0 6rem;
}

.work-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 2.2rem;
}

.work h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.note {
  margin: 0;
  max-width: 22rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.slot {
  background: var(--paper-deep);
  min-height: 280px;
  padding: 1.2rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
}

.slot:first-child {
  grid-row: 1 / span 2;
  min-height: 580px;
}

.plate {
  flex: 1;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(28, 25, 22, 0.16);
  background: #efeae2;
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

.slot:first-child .plate {
  min-height: 420px;
}

.plate::before,
.plate::after {
  content: "";
  position: absolute;
  background: rgba(28, 25, 22, 0.12);
}

.slot:nth-child(1) .plate::before {
  width: 46%;
  height: 62%;
  left: 12%;
  bottom: 0;
  background: #d8d0c4;
}

.slot:nth-child(1) .plate::after {
  width: 22%;
  height: 78%;
  right: 16%;
  bottom: 0;
  background: #c4b8a8;
}

.slot:nth-child(2) .plate::before {
  width: 70%;
  height: 38%;
  left: 10%;
  top: 28%;
  background: #ddd4c8;
}

.slot:nth-child(2) .plate::after {
  width: 1px;
  height: 100%;
  left: 38%;
  top: 0;
}

.slot:nth-child(3) .plate::before {
  width: 54%;
  height: 54%;
  right: 12%;
  bottom: 12%;
  background: #d5cbbd;
  border-radius: 50%;
}

.slot:nth-child(3) .plate::after {
  width: 100%;
  height: 1px;
  left: 0;
  top: 42%;
}

.slot-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.slot h3 {
  margin: 0.35rem 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.about {
  background: var(--ink);
  color: var(--hero-text);
  padding: 5.5rem 0;
}

.about-inner {
  width: min(1120px, calc(100% - 12vw));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.about h2 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.about p {
  margin: 0;
  max-width: 36rem;
  color: var(--hero-muted);
  font-size: 1.08rem;
}

.contact {
  padding: 4.5rem 0 3rem;
}

.contact-line {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}

.contact p {
  margin: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}

.domain {
  font-family: var(--serif);
  font-size: clamp(0.9rem, 2vw, 1.4rem);
  font-style: italic;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.fine {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .nav {
    padding: 1.1rem 1.25rem;
  }

  .nav-links {
    gap: 0.9rem;
  }

  .hero {
    padding: 6.5rem 1.25rem 2rem;
  }

  .hero::before {
    width: 70vw;
    height: 28vh;
    inset: 18vh 1.25rem auto auto;
  }

  .hero-foot {
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 2.4rem;
  }

  .wrap,
  .about-inner {
    width: calc(100% - 2.5rem);
  }

  .intro,
  .about-inner,
  .grid,
  .work-head,
  .contact-line {
    grid-template-columns: 1fr;
    display: grid;
    gap: 1.1rem;
  }

  .contact-details {
    align-items: flex-start;
  }

  .intro,
  .work,
  .about,
  .contact {
    padding-left: 0;
    padding-right: 0;
  }

  .intro {
    padding-top: 4.2rem;
    padding-bottom: 2.5rem;
  }

  .slot,
  .slot:first-child {
    grid-row: auto;
    min-height: 0;
  }

  .slot:first-child .plate {
    min-height: 220px;
  }

  .contact-line {
    align-items: start;
  }
}
