@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}

:root {
  --navy: #1f2a36;        /* text, dark surfaces */
  --cream: #f6f3ee;       /* page background */
  --paper: #ffffff;       /* cards */
  --copper: #9a5222;      /* buttons, links, accents */
  --copper-tint: #f3e6dc; /* selected chips, subtle highlights */
  --blue: #3d6b8f;        /* secondary accents, sample-year highlight */
  --rule: #e2dcd2;        /* hairlines */
  --muted: #5b6470;       /* secondary text (5.5:1 on cream) */
  --radius: 14px;
  --gutter: 20px;
  --maxw: 640px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --error: #a3261b;
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font: 17px/26px var(--sans);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--copper); text-underline-offset: 3px; }
a, button, summary, input, label, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }
h1 { font-size: 40px; line-height: 44px; }
h2 { font-size: 30px; line-height: 34px; margin-bottom: 24px; }
h3 { font-size: 22px; line-height: 28px; }
p { margin: 0 0 16px; }
.small, .hint { font-size: 14px; line-height: 20px; color: var(--muted); }

.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.col { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding-top: 72px; }
.eyebrow {
  font-size: 12px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--copper); font-weight: 600; margin: 0 0 10px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid var(--copper);
  background: var(--copper); color: #fff; font: 600 17px/22px var(--sans);
  text-decoration: none; cursor: pointer; width: 100%;
}
.btn:hover { background: #82451c; border-color: #82451c; }
.btn-secondary { background: transparent; color: var(--copper); }
.btn-secondary:hover { background: var(--copper-tint); color: var(--copper); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: default; }
.linkish {
  background: none; border: 0; padding: 0; color: var(--copper); font: inherit;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px;
}

/* Hero */
.hero { position: relative; min-height: 70svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 50% 60%; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,26,33,.78) 0%, rgba(20,26,33,.35) 45%, rgba(20,26,33,0) 70%);
}
.hero-text { position: relative; width: min(100% - 2 * var(--gutter), var(--maxw)); margin: 0 auto; padding: 120px 0 28px; }
.eyebrow-light { color: #fff; opacity: .92; }
.hero h1 { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero-sub { margin: 12px 0 14px; font-size: 17px; line-height: 25px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero-facts { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; line-height: 22px; font-weight: 600; }
.hero-facts li { white-space: nowrap; }
.hero-facts li:not(:last-child)::after { content: "·"; margin: 0 7px; opacity: .8; }
.hero-link { display: inline-block; margin-top: 12px; padding: 10px 0; color: #fff; text-decoration: underline; }

/* Note */
.letter { font-family: var(--serif); font-size: 20px; line-height: 30px; }
.letter p { margin-bottom: 18px; }
.letter-photo { float: right; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 0 8px 16px; }
.signature { font-size: 28px; font-style: italic; line-height: 32px; }

/* Gallery */
.gallery { position: relative; margin: 8px 0 28px; }
.gallery-track {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 86%; margin: 0; scroll-snap-align: start; }
.slide-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.gallery-count {
  position: absolute; right: calc(var(--gutter) + 8px); bottom: 10px; margin: 0;
  background: rgba(20,26,33,.7); color: #fff; font-size: 13px; line-height: 18px;
  padding: 3px 10px; border-radius: 999px; pointer-events: none;
}
.gallery-arrow { display: none; }

/* Story, facts, amenities */
.story p { margin-bottom: 16px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 8px; margin: 28px 0 14px; padding: 18px 0; border-block: 1px solid var(--rule); }
.facts div { display: flex; flex-direction: column-reverse; min-width: 0; }
.facts dd { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 6vw, 28px); line-height: 1.1; white-space: nowrap; }
.facts dt { font-size: 12px; line-height: 16px; color: var(--muted); margin-top: 4px; }
#house h3 { margin: 32px 0 8px; }
.amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; font-size: 15px; line-height: 21px; }
.amenities li { padding: 10px 0; border-bottom: 1px solid var(--rule); }

/* Year */
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin: 4px 0 8px; }
.months span { display: flex; align-items: flex-end; justify-content: center; height: 48px; padding-bottom: 6px; border-radius: 6px; background: var(--rule); font-size: 13px; font-weight: 600; color: var(--muted); }
.months .on { background: var(--blue); color: #fff; }
.legend { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.year-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; }
.year-table th, .year-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.year-table thead th { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.year-table td:last-child, .year-table th:last-child { text-align: right; }
.year-table tfoot th, .year-table tfoot td { font-weight: 700; border-bottom: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 14px; display: flex; flex-direction: column; font-size: 15px; line-height: 21px; min-width: 0; }
.card-label { font-family: var(--sans); font-size: 13px; line-height: 18px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.card-price { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 7.5vw, 30px); line-height: 1.15; white-space: nowrap; margin: 6px 0 10px; }
.card-lines { list-style: none; margin: 0 0 10px; padding: 0; }
.card-lines li { padding: 4px 0; }
.card-fit { font-style: italic; color: var(--muted); margin-bottom: 14px; flex: 1; }
.btn-card { font-size: 15px; line-height: 19px; padding: 10px 12px; min-height: 52px; }
.under-cards { font-size: 16px; line-height: 24px; color: var(--muted); margin: 18px 0; }

details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.fees { border-block: 1px solid var(--rule); }
.fees summary, .faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 52px; padding: 12px 0; font-weight: 600;
}
.fees summary::after, .faq summary::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px;
  border-right: 2px solid var(--copper); border-bottom: 2px solid var(--copper);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
details[open] > summary::after { transform: rotate(-135deg) translateY(-3px); }
.fees-body { padding-bottom: 12px; }
.fee-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 19px; margin-bottom: 12px; }
.fee-table th, .fee-table td { padding: 9px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.fee-table th { text-align: left; font-weight: 400; padding-right: 8px; }
.fee-table thead th { font-size: 12px; line-height: 16px; color: var(--muted); }
.fee-table td, .fee-table thead th + th { text-align: right; white-space: nowrap; padding-left: 8px; }
.fee-table tfoot th, .fee-table tfoot td { font-weight: 700; border-bottom: 0; }

/* How */
.how { list-style: none; counter-reset: how; margin: 0; padding: 0; }
.how li { counter-increment: how; position: relative; padding: 0 0 20px 40px; }
.how li::before { content: counter(how); position: absolute; left: 0; top: -4px; font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 32px; color: var(--copper); }

/* Concepts */
.concept { margin: 24px 0 8px; }
.concept-stage { position: relative; aspect-ratio: 3 / 2; margin-inline: calc(-1 * var(--gutter)); }
.concept-img { position: absolute; inset: 0; opacity: 0; }
.concept-img.is-active { opacity: 1; }
.concept-img img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) { .concept-img { transition: opacity .3s; } }
.segmented { display: inline-flex; margin: 12px 0 6px; border: 1.5px solid var(--copper); border-radius: 999px; padding: 3px; }
.segmented button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--copper); font: 600 15px var(--sans); cursor: pointer; }
.segmented button[aria-pressed="true"] { background: var(--copper); color: #fff; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq p { margin: 0 0 16px; }

/* Form */
.section-form { padding-bottom: 24px; }
.lead { font-size: 18px; }
.field { margin: 0 0 18px; }
.field > label, legend { display: block; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%; font: 17px/24px var(--sans); color: var(--navy);
  background: var(--paper); border: 1.5px solid #c9c1b4; border-radius: 10px; padding: 12px 14px;
}
textarea { resize: vertical; }
input:focus, textarea:focus { border-color: var(--copper); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.error { color: var(--error); font-size: 14px; line-height: 20px; margin: 6px 0 0; }
.error:empty { display: none; }
.hint { margin: 6px 0 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
.chips legend { padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; float: left; }
.chips .error { width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1.5px solid #c9c1b4; border-radius: 999px; background: var(--paper); font-size: 16px;
}
.chip input:checked + span { background: var(--copper-tint); border-color: var(--copper); color: #6e3a17; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }
.form-status { margin: 12px 0; }
.form-status:empty { display: none; }
#sms-fallback { margin-top: 4px; }
.thanks h3 { font-size: 26px; line-height: 32px; margin-bottom: 6px; outline: none; }
.check { color: var(--copper); margin-right: 4px; }
.thanks-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.onlist { padding: 16px 18px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); margin-bottom: 18px; }
.onlist p { margin: 0; }

/* Footer */
.footer { border-top: 1px solid var(--rule); margin-top: 48px; padding: 32px 0 24px; font-size: 15px; line-height: 22px; }
.footer p { margin-bottom: 6px; }
.footer-name { font-family: var(--serif); font-weight: 600; font-size: 22px; }
.disclaimer { font-size: 13px; line-height: 19px; color: var(--muted); margin-top: 16px !important; }

/* Sticky bar */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter); padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: rgba(246,243,238,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--rule);
  transform: translateY(110%);
}
.sticky.is-shown { transform: translateY(0); }
@media (prefers-reduced-motion: no-preference) { .sticky { transition: transform .2s; } }
.sticky-label { color: var(--muted); font-size: 15px; }
.btn-compact { width: auto; min-height: 44px; padding: 8px 20px; font-size: 16px; }

@media (max-width: 359px) {
  .cards { grid-template-columns: 1fr; }
  .facts dt { font-size: 11px; }
}

@media (min-width: 700px) {
  .section { padding-top: 96px; }
  h1 { font-size: 56px; line-height: 60px; }
  h2 { font-size: 38px; line-height: 42px; }
  .hero-text { padding-bottom: 48px; }
  .hero-text .btn { width: auto; }
  .hero-link { margin-left: 20px; }
  .card { padding: 22px 20px; }
  .concept-stage { margin-inline: 0; border-radius: var(--radius); overflow: hidden; }
}

@media (min-width: 900px) {
  .gallery { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
  .gallery-track { padding-inline: 0; scroll-padding-inline: 0; border-radius: var(--radius); }
  .slide { flex-basis: 100%; }
  .slide-img { border-radius: var(--radius); }
  .gallery-count { right: 12px; }
  .gallery-arrow {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: rgba(246,243,238,.92); color: var(--navy); font-size: 28px; line-height: 1; cursor: pointer;
  }
  .gallery-prev { left: -56px; }
  .gallery-next { right: -56px; }
}
.nowrap { white-space: nowrap; }
