/* Palette pulled from the property photography:
   twilight sky navy, warm storefront-signage amber, dry SoCal sand. */
:root {
  --navy: #16263f;
  --navy-deep: #0d1a2d;
  --amber: #d09242;
  --amber-dark: #b87c31;
  --ink: #22282f;
  --muted: #6a7078;
  --sand: #f5f2ec;
  --line: #e3ded5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ----------
   Light background: the logo mark is silver on white, so it needs a
   light field to sit on. Navy carries through the hero, page headers
   and footer instead. */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.logo-mark {
  height: 38px;
  width: auto;
}

.logo-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.1;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  display: inline-block;
  color: #5a6472;
  text-decoration: none;
  font-size: 0.86rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: var(--navy);
  border-bottom-color: var(--amber);
}

nav a.active {
  color: var(--navy);
  font-weight: 600;
  border-bottom-color: var(--amber);
}

/* ---------- Properties dropdown ---------- */
.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 236px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--amber);
  box-shadow: 0 12px 28px rgba(13, 26, 45, 0.13);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 60;
}

/* Invisible bridge so the menu survives the gap under the link */
.dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 9px 18px;
  border-bottom: none;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  color: #5a6472;
}

.dropdown a:hover {
  background: var(--sand);
  color: var(--navy);
  border-bottom: none;
}

/* ---------- Interior page header ---------- */
.page-header {
  background: var(--navy);
  color: #fff;
  padding: 62px 0 58px;
}

.page-header h1 {
  margin: 0 0 10px;
  font-size: 2.15rem;
  line-height: 1.2;
}

.page-header p:not(.eyebrow) {
  margin: 0;
  color: #c3ccd9;
  max-width: 60ch;
}

/* ---------- Hero ----------
   Inset image on a light field, no overlay or text across the photo.
   The message lives in a dark panel that overlaps the image's right edge. */
.hero {
  background: var(--sand);
  padding: 46px 0 70px;
}

.hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-stage {
  position: relative;
  width: 84%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Nothing sits on top of these, so let them run vivid */
  filter: saturate(1.12) contrast(1.05);
  opacity: 0;
  animation: heroFade 15s infinite;
}

.hero-slide:first-child { opacity: 1; }

/* Second slide runs the same cycle, offset by half, so the two crossfade */
.hero-slide:nth-child(2) { animation-delay: -7.5s; }

@keyframes heroFade {
  0%   { opacity: 1; }
  45%  { opacity: 1; }
  50%  { opacity: 0; }
  95%  { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; }
  .hero-slide:nth-child(2) { display: none; }
}

.hero-panel {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 410px;
  background: var(--navy-deep);
  color: #fff;
  padding: 46px 42px 40px;
}

.hero-eyebrow {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  line-height: 1.6;
}

.panel-rule {
  display: block;
  width: 1px;
  height: 46px;
  background: rgba(255, 255, 255, 0.32);
  margin: 24px 0 26px;
}

.hero-panel h1 {
  margin: 0 0 44px;
  font-size: 2.15rem;
  line-height: 1.16;
  color: #fff;
}

.panel-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cta-arrow {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.cta-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.cta-arrow::before {
  content: "\2192";
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  line-height: 1;
  color: #fff;
  z-index: 1;
  transition: transform 0.25s ease;
}

.panel-cta:hover .cta-arrow::after {
  transform: translateY(-50%) translateX(5px);
  border-color: var(--amber);
}

.panel-cta:hover .cta-arrow::before {
  transform: translateY(-50%) translateX(5px);
}

.button {
  display: inline-block;
  background: var(--amber);
  color: #1b1305;
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.button:hover { background: var(--amber-dark); color: #fff; }

/* ---------- Sections ---------- */
.section {
  padding: 76px 0;
}

.section h2 {
  margin: 0 0 14px;
  font-size: 1.85rem;
  position: relative;
  padding-bottom: 14px;
}

.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 3px;
  background: var(--amber);
}

.section p {
  margin: 0 0 16px;
  max-width: 68ch;
}

.section-lead {
  color: var(--muted);
}

.section-alt {
  background: var(--sand);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-dark {
  background: var(--navy);
  color: #e6ebf2;
}

.section-dark h2 { color: #fff; }

.section-dark a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(208, 146, 66, 0.45);
}

.section-dark a:hover { color: #f0c07a; }

/* ---------- Properties ---------- */
.properties {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 34px;
  margin-top: 38px;
}

.property {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.property-media {
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-body {
  padding: 22px 24px 26px;
}

.property h3 {
  margin: 0 0 2px;
  font-size: 1.3rem;
}

.property-location {
  margin: 0 0 12px;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

.property p {
  color: var(--muted);
  font-size: 0.97rem;
}

.property p:last-child { margin-bottom: 0; }

/* ---------- Eyebrow labels ---------- */
.eyebrow {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

.eyebrow-light { color: var(--amber); }

.eyebrow-rule {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow-rule::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--amber);
}

/* ---------- Display type ---------- */
.display {
  font-size: 2.5rem;
  line-height: 1.14;
  margin: 0 0 22px;
  padding-bottom: 0;
  color: var(--navy);
}

.display::after { display: none; }

.lead {
  font-size: 1.1rem;
  color: #4d5661;
  max-width: 62ch;
}

.link-arrow {
  display: inline-block;
  margin-top: 6px;
  color: var(--amber-dark);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid rgba(208, 146, 66, 0.4);
  padding-bottom: 2px;
}

.link-arrow::after { content: " \2192"; }
.link-arrow:hover { border-bottom-color: var(--amber); }

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
  margin: 46px 0 52px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 0 30px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  padding-left: 0;
  border-left: none;
}

.stat dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
}

.stat dd {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 38px;
}

.pillar h2 {
  margin: 0 0 12px;
  padding-bottom: 0;
  font-size: 1.12rem;
  color: var(--navy);
}

.pillar h2::after { display: none; }

.pillar p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted);
}

/* ---------- Property rows ---------- */
.property-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 46px;
  align-items: center;
  margin-bottom: 76px;
}

.property-row:last-child { margin-bottom: 0; }

.property-row-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-deep);
}

.property-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.property-row:hover .property-row-media img {
  transform: scale(1.05);
}

.property-row-body h2 {
  margin: 0 0 14px;
  padding-bottom: 0;
  font-size: 1.9rem;
  color: var(--navy);
}

.property-row-body h2::after { display: none; }

.property-row-body p { color: var(--muted); }

.property-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0 44px;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.property-facts dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

.property-facts dd {
  margin: 4px 0 0;
  font-size: 0.96rem;
  color: var(--navy);
}

/* Reverse every other row: image on the right */
.property-row-reverse .property-row-media { order: 2; }

/* ---------- Call to action ---------- */
.cta h2::after { display: none; }

.cta h2 { padding-bottom: 0; }

.cta p:not(.eyebrow) { margin-bottom: 24px; }

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 720px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 22px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
}

.req { color: var(--amber-dark); }

.optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9cfd6;
  border-radius: 3px;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(208, 146, 66, 0.22);
}

.contact-form .button {
  border: none;
  cursor: pointer;
  margin-top: 4px;
  font-family: inherit;
}

.hidden-field { display: none; }

.form-alt {
  margin-top: 26px;
  font-size: 0.94rem;
  color: var(--muted);
}

.form-alt a { color: var(--amber-dark); }

/* ---------- Contact page layout ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-details h2 {
  margin: 0 0 8px;
  padding-bottom: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-dark);
  font-family: inherit;
}

.contact-details h2::after { display: none; }

.contact-details h2 + p { margin-bottom: 26px; }

.contact-details p {
  color: var(--navy);
  line-height: 1.7;
}

.contact-details a { color: var(--amber-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #94a2b6;
  font-size: 0.88rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding-top: 48px;
  padding-bottom: 40px;
}

.footer-col h3 {
  margin: 0 0 10px;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
}

.footer-col p {
  margin: 0 0 4px;
  line-height: 1.7;
}

.footer-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 8px !important;
}

.footer-col a {
  color: #cbd5e2;
  text-decoration: none;
  border-bottom: 1px solid rgba(208, 146, 66, 0.5);
}

.footer-col a:hover { color: var(--amber); }

.footer-bottom {
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: #74839a;
}

.footer-bottom p { margin: 0; }

/* Below this width the overlapping panel has no room, so it drops
   beneath the image and keeps just a slight overlap. */
@media (max-width: 1000px) {
  .hero { padding: 30px 0 56px; }
  .hero-stage { width: 100%; }
  .hero-panel {
    position: relative;
    z-index: 2;
    top: auto;
    right: auto;
    transform: none;
    width: 91%;
    margin: -58px auto 0;
    padding: 36px 32px 32px;
  }
  .hero-panel h1 { font-size: 1.8rem; margin-bottom: 34px; }
  .panel-rule { height: 34px; margin: 18px 0 20px; }
}

/* Stack the alternating property rows on narrow screens */
@media (max-width: 820px) {
  .property-row {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 56px;
  }
  .property-row-reverse .property-row-media { order: 0; }
  .property-row-body h2 { font-size: 1.55rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero-stage { aspect-ratio: 3 / 2; }
  .hero-panel {
    width: 100%;
    margin-top: -40px;
    padding: 30px 24px 26px;
  }
  .hero-panel h1 { font-size: 1.55rem; }
  .hero-eyebrow { font-size: 0.68rem; }
  .section { padding: 56px 0; }
  .logo-mark { height: 32px; }
  .logo-text { font-size: 0.8rem; letter-spacing: 0.13em; }
  .page-header { padding: 46px 0 42px; }
  .page-header h1 { font-size: 1.75rem; }
  .display { font-size: 1.85rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  /* Touch devices have no hover, so show the submenu inline instead
     of hiding it behind a hover state that can never fire. */
  nav {
    flex-wrap: wrap;
    gap: 10px 22px;
    width: 100%;
  }
  .nav-item { width: 100%; }
  .dropdown {
    position: static;
    display: flex;
    gap: 20px;
    min-width: 0;
    margin-top: 8px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .dropdown::before { display: none; }
  .dropdown a {
    padding: 0;
    font-size: 0.74rem;
    color: var(--muted);
  }
  .dropdown a:hover { background: none; }

  /* Stat dividers read better stacked than side by side */
  .stats { margin: 34px 0 40px; padding: 26px 0; }
  .stat {
    padding: 14px 0;
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .stat:first-child { border-top: none; padding-top: 0; }
  .stat dt { font-size: 1.85rem; }
}
