/* ===== Rampcraft v2 (placeholder name) ===== */
:root {
  --bg: #f3eee6;
  --bg-2: #ebe4d8;
  --paper: #fbf8f3;
  --ink: #121212;
  --ink-2: #4b4740;
  --ink-3: #8b857a;
  --line: #dcd3c4;
  --accent: #ff4f1f;
  --accent-soft: #ffd9cc;
  --blue: #3d2bff;
  --butter: #ffe28a;
  --mint: #b9ecd9;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
section { padding: 120px 0; position: relative; }
p { color: var(--ink-2); }

.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: .92; text-transform: uppercase; }
h2.display { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
.label { font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; color: var(--ink-3); text-transform: uppercase; display: inline-block; margin-bottom: 22px; }
.accent { color: var(--accent); }
.mono { font-family: var(--mono); }

/* ----- Buttons ----- */
.btn { display: inline-flex; align-items: center; gap: 12px; font: 600 1rem var(--body); padding: 8px 8px 8px 24px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .25s ease, background .25s; background: var(--ink); color: #fff; }
.btn .circ { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform .35s cubic-bezier(.2,1.4,.4,1); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .circ { transform: rotate(-45deg) scale(1.06); }
.btn.light { background: #fff; color: var(--ink); }
.btn.big { font-size: 1.1rem; padding: 10px 10px 10px 30px; }
.btn.big .circ { width: 52px; height: 52px; }
.link-u { font-weight: 600; border-bottom: 2px solid var(--ink); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.link-u:hover { color: var(--accent); border-color: var(--accent); }

/* ----- Nav ----- */
.nav { position: fixed; top: 16px; left: 0; right: 0; z-index: 60; pointer-events: none; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav .wrap > * { pointer-events: auto; }
.logo { --cut: 12px; font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.055em; display: flex; align-items: center; gap: 10px; background: var(--paper); padding: 7px 18px 7px 7px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); filter: drop-shadow(0 6px 14px rgba(0,0,0,.12)); line-height: 1; }
.logo-mark { width: 32px; height: 32px; display: block; transition: transform .35s cubic-bezier(.2,1.4,.4,1); }
.logo:hover .logo-mark { transform: rotate(-90deg); }
.logo span { padding-bottom: 2px; }
.pillbar { display: flex; gap: 4px; background: var(--paper); padding: 5px; border-radius: 999px; list-style: none; box-shadow: 0 6px 20px -10px rgba(0,0,0,.25); }
.pillbar a { font-family: var(--mono); font-size: .8rem; padding: 9px 16px; border-radius: 999px; display: block; transition: background .2s, color .2s; }
.pillbar a:hover { background: var(--bg-2); }
.pillbar a.active { background: var(--blue); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.hours { font-family: var(--mono); font-size: .72rem; line-height: 1.35; text-align: right; background: var(--paper); padding: 8px 14px; border-radius: 14px; box-shadow: 0 6px 20px -10px rgba(0,0,0,.25); }
.hours b { display: block; font-weight: 700; }
.nav .btn { padding: 5px 5px 5px 18px; font-size: .92rem; box-shadow: 0 6px 20px -10px rgba(0,0,0,.4); }
.nav .btn .circ { width: 32px; height: 32px; }
.menu-btn { display: none; }

/* ----- Hero ----- */
.hero { min-height: 100vh; padding: 150px 0 70px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero .label { color: var(--ink-2); }
.hero h1 { font-size: clamp(3.3rem, 10.4vw, 10.2rem); position: relative; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: inline-block; transform: translateY(105%); animation: rise 1s cubic-bezier(.2,.8,.2,1) forwards; }
.hero h1 .line:nth-child(2) span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero h1 .r { text-align: right; }

.sticker { position: absolute; font-family: var(--body); font-weight: 700; font-size: clamp(.75rem, 1.1vw, .95rem); letter-spacing: 0; text-transform: none; padding: 9px 16px; border-radius: 999px; white-space: nowrap; box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); opacity: 0; animation: stick .6s cubic-bezier(.2,1.6,.4,1) forwards; z-index: 3; }
.sticker.s1 { background: var(--ink); color: #fff; top: 4%; left: 46%; --r: -8deg; animation-delay: .9s; }
.sticker.s2 { background: var(--accent); color: #fff; top: 40%; left: 3%; --r: 6deg; animation-delay: 1.05s; }
.sticker.s3 { background: var(--blue); color: #fff; bottom: 8%; right: 30%; --r: -5deg; animation-delay: 1.2s; }
.sticker.s4 { background: var(--butter); color: var(--ink); top: 60%; right: 12%; --r: 9deg; animation-delay: 1.35s; }
@keyframes stick { from { opacity: 0; transform: scale(.3) rotate(0); } to { opacity: 1; transform: scale(1) rotate(var(--r)); } }

.hero-foot { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: end; margin-top: 56px; }
.hero-foot p { font-size: 1.15rem; max-width: 460px; color: var(--ink); }
.hero-foot .who { font-family: var(--mono); font-size: .8rem; color: var(--ink-2); line-height: 1.7; }
.hero-foot .who b { color: var(--ink); }

/* multiplayer cursors */
.cursor { position: absolute; z-index: 4; pointer-events: none; display: flex; align-items: flex-start; gap: 2px; }
.cursor svg { width: 18px; height: 18px; }
.cursor span { font-family: var(--mono); font-size: .72rem; font-weight: 700; color: #fff; padding: 3px 8px; border-radius: 6px; margin-top: 14px; }
.cursor.c1 { top: 30%; left: 18%; animation: wander1 11s ease-in-out infinite; }
.cursor.c1 span { background: var(--blue); }
.cursor.c1 path { fill: var(--blue); }
.cursor.c2 { top: 62%; left: 70%; animation: wander2 13s ease-in-out infinite; }
.cursor.c2 span { background: var(--accent); }
.cursor.c2 path { fill: var(--accent); }
@keyframes wander1 { 0%,100% { transform: translate(0,0); } 25% { transform: translate(180px, 60px); } 50% { transform: translate(320px, -30px); } 75% { transform: translate(120px, -70px); } }
@keyframes wander2 { 0%,100% { transform: translate(0,0); } 30% { transform: translate(-220px, -50px); } 60% { transform: translate(-90px, 70px); } 80% { transform: translate(40px, 20px); } }

/* ----- Ribbon marquee ----- */
.ribbons { position: relative; height: 230px; margin: 10px 0 0; overflow: hidden; }
.ribbon { position: absolute; left: -5%; width: 110%; white-space: nowrap; overflow: hidden; padding: 20px 0; }
.ribbon .track { display: inline-flex; animation: marquee 32s linear infinite; }
.ribbon .track span { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 3.2rem); letter-spacing: -.02em; padding-right: 36px; display: inline-flex; align-items: center; gap: 36px; }
.ribbon .track span::after { content: "✦"; font-size: .6em; }
.ribbon.r1 { background: var(--accent); color: #fff; top: 40px; transform: rotate(-3deg); z-index: 2; }
.ribbon.r2 { background: var(--ink); color: var(--bg); top: 96px; transform: rotate(2.5deg); }
.ribbon.r2 .track { animation-direction: reverse; animation-duration: 40s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----- Manifesto ----- */
.manifesto { text-align: center; padding: 140px 0; }
.manifesto p.big { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.12; letter-spacing: -.025em; max-width: 1050px; margin: 0 auto; color: var(--ink); }
.manifesto p.big .w { color: #cfc5b6; transition: color .35s; }
.manifesto p.big .w.on { color: var(--ink); }
.manifesto p.big .w.on.hot { color: var(--accent); }

/* ----- Who we serve ----- */
.serve-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.serve-head p { font-size: 1.1rem; max-width: 440px; justify-self: end; }
.rows { list-style: none; border-top: 1.5px solid var(--ink); }
.rows li { border-bottom: 1.5px solid var(--ink); position: relative; overflow: hidden; }
.rows li::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform .45s cubic-bezier(.2,.8,.2,1); z-index: 0; }
.rows li:hover::before { transform: none; }
.rows .row-in { position: relative; z-index: 1; display: grid; grid-template-columns: 90px 1fr 1.1fr 60px; gap: 20px; align-items: center; padding: 26px 8px; transition: color .3s, padding .3s; }
.rows li:hover .row-in { color: #fff; padding-left: 22px; }
.rows .n { font-family: var(--mono); font-size: .85rem; }
.rows .name { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 3.4rem); letter-spacing: -.03em; line-height: 1; }
.rows .desc { font-size: .98rem; color: var(--ink-2); transition: color .3s; }
.rows li:hover .desc { color: #fff; }
.rows .arr { font-size: 1.6rem; justify-self: end; transition: transform .35s; }
.rows li:hover .arr { transform: rotate(-45deg); }

/* ----- Problem (dark) ----- */
.dark { background: var(--ink); color: var(--bg); border-radius: 40px; margin: 0 14px; }
.dark p { color: #b8b1a5; }
.dark .label { color: #8b857a; }
.bubbles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.bubble { border-radius: 28px; padding: 34px 32px 38px; position: relative; transform: rotate(var(--r, 0deg)); transition: transform .35s cubic-bezier(.2,1.4,.4,1); }
.bubble:hover { transform: rotate(0) translateY(-8px); }
.bubble::after { content: ""; position: absolute; bottom: -14px; left: 40px; width: 28px; height: 28px; background: inherit; transform: rotate(45deg); border-radius: 4px; }
.bubble .who { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; opacity: .7; margin-bottom: 16px; }
.bubble q { font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1.12; letter-spacing: -.02em; quotes: "\201C" "\201D"; display: block; }
.bubble.b1 { background: var(--accent-soft); color: var(--ink); --r: -2deg; }
.bubble.b2 { background: var(--butter); color: var(--ink); --r: 1.5deg; margin-top: 40px; }
.bubble.b3 { background: var(--mint); color: var(--ink); --r: -1deg; }
.dark .punch { margin-top: 80px; display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.dark .punch h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -.03em; line-height: .98; max-width: 760px; }

/* ----- Services ----- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; }
.svc { background: var(--paper); border-radius: 30px; padding: 32px; display: flex; flex-direction: column; min-height: 520px; border: 1.5px solid transparent; transition: transform .35s cubic-bezier(.2,1.4,.4,1), border-color .3s; position: relative; }
.svc:hover { transform: translateY(-10px) rotate(-.6deg); border-color: var(--ink); }
.svc .top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 40px; }
.svc .num { font-family: var(--display); font-weight: 800; font-size: 4.4rem; line-height: .8; letter-spacing: -.05em; }
.svc .tag { font-family: var(--mono); font-size: .72rem; padding: 6px 12px; border-radius: 999px; border: 1.5px solid currentColor; }
.svc h3 { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; letter-spacing: -.03em; text-transform: uppercase; margin-bottom: 14px; }
.svc > p { margin-bottom: 26px; }
.svc ul { list-style: none; display: grid; gap: 10px; margin-bottom: 30px; }
.svc li { font-size: .95rem; padding-left: 22px; position: relative; }
.svc li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.svc .meta { margin-top: auto; display: flex; justify-content: space-between; align-items: end; padding-top: 22px; border-top: 1.5px dashed var(--line); }
.svc .price small { display: block; font-family: var(--mono); font-size: .72rem; color: var(--ink-3); }
.svc .price strong { font-family: var(--display); font-size: 2rem; letter-spacing: -.03em; }
.svc .time { font-family: var(--mono); font-size: .78rem; color: var(--ink-3); }
.svc.hot { background: var(--accent); color: #fff; }
.svc.hot p, .svc.hot li::before, .svc.hot .price small, .svc.hot .time { color: #fff; }
.svc.hot .meta { border-color: rgba(255,255,255,.4); }

/* ----- Process ----- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); margin-top: 60px; }
.step { padding: 30px 26px 10px 0; border-right: 1.5px solid var(--line); padding-left: 26px; }
.step:first-child { padding-left: 0; }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--mono); font-size: .8rem; display: inline-block; background: var(--ink); color: var(--bg); padding: 4px 10px; border-radius: 999px; margin-bottom: 24px; }
.step h3 { font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; margin-bottom: 10px; }
.step p { font-size: .95rem; }
.step .when { font-family: var(--mono); font-size: .75rem; color: var(--accent); margin-top: 14px; display: block; }

/* ----- Work ----- */
.work-top { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.w-card { display: block; }
.w-card.hide { display: none; }
.w-thumb { border-radius: 30px; aspect-ratio: 4 / 3; overflow: hidden; position: relative; display: grid; place-items: center; transition: border-radius .4s; }
.w-card:hover .w-thumb { border-radius: 60px; }
.t1 { background: var(--blue); } .t2 { background: var(--accent); } .t3 { background: var(--butter); } .t4 { background: var(--mint); } .t5 { background: var(--ink); } .t6 { background: var(--accent-soft); }
.mock { width: 64%; background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.45); transform: rotate(-3deg); transition: transform .5s cubic-bezier(.2,1.2,.4,1); }
.w-card:hover .mock { transform: rotate(2deg) scale(1.06); }
.mock .bar { height: 10px; border-radius: 5px; background: #ece6dc; margin-bottom: 10px; }
.mock .bar.s { width: 42%; background: var(--ink); }
.mock .bar.m { width: 86%; } .mock .bar.l { width: 66%; }
.mock .opts { display: flex; gap: 8px; margin-top: 14px; }
.mock .opt { flex: 1; height: 30px; border-radius: 8px; border: 2px solid #ece6dc; }
.mock .opt.on { border-color: var(--accent); background: var(--accent-soft); }
.w-meta { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 20px 6px 0; }
.w-meta h3 { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.1; }
.w-meta p { font-size: .95rem; margin-top: 6px; max-width: 420px; }
.w-tags { font-family: var(--mono); font-size: .72rem; color: var(--ink-3); text-align: right; white-space: nowrap; line-height: 1.7; }
.sample-note { font-family: var(--mono); font-size: .75rem; color: var(--ink-3); margin-top: 40px; text-align: center; }

/* ----- Why ----- */
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: start; }
.why .quote { color: var(--ink); font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; letter-spacing: -.025em; }
.why .quote em { font-style: normal; background: var(--butter); padding: 0 6px; border-radius: 6px; }
.sig { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.sig .av { width: 54px; height: 54px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.sig small { display: block; font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
.points { list-style: none; border-top: 1.5px solid var(--ink); }
.points li { padding: 24px 0; border-bottom: 1.5px solid var(--line); display: grid; grid-template-columns: 46px 1fr; gap: 10px; }
.points .k { font-family: var(--mono); font-size: .8rem; color: var(--accent); padding-top: 4px; }
.points h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 6px; }
.points p { font-size: .96rem; }

/* ----- Contact ----- */
.contact { background: var(--accent); color: #fff; border-radius: 40px; margin: 0 14px; overflow: hidden; padding: 110px 0 90px; }
.contact .label { color: rgba(255,255,255,.8); }
.contact h2 { font-size: clamp(4rem, 15vw, 14rem); line-height: .85; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: end; margin-top: 50px; }
.contact-grid p { color: #fff; font-size: 1.15rem; max-width: 420px; }
.contact-grid .meta { font-family: var(--mono); font-size: .8rem; margin-top: 26px; line-height: 1.9; }
.form { background: var(--paper); color: var(--ink); border-radius: 30px; padding: 30px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.form form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; margin-bottom: 8px; color: var(--ink-2); }
.field label em { font-style: normal; color: var(--ink-3); }
.field input, .field select { width: 100%; font: 500 1rem var(--body); padding: 15px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.invalid input { border-color: #d92d20; }
.field .err { display: none; color: #d92d20; font-size: .78rem; margin-top: 6px; font-weight: 600; }
.field.invalid .err { display: block; }
.form .btn { justify-content: space-between; width: 100%; font-size: 1.05rem; }
.form .fine { font-size: .75rem; color: var(--ink-3); text-align: center; }
.form .fine a { text-decoration: underline; }
.form-success { display: none; text-align: center; padding: 34px 10px; }
.form-success .big { font-family: var(--display); font-weight: 800; font-size: 3rem; text-transform: uppercase; letter-spacing: -.03em; line-height: 1; margin-bottom: 10px; }
.form.sent form { display: none; }
.form.sent .form-success { display: block; animation: pop .5s cubic-bezier(.2,1.5,.4,1); }
@keyframes pop { from { transform: scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }

/* ----- Footer ----- */
footer { padding: 60px 0 40px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; font-size: .95rem; }
.foot h4 { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot a:hover { color: var(--accent); }
.foot .tag { font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.02em; max-width: 300px; }
.copy { margin-top: 60px; padding-top: 22px; border-top: 1.5px solid var(--ink); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--mono); font-size: .75rem; color: var(--ink-2); }

/* ----- Work page ----- */
.page-hero { padding: 170px 0 60px; }
.page-hero h1 { font-size: clamp(3.2rem, 9vw, 8.4rem); }
.page-hero .sub { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
.page-hero .sub p { font-size: 1.15rem; max-width: 480px; color: var(--ink); }
.flagship { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; margin-bottom: 110px; }
.flagship .w-thumb { aspect-ratio: 1 / 1; }
.flagship .mock { width: 70%; padding: 24px; }
.flag-body .label { color: var(--accent); }
.flag-body h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; margin-bottom: 18px; }
.flag-steps { list-style: none; border-top: 1.5px solid var(--ink); margin: 28px 0 26px; }
.flag-steps li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1.5px solid var(--line); font-size: .95rem; }
.flag-steps strong { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; padding-top: 3px; }
.flag-steps span { color: var(--ink-2); }
.fmt { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.fmt span { font-family: var(--mono); font-size: .72rem; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--ink); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; background: var(--paper); padding: 5px; border-radius: 999px; width: fit-content; }
.filter { font: .8rem var(--mono); padding: 9px 16px; border-radius: 999px; border: 0; background: none; cursor: pointer; color: var(--ink); transition: background .2s; }
.filter:hover { background: var(--bg-2); }
.filter.active { background: var(--blue); color: #fff; }

/* ----- Reveal ----- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }

/* ----- Responsive ----- */
@media (max-width: 1060px) {
  .hours { display: none; }
  .svc-grid, .bubbles { grid-template-columns: 1fr; }
  .bubble.b2 { margin-top: 0; }
  .svc { min-height: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { padding: 30px 20px 20px 0 !important; border-right: 0; border-bottom: 1.5px solid var(--line); }
  .why, .contact-grid, .flagship, .serve-head { grid-template-columns: 1fr; }
  .serve-head p { justify-self: start; }
  .hero-foot { grid-template-columns: 1fr; gap: 24px; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 84px 0; }
  .wrap { padding: 0 18px; }
  .menu-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 0; box-shadow: 0 6px 20px -10px rgba(0,0,0,.25); cursor: pointer; font: 700 .7rem var(--mono); }
  .pillbar { position: absolute; top: 62px; left: 18px; right: 18px; flex-direction: column; border-radius: 24px; padding: 10px; display: none; }
  .pillbar.open { display: flex; }
  .pillbar a { padding: 14px 16px; font-size: .9rem; }
  .nav .btn { display: none; }
  .hero { min-height: 0; padding-top: 130px; }
  .hero h1 .r { text-align: left; }
  .sticker { position: relative; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; display: inline-block; margin: 18px 6px 0 0; font-size: .78rem; }
  .cursor { display: none; }
  .ribbons { height: 170px; }
  .dark, .contact { margin: 0 6px; border-radius: 28px; }
  .rows .row-in { grid-template-columns: 1fr 40px; gap: 6px; padding: 22px 4px; }
  .rows .n { display: none; }
  .rows .desc { grid-column: 1 / 2; font-size: .9rem; }
  .rows .arr { grid-row: 1; grid-column: 2; }
  .steps { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .form form { grid-template-columns: 1fr; }
  .w-meta { flex-direction: column; gap: 4px; }
  .w-tags { text-align: left; }
  .flag-steps li { grid-template-columns: 1fr; gap: 2px; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .sticker { opacity: 1; transform: none; }
  .hero h1 .line span { transform: none; }
  .manifesto p.big .w { color: var(--ink); }
}

/* ----- Use cases ----- */
.uc-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.uc-head p { font-size: 1.1rem; max-width: 440px; justify-self: end; }
.uc { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; }
.uc-tabs { display: flex; flex-direction: column; border-top: 1.5px solid var(--ink); position: sticky; top: 100px; }
.uc-tab { font: 600 1.02rem var(--body); text-align: left; background: none; border: 0; border-bottom: 1.5px solid var(--line); padding: 20px 14px 20px 4px; cursor: pointer; color: var(--ink-3); display: flex; gap: 16px; align-items: baseline; transition: color .2s, padding .3s, background .2s; border-radius: 0; }
.uc-tab .k { font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
.uc-tab:hover { color: var(--ink); padding-left: 12px; }
.uc-tab.active { color: var(--ink); padding-left: 14px; background: var(--paper); border-radius: 14px; border-bottom-color: transparent; }
.uc-tab.active .k { color: var(--accent); }
.uc-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.uc-panel { border-radius: 34px; padding: 44px; min-height: 560px; display: flex; flex-direction: column; animation: ucIn .5s cubic-bezier(.2,.8,.2,1); }
.uc-panel[hidden] { display: none; }
@keyframes ucIn { from { opacity: 0; transform: translateY(18px) rotate(-.6deg); } to { opacity: 1; transform: none; } }
.uc-panel.p1 { background: var(--accent); color: #fff; }
.uc-panel.p2 { background: var(--blue); color: #fff; }
.uc-panel.p3 { background: var(--butter); }
.uc-panel.p4 { background: var(--mint); }
.uc-panel.p5 { background: var(--ink); color: var(--bg); }
.uc-panel.p6 { background: var(--accent-soft); }
.uc-panel .trigger { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; display: inline-block; padding: 6px 12px; border: 1.5px solid currentColor; border-radius: 999px; width: fit-content; margin-bottom: 26px; opacity: .85; }
.uc-panel h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 3.6vw, 3.2rem); letter-spacing: -.03em; line-height: .95; margin-bottom: 18px; }
.uc-panel .challenge { color: inherit; opacity: .88; font-size: 1.08rem; max-width: 640px; margin-bottom: 32px; }
.uc-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; margin-bottom: 30px; }
.uc-cols h4 { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; font-weight: 500; opacity: .75; margin-bottom: 12px; }
.uc-cols ul { list-style: none; display: grid; gap: 9px; }
.uc-cols li { padding-left: 22px; position: relative; font-size: .97rem; }
.uc-cols li::before { content: "→"; position: absolute; left: 0; font-weight: 700; }
.uc-cols div + div li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid currentColor; top: .5em; }
.uc-foot { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; padding-top: 22px; border-top: 1.5px dashed currentColor; }
.uc-foot span { font-size: .9rem; padding: 8px 14px; border-radius: 14px; background: rgba(255,255,255,.22); }
.uc-panel.p3 .uc-foot span, .uc-panel.p4 .uc-foot span, .uc-panel.p6 .uc-foot span { background: rgba(255,255,255,.55); }
.uc-panel.p5 .uc-foot span { background: rgba(255,255,255,.08); }
.uc-foot b { display: block; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; font-weight: 500; opacity: .75; }
.uc-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding: 24px 28px; border: 1.5px dashed var(--ink-3); border-radius: 24px; }
.uc-cta p { color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.rows li[data-uc] { cursor: pointer; }

@media (max-width: 1060px) {
  .uc, .uc-head { grid-template-columns: 1fr; }
  .uc-head p { justify-self: start; }
  .uc-tabs { position: static; flex-direction: row; overflow-x: auto; border-top: 0; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .uc-tab { white-space: nowrap; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: .9rem; }
  .uc-tab:hover { padding-left: 16px; }
  .uc-tab.active { background: var(--ink); color: #fff; padding-left: 16px; border-radius: 999px; }
  .uc-tab.active .k { color: var(--accent); }
}
@media (max-width: 760px) {
  .uc-panel { padding: 28px 22px; min-height: 0; border-radius: 26px; }
  .uc-cols { grid-template-columns: 1fr; }
}

/* ----- Walkthrough slides ----- */
.walk-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.walk-side p { font-size: 1.08rem; max-width: 470px; margin-bottom: 24px; }
.walk-side b { color: var(--ink); }
.walk-ctrl { display: flex; align-items: center; gap: 10px; }
.walk-count { font-size: .85rem; color: var(--ink-3); margin-right: 8px; }
.walk-count b { color: var(--ink); font-size: 1.05rem; }
.walk-btn { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; font-size: 1.2rem; cursor: pointer; transition: background .2s, color .2s, transform .2s; color: var(--ink); }
.walk-btn:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.walk-btn:disabled { opacity: .3; pointer-events: none; }
.walk-track { --pad: max(28px, calc((100vw - var(--max)) / 2 + 28px)); display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); padding: 10px var(--pad) 30px; scrollbar-width: none; cursor: grab; }
.walk-track::-webkit-scrollbar { display: none; }
.walk-track:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.walk-track.drag { cursor: grabbing; scroll-snap-type: none; }
.slide { flex: 0 0 min(1040px, 86vw); scroll-snap-align: start; background: var(--paper); border-radius: 34px; display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; min-height: 500px; user-select: none; transition: transform .4s; }
.slide:hover { transform: translateY(-4px); }
.s-text { padding: 44px 40px; display: flex; flex-direction: column; }
.s-when { font-size: .75rem; color: var(--accent); text-transform: uppercase; margin-bottom: 18px; }
.s-text h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 3vw, 2.7rem); letter-spacing: -.03em; line-height: .95; margin-bottom: 16px; }
.s-text p { font-size: 1.02rem; margin-bottom: 26px; }
.s-roles { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s-roles div { background: var(--bg); border-radius: 16px; padding: 14px 16px; font-size: .9rem; font-weight: 600; line-height: 1.35; }
.s-roles b { display: block; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin-bottom: 4px; }
.s-roles div + div { background: var(--ink); color: #fff; }
.s-roles div + div b { color: var(--accent); }
.s-vis { margin: 14px; border-radius: 26px; display: grid; place-items: center; padding: 34px; position: relative; overflow: hidden; }
.v-accent { background: var(--accent); } .v-blue { background: var(--blue); } .v-butter { background: var(--butter); } .v-mint { background: var(--mint); } .v-ink { background: var(--ink); } .v-soft { background: var(--accent-soft); }

.sheet { background: #fff; border-radius: 18px; padding: 24px; width: 100%; max-width: 400px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.45); transform: rotate(-1.5deg); transition: transform .5s cubic-bezier(.2,1.2,.4,1); font-size: .9rem; color: var(--ink); }
.slide:hover .sheet { transform: rotate(0) scale(1.02); }
.sheet h5 { font-size: .74rem; font-weight: 700; margin-bottom: 14px; letter-spacing: .02em; display: flex; justify-content: space-between; gap: 8px; }
.sheet h5:not(.mono) { font: 700 1.02rem var(--body); letter-spacing: 0; }
.mail-top { display: flex; flex-direction: column; gap: 2px; font-size: .66rem; color: var(--ink-3); padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #eee; }
.mail { color: var(--ink-2); margin-bottom: 14px; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pills span { font-size: .78rem; font-weight: 600; padding: 7px 11px; border-radius: 999px; border: 1.5px solid #e4ded3; }
.pills .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.checks { list-style: none; display: grid; gap: 9px; }
.checks li { padding-left: 28px; position: relative; color: var(--ink-3); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 6px; border: 2px solid #ddd5c8; box-sizing: border-box; }
.checks li.ok { color: var(--ink); }
.checks li.ok::before { background: var(--mint); border-color: #2bb391; content: "✓"; color: #0b6b52; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.note { margin-top: 14px; font-size: .78rem; background: var(--bg); border-radius: 10px; padding: 9px 12px; color: var(--ink-2); }
.kv { display: grid; grid-template-columns: 90px 1fr; gap: 9px 10px; margin-bottom: 16px; }
.kv dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.kv dd { font-weight: 600; }
.mini-btn { display: inline-block; background: var(--ink); color: #fff; font-weight: 700; font-size: .82rem; padding: 10px 16px; border-radius: 999px; }
.people { list-style: none; display: grid; gap: 9px; }
.people li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.people i { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); font: 700 .68rem var(--mono); display: grid; place-items: center; font-style: normal; flex-shrink: 0; }
.people li:nth-child(2) i { background: var(--butter); } .people li:nth-child(3) i { background: var(--mint); } .people li:nth-child(4) i { background: #dcd8ff; }
.people span { margin-left: auto; color: #2bb391; font-weight: 800; }
.path { list-style: none; position: relative; display: grid; gap: 14px; padding-left: 26px; }
.path::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 10px); }
.path li { position: relative; font-weight: 600; }
.path li::before { content: ""; position: absolute; left: -26px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-sizing: border-box; }
.path li:last-child::before { background: var(--accent); }
.path b { display: block; font-family: var(--mono); font-size: .68rem; color: var(--ink-3); text-transform: uppercase; font-weight: 500; }
.frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; }
.frame { background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); }
.frame:nth-child(1) { transform: rotate(-3deg); } .frame:nth-child(3) { transform: rotate(3deg); } .frame:nth-child(2) { transform: translateY(-14px); }
.frame .scr { aspect-ratio: 4 / 3; background: var(--bg); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.frame .b { height: 6px; border-radius: 3px; background: #ddd5c8; width: 80%; display: block; }
.frame .b.s { width: 50%; background: var(--ink); } .frame .b.l { width: 60%; }
.frame .box { flex: 1; border-radius: 6px; background: #dcd8ff; display: block; }
.frame .opts { display: flex; gap: 5px; margin-top: auto; } .frame .opts i { flex: 1; height: 16px; border-radius: 4px; border: 1.5px solid #ddd5c8; } .frame .opts i.on { border-color: var(--accent); background: var(--accent-soft); }
.frame small { display: block; font-size: .58rem; margin-top: 8px; color: var(--ink-2); }
.q { font-weight: 700; margin-bottom: 12px; line-height: 1.35; color: var(--ink); }
.answers { list-style: none; display: grid; gap: 7px; }
.answers li { padding: 10px 12px; border-radius: 10px; border: 1.5px solid #e4ded3; font-size: .86rem; }
.answers li.right { border-color: #2bb391; background: #e7f8f1; font-weight: 600; }
.fb { margin-top: 12px; font-size: .8rem; color: #0b6b52; font-weight: 600; }
.live { color: #0b8a63; }
.bars { display: grid; gap: 14px; margin-bottom: 12px; }
.bar-row span { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 6px; }
.bb { display: grid; gap: 4px; }
.bb i { display: block; height: 9px; border-radius: 5px; }
.bb .base, .legend .base { background: #ddd5c8; width: 100%; }
.bb .after, .legend .after { background: var(--accent); }
.bb .a1 { width: 62%; } .bb .a2 { width: 55%; } .bb .a3 { width: 48%; }
.legend { display: flex; gap: 16px; font-size: .68rem; color: var(--ink-3); }
.legend i { display: inline-block; width: 12px !important; height: 8px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.slide-proj { grid-template-columns: .8fr 1.2fr; }
.slide-proj .btn { margin-top: auto; width: fit-content; }
.proj-grid { margin: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pj { border-radius: 20px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; min-height: 140px; transition: transform .3s cubic-bezier(.2,1.4,.4,1); }
.pj:hover { transform: translateY(-4px) rotate(-1deg); }
.pj small { font-size: .62rem; opacity: .8; }
.pj b { font-family: var(--display); font-size: 1.2rem; line-height: 1.05; letter-spacing: -.02em; }
.pj.t1, .pj.t2, .pj.t5 { color: #fff; }
.walk-progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.walk-progress span { display: block; height: 100%; width: 10%; background: var(--accent); border-radius: 4px; transition: width .4s; }

@media (max-width: 1060px) {
  .walk-head { grid-template-columns: 1fr; }
  .slide, .slide-proj { grid-template-columns: 1fr; }
  .s-vis { order: -1; min-height: 300px; }
}
@media (max-width: 760px) {
  .slide { flex-basis: 88vw; border-radius: 26px; min-height: 0; }
  .s-roles { margin-top: 0; }
  .s-text { padding: 26px 22px; }
  .s-vis { padding: 22px; margin: 10px; min-height: 260px; }
  .s-roles { grid-template-columns: 1fr; }
  .proj-grid { margin: 10px; }
  .pj { min-height: 110px; padding: 14px; }
  .walk-btn { width: 46px; height: 46px; }
}

/* ----- Cost gauge ----- */
.gauge { display: flex; align-items: center; gap: 10px; margin: 6px 0 4px; }
.gauge .dollars { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; line-height: 1; min-width: 44px; }
.g-bars { display: flex; gap: 4px; }
.g-bars i { width: 22px; height: 8px; background: var(--line); clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.g-bars i.on { background: var(--accent); }
.svc .price strong { font-size: 1.15rem; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.svc .price strong em { font-style: normal; font-weight: 500; opacity: .75; }
.svc.hot .g-bars i { background: rgba(255,255,255,.3); }
.svc.hot .g-bars i.on { background: #fff; }
.price-note { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px 28px; border: 1.5px dashed var(--ink-3); border-radius: 24px; }
.price-note p { color: var(--ink-2); max-width: 720px; }
.price-note b { color: var(--ink); }

/* ----- Scroll thread: fluid curve through section labels ----- */
main, footer { position: relative; z-index: 1; }
.thread { position: absolute; top: 0; left: 0; pointer-events: none; overflow: visible; }
.thread-back { z-index: 0; }
.thread-front { z-index: 20; }
.th-ghost { fill: none; stroke: var(--ink); stroke-opacity: .09; stroke-width: 1.5; stroke-dasharray: 2 7; }
.th-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: stroke-dashoffset .25s linear; }
.th-node { fill: var(--bg); stroke: var(--ink-3); stroke-width: 2; transition: fill .3s, stroke .3s; }
.th-node.on { fill: var(--accent); stroke: var(--bg); stroke-width: 3; }
.th-head { fill: var(--accent); stroke: #fff; stroke-width: 2.5; transition: cx .25s linear, cy .25s linear; }
.th-glow { fill: var(--accent); opacity: .25; animation: thPulse 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; transition: cx .25s linear, cy .25s linear; }
@keyframes thPulse { 0%, 100% { transform: scale(.7); opacity: .35; } 50% { transform: scale(1.25); opacity: .1; } }
/* Curve is invisible; it only drives the label highlights. Change to "visible" to show it again. */
.thread { visibility: hidden; }
.label { position: relative; isolation: isolate; transition: color .4s, transform .4s cubic-bezier(.2,1.6,.4,1); }
.label::before { content: ""; position: absolute; inset: -5px -11px; border-radius: 999px; background: var(--accent-soft); z-index: -1; transform: scaleX(0); transform-origin: left center; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.label.lit { color: var(--accent) !important; transform: translateX(11px); }
.label.lit::before { transform: scaleX(1); }
.dark .label::before { background: rgba(255, 79, 31, .22); }
.dark .label.lit { color: #ff8a66 !important; }
.contact .label::before { background: rgba(255, 255, 255, .24); }
.contact .label.lit { color: #fff !important; }
@media (max-width: 760px) { .th-line { stroke-width: 2; } }
@media print { .thread { display: none; } }
@media (prefers-reduced-motion: reduce) { .th-line, .th-head, .th-glow { transition: none; animation: none; } }

/* ----- Form: spam trap + error ----- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-error { color: #b42318; font-size: .85rem; font-weight: 600; text-align: center; }
.form-error a { text-decoration: underline; }
.form .btn:disabled { opacity: .7; cursor: wait; }

/* ----- Founders ----- */
.sigs { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 30px; }
.sigs .sig { margin-top: 0; }
.sig .av2 { background: var(--accent); }
