/* Audience cards and a balanced company track record. */
.group-profile{border:1px solid var(--line);background:var(--surface,#fff);border-radius:16px;overflow:hidden}
.group-profile summary{display:flex;justify-content:space-between;align-items:center;gap:20px;cursor:pointer;padding:22px;list-style:none}
.group-profile summary::-webkit-details-marker{display:none}.group-profile summary b{display:block;font:400 24px/1.3 var(--f-display)}
.group-profile summary small{display:block;margin-top:5px;font-size:14px;color:var(--text-2,#7c8491)}
.profile-plus{font-size:26px;color:var(--gold)}.group-profile[open] .profile-plus{transform:rotate(45deg)}
.profile-body{padding:0 22px 24px;font-size:16px;line-height:1.7}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}
.profile-stats span{font-size:13px;display:grid;gap:5px}.profile-stats b{font:400 30px var(--f-display);color:var(--gold)}
[data-theme="dark"] .group-profile{background:#112438}
.named-cmp{table-layout:fixed;min-width:0;font-size:14px;line-height:1.6}
.named-cmp th,.named-cmp td{padding:20px 16px;overflow-wrap:anywhere}.named-cmp th:first-child{width:18%}.named-cmp thead th{line-height:1.5;font-size:13px}
.named-cmp td.z::before{display:none}.named-cmp td.o{color:#c6d1de}.named-cmp td.z{border-left:1px solid #c8a15b55;border-right:1px solid #c8a15b55}
.comparison-sources{margin-top:20px;border-top:1px solid #ffffff25;padding-top:18px;color:#c6d1de;font-size:14px;line-height:1.7}
.comparison-sources summary{cursor:pointer;color:#e5c88e}.source-links{display:flex;flex-wrap:wrap;gap:12px 24px;padding-top:16px}.source-links a{color:#e5c88e;text-decoration:underline;text-underline-offset:4px}
#security .card p{font-size:16px;line-height:1.7}#security .card h3{font-size:25px;line-height:1.3}
.za-map{aspect-ratio:16/7.5;min-height:360px;max-height:540px}
@media(max-width:1100px){.portal-foot{grid-template-columns:1fr}.portal-foot .btn-row{justify-content:flex-end}.acard .meta p{font-size:14px}.named-cmp th,.named-cmp td{padding:16px 12px}}
@media(max-width:760px){.named-cmp{min-width:700px}.track-intro{align-items:flex-start;flex-direction:column}.portal-foot{padding:24px}.portal-foot .facts{grid-template-columns:repeat(2,1fr);gap:24px}.portal-foot .facts>div{padding:0 12px!important}.portal-foot .facts>div:nth-child(2){border:0}.za-map{aspect-ratio:1/1;min-height:350px;max-height:none}.acard .meta p{font-size:clamp(12px,2vw,15px)}}
@media(max-width:540px){.acard .meta p{font-size:16px}.acard h2{font-size:30px}.acard .art{aspect-ratio:1/.65}.portal-foot .btn-row,.portal-foot .btn{width:100%}.portal-foot .facts b{font-size:30px}}

@media(min-width:1151px){.acard .meta p{font-size:16px}}
@media(min-width:541px) and (max-width:1150px){.aud{grid-template-columns:repeat(2,minmax(0,1fr))}.acard .meta p{font-size:16px}}
@media(min-width:761px){.za-map{min-height:400px;max-height:440px;aspect-ratio:auto;height:440px}#atlas .sec-head{margin-bottom:28px}#atlas .sec-head h2{font-size:42px}}
@media(max-width:700px){.aud{grid-template-columns:1fr}.acard .meta p{font-size:16px}.acard .art{aspect-ratio:1/.65}}
/* Official project photography and interior renders. */
.phero .media img{object-position:center;animation:none}
.pcard .ph img{object-position:center}
.photo-open{position:relative;display:block;width:100%;height:100%;padding:0;border:0;background:transparent;color:inherit;cursor:zoom-in;text-align:left}
.photo-open:focus-visible{outline:3px solid var(--gold-hi);outline-offset:-4px}.photo-expand{position:absolute;right:14px;top:14px;background:#0d2039bc;color:#fff;border:1px solid #ffffff60;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-size:20px}
.drawer[data-project="j1"] .photo-note,
.drawer[data-project="armas"] .photo-note,
.drawer[data-project="manarina"] .photo-note{display:none}
.photo-note{font-size:13px;color:var(--text-2,#7c8491);line-height:1.7;margin:16px 0 0}
.photo-viewer{width:min(1100px,94vw);max-height:94vh;padding:48px 20px 20px;border:1px solid #ffffff30;border-radius:16px;background:#0d2033;color:#fff;overflow:auto}
.photo-viewer::backdrop{background:#020a14e8;backdrop-filter:blur(6px)}.photo-viewer figure{margin:0}.photo-viewer img{display:block;max-width:100%;width:auto;max-height:75vh;margin:auto;object-fit:contain}.photo-viewer figcaption{text-align:center;padding:16px 0 0;font-size:14px;color:#d5ddea}.photo-close{position:absolute;right:12px;top:8px;width:36px;height:36px;border:1px solid #ffffff40;background:transparent;color:#fff;font-size:26px;border-radius:50%;cursor:pointer}
.drawer-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.drawer-gallery:empty{display:none}.drawer-gallery h4{grid-column:1/-1;font-size:20px;font-weight:500;margin:0 0 6px}.drawer-gallery button{display:grid;gap:8px;border:1px solid var(--line);border-radius:10px;overflow:hidden;padding:0 0 10px;background:transparent;color:inherit;cursor:zoom-in;text-align:left}.drawer-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover}.drawer-gallery span{font-size:13px;padding:0 10px}
@media(prefers-reduced-motion:reduce){.lux img,.pcard .ph img{transition:none}}

/* Keep the supplied Agent Workspace screenshot fully visible. */
.phero .media.agent-workspace-preview{aspect-ratio:auto;align-self:center;background:#f3f6f9}
.phero .media.agent-workspace-preview img{display:block;width:100%;height:auto;object-fit:contain;transform:none;animation:none}
.agent-workspace-preview .tagbox{position:relative;left:auto;right:auto;bottom:auto;margin:0;border-radius:0;background:var(--navy)}

/* Delivered portfolio: original project photography in a responsive mosaic. */
.delivered-showcase{align-self:center;overflow:hidden;border-radius:24px;background:var(--navy);padding:8px;box-shadow:var(--shadow-lg);border:1px solid rgba(199,162,88,.3)}
.delivered-mosaic{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,clamp(100px,10vw,150px));gap:6px}
.delivered-tile{position:relative;min-width:0;overflow:hidden;border:0;border-radius:8px;padding:0;background:#102638;cursor:zoom-in;text-align:left}
.delivered-tile:nth-child(1),.delivered-tile:nth-child(2){grid-row:span 2}
.delivered-tile img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;transition:transform .35s ease}
.delivered-tile span{position:absolute;inset:auto 0 0;padding:30px 8px 9px;background:linear-gradient(transparent,rgba(5,16,29,.9));color:#fff;font:600 12px/1.3 var(--f-body);opacity:0;transition:opacity .2s}
.delivered-tile:hover img{transform:scale(1.04)}
.delivered-tile:hover span,.delivered-tile:focus-visible span{opacity:1}
.delivered-tile:focus-visible{outline:3px solid #dfbd79;outline-offset:-3px}
.delivered-caption{padding:20px 16px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#fff}
.delivered-caption h3{font:400 clamp(24px,2.4vw,32px)/1.15 var(--f-display);margin:7px 0}
.delivered-caption p{font-size:14px;line-height:1.6;color:#c4cdda;margin:0}
.delivered-caption .eyebrow{color:#d9b875;font-size:11px}
.delivered-caption .btn{flex-shrink:0}
@media(max-width:600px){.delivered-mosaic{grid-template-rows:repeat(3,105px)}.delivered-caption{align-items:flex-start;flex-direction:column}.delivered-tile span{display:none}}
@media(prefers-reduced-motion:reduce){.delivered-tile img,.delivered-tile span{transition:none}}

/* Direct WhatsApp contact, pinned to the requested bottom-left corner. */
.whatsapp-float{position:fixed;left:max(20px,env(safe-area-inset-left));bottom:max(20px,env(safe-area-inset-bottom));z-index:75;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:12px 18px;border-radius:999px;background:#128c4a;color:#fff;text-decoration:none;font:700 15px/1.2 var(--f-body);box-shadow:0 5px 22px rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.35);transition:background .2s,transform .2s}
.whatsapp-float svg{width:28px;height:28px;flex-shrink:0}
.whatsapp-float:hover{background:#0c713b;color:#fff;transform:translateY(-2px)}
.whatsapp-float:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
@media(max-width:600px){.whatsapp-float{left:max(14px,env(safe-area-inset-left));bottom:max(14px,env(safe-area-inset-bottom));width:138px;padding:12px;justify-content:flex-start;gap:8px;direction:ltr}.whatsapp-float span{display:inline;white-space:nowrap;font-size:14px}}
@media(prefers-reduced-motion:reduce){.whatsapp-float{transition:none}}

.zprof .mk{background:transparent;border:0;box-shadow:none}.zprof .mk img{width:40px;height:auto;object-fit:contain}

.language-scope-note{margin:0;padding:12px 24px;background:var(--bg);color:var(--text);font-size:14px;text-align:center;border-bottom:1px solid var(--line)}.language-scope-note[hidden]{display:none}

/* Keep the complete payment and return terms visible at every card width. */
.acard h2 { white-space: normal; }
.acard .meta { container-type: inline-size; }
.acard:lang(en) h2,
#agents-card-title {
  font-size: min(1.875rem, 10cqi);
  line-height: 1.15;
  white-space: nowrap;
}
.acard .meta p { display: block; overflow: visible; }

.zp-brand-tiles {
  display: grid;
  min-width: 0;
  container: brand-profile / inline-size;
}
.zp-brand-grid {
  --brand-stage: 2.5rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .75rem .35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
}
.zp-brand-grid li {
  display: grid;
  grid-template-rows: var(--brand-stage) auto;
  align-content: start;
  align-items: center;
  justify-items: center;
  gap: .375rem;
  min-width: 0;
  padding: 0;
  text-align: center;
}
.zp-brand-grid img {
  display: block;
  width: 100%;
  height: var(--brand-stage);
  object-fit: contain;
}
.zp-brand-grid span {
  align-self: start;
  min-block-size: 2.5em;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
[data-theme="dark"] .zp-brand-grid img,
.zp-brand-profile .zp-brand-grid img {
  filter: brightness(1.1) drop-shadow(0 0 .45px rgb(204 226 247 / .65));
}
[data-theme="dark"] .home-group-logos img[src$="/home-automation.webp"],
.zp-brand-profile img[src$="/home-automation.webp"] {
  content: url("../img/brands/home-automation-dark.webp");
}
@container brand-profile (max-width: 32rem) {
  .zp-brand-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@container brand-profile (max-width: 22rem) {
  .zp-brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

#v-choose-offplan { padding-block-end: 0; }
#v-choose-offplan #loan,
.offplan-match {
  grid-column: 1 / -1;
  margin-block-start: clamp(24px, 4vw, 56px);
}
.offplan-advisor {
  margin-block-start: clamp(48px, 6vw, 80px);
  padding-block: clamp(40px, 5vw, 72px);
}

/* The blueprint gallery and group profile share one portfolio row. */
#v-choose-offplan > .grid { row-gap: 18px; }
#v-choose-offplan .left { position: static; }
.offplan-project-picker {
  grid-column: 1 / -1;
  margin-block: clamp(18px, 3vw, 36px);
}
@media (min-width: 700px) and (max-width: 980px) {
  .offplan-project-picker .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offplan-project-picker .pcard h3 { font-size: 20px; }
}
@media (max-width: 699px) {
  .offplan-project-picker .g3 { grid-template-columns: 1fr; }
}
.offplan-portfolio {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 32px;
}
.offplan-portfolio .zp-brand-grid {
  --brand-stage: clamp(2.5rem, 10cqi, 3.5rem);
  grid-auto-rows: 1fr;
}
@media (min-width: 901px) {
  #v-choose-offplan > .grid,
  .offplan-portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #v-choose-offplan :is(.offplan-heading, .offplan-benefits) { grid-column: 1; }
  /* Share the first benefit's row and its text inset with the project cards. */
  #v-choose-offplan > .grid > .right {
    grid-column: 2;
    grid-row: 2;
    margin-block-start: var(--homebuyer-row-padding);
  }
  .offplan-portfolio {
    column-gap: 3cm;
    row-gap: 16px;
  }
  .offplan-portfolio > .project-blueprints,
  .offplan-portfolio > .zp-brand-profile {
    display: grid;
    grid-row: 1 / span 2;
    grid-template-rows: subgrid;
    row-gap: 16px;
  }
}
.offplan-portfolio > :is(.project-blueprints, .zp-brand-profile) {
  padding: clamp(16px, 2vw, 24px);
  background: #0d1a2a;
  border: 1px solid #1f2f45;
  border-radius: 20px;
  color: #eef0f3;
  box-shadow: var(--shadow);
}
.offplan-portfolio > .zp-brand-profile::before { content: none; }
.project-blueprints {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.portfolio-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-block-size: 52px;
}
.portfolio-heading img {
  flex: none;
  width: 40px;
  height: auto;
  margin-inline: 6px;
}
.portfolio-heading h2 {
  margin: 0;
  color: inherit;
  font: 400 var(--fs-h4)/1.2 var(--f-display);
}
.blueprint-tiles {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 8px;
}
.blueprint-tile {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 4px 4px 7px;
  border: 1px solid #42617a;
  border-radius: 5px;
  background: #0b2d45;
  text-align: center;
  line-height: 1.2;
  text-decoration: none;
}
.blueprint-tile:hover, .blueprint-tile:focus-visible { border-color: var(--gold-hi); }
.blueprint-tile:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.blueprint-art {
  display: block;
  position: relative;
  flex: 1;
  min-height: 0;
  aspect-ratio: 1.5;
  margin-bottom: 5px;
}
.blueprint-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.blueprint-name { color: #fff; font-size: .875rem; font-weight: 600; }
.blueprint-location { margin-top: 2px; color: #c2d4e0; font-size: .75rem; }
@media (max-width: 900px) {
  .blueprint-art { flex: none; }
}
@media (max-width: 440px) {
  .offplan-portfolio > :is(.project-blueprints, .zp-brand-profile) { padding: 12px; gap: 12px; }
  .blueprint-tiles { gap: 5px; }
  .blueprint-name { font-size: .8125rem; }
}

.blueprint-delivery {
  margin-top: 4px;
  color: #efce96;
  font-size: .75rem;
  line-height: 1.3;
  font-weight: 600;
  text-wrap: balance;
}

.offplan-intro {
  container-type: inline-size;
  max-width: none;
  color: var(--ink-2);
}
.offplan-intro span { font-size: clamp(.8125rem, 3.55cqi, var(--fs-lg)); }

/* Project pages opened from the blueprint gallery */
.blueprint-project-page { padding-block: clamp(25px, 5vw, 60px) clamp(48px, 7vw, 96px); }
.blueprint-project-page .wrap { max-width: 1150px; }
.blueprint-gallery-link:hover svg { transform: none; }
.blueprint-project-page h1 { margin-block: 20px clamp(20px, 2.6vw, 36px); font-size: clamp(34px, 5vw, 64px); }
.blueprint-project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: stretch;
}
.blueprint-project-photo {
  position: relative;
  min-width: 0;
  min-height: clamp(240px, 28vw, 360px);
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--tint);
}
.blueprint-project-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blueprint-project-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 22px 14px 10px;
  background: linear-gradient(transparent, rgb(5 15 26 / 80%));
  color: #fff;
  font-size: var(--fs-xs);
}
.blueprint-project-info {
  container-type: inline-size;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(16px, 2.2vw, 28px);
}
.blueprint-project-facts { margin: 0; }
.blueprint-project-facts > div { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 14px; align-items: baseline; padding-block: 11px; border-bottom: 1px solid var(--line); }
.blueprint-project-facts > div:first-child { grid-template-columns: 1fr; gap: 4px; padding-block: 0 15px; }
.blueprint-project-facts dt { font-size: var(--fs-sm); color: var(--ink-2); }
.blueprint-project-facts dd { margin: 0; overflow-wrap: anywhere; font-weight: 600; line-height: 1.4; }
.blueprint-project-facts > div:first-child dd { font: 400 clamp(15px, 6cqi, 22px)/1.25 var(--f-display); color: var(--gold-ink); }
@media (max-width: 720px) {
  .blueprint-project-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .blueprint-project-photo { min-height: 0; }
  .blueprint-project-photo img { position: static; height: auto; max-height: 42vh; object-fit: contain; }
}

.about-profile-link { min-height: 44px; margin-top: 10px; gap: 10px; }
.about-profile-link svg { width: 22px; height: 22px; }
.about-profile-link:hover svg { transform: none; }
.about-profile-link small { color: var(--ink-2); font: 600 .75rem/1 var(--f-mono); }
.about-profile-reader { box-sizing: border-box; padding: 0; width: min(1040px, 96vw); height: 90vh; height: 90dvh; max-width: 100%; max-height: 100%; margin: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); }
.about-profile-reader[open] { display: flex; flex-direction: column; }
.about-profile-reader::backdrop { background: rgba(3, 10, 18, .8); }
.about-profile-reader header { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; padding: 8px 16px; border-bottom: 1px solid var(--line); }
.about-profile-reader h2 { margin: 0; margin-inline-end: auto; font-size: clamp(19px, 2vw, 25px); }
.about-profile-reader header .link { min-height: 40px; }
.about-profile-reader form { margin: 0; }
.about-profile-reader button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--tint); color: var(--ink); font-size: 23px; cursor: pointer; }
.about-profile-reader iframe { width: 100%; flex: 1; min-height: 0; border: 0; }
@media (max-width: 520px) {
  .about-profile-reader header { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .about-profile-reader form { grid-column: 2; grid-row: 1 / 3; }
}





.home-group-directory, #atlas {
  margin-block-start: clamp(56px, 7vw, 96px);
}
#dubai-plan, #home-group-contact {
  margin-block-start: clamp(28px, 4vw, 52px);
}
.home-group-directory h2, #home-contact-title {
  font: 400 clamp(30px, 4vw, 46px)/1.12 var(--f-display);
}
.home-group-directory h2 {
  margin: 0 0 clamp(22px, 3vw, 36px);
  color: var(--gold-ink);
}
.home-group-row {
  display: grid;
  grid-template-columns: minmax(13rem, .83fr) minmax(0, 2.2fr);
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
.home-group-scope h3 { margin: 0; font-size: clamp(18px, 1.7vw, 23px); }
.home-group-scope p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: var(--fs-sm);
  line-height: 1.55;
}
.home-group-logos {
  --brand-stage: clamp(4rem, 5.5vw, 4.75rem);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem .5rem;
  padding-block: .375rem;
}
.home-group-logos span { font-size: .8125rem; }
@media (max-width: 900px) {
  .home-group-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 640px) {
  .home-group-logos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .home-group-logos > li { grid-column: span 2; }
  .home-group-logos > li:nth-child(4) { grid-column: 2 / span 2; }
}

.partnership-example .sec-head { max-width: none; margin-bottom: clamp(22px, 3vw, 36px); }
.partnership-example h2 { margin-bottom: 12px; }
.pe-intro { display: grid; margin: 0; color: var(--ink-2); font-weight: 400; text-align: start; }
.pe-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(17rem, 1fr);
  gap: clamp(16px, 2.3vw, 30px);
  align-items: stretch;
}
.pe-chart, .pe-outcome {
  margin: 0;
  min-width: 0;
  padding: clamp(20px, 2.8vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.pe-chart { background: var(--paper); }
.pe-chart figcaption { font: 400 clamp(22px, 2.2vw, 29px)/1.2 var(--f-display); }
.pe-unit, .pe-note { color: var(--ink-2); font-size: var(--fs-sm); }
.pe-unit { margin: 6px 0 22px; }
.pe-line, .pe-key li, .pe-outcome dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.pe-line { font-size: var(--fs-sm); }
.pe-line bdi, .pe-key bdi, .pe-outcome dd { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pe-bar {
  display: grid;
  grid-template-columns: 10fr 10fr 7fr;
  border-radius: 5px;
  overflow: hidden;
  min-height: 31px;
  margin: 6px 0 17px;
  background: var(--tint);
}
.pe-bar span { display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.pe-capital { background: #24567a; color: white; }
.pe-balance { background: #a8c5d7; color: #102236; }
.pe-profit { background: #dbb875; color: #182132; }
.pe-key { display: grid; padding: 0; list-style: none; margin: 0; gap: 4px; font-size: var(--fs-sm); }
.pe-key li { justify-content: start; align-items: center; }
.pe-key i { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.pe-key bdi { margin-inline-start: auto; }
.pe-sale { border-top: 1px solid var(--line); padding-top: 15px; margin: 16px 0 0; color: var(--ink-2); font-size: var(--fs-sm); }
.pe-outcome {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--on-navy);
  background: var(--navy);
  border-color: var(--navy-line);
}
.pe-outcome h3 { font: 400 clamp(20px, 2vw, 26px)/1.22 var(--f-display); margin: 0; color: inherit; }
.pe-rate-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 10px 0 0; }
.pe-rate { font: 400 clamp(58px, 6.6vw, 88px)/1.07 var(--f-display); color: var(--gold-hi); }
.pe-rate-row small { font: 400 .8125rem/1.4 var(--f-body); color: var(--on-navy-2); white-space: nowrap; }
.pe-formula { margin: 5px 0 24px; color: var(--on-navy-2); font-size: var(--fs-sm); }
.pe-outcome dl, .pe-outcome dd { margin: 0; }
.pe-outcome dl > div { padding: 9px 0; border-top: 1px solid var(--navy-line); }
.pe-outcome dt { font-size: var(--fs-sm); }
.pe-outcome .pe-total { align-items: center; font-weight: 700; color: var(--gold-hi); }
.pe-total dd { font-size: clamp(22px, 2.2vw, 29px); }
.pe-payout-math { color: var(--on-navy-2); margin: 0; text-align: end; font-size: var(--fs-sm); }
.pe-note { margin: 14px 0 0; }
@media (max-width: 760px) {
  .pe-grid { grid-template-columns: minmax(0, 1fr); }
}

#b2b-top { --b2b-photo-ratio: calc(1448 / 452); }
#b2b-top .split2 { align-items: start; }
#b2b-top .b2b-intro .lede { margin: 1.25rem 0 0; max-width: 44ch; }

@media (min-width: 901px) {
  #b2b-top .b2b-intro { container-type: inline-size; }
  #b2b-top .b2b-intro h1 {
    /* The two text starts sit at 6% and 42% of the adjacent panel width. */
    margin-block-start: 6cqi;
    min-block-size: 36cqi;
    padding-block-end: 1.25rem;
  }
  #b2b-top .b2b-intro .lede {
    margin-block-start: 0;
    text-box-trim: trim-start;
    text-box-edge: cap alphabetic;
  }
}

#b2b-top h1 {
  max-inline-size: 23ch;
  font-weight: 400;
  text-box-trim: trim-start;
  text-box-edge: cap alphabetic;
  margin: 0;
  font-size: clamp(2rem, 3.15vw, 2.75rem);
  text-wrap: balance;
}

#b2b-top .b2b-network {
  width: 100%;
  min-width: 0;
  container-type: inline-size;
  background: #061126;
  color: #f7f8fa;
}
.b2b-network-art { overflow: hidden; aspect-ratio: var(--b2b-photo-ratio); }
.b2b-network-art img {
  display: block;
  width: 100%;
  height: auto;
}
.b2b-network-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(.5rem, 2cqw, 1rem);
  margin: 0;
  padding: .4rem 4%;
  list-style: none;
}
.b2b-network-roles li {
  display: flex;
  align-items: center;
  gap: clamp(.375rem, 1.2cqw, .85rem);
  padding-block: .7rem;
  font: 500 clamp(.9375rem, 3cqw, 1.4rem)/1.25 var(--f-body);
  color: #f7f8fa;
  overflow-wrap: anywhere;
}
.b2b-developer-icon { color: #edc98d; }
.b2b-network-roles li:nth-child(n + 3) { border-top: 1px solid #364053; }
.b2b-network-roles svg {
  display: block;
  flex: 0 0 auto;
  width: clamp(1.4rem, 6.4cqw, 2.75rem);
  height: auto;
  aspect-ratio: 130 / 106;
}

#inventory tbody tr { cursor: pointer; }
#inventory th button[data-proj] {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
#inventory tbody tr:hover th button,
#inventory th button:focus-visible { color: var(--gold-hi); }
#inventory th button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

body:not(.drawer-open) #scrim,
body:not(.drawer-open) #drawer { pointer-events: none; }


/* Agent resources beside the broker enquiry form. */
.agent-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  min-inline-size: 0;
  gap: 1rem;
}
.agent-workspace h2 { font-size: var(--fs-h2); }
.agent-workspace .lede {
  color: #fff;
  line-height: 1.5;
}
.agent-workspace-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  overflow: auto;
  border: 1px solid var(--navy-line);
  border-block-start: 2px solid var(--gold);
  border-radius: .875rem;
  background: var(--navy-line);
}
.agent-workspace-directory ul {
  display: grid;
  align-content: start;
  flex: 1 1 0;
  min-inline-size: max-content;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.agent-workspace-directory a {
  display: flex;
  align-items: center;
  min-block-size: 2.75rem;
  padding: .625rem 1rem;
  color: var(--on-navy);
  background: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  font: 600 1rem/1.35 var(--f-body);
}
@media (max-width: 420px) {
  #agent-form .contact { grid-template-columns: minmax(0, 1fr); }
  .agent-workspace-directory a { padding-inline: .5rem; font-size: .875rem; }
}
.agent-workspace-directory a:is(:hover, :focus-visible) {
  background: var(--navy-2);
  color: var(--gold-hi);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.agent-workspace-directory a:focus-visible { outline-offset: -3px; }
.agent-workspace-visit { color: var(--on-navy); }
.agent-workspace-visit a {
  color: var(--gold-hi);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
}
