@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
  --ink: #111111;
  --paper: #f7f3ec;
  --white: #ffffff;
  --muted: #706b64;
  --line: rgba(17, 17, 17, 0.18);
  --accent: #b28652;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(22px, 5vw, 76px);
  background: rgba(247, 243, 236, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 600;
}

nav { display: flex; gap: 24px; }
nav a {
  text-decoration: none;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding: clamp(70px, 10vw, 140px) clamp(22px, 7vw, 110px);
  border-bottom: 1px solid var(--line);
}

.eyebrow, .section-label {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 0.98;
}

h1 { font-size: clamp(4.2rem, 10vw, 9rem); }
h2 { font-size: clamp(2.8rem, 6vw, 6rem); }

.intro {
  max-width: 650px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-block;
  padding: 14px 20px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.button-primary { background: var(--ink); color: var(--white); }
.button-secondary { background: transparent; }

.hero-mark {
  display: grid;
  place-content: center;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 0.9;
  text-align: center;
  transform: rotate(-5deg);
}

.hero-mark span:nth-child(2) {
  color: var(--accent);
  font-style: italic;
}

.statement,
.social,
.contact {
  padding: clamp(80px, 10vw, 150px) clamp(22px, 7vw, 110px);
  border-bottom: 1px solid var(--line);
}

.statement > p:last-child {
  max-width: 760px;
  margin: 36px 0 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
}

.categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.categories article {
  min-height: 360px;
  padding: 42px;
  border-right: 1px solid var(--line);
}

.categories article:last-child { border-right: 0; }
.categories span { color: var(--accent); font-weight: 600; }
.categories h3 {
  margin: 90px 0 16px;
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
}
.categories p { color: var(--muted); }

.social h2 { margin-bottom: 40px; }

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.social-grid a {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
}

.social-grid a:hover {
  background: var(--ink);
  color: var(--white);
}

.email {
  display: inline-block;
  margin-top: 36px;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  text-underline-offset: 5px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(22px, 5vw, 76px);
  background: var(--ink);
  color: var(--white);
  font-size: 0.85rem;
}

@media (max-width: 850px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-mark { max-width: 360px; width: 100%; justify-self: center; }
  .categories { grid-template-columns: 1fr; }
  .categories article { border-right: 0; border-bottom: 1px solid var(--line); }
  .categories article:last-child { border-bottom: 0; }
  .social-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  h1 { font-size: 3.8rem; }
  .hero { min-height: auto; }
  .hero-mark { display: none; }
  .social-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
