/* Devroniq Studio — portfolio styles */
:root {
  --plum: #291B30; --plum-2: #3A2843; --coral: #FF704F; --coral-d: #E5502E; --lilac: #CABAF7; --cream: #F6EEDF; --paper: #FBF6EC; --ink-2: #5F5064; --line: rgba(41,27,48,.14);
  --sans: "Instrument Sans", system-ui, sans-serif; --serif: "Instrument Serif", Georgia, serif;
  --pad: clamp(16px, 4vw, 64px); --max: 1560px;
  --ease: cubic-bezier(.2,.7,.1,1);
  --bg: var(--cream); --ink: var(--plum); --accent: var(--coral);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--plum); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--coral); color: var(--plum); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: .95; }
em, .it { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--plum); color: var(--cream); border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 500 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.label { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border: 1px solid currentColor; border-radius: 99px; font: 500 12px/1 var(--sans); letter-spacing: .02em; white-space: nowrap; }
.label.solid { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.labels { display: flex; flex-wrap: wrap; gap: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 99px; background: var(--plum); color: var(--cream); font: 600 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .3s var(--ease), color .3s, transform .3s var(--ease); }
.btn:hover { background: var(--coral); color: var(--plum); }
.btn .arr { display: inline-block; width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px); }
.btn.coral { background: var(--coral); color: var(--plum); }
.btn.coral:hover { background: var(--plum); color: var(--cream); }
.btn.line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.line:hover { background: var(--plum); color: var(--cream); box-shadow: none; }
.btn.big { min-height: 64px; padding: 0 34px; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; transition: background-size .35s var(--ease); }
.tlink:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* header */
.site-head { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; gap: 28px; padding: 16px var(--pad); transition: background .35s, box-shadow .35s, color .35s, transform .4s var(--ease); }
.site-head.solid { background: rgba(246,238,223,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-head.hide { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; }
.brand small { font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .65; margin-left: 2px; }
.nav { display: flex; gap: 30px; }
.nav a { position: relative; font-weight: 500; font-size: 15px; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px; background: var(--coral); transition: right .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.head-cta { min-height: 44px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border: 0; border-radius: 99px; background: var(--plum); color: var(--cream); font-weight: 600; font-size: 14px; cursor: pointer; }
.menu-btn i { position: relative; width: 16px; height: 10px; border-top: 1.5px solid; border-bottom: 1.5px solid; transition: transform .3s; }
.menu-btn[aria-expanded="true"] i { transform: rotate(90deg); }
.menu { position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column; padding: 100px var(--pad) 28px; background: var(--plum); color: var(--cream); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { padding: 6px 0; font: 400 clamp(46px, 12vw, 80px)/1.02 var(--serif); font-style: italic; text-decoration: none; border-bottom: 1px solid rgba(246,238,223,.12); }
.menu nav a span { font: 500 12px var(--sans); font-style: normal; letter-spacing: .14em; color: var(--coral); vertical-align: top; margin-right: 12px; }
.menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.menu-foot a { color: var(--lilac); }
body.menu-open .site-head { color: var(--cream); background: transparent; box-shadow: none; }
body.menu-open .menu-btn { background: var(--coral); color: var(--plum); }

/* hero */
.hero { position: relative; padding: 100px 0 clamp(40px, 6vw, 90px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; }
.hero-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; padding-bottom: clamp(18px, 2.4vw, 34px); font-size: 14px; color: var(--ink-2); }
.hero h1 { grid-column: 1 / -1; font-size: clamp(54px, 10vw, 184px); line-height: .86; letter-spacing: -.055em; font-weight: 600; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.hero h1 .ln > span { display: inline-block; transform: translateY(102%); animation: up 1.15s var(--ease) forwards; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .09s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: .18s; }
.hero h1 em { color: var(--coral); letter-spacing: -.035em; padding-right: .06em; }
@keyframes up { to { transform: none; } }
.hero-side { grid-column: 1 / 5; display: flex; flex-direction: column; gap: 26px; padding-top: clamp(26px, 3vw, 46px); }
.hero-side p { margin: 0; max-width: 400px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.reel { grid-column: 6 / -1; position: relative; margin-top: clamp(-190px, -9.6vw, -40px); padding-left: clamp(40px, 5vw, 90px); }
.reel-stage { position: relative; }
.reel-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.reel-caption a { text-decoration: none; }
.reel-caption strong { display: block; font-size: 20px; letter-spacing: -.02em; }
.reel-caption span { font-size: 14px; color: var(--ink-2); }
.ticks { display: flex; gap: 6px; }
.ticks button { position: relative; width: 44px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
.ticks button::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 2px; border-radius: 2px; background: var(--line); }
.ticks button::after { content: ""; position: absolute; left: 0; top: 14px; height: 2px; width: 0; border-radius: 2px; background: var(--plum); }
.ticks button[aria-current="true"]::after { width: 100%; transition: width var(--dur, 5s) linear; }
.ticks.paused button[aria-current="true"]::after { transition: none; width: 100%; }

/* frames: real captures inside a minimal browser / phone outline */
.browser { position: relative; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 1px 0 rgba(41,27,48,.08), 0 40px 80px -30px rgba(41,27,48,.35); }
.browser::before { content: attr(data-url); display: flex; align-items: center; height: 34px; padding: 0 14px 0 64px; background: #EFE7D9 no-repeat 14px 50% / 38px 10px; background-image: radial-gradient(circle at 5px 5px, #D9CFBF 4px, transparent 4.5px), radial-gradient(circle at 19px 5px, #D9CFBF 4px, transparent 4.5px), radial-gradient(circle at 33px 5px, #D9CFBF 4px, transparent 4.5px); color: #8C7F70; font: 500 12px var(--sans); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser.dark::before { background-color: #1E1E22; color: #8E8E98; background-image: radial-gradient(circle at 5px 5px, #3A3A40 4px, transparent 4.5px), radial-gradient(circle at 19px 5px, #3A3A40 4px, transparent 4.5px), radial-gradient(circle at 33px 5px, #3A3A40 4px, transparent 4.5px); }
.browser .scr { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #eee; }
.browser .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone { position: relative; width: 100%; padding: 7px; border-radius: 38px; background: #151116; box-shadow: 0 40px 70px -24px rgba(41,27,48,.5); }
.phone .scr { aspect-ratio: 9 / 19.5; border-radius: 31px; overflow: hidden; background: #000; }
.phone .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.reel .browser .scr img, .reel .phone .scr img { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.reel .phone .scr { position: relative; }
.reel .scr img.on { opacity: 1; transform: none; }
.reel .phone { position: absolute; left: 0; bottom: -40px; width: clamp(110px, 15%, 200px); }

/* marquee */
.marquee { overflow: hidden; padding: 22px 0; background: var(--plum); color: var(--cream); white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 0; animation: slide 46s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 400 clamp(26px, 3.2vw, 46px)/1 var(--serif); font-style: italic; }
.marquee span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
@keyframes slide { to { transform: translateX(-50%); } }

/* statement */
.statement { padding: clamp(80px, 12vw, 190px) 0 clamp(60px, 8vw, 120px); }
.statement p.big { max-width: 1280px; margin: 0; font-size: clamp(32px, 4.6vw, 74px); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; }
.statement p.big em { color: var(--coral-d); }
.statement p.big .soft { color: #9A8C99; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 70px); padding-top: 22px; border-top: 1px solid var(--line); }
.facts div { font-size: 15px; color: var(--ink-2); }
.facts strong { display: block; margin-bottom: 4px; color: var(--plum); font-size: 17px; }

/* work index */
.index { padding-bottom: clamp(60px, 8vw, 120px); }
.index-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.index-head h2 { font-size: clamp(44px, 6vw, 96px); }
.index ol { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--plum); }
.index li a { display: grid; grid-template-columns: 70px 1.2fr 1fr 1fr auto; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .4s var(--ease), color .3s; }
.index li a:hover { padding-left: 18px; color: var(--coral-d); }
.index .n { font: 500 13px var(--sans); letter-spacing: .1em; }
.index .t { font-size: clamp(30px, 3.4vw, 54px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.index .d { font-size: 15px; color: var(--ink-2); }
.peek { position: fixed; z-index: 90; top: 0; left: 0; width: 320px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .25s, transform .35s var(--ease); box-shadow: 0 30px 60px -20px rgba(41,27,48,.5); }
.peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.peek img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* showcases: the stage tints the page to each project's palette as it scrolls */
.stage { transition: background-color .9s var(--ease), color .9s var(--ease); }
.show { position: relative; padding: clamp(80px, 10vw, 160px) 0; background: var(--sbg); color: var(--sink); }
.js .stage .show { background: transparent; color: inherit; }
.show-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 22px; font-size: 14px; }
.show-meta .num { font: 500 13px var(--sans); letter-spacing: .14em; }
.show h2 { font-size: clamp(64px, 11vw, 210px); line-height: .82; letter-spacing: -.06em; }
.show h2 em { color: var(--saccent); }
.show .lede { margin: 22px 0 0; max-width: 520px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; }
.show .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.show .btn.big { background: var(--saccent); color: var(--sbg); }
.show .btn.big:hover { background: var(--sink); color: var(--sbg); }
.feat { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; max-width: 520px; }
.feat li { display: grid; grid-template-columns: 34px 1fr; padding: 11px 0; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-size: 15.5px; }
.feat li::before { content: counter(f, decimal-leading-zero); counter-increment: f; font-size: 12px; letter-spacing: .08em; opacity: .6; padding-top: 3px; }
.feat { counter-reset: f; }

/* 01 Vaune: sticky copy + scroll-linked full page */
.s-vaune .grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.s-vaune .copy { position: sticky; top: 110px; }
.s-vaune .screens { position: relative; padding-bottom: 60px; }
.s-vaune .browser .scr.tall { aspect-ratio: 16 / 11; }
.s-vaune .scroller img { height: auto; object-fit: initial; will-change: transform; }
.s-vaune .phone { position: absolute; right: -24px; bottom: 0; width: clamp(130px, 22%, 230px); }

/* 02 MARGE */
.s-marge .top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.s-marge .real { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 99px; background: var(--saccent); color: #111; font-weight: 600; font-size: 13px; }
.s-marge .phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 28px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.s-marge .phones figure { margin: 0; }
.s-marge .phones figure:nth-child(2) { margin-top: 70px; } .s-marge .phones figure:nth-child(3) { margin-top: 30px; } .s-marge .phones figure:nth-child(4) { margin-top: 100px; }
.s-marge figcaption { margin-top: 12px; font-size: 13.5px; opacity: .75; }
.s-marge .phone { background: #2A2A2A; box-shadow: 0 40px 70px -24px rgba(0,0,0,.7); }
.s-marge .bottom { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); margin-top: clamp(50px, 6vw, 90px); align-items: end; }
.s-marge .note { font-size: 13.5px; opacity: .7; max-width: 520px; }

/* 03 Tidemark: a live, embedded dashboard */
.s-tide .grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(30px, 4vw, 70px); align-items: center; }
.live { position: relative; }
.live .browser .scr { aspect-ratio: 16 / 10.5; background: #0D1311; }
.live iframe { position: absolute; inset: 0; width: 125%; height: 125%; border: 0; transform: scale(.8); transform-origin: 0 0; background: #0D1311; }
.live .cover { position: absolute; inset: 34px 0 0; display: flex; align-items: flex-end; justify-content: center; padding: 18px; background: linear-gradient(transparent 60%, rgba(13,19,17,.65)); border: 0; cursor: pointer; color: #fff; font-weight: 600; }
.live .cover span { padding: 10px 18px; border-radius: 99px; background: var(--saccent); color: #0D1311; }
.live.active .cover { display: none; }
.live .phone { position: absolute; right: -18px; bottom: -50px; width: clamp(110px, 17%, 190px); }

/* 04 Lumen & Loam */
.s-store .grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.s-store .pair { position: relative; padding-bottom: 50px; }
.s-store .phone { position: absolute; right: 6%; bottom: 0; width: clamp(130px, 28%, 250px); transform: rotate(2.5deg); }
.s-store .browser { width: 86%; }
.s-store h2 { font-size: clamp(60px, 8.4vw, 160px); }

/* 05 Switchyard */
.s-crm .fan { position: relative; height: clamp(360px, 46vw, 720px); margin-top: clamp(40px, 5vw, 70px); }
.s-crm .fan .browser { position: absolute; width: 62%; }
.s-crm .fan .b1 { left: 0; top: 0; }
.s-crm .fan .b2 { right: 0; top: 18%; }
.s-crm .fan .phone { position: absolute; left: 50%; bottom: -10px; width: clamp(110px, 15%, 200px); transform: translateX(-50%); }
.s-crm .head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: end; }

/* services */
.services { padding: clamp(90px, 11vw, 170px) 0; background: var(--plum); color: var(--cream); }
.services .head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: end; margin-bottom: clamp(36px, 5vw, 70px); }
.services h2 { font-size: clamp(48px, 7vw, 120px); }
.services h2 em { color: var(--lilac); }
.services .head p { margin: 0; max-width: 520px; color: rgba(246,238,223,.75); }
.svc { border-top: 1px solid rgba(246,238,223,.2); }
.svc details { border-bottom: 1px solid rgba(246,238,223,.2); }
.svc summary { display: grid; grid-template-columns: 60px 1.4fr 1fr 40px; align-items: center; gap: 20px; padding: 26px 0; list-style: none; cursor: pointer; transition: color .3s; }
.svc summary::-webkit-details-marker { display: none; }
.svc summary:hover { color: var(--coral); }
.svc .n { font-size: 13px; letter-spacing: .1em; color: rgba(246,238,223,.55); }
.svc .o { font-size: clamp(26px, 3.1vw, 50px); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; }
.svc .w { font-size: 15px; color: rgba(246,238,223,.7); }
.svc .pm { position: relative; width: 26px; height: 26px; justify-self: end; }
.svc .pm::before, .svc .pm::after { content: ""; position: absolute; left: 4px; right: 4px; top: 12px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.svc .pm::after { transform: rotate(90deg); }
.svc details[open] .pm::after { transform: rotate(0); }
.svc .body { display: grid; grid-template-columns: 60px 1.4fr 1fr 40px; gap: 20px; padding: 0 0 30px; }
.svc .body p { grid-column: 2; margin: 0; max-width: 560px; color: rgba(246,238,223,.85); }
.svc .body .tech { grid-column: 3; font-size: 13.5px; color: rgba(246,238,223,.55); }
.svc .body .tech b { display: block; margin-bottom: 4px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.services .fine { margin-top: 26px; font-size: 13.5px; color: rgba(246,238,223,.55); }

/* approach */
.approach { padding: clamp(90px, 11vw, 170px) 0; }
.approach h2 { font-size: clamp(44px, 6vw, 96px); max-width: 900px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: clamp(40px, 5vw, 70px) 0 0; padding: 0; counter-reset: s; }
.steps li { padding-top: 18px; border-top: 1.5px solid var(--plum); }
.steps li::before { counter-increment: s; content: "0" counter(s); font: 400 44px/1 var(--serif); font-style: italic; color: var(--coral-d); }
.steps h3 { margin: 16px 0 8px; font-size: 26px; letter-spacing: -.03em; }
.steps p { margin: 0; font-size: 15.5px; color: var(--ink-2); }

/* contact */
.contact { position: relative; padding: clamp(90px, 11vw, 170px) 0 clamp(60px, 7vw, 100px); background: var(--coral); color: var(--plum); overflow: hidden; }
.contact h2 { font-size: clamp(56px, 10.4vw, 200px); line-height: .84; letter-spacing: -.06em; }
.contact h2 em { display: block; color: var(--cream); }
.contact .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.direct { display: flex; flex-direction: column; gap: 12px; }
.direct .mail { font-size: clamp(24px, 3vw, 44px); font-weight: 600; letter-spacing: -.03em; text-decoration: none; word-break: break-all; }
.direct .mail:hover { color: var(--cream); }
.direct p { margin: 0; max-width: 440px; }
.direct .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.contact .btn.line:hover { background: var(--plum); color: var(--coral); }
.brief { padding: clamp(20px, 2.6vw, 34px); border-radius: 20px; background: var(--cream); }
.brief h3 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 4px; }
.brief > p { margin: 0 0 18px; font-size: 14.5px; color: var(--ink-2); }
.brief fieldset { border: 0; margin: 0 0 16px; padding: 0; }
.brief legend { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; }
.pills span { display: inline-flex; height: 36px; align-items: center; padding: 0 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; cursor: pointer; transition: background .2s; }
.pills input:checked + span { background: var(--plum); color: var(--cream); box-shadow: none; }
.pills input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.brief label.f { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.brief textarea, .brief input[type=text] { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font: 400 16px var(--sans); color: var(--plum); resize: vertical; }
.brief .small { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }

/* footer */
.foot { padding: clamp(60px, 7vw, 100px) 0 30px; background: var(--cream); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; align-items: start; }
.foot-logo { width: clamp(150px, 15vw, 210px); }
.foot h4 { margin-bottom: 12px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--coral-d); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }

/* case study pages */
.case-hero { padding: 130px 0 clamp(50px, 6vw, 90px); background: var(--sbg); color: var(--sink); }
.crumbs { display: flex; gap: 10px; margin-bottom: 30px; font-size: 14px; opacity: .8; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.case-hero h1 { font-size: clamp(70px, 13vw, 250px); line-height: .82; letter-spacing: -.065em; }
.case-hero h1 em { color: var(--saccent); }
.case-hero .sub { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 5vw, 80px); margin-top: clamp(30px, 4vw, 50px); align-items: end; }
.case-hero .sub p { margin: 0; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.3; letter-spacing: -.015em; }
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 0; }
.meta dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.meta dd { margin: 4px 0 0; font-size: 15px; }
.case-hero .acts { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 36px; }
.case-hero .btn.big { background: var(--saccent); color: var(--sbg); }
.case-hero .btn.big:hover { background: var(--sink); }
.case-preview { position: relative; padding: 0 0 clamp(70px, 8vw, 120px); background: linear-gradient(var(--sbg) 50%, var(--cream) 50%); }
.case-preview .pair { position: relative; padding-right: clamp(60px, 12vw, 200px); }
.case-preview .phone { position: absolute; right: 0; bottom: -40px; width: clamp(120px, 18vw, 260px); }
.chapter { padding: clamp(60px, 8vw, 120px) 0; border-top: 1px solid var(--line); }
.chapter:first-of-type { border-top: 0; }
.chapter .g { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 5vw, 80px); }
.chapter h2 { font-size: clamp(36px, 4.4vw, 70px); }
.chapter .body { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; }
.chapter .body p { margin: 0 0 1em; max-width: 760px; }
.chapter .body p.lead { font-size: clamp(22px, 2.1vw, 32px); line-height: 1.25; letter-spacing: -.02em; }
.flist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; counter-reset: f; }
.flist li { padding: 18px 0; border-top: 1px solid var(--line); font-size: 16px; }
.flist li strong { display: block; margin-bottom: 4px; font-size: 19px; letter-spacing: -.02em; }
.flist li::before { counter-increment: f; content: counter(f, decimal-leading-zero); display: block; margin-bottom: 8px; font-size: 12px; letter-spacing: .1em; color: var(--coral-d); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 2vw, 28px); align-items: start; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.try { padding: clamp(60px, 8vw, 120px) 0; background: var(--sbg); color: var(--sink); }
.try .live .browser .scr { aspect-ratio: 16 / 10; }
.try .live iframe { width: 100%; height: 100%; transform: none; }
.try-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.try-head h2 { font-size: clamp(40px, 5vw, 80px); }
.honest { padding: 22px 24px; border-radius: 16px; background: var(--paper); font-size: 15px; }
.honest strong { display: block; margin-bottom: 4px; }
.tech { font-size: 15px; color: var(--ink-2); }
.tech ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.tech li { padding: 4px 11px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; }
.next { display: block; padding: clamp(60px, 8vw, 120px) 0; background: var(--plum); color: var(--cream); text-decoration: none; }
.next small { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--lilac); }
.next strong { display: block; margin-top: 10px; font-size: clamp(54px, 9vw, 170px); line-height: .85; letter-spacing: -.06em; font-weight: 600; transition: color .3s; }
.next:hover strong { color: var(--coral); }

/* MARGE walkthrough */
.walk { display: grid; grid-template-columns: 5fr 4fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.walk-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.walk-steps button { display: grid; grid-template-columns: 44px 1fr; gap: 6px 10px; width: 100%; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; color: var(--ink-2); transition: color .25s, padding .35s var(--ease); }
.walk-steps button span { font-size: 12px; letter-spacing: .1em; padding-top: 6px; }
.walk-steps button strong { font-size: clamp(22px, 2.2vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: inherit; }
.walk-steps button p { grid-column: 2; margin: 0; font-size: 15.5px; max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.walk-steps button[aria-selected="true"] { color: var(--plum); padding-left: 10px; }
.walk-steps button[aria-selected="true"] p { max-height: 160px; }
.walk-view { position: sticky; top: 100px; max-width: 360px; justify-self: center; width: 100%; }
.walk-view .phone .scr { position: relative; }
.walk-view .phone img { position: absolute; inset: 0; transition: opacity .45s; }
.walk-view figcaption { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); text-align: center; }

/* reveals */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
html:not(.js) .rv { opacity: 1; transform: none; }

/* prose pages */
.prose { padding: 140px 0 100px; }
.prose h1 { font-size: clamp(54px, 8vw, 130px); margin-bottom: 40px; }
.prose .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1100px; }
.prose h2 { font-size: 26px; margin: 0 0 10px; letter-spacing: -.02em; line-height: 1.1; }
.prose p { margin: 0 0 22px; color: var(--ink-2); }

@media (max-width: 1100px) {
  .nav { display: none; } .head-cta { display: none; } .menu-btn { display: inline-flex; }
  .s-vaune .grid, .s-tide .grid, .s-store .grid, .s-crm .head, .s-marge .bottom, .case-hero .sub, .chapter .g, .walk, .services .head, .contact .grid { grid-template-columns: 1fr; }
  .s-vaune .copy { position: static; }
  .s-store .pair { order: 2; }
  .index li a { grid-template-columns: 50px 1fr auto; }
  .index .d { display: none; } .index .d.type { display: block; grid-column: 2; grid-row: 2; margin-top: -12px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .walk-view { position: static; order: -1; max-width: 300px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding-top: 96px; }
  .hero-grid { display: flex; flex-direction: column; }
  .hero-meta { font-size: 12.5px; } .hero-meta span:last-child { display: none; }
  .hero h1 { font-size: clamp(48px, 15.2vw, 110px); }
  .hero-side { padding-top: 22px; gap: 20px; }
  .reel { margin: 34px 0 40px; padding-left: 0; }
  .reel .phone { left: auto; right: -6px; bottom: -36px; width: 30%; }
  .reel-caption { flex-direction: column; align-items: flex-start; margin-top: 46px; }
  .browser::before { height: 26px; padding-left: 50px; font-size: 10.5px; background-position: 10px 50%; background-size: 34px 10px; }
  .browser { border-radius: 10px; }
  .facts { grid-template-columns: 1fr; gap: 14px; }
  .index li a { padding: 18px 0; gap: 12px; }
  .index .t { font-size: 32px; }
  .s-vaune .phone { right: -6px; width: 34%; }
  .s-vaune .screens { padding-bottom: 40px; }
  .s-marge .top { grid-template-columns: 1fr; }
  .s-marge .phones { grid-template-columns: repeat(4, 62vw); overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); padding: 0 var(--pad) 10px; }
  .s-marge .phones figure { scroll-snap-align: center; margin-top: 0 !important; }
  .live .phone { right: -6px; bottom: -40px; width: 30%; }
  .s-store .browser { width: 92%; } .s-store .phone { width: 36%; right: 0; }
  .s-crm .fan { height: auto; display: flex; flex-direction: column; gap: 14px; }
  .s-crm .fan .browser { position: relative; width: 100%; inset: auto; }
  .s-crm .fan .b2 { width: 88%; margin-left: 12%; margin-top: -18%; }
  .s-crm .fan .phone { display: none; }
  .svc summary { grid-template-columns: 1fr 30px; gap: 6px 14px; padding: 20px 0; }
  .svc .n { display: none; } .svc .w { grid-column: 1; grid-row: 2; } .svc .pm { grid-column: 2; grid-row: 1 / 3; }
  .svc .body { grid-template-columns: 1fr; gap: 14px; } .svc .body p, .svc .body .tech { grid-column: 1; }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .case-hero { padding-top: 104px; }
  .case-preview .pair { padding-right: 18%; }
  .case-preview .phone { width: 32%; bottom: -30px; }
  .flist { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; } .gallery figure { grid-column: auto !important; }
  .gallery figure.wide { grid-column: 1 / -1 !important; }
  .prose .cols { grid-template-columns: 1fr; }
  .meta { grid-template-columns: 1fr 1fr; }
  .peek { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .hero h1 .ln > span { transform: none; }
  .rv { opacity: 1; transform: none; }
  .marquee-track { flex-wrap: wrap; white-space: normal; }
}
.lite .marquee-track { animation-duration: 90s; }

/* case pages with a dark hero keep the header legible until it turns solid */
.dark-top .site-head:not(.solid) { color: var(--sink); }
.dark-top .site-head:not(.solid) .menu-btn { background: var(--sink); color: var(--sbg); }
.try .live .phone { display: none; }
.try .live .cover span { background: var(--saccent); color: var(--sbg); }
.case .gallery .browser .scr { aspect-ratio: 16 / 10; }

/* scroll-linked full-page captures (any frame) */
.scroller { position: relative; overflow: hidden; }
.scroller img { width: 100%; height: auto !important; object-fit: initial !important; will-change: transform; }
.frame-tall { aspect-ratio: 16 / 11; }
.frame-phone-tall { aspect-ratio: 9 / 19.5; }
.pair-flex { display: grid; grid-template-columns: 1fr minmax(150px, 22%); gap: clamp(16px, 3vw, 40px); align-items: end; }
.stat-note { font-size: 13.5px; color: var(--ink-2); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: start; }
.trio-ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2.4vw, 34px); align-items: start; }
.trio-ph figure:nth-child(2) { margin-top: 60px; }
.both { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.sister { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 16px 20px; border-radius: 14px; background: var(--paper); font-size: 15px; }
.sister a { font-weight: 600; }
@media (max-width: 760px) {
  .pair-flex, .duo { grid-template-columns: 1fr; }
  .pair-flex .phone { max-width: 220px; justify-self: center; }
  .trio-ph { grid-template-columns: repeat(3, 70vw); overflow-x: auto; scroll-snap-type: x mandatory; }
  .trio-ph figure { scroll-snap-align: center; margin-top: 0 !important; }
}

/* MARGE website showcase + secondary project band */
.s-mweb .grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.s-mweb .copy { position: sticky; top: 110px; }
.s-mweb .screens { position: relative; padding-bottom: 60px; }
.s-mweb .browser .scr.tall { aspect-ratio: 16 / 11; }
.s-mweb .phone { position: absolute; right: -24px; bottom: 0; width: clamp(130px, 22%, 230px); }
.s-mweb .btn.big { background: #111; color: #FF5A1F; }
.s-mweb .btn.big:hover { background: #F4EFE8; color: #111; }
.also { padding: clamp(60px, 8vw, 110px) 0; background: #17171A; color: #F4F3EE; }
.also-in { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.also h2 { margin: 14px 0 16px; font-size: clamp(48px, 6vw, 100px); }
.also p { max-width: 460px; color: #C9C9D1; }
.also .acts { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 24px; }
@media (max-width: 1100px) { .s-mweb .grid, .also-in { grid-template-columns: 1fr; } .s-mweb .copy { position: static; } }
@media (max-width: 760px) { .s-mweb .phone { right: -6px; width: 34%; } .s-mweb .screens { padding-bottom: 40px; } }
@media (min-width: 761px) { .reel-caption { padding-left: calc(clamp(110px, 15%, 200px) + 24px); } }

/* MARGE Website case study: typographic pillars and closing CTA (no screenshots) */
.mw-pillars { padding: clamp(50px, 7vw, 100px) 0; background: #111; color: #F4EFE8; }
.mw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(244,239,232,.18); }
.mw-grid article { padding: 26px 24px 8px 0; }
.mw-grid article + article { padding-left: 24px; border-left: 1px solid rgba(244,239,232,.18); }
.mw-grid span { font-size: 12px; letter-spacing: .14em; color: #FF5A1F; }
.mw-grid h2 { margin: 14px 0 12px; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.03em; }
.mw-grid p { margin: 0; color: rgba(244,239,232,.75); font-size: 15.5px; }
.mw-cta { padding: clamp(80px, 10vw, 150px) 0; background: #FF5A1F; color: #111; }
.mw-cta h2 { margin: 18px 0 20px; font-size: clamp(56px, 11vw, 190px); line-height: .85; letter-spacing: -.06em; }
.mw-cta h2 em { color: #F4EFE8; }
.mw-cta p { max-width: 520px; margin: 0; font-size: clamp(18px, 1.5vw, 21px); }
.mw-cta .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.mw-cta .btn.big { background: #111; color: #FF5A1F; }
.mw-cta .btn.big:hover { background: #F4EFE8; color: #111; }
@media (max-width: 1000px) { .mw-grid { grid-template-columns: 1fr 1fr; } .mw-grid article:nth-child(3) { padding-left: 0; border-left: 0; } .mw-grid article:nth-child(n+3) { border-top: 1px solid rgba(244,239,232,.18); } }
@media (max-width: 560px) { .mw-grid { grid-template-columns: 1fr; } .mw-grid article, .mw-grid article + article { padding: 22px 0 18px; border-left: 0; border-top: 1px solid rgba(244,239,232,.18); } }

/* homepage MARGE Website showcase: typographic panel instead of screenshots */
.mw-panel { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); padding: clamp(24px, 3.4vw, 48px); border-radius: 18px; background: #111; color: #F4EFE8; text-decoration: none; transition: transform .5s var(--ease); }
.mw-panel:hover { transform: translateY(-4px); }
.mw-lang { display: flex; gap: 6px; }
.mw-lang span { padding: 4px 10px; border: 1px solid rgba(244,239,232,.3); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.mw-head { font-family: "Archivo", sans-serif; font-stretch: 70%; font-size: clamp(48px, 6.4vw, 112px); font-weight: 800; line-height: .86; letter-spacing: -.02em; text-transform: uppercase; color: #FF5A1F; }
.mw-tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mw-tickets > span { padding: 14px; background: #F4EFE8; color: #111; font-family: "Archivo", sans-serif; font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.15; }
.mw-tickets small { display: block; margin-bottom: 6px; font-weight: 500; font-size: 11.5px; color: #555; }
.mw-foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(244,239,232,.2); font-weight: 600; }
.mw-foot span:last-child { color: #FF5A1F; }
@media (max-width: 560px) { .mw-tickets { grid-template-columns: 1fr; } }
