/* Chhaya · the website. Bright and soft: cream paper, Pink City coral, brass, wine-dark ink. */
:root {
  --cream: #fbf3e8; --paper: #fffaf3; --sand: #f1e2d0; --peach: #f6d4bd; --coral: #d9775e; --pink: #e7a796; --brass: #a8823b;
  --ink: #2b1712; --ink2: #6e4d42; --line: rgba(43, 23, 18, .12);
  --serif: 'Instrument Serif', Georgia, serif; --sans: Manrope, system-ui, sans-serif; --deva: 'Tiro Devanagari Hindi', serif;
  --gut: clamp(18px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; margin: 0; }
h1 em, h2 em { font-style: italic; color: var(--coral); }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--gut); }
.two { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

/* the robin flies over everything but the header */
/* the robin's canvas: fixed to the screen for the arrival, then docked into a page-sized box (it scrolls with the page; the box clips it,
   so it can never make the page longer) */
body { position: relative; }
#birdbox { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; z-index: 30; }
#bird { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#bird.docked { position: absolute; inset: auto; left: 0; top: 0; width: 100%; will-change: transform; }
.arrive { position: fixed; inset: 0; z-index: 80; background: #fffaf3; pointer-events: none; opacity: 0; transition: opacity 1.1s ease-out; }
.arrive.on { opacity: 1; transition: none; }

/* header */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 28px; padding: 14px var(--gut); transition: background .4s, box-shadow .4s, padding .4s; }
.top.solid { background: rgba(251, 243, 232, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); padding-block: 10px; }
.mark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.mark b { font: italic 400 28px/1 var(--serif); }
.mark span { font: 400 18px/1 var(--deva); color: var(--coral); }
.top nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--ink2); transition: color .2s; }
.top nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .top nav { display: none; } .top .btn.small { margin-left: auto; } }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: var(--ink); color: var(--cream); text-decoration: none; border: 0;
  font: 600 14px/1 var(--sans); letter-spacing: .02em; cursor: pointer; transition: background .25s, transform .25s, box-shadow .25s; }
.btn:hover { background: #4a2a21; transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(43, 23, 18, .6); }
.btn.small { padding: 11px 18px; font-size: 13px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(43, 23, 18, .3); }
.btn.ghost:hover { background: rgba(43, 23, 18, .05); }

/* hero: our own door at night, full-bleed. A torch follows your cursor; the picture drifts a little with it */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 110px; overflow: hidden; background: #140b08; color: var(--cream); }
.hero .pic { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.hero .pic img { object-position: 62% 50%; }
.hero .pic::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(14, 7, 5, .66) 0%, rgba(14, 7, 5, .38) 38%, rgba(14, 7, 5, 0) 62%); }
.hero .wrap { position: relative; z-index: 2; transform: translate3d(var(--tx, 0), var(--ty, 0), 0); }
.eyebrow { margin: 0 0 clamp(22px, 2vw, 30px); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink2); }
.hero .eyebrow { color: rgba(251, 243, 232, .78); }
.hero h1 { font-size: clamp(54px, 9.4vw, 136px); line-height: .95; max-width: 11ch; color: var(--cream); }
.hero h1 em { color: #eea58f; }
.lead { max-width: 54ch; color: var(--ink2); font-size: clamp(16px, 1.4vw, 19px); margin: 28px 0 0; }
.hero .lead { color: rgba(251, 243, 232, .84); max-width: 48ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn.light { background: var(--cream); color: var(--ink); }
.btn.light:hover { background: #fff; }
.btn.ghost.light { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(251, 243, 232, .5); }
.btn.ghost.light:hover { background: rgba(251, 243, 232, .1); }
.cap { position: absolute; z-index: 2; left: var(--gut); bottom: 28px; margin: 0; font-size: 12px; letter-spacing: .08em; color: rgba(251, 243, 232, .6); }
.scroll { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: rgba(251, 243, 232, .75); }
.scroll::after { content: ''; display: block; width: 1px; height: 34px; margin: 10px auto 0; background: linear-gradient(rgba(251, 243, 232, .75), transparent); animation: drop 2.2s ease-in-out infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
/* the header reads light over the dark hero until you scroll */
.top:not(.solid) .mark b { color: var(--cream); }
.top:not(.solid) .mark span { color: #eea58f; }
.top:not(.solid) nav a { color: rgba(251, 243, 232, .82); }
.top:not(.solid) nav a:hover { color: #fff; }
.top:not(.solid) .btn.small { background: var(--cream); color: var(--ink); }
@media (max-width: 760px) { .hero .pic::before { background: linear-gradient(180deg, rgba(14, 7, 5, .2) 0%, rgba(14, 7, 5, .62) 45%, rgba(14, 7, 5, .7) 100%); } .cap { display: none; } }

/* the 3D arrival from the studio: the page waits under the canvas; the bits the canvas doesn't draw come in after */
body.intro #birdbox { z-index: 70; }
body.intro .scroll, body.intro .cap, body.intro .tw-bar { opacity: 0; }
.scroll, .cap, .tw-bar { transition: opacity .8s ease .2s; }

section { padding: clamp(80px, 12vw, 160px) 0; }
h2 { font-size: clamp(40px, 6vw, 78px); line-height: 1.02; }

/* studio */
.studio { background: var(--paper); }
.prose p { margin: 0 0 18px; color: var(--ink2); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.stats div { margin: 0; }
.stats dt { font: italic 400 clamp(38px, 4.4vw, 56px)/1 var(--serif); color: var(--coral); }
.stats dd { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink2); }

/* work: each project full-bleed, with the same torch and drift as the hero */
.work { padding-bottom: 0; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 6vw, 72px); flex-wrap: wrap; }
.head p { max-width: 38ch; color: var(--ink2); margin: 0; }
/* each project its own block: a near-full-screen card inset from the page, with a gap of paper between them, so two dark rooms never run together */
.panels { display: grid; gap: clamp(14px, 2vw, 28px); padding: 0 clamp(10px, 1.6vw, 24px) clamp(14px, 2vw, 28px); }
.panel { position: relative; height: calc(100vh - clamp(28px, 4vw, 56px)); height: calc(100svh - clamp(28px, 4vw, 56px)); min-height: 540px; overflow: hidden; background: #140b08; color: var(--cream);
  display: flex; align-items: flex-end; border-radius: clamp(16px, 2vw, 28px); box-shadow: 0 30px 60px -30px rgba(43, 23, 18, .45), inset 0 0 0 1px rgba(255, 240, 220, .06); isolation: isolate; }
.panel .pic { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.panel .pic::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(14, 7, 5, .8) 0%, rgba(14, 7, 5, .3) 34%, rgba(14, 7, 5, 0) 58%), linear-gradient(180deg, rgba(14, 7, 5, .5) 0%, rgba(14, 7, 5, 0) 22%); }
.panel .no { position: absolute; z-index: 2; top: clamp(18px, 3vw, 36px); left: var(--gut); display: flex; gap: 14px; align-items: center; font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(251, 243, 232, .78); }
.panel .no b { font: italic 400 clamp(30px, 3.4vw, 46px)/1 var(--serif); letter-spacing: 0; color: var(--cream); }
.panel .no::after { content: ''; width: clamp(40px, 6vw, 90px); height: 1px; background: rgba(251, 243, 232, .4); }
.panel .meta { position: relative; z-index: 2; padding-top: 0; padding-bottom: clamp(40px, 9vh, 96px); transform: translate3d(var(--tx, 0), var(--ty, 0), 0); }
.panel .meta h3 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.04; color: var(--cream); }
.panel .where { color: #eea58f; margin: 10px 0 12px; }
.panel .meta p:last-child { margin: 0; max-width: 46ch; color: rgba(251, 243, 232, .82); }
.pic { position: relative; overflow: hidden; background: #1b0f0b; }
.pic img { position: absolute; left: -4%; top: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; transform: translate3d(var(--px, 0), var(--py, 0), 0); will-change: transform; }
/* a torch over the picture: everything outside your beam sinks into the dark */
.pic.torch { --r: clamp(260px, 26vw, 480px); --c1: rgba(14, 7, 5, .2); --c2: rgba(14, 7, 5, .48); --c3: rgba(14, 7, 5, .64); }
.hero .pic.torch { --r: clamp(280px, 30vw, 580px); --c1: rgba(14, 7, 5, .16); --c2: rgba(14, 7, 5, .4); --c3: rgba(14, 7, 5, .55); }
.pic.torch::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle var(--r, 300px) at var(--x, 60%) var(--y, 50%), rgba(255, 232, 200, .14), rgba(255, 232, 200, 0) 36%, var(--c1) 58%, var(--c2) 79%, var(--c3) 100%); }
.meta { padding-top: 18px; }
.meta h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.where { margin: 6px 0 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.meta p:last-child { margin: 0; color: var(--ink2); }

/* process */
.process { background: linear-gradient(var(--cream), var(--sand)); }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 40px); counter-reset: s; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { padding-top: 22px; border-top: 1px solid rgba(43, 23, 18, .22); }
.steps svg { width: 44px; height: 44px; fill: none; stroke: var(--coral); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.steps b { display: block; font: italic 400 26px/1.1 var(--serif); margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink2); font-size: 15px; }

/* lamps */
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px); }
@media (max-width: 760px) { .shelf { grid-template-columns: 1fr; max-width: 420px; } }
.lamp { margin: 0; }
.glow { position: relative; border-radius: 6px; overflow: hidden; background: #ece3d8; }
.glow::before { content: ''; position: absolute; inset: 0; background: radial-gradient(45% 35% at 50% 55%, rgba(255, 196, 120, .55), transparent 70%); opacity: 0; transition: opacity .6s; mix-blend-mode: soft-light; }
.lamp:hover .glow::before { opacity: 1; }
.lamp img { transition: transform 1s cubic-bezier(.2, .7, .2, 1), filter .6s; }
.lamp:hover img { transform: scale(1.03); filter: brightness(1.05) saturate(1.05); }
.lamp figcaption { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding-top: 14px; }
.lamp b { font: italic 400 30px/1.1 var(--serif); }
.lamp span { grid-column: 1; font-size: 13px; color: var(--ink2); }
.lamp i { grid-column: 2; grid-row: 1; align-self: center; font-style: normal; font-weight: 600; font-size: 14px; }

/* booking */
.book { background: var(--paper); }
.form { display: grid; gap: 18px; background: var(--cream); padding: clamp(22px, 3vw, 36px); border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink2); }
.form input:not([type=radio]), .form textarea { font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid rgba(43, 23, 18, .18); border-radius: 6px; padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(217, 119, 94, .18); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-size: 13px; font-weight: 500; color: var(--ink2); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { padding: 9px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(43, 23, 18, .22); font-size: 14px; color: var(--ink); transition: background .2s, color .2s, box-shadow .2s; }
.chips input:checked + span { background: var(--ink); color: var(--cream); box-shadow: none; }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(217, 119, 94, .35); }
.form .btn { justify-self: start; }
.done { margin: 0; padding: 12px 14px; border-radius: 6px; background: rgba(217, 119, 94, .12); color: var(--ink); }

/* footer */
.foot { background: var(--ink); color: #f3e6d8; padding: clamp(60px, 9vw, 110px) 0 40px; }
.foot .big { margin: 0 0 30px; font: 400 clamp(80px, 16vw, 210px)/1 var(--deva); color: var(--pink); }
.foot .cols { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 30px; font-size: 14px; line-height: 1.8; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr; } }
.foot .cols p { margin: 0; }
.foot a { color: #f3e6d8; text-decoration: none; border-bottom: 1px solid rgba(243, 230, 216, .3); }
.foot a:hover { border-color: #f3e6d8; }
.credits { color: rgba(243, 230, 216, .65); font-size: 12px; line-height: 1.7; }
.fine { margin: 46px 0 0; font-size: 12px; color: rgba(243, 230, 216, .5); }
@media (max-width: 760px) { .eyebrow { margin-bottom: 70px; } .hero { padding-top: 96px; align-items: flex-end; } }
@media (hover: none) { .hov { display: none; } }
