:root {
  --ink: #142635;
  --ink-soft: #4a5b67;
  --navy: #17364a;
  --navy-deep: #102b3b;
  --sea: #236f86;
  --sea-light: #dcebf0;
  --sand: #eee8de;
  --sand-light: #f7f4ef;
  --gold: #88713d;
  --white: #fff;
  --shadow: 0 18px 50px rgb(15 41 56 / 14%);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid #f0bd55;
  outline-offset: 4px;
}

.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;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 3000;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--navy-deep);
  text-decoration: none;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  min-height: 4.75rem;
  padding: 0.85rem max(1.25rem, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgb(255 255 255 / 96%);
  border-color: rgb(20 38 53 / 10%);
  box-shadow: 0 8px 30px rgb(15 41 56 / 8%);
}

.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-decoration: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.desktop-nav a {
  color: inherit;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.35rem;
}

.desktop-nav .nav-contact {
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--gold);
  text-decoration: none;
}

.menu-button {
  width: 3rem;
  height: 3rem;
  display: none;
  place-content: center;
  gap: 5px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-button > span:not(.sr-only) {
  width: 1.55rem;
  height: 2px;
  display: block;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  inset: 4.75rem 0 auto;
  z-index: 950;
  padding: 1rem 1.25rem 1.5rem;
  color: var(--white);
  background: var(--navy-deep);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  display: block;
  padding: 0.9rem 0.25rem;
  border-bottom: 1px solid rgb(255 255 255 / 15%);
  font-family: var(--serif);
  font-size: 1.35rem;
  text-decoration: none;
}

.hero {
  min-height: min(860px, 100svh);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center 48%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgb(8 28 40 / 78%) 0%, rgb(8 28 40 / 47%) 46%, rgb(8 28 40 / 12%) 75%),
    linear-gradient(0deg, rgb(8 28 40 / 56%) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: clamp(8rem, 18vh, 12rem) clamp(4rem, 9vh, 7rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: #f1d896;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.12;
}

h1 {
  max-width: 780px;
  margin-bottom: 0.55rem;
  font-size: clamp(2.65rem, 7vw, 5.75rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.4vw, 3.65rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}

.hero-location {
  margin-bottom: 1.4rem;
  color: rgb(255 255 255 / 84%);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-style: italic;
}

.hero-price {
  margin-bottom: 2rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.hero-price strong {
  display: block;
  margin-top: 0.25rem;
  color: #f4dfaa;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.button-primary {
  color: var(--white);
  background: var(--gold);
}

.button-secondary {
  color: var(--white);
  border-color: rgb(255 255 255 / 72%);
  background: rgb(9 29 41 / 25%);
}

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

.snapshot {
  color: var(--white);
  background: var(--navy);
}

.snapshot-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
}

.snapshot-item {
  min-width: 0;
  padding: 1.4rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  border-left: 1px solid rgb(255 255 255 / 12%);
  text-align: center;
}

.snapshot-item:first-child {
  border-left: 0;
}

.snapshot-item span {
  color: #b8dce7;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.snapshot-item strong {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 500;
}

.snapshot-item small {
  font-family: var(--sans);
  font-size: 0.7em;
  font-weight: 500;
}

.snapshot-price strong {
  color: #f4dfaa;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-heading p:not(.eyebrow),
.lead {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.75;
}

.photos-section {
  background: var(--sand-light);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.55rem, 1vw, 0.85rem);
}

.gallery-item {
  grid-column: span 2;
  min-width: 0;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  padding: 0;
  color: var(--white);
  background: var(--navy);
  border: 0;
  cursor: zoom-in;
}

.gallery-item-feature {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 2;
}

.gallery-item:nth-last-child(-n + 2) {
  grid-column: span 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.02);
}

.gallery-item > span {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgb(7 26 37 / 82%));
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}

.gallery-help {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.overview-section {
  background: var(--white);
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.overview-grid > div > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--ink-soft);
}

.details-list {
  margin: 0;
  border-top: 2px solid var(--gold);
}

.details-list > div {
  padding: 0.95rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid #d9d4cb;
}

.details-list dt {
  color: var(--ink-soft);
}

.details-list dd {
  margin: 0;
  font-weight: 750;
  text-align: right;
}

.access-section {
  color: var(--white);
  background: var(--navy-deep);
}

.section-heading-light p:not(.eyebrow) {
  color: #c5d6dd;
}

.section-heading-light .eyebrow {
  color: #f1d896;
}

.proximity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgb(255 255 255 / 14%);
  border: 1px solid rgb(255 255 255 / 14%);
}

.proximity-grid article {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--navy-deep);
}

.proximity-grid strong {
  display: block;
  margin-bottom: 0.75rem;
  color: #f1d896;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.proximity-grid p {
  margin-bottom: 0;
  color: #c5d6dd;
  font-size: 0.9rem;
}

.coast-section {
  background: var(--sand-light);
}

.coast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.coast-grid figure {
  min-width: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.coast-grid img {
  width: 100%;
  height: min(36vw, 27rem);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.coast-grid figure:first-child {
  grid-column: 1 / -1;
}

.coast-grid figure:first-child img {
  height: min(47vw, 38rem);
  aspect-ratio: 16 / 9;
}

.coast-grid figure:nth-child(2) img {
  object-position: center 58%;
}

.coast-grid figure:nth-child(3) img {
  object-position: center 44%;
}

.coast-grid figcaption {
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--navy);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coast-note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.notice-section {
  padding-block: clamp(3.5rem, 7vw, 5rem);
  background: var(--white);
}

.notice-card {
  padding: clamp(1.7rem, 4vw, 3rem);
  border: 1px solid #d9d4cb;
  border-left: 5px solid var(--gold);
  background: var(--sand-light);
}

.notice-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.notice-card p:last-child {
  max-width: 940px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.contact-section {
  color: var(--white);
  background: var(--sea);
}

.contact-section .eyebrow {
  color: #f6e4b4;
}

.contact-section .lead,
.contact-note {
  color: rgb(255 255 255 / 86%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.contact-actions {
  display: grid;
  gap: 0.75rem;
}

.contact-action {
  min-height: 5.25rem;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-action:hover {
  box-shadow: var(--shadow);
}

.contact-action span {
  color: var(--sea);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-action strong {
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
}

.site-footer {
  padding-block: 3rem;
  color: #c7d4da;
  background: #0b2433;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: start;
}

.footer-grid strong,
.footer-grid span {
  display: block;
}

.footer-grid strong {
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.footer-grid p {
  margin-bottom: 0;
}

.footer-notice {
  grid-column: 1 / -1;
  max-width: 860px;
  padding-top: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 14%);
  font-size: 0.78rem;
}

.lightbox {
  width: min(96vw, 1200px);
  max-width: none;
  padding: 0;
  color: var(--white);
  background: #071c28;
  border: 0;
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgb(3 15 22 / 90%);
}

.lightbox-frame {
  padding: 0.8rem;
}

.lightbox-toolbar {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lightbox-toolbar p,
.lightbox-count {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.icon-button,
.lightbox-nav {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 35%);
  cursor: pointer;
}

.icon-button {
  font-size: 1.8rem;
}

.lightbox-media {
  position: relative;
  display: grid;
  place-items: center;
}

.lightbox-media img {
  max-width: 100%;
  max-height: min(76vh, 850px);
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  background: rgb(7 28 40 / 80%);
}

.lightbox-previous {
  left: 0.75rem;
}

.lightbox-next {
  right: 0.75rem;
}

.lightbox-count {
  padding-top: 0.75rem;
  color: #c7d4da;
  text-align: center;
}

@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-item,
  .gallery-item:nth-last-child(-n + 2) {
    grid-column: span 2;
  }

  .gallery-item-feature,
  .gallery-item:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .snapshot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .snapshot-item {
    border-bottom: 1px solid rgb(255 255 255 / 12%);
  }

  .snapshot-price {
    grid-column: span 3;
    border-left: 0;
  }

  .snapshot-item:nth-child(2),
  .snapshot-item:nth-child(5) {
    border-left: 0;
  }

  .overview-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 2rem, 1180px);
  }

  .hero {
    min-height: 760px;
  }

  .hero-media img {
    object-position: 54% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgb(7 27 39 / 89%) 0%, rgb(7 27 39 / 56%) 55%, rgb(7 27 39 / 24%) 100%);
  }

  .hero-content {
    padding-bottom: 3.5rem;
  }

  .hero-actions {
    display: grid;
  }

  .gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }

  .gallery-item,
  .gallery-item-feature,
  .gallery-item:nth-last-child(-n + 2),
  .gallery-item:last-child {
    grid-column: 1;
    aspect-ratio: 4 / 3;
  }

  .gallery-item > span {
    font-size: 0.63rem;
  }

  .proximity-grid,
  .coast-grid {
    grid-template-columns: 1fr;
  }

  .coast-grid figure:first-child {
    grid-column: 1;
  }

  .coast-grid figure:first-child img,
  .coast-grid img {
    height: min(72vw, 22rem);
    aspect-ratio: 4 / 3;
  }

  .section {
    padding-block: 3.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-notice {
    grid-column: auto;
  }

  .lightbox {
    width: 100vw;
    min-height: 100dvh;
    margin: 0;
  }

  .lightbox-frame {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 440px) {
  .snapshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .snapshot-price {
    grid-column: span 2;
  }

  .snapshot-item:nth-child(2),
  .snapshot-item:nth-child(4) {
    border-left: 0;
  }

  .snapshot-item:nth-child(5) {
    border-left: 1px solid rgb(255 255 255 / 12%);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
