:root {
  --ink: #172321;
  --forest: #102d2a;
  --forest-soft: #1e4742;
  --cream: #f4f0e8;
  --paper: #fbfaf7;
  --gold: #bd9662;
  --line: rgba(23, 35, 33, 0.18);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid transparent;
  display: flex;
  height: 88px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(24px, 5vw, 80px);
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 20;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(15, 32, 29, 0.06);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  line-height: 1;
}

.brand-logo {
  background: white;
  border: 1px solid rgba(195, 151, 66, 0.35);
  border-radius: 50%;
  display: inline-block;
  height: 46px;
  object-fit: cover;
  width: 46px;
}

.brand-mark {
  align-items: center;
  background: var(--forest);
  color: var(--cream);
  display: inline-flex;
  font-family: var(--serif);
  font-size: 17px;
  height: 42px;
  justify-content: center;
  letter-spacing: -1px;
  width: 42px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.brand small {
  font-size: 9px;
  letter-spacing: 0.25em;
  margin-top: 5px;
  text-transform: uppercase;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(22px, 3vw, 48px);
}

.main-nav a {
  font-size: 13px;
  letter-spacing: 0.06em;
}

.nav-cta {
  border: 1px solid var(--ink);
  padding: 11px 18px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: white;
}

.menu-toggle {
  background: none;
  border: 0;
  display: none;
  height: 44px;
  padding: 10px;
  width: 44px;
}

.menu-toggle span {
  background: var(--ink);
  display: block;
  height: 1px;
  margin: 7px 0;
  transition: transform 0.25s ease;
  width: 24px;
}

.hero {
  color: white;
  height: min(920px, 100svh);
  min-height: 720px;
  overflow: hidden;
  position: relative;
}

.hero-image {
  background-image: url("assets/images/hero.jpg");
  background-position: center;
  background-size: cover;
  inset: 88px 0 0;
  position: absolute;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 25, 24, 0.78) 0%, rgba(7, 25, 24, 0.3) 52%, rgba(7, 25, 24, 0.05) 100%),
    linear-gradient(0deg, rgba(7, 25, 24, 0.58), transparent 45%);
  inset: 88px 0 0;
  position: absolute;
}

.hero-content {
  left: clamp(24px, 8vw, 130px);
  max-width: 800px;
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
}

.eyebrow {
  color: var(--forest-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.75);
}

.hero h1,
.section h2,
.location h2,
.contact h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.96;
  margin: 0;
}

.hero h1 {
  font-size: clamp(58px, 7.2vw, 112px);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.4vw, 20px);
  max-width: 570px;
}

.hero-actions {
  align-items: center;
  display: flex;
  gap: 36px;
  margin-top: 36px;
}

.button {
  border: 0;
  cursor: pointer;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 17px 24px;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  background: var(--cream);
  color: var(--ink);
}

.button-dark {
  background: var(--forest);
  color: white;
}

.text-link {
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font-size: 13px;
  padding: 0 0 4px;
}

.text-link span {
  margin-left: 8px;
}

.light-link {
  color: white;
}

.hero-facts {
  align-items: end;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  left: clamp(24px, 8vw, 130px);
  position: absolute;
  right: clamp(24px, 8vw, 130px);
}

.hero-facts div {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  min-height: 100px;
  padding: 0 22px 28px;
}

.hero-facts strong {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.section {
  padding: clamp(90px, 11vw, 170px) clamp(24px, 8vw, 130px);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 8vw;
  grid-template-columns: 1.2fr 0.8fr;
  margin-bottom: clamp(70px, 9vw, 130px);
}

.section-heading.compact {
  margin-bottom: 60px;
}

.section-heading h2,
.specs h2 {
  font-size: clamp(48px, 5.5vw, 82px);
}

.section-heading > p {
  color: #53615f;
  font-size: 17px;
  margin: 0;
  max-width: 540px;
}

.feature-grid {
  align-items: center;
  display: grid;
  gap: clamp(50px, 8vw, 130px);
  grid-template-columns: 1.2fr 0.8fr;
  margin-bottom: clamp(100px, 13vw, 200px);
}

.feature-grid.reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

.feature-grid.reverse .feature-image {
  grid-column: 2;
  grid-row: 1;
}

.feature-grid.reverse .feature-copy {
  grid-column: 1;
  grid-row: 1;
}

.feature-image {
  margin: 0;
  overflow: hidden;
}

.feature-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
  width: 100%;
}

.feature-image:hover img {
  transform: scale(1.025);
}

.feature-number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 18px;
}

.feature-copy h3 {
  font-family: var(--serif);
  font-size: clamp(37px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 22px 0 30px;
}

.feature-copy > p:not(.feature-number) {
  color: #53615f;
}

.detail-list {
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.detail-list li {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  padding: 14px 0;
}

.gallery-section {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  gap: 12px;
  grid-auto-rows: 270px;
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
  padding: 0;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: filter 0.35s ease, transform 0.55s ease;
  width: 100%;
}

.gallery-item:hover img {
  filter: brightness(0.9);
  transform: scale(1.035);
}

.specs {
  background: var(--paper);
  display: grid;
  gap: 8vw;
  grid-template-columns: 0.75fr 1.25fr;
}

.spec-list {
  margin: 0;
}

.spec-list div {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 20px 0;
}

.spec-list dt {
  color: #67716f;
  font-size: 13px;
}

.spec-list dd {
  font-family: var(--serif);
  font-size: 24px;
  margin: 0;
  text-align: right;
}

.spec-list .price-row {
  border-bottom: 0;
  padding-top: 38px;
}

.spec-list .price-row dd {
  color: var(--forest);
  font-size: clamp(30px, 4vw, 48px);
}

.location {
  min-height: 760px;
  overflow: hidden;
  position: relative;
}

.location > img {
  height: 760px;
  object-fit: cover;
  width: 100%;
}

.location-card {
  background: var(--paper);
  bottom: 0;
  left: clamp(24px, 8vw, 130px);
  max-width: 530px;
  padding: clamp(38px, 5vw, 72px);
  position: absolute;
}

.location-card h2 {
  font-size: clamp(50px, 5vw, 76px);
}

.location-card p:not(.eyebrow) {
  color: #53615f;
  margin: 30px 0;
}

.contact {
  background: var(--forest);
  color: white;
  display: grid;
  gap: clamp(60px, 10vw, 160px);
  grid-template-columns: 1fr 0.8fr;
}

.contact h2 {
  font-size: clamp(58px, 6vw, 90px);
}

.contact-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
  max-width: 520px;
}

.contact-phone {
  display: block;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  margin-top: 42px;
}

.contact-phone-secondary {
  font-size: clamp(28px, 3vw, 42px);
  margin-top: 24px;
}

.contact-copy > span {
  color: rgba(255, 255, 255, 0.5);
  display: block;
  font-size: 12px;
}

.contact-email {
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.82);
  display: inline-block;
  font-size: 14px;
  margin-top: 12px;
}

.contact-form {
  align-self: end;
}

.contact-form label {
  color: rgba(255, 255, 255, 0.58);
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  color: white;
  display: block;
  font-size: 15px;
  outline: none;
  padding: 10px 0;
  resize: vertical;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: white;
}

.form-note {
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
}

.site-footer {
  align-items: center;
  background: #0b211f;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  justify-content: space-between;
  padding: 44px clamp(24px, 8vw, 130px);
}

.footer-brand strong {
  color: white;
}

.footer-logo {
  background: white;
  border-radius: 50%;
  display: inline-block;
  height: 58px;
  object-fit: cover;
  width: 58px;
}

.site-footer p,
.site-footer a {
  font-size: 11px;
}

.site-footer > div {
  display: flex;
  gap: 28px;
}

.lightbox {
  background: rgba(5, 13, 12, 0.96);
  border: 0;
  height: 100%;
  margin: 0;
  max-height: none;
  max-width: none;
  padding: 70px;
  width: 100%;
}

.lightbox::backdrop {
  background: rgba(5, 13, 12, 0.96);
}

.lightbox img {
  height: 100%;
  margin: auto;
  object-fit: contain;
  width: 100%;
}

.lightbox button {
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  color: white;
  cursor: pointer;
  font-size: 24px;
  height: 48px;
  position: absolute;
  width: 48px;
}

.lightbox-close {
  right: 20px;
  top: 20px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-count {
  bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
  left: 0;
  position: absolute;
  text-align: center;
  width: 100%;
}

@media (max-width: 900px) {
  .site-header {
    height: 72px;
  }

  .brand-logo {
    height: 40px;
    width: 40px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 2;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .main-nav {
    align-items: start;
    background: var(--paper);
    flex-direction: column;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 80px 30px;
    pointer-events: none;
    position: fixed;
    transform: translateY(-20px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    font-family: var(--serif);
    font-size: 34px;
  }

  .nav-cta {
    border: 0;
    padding: 0;
  }

  .hero-image,
  .hero-shade {
    top: 72px;
  }

  .hero-content {
    top: 42%;
  }

  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-facts div {
    min-height: 70px;
    padding-bottom: 12px;
  }

  .section-heading,
  .feature-grid,
  .feature-grid.reverse,
  .specs,
  .contact {
    grid-template-columns: 1fr;
  }

  .feature-grid.reverse .feature-image,
  .feature-grid.reverse .feature-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-grid.reverse .feature-copy {
    grid-row: 2;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.wide {
    grid-column: span 2;
  }

  .location-card {
    left: 24px;
    right: 24px;
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 18px;
  }

  .hero {
    min-height: 740px;
  }

  .hero-image {
    background-position: 58% center;
  }

  .hero-content {
    left: 22px;
    right: 22px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-actions {
    align-items: start;
    flex-direction: column;
    gap: 22px;
  }

  .hero-facts {
    left: 22px;
    right: 22px;
  }

  .hero-facts strong {
    font-size: 25px;
  }

  .hero-facts span {
    font-size: 9px;
  }

  .section-heading {
    gap: 35px;
  }

  .section-heading.compact .text-link {
    justify-self: start;
  }

  .gallery-grid {
    display: block;
  }

  .gallery-item {
    display: block;
    height: 260px;
    margin-bottom: 10px;
    width: 100%;
  }

  .spec-list div {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  .spec-list dd {
    text-align: left;
  }

  .location,
  .location > img {
    height: 720px;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
    gap: 28px;
  }

  .lightbox {
    padding: 60px 12px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
