/* EZ Real Estate Biz — classic professional shell */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --navy: #0c2340;
  --navy-mid: #1a3a5c;
  --sky: #e4eef5;
  --sky-deep: #c5d8e8;
  --link: #1e4a7a;
  --accent: #8b1a1a;
  --gold: #9a7b4f;
  --ink: #1a1f26;
  --muted: #5c6570;
  --line: #c8d4df;
  --paper: #ffffff;
  --wash: #f3f6f9;
  --max: 1180px;
  --nav-w: 228px;
  --gutter: 1.4rem;
  --font-display: "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --radius: 2px;
}

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

html { scroll-behavior: smooth; }

body.site {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    linear-gradient(180deg, #e8eef4 0%, var(--wash) 12rem, var(--wash) 100%);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { color: var(--navy); }

.site-wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.92);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 3px solid var(--gold);
}
.topbar .site-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  min-height: 2.55rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.shell {
  display: grid;
  grid-template-columns: var(--nav-w) minmax(0, 1fr);
  width: min(100%, var(--max));
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 0;
  box-shadow: 0 10px 28px rgba(12, 35, 64, 0.06);
  min-height: 70vh;
}

.nav {
  background: linear-gradient(180deg, #f7fafc 0%, var(--sky) 100%);
  border-right: 1px solid var(--line);
  padding: 1.35rem 0.85rem 2rem;
  /* No independent menu scrollbar — page scrolls as one */
  position: sticky;
  top: 0;
  align-self: start;
  max-height: none;
  overflow: visible;
}
.nav__brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.85rem;
  padding: 0 0.35rem 0.85rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 0 -2px var(--accent);
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav li + li {
  border-top: 1px solid rgba(200, 212, 223, 0.7);
}
.nav a {
  display: block;
  padding: 0.55rem 0.55rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border-radius: 0;
  border-left: 3px solid transparent;
}
.nav a:hover {
  background: rgba(255,255,255,.7);
  color: var(--link);
}
.nav a.is-active {
  background: #fff;
  color: var(--navy);
  border-left-color: var(--accent);
}

.main { padding-bottom: 2.5rem; }

.hero {
  position: relative;
  min-height: clamp(280px, 40vw, 420px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  border-bottom: 3px solid var(--gold);
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,35,64,.25) 0%, rgba(12,35,64,.72) 55%, rgba(12,35,64,.92) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 2.1rem var(--gutter) 2.2rem;
  width: 100%;
}
.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 0.4rem;
  line-height: 1.15;
}
.hero__site {
  display: inline-block;
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  border-bottom: 2px solid rgba(255,255,255,.45);
}
.hero__site:hover {
  color: #fff;
  border-bottom-color: var(--gold);
}
.hero__rule {
  width: 5.5rem;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0 0 0.95rem;
  box-shadow: 0 4px 0 -2px var(--accent);
}
.hero__lead {
  margin: 0 0 1.2rem;
  max-width: 38rem;
  color: rgba(255,255,255,.94);
  font-size: 1.05rem;
  line-height: 1.55;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.page-head {
  padding: 1.9rem var(--gutter) 1.25rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fafc 0%, #fff 100%);
}
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.55rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.page-head h1::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 2px;
  margin-top: 0.65rem;
  background: var(--accent);
  box-shadow: 0 4px 0 -2px var(--gold);
}
.page-head p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
  font-size: 1.02rem;
}

.section {
  padding: 2.5rem var(--gutter);
  border-bottom: 1px solid var(--line);
}
.section:last-of-type { border-bottom: 0; }
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.1vw, 1.65rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.65rem;
  letter-spacing: 0.01em;
}
.section h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 2px;
  margin-top: 0.45rem;
  background: var(--gold);
}
.section h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-mid);
  margin: 1.25rem 0 0.4rem;
}
.section__intro {
  margin: 0 0 1.15rem;
  color: var(--muted);
  max-width: 42rem;
}
.prose { max-width: 46rem; }
.prose p { margin: 0 0 0.95rem; }
.prose p:last-child { margin-bottom: 0; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: start;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.grid-media {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

.list-clean {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.list-clean li {
  padding-left: 1.1rem;
  position: relative;
}
.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--gold);
}

.tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.tier {
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  background: var(--wash);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
}
.tier h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
}
.tier p { margin: 0 0 0.75rem; font-size: 0.95rem; color: var(--muted); }
.tier .btn { margin-top: 0.25rem; width: 100%; }
.pay-actions { margin: 1rem 0 0.5rem; }
.pay-actions .btn { min-width: 10rem; }

.figure { margin: 0; }
.figure > img,
.figure > a:not([href*="square.link"]):not([href*="eCa.sh"]) > img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  background: #e8eef5;
}
.figure figcaption {
  margin-top: 0.4rem;
  font-size: 0.86rem;
  color: var(--muted);
  font-style: italic;
  letter-spacing: 0.01em;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.gallery > img,
.gallery .figure > img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  background: #e8eef5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn--primary { background: #fff; color: var(--navy); border-color: #fff; }
.btn--primary:hover { background: var(--sky); color: var(--navy); border-color: var(--sky); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--solid { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--solid:hover { background: var(--navy-mid); color: #fff; border-color: var(--navy-mid); }
.btn--navy { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--navy:hover { background: #6e1414; color: #fff; border-color: #6e1414; }

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.3rem;
  background: linear-gradient(90deg, #f4f8fb, #fafcfd);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  margin-top: 1.25rem;
}
.cta p { margin: 0; max-width: 30rem; font-weight: 500; }

.meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.meta li { display: flex; flex-wrap: wrap; gap: 0.35rem 0.75rem; }
.meta strong { color: var(--navy); min-width: 5.5rem; }

.form-grid {
  display: grid;
  gap: 0.95rem;
  max-width: 40rem;
}
.form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.form-note { margin: 0.65rem 0 0; font-size: 0.88rem; color: var(--muted); max-width: 40rem; }

.notice {
  border: 1px solid #e8d2d2;
  border-left: 3px solid var(--accent);
  padding: 0.9rem 1.05rem;
  background: #fbf6f6;
  margin: 1rem 0;
}
.notice p { margin: 0; }

.archive {
  background: var(--wash);
}
.archive details {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.75rem 1rem;
}
.archive summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}
.archive .archive-body {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--ink);
  max-height: 28rem;
  overflow: auto;
}
.archive .archive-body--full {
  max-height: none;
  overflow: visible;
}
.archive .archive-body p { margin: 0; }

.gallery--all {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.gallery--all .figure > img {
  aspect-ratio: 1;
}

/* Fill every content photo frame (cover crop) */
.main .figure > img,
.main .gallery > img,
.main .photo-row .figure > img,
.main .grid-media .figure > img,
.section > img,
.prose > img {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.main .logo-band img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.main .gallery > img,
.main .gallery .figure > img,
.gallery--all .figure > img {
  aspect-ratio: 1;
}

/* Keep payment / CTA button images natural size */
.main a[href*="square.link"] img,
.main a[href*="eCa.sh"] img,
.main a[href*="squareup"] img,
.pay-actions img,
.tier a > img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border: 0 !important;
  background: transparent !important;
}

.site-footer {
  background: #071525;
  color: rgba(255,255,255,.88);
  padding: 2.2rem var(--gutter);
  border-top: 3px solid var(--gold);
}
.site-footer .site-wrap { display: grid; gap: 0.65rem; }
.site-footer a { color: #fff; }
.site-footer__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
  letter-spacing: 0.02em;
}
.site-footer__note {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,.62);
  max-width: 44rem;
}

@media (max-width: 920px) {
  .shell { grid-template-columns: 1fr; }
  .nav {
    position: static;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .nav li + li { border-top: 0; }
  .grid-2,
  .grid-3,
  .grid-media,
  .tiers,
  .form-grid--2 {
    grid-template-columns: 1fr;
  }
}
