/* Dwell with Maya — warm editorial theme */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #f7f3ec;
  --bg-soft: #f1ebdf;
  --ink: #2b2620;
  --muted: #6d6455;
  --faint: #a89c83;
  --eyebrow: #8a7f6a;
  --line: #d8cdb6;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

/* ---------- layout ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.75rem; }
.narrow { max-width: 680px; margin: 0 auto; }
section.block { padding: 5.5rem 0; }
section.block.tight { padding: 3.5rem 0; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 1.1rem 1.75rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.wordmark {
  font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0.02em;
  text-decoration: none;
}
.wordmark em { font-style: italic; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; }
.nav-links a {
  font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none; color: var(--muted);
  padding-bottom: 2px; border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--eyebrow); margin-bottom: 1.5rem;
}
h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 400; line-height: 1.12;
  margin-bottom: 1.5rem;
}
h1 em, h2 em { font-style: italic; }
h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 400; line-height: 1.2;
  margin-bottom: 1.25rem;
}
.lede {
  font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.65; color: var(--muted);
}
.prose p {
  font-family: var(--sans); font-size: 16px; line-height: 1.85; color: var(--muted);
  margin-bottom: 1.5rem;
}
.prose p.lede { font-family: var(--serif); color: var(--ink); }
.rule { width: 64px; height: 1px; background: var(--line); margin: 2rem 0; }
.rule.center { margin-left: auto; margin-right: auto; }
.pull {
  font-size: clamp(1.4rem, 3vw, 1.9rem); font-style: italic; line-height: 1.5;
  color: var(--ink); margin: 3rem 0;
}
.center { text-align: center; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30, 24, 18, 0.55) 0%, rgba(30, 24, 18, 0.12) 45%, rgba(30, 24, 18, 0.05) 100%);
}
.hero-text { position: relative; z-index: 1; color: #fdfaf4; padding: 0 1.75rem 5rem; max-width: 1080px; margin: 0 auto; width: 100%; }
.hero-text .eyebrow { color: #e8ddc8; }
.hero-text h1 { font-size: clamp(2.8rem, 7vw, 5rem); margin-bottom: 0.75rem; }
.hero-text .tagline { font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-style: italic; color: #f3ead9; }

/* ---------- banner image ---------- */
.banner { height: 52vh; min-height: 320px; overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.figure { overflow: hidden; border-radius: 2px; }
.figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.figure:hover img { transform: scale(1.02); }
.caption {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em;
  color: var(--faint); margin-top: 0.75rem;
}

/* ---------- page header ---------- */
.page-head { padding: 5rem 0 3rem; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 3rem; }
.card {
  background: var(--bg); padding: 2.75rem 2rem; text-decoration: none;
  display: flex; flex-direction: column; gap: 1rem;
  transition: background 0.25s;
}
.card:hover { background: var(--bg-soft); }
.card h3 { font-size: 1.5rem; font-weight: 400; }
.card p { font-family: var(--sans); font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.card .go { font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--eyebrow); margin-top: auto; padding-top: 1rem; }

/* ---------- split rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin: 4rem 0; }
.split.flip > .figure { order: 2; }
.split .figure { aspect-ratio: 3 / 4; }
.split h2 { margin-bottom: 1rem; }

/* ---------- placeholder note ---------- */
.soon {
  border: 1px solid var(--line); background: var(--bg-soft);
  padding: 2.5rem; text-align: center; margin: 3rem auto; max-width: 640px;
}
.soon p { font-family: var(--sans); font-size: 15px; line-height: 1.7; color: var(--muted); }
.soon .eyebrow { margin-bottom: 1rem; }

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--line); margin-top: 4rem;
  padding: 3rem 1.75rem 3.5rem; text-align: center;
}
footer.site .wordmark { font-size: 1.1rem; }
footer.site p {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em;
  color: var(--faint); margin-top: 1rem;
}
footer.site .ig {
  display: inline-block; margin-top: 1.25rem;
  font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 3px;
}
footer.site .ig:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.flip > .figure { order: 0; }
  .split .figure { aspect-ratio: 4 / 3; }
  section.block { padding: 3.75rem 0; }
  .nav-inner { padding: 0.9rem 1.1rem; }
  .wordmark { font-size: 1.05rem; white-space: nowrap; }
  .nav-links { gap: 0.9rem; }
  .nav-links a { font-size: 10.5px; letter-spacing: 0.1em; white-space: nowrap; }
  .hero { min-height: 78vh; }
}
