@font-face {
  font-family: SentinelInter;
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

body { margin: 0; background: #f7f1e7; }
.s-motion-page #sentinel-studio {
  display: grid;
  block-size: 100vh;
  block-size: 100svh;
  min-block-size: min-content;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows: auto minmax(min-content, 1fr) auto;
}
#sentinel-studio {
  --paper: #f7f1e7;
  --ink: #1c1914;
  --muted: #675d50;
  --rule: #caba9e;
  --accent: #8b5a1c;
  --stage: 0;
  --apart: 1;
  --gutter: clamp(1.2rem, 4.8vw, 5rem);
  --ease: cubic-bezier(.22,.8,.22,1);
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.45 SentinelInter, Arial, sans-serif;
  container-type: inline-size;
  overflow: clip;
}
#sentinel-studio *, #sentinel-studio *::before, #sentinel-studio *::after { box-sizing: border-box; }
#sentinel-studio button { font: inherit; cursor: pointer; color: inherit; touch-action: manipulation; }
#sentinel-studio button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
#sentinel-studio ::selection { background: #d9ac65; color: #19150f; }
#sentinel-studio[data-concept="wings"] {
  --paper: #11100e;
  --ink: #f6f1e8;
  --muted: #c5b9a8;
  --rule: #524739;
  --accent: #e4b77a;
  color-scheme: dark;
}
.s-header {
  min-height: 60px; padding: 8px var(--gutter); display: flex; align-items: center;
  justify-content: space-between; gap: 16px; position: relative; z-index: 2;
  border-bottom: 1px solid var(--rule);
}
.s-signature { font-size: 20px; font-weight: 680; letter-spacing: -.04em; white-space: nowrap; }
.s-signature span { font-size: 12px; font-weight: 470; letter-spacing: 0; margin-left: 18px; padding-left: 18px; border-left: 1px solid var(--rule); color: var(--muted); }
.s-switch { display: inline-flex; border: 1px solid var(--rule); border-radius: 6px; padding: 3px; }
.s-switch button { background: transparent; border: 0; border-radius: 3px; min-height: 36px; padding: 4px 16px; }
#sentinel-studio .s-switch button { font-size: 13px; font-weight: 600; }
#sentinel-studio .s-switch button[aria-pressed="true"], #sentinel-studio .s-play { color: var(--paper); background: var(--ink); }
.s-switch button:hover, .s-stages button:hover { text-decoration: underline; text-underline-offset: .22em; }
.s-exhibit { display: grid; grid-template-columns: 38% 62%; align-items: center; overflow: hidden; isolation: isolate; }
.s-art { position: relative; grid-column: 2; grid-row: 1; width: 100%; aspect-ratio: 1.85; overflow: hidden; touch-action: pan-y pinch-zoom; }
.s-motion-page .s-art { aspect-ratio:auto; align-self:stretch; min-block-size:0; }
.s-intro { grid-column: 1; grid-row: 1; padding: 2.5rem 0 2.5rem var(--gutter); z-index: 1; }
.s-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
[data-concept="lens"] .s-art { background:#f3e9d8 url("assets/lens-opening.webp") center / cover no-repeat; }
.s-art [hidden] { display: none; }
.s-mark { display: block; width: clamp(67px, 7.3cqw, 104px); aspect-ratio: 2.75; background: var(--ink); mask: url("assets/sentinel-mark.webp") center / 110% auto no-repeat; }
.s-intro h1 { font-size: clamp(58px, 7.45cqw, 125px); font-weight: 680; line-height: .9; letter-spacing: -.062em; margin: .23em 0 .24em; color: var(--ink); }
.s-intro p { font-size: clamp(15px, 1.36cqw, 21px); line-height: 1.48; max-width: 31ch; margin: 0; color: var(--ink); }
.s-installation { display:none; position:absolute; inset:0; background: radial-gradient(ellipse at 60% 58%, #40342a, #201b16 34%, #11100e 71%); }
[data-concept="wings"] .s-exhibit { background: #11100e; }
[data-concept="wings"] .s-paper { visibility:hidden; }
[data-concept="wings"] .s-installation { display:block; }
.s-suspension, .s-plate { position:absolute; inset:0; }
.s-plate::after {
  --brass-art:url("assets/brass-wing-finish.webp");
  content:""; position:absolute; left:0; top:0; width:var(--plate-width); height:var(--plate-height);
  transform-origin:0 0; transform:var(--plate-transform);
  background:linear-gradient(106deg, #2d211935, transparent calc(var(--reflection,30%) - 18%),
    #ffedd579 var(--reflection,30%), transparent calc(var(--reflection,30%) + 19%), #281d152e),
    var(--brass-art) center / 100% 100% no-repeat;
  background-blend-mode:soft-light;
  mask:var(--brass-art) center / 100% 100% no-repeat;
  filter:brightness(var(--light,.82));
}
.s-cable { position:absolute; left:0; top:0; height:1px; background:#9c8e78ab; transform-origin:0 50%; }
.s-floor { position:absolute; left:20%; top:66%; width:62%; height:8%; background:#090807; border-radius:50%; filter:blur(14px); opacity:.65; }
.s-art[data-gpu="ready"] .s-plate, .s-art[data-gpu="ready"] .s-paper { visibility:hidden; }
.s-plate-label { display:none; position:absolute; left:8%; right:8%; bottom:7%; align-items:center; justify-content:center; gap:12px; pointer-events:none; }
[data-concept="wings"] .s-plate-label { display:flex; }
.s-plate-label small { color:#e2be87; font-size:11px; font-weight:600; letter-spacing:.12em; }
.s-plate-label span { color:#f7f1e7; font-size:clamp(20px,2.15cqw,35px); line-height:1.1; font-weight:540; letter-spacing:-.035em; }
.s-interaction-note { margin:0; grid-column:1 / span 2; color:var(--muted); font-size:12px; }
.s-gl { pointer-events:none; }
.s-transport { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 16px; padding: 13px var(--gutter) max(7px, env(safe-area-inset-bottom)); border-block: 1px solid var(--rule); }
.s-readout { display: flex; align-items: center; gap: 18px; min-width: 0; }
.s-counter { font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .02em; white-space: nowrap; color: var(--muted); }
.s-count { color: var(--accent); font-weight: 700; }
.s-record { border-left: 1px solid var(--rule); padding-left: 18px; }
.s-record > div { font-size: 12px; color: var(--muted); }
.s-status { font-size: clamp(15px, 1.35cqw, 23px); font-weight: 550; margin: 3px 0 0; line-height: 1.32; }
.s-play { border: 0; border-radius: 4px; min-height: 45px; padding: 10px 17px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-width: 143px; }
#sentinel-studio .s-play { font-size: 13px; font-weight: 620; }
.s-play:hover { opacity: .86; }
.s-play i { width: 10px; height: 12px; display: block; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
[data-playing="true"] .s-play i { background: linear-gradient(90deg,currentColor 34%,transparent 34% 66%,currentColor 66%); clip-path: none; }
.s-stages { grid-column:1 / span 2; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.s-stages button { width:100%; min-width:0; min-height:40px; background:transparent; border:0; padding:3px 1px; text-align:center; }
#sentinel-studio .s-stages button { font-size:14px; color:var(--muted); }
#sentinel-studio .s-stages button[aria-pressed="true"] { font-weight:700; color:var(--ink); }
.s-scrub { grid-column:1 / span 4; justify-self:center; width:calc(75% + 14px); height:25px; margin:0; appearance:none; background:transparent; cursor:ew-resize; accent-color:var(--accent); }
.s-scrub::-webkit-slider-runnable-track { height:3px; background:linear-gradient(to right,var(--accent) var(--fill,0%),var(--rule) var(--fill,0%)); }
.s-scrub::-moz-range-track { height:3px; background:var(--rule); }
.s-scrub::-moz-range-progress { height:3px; background:var(--accent); }
.s-scrub::-webkit-slider-thumb { appearance:none; width:14px; height:14px; margin-top:-5.5px; background:var(--accent); border:2px solid var(--paper); border-radius:50%; box-shadow:0 0 0 1px var(--accent); }
.s-scrub::-moz-range-thumb { width:12px; height:12px; background:var(--accent); border:2px solid var(--paper); border-radius:50%; }
.s-scrub:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
@container (min-width: 960px) {
  .s-transport { grid-template-columns:minmax(0,1fr) auto auto; column-gap:24px; }
  .s-readout { grid-area:1 / 1; }
  .s-interaction-note { grid-area:1 / 2; }
  .s-play { grid-area:1 / 3; }
  .s-stages { grid-column:1 / span 3; }
}
@media (max-height: 650px) and (min-width: 691px) {
  .s-header { min-height:50px; padding-block:4px; }
  .s-intro { padding-block:12px; }
  .s-intro h1 { font-size:clamp(36px,min(7.45cqw,12svh),74px); }
  .s-mark { width:54px; }
}
@media (max-width: 690px) {
  .s-motion-page #sentinel-studio { block-size:min(100svh, calc(55vw + 23rem)); }
}
@container (max-width: 690px) {
  .s-signature span { display: none; }
  .s-header { min-height: 62px; gap: 6px; }
  .s-signature { font-size: 16px; }
  .s-switch button { padding-inline: 9px; min-height: 40px; }
  #sentinel-studio .s-switch button { font-size: 12px; }
  .s-exhibit { display:flex; flex-direction:column; align-items:stretch; }
  .s-motion-page .s-exhibit { display:grid; grid-template: auto minmax(110px,1fr) / 1fr; }
  .s-motion-page .s-intro { grid-area:1 / 1; }
  .s-motion-page .s-art { grid-area:2 / 1; }
  .s-intro { order:-1; padding:21px var(--gutter) 18px; }
  .s-mark { width:48px; }
  .s-intro h1 { font-size:clamp(36px,7.9cqw,54px); line-height:1; margin:.2em 0; }
  .s-intro h1 br { display:none; }
  .s-intro p { font-size:14px; max-width:45ch; }
  .s-art { width:100%; aspect-ratio:1.82; }
  .s-plate-label { bottom:5%; }
  .s-stages button { min-height:44px; }
  .s-transport { padding-block: 10px max(6px,env(safe-area-inset-bottom)); gap: 6px; }
  .s-readout { gap: 8px; }
  .s-record { padding-left: 8px; }
  .s-record > div { font-size: 11px; }
  .s-record span { display: block; }
  .s-status { min-height: 2.65em; font-size: 14px; }
  .s-play { min-width: 94px; padding-inline: 8px; gap: 5px; }
  #sentinel-studio .s-play, #sentinel-studio .s-stages button { font-size: 12px; }
}
@media (orientation:landscape) and (min-width:500px) and (max-height:480px) {
  .s-motion-page #sentinel-studio { block-size:100svh; }
  .s-motion-page .s-exhibit { display:grid; grid-template:1fr / 38% 62%; }
  .s-motion-page .s-art { grid-area:1 / 2; }
  .s-motion-page .s-intro { grid-area:1 / 1; padding-block:8px; }
  .s-motion-page .s-intro h1 { font-size:clamp(28px,3.8cqw,44px); }
  .s-motion-page .s-intro h1 br { display:none; }
  .s-motion-page .s-mark { width:42px; }
}
