/* ALL WORK — dark stage, white-space grid with rhythm, index mode, effects. */
.aw { position: relative; background: var(--paper); color: var(--ink); padding: clamp(72px, 10vw, 150px) 0 clamp(80px, 10vw, 150px); overflow: clip; --mx: 50%; --my: 20%; border-top: 1px solid var(--line); }
.aw-spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(232,55,44,.10), rgba(227,168,102,.05) 40%, transparent 70%); }
.aw > * { position: relative; }
.aw-mq { position: absolute !important; top: clamp(24px, 4vw, 56px); left: 0; right: 0; overflow: hidden; pointer-events: none; opacity: .9; }
.aw-mq-in { display: flex; width: max-content; will-change: transform; }
.aw-mq-in span { font: 200 clamp(70px, 14vw, 220px)/1 var(--f); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(23,25,20,.2); white-space: nowrap; }
.aw-mq-in i { width: clamp(40px, 6vw, 90px); flex: none; }
.aw-head { display: grid; gap: 22px; padding-top: clamp(90px, 15vw, 230px); margin-bottom: clamp(28px, 4vw, 56px); }
.aw-count { display: flex; align-items: baseline; gap: 8px; font: 200 clamp(54px, 9vw, 120px)/1 var(--f); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.aw-count span { font-size: .32em; color: var(--mute); letter-spacing: 0; } .aw-count i { font-style: normal; }
.aw-note { margin: 0 0 8px; color: var(--mute); font-size: 13px; max-width: 34ch; }
@media (min-width: 900px) { .aw-head { grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; } .aw-head > div:first-child { grid-column: 1 / 8; } .aw-meta { grid-column: 9 / 13; justify-self: end; text-align: right; } .aw-count { justify-content: flex-end; } }
/* controls (sticky while scrolling the grid) */
.aw-ctl { position: sticky; top: var(--hd); z-index: 20; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding: 14px 0; margin-bottom: clamp(22px, 3vw, 40px); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.aw-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .aw-chips .lb { color: var(--amber); margin-right: 6px; }
.c2 { border: 1px solid rgba(23,25,20,.28); padding: 7px 12px; min-height: 32px; font-size: 11.5px; letter-spacing: .06em; color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.c2:hover { border-color: var(--red); } .c2[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.c2.clr { border-color: var(--red); color: var(--red); } .c2.clr:hover { background: var(--red); color: #fff; }
.aw-tools { display: flex; gap: 10px; align-items: center; margin-left: auto; } .aw-view { display: flex; }
.aw-view .c2 + .c2 { margin-left: -1px; }
/* grid: 12-col rhythm, 7-step pattern, offsets */
.aw-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 4vw, 64px) clamp(12px, 2vw, 28px); }
.tile { grid-column: span 12; position: relative; opacity: 0; } .tile.in { opacity: 1; }
.tile-a { display: block; color: inherit; }
.tile-f { margin: 0; position: relative; overflow: hidden; background: var(--bg); aspect-ratio: 4 / 5; }
.tile-f img { width: 100%; height: 100%; object-fit: cover; display: block; will-change: transform; transition: transform 1.2s var(--ease); }
.tile-a:hover .tile-f img { transform: scale(1.06); }
.tile-c { display: grid; grid-template-columns: 36px 1fr; gap: 2px 10px; padding-top: 14px; }
.tile-c .n { grid-row: 1 / 3; color: var(--amber); font-size: 11px; letter-spacing: .14em; padding-top: 7px; }
.tile-c .t { margin: 0; font: 200 clamp(24px, 3vw, 40px)/1.1 var(--f); letter-spacing: -.04em; overflow: hidden; display: flex; flex-wrap: wrap; }
.t i { font-style: normal; display: inline-block; transition: transform .6s var(--ease); transition-delay: calc(var(--k) * 14ms); }
.tile-a:hover .t i { transform: translateY(-.08em); color: var(--ink); }
.tile-c .tg { margin: 4px 0 0; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); grid-column: 2; } .tile-c .tg em { font-style: normal; color: var(--red); }
.tile-c .g { margin: 6px 0 0; font-size: 13px; color: var(--mute); grid-column: 2; max-width: 38ch; }
.tile-c .st { grid-column: 2; margin-top: 8px; font-size: 10px; letter-spacing: .16em; color: var(--amber); } [data-sample] .st::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--red); margin-right: 8px; }
@media (min-width: 900px) {
  .p0 { grid-column: 1 / span 5; } .p0 .tile-f { aspect-ratio: 4 / 5; }
  .p1 { grid-column: 6 / span 7; margin-top: 12vw; } .p1 .tile-f { aspect-ratio: 16 / 11; }
  .p2 { grid-column: 1 / span 4; margin-top: -4vw; } .p2 .tile-f { aspect-ratio: 1; }
  .p3 { grid-column: 5 / span 4; margin-top: 7vw; } .p3 .tile-f { aspect-ratio: 4 / 5; }
  .p4 { grid-column: 9 / span 4; } .p4 .tile-f { aspect-ratio: 1; }
  .p5 { grid-column: 1 / span 7; margin-top: 4vw; } .p5 .tile-f { aspect-ratio: 16 / 11; }
  .p6 { grid-column: 9 / span 4; margin-top: 12vw; } .p6 .tile-f { aspect-ratio: 4 / 5; }
}
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) { .tile-f img { animation: awpar linear both; animation-timeline: view(); } @keyframes awpar { from { transform: translateY(-5%) scale(1.14); } to { transform: translateY(5%) scale(1.14); } } .tile-a:hover .tile-f img { animation-play-state: paused; } } }
/* index mode */
.aw-grid[data-view="index"] { display: block; border-top: 1px solid rgba(23,25,20,.5); }
.aw-grid[data-view="index"] .tile { margin: 0; grid-column: auto; border-bottom: 1px solid var(--line); }
.aw-grid[data-view="index"] .tile-f, .aw-grid[data-view="index"] .tile-c .g { display: none; }
.aw-grid[data-view="index"] .tile-c { grid-template-columns: 44px 1fr; padding: 18px 0; align-items: baseline; }
.aw-grid[data-view="index"] .tile-c .t { font-size: clamp(30px, 5.4vw, 76px); transition: transform .5s var(--ease), color .3s; } .aw-grid[data-view="index"] .tile:hover .t { transform: translateX(14px); color: var(--red); }
.aw-grid[data-view="index"] .tile-c .st { position: absolute; right: 0; top: 24px; margin: 0; }
.aw-prev { position: fixed; left: 0; top: 0; z-index: 30; width: min(24vw, 300px); aspect-ratio: 4 / 5; margin: 0; pointer-events: none; opacity: 0; overflow: hidden; transition: opacity .3s; will-change: transform; } .aw-prev.on { opacity: 1; } .aw-prev img { width: 100%; height: 100%; object-fit: cover; }
.aw-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.aw-cur { position: fixed; left: 0; top: 0; z-index: 60; width: 0; height: 0; pointer-events: none; opacity: 0; } .aw-cur.on { opacity: 1; }
.aw-cur::before { content: ""; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border: 1px solid var(--red); border-radius: 50%; transition: width .35s var(--ease), height .35s var(--ease), left .35s var(--ease), top .35s var(--ease), background .3s; }
.aw-cur.big::before { left: -46px; top: -46px; width: 92px; height: 92px; background: var(--red); border-color: var(--red); }
.aw-cur span { position: absolute; left: -46px; top: -46px; width: 92px; height: 92px; display: grid; place-items: center; font: 700 10.5px/1 var(--f); letter-spacing: .2em; color: #fff; opacity: 0; transition: opacity .25s; } .aw-cur.big span { opacity: 1; }
.aw-empty { text-align: center; padding: 60px 0; color: var(--mute); }
.aw-foot { margin-top: clamp(48px, 7vw, 110px); display: grid; justify-items: center; gap: 18px; }
.aw-more { position: relative; min-width: min(100%, 340px); padding: 22px 36px; border: 1px solid rgba(23,25,20,.4); display: flex; justify-content: space-between; gap: 30px; font-size: 14px; letter-spacing: .08em; overflow: hidden; isolation: isolate; transition: color .4s; }
.aw-more::before { content: ""; position: absolute; inset: 0; background: var(--red); transform: translateY(101%); transition: transform .55s var(--ease); z-index: -1; } .aw-more:hover:not(:disabled)::before { transform: none; } .aw-more:hover:not(:disabled) { color: #fff; border-color: var(--red); }
.aw-more:disabled { opacity: .5; cursor: default; } .aw-more-c { font-variant-numeric: tabular-nums; color: var(--amber); } .aw-more:hover:not(:disabled) .aw-more-c { color: #fff; }
.aw-prog { width: min(100%, 340px); height: 2px; background: rgba(23,25,20,.14); } .aw-prog i { display: block; height: 100%; width: 0; background: var(--red); transition: width .8s var(--ease); }
/* sample detail */
.sp { padding: 20px 0 100px; } .sp-art { margin: 20px 0 0; background: var(--bg); aspect-ratio: 16 / 10; overflow: hidden; view-transition-name: wk; } .sp-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-t { display: grid; gap: 20px; padding: clamp(30px, 5vw, 70px) 0; } .sp-t h1 { margin: 0; font: 200 clamp(44px, 9vw, 130px)/.95 var(--f); letter-spacing: -.055em; } .sp-n { margin: 0; max-width: 46ch; color: var(--mute); } .sp-n b { color: var(--amber); font-weight: 600; }
.sp-nav { display: flex; justify-content: space-between; gap: 20px; border-top: 2px solid var(--red); padding-top: 22px; } .sp-nav a { display: grid; gap: 6px; font: 200 clamp(24px, 4vw, 52px)/1.05 var(--f); letter-spacing: -.04em; } .sp-nav a:last-child { text-align: right; } .sp-nav .lb { color: var(--amber); font-size: 11px; }
@media (min-width: 900px) { .sp-t { grid-template-columns: 1fr 1fr; align-items: end; } }
.dv-hero .bw-film { view-transition-name: wk; }
::view-transition-group(wk) { animation-duration: .7s; animation-timing-function: cubic-bezier(.2,.7,.1,1); }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .aw-cur, .aw-prev { display: none; } .aw-mq-in { transform: none !important; } }
@media (prefers-reduced-motion: reduce) { .tile { opacity: 1; } .aw-spot { display: none; } .aw-more::before, .aw-prog i { transition: none; } }
/* mobile: compact controls, no sticky wall of chips */
@media (max-width: 899px) { .aw-ctl { position: static; backdrop-filter: none; gap: 10px; } .aw-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; } .aw-chips::-webkit-scrollbar { display: none; } .aw-chips .c2 { flex: none; } .aw-tools { margin-left: 0; width: 100%; justify-content: space-between; } }
