/* Portfolio, product studies and their live interfaces. */
.xp-page {color:#0c3032}
.xp-page .xp-label {color:#48605b;font:650 .86rem/1.35 var(--reading);letter-spacing:.025em;text-transform:none;margin:0 0 .95rem}
.xp-jump {display:inline-flex;align-items:center;gap:.8rem;min-height:44px;font-size:.95rem;font-weight:650;text-decoration:underline;text-underline-offset:.32em}
.xp-jump:hover {color:#9e3b26}
.xp-specimen-bar {display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem 0;border-top:1px solid #80938c;border-bottom:1px solid #b5c3ba}
.xp-specimen-bar h2 {margin:0;font:650 .96rem/1.4 var(--reading);letter-spacing:-.015em}
.xp-specimen-bar h2 > span {display:inline-block;margin-left:.72rem;padding-left:.72rem;border-left:1px solid #aeb8af;color:#52635d;font-weight:440}
.xp-page .xp-project-switch {padding:0;border:0;border-radius:0;gap:1.15rem;flex-shrink:0}
.xp-page .xp-project-switch button {position:relative;padding:.4rem 0;color:#485a56;font-size:.86rem;font-weight:600;background:transparent;border-radius:0;min-height:44px}
.xp-page .xp-project-switch button[aria-selected="true"] {color:#143a37;background:transparent}
.xp-page .xp-project-switch button[aria-selected="true"]::after {position:absolute;content:"";height:2px;inset:auto 0 4px;background:#a53723}
.xp-page .xp-footnote {font-size:.77rem;line-height:1.42;margin:.7rem 0 0;color:#53645d}
.xp-column {display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(2rem,7vw,7rem);align-items:start;margin-block:clamp(4rem,7.6vw,7.5rem)}
.xp-column h2,.xp-end h2 {font:600 clamp(2.25rem,4.7vw,4.45rem)/1 var(--display);letter-spacing:-.012em;margin:0}
.xp-formats {margin:0;border-top:1px solid #a6b3a9}
.xp-formats > div {display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1fr);gap:1.3rem;padding:1.5rem 0;border-bottom:1px solid #d2d7cd}
.xp-formats dt {font-size:clamp(1.23rem,1.6vw,1.5rem);font-weight:620;letter-spacing:-.012em;line-height:1.15}
.xp-formats dd {margin:0;color:#40534d;line-height:1.55}
.xp-end {margin-block:clamp(3.4rem,6vw,6rem);padding-block:clamp(2rem,4vw,3.7rem);border-block:1px solid #a8b8ae;display:flex;align-items:center;justify-content:space-between;gap:2rem}
.xp-end h2 {font-size:clamp(2rem,4vw,3.6rem)}.xp-end p,.xp-intro {max-width:47ch;color:#37524c;margin:.8rem 0 0;line-height:1.55}
.xp-end .button {flex:none}
.xp-prototype .xp-booking,.xp-prototype .xp-wire {margin-top:.7rem;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);background:#faf7ed}
.xp-book-sheet,.xp-wire-notes {align-self:center;padding:clamp(1.6rem,3.4vw,3rem);color:#263a32}
.xp-book-head h3,.xp-wire-notes h3 {font:600 clamp(2rem,3.1vw,3.2rem)/1.02 var(--display);letter-spacing:-.012em;max-width:17ch}
.xp-book-head>p:last-child {margin:.8rem 0 1.2rem;line-height:1.52;color:#425147;max-width:38ch}
.xp-book-form fieldset {border:0;padding:0;margin:0;min-width:0}
.xp-book-form legend {font-size:.88rem;font-weight:615;margin-bottom:.52rem}
.xp-times {display:flex;flex-wrap:wrap;gap:.4rem}
.xp-times label {position:relative;margin:0;cursor:pointer}
.xp-times input {position:absolute;z-index:1;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.xp-times input + span {display:grid;place-items:center;min-height:44px;padding:.45rem .7rem;border:1px solid #9fa998;font-size:.86rem;border-radius:.32rem;color:#293d32;background:#f8f6ed}
.xp-times input:checked + span {border:2px solid #244737;background:#dce7d7;padding-inline:calc(.7rem - 1px);font-weight:650}
.xp-times input:focus-visible+span {outline:3px solid #934028;outline-offset:3px}
.xp-book-form [data-book] {display:inline-flex;align-items:center;gap:.8rem;justify-content:space-between;width:100%;max-width:20rem;min-height:45px;padding:.6rem .9rem;border:0;border-radius:.32rem;margin-top:1rem;color:#fff;background:#254739;cursor:pointer;font-size:.94rem;font-weight:620}
.xp-book-form [data-book]:hover {background:#183327}
.xp-book-form .xp-book-result {margin-top:.6rem;min-height:2.45em;font-size:.84rem;color:#385341;font-weight:580}
.xp-wire {padding:clamp(1.4rem,3.5vw,3rem);align-items:center;gap:1.2rem;min-height:27rem}
.xp-wire-sheet {max-width:22rem;width:100%;justify-self:center;display:grid;gap:.6rem;padding:1.3rem;background:#f7f7ef;border:1px solid #989f90}
.xp-wire-sheet>strong {font-size:1.4rem;line-height:1.1}
.xp-wire-sheet>span,.xp-wire-slots b,.xp-wire-cta {font-size:.8rem;color:#435344}
.xp-wire-slots {display:flex;gap:.4rem}
.xp-wire-slots b,.xp-wire-cta {padding:.6rem;border:1px dashed #929d90;font-weight:550}
.xp-wire-cta {background:#dce1d7}
.xp-wire-notes ol {margin:1rem 0 0;padding-left:1.25rem;line-height:1.55}
.xp-service-list {border-top:1px solid #9cab9e}
.xp-service-list details {border-bottom:1px solid #c6d0c4}
.xp-service-list summary {display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:3.9rem;padding:.65rem 0;list-style:none;font-size:clamp(1.2rem,1.7vw,1.65rem);font-weight:550;letter-spacing:-.012em;cursor:pointer}
.xp-service-list summary::after {content:"+";font:400 1.45rem/1 var(--reading);color:#8a422b}
.xp-service-list details[open] summary::after {content:"−"}.xp-service-list summary::-webkit-details-marker {display:none}
.xp-service-list p {max-width:62ch;margin:.1rem 0 1.1rem;color:#40544d;line-height:1.55}
.xp-system-wrap {margin-block:clamp(3.5rem,6vw,6rem)}
.xp-system-wrap .sc-system {background:#edf1e8;border:1px solid #c7d1c4;border-radius:.45rem;padding:clamp(1.3rem,4.5vw,4rem)}
.xp-system-wrap .sc-section-title h2 {font-size:clamp(2.1rem,3.75vw,3.6rem);max-width:19ch}
.xp-system-wrap .sc-map,.xp-system-wrap .sc-ready .sc-system-details {border-radius:.3rem}
@media(max-width:740px){
 .xp-column {grid-template-columns:1fr;gap:1.15rem}
 .xp-specimen-bar {align-items:flex-start;flex-direction:column;gap:.1rem;padding-bottom:0}
 .xp-specimen-bar h2>span {font-size:.8rem}
 .xp-page .xp-project-switch {gap:.92rem;max-width:100%;flex-wrap:wrap}
 .xp-page .xp-project-switch button {font-size:.83rem}
 .xp-end {align-items:flex-start;flex-direction:column;gap:1.1rem}
 .xp-prototype .xp-booking,.xp-prototype .xp-wire {grid-template-columns:1fr}
 .xp-book-sheet,.xp-wire-notes {padding:1.2rem}
 .xp-wire {gap:0;min-height:0}
 .xp-wire-notes {padding:1.1rem 0 .2rem}
 .xp-column h2 br{display:none}
}
@media(max-width:430px){
 .xp-formats>div {grid-template-columns:1fr;gap:.45rem}
 .xp-book-form [data-book]{max-width:none}
 .xp-prototype .xp-specimen-bar h2 span {display:block;border:0;padding:0;margin:0}
}
/* A published website, seen at the two widths used in the case. */
.xp-web-cover {
  display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
  gap:clamp(2rem,4vw,4rem);align-items:center;padding-block:clamp(2.4rem,5vw,5.25rem);
}
.xp-web-copy {max-width:31rem}
.xp-web-copy h1 {font:600 clamp(3.7rem,5.6vw,5.5rem)/1 var(--display);letter-spacing:-.012em;text-wrap:balance}
.xp-web-intro {max-width:40ch;font-size:clamp(1.05rem,1.2vw,1.17rem);line-height:1.52;color:#3a5250;margin:1.25rem 0 .55rem}
.xp-web-preview {min-width:0}
.xp-web-screens {position:relative;isolation:isolate;aspect-ratio:1.58;overflow:hidden;background:#dfe3d3}
.xp-screen-desktop {position:absolute;inset:8% auto auto 6%;width:81%;box-shadow:0 12px 24px #172c242b;border:1px solid #6c7f7170;border-radius:4px}
.xp-screen-mobile {position:absolute;right:5%;bottom:6%;width:20%;box-shadow:0 12px 26px #14271a38;border:2px solid #344640;border-radius:.65rem}
.xp-web-preview figcaption {display:flex;align-items:baseline;justify-content:space-between;gap:.45rem;margin-top:.55rem;font-size:.81rem;line-height:1.4;color:#53645d}
.xp-web-preview figcaption span:first-child {color:#223f3b;font-weight:650}

/* The prototype comes first. The booking sheet is first in both reading and focus order. */
/* Keep the accordions clickable when the next section scrolls into view. */
body:has(.xp-app) > .topbar {position:relative}
.xp-app-stage {background:#f1e7d8;border-bottom:1px solid #d5c9b8;padding-block:clamp(1.7rem,3.8vw,4rem) clamp(1.5rem,2.4vw,2.3rem)}
.xp-app-intro {margin-bottom:clamp(1.15rem,2.5vw,2.1rem)}
.xp-app-intro h1 {font:600 clamp(3.1rem,5.8vw,5.45rem)/.97 var(--display);letter-spacing:-.012em;text-wrap:balance;color:#322b23}
.xp-app-intro>.xp-app-lead {color:#51453c;margin:.8rem 0 0;font-size:clamp(1rem,1.2vw,1.12rem)}
.xp-app-intro .xp-label {color:#704b39}
.xp-app-stage .xp-specimen-bar {border-color:#a9a28d}
.xp-app-stage .xp-project-switch button[aria-selected="true"]::after {background:#82452f}
.xp-book-head .xp-label {color:#73533c;margin-bottom:.6rem}
.xp-book-head h3 {color:#322b23}
.xp-prototype .xp-footnote {color:#554d40}
.xp-service-list > h3 {font:600 1.15rem/1.3 var(--display);color:#3a534a;padding-top:.9rem}
.xp-service-list details+h3 {margin-top:1.25rem}
.xp-usages .xp-jump {margin-top:.6rem}

@media(max-width:740px){
  .xp-web-cover {grid-template-columns:1fr;gap:1.2rem;padding-block:2rem 1.75rem}
  .xp-web-copy h1 {font-size:clamp(2.85rem,8.5vw,4rem);max-width:17ch}
  .xp-web-copy .xp-label,.xp-app-intro .xp-label {margin-bottom:.65rem}
  .xp-web-intro {margin:.8rem 0 .15rem;font-size:1rem}
  .xp-app-stage {padding-block:1.45rem 1.5rem}
  .xp-app-intro h1 {font-size:clamp(2.68rem,8.7vw,4rem);max-width:15ch}
  .xp-app-intro>.xp-app-lead {line-height:1.4;max-width:33ch}
  .xp-app-intro {margin-bottom:.85rem}
  .xp-prototype .xp-specimen-bar {flex-direction:row;align-items:center;gap:.75rem;padding-block:.28rem}
  .xp-prototype .xp-specimen-bar h2>span {display:none}
  .xp-prototype .xp-project-switch {gap:.8rem}
  .xp-prototype .xp-book-sheet {padding:1.2rem}
  .xp-prototype .xp-book-sheet .xp-label {margin-bottom:.45rem}
}
.xp-web-intro {margin-bottom:1.35rem}
.xp-web-preview {scroll-margin-top:6rem}
.xp-web-preview figcaption a {font-weight:620;text-underline-offset:.2em}
.xp-site-study {border-top:1px solid #aeb8aa;padding-top:clamp(2rem,4.7vw,4.2rem)}
.xp-study-intro,.xp-case-note {display:grid;gap:clamp(1.3rem,6vw,5rem);grid-template-columns:1fr 1fr}
.xp-study-intro {align-items:end;margin-bottom:clamp(1.5rem,3vw,2.4rem)}
.xp-study-intro h2 {max-width:16ch;margin:0;font:600 clamp(2.4rem,4.7vw,4.3rem)/1 var(--display)}
.xp-study-intro p,.xp-case-note p,.xp-wire-notes p,.xp-system-wrap .sc-system-details p {max-width:52ch;margin:0;color:#3b4e47;line-height:1.55}
.xp-site-study .xp-specimen-bar {justify-content:flex-start}
.xp-case-note {padding:clamp(1.3rem,3.8vw,3.2rem);background:#eeeadd;color:#263c35;align-items:start}
.xp-case-note h3 {margin:0;max-width:16ch;font:600 clamp(2rem,3.6vw,3.45rem)/1.06 var(--display)}
.xp-case-note .xp-jump {margin-top:.65rem}
.xp-app-intro h1 {max-width:18ch}
.xp-app-intro > .xp-app-lead {max-width:60ch}
.xp-prototype .xp-booking {grid-template-columns:1fr 1fr;border:1px solid #cbc9b8}
.xp-book-form .xp-book-result {min-height:1.6em}
.xp-book-form .xp-book-result:empty {display:none}
.xp-schedule {align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:clamp(1.6rem,3.4vw,3rem);background:#e8e9de;color:#233c34;border-left:1px solid #b7c1af}
.xp-schedule-head h3 {margin:0;font:600 clamp(2rem,3.1vw,3.2rem)/1.02 var(--display)}
.xp-schedule-head .xp-label {color:#46584a;margin:0 0 .6rem}
.xp-schedule table {width:100%;margin-top:.8rem;border-collapse:collapse;font-variant-numeric:tabular-nums}
.xp-schedule caption {padding:0 0 .9rem;text-align:left;color:#405047}
.xp-schedule thead th {font-size:.78rem;color:#44584b;font-weight:600}
.xp-schedule th,.xp-schedule td {padding:.37rem 0;text-align:left;border-bottom:1px solid #adb8a7}
.xp-schedule th:last-child,.xp-schedule td:last-child {text-align:right}
.xp-schedule tbody th {font-weight:570}
.xp-schedule td {font-size:.88rem}
.xp-schedule .is-booked td {color:#1e4633;font-weight:700}
.xp-schedule .is-booked td::before {content:'✓';margin-right:.35rem}
.xp-wire-notes p {margin-top:.8rem}
.xp-system-wrap {border-top:1px solid #b9c3b9}
.xp-system-wrap .sc-system {background:transparent;border:0;padding:0;margin-block:clamp(2rem,5vw,4.2rem)}
.xp-system-wrap .sc-ready .sc-map {display:flex;gap:.45rem;flex-wrap:wrap;background:transparent;border:0;border-bottom:1px solid #a8b8aa;padding:.5rem 0;border-radius:0}
.xp-system-wrap .sc-map button {background:transparent;border:0}
.xp-system-wrap .sc-map button[aria-selected="true"] {background:#16413a;color:#fff}
.xp-system-wrap .sc-map button:nth-child(n) {width:auto;min-height:44px;padding:.4rem .8rem}
.xp-system-wrap .sc-map button::after,.xp-system-wrap .sc-map button::before {display:none}
.xp-system-wrap .sc-system-details {background:#ecefe4;border:0;border-radius:0}
.xp-system-wrap .sc-system-details article + article {margin-top:1rem}
.xp-system-wrap .sc-ready .sc-system-details article {margin:0}
@media(max-width:740px){
 .xp-app-intro h1 {max-width:18ch}
 .xp-study-intro,.xp-case-note {grid-template-columns:1fr;gap:.9rem}
 .xp-web-copy .button {margin-top:.7rem}
 .xp-web-preview {scroll-margin-top:5rem}
 .xp-web-preview figcaption {gap:.6rem;flex-wrap:wrap}
 .xp-prototype .xp-booking {grid-template-columns:1fr}
 .xp-prototype .xp-specimen-bar {flex-wrap:wrap}
 .xp-schedule {padding:1.25rem;border-left:0;border-top:1px solid #b7c1af}
 .xp-schedule-head {display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:baseline;gap:1rem}
 .xp-schedule-head h3 {font-size:1.8rem}
 .xp-schedule-head .xp-label {margin:0}
 .xp-system-wrap .sc-map button:nth-child(n) {font-size:.9rem;padding-inline:.5rem}
}

.xp-proof-links {display:flex;flex-wrap:wrap;gap:.2rem 1.4rem;margin-top:.4rem;}

.xp-book-cancel:not([hidden]) {display:block;min-height:44px;background:transparent;border:0;padding:0 .2rem;color:#70412c;text-decoration:underline;text-underline-offset:.2em;cursor:pointer;}
.xp-demo-title {max-width:56ch;margin-bottom:1.1rem}
.xp-demo-title h2 {margin:0;font:600 clamp(1.6rem,3.2vw,2.7rem)/1.08 var(--display)}
.xp-demo-title p {margin:.5rem 0 0;color:#51453c}
.xp-app-intro .xp-proof-links {margin-block:1rem clamp(2.1rem,4vw,4rem)}
