/* Page-specific sections (About, Services, How we work, Portfolio, Products, Contact, Blog, legal). */

/* ================= About ================= */
.about-hero { min-height: min(92svh, 860px); display: flex; align-items: center; }
.about-hero .container { position: relative; }
.about-hero .h1, .about-hero .lead { max-width: 620px; }
.video-card { position: relative; margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #0B1322; aspect-ratio: 16 / 9; }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; font-weight: 600; background: linear-gradient(180deg, rgba(7,11,20,0) 40%, rgba(7,11,20,.55)); }
.video-play .ico { width: 74px; height: 74px; padding: 22px 20px 22px 24px; border-radius: 50%; background: rgba(183,98,39,.9); fill: #fff; stroke: none; box-shadow: 0 0 0 10px rgba(183,98,39,.22); transition: transform .3s var(--ease), box-shadow .3s; }
.video-play .ico path { fill: #fff; }
.video-play:hover .ico { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(183,98,39,.18); }

.founder-grid { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .founder-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.psolve { display: grid; gap: 14px; }
.psolve-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--ink-line); box-shadow: 0 10px 24px rgba(27,42,65,.06); transition: transform .3s var(--ease), border-color .3s; }
.psolve-row:hover { transform: translateX(6px); border-color: #E9B48A; }
.psolve-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #FBEBDD; color: var(--accent-ink); }
.psolve-ico .ico { width: 20px; height: 20px; }
.psolve-p { display: block; color: #8C8A86; font-size: 14.5px; text-decoration-color: rgba(183,98,39,.55); text-decoration-thickness: 1.5px; }
.psolve-f { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--ink); font: 600 16.5px/1.35 var(--display); }
.psolve-f .ico { width: 16px; height: 16px; color: var(--accent); flex: none; }
.founder-id { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.founder-id img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid #E9B48A; box-shadow: 0 0 0 4px rgba(183,98,39,.12); }
.founder-id b { display: block; font: 600 19px var(--display); color: var(--ink); }
.founder-id span { color: var(--ink-soft); font-size: 14.5px; }
.video-sound { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(7,11,20,.72); color: #fff; font-size: 13.5px; font-weight: 600; }
.video-sound .ico { width: 16px; height: 16px; }
.founder .h2 { font-size: clamp(26px, 3.3vw, 40px); }


/* vision */
.vision { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 130px) 0; background: radial-gradient(ellipse 70% 60% at 50% 30%, #172744, var(--bg1) 55%, var(--bg0)); text-align: center; isolation: isolate; }
.vision::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; background-image: radial-gradient(1.2px 1.2px at 12% 22%, #EEF1F5, transparent), radial-gradient(1px 1px at 28% 68%, #EEF1F5, transparent), radial-gradient(1.4px 1.4px at 46% 14%, #D98A52, transparent), radial-gradient(1px 1px at 63% 78%, #EEF1F5, transparent), radial-gradient(1.2px 1.2px at 81% 34%, #EEF1F5, transparent), radial-gradient(1px 1px at 92% 70%, #D98A52, transparent), radial-gradient(1px 1px at 7% 86%, #EEF1F5, transparent), radial-gradient(1.3px 1.3px at 36% 42%, #EEF1F5, transparent); background-size: 520px 380px; }
.vision-inner { display: grid; justify-items: center; gap: 22px; }
.north-star { position: relative; width: 110px; height: 110px; display: grid; place-items: center; color: var(--accent); margin-bottom: 10px; }
.north-star .star { width: 100%; height: 100%; background: radial-gradient(circle, rgba(183,98,39,0.45) 0, transparent 68%); border-radius: 50%; position: relative; z-index: 1; }
.north-star i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(183,98,39,.5); animation: pulse 3.6s ease-out infinite; }
.north-star i:nth-child(3) { animation-delay: 1.2s; } .north-star i:nth-child(4) { animation-delay: 2.4s; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.vision-text { font: 600 clamp(26px, 4vw, 52px)/1.22 var(--display); max-width: 1000px; letter-spacing: -.02em; }
.vision-text .vw { display: inline; opacity: .18; transition: opacity .4s ease; }
.vision-text .vw.on { opacity: 1; }

/* mission */
.mission { display: grid; gap: 40px; padding-block: clamp(80px, 10vw, 130px); }
@media (min-width: 960px) { .mission { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; } .mission-visual { position: sticky; top: 110px; } }
.mission-visual { display: grid; justify-items: center; gap: 14px; }
.mission-visual svg { width: min(100%, 440px); height: auto; overflow: visible; }
.mring { fill: none; stroke: var(--line); stroke-width: 1.2; stroke-dasharray: 3 7; transition: stroke .5s, stroke-width .5s; }
.mdot { fill: #3A4E6E; transition: fill .5s; }
.mglow { fill: rgba(183,98,39,0); transition: fill .5s; }
.morbit.done .mring { stroke: rgba(183,98,39,.45); }
.morbit.done .mdot { fill: #8B5A36; }
.morbit.on .mring { stroke: var(--accent); stroke-width: 2; stroke-dasharray: none; }
.morbit.on .mdot { fill: #FFB547; }
.morbit.on .mglow { fill: rgba(183,98,39,.28); }
.mplanet { animation: orbit 22s linear infinite; animation-play-state: paused; }
.mission-visual.run .mplanet { animation-play-state: running; }
.morbit[data-i="1"] .mplanet { animation-duration: 30s; animation-delay: -8s; }
.morbit[data-i="2"] .mplanet { animation-duration: 40s; animation-delay: -21s; }
.morbit[data-i="3"] .mplanet { animation-duration: 52s; animation-delay: -34s; }
@keyframes orbit { to { transform: rotate(360deg); } }
.mission-label { font: 500 14px var(--mono); color: var(--muted); }
.mission-label span { color: var(--accent-hi); }
.mission-list { display: grid; gap: 16px; }
@media (min-width: 960px) { .mission-list { gap: 5vh; padding-bottom: 6vh; } }
.mcard { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--panel); opacity: .5; transition: opacity .5s, border-color .5s, transform .5s var(--ease); position: relative; }
.mcard.on { opacity: 1; border-color: rgba(183,98,39,.7); transform: translateX(6px); }
.mcard-n { position: absolute; right: 22px; top: 18px; font: 500 13px var(--mono); color: var(--muted); }
.mcard p { color: var(--soft); margin-top: 8px; }
@media (max-width: 959px) { .mcard { opacity: 1; } .mcard.on { transform: none; } }

/* values constellation */
.values { padding-block: clamp(80px, 10vw, 130px); position: relative; }
.constellation { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .constellation { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; } }
.cmap { position: relative; width: 100%; aspect-ratio: 100 / 86; border-radius: 28px; background: radial-gradient(ellipse at 50% 40%, #1B2B48, #0B1322 70%); border: 1px solid #1F2E48; overflow: hidden; box-shadow: 0 30px 70px rgba(27,42,65,.25); }
.cmap::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1.2px 1.2px at 20% 30%, rgba(255,255,255,.6), transparent), radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,.5), transparent), radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,.4), transparent), radial-gradient(1.4px 1.4px at 85% 15%, rgba(255,255,255,.5), transparent), radial-gradient(1px 1px at 10% 85%, rgba(255,255,255,.4), transparent), radial-gradient(1px 1px at 55% 35%, rgba(255,255,255,.35), transparent); }
.cmap > svg { position: absolute; inset: 7% 6%; width: 88%; height: 86%; overflow: visible; }
.clink { stroke: rgba(183,98,39,.5); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke .4s, stroke-width .4s, stroke-dashoffset 1.2s ease; }
.drawn .clink { stroke-dashoffset: 0; }
.cstar { opacity: 0; transition: opacity .5s; }
.drawn .cstar { opacity: 1; }
html:not(.js) .clink { stroke-dashoffset: 0; }
html:not(.js) .cstar { opacity: 1; }
.clink { stroke-width: .3; }
.clink.on { stroke: #FFB547; stroke-width: .6; }
.cstar { position: absolute; transform: translate(-50%, -26px); display: grid; justify-items: center; gap: 8px; z-index: 2; }
.cstar-core { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #13203A; border: 1.5px solid rgba(183,98,39,.55); color: var(--accent-soft); transition: transform .35s var(--ease), background .35s, box-shadow .35s, color .35s; }
.cstar-core .ico { width: 22px; height: 22px; }
.cstar-name { font: 600 13px var(--display); color: #C9D2DE; white-space: nowrap; padding: 3px 10px; border-radius: 999px; background: rgba(7,11,20,.6); }
.cstar.linked .cstar-core { border-color: #FFB547; }
.cstar.on .cstar-core, .cstar:hover .cstar-core { transform: scale(1.18); background: var(--accent); color: #fff; box-shadow: 0 0 0 8px rgba(183,98,39,.22), 0 0 40px rgba(217,138,82,.6); }
.cstar.on .cstar-name { color: #fff; background: rgba(183,98,39,.85); }
@media (max-width: 600px) { .cstar { transform: translate(-50%, -20px); } .cstar-core { width: 40px; height: 40px; } .cstar-core .ico { width: 18px; height: 18px; } .cstar-name { font-size: 11px; padding: 2px 7px; } }
.cdetail { position: relative; min-height: 280px; }
.cvalue { padding: clamp(24px, 3vw, 34px); border-radius: 24px; background: #fff; border: 1px solid var(--ink-line); box-shadow: 0 20px 50px rgba(27,42,65,.08); animation: valIn .5s var(--ease); }
@keyframes valIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cvalue-n { display: block; font: 500 13px var(--mono); color: var(--ink-soft); margin-bottom: 14px; }
.cvalue h3 { margin-top: 16px; color: var(--ink); font-size: 26px; }
.cvalue p { color: var(--ink-soft); margin: 10px 0 18px; font-size: 16.5px; }
.cvalue .badge .ico { width: 13px; height: 13px; }

.industries { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 48px; }
.industries > .muted { margin-right: 6px; font-size: 14px; }

/* ================= Services ================= */
.svc-hero { min-height: 82svh; display: flex; align-items: center; }
.star-story { position: relative; }
#cvStory { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .4s; }
.star-story.active #cvStory { opacity: 1; }
.ssec { position: relative; z-index: 1; padding-block: clamp(70px, 10vw, 120px); }
.srow { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .srow { grid-template-columns: auto minmax(0, 1fr) minmax(0, .9fr); } .ssec.rev .srow { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) auto; } .ssec.rev .smark { order: 3; } .ssec.rev .sbody { order: 2; } .ssec.rev .sinc { order: 1; } }
.smark { width: 72px; height: 72px; border-radius: 50%; border: 1px dashed var(--line); display: grid; place-items: center; color: var(--accent); transition: border-color .5s, background .5s, box-shadow .5s; }
.smark .ico { width: 28px; height: 28px; opacity: .45; transition: opacity .5s, transform .5s; }
.ssec.lit .smark { border-style: solid; border-color: var(--accent); background: var(--accent-tint2); box-shadow: 0 0 40px rgba(183,98,39,.35); }
.ssec.lit .smark .ico { opacity: 1; transform: scale(1.15); }
.sbody .lbl { color: var(--accent-hi); font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.sbody h2 { margin-top: 10px; transition: color .5s; }
.ssec:not(.lit) .sbody h2 { color: #9AA6B8; }
.sbody p { color: var(--soft); margin-top: 14px; font-size: 17px; }
.sbody .row { margin-top: 22px; }
.sinc { padding: 26px; border-radius: 22px; background: rgba(17,27,46,.96); border: 1px solid var(--line); }
.sinc h3 { font: 600 13px var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.sinc .tick-list { gap: 9px; font-size: 15px; color: #D4DBE5; }
.send { position: relative; z-index: 1; padding-block: 110px 140px; text-align: center; }
.send-logo { display: inline-flex; flex-direction: column; align-items: center; }
.send-logo img { width: min(320px, 70vw); height: auto; }
#storyEnd { width: 34px; height: 34px; margin-bottom: -8px; color: var(--accent); transition: transform .6s, filter .6s; }
#storyEnd.arrived { transform: scale(1.5) rotate(45deg); background: radial-gradient(circle, rgba(183,98,39,0.5) 0, transparent 68%); border-radius: 50%; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--ink-line); background: #fff; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--ink-line); vertical-align: top; }
.compare thead th { font: 600 14px var(--display); color: var(--ink); background: #FFF0E3; }
.compare tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.compare td { color: var(--ink-soft); min-width: 180px; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* service detail */
.svc-detail-hero .card-ico { width: 64px; height: 64px; border-radius: 18px; }
.svc-detail-hero .card-ico .ico { width: 30px; height: 30px; }
.problem { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--ink-line); color: var(--ink); }
.problem .ico { width: 22px; height: 22px; color: #D0634A; flex: 0 0 auto; margin-top: 2px; }
.deliver { display: flex; flex-wrap: wrap; gap: 10px; }

/* ================= How we work ================= */
.promises { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.olayout { display: grid; gap: 56px; align-items: start; }
@media (min-width: 960px) { .olayout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } .ringcol { position: sticky; top: 100px; } }
.ringcol { display: none; }
@media (min-width: 960px) { .ringcol { display: block; } }
.ringbox { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1; margin: 0 auto; }
.ringbox svg { width: 100%; height: 100%; overflow: visible; }
.node { cursor: pointer; }
.node .hit { fill: transparent; }
.node .dot { fill: #0B1322; stroke: #3A4E6E; stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.node.done .dot { stroke: var(--accent); }
.node.on .dot { fill: var(--accent); stroke: var(--accent); }
.node text { font: 600 13px var(--body); fill: #9AA6B8; transition: fill .4s; }
.node.on text, .node.done text { fill: #F3F5F8; }
.node text.num { font: 500 12px var(--mono); fill: #F3F5F8; }
.ring-centre { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52%; text-align: center; pointer-events: none; }
.ring-centre .step { font: 500 13px var(--mono); color: var(--accent-hi); letter-spacing: .15em; }
.ring-centre h3 { font: 600 clamp(20px, 2.3vw, 28px)/1.2 var(--display); margin-top: 8px; }
.ring-centre p { color: var(--soft); font-size: 14px; margin-top: 8px; line-height: 1.5; }
.loopnote { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 14px; }
.stages-list { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 960px) { .stages-list { padding-bottom: 8vh; } .wstage { min-height: 38vh; display: flex; flex-direction: column; justify-content: center; } .wstage .scard { opacity: .5; } .wstage.on .scard { opacity: 1; border-color: rgba(183,98,39,.75); } }
@media (max-width: 959px) { .stages-list { gap: 0; border-left: 2px solid var(--line); margin-left: 10px; } .wstage { padding: 0 0 26px 26px; position: relative; } .wstage::before { content: ""; position: absolute; left: -10px; top: 30px; width: 18px; height: 18px; background: var(--accent); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); } }
.scard { padding: clamp(22px, 3vw, 30px); border-radius: 22px; background: var(--panel); border: 1px solid var(--line); transition: border-color .4s, opacity .4s; }
.shead { display: flex; align-items: center; gap: 14px; }
.snum { font: 500 13px var(--mono); color: var(--accent-hi); letter-spacing: .15em; }
.scard .sum { color: var(--soft); margin-top: 16px; font-size: 16.5px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 22px; }
@media (min-width: 560px) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cols h4 { font: 600 12px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cols ul { margin-top: 8px; padding-left: 18px; color: #D4DBE5; font-size: 14.5px; display: grid; gap: 4px; }
.get { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.get b { font-size: 13px; color: var(--muted); font-weight: 600; margin-right: 4px; }
.get span { font-size: 13px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(183,98,39,.5); color: #E3B08A; }

.ptable-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ptable { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; margin-top: 32px; }
.el { position: relative; aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); padding: 12px 14px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .3s, transform .35s var(--ease), background .3s, opacity .35s, filter .35s; overflow: hidden; }
.el::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(183,98,39,.35), transparent 70%); opacity: 0; transition: opacity .35s; }
.el:hover { border-color: var(--accent); transform: translateY(-4px) scale(1.03); background: var(--panel2); }
.el:hover::after { opacity: 1; }
.el.dim { opacity: .18; filter: grayscale(1); transform: scale(.96); }
.el .z { font: 500 11px var(--mono); color: var(--muted); }
.el .sym { font: 700 34px/1 var(--display); color: var(--fg); }
.el .nm { font-size: 12.5px; color: #D4DBE5; line-height: 1.3; }
.el .cat { position: absolute; right: 11px; top: 10px; font: 600 9.5px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-soft); }
.el[data-cat="Backend"] .sym { color: #F3F5F8; } .el[data-cat="Data"] .sym { color: #E7A877; } .el[data-cat="Frontend"] .sym { color: #FFD2A8; }
.el[data-cat="Mobile"] .sym { color: #B9CCE8; } .el[data-cat="AI"] .sym { color: #FFB547; } .el[data-cat="Connect"] .sym { color: #9ED3A3; } .el[data-cat="Cloud"] .sym { color: #A7C7FF; }
.engage { display: grid; gap: 18px; }
@media (min-width: 900px) { .engage { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.engage .card { display: flex; flex-direction: column; }
.engage .card .tick-list { margin-top: 18px; font-size: 15px; }

/* ================= Portfolio ================= */
.pf-hero { padding-bottom: 40px; }
.car-wrap { position: relative; margin-top: 44px; }
.car { position: relative; height: 380px; perspective: 1400px; touch-action: pan-y; cursor: grab; user-select: none; }
.car:active { cursor: grabbing; }
.ring3d { position: absolute; left: 50%; top: 10px; width: 0; height: 0; transform-style: preserve-3d; }
.ccard { position: absolute; left: -170px; top: 0; width: 340px; border-radius: 20px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); backface-visibility: hidden; transition: border-color .3s, opacity .3s; }
.ccard .proj-media { aspect-ratio: 16 / 10; }
.ccard .cbody { padding: 16px 18px 18px; }
.ccard .cbody b { display: block; font: 600 18px var(--display); }
.ccard .cbody span { color: var(--accent-soft); font-size: 13px; }
.ccard.front { border-color: rgba(183,98,39,.7); }
.carnav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .car { height: 320px; } .ccard { width: 260px; left: -130px; } }

.mapband .head { display: grid; gap: 20px; }
.mapwrap { margin-top: 32px; }
.mapinner { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 340px; border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 40%, #13213A, #0A111D 75%); overflow: hidden; }
.mapinner canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.maptip { position: absolute; z-index: 3; width: 260px; padding: 14px 16px; border-radius: 14px; background: rgba(11,19,34,.96); border: 1px solid rgba(183,98,39,.6); box-shadow: var(--shadow); pointer-events: auto; }
.maptip b { display: block; font: 600 16px var(--display); }
.maptip span { display: block; color: var(--accent-soft); font-size: 12.5px; margin-top: 2px; }
.maptip p { color: var(--soft); font-size: 13.5px; margin-top: 6px; }
.maptip a { display: inline-flex; margin-top: 8px; color: var(--accent-hi); font-weight: 600; font-size: 13.5px; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; color: var(--muted); font-size: 13.5px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 640px) { .mapinner { aspect-ratio: 4 / 5; } }
.pf-grid { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .pf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .pf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pf-grid > .is-hidden { display: none; }
.pf-count { color: var(--muted); font-size: 14px; }

/* case study */
.cs-hero .meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cs-shot { margin-top: -80px; position: relative; z-index: 2; }
.cs-device { max-width: 980px; margin-inline: auto; transform: perspective(1600px) rotateX(8deg); transform-origin: top center; transition: transform .8s var(--ease); }
.cs-device .screen { border-radius: 18px 18px 6px 6px; border: 12px solid #1A263B; overflow: hidden; aspect-ratio: 16 / 10; background: #0B1322; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.cs-device .screen img, .cs-device .screen svg { width: 100%; height: 100%; object-fit: cover; }
.cs-device .base { height: 18px; margin: 0 -5%; background: linear-gradient(#2A3A55, #16233A); border-radius: 0 0 22px 22px; }
.cs-body { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 960px) { .cs-body { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); align-items: start; } .cs-aside { position: sticky; top: 110px; } }
.cs-block + .cs-block { margin-top: 44px; }
.cs-block h2 { font-size: clamp(24px, 2.6vw, 32px); color: var(--ink); }
.cs-block p { margin-top: 14px; color: var(--ink-soft); font-size: 17.5px; line-height: 1.75; }
.feature-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature-grid li { list-style: none; display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--ink-line); font-weight: 500; }
.feature-grid .ico { width: 20px; height: 20px; color: var(--accent); }
.cs-aside .card { display: grid; gap: 18px; }
.cs-aside dt { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.cs-aside dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); }
.cs-aside dl { margin: 0; display: grid; gap: 16px; }
.next-proj { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); transition: border-color .3s; }
.next-proj:hover { border-color: var(--accent); }
.next-proj b { display: block; font: 600 clamp(22px, 3vw, 32px) var(--display); margin-top: 6px; }

/* ================= Products ================= */
.prod-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.product-block + .product-block { margin-top: clamp(80px, 10vw, 130px); }
.product-copy .h2 { margin-top: 12px; }
.product-copy .tagline { font: 500 clamp(18px, 2vw, 22px)/1.4 var(--display); margin-top: 12px; color: var(--fg); }
.section--paper .product-copy .tagline { color: var(--ink); }
.product-copy .lead { margin-top: 14px; }
.product-copy .tick-list { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 600px) { .product-copy .tick-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product-copy .row { margin-top: 28px; }
.mock-crm { width: 100%; height: 100%; display: grid; grid-template-columns: 22% 1fr; }
.mock-side { background: #1B2A41; padding: 10% 12%; display: grid; align-content: start; gap: 8px; }
.mock-side i { height: 6px; border-radius: 3px; background: #3A4E6E; display: block; }
.mock-side i:first-child { background: #B76227; width: 70%; height: 8px; margin-bottom: 6px; }
.mock-main { padding: 5%; display: grid; grid-template-rows: auto 1fr; gap: 6%; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.mock-kpis span { background: #fff; border: 1px solid #EADFD2; border-radius: 6px; height: 30px; position: relative; }
.mock-kpis span::after { content: ""; position: absolute; left: 12%; bottom: 22%; width: 50%; height: 7px; border-radius: 3px; background: #1B2A41; }
.mock-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4%; }
.mock-cols div { background: #EFE4D6; border-radius: 6px; padding: 6%; display: grid; align-content: start; gap: 5px; }
.mock-cols b { display: block; height: 18px; border-radius: 4px; background: #fff; }
.mock-cols div:last-child b:first-child { background: #FFD9BF; }
.mock-phone { padding: 16% 10%; display: grid; align-content: start; gap: 6px; height: 100%; }
.mock-phone .top { height: 26px; border-radius: 6px; background: #1B2A41; margin: -16% -10% 6%; height: 34px; }
.mock-phone b { display: block; height: 22px; border-radius: 5px; background: #fff; border: 1px solid #EADFD2; }
.mock-phone b.hl { background: #B76227; border: 0; }

/* ================= Contact ================= */
.contact-grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); } .contact-side { position: sticky; top: 100px; } }
.eform { padding: clamp(22px, 3.4vw, 40px); border-radius: 26px; background: linear-gradient(180deg, rgba(22,35,58,.92), rgba(15,24,41,.92)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.steps { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
.steps .sp { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap; }
.steps .sp i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font: 500 13px var(--mono); font-style: normal; transition: all .35s; }
.steps .sp.on { color: var(--fg); }
.steps .sp.on i { border-color: var(--accent); background: var(--accent-tint2); color: var(--accent-soft); }
.steps .sp.done i { background: var(--accent); border-color: var(--accent); color: #fff; }
.steps .line { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.steps .line::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.steps .line.done::after { transform: scaleX(1); }
@media (max-width: 560px) { .steps .sp span { display: none; } }
.estep h2 { font: 600 clamp(22px, 2.6vw, 28px)/1.25 var(--display); }
.estep > p.muted { margin-top: 6px; }
.svc-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
@media (min-width: 640px) { .svc-pick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-opt { position: relative; }
.svc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.svc-opt label { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 18px 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(7,11,20,.45); cursor: pointer; transition: border-color .25s, background .25s, transform .25s var(--ease); font-weight: 600; font-size: 15px; }
.svc-opt label .ico { width: 24px; height: 24px; color: var(--accent-soft); }
.svc-opt label small { font-weight: 400; color: var(--muted); font-size: 13px; }
.svc-opt input:checked + label { border-color: var(--accent); background: var(--accent-tint2); transform: translateY(-2px); }
.svc-opt input:focus-visible + label { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.svc-opt input:checked + label::after { content: ""; position: absolute; right: 14px; top: 14px; width: 18px; height: 18px; background: var(--accent); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-group input { position: absolute; opacity: 0; pointer-events: none; }
.pill-group label { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; font-size: 14.5px; color: var(--soft); transition: all .25s; }
.pill-group input:checked + label { border-color: var(--accent); background: var(--accent-tint2); color: var(--fg); }
.pill-group input:focus-visible + label { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.form-grid { display: grid; gap: 18px; margin-top: 22px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 28px; }
.form-error { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: rgba(229,115,95,.12); border: 1px solid rgba(229,115,95,.4); color: #F7B8AB; font-size: 14.5px; }
.thanks { text-align: center; padding: 30px 10px; }
.thanks .big-star { width: 90px; height: 90px; margin: 0 auto; color: var(--accent); background: radial-gradient(circle, rgba(183,98,39,0.4) 0, transparent 68%); border-radius: 50%; animation: spin 12s linear infinite; }
.thanks .ref { display: inline-block; margin-top: 16px; padding: 10px 18px; border-radius: 12px; border: 1px dashed var(--accent); font: 500 18px var(--mono); color: var(--accent-soft); }
.contact-side { display: grid; gap: 18px; }
.cinfo { display: grid; gap: 4px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.cinfo .k { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.cinfo .k .ico { width: 16px; height: 16px; color: var(--accent); }
.cinfo .v { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 600 17px var(--display); word-break: break-word; }
.copy-btn { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--soft); }
.copy-btn .ico { width: 16px; height: 16px; }
.copy-btn.copied { border-color: #6FBF7E; color: #9ED3A3; }
.next-steps { list-style: none; display: grid; gap: 14px; counter-reset: ns; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: auto 1fr; gap: 12px; color: var(--soft); font-size: 15px; }
.next-steps li::before { content: counter(ns, decimal-leading-zero); font: 500 13px var(--mono); color: var(--accent-hi); padding-top: 2px; }
.next-steps b { color: var(--fg); display: block; }

/* ================= Blog ================= */
.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.pager { display: flex; gap: 10px; justify-content: center; margin-top: 48px; }
.post-hero { padding-bottom: clamp(48px, 6vw, 72px); }
.post-hero .h1 { font-size: clamp(32px, 4.6vw, 56px); }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 22px; color: var(--soft); font-size: 14.5px; }
.post-meta .av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.post-cover-lg { margin-top: -40px; position: relative; z-index: 2; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 8; box-shadow: var(--shadow); }
.post-cover-lg img { width: 100%; height: 100%; object-fit: cover; }
.post-layout { display: grid; gap: 48px; }
@media (min-width: 1100px) { .post-layout { grid-template-columns: minmax(0, 1fr) 280px; } .post-aside { position: sticky; top: 110px; align-self: start; } }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--ink-line); align-items: center; }
.author-card { display: flex; gap: 16px; align-items: center; margin-top: 36px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--ink-line); }
.author-card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author-card b { font: 600 18px var(--display); color: var(--ink); }
.author-card p { color: var(--ink-soft); font-size: 14.5px; margin-top: 2px; }

/* ================= Legal ================= */
.legal .prose h2 { font-size: 24px; }

/* ================= Error ================= */
.err-page { min-height: 80svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 80px; }
.err-code { font: 700 clamp(100px, 22vw, 220px)/1 var(--display); background: linear-gradient(180deg, #D98A52, rgba(183,98,39,.1)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sbody .btn { white-space: normal; text-align: left; line-height: 1.3; padding-block: 8px; }

/* ---------- HTML sitemap ---------- */
.sitemap-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.sitemap-col { padding: 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); }
.sitemap-col .foot-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.sitemap-col .foot-title .ico { width: 18px; height: 18px; color: var(--accent); }
.sitemap-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.sitemap-col a { color: var(--soft); } .sitemap-col a:hover { color: var(--fg); text-decoration: underline; }

/* ---------- About: who we are (bento) ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento-build { grid-column: 1 / -1; } .bento-sign { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); } .bento-build { grid-column: span 2; } .bento-sign { grid-column: span 3; } }
.bento-card { position: relative; padding: clamp(22px, 2.6vw, 30px); border-radius: 22px; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.bento-card:hover { border-color: rgba(183,98,39,.5); transform: translateY(-3px); }
.bento-card h3 { font: 600 20px/1.3 var(--display); margin-top: 14px; }
.bento-card p { color: var(--soft); margin-top: 8px; }
.bento-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(183,98,39,.14); color: var(--accent-hi); }
.bento-ico .ico { width: 22px; height: 22px; }
.bento-k { font: 500 12.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hi); }
.bento-build { background: radial-gradient(ellipse at 100% 0%, rgba(183,98,39,.16), transparent 55%), var(--panel); }
.bento-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 600px) { .bento-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bento-list a { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 16px; border-radius: 16px; background: rgba(7,11,20,.45); border: 1px solid var(--line-soft); color: inherit; transition: border-color .25s, background .25s; }
.bento-list a:hover { border-color: rgba(183,98,39,.55); background: rgba(183,98,39,.08); }
.bento-list .ico { width: 24px; height: 24px; flex: none; color: var(--accent-hi); margin-top: 2px; }
.bento-list b { display: block; font: 600 16.5px/1.3 var(--display); }
.bento-list small { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
.bento-sign { display: grid; gap: 10px; align-items: center; background: linear-gradient(110deg, rgba(183,98,39,.2), rgba(17,27,46,.9) 60%); }
@media (min-width: 900px) { .bento-sign { grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; } }
.bento-sign p { margin: 0; color: var(--fg); font-size: 17px; }
.bento-tag { font: 700 clamp(24px, 2.6vw, 32px)/1.1 var(--display); background: linear-gradient(90deg, #fff, #E7A877); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
