@font-face {
  font-family: Inter;
  src: url('/assets/type/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --page: #eceeea;
  --type: #151e26;
  --blue: #172ec5;
  --rule: #a5acae;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--type); font: 400 1rem/1.55 Inter, Arial, sans-serif; }
body:has(dialog[open]) { overflow: hidden; }
.frame { width: min(1390px,100%); margin-inline: auto; padding-inline: clamp(16px,4.5vw,76px); }
a, button { color: inherit; font: inherit; touch-action: manipulation; }
a { text-underline-offset: 4px; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #93611a; outline-offset: 4px; }
button[hidden], [hidden] { display: none!important; }
.skip { position: absolute; z-index: 9; top: -120px; left: 14px; padding: 12px 16px; color: white; background: var(--blue); }
.skip:focus { top: 14px; }
.strip, .index, .title, figcaption, .study-controls, footer, .viewer-foot, .viewer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.strip { min-height: 42px; border-bottom: 1px solid var(--rule); font-size: .75rem; }
.strip a, .index a, footer a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.strip a:hover, .index a:hover, footer a:hover { color: var(--blue); text-decoration: underline; }
.wordmark { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 20px 0 15px; }
.wordmark a { font-size: clamp(4.1rem,14.7vw,13.4rem); line-height: .77; font-weight: 780; letter-spacing: -.095em; text-decoration: none; }
.wordmark span { text-transform: uppercase; font-weight: 680; text-align: right; font-size: clamp(.76rem,2.25vw,2rem); line-height: .94; }
.index { justify-content: flex-start; flex-wrap: wrap; column-gap: 28px; border-block: 1px solid var(--type); font-size: .84rem; }
.title { align-items: baseline; gap: 8px; padding: clamp(24px,3.6vw,56px) 0 14px; }
h1, h2, p, figure, dl, dd { margin: 0; }
h1 { font-size: clamp(2.15rem,5.3vw,5rem); letter-spacing: -.075em; font-weight: 580; line-height: .96; }
.title p { font-size: .85rem; text-align: right; color: #414a52; }
.plate { background: #182a9f; color: white; }
.imagebox { position: relative; overflow: hidden; aspect-ratio: 1.98; }
.imagebox img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 47%; display: block; transition: transform .7s cubic-bezier(.18,.65,.3,1),transform-origin .7s ease; }
.imagebox[data-angle=front] img { transform-origin: 32% 71%; transform: scale(2.05); }
.imagebox[data-angle=back] img { transform-origin: 77% 32%; transform: scale(1.95); }
.enlarge { position: absolute; inset: 16px 16px auto auto; display: flex; gap: 14px; justify-content: center; align-items: center; border: 1px solid #fff6; border-radius: 99px; color: white; background: #10162bcf; padding: 7px 14px; min-height: 44px; font-size: .85rem; }
.enlarge:hover { background: #172351; }
figcaption { background: var(--type); padding: 10px 16px; font-size: .8rem; }
figcaption span:last-child { letter-spacing: .12em; }
.study-controls { flex-wrap: wrap; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.study-controls > span { font-size: .8rem; color: #485159; }
.views { display: flex; flex-wrap: wrap; }
.views button { background: none; border: 1px solid var(--rule); color: var(--type); min-height: 44px; padding: 9px 16px; margin-left: -1px; font-size: .85rem; }
.views button[aria-pressed=true] { background: var(--type); color: white; border-color: var(--type); }
.views button:hover { text-decoration: underline; text-underline-offset: 4px; }
.material, .studio { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px,14vw,210px); align-items: center; padding-block: clamp(50px,7vw,110px); }
.material h2 { font-size: clamp(3.3rem,7vw,7rem); letter-spacing: -.08em; font-weight: 550; line-height: .86; }
.material h2 i { font-family: Georgia, serif; font-weight: 400; }
.material p { max-width: 45ch; margin-top: 20px; color: #3e464c; }
.material dl > div { display: flex; justify-content: space-between; align-items: baseline; padding-block: 17px; gap: 15px; border-top: 1px solid var(--rule); }
.material dl > div:last-child { border-bottom: 1px solid var(--rule); }
.material dt { font-size: .78rem; color: #535c63; }
.material dd { text-align: right; font-weight: 560; }
.studio { border-top: 1px solid var(--type); align-items: start; }
.studio h2 { font-size: clamp(2rem,3vw,3rem); font-weight: 550; line-height: 1; letter-spacing: -.055em; }
.studio a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; color: var(--blue); }
footer.frame { border-top: 1px solid var(--rule); padding-block: 12px; font-size: .82rem; }
dialog { width: min(960px,calc(100% - 22px)); max-height: 92dvh; overflow-y: auto; padding: 0; border: 0; color: var(--type); background: var(--page); }
dialog::backdrop { background: #070b14e0; }
.viewer-head, .viewer-foot { padding: 8px 16px; }
.viewer-head h2 { font-size: 1.18rem; font-weight: 580; letter-spacing: -.035em; }
.viewer-head button, .viewer-foot button { border: 0; padding: 8px; background: transparent; min-height: 44px; }
.viewer-head button:hover, .viewer-foot button:hover { text-decoration: underline; }
.viewer-foot { font-size: .82rem; text-align: center; }
.viewer-image { aspect-ratio: 1.5; }
@media(max-width: 680px) {
  .material, .studio { grid-template-columns: 1fr; gap: 24px; }
  .title { align-items: start; flex-direction: column; }
  .imagebox { aspect-ratio: 1.35; }
  .imagebox img { object-position: 49% 48%; }
  .enlarge { inset: 8px 8px auto auto; font-size: .76rem; }
  .study-controls { gap: 7px 16px; }
  .views button { padding-inline: 11px; }
  .wordmark { padding-block: 17px; }
}
@media(max-width: 370px) {
  .index { column-gap: 17px; }
  .viewer-head, .viewer-foot { padding-inline: 8px; gap: 4px; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none!important; }
}
