/* Uses Berlin Sans FB Demi when installed, with a visually compatible web fallback. */

:root {
  --orange: #ff5a12;
  --orange-2: #ff7a2f;
  --orange-soft: #fff0e8;
  --ink: #0b0b0d;
  --ink-2: #202024;
  --muted: #6f7078;
  --line: rgba(11, 11, 13, 0.12);
  --paper: #f8f6f2;
  --white: #ffffff;
  --dark-paper: #111114;
  --heading-font: "Berlin Sans FB Demi", "Fredoka", "Arial Rounded MT Bold", sans-serif;
  --body-font: "DM Sans", Arial, sans-serif;
  --container: min(1180px, calc(100vw - 40px));
  --section: clamp(76px, 9vw, 132px);
  --radius-xl: 38px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow: 0 30px 80px rgba(20, 15, 12, 0.12);
  --ease: cubic-bezier(.2,.75,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; font-family: var(--body-font); color: var(--ink); background: var(--paper); line-height: 1.6; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--orange); color: white; }
:focus-visible { outline: 3px solid rgba(255,90,18,.35); outline-offset: 4px; }

.skip-link { position: fixed; left: 20px; top: -80px; z-index: 9999; background: var(--ink); color: white; padding: 12px 18px; border-radius: 999px; transition: top .2s; }
.skip-link:focus { top: 18px; }
.container { width: var(--container); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-sm { padding-block: clamp(48px, 6vw, 82px); }
.section-dark { background: var(--ink); color: white; }
.section-white { background: white; }
.section-orange { background: var(--orange); color: var(--ink); }

.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(11,11,13,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(11,11,13,.045) 1px, transparent 1px); background-size: 62px 62px; mask-image: linear-gradient(to bottom, black 0%, transparent 90%); }
.grid-bg::after { content: ""; position: absolute; width: 680px; height: 680px; top: -220px; right: -180px; z-index: -1; background: radial-gradient(circle, rgba(255,90,18,.24), transparent 68%); filter: blur(8px); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px rgba(255,90,18,.12); }
.section-dark .eyebrow::before { box-shadow: 0 0 0 7px rgba(255,90,18,.2); }
.display { font-family: var(--heading-font); font-size: clamp(54px, 8vw, 112px); line-height: .88; letter-spacing: -.055em; margin: 0; font-weight: 600; }
.page-title { font-family: var(--heading-font); font-size: clamp(52px, 7vw, 96px); line-height: .92; letter-spacing: -.05em; margin: 0; font-weight: 600; }
.section-title { font-family: var(--heading-font); font-size: clamp(38px, 5vw, 68px); line-height: .98; letter-spacing: -.04em; margin: 0; font-weight: 600; }
.card-title { font-family: var(--heading-font); font-size: clamp(25px, 2.5vw, 34px); line-height: 1; margin: 0; }
.lead { font-size: clamp(18px, 2vw, 23px); color: var(--muted); max-width: 760px; margin: 24px 0 0; line-height: 1.55; }
.section-dark .lead { color: rgba(255,255,255,.65); }
.accent { color: var(--orange); }
.kicker-line { width: 96px; height: 8px; background: var(--orange); border-radius: 999px; margin: 30px 0 0; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; cursor: pointer; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--orange); color: white; box-shadow: 0 16px 38px rgba(255,90,18,.26); }
.button-primary:hover { box-shadow: 0 20px 48px rgba(255,90,18,.34); }
.button-dark { background: var(--ink); color: white; }
.button-light { background: white; color: var(--ink); }
.button-outline { border-color: var(--line); background: rgba(255,255,255,.65); backdrop-filter: blur(14px); }
.button-ghost { border-color: rgba(255,255,255,.22); color: white; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; }
.text-link span { color: var(--orange); transition: transform .2s; }
.text-link:hover span { transform: translate(3px,-3px); }

.site-header { position: sticky; top: 0; z-index: 1000; height: 86px; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(248,246,242,.9); backdrop-filter: blur(18px); border-color: var(--line); box-shadow: 0 10px 30px rgba(11,11,13,.05); }
.header-inner { width: var(--container); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand-logo { width: 205px; height: 58px; display: flex; align-items: center; overflow: hidden; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav > a, .nav-drop > button { position: relative; border: 0; background: none; padding: 10px 0; font-weight: 700; font-size: 15px; cursor: pointer; }
.primary-nav > a::after, .nav-drop > button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--orange); transition: right .25s var(--ease); }
.primary-nav > a:hover::after, .primary-nav > a.active::after, .nav-drop:hover > button::after { right: 0; }
.nav-drop { position: relative; }
.nav-drop > button { display: flex; align-items: center; justify-content: center; gap: 5px; margin-inline: auto; text-align: center; }
.nav-panel { position: absolute; left: 50%; top: calc(100% + 14px); transform: translate(-50%,10px); width: min(720px, 78vw); padding: 20px; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .22s var(--ease); }
.nav-drop:hover .nav-panel, .nav-drop:focus-within .nav-panel { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.nav-service { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 13px; border-radius: 14px; }
.nav-service:hover { background: var(--orange-soft); }
.nav-service > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--ink); color: white; font-size: 12px; font-weight: 700; }
.nav-service strong { display: block; font-size: 14px; }
.nav-service small { display: block; color: var(--muted); line-height: 1.35; margin-top: 3px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: white; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); transition: .2s; }
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 1200; width: 0; height: 3px; background: var(--orange); }

.hero { min-height: calc(100vh - 86px); display: flex; align-items: center; padding: clamp(70px, 9vw, 120px) 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(42px, 7vw, 95px); }
.hero-copy { position: relative; z-index: 3; }
.hero-copy .display { max-width: 720px; }
.hero-visual { position: relative; min-height: 600px; perspective: 1400px; }
.browser-stage { position: absolute; width: min(680px, 100%); right: -6%; top: 12%; transform: rotateY(-10deg) rotateX(5deg) rotateZ(-1deg); transform-style: preserve-3d; transition: transform .35s var(--ease); }
.browser-stage:hover { transform: rotateY(-5deg) rotateX(2deg) translateY(-7px); }
.browser-card { overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: 28px; background: #222; box-shadow: 0 50px 110px rgba(29,17,9,.28); }
.browser-top { height: 48px; display: flex; align-items: center; gap: 7px; padding: 0 18px; background: rgba(255,255,255,.96); }
.browser-top i { width: 9px; height: 9px; border-radius: 50%; background: #d4d4d4; }
.browser-top span { margin-left: 12px; flex: 1; padding: 7px 14px; background: #f1f1f1; color: #939393; border-radius: 999px; font-size: 11px; }
.browser-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.float-card { position: absolute; z-index: 4; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 18px 50px rgba(11,11,13,.15); backdrop-filter: blur(16px); animation: float 5s ease-in-out infinite; }
.float-card strong { display: block; font-size: 17px; }
.float-card small { color: var(--muted); }
.float-card.one { left: -3%; top: 14%; }
.float-card.two { right: -4%; bottom: 16%; animation-delay: -2s; }
.float-card.three { left: 8%; bottom: 5%; background: var(--ink); color: white; animation-delay: -1s; }
.float-card.three small { color: rgba(255,255,255,.55); }
.orbit { position: absolute; border-radius: 50%; background: var(--orange); box-shadow: inset -30px -40px 60px rgba(120,20,0,.25), 0 30px 60px rgba(255,90,18,.28); }
.orbit.o1 { width: 150px; height: 150px; right: -5%; top: 5%; }
.orbit.o2 { width: 90px; height: 90px; left: 4%; bottom: 22%; background: #c8c8ca; box-shadow: inset -20px -25px 40px rgba(0,0,0,.22); }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-11px) rotate(1deg); } }
.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; }
.hero-tags span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: white; background: var(--orange); font-size: 12px; font-weight: 700; }
.hero-tags span:nth-child(2) { background: var(--ink); }
.hero-tags span:nth-child(3) { background: white; color: var(--ink); border: 1px solid var(--line); }
.hero-tags p { margin: 0 0 0 6px; font-weight: 700; line-height: 1.25; }
.hero-tags p small { display: block; color: var(--muted); font-weight: 500; }

.page-hero { padding: clamp(82px, 10vw, 145px) 0 clamp(70px, 8vw, 110px); overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; }
.page-hero-copy .lead { max-width: 670px; }
.page-index { justify-self: end; width: min(420px,100%); padding: 28px; border-radius: 28px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); transform: rotate(2deg); }
.page-index strong { display: block; font-family: var(--heading-font); font-size: 70px; line-height: 1; color: var(--orange); }
.page-index p { margin: 12px 0 0; color: var(--muted); }
.breadcrumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 30px; color: var(--muted); font-size: 14px; }
.breadcrumbs a:hover { color: var(--orange); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-head > div:first-child { max-width: 760px; }
.section-head p { max-width: 520px; margin: 0; color: var(--muted); }
.section-dark .section-head p { color: rgba(255,255,255,.6); }

.stats-strip { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.45); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat { padding: 22px 32px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--heading-font); font-size: 46px; line-height: 1; color: var(--orange); }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }

.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.service-card { position: relative; min-height: 390px; padding: 30px; border-radius: var(--radius-lg); background: white; border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d; transition: border-color .25s, box-shadow .25s, transform .25s; }
.service-card::before { content: ""; position: absolute; width: 230px; height: 230px; right: -105px; top: -105px; border-radius: 50%; background: var(--orange-soft); transition: transform .45s var(--ease), background .3s; }
.service-card:hover { border-color: rgba(255,90,18,.35); box-shadow: 0 28px 70px rgba(35,20,12,.12); }
.service-card:hover::before { transform: scale(1.35); background: rgba(255,90,18,.18); }
.service-card-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: start; }
.service-number { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: white; font-weight: 700; }
.service-icon { position: relative; z-index: 2; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: var(--orange); color: white; }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { position: relative; z-index: 2; margin: 72px 0 14px; font-family: var(--heading-font); font-size: 31px; line-height: 1; }
.service-card p { position: relative; z-index: 2; margin: 0; color: var(--muted); }
.service-card .text-link { position: absolute; left: 30px; bottom: 28px; }

.work-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.project-card { border-radius: 30px; overflow: hidden; background: white; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.project-image { position: relative; overflow: hidden; aspect-ratio: 4/3; background: #ddd; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-image img { transform: scale(1.035); }
.project-badge { position: absolute; left: 18px; top: 18px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.project-arrow { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: white; font-size: 22px; transition: transform .25s; }
.project-card:hover .project-arrow { transform: rotate(45deg); }
.project-content { padding: 26px 28px 30px; }
.project-content > span { color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.project-content h3 { margin: 8px 0 9px; font-family: var(--heading-font); font-size: 31px; line-height: 1; }
.project-content p { margin: 0; color: var(--muted); }
.project-content small { display: block; margin-top: 18px; font-weight: 700; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-button { border: 1px solid var(--line); background: white; padding: 11px 17px; border-radius: 999px; cursor: pointer; font-weight: 700; transition: .2s; }
.filter-button.active, .filter-button:hover { background: var(--ink); color: white; border-color: var(--ink); }
.disclosure { margin: 0 0 28px; padding: 16px 18px; border-left: 4px solid var(--orange); background: var(--orange-soft); color: #6c3a20; border-radius: 0 14px 14px 0; font-size: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px,7vw,90px); align-items: center; }
.media-frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.media-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.4); border-radius: inherit; pointer-events: none; }
.media-note { position: absolute; right: 24px; bottom: 24px; max-width: 260px; padding: 18px; border-radius: 18px; background: rgba(11,11,13,.88); color: white; backdrop-filter: blur(12px); }
.media-note strong { display: block; }
.media-note small { color: rgba(255,255,255,.65); }
.check-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 12px; }
.check-list li::before { content: "✓"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--orange); color: white; font-weight: 700; }

.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.value-card { padding: 28px; border-radius: 22px; background: white; border: 1px solid var(--line); }
.value-card > span { display: inline-block; color: var(--orange); font-weight: 700; margin-bottom: 42px; }
.value-card h3 { margin: 0 0 12px; font-family: var(--heading-font); font-size: 27px; line-height: 1; }
.value-card p { margin: 0; color: var(--muted); }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.18); }
.process-step { padding: 35px 28px 0; border-right: 1px solid rgba(255,255,255,.18); }
.process-step:last-child { border-right: 0; }
.process-step > span { display: block; color: var(--orange); font-weight: 700; margin-bottom: 60px; }
.process-step h3 { font-family: var(--heading-font); font-size: 30px; margin: 0 0 14px; }
.process-step p { color: rgba(255,255,255,.6); margin: 0; }


.review-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.review-card { min-height: 360px; display: flex; flex-direction: column; padding: 30px; border-radius: 26px; background: white; border: 1px solid var(--line); }
.review-top { display: flex; align-items: center; justify-content: space-between; }
.stars { color: var(--orange); letter-spacing: 3px; }
.region { padding: 7px 10px; border-radius: 999px; background: var(--orange-soft); color: #7b3517; font-size: 11px; font-weight: 700; }
.review-card blockquote { margin: 40px 0 30px; font-family: var(--heading-font); font-size: clamp(25px,2.5vw,34px); line-height: 1.18; letter-spacing: -.02em; }
.review-person { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.review-person > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: white; font-weight: 700; }
.review-person strong, .review-person small { display: block; }
.review-person small { color: var(--muted); }

.home-review-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.home-review-grid .review-card { min-height: 420px; }
.home-review-grid .review-card blockquote { font-size: clamp(22px,1.8vw,29px); }
.review-card { overflow: hidden; box-shadow: 0 18px 46px rgba(15,15,17,.055); }
.review-card::before { content: "“"; position: absolute; right: 24px; bottom: -52px; font-family: Georgia,serif; font-size: 170px; line-height: 1; color: rgba(255,90,18,.055); pointer-events: none; }
.review-card { position: relative; }
.review-card > * { position: relative; z-index: 1; }

.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: white; overflow: hidden; }
.faq-question { width: 100%; padding: 20px 22px; border: 0; background: none; text-align: left; display: flex; justify-content: space-between; gap: 20px; font-weight: 700; cursor: pointer; }
.faq-question span:last-child { color: var(--orange); font-size: 23px; transition: transform .2s; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .28s var(--ease); }
.faq-answer p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

.service-detail-hero { padding-bottom: 80px; }
.service-hero-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: center; }
.service-hero-media { position: relative; padding: 22px; border-radius: 36px; background: var(--ink); box-shadow: var(--shadow); transform: rotate(2deg); }
.service-hero-media img { border-radius: 22px; width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center; }
.service-hero-chip { position: absolute; right: -20px; bottom: 30px; padding: 16px 18px; border-radius: 16px; background: var(--orange); color: white; font-weight: 700; box-shadow: 0 20px 44px rgba(255,90,18,.28); }
.detail-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.sticky-label { position: sticky; top: 120px; align-self: start; }
.deliverable-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.deliverable { padding: 22px; border-radius: 18px; background: white; border: 1px solid var(--line); font-weight: 700; }
.deliverable span { color: var(--orange); margin-right: 8px; }

.case-hero-image { margin-top: 48px; border-radius: 38px; overflow: hidden; box-shadow: var(--shadow); background: white; }
.case-hero-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center; }
.case-info { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 18px; }
.case-info div { padding: 20px; border-radius: 18px; background: white; border: 1px solid var(--line); }
.case-info span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.case-info strong { display: block; margin-top: 6px; }
.case-copy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.highlight-list { display: grid; gap: 12px; margin-top: 24px; }
.highlight-list div { padding: 18px 20px; border-radius: 16px; background: var(--orange-soft); font-weight: 700; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.contact-panel { position: sticky; top: 116px; padding: 32px; border-radius: 28px; background: var(--ink); color: white; }
.contact-panel h2 { font-family: var(--heading-font); font-size: 42px; line-height: 1; margin: 0 0 24px; }
.contact-links { display: grid; gap: 10px; }
.contact-links a, .contact-links p { margin: 0; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.82); }
.contact-links span { display: block; margin-bottom: 4px; color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.order-form { padding: 36px; border-radius: 30px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1/-1; }
.field label { font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #fbfaf8; padding: 14px 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,90,18,.1); }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.consent { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 500; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }

.cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: clamp(36px,5vw,64px); border-radius: 36px; background: var(--orange); color: var(--ink); }
.cta-panel::before { content: ""; position: absolute; width: 300px; height: 300px; right: 18%; top: -160px; border-radius: 50%; border: 50px solid rgba(255,255,255,.18); }
.cta-panel h2 { position: relative; margin: 0; font-family: var(--heading-font); font-size: clamp(42px,5vw,72px); line-height: .95; max-width: 760px; }
.cta-panel .button { position: relative; }

.site-footer { background: var(--ink); color: white; padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr .8fr; gap: 45px; }
.footer-brand img { width: 250px; height: 90px; object-fit: contain; object-position: left center; }
.footer-brand p { max-width: 380px; color: rgba(255,255,255,.58); }
.footer-column h3 { margin: 0 0 18px; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--orange); }
.footer-column a { display: block; padding: 5px 0; color: rgba(255,255,255,.72); }
.footer-column a:hover { color: white; }
.footer-bottom { margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.45); font-size: 13px; }

.whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; align-items: center; gap: 10px; padding: 11px 17px 11px 11px; border-radius: 999px; background: var(--ink); color: white; box-shadow: 0 18px 50px rgba(0,0,0,.25); font-weight: 700; font-size: 13px; }
.whatsapp span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #25d366; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease) var(--reveal-delay,0ms), transform .7s var(--ease) var(--reveal-delay,0ms); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .primary-nav { gap: 18px; }
  .primary-nav > a, .nav-drop > button { font-size: 14px; }
  .header-actions .button { display: none; }
  .hero-grid, .page-hero-grid, .service-hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 520px; }
  .browser-stage { right: 5%; width: 80%; }
  .page-index { justify-self: start; transform: none; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .values-grid, .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-step { border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 34px; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 1080px) and (min-width: 821px) {
  .home-review-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-review-grid .review-card:last-child { grid-column: 1 / -1; min-height: 330px; }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 28px, 720px); }
  .site-header { height: 76px; }
  .brand-logo { width: 180px; height: 52px; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; inset: 76px 0 0; z-index: 999; display: block; padding: 30px 24px 80px; background: var(--paper); overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav > a, .nav-drop > button { display: flex; width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 21px; font-family: var(--heading-font); }
  .primary-nav > a::after, .nav-drop > button::after { display: none; }
  .nav-drop > button { justify-content: center; }
  .nav-panel { position: static; width: 100%; padding: 12px 0 0; display: grid; grid-template-columns: 1fr; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-service { padding: 10px 0; }
  .header-actions { margin-left: auto; }
  .hero { padding-top: 60px; }
  .hero-visual { min-height: 450px; }
  .browser-stage { width: 90%; right: 3%; top: 11%; transform: rotateY(-6deg) rotateX(3deg); }
  .float-card.one { left: 0; }
  .float-card.two { right: 0; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services-grid, .work-grid, .review-grid, .split, .detail-grid, .case-copy-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: 0; }
  .contact-panel, .sticky-label { position: static; }
  .cta-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 560px) {
  :root { --container: min(100% - 22px, 520px); --section: 70px; }
  .display { font-size: clamp(48px,15vw,72px); }
  .page-title { font-size: clamp(46px,14vw,68px); }
  .section-title { font-size: 42px; }
  .hero-visual { min-height: 365px; }
  .browser-stage { width: 96%; right: 0; }
  .browser-top { height: 38px; }
  .float-card { padding: 11px 13px; border-radius: 13px; }
  .float-card strong { font-size: 13px; }
  .float-card small { font-size: 10px; }
  .float-card.one { top: 6%; }
  .float-card.two { bottom: 9%; }
  .float-card.three { display: none; }
  .orbit.o1 { width: 80px; height: 80px; }
  .hero-tags p { width: calc(100% - 160px); }
  .stats-grid, .services-grid, .values-grid, .case-info, .deliverable-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .service-card { min-height: 355px; }
  .media-frame img { min-height: 380px; }
  .review-card { min-height: 330px; }
  .order-form { padding: 24px 18px; }
  .field.full { grid-column: auto; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .whatsapp { width: 52px; height: 52px; padding: 7px; justify-content: center; }
  .whatsapp > strong { display: none; }
  .whatsapp span { width: 38px; height: 38px; }
}

@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; }
}


/* Softvera 3D and WhatsApp production enhancements */
.brand-logo img { width: auto; height: 58px; object-fit: contain; }
.footer-brand > a { display: inline-flex; padding: 10px 14px; background: #fff; border-radius: 16px; }
.footer-brand img { width: min(260px, 100%); height: auto; }

.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before,
.hero::after { content: ""; position: absolute; pointer-events: none; z-index: -1; border-radius: 50%; filter: blur(2px); }
.hero::before { width: 520px; height: 520px; right: -180px; top: -180px; background: radial-gradient(circle, rgba(255,90,18,.22), transparent 68%); animation: driftGlow 10s ease-in-out infinite alternate; }
.hero::after { width: 380px; height: 380px; left: -170px; bottom: -170px; background: radial-gradient(circle, rgba(255,122,47,.13), transparent 70%); animation: driftGlow 13s ease-in-out infinite alternate-reverse; }
.hero-visual::after { content: ""; position: absolute; inset: 6% -6% 2% 3%; z-index: -1; background: radial-gradient(circle at var(--pointer-x,65%) var(--pointer-y,35%), rgba(255,90,18,.26), transparent 42%); filter: blur(32px); transition: background .2s ease; }
.browser-card { position: relative; overflow: hidden; transform-style: preserve-3d; }
.browser-card::after { content: ""; position: absolute; inset: -45%; pointer-events: none; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.28) 50%, transparent 58%); transform: translateX(-55%) rotate(8deg); animation: glassSweep 7s ease-in-out infinite; }
.browser-card img { height: 520px; object-fit: cover; object-position: center; transform: translateZ(18px) scale(1.015); }

.service-card, .project-card, .review-card { transform-style: preserve-3d; will-change: transform; }
.service-card > *, .project-card > *, .review-card > * { transform: translateZ(10px); }
.project-card { transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.project-card:hover { box-shadow: 0 26px 70px rgba(11,11,13,.16); }
.project-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 35%, rgba(255,90,18,.10)); pointer-events: none; }
.project-image img { transform: scale(1.01); }
.project-card:hover .project-image img { transform: scale(1.055); }
.case-hero-image { transform: perspective(1400px) rotateX(1.2deg); transform-origin: center top; }
.case-hero-image img, .service-hero-media img, .media-frame img { transform: translateY(var(--parallax-y,0)) scale(1.03); transition: transform .15s linear; }

.whatsapp { background: #25d366; color: white; box-shadow: 0 18px 50px rgba(37,211,102,.34); border: 1px solid rgba(255,255,255,.35); }
.whatsapp:hover { background: #1fbd5b; transform: translateY(-3px) scale(1.02); }
.whatsapp .wa-icon { background: white; }
.whatsapp .wa-icon img { width: 23px; height: 23px; display: block; filter: invert(65%) sepia(84%) saturate(544%) hue-rotate(88deg) brightness(92%) contrast(92%); }
.contact-whatsapp strong { display: flex; align-items: center; gap: 9px; }
.contact-whatsapp img { width: 22px; height: 22px; filter: invert(65%) sepia(84%) saturate(544%) hue-rotate(88deg) brightness(92%) contrast(92%); }
.whatsapp-form-button { background: #25d366; box-shadow: 0 16px 38px rgba(37,211,102,.26); }
.whatsapp-form-button:hover { background: #1fbd5b; box-shadow: 0 20px 48px rgba(37,211,102,.34); }
.whatsapp-form-button img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.form-status { min-height: 1.4em; margin-top: 13px; color: #15803d; font-weight: 700; }
.form-note code { padding: 2px 6px; border-radius: 6px; background: #f1f1f3; color: var(--ink); }

@keyframes driftGlow { from { transform: translate3d(-10px,-8px,0) scale(.95); } to { transform: translate3d(28px,22px,0) scale(1.08); } }
@keyframes glassSweep { 0%,28% { transform: translateX(-58%) rotate(8deg); opacity: 0; } 38% { opacity: .55; } 55%,100% { transform: translateX(58%) rotate(8deg); opacity: 0; } }

@media (max-width: 760px) {
  .brand-logo img { height: 46px; max-width: 190px; }
  .browser-card img { height: 330px; }
  .whatsapp .wa-icon img { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .browser-card::after { animation: none !important; }
  .case-hero-image img, .service-hero-media img, .media-frame img { transform: none !important; }
}


/* Premium photorealistic work presentation and pointer-responsive depth */
.project-card, .service-card, .review-card, .service-hero-media, .case-hero-image { transform-style: preserve-3d; will-change: transform; }
.project-image img, .service-hero-media img, .case-hero-image img, .media-frame img, .browser-card img { image-rendering: auto; backface-visibility: hidden; }
.spotlight-card { position: relative; isolation: isolate; }
.spotlight-card::after { content: ""; position: absolute; inset: 0; z-index: 12; pointer-events: none; border-radius: inherit; background: radial-gradient(260px circle at var(--spot-x,50%) var(--spot-y,50%), rgba(255,255,255,.18), transparent 58%); opacity: 0; transition: opacity .25s ease; }
.spotlight-card:hover::after { opacity: 1; }
.project-card .project-content, .service-card > *, .review-card > * { position: relative; z-index: 2; }
.project-card { box-shadow: 0 16px 44px rgba(22,15,10,.06); }
.project-card:hover { box-shadow: 0 34px 90px rgba(22,15,10,.16); }
.project-image { background: #171719; }
.project-image::before { content: ""; position: absolute; inset: auto 0 0; height: 34%; z-index: 2; background: linear-gradient(to top, rgba(7,7,8,.42), transparent); pointer-events: none; }
.project-image img { filter: saturate(.98) contrast(1.02); }
.project-card:hover .project-image img { transform: scale(1.045) translateZ(12px); }
.service-hero-media, .case-hero-image { overflow: hidden; border: 1px solid rgba(255,255,255,.75); }
.service-hero-media::before, .case-hero-image::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.14), transparent 34%, rgba(255,90,18,.08)); }
.media-frame { box-shadow: 0 30px 80px rgba(20,15,12,.14); }
.browser-stage { animation: stageFloat 7.5s ease-in-out infinite; }
.orbit.o1 { animation: orbitFloatOne 8s ease-in-out infinite; }
.orbit.o2 { animation: orbitFloatTwo 9s ease-in-out infinite reverse; }
.float-card { border-color: rgba(255,255,255,.92); }
@keyframes stageFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes orbitFloatOne { 0%,100% { transform: translate3d(0,0,0) rotate(0deg); } 50% { transform: translate3d(-14px,12px,0) rotate(10deg); } }
@keyframes orbitFloatTwo { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(12px,-12px,0); } }
@media (prefers-reduced-motion: reduce) { .browser-stage, .orbit.o1, .orbit.o2 { animation: none !important; } .spotlight-card::after { display: none; } }


/* Deployment-ready responsive hardening */
html { overflow-x: clip; text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; min-width: 280px; }
body.menu-open { overflow: hidden; }
img, svg, video, canvas { max-width: 100%; }
button, input, select, textarea { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
.display, .page-title, .section-title, .card-title, h1, h2, h3, p, a, span { overflow-wrap: anywhere; }
.header-inner, .hero-grid, .page-hero-grid, .service-hero-grid, .split, .detail-grid, .case-copy-grid, .contact-grid, .footer-grid { min-width: 0; }
.hero-copy, .page-hero-copy, .service-hero-grid > *, .split > *, .detail-grid > *, .case-copy-grid > *, .contact-grid > *, .footer-grid > * { min-width: 0; }
.button { min-height: 48px; text-align: center; }
.primary-nav a, .footer-column a, .contact-links a { overflow-wrap: anywhere; }
.filter-row { scrollbar-width: thin; overscroll-behavior-inline: contain; }
.experience-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.experience-card { min-height: 260px; padding: 30px; border-radius: 26px; background: white; border: 1px solid var(--line); box-shadow: 0 14px 38px rgba(22,15,10,.05); }
.experience-card > span { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 46px; border-radius: 15px; background: var(--orange-soft); color: var(--orange); font-weight: 800; }
.experience-card h3 { margin: 0 0 12px; font-family: var(--heading-font); font-size: 30px; line-height: 1.05; }
.experience-card p { margin: 0; color: var(--muted); }
.legal-copy { max-width: 860px; }
.legal-copy h2 { margin: 46px 0 14px; font-family: var(--heading-font); font-size: clamp(30px,4vw,46px); line-height: 1.05; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p { color: var(--muted); font-size: 17px; line-height: 1.75; }
[hidden] { display: none !important; }

@media (min-width: 1800px) {
  :root { --container: min(100% - 120px, 1560px); }
  .hero-grid { gap: 100px; }
  .services-grid { gap: 24px; }
}

@media (max-width: 1180px) {
  .experience-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .header-inner { gap: 18px; }
}

@media (max-width: 820px) {
  .primary-nav { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .header-inner { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
  .page-hero, .hero { padding-top: 48px; }
  .service-hero-media { transform: none; }
  .case-hero-image { transform: none; }
  .case-hero-image img, .service-hero-media img { aspect-ratio: 16/10; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
  .filter-button { flex: 0 0 auto; scroll-snap-align: start; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card { min-height: auto; }
  .experience-card > span { margin-bottom: 28px; }
}

@media (max-width: 640px) {
  .button-row, .form-actions { width: 100%; }
  .button-row .button, .form-actions .button { flex: 1 1 100%; width: 100%; }
  .contact-panel { padding: 26px 22px; }
  .contact-panel h2 { font-size: 36px; }
  .case-info { grid-template-columns: 1fr; }
  .page-index { width: 100%; }
  .page-index strong { font-size: clamp(54px,18vw,82px); }
  .footer-column { min-width: 0; }
  .footer-column a { word-break: break-word; }
}

@media (max-width: 420px) {
  :root { --container: min(100% - 18px, 400px); --section: 62px; }
  .site-header { height: 70px; }
  .primary-nav { inset: 70px 0 0; padding-inline: 18px; }
  .brand-logo { width: 154px; height: 46px; }
  .brand-logo img { max-width: 154px; height: 42px; }
  .display { font-size: clamp(42px,14.5vw,62px); }
  .page-title { font-size: clamp(40px,13.5vw,58px); }
  .section-title { font-size: clamp(34px,11vw,42px); }
  .lead { font-size: 17px; }
  .hero-visual { min-height: 320px; }
  .browser-card img { height: 280px; }
  .float-card { max-width: 150px; }
  .float-card.two { right: -4px; }
  .service-card, .experience-card { padding: 24px 20px; }
  .project-content { padding: 22px 18px 24px; }
  .order-form { padding: 22px 14px; border-radius: 22px; }
  .field input, .field select, .field textarea { min-height: 48px; font-size: 16px; }
  .field textarea { min-height: 140px; }
  .cta-panel { border-radius: 26px; padding: 30px 22px; }
  .footer-brand img { width: 210px; }
  .whatsapp { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); }
}

@media (max-width: 320px) {
  :root { --container: min(100% - 14px, 306px); }
  .brand-logo { width: 138px; }
  .brand-logo img { max-width: 138px; }
  .menu-toggle { margin-left: 4px; }
  .hero-tags { gap: 6px; }
  .hero-tags span { width: 38px; height: 38px; }
  .browser-card img { height: 250px; }
}

@media (orientation: landscape) and (max-height: 520px) and (max-width: 960px) {
  .primary-nav { padding-top: 16px; }
  .primary-nav > a, .nav-drop > button { padding: 11px 0; font-size: 18px; }
  .nav-service small { display: none; }
  .hero { padding-top: 34px; }
}

@media (hover: none) {
  .project-card:hover .project-image img, .whatsapp:hover, .button:hover { transform: none; }
  .spotlight-card::after { display: none; }
}

/* Off-canvas navigation without document overflow */
@media (max-width: 820px) {
  .primary-nav {
    transform: none;
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    pointer-events: none;
    transition: clip-path .3s var(--ease), visibility .3s;
  }
  .primary-nav.open {
    transform: none;
    clip-path: inset(0 0 0 0);
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 820px) {
  .home-review-grid { grid-template-columns: 1fr; }
  .home-review-grid .review-card, .home-review-grid .review-card:last-child { min-height: 320px; grid-column: auto; }
}
@media (max-width: 420px) {
  .review-card { padding: 24px 20px; border-radius: 22px; }
  .review-card blockquote, .home-review-grid .review-card blockquote { margin: 30px 0 24px; font-size: 24px; }
  .review-person small { font-size: 12px; line-height: 1.45; }
}


/* Final Softvera production refinement */
:root {
  --cta-orange: #ff5a12;
  --cta-orange-ring: #ff783d;
  --footer-bg: #0b0b0d;
  --depth-shadow: 0 24px 60px rgba(11,11,13,.18);
}

/* Exact transparent logo treatment: no backing tile in the dark footer. */
.footer-brand > a {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.footer-brand img {
  width: min(300px, 100%);
  height: auto;
  object-fit: contain;
  object-position: left center;
  filter: none;
}
.site-footer {
  background: var(--footer-bg);
}
.footer-grid {
  align-items: start;
}
.footer-brand p {
  margin-top: 22px;
  max-width: 410px;
  color: rgba(255,255,255,.68);
}
.footer-column h3 {
  color: var(--orange);
  letter-spacing: .12em;
}
.footer-column a {
  color: rgba(255,255,255,.78);
  transition: color .22s ease, transform .22s ease;
}
.footer-column a:hover {
  color: #fff;
  transform: translateX(3px);
}

/* Match the approved solid orange CTA section exactly. */
.cta-panel {
  background: var(--cta-orange);
  box-shadow: 0 24px 64px rgba(255,90,18,.22);
}
.cta-panel::before {
  border-color: var(--cta-orange-ring);
  opacity: .92;
}
.cta-panel h2,
.cta-panel .button {
  position: relative;
  z-index: 2;
}

/* Stable three-dimensional hover depth without vibration or cursor chasing. */
.button {
  transform: perspective(760px) translate3d(0,0,0) rotateX(0deg);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background-color .22s ease, color .22s ease, border-color .22s ease;
  will-change: transform;
}
.button:hover {
  transform: perspective(760px) translate3d(0,-4px,14px) rotateX(4deg);
  box-shadow: 0 18px 34px rgba(11,11,13,.22);
}
.button:active {
  transform: perspective(760px) translate3d(0,-1px,3px) rotateX(1deg);
  transition-duration: .09s;
}

[data-tilt] {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --tilt-lift: 0px;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform .16s cubic-bezier(.2,.75,.25,1), box-shadow .28s var(--ease), border-color .22s ease;
  will-change: transform;
}
[data-tilt].visible {
  transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(0,var(--tilt-lift),0);
}
[data-tilt].reveal:not(.visible) {
  transform: translate3d(0,22px,0);
}
.project-card[data-tilt].visible:hover,
.service-card[data-tilt].visible:hover,
.review-card[data-tilt].visible:hover,
.experience-card[data-tilt].visible:hover {
  box-shadow: var(--depth-shadow);
}
.project-card:hover,
.service-card:hover,
.review-card:hover,
.experience-card:hover,
.case-hero-image:hover,
.service-hero-media:hover {
  animation: none !important;
}

/* Prevent transform clashes that previously felt like vibration. */
.project-card:hover { transform: none; }
.project-card[data-tilt].visible:hover { transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(0,var(--tilt-lift),0); }
.browser-stage:hover { transform: rotateY(-7deg) rotateX(3deg) rotateZ(-.5deg) translate3d(0,-5px,0); }

/* Professional footer and CTA spacing across all global viewport sizes. */
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: minmax(280px,1.35fr) repeat(3,minmax(150px,.8fr)); gap: 34px; }
}
@media (max-width: 920px) {
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 560px; }
}
@media (max-width: 640px) {
  .cta-panel { gap: 28px; }
  .cta-panel .button { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-column: auto; }
  .footer-brand img { width: min(270px, 88vw); }
  .footer-column a { width: fit-content; }
}
@media (max-width: 420px) {
  .cta-panel { padding: 32px 22px; }
  .cta-panel::before { width: 210px; height: 210px; right: -52px; top: -116px; border-width: 34px; }
  .cta-panel h2 { font-size: clamp(38px,12vw,50px); }
  .footer-brand img { width: min(245px, 86vw); }
}
@media (hover: none), (pointer: coarse) {
  [data-tilt].visible,
  [data-tilt].visible:hover,
  .button:hover,
  .browser-stage:hover {
    transform: none;
  }
  .button:active { transform: translateY(1px); }
}
@media (prefers-reduced-motion: reduce) {
  [data-tilt].visible,
  [data-tilt].visible:hover,
  .button,
  .button:hover,
  .button:active {
    transform: none !important;
  }
}

/* Shared language control and whole-site translation */
.language-switcher { position: relative; flex: 0 0 auto; }
.language-trigger {
  min-width: 78px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(11,11,13,.06);
  cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease;
}
.language-trigger:hover,
.language-switcher.open .language-trigger {
  transform: translateY(-2px);
  border-color: rgba(255,90,18,.45);
  box-shadow: 0 14px 30px rgba(11,11,13,.11);
}
.language-trigger svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.language-current { min-width: 22px; font-size: 12px; font-weight: 800; letter-spacing: .05em; }
.language-chevron { font-size: 14px; transition: transform .2s ease; }
.language-switcher.open .language-chevron { transform: rotate(180deg); }
.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1300;
  width: 225px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 24px 70px rgba(11,11,13,.18);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(.98);
  transform-origin: top right;
  transition: opacity .2s ease, visibility .2s ease, transform .2s var(--ease);
}
.language-switcher.open .language-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.language-menu button {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 11px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.language-menu button:hover { background: var(--orange-soft); }
.language-menu button.active { background: var(--ink); color: white; }
.language-menu strong { font-size: 14px; }
.language-menu small { color: var(--muted); font-size: 11px; }
.language-menu button.active small { color: rgba(255,255,255,.65); }
.footer-utilities { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.footer-language .language-trigger { height: 40px; min-width: 74px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: white; box-shadow: none; }
.footer-language .language-trigger:hover { border-color: rgba(255,90,18,.8); }
.footer-language .language-menu { top: auto; bottom: calc(100% + 12px); transform-origin: bottom right; }

/* Keep the Google translation runtime unobtrusive while the custom control remains accessible. */
#google_translate_element { position: fixed; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); pointer-events: none; opacity: 0; }
.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: transparent !important; box-shadow: none !important; }

/* Language-specific typography and right-to-left support. */
html[lang="zh-CN"] body { font-family: "Noto Sans SC", "DM Sans", Arial, sans-serif; }
html[lang="ar"] body { font-family: "Noto Sans Arabic", "DM Sans", Arial, sans-serif; }
html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="rtl"] .header-inner,
html[dir="rtl"] .footer-grid,
html[dir="rtl"] .footer-bottom,
html[dir="rtl"] .footer-utilities,
html[dir="rtl"] .button-row,
html[dir="rtl"] .hero-tags,
html[dir="rtl"] .section-head,
html[dir="rtl"] .review-person,
html[dir="rtl"] .contact-links a { direction: rtl; }
html[dir="rtl"] .brand-logo img,
html[dir="rtl"] .footer-brand img { object-position: right center; }
html[dir="rtl"] .language-menu { right: auto; left: 0; transform-origin: top left; }
html[dir="rtl"] .footer-language .language-menu { transform-origin: bottom left; }
html[dir="rtl"] .language-menu button { text-align: right; }
html[dir="rtl"] .footer-column a:hover { transform: translateX(-3px); }
html[dir="rtl"] .nav-panel { left: auto; right: 50%; transform: translate(50%,10px); }
html[dir="rtl"] .nav-drop:hover .nav-panel,
html[dir="rtl"] .nav-drop:focus-within .nav-panel { transform: translate(50%,0); }
html[dir="rtl"] .text-link span { transform: scaleX(-1); }
html[dir="rtl"] .text-link:hover span { transform: scaleX(-1) translate(3px,-3px); }

@media (max-width: 1080px) {
  .language-trigger { min-width: 70px; padding-inline: 10px; }
}
@media (max-width: 820px) {
  .language-menu { position: fixed; top: 74px; right: 14px; width: min(250px, calc(100vw - 28px)); }
  .footer-language .language-menu { position: absolute; top: auto; right: 0; bottom: calc(100% + 12px); }
  html[dir="rtl"] .language-menu { right: auto; left: 14px; }
  html[dir="rtl"] .footer-language .language-menu { right: auto; left: 0; }
  html[dir="rtl"] .nav-panel,
  html[dir="rtl"] .nav-drop:hover .nav-panel,
  html[dir="rtl"] .nav-drop:focus-within .nav-panel { right: auto; transform: none; }
}
@media (max-width: 560px) {
  .language-trigger { min-width: 52px; width: 52px; padding: 0; gap: 4px; }
  .language-trigger svg { width: 17px; height: 17px; }
  .language-current { min-width: 15px; font-size: 10px; }
  .language-chevron { display: none; }
  .footer-bottom { align-items: flex-start; }
  .footer-utilities { width: 100%; justify-content: space-between; }
  .footer-language .language-trigger { width: auto; min-width: 70px; padding-inline: 10px; }
  .footer-language .language-chevron { display: inline; }
}
@media (max-width: 360px) {
  .brand-logo { width: 126px; }
  .brand-logo img { max-width: 126px; }
  .header-actions { gap: 6px; }
  .language-trigger { width: 48px; min-width: 48px; }
  .menu-toggle { width: 42px; height: 42px; }
}


/* Translation stability: hide intermediate reflow and reveal the completed language once. */
html { scrollbar-gutter: stable; }
html.translation-pending,
html.language-changing { background: #f6f3ee; }
html.translation-pending body,
html.language-changing body { overflow: hidden; }
html.translation-pending body > :not(script):not(#google_translate_element),
html.language-changing body > :not(script):not(#google_translate_element) {
  opacity: 0 !important;
  pointer-events: none !important;
}
html.translation-pending body::before,
html.language-changing body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483645;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,90,18,.12), transparent 28%),
    #f6f3ee;
}
html.translation-pending body::after,
html.language-changing body::after {
  content: "";
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2147483646;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border: 4px solid rgba(11,11,13,.1);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: softvera-loader .75s linear infinite;
}
@keyframes softvera-loader { to { transform: rotate(360deg); } }
.translation-refreshing-panel {
  overflow: hidden;
  contain: layout paint;
  opacity: .72;
  transition: opacity .2s ease;
}
html.translation-pending *,
html.language-changing * {
  animation-play-state: paused !important;
  transition: none !important;
}

/* Allocate GPU layers only while desktop 3D interaction is actually active. */
[data-tilt] { will-change: auto; }
[data-tilt].is-tilting { will-change: transform; }

/* Reusable touch sliders reduce vertical page depth on phones and small tablets. */
.mobile-slider-controls { display: none; }
@media (max-width: 780px) {
  .section { padding-block: clamp(58px, 14vw, 82px); }
  .section-head { margin-bottom: 30px; }

  .mobile-slider {
    --mobile-gutter: 18px;
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    width: calc(100% + var(--mobile-gutter));
    margin-inline-end: calc(var(--mobile-gutter) * -1);
    padding: 2px var(--mobile-gutter) 18px 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0 var(--mobile-gutter);
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    direction: ltr;
    border-top: 0;
  }
  .mobile-slider::-webkit-scrollbar { display: none; }
  .mobile-slider > * {
    flex: 0 0 min(86vw, 390px);
    width: min(86vw, 390px);
    max-width: none;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    transform: none !important;
    animation: none !important;
  }
  html[dir="rtl"] .mobile-slider > * { direction: rtl; text-align: right; }

  .services-grid.mobile-slider > * { flex-basis: min(84vw, 360px); width: min(84vw, 360px); }
  .work-grid.mobile-slider > * { flex-basis: min(88vw, 430px); width: min(88vw, 430px); }
  .review-grid.mobile-slider > * { flex-basis: min(86vw, 390px); width: min(86vw, 390px); }
  .values-grid.mobile-slider > *,
  .experience-grid.mobile-slider > * { flex-basis: min(80vw, 340px); width: min(80vw, 340px); }
  .process-grid.mobile-slider > * {
    flex-basis: min(80vw, 330px);
    width: min(80vw, 330px);
    min-height: 300px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.14) !important;
    border-radius: 24px;
    background: rgba(255,255,255,.055);
  }
  .process-grid.mobile-slider .process-step > span { margin-bottom: 42px; }
  .deliverable-grid.mobile-slider > * { flex-basis: min(78vw, 330px); width: min(78vw, 330px); }

  .mobile-slider-controls {
    display: grid;
    grid-template-columns: 42px minmax(72px,1fr) auto 42px;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    direction: ltr;
  }
  .slider-arrow {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: white;
    color: var(--ink);
    font-size: 19px;
    cursor: pointer;
    box-shadow: 0 9px 24px rgba(11,11,13,.08);
  }
  .slider-arrow:disabled { opacity: .32; cursor: default; }
  .slider-track {
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(11,11,13,.12);
  }
  .slider-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--orange);
    transition: width .25s var(--ease);
  }
  .slider-count { min-width: 38px; color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
  .section-dark .slider-arrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: white; box-shadow: none; }
  .section-dark .slider-track { background: rgba(255,255,255,.16); }
  .section-dark .slider-count { color: rgba(255,255,255,.62); }

  .float-card { animation: none !important; backdrop-filter: none; }
  .browser-stage { transition: none; }
  .reveal { transition-duration: .38s; transition-delay: 0ms !important; }
  .service-card,
  .project-card,
  .review-card,
  .experience-card { box-shadow: 0 14px 36px rgba(15,15,17,.07); }
}

@media (max-width: 480px) {
  .mobile-slider { --mobile-gutter: 18px; }
  .mobile-slider > * { flex-basis: 88vw; width: 88vw; }
  .work-grid.mobile-slider > * { flex-basis: 90vw; width: 90vw; }
  .mobile-slider-controls { grid-template-columns: 40px minmax(56px,1fr) auto 40px; gap: 9px; }
  .slider-arrow { width: 40px; height: 40px; }
  .review-card { min-height: 340px; }
  .home-review-grid .review-card { min-height: 360px; }
  .service-card { min-height: 370px; }
}

@media (prefers-reduced-motion: reduce) {
  html.translation-pending body::after,
  html.language-changing body::after { animation-duration: 1.5s; }
  .mobile-slider { scroll-behavior: auto; }
  .slider-track span { transition: none; }
}


/* Supplied brand artwork and high-DPI image refinement */
.brand-logo { width: 232px; height: 62px; }
.brand-logo img { width: 100%; height: auto; max-height: 58px; object-fit: contain; object-position: left center; image-rendering: auto; }
.footer-brand img { width: min(330px, 100%); height: auto; image-rendering: auto; }
.nav-drop { text-align: center; }
.nav-drop > button { min-width: 86px; }
.browser-card img, .project-image img, .service-hero-media img, .case-hero-image img, .media-frame img { image-rendering: auto; backface-visibility: hidden; }
@media (max-width: 1080px) { .brand-logo { width: 205px; } }
@media (max-width: 820px) { .brand-logo { width: 180px; height: 52px; } .nav-drop > button { justify-content: center; } }
@media (max-width: 560px) { .brand-logo { width: 154px; } }
@media (max-width: 390px) { .brand-logo { width: 136px; } }


/* Concise content, optical alignment and all-device responsive refinement */
:root {
  --section: clamp(64px, 7vw, 104px);
  --content-measure: 68ch;
}
body { font-size: 16px; line-height: 1.65; }
p, li { text-wrap: pretty; }
.display, .page-title, .section-title, .card-title, .cta-panel h2 { text-wrap: balance; }
.display {
  max-width: 650px;
  font-size: clamp(46px, 6.2vw, 80px);
  line-height: .98;
  letter-spacing: -.045em;
}
.page-title {
  max-width: 760px;
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: .99;
  letter-spacing: -.042em;
}
.section-title {
  max-width: 760px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: -.032em;
}
.card-title { font-size: clamp(24px, 2.2vw, 31px); line-height: 1.05; }
.lead {
  max-width: var(--content-measure);
  margin-top: 20px;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
}
.eyebrow { margin-bottom: 15px; }
.kicker-line { width: 76px; height: 6px; margin-top: 24px; }
.button-row { margin-top: 28px; }

.nav-drop > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  line-height: 1;
  vertical-align: middle;
}
.nav-label { display: inline-flex; align-items: center; line-height: 1; }
.nav-chevron {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(.25px);
  transition: transform .2s ease;
}
.nav-drop:hover .nav-chevron,
.nav-drop:focus-within .nav-chevron { transform: translateY(.25px) rotate(180deg); }

.hero { min-height: auto; padding: clamp(68px, 7vw, 102px) 0; }
.hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: clamp(44px, 6vw, 82px);
}
.hero-copy .display { max-width: 650px; }
.hero-copy .lead { max-width: 620px; }
.hero-visual { min-height: 520px; }
.browser-stage { top: 10%; }
.browser-card img { height: auto; aspect-ratio: 16 / 9; }
.hero-tags { margin-top: 28px; }

.page-hero { padding: clamp(70px, 8vw, 112px) 0 clamp(62px, 7vw, 96px); }
.page-hero-grid { align-items: center; gap: clamp(42px, 6vw, 72px); }
.page-index { width: min(360px, 100%); padding: 25px; }
.page-index strong { font-size: 58px; }
.section-head { align-items: flex-end; gap: clamp(24px, 4vw, 52px); margin-bottom: 38px; }
.section-head > div:first-child { max-width: 760px; }
.section-head > p { max-width: 420px; line-height: 1.65; }

.service-card { min-height: 350px; padding: 28px; }
.service-card h3 { margin-top: 54px; font-size: 29px; }
.service-card .text-link { left: 28px; bottom: 25px; }
.project-content { padding: 24px 25px 27px; }
.project-content h3 { font-size: 29px; line-height: 1.05; }
.review-card { min-height: 320px; padding: 28px; }
.home-review-grid .review-card { min-height: 350px; }
.review-card blockquote,
.home-review-grid .review-card blockquote { font-size: clamp(22px, 2vw, 29px); line-height: 1.22; }
.value-card, .experience-card { padding: 26px; }
.process-step { padding: 30px 24px 0; }
.process-step > span { margin-bottom: 42px; }
.media-frame img { min-height: 460px; }
.check-list { gap: 12px; margin-top: 25px; }
.cta-panel { gap: 32px; }
.cta-panel h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; }
.footer-brand p { max-width: 380px; }

@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .display { font-size: clamp(46px, 6vw, 68px); }
  .primary-nav { gap: 16px; }
}
@media (max-width: 1080px) {
  .hero-grid, .page-hero-grid, .service-hero-grid { grid-template-columns: 1fr; }
  .hero-copy, .page-hero-copy { max-width: 800px; }
  .hero-visual { min-height: 470px; }
  .browser-stage { width: min(720px, 86%); right: 5%; }
  .page-index { justify-self: start; }
}
@media (max-width: 820px) {
  :root { --section: clamp(56px, 11vw, 76px); }
  .hero, .page-hero { padding-top: 46px; }
  .display { font-size: clamp(44px, 10vw, 62px); }
  .page-title { font-size: clamp(42px, 9.5vw, 60px); }
  .section-title { font-size: clamp(32px, 7.2vw, 44px); }
  .lead { font-size: 17px; }
  .section-head { align-items: flex-start; gap: 15px; margin-bottom: 28px; }
  .section-head > p { max-width: 620px; }
  .primary-nav > a { justify-content: flex-start; text-align: left; }
  .nav-drop > button { justify-content: center; text-align: center; }
  .hero-visual { min-height: 400px; }
  .browser-stage { width: 92%; right: 2%; }
  .media-frame img { min-height: 400px; }
  .service-card { min-height: 330px; }
  .cta-panel h2 { font-size: clamp(34px, 8vw, 48px); }
}
@media (max-width: 780px) {
  .stats-strip { padding: 20px 0 16px; }
  .stats-grid.mobile-slider { padding-bottom: 14px; }
  .stats-grid.mobile-slider > .stat {
    flex: 0 0 min(72vw, 280px);
    width: min(72vw, 280px);
    min-height: 142px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    border: 1px solid var(--line) !important;
    border-radius: 22px;
    background: rgba(255,255,255,.88);
  }
  .stats-strip .mobile-slider-controls { margin-top: 0; padding-bottom: 2px; }
  .mobile-slider > * { flex-basis: min(84vw, 380px); width: min(84vw, 380px); }
  .services-grid.mobile-slider > * { flex-basis: min(82vw, 350px); width: min(82vw, 350px); }
  .work-grid.mobile-slider > * { flex-basis: min(88vw, 410px); width: min(88vw, 410px); }
  .review-grid.mobile-slider > * { flex-basis: min(84vw, 370px); width: min(84vw, 370px); }
  .process-grid.mobile-slider > * { min-height: 270px; }
}
@media (max-width: 560px) {
  :root { --container: min(100% - 22px, 520px); --section: 58px; }
  .display { font-size: clamp(40px, 12vw, 54px); line-height: 1; }
  .page-title { font-size: clamp(38px, 11vw, 52px); line-height: 1; }
  .section-title { font-size: clamp(30px, 9vw, 39px); }
  .lead { font-size: 16.5px; line-height: 1.58; }
  .hero { padding-bottom: 54px; }
  .hero-visual { min-height: 315px; }
  .browser-stage { width: 100%; right: 0; top: 8%; }
  .browser-card img { height: auto; aspect-ratio: 16 / 9; }
  .float-card.one { top: 3%; }
  .float-card.two { bottom: 5%; }
  .hero-tags { align-items: flex-start; }
  .hero-tags p { width: calc(100% - 150px); }
  .page-index { padding: 22px; }
  .page-index strong { font-size: 50px; }
  .service-card { min-height: 320px; }
  .service-card h3 { margin-top: 45px; }
  .review-card, .home-review-grid .review-card { min-height: 310px; }
  .review-card blockquote, .home-review-grid .review-card blockquote { font-size: 22px; }
  .media-frame img { min-height: 340px; }
  .cta-panel { padding: 30px 22px; }
  .cta-panel h2 { font-size: clamp(32px, 10vw, 42px); }
  .button { min-height: 50px; padding-inline: 20px; }
}
@media (max-width: 390px) {
  :root { --container: min(100% - 18px, 372px); }
  .display { font-size: clamp(38px, 12vw, 48px); }
  .page-title { font-size: clamp(36px, 11.5vw, 46px); }
  .section-title { font-size: clamp(29px, 9.4vw, 36px); }
  .hero-visual { min-height: 285px; }
  .float-card { max-width: 138px; }
  .stats-grid.mobile-slider > .stat { flex-basis: 78vw; width: 78vw; }
  .mobile-slider > * { flex-basis: 88vw; width: 88vw; }
  .footer-brand p { font-size: 14px; }
}
@media (orientation: landscape) and (max-height: 540px) and (max-width: 960px) {
  .hero { padding-block: 32px 48px; }
  .hero-visual { min-height: 300px; }
  .browser-stage { width: min(620px, 76%); }
}


/* Exact supplied Softvera logo: responsive, uncropped and optimised for light/dark surfaces. */
.brand-logo {
  width: 232px;
  height: auto;
  min-width: 0;
  flex: 0 0 auto;
  overflow: visible;
}
.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}
.footer-brand > a {
  display: inline-block;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.footer-brand img {
  display: block;
  width: min(330px, 100%);
  height: auto;
  object-fit: contain;
  object-position: left center;
}
@media (max-width: 1080px) { .brand-logo { width: 205px; } }
@media (max-width: 820px) { .brand-logo { width: 176px; } }
@media (max-width: 560px) { .brand-logo { width: 150px; } }
@media (max-width: 390px) { .brand-logo { width: 132px; } }

.footer-address { display: block; color: rgba(255,255,255,.72); line-height: 1.55; overflow-wrap: anywhere; }
.form-note { line-height: 1.6; }

/* Work imagery integrity: show complete artwork on every screen without crop/zoom. */
.work-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}
.project-card { min-width: 0; }
.project-card > a { display: block; height: 100%; }
.project-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f3f3f1;
}
.project-image::before,
.project-image::after { display: none !important; }
.project-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  filter: none !important;
}
.project-card:hover .project-image img,
.project-card[data-tilt]:hover .project-image img { transform: none !important; }

/* Case-study hero images also keep the whole 4:3 composition visible. */
.case-hero-image {
  overflow: hidden;
  background: #f3f3f1;
  transform: none !important;
}
.case-hero-image::before { display: none !important; }
.case-hero-image img {
  display: block;
  width: 100%;
  height: auto !important;
  max-width: 100%;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

/* Keep portfolio cards comfortably readable on tablets and phones. */
@media (max-width: 920px) {
  .work-grid { grid-template-columns: 1fr; }
  .project-card { width: 100%; max-width: 720px; margin-inline: auto; }
}

/* Work cards use a stable stacked layout on touch screens instead of a cropped horizontal carousel. */
@media (max-width: 780px) {
  .work-grid.mobile-slider {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 18px !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    touch-action: auto !important;
  }
  .work-grid.mobile-slider > * {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    scroll-snap-align: none !important;
  }
  .work-grid + .mobile-slider-controls { display: none !important; }
  .project-content { padding: 22px 20px 24px; }
  .project-content h3 { font-size: clamp(25px, 7vw, 31px); }
  .project-badge { left: 14px; top: 14px; }
  .project-arrow { right: 14px; bottom: 14px; width: 46px; height: 46px; }
}

@media (max-width: 420px) {
  .project-card { border-radius: 22px; }
  .project-image { aspect-ratio: 4 / 3; }
  .project-content { padding: 20px 17px 22px; }
  .project-content small { margin-top: 14px; }
}

/* Stable cross-browser Work rendering: avoid 3D compositing/lazy-paint glitches. */
.project-card,
.project-card[data-tilt],
.project-card[data-tilt].visible,
.project-card[data-tilt].visible:hover,
.project-card:hover {
  transform: none !important;
  transform-style: flat !important;
  will-change: auto !important;
}
.project-card > *,
.project-card[data-tilt] > * {
  transform: none !important;
  transform-style: flat !important;
}
.project-card:hover { box-shadow: 0 20px 54px rgba(22,15,10,.12); }

/* Keep portfolio artwork unobstructed; the case-study context is already shown below each image. */
.project-badge { display: none !important; }


/* Restored and enhanced Work motion — keeps the full 4:3 artwork visible. */
.project-card[data-tilt],
.project-card[data-tilt].visible,
.project-card[data-tilt].visible:hover {
  transform-style: preserve-3d !important;
  backface-visibility: hidden;
  will-change: transform !important;
}
.project-card[data-tilt].visible {
  transform: perspective(1100px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translate3d(0,var(--tilt-lift,0px),0) !important;
}
.project-card[data-tilt].visible:hover {
  transform: perspective(1100px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translate3d(0,var(--tilt-lift,-7px),0) !important;
  box-shadow: 0 34px 86px rgba(22,15,10,.18) !important;
  border-color: rgba(255,90,18,.28);
}

/* Do not zoom/crop the artwork itself; motion belongs to the card shell. */
.project-card .project-image img,
.project-card:hover .project-image img,
.project-card[data-tilt]:hover .project-image img {
  transform: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* New animated light sweep over Work imagery, without moving the photograph. */
.project-image::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: -30% -55%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.34) 50%, transparent 58%);
  transform: translateX(-62%) rotate(7deg);
  opacity: 0;
}
.project-card:hover .project-image::after {
  animation: workImageSheen .9s cubic-bezier(.2,.72,.24,1) both;
}

/* New animated accent line under each project title. */
.project-content h3 {
  position: relative;
  width: fit-content;
}
.project-content h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease);
}
.project-card:hover .project-content h3::after { transform: scaleX(1); }

/* Restore the project action animation and add a subtle pulse. */
.project-arrow {
  z-index: 5;
  transition: transform .28s var(--ease), box-shadow .28s ease, background-color .28s ease;
}
.project-card:hover .project-arrow {
  transform: rotate(45deg) scale(1.06);
  box-shadow: 0 12px 30px rgba(255,90,18,.34);
  animation: workArrowPulse 1.7s ease-in-out .25s infinite;
}

/* Restore case-study card depth without parallax cropping of the image. */
.case-hero-image[data-tilt],
.case-hero-image[data-tilt].visible,
.case-hero-image[data-tilt].visible:hover {
  transform-style: preserve-3d !important;
  will-change: transform !important;
}
.case-hero-image[data-tilt].visible {
  transform: perspective(1350px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translate3d(0,var(--tilt-lift,0px),0) !important;
}
.case-hero-image[data-tilt].visible:hover {
  transform: perspective(1350px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translate3d(0,var(--tilt-lift,-5px),0) !important;
  box-shadow: 0 34px 90px rgba(22,15,10,.16);
}
.case-hero-image img { transform: none !important; }

@keyframes workImageSheen {
  0% { transform: translateX(-62%) rotate(7deg); opacity: 0; }
  22% { opacity: .62; }
  100% { transform: translateX(62%) rotate(7deg); opacity: 0; }
}
@keyframes workArrowPulse {
  0%,100% { box-shadow: 0 12px 30px rgba(255,90,18,.26); }
  50% { box-shadow: 0 14px 36px rgba(255,90,18,.46); }
}

/* Touch devices keep scroll-reveal motion but avoid unstable pointer tilt. */
@media (hover: none), (pointer: coarse) {
  .project-card[data-tilt].visible,
  .project-card[data-tilt].visible:hover,
  .case-hero-image[data-tilt].visible,
  .case-hero-image[data-tilt].visible:hover {
    transform: none !important;
  }
  .project-card:hover .project-image::after,
  .project-card:hover .project-arrow { animation: none !important; }
  .project-card:active { transform: translateY(-2px) !important; }
}

@media (prefers-reduced-motion: reduce) {
  .project-image::after,
  .project-arrow,
  .project-content h3::after { animation: none !important; transition: none !important; }
  .project-card[data-tilt].visible,
  .project-card[data-tilt].visible:hover,
  .case-hero-image[data-tilt].visible,
  .case-hero-image[data-tilt].visible:hover { transform: none !important; }
}

/* 2026-08 responsive Work slider + bidirectional scroll motion */
.reveal {
  --reveal-distance: clamp(18px, 2.6vw, 32px);
}
.reveal.reveal-from-bottom:not(.visible) {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
}
.reveal.reveal-from-top:not(.visible) {
  opacity: 0;
  transform: translate3d(0, calc(var(--reveal-distance) * -1), 0);
}
.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Use a compact horizontal Work carousel on phones and tablets. */
@media (max-width: 900px) {
  .work-grid.mobile-slider {
    --mobile-gutter: clamp(16px, 4vw, 24px);
    display: flex !important;
    grid-template-columns: none !important;
    gap: clamp(14px, 3vw, 20px) !important;
    width: calc(100% + var(--mobile-gutter)) !important;
    margin: 0 calc(var(--mobile-gutter) * -1) 0 0 !important;
    padding: 3px var(--mobile-gutter) 18px 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-padding-inline: 0 var(--mobile-gutter);
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x pan-y !important;
  }
  .work-grid.mobile-slider::-webkit-scrollbar { display: none; }
  .work-grid.mobile-slider > .project-card {
    flex: 0 0 min(82vw, 540px) !important;
    width: min(82vw, 540px) !important;
    max-width: min(82vw, 540px) !important;
    margin: 0 !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always;
    transform: none !important;
    will-change: auto !important;
  }
  .work-grid + .mobile-slider-controls {
    display: grid !important;
    margin-top: 10px;
  }
  .work-grid.mobile-slider .project-image {
    aspect-ratio: 4 / 3;
  }
  .work-grid.mobile-slider .project-content {
    padding: clamp(18px, 3vw, 24px);
  }
  .work-grid.mobile-slider .project-content h3 {
    font-size: clamp(24px, 4.4vw, 31px);
  }
}

@media (max-width: 640px) {
  .work-grid.mobile-slider > .project-card {
    flex-basis: min(88vw, 460px) !important;
    width: min(88vw, 460px) !important;
    max-width: min(88vw, 460px) !important;
  }
  .work-grid.mobile-slider .project-content p { font-size: 15px; }
}

@media (max-width: 420px) {
  .work-grid.mobile-slider {
    --mobile-gutter: 16px;
    gap: 12px !important;
  }
  .work-grid.mobile-slider > .project-card {
    flex-basis: 90vw !important;
    width: 90vw !important;
    max-width: 90vw !important;
  }
  .work-grid.mobile-slider .project-content {
    padding: 18px 16px 20px;
  }
  .work-grid.mobile-slider .project-content h3 {
    font-size: clamp(23px, 7vw, 28px);
  }
  .work-grid + .mobile-slider-controls {
    grid-template-columns: 38px minmax(48px,1fr) auto 38px;
    gap: 8px;
  }
  .work-grid + .mobile-slider-controls .slider-arrow {
    width: 38px;
    height: 38px;
  }
}

/* Slider cards remain stable on touch devices; desktop keeps the rich 3D hover. */
@media (max-width: 900px), (hover: none), (pointer: coarse) {
  .work-grid.mobile-slider .project-card[data-tilt],
  .work-grid.mobile-slider .project-card[data-tilt].visible,
  .work-grid.mobile-slider .project-card[data-tilt].visible:hover {
    transform: none !important;
    transform-style: flat !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.reveal-from-top:not(.visible),
  .reveal.reveal-from-bottom:not(.visible),
  .reveal.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Work slider controls remain fully styled on compact tablets (781–900px). */
@media (min-width: 781px) and (max-width: 900px) {
  .work-grid + .mobile-slider-controls {
    display: grid !important;
    grid-template-columns: 42px minmax(72px, 1fr) auto 42px;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    direction: ltr;
  }
  .work-grid + .mobile-slider-controls .slider-arrow {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: white;
    color: var(--ink);
    font-size: 19px;
    cursor: pointer;
    box-shadow: 0 9px 24px rgba(11,11,13,.08);
  }
  .work-grid + .mobile-slider-controls .slider-arrow:disabled {
    opacity: .32;
    cursor: default;
  }
  .work-grid + .mobile-slider-controls .slider-track {
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(11,11,13,.12);
  }
  .work-grid + .mobile-slider-controls .slider-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--orange);
    transition: width .25s var(--ease);
  }
  .work-grid + .mobile-slider-controls .slider-count {
    min-width: 42px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
  }
}

/* 2026-08 final Work image visibility fix: always show full artwork on all screen sizes. */
.work-grid .project-card {
  overflow: hidden;
}
.work-grid .project-card > a {
  display: flex;
  flex-direction: column;
}
.project-image,
.work-grid.mobile-slider .project-image {
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
  display: block !important;
  background: #f3f3f1;
}
.project-image img,
.work-grid.mobile-slider .project-image img,
.project-card .project-image img,
.project-card:hover .project-image img,
.project-card[data-tilt]:hover .project-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: 1040 / 780 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}
@media (max-width: 900px) {
  .work-grid.mobile-slider > .project-card {
    display: flex !important;
    align-self: flex-start !important;
  }
  .work-grid.mobile-slider > .project-card > a {
    width: 100% !important;
  }
}
@media (max-width: 420px) {
  .project-badge {
    font-size: 11px;
    padding: 8px 11px;
  }
  .project-arrow {
    width: 42px;
    height: 42px;
  }
}

/* 2026-08 final Services image visibility fix: preserve the complete service artwork. */
.service-hero-media {
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
}
.service-hero-media img,
.service-hero-media:hover img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: 1448 / 1086 !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

/* Keep the service image fully visible at every responsive breakpoint. */
@media (max-width: 1080px) {
  .service-hero-media img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1448 / 1086 !important;
    object-fit: contain !important;
  }
}
@media (max-width: 780px) {
  .service-hero-media {
    padding: clamp(10px, 3vw, 16px);
    border-radius: clamp(22px, 5vw, 32px);
  }
  .service-hero-media img {
    border-radius: clamp(14px, 4vw, 22px);
  }
}
@media (max-width: 420px) {
  .service-hero-media {
    padding: 9px;
  }
}
