@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --pine: #172f29;
  --pine-deep: #112520;
  --text: #27372f;
  --muted: #506056;
  --paper: #f8f6ef;
  --sand: #eee9dc;
  --cream: #fff9ef;
  --sun: #e8be90;
  --rule: #d6cfc1;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5.25vw, 5.25rem);
  --header: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1rem/1.65 var(--sans);
}
body:has(dialog[open]) { overflow: hidden; }
p, h1, h2, h3, ul, dl, dd, figure { margin: 0; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, summary { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
main, section[id], .property-catalog[id], .catalog-table tr[id] { scroll-margin-top: calc(var(--header) + .65rem); }

.wrap {
  width: min(100% - 2 * var(--gutter), 79rem);
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 6;
  top: .7rem;
  left: .7rem;
  padding: .65rem 1rem;
  color: var(--pine);
  background: var(--cream);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.masthead {
  position: sticky;
  z-index: 5;
  top: 0;
  background: var(--pine);
  color: var(--cream);
  border-bottom: 1px solid #fff2;
}
.masthead-inner {
  min-height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(.65rem, 1.2vw, .95rem);
  justify-self: start;
  width: fit-content;
  text-decoration: none;
}
.brand::before {
  content: "";
  order: 1;
  width: 1px;
  height: 1.75rem;
  background: #fff4;
}
.brand-link { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; }
.brand-jr { width: auto; height: 2.4rem; }
.brand-novus { order: 2; width: auto; height: 3.25rem; }
.main-nav { display: flex; gap: clamp(1.15rem, 2.7vw, 3.25rem); }
.main-nav a {
  font-size: .89rem;
  font-weight: 500;
  text-decoration: none;
  color: #f1eee4;
}
.main-nav a:hover, .mobile-menu a:hover { text-decoration: underline; text-underline-offset: .3em; }
.mobile-menu { display: none; }

.button {
  display: inline-flex;
  min-height: 3.15rem;
  gap: .65rem;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  text-align: center;
  font: 600 .9rem/1.23 var(--sans);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button--nav {
  min-height: 2.5rem;
  justify-self: end;
  border-color: #fff7;
}
.button--nav:hover, .button--glass:hover { background-color: #fff2; border-color: var(--cream); }
.button--light { color: var(--pine); background: var(--cream); }
.button--light:hover { background: #e8c399; }
.button--glass { border-color: #fff9; color: var(--cream); background: #12241c20; }
.button--pine { background: var(--pine); color: var(--cream); }
.button--pine:hover { background: #26463a; }
.button--outline { border-color: #a59d8f; color: var(--pine); background: transparent; }
.button--outline:hover { background: var(--sand); border-color: var(--pine); }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; }

.eyebrow {
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  line-height: 1.4;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(3rem, 5.3vw, 5.6rem); line-height: .92; letter-spacing: -.025em; }
h2 em { font-weight: 400; }
h3 { font-size: clamp(2.45rem, 4.1vw, 4.4rem); line-height: .98; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(35rem, 72svh, 52rem);
  display: grid;
  align-items: end;
  background: #434c37;
  color: var(--cream);
}
.hero-media, .hero-media img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: center 48%; }
.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg, #0d211de0, #10251d85 42%, #10251d16 78%),
    linear-gradient(0deg, #0e211d94, transparent 55%);
}
.hero-inner { padding-block: 6rem clamp(4.35rem, 10vh, 7.7rem); }
.hero-location { color: var(--sun); margin-bottom: 1.2rem; }
.hero h1 {
  font-size: clamp(5.7rem, 11.7vw, 12.5rem);
  letter-spacing: -.045em;
  line-height: .82;
  width: fit-content;
}
.hero-period { color: var(--sun); }
.hero h1 em {
  display: inline-block;
  margin-top: .2em;
  color: #ffdfb7;
  font-size: .51em;
  letter-spacing: -.022em;
  line-height: .96;
}
.hero-deck {
  max-width: 26rem;
  margin: 1.55rem 0 1.7rem;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  color: #fff8ed;
  line-height: 1.52;
}

.hero-caption {
  position: absolute;
  right: var(--gutter);
  bottom: 1.15rem;
  color: #fff8ed;
  background: #112520cc;
  padding: .18rem .55rem;
  font-size: .8rem;
  line-height: 1.4;
}

.facts { background: var(--sand); }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts-grid > div { padding: 1.25rem .75rem 1.4rem; text-align: center; }
.facts-grid > div + div { border-left: 1px solid var(--rule); }
.facts dt { color: var(--pine); font: 400 clamp(2rem, 4vw, 3.4rem)/1 var(--serif); }
.facts dd { color: var(--muted); font-size: .91rem; line-height: 1.4; margin-top: .36rem; }

.section { padding-block: clamp(3.9rem, 8.2vw, 8.1rem); }
.golf-story { background: var(--sand); }
.golf-story-copy {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(1.3rem, 4.4vw, 4rem);
  padding: clamp(1.6rem, 3.5vw, 3.65rem);
}
.golf-story-copy .eyebrow { margin-bottom: .7rem; }
.golf-story-copy h2 { font-size: clamp(2.55rem, 4.1vw, 4.25rem); line-height: .98; }
.golf-story-copy p + p { margin-top: .85rem; }
.lead { font-size: clamp(1.09rem, 1.4vw, 1.22rem); line-height: 1.5; }
.link-row { display: flex; gap: .55rem 1.35rem; flex-wrap: wrap; }
.text-link {
  display: inline-block;
  width: fit-content;
  color: inherit;
  font-size: .93rem;
  font-weight: 700;
  letter-spacing: .005em;
  text-decoration-thickness: 1px;
  text-underline-offset: .36em;
}
.text-link:hover { text-decoration-thickness: 2px; }

.golf-photo { background: #d8d1c1; }
.golf-photo img { width: 100%; aspect-ratio: 2.4; object-fit: cover; }

.section--homes { background: var(--sand); }
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(16rem, 24rem);
  gap: 1.2rem 2rem;
  align-items: end;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.section-heading .eyebrow { margin-bottom: .65rem; }
.section-heading > div:last-child { max-width: 25rem; }
.section-heading .text-link { margin-top: .5rem; }
.home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.55rem, 3.5vw, 3.2rem); }
.home { display: flex; flex-direction: column; }
.home-photo { background: #d8d1c1; }
.home-photo img { width: 100%; height: auto; aspect-ratio: 1.53; object-fit: cover; }
.home-heading { display: flex; align-items: end; gap: .6rem 1rem; justify-content: space-between; margin-top: 1.4rem; flex-wrap: wrap; }
.home-heading h3 { margin-top: .2rem; }
.home-price { white-space: nowrap; color: var(--pine); font: 400 clamp(2rem, 3.65vw, 3.15rem)/1 var(--serif); }
.home-price span { font: 600 .85rem/1.15 var(--sans); }
.home-description { margin-top: .95rem; max-width: 32rem; }
.property-catalog {
  margin-top: clamp(2.7rem, 5.5vw, 5rem);
  padding-top: clamp(1.6rem, 3.4vw, 2.75rem);
  border-top: 1px solid #cfc7b8;
  scroll-margin-top: calc(var(--header) + 1rem);
}
.catalog-header {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.3rem, 3.2vw, 2.25rem);
}
.catalog-header p { margin-top: .55rem; max-width: 36rem; }

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.05rem, 3vw, 2.4rem);
}
.site-plan {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.site-plan a { display: block; }
.site-plan img {
  width: 100%;
  max-height: 33rem;
  padding: .6rem;
  object-fit: contain;
}
.site-plan figcaption {
  padding: .7rem .95rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .9rem;
}

.catalog-summary {
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 2rem);
  background: var(--paper);
  border-top: 2px solid var(--pine);
}
.catalog-summary :is(h3, h4) {
  margin: 0 0 .55rem;
  color: var(--pine);
  font: 400 clamp(2.1rem, 3.5vw, 3.25rem)/1.02 var(--serif);
}
.catalog-summary p + p { margin-top: .75rem; }
.catalog-summary :is(ul, dl) { margin-top: 1rem; }
.catalog-summary ul { padding-inline-start: 1.25rem; }
.catalog-summary li + li { margin-top: .5rem; }
.catalog-summary dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .4rem .8rem;
  border-top: 1px solid var(--rule);
  padding-block: .55rem;
}
.catalog-summary dd { font-weight: 700; white-space: nowrap; }

.catalog-table-wrap { overflow-x: auto; margin-top: 1.6rem; }
.catalog-table-wrap:focus-visible { outline: 2px solid var(--pine); outline-offset: -.15rem; }
.catalog-table { width: 100%; min-width: 34rem; border-collapse: collapse; text-align: left; font-size: .94rem; }
.catalog-table caption { color: var(--muted); text-align: left; padding-block: 0 .55rem; }
.catalog-table :is(th, td) { padding: .75rem clamp(.55rem, 1.65vw, 1.1rem); border-bottom: 1px solid var(--rule); }
.catalog-table thead { background: #e4ded0; color: var(--pine); }
.catalog-table tbody tr:target { background: #e3e7d8; }
.catalog-table :is(th, td):first-child, .catalog-table .text-link { white-space: nowrap; }
.catalog-table .unit-price { color: var(--pine); font-weight: 700; white-space: nowrap; }
.catalog-notes { margin-top: 1rem; color: var(--muted); }
.catalog-notes p { max-width: 59rem; font-size: .93rem; }
.catalog-notes p + p { margin-top: .45rem; }
.catalog-notes .text-link { margin-top: .8rem; color: var(--pine); }

.section--gallery { background: var(--paper); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.6vw, 2.05rem);
}
.gallery-image {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  color: var(--pine);
  text-decoration: none;
  background: var(--sand);
}
.gallery-image img {
  width: 100%;
  aspect-ratio: 1.66;
  object-fit: cover;
}
.gallery-image span {
  display: block;
  padding: .65rem .85rem;
  font-size: .92rem;
  font-weight: 600;
}
.gallery-image:hover span { text-decoration: underline; text-underline-offset: .26em; }

.contact { padding-block: clamp(3.4rem, 6vw, 5.8rem); background: #26463a; color: var(--cream); }
.contact .eyebrow, .contact h2 em { color: var(--sun); }
.contact .eyebrow { margin-bottom: .85rem; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 1.6rem 3rem; }
.contact-copy p { max-width: 27rem; font-size: clamp(1rem, 1.6vw, 1.16rem); margin-bottom: 1.2rem; }
.contact-address { display: block; margin: .75rem 0 0; font-size: .95rem; font-style: normal; }

.footer { background: var(--pine-deep); color: #eee7d8; padding-block: 1.8rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-details {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid #fffaee33;
}
.footer-contact {
  display: grid;
  justify-items: start;
  gap: .1rem;
  font-style: normal;
}
.footer-contact strong { color: var(--cream); font-size: 1.12rem; }
.footer-contact .text-link { margin-top: .25rem; }
.footer-phone a { white-space: nowrap; }
.sources { margin-top: 1.3rem; padding-top: .8rem; border-top: 1px solid #fffaee33; }
.sources summary { font-size: .86rem; font-weight: 600; width: fit-content; }
.sources ul { padding-left: 1.1rem; padding-top: .55rem; }
.sources li { padding-block: .3rem; font-size: .86rem; }

dialog {
  max-width: calc(100% - 2rem);
  max-height: calc(100% - 2rem);
  color: var(--text);
  background: var(--paper);
  border: 0;
  border-radius: 2px;
  padding: clamp(1rem, 3vw, 2rem);
  overscroll-behavior: contain;
}
dialog::backdrop { background: #0c1f1bdf; }
.email-dialog { width: 35rem; padding: clamp(1.25rem, 3.5vw, 2rem); }
.email-contact-page { margin-top: .8rem; }
.email-dialog h2 { font-size: clamp(2.15rem, 5vw, 3.2rem); line-height: 1; }
.email-address { margin-block: 1rem; }
.email-address label { display: block; margin-bottom: .35rem; font-weight: 600; }
.email-address > div { display: flex; flex-wrap: wrap; gap: .5rem; }
.email-address input {
  flex: 1 1 14rem;
  min-width: 0;
  padding: .6rem .75rem;
  border: 1px solid var(--rule);
  color: var(--pine);
  background: var(--cream);
  font: inherit;
}
#email-status:not(:empty) { margin-top: .5rem; color: var(--muted); font-size: .9rem; }
.media-dialog { width: 62rem; }
.media-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .65rem;
}
.dialog-close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--rule);
  background: transparent;
  color: inherit;
  font-size: 1.65rem;
  line-height: 1;
}
.dialog-close:hover { background: var(--sand); }

.media-dialog img {
  width: 100%;
  max-height: 70svh;
  object-fit: contain;
  background: var(--sand);
}
.media-caption { color: var(--pine); font-weight: 600; }
.media-original { margin-top: .65rem; }
.media-dialog--drawing .media-stage {
  max-height: 65svh;
  overflow: auto;
  background: #fff;
}
.media-dialog--drawing img { max-height: none; }


@media (max-width: 860px) {
  .masthead-inner { gap: 1rem; }
  .main-nav { gap: 1rem; }
  .catalog-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.1rem; }
}

@media (max-width: 760px) {
  :root { --header: 4rem; }
  .masthead-inner { display: flex; justify-content: space-between; }
  .brand-jr { height: 2.05rem; }
  .brand-novus { height: 2.85rem; }
  .main-nav, .button--nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    gap: .6rem;
    min-height: 2.75rem;
    padding: .55rem .8rem;
    border: 1px solid #fff5;
    font-size: .9rem;
    font-weight: 600;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-glyph {
    width: .9rem;
    height: .55rem;
    border-block: 1px solid currentColor;
  }
  .mobile-menu[open] nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    background: var(--pine);
    border-top: 1px solid #fff3;
    padding: .55rem var(--gutter) .8rem;
    box-shadow: 0 12px 26px #11252033;
    max-height: calc(100svh - var(--header));
    overflow-y: auto;
  }
  .mobile-menu nav a { text-decoration: none; padding: .65rem 0; }
  .mobile-menu nav a + a { border-top: 1px solid #fff2; }

  .golf-story-copy, .contact-inner, .section-heading, .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .golf-photo img { aspect-ratio: 1.7; }
  .contact-inner { gap: 1.25rem; }
  .hero-shade {
    background: linear-gradient(0deg, #0d211df0, #10251d97 43%, #10251d0c 82%),
      linear-gradient(90deg, #10251d70, transparent);
  }
  .hero-inner { padding-block: 4rem 4.25rem; }
  .hero h1 { font-size: clamp(4.5rem, 18vw, 8rem); }
  .facts-grid { width: 100%; }
  .facts-grid > div { padding: .95rem .4rem; }
  .facts dt { font-size: clamp(1.5rem, 5.2vw, 2.2rem); }
  .facts dd { font-size: .86rem; }
}

@media (max-width: 580px) {
  .home-grid { grid-template-columns: minmax(0, 1fr); }
  .home-grid { gap: 2.3rem; }
  .hero { min-height: clamp(31rem, 76svh, 42rem); }
  .hero-deck { max-width: 21rem; }
  .hero-caption { bottom: .7rem; }
  .catalog-table { font-size: .88rem; }
  .catalog-table :is(th, td) { padding: .6rem .55rem; }
  .gallery-image img { aspect-ratio: 1.2; }
  .gallery-image span { padding: .6rem; font-size: .875rem; }
  .footer-top { flex-wrap: wrap; }
}

@media (max-width: 360px) {
  :root { --gutter: 1rem; }
  .hero .button { padding-inline: .75rem; }
  .facts-grid > div { padding-inline: .25rem; }
  .facts dt { font-size: clamp(1.15rem, 6vw, 1.45rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
