#work {
  padding-bottom:clamp(16px,2.5vw,36px);
  background:linear-gradient(180deg,var(--studio-lab-blue,#273266) 0%,#202744 39%,#273266 73%,#3049d7 100%);
}
#work + #side {
  min-height:0;
  padding-block:clamp(30px,4vw,58px) clamp(50px,6vw,90px);
}
#work + #side .bridge-inner { padding-block:0; }
#work > .concept-collection {margin-top:clamp(24px,4vw,58px)}
.lab-sequence-connector {
  position:relative;width:2px;height:clamp(22px,3.6vw,52px);margin:0 auto 10px;
  background:linear-gradient(to bottom,#f4a47888 0%,#d2f662 70%,#d2f66233 100%);
  box-shadow:0 0 12px #d2f66270;
}
.lab-sequence-connector::after {
  content:"";position:absolute;left:50%;bottom:0;width:7px;height:7px;border-radius:50%;
  background:#d2f662;box-shadow:0 0 11px 3px #d2f66288;
  transform:translate(-50%,50%);animation:lab-connector-glow 3.6s ease-in-out infinite;
}
.lab-kantel-heading {margin-bottom:14px}
.lab-kantel-heading p {max-width:57ch;line-height:1.5}
.lab-kantel-heading .lab-kantel-open {color:#d2f662;font-size:.9rem;white-space:nowrap}
@media (max-height:420px) and (max-width:750px) {
  .lab-kantel-heading {align-items:center;gap:.25rem .6rem;padding-bottom:8px;margin-bottom:10px}
  .lab-kantel-heading h3 {font-size:1.65rem}
  .lab-kantel-heading p {font-size:.82rem;line-height:1.3}
  .lab-kantel-heading .lab-kantel-open {display:inline-flex;align-items:center;min-height:32px}
}
@media (prefers-reduced-motion: no-preference) {
  .lab-kantel-reveal[data-panel-height] {
    height: calc(var(--scroll-entry, 1) * var(--kantel-panel-height));
    overflow: clip;
    overflow-anchor: none;
    transition: height 190ms cubic-bezier(.22,.65,.3,1);
  }
  .lab-kantel-reveal[data-panel-height]:has(> .lab-kantel:is(:focus-within,:target,[data-frame-focus])),
  body:not([data-kantel-scroll]) #work:has(~ #side:target, ~ #contact:target) .lab-kantel-reveal[data-panel-height] {
    height: auto;
    overflow: visible;
    transition: none;
  }
  #work + #side { overflow-anchor: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lab-sequence-connector::after { animation: none; }
}
.lab-kantel {
  container-type:inline-size;
  margin-top:0;
  overflow:hidden;border:1px solid #e8d6ed35;border-radius:12px;background:#25294e;
}
.lab-kantel-frame {display:block;width:100%;height:auto;aspect-ratio:1672 / 941;border:0;background:#d6d1cb}
@container (max-width:600px) {
  /* Reserve the 44px colour row and its 8px padding on each side inside the frame. */
  .lab-kantel-frame { height:calc(100cqw * 941 / 1672 + 60px); background:#e9e5e0 }
}
.lab-kantel-controls {display:flex;align-items:center;flex-wrap:wrap;gap:.85rem 1.45rem;padding:clamp(16px,2vw,34px)}
.lab-kantel-controls > div {margin-right:auto}
.lab-kantel-controls h3 {margin:0 0 .22rem;font-size:clamp(1.4rem,2.5vw,2.8rem);letter-spacing:-.04em}
.lab-kantel-controls p {margin:0;font-size:.91rem;color:#e0d7e5}
.lab-kantel-controls > a:not(.lab-enquiry) {color:#d2f662;font-size:.9rem}
@keyframes lab-connector-glow {50% {box-shadow:0 0 15px 5px #d2f662aa}}
#lab-landings {scroll-margin-top:clamp(95px,11vw,150px)}
.landing-gallery {border:1px solid #e8d6ed35;border-radius:12px;overflow:hidden;background:#241c2d}
.landing-tabs {display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.landing-tabs button {
  padding:clamp(12px,1.7vw,24px);min-height:57px;border:0;border-right:1px solid #e8d6ed35;cursor:pointer;
  text-align:left;background:#241c2d;color:#e8dfed;position:relative
}
.landing-tabs button:focus-visible {z-index:1;outline:2px solid #d2f662;outline-offset:-4px}
.landing-tabs button:last-child {border-right:0}
.landing-tabs button[aria-selected="true"] {color:#f8f0e2;background:#372a41}
.landing-tabs button[aria-selected="true"]::after {content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#f4a478}
.landing-tabs button span {display:block;font-size:clamp(.97rem,1.7vw,1.38rem);font-weight:650}
.landing-tabs button small {display:block;color:#c7b9cd;margin-top:3px}
.landing-mobile-select {display:none}
.landing-process {
  display:flex;align-items:center;justify-content:space-between;gap:.65rem 1rem;flex-wrap:wrap;
  padding:.7rem clamp(12px,1.8vw,27px);background:#1b1522;border-block:1px solid #e8d6ed29
}
.landing-phases,.landing-stage-actions {display:flex;align-items:center;flex-wrap:wrap;gap:.3rem}
.landing-phases .phase-short {display:none}
.landing-stage-actions {gap:.4rem 1rem}
.landing-phases button,.landing-build,.landing-open {padding:.4rem .55rem;border:0;color:#d6c7dc;cursor:pointer;font-size:.86rem}
.landing-phases [aria-pressed="true"] {background:#463047;color:#fff4e5;border-radius:20px}
.landing-build {color:#f8b993}
.landing-open {color:#f8b993;border:1px solid #f8b9937a;border-radius:20px;padding-inline:.82rem}
[data-stage="page"] .landing-open {color:#1c1521;background:#f8b993;border-color:#f8b993}
.landing-build:hover,.landing-open:hover {text-decoration:underline}
.landing-build span,.landing-open span {margin-left:.4rem}
.landing-narration {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.landing-stage {position:relative;height:clamp(430px,41vw,595px);background:#2b2033;overflow:hidden}
.landing-panel,.landing-study {height:100%}
.landing-gallery [hidden] {display:none}
.landing-origin {
  display:none;position:absolute;inset:0;align-items:center;overflow:hidden;
  background:radial-gradient(ellipse at 75% 45%,#49304a 0%,transparent 57%),#2b2033
}
[data-stage="brief"] .landing-origin {display:flex}
.landing-origin-visual {
  position:absolute;right:6%;top:50%;width:38%;height:75%;overflow:hidden;
  transform:translateY(-50%);border-radius:47% 53% 52% 48% / 43% 47% 53% 57%;
  box-shadow:0 0 0 1px #f3d6c052,0 20px 65px #100c1699;
  animation:landing-window-in .7s cubic-bezier(.18,.7,.24,1) both
}
.landing-origin-visual::after {
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(140deg,#f8c7a517 0%,transparent 38%,#2117254d 100%)
}
.landing-origin-visual img {display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.landing-brief {
  position:relative;z-index:1;padding:1.3rem 0 1.3rem clamp(28px,5vw,80px);
  width:59%;animation:landing-in .46s ease both
}
.landing-brief strong {color:#fad5be;display:block;font:500 clamp(3.4rem,7.3vw,7.5rem)/.94 Georgia,serif;letter-spacing:-.075em;text-wrap:balance}
.landing-brief p {color:#f4e7f3;margin:1.4rem 0 0;max-width:37ch;font-size:clamp(.98rem,1.5vw,1.24rem);line-height:1.5}
.landing-study img {
  display:block;width:100%;height:100%;object-fit:cover;object-position:center 53%;
  animation:landing-in .55s cubic-bezier(.18,.7,.24,1) both;
}
[data-theme="snit"] .landing-study img {object-position:center 65%}
.landing-live {
  position:absolute;inset:0;width:100%;height:100%;border:0;pointer-events:none;
  opacity:0;transition:opacity .36s ease
}
.landing-live.is-ready {opacity:1}
[data-stage="page"] .landing-live.is-ready {pointer-events:auto}
@keyframes landing-in {from {opacity:0;transform:translateY(6px)} to {opacity:1;transform:none}}
@keyframes landing-window-in {from {opacity:0;transform:translateY(calc(-50% + 15px)) scale(.96)} to {opacity:1;transform:translateY(-50%) scale(1)}}
@media(max-width:720px) {
  .landing-tabs {grid-template-columns:repeat(3,minmax(0,1fr))}
  .landing-tabs button:nth-child(3) {border-right:0}
  .landing-tabs button:nth-child(-n+3) {border-bottom:1px solid #e8d6ed35}
  .landing-origin {align-items:flex-end}
  .landing-origin-visual {top:5%;right:-6%;width:59%;height:36%;transform:none;opacity:.75;animation:none}
  .landing-brief {width:100%;padding:0 8% 9%;}
  .landing-brief strong {max-width:12ch;font-size:clamp(3.2rem,10vw,5.3rem)}
  .landing-brief p {max-width:34ch;margin-top:1rem;font-size:1rem}
}
@media(max-width:600px) {
  .landing-tabs {display:none}
  .landing-mobile-select {
    display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;
    min-height:64px;padding:10px 14px;background:#30263a;
  }
  .landing-mobile-select label {font-size:.78rem;letter-spacing:.02em;color:#e0c9d9}
  .landing-mobile-select select {
    width:100%;min-height:44px;padding:8px 32px 8px 12px;
    border:1px solid #f4a478a6;border-radius:6px;
    color:#fff3e6;background:#211a2a;
    font:650 .88rem/1.2 system-ui,sans-serif;
    color-scheme:dark;
  }
  .landing-mobile-select select:focus-visible {outline:2px solid #d2f662;outline-offset:2px}
  .landing-process {gap:8px;padding:12px 14px}
  .landing-phases {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:3px}
  .landing-phases button {padding:10px 4px;min-height:44px;text-align:center;font-size:.79rem}
  .landing-stage-actions {width:100%;justify-content:space-between;gap:6px}
  .landing-build,.landing-open {min-height:44px;display:inline-flex;align-items:center;font-size:.82rem}
  .landing-origin-visual {top:2%;right:-2%;width:55%;height:37%}
  .landing-brief {padding-bottom:8%}
}
@media(max-width:360px) {
  .landing-mobile-select {grid-template-columns:1fr;gap:4px}
  .landing-phases {grid-template-columns:repeat(4,minmax(0,1fr))}
  .landing-phases .phase-full {
    position:absolute;width:1px;height:1px;overflow:hidden;
    clip-path:inset(50%);white-space:nowrap;
  }
  .landing-phases .phase-short {display:inline}
}
@media(prefers-reduced-motion:reduce) {
  .lab-sequence-connector::after {animation:none}
  .landing-live {transition:none}
  .landing-brief,.landing-study img,.landing-origin-visual {animation:none}
}
