/* Selected work: one website at a time, with its placard beside the laptop. */


.ws { display: grid; grid-template-columns: 48px minmax(0, 770px) minmax(260px, 320px) 48px; justify-content: center; gap: 12px; align-items: center; margin-top: 24px; }

/* ---------- Laptop ---------- */
.ws-stage { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.ws-laptop { position: relative; width: min(100%, 770px); }
.ws-device { display: block; width: 100%; height: auto; pointer-events: none; }
.ws-screen { position: absolute; z-index: 1; top: 9.28%; left: 8.33%; width: 83.33%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; background: var(--screen, #111); touch-action: pan-y; }
.ws-screen::after { content: ''; position: absolute; z-index: 3; inset: 0; background: #111411; opacity: 0; pointer-events: none; transition: opacity .22s ease-in-out; }
.ws.is-switching .ws-screen::after { opacity: 1; }
.ws-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; opacity: 0; user-select: none; -webkit-user-drag: none; }
.ws-poster.is-current { opacity: 1; }
.ws-frame { position: absolute; top: 0; left: 0; width: 1200px; height: 750px; border: 0; transform: scale(var(--ws-scale, 0.5)); transform-origin: 0 0; background: #fff; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .3s ease, visibility 0s linear .3s; }
.ws-frame.is-active.is-ready { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .3s ease, visibility 0s; }
.ws.is-switching .ws-frame { transition: none; }

/* Hidden source data for the selected site */
.ws-list, .ws-list[hidden] { display: none; }
.ws-item { overflow: hidden; border-radius: 16px; background: var(--bg); color: var(--ink); }
.ws-placard--cblends { position: relative; isolation: isolate; overflow: hidden; border: 1px solid rgba(212,178,90,.72); background: #100f0d; box-shadow: 0 0 0 2px rgba(212,178,90,.12), inset 0 0 0 1px rgba(255,241,199,.08); }
.ws-placard--cblends::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 65% 80% at 20% 0%,rgba(222,181,82,.22),transparent 75%); animation: ws-cblends-glow 5s ease-in-out infinite alternate; }
.ws-placard--cblends::after { content: ''; position: absolute; inset: 0; padding: 2px; border-radius: inherit; pointer-events: none; background: conic-gradient(from var(--cblends-angle),transparent 0 72%,rgba(240,204,117,.2) 78%,#f7df9d 84%,rgba(240,204,117,.2) 90%,transparent 96%); -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: ws-cblends-edge 7s linear infinite; }
@property --cblends-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes ws-cblends-glow { to { opacity: .45; } }
@keyframes ws-cblends-edge { to { --cblends-angle: 360deg; } }
.ws-placard--cblends .ws-type { color: #d4b25a; }
.ws-placard--cblends .ws-desc { color: #d0cbc1; }
.ws-item__h { margin: 0; font: inherit; }
.ws-item__btn { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 68px; padding: 10px 20px; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.ws-item__btn:focus-visible, .ws-visit:focus-visible, .ws-arrow:focus-visible { outline: 2px solid #050505; outline-offset: 3px; }
.ws-item__btn .ws-title { flex: 1; min-width: 0; }
.ws-icon { flex: none; width: 16px; height: 16px; }
.ws-item.is-active .ws-icon .v { display: none; }
.ws-item__panel { display: flex; flex-direction: column; gap: 10px; padding: 0 20px 20px; }
.ws-item__panel[hidden] { display: none; }
.ws-type { margin: 0; color: var(--sub); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ws-desc { margin: 0; color: var(--sub); font-size: 14px; line-height: 1.55; text-wrap: pretty; }
.ws-visit { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 4px; padding: 0 20px; border-radius: 999px; background: var(--accent); color: var(--accent-ink) !important; font-size: 14px; font-weight: 500; text-decoration: none; }
.ws-visit:hover { filter: brightness(1.08); }

/* Website controls and placard */
.ws-arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #bdb8b0; border-radius: 50%; background: #e8e6e2; color: #050505; cursor: pointer; }
.ws-arrow--prev { transform: translateX(-20px); }
.ws-arrow--next { transform: translateX(20px); }
.ws-arrow:hover { background: #dcd9d3; }
.ws-placard { display: flex; width: 100%; box-sizing: border-box; flex-direction: column; align-self: center; gap: 8px; padding: 18px 16px; border-radius: 16px; background: var(--bg); color: var(--ink); transition: opacity .22s ease-in-out; }
.ws.is-switching .ws-placard { opacity: 0; }
.ws-placard .ws-title { margin: 0; }
.ws-placard .ws-type { font-size: 10px; }
.ws-placard .ws-desc { font-size: 12.5px; }
.ws-placard .ws-visit { min-height: 44px; padding-inline: 16px; font-size: 13px; }
.ws-placard .ws-title--sprunggo { font-size: 30px; }
.ws-placard .ws-title--cblends { font-size: 28px; }
.ws-placard .ws-title--crisp .ws-t { font-size: 23px; }
.ws-placard .ws-title--crisp img { width: 40px; height: 29px; }
.ws-placard .ws-title--rh { font-size: 25px; }
.ws-placard .ws-title--rh img { width: 25px; height: 25px; }
.ws-item[data-name="Crisp on Creek"], .ws-placard--crisp {
  position: relative;
  background: linear-gradient(145deg, #e4f0e8 0%, #d8eadd 46%, #f3f1e6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 0 0 1px rgba(23, 64, 43, .08);
}
.ws-item[data-name="Crisp on Creek"]::before, .ws-placard--crisp::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #4c9b6d, rgba(76, 155, 109, .2));
  pointer-events: none;
}

/* ---------- Site titles (each in the site's own type) ---------- */
.ws-title { display: inline-flex; align-items: center; }
.ws-title--sprunggo { gap: .2em; align-items: baseline; font: 900 36px/.9 'Barlow Condensed', Impact, sans-serif; letter-spacing: -.025em; text-transform: uppercase; color: #151515; transform: skewX(-7deg); transform-origin: left bottom; }
.ws-title--cblends { align-items: baseline; gap: .015em; font: 700 34px/1 'Playfair Display', Georgia, serif; letter-spacing: -.045em; color: #C9A84C; }
.ws-title--cblends .ws-c { color: #f0ece4; }
.ws-title--cblends .ws-blends { color: #e8bd5a; }
.ws-title--crisp { gap: 12px; }
.ws-title--crisp img { flex: none; width: 48px; height: 35px; object-fit: contain; }
.ws-title--crisp .ws-t { font: italic 600 27px/1.05 'Playfair Display', Georgia, serif; letter-spacing: -.02em; }
.ws-title--rh { gap: 9px; color: #202329; font: 600 30px/1.1 'DM Sans', Arial, sans-serif; letter-spacing: -.055em; }
.ws-title--rh img { flex: none; width: 30px; height: 30px; object-fit: contain; filter: brightness(0); transform-origin: 50% 8%; }

/* Title effects — only on the open site */
.is-active .ws-title--sprunggo, .ws-placard .ws-title--sprunggo { animation: ws-bounce 2.4s cubic-bezier(.3, .7, .4, 1) infinite; }
.ws-placard .ws-title--crisp .ws-t { position: relative; display: inline-block; }
.ws-placard .ws-title--crisp .ws-t::after { content: ''; position: absolute; left: 3%; right: 4%; bottom: -8px; height: 5px; border-bottom: 2px solid rgba(42, 119, 74, .8); border-radius: 0 0 60% 55%; transform-origin: left center; animation: ws-crisp-stroke .85s cubic-bezier(.18,.7,.2,1) .12s both; }
.is-active .ws-title--rh img, .ws-placard .ws-title--rh img { animation: ws-bob 3s ease-in-out infinite; }
.is-active .ws-title--rh .ws-harbour, .ws-placard .ws-title--rh .ws-harbour { background: linear-gradient(100deg, #202329 0%, #202329 35%, #7650a7 46%, #b98afa 54%, #202329 65%, #202329 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: ws-sheen 4s linear infinite; }

@keyframes ws-bounce { 0%, 100% { transform: skewX(-7deg) translateY(0) scale(1, 1); } 12% { transform: skewX(-7deg) translateY(0) scale(1.08, .86); } 32% { transform: skewX(-7deg) translateY(-12px) scale(.94, 1.08); } 52% { transform: skewX(-7deg) translateY(0) scale(1.06, .92); } 66% { transform: skewX(-7deg) translateY(-3px) scale(.99, 1.02); } 78% { transform: skewX(-7deg) translateY(0) scale(1, 1); } }
@keyframes ws-sheen { from { background-position: 100% 0; } to { background-position: 0% 0; } }
@keyframes ws-crisp-stroke { from { opacity: .25; transform: rotate(-1.5deg) scaleX(0); } to { opacity: 1; transform: rotate(-1.5deg) scaleX(1); } }
@keyframes ws-bob { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(7deg) translateY(2px); } }

/* ---------- Phone / tablet ---------- */
@media (max-width: 999px) {
  .ws { position: relative; grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; margin-top: 8px; }
  .ws-arrow { position: absolute; z-index: 2; top: clamp(125px, 37vw, 220px); }
  .ws-arrow--prev { left: -12px; transform: none; }
  .ws-arrow--next { right: -12px; transform: none; }
  .ws-placard { width: min(100%,320px); justify-self: center; align-self: center; }
  .ws-stage { align-items: center; padding-top: 36px; }
  .ws-laptop { width: min(100%, 560px); }
  .ws-screen { cursor: grab; }
  .ws-placard .ws-title--sprunggo { font-size: 34px; }
  .ws-placard .ws-title--cblends { font-size: 32px; }
  .ws-placard .ws-title--crisp .ws-t { font-size: 25px; }
  .ws-placard .ws-title--crisp img { width: 43px; height: 31px; }
  .ws-placard .ws-title--rh { font-size: 28px; }
  .ws-placard .ws-title--rh img { width: 28px; height: 28px; }
}

@media (max-width: 600px) {
  .ws-stage { padding-top: 8px; }
  .ws-arrow { top: clamp(92px,27vw,140px); width: 44px; height: 44px; box-shadow: 0 4px 12px rgba(5,5,5,.1); }
  .ws-placard { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; width: min(100%,334px); gap: 3px 10px; padding: 8px 8px 8px 16px; border-radius: 14px; }
  .ws-placard__title { grid-column: 1; grid-row: 1; min-width: 0; }
  .ws-placard .ws-item__panel { display: contents; }
  .ws-placard .ws-type { font-size: 9px; }
  .ws-placard .ws-type { grid-column: 1; grid-row: 2; white-space: nowrap; }
  .ws-placard .ws-desc { display: none; }
  .ws-placard .ws-visit { grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: center; margin: 0; padding-inline: 14px; font-size: 12px; white-space: nowrap; }
  .ws-placard .ws-title--sprunggo { font-size: 23px; }
  .ws-placard .ws-title--cblends { font-size: 22px; }
  .ws-placard .ws-title--crisp .ws-t { font-size: 17px; }
  .ws-placard .ws-title--crisp img { width: 26px; height: 19px; }
  .ws-placard .ws-title--rh { font-size: 19px; }
  .ws-placard .ws-title--rh img { width: 19px; height: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .ws-title, .ws-title * { animation: none !important; }
  .ws-placard .ws-title--crisp .ws-t::after { animation: none; transform: rotate(-1.5deg) scaleX(1); }
  .ws-placard--cblends::before, .ws-placard--cblends::after { animation: none; }
  .ws-frame, .ws-screen::after, .ws-placard { transition: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
