:root {
  --stone: #F3EDE3;
  --limestone: #C9BBA6;
  --ink: #1A1612;
  --timber: #2A2118;
  --brass: #A67C4E;
  --cream: #FAF6EE;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", system-ui, sans-serif;
  --text: 1.25rem;
  --text-lh: 1.6;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text);
  font-weight: 400;
  line-height: var(--text-lh);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-width: 0;
  overflow-x: hidden;
}
body.is-nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--limestone); color: var(--ink); }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 10001;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
}
.skip:focus { left: 8px; }

.air {
  width: 82%;
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0;
}

.align-left { text-align: left; margin-right: auto; }
.align-right { text-align: right; margin-left: auto; }
.align-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ——— Buttons: square, brass is jewelry ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 0;
  line-height: 1;
  border: 0;
}
.btn-brass {
  background: var(--brass);
  color: var(--ink);
}
.btn-brass:hover { filter: brightness(0.92); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(250, 246, 238, 0.55);
}
.btn-ghost-light:hover { background: var(--cream); color: var(--ink); }

/* ——— Header over the opening room ——— */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(26, 22, 18, 0.42) 0%, rgba(26, 22, 18, 0.12) 55%, transparent 100%);
  pointer-events: none;
}
/* Type rooms are designed fields, not photo heroes — no dusk gradient, ink chrome on light */
body:has(.opening--timber) .site-header::before,
body:has(.opening--stone) .site-header::before,
body:has(.opening--cream) .site-header::before {
  display: none;
}
body:has(.opening--stone) .wordmark,
body:has(.opening--cream) .wordmark,
body:has(.opening--stone) .nav,
body:has(.opening--cream) .nav {
  color: var(--ink);
}
body:has(.opening--stone) .nav-toggle span,
body:has(.opening--stone) .nav-toggle span::before,
body:has(.opening--stone) .nav-toggle span::after,
body:has(.opening--cream) .nav-toggle span,
body:has(.opening--cream) .nav-toggle span::before,
body:has(.opening--cream) .nav-toggle span::after {
  background: var(--ink);
}
body.is-nav-open .nav-toggle span::before,
body.is-nav-open .nav-toggle span::after {
  background: var(--cream);
}
.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 40px 20px;
}
.wordmark {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
}
.nav a { opacity: 0.82; }
.nav a:hover,
.nav a.is-current { opacity: 1; }
.nav .header-cta {
  opacity: 1;
  margin-left: 4px;
  padding: 12px 20px;
  font-size: 12px;
}
.nav-toggle {
  display: none;
  width: 36px;
  height: 28px;
  position: relative;
  z-index: 30;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 4px;
  width: 28px;
  height: 1px;
  background: var(--cream);
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span { top: 13px; }
.nav-toggle span::before { content: ""; top: -8px; }
.nav-toggle span::after { content: ""; top: 8px; }
body.is-nav-open .nav-toggle span { background: transparent; }
body.is-nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.is-nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ——— 1. OPENING ROOM ——— */
.opening {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  color: var(--ink);
}
.opening__photo {
  position: absolute;
  top: 50%;
  left: 0;
  width: 195%;
  height: 255%;
  max-width: none;
  object-fit: cover;
  object-position: 52% 38%;
  transform: translate(-34%, -50%);
}
.opening__copy {
  position: absolute;
  z-index: 2;
  left: 40px;
  top: 46%;
  transform: translateY(-50%);
  width: min(46vw, 780px);
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
}
.opening__copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12% -18% -16% -10%;
  background: radial-gradient(ellipse at 30% 42%, rgba(243, 237, 227, 0.26) 0%, rgba(243, 237, 227, 0) 72%);
  pointer-events: none;
}
.opening h1 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: max(42px, 7.2vw);
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.opening__sub {
  margin: 20px 0 0;
  max-width: 15em;
  font-size: var(--text);
  line-height: var(--text-lh);
  font-weight: 300;
  color: var(--ink);
}
.opening__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

/* Inner openings = designed type rooms, not cloned photo heroes */
.opening--timber,
.opening--stone,
.opening--cream {
  height: auto;
  display: flex;
  align-items: center;
  overflow: visible;
}
.opening--timber .opening__copy,
.opening--stone .opening__copy,
.opening--cream .opening__copy {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 82%;
  margin: 0 auto;
  height: auto;
  justify-content: center;
  padding: 0;
}
.opening--timber .opening__copy::before,
.opening--stone .opening__copy::before,
.opening--cream .opening__copy::before {
  display: none;
}
.opening--timber h1,
.opening--stone h1,
.opening--cream h1 {
  font-size: max(36px, 4.8vw);
  line-height: 1.02;
  max-width: 16ch;
}
.opening--timber .opening__sub,
.opening--stone .opening__sub,
.opening--cream .opening__sub {
  max-width: 22em;
  font-weight: 300;
}

.opening--timber {
  background: var(--timber);
  color: var(--cream);
  min-height: 46vh;
  padding: 7.5rem 0 5rem;
}
.opening--timber h1 { color: var(--cream); }
.opening--timber .opening__sub { color: var(--limestone); }

.opening--stone {
  background: var(--stone);
  color: var(--ink);
  min-height: 42vh;
  padding: 7rem 0 4.5rem;
}
.opening--stone h1 { color: var(--ink); }
.opening--stone .opening__sub { color: var(--timber); }

.opening--cream {
  background: var(--cream);
  color: var(--ink);
  min-height: 40vh;
  padding: 7rem 0 4rem;
}
.opening--cream h1 { color: var(--ink); }
.opening--cream .opening__sub { color: var(--timber); }

/* ——— 2. QUIET STATEMENT ——— */
.statement {
  background: var(--stone);
  padding: 160px 0;
}
.statement h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 5.6vw;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.statement p {
  margin: 28px 0 0;
  max-width: 22em;
  font-weight: 300;
  color: var(--timber);
}

/* ——— 3. DUSK TERRACE ——— */
.dusk {
  position: relative;
  min-height: 90vh;
  min-height: 90dvh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.dusk__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.dusk::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(26, 22, 18, 0.18) 62%, rgba(26, 22, 18, 0.78) 100%);
  pointer-events: none;
}
.dusk__copy {
  position: relative;
  z-index: 2;
  width: 82%;
  margin: 0 auto;
  padding: 0 0 64px;
}
.dusk h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 4.4vw;
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 18ch;
}

/* ——— 4. CRAFT SPLIT ——— */
.craft {
  display: grid;
  grid-template-columns: 50vw 1fr;
  min-height: 88vh;
  background: var(--cream);
}
.craft--flip { grid-template-columns: 1fr 50vw; }
.craft__photo {
  width: 100%;
  height: 100%;
  min-height: 88vh;
  object-fit: cover;
  object-position: 18% 50%;
}
.craft--flip .craft__photo { object-position: 50% 50%; }
.craft__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 6vw 80px 64px;
}
.craft--flip .craft__copy { padding: 80px 64px 80px 6vw; }
.craft h2,
.prose h2,
.room h2 {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 3.6vw;
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 14ch;
}
.craft p,
.prose p,
.room p {
  margin: 28px 0 0;
  max-width: 28em;
  font-weight: 300;
}

/* ——— 5. BATH ROOM ——— */
.bath {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--ink);
}
.bath__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.bath::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(243, 237, 227, 0.18) 72%, rgba(243, 237, 227, 0.72) 100%);
  pointer-events: none;
}
.bath__copy {
  position: relative;
  z-index: 2;
  width: 82%;
  margin: 0 auto;
  padding: 0 0 64px;
}
.bath h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 3.8vw;
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 18ch;
}

/* ——— 6. WHERE ——— */
.where {
  background: var(--timber);
  color: var(--cream);
  padding: 160px 0;
}
.where h2,
.list-room h2 {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 4.2vw;
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 16ch;
}
.where__places,
.name-list {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.7;
}
.where__places li,
.name-list li { margin: 0; }
.where__note {
  margin: 48px 0 0;
  font-weight: 300;
  color: var(--limestone);
}

/* ——— 7. QUOTE ——— */
.quote {
  background: var(--stone);
  padding: 160px 0;
}
.quote blockquote {
  margin: 0;
  max-width: 18em;
}
.quote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 3.2vw;
  line-height: 1.18;
  letter-spacing: -0.015em;
}
.quote footer {
  margin: 36px 0 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ——— 8. INVITE ——— */
.invite {
  background: var(--cream);
  padding: 56px 0 60px;
}
.invite .air {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 22em;
  margin-left: auto;
  margin-right: auto;
}
.invite h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 3.2vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.invite__city {
  margin: 14px 0 0;
  font-weight: 300;
}
.invite .btn { margin-top: 16px; }

/* Inner rooms */
.room {
  padding: 160px 0;
}
.room--stone { background: var(--stone); }
.room--cream { background: var(--cream); }
.room--timber { background: var(--timber); color: var(--cream); }
.room--timber .where__note,
.room--timber p { color: var(--limestone); }
.room--timber h2,
.room--timber h3 { color: var(--cream); }
.room--open { padding: 200px 0; }
.room h3,
.where-block h3 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 20ch;
}
.where-block { margin-top: 72px; }
.where-block .name-list { margin-top: 28px; }
.room--cream .where__note,
.room--stone .where__note { color: var(--timber); }
.prose { max-width: 38em; }
.prose.align-center { max-width: 34em; }
.prose.align-right { max-width: 34em; }
.signoff {
  margin-top: 36px;
  font-weight: 300;
}
.signoff strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
  margin-top: 8px;
}
.lot-meta {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--brass);
  margin-left: 0.6em;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8vw;
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 10px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--limestone);
  border-radius: 0;
  padding: 10px 0 14px;
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-note {
  margin: 8px 0 0;
  font-size: 1rem;
  font-weight: 300;
  color: var(--timber);
}
.contact-aside h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
}
.contact-aside p { margin: 16px 0 0; font-weight: 300; }
.contact-aside a { border-bottom: 1px solid var(--limestone); }
.contact-aside .block + .block { margin-top: 48px; }

.proto-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(26, 22, 18, 0.72);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.proto-modal.open { display: flex; }
.proto-modal-card {
  background: var(--cream);
  color: var(--ink);
  padding: 48px 40px;
  max-width: 28rem;
  width: 100%;
  position: relative;
  border-radius: 0;
}
.proto-modal-card h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 16px;
}
.proto-modal-card p { margin: 0 0 28px; font-weight: 300; }
.proto-modal-card .close-x {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

/* ——— 9. FOOTER ——— */
.site-footer {
  background: var(--ink);
  color: var(--limestone);
  padding: 28px 0 32px;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.site-footer__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
}
.site-footer strong {
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.site-footer nav a { color: var(--cream); opacity: 0.72; }
.site-footer nav a:hover { opacity: 1; color: var(--brass); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .site-header__bar { padding: 26px 22px 18px; }
  .wordmark {
    font-size: 10px;
    letter-spacing: 0.12em;
    padding: 4px 8px 4px 0;
  }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 25;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 100px 32px 48px;
    background: var(--timber);
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }
  body.is-nav-open .nav { transform: translateX(0); }
  .nav a { opacity: 1; color: var(--cream); }
  .nav .header-cta {
    margin-left: 0;
    margin-top: 12px;
  }

  .opening__photo {
    left: 50%;
    right: auto;
    width: 140%;
    height: 250%;
    max-width: none;
    object-position: 50% 42%;
    transform: translate(-50%, -50%);
  }
  .opening__copy {
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: min(78%, 340px);
    padding: 0;
  }
  .opening__copy::before {
    inset: -10% -14% -14% -8%;
  }
  .opening h1 { font-size: max(34px, 9vw); }
  .opening__sub { font-size: var(--text); margin-top: 16px; }
  .opening__actions { flex-direction: column; align-items: stretch; margin-top: 18px; }
  .opening__actions .btn { width: 100%; }

  .opening--timber .opening__copy,
  .opening--stone .opening__copy,
  .opening--cream .opening__copy {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 86%;
    padding: 0;
  }
  .opening--timber,
  .opening--stone,
  .opening--cream {
    min-height: 0;
    padding: 6.5rem 0 3.5rem;
  }
  .opening--timber h1,
  .opening--stone h1,
  .opening--cream h1 { font-size: max(36px, 11vw); }

  .statement { padding: 96px 0; }
  .statement h2 { font-size: 12vw; }

  .dusk { min-height: 100vh; min-height: 100dvh; }
  .dusk__copy { width: 86%; padding: 0 0 48px; }
  .dusk h2 { font-size: 11vw; }

  .craft,
  .craft--flip { grid-template-columns: 1fr; }
  .craft__photo {
    width: 100%;
    height: 70vh;
    min-height: 70vh;
  }
  .craft__copy,
  .craft--flip .craft__copy { padding: 64px 9vw 80px; }
  .craft h2,
  .prose h2,
  .room h2 { font-size: 11vw; }

  .bath { min-height: 100vh; min-height: 100dvh; }
  .bath__copy { width: 86%; padding: 0 0 48px; }
  .bath h2 { font-size: 10vw; }

  .where,
  .room,
  .quote { padding: 96px 0; }
  .room--open { padding: 120px 0; }
  .invite { padding: 48px 0 52px; }
  .invite .air { margin-left: auto; max-width: 20em; }
  .where-block { margin-top: 56px; }
  .where h2,
  .list-room h2 { font-size: 11vw; }
  .where__places,
  .name-list { font-size: 1.5rem; }

  .quote p { font-size: 9vw; }
  .invite h2 { font-size: clamp(2rem, 8vw, 2.4rem); }

  .air { width: 86%; }
  .site-footer { padding: 24px 0 28px; }
  .site-footer__bar { width: 86%; }

  .contact-grid,
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav { transition: none; }
}


@media (min-width: 1600px) {
  .opening__photo {
    width: 210%;
    height: 280%;
    object-position: 54% 36%;
    transform: translate(-36%, -50%);
  }
  .opening__copy {
    width: min(42vw, 780px);
    top: 44%;
  }
}
