/* IDLE case page: a site that settles. Everything is scoped under .idl */
.idl { --bone: #EBEBEB; --cream: #E9E5D2; --blk: #050505; --mono: "Geist Mono", ui-monospace, Menlo, monospace; --g: clamp(16px, 2.4vw, 40px); background: var(--cream); color: var(--blk); overflow: hidden; }
.idl .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.idl button { font: inherit; color: inherit; cursor: pointer; }
.idl button:focus-visible, .idl a:focus-visible, .idl ul:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.idl-k { font: 500 12px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; opacity: .6; }

.idl-hero { position: relative; min-height: 100svh; box-sizing: border-box; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--hdr, 72px) + 2vh) var(--g) clamp(24px, 4vh, 48px); background: var(--blk); color: var(--bone); isolation: isolate; }
.idl-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.idl-top { display: flex; justify-content: space-between; font: 500 12px/1.2 var(--mono); text-transform: uppercase; opacity: .6; } .idl-top a { color: inherit; }
.idl-word { margin: 0; align-self: center; justify-self: center; width: min(76vw, 980px); transition: filter 1.6s ease, opacity 1.6s ease, letter-spacing 1.6s; filter: blur(calc(var(--n, 0) * 7px)); opacity: calc(1 - var(--n, 0) * .35); }
.idl-word img { display: block; width: 100%; height: auto; }
.idl-foot { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.idl-line { margin: 0; font-size: clamp(22px, 3vw, 46px); letter-spacing: -.035em; line-height: 1; transition: opacity .6s; }
.idl-meter { display: grid; gap: 8px; width: min(260px, 100%); font: 500 11px/1 var(--mono); text-transform: uppercase; } .idl-meter b { font-weight: 500; }
.idl-meter i { display: block; height: 3px; background: rgb(235 235 235 / .2); } .idl-meter u { display: block; height: 100%; width: calc(var(--n, 0) * 100%); background: var(--bone); text-decoration: none; }

.idl-facts { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; padding: 22px var(--g); border-bottom: 1px solid rgb(5 5 5 / .2); }
.idl-facts > div { display: flex; flex-wrap: wrap; gap: 14px clamp(20px, 3.4vw, 56px); } .idl-facts div div { display: grid; gap: 6px; } .idl-facts span { font: 500 11px/1 var(--mono); text-transform: uppercase; opacity: .55; } .idl-facts b { font-weight: 600; font-size: 15px; }
.idl-facts a { color: inherit; font: 500 13px/1 var(--mono); text-transform: uppercase; border-bottom: 1px solid; padding-bottom: 4px; }
.idl-say { padding: clamp(80px, 12vw, 190px) var(--g); display: grid; gap: 28px; }
.idl-big { margin: 0; max-width: 20em; font-size: clamp(30px, 5vw, 84px); line-height: .98; letter-spacing: -.05em; font-weight: 500; } .idl-sub { margin: 0; max-width: 52ch; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.55; opacity: .75; }

/* cabinet */
.idl-cab { background: var(--bg); color: var(--fg); padding: clamp(70px, 9vw, 140px) var(--g); transition: background .6s ease, color .6s ease; }
.idl-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(24px, 5vw, 90px); align-items: end; margin-bottom: clamp(24px, 4vw, 56px); } .idl-head .idl-k { grid-column: 1 / -1; }
.idl-head h2 { margin: 0; font-size: clamp(48px, 9vw, 160px); line-height: .88; letter-spacing: -.06em; font-weight: 500; } .idl-head p { margin: 0; max-width: 46ch; line-height: 1.55; opacity: .8; }
.idl-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.idl-tabs button { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border: 1px solid currentColor; border-radius: 999px; background: transparent; font-size: 16px; opacity: .6; transition: opacity .3s, background .3s, color .3s; }
.idl-tabs button i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; } .idl-tabs button:hover { opacity: 1; }
.idl-tabs button[aria-selected="true"] { opacity: 1; background: var(--fg); color: var(--bg); } .idl-tabs button[aria-selected="true"] i { border-color: var(--bg); }
.idl-pan { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(10px, 1.4vw, 20px); animation: idl-in .7s cubic-bezier(.2, .8, .2, 1); } .idl-pan[hidden] { display: none; }
@keyframes idl-in { from { opacity: 0; transform: translateY(14px); } }
.idl figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; } .idl-sheet { background: #fff; } .idl-sheet img { display: block; width: 100%; height: auto; }
.idl-ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.idl figure figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; padding: 8px 12px; border-radius: 8px; background: rgb(5 5 5 / .72); color: #fff; font-size: 13px; line-height: 1.35; max-width: 40ch; }

/* rail */
.idl-wd { padding: clamp(70px, 9vw, 140px) 0; }
.idl-wd-h { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--g) 22px; }
.idl-nav { display: flex; gap: 8px; } .idl-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid; background: transparent; font-size: 18px; } .idl-nav button:hover { background: var(--blk); color: var(--cream); }
.idl-rail { list-style: none; margin: 0; padding: 0 var(--g) 10px; display: flex; gap: clamp(12px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--g); scrollbar-width: none; cursor: grab; }
.idl-rail::-webkit-scrollbar { display: none; } .idl-rail.drag { cursor: grabbing; scroll-snap-type: none; }
.idl-card { flex: 0 0 min(44vw, 560px); scroll-snap-align: start; } .idl-card-i { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #111; }
.idl-card img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; filter: blur(8px) saturate(.4); transform: scale(1.06); transition: filter 1.4s ease, transform 1.8s ease; } .idl-card.in img { filter: none; transform: none; }
.idl-card p { margin: 12px 0 0; display: grid; gap: 4px; font-size: 14px; line-height: 1.4; max-width: 44ch; } .idl-card p span { font: 500 11px/1 var(--mono); opacity: .55; } .idl-card p b { font-size: 20px; letter-spacing: -.02em; font-weight: 600; }

/* film + palette */
.idl-fm { background: var(--blk); color: var(--bone); padding: clamp(70px, 9vw, 140px) var(--g); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.idl-fm h2 { margin: 18px 0; font-size: clamp(40px, 6vw, 100px); line-height: .9; letter-spacing: -.055em; font-weight: 500; } .idl-fm p { margin: 0; max-width: 46ch; line-height: 1.55; opacity: .75; }
.idl-fm-v { border-radius: 10px; overflow: hidden; aspect-ratio: 1114 / 832; background: #111; } .idl-fm-v video { display: block; width: 100%; height: 100%; object-fit: cover; }
.idl-id { padding: clamp(70px, 9vw, 140px) var(--g); }
.idl-sw { list-style: none; margin: 22px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-radius: 10px; overflow: hidden; } .idl-sw li { background: var(--c); color: var(--t); aspect-ratio: 4 / 5; box-shadow: inset 0 0 0 1px rgb(5 5 5 / .15); display: flex; flex-direction: column; justify-content: end; gap: 6px; padding: 14px; font: 500 12px/1 var(--mono); text-transform: uppercase; }
.idl-cap { margin: 0; font: 500 11px/1.4 var(--mono); text-transform: uppercase; opacity: .6; }
@media (max-width: 899px) { .idl-head, .idl-pan, .idl-fm { grid-template-columns: 1fr; } .idl-card { flex-basis: 80vw; } .idl-sw { grid-template-columns: repeat(2, 1fr); } .idl-sw li { aspect-ratio: 2 / 1; } }
@media (prefers-reduced-motion: reduce) { .idl-pan { animation: none; } .idl-card img { filter: none; transform: none; transition: none; } .idl-word { filter: none; opacity: 1; } }
