.astra {
  --paper: #f8f7f3;
  --ink: #18222c;
  --sub: #465460;
  --rule: #c4cac9;
  --accent: #164c76;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, Arial, sans-serif;
  padding: clamp(20px,4vw,56px) max(5vw,calc((100vw - 1232px)/2)) clamp(56px,7vw,100px);
}
.astra[data-project="acro"] { --accent: #883b25; }
.astra * { box-sizing: border-box; }
.astra :is(h1,h2,h3,p,figure) { margin: 0; }
.astra a { color: var(--accent); text-decoration: underline; text-underline-offset: .19em; }
.astra :is(button,a,select,input):focus-visible { outline: 3px solid #087cc0; outline-offset: 4px; }
.astra :is(button,select) { font: inherit; cursor: pointer; }
.astra [hidden] { display: none !important; }
.astra .crumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: .65em; font-size: .94rem; color: var(--sub); }
.astra .crumbs a { color: inherit; }
.astra .series-head { margin: clamp(27px,4.7vw,66px) 0 clamp(24px,3.5vw,48px); }
.astra h1 { font-size: clamp(2.7rem,6.8vw,6.25rem); font-weight: 600; line-height: .99; letter-spacing: -.059em; max-width: 21ch; }
.astra .collection-title { max-width: 19ch; }
.astra .standfirst { margin-top: 20px; color: var(--sub); font-size: clamp(1.1rem,1.7vw,1.4rem); line-height: 1.45; max-width: 63ch; }
.astra .featured { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(20px,3vw,42px); }
.astra .work-link { display: block; color: var(--ink); text-decoration: none; }
.astra .work-link:hover h2,.astra .work-link:focus-visible h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .13em; }
.astra .featured img,.astra .case-media { display: block; width: 100%; height: auto; aspect-ratio: 5/3; object-fit: cover; background: #d8d9cf; }
.astra .work-link h2,.astra .case h3 { font-weight: 600; letter-spacing: -.042em; font-size: clamp(1.6rem,2.9vw,2.8rem); line-height: 1.05; margin: 10px 0; }
.astra .stamp { font: 500 .84rem/1.5 'IBM Plex Mono',monospace; color: var(--sub); }
.astra .featured .stamp { margin-top: 18px; }
.astra .work-link p:last-child,.astra .case p { font-size: 1.06rem; color: var(--sub); line-height: 1.5; max-width: 54ch; }
.astra .works { border-top: 1px solid var(--rule); margin-top: clamp(46px,7vw,96px); }
.astra .works > h2 { font-size: clamp(2rem,4.2vw,3.55rem); font-weight: 600; letter-spacing: -.045em; margin: 32px 0; line-height: 1.05; }
.astra .case { border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(240px,.95fr) minmax(0,1.3fr); gap: clamp(24px,5vw,80px); align-items: center; padding: clamp(23px,3vw,44px) 0; }
.astra .case h3 { margin-top: 0; }
.astra .case .case-link { display: inline-block; margin-top: 14px; }
.astra .case video { object-fit: contain; background: #182025; }
.astra .post-intro { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(240px,.8fr); gap: 4vw; align-items: end; }
.astra .post-intro .standfirst { font-size: clamp(1.07rem,1.45vw,1.24rem); margin: 0; }
.astra .post-intro h1 { margin-top: 9px; }
.astra .viewer { scroll-margin-top: 85px; border: 1px solid #abb5b8; background: #141e28; color: white; }
.astra .viewport { position: relative; isolation: isolate; overflow: hidden; width: 100%; aspect-ratio: 2.1; }
.astra .viewport :is(canvas,picture,img) { position: absolute; display: block; inset: 0; width: 100%; height: 100%; }
.astra .viewport img { object-fit: cover; object-position: center; }
.astra .viewport canvas { z-index: 1; }
.astra .controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px clamp(12px,2vw,24px); }
.astra .controls button,.astra .controls select { min-height: 42px; border: 1px solid #8fa1ac; border-radius: 4px; padding: 8px 14px; color: white; background: #20303e; font-size: .98rem; }
.astra .controls [data-play] { background: #eff5f5; color: #172630; border-color: #eff5f5; font-weight: 600; }
.astra .controls button:disabled { opacity: .72; cursor: wait; }
.astra .camera,.astra .scrub { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: #dbe4e8; }
.astra .scrub { flex: 1; min-width: 12rem; }
.astra .scrub input { width: 100%; min-width: 60px; height: 30px; accent-color: #a6dcfa; }
.astra .clock { font: .9rem/1.3 'IBM Plex Mono',monospace; white-space: nowrap; }
.astra .status { font-size: .92rem; color: #dce7ea; }
.astra .status:empty { display: none; }
.astra .story { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 5vw; padding: clamp(32px,5vw,68px) 0; }
.astra .story h2 { font-size: clamp(1.8rem,3.5vw,3.1rem); line-height: 1.05; letter-spacing: -.043em; max-width: 15ch; font-weight: 600; }
.astra .story p { font-size: clamp(1rem,1.3vw,1.16rem); line-height: 1.65; max-width: 67ch; }
.astra .story p + p { margin-top: 1em; }
.astra .frames { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; border-bottom: 1px solid var(--rule); padding-bottom: clamp(28px,4vw,54px); }
.astra .frames a { text-decoration: none; color: var(--ink); }
.astra .frames a:hover strong { text-decoration: underline; }
.astra .frames img { display: block; width: 100%; height: auto; aspect-ratio: 5/3; object-fit: cover; margin-bottom: 10px; }
.astra .frame-caption { font-size: 1rem; }
.astra .frame-caption span { font: .86rem/1.5 'IBM Plex Mono',monospace; color: var(--sub); margin-left: .5em; }
.astra .more { border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 16px 30px; padding-top: 25px; font-size: 1.04rem; }
@media (max-width: 760px) {
  .astra { padding-inline: 5vw; }
  .astra .post-intro,.astra .story,.astra .case { grid-template-columns: 1fr; gap: 16px; }
  .astra .post-intro h1 { margin-top: 7px; }
  .astra .viewport { aspect-ratio: 1.1; }
  .astra .case h3 { margin-top: 0; }
  .astra .controls { gap: 8px 12px; }
  .astra .scrub { flex-basis: 100%; }
  .astra .story h2 { max-width: 25ch; }
}
@media (max-width: 520px) {
  .astra .featured { grid-template-columns: 1fr; gap: 30px; }
  .astra .frames { gap: 16px; grid-template-columns: 1fr; }
  .astra .frames a { display: grid; align-items: center; grid-template-columns: 45% 1fr; gap: 14px; }
  .astra .frames img { margin: 0; }
  .astra .frame-caption span { display: block; margin: 4px 0 0; }
}
