/* Style Studio (founder 26 Nov 2026: "irukkura ella styleyum experience panni pakkura mathiri ui"). Every caption look of
 the panel, drawn from the panel's own look data (exported from presets.ts), on the visitor's own words. Speed: a
 look's fonts load only when its tile comes near the screen; only the big preview and the hovered tile move. */
:root { --bg: #06110b; --bg-alt: #0b1a11; --card: #0e1f15; --raised: #13291c; --text: #eaf5ec; --dim: #b7c9bc; --faint: #8fa798;
--border: #1d3a28; --accent: #1eb907; --accent-hover: #2bd010; --ink: #04230f; --warm: #ffb547; --warm-ink: #2a1800;
--display: "Bricolage Grotesque", Manrope, system-ui, sans-serif; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 Manrope, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.nav { position: sticky; top: 0; z-index: 30; background: rgba(6,17,11,.94); border-bottom: 1px solid rgba(255,255,255,.06); padding-top: env(safe-area-inset-top, 0px); }
.nav .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; font: 800 18px var(--display); text-decoration: none; }
.logo img { width: 26px; height: 26px; }
.logo b { color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; font: 800 15px Manrope, sans-serif; text-decoration: none; border: 0; cursor: pointer; }
.btn.primary { background: var(--accent); color: var(--ink); }
.btn.primary:hover { background: var(--accent-hover); }
.btn.ghost { color: var(--text); border: 1px solid var(--border); background: transparent; }
.nav .btn { margin-left: auto; min-height: 38px; font-size: 14px; }
h1 { font: 800 clamp(30px, 4.6vw, 50px)/1.05 var(--display); letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 span { color: var(--warm); }
.lead { color: var(--dim); max-width: 60ch; margin: 10px 0 0; }
.head { padding-block: 34px 18px; }

/* studio: preview on the left (sticky), gallery on the right */
.studio { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; padding-bottom: 60px; }
.side { position: sticky; top: 76px; display: grid; gap: 14px; }
.phone { container-type: size; position: relative; aspect-ratio: 9/16; width: 100%; max-width: 380px; border-radius: 28px; overflow: hidden; border: 7px solid #0b0f0d; box-shadow: 0 30px 70px -30px #000, 0 0 0 1px rgba(255,181,71,.2); background: #000 url(../founder-tall.webp) center bottom / cover no-repeat; }
.phone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.5)); pointer-events: none; }
/* captions keep clear of the app buttons on the right, as a reel safe zone does (founder 29 Nov 2026: alignment matters) */
#big { position: absolute; inset: 0 15cqw 0 3cqw; z-index: 2; }
.phone .ui { position: absolute; z-index: 1; right: 3cqw; bottom: 11cqh; display: grid; gap: 2.4cqh; color: #fff; font: 700 3cqw Manrope, sans-serif; text-align: center; opacity: .85; }
.phone .ui i { display: block; width: 5.5cqw; height: 5.5cqw; border-radius: 50%; background: rgba(255,255,255,.85); margin: 0 auto 1cqh; }
.phone .handle { position: absolute; z-index: 3; left: 4cqw; bottom: 4cqh; color: #fff; font: 700 3.2cqw Manrope, sans-serif; opacity: .85; }
.picked { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.picked b { font: 800 20px var(--display); }
.picked small { color: var(--dim); display: block; font-size: 13px; line-height: 1.4; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.field { width: 100%; min-height: 46px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); color: var(--text); font: 600 15px Manrope, sans-serif; padding: 0 14px; }
.field:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.chip { font: 700 13px Manrope, sans-serif; color: var(--dim); background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 7px 12px; cursor: pointer; min-height: 36px; }
.chip.on { background: var(--warm); color: var(--warm-ink); border-color: var(--warm); }
.chip .ta { font-family: "Noto Sans Tamil", Manrope, sans-serif; }
select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.label { font: 800 11px Manrope, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--warm); margin: 2px 0 6px; }
.use { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.toast { font-size: 13px; color: #7cf27f; min-height: 18px; }

.cats { position: sticky; top: 60px; z-index: 20; background: rgba(6,17,11,.94); padding: 10px 0; margin-bottom: 8px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats .chip { white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.tile { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 8px; cursor: pointer; text-align: left; color: inherit; font: inherit; display: flex; flex-direction: column; gap: 8px; min-width: 0; transition: border-color .2s ease, transform .2s ease; }
.tile:hover { border-color: #2f5a3f; transform: translateY(-2px); }
.tile.on { border-color: var(--warm); box-shadow: 0 0 0 1px var(--warm); }
.mini { container-type: size; position: relative; aspect-ratio: 9/12; border-radius: 10px; overflow: hidden; background: linear-gradient(180deg, #2b3a31, #0c1410); }
.tile b { font-size: 14px; padding: 0 4px; }
.tile small { color: var(--faint); font-size: 11.5px; line-height: 1.35; padding: 0 4px 4px; display: block; }
.tag { display: inline-block; font: 800 9.5px Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--warm-ink); background: var(--warm); border-radius: 4px; padding: 1px 5px; margin-left: 6px; vertical-align: 2px; }

/* a caption: lines stacked; sizes in container units of the frame they sit in */
.cap { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); width: max-content; max-width: 90%; display: flex; flex-direction: column; }
.cap .ln { display: block; white-space: nowrap; line-height: 1.12; }
.cap .w { display: inline-block; white-space: pre; }
.cap.al-left { left: 7%; transform: none; align-items: flex-start; } .cap.al-right { left: auto; right: 7%; transform: none; align-items: flex-end; }
.cap.al-center { align-items: center; text-align: center; }
.cap.in-left { align-items: flex-start; text-align: left; } .cap.in-right { align-items: flex-end; text-align: right; }
.go { animation-fill-mode: both; animation-timing-function: linear; }
.hidden { opacity: 0; }
.sticky-cta { display: none; }
footer { padding-block: 26px 40px; color: var(--faint); font-size: 13px; border-top: 1px solid rgba(255,255,255,.06); }
@media (max-width: 900px) {
.studio { grid-template-columns: minmax(0, 1fr); } .studio > * { min-width: 0; }
.side { position: static; }
.phone { max-width: 300px; margin: 0 auto; }
.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sticky-cta { display: flex; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); background: rgba(6,17,11,.95); border-top: 1px solid rgba(255,255,255,.08); }
.sticky-cta .btn { width: 100%; }
footer { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) { .go { animation: none !important; } .hidden { opacity: 1; } }
/* Apple look in the site colours (founder 29 Nov 2026: "athiga white, main greens, remaining black"): white page, green
   buttons and highlights, black text; the phone preview and the look tiles stay dark so captions read as on a video */
:root { --bg: #fff; --bg-alt: #f5f7f5; --card: #f2f4f2; --raised: #e6e9e6; --text: #0b0b0c; --dim: #3d433f; --faint: #5b625d;
--border: rgba(0,0,0,.09); --accent: #1eb907; --accent-hover: #2bd010; --ink: #04230f; --warm: #1eb907; --warm-ink: #04230f; --display: Geist, Inter, system-ui, sans-serif; color-scheme: light; }
body { font-family: Geist, Inter, system-ui, sans-serif; font-size: 17px; }
.nav { background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom-color: rgba(0,0,0,.08); }
.nav .wrap { height: 52px; }
.logo { font: 600 19px var(--display); letter-spacing: -.02em; } .logo img { width: 22px; height: 22px; } .logo b { color: inherit; font-weight: 600; }
.btn { font: 600 15px Geist, sans-serif; }
.nav .btn { min-height: 30px; font-size: 13px; padding: 0 14px; }
.btn.ghost { color: var(--text); border-color: rgba(0,0,0,.18); }
.head { padding-block: clamp(60px, 8vw, 100px) 30px; text-align: center; }
h1 { font: 700 clamp(40px, 6.4vw, 80px)/1 Geist, sans-serif; letter-spacing: -.05em; background: linear-gradient(180deg, #0b0b0c, #4b524d); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 span { display: block; background: linear-gradient(180deg, #1eb907, #0f6e00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 18px auto 0; color: var(--faint); font-size: clamp(17px, 1.8vw, 21px); font-weight: 500; max-width: 46ch; }
.phone { border-color: #0b0b0c; box-shadow: 0 40px 80px -30px rgba(0,0,0,.45); border-radius: 36px; }
.picked b { font: 600 22px var(--display); letter-spacing: -.02em; }
.label { color: #128a00; font: 600 12px Geist, sans-serif; letter-spacing: .06em; }
.field { border: 1px solid rgba(0,0,0,.14); background: #fff; color: var(--text); font: 500 15px Geist, sans-serif; }
.field:focus { outline-color: var(--accent); }
.chip { font: 500 13px Geist, sans-serif; background: var(--card); color: var(--dim); border-color: transparent; }
.chip.on { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.cats { background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); top: 52px; }
.tile { background: var(--card); border-color: transparent; border-radius: 18px; }
.tile:hover { border-color: transparent; background: #ebeeeb; transform: none; }
.tile.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.tile b { font-weight: 600; }
.mini { border-radius: 12px; background: linear-gradient(180deg, #2a2e2c, #0b0b0c); }
.tag { background: var(--text); color: #fff; font: 600 9.5px Geist, sans-serif; }
.toast { color: #128a00; }
.side { top: 68px; }
@media (min-width: 901px) { .studio { grid-template-columns: 380px minmax(0, 1fr); } .studio > * { min-width: 0; } }
footer { background: #0b0b0c; color: #9ba39e; border-top: 0; font-size: 12.5px; }
footer a:hover { color: #fff; }
@media (max-width: 900px) { .sticky-cta { background: rgba(255,255,255,.88); border-top-color: rgba(0,0,0,.08); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); } }

.picked .pk{flex:1;min-width:0}.row.mt8{margin-top:8px}
.logo img { width: auto !important; height: 40px !important; }
.nav .wrap { height: 64px; }
.cats { top: 64px; } .side { top: 80px; }
