/* Alternate designs of the studio site (alt-reel, alt-index, alt-iris). Same identity: Geist Mono,
   ink and paper, hairlines, the eye. Loads after site.css; everything is scoped under .eltio.alt. */

.eltio.alt { min-height: 100vh; }
.eltio.alt .a-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; justify-content: space-between; align-items: baseline; gap: 1em; padding: 12px 16px; background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--hr); }
.eltio.alt .a-foot { display: flex; justify-content: space-between; align-items: flex-end; padding: 48px 16px 16px; }
.eltio.alt .a-notes { display: grid; gap: .9em; }
.eltio.alt .a-num { display: grid; grid-template-columns: 3em minmax(0,1fr); text-transform: uppercase; }
.eltio.alt .brandrow { margin-top: 0; }
.eltio.alt button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.eltio.alt button:focus-visible { outline: 1px solid var(--s1); outline-offset: 3px; }
/* a piece drawn at a fixed design width, scaled down to fit its box (alt.js sets --s and the box height) */
.eltio.alt .fit { position: relative; width: 100%; overflow: visible; }
.eltio.alt .fit-in { width: var(--dw, 1100px); transform: scale(var(--s, 1)); transform-origin: 0 0; }

/* ---------- A. Reel ---------- */
.eltio.alt-reel .r-track-wrap { position: relative; }
.eltio.alt-reel .r-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.eltio.alt-reel .r-track { display: flex; height: 100%; will-change: transform; }
.eltio.alt-reel .r-panel { flex: none; width: 100vw; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 32px; padding: 64px 24px 84px; border-right: 1px solid var(--hr); position: relative; overflow: hidden; }
.eltio.alt-reel .r-side { display: flex; flex-direction: column; gap: 18px; align-self: start; max-width: 460px; }
.eltio.alt-reel .r-side .brandrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.eltio.alt-reel .r-side .brandrow figcaption { display: none; }
.eltio.alt-reel .r-stage { min-width: 0; align-self: center; position: relative; }
.eltio.alt-reel .r-intro .r-side { align-self: center; }
.eltio.alt-reel .r-eyewrap { display: grid; place-items: center; height: 100%; }
.eltio.alt-reel .r-eye { width: min(46vh, 34vw); background: var(--s1); will-change: transform; }
.eltio.alt-reel .r-line { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px 14px; background: var(--bg); border-top: 1px solid var(--hr); }
.eltio.alt-reel .r-clips { display: flex; gap: 3px; }
.eltio.alt-reel .r-clip { flex: 1 1 0; min-width: 0; height: 26px; border: 1px solid var(--hr); text-align: left; padding: 0 6px; color: var(--s4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .3s, color .3s; }
.eltio.alt-reel .r-clip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.eltio.alt-reel .r-clip0 { flex: .5 1 0; }
.eltio.alt-reel .r-head { position: absolute; top: 4px; bottom: 8px; left: 16px; width: 1px; background: #FF5A1F; pointer-events: none; will-change: transform; }
.eltio.alt-reel .r-tc { font-variant-numeric: tabular-nums; }
.eltio.alt-reel .r-slate { position: fixed; inset: 0; z-index: 30; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; text-transform: uppercase; clip-path: inset(0 100% 0 0); pointer-events: none; }
.eltio.alt-reel .r-slate.go { animation: slate .9s cubic-bezier(.7,0,.2,1) both; }
@keyframes slate { 0% { clip-path: inset(0 100% 0 0); } 40%, 55% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 100%); } }
.eltio.alt-reel .r-slate-n { color: rgba(243,243,240,.5); }
/* phones: plain vertical panels that snap, the timeline stays as a progress line */
@media (max-width: 760px) {
  .eltio.alt-reel .r-sticky { position: static; height: auto; overflow: visible; }
  .eltio.alt-reel .r-track { display: block; transform: none !important; }
  .eltio.alt-reel .r-panel { width: auto; height: auto; min-height: 100vh; grid-template-columns: minmax(0,1fr); padding: 64px 16px 72px; border-right: 0; border-bottom: 1px solid var(--hr); }
  .eltio.alt-reel .r-eyewrap { height: 50vh; }
  .eltio.alt-reel .r-eye { width: 60vw; }
  .eltio.alt-reel .r-clip span { display: none; }
}

/* ---------- B. Index ---------- */
.eltio.alt-index { padding: 0 16px; }
.eltio.alt-index .x-intro { padding: 96px 0 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1100px; }
.eltio.alt-index .x-head, .eltio.alt-index .x-open { display: grid; grid-template-columns: 4em minmax(0, 2.6fr) minmax(0, 1.4fr) minmax(0, .8fr) 4em; gap: 16px; align-items: baseline; width: 100%; text-align: left; }
.eltio.alt-index .x-head { padding-bottom: 8px; border-bottom: 1px solid var(--s1); }
.eltio.alt-index .x-list { list-style: none; margin: 0; padding: 0; }
.eltio.alt-index .x-row { border-bottom: 1px solid var(--hr); transition: opacity .35s; }
.eltio.alt-index .x-open { padding: 14px 0; cursor: none; }
.eltio.alt-index .x-name { font-size: clamp(30px, 6.4vw, 104px); line-height: .95; font-weight: 300; letter-spacing: -.04em; transition: transform .5s cubic-bezier(.2,.7,0,1); display: inline-block; }
.eltio.alt-index .x-list:hover .x-row:not(:hover) { opacity: .25; }
.eltio.alt-index .x-row:hover .x-name { transform: translateX(.18em); }
.eltio.alt-index .x-peek { position: fixed; left: 0; top: 0; z-index: 15; width: 280px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6); transition: opacity .3s, scale .3s; will-change: transform; }
.eltio.alt-index .x-peek.on { opacity: 1; }
.eltio.alt-index .x-peek-i { display: none; }
.eltio.alt-index .x-peek-i.on { display: block; }
.eltio.alt-index .x-peek figure { margin: 0; }
.eltio.alt-index .x-peek figcaption { display: none; }
.eltio.alt-index .x-sheet { position: fixed; inset: 0; z-index: 40; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; clip-path: circle(0 at var(--ox, 50%) var(--oy, 50%)); transition: clip-path .8s cubic-bezier(.7,0,.2,1); }
.eltio.alt-index .x-sheet.open { clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); }
.eltio.alt-index .x-sheet-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 1em; padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--hr); }
.eltio.alt-index .x-nav { display: flex; gap: 1.6em; color: var(--s4); }
.eltio.alt-index .x-nav button:hover { color: var(--s1); }
.eltio.alt-index .x-sheet-body { display: grid; gap: 16px; padding: 16px; max-width: 1440px; margin: 0 auto; }
.eltio.alt-index .x-sheet .a-notes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.eltio.alt-index .x-cur { position: fixed; left: 0; top: 0; z-index: 16; pointer-events: none; padding: 4px 8px; background: var(--ink); color: var(--paper); text-transform: uppercase; opacity: 0; transition: opacity .2s; }
.eltio.alt-index .x-cur.on { opacity: 1; }
@media (max-width: 760px) {
  .eltio.alt-index .x-intro { grid-template-columns: minmax(0,1fr); padding: 72px 0 40px; }
  .eltio.alt-index .x-head { display: none; }
  .eltio.alt-index .x-open { grid-template-columns: 2.4em minmax(0,1fr); row-gap: 4px; cursor: pointer; }
  .eltio.alt-index .x-kind { grid-column: 2; }
  .eltio.alt-index .x-st, .eltio.alt-index .x-y { display: none; }
  .eltio.alt-index .a-bar > .m { display: none; }
  .eltio.alt-index .x-peek, .eltio.alt-index .x-cur { display: none; }
  .eltio.alt-index .x-sheet .a-notes { grid-template-columns: minmax(0,1fr); }
}

/* ---------- C. Iris ---------- */
.eltio.alt-iris .i-bar { mix-blend-mode: normal; }
.eltio.alt-iris .i-open { height: 260vh; position: relative; }
.eltio.alt-iris .i-open-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.eltio.alt-iris .i-intro { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 16px; max-width: 760px; margin: 0 auto; }
.eltio.alt-iris .i-shut { position: absolute; inset: 0; background: var(--ink); color: var(--paper); display: grid; place-items: center; align-content: center; gap: 22px; }
.eltio.alt-iris .i-eye { width: 120px; background: var(--paper); will-change: transform; }
.eltio.alt-iris .i-down { position: absolute; left: 50%; bottom: 32px; margin-left: -20px; width: 40px; height: 48px; display: grid; place-items: center; color: var(--paper); opacity: .7; animation: i-bob 1.8s ease-in-out infinite; }
.eltio.alt-iris .i-down:hover { opacity: 1; }
.eltio.alt-iris .i-down:focus-visible { outline: 1px solid var(--paper); outline-offset: 2px; }
@keyframes i-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 8px; } }
.eltio.alt-iris .i-stack { position: relative; padding: 0 16px 16px; }
.eltio.alt-iris .i-card { position: sticky; top: calc(56px + var(--i) * 34px); height: calc(100vh - 72px - var(--i) * 34px); min-height: 420px; margin-bottom: 24vh; background: var(--bg); border: 1px solid var(--s1); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transform-origin: 50% 0; will-change: transform; box-shadow: 0 -12px 30px rgba(0,0,0,.06); }
.eltio.alt-iris .i-tab { display: flex; justify-content: space-between; gap: 1em; padding: 9px 14px; border-bottom: 1px solid var(--hr); flex: none; }
.eltio.alt-iris .i-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: 16px; padding: 14px; }
.eltio.alt-iris .i-stage { min-width: 0; min-height: 0; position: relative; }
.eltio.alt-iris .i-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; overflow: auto; }
.eltio.alt-iris .i-side .brandrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.eltio.alt-iris .i-side .brandrow figcaption { display: none; }
.eltio.alt-iris .i-card.i-end { margin-bottom: 0; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.eltio.alt-iris .i-end .i-tab { border-color: rgba(243,243,240,.16); }
.eltio.alt-iris .i-end .i-tab .m, .eltio.alt-iris .i-end-foot { color: rgba(243,243,240,.5); }
.eltio.alt-iris .i-end a { color: inherit; }
.eltio.alt-iris .i-end-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: .1em; padding: 24px 14px 14px; position: relative; }
.eltio.alt-iris .i-big { font-size: clamp(30px, 6.2vw, 100px); line-height: 1.02; font-weight: 300; letter-spacing: -.02em; margin: 0; text-transform: none; }
.eltio.alt-iris .i-q { color: rgba(243,243,240,.45); }
.eltio.alt-iris .i-copy { align-self: flex-start; margin: auto 0; text-align: left; color: var(--paper); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; overflow-wrap: anywhere; position: relative; }
.eltio.alt-iris .i-mask { display: block; overflow: hidden; padding-bottom: .08em; }
.eltio.alt-iris .i-rise { display: block; translate: 0 105%; transition: translate 1.1s cubic-bezier(.16,1,.3,1) .1s; }
.eltio.alt-iris .i-end.in .i-rise { translate: 0 0; }
.eltio.alt-iris .i-copy::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.eltio.alt-iris .i-end.in .i-copy::after { transform: scaleX(.999); transform-origin: 0 50%; transition-delay: .7s; opacity: .35; }
.eltio.alt-iris .i-copy:hover::after { opacity: 1; }
.eltio.alt-iris .i-copy:focus-visible { outline: 1px solid var(--paper); outline-offset: 4px; }
.eltio.alt-iris .i-end-foot { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; padding-top: 32px; }
.eltio.alt-iris .i-end-eye { width: 22px; background: var(--paper); margin-left: auto; }
@media (max-width: 760px) {
  .eltio.alt-iris .i-card { top: calc(52px + var(--i) * 22px); height: auto; min-height: 0; margin-bottom: 14vh; }
  .eltio.alt-iris .i-body { grid-template-columns: minmax(0, 1fr); }
  .eltio.alt-iris .i-side { overflow: visible; }
  .eltio.alt-iris .i-eye { width: 90px; }
  .eltio.alt-iris .i-card.i-end { min-height: calc(100vh - 160px); }
  .eltio.alt-iris .i-big { font-size: 34px; }
  .eltio.alt-iris .i-copy { font-size: 27px; word-break: normal; }
}
/* Iris type layouts: the preview picks one with alt-iris.html#t-a ... #t-d. No class = the original left-aligned version. */
.eltio.alt-iris .i-intro { gap: 1.15em; }
.eltio.alt-iris .i-intro p { margin: 0; }
.eltio.alt-iris .i-intro .ln { text-wrap: balance; }
.eltio.alt-iris .nw { white-space: nowrap; }
.eltio.alt-iris .i-lab, .eltio.alt-iris .i-end-mark { display: none; }
.eltio.alt-iris.t-a .i-l2, .eltio.alt-iris.t-b .i-l2, .eltio.alt-iris.t-c .i-l2, .eltio.alt-iris.t-d .i-l2 { color: var(--s5); }
.eltio.alt-iris .ln { transition: opacity .3s; }

/* A. Centred: one size, centred, each line its own line */
.eltio.alt-iris.t-a .i-intro { align-items: center; text-align: center; max-width: none; }
.eltio.alt-iris.t-a .ln { display: block; }
.eltio.alt-iris.t-a .i-end-body { align-items: center; text-align: center; }
.eltio.alt-iris.t-a .i-copy { align-self: center; font-size: clamp(28px, 4.4vw, 68px); }
.eltio.alt-iris.t-a .i-end-foot { justify-content: center; }
.eltio.alt-iris.t-a .i-end-eye { margin-left: 0; }

/* B. Statement: large light type, bottom left, set in lines */
.eltio.alt-iris.t-b .i-intro { justify-content: flex-end; max-width: none; padding: 0 16px 56px; gap: .5em; font-size: clamp(24px, 3.5vw, 54px); line-height: 1.08; font-weight: 300; letter-spacing: -.015em; }
.eltio.alt-iris.t-b .ln { display: block; }
.eltio.alt-iris.t-b .i-lab { display: block; font-size: 11px; letter-spacing: 0; line-height: 1.15; font-weight: 400; margin-bottom: 1.6em; }
.eltio.alt-iris.t-b .i-end-body { justify-content: flex-end; }
.eltio.alt-iris.t-b .i-copy { margin: auto 0 0; font-size: clamp(36px, 8.4vw, 136px); letter-spacing: -.03em; }

/* C. Split: label, statement and line on one row like a credit block */
.eltio.alt-iris.t-c .i-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; align-content: center; max-width: none; padding: 0 16px; }
.eltio.alt-iris.t-c .i-lab { display: block; grid-column: 1 / span 3; }
.eltio.alt-iris.t-c .i-l1 { grid-column: 4 / span 6; font-size: clamp(18px, 1.75vw, 30px); line-height: 1.1; font-weight: 300; letter-spacing: -.01em; }
.eltio.alt-iris.t-c .i-l1 .ln { display: block; }
.eltio.alt-iris.t-c .i-l2 { grid-column: 10 / span 3; justify-self: end; text-align: right; }
.eltio.alt-iris.t-c .i-l2 .ln { display: block; }
.eltio.alt-iris.t-c .i-end-body { align-items: flex-end; text-align: right; }
.eltio.alt-iris.t-c .i-copy { align-self: flex-end; text-align: right; margin: auto 0 0; font-size: clamp(30px, 5vw, 84px); }
.eltio.alt-iris.t-c .i-end-foot { width: 100%; }

/* D. Centred large: big centred statement, eye over the email */
.eltio.alt-iris.t-d .i-intro { align-items: center; text-align: center; max-width: none; padding: 0 24px; gap: .7em; font-size: clamp(22px, 3vw, 46px); line-height: 1.1; font-weight: 300; letter-spacing: -.015em; }
.eltio.alt-iris.t-d .ln { display: block; }
.eltio.alt-iris.t-d .i-end-body { align-items: center; text-align: center; }
.eltio.alt-iris.t-d .i-end-mark { display: block; width: 44px; background: var(--paper); margin: auto 0 28px; }
.eltio.alt-iris.t-d .i-copy { align-self: center; margin: 0 0 auto; font-size: clamp(30px, 5.6vw, 92px); }
.eltio.alt-iris.t-d .i-end-foot { justify-content: center; }
.eltio.alt-iris.t-d .i-end-eye { display: none; }

@media (max-width: 760px) {
  .eltio.alt-iris.t-a .i-copy, .eltio.alt-iris.t-c .i-copy, .eltio.alt-iris.t-d .i-copy { font-size: 27px; }
  .eltio.alt-iris.t-b .i-copy { font-size: 30px; }
  .eltio.alt-iris.t-b .i-intro { font-size: 22px; }
  .eltio.alt-iris.t-c .i-l2 { justify-self: start; text-align: left; }
  .eltio.alt-iris.t-c .i-intro { grid-template-columns: minmax(0, 1fr); row-gap: 1.2em; align-content: end; padding-bottom: 56px; }
  .eltio.alt-iris.t-c .i-intro > * { grid-column: 1 / -1; }
  .eltio.alt-iris.t-c .i-l1 { font-size: 21px; }
  .eltio.alt-iris.t-d .i-intro { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .eltio.alt-reel .r-slate { display: none; }
  .eltio.alt-index .x-sheet { transition: none; }
  .eltio.alt-iris .i-down { animation: none; }
  .eltio.alt-iris .i-rise { translate: none; transition: none; }
}

/* Cargo sets its own text sizes on paragraphs and buttons, so the big type is pinned on the elements themselves.
   Diatype Mono comes from Cargo's font library (pick it in Cargo's type settings so it loads); elsewhere it falls back to Geist Mono. */
.eltio.alt-iris { --big: "Diatype Mono Variable", "Diatype Mono", "ABC Diatype Mono", var(--mono); }
.eltio.alt-iris.t-b .i-intro p, .eltio.alt-iris.t-b .i-intro .ln { font-family: var(--big) !important; font-size: clamp(24px, 3.5vw, 54px) !important; line-height: 1.08 !important; font-weight: 300 !important; letter-spacing: -.015em !important; margin: 0 !important; }
.eltio.alt-iris.t-b .i-intro .ln { font-size: inherit !important; }
.eltio.alt-iris.t-b .i-copy, .eltio.alt-iris.t-b .i-copy .i-mask, .eltio.alt-iris.t-b .i-copy .i-rise { font-family: var(--big) !important; font-size: clamp(36px, 8.4vw, 136px) !important; line-height: 1.15 !important; font-weight: 300 !important; letter-spacing: -.03em !important; }
.eltio.alt-iris.t-b .i-copy .i-mask, .eltio.alt-iris.t-b .i-copy .i-rise { font-size: inherit !important; }
@media (max-width: 640px) {
  .eltio.alt-iris.t-b .i-intro p { font-size: 22px !important; }
  .eltio.alt-iris.t-b .i-copy { font-size: 30px !important; }
}
/* Cargo's Diatype Mono is the variable Diatype with its mono axis turned up. */
.eltio.alt-iris.t-b .i-l1, .eltio.alt-iris.t-b .i-l2, .eltio.alt-iris.t-b .i-copy { font-variation-settings: var(--bigv, "MONO" 1, "wght" 300) !important; }
.eltio.alt-iris.t-b .i-l1 *, .eltio.alt-iris.t-b .i-l2 *, .eltio.alt-iris.t-b .i-copy * { font: inherit !important; letter-spacing: inherit !important; font-variation-settings: inherit !important; color: inherit; }
.eltio.alt-iris.t-b .i-intro p.i-lab, .eltio.alt-iris.t-b .i-intro p.i-lab * { font-family: var(--mono) !important; font-size: 11px !important; line-height: 1.15 !important; font-weight: 400 !important; letter-spacing: 0 !important; font-variation-settings: normal !important; margin: 0 0 1.6em !important; }
.eltio.alt-iris.t-b .i-intro p.i-lab * { margin: 0 !important; color: var(--s5); }
/* The email is a plain mail link; strip any link styling Cargo adds. */
.eltio.alt-iris .i-end a.i-copy, .eltio.alt-iris .i-end a.i-copy:hover, .eltio.alt-iris .i-end a.i-copy:active { color: var(--paper) !important; background: none !important; border: 0 !important; text-decoration: none !important; opacity: 1 !important; box-shadow: none !important; }
/* Opening read-out (letterbox ratio, focus distance) */
.eltio.alt-iris .i-read { position: absolute; left: 0; right: 0; text-align: center; color: rgba(243,243,240,.7); opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 2; }
.eltio.alt-iris.o-2 .i-read { color: var(--s5); }
.eltio.alt-iris.o-2 .i-intro { will-change: filter, transform; transform-origin: 0 100%; }
.eltio.alt-iris.o-1 .i-intro { justify-content: center !important; padding-bottom: 0 !important; }
/* Peek mode: no long scroll-driven opening; the intro is one screen and the first project card peeks up from the bottom */
.eltio.alt-iris.pk .i-open { height: calc(100svh - 64px); }
.eltio.alt-iris.pk .i-open-sticky { position: relative; height: 100%; }
.eltio.alt-iris.pk .i-down { display: none; }
.eltio.alt-iris.pk .i-intro { padding-bottom: 40px; }
.eltio.alt-iris.pk.at-top .i-card[data-i="0"] { animation: i-nudge 3.2s cubic-bezier(.3,0,.2,1) 3.6s infinite; }
@keyframes i-nudge { 0%, 70%, 100% { translate: 0 0; } 80% { translate: 0 -18px; } 90% { translate: 0 0; } 95% { translate: 0 -5px; } }
.eltio.alt-iris.pk .i-stack::before { content: "(5) projects, scroll"; position: absolute; right: 30px; top: -22px; font: 400 11px/1 var(--mono); color: #8A8A83; transition: opacity .4s; }
.eltio.alt-iris.pk:not(.at-top) .i-stack::before { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .eltio.alt-iris.pk.at-top .i-card[data-i="0"] { animation: none; } }
.eltio.alt-iris.cf .i-stack { z-index: 3; }
.eltio.alt-iris.cf .i-stack::before { content: none; }
