:root {
  --navy: #172f4b;
  --navy-deep: #0b2035;
  --wine: #7d3044;
  --wine-soft: #f4e7eb;
  --gold: #b98942;
  --gold-soft: #f5eddd;
  --mint: #e7f0ec;
  --paper: #fff;
  --warm: #fbf8f4;
  --ink: #17354f;
  --muted: #61717c;
  --line: #d9e0e4;
  --shadow: 0 26px 70px rgba(19, 48, 72, 0.14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--warm);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.66;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--navy-deep);
  border-radius: 0.45rem;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 244, 0.95);
  border-bottom: 1px solid rgba(23, 47, 75, 0.13);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(calc(100% - 3rem), var(--max));
  min-height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav { display: flex; align-items: center; gap: 1.7rem; }
.main-nav a { color: var(--muted); font-size: 0.91rem; font-weight: 760; text-decoration: none; }
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--wine); }
.brand { width: 102px; margin-left: auto; display: block; text-decoration: none; }
.brand-logo { width: 100%; height: auto; }
.menu-button {
  width: 48px;
  height: 48px;
  padding: 0;
  display: none;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
}
.menu-button > span:not(.sr-only) { width: 19px; height: 2px; margin: 4px auto; display: block; background: var(--navy); border-radius: 999px; }

.image-frame { position: relative; margin: 0; overflow: hidden; background: var(--mint); }
.image-frame img { width: 100%; height: auto; object-fit: cover; }
.image-frame figcaption {
  position: absolute;
  right: 0.6rem;
  bottom: 0.55rem;
  padding: 0.28rem 0.5rem;
  color: #fff;
  background: rgba(11, 32, 53, 0.8);
  border-radius: 0.2rem;
  font-size: 0.72rem;
  line-height: 1.1;
}

.hero { position: relative; padding: 0 0 clamp(7rem, 12vw, 11rem); }
.hero-image { width: 100%; border-radius: 0 0 0 9rem; }
.hero-panel {
  position: relative;
  width: min(720px, calc(100% - 3rem));
  margin: clamp(-9rem, -10vw, -6rem) auto 0 max(1.5rem, calc((100% - var(--max)) / 2));
  padding: clamp(2.2rem, 5vw, 5rem);
  color: #fff;
  background: var(--navy);
  border-top: 7px solid var(--gold);
  box-shadow: var(--shadow);
}
.domain-label,
.eyebrow {
  margin: 0 0 1rem;
  color: var(--wine);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.hero-panel .domain-label { color: #e7bd78; }
h1, h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
}
h1 { max-width: 10ch; font-size: clamp(3.4rem, 6.6vw, 6.8rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.8rem); }
h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 500; line-height: 1.2; }
.hero-panel > p:not(.domain-label, .trust-line) { max-width: 610px; margin: 1.6rem 0 0; color: #d9e3eb; font-size: 1.08rem; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.button:hover,
.button:focus-visible { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--wine); }
.button-primary:hover,
.button-primary:focus-visible { background: #662337; }
.button-light { color: var(--navy); background: #fff; }
.button-light:hover,
.button-light:focus-visible { background: var(--gold-soft); }
.trust-line { margin: 1.3rem 0 0; color: #cbd9e3; font-size: 0.91rem; }

.meaning-section {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: 0 0 clamp(6rem, 10vw, 10rem);
}
.meaning-intro { display: grid; grid-template-columns: 0.45fr 1.55fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.meaning-intro h2 { max-width: 13ch; }
.meaning-grid { margin-top: 4rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meaning-grid article { padding: 2.2rem clamp(1rem, 3vw, 2.2rem); border-right: 1px solid var(--line); }
.meaning-grid article:first-child { padding-left: 0; }
.meaning-grid article:last-child { padding-right: 0; border-right: 0; }
.meaning-grid span { width: 3.2rem; height: 3.2rem; display: grid; place-items: center; margin-bottom: 2rem; color: #fff; background: var(--wine); border-radius: 50%; font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.meaning-grid p { margin: 0.7rem 0 0; color: var(--muted); }

.property-section { display: grid; grid-template-columns: 1.12fr 0.88fr; }
.property-copy { min-height: 590px; padding: clamp(4rem, 8vw, 8rem) max(1.5rem, calc((100vw - var(--max)) / 2)); }
.property-copy h2 { max-width: 12ch; }
.property-copy > p:not(.eyebrow) { max-width: 610px; margin: 1.6rem 0; }
.property-owner { padding-right: clamp(2rem, 6vw, 6rem); color: var(--navy); background: var(--gold-soft); }
.property-search { padding-left: clamp(2rem, 6vw, 6rem); color: #fff; background: var(--wine); }
.property-search .eyebrow { color: #f4d8df; }
.arrow-link { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 850; text-underline-offset: 0.24rem; }

.room-section {
  width: min(calc(100% - 3rem), 1280px);
  margin: 0 auto;
  padding: clamp(6rem, 11vw, 11rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}
.room-copy h2 { max-width: 12ch; }
.room-copy > p:not(.eyebrow) { margin: 1.6rem 0; color: var(--muted); }
.room-note { margin-top: 2rem; padding-top: 1.4rem; display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; border-top: 1px solid var(--line); }
.room-note span { color: var(--gold); font-size: 0.75rem; font-weight: 850; }
.room-note p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; line-height: 1.35; }
.room-image { border-radius: 1rem 8rem 1rem 1rem; box-shadow: var(--shadow); }

.contact-section { padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100% - var(--max)) / 2)); background: var(--mint); }
.contact-heading { margin-bottom: 3rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
#contact-form { padding: clamp(1.5rem, 3vw, 2.6rem); background: #fff; border: 1px solid var(--line); border-radius: 0.6rem; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 0.85rem; font-weight: 800; }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.choice-row label { cursor: pointer; }
.choice-row input { position: absolute; opacity: 0; }
.choice-row span { min-height: 46px; display: inline-flex; align-items: center; padding: 0.68rem 1rem; color: var(--muted); background: var(--warm); border: 1px solid var(--line); border-radius: 0.45rem; font-weight: 750; }
.choice-row input:checked + span { color: #fff; background: var(--navy); border-color: var(--navy); }
.choice-row input:focus-visible + span { outline: 3px solid rgba(125, 48, 68, 0.36); outline-offset: 3px; }
.field-grid { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-grid label { display: grid; gap: 0.45rem; font-weight: 750; }
.field-grid small { color: var(--muted); font-size: 0.78rem; font-weight: 500; }
.field-grid input,
.field-grid textarea { width: 100%; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 0.35rem; outline: none; }
.field-grid input { min-height: 52px; padding: 0 0.9rem; }
.field-grid textarea { min-height: 150px; padding: 0.9rem; resize: vertical; }
.field-grid input:focus,
.field-grid textarea:focus { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(125, 48, 68, 0.12); }
.message-field { grid-column: 1 / -1; }
.honeypot { position: absolute; left: -10000px; }
.privacy-check { margin: 1.25rem 0 0.3rem; display: flex; align-items: flex-start; gap: 0.7rem; color: var(--muted); font-size: 0.92rem; }
.privacy-check input { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; accent-color: var(--navy); }
.privacy-check a,
.legal-link a { color: var(--navy); font-weight: 750; text-underline-offset: 0.2rem; }
.legal-link { margin: 0.25rem 0 1.2rem 1.8rem; font-size: 0.9rem; }
.button-submit { color: #fff; background: var(--wine); border: 0; }
.button-submit:hover,
.button-submit:focus-visible { background: #662337; }
.form-status { min-height: 1.5rem; margin: 1rem 0 0; color: var(--navy); font-weight: 700; }
.personal-contact { position: sticky; top: 110px; padding: 2.2rem; color: #fff; background: var(--navy); border-top: 6px solid var(--gold); box-shadow: var(--shadow); }
.contact-kicker { margin: 0 0 0.9rem; color: #e6bf7c; font-size: 0.75rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.personal-contact h2 { font-size: 2.3rem; }
.personal-contact > p:not(.contact-kicker, .contact-note) { margin: 0.45rem 0 1.2rem; color: #dbe5ed; }
.personal-contact a { display: block; width: fit-content; margin: 0.55rem 0; color: #fff; font-weight: 800; text-underline-offset: 0.22rem; }
.contact-line { width: 56px; height: 2px; margin: 1.6rem 0; display: block; background: var(--gold); }
.contact-note { margin: 0; }

.site-footer { min-height: 112px; padding: 1.5rem max(1.5rem, calc((100% - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; color: #c9d7e2; background: var(--navy-deep); font-size: 0.9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer a { color: #fff; text-underline-offset: 0.25rem; }
:focus-visible { outline: 3px solid rgba(125, 48, 68, 0.48); outline-offset: 4px; }

@media (max-width: 960px) {
  .header-inner { width: min(calc(100% - 2rem), var(--max)); min-height: 74px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 74px; right: 1rem; left: 1rem; padding: 0.8rem; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 0.5rem; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 0.85rem; }
  .brand { width: 88px; }
  .meaning-intro,
  .room-section,
  .contact-grid { grid-template-columns: 1fr; }
  .meaning-grid { grid-template-columns: 1fr; }
  .meaning-grid article { padding: 1.8rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .meaning-grid article:last-child { border-bottom: 0; }
  .property-section { grid-template-columns: 1fr; }
  .property-copy { min-height: 0; padding-right: max(1.5rem, calc((100vw - var(--max)) / 2)); padding-left: max(1.5rem, calc((100vw - var(--max)) / 2)); }
  .room-copy { max-width: 720px; }
  .personal-contact { position: static; max-width: 520px; }
}

@media (max-width: 620px) {
  .header-inner { width: calc(100% - 1.5rem); }
  .hero-image { border-radius: 0 0 0 4rem; }
  .hero-panel { width: calc(100% - 2rem); margin: -2rem auto 0; padding: 2rem 1.25rem; }
  h1 { font-size: clamp(3rem, 14vw, 4.35rem); }
  h2 { font-size: clamp(2.2rem, 10.6vw, 3.35rem); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .meaning-section,
  .room-section { width: calc(100% - 2rem); }
  .property-copy { padding-right: 1rem; padding-left: 1rem; }
  .room-image { border-radius: 0.7rem 4rem 0.7rem 0.7rem; }
  .contact-section { padding-right: 1rem; padding-left: 1rem; }
  #contact-form { padding: 1.25rem; }
  .field-grid { grid-template-columns: 1fr; }
  .choice-row { display: grid; grid-template-columns: 1fr 1fr; }
  .choice-row label:last-child { grid-column: 1 / -1; }
  .choice-row span { width: 100%; justify-content: center; text-align: center; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
