@import url('./reef.css');
@import url('./reef-shoal.css');
@import url('./reef-coral.css');
@import url('./reef-life.css');
@import url('./service-optics.css');
@import url('./curtain-reveal.css');

:root:has(.experience) {
  color-scheme: dark;
  --night: #090d19;
  --panel: #10182b;
  --ice: #edf2ff;
  --muted: #aebbd5;
  --blue: #abc0ff;
  --line: #788bb64a;
  --chapter-violet: #baa5ff;
  --chapter-cyan: #8ce5dc;
  --chapter-warm: #f5bea6;
  --chapter-lime: #d6ee91;
  --gutter: clamp(24px, 5vw, 112px);
  background: var(--night);
  color: var(--ice);
  font: 400 16px/1.55 Arial, Helvetica, sans-serif;
}
body:has(.experience) { margin: 0; }
.experience *, .experience-header *, .experience-footer * { box-sizing: border-box; }
.experience a, .experience-header a, .experience-footer a { color: inherit; }
.experience :focus-visible, .experience-header :focus-visible, .experience-footer :focus-visible { outline: 2px solid #c1d1ff; outline-offset: 5px; }
.experience-skip { position: fixed; z-index: 20; left: 12px; top: 12px; transform: translateY(-150%); background: #fff; color: #080c16; padding: 12px 20px; }
.experience-skip:focus { transform: none; }
.experience-header {
  position: absolute; z-index: 5; inset: 0 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding: 18px var(--gutter); min-height: 78px; border-bottom: 1px solid var(--line);
}
.experience-wordmark { width: max-content; text-decoration: none; font-weight: 800; font-size: 23px; letter-spacing: -.065em; }
.experience-wordmark span { margin-left: 6px; color: var(--blue); font-weight: 400; }
.experience-nav { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 52px); }
.experience-nav a, .experience-header-action, .experience-header summary, .experience-footer a:not(.experience-wordmark) { font-size: 13px; text-decoration: none; }
.experience-nav a:hover, .experience-header-action:hover, .experience-footer a:hover { text-decoration: underline; text-underline-offset: .24em; }
.experience-header-action { justify-self: end; display: flex; gap: 12px; align-items: center; min-height: 44px; }
.experience-menu { display: none; }
.experience { position: relative; isolation: isolate; }
.experience-visual { position: sticky; z-index: 0; top: 0; height: 100svh; margin-bottom: -100svh; pointer-events: none; }
.experience-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 49%, rgba(var(--story-light, 121, 107, 255), .18) 0%, rgba(var(--story-light, 121, 107, 255), .055) 32%, var(--night) 69%); }
.experience-visual::after {
  content: ""; position: absolute; inset: 27% 9% 18%; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 10% at 46% 54%, rgba(var(--story-light, 124, 130, 255), .30), transparent 84%),
    radial-gradient(ellipse 30% 5% at 66% 55%, #acbaed29, transparent),
    radial-gradient(ellipse 30% 19% at 29% 62%, rgba(var(--story-light, 124, 130, 255), .20), transparent);
  opacity: var(--light-crossing, .24); transform: rotate(var(--light-bank, 11deg));
}
.experience-scene { position: absolute; inset: 0; margin: auto; width: min(47vw, 890px); height: min(91svh, 1000px); display: grid; place-items: center; }
.experience-canvas { position: absolute; inset: 0; z-index: 2; }
.experience-canvas canvas { display: block; width: 100%; height: 100%; }
.experience-scene:has([data-chrome-stage][data-artwork="live"]) .experience-still { visibility: hidden; }
.experience-still { width: 94%; height: 83%; object-fit: contain; }
.experience-orbit { position: absolute; width: 84%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #90a4d328; }
.experience-orbit::after { content: ""; position: absolute; inset: 8%; border: 1px dashed #90a4d320; border-radius: 50%; }
.experience-mobile-s { display: none; }
.experience-chapters { position: relative; z-index: 3; }
.experience-chapter {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.52fr) minmax(0, 1fr);
  align-items: center; min-height: 100svh; padding: clamp(80px, 13svh, 160px) var(--gutter);
  border-bottom: 1px solid var(--line); position: relative; scroll-margin-top: 0;
}
.experience-opening { padding-top: max(96px, 15svh); }
.experience-copy { grid-column: 1; }
.experience-side { grid-column: 3; min-width: 0; margin: 0; }
.experience-opening-actions { align-self: end; padding-bottom: clamp(8px, 6vh, 62px); max-width: 18rem; margin-left: auto; }
.experience-opening-actions > p { font-size: clamp(17px, 1.55vw, 27px); line-height: 1.35; margin: 0 0 24px; }
.experience-label { color: var(--blue); font: 500 11px/1.5 ui-monospace, Consolas, monospace; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 20px; }
.experience-copy > p:not(.experience-label) { color: var(--muted); font-size: clamp(15px, 1.15vw, 19px); max-width: 30ch; margin: 20px 0 0; }
.experience h1, .experience h2 { margin: 0; color: var(--ice); font-weight: 500; letter-spacing: -.085em; line-height: .95; }
.experience h1 { font-size: clamp(53px, 5.45vw, 110px); }
.experience h2 { font-size: clamp(39px, 4.15vw, 92px); }
.experience h1 em, .experience h2 em { display: block; color: #d1dcff; font: italic 400 1.04em/1.03 Georgia, 'Times New Roman', serif; letter-spacing: -.085em; }
.experience-link, .experience-down, .experience-button { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 13px; font-weight: 650; text-decoration: none; }
.experience-link { margin-top: 19px; }
.experience-link, .experience-down { text-decoration: underline; text-underline-offset: .32em; text-decoration-color: #9cafe66e; }
.experience-link:hover, .experience-down:hover { text-decoration-color: currentColor; }
.experience-down { display: flex; width: fit-content; margin-top: 12px; color: var(--muted) !important; }
.experience .experience-button { justify-content: space-between; color: #10182b; background: #eaf0ff; border: 1px solid #eaf0ff; padding: 10px 16px; cursor: pointer; }
.experience .experience-button:hover { color: #eaf0ff; background: #182442; }
.experience-exhibit { padding: 10px; background: #151e31; border: 1px solid var(--line); }
.experience-exhibit img { display: block; width: 100%; height: auto; }
.experience figcaption { font-size: 12px; }
.experience-exhibit figcaption { padding: 10px 3px 1px; }
.experience figcaption span { color: var(--muted); margin-left: 9px; }
.experience-exhibit figcaption span { display: block; margin-left: 0; }
.experience-enquiry ol { list-style: none; margin: 0; padding: 0; }
.experience-enquiry li { display: grid; gap: 3px; border-top: 1px solid var(--line); padding: 12px 0; font-size: 14px; }
.experience-enquiry li span { color: var(--muted); }
.experience-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.experience-quotes figure { margin: 0; padding: 15px 0 21px; border-top: 1px solid var(--line); }
.experience-quotes blockquote { font: 400 clamp(19px, 1.65vw, 27px)/1.32 Georgia, serif; margin: 0 0 12px; }
.experience-package { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; align-items: center; padding: 8px 0 12px; border-top: 1px solid var(--line); }
.experience-package h3, .experience-questions h3 { margin: 0; font-size: 16px; }
.experience-package a { padding: 10px 0; display: inline-flex; gap: 6px; font-size: clamp(15px, 1.35vw, 23px); align-items: center; color: #d1dcff; text-decoration-color: #a5bbef74; text-underline-offset: .2em; white-space: nowrap; }
.experience-package a span { font-size: 11px; }
.experience-package p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; }
.experience-questions h3 { padding-bottom: 12px; }
.experience-questions details { border-top: 1px solid var(--line); }
.experience-questions summary { cursor: pointer; padding: 12px 0; font-size: 14px; }
.experience-questions details p { color: var(--muted); margin: 0 0 12px; font-size: 13px; }
.experience-brief fieldset { padding: 0; border: 0; margin: 0 0 18px; }
.experience-brief legend { padding: 0; font-size: 18px; margin-bottom: 10px; }
.experience-brief label { display: flex; gap: 10px; align-items: center; min-height: 44px; border-top: 1px solid var(--line); cursor: pointer; font-size: 14px; }
.experience-brief input { accent-color: #a9bdff; }
.experience-brief button { width: 100%; }
.experience-footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px 32px; padding: 32px var(--gutter); background: #090c15; }
.experience-footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.experience-footer small { color: var(--muted); font-size: 11px; }
.experience-index { position: sticky; z-index: 4; bottom: 17px; margin: -42px auto 0; width: max-content; display: flex; border: 1px solid var(--line); background: #0a1122e8; padding: 0 9px; border-radius: 32px; }
.experience-index[hidden] { display: none; }
.experience-index a { display: grid; place-items: center; width: 27px; height: 38px; }
.experience-index a span { width: 5px; height: 5px; border: 1px solid #8da3d2; border-radius: 50%; }
.experience-index a[aria-current] span { background: #dce6ff; border-color: #dce6ff; box-shadow: 0 0 8px #a3baff85; }
.experience-index a:hover span { background: #a9bdf1; }
@media (min-width: 930px) {
  .experience-chapter:not(.experience-opening) .experience-copy { max-width: 30rem; }
  .experience-side { width: 100%; max-width: 30rem; justify-self: end; }
  .experience-opening-actions { max-width: 18rem; }
}
@media (max-width: 929px), (pointer: coarse) {
  .experience-header { grid-template-columns: 1fr auto; min-height: 68px; }
  .experience-header-action, .experience-nav, .experience-visual, .experience-index { display: none; }
  .experience-menu { display: block; justify-self: end; }
  .experience-menu summary { cursor: pointer; border: 1px solid var(--line); padding: 8px 13px; }
  .experience-menu nav { position: absolute; right: var(--gutter); top: 64px; display: grid; gap: 3px; width: min(220px,80vw); padding: 10px 18px; background: #111b31; border: 1px solid var(--line); }
  .experience-menu nav a { padding: 9px 0; }
  .experience-chapter { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: clamp(16px, 4vw, 27px); min-height: 0; padding: 48px var(--gutter) 54px; background: radial-gradient(ellipse at 50% 48%, #1e3158 0%, var(--night) 66%); }
  .experience-opening { min-height: min(100svh, 840px); padding-top: 108px; }
  .experience-copy, .experience-side { width: 100%; max-width: 29rem; margin-inline: auto; }
  .experience-opening-actions { align-self: auto; padding: 0; }
  .experience-opening-actions > p { margin-bottom: 14px; }
  .experience h1 { font-size: clamp(51px, 12.5vw, 84px); }
  .experience h2 { font-size: clamp(41px, 10.2vw, 68px); }
  .experience-label { margin-bottom: 12px; }
  .experience-copy > p:not(.experience-label) { margin-top: 15px; }
  .experience-link { margin-top: 9px; }
  .experience-mobile-s { display: block; margin: 0 auto; width: min(82%, 338px); height: clamp(182px, 58vw, 330px); object-fit: contain; }
  .experience-opening .experience-mobile-s { width: min(92%, 364px); height: clamp(216px, 66vw, 360px); }
  .experience-footer { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) { html:has(.experience) { scroll-behavior: smooth; } }

/* The middle column is also the sculpture's keyboard and pointer target. */
.experience-motion-choice { margin-top: 6px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--blue); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: .3em; }
.experience-instrument {
  appearance: none; background: transparent; border: 0; color: var(--ice); padding: 0;
  grid-column: 2; grid-row: 1; align-self: stretch; position: relative; min-width: 0;
  cursor: crosshair; touch-action: pan-y pinch-zoom; -webkit-tap-highlight-color: transparent;
}
.experience-instrument:disabled { cursor: default; }
.experience-instrument:focus-visible { outline-offset: -4px; border-radius: 8px; }
.experience-gesture {
  position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  color: #d7e3ff; background: #101829df; border: 1px solid #788bb65c; border-radius: 30px;
  padding: 6px 12px; font: 500 12px/1.35 system-ui,sans-serif; white-space: nowrap; pointer-events: none;
}
.experience-gesture i { width: 12px; height: 12px; border: 1px solid #c2d4ff; border-radius: 50%; background: radial-gradient(circle, #c2d4ff 0 1.5px, transparent 2px); }
.experience-instrument:disabled .experience-gesture, .gesture-touch { display: none; }
.experience-chapter:not(:first-child) .experience-instrument:not(:hover):not(:focus-visible) .experience-gesture { visibility: hidden; }
.experience-instrument .experience-mobile-s, .experience-still { transform: perspective(650px) rotateX(var(--art-pitch, 0deg)) rotateY(var(--art-yaw, 0deg)); }
.experience-canvas { pointer-events: none; }
.experience-instrument[data-struck="true"] .experience-gesture { color: #fff; border-color: #aabfff; }
.experience-instrument:has([data-artwork="live"]) .experience-mobile-s { visibility: hidden; }
@media (pointer: coarse) {
  .gesture-mouse { display: none; }
  .gesture-touch { display: inline; }
}
@media (max-width: 929px), (pointer: coarse) {
  .experience-instrument { display: grid; place-items: center; align-self: center; width: min(100%, 390px); padding-bottom: 28px; }
  .experience-instrument:disabled { padding-bottom: 0; }
  .experience-instrument .experience-canvas { bottom: 28px; }
  .experience-chapter:not(:first-child) .experience-instrument:not(:disabled) .experience-gesture { visibility: visible; }
  .experience-instrument .experience-mobile-s { pointer-events: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .experience-instrument .experience-mobile-s, .experience-still { transition: transform .12s ease-out; }
}

/* A continuous sculpture, surrounded by eight different editorial compositions. */
.experience-chapter { --chapter-accent: #c3caff; border-bottom: 0; }
.experience #identity { --chapter-accent: var(--chapter-lime); }
.experience #websites { --chapter-accent: var(--chapter-violet); }
.experience #connections { --chapter-accent: var(--chapter-cyan); }
.experience #reviews { --chapter-accent: var(--chapter-warm); }
.experience #investment { --chapter-accent: var(--chapter-lime); }
.experience #process { --chapter-accent: var(--chapter-violet); }
.experience #contact { --chapter-accent: #efe3d5; }
.experience #contact:has(input:checked) { --chapter-accent: rgb(var(--brief-light, 205, 186, 255)); }
.experience-chapter .experience-label { color: var(--chapter-accent); }
.experience-chapter .experience-link { text-decoration-color: color-mix(in srgb, var(--chapter-accent) 55%, transparent); }
.experience-chapter::after { content: ""; position: absolute; inset: auto var(--gutter) 0; height: 1px; background: linear-gradient(90deg, var(--line), transparent 30% 70%, var(--line)); pointer-events: none; }
.experience-exhibit { padding: 0; border: 0; background: none; }
.experience-exhibit img { height: auto; border: 1px solid #b5c4eb24; }
.experience-exhibit figcaption { padding: 14px 0 0; line-height: 1.5; }
.experience-exhibit figcaption span { margin-top: 2px; }
.experience-enquiry li { position: relative; padding: 17px 0 17px 22px; }
.experience-enquiry li::before { content: ""; position: absolute; left: 0; top: 24px; width: 5px; height: 5px; background: var(--chapter-accent); border-radius: 50%; }
.experience-enquiry li + li::after { content: ""; position: absolute; left: 2px; top: -27px; height: 44px; border-left: 1px solid color-mix(in srgb, var(--chapter-accent) 25%, transparent); }
.experience-quotes figure { border-top-color: color-mix(in srgb, var(--chapter-accent) 35%, transparent); }
.experience-quotes figure + figure { margin-top: 23px; }
.experience-quotes figcaption { color: var(--chapter-accent); }
.experience-package { padding-block: 16px 20px; border-top-color: color-mix(in srgb, var(--chapter-accent) 34%, transparent); }
.experience-package h3 { font: 500 11px/1.5 ui-monospace, Consolas, monospace; letter-spacing: .065em; text-transform: uppercase; }
.experience-package a { color: var(--chapter-accent); }
.experience-brief legend { font-family: Georgia, 'Times New Roman', serif; font-size: 26px; letter-spacing: -.035em; }
.experience-brief label { min-height: 53px; }
.experience-brief input { accent-color: var(--chapter-accent); }
.experience-brief label:has(input:checked) { color: var(--chapter-accent); }
.experience-brief label { padding-inline: 9px 12px; }
.experience-brief label:has(input:checked) {
  background: linear-gradient(90deg, rgba(var(--brief-light, 172, 115, 255), .13), transparent);
  box-shadow: inset 2px 0 var(--chapter-accent);
}
.experience-brief label::after { content: ""; flex: none; margin-left: auto; width: 23px; height: 17px; opacity: .46; }
.experience-brief label:has(input:checked)::after { opacity: 1; }
.experience-brief label:has([value="Website"])::after {
  background:
    linear-gradient(currentColor 0 0) left top / 8px 1.5px,
    linear-gradient(currentColor 0 0) left top / 1.5px 7px,
    linear-gradient(currentColor 0 0) right bottom / 8px 1.5px,
    linear-gradient(currentColor 0 0) right bottom / 1.5px 7px;
  background-repeat: no-repeat;
}
.experience-brief label:has([value="Brand"])::after {
  width: 18px; height: 18px; margin-right: 2px; border: 1.5px solid currentColor; border-right-color: transparent;
  border-radius: 50%; transform: rotate(-30deg);
}
.experience-brief label:has([value="Follow-up"])::after {
  background:
    radial-gradient(circle at 15% 81%, currentColor 2.1px, transparent 2.5px),
    radial-gradient(circle at 52% 48%, currentColor 2.1px, transparent 2.5px),
    radial-gradient(circle at 87% 17%, currentColor 2.1px, transparent 2.5px),
    linear-gradient(-35deg, transparent 47%, currentColor 49% 51%, transparent 53%) center / 75% 75% no-repeat;
}

@media (min-width: 930px) and (pointer: fine) {
  .experience-chapter { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); column-gap: clamp(14px, 1.7vw, 30px); min-height: var(--chapter-span, 106svh); padding-block: clamp(92px, 14svh, 170px); }
  .experience-chapter > .experience-copy, .experience-chapter > .experience-side { grid-row: 1; min-width: 0; }
  .experience-chapter .experience-copy { width: 100%; }
  .experience h1 { font-size: clamp(46px, 4.8vw, 108px); line-height: 1.02; }
  .experience h2 { font-size: clamp(32px, 3.4vw, 74px); line-height: 1.04; }
  .experience h1 em, .experience h2 em { color: color-mix(in srgb, var(--chapter-accent) 48%, #f1f3ff); line-height: 1.08; }
  .experience-copy > p:not(.experience-label) { max-width: 26ch; line-height: 1.65; font-size: clamp(14px, 1.04vw, 18px); }
  .experience-chapter .experience-side { max-width: none; }
  .experience-opening { --chapter-span: 100svh; padding-top: max(112px, 19svh); }
  .experience-opening .experience-copy { align-self: start; margin-top: 5svh; }
  .experience-opening-actions { align-self: end; padding: 0 0 2svh; }
  .experience-opening-actions > p { font-size: clamp(17px, 1.5vw, 26px); }
  .experience-instrument { grid-column: 2; grid-row: 1; min-height: 50svh; }
  .experience-instrument:enabled::before {
    content: ""; position: absolute; inset: calc(-1 * clamp(92px, 14svh, 170px)) 0;
  }
  .experience-opening .experience-instrument:enabled::before { top: calc(-1 * max(112px, 19svh)); }
  .experience-gesture { bottom: 4svh; font-size: 11px; padding: 5px 10px; color: #c7d4ee; background: #101829b5; border-color: #788bb635; }

  /* Identity: a low print impression balances the raised, right-hand headline. */
  #identity { --chapter-span: 112svh; }
  #identity .experience-copy { grid-column: 3; align-self: start; margin-top: 5svh; --scene-shift-x: 14px; }
  #identity .experience-exhibit { grid-column: 1; align-self: end; margin-bottom: 5svh; --exhibit-turn: -3deg; --scene-shift-y: 76px; transform: rotate(var(--exhibit-turn)); }
  #identity .experience-exhibit img { box-shadow: -12px 12px 0 #d6ee9114, 0 18px 60px #0004; }

  /* Websites: the untouched 4:3 photograph becomes a high, luminous aperture. */
  #websites { --chapter-span: 108svh; }
  #websites .experience-copy { align-self: end; margin-bottom: 2svh; --scene-shift-x: -12px; }
  #websites .experience-exhibit { align-self: start; margin-top: 2svh; --exhibit-turn: 2deg; --scene-shift-y: 72px; transform: rotate(var(--exhibit-turn)); }
  #websites .experience-exhibit img { box-shadow: 12px -12px 0 #baa5ff19, 0 18px 60px #0004; }
  #websites .experience-label { border-top: 1px solid var(--chapter-accent); padding-top: 13px; width: fit-content; }

  /* Connections: the eye reads down the handoff, then across to the service. */
  #connections { --chapter-span: 104svh; }
  #connections .experience-copy { grid-column: 3; align-self: end; margin-bottom: 3svh; --scene-shift-x: 14px; }
  #connections .experience-enquiry { grid-column: 1; align-self: start; margin-top: 6svh; --scene-shift-y: 62px; }
  #connections .experience-enquiry > .experience-label { margin-bottom: 29px; }
  #connections .experience-enquiry strong { font-weight: 500; font-size: 18px; }

  /* Reviews: a quiet title faces a generous column of client words. */
  #reviews { --chapter-span: 108svh; }
  #reviews .experience-copy { align-self: start; margin-top: 12svh; }
  #reviews .experience-copy h2 { font-size: clamp(40px, 4.4vw, 88px); }
  #reviews .experience-quotes { align-self: end; margin-bottom: 1svh; --scene-shift-y: 66px; }
  #reviews .experience-quotes blockquote { font-size: clamp(20px, 1.8vw, 32px); letter-spacing: -.025em; }
  #reviews .experience-quotes figure:first-child { padding-top: 22px; }
  #reviews .experience-quotes figure:last-child blockquote { font-size: clamp(18px, 1.5vw, 27px); }

  /* Pricing: a clear left-hand list and a late, lower-right introduction. */
  #investment { --chapter-span: 116svh; }
  #investment .experience-copy { grid-column: 3; align-self: end; margin-bottom: 5svh; --scene-shift-x: 14px; }
  #investment .experience-packages { grid-column: 1; align-self: start; margin-top: 2svh; --scene-shift-y: 48px; }
  #investment .experience-package h3 { grid-column: 1 / -1; }
  #investment .experience-package a { grid-column: 1 / -1; width: 100%; justify-content: space-between; font-size: clamp(30px, 3vw, 54px); line-height: 1.15; letter-spacing: -.055em; text-decoration-thickness: 1px; }
  #investment .experience-package a span { font-size: 18px; }

  /* Process: generous negative space leaves room for the native disclosures. */
  #process { --chapter-span: 112svh; }
  #process, #contact { --scene-hold: 60svh; }
  #process .experience-copy { align-self: start; margin-top: 7svh; }
  #process .experience-questions { align-self: end; margin-bottom: 4svh; --scene-shift-y: 42px; }
  #process .experience-questions h3 { font: italic 400 28px/1.2 Georgia, serif; letter-spacing: -.03em; padding-bottom: 22px; }
  #process .experience-questions summary { padding-block: 16px; }

  /* Invitation: the sculpture resolves between a low title and the open brief. */
  #contact { --chapter-span: 100svh; }
  #contact .experience-copy { align-self: end; margin-bottom: 6svh; }
  #contact .experience-copy h2 { font-size: clamp(42px, 4.4vw, 92px); }
  #contact .experience-brief { align-self: start; margin-top: 9svh; padding-top: 20px; border-top: 1px solid var(--chapter-accent); --scene-shift-y: 54px; }

  /* JS supplies only scroll position. No timed loops or hidden static content. */
  .experience[data-story-motion] .experience-chapter > .experience-copy,
  .experience[data-story-motion] .experience-chapter > .experience-side {
    opacity: var(--scene-visibility, 1);
    transform: translate3d(calc(var(--scene-offset, 0) * var(--scene-shift-x, -8px)),
      calc(var(--scene-offset, 0) * (var(--scene-shift-y, 48px) - var(--scene-hold, 83svh))), 0) rotate(var(--exhibit-turn, 0deg));
  }
  .experience[data-story-motion] .experience-chapter > .experience-copy:focus-within,
  .experience[data-story-motion] .experience-chapter > .experience-side:focus-within { opacity: 1; transform: rotate(var(--exhibit-turn, 0deg)); }
}

/* With quiet motion, each chapter owns a still in its central column.
   The final still follows the same native radio selection as the brief. */
@media (min-width: 930px) and (pointer: fine) {
  .experience:has(.experience-instrument:disabled) .experience-visual { display: none; }
  .experience:has(.experience-instrument:disabled) .experience-instrument { display: grid; place-items: center; }
  .experience:has(.experience-instrument:disabled) .experience-instrument img {
    display: block; width: 100%; height: min(70svh, 580px); object-fit: contain;
  }
}

@media (max-width: 929px), (pointer: coarse) {
  .experience-chapter { padding-block: 66px 72px; gap: 25px; }
  .experience-chapter::after { background: linear-gradient(90deg, var(--line), transparent); }
  .experience-opening { padding-top: 110px; padding-bottom: 54px; }
  .experience-chapter .experience-copy > p:not(.experience-label) { max-width: 32ch; }
  .experience-chapter h2 em { color: color-mix(in srgb, var(--chapter-accent) 45%, #edf2ff); }
  #identity { background: radial-gradient(ellipse at 6% 59%, #d6ee9110, transparent 65%); }
  #identity .experience-exhibit { padding-left: 12px; }
  #identity .experience-exhibit img { box-shadow: -12px 12px 0 #d6ee911c; }
  #websites { background: radial-gradient(ellipse at 98% 52%, #baa5ff18, transparent 68%); }
  #websites .experience-exhibit { padding-right: 12px; }
  #websites .experience-exhibit img { box-shadow: 12px -12px 0 #baa5ff24; }
  #connections { background: radial-gradient(ellipse at 8% 60%, #8ce5dc13, transparent 64%); }
  #connections .experience-enquiry { border-left: 1px solid #8ce5dc44; padding-left: 18px; }
  #reviews { background: radial-gradient(ellipse at 100% 57%, #f5bea614, transparent 65%); }
  #reviews .experience-quotes { padding-top: 8px; }
  #reviews .experience-quotes blockquote { font-size: clamp(24px, 6.5vw, 34px); letter-spacing: -.035em; }
  #reviews .experience-quotes figure:last-child { max-width: 88%; margin-left: auto; }
  #reviews .experience-quotes figure:last-child blockquote { font-size: clamp(20px, 5.3vw, 28px); }
  #investment { background: radial-gradient(ellipse at 5% 58%, #d6ee9110, transparent 68%); }
  #investment .experience-package a { font-size: clamp(25px, 6.3vw, 34px); letter-spacing: -.05em; }
  #process { background: radial-gradient(ellipse at 100% 52%, #baa5ff15, transparent 68%); }
  #process .experience-questions h3 { font: italic 400 26px/1.2 Georgia, serif; letter-spacing: -.03em; padding-bottom: 22px; }
  #contact { background: radial-gradient(ellipse at 5% 55%, #efe3d514, transparent 68%); }
  #contact .experience-brief { padding-top: 22px; border-top: 1px solid #efe3d56b; }
}

/* Phones follow the same reversible story when the browser supports view timelines. */
@media (max-width: 929px) and (prefers-reduced-motion: no-preference), (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .experience-chapter > .experience-copy,
    .experience-chapter > .experience-exhibit,
    .experience-chapter > .experience-enquiry,
    .experience-chapter > .experience-quotes { animation: experience-page-reveal linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .experience-chapter > .experience-copy:focus-within,
    .experience-chapter > .experience-side:focus-within { animation: none; opacity: 1; transform: none; }
  }
}
@keyframes experience-page-reveal {
  0% { opacity: .68; transform: translateY(12px); }
  20%, 80% { opacity: 1; transform: translateY(0); }
  100% { opacity: .68; transform: translateY(-12px); }
}

/* Enabled by the motion policy, including an explicit quiet-motion opt-in.
   The only visible S lives in this sticky stage; chapter tracks reserve its space. */
.experience-stage-control {
  appearance: none; position: absolute; z-index: 3; inset: 0; display: block;
  width: 100%; height: 100%; border: 0; border-radius: 12px; padding: 0;
  color: var(--ice); background: transparent; pointer-events: auto;
  cursor: crosshair; touch-action: pan-y pinch-zoom; -webkit-tap-highlight-color: transparent;
}
.experience-stage-control[hidden] { display: none; }
.experience-stage-control:disabled { cursor: default; pointer-events: none; }
.experience-stage-control:focus-visible { outline-offset: -5px; }
.experience-stage-control .experience-gesture { bottom: 0; opacity: .8; }
.experience-stage-control:disabled .experience-gesture { display: none; }
.experience-stage-control[data-struck="true"] .experience-gesture { opacity: 1; border-color: #b3c5ff; }
.experience:is([data-persistent-stage], [data-quiet-stage]):has(.experience-scene) > .experience-visual { display: block; position: sticky; top: 0; height: 100svh; margin-bottom: -100svh; pointer-events: none; }
.experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapters { pointer-events: none; }
.experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter > .experience-copy,
.experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter > .experience-side { pointer-events: auto; }
.experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter > .experience-instrument { display: none; visibility: hidden; pointer-events: none; }
.experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter .experience-instrument img,
.experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter .experience-instrument .experience-canvas,
.experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter .experience-instrument .experience-gesture { display: none; }
.experience:is([data-persistent-stage], [data-quiet-stage]) .experience-instrument:enabled::before { content: none; }

@media (max-width: 929px), (pointer: coarse) {
  .experience:is([data-persistent-stage], [data-quiet-stage]) { --persistent-art-band: clamp(138px, 34svh, 310px); }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-scene {
    width: min(76vw, 380px); height: var(--persistent-art-band); inset: 0; margin: auto;
    pointer-events: none;
  }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-scene > .experience-canvas { inset: 0; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-scene > .experience-still { width: 100%; height: 100%; object-fit: contain; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-orbit { width: min(84%, 30svh); }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-visual::after { opacity: .25; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) :is(#opening, #identity, #websites, #connections, #reviews, #investment, #process, #contact) { background: transparent; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter {
    display: grid; grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(min-content, 1fr) var(--persistent-art-band) minmax(min-content, 1fr);
    align-items: stretch; justify-content: normal; gap: 14px;
    min-height: 100svh; padding: 36px var(--gutter); --scene-hold: 0px;
  }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter > .experience-copy {
    grid-column: 1; grid-row: 1; align-self: end; margin-block: 0; max-width: 29rem;
    --scene-shift-x: 0px; --scene-shift-y: -18px;
    text-shadow: 0 2px 12px var(--night), 0 0 6px var(--night);
  }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter > .experience-side {
    grid-column: 1; grid-row: 3; align-self: start; margin-block: 0; max-width: 29rem;
    --scene-shift-x: 0px; --scene-shift-y: -24px;
  }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter > .experience-instrument {
    display: none; grid-column: 1; grid-row: 2; width: 100%; height: var(--persistent-art-band);
    min-height: 0; padding: 0; margin: 0;
  }
  .experience[data-quiet-stage] .experience-chapter > .experience-instrument {
    display: block; visibility: hidden; pointer-events: none;
  }
  .experience[data-quiet-stage] .experience-scene {
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
    translate: 0 var(--quiet-art-offset, 0px);
  }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-opening { padding-top: 92px; padding-bottom: 54px; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) h1 { font-size: clamp(43px, 11vw, 70px); }
  .experience:is([data-persistent-stage], [data-quiet-stage]) h2 { font-size: clamp(32px, 8.6vw, 52px); }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-label { margin-bottom: 9px; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-copy > p:not(.experience-label) { margin-top: 12px; font-size: 14px; line-height: 1.5; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-link { margin-top: 6px; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-opening-actions { padding: 0; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-opening-actions > p { font-size: 17px; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-exhibit { width: min(100%, 27rem); }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-exhibit figcaption { padding-top: 10px; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) :is(.experience-enquiry, .experience-quotes, .experience-packages, .experience-questions, .experience-brief) { background: #090d19ed; box-shadow: 0 0 24px 12px #090d19c9; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-enquiry li { padding-block: 12px; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-enquiry li::before { top: 19px; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-quotes blockquote { font-size: clamp(21px, 5.7vw, 29px); }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-quotes figure:last-child blockquote { font-size: clamp(19px, 5vw, 25px); }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-package { padding-block: 12px 15px; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-note { margin-top: 11px; line-height: 1.5; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-stage-control .experience-gesture { font-size: 10px; padding: 4px 9px; gap: 6px; }

  /* Shared scene values drive both directions; no competing mobile timeline. */
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter > .experience-copy,
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter > .experience-side { animation: none; }
  .experience:is([data-persistent-stage], [data-quiet-stage])[data-story-motion] .experience-chapter > .experience-copy,
  .experience:is([data-persistent-stage], [data-quiet-stage])[data-story-motion] .experience-chapter > .experience-side {
    opacity: var(--scene-visibility, 1);
    transform: translate3d(0, calc(var(--scene-offset, 0) * var(--scene-shift-y, -18px)), 0);
  }
  .experience:is([data-persistent-stage], [data-quiet-stage])[data-story-motion] .experience-chapter > .experience-copy:focus-within,
  .experience:is([data-persistent-stage], [data-quiet-stage])[data-story-motion] .experience-chapter > .experience-side:focus-within { opacity: 1; transform: none; }
}

@media (max-height: 620px) and (max-width: 929px), (max-height: 620px) and (pointer: coarse) {
  .experience:is([data-persistent-stage], [data-quiet-stage]) { --persistent-art-band: clamp(112px, 30svh, 186px); }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter { gap: 10px; padding-block: 28px; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-opening { padding-top: 88px; padding-bottom: 42px; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-copy > p:not(.experience-label) { line-height: 1.45; }
}

/* Short landscape screens use side columns rather than pushing lists through the S. */
@media (min-width: 600px) and (max-height: 500px) {
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-scene { width: min(42vw, 440px); height: min(72svh, 350px); }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr);
    column-gap: 20px; min-height: 112svh; padding-block: 50px;
  }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter > .experience-copy { grid-column: 1; grid-row: 1; align-self: center; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter > .experience-side { grid-column: 3; grid-row: 1; align-self: center; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-chapter > .experience-instrument { grid-column: 2; grid-row: 1; height: auto; min-height: 54svh; align-self: stretch; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-opening { padding-top: 100px; padding-bottom: 48px; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) h1 { font-size: clamp(34px, 5.4vw, 52px); }
  .experience:is([data-persistent-stage], [data-quiet-stage]) h2 { font-size: clamp(27px, 3.8vw, 36px); }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-copy > p:not(.experience-label) { font-size: 13px; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-opening-actions > p { font-size: 15px; }
  .experience:is([data-persistent-stage], [data-quiet-stage]) .experience-gesture { font-size: 10px; }
}
.experience-scene:has([data-artwork="fallback"]) .experience-still {
  transform: perspective(720px) rotateX(var(--art-pitch, 0deg)) rotateY(calc(var(--art-yaw, 0deg) + var(--scroll-turn, 0deg))) scale(var(--scroll-scale, 1));
}
.experience-water-wave { position: absolute; inset: 0; z-index: 1; overflow: clip; pointer-events: none; }
.experience-water-glow {
  position: absolute; left: var(--water-x, 50%); top: var(--water-y, 50%);
  width: min(100vw, 120svh); aspect-ratio: 1; opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, #7ee9ef48 0%, #388fd323 32%, transparent 69%);
  mix-blend-mode: screen;
}
.experience-water-wave > i {
  position: absolute; width: min(74vw, 92svh); aspect-ratio: 1; border-radius: 50%;
  left: var(--water-x, 50%); top: var(--water-y, 50%); opacity: 0;
  border: 1.5px solid #99f7eaa6;
  box-shadow: inset 0 0 7px #bafbf13b, 0 0 9px #64b6ff30;
}
.experience-water-wave > i + i { border-color: #c5d5ff70; }
