/* Point Property Management — shared styles
   Palette: deep navy, warm off-white, muted gold
   Mobile-first. Relative paths only. */

:root {
  --navy: #12263a;
  --navy-mid: #1b354c;
  --navy-deep: #0c1a28;
  --cream: #f3eee4;
  --cream-dark: #e6dfd2;
  --paper: #faf7f1;
  --gold: #b08d57;
  --gold-soft: #c9ae7e;
  --gold-text: #8a6a38;
  --ink: #1c1b19;
  --muted: #5a574f;
  --water: #3d5a66;
  --line: rgba(18, 38, 58, 0.14);
  --line-strong: rgba(18, 38, 58, 0.28);
  --focus: #8a6a38;
  --danger: #8b2e2e;
  --max: 68rem;
  --wide: 74rem;
  --radius: 2px;
  --font: "Figtree", "Segoe UI", system-ui, sans-serif;
  --space: clamp(1.25rem, 4vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(18, 38, 58, 0.03), transparent 12rem),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(18, 38, 58, 0.015) 3px,
      rgba(18, 38, 58, 0.015) 4px
    ),
    var(--cream);
  min-height: 100vh;
}

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

a {
  color: var(--navy);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--focus);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 0.85rem;
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - (var(--space) * 2), var(--max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - (var(--space) * 2), var(--wide));
  margin-inline: auto;
}

/* Header */

.topbar {
  background: var(--navy-deep);
  color: var(--cream);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.topbar a {
  color: var(--cream);
  text-decoration: none;
}

.topbar a:hover {
  color: var(--gold-soft);
  text-decoration: underline;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1.25rem;
  padding: 0.45rem 0;
}

.topbar p {
  margin: 0;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}

.logo:hover {
  color: var(--navy);
}

.logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-weight: 650;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.logo-place {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--navy);
  margin-inline: auto;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  flex-basis: 100%;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.15rem;
}

.site-nav.is-open ul {
  display: flex;
}

.site-nav a {
  display: block;
  text-decoration: none;
  color: var(--navy);
  font-weight: 550;
  padding: 0.55rem 0.15rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    flex-basis: auto;
  }

  .site-nav ul,
  .site-nav.is-open ul {
    display: flex;
    flex-direction: row;
    gap: 0.15rem 1.35rem;
    padding: 0;
  }

  .site-nav a {
    padding: 0.35rem 0;
  }
}

/* Hero */

.hero {
  background:
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 48%, var(--water) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--gold);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  padding: clamp(2.25rem, 6vw, 4.5rem) 0 clamp(2.5rem, 7vw, 4.75rem);
  align-items: center;
}

.hero-copy {
  max-width: 38rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 6vw, 3.35rem);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: clamp(1.1rem, 2.4vw, 1.28rem);
  line-height: 1.45;
  color: #e6dfd2;
  max-width: 32rem;
}

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

.hero-art {
  justify-self: center;
  width: min(100%, 28rem);
}

.hero-art svg {
  width: 100%;
  height: auto;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  font: inherit;
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  line-height: 1.2;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-gold:hover {
  background: var(--gold-soft);
  color: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 239, 230, 0.45);
}

.btn-ghost:hover {
  color: var(--navy-deep);
  background: var(--cream);
}

.btn-navy {
  background: var(--navy);
  color: var(--cream);
}

.btn-navy:hover {
  background: var(--navy-mid);
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--cream);
}

/* Sections */

.section {
  padding: clamp(2.5rem, 6vw, 4.25rem) 0;
}

.section-muted {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

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

.section-navy a {
  color: var(--gold-soft);
}

.section-navy h2,
.section-navy h3 {
  color: var(--cream);
}

.section-navy .kicker,
.place-panel .kicker {
  color: var(--gold-soft);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-flush-top {
  padding-top: 0;
}

.kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.section h2,
.page-intro h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.lede {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }

  .split-reverse {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* Services */

.service-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.service-num {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--gold-text);
  letter-spacing: 0.04em;
}

.service-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.service-list p {
  margin: 0;
  color: var(--muted);
}

/* Why local */

.place-panel {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  position: relative;
}

.place-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold);
}

.place-panel h2 {
  color: var(--cream);
}

.place-panel p {
  color: #d9d2c5;
}

.place-panel p + p {
  margin-top: 0.9rem;
}

.place-facts {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.place-facts li {
  padding: 0.55rem 0;
  border-top: 1px solid rgba(244, 239, 230, 0.15);
  padding-left: 1rem;
  position: relative;
}

.place-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--gold);
}

/* Listings */

.listings-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.listing-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 700px) {
  .listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .listing-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.listing-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 1.15rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
}

.listing-card h3 {
  margin: 0;
  font-size: 1.12rem;
  color: var(--navy);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
}

.listing-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
}

.listing-kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--muted);
}

.listing-status {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--water);
}

.listing-status-coming-soon {
  color: var(--gold-text);
}

.listing-flag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--cream-dark);
  padding: 0.12rem 0.4rem;
}

.listing-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.listing-facts li {
  position: relative;
}

.listing-facts li + li::before {
  content: "·";
  position: absolute;
  left: -0.6rem;
  color: var(--gold);
}

.listing-rent {
  margin: 0.4rem 0 0;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}

.listing-avail,
.listing-blurb {
  margin: 0;
  color: var(--muted);
}

.listing-blurb {
  flex: 1;
}

.text-link {
  font-weight: 650;
  margin-top: 0.5rem;
}

.listings-empty {
  margin: 0;
  padding: 1rem 0;
}

.listings-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact strip */

.contact-strip {
  display: grid;
  gap: 1.25rem;
}

.contact-strip a {
  color: var(--cream);
  text-decoration: none;
}

.contact-strip a:hover {
  color: var(--gold-soft);
  text-decoration: underline;
}

.contact-strip h2 {
  color: var(--cream);
}

.contact-item {
  margin: 0;
}

.contact-item span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.2rem;
}

@media (min-width: 760px) {
  .contact-strip {
    grid-template-columns: 1.2fr 0.8fr 0.9fr 0.9fr;
    align-items: end;
  }
}

/* Page intro */

.page-intro {
  padding: clamp(1.75rem, 5vw, 3rem) 0 0.25rem;
}

.page-intro .lede {
  margin-bottom: 0.5rem;
}

/* Feature blocks */

.feature-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature {
  padding: 1.2rem 1.2rem 1.3rem 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  color: var(--navy);
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 1rem 0 1rem 3.1rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  font-weight: 700;
  color: var(--gold-text);
  letter-spacing: 0.04em;
}

.steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* FAQ */

.faq {
  display: grid;
  gap: 0.5rem;
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.15rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--navy);
  padding: 0.85rem 0;
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.faq summary:hover {
  color: var(--focus);
}

/* Forms */

form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: block;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.hint {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.65rem 0.7rem;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--navy);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.office-card {
  background: var(--navy);
  color: var(--cream);
  padding: 1.5rem 1.5rem 1.6rem;
}

.office-card h2 {
  color: var(--cream);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.office-card p,
.office-card a {
  color: var(--cream);
}

.office-card a:hover {
  color: var(--gold-soft);
}

.office-card dl {
  margin: 0;
}

.office-card dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 0.9rem;
}

.office-card dd {
  margin: 0.15rem 0 0;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: #cfc8bc;
  padding: 2.25rem 0 1.5rem;
  margin-top: 0;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
  }
}

.site-footer h2 {
  margin: 0 0 0.5rem;
  color: var(--cream);
  font-size: 1.05rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.3rem;
}

.site-footer a {
  color: #e6dfd2;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-soft);
  text-decoration: underline;
}

.footer-legal {
  margin: 1.75rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  font-size: 0.85rem;
  max-width: 52rem;
}

.footer-legal p {
  margin: 0 0 0.6rem;
}

/* Thanks */

.thanks-box {
  max-width: 36rem;
  padding: 2rem 0 3rem;
}

/* Utility */

.mt-1 {
  margin-top: 1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.prose p {
  max-width: 42rem;
}

.prose p + p {
  margin-top: 0.85rem;
}

.callout {
  border-left: 3px solid var(--gold);
  padding: 0.2rem 0 0.2rem 1rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
}

.disabled-link {
  color: var(--muted);
  pointer-events: none;
  text-decoration: none;
}
