/* ---------- the display in the room (wide screens) ---------- */
.office__buildbtn { left: 69.5% !important; top: 56.8% !important; width: 12.6% !important; height: 24.2% !important; overflow: visible; border-radius: 4px; background: none; }
.office__buildbtn::before { display: none; }
.obuild__img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 5px rgb(0 0 0 / .45)) brightness(.93) saturate(.95); }
.obuild__star { position: absolute; left: 3%; top: 2.4%; width: 27%; height: auto; display: block; box-shadow: 0 1px 3px rgb(0 0 0 / .5); }
.office__buildbtn:hover, .office__buildbtn:focus-visible, .office__buildbtn.is-suggested, .office__buildbtn.is-tour { background-color: transparent; box-shadow: none; }
.office__buildbtn:hover .obuild__img, .office__buildbtn:focus-visible .obuild__img, .office__buildbtn.is-tour .obuild__img, .office__buildbtn.is-suggested .obuild__img { filter: drop-shadow(0 0 0 #c2a05e) drop-shadow(0 0 5px #e7c98a) drop-shadow(0 6px 5px rgb(0 0 0 / .45)); }
.obuild__plate { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); display: block; padding: .55em 1.1em .6em; border-radius: 10px; background: #fffdf8; color: #14213d; text-align: center; white-space: nowrap; box-shadow: 0 0 0 1.5px #c2a05e, 0 6px 14px rgb(0 0 0 / .35); font-size: clamp(9px, .78cqw, 14px); }
.obuild__name { display: block; font: 700 1.35em/1.1 Georgia, "Times New Roman", serif; }
.obuild__sub { display: block; margin-top: .25em; font: 500 .9em/1 system-ui, -apple-system, "Segoe UI", sans-serif; }
.office__buildbtn .office__label { display: none; }
.obuild__tag { position: absolute; z-index: 2; min-height: 24px; padding: .32em .7em .36em; border: 0; border-radius: 7px; background: #fffdf8; color: #14213d; font: 700 clamp(9px, .74cqw, 13px)/1.1 Georgia, "Times New Roman", serif; white-space: nowrap; box-shadow: 0 0 0 1.25px #c2a05e, 0 3px 7px rgb(0 0 0 / .4); cursor: pointer; }
.obuild__tag:hover, .obuild__tag[aria-pressed="true"] { background: #14213d; color: #fffdf8; }
.obuild__tag:focus-visible { outline: 3px solid #fffdf8; outline-offset: 2px; box-shadow: 0 0 0 1.25px #c2a05e, 0 0 0 6px #14213d; }
.obuild__tag--energy { left: 72.5%; top: 47.8%; }
.obuild__tag--roof { left: 79.6%; top: 44.2%; }
.obuild__tag--insulation { left: 71.4%; top: 55.4%; }
.obuild__tag--frame { left: 79%; top: 60%; box-shadow: 0 0 0 2px #c2a05e, 0 0 0 3.5px #14213d, 0 3px 7px rgb(0 0 0 / .4); }
.obuild__tag--windows { left: 78.4%; top: 67.4%; }
.office.is-open .obuild__tag { visibility: hidden; }
.office__buildrow { display: none; margin: 0; }
@media (max-width: 820px) {
  /* phones: the picture has no room for one more 44 px target, so the display is a clear button under the picture */
  .office__scene #ohs-build, .office__scene .obuild__tag { display: none !important; }
  .office__buildrow { display: block; order: 2; }
  .office .oribbon[data-state="tour"] .office__buildrow, .office .oribbon[data-state="end"] .office__buildrow { display: none; }
  .obuildcard { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 100%; min-height: 54px; padding: 8px 14px; border: 1.5px solid #c2a05e; border-radius: 14px; background: #fffdf8; color: #14213d; cursor: pointer; }
  .obuildcard__name { font: 700 17px/1.1 Georgia, "Times New Roman", serif; }
  .obuildcard__sub { font: 500 13px/1 system-ui, -apple-system, "Segoe UI", sans-serif; color: #3a4150; }
  .obuildcard:focus-visible, .obuildcard.is-tour { outline: 3px solid #14213d; outline-offset: 2px; }
}

/* ---------- the reading panel ---------- */
.oq { width: min(1500px, calc(100vw - 32px)); max-width: none; height: min(880px, calc(100svh - 32px)); max-height: none; padding: 0; border: 1.5px solid #c2a05e; border-radius: 26px; background: #fbf5ea; color: #14213d; overflow: hidden; box-shadow: 0 30px 80px rgb(10 8 4 / .55); }
.oq[open] { display: flex; flex-direction: column; }
.oq::backdrop { background: rgb(20 14 8 / .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.oq__head { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px 16px; padding: 18px clamp(16px, 3vw, 44px) 10px; }
.oq__back { justify-self: start; min-height: 44px; padding: 0 12px 0 4px; border: 0; background: none; color: #14213d; font: 500 1.05rem/1 Georgia, "Times New Roman", serif; cursor: pointer; }
.oq__back:hover { text-decoration: underline; text-underline-offset: 4px; }
.oq__titles { text-align: center; }
.oq__title { margin: 0; font: 700 clamp(1.9rem, 3.6vw, 3.2rem)/1.05 Georgia, "Times New Roman", serif; color: #14213d; }
.oq__title:focus { outline: none; }
.oq__sub { margin: 4px 0 0; font: italic 400 clamp(1rem, 1.5vw, 1.45rem)/1.2 Georgia, "Times New Roman", serif; color: #14213d; }
.oq__x { justify-self: end; width: 46px; height: 46px; border: 0; border-radius: 50%; background: none; color: #14213d; font-size: 2rem; line-height: 1; cursor: pointer; }
.oq__x:hover { background: rgb(20 33 61 / .08); }
.oq__body { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(240px, 30%) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 40px); padding: 6px clamp(16px, 3vw, 44px) 22px; border-top: 1px solid #dccba0; margin-top: 4px; }
.oq__board { position: relative; align-self: center; justify-self: center; height: min(100%, 640px); aspect-ratio: 651 / 1300; max-width: 100%; container-type: inline-size; }
.oq__boardimg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; filter: drop-shadow(0 10px 12px rgb(40 25 5 / .3)); }
.oq__star { position: absolute; left: 3%; top: 2.4%; width: 27%; height: auto; box-shadow: 0 1px 4px rgb(0 0 0 / .45); }
.oq__tag { font-size: clamp(11px, 4.6cqw, 16px); min-height: 30px; }
.oq__tag--energy { left: 33%; top: 5.5%; white-space: normal; max-width: 44%; text-align: left; }
.oq__tag--roof { left: 62%; top: 18.5%; }
.oq__tag--insulation { left: 4%; top: 36.5%; }
.oq__tag--frame { left: 66%; top: 46%; }
.oq__tag--windows { left: 60%; top: 66%; }
.oq__detail { min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; overscroll-behavior: contain; padding: 14px 4px 4px 2px; }
.oq__tabs { flex: none; display: flex; flex-wrap: wrap; gap: 8px; }
.oq__tab { min-height: 46px; padding: 0 20px; border: 1.5px solid #c9b684; border-radius: 12px; background: #fffdf8; color: #14213d; font: 500 1.05rem/1 Georgia, "Times New Roman", serif; cursor: pointer; }
.oq__tab:hover { border-color: #14213d; }
.oq__tab[aria-selected="true"] { background: #14213d; border-color: #14213d; color: #fffdf8; font-weight: 700; }
.oq__panel { flex: none; }
.oq__panel:focus-visible { outline: 3px solid #14213d; outline-offset: 4px; border-radius: 8px; }
.oq__name { margin: 4px 0 4px; font: 700 clamp(1.5rem, 2.4vw, 2.3rem)/1.1 Georgia, "Times New Roman", serif; color: #14213d; }
.oq__lede { margin: 0 0 12px; font: 400 clamp(1rem, 1.3vw, 1.25rem)/1.4 Georgia, "Times New Roman", serif; color: #1f2a44; max-width: 46em; }
.oq__photo { display: block; width: 100%; height: clamp(170px, 30svh, 290px); object-fit: cover; object-position: 50% 50%; border-radius: 12px; background: #e9dfcc; box-shadow: 0 0 0 1px #d9c9a3; }
.oq__photo--flyer { height: auto; max-width: 720px; object-fit: contain; margin: 0 auto; border-radius: 6px; background: #fff; }
.oq__points { margin: 12px 0 0; padding-left: 1.2em; font-size: 1.05rem; line-height: 1.5; color: #1f2a44; }
.oq__points[hidden] { display: none; }
.oq__points li + li { margin-top: 4px; }
.oq__specs { flex: none; border: 1.5px solid #c9b684; border-radius: 12px; background: #fffdf8; }
.oq__specs summary { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 18px; cursor: pointer; font: 500 1.15rem/1 Georgia, "Times New Roman", serif; color: #14213d; list-style: none; }
.oq__specs summary::-webkit-details-marker { display: none; }
.oq__specs summary::after { content: "+"; font-size: 1.5rem; line-height: 1; }
.oq__specs[open] summary::after { content: "–"; }
.oq__specs ul { margin: 0; padding: 4px 18px 14px 36px; font-size: .95rem; line-height: 1.5; color: #2c3443; }
.oq__specs li + li { margin-top: 6px; }
.oq__ask { flex: none; margin: 2px 0 0; text-align: center; }
.oq__cta { min-height: 58px; padding: 0 42px; border: 0; border-radius: 999px; background: #0f2a52; color: #fff; font: 600 1.25rem/1 Georgia, "Times New Roman", serif; cursor: pointer; box-shadow: 0 10px 24px rgb(15 42 82 / .3); }
.oq__cta:hover { background: #163a6e; }
.oq button:focus-visible, .oq summary:focus-visible { outline: 3px solid #14213d; outline-offset: 3px; }
.oq .oq__tag:focus-visible { outline: 3px solid #14213d; outline-offset: 2px; }
@media (max-width: 900px) {
  .oq { width: calc(100vw - 16px); height: calc(100svh - 16px); border-radius: 18px; }
  .oq__head { grid-template-columns: auto minmax(0, 1fr) auto; padding: 10px 10px 6px; }
  .oq__titles { text-align: left; }
  .oq__body { display: block; overflow-y: auto; overscroll-behavior: contain; padding: 10px 12px 18px; }
  .oq__board { height: auto; width: min(230px, 62%); margin: 0 auto 12px; }
  .oq__tag { font-size: 11px; min-height: 26px; }
  .oq__detail { overflow: visible; padding: 0; }
  .oq__tab { padding: 0 14px; font-size: 1rem; }
  .oq__cta { width: 100%; padding: 0 14px; font-size: 1.1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .oq[open] { animation: oq-in 240ms ease-out; } @keyframes oq-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
  .obuild__img { transition: filter 160ms ease; } .obuild__tag, .oq__tab { transition: background-color 140ms ease, color 140ms ease; }
}
.oq[data-section="energy"] .oq__photo { object-fit: contain; background: #223; }
/* the right-hand tags end at the board's edge, clear of the French doors at every size */
.obuild__tag--roof, .obuild__tag--frame, .obuild__tag--windows { left: auto; right: 17.5%; }
.oq .obuild__tag--roof, .oq .obuild__tag--frame, .oq .obuild__tag--windows { right: auto; }
.oq__tag--roof { left: 62%; } .oq__tag--frame { left: 66%; } .oq__tag--windows { left: 60%; }
@media (max-width: 900px) { .oq__title { font-size: 1.7rem; } .oq__sub { font-size: 1rem; } .oq__back { font-size: .95rem; padding-right: 6px; } }
.obuild__tag--frame { top: 55.8%; }
.oq .obuild__tag--frame { top: 46%; }
.office__buildbtn .obuild__img { filter: none; }
