/* =========================================================
   Sarayu Moganti — portfolio
   Theme: ingrassiadaniel.it (charcoal, Inter Tight, quiet type)
   Hero: worksruthi.com · Loader: huyml.co · Nav: poulo.site
   Motion: suho.studio · Tech + creative: abhayrohit.com
   ========================================================= */
:root {
  --bg: #222124;
  --bg-2: #1a1a1c;
  --bg-3: #2b2a2e;
  --fg: #f0f2f0;
  --dim: #8b8f8c;
  --faint: rgba(240, 242, 240, .12);
  --red: #e33529;
  --cream: #f3f3e9;
  --paper: #fafaf7;
  --ink: #141414;
  --f-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --f-sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --f-type: 'Courier Prime', 'Courier New', monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --gutter: max(16px, 4.4vw);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-sans); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; height: 100svh; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.mono { font-family: var(--f-mono); letter-spacing: .02em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--red); color: var(--fg); }
.ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

@media (hover: hover) and (pointer: fine) { html.has-cursor, html.has-cursor * { cursor: none !important; } }

/* ================= LOADER ================= */
#loader { position: fixed; inset: 0; z-index: 200; background: #0b0b0b; clip-path: inset(0 0 0 0); }
.ld-paper { position: absolute; inset: 0; background: var(--paper); clip-path: inset(0 100% 0 0); }
.ld-name {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--f-display); color: var(--red); font-size: min(21vh, 16vw); line-height: .86; letter-spacing: .005em; text-align: center;
}
.ld-name span { display: block; }
.ld-pusher { position: absolute; left: 0; bottom: 4vh; height: min(66vh, 120vw); aspect-ratio: 280 / 360; will-change: transform; }
.ld-pusher svg { width: 100%; height: 100%; overflow: visible; }
.ld-count { position: absolute; right: 28px; bottom: 24px; color: #5b5b5b; font-size: 12px; }
#flyLayer { position: fixed; inset: 0; z-index: 160; pointer-events: none; perspective: 1400px; overflow: hidden; display: none; }
.fly { position: absolute; left: 0; top: 0; width: min(15vw, 230px); aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: #ddd; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); will-change: transform; backface-visibility: hidden; }
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* ================= CURSOR ================= */
#cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; display: none; }
html.has-cursor #cursor { display: block; }
.c-dot { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(255,255,255,.55), 0 0 30px 8px rgba(255,255,255,.18); transition: transform .35s var(--ease-out), background .2s; }
#cursor.is-hover .c-dot { transform: scale(2.4); background: rgba(255,255,255,.9); }
#cursor.on-light .c-dot { background: var(--ink); box-shadow: none; }
.c-label { position: absolute; left: 16px; top: 10px; font-size: 11px; text-transform: uppercase; white-space: nowrap; color: var(--fg); opacity: 0; transform: translateY(4px); transition: .25s var(--ease-out); }
#cursor.on-light .c-label { color: var(--ink); }
#cursor.has-label .c-label { opacity: 1; transform: none; }

/* ================= NAV (poulo) ================= */
.edge-blur { position: fixed; inset: 0 0 auto 0; height: 96px; z-index: 90; pointer-events: none; }
.edge-blur i { position: absolute; inset: 0; }
.edge-blur i:nth-child(1) { backdrop-filter: blur(.5px); -webkit-backdrop-filter: blur(.5px); mask: linear-gradient(#000 0 50%, transparent 100%); -webkit-mask: linear-gradient(#000 0 50%, transparent 100%); }
.edge-blur i:nth-child(2) { backdrop-filter: blur(1px); -webkit-backdrop-filter: blur(1px); mask: linear-gradient(#000 0 42%, transparent 83%); -webkit-mask: linear-gradient(#000 0 42%, transparent 83%); }
.edge-blur i:nth-child(3) { backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); mask: linear-gradient(#000 0 33%, transparent 66%); -webkit-mask: linear-gradient(#000 0 33%, transparent 66%); }
.edge-blur i:nth-child(4) { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); mask: linear-gradient(#000 0 25%, transparent 50%); -webkit-mask: linear-gradient(#000 0 25%, transparent 50%); }
.edge-blur i:nth-child(5) { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); mask: linear-gradient(#000 0 12%, transparent 30%); -webkit-mask: linear-gradient(#000 0 12%, transparent 30%); }

.topbar { position: fixed; top: 24px; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.topbar > * { pointer-events: auto; }
.pill {
  display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.10);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.2), inset 0 -1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(40px) saturate(2); -webkit-backdrop-filter: blur(40px) saturate(2);
  transition: background .4s, border-color .4s;
}
.pill ul { display: flex; gap: 2px; }
.pill-item { position: relative; display: flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 999px; font-size: 15px; color: rgba(240,242,240,.7); white-space: nowrap; transition: color .15s; outline: none; }
.pill-item:hover, .pill-item:focus-visible, .pill-item.is-active { color: var(--fg); }
.pill-item:focus-visible { box-shadow: 0 0 0 2px rgba(255,255,255,.5); }
.pill-bg { position: absolute; inset: 0; border-radius: inherit; background: rgba(255,255,255,.15); box-shadow: 0 1px 3px rgba(0,0,0,.12); opacity: 0; transition: opacity .3s; }
.pill-item.is-active .pill-bg { opacity: 1; }
.pill-item .ico { position: relative; }
.pill-label { position: relative; overflow: hidden; width: 0; opacity: 0; transition: width .5s var(--ease-out), opacity .35s; }
.pill-label > span { display: flex; align-items: center; gap: 6px; padding-left: 7px; padding-right: 2px; }
.chev { width: 14px; height: 14px; fill: none; stroke: var(--dim); stroke-width: 2; stroke-linecap: round; transition: transform .3s var(--ease-out); }
.pill-item[aria-expanded="true"] .chev { transform: rotate(180deg); }
.pill.is-open .pill-label { opacity: 1; }

.cta { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 4px 24px 4px 4px; border-radius: 999px; background: #e6e6e4; color: #111; font-size: 15px; font-weight: 500; box-shadow: 0 10px 40px -10px rgba(0,0,0,.6); transition: background .25s; }
.cta:hover { background: #fff; }
.cta-spin { position: relative; width: 46px; height: 46px; border-radius: 50%; background: #171717; flex: none; animation: spin 1.6s steps(12) infinite; }
.cta-spin i { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #f5f5f5; }
.cta-spin i:nth-child(1) { transform: rotate(0deg) translateY(-11px); opacity: 1; }
.cta-spin i:nth-child(2) { transform: rotate(40deg) translateY(-11px); opacity: .85; }
.cta-spin i:nth-child(3) { transform: rotate(80deg) translateY(-11px); opacity: .7; }
.cta-spin i:nth-child(4) { transform: rotate(150deg) translateY(-11px); opacity: .55; }
.cta-spin i:nth-child(5) { transform: rotate(210deg) translateY(-11px); opacity: .4; }
.cta-spin i:nth-child(6) { transform: rotate(270deg) translateY(-11px); opacity: .25; }
@keyframes spin { to { transform: rotate(360deg); } }

.menu {
  position: absolute; top: calc(100% + 12px); left: 50%; width: min(680px, calc(100vw - 32px)); translate: -50% 0;
  background: rgba(22,22,24,.94); border: 1px solid rgba(255,255,255,.09); border-radius: 22px; padding: 10px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.985); filter: blur(4px); transform-origin: 50% 0;
  transition: opacity .25s, transform .35s var(--ease-out), filter .3s, visibility 0s .35s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity .25s, transform .4s var(--ease-out), filter .3s, visibility 0s; }
.menu-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-preview { display: flex; flex-direction: column; gap: 12px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); transition: background .2s; }
.menu-preview:hover { background: rgba(255,255,255,.06); }
.menu-media { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #111; }
.menu-media img { width: 100%; height: 100%; object-fit: cover; }
.menu-blurb { font-size: 14px; line-height: 1.4; color: rgba(240,242,240,.86); padding: 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.menu-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); padding: 0 4px 2px; }
.menu-list { display: flex; flex-direction: column; gap: 2px; padding: 8px 6px; }
.menu-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); padding: 4px 8px 10px; }
.menu-list a { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 12px; transition: background .2s; }
.menu-list a:hover, .menu-list a:focus-visible { background: rgba(255,255,255,.05); outline: none; }
.mi { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); color: rgba(240,242,240,.8); }
.menu-list b { display: block; font-weight: 500; font-size: 15px; color: var(--fg); }
.menu-list em { display: block; font-style: normal; font-size: 13px; color: var(--dim); }
.menu-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 12px 10px 4px; border-top: 1px solid rgba(255,255,255,.07); font-size: 12px; color: var(--dim); }
.menu-foot a { color: var(--fg); }

/* poulo left ticks */
.ticks { position: fixed; left: 26px; top: 50%; transform: translateY(-50%); z-index: 80; display: flex; flex-direction: column; gap: 11px; opacity: 0; transition: opacity .6s; }
body.is-ready .ticks { opacity: 1; }
.ticks a { display: flex; align-items: center; gap: 12px; height: 8px; }
.ticks i { display: block; height: 1.5px; width: 12px; background: var(--dim); opacity: .7; transition: width .4s var(--ease-out), background .3s, opacity .3s; }
.ticks a:nth-child(3n+1) i { width: 22px; }
.ticks a:nth-child(3n+2) i { width: 16px; }
.ticks a.is-active i { width: 40px; background: var(--fg); opacity: 1; }
.ticks span { font-size: 11px; text-transform: uppercase; color: var(--fg); opacity: 0; transform: translateX(-6px); transition: .3s var(--ease-out); }
.ticks:hover span, .ticks a:focus-visible span { opacity: .9; transform: none; }
.ticks.on-light i { background: var(--ink); }
.ticks.on-light span { color: var(--ink); }

/* ================= CANVAS ================= */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
#app { position: relative; z-index: 2; }

/* ================= HERO (worksruthi) ================= */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; --ph: min(76svh, 50vw); --pw: calc(var(--ph) * .851); }
.scribbles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.scr { fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.scr--thin { stroke-width: 2; }
.doodles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.doodle { position: absolute; width: 22px; height: 22px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.hero-type { position: absolute; inset: 0; font-weight: 400; pointer-events: none; }
.ht-hello, .ht-meet { z-index: 2; }
.ht { position: absolute; display: block; font-family: var(--f-display); color: var(--fg); line-height: .8; letter-spacing: .004em; white-space: nowrap; }
.ht .ch { display: inline-block; will-change: transform; }
.ht-hello { right: calc(50% + var(--pw) * .3); top: 24%; font-size: min(10.4vw, 19vh); }
.ht-meet { right: calc(50% + var(--pw) * .25); top: 55%; font-size: min(10.4vw, 19vh); }
.ht-name { left: calc(50% + var(--pw) * .22); top: 63%; font-size: min(12.4vw, 22.5vh); z-index: 4; }
.hero-portrait { position: absolute; left: calc(50% - var(--pw) / 2); bottom: 0; height: var(--ph); width: var(--pw); z-index: 3; }
.hero-portrait svg { width: 100%; height: 100%; overflow: visible; }
.hero-var { position: absolute; left: calc(50% + var(--pw) * .24); top: 31%; z-index: 5; font-family: var(--f-type); color: var(--red); font-size: min(2.5vw, 4.4vh); display: flex; align-items: center; white-space: nowrap; }
.hv-text { outline: none; }
.hv-caret { display: inline-block; width: 2px; height: 1.05em; background: var(--red); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-var.is-editing .hv-text { border-bottom: 1px dashed rgba(227,53,41,.6); }
.hero-cap { position: absolute; left: calc(50% + var(--pw) * .27); top: 57.6%; z-index: 5; white-space: nowrap; font-size: clamp(9px, .8vw, 11.5px); text-transform: uppercase; letter-spacing: .06em; color: var(--fg); opacity: .9; }
.hero-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; z-index: 6; display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; text-transform: uppercase; color: var(--dim); }
.hero-foot > span { display: flex; align-items: center; gap: 8px; }
.hero-scroll { display: none !important; }
.hero-scroll svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; animation: nudge 1.8s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(227,53,41,.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(227,53,41,0); } 100% { box-shadow: 0 0 0 0 rgba(227,53,41,0); } }

/* ================= JOURNEY (ingrassia) ================= */
.journey { position: relative; }
.jr-step { position: relative; height: 150vh; }
.jr-step > * { position: sticky; top: 0; }
.jr-text { position: sticky; top: 50vh; transform: translateY(-50%); max-width: 30ch; font-size: clamp(17px, 1.5vw, 23px); line-height: 1.32; color: var(--fg); font-weight: 400; }
.jr-left { margin-left: 8vw; }
.jr-right { margin-left: auto; margin-right: 8vw; top: 62vh; }
.scramble { color: var(--fg); font-style: italic; }
.jr-orbit { height: 100vh; display: grid; place-items: center; pointer-events: none; }
.jr-orbit svg { width: var(--orbit, 620px); height: var(--orbit, 620px); overflow: visible; animation: orbit 60s linear infinite; }
.jr-orbit text { fill: var(--fg); font-family: var(--f-sans); font-size: 17px; letter-spacing: .02em; }
@keyframes orbit { to { transform: rotate(360deg); } }
.jr-step[data-shape="map"] { height: 150vh; }
.jr-pin { position: fixed !important; left: 0; top: 0; z-index: 3; pointer-events: none; opacity: 0; font-size: 15px; color: var(--fg); }
.jr-pin span { position: absolute; left: 14px; top: -10px; white-space: nowrap; }
.jr-pin::before { content: ''; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(227,53,41,.18), 0 0 18px 4px rgba(227,53,41,.5); }

/* ================= ABOUT (suho) ================= */
.about { position: relative; height: 100vh; perspective: 1600px; }
.about-card { position: absolute; inset: 0; background: var(--cream); color: var(--ink); display: grid; place-items: center; overflow: hidden; will-change: transform; transform-origin: 50% 50%; }
.about-inner { width: min(1100px, 88vw); }
.about-lede { font-size: clamp(24px, 3.05vw, 48px); line-height: 1.34; text-align: center; font-weight: 500; letter-spacing: -.025em; }
.about-lede .w { display: inline-block; will-change: filter, opacity; }
.pill-img { display: inline-block; width: 2.3em; height: 1.24em; border-radius: .26em; overflow: hidden; vertical-align: -.22em; margin: 0 .08em; background: #ddd; box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); }
.pill-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.about-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 9vh; padding-top: 22px; border-top: 1px solid rgba(20,20,20,.14); }
.about-meta dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #6b6862; margin-bottom: 6px; }
.about-meta dd { font-size: 15px; line-height: 1.35; }

/* ================= WORK (suho heading + poulo cards) ================= */
.work { position: relative; padding: 26vh var(--gutter) 8vh; }
.work-head { max-width: 1240px; margin: 0 auto; }
.big-title { font-size: clamp(54px, 9.2vw, 156px); font-weight: 600; letter-spacing: -.055em; line-height: .92; }
.big-title .ch { display: inline-block; }
.work-sub { margin-top: 18px; color: var(--dim); font-size: 15px; }
.case { max-width: 1240px; margin: 20vh auto 0; }
.case-title { font-size: clamp(22px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.025em; line-height: 1.18; max-width: 30em; }
.case-title span { color: var(--fg); }
.case-tags { margin-top: 10px; font-size: 12px; color: var(--dim); }
.case-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; margin-top: 30px; }
.case-visual { position: relative; min-height: 440px; border-radius: 24px; background: var(--bg-2); border: 1px solid rgba(255,255,255,.07); overflow: hidden; display: flex; flex-direction: column; }
.cv-chrome { display: flex; align-items: center; gap: 6px; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.06); }
.cv-chrome i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.cv-chrome span { margin-left: 10px; font-size: 11px; color: var(--dim); }
.cv-board { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 22px; align-items: end; }
.cv-col { border-radius: 16px; padding: 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 6px; min-height: 58%; transform-origin: 50% 100%; }
.cv-col:nth-child(2) { min-height: 74%; }
.cv-col:nth-child(3) { min-height: 90%; background: linear-gradient(180deg, rgba(227,53,41,.16), rgba(227,53,41,.04)); border-color: rgba(227,53,41,.3); }
.cv-col span { font-size: 11px; color: var(--dim); text-transform: uppercase; margin-bottom: auto; }
.cv-col b { font-weight: 500; font-size: 16px; }
.cv-col em { font-style: normal; font-size: 13px; color: var(--dim); }
.cv-caption { display: flex; justify-content: space-between; padding: 14px 20px 18px; font-size: 14px; }
.cv-caption .mono { font-size: 12px; color: var(--dim); }
.cv-loop { position: relative; flex: 1; display: grid; place-items: center; }
.cv-loop svg { width: 86%; max-width: 560px; overflow: visible; }
.loop-path { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1.5; stroke-dasharray: 3 6; }
.loop-dot { fill: var(--red); filter: drop-shadow(0 0 8px rgba(227,53,41,.8)); }
.lp { position: absolute; font-size: 12px; text-transform: uppercase; color: var(--fg); padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.lp1 { left: 9%; top: 24%; } .lp2 { left: 41%; top: 12%; } .lp3 { right: 9%; top: 24%; } .lp4 { left: 43%; bottom: 14%; }
.case-aside { border-radius: 24px; background: var(--bg-2); border: 1px solid rgba(255,255,255,.07); padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.case-quote { font-size: 16px; line-height: 1.5; color: rgba(240,242,240,.9); padding: 22px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); }
.case-role { margin-top: auto; font-size: 14px; color: rgba(240,242,240,.86); }
.case-role .mono { display: block; font-size: 11px; color: var(--dim); text-transform: uppercase; margin-bottom: 4px; }
.case-cta { align-self: flex-end; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 3px 18px 3px 3px; border-radius: 999px; background: #e6e6e4; color: #111; font-size: 14px; font-weight: 500; }
.case-cta .cta-spin { width: 40px; height: 40px; }
.case-cta .cta-spin i { transform-origin: center; }
.case-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.cc { border-radius: 20px; background: var(--bg-2); border: 1px solid rgba(255,255,255,.07); padding: 22px; min-height: 230px; display: flex; flex-direction: column; gap: 8px; transition: border-color .3s, background .3s; }
.cc:hover { border-color: rgba(255,255,255,.16); background: #1e1e20; }
.cc .ico { width: 20px; height: 20px; color: var(--dim); margin-bottom: auto; }
.cc h4 { font-weight: 500; font-size: 15px; margin-top: 28px; }
.cc p { font-size: 14px; color: var(--dim); line-height: 1.45; }

/* ================= TOOLKIT (worksruthi + poulo) ================= */
.toolkit { position: relative; padding: 10vh 0 6vh; }
.tk-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto; }
.tk-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; text-align: right; }
.tk-title { font-family: var(--f-display); font-weight: 400; color: var(--red); font-size: clamp(40px, 4.6vw, 76px); line-height: .96; letter-spacing: .005em; }
.tk-copy { margin-top: 14px; font-size: 15px; color: var(--dim); max-width: 34ch; }
.tk-link { margin-top: 16px; font-size: 12px; color: var(--red); text-transform: uppercase; }
.tk-list { padding: 46vh 0 46vh; }
.tk-list li { font-family: var(--f-display); font-size: clamp(44px, 6.1vw, 104px); line-height: 1.04; text-transform: uppercase; color: var(--fg); will-change: filter, opacity; }
.tools { padding: 12vh 0 2vh; }
.tools-kicker { padding: 0 var(--gutter); font-size: 15px; color: var(--fg); margin-bottom: 26px; }
.tools-rail { position: relative; height: 190px; overflow: hidden; mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.tool { position: absolute; top: 50%; left: 0; width: 150px; height: 150px; margin-top: -75px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, #2a2a2d, #161618 70%); border: 1px solid rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 40px -20px rgba(0,0,0,.8); will-change: transform; }
.tool svg { width: 52px; height: 52px; fill: #f2f2f2; }
.tool .mono-mark { font-family: var(--f-sans); font-weight: 700; font-size: 30px; letter-spacing: -.04em; color: #f2f2f2; }
.tool .tool-name { position: absolute; bottom: -26px; font-size: 11px; color: var(--dim); white-space: nowrap; font-family: var(--f-mono); text-transform: uppercase; opacity: 0; transition: opacity .25s; }
.tool:hover .tool-name { opacity: 1; }

/* ================= LEADERSHIP ================= */
.lead { position: relative; padding: 22vh var(--gutter) 18vh; max-width: 1440px; margin: 0 auto; }
.lead-kicker { font-size: 12px; text-transform: uppercase; color: var(--dim); margin-bottom: 26px; }
.lead-statement { font-size: clamp(28px, 4.1vw, 66px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; max-width: 17em; }
.lead-statement .w { display: inline-block; will-change: filter, opacity; }
.lead-row { display: grid; grid-template-columns: minmax(260px, 1fr) 2fr; gap: 5vw; margin-top: 12vh; align-items: end; }
.lead-stat { position: relative; display: flex; align-items: flex-start; flex-wrap: wrap; }
.lead-n, .lead-plus { font-family: var(--f-display); color: var(--red); font-size: clamp(120px, 15vw, 250px); line-height: .82; }
.lead-l { flex-basis: 100%; margin-top: 16px; font-size: 12px; text-transform: uppercase; color: var(--dim); }
.lead-beats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.lead-beats > div { border-top: 1px solid var(--faint); padding-top: 16px; }
.lead-beats span { font-size: 11px; text-transform: uppercase; color: var(--dim); }
.lead-beats p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: rgba(240,242,240,.88); }

/* ================= EDUCATION (ingrassia rows) ================= */
.edu { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6vw; padding: 14vh var(--gutter) 22vh; max-width: 1440px; margin: 0 auto; }
.edu-h { font-size: 12px; font-weight: 400; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; }
.rows li { display: grid; grid-template-columns: 128px 1fr auto; gap: 20px; padding: 18px 0; border-top: 1px solid var(--faint); align-items: baseline; transition: padding .4s var(--ease-out); }
.rows li:last-child { border-bottom: 1px solid var(--faint); }
.rows li:hover { padding-left: 10px; }
.r-k { font-size: 12px; color: var(--dim); text-transform: uppercase; }
.r-t { font-size: 17px; color: var(--fg); }
.r-t em { display: block; font-style: normal; font-size: 14px; color: var(--dim); margin-top: 3px; line-height: 1.45; }
.r-v { font-size: 12px; color: var(--dim); text-align: right; white-space: nowrap; }

/* ================= CRAFT (suho wipe + abhay) ================= */
.craft { position: relative; }
.craft-wipe { position: absolute; inset: 0; background: var(--red); clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%); z-index: 0; }
.craft-stage { position: relative; height: 100vh; overflow: hidden; z-index: 1; color: var(--cream); }
.craft-content { position: absolute; inset: 0; z-index: 1; }
.craft-top { position: absolute; left: var(--gutter); right: var(--gutter); top: 96px; display: flex; justify-content: space-between; align-items: flex-start; z-index: 3; }
.craft-top .mono { font-size: 12px; text-transform: uppercase; }
.craft-line { font-size: clamp(22px, 2.3vw, 36px); line-height: 1.08; letter-spacing: -.025em; font-weight: 500; text-align: right; }
.craft-word { position: absolute; inset: 0; font-family: var(--f-display); font-weight: 400; z-index: 1; pointer-events: none; }
.cw { position: absolute; white-space: nowrap; line-height: .8; font-size: min(17vw, 30vh); color: var(--cream); }
.cw-1 { left: 1.5vw; top: 15vh; }
.cw-2 { right: 3vw; bottom: 9vh; z-index: 3; }
.cw .ch { display: inline-block; position: relative; will-change: transform; }
.speed { position: absolute; left: -.2em; top: 40%; width: .55em; height: .22em; pointer-events: none; opacity: 0; }
.speed i { position: absolute; left: 0; height: 2px; background: var(--cream); border-radius: 2px; }
.speed i:nth-child(1) { top: 0; width: 100%; } .speed i:nth-child(2) { top: 45%; width: 70%; left: 20%; } .speed i:nth-child(3) { top: 90%; width: 50%; left: 10%; }
.film { position: absolute; left: 0; right: 0; top: 50%; height: 0; z-index: 2; }
.film-track { position: absolute; left: 0; top: 0; }
.frame { position: absolute; left: 0; top: 0; width: 228px; height: 184px; margin: -92px 0 0 -114px; background: #0d0d0d; border-radius: 3px; padding: 24px 9px; will-change: transform; }
.frame::before, .frame::after { content: ''; position: absolute; left: 6px; right: 6px; height: 10px; background: repeating-linear-gradient(90deg, var(--cream) 0 10px, transparent 10px 20px); opacity: .92; border-radius: 1px; }
.frame::before { top: 7px; } .frame::after { bottom: 7px; }
.frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; background: #333; }
.frame span { position: absolute; left: 12px; bottom: -1px; font-family: var(--f-mono); font-size: 8px; color: #999; display: none; }
.craft-foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; display: flex; justify-content: space-between; font-size: 11.5px; text-transform: uppercase; z-index: 3; }

.gallery { position: relative; z-index: 1; height: 100vh; overflow: hidden; background: var(--red); color: var(--cream); }
.gal-head { position: absolute; left: var(--gutter); right: var(--gutter); top: 96px; display: flex; justify-content: space-between; align-items: center; gap: 20px; z-index: 2; }
.gal-hint { font-size: 12px; text-transform: uppercase; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(243,243,233,.4); font-size: 13px; color: var(--cream); transition: background .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--cream); }
.filters button.is-on { background: var(--cream); color: var(--red); border-color: var(--cream); }
.gal-track { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; gap: 4vw; padding: 0 12vw 0 8vw; will-change: transform; }
.g-item { flex: none; width: clamp(240px, 26vw, 420px); }
.g-item[hidden] { display: none; }
.g-mat { display: block; width: 100%; padding: 16px; background: var(--cream); border-radius: 10px; box-shadow: 0 40px 60px -30px rgba(60,0,0,.6); transform-origin: 50% 50%; will-change: transform; }
.g-mat img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; background: #ddd; }
.g-cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 15px; }
.g-cap .mono { font-size: 11px; text-transform: uppercase; opacity: .85; padding-top: 3px; }

/* ================= CONTACT (ingrassia frame) ================= */
.contact { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16vh var(--gutter) 0; overflow: hidden; }
.ct-frame { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 70px 90px; }
.ct-kicker { font-size: 11px; text-transform: uppercase; color: var(--dim); }
.ct-mail { margin-top: 12px; font-size: clamp(24px, 4.2vw, 62px); font-weight: 400; letter-spacing: -.03em; color: var(--fg); line-height: 1.1; transition: color .2s; }
.ct-mail:hover { color: #fff; }
.ct-sub { margin-top: 12px; font-size: 14px; color: var(--dim); }
.ct-sub a { color: var(--fg); border-bottom: 1px solid var(--faint); }
.ct-copied { position: absolute; bottom: 30px; font-size: 11px; color: var(--red); text-transform: uppercase; }
.ct-line { margin-top: 10vh; font-size: 15px; color: var(--dim); text-align: center; }
.foot { width: 100%; display: flex; justify-content: space-between; gap: 16px; margin-top: 14vh; padding: 22px 0; font-size: 11px; text-transform: uppercase; color: var(--dim); border-top: 1px solid var(--faint); position: relative; z-index: 2; }
.foot a:hover { color: var(--fg); }
.foot-ghost { font-family: var(--f-display); font-size: 15.4vw; line-height: .78; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(240,242,240,.13); margin-bottom: -3.4vw; user-select: none; }

/* ================= LIGHTBOX ================= */
.lb { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; background: rgba(14,13,15,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.lb figure { max-width: 86vw; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb img { max-height: 80vh; max-width: 86vw; border-radius: 6px; box-shadow: 0 40px 100px -30px #000; }
.lb figcaption { font-size: 12px; text-transform: uppercase; color: var(--dim); }
.lb-close { position: absolute; top: 28px; right: 28px; font-size: 12px; text-transform: uppercase; color: var(--fg); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--faint); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .case-cards { grid-template-columns: repeat(2, 1fr); }
  .hero-foot { display: none; }
}
@media (max-width: 900px) {
  .ticks { display: none; }
  .pill-item { padding: 0 12px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-visual { min-height: 360px; }
  .tk-wrap { grid-template-columns: 1fr; }
  .tk-sticky { position: relative; height: auto; align-items: flex-start; text-align: left; padding-top: 6vh; }
  .tk-list { padding: 8vh 0 4vh; }
  .lead-row { grid-template-columns: 1fr; }
  .edu { grid-template-columns: 1fr; gap: 10vh; }
  .about-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .topbar { top: 14px; justify-content: space-between; gap: 6px; padding: 0 12px; }
  .pill-item { height: 40px; padding: 0 11px; }
  .pill.is-open .pill-label { width: 0 !important; opacity: 0; }
  .cta { height: 50px; padding: 3px 16px 3px 3px; font-size: 14px; gap: 9px; }
  .cta-spin { width: 42px; height: 42px; }
  .menu { position: fixed; top: 76px; }
  .menu-inner { grid-template-columns: 1fr; }
  .menu-preview { display: none; }
  .edge-blur { height: 80px; }

  .ld-pusher { height: 40vh; bottom: 6vh; }
  .ld-name { font-size: 21vw; transform: translateY(-12vh); }
  .hero { min-height: 600px; --ph: 50svh; }
  .hero-foot { display: none; }
  .scr:nth-child(4), .scr:nth-child(5) { display: none; }
  .ht-hello { left: 6%; right: auto; top: 15%; font-size: 23vw; }
  .ht-meet { left: 6%; right: auto; top: 47%; font-size: 23vw; z-index: 2; }
  .ht-name { left: auto; right: 5%; top: auto; bottom: 5%; font-size: 26vw; color: var(--red); }
  .hero-var { left: 6%; top: calc(15% + 21vw); font-size: 5.4vw; }
  .hero-cap { left: auto; right: 6%; top: 33%; width: 42%; text-align: right; font-size: 10.5px; }
  .hero-portrait { left: calc(56% - var(--pw) / 2); }
  .hero-foot { bottom: 18px; font-size: 10px; }
  .hero-foot .hero-scroll { display: none; }

  .jr-step { height: 130vh; }
  .jr-text { max-width: none; margin: 0 7vw !important; top: 22vh; font-size: 19px; }
  .jr-right { top: 74vh; }
  .jr-orbit text { font-size: 22px; }

  .about-lede { font-size: 22px; }
  .about-meta { gap: 18px; margin-top: 5vh; }
  .about-meta dd { font-size: 14px; }
  .work { padding-top: 18vh; }
  .case { margin-top: 13vh; }
  .case-cards { grid-template-columns: 1fr; }
  .cc { min-height: 0; }
  .cc h4 { margin-top: 18px; }
  .cv-board { grid-template-columns: 1fr; padding: 16px; gap: 8px; }
  .cv-col, .cv-col:nth-child(2), .cv-col:nth-child(3) { min-height: 0; }
  .lp { font-size: 10px; padding: 4px 8px; }
  .tools-rail { height: 150px; }
  .tool { width: 108px; height: 108px; margin-top: -54px; }
  .tool svg { width: 40px; height: 40px; }
  .lead-beats { grid-template-columns: 1fr; gap: 20px; }
  .rows li { grid-template-columns: 1fr; gap: 6px; }
  .r-v { text-align: left; }
  .cw { font-size: 26vw; }
  .cw-1 { top: 22vh; }
  .cw-2 { bottom: 14vh; }
  .craft-top { top: 84px; }
  .craft-line { font-size: 20px; }
  .frame { width: 150px; height: 124px; margin: -62px 0 0 -75px; padding: 18px 6px; }
  .frame::before, .frame::after { height: 7px; top: 5px; background: repeating-linear-gradient(90deg, var(--cream) 0 7px, transparent 7px 14px); }
  .frame::after { top: auto; bottom: 5px; }
  .craft-foot { flex-direction: column; gap: 4px; bottom: 18px; font-size: 10px; }
  .gallery { height: auto; padding: 150px 0 80px; }
  .gal-head { position: relative; top: 0; left: 0; right: 0; padding: 0 var(--gutter); flex-direction: column; align-items: flex-start; }
  .gal-track { position: relative; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px var(--gutter); gap: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; width: 100%; }
  .g-item { width: 74vw; scroll-snap-align: center; }
  .ct-frame { padding: 54px 22px; }
  .ct-mail { font-size: 6.4vw; }
  .foot { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* nav over light sections (poulo light theme) */
.topbar.on-light .pill { background: rgba(255,255,255,.4); border-color: rgba(255,255,255,.6); box-shadow: 0 10px 40px -10px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.7), inset 0 -1px 0 rgba(255,255,255,.15); }
.topbar.on-light .pill-item { color: rgba(20,20,20,.62); }
.topbar.on-light .pill-item:hover, .topbar.on-light .pill-item.is-active { color: #141414; }
.topbar.on-light .pill-bg { background: rgba(255,255,255,.85); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.topbar.on-light .chev { stroke: rgba(20,20,20,.5); }
.topbar.on-light .cta { background: #161616; color: #f3f3f1; }
.topbar.on-light .cta-spin { background: #f3f3f1; }
.topbar.on-light .cta-spin i { background: #161616; }
.topbar .pill, .topbar .pill-item, .topbar .cta { transition: background .35s, border-color .35s, color .25s, box-shadow .35s; }
