/* ==========================================================================
   NickShana — site.css (v7)
   Type: Gloock (display), Schibsted Grotesk (text), General Sans (wordmark only)
   ========================================================================== */

@font-face { font-family: "General Sans"; src: url("../assets/fonts/GeneralSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --night: #0D0C0A;
  --coal: #151310;
  --cream: #F4EFE4;
  --paper: #EBE3D3;
  --ink: #15120E;
  --lume: #F2A65A;
  --lume-deep: #A4561A;
  --dim-d: rgba(244, 239, 228, .64);
  --dim-l: rgba(21, 18, 14, .64);
  --line-d: rgba(244, 239, 228, .16);
  --line-l: rgba(21, 18, 14, .16);

  --f-disp: "Gloock", "Iowan Old Style", "Georgia", "Times New Roman", serif;
  --f-text: "Schibsted Grotesk", "Helvetica Neue", "Arial", sans-serif;
  --f-logo: "General Sans", "Schibsted Grotesk", "Arial", sans-serif;

  --gut: clamp(16px, 3.2vw, 52px);
  --gap: clamp(12px, 1.6vw, 28px);
  --sec: clamp(96px, 12vw, 200px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --top: env(safe-area-inset-top, 0px);

  color-scheme: dark;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); -webkit-text-size-adjust: 100%; overflow-anchor: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--night); color: var(--cream);
  font: 400 1.0625rem/1.5 var(--f-text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-kerning: normal;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; }
sup { font-size: .62em; line-height: 0; vertical-align: .55em; }
[hidden] { display: none !important; }
::selection { background: var(--lume); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lume); outline-offset: 3px; border-radius: 2px; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: var(--gut); top: calc(var(--top) + 12px); z-index: 200; padding: .6em 1em; background: var(--cream); color: var(--ink); text-decoration: none; transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip:focus { transform: none; }

.u-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .24em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color .3s; }
.u-link:hover { text-decoration-color: currentColor; }
.ring-link { display: inline-flex; align-items: center; gap: .62em; font-weight: 600; font-size: 1rem; letter-spacing: -.005em; text-decoration: none; line-height: 1.2; }
.ring-link i { flex: none; width: 1.3em; height: 1.3em; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; transition: box-shadow .5s var(--ease), background .5s var(--ease), transform .6s var(--ease); }
.ring-link:hover i, .ring-link:focus-visible i { transform: scale(1.18); background: radial-gradient(circle, rgba(242, 166, 90, .5), rgba(242, 166, 90, 0) 68%); box-shadow: inset 0 0 0 1.5px var(--lume), 0 0 16px 3px rgba(242, 166, 90, .55); }
.ring-link.big { font-size: clamp(1.1rem, 1.5vw, 1.35rem); }

/* play button: a ring of light with a play mark */
.play-btn { display: inline-flex; align-items: center; gap: .8em; font-weight: 600; font-size: clamp(1rem, 1.2vw, 1.12rem); text-decoration: none; }
.play-btn i { position: relative; flex: none; width: 3em; height: 3em; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--acc, var(--lume)), 0 0 18px -2px var(--acc, var(--lume)); transition: transform .6s var(--ease), background .4s; }
.play-btn i::after { content: ""; position: absolute; left: 50%; top: 50%; width: .9em; height: 1em; transform: translate(-35%, -50%); background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.play-btn:hover i { transform: scale(1.1); background: color-mix(in srgb, var(--acc, var(--lume)) 22%, transparent); }

/* ---------------------------------------------------------------- cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.c-ring { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--lume); transition: width .45s var(--ease), height .45s var(--ease), left .45s var(--ease), top .45s var(--ease), opacity .3s; }
.c-label { position: absolute; left: 22px; top: -9px; font: 600 .78rem/1 var(--f-text); color: var(--cream); background: rgba(13, 12, 10, .8); padding: .42em .6em; border-radius: 3px; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); }
.cursor.is-link .c-ring { width: 44px; height: 44px; left: -22px; top: -22px; }
.cursor.has-label .c-ring { width: 60px; height: 60px; left: -30px; top: -30px; background: rgba(242, 166, 90, .12); }
.cursor.has-label .c-label { opacity: 1; transform: none; left: 38px; }
.cursor.is-down .c-ring { width: 20px; height: 20px; left: -10px; top: -10px; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor select, .has-cursor .svc-k { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.has-cursor dialog, .has-cursor dialog * { cursor: auto; }

/* ---------------------------------------------------------------- corner header */
.corner { position: fixed; z-index: 100; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; padding: calc(var(--top) + clamp(14px, 2vw, 26px)) var(--gut) 0; pointer-events: none; color: var(--cream); text-shadow: 0 1px 14px rgba(0, 0, 0, .3); transition: color .5s var(--ease), transform .7s var(--ease), opacity .5s; }
.corner.hide { transform: translateY(-140%); opacity: 0; }
.corner > * { pointer-events: auto; }
.corner.hide > * { pointer-events: none; }
.corner[data-tone="light"] { color: var(--ink); text-shadow: none; }
.brand { font: 400 clamp(1.3rem, 1.7vw, 1.6rem)/1 var(--f-logo); letter-spacing: -.02em; text-decoration: none; }
.corner-r { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.corner-cta { font-weight: 500; font-size: .95rem; }
.menu-btn { display: inline-flex; align-items: center; gap: .6em; font-weight: 600; font-size: .95rem; }
.prog { width: 34px; height: 34px; transform: rotate(-90deg); overflow: visible; }
.prog circle { fill: none; stroke-width: 1.6; }
.prog .trk { stroke: currentColor; opacity: .25; }
.prog .val { stroke: var(--lume); stroke-dasharray: 106.8; stroke-dashoffset: calc(106.8 * (1 - var(--p, 0))); stroke-linecap: round; }
.menu-open .corner { color: var(--ink); text-shadow: none; }
.menu-open .corner-cta { opacity: 0; pointer-events: none; }

/* ---------------------------------------------------------------- menu */
.menu { position: fixed; inset: 0; z-index: 90; background: var(--lume); color: var(--ink); display: grid; grid-template-rows: 1fr auto; padding: calc(var(--top) + 100px) var(--gut) calc(env(safe-area-inset-bottom, 0px) + 28px); visibility: hidden; clip-path: circle(0 at calc(100% - var(--gut) - 17px) calc(var(--top) + 38px)); transition: clip-path .9s var(--ease), visibility 0s .9s; overflow-y: auto; }
.menu.open { visibility: visible; clip-path: circle(150vmax at calc(100% - var(--gut) - 17px) calc(var(--top) + 38px)); transition: clip-path 1s var(--ease), visibility 0s; }
.menu-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; column-gap: var(--gap); row-gap: clamp(6px, 1.2vw, 16px); }
.menu-nav a { display: flex; align-items: baseline; gap: 1rem; text-decoration: none; padding-block: .1em; }
.menu-nav a:nth-child(even) { padding-left: 12%; }
.mw { font: 400 clamp(2.4rem, 6vw, 6.2rem)/.95 var(--f-disp); letter-spacing: -.02em; transition: transform .6s var(--ease); }
.mc { font-size: .9rem; opacity: 0; transform: translateX(-8px); transition: opacity .4s, transform .5s var(--ease); }
.menu-nav a:hover .mw, .menu-nav a:focus-visible .mw { transform: translateX(.12em); }
.menu-nav a:hover .mc, .menu-nav a:focus-visible .mc { opacity: .75; transform: none; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 12px 48px; font-size: .95rem; border-top: 1px solid var(--line-l); padding-top: 18px; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--h-bg, #140E09); color: var(--h-fg, var(--cream)); }
#light { position: absolute; inset: 0; width: 100%; height: 100%; }
#light.nogl { background: radial-gradient(circle at 70% 50%, var(--h-b, #6B3413), transparent 60%), var(--h-bg, #140E09); }
.hero-h { position: absolute; z-index: 2; left: var(--gut); top: 50%; --fs: clamp(3rem, 6.4vw, 7.6rem); font: 400 var(--fs)/.94 var(--f-disp); letter-spacing: -.022em; transform: translateY(calc(-1.5 * .94 * var(--fs))); pointer-events: none; }
.hl { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hl-in { display: block; white-space: nowrap; }
.lens { position: absolute; z-index: 2; top: 50%; right: calc(var(--gut) + 1vw); width: min(64vh, 42vw); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; display: grid; place-items: center; color: var(--h-w, var(--lume)); }
.lens-word { font: 400 var(--lw, clamp(3rem, 7vw, 8rem))/1 var(--f-disp); letter-spacing: -.02em; white-space: nowrap; display: inline-block; padding-bottom: .06em; }
.lens-word .ch { display: inline-block; }
.lens:focus-visible { outline-offset: -10px; border-radius: 50%; }
.hero-foot { position: absolute; z-index: 2; left: var(--gut); bottom: clamp(24px, 5vh, 56px); max-width: 30rem; display: grid; gap: 22px; }
.hero-sub { font-size: clamp(1.02rem, 1.2vw, 1.15rem); line-height: 1.45; opacity: .86; max-width: 34ch; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; font-weight: 500; }
.industries { position: absolute; z-index: 2; right: var(--gut); bottom: clamp(24px, 5vh, 56px); display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 18px; max-width: 46vw; font-size: .9rem; }
.industries button { display: inline-flex; align-items: center; gap: .5em; opacity: .5; padding: .15em 0; transition: opacity .3s; }
.industries button::before { content: ""; width: .5em; height: .5em; border-radius: 50%; box-shadow: inset 0 0 0 1.2px currentColor; opacity: 0; transition: opacity .3s, background .3s; }
.industries button:hover { opacity: .85; }
.industries button[aria-pressed="true"] { opacity: 1; }
.industries button[aria-pressed="true"]::before { opacity: 1; background: var(--h-w, var(--lume)); }

/* ---------------------------------------------------------------- reel */
.reel { position: relative; background: var(--night); }
.reel-stick { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.reel-iris { position: absolute; inset: 0; clip-path: circle(var(--iris, 150vmax) at 50% 50%); }
.reel-v { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--rs, 1)); }
.reel-ring { position: absolute; left: 50%; top: 50%; width: calc(var(--iris, 0px) * 2); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 1.5px rgba(242, 166, 90, .95), 0 0 30px 4px rgba(242, 166, 90, .4); opacity: var(--ro, 0); pointer-events: none; }
.reel-open { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 32%); opacity: var(--scrim, 1); }
.reel-cap { position: absolute; z-index: 2; left: var(--gut); bottom: clamp(24px, 5vh, 52px); pointer-events: none; text-shadow: 0 1px 18px rgba(0, 0, 0, .45); }
.reel-t { font: 400 clamp(2rem, 3.6vw, 3.6rem)/1 var(--f-disp); letter-spacing: -.015em; }
.reel-m { margin-top: 10px; font-size: .95rem; opacity: .85; }
.reel-sound { position: absolute; z-index: 2; right: var(--gut); bottom: clamp(24px, 5vh, 52px); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .6em; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.reel-sound::before { content: ""; width: 1.15em; height: 1.15em; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.reel-sound[aria-pressed="true"]::before { background: var(--lume); }

/* ---------------------------------------------------------------- ads */
.ads { background: #0B0A09; }
.ads-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: end; padding: var(--sec) var(--gut) clamp(56px, 7vw, 110px); }
.ads-intro h2 { grid-column: 1 / span 7; font: 400 clamp(3.2rem, 8.2vw, 8.8rem)/.9 var(--f-disp); letter-spacing: -.03em; }
.ads-side { grid-column: 8 / -1; display: grid; gap: 26px; }
.ads-lede { color: var(--dim-d); max-width: 42ch; }
.ads-index { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 500; }
.ads-index a { text-decoration: none; opacity: .8; border-bottom: 1.5px solid transparent; padding-bottom: 2px; transition: opacity .3s, border-color .3s; }
.ads-index a:hover { opacity: 1; border-color: var(--lume); }
.ads-index sup { color: var(--lume); font-weight: 600; margin-left: .1em; }

.chap { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--tint, #0B0A09); color: var(--cream); }
.chap + .chap { border-top: 1px solid rgba(255, 255, 255, .06); }
.chap-bg { position: absolute; inset: 0; z-index: -1; display: flex; gap: 2px; background: var(--tint); }
.chap-bg .bgv { flex: 1; min-width: 0; height: 100%; object-fit: cover; }
.chap-bg .m { display: none; }
.chap-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 8, 6, .94) 0%, rgba(10, 8, 6, .55) 34%, rgba(10, 8, 6, 0) 64%), linear-gradient(to right, rgba(10, 8, 6, .5), rgba(10, 8, 6, 0) 58%); }
.chap-in { position: relative; width: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-items: end; padding: 18vh var(--gut) clamp(28px, 5vh, 56px); }
.chap-txt { grid-column: 1 / span 6; }
.chap-t { font: 400 clamp(3.4rem, 9.4vw, 10rem)/.88 var(--f-disp); letter-spacing: -.03em; text-wrap: nowrap; }
.chap-b { margin-top: 18px; font-weight: 600; font-size: 1.08rem; }
.chap-b span { font-weight: 400; opacity: .6; margin-left: .35em; }
.chap-d { margin-top: 8px; max-width: 44ch; opacity: .82; }
.chap-cta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.chap-cta > span { font-size: .9rem; opacity: .66; }
.rail { grid-column: 8 / -1; justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 580px; }
.rail a { position: relative; display: block; width: 62px; aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; outline: 1px solid rgba(255, 255, 255, .2); outline-offset: -1px; transition: transform .45s var(--ease), outline-color .3s; }
.rail img { width: 100%; height: 100%; object-fit: cover; }
.rail b { position: absolute; left: 3px; right: 3px; bottom: 3px; font: 700 .58rem/1.3 var(--f-text); text-align: center; background: var(--acc); color: #120E0A; border-radius: 2px; }
.rail a:hover, .rail a:focus-visible { transform: translateY(-5px); outline-color: var(--acc); }
.rail a.more span { position: absolute; inset: 0; display: grid; place-items: center; font: 400 1.35rem/1 var(--f-disp); color: #fff; background: rgba(10, 8, 6, .62); }
.rail { flex-wrap: nowrap; }

/* ---------------------------------------------------------------- UGC */

/* ---------------------------------------------------------------- design */
.design { position: relative; background: var(--w-bg, #10251B); color: var(--w-fg, #F7E9D8); }
.client { padding: clamp(80px, 9vw, 140px) var(--gut); }
.client-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 10px; margin-bottom: clamp(32px, 4vw, 56px); align-items: end; }
.client-head h3 { grid-column: 1 / span 7; grid-row: 1 / span 2; font: 400 clamp(2.6rem, 6vw, 6.4rem)/.92 var(--f-disp); letter-spacing: -.028em; }
.client-what { grid-column: 8 / -1; font-weight: 600; }
.client-d { grid-column: 8 / -1; opacity: .8; max-width: 46ch; }
.pc { position: relative; min-width: 0; }
.pc a { position: relative; display: block; overflow: hidden; border-radius: 3px; background: color-mix(in srgb, var(--w-fg, #fff) 8%, transparent); }
.pc img, .pc video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pc video { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.pc video.ready { opacity: 1; }
.pc a:hover img { transform: scale(1.03); }
.pc figcaption { margin-top: 10px; font-size: .85rem; opacity: .72; }
h4 { font: 400 clamp(1.6rem, 2.4vw, 2.4rem)/1.05 var(--f-disp); letter-spacing: -.015em; }

.btg-hero { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.btg-hero .pc a { aspect-ratio: 3 / 4; }
.btg-hero .pc.big { grid-column: span 2; grid-row: span 2; }
.btg-hero .pc.big a { aspect-ratio: auto; height: calc(100% - 30px); }
.btg-count { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; align-items: center; margin-top: clamp(64px, 8vw, 120px); }
.deck { grid-column: 1 / span 4; position: relative; aspect-ratio: 3 / 4; max-width: 460px; width: 100%; }
.deck .card { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); transform: translate(calc(var(--k, 0) * 10px), calc(var(--k, 0) * -8px)) rotate(calc(var(--k, 0) * 2deg)); transition: transform .9s var(--ease), opacity .6s; z-index: calc(20 - var(--k, 0)); }
.deck .card img { width: 100%; height: 100%; object-fit: cover; }
.deck .card.gone { transform: translate(-70%, 12%) rotate(-18deg); opacity: 0; }
.deck .card.far { opacity: 0; }
.deck-txt { grid-column: 6 / span 3; display: grid; gap: 14px; }
.btg-count .pc.invite { grid-column: 10 / span 3; }
.btg-count .pc.invite a { aspect-ratio: 9 / 16; }
.feed-more { display: none; margin-top: 18px; font-weight: 600; }
.deck-txt p { opacity: .8; max-width: 40ch; }
.deck-n { font: 400 clamp(3rem, 6vw, 6rem)/1 var(--f-disp); opacity: 1 !important; color: var(--w-accent, var(--lume)); }
.deck-n span { font-variant-numeric: tabular-nums; }
.btg-lineup { margin-top: clamp(64px, 8vw, 120px); }
.lineup { margin-top: 24px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.lineup .pc a { aspect-ratio: 3 / 4; }
.lineup .pc.moving a::after { content: "Moving"; position: absolute; z-index: 2; left: 8px; top: 8px; font: 700 .62rem/1 var(--f-text); padding: .35em .5em; border-radius: 2px; background: var(--w-accent); color: #101010; }

.feed { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.feed .post { display: block; aspect-ratio: 1; overflow: hidden; background: rgba(255, 255, 255, .06); }
.feed img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feed .post:hover img { transform: scale(1.06); }

.client .pc.cover { margin-top: clamp(28px, 3vw, 48px); }
.tm-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
.tm-row .pc a { aspect-ratio: 4 / 5; }

.idn-bento, .sp-bento { columns: 3; column-gap: var(--gap); }
.idn-bento .pc, .sp-bento .pc { break-inside: avoid; margin-bottom: var(--gap); }
.idn-bento img, .sp-bento img { height: auto; }
.sp-bento .pc.walk a { aspect-ratio: 4 / 5; }
.sp-bento .pc.walk img { height: 100%; }
.logo-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(24px, 3vw, 40px); }
.lg { display: grid; gap: 10px; text-decoration: none; font-size: .82rem; opacity: .85; }
.lg img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; background: #fff; }

/* ---------------------------------------------------------------- one-second test */
.test { position: relative; background: #12100D; overflow-x: clip; }
.test-stick { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; padding: var(--sec) var(--gut); }
.test-copy { grid-column: 1 / span 5; }
.test-copy h2 { font: 400 clamp(2.4rem, 4.4vw, 4.8rem)/1 var(--f-disp); letter-spacing: -.02em; }
.stages { position: relative; margin-top: 28px; max-width: 38ch; min-height: 7.5em; }
.stage { color: var(--dim-d); font-size: clamp(1.05rem, 1.25vw, 1.2rem); transition: opacity .6s, transform .8s var(--ease); }
.stage.s2 { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(12px); }
.test.is-system .s1 { opacity: 0; transform: translateY(-12px); }
.test.is-system .s2 { opacity: 1; transform: none; color: var(--cream); }
.meter { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: .85rem; font-weight: 500; max-width: 24rem; }
.m-track { flex: 1; height: 1px; background: var(--line-d); position: relative; }
.m-track i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--lume); transform-origin: left; transform: scaleX(var(--p, 1)); }
.tile { aspect-ratio: 1; position: relative; }
.tile-in { position: absolute; inset: 0; transform-style: preserve-3d; }
.face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; backface-visibility: hidden; border-radius: 2px; }
.face.back { transform: rotateY(180deg); }
.nofx .test .face.front { display: none; }
.nofx .test .face.back { transform: none; }

/* ---------------------------------------------------------------- services: an exploded view of a brand */
.layers { position: relative; background: radial-gradient(120% 90% at 72% 50%, #1D1712 0%, #0B0A09 62%); color: var(--cream); overflow: clip; }
.ly-stick { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; padding: clamp(96px, 12vh, 130px) var(--gut) clamp(40px, 6vh, 70px); }
.ly-copy { grid-column: 1 / span 5; position: relative; z-index: 2; }
.layers h2 { font: 400 clamp(2.6rem, 5.2vw, 5.6rem)/.94 var(--f-disp); letter-spacing: -.028em; }
.ly-sub { margin-top: 16px; color: var(--dim-d); max-width: 36ch; }
.ly-info { margin-top: clamp(26px, 5vh, 56px); min-height: 13rem; }
.ly-t { font: 400 clamp(1.9rem, 3vw, 3.1rem)/1 var(--f-disp); color: var(--lume); letter-spacing: -.015em; }
.ly-d { margin-top: 12px; max-width: 40ch; }
.ly-x { margin-top: 10px; font-size: .88rem; color: var(--dim-d); max-width: 46ch; }
.ly-idx { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: .9rem; font-weight: 500; }
.ly-idx button { opacity: .45; padding: .15em 0; border-bottom: 1.5px solid transparent; transition: opacity .3s, border-color .3s; }
.ly-idx button:hover { opacity: .8; }
.ly-idx button.on { opacity: 1; border-color: var(--lume); }
.ly-stage { grid-column: 6 / -1; position: relative; height: min(80vh, 740px); display: grid; place-items: center; perspective: 2600px; }
.ly-stack { position: relative; width: min(35vw, 500px); aspect-ratio: 4 / 3; transform-style: preserve-3d; transform: rotateX(56deg) rotateZ(var(--rz, -40deg)); --gap: 7px; transition: transform 1.4s var(--ease); }
.ly-stack.open { --gap: calc(min(35vw, 500px) * .15); }
.ly-layer { position: absolute; inset: 0; border-radius: 10px; overflow: hidden; background: #15120E; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); transform: translate3d(0, 0, calc(var(--i) * var(--gap))) rotateZ(0deg) rotateX(0deg) scale(1); transition: transform 1.15s var(--ease), opacity .6s, box-shadow .6s; }
.ly-stack.has-focus .ly-layer { opacity: .26; }
.ly-layer.focus { opacity: 1 !important; transform: translate3d(var(--fx, 0px), var(--fy, 0px), var(--fz, 0px)) rotateZ(calc(-1 * var(--rz, -40deg))) rotateX(-56deg) scale(var(--fs, .92)); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(242, 166, 90, .6), 0 0 40px -6px rgba(242, 166, 90, .45); }
.ly-tag { position: absolute; z-index: 3; left: 10px; top: 9px; font: 700 .66rem/1 var(--f-text); letter-spacing: .01em; padding: .45em .6em; border-radius: 3px; background: rgba(10, 8, 6, .72); color: #fff; }
.ly-layer video, .ly-layer > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.l-growth { background: linear-gradient(160deg, #10203A, #0A1222); }
.chart { position: absolute; left: 8%; right: 8%; top: 24%; bottom: 24%; display: flex; align-items: flex-end; gap: 5%; }
.chart i { flex: 1; height: calc(var(--h) * 100%); border-radius: 3px 3px 0 0; background: linear-gradient(to top, rgba(242, 166, 90, .2), #F2A65A); transform-origin: bottom; transform: scaleY(.12); transition: transform 1s var(--ease); }
.ly-stack.open .chart i { transform: none; }
.chart i:nth-child(2) { transition-delay: .06s; } .chart i:nth-child(3) { transition-delay: .12s; } .chart i:nth-child(4) { transition-delay: .18s; } .chart i:nth-child(5) { transition-delay: .24s; } .chart i:nth-child(6) { transition-delay: .3s; } .chart i:nth-child(7) { transition-delay: .36s; }
.trend { position: absolute; left: 8%; top: 20%; height: 50%; width: 84%; overflow: visible; }
.trend path { fill: none; stroke: #F4EFE4; stroke-width: .45; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.ly-stack.open .trend path { stroke-dashoffset: 0; }
.plats { position: absolute; left: 8%; right: 8%; bottom: 7%; display: flex; flex-wrap: wrap; gap: 5px; }
.plats span { font: 600 .62rem/1 var(--f-text); padding: .45em .6em; border-radius: 3px; background: rgba(255, 255, 255, .1); color: #E9EEF8; }
.l-identity { background: #F4EFE4; }
.l-identity .logos { position: absolute; left: 22%; right: 22%; top: 14%; bottom: 26%; }
.l-identity .logos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; animation: logocycle 8s infinite; }
.l-identity .logos img:nth-child(2) { animation-delay: 2s; } .l-identity .logos img:nth-child(3) { animation-delay: 4s; } .l-identity .logos img:nth-child(4) { animation-delay: 6s; }
@keyframes logocycle { 0%, 3% { opacity: 0; transform: scale(.94); } 8%, 22% { opacity: 1; transform: none; } 27%, 100% { opacity: 0; transform: scale(1.03); } }
.l-identity .sw { position: absolute; left: 18%; right: 18%; bottom: 10%; height: 9%; display: flex; border-radius: 3px; overflow: hidden; }
.l-identity .sw i { flex: 1; background: var(--c); }
.l-web { background: #fff; }
.ly-bar { position: absolute; left: 0; right: 0; top: 0; height: 9%; display: flex; align-items: center; gap: 5px; padding: 0 3%; background: #ECE7DD; }
.ly-bar i { width: 7px; height: 7px; border-radius: 50%; background: #CFC7BA; }
.ly-bar span { margin-left: 4%; font: 500 .56rem/1 var(--f-text); color: #6B645A; background: #fff; border-radius: 3px; padding: .35em .7em; }
.ly-shot { position: absolute; left: 0; right: 0; top: 9%; bottom: 0; overflow: hidden; }
.ly-shot img { width: 100%; height: auto; animation: webscroll 34s linear infinite alternate; }
@keyframes webscroll { to { transform: translateY(-91%); } }
.l-content { background: #0F0D0C; }
.l-content .posts { position: absolute; left: 6%; right: 6%; top: 15%; bottom: 7%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4%; }
.l-content .posts img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; transform: scale(.7); opacity: 0; transition: transform .8s var(--ease), opacity .5s; }
.ly-stack.open .l-content .posts img { transform: none; opacity: 1; }
.l-content .posts img:nth-child(2) { transition-delay: .07s; } .l-content .posts img:nth-child(3) { transition-delay: .14s; } .l-content .posts img:nth-child(4) { transition-delay: .21s; } .l-content .posts img:nth-child(5) { transition-delay: .28s; } .l-content .posts img:nth-child(6) { transition-delay: .35s; }
.nofx .ly-info, .nofx .ly-idx { display: none; }

/* ---------------------------------------------------------------- websites */
.web { background: var(--paper); color: var(--ink); padding: var(--sec) var(--gut); overflow: clip; }
.web-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 16px; align-items: end; }
.web-head h2 { grid-column: 1 / span 7; font: 400 clamp(2.8rem, 6.4vw, 6.8rem)/.92 var(--f-disp); letter-spacing: -.028em; }
.web-head p { grid-column: 8 / -1; color: var(--dim-l); max-width: 42ch; }
.web-case { margin-top: clamp(48px, 6vw, 96px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: center; }
.browser { grid-column: 1 / span 8; grid-row: 1; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 50px 90px -50px rgba(21, 18, 14, .55), 0 0 0 1px rgba(21, 18, 14, .1); }
.br-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #ECE7DD; }
.br-bar i { width: 11px; height: 11px; border-radius: 50%; background: #D3CBBE; }
.br-bar span { margin-left: 14px; flex: 0 1 360px; background: #fff; border-radius: 5px; font-size: .78rem; padding: .35em .9em; color: var(--dim-l); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0E1726; }
.br-screen img { width: 100%; height: auto; transform: translateY(var(--sy, 0px)); }
.web-txt { grid-column: 10 / -1; grid-row: 1; }
.web-txt h3 { font: 400 clamp(2rem, 2.8vw, 3rem)/1 var(--f-disp); letter-spacing: -.02em; }
.web-what { margin-top: 8px; font-weight: 600; }
.web-feats { margin: 18px 0 22px; display: grid; gap: 10px; font-size: .95rem; color: var(--dim-l); }
.web-feats b { color: var(--ink); font-weight: 600; }
.web-here { margin-top: clamp(80px, 10vw, 150px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: center; }
.mini { grid-column: 2 / span 3; position: relative; height: min(68vh, 620px); overflow: hidden; border-radius: 8px; background: #15120E; box-shadow: 0 40px 80px -40px rgba(21, 18, 14, .6); }
.mini-strip { position: absolute; left: 0; right: 0; top: 0; transform: translateY(var(--my, 0px)); transition: transform .5s var(--ease); }
.mini-strip img { width: 100%; height: auto; }
.mini-view { position: absolute; left: 3px; right: 3px; top: var(--vt, 0px); height: var(--vh, 40px); border-radius: 4px; box-shadow: 0 0 0 2px var(--lume), 0 0 18px 2px rgba(242, 166, 90, .65); transition: top .5s var(--ease), height .5s var(--ease); }
.here-txt { grid-column: 6 / span 6; }
.here-txt h3 { font: 400 clamp(2.2rem, 4vw, 4.2rem)/.96 var(--f-disp); letter-spacing: -.025em; }
.here-txt p { margin-top: 16px; color: var(--dim-l); max-width: 46ch; }
.here-you { display: flex; align-items: center; gap: .6em; color: var(--ink) !important; font-weight: 500; }
.here-you .dot { flex: none; width: 1em; height: 1em; border-radius: 3px; box-shadow: 0 0 0 2px var(--lume), 0 0 10px rgba(242, 166, 90, .7); }

/* ---------------------------------------------------------------- design: highlights first, the rest behind "see more" */
.motion-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.motion-row .pc a { aspect-ratio: 3 / 4; }
.more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 1s var(--ease); }
.more.open { grid-template-rows: 1fr; }
.more.snap { transition: none; }
.more-in { overflow: hidden; min-height: 0; }
.more-in > :first-child { margin-top: clamp(48px, 6vw, 90px); }
.grp { margin-top: clamp(56px, 7vw, 100px); }
.grp h4, .month h4 { margin-bottom: 18px; }
.grp h4 sup, .month h4 sup { color: var(--w-accent); font: 600 .5em var(--f-text); }
.prints { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.prints .pc a { aspect-ratio: 3 / 4; }
.see { margin-top: clamp(28px, 3vw, 44px); }
.see-btn { display: inline-flex; align-items: center; gap: .7em; font-weight: 600; font-size: 1.02rem; }
.see-btn i { position: relative; flex: none; width: 2.1em; height: 2.1em; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; transition: background .3s, box-shadow .3s; }
.see-btn i::before, .see-btn i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 38%; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.see-btn i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.see-btn[aria-expanded="true"] i::after { transform: translate(-50%, -50%) rotate(0deg); }
.see-btn:hover i { background: color-mix(in srgb, var(--w-accent, #F2A65A) 25%, transparent); box-shadow: inset 0 0 0 1.5px var(--w-accent, #F2A65A); }
.see-btn sup { color: var(--w-accent, var(--lume)); font-weight: 600; }
.ssr-key { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; align-items: center; }
.ssr-feat { grid-column: 4 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.ssr-feat .post { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 3px; }
.ssr-feat .post:first-child { grid-row: 1 / span 2; aspect-ratio: auto; }
.ssr-feat img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ssr-feat .post:hover img { transform: scale(1.04); }
.month { margin-top: clamp(40px, 5vw, 72px); }
.key3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.key3 .pc a { aspect-ratio: 4 / 3; }
.idn .logo-wall { margin-top: 0; }

/* ---------------------------------------------------------------- process (scrubbed frames) */
.proc { position: relative; background: #0A0908; color: var(--cream); }
.proc-stick { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; padding: clamp(80px, 10vh, 120px) var(--gut); overflow: hidden; }
.proc-stage { grid-column: 8 / span 4; grid-row: 1; position: relative; justify-self: center; height: min(80vh, 780px); aspect-ratio: 9 / 16; max-width: 100%; }
.proc-stage canvas, .proc-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.proc-stage::after { content: ""; position: absolute; inset: -12% -30%; z-index: -1; background: radial-gradient(closest-side, rgba(242, 166, 90, .16), transparent); }
.proc-cap { position: absolute; left: 0; right: 0; bottom: -30px; font-size: .78rem; text-align: center; color: var(--dim-d); }
.fx .proc-poster { display: none; }
.proc-copy { grid-column: 1 / span 6; grid-row: 1; }
.proc-q { font: 400 clamp(1.2rem, 1.7vw, 1.6rem)/1.3 var(--f-disp); color: var(--dim-d); max-width: 30ch; }
.proc-steps { margin-top: clamp(28px, 5vh, 56px); display: grid; gap: clamp(6px, 1.4vh, 16px); }
.ps h3 { font: 400 clamp(3.4rem, 8vw, 8.6rem)/.9 var(--f-disp); letter-spacing: -.035em; opacity: .22; transition: opacity .5s, color .5s; }
.ps p { max-width: 38ch; color: var(--dim-d); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .7s var(--ease), opacity .5s, margin .5s; }
.ps.on h3 { opacity: 1; }
.ps.on p { max-height: 8em; opacity: 1; margin: 10px 0 8px; }
.proc-bar { margin-top: clamp(20px, 4vh, 40px); height: 2px; max-width: 26rem; background: var(--line-d); position: relative; }
.proc-bar i { position: absolute; inset: 0; background: var(--lume); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------------------------------------------------------------- engagement */
.eng { background: var(--cream); color: var(--ink); padding: var(--sec) var(--gut); }
.eng-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 16px; align-items: end; }
.eng-head h2 { grid-column: 1 / span 7; font: 400 clamp(2.8rem, 6.6vw, 7rem)/.92 var(--f-disp); letter-spacing: -.028em; }
.eng-head p { grid-column: 8 / -1; color: var(--dim-l); max-width: 40ch; }
.eng-split { margin-top: clamp(40px, 5vw, 72px); display: flex; gap: var(--gap); height: min(80vh, 760px); min-height: 560px; }
.deal { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 6px; padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: flex-end; transition: flex-grow .9s var(--ease); }
.eng-split:hover .deal { flex-grow: .78; }
.eng-split .deal:hover, .eng-split .deal:focus-within { flex-grow: 1.3; }
.deal-p { background: #15120E; color: var(--cream); }
.deal-m { background: var(--lume); color: var(--ink); }
.deal-txt { position: relative; z-index: 2; }
.deal-txt h3 { font: 400 clamp(3rem, 5.6vw, 6rem)/.9 var(--f-disp); letter-spacing: -.03em; }
.deal-for { margin-top: 14px; font-weight: 600; max-width: 34ch; }
.deal-list { margin-top: 8px; opacity: .72; max-width: 40ch; }
.deal-price { margin-top: 18px; font: 400 clamp(1.6rem, 2.4vw, 2.4rem)/1 var(--f-disp); }
.deal .ring-link { margin-top: 18px; }
.fan { position: absolute; left: 50%; top: 36%; width: clamp(110px, 10vw, 160px); aspect-ratio: 9 / 16; transform: translate(-50%, -50%); }
.fan img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 6px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8); transform-origin: 50% 130%; transform: rotate(calc((var(--k) - 2) * 7deg)); transition: transform .9s var(--ease); }
.fan img:nth-child(1) { --k: 0; } .fan img:nth-child(2) { --k: 1; } .fan img:nth-child(3) { --k: 2; } .fan img:nth-child(4) { --k: 3; } .fan img:nth-child(5) { --k: 4; }
.deal-p:hover .fan img { transform: translateY(-6%) rotate(calc((var(--k) - 2) * 15deg)); }
.cal { position: absolute; top: clamp(24px, 3vw, 44px); right: clamp(24px, 3vw, 44px); width: min(62%, 440px); display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cal span { position: relative; aspect-ratio: 1; border-radius: 3px; background: rgba(21, 18, 14, .1); overflow: hidden; }
.cal span::before { content: attr(data-d); position: absolute; z-index: 2; left: 4px; top: 3px; font: 600 .56rem/1 var(--f-text); color: rgba(21, 18, 14, .55); }
.cal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(.6); transition: opacity .5s, transform .7s var(--ease); }
.cal.go img { opacity: 1; transform: none; }
.cal span.has::before { color: #fff; text-shadow: 0 0 4px rgba(0, 0, 0, .6); }

/* ---------------------------------------------------------------- studio */
.studio { position: relative; background: var(--night); padding: var(--sec) var(--gut); overflow: hidden; }
.studio::before { content: ""; position: absolute; right: -20vmax; top: -10vmax; width: 70vmax; height: 70vmax; border-radius: 50%; background: radial-gradient(circle, rgba(242, 166, 90, .2), rgba(242, 166, 90, 0) 60%); pointer-events: none; }
.studio-in { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(40px, 5vw, 80px); }
.studio-big { grid-column: 1 / span 10; font: 400 clamp(2rem, 4.1vw, 4.4rem)/1.06 var(--f-disp); letter-spacing: -.018em; }
.studio-small { grid-column: 1 / span 4; align-self: start; color: var(--dim-d); max-width: 38ch; }
.tz-cities { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 22px; font-size: .9rem; font-weight: 500; }
.tz-cities button { opacity: .55; padding: .15em 0; border-bottom: 1.5px solid transparent; transition: opacity .3s; }
.tz-cities button:hover { opacity: .85; }
.tz-cities button[aria-pressed="true"] { opacity: 1; border-color: var(--lume); }
.tz-note { margin-top: 18px; max-width: 34ch; }

/* ---------------------------------------------------------------- contact */
.contact { position: relative; background: var(--c-bg, #1A120B); color: var(--c-fg, var(--cream)); padding: var(--sec) var(--gut); overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 70%; top: 40%; width: 80vmax; height: 80vmax; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c-ac, #F2A65A) 30%, transparent), transparent 60%); pointer-events: none; }
.contact-in { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(40px, 5vw, 72px); }
.contact h2 { grid-column: 1 / span 9; font: 400 clamp(2.6rem, 5.8vw, 6.4rem)/.98 var(--f-disp); letter-spacing: -.025em; }
.lib { grid-column: 1 / span 11; }
.lib-p { font: 400 clamp(1.5rem, 2.9vw, 3.1rem)/1.5 var(--f-disp); letter-spacing: -.01em; }
.fit-in { font: inherit; letter-spacing: inherit; color: var(--c-ac, var(--lume)); background: transparent; border: 0; border-bottom: 2px solid color-mix(in srgb, var(--c-fg, #F4EFE4) 30%, transparent); border-radius: 0; padding: 0 .08em; margin: 0 .04em; min-width: 3ch; max-width: 100%; line-height: 1.12; vertical-align: baseline; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.fit-in::placeholder { color: color-mix(in srgb, var(--c-fg, #F4EFE4) 42%, transparent); opacity: 1; }
.fit-in:focus { outline: none; border-color: var(--c-ac, var(--lume)); }
select.fit-in { padding-right: .7em; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - .38em) 56%, calc(100% - .2em) 56%; background-size: .18em .18em, .18em .18em; background-repeat: no-repeat; }
select.fit-in option { color: #111; background: #fff; font: 400 1rem var(--f-text); }
select.fit-in.empty, input.fit-in:placeholder-shown { color: color-mix(in srgb, var(--c-fg, #F4EFE4) 42%, transparent); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lib-note { display: grid; gap: 8px; margin-top: clamp(28px, 3vw, 44px); max-width: 44rem; font-size: .9rem; }
.lib-note span { opacity: .7; }
.lib-note textarea { resize: vertical; min-height: 3.2em; background: color-mix(in srgb, var(--c-fg, #F4EFE4) 6%, transparent); border: 1px solid color-mix(in srgb, var(--c-fg, #F4EFE4) 22%, transparent); border-radius: 3px; padding: .8em 1em; font-size: 1rem; line-height: 1.45; }
.lib-note textarea:focus { outline: none; border-color: var(--c-ac, var(--lume)); }
.lib-send { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; margin-top: 28px; }
.fit { font-size: .95rem; opacity: .8; max-width: 44ch; }
.fit b { color: var(--c-ac, var(--lume)); font-weight: 600; }
.status { margin-top: 14px; min-height: 1.5em; font-size: .95rem; }
.direct { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px var(--gap); border-top: 1px solid color-mix(in srgb, var(--c-fg, #F4EFE4) 18%, transparent); padding-top: 28px; }
.direct p { display: grid; gap: 4px; align-content: start; min-width: 0; overflow-wrap: anywhere; }
.direct span { font-size: .82rem; opacity: .65; }
.direct b, .direct a { font-weight: 500; text-decoration: none; font-size: 1.02rem; }
.direct a:hover { text-decoration: underline; text-underline-offset: .2em; }
.direct button { justify-self: start; font-size: .85rem; font-weight: 600; opacity: .8; }

/* ---------------------------------------------------------------- credits */

/* ---------------------------------------------------------------- hero portal: the work plays inside the ring */
.lens { isolation: isolate; }
.portal { position: absolute; inset: 7%; z-index: -1; border-radius: 50%; overflow: hidden; background: color-mix(in srgb, var(--h-bg, #140E09) 80%, #000); }
.portal > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.24); transition: opacity 1.1s ease, transform 2.4s var(--ease); }
.portal > .on { opacity: 1; transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.08); }
.portal::after { content: ""; position: absolute; inset: 0; z-index: 2; background: radial-gradient(circle closest-side, color-mix(in srgb, var(--h-bg, #140E09) 34%, transparent) 0%, color-mix(in srgb, var(--h-bg, #140E09) 50%, transparent) 62%, color-mix(in srgb, var(--h-bg, #140E09) 92%, transparent) 100%); }
.lens-word { position: relative; z-index: 1; text-shadow: 0 2px 36px color-mix(in srgb, var(--h-bg, #000) 75%, transparent); }
.lens-cap { position: absolute; z-index: 2; right: calc(var(--gut) + 1vw); width: min(64vh, 42vw); top: calc(50% + min(32vh, 21vw) + 4px); text-align: center; font-size: .82rem; opacity: .7; pointer-events: none; }
.industries button { position: relative; }
.industries button[aria-pressed="true"]::after { content: ""; position: absolute; left: 1em; right: 0; bottom: -2px; height: 1.5px; background: var(--h-w, var(--lume)); transform-origin: left; animation: indprog 4.2s linear forwards; }
.industries.held button[aria-pressed="true"]::after { animation: none; transform: none; }
@keyframes indprog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.fx .lens-cap { visibility: hidden; }
.fx.ready .lens-cap { visibility: visible; }

/* ---------------------------------------------------------------- design intro: its own opener over a moving wall of the work */
.design-intro { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: var(--sec) var(--gut); background: #0D0C0A; color: #F4EFE4; }
.wall { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.wall-in { position: absolute; left: 58%; top: 50%; display: flex; gap: clamp(10px, 1.2vw, 18px); transform: translate(-50%, -50%) rotate(-11deg) scale(1.12); }
.wcol { flex: none; width: clamp(118px, 12vw, 206px); display: flex; flex-direction: column; animation: wallup var(--d, 80s) linear infinite; will-change: transform; }
.wcol:nth-child(even) { animation-direction: reverse; }
.wcol img { width: 100%; height: auto; }
@keyframes wallup { to { transform: translate3d(0, -50%, 0); } }
.design-intro::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 22% 58%, rgba(13, 12, 10, .94) 0%, rgba(13, 12, 10, .72) 45%, rgba(13, 12, 10, .3) 100%), linear-gradient(to bottom, #0D0C0A 0%, rgba(13, 12, 10, 0) 16%, rgba(13, 12, 10, 0) 72%, #0D0C0A 100%); }
.di-txt { position: relative; max-width: 64rem; }
.design-intro h2 { font: 400 clamp(3.2rem, 8.6vw, 9.8rem)/.9 var(--f-disp); letter-spacing: -.03em; }
.di-p { margin-top: clamp(18px, 2vw, 28px); max-width: 42ch; font-size: clamp(1.02rem, 1.2vw, 1.15rem); opacity: .8; }
.di-index { margin-top: clamp(28px, 3.6vw, 52px); display: flex; flex-wrap: wrap; row-gap: 4px; font: 400 clamp(1.35rem, 2.3vw, 2.2rem)/1.2 var(--f-disp); letter-spacing: -.01em; }
.di-index a { text-decoration: none; opacity: .66; transition: opacity .3s, color .3s; }
.di-index a:not(:last-child)::after { content: ","; margin-right: .42em; color: #F4EFE4; opacity: .5; }
.di-index a:hover, .di-index a:focus-visible { opacity: 1; color: var(--lume); }

/* ---------------------------------------------------------------- one-second test: an Instagram profile that fixes itself */
.test-copy { grid-column: 1 / span 5; }
.ig-wrap { grid-column: 6 / span 6; position: relative; justify-self: center; perspective: 1500px; display: grid; place-items: center; }
.ig-top { flex: none; display: flex; align-items: center; gap: 3cqw; padding: 1.5cqw 4.5cqw; font-size: 4.6cqw; }
.ig-back { width: 2.8cqw; height: 2.8cqw; border-left: .7cqw solid #111; border-bottom: .7cqw solid #111; transform: rotate(45deg); }
.ig-handle { font-weight: 700; flex: 1; }
.ig-dots { width: 5cqw; height: 1.2cqw; background: radial-gradient(circle, #111 45%, transparent 50%) 0 0 / 1.7cqw 1.2cqw repeat-x; }
.ig-prof { flex: none; display: flex; align-items: center; gap: 6cqw; padding: 2.5cqw 4.5cqw; }
.ig-av { position: relative; flex: none; width: 21cqw; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #F1EADF; }
.ig-av img { width: 100%; height: 100%; object-fit: cover; }
.ig-av .st-a { position: absolute; inset: 0; display: grid !important; place-items: center; font: 400 11cqw/1 var(--f-disp); color: #2B2118; background: #EFE6D6; }
.test:not(.is-system) .ig-av .st-a { display: none !important; }
.test.is-system .ig-av { box-shadow: 0 0 0 .8cqw #fff, 0 0 0 1.5cqw #C9924F; overflow: visible; }
.test.is-system .ig-av .st-a { border-radius: 50%; }
.ig-stats { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: center; }
.ig-stats b { display: block; font-size: 4.3cqw; font-weight: 700; }
.ig-stats span { font-size: 3.2cqw; }
.ig-bio { flex: none; padding: 0 4.5cqw; font-size: 3.4cqw; }
.ig-bio b { font-weight: 700; }
.ig-bio p { margin-top: .6cqw; }
.ig-link { color: #00376B; font-weight: 600; }
.ig-btns { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; padding: 3cqw 4.5cqw 2cqw; font-size: 3.4cqw; font-weight: 600; text-align: center; }
.ig-btns span { padding: 1.9cqw 0; border-radius: 2cqw; background: #EFEFEF; }
.ig-btns span:first-child { background: #0095F6; color: #fff; }
.ig-hls { flex: none; display: flex; gap: 4.2cqw; padding: 0 4.5cqw; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .6s, padding .8s var(--ease); }
.test.is-system .ig-hls { max-height: 26cqw; opacity: 1; padding: 2cqw 4.5cqw 2.4cqw; }
.hl-c { flex: none; display: grid; justify-items: center; gap: 1cqw; font-size: 2.8cqw; }
.hl-c img { width: 15cqw; aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 .6cqw #fff, 0 0 0 1cqw #DBDBDB; }
.hl-c b { font-weight: 500; }
.ig-tabs { flex: none; height: 9cqw; border-top: 1px solid #DBDBDB; display: grid; place-items: center; position: relative; }
.ig-tabs i { width: 5cqw; height: 5cqw; background: linear-gradient(#111 0 0) 0 0 / 100% .5cqw no-repeat, linear-gradient(#111 0 0) 0 100% / 100% .5cqw no-repeat, linear-gradient(#111 0 0) 0 0 / .5cqw 100% no-repeat, linear-gradient(#111 0 0) 100% 0 / .5cqw 100% no-repeat, linear-gradient(#111 0 0) 50% 0 / .5cqw 100% no-repeat, linear-gradient(#111 0 0) 0 50% / 100% .5cqw no-repeat; }
.ig-tabs::after { content: ""; position: absolute; bottom: 0; left: 36%; right: 36%; height: .5cqw; background: #111; }
.ig-screen .test-grid { flex: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6cqw; perspective: 900px; }
.ig-screen .tile { aspect-ratio: 1; }
.ig-screen .face { border-radius: 0; }
.test.is-system .ig-nav i { background: #EFE6D6; }
.test:not(.is-system) .st-a, .test.is-system .st-b { display: none !important; }
.test .st-a { animation: stIn .7s var(--ease); }
@keyframes stIn { from { opacity: 0; transform: translateY(1cqw); } }
.ig-bio p.st-a { display: block; }
.ig-notes { position: absolute; inset: 0; pointer-events: none; }
.ig-notes li { position: absolute; display: flex; align-items: center; gap: 10px; width: 13.5em; font-size: .9rem; font-weight: 500; line-height: 1.3; opacity: 0; transform: translateX(var(--dx, -10px)); transition: opacity .6s, transform .9s var(--ease); }
.ig-notes li::after, .ig-notes li::before { content: ""; flex: none; }
.ig-notes .n1, .ig-notes .n3 { right: calc(50% + min(18.5vh, 166px) + 18px); --dx: 10px; justify-content: flex-end; text-align: right; }
.ig-notes .n2, .ig-notes .n4 { left: calc(50% + min(18.5vh, 166px) + 18px); }
.ig-notes .n1::after, .ig-notes .n3::after { width: 38px; height: 1px; background: var(--lume); }
.ig-notes .n2::before, .ig-notes .n4::before { width: 38px; height: 1px; background: var(--lume); }
.ig-notes .n1 { top: 12%; } .ig-notes .n2 { top: 27%; } .ig-notes .n3 { top: 44%; } .ig-notes .n4 { top: 70%; }
.test.is-system .ig-notes li { opacity: 1; transform: none; }
.test.is-system .ig-notes .n2 { transition-delay: .12s; } .test.is-system .ig-notes .n3 { transition-delay: .24s; } .test.is-system .ig-notes .n4 { transition-delay: .36s; }

/* ---------------------------------------------------------------- studio: live day and night over a dotted world */
.globe { position: relative; margin-top: clamp(48px, 6vw, 96px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(24px, 3vw, 40px); }
.map-wrap { grid-column: 1 / -1; position: relative; aspect-ratio: 180 / 71; }
#map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
#arc-path { fill: none; stroke: rgba(244, 239, 228, .4); stroke-width: 1.2; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }
#arc-flow { fill: none; stroke: #F2A65A; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 14 386; animation: arcflow 3.4s cubic-bezier(.45, 0, .55, 1) infinite; vector-effect: non-scaling-stroke; }
@keyframes arcflow { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 14; } }
.pin { position: absolute; left: var(--x, 50%); top: var(--y, 50%); transition: left .9s var(--ease), top .9s var(--ease); }
.pin i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--lume); box-shadow: 0 0 0 4px rgba(242, 166, 90, .22), 0 0 26px 6px rgba(242, 166, 90, .6); }
.pin i::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--lume); animation: ping 2.6s var(--ease) infinite; }
.pin-you i { background: var(--cream); box-shadow: 0 0 0 4px rgba(244, 239, 228, .2), 0 0 20px 4px rgba(244, 239, 228, .45); }
.pin-you i::after { box-shadow: inset 0 0 0 1.5px var(--cream); animation-delay: 1.3s; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.pin-t { position: absolute; left: 20px; top: 0; transform: translateY(-50%); white-space: nowrap; font-size: .9rem; color: var(--dim-d); text-shadow: 0 1px 14px #000, 0 0 4px #000; }
.pin-t b { font: 400 clamp(1.6rem, 2.8vw, 2.9rem)/1 var(--f-disp); color: var(--cream); font-variant-numeric: tabular-nums; margin-right: .12em; }
.pin-t em { display: block; font-style: normal; font-size: .8rem; color: var(--lume); margin-top: 5px; }
.pin.flip .pin-t { left: auto; right: 20px; text-align: right; }
.pin.below .pin-t { top: 26px; transform: none; }
.tz-bar { grid-column: 1 / span 6; }
.tz-bar .tz-cities { margin-top: 0; }
.day24 { grid-column: 8 / -1; align-self: start; }
.d24-track { position: relative; height: 30px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line-d); background: repeating-linear-gradient(90deg, rgba(244, 239, 228, .1) 0 1px, transparent 1px calc(100% / 24)); overflow: hidden; }
.d24-track i { position: absolute; border-radius: 3px; transition: left .9s var(--ease), width .9s var(--ease); }
.d24-you { top: 5px; height: 6px; left: calc(var(--a, 9) * 100% / 24); width: calc(var(--w, 9) * 100% / 24); background: var(--cream); }
.d24-us, .d24-us2 { bottom: 5px; height: 9px; background: var(--lume); box-shadow: 0 0 12px rgba(242, 166, 90, .6); }
.d24-us { left: calc(var(--a, 0) * 100% / 24); width: calc(var(--w, 0) * 100% / 24); }
.d24-us2 { left: calc(var(--a, 0) * 100% / 24); width: calc(var(--w, 0) * 100% / 24); }
.d24-now { top: 0; bottom: 0; width: 2px; border-radius: 0; left: calc(var(--n, 12) * 100% / 24); background: #fff; box-shadow: 0 0 10px 1px rgba(255, 255, 255, .8); }
.d24-lbl { display: flex; justify-content: space-between; margin-top: 7px; font-size: .74rem; color: var(--dim-d); }
.d24-key { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; font-size: .8rem; color: var(--dim-d); }
.d24-key span { display: inline-flex; align-items: center; gap: .6em; }
.d24-key span::before { content: ""; width: 18px; height: 4px; border-radius: 2px; background: var(--cream); }
.d24-key .k-us::before { height: 7px; background: var(--lume); }

/* ---------------------------------------------------------------- footer: end credits, then the last shot in a ring of links */
.credits { position: relative; background: #080706; color: var(--cream); padding: 0; text-align: center; overflow: clip; }
.finale { position: relative; padding: clamp(60px, 8vw, 120px) var(--gut) calc(env(safe-area-inset-bottom, 0px) + 36px); }
.finale::before { content: ""; position: absolute; left: 50%; top: 42%; width: 90vmax; height: 90vmax; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(242, 166, 90, .16), rgba(242, 166, 90, 0) 55%); pointer-events: none; }
.orbit { --ow: min(74vw, 600px); position: relative; width: var(--ow); aspect-ratio: 1; margin: 0 auto; }
.o-shot { position: absolute; inset: 15%; border-radius: 50%; overflow: hidden; background: #120F0B; }
.o-shot video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.o-shot::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle closest-side, rgba(8, 7, 6, .35), rgba(8, 7, 6, .55) 65%, rgba(8, 7, 6, .95)); }
.o-ring { position: absolute; inset: 15%; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(242, 166, 90, .95), 0 0 50px 10px rgba(242, 166, 90, .32), inset 0 0 44px 8px rgba(242, 166, 90, .28); pointer-events: none; }
.o-ring::after { content: ""; position: absolute; inset: -14%; border-radius: 50%; background: radial-gradient(circle closest-side, rgba(242, 166, 90, 0) 62%, rgba(242, 166, 90, .28) 72%, rgba(242, 166, 90, 0) 100%); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; } }
.o-core { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; gap: 10px; pointer-events: none; }
.o-word { font: 400 clamp(2.2rem, 5.2vw, 3.8rem)/1 var(--f-logo); letter-spacing: -.03em; text-shadow: 0 2px 30px rgba(0, 0, 0, .65); }
.o-time { font-size: .9rem; opacity: .82; }
.o-links { position: absolute; inset: 0; z-index: 3; animation: spin 90s linear infinite; }
.o-links li { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(calc(var(--i) * 72deg - 90deg)) translateX(calc(var(--ow) * .43)) rotate(calc(var(--i) * -72deg + 90deg)); }
.o-links a { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); text-decoration: none; }
.o-links a span { display: inline-flex; align-items: center; gap: .55em; padding: .55em .8em; white-space: nowrap; font-weight: 600; font-size: clamp(.98rem, 1.3vw, 1.18rem); animation: spin 90s linear infinite reverse; }
.o-links a span::before { content: ""; flex: none; width: .72em; height: .72em; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--lume); transition: background .3s, box-shadow .3s; }
.o-links a:hover span::before, .o-links a:focus-visible span::before { background: var(--lume); box-shadow: 0 0 14px 2px rgba(242, 166, 90, .8); }
.orbit:hover .o-links, .orbit:hover .o-links a span, .orbit:focus-within .o-links, .orbit:focus-within .o-links a span { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
.credits .fine { margin: clamp(40px, 5vw, 72px) auto 0; max-width: 60ch; font-size: .82rem; color: var(--dim-d); }
.credits .fine a { color: var(--cream); margin-left: .4em; }

/* ---------------------------------------------------------------- iPhone: one frame for every phone on the site
   titanium band, thin black bezel, Dynamic Island, status bar, home indicator, side buttons.
   --pw sets the width; everything inside scales with it (cqw). */
.iphone { --pw: 300px; position: relative; flex: none; width: var(--pw); aspect-ratio: 71.6 / 147.6; padding: calc(var(--pw) * .012); border-radius: calc(var(--pw) * .176); container-type: inline-size;
  background: linear-gradient(140deg, #6a6a70 0%, #2c2c30 14%, #17171a 46%, #2e2e33 80%, #75757b 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 0 0 2px rgba(0, 0, 0, .5), 0 60px 110px -50px rgba(0, 0, 0, .9), 0 24px 50px -30px rgba(0, 0, 0, .7); }
.ip-btn { position: absolute; width: calc(var(--pw) * .013); border-radius: 2px; background: linear-gradient(90deg, #1d1d20, #55555b 60%, #2a2a2e); }
.ip-b1 { left: calc(var(--pw) * -.011); top: 16.5%; height: 4.2%; }
.ip-b2 { left: calc(var(--pw) * -.011); top: 24.5%; height: 7.6%; }
.ip-b3 { left: calc(var(--pw) * -.011); top: 34%; height: 7.6%; }
.ip-b4 { right: calc(var(--pw) * -.011); top: 28%; height: 11.5%; }
.ip-screen { position: relative; height: 100%; overflow: hidden; border: 2.3cqw solid #030303; border-radius: 15.6cqw; background: #000; color: #fff; isolation: isolate; }
.ip-status { position: absolute; z-index: 30; left: 0; right: 0; top: 0; height: 12.4cqw; display: flex; align-items: center; justify-content: space-between; padding: .6cqw 6.2cqw 0 9.6cqw; color: #fff; pointer-events: none;
  font: 600 3.9cqw/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; letter-spacing: -.01em; }
.ip-status svg { width: 16.8cqw; height: auto; fill: currentColor; }
.ip-status.dark { color: #000; }
.ip-island { position: absolute; z-index: 31; left: 50%; top: 2.3cqw; width: 29cqw; height: 8.4cqw; transform: translateX(-50%); border-radius: 5cqw; background: #000; }
.ip-home { position: absolute; z-index: 31; left: 50%; bottom: 1.7cqw; width: 32cqw; height: 1.25cqw; transform: translateX(-50%); border-radius: 1cqw; background: rgba(255, 255, 255, .92); pointer-events: none; }
.ip-home.dark { background: rgba(0, 0, 0, .9); }
.ip-screen svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ip-screen svg.fill { fill: currentColor; stroke: none; }
.ip-status svg { stroke: none; fill: currentColor; }

/* Instagram Reels */
.ip-screen > video, .ip-screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rl { position: absolute; inset: 0; z-index: 5; pointer-events: none; font: 400 3.6cqw/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.rl::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .6)); }
.rl-top { position: absolute; left: 5cqw; right: 5cqw; top: 14.5cqw; display: flex; justify-content: space-between; align-items: center; }
.rl-top b { font-size: 5.6cqw; font-weight: 700; letter-spacing: -.01em; }
.rl-top svg { width: 6.6cqw; height: 6.6cqw; }
.rl-side { position: absolute; right: 3.6cqw; bottom: 9cqw; display: grid; justify-items: center; gap: 5.4cqw; }
.rl-side svg { width: 7cqw; height: 7cqw; }
.rl-disc { width: 7.2cqw; height: 7.2cqw; border-radius: 1.6cqw; background: center / cover; box-shadow: 0 0 0 .5cqw #fff; }
.rl-info { position: absolute; left: 4cqw; right: 17cqw; bottom: 8.5cqw; display: grid; gap: 1.8cqw; }
.rl-user { display: flex; align-items: center; gap: 2.2cqw; }
.rl-user i { flex: none; width: 7.8cqw; height: 7.8cqw; border-radius: 50%; background: center 25% / cover; box-shadow: 0 0 0 .35cqw rgba(255, 255, 255, .9); }
.rl-user b { font-size: 3.7cqw; font-weight: 700; }
.rl-user em { font-style: normal; font-size: 3.3cqw; font-weight: 600; padding: .9cqw 2.6cqw; border-radius: 2cqw; box-shadow: inset 0 0 0 .3cqw rgba(255, 255, 255, .7); }
.rl-cap { font-size: 3.6cqw; }
.rl-song { display: flex; align-items: center; gap: 1.6cqw; font-size: 3.2cqw; opacity: .92; }
.rl-song svg { width: 3.6cqw; height: 3.6cqw; }
.ph-sound { position: absolute; z-index: 32; left: 50%; bottom: 44%; transform: translateX(-50%); font: 600 3.6cqw/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; padding: 2.2cqw 3.6cqw; border-radius: 6cqw; background: rgba(0, 0, 0, .5); color: #fff; transition: opacity .4s, background .3s; }
.ph-sound[aria-pressed="true"] { opacity: 0; }
.ugc-phone:hover .ph-sound[aria-pressed="true"] { opacity: 1; }

/* Instagram profile grid (S.S Renovation) */
.igf { position: absolute; inset: 0; background: #fff; color: #111; display: flex; flex-direction: column; font: 400 3.6cqw/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.igf-top { flex: none; display: flex; align-items: center; gap: 3cqw; padding: 13.5cqw 4.5cqw 2.6cqw; font-size: 4.6cqw; }
.igf-top b { flex: 1; font-weight: 700; }
.igf-top svg { width: 5.6cqw; height: 5.6cqw; }
.igf .fp-scroll { position: relative; flex: 1; overflow: hidden; }
.fp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6cqw; animation: feedscroll 70s linear infinite; }
.fp-grid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
@keyframes feedscroll { to { transform: translate3d(0, -50%, 0); } }
.ig-nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 15cqw; padding: 0 7cqw 3.6cqw; display: flex; justify-content: space-between; align-items: center; background: #fff; border-top: 1px solid #E4E4E4; color: #111; }
.ig-nav svg { width: 6.4cqw; height: 6.4cqw; }
.ig-nav i { width: 6.4cqw; height: 6.4cqw; border-radius: 50%; background: url("../assets/img/tiles/b3.jpg") center / cover; box-shadow: 0 0 0 .5cqw #fff, 0 0 0 .9cqw #111; }
.igf .ig-nav { position: relative; flex: none; }
.feedphone { --pw: min(280px, 21vw); grid-column: 1 / span 3; justify-self: start; }

/* Safari (Ajith Concrete Works) */
.saf { position: absolute; inset: 0; background: #0E1726; }
.saf-top { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 12.4cqw; background: #0E1726; }
.saf .wp-screen { position: absolute; left: 0; right: 0; top: 12.4cqw; bottom: 24cqw; overflow: hidden; background: #fff; }
.saf .wp-screen img { width: 100%; height: auto; animation: phonescroll 48s linear infinite alternate; }
@keyframes phonescroll { to { transform: translate3d(0, -96%, 0); } }
.saf-bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 24cqw; padding: 2.4cqw 4cqw 0; background: #F2F2F4; color: #1C1C1E; border-top: 1px solid #DCDCE0; font: 400 3.7cqw/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.saf-url { display: flex; align-items: center; justify-content: space-between; height: 10cqw; padding: 0 3cqw; border-radius: 3cqw; background: #fff; box-shadow: 0 .4cqw 1.6cqw rgba(0, 0, 0, .08); }
.saf-url b { display: flex; align-items: center; gap: 1.2cqw; font-weight: 500; }
.saf-url svg { width: 4.4cqw; height: 4.4cqw; }
.saf-url b svg { width: 3.2cqw; height: 3.2cqw; }
.saf-tools { display: flex; justify-content: space-between; padding: 2.4cqw 3cqw 0; color: #007AFF; }
.saf-tools svg { width: 5.6cqw; height: 5.6cqw; }
.webphone { --pw: min(200px, 14vw); grid-column: 7 / span 2; grid-row: 1; justify-self: end; align-self: end; transform: translate(24%, 14%); z-index: 2; }

/* the Instagram test phone uses the same frame */
.ig-phone { --pw: calc(min(80vh, 720px) * .485); }
.ig-screen.ip-screen { background: #fff; color: #111; display: flex; flex-direction: column; font: 400 3.5cqw/1.35 var(--f-text); }
.ig-screen .ig-status { flex: none; height: 12.4cqw; }

/* ---------------------------------------------------------------- UGC: a chapter with the creator on a real iPhone */
.ugc { background: #0B0A09; }
.ugc-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ugc-chap .chap-in { grid-template-rows: auto auto; align-items: end; }
.ugc-chap .chap-txt { grid-column: 1 / span 6; grid-row: 1; }
.ugc-stage { grid-column: 7 / -1; grid-row: 1 / span 2; align-self: center; justify-self: center; perspective: 1400px; }
.ugc-phone { --pw: min(320px, 23vw, 39vh); transform: rotate(-3deg); }
.ugc-rail { grid-column: 1 / span 6; grid-row: 2; justify-self: start; justify-content: flex-start; }
.quiz { margin-top: 26px; }
.quiz-q { font-weight: 600; font-size: 1.05rem; }
.quiz-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.quiz-btns button { font-weight: 600; font-size: 1rem; padding: .8em 1.3em; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgba(244, 239, 228, .4); transition: box-shadow .3s, background .3s, color .3s; }
.quiz-btns button:hover { box-shadow: inset 0 0 0 1.5px var(--acc); }
.quiz-btns button[aria-pressed="true"] { background: var(--acc); color: #140E0B; box-shadow: none; }
.quiz-reveal { margin-top: 14px; font: 400 clamp(1.25rem, 1.8vw, 1.7rem)/1.2 var(--f-disp); color: var(--acc); min-height: 1.2em; max-width: 30ch; }
.quiz-reveal:empty { display: none; }

/* ---------------------------------------------------------------- Headphones: one vertical film in its own panel */
.chap-bg.solo { justify-content: flex-end; }
.chap-bg.solo .bgv.d { flex: none; width: auto; height: 100%; aspect-ratio: 9 / 16; margin-right: 9vw; }
.solo-fade { position: absolute; top: 0; bottom: 0; right: 9vw; width: calc(100vh * 9 / 16); background: linear-gradient(to right, var(--tint) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 78%, var(--tint) 100%); pointer-events: none; }

/* ---------------------------------------------------------------- services: the whole list, visible and linked */
.svc-list { position: relative; background: var(--night); }
.svc-index { position: relative; padding: clamp(40px, 5vw, 80px) var(--gut) var(--sec); }
.si-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 14px; align-items: end; border-top: 1px solid var(--line-d); padding-top: clamp(32px, 4vw, 56px); }
.si-head h2 { grid-column: 1 / span 7; font: 400 clamp(2.2rem, 4.2vw, 4.4rem)/.98 var(--f-disp); letter-spacing: -.02em; }
.si-head p { grid-column: 8 / -1; color: var(--dim-d); max-width: 42ch; }
.si-cols { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px var(--gap); }
.si-col h3 { font: 400 clamp(1.25rem, 1.6vw, 1.6rem)/1.1 var(--f-disp); }
.si-col h3 a { text-decoration: none; color: var(--lume); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); }
.si-col h3 a:hover, .si-col h3 a:focus-visible { background-size: 100% 1.5px; }
.si-col ul { margin-top: 14px; display: grid; gap: 7px; font-size: .95rem; color: var(--dim-d); }
.menu-svc { flex-basis: 100%; }
.menu-svc a { text-decoration: none; border-bottom: 1px solid rgba(21, 18, 14, .3); }

/* ---------------------------------------------------------------- footer finale title */
.finale .roll-title { font: 400 clamp(1.9rem, 3.6vw, 3.4rem)/1 var(--f-disp); letter-spacing: -.015em; margin-bottom: clamp(24px, 4vw, 56px); }

/* ---------------------------------------------------------------- smoothness: nothing animates while it is off screen */
.is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

/* ---------------------------------------------------------------- cinema */
.viewer { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #080706; color: var(--cream); }
.viewer[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 27rem); }
.viewer::backdrop { background: rgba(0, 0, 0, .7); }
.v-stage { position: relative; display: grid; place-items: center; padding: clamp(16px, 3vw, 40px); min-height: 0; min-width: 0; }
.v-stage video, .v-stage img { max-width: 100%; max-height: calc(100dvh - 2 * clamp(16px, 3vw, 40px)); width: auto; height: auto; border-radius: 3px; background: #000; }
.v-info { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 44px); border-left: 1px solid var(--line-d); overflow-y: auto; min-height: 0; }
.v-meta { font-size: .85rem; color: var(--dim-d); display: flex; flex-wrap: wrap; gap: .3em 1em; }
.v-title { font: 400 clamp(2rem, 3vw, 3.2rem)/1 var(--f-disp); letter-spacing: -.02em; }
.v-desc { color: var(--dim-d); max-width: 40ch; }
.v-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 6px; margin-top: 10px; }
.v-list button { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; outline: 1px solid rgba(255, 255, 255, .14); outline-offset: -1px; opacity: .62; transition: opacity .3s, outline-color .3s; }
.v-list img { width: 100%; height: 100%; object-fit: cover; }
.v-list button:hover { opacity: 1; }
.v-list button[aria-current="true"] { opacity: 1; outline: 2px solid var(--lume); outline-offset: -2px; }
.v-nav { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-d); font-weight: 500; font-size: .95rem; }
.v-nav #v-close { margin-left: auto; }

/* ---------------------------------------------------------------- motion states */
.fx .hero-h .hl-in, .fx .hero-foot > *, .fx .industries, .fx .lens-word { visibility: hidden; }
.fx.ready .hero-h .hl-in, .fx.ready .hero-foot > *, .fx.ready .industries, .fx.ready .lens-word { visibility: visible; }
.fx .reel { height: 240vh; }
.fx .reel-stick { position: sticky; top: 0; }
.fx .test { height: 300vh; }
.fx .test-stick { position: sticky; top: 0; height: 100vh; height: 100svh; padding-block: 0; }
.fx .proc { height: 380vh; }
.fx .layers { height: 560vh; }
.fx .ly-stick { position: sticky; top: 0; height: 100vh; height: 100svh; }
.fx .proc-stick { position: sticky; top: 0; height: 100vh; height: 100svh; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .si-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .studio-small { grid-column: 1 / span 6; }
  .svc-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lineup { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .feed { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .chap-txt { grid-column: 1 / span 7; }
  .rail { grid-column: 8 / -1; }
}

@media (max-width: 900px) {
  .corner-cta { display: none; }
  .hero-h { --fs: clamp(2.6rem, 12.6vw, 5.4rem); top: calc(var(--top) + 96px); transform: none; }
  .lens { top: 57%; right: auto; left: 50%; width: min(80vw, 44vh); transform: translate(-50%, -50%); }
  .industries { display: none; }
  .hero-foot { right: var(--gut); max-width: none; gap: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); }
  .hero-sub { font-size: 1rem; }
  .reel-sound { bottom: auto; top: calc(var(--top) + 86px); }

  .ads-intro h2, .ads-side { grid-column: 1 / -1; }
  .chap-bg .d { display: none; }
  .chap-bg .m { display: block; }
  .chap-bg::after { background: linear-gradient(to top, rgba(10, 8, 6, .95) 0%, rgba(10, 8, 6, .6) 40%, rgba(10, 8, 6, 0) 72%); }
  .chap-in { padding-top: 40vh; }
  .chap-txt, .rail { grid-column: 1 / -1; }
  .chap-t { font-size: clamp(2.8rem, 14vw, 5rem); text-wrap: balance; }
  .rail { justify-self: stretch; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; max-width: none; padding: 6px 2px; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail li { flex: none; }

  .ly-stick { grid-template-columns: minmax(0, 1fr); align-content: center; row-gap: 8px; padding-top: calc(var(--top) + 76px); padding-bottom: 24px; }
  .ly-copy, .ly-stage { grid-column: 1; }
  .ly-stage { grid-row: 1; height: 40vh; }
  .ly-stack { width: min(64vw, 330px); }
  .ly-stack.open { --gap: calc(min(64vw, 330px) * .15); }
  .layers h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .ly-sub { font-size: .95rem; margin-top: 8px; }
  .ly-info { margin-top: 16px; min-height: 10.5rem; }
  .ly-t { font-size: 1.7rem; }
  .ly-d { font-size: .95rem; }
  .ly-x { display: none; }
  .web-head h2, .web-head p { grid-column: 1 / -1; }
  .browser { grid-column: 1 / -1; }
  .web-txt { grid-column: 1 / -1; grid-row: 3; }
  .mini { grid-column: 1 / -1; height: 52vh; max-width: 240px; width: 100%; justify-self: center; }
  .here-txt { grid-column: 1 / -1; }
  .motion-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .motion-row .pc { flex: none; width: 58vw; scroll-snap-align: start; }
  .prints { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ssr-key { grid-template-columns: minmax(0, 1fr); }
  .ssr-feat { grid-column: 1; }
  .key3 { grid-template-columns: minmax(0, 1fr); }

  .design-intro h2, .design-intro p, .client-head h3, .client-what, .client-d { grid-column: 1 / -1; }
  .client-head h3 { grid-row: auto; }
  .btg-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btg-count { grid-template-columns: minmax(0, 1fr); }
  .deck, .deck-txt, .btg-count .pc.invite { grid-column: 1; }
  .btg-count .pc.invite { max-width: 60%; justify-self: center; }
  .feed-more { display: block; }
  .deck { max-width: 74%; justify-self: center; margin-bottom: 36px; }
  .lineup { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .feed { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .feed:not(.all) .post:nth-child(n+13) { display: none; }
  .tm-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .tm-row .pc { flex: none; width: 64vw; scroll-snap-align: start; }
  .idn-bento, .sp-bento { columns: 2; }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .test-stick { grid-template-columns: minmax(0, 1fr); row-gap: 28px; align-content: center; }
  .fx .test-stick { padding-top: calc(var(--top) + 80px); }
  .test-copy h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .stages { margin-top: 14px; min-height: 6.2em; }
  .stage { font-size: .98rem; }
  .meter { margin-top: 12px; }

  .svc h2, .runin { grid-column: 1 / -1; }
  .svc-cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }

  .proc-stick { grid-template-columns: minmax(0, 1fr); align-items: end; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 32px); }
  .proc-stage { grid-column: 1; grid-row: 1; position: absolute; inset: 0; height: auto; width: 100%; aspect-ratio: auto; justify-self: stretch; }
  .proc-stage canvas, .proc-poster { border-radius: 0; }
  .proc-stage::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10, 9, 8, .96) 10%, rgba(10, 9, 8, .5) 50%, rgba(10, 9, 8, .1)); }
  .proc-cap { display: none; }
  .proc-copy { position: relative; z-index: 2; grid-column: 1; grid-row: 1; }
  .ps h3 { font-size: clamp(3rem, 15vw, 4.6rem); }

  .eng-head h2, .eng-head p { grid-column: 1 / -1; }
  .eng-split { flex-direction: column; height: auto; min-height: 0; }
  .deal { min-height: 540px; }
  .eng-split:hover .deal, .eng-split .deal:hover { flex-grow: 1; }


  .studio-big, .studio-small { grid-column: 1 / -1; }
  .lens-cap { left: 0; right: 0; margin-inline: auto; width: min(80vw, 44vh); top: calc(57% + min(40vw, 22vh) + 2px); font-size: .78rem; }
  .wall-in { left: 50%; transform: translate(-50%, -50%) rotate(-10deg) scale(1.2); }
  .design-intro::before { background: linear-gradient(to bottom, #0D0C0A 0%, rgba(13, 12, 10, .55) 22%, rgba(13, 12, 10, .8) 60%, #0D0C0A 100%); }
  .di-index { font-size: 1.3rem; }
  .ig-wrap { grid-column: 1; }
  .ig-notes { display: none; }
  .tz-bar, .day24 { grid-column: 1 / -1; }
  .globe { margin-top: 36px; }
  .map-wrap { margin-inline: calc(-1 * var(--gut)); }
  .pin-t { font-size: .74rem; left: 50%; transform: translateX(-50%); text-align: center; }
  .pin-you .pin-t, .pin-you.below .pin-t { top: auto; bottom: 12px; }
  .pin-us .pin-t { top: 12px; }
  .pin.flip .pin-t { left: auto; right: -10px; transform: none; text-align: right; }
  .pin:not(.flip) .pin-t { max-width: none; }
  .pin-t b { font-size: 1.35rem; }
  .pin-t em { display: none; }
  .orbit { --ow: min(84vw, 420px); aspect-ratio: auto; padding-top: var(--ow); }
  .o-shot, .o-ring { inset: auto; left: 15%; width: 70%; top: calc(var(--ow) * .15); aspect-ratio: 1; }
  .o-core { inset: auto; left: 0; right: 0; top: 0; height: var(--ow); }
  .o-links { position: relative; inset: auto; animation: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin-top: 10px; }
  .o-links li { position: static; width: auto; height: auto; transform: none; }
  .o-links a { position: static; transform: none; }
  .o-links a span { animation: none; }
  .ugc-chap .chap-in { grid-template-rows: auto; padding-top: calc(var(--top) + 84px); }
  .ugc-stage { grid-column: 1 / -1; grid-row: 1; margin-bottom: 8px; }
  .ugc-phone { --pw: min(52vw, 220px); transform: none; }
  .ugc-chap .chap-txt { grid-column: 1 / -1; grid-row: 2; }
  .ugc-rail { grid-column: 1 / -1; grid-row: 3; }
  .quiz { margin-top: 18px; }
  .feedphone { --pw: min(56vw, 230px); grid-column: 1; justify-self: center; }
  .webphone { --pw: min(44vw, 176px); grid-column: 1 / -1; grid-row: 2; justify-self: center; transform: none; margin-top: -60px; }
  .ig-phone { --pw: calc(min(64vh, 560px) * .485); }
  .solo-fade { display: none; }
  .si-head h2, .si-head p { grid-column: 1 / -1; }
  .si-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .contact h2, .lib { grid-column: 1 / -1; }
  .lib-p { font-size: clamp(1.4rem, 6.4vw, 2rem); line-height: 1.55; }
  .direct { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .viewer[open] { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .v-stage { padding: 10px; }
  .v-stage video, .v-stage img { max-height: calc(100dvh - 290px); }
  .v-info { border-left: 0; border-top: 1px solid var(--line-d); gap: 8px; padding: 14px var(--gut) calc(env(safe-area-inset-bottom, 0px) + 14px); overflow: visible; }
  .v-title { font-size: 1.7rem; }
  .v-desc { display: none; }
  .v-list { display: flex; overflow-x: auto; gap: 6px; margin-top: 4px; scrollbar-width: none; }
  .v-list li { flex: none; width: 46px; }
  .v-nav { margin-top: 6px; padding-top: 10px; }
  .menu-nav { grid-template-columns: minmax(0, 1fr); }
  .menu-nav a:nth-child(even) { padding-left: 10%; }
  .mc { display: none; }
}

@media (max-width: 520px) {
  .direct { grid-template-columns: minmax(0, 1fr); }
  .roll > div { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1em; }
  .idn-bento, .sp-bento { columns: 1; }
  .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btg-hero { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
