@font-face {
  font-family: 'Wanted Sans';
  src: url('assets/fonts/WantedSansVariable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}
:root { --study-red: #e85f38; }
body { font-synthesis: none; }
.hero-art { animation: none; transform: none; }
.hero h1 { font-size: clamp(40px, 4.7vw, 76px); font-weight: 560; letter-spacing: -.065em; line-height: 1.13; }
.hero-title p { font-size: clamp(14px, 1.32vw, 19px); line-height: 1.55; }
.hero-title { animation: title-in .62s var(--ease) both; }
.hero-foot { justify-content: end; }
.motion-setting { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 16px; padding: 8px 0; font-size: 14px; }
.motion-setting span { color: #c1c8d2; }
.motion-setting:disabled { cursor: default; }
@keyframes title-in { from { opacity: 0; translate: 0 10px; } }
.work { padding-top: clamp(48px, 6vw, 96px); padding-bottom: 0; }
.work-heading { align-items: baseline; }
.work-heading h2 { font-size: clamp(40px, 6vw, 90px); line-height: 1.06; font-weight: 550; letter-spacing: -.066em; }
.work-heading h2 span { color: var(--blue); }
.featured-study { display: grid; grid-template-columns: minmax(0, 2.65fr) minmax(220px, 1fr); background: #2c1718; color: #f8eee5; margin-bottom: clamp(30px, 4.5vw, 70px); }
.film-image { position: relative; min-width: 0; background: #251719; }
.film-open { width: 100%; display: block; padding: 0; }
.film-open video { width: 100%; display: block; aspect-ratio: 8/5; height: auto; }
.film-caption { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 60px); align-items: flex-start; }
.study-kind { font-size: 12px; color: #e2c4ba; }
.film-caption h3 { margin: auto 0 12px; padding-top: 42px; font-size: clamp(36px, 4.3vw, 72px); letter-spacing: -.07em; font-weight: 530; line-height: 1.08; }
.film-caption p { font-size: 14px; line-height: 1.65; color: #e6d5cf; max-width: 23em; margin: 0; }
.film-link { margin-top: clamp(18px, 3vw, 48px); border-bottom: 1px solid #997c71; width: 100%; padding: 12px 0; display: flex; justify-content: space-between; font-size: 14px; }
.film-link span { transition: transform .24s ease; }
.film-link:hover span { transform: translate(3px,-3px); }
.film-toggle { position: absolute; left: 18px; bottom: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #241614db; color: #fff; border: 1px solid #ecd8ca96; }
.film-toggle span { font-size: 14px; line-height: 1; }
.film-open:focus-visible { outline-offset: -6px; }
.work-grid { grid-template-columns: 1.05fr 1fr; gap: clamp(16px, 3vw, 58px); }
.specimen { background: #dddccf; padding: 7% 12%; aspect-ratio: 1.14; display: grid; place-items: center; }
.specimen-page { width: 100%; height: 100%; min-height: 0; display: flex; flex-direction: column; background: #f9fbdf; color: #171d23; padding: 6% 8% 5%; transform: rotate(-3deg); box-shadow: 6px 12px 24px #232a2924; transition: transform .6s var(--ease); }
.type-project:is(:hover,:focus-visible) .specimen-page { transform: rotate(0); }
.specimen-rule,.specimen-foot { display: flex; justify-content: space-between; font-size: clamp(9px,.88vw,14px); border-top: 1px solid currentColor; padding-top: 5px; }
.specimen-page strong { font-size: clamp(42px,6vw,120px); font-weight: 760; line-height: .98; letter-spacing: -.1em; margin: auto 0; }
.specimen-page em { font-weight: 350; font-style: normal; color: #313db3; }
.specimen-bars { display: flex; gap: 4px; margin: 4% 0; height: 13%; }
.specimen-bars i { width: 17%; transform: skewX(-23deg); background: #243acb; }
.specimen-bars i:nth-child(2) { width: 29%; }
.specimen-bars i:nth-child(3) { flex: 1; }
.work-note { display: block; max-width: 62em; line-height: 1.7; margin: 26px 0 0; }
.intro { padding-block: clamp(70px,10vw,160px); }
.intro h2 { font-weight: 480; letter-spacing: -.055em; }
.intro em { color: #596575; }
.light-player,.light-plates figure { margin: 0; }
.light-player video { width: 100%; display: block; max-height: 75svh; background: #291a1d; }
.light-player figcaption,.light-plates figcaption { display: flex; justify-content: space-between; font-size: 12px; padding: 10px 0 18px; }
.light-plates { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.light-plates img { width: 100%; display: block; }
#menu[open]:not(.closing) nav a { animation: menu-line-in .42s var(--ease) backwards; }
#menu nav a:nth-child(2) { animation-delay: 45ms; }
#menu nav a:nth-child(3) { animation-delay: 90ms; }
@keyframes menu-line-in { from { opacity: 0; transform: translateY(12px); } }
@media(max-width:760px) {
  .hero-title { max-width: 90%; }
  .hero h1 { font-size: clamp(30px,7.4vw,48px); margin: 15px 0 12px; }
  .hero-title p { font-size: 14px; }
  .hero-foot { justify-content: start; }
  .featured-study { grid-template-columns: 1fr; }
  .film-caption { padding: 22px; }
  .film-caption h3 { font-size: 36px; padding-top: 0; margin-top: 12px; }
  .film-caption p { max-width: 32em; }
  .film-link { margin-top: 14px; }
  .work-grid { grid-template-columns: 1fr; gap: 36px; }
  .specimen-page strong { font-size: clamp(52px,15vw,95px); }
  .light-plates { grid-template-columns: 1fr; gap: 8px; }
  .work-heading>span { font-size: 11px; }
  .film-toggle { left: 12px; bottom: 12px; }
}
/* Keep the sculpture in frame when a short viewport is very wide. */
@media (min-width: 761px) {
  .hero {
    height: min(760px, 68vw, calc(100svh - 102px));
    min-height: max(min(560px, 68vw), calc((100vw - 28px) / 1.84));
  }
}
@media (min-width: 601px) and (max-width: 760px),
       (max-width: 600px) and (min-aspect-ratio: 4/5) {
  .hero { height: max(310px, 61vw); min-height: 0; max-height: none; }
  .hero-art { object-position: 60% 60%; }
  .hero-title { left: 4%; top: 7%; max-width: 49%; }
  .hero h1 { font-size: clamp(23px, 5vw, 36px); }
  .hero-title p { font-size: 13px; }
}
@media (max-width: 600px) and (max-aspect-ratio: 4/5) {
  .hero { min-height: max(610px, calc((100vw - 16px) * 1.68)); max-height: none; }
}

.hero-direction { display:block; }
@media (max-width:600px) and (orientation:portrait) {
  .hero-title p { font-size:1rem; line-height:1.55; text-wrap:balance; }
}
