/* Shared styles for the project pages. The home page keeps its own copy inline. */
@font-face { font-family: "Geist"; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/geist-latin.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/geist-mono-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2"); }
:root {
  --ink: #0e1311; --deep: #151a18; --green: #1e3a31; --cream: #f3efe6; --sand: #dad6cb; --gold: #62d09a; --gold-d: #17764f;
  --mute-d: rgba(243, 239, 230, .68); --mute-l: #585b56; --line-d: rgba(243, 239, 230, .14); --line-l: rgba(14, 19, 17, .14);
  --sans: "Geist", "Helvetica Neue", Arial, "Noto Sans Bengali", "Hind Siliguri", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace; --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --gutter: clamp(18px, 4vw, 56px); --max: 1360px;
}
*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--deep); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[id] { scroll-margin-top: 80px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.dark { background: var(--ink); color: var(--cream); }
.h { font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
.h em, .it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--gold-d); }
.dark .h em, .dark .it { color: var(--gold); }
h2.h { font-size: clamp(38px, 4.6vw, 66px); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.5; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--mute-l); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); flex: none; }
.dark .eyebrow { color: #8e9189; }
.lede { font-size: 17px; max-width: 34em; color: var(--mute-l); }
.dark .lede { color: var(--mute-d); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; border-radius: 999px; text-decoration: none; font-size: 13.5px; font-weight: 600; letter-spacing: .01em; border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s, transform .3s; white-space: nowrap; }
.btn::after { content: "→"; transition: transform .3s; }
.btn:hover::after { transform: translateX(4px); }
.btn.gold { background: var(--gold); color: var(--ink); }
.btn.gold:hover { background: var(--cream); }
.btn.ghost { border-color: rgba(243, 239, 230, .3); color: var(--cream); }
.btn.ghost:hover { background: var(--cream); color: var(--ink); }
.btn.ink { background: var(--ink); color: var(--cream); }
.btn.ink:hover { background: var(--green); }
.btn.line { border-color: var(--line-l); color: var(--deep); }
.btn.line:hover { background: var(--ink); color: var(--cream); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* Header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; color: var(--cream); transition: background .4s, color .4s, box-shadow .4s; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.top .logo { position: relative; display: block; height: 26px; aspect-ratio: 1146 / 160; flex: none; }
.top .logo img { position: absolute; inset: 0; height: 100%; width: auto; transition: opacity .4s; }
.top .logo .k { opacity: 0; }
.top.scrolled { background: rgba(14, 19, 17, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top.on-light { color: var(--deep); }
.top.on-light.scrolled { background: rgba(243, 239, 230, .78); box-shadow: 0 1px 0 var(--line-l); }
.top.on-light .logo .w { opacity: 0; } .top.on-light .logo .k { opacity: 1; }
.top nav { display: flex; align-items: center; gap: 30px; }
.roll { display: none; position: relative; overflow: hidden; text-decoration: none; font-size: 13.5px; opacity: .8; height: 1.5em; line-height: 1.5; }
.roll span { display: block; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.roll span::after { content: attr(data-t); display: block; color: var(--gold); }
.top.on-light .roll span::after { color: var(--gold-d); }
.roll:hover { opacity: 1; } .roll:hover span { transform: translateY(-50%); }
.roll span { height: 3em; }
@media (min-width: 940px) { .roll { display: block; } }
.top .btn { padding: 10px 18px; font-size: 13px; }
.top .btn::before { content: ""; width: 6px; height: 6px; background: currentColor; transform: rotate(45deg); }
.top .btn::after { display: none; }
.top.on-light .btn.gold { background: var(--ink); color: var(--cream); }


/* browser + phone mock-up, shared by the home page and the project pages */
.mock { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg); background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 44px 44px; isolation: isolate; }
.mock-desk { position: absolute; left: 7%; top: 11%; width: 74%; background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.08); transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.mock-bar { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 10px; background: #e9e7e2; border-bottom: 1px solid #d6d3cc; }
.mock-bar i { width: 7px; height: 7px; background: #c9c6be; }
.mock-bar span { margin: 0 auto; padding: 0 14px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; color: #6d6f6a; background: #f7f6f3; line-height: 15px; }
.mock-desk img { width: 100%; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; }
.mock-phone { position: absolute; right: 6%; top: 24%; width: 21%; padding: 5px; background: #0b0d0c; box-shadow: 0 40px 70px -24px rgba(0,0,0,.65); transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.mock-phone img { width: 100%; aspect-ratio: 780 / 1500; object-fit: cover; object-position: top; }
a:hover > .mock .mock-desk, .mock:hover .mock-desk { transform: translateY(-8px); }
a:hover > .mock .mock-phone, .mock:hover .mock-phone { transform: translateY(-20px); }

.contact { padding: clamp(96px, 13vw, 180px) 0 0; overflow: hidden; }
.contact h2 { font-size: clamp(64px, 13.5vw, 210px); line-height: .9; margin-left: -.04em; }
.social { margin-top: clamp(40px, 6vw, 80px); }
.social a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line-d); text-decoration: none; transition: color .35s, padding .35s; }
.social li:last-child a { border-bottom: 1px solid var(--line-d); }
.social a:hover { color: var(--gold); padding-left: 14px; padding-right: 14px; }
.social b { font-size: clamp(28px, 4.2vw, 56px); font-weight: 500; letter-spacing: -.045em; }
.social span { color: #8e9189; text-align: right; }
@media (max-width: 599px) { .social em { display: none; } } .social em { font-style: normal; }
footer { padding: 44px 0 36px; color: #8e9189; font-size: 13.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; align-items: center; }
footer img { height: 28px; width: auto; }
footer a { color: var(--cream); text-underline-offset: 3px; }

.js [data-r] { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-r].in { opacity: 1; transform: none; }
.js [data-w] .wd { display: inline-block; clip-path: inset(-.1em -.2em -.12em -.2em); vertical-align: top; }
.js [data-w] .wd > span { display: inline-block; transform: translateY(112%); transition: transform 1.05s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 55ms); }
.js [data-w].in .wd > span { transform: none; }

/* ---------- Project pages ---------- */
section { position: relative; }
.phero { padding: clamp(120px, 15vh, 160px) 0 clamp(40px, 6vw, 72px); background: radial-gradient(60% 70% at 80% 0%, #1a2a24 0%, var(--ink) 70%); color: var(--cream); }
.crumb { display: inline-flex; gap: 10px; color: #8e9189; text-decoration: none; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: clamp(28px, 4vw, 44px); }
.crumb:hover { color: var(--gold); }
.phero-grid { display: grid; gap: 36px; }
@media (min-width: 980px) { .phero-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; } }
.phero h1 { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); font-size: clamp(48px, 8vw, 116px); }
.phero h1 .logo-tile { width: clamp(52px, 7vw, 96px); height: clamp(52px, 7vw, 96px); flex: none; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.phero h1 .logo-tile img { width: 100%; height: 100%; object-fit: cover; } .phero h1 .logo-tile.pad img { width: 76%; height: 76%; object-fit: contain; }
.phero .lede { margin-top: 24px; font-size: 18px; color: var(--mute-d); }
.meta { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-d); }
.meta div { padding: 16px 0; border-bottom: 1px solid var(--line-d); }
.meta div:nth-child(odd) { padding-right: 16px; }
.meta dt { color: #8e9189; margin-bottom: 4px; }
.meta dd { font-size: 15px; }
.meta a { text-underline-offset: 3px; text-decoration-color: var(--gold); }
.st-live { display: inline-flex; align-items: center; gap: 8px; } .st-live::before { content: ""; width: 7px; height: 7px; background: var(--gold); }
.pshow { background: var(--ink); padding-bottom: clamp(56px, 8vw, 110px); }
.pshow .mock { aspect-ratio: 16 / 9; }
@media (max-width: 700px) { .pshow .mock { aspect-ratio: 4 / 3.4; } }
.pshow .mock-desk { left: 9%; top: 9%; width: 70%; } .pshow .mock-phone { width: 19%; top: 20%; right: 7%; }
.figs { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-d); margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .figs { grid-template-columns: repeat(4, 1fr); } }
.figs li { padding: 26px 18px 26px 0; border-bottom: 1px solid var(--line-d); }
@media (min-width: 900px) { .figs li { border-bottom: 0; border-right: 1px solid var(--line-d); padding-left: 22px; } .figs li:first-child { padding-left: 0; } .figs li:last-child { border-right: 0; } }
.figs b { display: block; font-size: clamp(36px, 4.4vw, 60px); font-weight: 500; letter-spacing: -.05em; line-height: 1; color: var(--cream); }
.figs span { display: block; margin-top: 10px; color: #8e9189; }
.band { padding: clamp(80px, 11vw, 150px) 0; }
.band.grey { background: #e6e3db; }
.band-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 900px) { .band-head { grid-template-columns: 1.3fr 1fr; align-items: end; } .band-head .lede { justify-self: end; max-width: 400px; } }
.cells { display: grid; border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
@media (min-width: 640px) { .cells { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cells { grid-template-columns: repeat(3, 1fr); } }
.cells li { padding: clamp(22px, 2.6vw, 34px); border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); display: grid; gap: 10px; align-content: start; transition: background .35s; }
.cells li:hover { background: rgba(14, 19, 17, .04); }
.cells .mono { color: var(--gold-d); display: flex; justify-content: space-between; gap: 10px; }
.cells .mono em { font-style: normal; color: var(--mute-l); }
.cells h3 { font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.cells p { color: var(--mute-l); font-size: 15px; }
.dark .cells, .dark .cells li { border-color: var(--line-d); } .dark .cells p { color: var(--mute-d); } .dark .cells .mono { color: var(--gold); } .dark .cells li:hover { background: rgba(243,239,230,.04); }
.timeline { display: grid; border-top: 1px solid var(--line-d); }
.timeline li { display: grid; gap: 8px 40px; padding: 28px 0; border-bottom: 1px solid var(--line-d); }
@media (min-width: 900px) { .timeline li { grid-template-columns: 220px 1fr 1.2fr; align-items: baseline; } }
.timeline .mono { color: var(--gold); }
.timeline h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.035em; }
.timeline p { color: var(--mute-d); }
.links { display: grid; border-top: 1px solid var(--line-l); }
.links a { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--line-l); text-decoration: none; transition: padding .35s, background .35s; }
@media (min-width: 900px) { .links a { grid-template-columns: 220px 1fr auto; align-items: baseline; } }
.links a:hover { padding-left: 14px; padding-right: 14px; background: rgba(14,19,17,.04); }
.links .mono { color: var(--mute-l); }
.links b { font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.links i { font-style: normal; color: var(--gold-d); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.gallery figure { background: #fff; border: 1px solid var(--line-l); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 12px 14px; font-size: 13.5px; color: var(--mute-l); border-top: 1px solid var(--line-l); }
.cases { display: grid; gap: clamp(36px, 4vw, 52px) 24px; }
@media (min-width: 860px) { .cases { grid-template-columns: 1fr 1fr; } }
.cases a { display: grid; gap: 14px; text-decoration: none; }
.cases .shot { overflow: hidden; border: 1px solid var(--line-l); background: #fff; }
.cases img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.cases a:hover img { transform: scale(1.03); }
.cases .mono { color: var(--mute-l); display: flex; justify-content: space-between; }
.cases h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; }
.cases p { color: var(--mute-l); }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
@media (min-width: 900px) { .logos { grid-template-columns: repeat(9, 1fr); } }
.logos li { display: grid; place-items: center; height: 96px; padding: 18px; border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); background: #fff; }
.logos img { max-height: 44px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .35s, opacity .35s; }
.logos li:hover img { filter: none; opacity: 1; }
.quote { font-size: clamp(28px, 3.8vw, 52px); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; max-width: 22ch; }
.quote em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); }
.quote + .mono { margin-top: 22px; color: #8e9189; }
.next { display: block; padding: clamp(64px, 9vw, 120px) 0; background: var(--gold); color: var(--ink); text-decoration: none; }
.next .wrap { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.next .mono { display: block; margin-bottom: 12px; }
.next b { font-size: clamp(44px, 8vw, 120px); font-weight: 500; letter-spacing: -.05em; line-height: .95; }
.next i { font-style: normal; font-size: clamp(44px, 8vw, 120px); line-height: .95; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.next:hover i { transform: translateX(16px); }
