:root {
  --ink: #1a2433;
  --parchment: #ffffff;
  --parchment-2: #f1f4f8;
  --forest: #16345c;
  --forest-2: #1e4474;
  --forest-3: #24548c;
  --rust: #1b4f8a;
  --rust-2: #2f6fbf;
  --brass: #1b4f8a;
  --cream: #f4f7fb;
  --line: rgba(26, 36, 51, 0.12);
  --line-light: rgba(244, 247, 251, 0.22);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: inherit; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(78px + env(safe-area-inset-top, 0px));
}

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: Avenir, "Avenir Next", "Nunito Sans", sans-serif;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

h1, h2, h3 {
  font-family: "Avenir Black", "Avenir Next", Avenir, sans-serif;
  font-weight: 900;
  margin: 0;
  letter-spacing: -0.03em;
}

a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(247, 249, 252, 0.82);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.solid {
  background: rgba(247, 249, 252, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 var(--line-light);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  color: var(--ink);
  font-family: "Avenir Black", "Avenir Next", Avenir, sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand svg { width: 22px; height: 22px; flex: none; }

.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.86;
}

.nav-links a:hover,
.nav-links a[aria-current="true"] { opacity: 1; }

.nav-cta {
  color: #fff;
  background: var(--rust);
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 2px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--rust-2); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 11px 8px;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  margin: 6px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 86svh;
  display: flex;
  align-items: center;
  color: var(--ink);
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 46%, rgba(255, 255, 255, 0.28) 100%),
    url("../images/hero.jpg") center 30% / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 86svh;
  padding: calc(96px + env(safe-area-inset-top, 0px)) 32px 48px;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 1.15rem;
  color: var(--rust);
  font-weight: 900;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.2vw, 4.4rem);
  line-height: 1.02;
  max-width: 14ch;
  color: var(--ink);
}

.hero p.lede {
  margin: 14px 0 0;
  max-width: 42ch;
  font-size: 1.22rem;
  color: #3c4553;
  font-weight: 500;
}

.hero .text-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--rust);
  text-decoration: none;
}

.hero-form {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(20, 24, 32, 0.1);
  padding: 22px 22px 18px;
  display: grid;
  gap: 12px;
  box-shadow: 0 16px 40px rgba(30, 36, 48, 0.08);
}

.hero-form h2 { font-size: 1.45rem; }
.hero-form textarea { min-height: 84px; }
.hero-form .form-note { margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: "Avenir Black", "Avenir Next", Avenir, sans-serif;
  font-weight: 900;
}

.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-2); }
.btn-ghost { border-color: rgba(239, 231, 212, 0.4); color: var(--cream); }
.btn-ghost:hover { border-color: rgba(239, 231, 212, 0.85); }

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  flex-wrap: wrap;
}

.stat { padding-right: 28px; margin-right: 28px; margin-bottom: 8px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .num { font-family: "Avenir Black", "Avenir Next", Avenir, sans-serif; font-weight: 900; font-size: 2.15rem; color: var(--ink); letter-spacing: -0.03em; }
.stat .lbl { font-size: 0.95rem; font-weight: 600; color: #3d4654; margin-top: 2px; }

section { padding: 56px 0; }

.section-head { max-width: 640px; margin-bottom: 24px; }

.kicker {
  font-family: "Avenir Black", "Avenir Next", Avenir, sans-serif;
  font-weight: 900;
  color: var(--rust);
  font-size: 1rem;
  margin-bottom: 10px;
}

.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }

.section-head p,
.quiet {
  margin-top: 18px;
  font-size: 1.05rem;
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  font-weight: 300;
  max-width: 58ch;
}

.rule { height: 1px; background: var(--line); border: none; margin: 0; }

.place { background: #fff; }
.place.alt { background: var(--parchment-2); }

.place-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.feature:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
.feature svg { width: 26px; height: 26px; flex: none; color: var(--rust); }
.feature-body .t { font-family: "Avenir Black", "Avenir Next", Avenir, sans-serif;
  font-weight: 900; font-size: 1.06rem; }
.feature-body .d { font-size: 0.9rem; color: color-mix(in srgb, var(--ink) 60%, transparent); margin-top: 2px; }

.place-art {
  display: flex;
  align-items: center;
  align-self: stretch;
}
.place-art img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
}

#kitchen .place-grid { grid-template-columns: 1fr 1.1fr; }
#kitchen .place-art { order: -1; }

.alt { background: var(--parchment-2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.split-art { min-height: 320px; position: relative; }
.split-art img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.split-text { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.split-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
.split-text p {
  margin: 18px 0 0;
  font-size: 1.02rem;
  font-weight: 300;
  max-width: 52ch;
  color: color-mix(in srgb, var(--ink) 80%, transparent);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.chip svg { width: 18px; height: 18px; flex: none; color: var(--rust); }
.flip .split { direction: rtl; }
.flip .split > * { direction: ltr; }

.range { background: var(--parchment-2); color: var(--ink); position: relative; overflow: hidden; }
#guest-rooms { background: #fff; }
.range .section-head { margin-bottom: 0; }
.range .section-head p,
.range .quiet { color: color-mix(in srgb, var(--ink) 78%, transparent); }
.range .kicker { color: var(--rust); }
.range h2 { font-size: clamp(2rem, 4vw, 2.9rem); }

.range-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.spec-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.spec-list li { display: flex; gap: 12px; font-size: 0.98rem; color: color-mix(in srgb, var(--ink) 80%, transparent); font-weight: 300; }
.spec-list li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--rust); }

.range-slider {
  position: relative;
  overflow: hidden;
  background: #e6ebf0;
}

.range-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease;
}

.range-track figure {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
}

.range-track img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.range-track figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  color: #fff;
  font-family: "Avenir Black", "Avenir Next", Avenir, sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.range-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.range-nav.prev { left: 12px; }
.range-nav.next { right: 12px; }

.trophy { background: #fff; }
.trophy .section-head { margin-bottom: 18px; }

.trophy-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.trophy-row img { width: 100%; height: 220px; object-fit: cover; }
.trophy-row img:first-child { height: 100%; min-height: 220px; }

.gallery { background: var(--parchment-2); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.g-card {
  background: var(--parchment);
  aspect-ratio: 5 / 4;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  text-align: left;
}

.g-card .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-card .label { position: relative; z-index: 2; padding: 16px 18px; }
.g-card .label .t { font-family: "Avenir Black", "Avenir Next", Avenir, sans-serif;
  font-weight: 900; color: #fbf7ec; font-size: 1.02rem; }
.g-card .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 24, 18, 0) 40%, rgba(15, 18, 13, 0.78) 100%);
  z-index: 1;
}

.neighborhood { background: #fff; }

.n-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.n-grid img { width: 100%; height: 280px; object-fit: cover; }

.n-spots { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.n-spots li { border-top: 1px solid var(--line); padding-top: 12px; }
.n-spots strong { display: block; font-family: "Avenir Black", "Avenir Next", Avenir, sans-serif;
  font-weight: 900; font-weight: 500; font-size: 1.05rem; }
.n-spots span { display: block; margin-top: 4px; font-size: 0.92rem; font-weight: 300; color: color-mix(in srgb, var(--ink) 70%, transparent); }

.location { background: var(--parchment-2); color: var(--ink); }
.location .kicker { color: var(--rust); }
.location h2 { font-size: clamp(2rem, 4vw, 2.7rem); }

.location-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: stretch;
}

.location-copy .quiet { margin-top: 14px; max-width: 46ch; }

.loc-grid {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.loc-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.loc-item .t {
  font-family: "Avenir Black", "Avenir Next", Avenir, sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.loc-item .d {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--ink) 72%, transparent);
  font-weight: 400;
}

.loc-item a {
  color: var(--rust);
  font-weight: 700;
  text-decoration: none;
}

.loc-item a:hover { text-decoration: underline; }

.location-map {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e6ebf0;
  min-height: 360px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.contact { background: #fff; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; }

.agent-card { border: 1px solid var(--line); padding: 28px; border-radius: 2px; margin-top: 32px; }
.agent-card .who { display: flex; gap: 16px; align-items: center; }
.agent-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--forest); }
.agent-card .t { font-family: "Avenir Black", "Avenir Next", Avenir, sans-serif;
  font-weight: 900; font-size: 1.2rem; }
.agent-card .d { margin-top: 6px; font-size: 0.92rem; color: color-mix(in srgb, var(--ink) 62%, transparent); }
.agent-card .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.agent-card .row:first-of-type { margin-top: 16px; }

form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 6px;
  color: color-mix(in srgb, var(--ink) 62%, transparent);
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: Avenir, "Avenir Next", "Nunito Sans", sans-serif;
  font-size: 0.96rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 2px;
}

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

textarea { resize: vertical; min-height: 88px; }
.submit { border: none; justify-self: start; }
.form-note { font-size: 0.82rem; color: color-mix(in srgb, var(--ink) 55%, transparent); }
.form-note.is-sent { color: #1b4f8a; font-weight: 500; }
.form-note.is-error { color: #a12626; font-weight: 500; }
form button[type="submit"]:disabled { opacity: 0.65; cursor: wait; }

footer {
  background: var(--forest);
  color: rgba(239, 231, 212, 0.7);
  padding: 56px 0 calc(30px + env(safe-area-inset-bottom, 0px));
}

.foot-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-light);
}

.foot-brand { color: var(--cream); font-family: "Avenir Black", "Avenir Next", Avenir, sans-serif;
  font-weight: 900; font-size: 1.15rem; }
.foot-grid p { max-width: 34ch; font-size: 0.9rem; margin: 10px 0 0; }

.foot-links { display: flex; gap: 26px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; align-content: flex-start; }
.foot-links a { text-decoration: none; color: rgba(239, 231, 212, 0.72); font-size: 0.9rem; }
.foot-links a:hover { color: var(--cream); }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1100px, 92vw);
}

.lightbox::backdrop { background: rgba(12, 16, 12, 0.88); }

.lightbox img {
  width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero-content,
  .place-grid,
  #kitchen .place-grid,
  .split,
  .range-grid,
  .n-grid,
  .contact-grid,
  .location-layout,
  .trophy-row { grid-template-columns: 1fr; }

  .location-map,
  .location-map iframe { min-height: 280px; }

  #kitchen .place-art { order: 0; }

  .split-text { padding: 32px 24px; }
  .place-art img,
  .split-art img,
  .trophy-row img,
  .trophy-row img:first-child { min-height: 0; height: 220px; }
  .flip .split { direction: ltr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 8px 20px 18px;
    background: rgba(247, 249, 252, 0.98);
  }

  .nav-links.is-open { display: flex; }
  .nav-inner { position: relative; }
}

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .wrap, .nav-inner, .hero-content { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 560px) {
  .feature-list,
  .field-row { grid-template-columns: 1fr; }
  .feature:nth-child(odd) { border-right: none; padding-right: 0; }
  .stat { border-right: none; margin-right: 22px; padding-right: 22px; }
}
