:root {
  --navy-950: #0c1726;
  --navy-900: #122033;
  --navy-800: #1a2c44;
  --ink: #1d2938;
  --muted: #667386;
  --line: #dce2e8;
  --paper: #f7f8fa;
  --white: #ffffff;
  --purple: #6848ed;
  --purple-soft: #eeeafd;
  --teal: #008f8c;
  --teal-soft: #e3f5f3;
  --blue: #2d6cdf;
  --blue-soft: #e8f0ff;
  --gold: #c98b00;
  --gold-soft: #fff3d3;
  --rose: #c34c72;
  --rose-soft: #fbeaf0;
  --shadow-sm: 0 12px 36px rgba(12, 23, 38, 0.08);
  --shadow-lg: 0 30px 80px rgba(12, 23, 38, 0.16);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 34px;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 18px; color: white; background: var(--purple); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: 86px; transition: background .25s ease, box-shadow .25s ease, height .25s ease; }
.site-header.is-scrolled { height: 72px; background: rgba(247, 248, 250, .92); box-shadow: 0 1px 0 rgba(12, 23, 38, .08); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; width: 42px; aspect-ratio: 1; place-items: center; color: white; background: var(--navy-900); border-radius: 12px; font-family: Manrope, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-family: Manrope, sans-serif; font-size: 15px; }
.brand-copy small { margin-top: 3px; color: var(--muted); font-size: 11px; letter-spacing: .03em; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav > a { color: #48566a; font-size: 14px; font-weight: 600; transition: color .2s ease; }
.primary-nav > a:hover, .primary-nav > a:focus-visible { color: var(--purple); }
.primary-nav .nav-cta { padding: 11px 17px; color: white; background: var(--navy-900); border-radius: 999px; }
.primary-nav .nav-cta:hover, .primary-nav .nav-cta:focus-visible { color: white; background: var(--purple); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--navy-900); transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; min-height: 790px; padding: 158px 0 94px; overflow: hidden; background: linear-gradient(135deg, #f8fafc 0%, #f4f2fb 46%, #eef8f7 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(rgba(18, 32, 51, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 32, 51, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 78%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero-orb--one { width: 430px; height: 430px; right: -170px; top: 90px; background: rgba(104, 72, 237, .11); }
.hero-orb--two { width: 320px; height: 320px; left: 38%; bottom: -210px; background: rgba(0, 143, 140, .12); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 74px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--purple); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 2px; background: currentColor; }
.hero h1, .section-heading h2, .compact-heading h2, .process h2, .about h2, .contact h2 { margin: 0; color: var(--navy-900); font-family: Manrope, sans-serif; font-weight: 700; letter-spacing: -.045em; line-height: 1.08; }
.hero h1 { max-width: 700px; font-size: clamp(46px, 5vw, 72px); }
.hero h1 em { color: var(--purple); font-style: normal; }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: #526175; font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 12px 21px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.button--primary { color: white; background: var(--purple); box-shadow: 0 12px 28px rgba(104, 72, 237, .26); }
.button--primary:hover { background: #5739da; }
.button--ghost { color: var(--navy-900); border-color: #cdd5df; background: rgba(255,255,255,.56); }
.button--ghost:hover { border-color: var(--navy-900); background: white; }
.button--light { color: var(--navy-900); background: white; }
.button--full { width: 100%; border-radius: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 30px 0 0; padding: 0; color: #667386; list-style: none; font-size: 13px; }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points span { display: grid; width: 18px; height: 18px; place-items: center; color: var(--teal); background: var(--teal-soft); border-radius: 50%; font-size: 11px; font-weight: 800; }

.hero-showcase { position: relative; min-height: 530px; padding: 23px; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.95); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transform: rotate(.6deg); }
.hero-showcase::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; background: var(--navy-900); border-radius: var(--radius-lg); transform: rotate(-1.6deg); }
.showcase-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.showcase-topline > span { color: var(--navy-900); font-family: Manrope, sans-serif; font-size: 13px; font-weight: 800; }
.showcase-topline small { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 600; }
.showcase-topline i { width: 7px; height: 7px; background: #22b878; border-radius: 50%; box-shadow: 0 0 0 4px rgba(34,184,120,.12); }
.showcase-stage { position: relative; min-height: 420px; }
.showcase-phone, .showcase-tile { position: absolute; display: block; overflow: hidden; border: 6px solid white; background: white; border-radius: 22px; box-shadow: 0 22px 55px rgba(12,23,38,.19); transition: transform .25s ease, box-shadow .25s ease; }
.showcase-phone:hover, .showcase-tile:hover { z-index: 5; transform: translateY(-5px) rotate(0); box-shadow: 0 28px 65px rgba(12,23,38,.25); }
.showcase-phone { width: 43%; height: 385px; left: 0; top: 20px; transform: rotate(-2.5deg); }
.showcase-phone img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.showcase-phone span, .showcase-tile span { position: absolute; inset: auto 10px 10px; padding: 8px 11px; color: white; background: rgba(12,23,38,.9); border-radius: 10px; font-size: 10px; font-weight: 800; backdrop-filter: blur(7px); }
.showcase-tile { width: 61%; height: 194px; right: 0; }
.showcase-tile img { width: 100%; height: 100%; object-fit: cover; }
.showcase-tile--pedrita { top: 0; transform: rotate(1.8deg); }
.showcase-tile--profe { bottom: 0; background: linear-gradient(145deg, #efe7e9, #d9c8cd); transform: rotate(-1.3deg); }
.showcase-tile--profe img { object-fit: contain; object-position: 72% 26px; transform: scale(1.28); }
.showcase-note { display: flex; align-items: center; gap: 9px; margin: 14px 0 0; color: #526175; font-size: 11px; line-height: 1.45; }
.showcase-note > span { display: grid; min-width: 27px; height: 27px; place-items: center; color: white; background: var(--purple); border-radius: 50%; font-weight: 800; }

.hero-canvas { position: relative; padding: 25px; background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transform: rotate(1.3deg); }
.hero-canvas::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; background: var(--navy-900); border-radius: var(--radius-lg); transform: rotate(-2.5deg); }
.canvas-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.canvas-label { color: var(--navy-900); font-family: Manrope, sans-serif; font-size: 13px; font-weight: 800; }
.canvas-live { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.canvas-live i { width: 7px; height: 7px; background: #2abf80; border-radius: 50%; box-shadow: 0 0 0 4px rgba(42,191,128,.13); }
.problem-card { display: flex; align-items: center; gap: 15px; padding: 17px; border: 1px solid #e2e7ed; background: #f8fafc; border-radius: 16px; }
.problem-index { display: grid; min-width: 38px; height: 38px; place-items: center; color: var(--purple); background: var(--purple-soft); border-radius: 10px; font-size: 12px; font-weight: 800; }
.problem-card div { display: grid; gap: 3px; }
.problem-card small, .canvas-result small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.problem-card strong { font-size: 13px; line-height: 1.35; }
.canvas-path { display: flex; justify-content: center; gap: 4px; padding: 12px 0; }
.canvas-path span { width: 4px; height: 4px; background: #bdc6d1; border-radius: 50%; }
.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.solution-chip { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 13px; border-radius: 14px; font-size: 12px; font-weight: 700; }
.solution-chip svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.solution-chip--purple { color: #4e36bc; background: var(--purple-soft); }
.solution-chip--teal { color: #006d6a; background: var(--teal-soft); }
.solution-chip--blue { color: #2456ac; background: var(--blue-soft); }
.solution-chip--gold { color: #916300; background: var(--gold-soft); }
.canvas-result { display: flex; gap: 12px; align-items: center; margin-top: 13px; padding: 15px; color: white; background: var(--navy-900); border-radius: 15px; }
.result-icon { display: grid; min-width: 34px; height: 34px; place-items: center; color: var(--navy-900); background: white; border-radius: 50%; font-weight: 800; }
.canvas-result div { display: grid; }
.canvas-result small { color: #aeb8c6; }
.canvas-result strong { font-size: 12px; line-height: 1.35; }

.proof-strip { color: white; background: var(--navy-900); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.45fr; align-items: stretch; }
.proof-grid > div { display: flex; min-height: 126px; flex-direction: column; justify-content: center; padding: 26px 34px; border-right: 1px solid rgba(255,255,255,.12); }
.proof-grid > div:first-child { padding-left: 0; }
.proof-grid strong { font-family: Manrope, sans-serif; font-size: 28px; line-height: 1.1; }
.proof-grid span { max-width: 145px; margin-top: 7px; color: #aeb8c6; font-size: 12px; line-height: 1.4; }
.proof-grid .proof-statement { border: 0; }
.proof-grid .proof-statement span { margin: 0; color: #78d6d1; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.proof-grid .proof-statement strong { margin-top: 6px; font-size: 24px; }

.section { padding: 116px 0; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 80px; margin-bottom: 54px; }
.section-heading h2, .compact-heading h2, .process h2, .about h2, .contact h2 { font-size: clamp(36px, 4vw, 54px); }
.section-heading > p { max-width: 470px; margin: 0 0 6px; color: var(--muted); font-size: 17px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { position: relative; min-height: 390px; padding: 28px; overflow: hidden; border: 1px solid #e0e5eb; background: white; border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-7px); border-color: #cbd3dd; box-shadow: var(--shadow-sm); }
.service-number { position: absolute; right: 23px; top: 19px; color: #b7c0cc; font-size: 11px; font-weight: 700; }
.service-icon { display: grid; width: 55px; height: 55px; margin: 28px 0 54px; place-items: center; color: var(--purple); background: var(--purple-soft); border-radius: 16px; }
.service-card:nth-child(2) .service-icon { color: var(--teal); background: var(--teal-soft); }
.service-card:nth-child(3) .service-icon { color: var(--blue); background: var(--blue-soft); }
.service-card:nth-child(4) .service-icon { color: var(--gold); background: var(--gold-soft); }
.service-icon svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 12px; color: var(--navy-900); font-family: Manrope, sans-serif; font-size: 19px; letter-spacing: -.025em; }
.service-card p { min-height: 76px; margin: 0; color: var(--muted); font-size: 14px; }
.service-card ul { display: grid; gap: 7px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid #e9edf1; color: #566477; list-style: none; font-size: 12px; }
.service-card li::before { content: "—"; margin-right: 7px; color: var(--purple); }

.idea-cta { position: relative; padding: 82px 0; overflow: hidden; color: white; background: var(--purple); }
.idea-cta::before { content: ""; position: absolute; width: 520px; height: 520px; right: -170px; top: -300px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 76px rgba(255,255,255,.035), 0 0 0 152px rgba(255,255,255,.025); }
.idea-cta-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 95px; align-items: end; }
.idea-cta h2 { max-width: 760px; margin: 0; color: white; font-family: Manrope, sans-serif; font-size: clamp(36px, 4.4vw, 58px); font-weight: 700; letter-spacing: -.045em; line-height: 1.08; }
.idea-cta-copy p { margin: 0 0 25px; color: #e1dcff; font-size: 17px; line-height: 1.65; }
.idea-cta .button--light { min-height: 54px; padding-inline: 24px; }

.work { color: white; background: var(--navy-950); }
.section-heading--light h2, .process h2, .contact h2 { color: white; }
.section-heading--light > p { color: #9eabbc; }
.eyebrow--light { color: #78d6d1; }
.case { --accent: var(--purple); --soft: var(--purple-soft); display: grid; grid-template-columns: .96fr 1.04fr; min-height: 590px; margin-top: 30px; overflow: hidden; color: var(--ink); background: white; border-radius: var(--radius-lg); }
.case--teal { --accent: var(--teal); --soft: var(--teal-soft); }
.case--blue { --accent: var(--blue); --soft: var(--blue-soft); }
.case--gold { --accent: var(--gold); --soft: var(--gold-soft); }
.case--rose { --accent: var(--rose); --soft: var(--rose-soft); }
.case--reverse .case-visual { order: 2; }
.case--reverse .case-copy { order: 1; }
.case-visual { display: grid; min-height: 590px; place-items: center; padding: 58px; overflow: hidden; background: var(--soft); }
.case-copy { display: flex; flex-direction: column; justify-content: center; padding: 58px 64px; }
.case-meta { display: flex; align-items: center; gap: 13px; margin-bottom: 19px; }
.case-meta > span:first-child { color: var(--accent); font-size: 12px; font-weight: 800; }
.status { padding: 7px 11px; color: var(--accent); background: var(--soft); border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.case h3 { margin: 0; color: var(--navy-900); font-family: Manrope, sans-serif; font-size: 38px; letter-spacing: -.04em; line-height: 1.1; }
.case-summary { margin: 12px 0 25px; color: #4f5d70; font-size: 18px; line-height: 1.5; }
.case-detail { display: grid; grid-template-columns: 86px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid #e6e9ed; }
.case-detail strong { color: var(--navy-900); font-size: 12px; }
.case-detail p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.case-role { margin: 16px 0; color: var(--muted); font-size: 12px; }
.case-role strong { color: var(--navy-900); }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-row span { padding: 6px 9px; color: #5a687a; background: #f1f3f6; border-radius: 7px; font-size: 10px; font-weight: 600; }
.text-link { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: 23px; color: var(--accent); font-size: 13px; font-weight: 800; }
.text-link:hover { text-decoration: underline; }
.text-link--muted { color: #7d8998; cursor: default; }
.text-link--muted:hover { text-decoration: none; }

.case-visual--real { position: relative; text-decoration: none; }
.case-visual--real::before { content: ""; position: absolute; width: 380px; height: 380px; border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); border-radius: 50%; }
.case-visual--pedrita { background: linear-gradient(145deg, #e6edf7, #dce6f3); }
.case-visual--marmo { background: linear-gradient(145deg, #f1eee5, #e9e2d3); }
.case-visual--profe { background: linear-gradient(145deg, #eadfe2, #d7c2c8); }
.real-screen { position: relative; z-index: 1; width: 100%; height: 410px; margin: 0; overflow: hidden; border: 8px solid white; background: white; border-radius: 25px; box-shadow: 0 28px 65px rgba(12,23,38,.2); transition: transform .3s ease, box-shadow .3s ease; }
.case-visual--real:hover .real-screen { transform: translateY(-7px); box-shadow: 0 35px 75px rgba(12,23,38,.26); }
.real-screen > img { width: 100%; height: 100%; object-fit: cover; }
.real-screen figcaption { position: absolute; inset: auto 14px 14px; display: grid; grid-template-columns: 1fr auto; gap: 1px 14px; padding: 13px 15px; color: white; background: rgba(12,23,38,.92); border-radius: 13px; backdrop-filter: blur(10px); }
.real-screen figcaption span { grid-column: 1; color: #9fb0c4; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.real-screen figcaption strong { grid-column: 1; font-size: 13px; }
.real-screen figcaption i { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #86ded9; font-size: 9px; font-style: normal; font-weight: 800; }
.real-screen--landscape { height: 355px; }
.real-screen--phone { width: min(310px, 88%); height: 500px; }
.real-screen--phone > img { object-position: center top; }
.real-screen--profe { height: 455px; background: linear-gradient(145deg, #602138, #2e101b); }
.real-screen--profe > img { object-fit: contain; object-position: center 25px; transform: scale(1.06); }

.pedrita-ui { position: relative; background: radial-gradient(circle at 20% 10%, #dfd7ff 0, transparent 40%), linear-gradient(145deg, #eeeafd, #e4f5f2); }
.pedrita-ui::before, .pedrita-ui::after { content: ""; position: absolute; border: 1px solid rgba(104,72,237,.16); border-radius: 50%; }
.pedrita-ui::before { width: 380px; height: 380px; left: -170px; bottom: -170px; }
.pedrita-ui::after { width: 240px; height: 240px; right: -110px; top: -100px; }
.pedrita-ui > * { position: relative; z-index: 1; }
.visual-topbar, .chat-window { width: min(390px, 100%); background: white; }
.visual-topbar { display: flex; align-items: center; padding: 14px 17px; border-radius: 18px 18px 0 0; box-shadow: 0 12px 36px rgba(42,30,89,.12); }
.visual-topbar > span { width: 35px; height: 35px; margin-right: 10px; background: linear-gradient(145deg, var(--purple), var(--teal)); border-radius: 50%; }
.visual-topbar strong { flex: 1; font-size: 13px; }
.visual-topbar i { color: #21a574; font-size: 10px; font-style: normal; }
.chat-window { display: grid; gap: 11px; padding: 18px; border-radius: 0 0 18px 18px; box-shadow: 0 20px 48px rgba(42,30,89,.14); }
.chat-message { max-width: 84%; padding: 11px 13px; border-radius: 13px; font-size: 11px; line-height: 1.45; }
.chat-message--in { background: #f0f2f5; }
.chat-message--out { justify-self: end; color: #3f2d94; background: #e9e2ff; }
.chat-file { display: flex; max-width: 82%; align-items: center; gap: 10px; justify-self: end; padding: 10px; border: 1px solid #ddd5fb; border-radius: 12px; }
.chat-file > span { display: grid; width: 35px; height: 40px; place-items: center; color: white; background: var(--purple); border-radius: 7px; font-size: 9px; font-weight: 800; }
.chat-file div { display: grid; }
.chat-file strong { font-size: 10px; }
.chat-file small { color: var(--muted); font-size: 8px; }
.visual-badge { position: absolute; right: 42px; bottom: 55px; padding: 10px 13px; color: white; background: var(--navy-900); border-radius: 999px; box-shadow: var(--shadow-sm); font-size: 10px; font-weight: 700; transform: rotate(-3deg); }

.marmo-ui { background: linear-gradient(145deg, #ddf6f2, #f1fbfa); }
.app-shell { width: min(430px, 100%); overflow: hidden; background: #f8fafb; border: 8px solid white; border-radius: 25px; box-shadow: 0 28px 60px rgba(0,82,79,.18); }
.app-toolbar { display: flex; align-items: center; gap: 6px; padding: 12px 15px; color: white; background: #ef7b20; }
.app-toolbar span { flex: 1; font-size: 11px; font-weight: 800; }
.app-toolbar i { width: 7px; height: 7px; background: rgba(255,255,255,.65); border-radius: 50%; }
.drawing-stage { position: relative; height: 260px; overflow: hidden; background-color: white; background-image: linear-gradient(#e6ecef 1px, transparent 1px), linear-gradient(90deg, #e6ecef 1px, transparent 1px); background-size: 24px 24px; }
.counter-shape { position: absolute; width: 205px; height: 118px; left: 80px; top: 70px; border: 13px solid #3b4552; border-right-width: 45px; background: #d5eaf0; }
.counter-shape::after { content: ""; position: absolute; width: 58px; height: 38px; left: 48px; top: 27px; border: 3px solid #1f7284; border-radius: 50%; }
.counter-shape b, .counter-shape span { position: absolute; color: #1e5f70; font-size: 8px; }
.counter-shape b { left: 58px; top: -33px; }
.counter-shape span { right: -45px; top: 47px; transform: rotate(90deg); }
.counter-shape i { position: absolute; width: 1px; height: 160px; left: -44px; top: -34px; background: #1e5f70; }
.dimension { position: absolute; color: #17697b; font-size: 8px; font-weight: 700; }
.dimension--x { left: 165px; bottom: 39px; }
.dimension--y { right: 61px; top: 126px; transform: rotate(90deg); }
.app-summary { display: grid; grid-template-columns: 1fr auto; padding: 13px 16px; background: white; }
.app-summary span { color: var(--muted); font-size: 8px; }
.app-summary strong { grid-row: 2; font-size: 14px; }
.app-summary button { grid-row: 1 / 3; grid-column: 2; padding: 7px 12px; color: white; border: 0; background: #ef7b20; border-radius: 8px; font-size: 9px; }

.profe-ui { background: linear-gradient(145deg, #dfeaff, #f2f6ff); }
.learning-shell { width: min(420px, 100%); overflow: hidden; background: white; border-radius: 25px; box-shadow: 0 28px 60px rgba(23,70,149,.18); }
.learning-nav { display: flex; justify-content: space-between; padding: 16px 19px; color: white; background: #245bb7; }
.learning-nav strong { font-size: 12px; }
.learning-nav span { font-size: 9px; opacity: .75; }
.learning-body { padding: 22px; }
.lesson-card { display: grid; gap: 4px; padding: 16px; background: #f1f5fd; border-radius: 14px; }
.lesson-card small { color: #6f7f98; font-size: 8px; text-transform: uppercase; }
.lesson-card strong { color: #173965; font-size: 17px; }
.progress { height: 5px; margin-top: 8px; overflow: hidden; background: #d9e2f3; border-radius: 99px; }
.progress i { display: block; width: 68%; height: 100%; background: #4b79d1; }
.tutor-message { margin: 16px 0; padding: 14px; color: #2c4a72; background: #e9f1ff; border-radius: 14px 14px 14px 3px; font-size: 11px; }
.learning-tools { display: flex; gap: 8px; }
.learning-tools span { flex: 1; padding: 9px; text-align: center; color: #31588c; border: 1px solid #d7e2f4; border-radius: 9px; font-size: 9px; font-weight: 700; }

.beam-ui { background: linear-gradient(145deg, #fff0c8, #fff8e8); }
.blueprint { width: min(430px, 100%); padding: 24px; color: white; background-color: #18375d; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 20px 20px; border: 9px solid white; border-radius: 23px; box-shadow: 0 28px 60px rgba(111,74,0,.18); }
.blueprint-head { display: flex; justify-content: space-between; align-items: end; }
.blueprint-head span { font-family: Manrope, sans-serif; font-size: 15px; font-weight: 800; }
.blueprint-head small { color: #9fb7d2; font-size: 8px; }
.beam-line { display: flex; height: 98px; align-items: stretch; justify-content: space-around; margin: 27px 0 18px; border-block: 3px solid #f4d063; }
.beam-line i { width: 2px; background: #e8f1fb; }
.beam-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.beam-data span { display: grid; padding: 10px; background: rgba(255,255,255,.08); border-radius: 9px; }
.beam-data small { color: #a9bdd4; font-size: 7px; text-transform: uppercase; }
.beam-data strong { color: #f4d063; font-size: 11px; }
.blueprint-note { margin-top: 15px; padding-top: 12px; color: #9fb7d2; border-top: 1px solid rgba(255,255,255,.15); font-size: 8px; }

.budget-ui { background: linear-gradient(145deg, #f8e5ec, #fff4f7); }
.budget-shell { position: relative; width: min(430px, 100%); min-height: 355px; }
.budget-form { position: relative; z-index: 2; width: 77%; padding: 22px; background: white; border-radius: 20px; box-shadow: 0 24px 55px rgba(125,42,71,.17); }
.budget-form > small { display: block; margin-bottom: 18px; color: var(--rose); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.budget-form label { display: grid; gap: 5px; margin-top: 12px; color: #7b6670; font-size: 8px; }
.budget-form label span { padding: 9px 10px; color: #445064; border: 1px solid #e9dfe3; border-radius: 8px; font-size: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.budget-form button { width: 100%; margin-top: 17px; padding: 10px; color: white; border: 0; background: var(--rose); border-radius: 9px; font-size: 9px; font-weight: 700; }
.budget-doc { position: absolute; right: 0; bottom: 0; width: 43%; min-height: 245px; padding: 20px; background: #fcfbfb; border-radius: 16px; box-shadow: 0 19px 44px rgba(125,42,71,.12); transform: rotate(5deg); }
.budget-doc span { color: var(--rose); font-size: 8px; font-weight: 800; }
.budget-doc i { display: block; width: 100%; height: 5px; margin-top: 15px; background: #e7dfe2; border-radius: 4px; }
.budget-doc i:nth-of-type(2) { width: 74%; }
.budget-doc i:nth-of-type(3) { width: 87%; }
.budget-doc strong { display: grid; width: 44px; height: 50px; margin: 48px auto 0; place-items: center; color: white; background: var(--rose); border-radius: 8px; font-size: 10px; }

.more-work { background: #eef1f4; }
.compact-heading { max-width: 780px; margin-bottom: 48px; }
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.more-card { display: flex; min-height: 310px; flex-direction: column; padding: 27px; border: 1px solid #dde3e9; background: #f9fafb; border-radius: 20px; }
.more-card > span { color: var(--teal); font-size: 11px; font-weight: 800; }
.more-card h3 { margin: auto 0 13px; color: var(--navy-900); font-family: Manrope, sans-serif; font-size: 20px; letter-spacing: -.025em; line-height: 1.25; }
.more-card p { min-height: 90px; margin: 0; color: var(--muted); font-size: 13px; }
.more-card small { padding-top: 15px; color: #8792a1; border-top: 1px solid #e3e7ec; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.process { color: white; background: var(--purple); }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.process-intro { position: sticky; top: 130px; }
.process-intro > p:not(.eyebrow) { max-width: 470px; margin: 24px 0 30px; color: #ddd5ff; font-size: 16px; }
.process-list { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.process-list li { display: grid; grid-template-columns: 60px 1fr; gap: 22px; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.2); }
.process-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.process-list > li > span { color: #cfc5ff; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800; }
.process-list h3 { margin: 0 0 6px; font-family: Manrope, sans-serif; font-size: 22px; }
.process-list p { margin: 0; color: #ddd5ff; font-size: 14px; }

.about { background: white; }
.about-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; align-items: center; }
.about-visual { position: relative; padding: 28px 28px 80px 0; }
.portrait-card { min-height: 520px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; overflow: hidden; color: white; background: var(--navy-900); border-radius: 30px; }
.portrait-card::before { content: ""; width: 330px; height: 330px; position: absolute; left: 65px; top: 84px; background: linear-gradient(145deg, var(--purple), var(--teal)); border-radius: 50% 44% 54% 46%; filter: saturate(.8); opacity: .86; }
.portrait-card::after { content: ""; width: 240px; height: 350px; position: absolute; left: 110px; top: 150px; background: var(--navy-950); border-radius: 48% 48% 22px 22px; box-shadow: 0 -80px 0 -22px #f4c7ac; }
.portrait-mark { position: relative; z-index: 2; font-family: Manrope, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.portrait-caption { position: relative; z-index: 2; display: grid; }
.portrait-caption span { font-family: Manrope, sans-serif; font-size: 20px; font-weight: 700; }
.portrait-caption small { color: #9eabbc; }
.about-note { position: absolute; right: 0; bottom: 10px; z-index: 3; width: 220px; padding: 20px; color: var(--navy-900); background: var(--teal-soft); border-radius: 18px; box-shadow: var(--shadow-sm); }
.about-note span { color: var(--teal); font-family: Manrope, sans-serif; font-size: 25px; font-weight: 800; }
.about-note p { margin: 7px 0 0; font-size: 11px; line-height: 1.5; }
.about-lead { margin: 25px 0 13px; color: #3e4c5e; font-size: 18px; }
.about-copy > p:not(.eyebrow):not(.about-lead) { color: var(--muted); }
.about-skills { display: grid; gap: 0; margin-top: 28px; border-block: 1px solid #e4e8ed; }
.about-skills > div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid #e4e8ed; }
.about-skills > div:last-child { border: 0; }
.about-skills strong { color: var(--navy-900); font-size: 13px; }
.about-skills span { color: var(--muted); font-size: 12px; }
.movement-note { display: flex; gap: 14px; margin-top: 24px; padding: 17px; background: #f6f4fe; border-radius: 14px; }
.movement-icon { display: grid; min-width: 34px; height: 34px; place-items: center; color: var(--purple); background: white; border-radius: 10px; }
.movement-note p { margin: 0; color: #5f6072; font-size: 11px; }

.contact { position: relative; padding: 115px 0; overflow: hidden; color: white; background: var(--navy-950); }
.contact::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 48px 48px; }
.contact-orb { position: absolute; width: 600px; height: 600px; right: -280px; top: -230px; background: rgba(104,72,237,.33); border-radius: 50%; filter: blur(3px); }
.contact-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.contact-copy > p:not(.eyebrow):not(.contact-location) { max-width: 520px; margin: 25px 0; color: #aeb8c6; font-size: 17px; }
.contact-email { display: inline-grid; gap: 2px; margin-top: 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.25); }
.contact-email span { color: #7fd5d1; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-email strong { font-size: 16px; }
.contact-location { margin-top: 20px; color: #7e8da1; font-size: 12px; }
.contact-form { padding: 32px; color: var(--ink); background: white; border-radius: 25px; box-shadow: 0 30px 75px rgba(0,0,0,.25); }
.form-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid #e6e9ed; }
.form-head span { color: var(--navy-900); font-family: Manrope, sans-serif; font-size: 17px; font-weight: 800; }
.form-head small { color: var(--muted); font-size: 9px; }
.contact-form label { display: grid; gap: 7px; margin-top: 14px; color: #4e5c6d; font-size: 11px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; color: var(--ink); border: 1px solid #dce2e8; outline: 0; background: #fafbfc; border-radius: 10px; font-size: 13px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(104,72,237,.11); }
.contact-form .button { margin-top: 20px; }
.form-note { margin: 11px 0 0; color: #8994a3; text-align: center; font-size: 9px; }

.site-footer { color: #9eabbc; background: #080f19; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 42px; min-height: 120px; }
.brand--footer .brand-mark { color: var(--navy-900); background: white; }
.brand--footer .brand-copy strong { color: white; }
.footer-inner > p { margin: 0; font-size: 11px; }
.footer-inner > span { font-size: 10px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay { transition-delay: .12s; }
.reveal--delay-sm { transition-delay: .07s; }
.reveal--delay-md { transition-delay: .14s; }
.reveal--delay-lg { transition-delay: .21s; }

@media (max-width: 1040px) {
  .primary-nav { gap: 18px; }
  .hero-grid { gap: 42px; }
  .service-grid, .more-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 350px; }
  .case-copy { padding: 48px 42px; }
  .case-visual { padding: 38px; }
  .idea-cta-inner { gap: 55px; }
  .process-grid, .about-grid, .contact-grid { gap: 60px; }
}

@media (max-width: 860px) {
  :root { --shell: min(100% - 36px, 700px); }
  .menu-toggle { display: block; z-index: 102; }
  .primary-nav { position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 80px 30px; opacity: 0; visibility: hidden; background: var(--paper); transition: opacity .2s ease, visibility .2s ease; }
  .primary-nav.is-open { opacity: 1; visibility: visible; }
  .primary-nav > a { font-family: Manrope, sans-serif; font-size: 22px; }
  .primary-nav .nav-cta { margin-top: 10px; padding: 14px 20px; font-size: 15px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 135px; }
  .hero-grid, .section-heading, .process-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-canvas, .hero-showcase { max-width: 570px; margin: 20px auto 0; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div { border-bottom: 1px solid rgba(255,255,255,.12); }
  .proof-grid > div:nth-child(2) { border-right: 0; }
  .proof-grid > div:first-child { padding-left: 34px; }
  .section-heading { gap: 24px; }
  .section-heading > p { max-width: 620px; }
  .case { grid-template-columns: 1fr; }
  .case-visual, .case-copy, .case--reverse .case-visual, .case--reverse .case-copy { order: initial; }
  .case-visual { min-height: 490px; }
  .idea-cta-inner { grid-template-columns: 1fr; gap: 30px; }
  .idea-cta-copy { max-width: 650px; }
  .process-intro { position: static; }
  .about-visual { max-width: 500px; margin: 0 auto; }
  .contact-copy { max-width: 650px; }
}

@media (max-width: 580px) {
  :root { --shell: calc(100% - 28px); }
  .site-header, .site-header.is-scrolled { height: 68px; }
  .brand-copy small { display: none; }
  .hero { min-height: 0; padding: 116px 0 75px; }
  .hero h1 { font-size: clamp(39px, 12vw, 54px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-points { display: grid; }
  .hero-canvas { padding: 17px; border-radius: 25px; transform: none; }
  .hero-canvas::before { inset: 12px -8px -10px 8px; }
  .hero-showcase { min-height: 510px; padding: 15px; border-radius: 25px; transform: none; }
  .hero-showcase::before { inset: 12px -8px -10px 8px; }
  .showcase-stage { min-height: 405px; }
  .showcase-phone { width: 45%; height: 375px; }
  .showcase-tile { width: 60%; height: 184px; }
  .showcase-note { margin-top: 12px; }
  .solution-chip { min-height: 57px; padding: 10px; font-size: 10px; }
  .solution-chip svg { width: 20px; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div { min-height: 110px; padding: 20px; }
  .proof-grid > div:first-child { padding-left: 20px; }
  .proof-grid strong { font-size: 24px; }
  .proof-grid span { font-size: 10px; }
  .section { padding: 82px 0; }
  .section-heading h2, .compact-heading h2, .process h2, .about h2, .contact h2 { font-size: 36px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading > p { font-size: 15px; }
  .service-grid, .more-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-icon { margin-bottom: 35px; }
  .service-card p { min-height: 0; }
  .case { margin-top: 20px; border-radius: 24px; }
  .case-visual { min-height: 370px; padding: 26px; }
  .real-screen--landscape { height: 270px; }
  .real-screen--phone { width: min(260px, 90%); height: 420px; }
  .real-screen--profe { height: 360px; }
  .real-screen figcaption { inset: auto 9px 9px; padding: 10px 11px; }
  .idea-cta { padding: 72px 0; }
  .idea-cta h2 { font-size: 38px; }
  .idea-cta-copy p { font-size: 16px; }
  .case-copy { padding: 37px 25px 42px; }
  .case h3 { font-size: 32px; }
  .case-summary { font-size: 16px; }
  .case-detail { grid-template-columns: 1fr; gap: 4px; }
  .visual-badge { right: 22px; bottom: 32px; }
  .drawing-stage { height: 220px; }
  .counter-shape { left: 48px; top: 58px; transform: scale(.88); }
  .dimension--x { left: 125px; }
  .dimension--y { right: 28px; }
  .budget-shell { min-height: 305px; }
  .budget-form { width: 82%; padding: 17px; }
  .budget-doc { width: 41%; min-height: 205px; }
  .process-grid { gap: 40px; }
  .process-list li { grid-template-columns: 42px 1fr; gap: 13px; }
  .about-grid { gap: 40px; }
  .about-visual { padding: 0 12px 70px 0; }
  .portrait-card { min-height: 450px; }
  .portrait-card::before { left: 20px; }
  .portrait-card::after { left: 65px; }
  .about-skills > div { grid-template-columns: 1fr; gap: 4px; }
  .contact { padding: 82px 0; }
  .contact-grid { gap: 40px; }
  .contact-email strong { font-size: 13px; word-break: break-all; }
  .contact-form { padding: 24px 19px; }
  .form-head { display: grid; gap: 3px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 14px; padding: 32px 0; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
