:root {
  color-scheme: light;
  --blue: #0071e3;
  --blue-dark: #005bb8;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d8dbe2;
  --surface: #ffffff;
  --soft: #f5f5f7;
  --green: #2f9b72;
  --amber: #f5a623;
  --rose: #ef5b7a;
  --violet: #7367f0;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --hero-face-x: 62%;
  --hero-face-y: 45%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  height: 52px;
  padding: 0 22px;
  color: rgba(29, 29, 31, 0.88);
  background: rgba(251, 251, 253, 0.78);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: saturate(180%) blur(18px);
}

.brand,
.nav-links,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  justify-self: start;
  font-size: 14px;
  font-weight: 600;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.nav-links {
  gap: 28px;
  justify-self: center;
  font-size: 13px;
  color: rgba(29, 29, 31, 0.72);
}

.nav-links a,
.site-footer a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--blue);
}

.nav-cta {
  justify-self: end;
  min-width: 56px;
  padding: 7px 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 13px;
  text-align: center;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover,
.button.primary:hover {
  background: var(--blue-dark);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 78svh;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.hero-media,
.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-face-x) var(--hero-face-y);
  transform: scale(1.02);
  animation: heroBreath 12s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.54)),
    radial-gradient(circle at 50% 36%, rgba(255, 255, 255, 0.16), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 36px));
  padding-top: 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.hero h1 span {
  display: block;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 88px);
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-subtitle {
  width: min(720px, 100%);
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.36;
}

.hero-actions,
.contact-copy .button {
  margin-top: 30px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (min-width: 761px) {
  :root {
    --hero-face-x: 42%;
    --hero-face-y: 42%;
  }

  .hero {
    place-items: center start;
    text-align: left;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.42) 34%, rgba(0, 0, 0, 0.12) 64%, rgba(0, 0, 0, 0.22)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.30), rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0.48));
  }

  .hero-content {
    width: min(760px, calc(52vw - 24px));
    margin-left: clamp(28px, 7vw, 132px);
    padding-top: 34px;
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(46px, 5.2vw, 76px);
  }

  .hero-subtitle {
    width: min(620px, 100%);
    margin-right: 0;
    margin-left: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .hero-content {
    width: min(520px, calc(52vw - 18px));
    margin-left: clamp(24px, 5vw, 64px);
  }

  .hero h1 {
    font-size: clamp(38px, 4.5vw, 54px);
  }

  .hero-subtitle {
    font-size: clamp(18px, 2.2vw, 24px);
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 17px;
  line-height: 1.35;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--blue);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.button.secondary:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.band {
  background: var(--soft);
}

.section-inner {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.intro,
.samples,
.service,
.contact {
  padding: 112px 0;
}

.intro-stack {
  display: grid;
  gap: 26px;
  align-items: start;
}

.intro-stack h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.96;
}

.intro-lead {
  width: min(980px, 100%);
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.18;
}

.intro-text,
.section-heading p,
.service-item p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.55;
}

.intro-text {
  width: min(760px, 100%);
  margin: 0;
  font-size: clamp(18px, 2vw, 23px);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading p {
  margin: 18px auto 0;
  width: min(620px, 100%);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  min-width: 0;
}

.case-preview {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 220ms ease, border-color 220ms ease;
}

.case-preview:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.42);
}

.case-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  background: #f7f7fa;
}

.case-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease;
}

.case-preview:hover .case-gif {
  transform: scale(1.03);
}

.case-visual::before,
.case-visual::after,
.case-visual span {
  position: absolute;
  content: "";
  display: block;
}

.case-meta {
  display: grid;
  gap: 9px;
  padding: 18px;
}

.case-meta p {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.case-meta span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.visual-retro {
  background: linear-gradient(135deg, #16191f, #342b3f);
}

.visual-retro::before {
  inset: 12%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 18px 18px;
  transform: perspective(220px) rotateX(54deg);
  transform-origin: bottom;
  animation: gridDrift 5s linear infinite;
}

.visual-retro::after {
  width: 70%;
  height: 36%;
  border: 1px solid #f7c458;
  border-radius: 8px;
  box-shadow: 0 0 28px rgba(247, 196, 88, 0.45);
  animation: pulseLine 2.8s ease-in-out infinite;
}

.visual-collectible {
  background: linear-gradient(145deg, #f9fbff, #e5eef9);
}

.visual-collectible::before {
  width: 96px;
  height: 96px;
  background: linear-gradient(145deg, #ffffff, #9ed6ff);
  border: 1px solid rgba(0, 113, 227, 0.25);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 113, 227, 0.22);
  transform: rotate(-8deg);
  animation: floatCube 4s ease-in-out infinite;
}

.visual-collectible span:nth-child(1) {
  width: 132px;
  height: 22px;
  bottom: 24%;
  background: rgba(0, 113, 227, 0.12);
  border-radius: 999px;
  filter: blur(4px);
}

.visual-shamoni {
  background: linear-gradient(135deg, #fff7ef, #fff, #edf7ff);
}

.visual-shamoni::before {
  width: 78%;
  height: 54%;
  border-radius: 999px;
  background: conic-gradient(from 120deg, #ef5b7a, #f5a623, #6ec6a0, #8bb7ff, #ef5b7a);
  filter: blur(22px);
  opacity: 0.8;
  animation: slowSpin 9s linear infinite;
}

.visual-shamoni::after {
  width: 68%;
  height: 32%;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.visual-innovation {
  background: #f7f8fb;
}

.visual-innovation::before {
  width: 72%;
  height: 50%;
  border: 1px solid #bec7d6;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 48%, #0071e3 49%, transparent 51%),
    linear-gradient(180deg, transparent 48%, #0071e3 49%, transparent 51%);
  animation: drawPanel 3.8s ease-in-out infinite;
}

.visual-innovation span {
  width: 14px;
  height: 14px;
  background: var(--blue);
  border-radius: 999px;
  animation: nodeTravel 3.8s ease-in-out infinite;
}

.visual-nature {
  background: linear-gradient(145deg, #f2f6ed, #fff8ee);
}

.visual-nature::before {
  width: 76px;
  height: 120px;
  background: #2f9b72;
  border-radius: 100px 12px 100px 12px;
  transform: rotate(28deg);
  animation: leafSway 4s ease-in-out infinite;
}

.visual-nature::after {
  width: 58%;
  height: 58%;
  border: 1px solid rgba(47, 155, 114, 0.34);
  border-radius: 50%;
  animation: pulseRing 4s ease-in-out infinite;
}

.visual-securify {
  background: linear-gradient(145deg, #eef6ff, #ffffff);
}

.visual-securify::before {
  width: 92px;
  height: 104px;
  background: linear-gradient(180deg, #0c7be8, #064f9c);
  clip-path: polygon(50% 0, 88% 18%, 82% 72%, 50% 100%, 18% 72%, 12% 18%);
  box-shadow: 0 18px 34px rgba(0, 113, 227, 0.28);
  animation: shieldGlow 3s ease-in-out infinite;
}

.visual-securify::after {
  width: 142px;
  height: 142px;
  border: 1px dashed rgba(0, 113, 227, 0.42);
  border-radius: 50%;
  animation: slowSpin 10s linear infinite;
}

.visual-xportfolio {
  background: #111317;
}

.visual-xportfolio::before {
  width: 70%;
  height: 64%;
  background:
    linear-gradient(90deg, #fff 0 56%, transparent 56%),
    linear-gradient(180deg, #ef5b7a 0 48%, #f5a623 48% 100%);
  border-radius: 8px;
  transform: rotate(-3deg);
  animation: cardLift 3.6s ease-in-out infinite;
}

.visual-xportfolio::after {
  width: 42%;
  height: 36%;
  right: 16%;
  bottom: 18%;
  background: #fff;
  border-radius: 8px;
}

.visual-focus {
  background: radial-gradient(circle at center, #ffffff 0 18%, #eff6ff 19% 100%);
}

.visual-focus::before {
  width: 132px;
  height: 132px;
  border: 1px solid rgba(0, 113, 227, 0.34);
  border-radius: 50%;
  animation: focusZoom 3.4s ease-in-out infinite;
}

.visual-focus::after {
  width: 42px;
  height: 42px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(0, 113, 227, 0.1);
}

.visual-prioritize {
  background: #fbfaf7;
}

.visual-prioritize span {
  left: 20%;
  width: 62%;
  height: 18px;
  background: #1d1d1f;
  border-radius: 999px;
  animation: listPulse 3.5s ease-in-out infinite;
}

.visual-prioritize span:nth-child(1) {
  top: 31%;
}

.visual-prioritize span:nth-child(2) {
  top: 47%;
  width: 48%;
  background: var(--green);
  animation-delay: 220ms;
}

.visual-prioritize span:nth-child(3) {
  top: 63%;
  width: 56%;
  background: var(--amber);
  animation-delay: 440ms;
}

.visual-bookedup {
  background: linear-gradient(145deg, #fff5f8, #f6fbff);
}

.visual-bookedup::before {
  width: 70%;
  height: 58%;
  background: #fff;
  border: 1px solid #ecd4dc;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(239, 91, 122, 0.16);
}

.visual-bookedup::after {
  width: 52%;
  height: 10px;
  top: 39%;
  background: var(--rose);
  border-radius: 999px;
  box-shadow: 0 30px 0 rgba(239, 91, 122, 0.26), 0 60px 0 rgba(239, 91, 122, 0.14);
  animation: bookedSlide 3.4s ease-in-out infinite;
}

.visual-workflow {
  background: #f7f7f7;
}

.visual-workflow::before {
  width: 72%;
  height: 2px;
  background: #c9ced8;
}

.visual-workflow span {
  top: calc(50% - 18px);
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid #c9ced8;
  border-radius: 8px;
  animation: stepActive 4s ease-in-out infinite;
}

.visual-workflow span:nth-child(1) {
  left: 22%;
}

.visual-workflow span:nth-child(2) {
  left: 45%;
  animation-delay: 450ms;
}

.visual-workflow span:nth-child(3) {
  left: 68%;
  animation-delay: 900ms;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-item {
  min-height: 300px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-item span {
  display: block;
  margin-bottom: 46px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.service-item p {
  margin: 14px 0 0;
}

.contact {
  padding-bottom: 96px;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 52px;
  align-items: center;
}

.contact-copy p {
  width: min(660px, 100%);
  margin: 20px 0 0;
}

.contact-copy h2 {
  font-size: clamp(38px, 4.1vw, 56px);
}

.qr-panel {
  display: grid;
  justify-items: center;
  padding: 0;
}

.qr-panel img {
  width: min(260px, 100%);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 26px 32px;
  color: var(--muted);
  background: var(--soft);
  font-size: 13px;
}

.footer-brand {
  justify-self: start;
}

.footer-icp {
  justify-self: center;
  color: inherit;
}

.footer-links {
  justify-self: end;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroBreath {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.07) translate3d(-1%, 0, 0);
  }
}

@keyframes gridDrift {
  to {
    background-position: 0 36px, 0 36px;
  }
}

@keyframes pulseLine {
  50% {
    transform: scale(1.04);
  }
}

@keyframes floatCube {
  50% {
    transform: translateY(-12px) rotate(8deg);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes drawPanel {
  50% {
    transform: scale(1.04);
  }
}

@keyframes nodeTravel {
  0%,
  100% {
    transform: translate(-72px, -38px);
  }
  50% {
    transform: translate(72px, 38px);
  }
}

@keyframes leafSway {
  50% {
    transform: rotate(14deg) translateY(-8px);
  }
}

@keyframes pulseRing {
  50% {
    transform: scale(1.08);
    opacity: 0.48;
  }
}

@keyframes shieldGlow {
  50% {
    filter: brightness(1.18);
    transform: translateY(-6px);
  }
}

@keyframes cardLift {
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

@keyframes focusZoom {
  50% {
    transform: scale(1.14);
    opacity: 0.5;
  }
}

@keyframes listPulse {
  50% {
    transform: translateX(8px);
  }
}

@keyframes bookedSlide {
  50% {
    transform: translateY(12px);
  }
}

@keyframes stepActive {
  50% {
    border-color: var(--blue);
    box-shadow: 0 0 0 8px rgba(0, 113, 227, 0.1);
    transform: translateY(-7px);
  }
}

@media (max-width: 980px) {
  .case-grid,
  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 32px;
  }

  .qr-panel {
    width: min(360px, 100%);
  }
}

@media (max-width: 760px) {
  :root {
    --hero-face-x: 54%;
    --hero-face-y: 44%;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    height: 50px;
    padding: 0 14px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 50px);
    align-items: stretch;
    padding: 0;
    text-align: left;
  }

  .hero-shade {
    display: none;
  }

  .hero-photo {
    transform: scale(1.01);
  }

  .hero-content {
    position: absolute;
    top: 40svh;
    bottom: auto;
    left: 20px;
    width: min(calc(100% - 40px), 305px);
    padding-top: 0;
    text-align: left;
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.48),
      0 8px 24px rgba(0, 0, 0, 0.22);
  }

  .hero .eyebrow {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    line-height: 1.2;
  }

  .hero h1 {
    max-width: 305px;
    font-size: clamp(27px, 7.5vw, 30px);
    line-height: 1.12;
  }

  .hero h1 span {
    display: block;
  }

  h2 {
    font-size: 30px;
    line-height: 1.16;
  }

  .hero-subtitle {
    width: min(100%, 275px);
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: min(100%, 305px);
    margin-top: 18px;
    justify-content: start;
    text-shadow: none;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 42px;
    padding: 9px 12px;
    font-size: 15px;
  }

  .hero-actions .button.secondary {
    color: #1d1d1f;
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  }

  .intro-copy h2 span {
    display: block;
  }

  .button {
    width: 100%;
    max-width: 280px;
  }

  .intro,
  .samples,
  .service,
  .contact {
    padding: 72px 0;
  }

  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .section-heading {
    text-align: left;
    margin-bottom: 28px;
  }

  .section-heading p,
  .intro-text,
  .service-item p,
  .contact-copy p {
    font-size: 17px;
  }

  .intro-stack {
    gap: 20px;
  }

  .intro-stack h2 {
    font-size: 46px;
  }

  .intro-lead {
    font-size: 23px;
  }

  .case-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 4px 14px;
    scroll-snap-type: x mandatory;
  }

  .case-card {
    flex: 0 0 min(84vw, 360px);
    scroll-snap-align: start;
  }

  .case-preview:hover {
    transform: none;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: auto;
  }

  .service-item span {
    margin-bottom: 28px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 24px 18px;
  }

  .footer-brand,
  .footer-icp,
  .footer-links {
    justify-self: center;
  }
}

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