:root {
  --navy: #0e2a4e;
  --navy-2: #143c67;
  --green: #84bd41;
  --green-2: #b6d85a;
  --ink: #17212f;
  --muted: #647082;
  --line: #dde5df;
  --paper: #f8faf6;
  --white: #ffffff;
  --clay: #b96f4a;
  --coral: #df8f2f;
  --coral-2: #f2ae45;
  --gold: #d8a94e;
  --soft-green: #eef4ee;
  --deep-ink: #17212f;
  --slate: #647082;
  --shadow: 0 18px 50px rgba(14, 42, 78, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 6000;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 58px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(8, 26, 49, 0.88), rgba(8, 26, 49, 0.42) 70%, transparent);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.menu-active {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(14, 42, 78, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid currentColor;
  border-radius: 8px;
  color: currentColor;
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: -8px;
  width: 30px;
  height: 30px;
  border-left: 4px solid var(--green);
  border-top: 4px solid var(--green);
  transform: rotate(45deg);
  background: transparent;
}

.brand-mark span {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 19px;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--green-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-header.scrolled .brand-copy span,
.site-header.menu-active .brand-copy span {
  color: var(--green);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
}

.top-nav a {
  opacity: 0.9;
}

.top-nav a:hover {
  color: var(--green-2);
}

.site-header.scrolled .top-nav a:hover,
.site-header.menu-active .top-nav a:hover {
  color: var(--green);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-bg::before {
  inset: -18px;
  background: url("/assets/facilities/main-page-house.jpg");
  background-size: cover;
  background-position: center 46%;
  filter: blur(5px);
  opacity: 0.88;
  transform: scale(1.03);
}

.hero-bg::after {
  background:
    linear-gradient(90deg, rgba(7, 25, 48, 0.93), rgba(10, 31, 58, 0.76) 48%, rgba(10, 31, 58, 0.42)),
    linear-gradient(180deg, rgba(7, 25, 48, 0.26), rgba(7, 25, 48, 0.54));
}

.hero-inner {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--green-2);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(46px, 9vw, 96px);
}

h2 {
  max-width: 860px;
  font-size: clamp(34px, 5vw, 62px);
}

h3 {
  font-size: 25px;
}

h4 {
  font-size: 20px;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions,
.audience-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button svg,
.icon-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 32px rgba(132, 189, 65, 0.28);
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--line);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.button.invest-cta {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, var(--coral-2), var(--coral));
  box-shadow: 0 16px 34px rgba(223, 143, 47, 0.34);
}

.button.invest-cta:hover,
.button.invest-cta:focus-visible {
  background: linear-gradient(135deg, #ffc15f, var(--coral));
  box-shadow: 0 18px 40px rgba(223, 143, 47, 0.44);
}

.hero-actions .button.invest-cta {
  border-color: rgba(255, 255, 255, 0.26);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.hero-metrics span {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(4, 18, 35, 0.38);
  backdrop-filter: blur(10px);
}

.hero-metrics strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 30px;
}

.audience-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 68px);
  color: var(--white);
  background: var(--navy);
}

.audience-strip h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.audience-strip .audience-actions {
  margin: 0;
}

.section {
  padding: clamp(68px, 9vw, 118px) clamp(18px, 5vw, 68px);
}

.section-heading {
  display: grid;
  gap: 6px;
  margin: 0 auto 34px;
  max-width: 1160px;
}

.thesis-grid,
.waiver-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}

.thesis-grid article,
.waiver-grid article,
.portfolio-card,
.owned-panel,
.dashboard,
.financial-grid section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(14, 42, 78, 0.07);
}

.thesis-grid article,
.waiver-grid article {
  padding: 26px;
}

.thesis-grid svg {
  color: var(--green);
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
}

.thesis-grid p,
.waiver-grid p,
.family-band p,
.contact-form,
.portfolio-card p,
.detail-content p,
.fine-print,
.site-footer p {
  color: var(--muted);
  line-height: 1.6;
}

.portfolio-section {
  background: #eef4ee;
}

.portfolio-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.filter-chip.active {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
}

.portfolio-card-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.portfolio-card h3 {
  font-size: 22px;
}

.meta-line,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--navy);
  background: #eaf3dd;
  font-size: 12px;
  font-weight: 900;
}

.tag.warn {
  color: #7b4a13;
  background: #f8e7c4;
}

.card-button {
  justify-content: space-between;
  width: 100%;
  margin-top: 5px;
  color: var(--navy);
  background: #f5f8f2;
  border-color: var(--line);
}

.property-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding: clamp(68px, 9vw, 110px) clamp(18px, 5vw, 68px);
  background: var(--white);
}

.detail-media img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-content {
  max-width: 680px;
}

.detail-content p {
  font-size: 17px;
}

.stat-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.stat-list div {
  padding: 16px;
  border-radius: 8px;
  background: #f4f8f1;
}

.stat-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-list dd {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
}

.numbers-panel {
  padding: 20px;
  border-left: 5px solid var(--green);
  background: #f9fbf6;
}

.numbers-panel h3 {
  font-size: 22px;
}

.numbers-panel ul,
.check-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.secure-preview {
  display: none;
  padding: clamp(68px, 9vw, 116px) clamp(18px, 5vw, 68px);
  color: var(--white);
  background: var(--navy);
}

.secure-preview.active {
  display: block;
}

.secure-preview .section-heading {
  color: var(--white);
}

.portal-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.owned-panel,
.dashboard,
.financial-grid section {
  color: var(--ink);
}

.owned-panel {
  padding: 18px;
}

.investor-id {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.investor-id span:last-child {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(132, 189, 65, 0.18);
}

.owned-panel h3 {
  margin: 18px 0 12px;
  font-size: 22px;
}

.owned-list {
  display: grid;
  gap: 8px;
}

.owned-button {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: #f7faf4;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.owned-button.active {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

.dashboard {
  padding: 22px;
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.dashboard-stats div {
  min-height: 100px;
  padding: 14px;
  border-radius: 8px;
  background: #f4f8f1;
}

.dashboard-stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-stats strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 24px;
}

.financial-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.financial-grid section {
  padding: 18px;
  box-shadow: none;
}

.mini-bars {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.bar-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 82px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.bar-track {
  height: 13px;
  overflow: hidden;
  border-radius: 8px;
  background: #e7ede5;
}

.bar-fill {
  height: 100%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.scenario {
  display: grid;
  gap: 10px;
}

.scenario input,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.scenario input[type="number"],
.contact-form input,
.contact-form select {
  min-height: 48px;
  padding: 10px 12px;
}

.scenario-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  color: var(--navy);
}

.scenario-row strong {
  font-size: 28px;
}

.fine-print {
  margin: 0;
  font-size: 12px;
}

.waiver {
  background: var(--paper);
}


.family-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.family-band h3 {
  font-size: 30px;
}

.contact {
  background: #eef4ee;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 900;
}

.contact-form label:nth-child(4) {
  grid-column: 1 / -1;
}

.contact-form textarea {
  min-height: 130px;
  padding: 12px;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 68px);
  color: var(--white);
  background: #071b32;
}

.site-footer p {
  max-width: 520px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: start;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .top-nav {
    gap: 13px;
    font-size: 13px;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: grid;
  }

  .top-nav {
    position: fixed;
    inset: 76px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--navy);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .top-nav.open {
    display: flex;
  }

  .top-nav a {
    padding: 11px 8px;
  }

  .hero {
    min-height: 88vh;
  }

  .audience-strip,
  .portfolio-heading,
  .family-band,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .thesis-grid,
  .waiver-grid,
  .property-detail,
  .portal-layout,
  .financial-grid {
    grid-template-columns: 1fr;
  }

  .detail-media img {
    min-height: 340px;
  }

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

}

@media (max-width: 560px) {
  .site-header {
    padding: 13px 14px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy span {
    font-size: 11px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .hero-inner {
    width: min(100% - 28px, 1120px);
    padding-bottom: 34px;
  }

  h1 {
    font-size: 43px;
  }

  .portfolio-grid,
  .stat-list,
  .dashboard-stats,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .bar-row {
    grid-template-columns: 72px minmax(0, 1fr) 64px;
  }

  .contact-form label:nth-child(4) {
    grid-column: auto;
  }

  .hero-metrics span,
  .button {
    width: 100%;
  }
}


.install-app {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--white);
  background: rgba(8, 26, 49, 0.96);
  box-shadow: 0 24px 70px rgba(7, 25, 48, 0.32);
  backdrop-filter: blur(16px);
}

.install-app.is-visible {
  display: flex;
}

.install-copy {
  min-width: 0;
}

.install-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.install-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.38;
}

.install-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.install-app .button {
  min-height: 42px;
  padding: 10px 14px;
  white-space: nowrap;
}

.install-app .icon-button {
  width: 42px;
  height: 42px;
}

@media (min-width: 861px) {
  .install-app.is-visible {
    display: none;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 86px;
  }

  body {
    overflow-x: hidden;
  }

  .section,
  .audience-strip,
  .property-detail,
  .secure-preview,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .top-nav {
    max-height: calc(100vh - 104px);
    overflow-y: auto;
  }

  .hero-bg::before {
    background-position: center;
    filter: blur(4px);
  }

  .hero-copy {
    max-width: 100%;
  }

  .audience-actions,
  .detail-actions,
  .hero-actions {
    width: 100%;
  }

  .dashboard,
  .owned-panel,
  .financial-grid section,
  .scenario,
  .contact-form {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 34px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 128px;
  }

  .hero-metrics {
    margin-top: 28px;
  }

  .filter-row {
    width: 100%;
  }

  .filter-chip {
    flex: 1 1 calc(50% - 8px);
    min-height: 42px;
  }

  .portfolio-card img {
    height: 176px;
  }

  .dashboard {
    padding: 18px;
  }

  .financial-grid section,
  .scenario {
    padding: 18px;
  }

  .install-app {
    right: 10px;
    bottom: 10px;
    left: 10px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .install-actions {
    width: 100%;
  }

  .install-actions .button {
    flex: 1 1 auto;
    width: auto;
  }
}


.brand {
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(161px, 16.8vw, 252px);
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(7, 25, 48, 0.16);
}


.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
  align-items: stretch;
}

.office-preview {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.office-preview img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  background: #eef4ee;
}

.office-preview figcaption {
  padding: 14px 16px 16px;
  color: var(--navy);
  font-weight: 900;
}

.contact-layout .contact-form {
  max-width: none;
  margin: 0;
}

@media (max-width: 1080px) {
  .brand-logo {
    width: clamp(143px, 16.8vw, 204px);
  }
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .office-preview img {
    height: 260px;
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: min(148px, 47.6vw);
  }

  .footer-logo {
    width: 86px;
  }
}


.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.footer-logo {
  width: 106px;
  height: auto;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--white);
}

@media (max-width: 860px) {
  .footer-brand {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .footer-logo {
    width: 86px;
  }
}


.password-note {
  flex-basis: 100%;
  margin: 12px 0 0;
  color: var(--navy);
  font-weight: 800;
}

.audience-strip .password-note strong {
  color: var(--green);
}

.mission-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto 22px;
}

.mission-split article {
  padding: 26px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mission-split svg {
  width: 34px;
  height: 34px;
  color: var(--green);
  margin-bottom: 16px;
}

.mission-split h3 {
  margin-bottom: 12px;
}

.mission-split p:last-child,
.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.58;
}

.investor-hero,
.investment-summary,
.portfolio-totals {
  max-width: 1200px;
  margin: 0 auto 18px;
}

.investor-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.investor-hero h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.investor-hero p:not(.eyebrow),
.investor-hero .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.investor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.investment-summary,
.portfolio-totals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.portfolio-totals {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.investment-summary article,
.portfolio-totals div,
.summary-card {
  padding: 16px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(4, 18, 35, 0.16);
}

.investment-summary span,
.portfolio-totals span,
.summary-card span,
.summary-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.investment-summary strong,
.portfolio-totals strong,
.summary-card strong {
  display: block;
  margin: 5px 0;
  color: var(--navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: 29px;
}

.investment-summary small,
.portfolio-totals small {
  color: var(--muted);
  line-height: 1.35;
}

.owned-button strong,
.owned-button span,
.owned-button small {
  display: block;
}

.owned-button span,
.owned-button small,
.muted-line {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.portal-panel {
  display: none;
}

.portal-panel.active {
  display: block;
}

[data-portal-view].active {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.summary-table-wrap,
.pnl-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.summary-table th,
.summary-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.summary-table th {
  color: var(--navy);
  background: #f4f8f1;
}

.compact-table th {
  width: 62%;
}

.total-row th,
.total-row td {
  color: var(--navy);
  font-weight: 900;
}

.smart-summary,
.past-months {
  margin-top: 18px;
  padding: 20px;
  border-radius: 8px;
  background: #f7faf4;
}

.summary-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.summary-notes span {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--navy);
  background: #eaf3dd;
  font-weight: 800;
  font-size: 13px;
}

.report-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  padding: 14px;
  border-radius: 8px;
  background: #f7faf4;
}

.report-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 900;
}

.report-toolbar select {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.financial-grid.expanded {
  margin-top: 16px;
}

.bar-fill.negative {
  background: var(--clay);
}

.password-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 18, 35, 0.72);
  backdrop-filter: blur(8px);
}

.password-card {
  position: relative;
  width: min(520px, 100%);
  padding: 26px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 90px rgba(4, 18, 35, 0.38);
}

.password-card img {
  width: min(230px, 70%);
  margin-bottom: 14px;
}

.password-card h3 {
  margin-bottom: 10px;
}

.password-card form,
.password-card label {
  display: grid;
  gap: 10px;
}

.password-card input {
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.password-close {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--navy);
}

.password-error {
  color: #a33b26;
  font-weight: 800;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .investment-summary,
  .portfolio-totals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .mission-split,
  .investment-summary,
  .portfolio-totals {
    grid-template-columns: 1fr;
  }

  .investor-hero,
  .report-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .investor-actions {
    justify-content: stretch;
  }

  .investor-actions .button,
  .report-toolbar .button {
    width: 100%;
  }
}

.password-modal[hidden] {
  display: none;
}

body.investor-page main > section:not(#portal) {
  display: none;
}

body.investor-page .site-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 40px rgba(4, 18, 35, 0.12);
}

.secure-preview.route-visible {
  display: block;
  min-height: calc(100vh - 178px);
  padding-top: clamp(96px, 11vw, 132px);
}

.secure-preview.route-visible:not(.active) .investor-hero,
.secure-preview.route-visible:not(.active) .investment-summary,
.secure-preview.route-visible:not(.active) .portal-layout {
  display: none;
}

.secure-preview.active .portal-locked {
  display: none;
}

.portal-locked {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(4, 18, 35, 0.22);
}

.portal-locked img {
  width: min(270px, 72vw);
  padding: 10px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--white);
}

.portal-locked h3 {
  max-width: 620px;
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 58px);
}

.portal-locked p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.55;
}

.portal-locked .button {
  margin-top: 20px;
}

.portal-locked .password-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.portal-locked .password-note strong {
  color: var(--green);
}

.button.danger {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: #a33b26;
}

.button.danger:hover {
  background: #872f1e;
}

.timeout-modal {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 18, 35, 0.72);
  backdrop-filter: blur(8px);
}

.timeout-modal[hidden] {
  display: none;
}

.timeout-card {
  width: min(560px, 100%);
  padding: clamp(24px, 5vw, 34px);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 28px 90px rgba(4, 18, 35, 0.38);
}

.timeout-card > svg {
  width: 40px;
  height: 40px;
  color: #a33b26;
  margin-bottom: 14px;
}

.timeout-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
}

.timeout-card h3 span {
  color: #a33b26;
}

.timeout-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.timeout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

body.timeout-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .timeout-actions .button {
    width: 100%;
  }
}

.portal-locked .secure-note {
  font-size: 16px;
  font-weight: 800;
}

.portal-locked .secure-note strong {
  color: #ffd24a;
  font-weight: 900;
}

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

.password-card {
  width: min(620px, 100%);
}

.portal-locked .secure-note b {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 560px) {
  .credential-grid {
    grid-template-columns: 1fr;
  }
}

.scenario-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.scenario-heading h4 {
  margin: 4px 0 0;
}

.scenario-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 8px;
  color: #4b3d25;
  background: #f3dfb5;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.scenario-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  border: 0;
  margin: 4px 0 12px;
}

.scenario-options legend {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  color: var(--navy);
  font-weight: 900;
}

.scenario-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid #cfd8d2;
  border-radius: 8px;
  background: #fbfcf7;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.scenario-choice:has(input:checked) {
  border-color: #6e8f9e;
  background: #eef6f5;
  box-shadow: inset 0 0 0 1px #6e8f9e;
}

.scenario-choice input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  accent-color: var(--green);
}

.scenario-choice span,
.scenario-choice strong,
.scenario-choice small {
  display: block;
}

.scenario-choice strong {
  color: var(--navy);
  font-size: 18px;
}

.scenario-choice small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.scenario-output {
  overflow-x: auto;
  border: 1px solid #d7dfdb;
  border-radius: 8px;
  background: #fffdf8;
}

.scenario-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.scenario-table th,
.scenario-table td {
  padding: 13px;
  border-bottom: 1px solid #e6e0d5;
  text-align: left;
  vertical-align: top;
  line-height: 1.42;
}

.scenario-table thead th {
  color: var(--navy);
  background: #e7eff0;
}

.scenario-table tbody th {
  width: 210px;
  color: #4f5965;
  background: #f8f4ea;
}

.scenario-table td strong {
  color: #315f72;
  font-size: 17px;
}

.scenario-summary {
  padding: 16px;
  color: #223346;
  background: #edf4ea;
  line-height: 1.55;
}

.scenario-summary strong {
  color: var(--navy);
}

@media (max-width: 860px) {
  .scenario-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .scenario-options {
    grid-template-columns: 1fr;
  }

  .scenario-badge {
    width: max-content;
  }
}

/* Investor portal refinement pass */
body.investor-page .site-header {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 40px rgba(4, 18, 35, 0.12);
  backdrop-filter: blur(14px);
}

body.investor-page .top-nav a:hover {
  color: var(--green);
}

body.investor-page .secure-preview.route-visible {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-right: clamp(16px, 4vw, 58px);
  padding-left: clamp(16px, 4vw, 58px);
}

.portal-login-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.74fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: stretch;
}

.portal-login-copy,
.portal-login-card {
  min-width: 0;
}

.portal-login-copy img {
  width: min(310px, 78vw);
}

.portal-login-copy h3 {
  max-width: 620px;
  color: var(--white);
}

.credential-hint-list {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.credential-hint-list span,
.portal-login-card small {
  color: #ffd24a;
  font-weight: 900;
  line-height: 1.35;
}

.credential-hint-list strong,
.portal-login-card small strong {
  color: #ffd24a;
  font-weight: 900;
}

.portal-login-card {
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 22px 60px rgba(4, 18, 35, 0.28);
}

.portal-login-card h3,
.portal-login-card p,
.portal-login-card label,
.password-reset-panel h4,
.password-reset-panel p {
  color: var(--navy);
}

.portal-login-card p:not(.eyebrow),
.password-reset-panel .fine-print {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.portal-login-card form,
.portal-login-card label,
.password-reset-panel {
  display: grid;
  gap: 10px;
}

.portal-login-card label {
  font-weight: 900;
}

.portal-login-card input {
  min-height: 48px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.portal-login-card .button {
  width: 100%;
}

.reset-link {
  margin-top: 12px;
  color: var(--navy);
  border-color: #cfd8d2;
  background: #f4f8f1;
}

.password-reset-panel {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #d8e2dc;
  border-radius: 8px;
  background: #f8faf6;
}

.password-reset-panel[hidden] {
  display: none;
}

.reset-message {
  padding: 12px;
  border-radius: 8px;
  color: #1f4d3a !important;
  background: #e5f2e7;
  font-weight: 800;
}

.portal-side-actions {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.side-view-button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.side-view-button.active {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
  box-shadow: none;
}

.secure-preview[data-portal-mode="summary"] .owned-button {
  opacity: 0.56;
  cursor: default;
  filter: grayscale(0.2);
  background: #eef1ee;
}

.secure-preview[data-portal-mode="summary"] .owned-button.active {
  color: var(--navy);
  border-color: var(--line);
  background: #eef1ee;
}

.secure-preview[data-portal-mode="property"] .owned-button {
  opacity: 1;
  cursor: pointer;
}

.investment-summary strong,
.portfolio-totals strong,
.summary-card strong,
.dashboard-stats strong,
.summary-table td,
.compact-table td,
.bar-row strong,
.scenario-table td strong {
  font-family: "DM Sans", system-ui, sans-serif;
  letter-spacing: 0;
}

.investment-summary strong,
.portfolio-totals strong,
.summary-card strong {
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.investment-summary article,
.portfolio-totals div,
.dashboard-stats div {
  min-width: 0;
}

.smart-summary p,
.summary-table,
.portfolio-totals small,
.investment-summary small {
  font-family: "DM Sans", system-ui, sans-serif;
}

@media (max-width: 860px) {
  body.investor-page .secure-preview.route-visible {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .portal-login-shell,
  .portal-layout {
    grid-template-columns: 1fr;
  }

  .portal-locked {
    max-width: none;
    padding: 18px;
  }

  .portal-login-card {
    padding: 18px;
  }

  .portal-side-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.investor-page .secure-preview.route-visible {
    padding-right: 0;
    padding-left: 0;
  }

  body.investor-page .secure-preview .section-heading,
  body.investor-page .portal-locked,
  body.investor-page .investor-hero,
  body.investor-page .investment-summary,
  body.investor-page .portal-layout {
    width: min(100% - 24px, 1200px);
  }

  .portal-login-shell {
    gap: 14px;
  }

  .portal-side-actions {
    grid-template-columns: 1fr;
  }

  .investment-summary strong,
  .portfolio-totals strong,
  .summary-card strong {
    font-size: 21px;
  }
}

/* Investor summary card alignment and 6-card metric grid */
.investment-summary,
.portfolio-totals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.investment-summary article,
.portfolio-totals div,
.summary-card {
  display: grid;
  grid-template-rows: minmax(34px, auto) minmax(46px, auto) 1fr;
  align-content: start;
  min-height: 136px;
  padding: 17px 18px;
}

.portfolio-totals div {
  min-height: 150px;
  box-shadow: 0 12px 32px rgba(4, 18, 35, 0.10);
}

.investment-summary span,
.portfolio-totals span,
.summary-card span {
  min-height: 34px;
  display: flex;
  align-items: flex-start;
  line-height: 1.18;
}

.investment-summary strong,
.portfolio-totals strong,
.summary-card strong {
  align-self: start;
  margin: 0 0 7px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.02;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.portfolio-totals strong {
  font-size: clamp(22px, 2vw, 31px);
}

.investment-summary small,
.portfolio-totals small,
.summary-card small {
  align-self: start;
  font-size: 13px;
  line-height: 1.38;
}

.dashboard-top h3,
.smart-summary h4,
.past-months h4,
.scenario h4 {
  font-family: "DM Sans", system-ui, sans-serif;
  letter-spacing: 0;
}

@media (max-width: 1080px) {
  .investment-summary,
  .portfolio-totals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .investment-summary,
  .portfolio-totals {
    grid-template-columns: 1fr;
  }

  .investment-summary article,
  .portfolio-totals div,
  .summary-card {
    min-height: 124px;
  }

  .investment-summary strong,
  .portfolio-totals strong,
  .summary-card strong {
    font-size: 26px;
  }
}


/* Branded PDF confirmation modal */
.pdf-confirm-modal {
  position: fixed;
  z-index: 95;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 18, 35, 0.74);
  backdrop-filter: blur(8px);
}

.pdf-confirm-modal[hidden] {
  display: none;
}

.pdf-confirm-card {
  position: relative;
  width: min(560px, 100%);
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(14, 42, 78, 0.14);
  border-top: 6px solid var(--green);
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f7faf4 100%);
  box-shadow: 0 28px 90px rgba(4, 18, 35, 0.38);
}

.pdf-confirm-card img {
  width: min(240px, 68%);
  height: auto;
  margin-bottom: 16px;
}

.pdf-confirm-card h3 {
  margin: 0 44px 10px 0;
  color: var(--navy);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: 0;
}

.pdf-confirm-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.5;
}

.pdf-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pdf-confirm-actions .button {
  flex: 1 1 180px;
}

.pdf-confirm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--navy);
  background: var(--white);
}

body.pdf-confirm-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .pdf-confirm-card {
    max-height: calc(100dvh - 28px);
    overflow: auto;
  }

  .pdf-confirm-actions .button {
    flex-basis: 100%;
    width: 100%;
  }
}

/* Investor-first additions and rotating visit highlight */
.section-subcopy {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.55;
}

.investor-case {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  color: var(--white);
  background: linear-gradient(135deg, #0e2a4e 0%, #163f57 58%, #315f72 100%);
}

.investor-case-media img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(4, 18, 35, 0.36);
}

.investor-case-content {
  max-width: 760px;
}

.investor-case-content h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.investor-case-content > p:not(.eyebrow),
.investor-case .fine-print {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.why-invest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.why-invest-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.why-invest-grid svg {
  width: 26px;
  height: 26px;
  color: var(--green);
  margin-bottom: 10px;
}

.why-invest-grid h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 6px;
}

.why-invest-grid p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.48;
}

.investor-case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.mission-split article {
  overflow: hidden;
}

.mission-split article > img {
  width: calc(100% + 52px);
  height: 260px;
  margin: -26px -26px 22px;
  object-fit: cover;
  display: block;
}


/* Strategy/service cards with image headers */
.thesis-grid article {
  overflow: hidden;
  padding: 0;
}

.thesis-grid article > img {
  display: block;
  width: 100%;
  aspect-ratio: 1.48;
  object-fit: cover;
}

.thesis-grid article > svg,
.thesis-grid article > h3,
.thesis-grid article > p {
  margin-left: 22px;
  margin-right: 22px;
}

.thesis-grid article > svg {
  margin-top: 20px;
}

.thesis-grid article > p {
  margin-bottom: 24px;
}

@media (max-width: 560px) {
  .thesis-grid article > img {
    aspect-ratio: 1.35;
  }
}

/* Final featured-property treatment: its own detail block, not part of card grid */
.featured-property-showcase {
  max-width: 1240px;
  margin: 0 auto 24px;
  padding: clamp(18px, 2.8vw, 30px);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(14, 42, 78, 0.08), rgba(132, 189, 65, 0.13));
}

.investor-case {
  align-items: start;
}

.investor-case-media {
  align-self: start;
}

.featured-property-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(132, 189, 65, 0.45);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(14, 42, 78, 0.14);
}

.featured-property-image img {
  display: block;
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.featured-property-content {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.featured-property-content h3 {
  font-size: clamp(40px, 5.8vw, 74px);
  line-height: 0.98;
}

.featured-property-content > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.featured-stat-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 8px 0;
}

.featured-stat-list div {
  min-width: 0;
  padding: 16px;
  border-radius: 8px;
  background: #f4f8f1;
}

.featured-stat-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-stat-list dd {
  margin: 7px 0 0;
  color: var(--navy);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.featured-snapshot {
  padding: 20px;
  border-left: 5px solid var(--green);
  background: #f9fbf6;
}

.featured-snapshot h4 {
  font-size: 24px;
  margin-bottom: 10px;
}

.featured-snapshot ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .featured-property-block {
    grid-template-columns: 1fr;
  }

  .featured-property-image img {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .featured-property-showcase {
    padding: 12px;
  }

  .featured-property-block {
    padding: 14px;
  }

  .featured-property-image img {
    min-height: 0;
    aspect-ratio: 1.18;
  }

  .featured-stat-list {
    grid-template-columns: 1fr;
  }

  .featured-property-content h3 {
    font-size: 38px;
  }
}


/* Investor portal desktop login width and heading fit */
.portal-locked {
  width: min(100%, 1180px);
  max-width: 1180px;
}

.portal-login-shell {
  grid-template-columns: minmax(360px, 0.9fr) minmax(520px, 1.1fr);
  align-items: start;
}

.portal-login-card {
  padding: clamp(26px, 3vw, 42px);
}

.portal-login-card h3 {
  max-width: 100%;
  margin-bottom: 12px;
  font-size: clamp(34px, 3.9vw, 52px);
  line-height: 1.02;
  overflow-wrap: normal;
}

.portal-login-card form {
  gap: 14px;
}

.portal-login-card input {
  min-height: 56px;
  padding: 13px 15px;
  font-size: 17px;
}

@media (max-width: 980px) {
  .portal-login-shell {
    grid-template-columns: 1fr;
  }

  .portal-login-card h3 {
    font-size: clamp(32px, 8vw, 46px);
  }
}

@media (max-width: 560px) {
  .portal-login-card {
    padding: 18px;
  }

  .portal-login-card h3 {
    font-size: 32px;
  }
}


/* Full PHV palette refinement: navy, green, ink, slate, soft green, muted gold */
.section-heading h2,
.detail-content h2,
.featured-property-content h3,
.dashboard-top h3,
.legal-main h1,
.legal-main h2 {
  color: var(--deep-ink);
}

.hero-metrics span {
  border-color: rgba(216, 169, 78, 0.28);
  background: rgba(14, 42, 78, 0.48);
}

.hero-metrics strong,
.hero .eyebrow,
.investor-case .eyebrow {
  color: var(--green-2);
}

.audience-strip {
  border-top: 4px solid var(--green);
  border-bottom: 4px solid rgba(216, 169, 78, 0.38);
}

.mission-split article,
.thesis-grid article,
.waiver-grid article,
.family-band,
.contact-form,
.office-preview,
.portfolio-card,
.dashboard,
.owned-panel {
  border-color: rgba(100, 112, 130, 0.22);
}

.mission-split article:first-child {
  border-top: 5px solid var(--green);
}

.mission-split article:last-child {
  border-top: 5px solid var(--gold);
}

.thesis-grid article:nth-child(1) { border-top: 5px solid var(--green); }
.thesis-grid article:nth-child(2) { border-top: 5px solid #315f72; }
.thesis-grid article:nth-child(3) { border-top: 5px solid var(--gold); }
.thesis-grid article:nth-child(4) { border-top: 5px solid var(--navy-2); }

.thesis-grid article,
.waiver-grid article,
.portfolio-card,
.family-band,
.contact-form,
.office-preview,
.legal-section {
  background: linear-gradient(180deg, var(--white) 0%, #fbfcf7 100%);
}

.portfolio-section,
.contact {
  background: linear-gradient(180deg, var(--soft-green) 0%, #f8faf6 100%);
}

.filter-chip.active,
.side-view-button.active,
.owned-button.active {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.tag,
.summary-notes span,
.card-button,
.reset-link {
  background: var(--soft-green);
}

.featured-property-showcase {
  background: linear-gradient(135deg, rgba(238, 244, 238, 0.98), rgba(216, 169, 78, 0.14));
}

.feature-label,
.scenario-badge {
  color: #4b3d25;
  background: rgba(216, 169, 78, 0.24);
}

.featured-stat-list div,
.stat-list div,
.dashboard-stats div,
.smart-summary,
.past-months,
.numbers-panel,
.featured-snapshot {
  background: var(--soft-green);
}

.featured-snapshot,
.numbers-panel {
  border-left-color: var(--gold);
}

.why-invest-grid article:nth-child(1),
.why-invest-grid article:nth-child(3) {
  border-top: 4px solid var(--green);
}

.why-invest-grid article:nth-child(2),
.why-invest-grid article:nth-child(4) {
  border-top: 4px solid var(--gold);
}

.investment-summary article,
.portfolio-totals div {
  border-top: 5px solid var(--green);
}

.investment-summary article:nth-child(2),
.investment-summary article:nth-child(5),
.portfolio-totals div:nth-child(2),
.portfolio-totals div:nth-child(5) {
  border-top-color: #315f72;
}

.investment-summary article:nth-child(3),
.investment-summary article:nth-child(6),
.portfolio-totals div:nth-child(3),
.portfolio-totals div:nth-child(6) {
  border-top-color: var(--gold);
}

.summary-table th,
.scenario-table thead th {
  background: var(--soft-green);
}

.report-toolbar,
.password-reset-panel,
.scenario-output {
  border-color: rgba(216, 169, 78, 0.34);
  background: #fffdf8;
}

.site-footer,
.legal-site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1.3fr) minmax(220px, 0.8fr) minmax(280px, 1fr);
  align-items: start;
  background: linear-gradient(135deg, #071b32 0%, var(--navy) 72%, #163f57 100%);
  border-top: 5px solid var(--green);
}

.site-footer strong,
.site-footer a,
.site-footer small,
.footer-contact span {
  color: var(--white);
}

.footer-contact {
  display: grid;
  gap: 7px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.footer-contact strong,
.footer-legal nav a:hover {
  color: var(--green-2);
}

.footer-legal,
.site-footer div.footer-legal:last-child {
  display: grid;
  gap: 16px;
  justify-items: end;
  font-weight: 800;
}

.footer-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.footer-legal small {
  color: rgba(255, 255, 255, 0.72);
  text-align: right;
}

.legal-page {
  background: var(--paper);
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 5vw, 68px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(14, 42, 78, 0.1);
  backdrop-filter: blur(14px);
}


.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--navy);
  font-weight: 900;
}

.legal-nav a:hover {
  color: var(--green);
}

.legal-main {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(52px, 8vw, 96px) 18px;
}

.legal-hero {
  padding: clamp(28px, 5vw, 48px);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 64%, #315f72 100%);
  box-shadow: var(--shadow);
}

.legal-hero h1 {
  color: var(--white);
  font-size: clamp(36px, 5vw, 62px);
}

.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.58;
}

.legal-section {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(14, 42, 78, 0.08);
}

.legal-section:nth-of-type(3) {
  border-top-color: var(--gold);
}

.legal-section:nth-of-type(4) {
  border-top-color: #315f72;
}

.legal-section:focus {
  outline: 3px solid rgba(132, 189, 65, 0.38);
  outline-offset: 4px;
}

.legal-section p {
  color: var(--slate);
  line-height: 1.68;
}

.legal-section h2 {
  margin-bottom: 14px;
}

@media (max-width: 980px) {
  .site-footer,
  .legal-site-footer {
    grid-template-columns: 1fr;
  }

  .footer-legal,
  .site-footer div.footer-legal:last-child {
    justify-items: start;
  }

  .footer-legal nav {
    justify-content: flex-start;
  }

  .footer-legal small {
    text-align: left;
  }


}

@media (max-width: 560px) {
  .legal-nav,
  .footer-legal nav {
    display: grid;
    gap: 10px;
  }
}


/* Hotfix: investor section image top alignment and desktop login width */
.investor-case {
  align-items: start !important;
}

.investor-case-media,
.investor-case-content {
  align-self: start !important;
  margin-top: 0 !important;
}

.investor-case-media img {
  margin-top: 0 !important;
}

body.investor-page .portal-locked {
  width: min(100%, 1320px);
  max-width: 1320px;
}

body.investor-page .portal-login-shell {
  grid-template-columns: minmax(430px, 0.95fr) minmax(620px, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

body.investor-page .portal-login-card {
  width: 100%;
  max-width: none;
}

body.investor-page .portal-login-card h3 {
  max-width: 100%;
  font-size: clamp(34px, 3.1vw, 50px);
  line-height: 1.04;
  word-break: normal;
  overflow-wrap: normal;
}

@media (max-width: 1120px) {
  body.investor-page .portal-login-shell {
    grid-template-columns: 1fr;
  }

  body.investor-page .portal-login-card h3 {
    font-size: clamp(32px, 6vw, 46px);
  }
}

@media (max-width: 560px) {
  body.investor-page .portal-login-card h3 {
    font-size: 31px;
  }
}


/* Hero brand lockup refinement */
.hero-title {
  display: grid;
  gap: 2px;
  max-width: 980px;
}

.hero-title-primary,
.hero-title-secondary {
  display: block;
}

.hero-title-primary {
  font-size: clamp(67px, 11.5vw, 136px);
}

.hero-title-secondary {
  font-size: clamp(48px, 8.3vw, 99px);
}

@media (max-width: 560px) {
  .hero-title-primary {
    font-size: 48px;
  }

  .hero-title-secondary {
    font-size: 38px;
  }
}


/* Secure portal contrast fix */
.secure-preview .section-heading h2,
.secure-preview .section-heading p:not(.eyebrow) {
  color: var(--white) !important;
}

.secure-preview .section-heading .eyebrow {
  color: var(--green-2) !important;
}


/* Hero title scale refinement */
.hero-title-primary {
  font-size: clamp(67px, 11.5vw, 136px);
}

.hero-title-secondary {
  font-size: clamp(48px, 8.3vw, 99px);
}

@media (max-width: 560px) {
  .hero-title-primary {
    font-size: 55px;
  }

  .hero-title-secondary {
    font-size: 44px;
  }
}


/* Contact form readability and padding refinement */
.contact-form {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid rgba(100, 112, 130, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--white) 0%, #fbfcf7 100%);
  box-shadow: 0 16px 42px rgba(14, 42, 78, 0.10);
}

.contact-form label {
  gap: 10px;
  padding: 2px 0;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.25;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  min-height: 56px;
  padding: 14px 16px;
  border-color: rgba(100, 112, 130, 0.28);
  font-size: 16px;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 rgba(14, 42, 78, 0.04);
}

.contact-form textarea {
  min-height: 150px;
  padding-top: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(100, 112, 130, 0.72);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(132, 189, 65, 0.24);
  border-color: var(--green);
}

@media (max-width: 560px) {
  .contact-form {
    padding: 18px;
  }
}


/* Legal page anchor and home-button refinement */
.legal-page {
  scroll-padding-top: 132px;
}

.legal-section {
  scroll-margin-top: 132px;
}

.legal-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid rgba(14, 42, 78, 0.16);
  border-radius: 8px;
  color: var(--white) !important;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(14, 42, 78, 0.12);
}

.legal-home-button:hover {
  color: var(--white) !important;
  background: var(--navy-2);
}

@media (max-width: 560px) {
  .legal-page {
    scroll-padding-top: 164px;
  }

  .legal-section {
    scroll-margin-top: 164px;
  }
}


/* Header real estate refinement */
.site-header {
  min-height: 92px;
  padding: 10px clamp(18px, 4vw, 48px);
  gap: 20px;
}

.brand-logo {
  width: clamp(121px, 12.6vw, 189px);
}

.top-nav {
  gap: clamp(18px, 2vw, 26px);
  font-size: 16px;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .brand-logo {
    width: clamp(116px, 14vw, 153px);
  }

  .top-nav {
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 76px;
    padding: 10px 12px;
  }

  .brand-logo {
    width: min(132px, 50vw);
  }
}


/* Facility filter code chips */
.filter-code-row {
  margin-top: -4px;
}

.filter-code {
  background: #e7f0d7;
  color: var(--navy);
  border: 1px solid rgba(132, 189, 65, 0.35);
}


/* Facility map section */
.facility-map-section {
  position: relative;
  z-index: 0;
  background: linear-gradient(180deg, #f8faf6 0%, #eef4ee 100%);
  border-top: 1px solid rgba(14, 42, 78, 0.08);
}

.map-heading {
  align-items: end;
}

.facility-map-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(18px, 3vw, 30px);
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.facility-map-canvas {
  position: relative;
  z-index: 0;
  min-height: 560px;
  border: 1px solid rgba(14, 42, 78, 0.18);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(14, 42, 78, 0.16);
  background: #dfe8dd;
}

.facility-map-canvas.leaflet-container,
.facility-map-canvas .leaflet-container,
.facility-map-canvas .leaflet-pane,
.facility-map-canvas .leaflet-top,
.facility-map-canvas .leaflet-bottom {
  z-index: 1;
}

.facility-map-list {
  display: grid;
  gap: 10px;
  align-content: start;
  max-height: 560px;
  overflow: auto;
  padding: 12px;
  border: 1px solid rgba(14, 42, 78, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(14, 42, 78, 0.1);
}

.facility-map-list a {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid rgba(14, 42, 78, 0.1);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
}

.facility-map-list a:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(14, 42, 78, 0.12);
}

.facility-map-list strong {
  font-size: 15px;
}

.facility-map-list span,
.facility-map-list small {
  color: var(--muted);
}

.phv-map-pin {
  display: grid;
  place-items: center;
}

.phv-map-pin span {
  display: block;
  width: 24px;
  height: 24px;
  border: 4px solid var(--white);
  border-radius: 50% 50% 50% 0;
  background: var(--green);
  box-shadow: 0 10px 24px rgba(14, 42, 78, 0.35);
  transform: rotate(-45deg);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  color: var(--navy);
}

.leaflet-popup-content a {
  color: var(--green);
  font-weight: 800;
}

.map-card-button {
  color: var(--navy);
}

@media (max-width: 900px) {
  .facility-map-shell {
    grid-template-columns: 1fr;
  }

  .facility-map-canvas {
    min-height: 420px;
  }

  .facility-map-list {
    max-height: 360px;
  }
}

@media (max-width: 560px) {
  .facility-map-shell {
    width: min(100% - 24px, 1180px);
  }

  .facility-map-canvas {
    min-height: 360px;
  }
}


/* Legal nav placement refinement */
.legal-nav {
  align-items: center;
}

.legal-nav .legal-home-button {
  margin-right: clamp(4px, 1vw, 10px);
}

@media (max-width: 760px) {
  .legal-header {
    align-items: stretch;
    flex-direction: column;
  }

  .legal-nav {
    justify-content: flex-start;
  }

  .legal-nav .legal-home-button {
    width: max-content;
  }
}


/* Numbered property and house marker refinement */
.card-actions,
.featured-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.phv-map-pin {
  width: 48px !important;
  height: 46px !important;
}

.phv-map-pin .map-house {
  position: relative;
  display: block;
  width: 48px;
  height: 46px;
}

.phv-map-pin .map-house::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 2px;
  width: 28px;
  height: 28px;
  border: 3px solid #111827;
  border-radius: 4px 4px 2px 2px;
  background: #c93835;
  transform: rotate(45deg);
  box-shadow: 0 8px 16px rgba(14, 42, 78, 0.25);
}

.phv-map-pin .map-house::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 0;
  width: 36px;
  height: 27px;
  border: 3px solid #111827;
  border-radius: 5px;
  background:
    linear-gradient(90deg, transparent 0 9px, #ffffff 9px 15px, transparent 15px 21px, #ffffff 21px 27px, transparent 27px),
    linear-gradient(180deg, #ffffff 0 16px, #f2c94c 16px 100%);
}

.phv-map-pin .map-house i {
  position: absolute;
  z-index: 2;
  left: 13px;
  top: 22px;
  width: 7px;
  height: 7px;
  border: 2px solid #111827;
  background: #ffffff;
  box-shadow: 14px 0 0 #ffffff, 14px 0 0 2px #111827;
}

.phv-map-pin .map-house strong {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -2px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 4px;
  border: 2px solid #111827;
  border-radius: 999px;
  color: #111827;
  background: #f2c94c;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
}

.phv-map-pin span.map-house {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}


/* Facility map recenter control */
.facility-recenter-control {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.facility-recenter-control button {
  min-height: 40px;
  padding: 0 14px;
  border: 2px solid rgba(17, 24, 39, 0.16);
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(14, 42, 78, 0.22);
}

.facility-recenter-control button:hover,
.facility-recenter-control button:focus-visible {
  background: var(--navy-2);
  outline: 3px solid rgba(132, 189, 65, 0.32);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .facility-recenter-control button {
    min-height: 38px;
    padding: 0 11px;
    font-size: 12px;
  }
}


/* Highlighted property action spacing */
.featured-actions {
  row-gap: 18px;
  column-gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.featured-actions .button {
  margin: 0;
}

@media (min-width: 980px) {
  .featured-actions .button.primary {
    min-width: 330px;
  }
}

@media (max-width: 620px) {
  .featured-actions .button {
    width: 100%;
  }
}


/* Wider property portfolio cards */
.facility-number-row {
  margin-bottom: -3px;
}

.facility-number-tag {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.portfolio-card .filter-code-row {
  margin-top: 0;
}

@media (min-width: 901px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 1280px;
  }

  .portfolio-card {
    display: grid;
    grid-template-columns: minmax(260px, 45%) minmax(0, 55%);
    min-height: 292px;
  }

  .portfolio-card img {
    width: 100%;
    height: 100%;
    min-height: 292px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .portfolio-card-body {
    align-content: start;
    gap: 10px;
    padding: 18px 20px 20px;
  }

  .portfolio-card h3 {
    font-size: clamp(24px, 2.1vw, 31px);
    line-height: 0.98;
  }

  .portfolio-card p {
    margin: 2px 0 4px;
    line-height: 1.38;
  }

  .portfolio-card .card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin-top: 4px;
  }

  .portfolio-card .card-button {
    width: auto;
    min-height: 48px;
    margin-top: 0;
    justify-content: center;
    gap: 10px;
    padding-inline: 13px;
    text-align: center;
  }
}

.property-focus-heading {
  grid-column: 1 / -1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto -10px;
}

.property-focus-heading h2 {
  color: var(--navy);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
}

.property-detail {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: start;
  row-gap: clamp(20px, 3vw, 34px);
}

.detail-media img {
  min-height: 0;
  aspect-ratio: 1.62;
  object-fit: cover;
}

.detail-content {
  max-width: 720px;
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .portfolio-card img {
    aspect-ratio: 1.75;
    height: auto;
  }

  .property-focus-heading {
    margin-bottom: 0;
  }

  .property-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .portfolio-card .card-actions,
  .detail-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .portfolio-card img {
    height: auto;
    min-height: 0;
  }
}


/* Property card copy refinement */
.portfolio-card .card-address {
  color: var(--muted);
  font-weight: 700;
}

.portfolio-card .card-summary {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 901px) {
  .portfolio-card {
    grid-template-columns: minmax(300px, 50%) minmax(0, 50%);
    min-height: 252px;
  }

  .portfolio-card img {
    min-height: 252px;
  }

  .portfolio-card-body {
    padding: 16px 18px 18px;
  }

  .portfolio-card h3 {
    font-size: clamp(23px, 1.8vw, 28px);
  }

  .portfolio-card .card-summary {
    -webkit-line-clamp: 2;
  }

  .portfolio-card .meta-line .tag {
    font-size: 11px;
  }
}


/* Photo-first property card layout */
@media (min-width: 901px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    max-width: 1320px;
  }

  .portfolio-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(14, 42, 78, 0.16);
    background: var(--white);
  }

  .portfolio-card img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 2.08;
    object-fit: cover;
    object-position: center;
    border-bottom: 5px solid rgba(132, 189, 65, 0.32);
  }

  .portfolio-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
    row-gap: 10px;
    align-content: start;
    padding: 18px 20px 20px;
  }

  .portfolio-card .facility-number-row {
    grid-column: 1 / 2;
    margin: 0;
  }

  .portfolio-card .filter-code-row {
    grid-column: 2 / 3;
    justify-content: end;
    align-self: start;
    margin: 0;
  }

  .portfolio-card h3,
  .portfolio-card .card-address,
  .portfolio-card .card-summary,
  .portfolio-card .meta-line,
  .portfolio-card .card-actions {
    grid-column: 1 / -1;
  }

  .portfolio-card h3 {
    margin-top: 2px;
    font-size: clamp(27px, 2.15vw, 34px);
    line-height: 0.96;
  }

  .portfolio-card .card-address {
    max-width: 92%;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.4;
  }

  .portfolio-card .card-summary {
    margin: 0;
    color: var(--slate);
    font-size: 14px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
  }

  .portfolio-card .meta-line {
    margin-top: 2px;
  }

  .portfolio-card .card-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    margin-top: 4px;
  }

  .portfolio-card .card-button {
    width: auto;
    min-height: 50px;
    margin: 0;
    justify-content: center;
    gap: 10px;
    padding-inline: 14px;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .portfolio-card {
    display: flex;
    flex-direction: column;
  }

  .portfolio-card img {
    width: 100%;
    aspect-ratio: 1.86;
    height: auto;
    min-height: 0;
    object-fit: cover;
  }

  .portfolio-card-body {
    padding: 16px;
  }
}


/* Photo-first featured property showcase */
.featured-property-showcase {
  max-width: 1320px;
  margin-bottom: 34px;
  padding: clamp(14px, 2.4vw, 26px);
  background: linear-gradient(135deg, rgba(14, 42, 78, 0.08), rgba(132, 189, 65, 0.12), rgba(242, 174, 69, 0.1));
}

.featured-property-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-color: rgba(14, 42, 78, 0.16);
}

.featured-property-image img {
  width: 100%;
  min-height: 0;
  aspect-ratio: 2.35;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  border-bottom: 6px solid rgba(132, 189, 65, 0.42);
  box-shadow: none;
}

.featured-property-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  column-gap: clamp(24px, 4vw, 54px);
  row-gap: 18px;
  padding: clamp(22px, 3.4vw, 42px);
}

.feature-label,
.featured-property-content > .eyebrow,
.featured-property-content > h3,
.featured-property-content > p:not(.eyebrow) {
  grid-column: 1 / 2;
}

.featured-property-content h3 {
  max-width: 760px;
  font-size: clamp(42px, 5.2vw, 76px);
}

.featured-stat-list {
  grid-column: 2 / 3;
  grid-row: 1 / span 4;
  align-self: start;
  margin: 0;
}

.featured-snapshot {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 0.65fr);
  gap: 14px 24px;
  align-items: start;
  margin-top: 4px;
  border-left-color: var(--gold);
  background: linear-gradient(90deg, #fbfcf7, #f4f8f1);
}

.featured-snapshot h4 {
  margin: 0;
}

.featured-snapshot ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  padding-left: 18px;
}

.featured-actions {
  grid-column: 1 / -1;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .featured-property-content {
    grid-template-columns: 1fr;
  }

  .feature-label,
  .featured-property-content > .eyebrow,
  .featured-property-content > h3,
  .featured-property-content > p:not(.eyebrow),
  .featured-stat-list,
  .featured-snapshot,
  .featured-actions {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .featured-property-image img {
    aspect-ratio: 1.75;
  }
}

@media (max-width: 620px) {
  .featured-property-image img {
    aspect-ratio: 1.45;
  }

  .featured-snapshot {
    grid-template-columns: 1fr;
  }

  .featured-snapshot ul,
  .featured-stat-list {
    grid-template-columns: 1fr;
  }
}


/* Featured block aligned to Property in Focus layout */
.featured-property-showcase {
  max-width: 1320px;
  margin: 0 auto 34px;
  padding: 0;
  background: transparent;
}

.featured-focus-card.property-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 68px) clamp(22px, 4vw, 52px);
  overflow: visible;
  border: 1px solid rgba(14, 42, 78, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(14, 42, 78, 0.13);
}

.featured-focus-card .property-focus-heading {
  margin-bottom: 0;
}

.featured-focus-card .property-focus-heading h2 {
  font-size: clamp(38px, 5.4vw, 70px);
}

.featured-focus-card .detail-media img {
  aspect-ratio: 1.62;
  min-height: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.featured-focus-card .detail-content h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.96;
}

.featured-focus-card .detail-actions {
  margin-top: 20px;
}

@media (max-width: 900px) {
  .featured-focus-card.property-detail {
    grid-template-columns: 1fr;
    padding: clamp(26px, 7vw, 42px) 18px;
  }
}

/* Facility photo corner normalization */
.facility-photo-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #eef4ea;
  isolation: isolate;
}

.facility-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: scale(1.08);
  transform-origin: center;
}

.portfolio-card {
  overflow: visible;
}

.portfolio-card-photo {
  width: calc(100% - 32px);
  margin: 16px 16px 0;
  aspect-ratio: 2.08;
  box-shadow: 0 14px 34px rgba(14, 42, 78, 0.12);
}

.portfolio-card .portfolio-card-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border-bottom: 0;
}

.detail-media.facility-photo-frame {
  width: 100%;
  aspect-ratio: 1.62;
  min-height: 0;
  box-shadow: var(--shadow);
}

.detail-media.facility-photo-frame img,
.featured-focus-card .detail-media.facility-photo-frame img {
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
}

.featured-focus-card .detail-media.facility-photo-frame {
  aspect-ratio: 1.62;
}

@media (max-width: 900px) {
  .portfolio-card-photo {
    width: calc(100% - 24px);
    margin: 12px 12px 0;
    aspect-ratio: 1.86;
  }
}

@media (max-width: 560px) {
  .portfolio-card-photo {
    border-radius: 12px;
  }

  .detail-media.facility-photo-frame {
    border-radius: 12px;
    aspect-ratio: 1.45;
  }
}

/* Hero title width-locked wordmark */
.hero-title {
  display: grid;
  gap: clamp(2px, 0.5vw, 8px);
  width: max-content;
  max-width: 100%;
  overflow: visible;
}

.hero-title-primary,
.hero-title-secondary {
  display: block;
  width: max-content;
  white-space: nowrap;
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-title-primary {
  font-size: clamp(77px, 13.2vw, 156px);
}

.hero-title-secondary {
  font-size: clamp(55px, 9.55vw, 114px);
  will-change: transform;
}

@media (max-width: 560px) {
  .hero-title-primary {
    font-size: clamp(54px, 16.4vw, 64px);
  }

  .hero-title-secondary {
    font-size: clamp(41px, 12.5vw, 49px);
  }
}

/* Facility grid status pill sizing */
.portfolio-card .meta-line {
  gap: 9px;
  align-items: center;
}

.portfolio-card .meta-line .tag {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(132, 189, 65, 0.35);
  border-radius: 8px;
  background: #e7f0d7;
  color: var(--navy);
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

@media (max-width: 560px) {
  .portfolio-card .meta-line .tag {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 13px;
  }
}
