
:root{--navy:#10243e;--navy2:#182f4b;--gold:#c5a064;--green:#326746;--paper:#f6f3ec;--ink:#162c3b;--muted:#62717b;--line:#e2e4e0}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 system-ui,Segoe UI,Arial,sans-serif}button,input,textarea,select{font:inherit}button,a{cursor:pointer}a{color:inherit}header{background:white;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.wrap{width:min(1150px,92%);margin:auto}.top{min-height:76px;display:flex;align-items:center;gap:18px;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:.03em}.brand img{width:83px;height:63px;object-fit:contain}.brand small{display:block;font-weight:500;color:var(--muted);letter-spacing:0}.nav{display:flex;gap:16px;flex-wrap:wrap;align-items:center}.nav a{text-decoration:none;font-size:14px;font-weight:650}.btn,button{border:0;border-radius:7px;padding:10px 17px;font-weight:650;background:var(--navy);color:white;text-decoration:none;display:inline-block}button:hover,.btn:hover{filter:brightness(1.15)}.gold{background:var(--gold);color:var(--navy)}.outline{background:transparent;border:1px solid currentColor;color:inherit}.muted{color:var(--muted)}.tiny{font-size:12px}.notice{background:#fff2d1;color:#654914;padding:8px 5%;font-size:13px;text-align:center}.hero{background:radial-gradient(ellipse at 87% 5%,#31523e 0%,transparent 48%),linear-gradient(120deg,#10243e,#182f4b);color:white;padding:75px 0 65px;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;right:-80px;bottom:-100px;width:400px;height:400px;border:1px solid #c5a06455;transform:rotate(45deg);pointer-events:none}.eyebrow{color:#ac8243;font-size:12px;text-transform:uppercase;letter-spacing:.19em;font-weight:800}.hero .eyebrow{color:#e0c28b}.hero h1{font:500 clamp(36px,5vw,65px)/1.12 Georgia,serif;max-width:850px;margin:14px 0}.hero p{max-width:700px;color:#e3e8ed;font-size:18px}.hero .actions{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0}.hero .tag{color:#e3c28a;font-size:15px}.strip{background:white;border-bottom:1px solid var(--line)}.strip .wrap{padding:17px 0;display:flex;gap:20px;justify-content:space-between;flex-wrap:wrap;font-size:13px;font-weight:700;color:var(--green)}section{scroll-margin-top:100px;padding:49px 0}h2{font:500 clamp(28px,4vw,42px)/1.15 Georgia,serif;margin:8px 0 16px}h3{margin:0 0 8px;font-size:19px}p{margin-top:0}.grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(235px,1fr))}.card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;padding:21px}.card p{color:var(--muted);font-size:14px}.card h3{color:var(--navy)}.step{color:var(--gold);font-size:24px;font-family:Georgia,serif}.wash{background:#e9eee7}.premium{background:var(--navy);color:white}.premium .card{background:#1b3451;border-color:#38506a;color:white}.premium .card h3{color:#e5c78e}.premium li{font-size:14px;color:#e8edf2;margin:7px 0}.premium ul{padding-left:20px}.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:20px 0}.toolbar input{flex:1;min-width:165px}input,select,textarea{padding:10px;border:1px solid #cdd4d5;border-radius:6px;background:white;color:var(--ink);width:100%}.toolbar select{width:auto}.pill{border-radius:16px;display:inline-block;padding:4px 10px;font-size:11px;background:#e3eee4;color:#245e38;font-weight:750}.pill.warn{background:#fff1d3;color:#77551d}.pill.dim{background:#e8ebec;color:#4b5962}.listing{padding:0;display:flex;flex-direction:column}.listing .body{padding:18px;flex:1}.photo{height:179px;background:linear-gradient(140deg,#dfe8df,#c2d0c9);display:grid;place-items:center;color:#3d6755;text-align:center;font-weight:700;overflow:hidden}.photo img{width:100%;height:100%;object-fit:cover}.listing h3{margin:12px 0 5px}.facts{display:grid;grid-template-columns:1fr 1fr;gap:6px;font-size:13px;margin:12px 0}.detail{border-top:1px solid var(--line);margin-top:12px;padding-top:12px;font-size:13px}.empty{padding:30px;text-align:center;background:white;border:1px dashed #c6d1c6;border-radius:10px}.two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.admin{display:none;background:white;min-height:90vh;padding:25px 0 60px}.admin.active{display:block}.public.hidden{display:none}.adminhead{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.stat{border:1px solid var(--line);padding:14px;border-radius:8px}.stat strong{display:block;font-size:29px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}label{display:block;font-size:13px;font-weight:650}label input,label select,label textarea{display:block;margin-top:4px;font-weight:400}.full{grid-column:1/-1}.adminlist{display:grid;gap:10px}.record{border:1px solid var(--line);border-radius:8px;padding:13px;display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap}.record button{font-size:12px;padding:7px 10px}.photos{display:flex;flex-wrap:wrap;gap:10px}.thumb{width:104px}.thumb img{width:104px;height:74px;object-fit:cover;border-radius:5px}.thumb button{font-size:11px;padding:3px 7px}.feedback{min-height:28px;font-size:14px;color:var(--green)}.error{color:#ac3727}.check{display:flex;align-items:center;gap:8px}.check input{width:auto;margin:0}.footer{background:#081b2f;color:white;padding:32px 0}.footer a{color:#e4c88e}.footer p{font-size:14px;color:#e0e5eb}details{margin:10px 0}summary{cursor:pointer;font-weight:650}dialog{border:1px solid var(--line);border-radius:12px;max-width:650px;width:92%;padding:24px;max-height:90vh;overflow:auto}dialog::backdrop{background:#081b2f99}.gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}.gallery img{width:100%;border-radius:6px}.divider{height:1px;background:var(--line);margin:15px 0}.danger{color:#9c302b;background:#f9eeee} @media(max-width:800px){.top{flex-wrap:wrap;gap:6px;padding:8px 0}.nav{gap:10px}.nav a{font-size:12px}.hero{padding:48px 0}.two,.formgrid{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr 1fr}.brand img{width:65px;height:50px}section{scroll-margin-top:135px}.full{grid-column:auto}}@media(max-width:420px){.stat{padding:8px}.stat strong{font-size:23px}.toolbar select{width:100%}}

[hidden]{display:none!important}.top{min-width:0}.brand img{width:116px;height:72px}.brand{flex-shrink:0}.grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr))}.listing{overflow-wrap:anywhere}.thumb a{display:block}.gallery img{max-height:280px;object-fit:contain}a:focus-visible,button:focus-visible{outline:3px solid #a76b1c;outline-offset:3px}
@media(max-width:800px){.brand img{width:92px;height:58px}.nav{order:3;width:100%}.stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
.hero h1 {
  font-size: clamp(2.15rem, 5.2vw, 4.75rem);
  letter-spacing: -0.025em;
  max-width: none;
  text-wrap: balance;
}
.hero .focus-area {
  color: #f0d6a7;
  font-size: 0.95rem;
  margin-bottom: 0;
}
.service-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink);
  font-size: 0.92rem;
}
.service-list li + li { margin-top: 0.45rem; }
.service-list li::marker { color: var(--green); }
.contact-list {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.contact-list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
  overflow-wrap: anywhere;
}
.contact-list li > span:first-child {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--navy);
  background: #f2e6d1;
  border-radius: 50%;
  line-height: 1;
}
.contact-list li > :last-child { margin-top: 0.22rem; }

.team-group + .team-group { margin-top: 2rem; }
.team-group > h3 { margin-bottom: 0.85rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1rem;
}
.profile-card {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
}
.profile-photo {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #f2e6d1;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 650;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.profile-card h4 { margin: 0 0 0.25rem; }
.profile-card p { margin: 0; }

.profile-featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 125px) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
}
.partner-portrait {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.65rem;
}
.profile-featured .profile-role {
  color: var(--green);
  font-weight: 650;
  margin-bottom: 0.3rem;
}
.profile-featured h4 {
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
@media (max-width: 480px) {
  .profile-featured { grid-template-columns: 1fr; }
  .partner-portrait { max-width: 125px; }
}

.hero.hero-property {
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  min-height: clamp(33rem, 47vw, 44rem);
  padding: clamp(2.25rem, 4vw, 4rem) 0;
  overflow: hidden;
  background: #032517;
  color: #fffaf3;
}
.hero-property::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  width: auto;
  height: auto;
  border: 0;
  transform: none;
  background: linear-gradient(90deg, #0325179c, #03251700 88%),
    linear-gradient(0deg, #032517 1%, #032517bd 26%, #03251721 70%, transparent);
}
.hero-copy { width: min(92%, 1150px); margin-inline: auto; }
.hero-property .eyebrow { color: #e0efc6; }
.hero-property h1 {
  max-width: 25ch;
  margin: .65rem 0 .8rem;
  font-size: clamp(2.1rem, 4.2vw, 3.75rem);
  line-height: 1.08;
  text-wrap: pretty;
}
.hero-property p { max-width: 53ch; color: #fffaf3; margin-bottom: .65rem; }
.hero-property .tag { margin: .7rem 0 0; color: #e0efc6; }
.hero-property .actions { margin: 1.1rem 0 .75rem; }
.hero-property .gold { background: #fffaf3; color: #032517; }
.hero-property .gold:hover { background: #e0efc6; }
.hero-property .outline { border-color: #bdcdbf; color: #fffaf3; background: #03251775; }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-image-credit {
  position: absolute;
  z-index: 1;
  right: .9rem;
  bottom: .6rem;
  font-size: .72rem;
  color: #fff;
  background: #032517ed;
  padding: .2rem .55rem;
  border-radius: .25rem;
}
.hero-property + .strip { background: #f6f3ee; }
.hero-property + .strip .wrap { color: #1b3b2b; border-bottom: 1px solid #c1c8c2; padding-block: .85rem; }
@media (max-width: 700px) {
  .hero.hero-property { min-height: 34rem; padding-bottom: 3.25rem; }
  .hero-property::after { background: linear-gradient(0deg, #032517 0%, #032517dc 34%, #03251738 100%); }
  .hero-photo img { object-position: 60% center; }
}
.marketplace { background: #e9eee7; padding-block: 1.75rem; }
.market-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.market-panel { padding: clamp(1rem, 2vw, 1.5rem); background: white; border: 1px solid var(--line); border-radius: 0.9rem; min-width: 0; }
.market-panel h2 { margin-top: 0; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.rotation-stage { min-height: 8.5rem; }
.rotation-stage > p { padding: 0.65rem 0; }
.rotation-controls { display: flex; gap: 0.4rem; align-items: center; margin: 0.65rem 0; }
.rotation-controls button { padding: 0.3rem 0.55rem; font-size: 0.8rem; }
.market-all { margin-top: 0.65rem; }
.market-all summary { width: fit-content; color: var(--navy); font-weight: 700; }
.market-all[open] summary { margin-bottom: 0.65rem; }
.market-all .grid { grid-template-columns: 1fr; }
@media (max-width: 720px) {
  .market-panels { grid-template-columns: 1fr; }
}
.rotation-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr));
  gap: 0.65rem;
}
.home-deal {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow-wrap: anywhere;
  min-height: 8.5rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: white;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.home-deal:hover, .home-deal:focus-within { border-color: var(--green); box-shadow: 0 5px 18px #10243e12; }
.home-deal > div:last-child { padding: 0.7rem; }
.home-deal h3 { margin: 0.35rem 0 0; font-size: 1rem; }
.home-deal p { margin: 0 0 0.5rem; font-size: 0.85rem; }
.home-deal button { padding: 0.35rem 0.6rem; font-size: 0.8rem; }
.home-deal-image { aspect-ratio: 16 / 9; max-height: 12rem; overflow: hidden; background: #e9eee7; }
.home-deal-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  .home-deal { transition: none; }
}

.market-panel .home-deal-image {
  aspect-ratio: auto;
  height: clamp(8rem, 20vw, 12rem);
}
.market-panel .home-deal-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
}
.market-panel .home-deal > div:last-child {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 0.25rem;
  min-height: 9.5rem;
}
.market-panel .home-deal h3, .market-panel .home-deal p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.project-motion .home-deal-image img {
  animation: project-cover-zoom var(--project-slide-time) linear both;
}
@keyframes project-cover-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}
.market-panel:is(:hover, :focus-within) .project-motion .home-deal-image img,
.project-motion-paused .home-deal-image img,
body:has(#details[open]) .project-motion .home-deal-image img {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .project-motion .home-deal-image img { animation: none; }
}

.services-section {
  background: radial-gradient(ellipse at 8% 0%, #d2f3df, transparent 60%),
    radial-gradient(ellipse at 92% 90%, #ffe7a9, transparent 58%), #fffdf5;
  border-block: 1px solid #e5e8dd;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.services-section h2,
.services-intro { text-align: center; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 2vw, 1.5rem);
  margin-top: 1.5rem;
}
.service-card {
  --stage-ink: #137146;
  --stage-tint: #c9f1d9;
  border-top: 4px solid var(--stage-ink);
  background: linear-gradient(155deg, var(--stage-tint), #fff 105%);
  box-shadow: 0 8px 22px #182b2310;
  padding: clamp(1rem, 2.4vw, 1.7rem);
}
.service-card:nth-child(2) { --stage-ink: #1b61a0; --stage-tint: #cdeaff; }
.service-card:nth-child(3) { --stage-ink: #8d560b; --stage-tint: #ffe5a2; }
.service-card .step {
  display: grid;
  place-items: center;
  width: 2.5rem;
  aspect-ratio: 1;
  border-radius: 0.7rem;
  background: var(--stage-ink);
  color: white;
  font: 700 0.9rem/1 system-ui, sans-serif;
  margin-bottom: 0.8rem;
}
.service-card .service-list li::marker { color: var(--stage-ink); }
.services-section .wrap > p:last-child { text-align: center; margin-bottom: 0; }
@media (max-width: 730px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }
}

#about {
  background: #faf8f3;
  padding-block: clamp(2rem, 4vw, 3.25rem);
}
.about-overview {
  display: grid;
  gap: 0.8rem;
}
.about-overview p { margin-bottom: 0; }
.about-vision {
  margin-top: 1.35rem;
  padding: 1rem clamp(1rem, 2.5vw, 1.75rem);
  border-radius: 0.75rem;
  background: var(--navy);
  color: #f8f6ef;
}
.about-vision .eyebrow { color: #e8c889; }
.about-vision p:last-child { margin-bottom: 0; }

#kyl .card {
  background: linear-gradient(145deg, #d4f0e0, #eef8ed);
  border-color: #a8cbb7;
}
#contact .card {
  background: linear-gradient(145deg, #f8e4b1, #fff3d6);
  border-color: #d9c397;
}
#team .profile-card { background: #e7f1f7; border-color: #bdcfda; }
.market-panel { background: #eaf4ed; border-color: #c1d6c7; }
#wanted.market-panel { background: #e7f1fa; border-color: #bfd2e3; }
.market-panel .home-deal,
.market-panel .listing { background: #f4f9f1; }
#wanted .home-deal,
#wanted .listing { background: #f1f7fc; }
.profile-silhouette {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #d3d3d3;
}
.profile-silhouette::before,
.profile-silhouette::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #242424;
}
.profile-silhouette::before {
  top: 17%;
  width: 33%;
  aspect-ratio: 1;
  border-radius: 50%;
}
.profile-silhouette::after {
  bottom: -5%;
  width: 72%;
  height: 48%;
  border-radius: 55% 55% 0 0;
}

#public {
  --navy: #032517;
  --green: #456553;
  --ink: #1c1c19;
  --muted: #424843;
  --line: #c1c8c2;
  background: #fcf9f4;
  color: var(--ink);
}
#public .marketplace, #public #team, #public #contact { background: #f6f3ee; }
#public .market-panel, #public #wanted.market-panel {
  background: #fcf9f4;
  border-color: #c1c8c2;
}
#public .market-panel .home-deal, #public .market-panel .listing { background: #fff; }
#public .home-deal-placeholder { background: #e5e2dd; }
#public #about { background: #fcf9f4; }
#public .about-vision { background: #1b3b2b; }
#public .about-vision .eyebrow { color: #cfe99f; }
#public #team .profile-card, #public #contact .card, #public #kyl .card {
  background: #fcf9f4;
  border-color: #c1c8c2;
}
#public .services-section { background: #f6f3ee; }
#public .service-card {
  --stage-ink: #456553;
  background: #fff;
  box-shadow: none;
}
#public #premium { background: #032517; }
#public #premium .card { background: #1b3b2b; border-color: #456553; }
#public .footer { background: #032517; }

#public .market-panel, #public #wanted.market-panel {
  background: #1b3b2b;
  border-color: #1b3b2b;
  color: #fffaf3;
}
#public .market-panel h2,
#public .market-panel summary,
#public .market-panel .rotation-controls { color: #fffaf3; }
#public .market-panel .rotation-stage > .muted,
#public .market-panel .rotation-controls .muted,
#public .market-panel .market-all > .muted { color: #e0efc6; }
#public .market-panel .home-deal,
#public .market-panel .listing,
#public .market-panel .empty { color: #1c1c19; background: #fcf9f4; }
@media (min-width: 721px) {
  .market-panels:has(.rotation-controls:not([hidden])) .rotation-controls[hidden] {
    display: flex !important;
    visibility: hidden;
  }
}

.listing-notes {
  margin: .55rem 0 1rem;
  padding-inline-start: 1.35rem;
  overflow-wrap: anywhere;
}
.listing-notes li + li { margin-top: .3rem; }
.listing-notes li::marker { color: var(--green); }
#detailContent .gallery { margin-bottom: 1rem; }
#detailContent .facts { margin-block: .75rem 1rem; }
#detailContent .kyl-verification { margin-bottom: .4rem; }

.home-deal-facts {
  margin-block: .25rem .45rem;
  font-size: .85rem;
}

.detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem .6rem;
}
.detail-transaction, .detail-status {
  display: inline-block;
  font-size: .9rem;
  padding: .15rem .55rem;
  border-radius: .35rem;
  background: #e7f1e8;
  color: #1b3b2b;
}
.detail-status-open { background: #fde8e5; color: #a02420; }
.detail-pulse { animation: detail-badge-pulse 1.1s ease-in-out 3; }
@keyframes detail-badge-pulse {
  50% { box-shadow: 0 0 0 .2rem currentColor; }
}
@media (prefers-reduced-motion: reduce) {
  .detail-pulse { animation: none; }
}

.detail-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding: .25rem 0;
  background: #fff;
}
.detail-toolbar button { padding: .4rem .75rem; }

.footer .footer-company {
  display: block;
  color: #fffaf3;
  font-size: clamp(1.12rem, 2.1vw, 1.45rem);
  font-weight: 750;
  letter-spacing: .065em;
}
.footer .footer-tagline {
  margin: .4rem 0 1.15rem;
  color: #dceabe;
  font: 400 clamp(1.12rem, 2.5vw, 1.45rem)/1.35 Georgia, serif;
}
.footer .footer-disclaimer {
  margin: 0 0 .85rem;
  padding-top: .9rem;
  border-top: 1px solid #547363;
  color: #dae5dc;
  font-size: .82rem;
  line-height: 1.55;
}
.footer .footer-version {
  margin: 0;
  color: #e0e9df;
  font: 500 .72rem/1.4 ui-monospace, monospace;
  border: 1px solid #547363;
  border-radius: .3rem;
  padding: .28rem .5rem;
}

.deal-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.4rem; margin-top:.65rem; }
.deal-actions > button { font-size:.8rem; padding:.35rem .55rem; }
#deals .deal-actions [data-feature-detail] { background:#fcf9f4; color:#173b2a; }
#deals .deal-actions .rotation-controls { margin:0; }
#deals .deal-actions .rotation-controls[hidden] { display:none !important; }
#deals .deal-actions .deal-browse { margin-inline-start:auto; white-space:nowrap; background:transparent; color:#fffaf3; }
#all-deals > summary[hidden] { display:none; }
#deals .home-deal-facts { margin-bottom:0; }

.nav a[aria-current="page"] { text-decoration:underline; text-underline-offset:.32em; font-weight:750; }
.market-panels.single-market { grid-template-columns:minmax(0,1fr); }
.single-market .rotation-card-grid { max-width:48rem; }
.single-market .market-all .grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr)); }
.home-next { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
#public[data-page="home"] .deal-actions .deal-browse { background:transparent; color:#fffaf3; }

.footer-meta { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:.45rem 1.5rem; }
.footer .footer-copyright { margin:0; color:#b2c7b8; font-size:.76rem; }
.footer .footer-copyright strong { color:#fffaf3; }
.footer .footer-disclaimer strong { color:#f2d49a; margin-inline-end:.45rem; }

.home-deal .home-deal-image { position:relative; }
.home-deal .featured-open {
  position:absolute;
  inset:.65rem auto auto .65rem;
  z-index:1;
  color:#15502e;
  background:#eef8e9;
  box-shadow:0 1px 6px #132b2466;
}
@media (prefers-reduced-motion: no-preference) {
  .home-deal .featured-open { animation:featured-open-pulse 1.65s ease-in-out 3; }
  .project-motion-paused .featured-open { animation-play-state:paused; }
}
@keyframes featured-open-pulse {
  50% { background:#c9efb0; box-shadow:0 0 0 4px #c9efb066; }
}

#wanted .requirements-link { margin:.65rem 0 0; }
#wanted .requirements-link .btn { color:#fffaf3; }

.property-map .property-map-link { color:#174a36; background:#e9f3ec; border:1px solid #477c60; font-weight:700; }
.property-map .property-map-link:hover { background:#d9ebdf; text-decoration:underline; }
.property-map-note { font-size:.78em; font-weight:400; }
.property-enquiry { margin-top:1.5rem; padding-top:1rem; border-top:1px solid var(--line); }
.property-enquiry summary.btn { display:list-item; width:fit-content; cursor:pointer; }
.property-enquiry-links { display:flex; flex-wrap:wrap; gap:.65rem 1.25rem; }
.property-enquiry-links a { text-decoration:underline; }

#public[data-page="home"] .hero-property { min-height:0; padding:clamp(1.25rem,3vh,2.25rem) 0; }
#public[data-page="home"] .hero-property h1 { font-size:clamp(1.9rem,3.5vw,3.1rem); max-width:30ch; margin:.5rem 0 .7rem; }
#public[data-page="home"] .hero-copy > p:first-of-type { color:#f6d88f; font-weight:600; max-width:65ch; font-size:clamp(1rem,1.35vw,1.15rem); }
#public[data-page="home"] .hero-property .gold { background:#e9bd64; color:#163626; border-color:#e9bd64; }
#public[data-page="home"] .hero-property .gold:hover { background:#f6d88f; }
#public[data-page="home"] .hero-property .actions { margin:.8rem 0 .5rem; }
.profile-carousels { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem; }
.profile-stage { display:grid; }
.profile-stage > article { grid-area:1/1; }
.profile-stage > article[hidden] { display:block; visibility:hidden; pointer-events:none; }
.profile-stage > article.profile-featured[hidden] { display:grid; }
.profile-stage > article:not([hidden]) { z-index:1; }
.profile-stage .profile-featured { grid-template-columns:110px minmax(0,1fr); align-items:start; }
.profile-stage .partner-portrait { width:110px; max-width:100%; height:145px; object-fit:cover; object-position:top; }
.profile-controls { display:flex; gap:.45rem; align-items:center; margin-top:.75rem; }
.profile-controls button { padding:.3rem .65rem; }
.profile-controls span { font-size:.8rem; }
@media (prefers-reduced-motion:no-preference) {
  #public[data-page="home"] .hero-property .gold { animation:hero-action-glow 1.8s ease-in-out 3; }
}
@keyframes hero-action-glow { 50% { box-shadow:0 0 0 4px #e9bd6455; } }
@media(max-width:800px) { .profile-carousels { grid-template-columns:1fr; } }
@media(max-width:420px) { .profile-stage .profile-featured { grid-template-columns:85px minmax(0,1fr); } .profile-stage .partner-portrait { width:85px; height:115px; } }

.profile-carousels .team-group + .team-group { margin-top:0; }

#public .team-invitation { background:#DCAA4D; padding-block:2.25rem; }
#public .team-invitation h2 { color:#103323; font-size:clamp(1.65rem,2.8vw,2.5rem); margin:0 0 .55rem; }
#public .team-invitation p { color:#293E2C; margin:0; }
#public .team-invitation .btn { background:#032517; color:#fffaf3; border:2px solid #032517; font-weight:750; padding:.8rem 1.2rem; box-shadow:0 4px 12px #06182a44; }
#public .team-invitation .btn:hover { background:#164C35; border-color:#164C35; }
#public .team-invitation .btn:focus-visible { outline:3px solid white; outline-offset:4px; }

.home-deal .home-deal-image .featured-photo-title {
  position:absolute; inset:auto 0 0; margin:0; padding:1.6rem .8rem .7rem;
  background:linear-gradient(transparent,#071b16ed);
  color:#fff; font-family:inherit; font-size:1.08rem; font-weight:750; line-height:1.3;
  z-index:1;
}
@media(prefers-reduced-motion:no-preference) {
  .home-deal .featured-photo-title { animation:property-name-glow 1.7s ease-in-out 2; }
  .project-motion-paused .featured-photo-title { animation-play-state:paused; }
}
@keyframes property-name-glow { 50% { color:#ffe2a2; } }

#public .team-invitation + .footer { border-top:18px solid #fff; }

#public .focus-regions { margin:.85rem 0 1rem; }
#public .focus-label { color:#f4d38d; font-size:.73rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; margin-bottom:.4rem; }
#public .focus-state-grid { display:flex; flex-wrap:wrap; gap:.65rem 2rem; }
#public .focus-state-grid > div { display:grid; gap:.15rem; }
#public .focus-state-grid strong { color:#fffaf3; font-size:1.03rem; }
#public .focus-state-grid span { color:#f1dfba; font-size:.86rem; }

#public .focus-regions {
  width:min(100%,40rem);
  padding:.7rem 1rem;
  border:1px solid #ffffff55;
  border-radius:.65rem;
  background:#032517b8;
  text-align:center;
}
#public .focus-regions .focus-label { color:#efbf62; margin-bottom:.55rem; }
#public .focus-regions .focus-state-grid { display:grid; grid-template-columns:1fr 1fr; gap:.65rem 1rem; align-items:start; }
#public .focus-regions .focus-state-grid > div { justify-items:center; }
#public .focus-regions .focus-state-grid strong { color:#ffffff; }
#public .focus-regions .focus-state-grid span { color:#e2e8e4; line-height:1.4; }
@media(max-width:420px) {
  #public .focus-regions .focus-state-grid { grid-template-columns:1fr; }
}

.tagline-phrases { display:inline-flex; flex-wrap:wrap; column-gap:1.4em; row-gap:.25em; }
.tagline-phrases > span { white-space:nowrap; }

#office-details { scroll-margin-top:8rem; }
#office-details:target { outline:2px solid #b98839; outline-offset:5px; }

.contact-list li > :last-child { min-width:0; overflow-wrap:anywhere; }

#public[data-page="home"] .hero-property .actions { width:min(100%,40rem); display:flex; flex-wrap:wrap; justify-content:flex-start; gap:.75rem; }

#public .property-offer { margin-top:1.5rem; padding:1.25rem; border-radius:.7rem; background:#fcf9f4; color:#1b3026; }
.property-offer summary { cursor:pointer; }
.property-offer[open] summary { margin-bottom:1rem; }
.property-offer input, .property-offer textarea, .property-offer select { max-width:100%; }
#offer-property, #open-enquiries { scroll-margin-top:8rem; }
.property-offer-inbox { margin:1rem 0; }
.offer-record { padding:1rem 0; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
#public #wanted .toolbar > .outline { color:#fffaf3; border-color:#b3ccbc; }

#public [data-submission-panel][hidden] { display:none; }
#public .property-offer[data-submission-panel] { padding:1.25rem; }
.submission-heading { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:1rem; }
.submission-heading h3 { margin:0; }

#public dialog.listing-submission-dialog {
  margin:auto;
  padding:0 1.25rem 1.25rem;
  width:min(94vw,46rem);
  max-width:46rem;
  max-height:90dvh;
  overflow:auto;
  color:#1b3026;
  background:#fcf9f4;
}
.listing-submission-dialog .submission-heading {
  position:sticky;
  top:0;
  z-index:2;
  background:#fcf9f4;
  padding:1rem 0 .8rem;
  border-bottom:1px solid var(--line);
}
.listing-submission-dialog h2 { font-size:1.6rem; margin:0; }
body:has(.listing-submission-dialog[open]) { overflow:hidden; }

#public .grid > .listing { display:flex; flex-direction:column; height:100%; }
#public .listing > .photo { flex-shrink:0; }
#public .listing > .body { display:flex; flex-direction:column; flex:1; }
#public .listing > .body > button[data-detail] { margin-top:auto; align-self:flex-start; }

#public [data-open-requirement],
#public a.btn[href="/client-requirements/#submit-enquiry"] {
  background:#efbf62;
  color:#103323;
  border:1px solid #efbf62;
  font-weight:750;
}
#public [data-open-requirement]:hover,
#public a.btn[href="/client-requirements/#submit-enquiry"]:hover {
  background:#ffda94;
  border-color:#ffda94;
}
#public [data-open-requirement]:focus-visible,
#public a.btn[href="/client-requirements/#submit-enquiry"]:focus-visible {
  outline:3px solid #ffffff;
  outline-offset:3px;
}

#public[data-page="home"] .hero-focus-actions { display:grid; width:fit-content; max-width:100%; }
#public[data-page="home"] .hero-focus-actions .focus-regions { width:100%; min-width:0; }
#public[data-page="home"] .hero-focus-actions .actions {
  width:100%; display:grid; grid-template-columns:repeat(2,max-content); gap:.75rem;
}
#public[data-page="home"] .hero-focus-actions .actions .btn { text-align:center; }
@media(max-width:760px) {
  #public[data-page="home"] .hero-focus-actions { width:100%; }
  #public[data-page="home"] .hero-focus-actions .actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #public[data-page="home"] .hero-focus-actions .actions .btn:last-child { grid-column:auto; }
}
@media(max-width:420px) {
  #public[data-page="home"] .hero-focus-actions .actions { grid-template-columns:minmax(0,1fr); gap:.5rem; }
}

/* Labelled private submission summaries */
.offer-record h4 { font-size:1.25rem; margin:.4rem 0; }
.submission-kind { color:var(--green); font-weight:700; margin:0; }
.submission-tracking { background:#edf3ee; padding:.75rem; border-radius:.5rem; line-height:1.8; font-size:.9rem; }
.submission-fields { margin:1rem 0; }
.submission-fields > div { display:grid; grid-template-columns:12rem minmax(0,1fr); gap:.5rem; padding:.4rem 0; border-bottom:1px solid var(--line); }
.submission-fields dt { font-weight:700; }
.submission-fields dd { margin:0; }
@media(max-width:600px) { .submission-fields > div { grid-template-columns:1fr; gap:.15rem; } }

.submission-actions { display:flex; flex-wrap:wrap; gap:1rem; margin-top:1.25rem; }
.submission-actions button { margin:0; }

.footer .owner-access { width:min(1150px,92%); margin:1rem auto 0; font-size:.9rem; }
.footer .owner-access a { color:#f0cc79; text-decoration:underline; text-underline-offset:3px; }

.submission-fields dd ul { margin:.1rem 0; padding-left:1.2rem; }
.submission-fields dd p { margin:0; color:inherit; }

.submission-fields dd ol { margin:.1rem 0; padding-left:1.5rem; list-style-type:lower-alpha; }

/* Matching homepage property and enquiry panels. */
#public[data-page="home"] .market-panel { display:flex; flex-direction:column; min-width:0; }
#public[data-page="home"] .market-panel .rotation-stage { flex:1; }
#public[data-page="home"] .market-panel .deal-actions { margin-top:.65rem; }
#wanted .deal-actions [data-feature-detail] { background:#fcf9f4; color:#173b2a; font-size:.8rem; padding:.35rem .55rem; }
#wanted .deal-actions .rotation-controls { margin:0; }
#wanted .deal-actions .rotation-controls[hidden] { display:none !important; }
#wanted .deal-actions .deal-browse { margin-inline-start:auto; white-space:nowrap; background:transparent; color:#fffaf3; }
#wanted .home-deal-facts { margin-bottom:0; }

#public .photo .enquiry-reference, #public .home-deal-image .enquiry-reference { width:100%; height:100%; object-fit:contain; object-position:top center; background:#073523; }
#public .gallery .enquiry-reference { width:100%; max-height:400px; object-fit:contain; background:#073523; }

#public .home-deal-image:has(.enquiry-reference) { position:relative; display:block; }
#public .home-deal-image img.enquiry-reference { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:center; animation:none; }
#public .enquiry-card-summary { font-size:.9rem; width:100%; border-top:1px solid var(--line); padding-top:.5rem; margin-top:.3rem; }
#public .enquiry-card-summary p { display:block; overflow:visible; margin:0 0 .4rem; font-size:inherit; }
.enquiry-card-summary ol { padding-left:1.3rem; margin:.3rem 0 0; list-style-type:lower-alpha; }
.enquiry-card-summary li + li { margin-top:.25rem; }

.enquiries-page-heading { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; margin-bottom:1rem; }
.enquiries-page-heading h2 { margin:0; }
#public .enquiries-page-heading [data-open-requirement] { background:#efc364; color:#123928; border:1px solid #efc364; font-weight:750; padding:.8rem 1.15rem; }
@media(max-width:600px) { .enquiries-page-heading { align-items:stretch; } .enquiries-page-heading button { width:100%; } }

#public .home-deal .featured-open { background:#ffe329; color:#153222; border:1px solid #fff29a; font-weight:850; box-shadow:0 2px 7px #0005; }
.enquiry-reference-wrap { display:block; position:relative; width:100%; }
#public .home-deal-image .enquiry-reference-wrap, #public .photo .enquiry-reference-wrap { position:absolute; inset:0; height:100%; }
#public .photo:has(.enquiry-reference-wrap) { position:relative; }
#public .home-deal-image img.enquiry-reference-land, #public .photo img.enquiry-reference-land { object-fit:cover; object-position:center; }
.reference-disclaimer { position:absolute; z-index:2; top:.4rem; right:.4rem; max-width:calc(100% - 5rem); background:#083322eb; color:#fff; font:600 .7rem/1.35 system-ui,sans-serif; padding:.25rem .4rem; border-radius:.25rem; text-align:right; }
#public .gallery .enquiry-reference-wrap img { display:block; }

/* Preserve every boundary pillar in the approved panoramic reference. */
#public .home-deal-image img.enquiry-reference-land,
#public .photo img.enquiry-reference-land { object-fit:contain; object-position:center; background:#123d28; }

.property-card-highlights { width:100%; border-top:1px solid var(--line); padding-top:.5rem; margin-top:.3rem; font-size:.9rem; }
.property-card-highlights .listing-notes { margin:.35rem 0 0; }
.property-card-highlights li { overflow-wrap:anywhere; }

#public .home-deal .featured-open { max-width:calc(100% - 1.2rem); white-space:normal; line-height:1.3; }
#public .home-deal-image:has(.featured-open) .reference-disclaimer { top:2.5rem; max-width:calc(100% - .8rem); }

#public[data-page="home"] .hero-copy > p:first-of-type { max-width:100%; font-size:clamp(.95rem,1.15vw,1.1rem); text-wrap:wrap; }
