:root {
  --white: #ffffff;
  --white-soft: #f7f4f2;
  --leather: #2b1a12;
  --leather-mid: #4a2f21;
  --leather-light: #8a5d42;
  --text-soft: #5e4a40;
  --burgundy: #6b1a2d;
  --burgundy-dark: #4a1120;
  --line: rgba(43, 26, 18, 0.18);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--leather);
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin: 0 0 1.2rem;
}
h1, h2, h3 { font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h3 { font-size: 1.7rem; }
em { font-style: italic; }
.section { padding: clamp(72px, 11vw, 150px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p:last-child { color: var(--text-soft); margin: 1.2rem 0 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 68px;
}
.brand {
  font-size: 1.05rem; letter-spacing: 0.3em; text-transform: uppercase;
  text-decoration: none; font-weight: 600; white-space: nowrap;
}
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.2em;
  text-transform: uppercase; text-decoration: none; padding: 6px 0;
  border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.site-nav a:hover { color: var(--burgundy); border-color: var(--burgundy); }

/* Photo frames */
.frame {
  position: relative; margin: 0; overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.06), rgba(0,0,0,0.25)),
    linear-gradient(135deg, var(--leather-mid) 0%, var(--leather) 100%);
  color: rgba(255, 255, 255, 0.78);
  display: flex; align-items: flex-end;
}
.frame::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3); pointer-events: none;
}
.frame figcaption {
  position: relative; padding: 28px;
  font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.frame.burgundy { background: linear-gradient(150deg, #7f2036 0%, var(--burgundy-dark) 100%); }
.frame.sand { background: linear-gradient(150deg, #a47354 0%, var(--leather-light) 100%); color: rgba(255,255,255,0.88); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 100px) 0 clamp(56px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: end; }
.hero h1 {
  font-size: clamp(3rem, 8.4vw, 7rem); font-weight: 400;
  letter-spacing: 0.02em; text-transform: uppercase; line-height: 0.95;
}
.hero h1.hero-logo { margin: 0 0 2.4rem; line-height: 0; font-size: 0; }
.hero-logo img { width: 100%; height: auto; border: 1px solid var(--line); }
.tagline { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-style: italic; margin: 2rem 0 2.4rem; color: var(--text-soft); }
.hero-meta { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-soft); margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.hero .frame { aspect-ratio: 4 / 5; }

.btn {
  display: inline-block; font-family: var(--sans); font-size: 0.7rem;
  letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
  padding: 16px 30px; background: var(--burgundy); color: var(--white);
  border: 1px solid var(--burgundy); cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--burgundy); }
.text-link {
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; color: var(--burgundy);
}
.text-link:hover { color: var(--leather); }

/* Manifesto */
.manifesto { background: var(--leather); color: var(--white); text-align: center; }
.manifesto .eyebrow { color: #d49aa9; }
.manifesto blockquote {
  margin: 0 auto; max-width: 900px;
  font-size: clamp(1.9rem, 4.4vw, 3.3rem); line-height: 1.22; font-weight: 400;
}
.manifesto blockquote em { color: #e3aebb; }
.manifesto .body { max-width: 620px; margin: 3rem auto 0; color: rgba(255,255,255,0.78); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 4.5rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.22); text-align: left; }
.pillars h3 { font-size: 1.5rem; font-style: italic; margin-bottom: .5rem; }
.pillars p { margin: 0; color: rgba(255,255,255,0.74); font-size: 1.08rem; }

/* Monthly Edit */
.edit-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.edit-grid .frame:nth-child(1) { grid-row: span 2; min-height: 560px; }
.edit-grid .frame { min-height: 270px; }
.edit-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.edit-title p { margin: 0; font-style: italic; color: var(--text-soft); }
.edit-title strong { font-weight: 500; font-style: normal; color: var(--leather); }

/* Houses */
.houses { background: var(--white-soft); }
.house { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; }
.house + .house { border-top: 1px solid var(--line); }
.house .frame { aspect-ratio: 5 / 4; }
.house:nth-child(even) .frame { order: 2; }
.house .num { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.28em; color: var(--burgundy); margin-bottom: 1rem; }
.house h3 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 1rem; }
.house p { color: var(--text-soft); margin: 0 0 1.4rem; }
.facts { list-style: none; margin: 0 0 1.8rem; padding: 0; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft); }
.facts li { padding: 9px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }

/* Objects */
.object-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.object .frame { aspect-ratio: 1 / 1.1; }
.tier { font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--burgundy); margin: 1.3rem 0 .5rem; }
.object h3 { font-size: 1.55rem; margin-bottom: .5rem; }
.object p { margin: 0 0 1rem; color: var(--text-soft); font-size: 1.08rem; }
.object .price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 1rem; border-top: 1px solid var(--line); }
.price span { font-style: italic; }
.note { margin-top: 3rem; font-family: var(--sans); font-size: 0.76rem; color: var(--text-soft); max-width: 620px; line-height: 1.7; }

/* Journal */
.journal { border-top: 1px solid var(--line); }
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.article .frame { aspect-ratio: 3 / 2; }
.article .meta { font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--burgundy); margin: 1.2rem 0 .6rem; }
.article h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.article p { margin: 0; color: var(--text-soft); font-size: 1.08rem; }

/* Newsletter */
.newsletter { background: var(--burgundy); color: var(--white); }
.newsletter .eyebrow { color: #e8bcc7; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 100px); align-items: start; }
.news-grid p { color: rgba(255,255,255,0.85); margin: 1.2rem 0 0; }
form label { display: block; font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 8px; }
form .field { margin-bottom: 22px; }
form input[type="text"], form input[type="email"] {
  width: 100%; font: inherit; font-size: 1.15rem; padding: 12px 0;
  color: var(--white); background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.6); border-radius: 0;
}
form input:focus { outline: none; border-bottom-color: #fff; }
.newsletter .btn { background: var(--white); color: var(--burgundy); border-color: var(--white); }
.newsletter .btn:hover { background: transparent; color: var(--white); }

.news-grid .contact-line { font-size: 1.05rem; }
.contact-line a { color: var(--white); text-underline-offset: 4px; }

/* Footer */
.footer-mail { color: rgba(255,255,255,0.72); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.35); transition: color .2s; }
.footer-mail:hover { color: var(--white); }
.site-footer { padding: 56px 0 40px; background: var(--leather); font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.14em; color: rgba(255,255,255,0.72); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: baseline; }
.footer-inner .brand { color: var(--white); }

:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }
.manifesto :focus-visible, .newsletter :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

@media (max-width: 900px) {
  .hero-grid, .house, .news-grid, .edit-grid { grid-template-columns: 1fr; }
  .edit-grid .frame:nth-child(1) { grid-row: auto; min-height: 420px; }
  .house:nth-child(even) .frame { order: 0; }
  .object-grid, .articles, .pillars { grid-template-columns: 1fr; }
  .hero .frame { aspect-ratio: 4 / 4.5; }
}
@media (max-width: 720px) {
  .header-inner { flex-direction: column; gap: 4px; padding: 12px 0 6px; }
  .site-nav { gap: 18px; overflow-x: auto; max-width: 100%; padding-bottom: 6px; }
  .site-nav a { font-size: 0.6rem; white-space: nowrap; }
  html { scroll-padding-top: 100px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
