:root {
  --navy: #0d182d;
  --navy-soft: #142442;
  --surface: #ffffff;
  --surface-light: #f4f7fc;
  --purple: #5a2eff;
  --blue: #2b63ff;
  --cyan: #48cdff;
  --white: #ffffff;
  --text: #14203a;
  --muted: #657089;
  --line: #e1e8f2;
  --green: #25d366;
  --container: 1200px;
  --header-height: 82px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: #f7f9fc;
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--white);
  background: var(--navy);
  font-size: 11px;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: var(--white);
  background: var(--purple);
}

.page-noise {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 34px rgba(13, 24, 45, 0.07);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  width: min(calc(100% - 40px), var(--container));
  height: var(--header-height);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(72, 205, 255, 0.38);
  border-radius: 13px;
  color: var(--white);
  background: linear-gradient(145deg, rgba(90, 46, 255, 0.88), rgba(43, 99, 255, 0.92));
  box-shadow: 0 10px 30px rgba(43, 99, 255, 0.22);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 700;
  place-items: center;
  transform: rotate(-3deg);
}

.brand-mark span {
  color: var(--cyan);
}

.brand-name {
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.45px;
}

.brand-name strong {
  color: var(--blue);
}

.site-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
}

.site-nav a {
  position: relative;
  padding: 11px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--navy);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-cta {
  min-height: 46px;
  padding: 0 19px;
  gap: 9px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(13, 24, 45, 0.18);
  font-size: 14px;
}

.nav-cta svg,
.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.nav-cta:hover,
.button-primary:hover {
  box-shadow: 0 16px 36px rgba(70, 54, 223, 0.25);
  transform: translateY(-2px);
}

.nav-cta:hover svg,
.button-primary:hover svg {
  transform: translateX(3px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(13, 24, 45, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 4px;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  padding: calc(var(--header-height) + 18px) 0 32px;
  overflow: hidden;
  align-items: flex-start;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(circle at 82% 30%, rgba(72, 205, 255, 0.17), transparent 30%),
    radial-gradient(circle at 7% 88%, rgba(43, 99, 255, 0.12), transparent 29%),
    radial-gradient(circle at 54% 13%, rgba(90, 46, 255, 0.055), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #fbfcff 47%, #f6f9ff 100%);
  content: "";
}

.grid-lines {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.7;
  background-image:
    linear-gradient(rgba(43, 99, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 99, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent 1%, black 20%, black 78%, transparent 100%);
}

.orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0.6;
  animation: drift 8s ease-in-out infinite;
}

.orb-one {
  top: 16%;
  right: -70px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(72, 205, 255, 0.25);
  box-shadow: inset 0 0 80px rgba(43, 99, 255, 0.07);
}

.orb-two {
  bottom: -90px;
  left: 35%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(90, 46, 255, 0.2);
  animation-delay: -4s;
}

.hero-wrap {
  display: grid;
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.82fr);
  gap: clamp(54px, 7vw, 100px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  min-height: 35px;
  margin-bottom: 24px;
  padding: 0 14px;
  border: 1px solid rgba(90, 46, 255, 0.14);
  border-radius: 999px;
  align-items: center;
  gap: 9px;
  color: var(--purple);
  background: rgba(90, 46, 255, 0.055);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}

.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.65);
}

.status-dot::after {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(37, 211, 102, 0.42);
  border-radius: inherit;
  content: "";
  animation: status-pulse 2s ease-out infinite;
}

.intro {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 600;
}

.intro strong {
  color: var(--purple);
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(49px, 5.2vw, 72px);
  font-weight: 700;
  letter-spacing: clamp(-3.9px, -0.055em, -2px);
  line-height: 0.99;
}

.headline-line {
  display: block;
  white-space: nowrap;
}

.typing-word {
  display: inline-block;
  min-width: 4.58em;
  color: var(--blue);
  filter: drop-shadow(0 8px 24px rgba(43, 99, 255, 0.13));
}

.typing-word::after {
  display: inline-block;
  width: 3px;
  height: 0.82em;
  margin-left: 7px;
  border-radius: 3px;
  background: var(--blue);
  content: "";
  transform: translateY(0.08em);
  animation: typing-caret 0.78s steps(1, end) infinite;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-description {
  max-width: 620px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  min-height: 54px;
  padding: 0 23px;
  gap: 10px;
  border: 1px solid transparent;
  font-size: 14px;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(120deg, var(--purple), var(--blue));
  box-shadow: 0 14px 32px rgba(43, 99, 255, 0.24);
}

.button-ghost {
  border-color: var(--line);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(13, 24, 45, 0.055);
}

.button-ghost:hover {
  border-color: rgba(43, 99, 255, 0.27);
  color: var(--blue);
  background: var(--white);
  transform: translateY(-2px);
}

.button-ghost:hover svg {
  transform: translateY(3px);
}

.tech-row {
  display: flex;
  margin-top: 35px;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #657089;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.35px;
}

.tech-row i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}

.hero-visual {
  position: relative;
  width: min(100%, 480px);
  margin-left: auto;
  perspective: 1000px;
}

.visual-glow {
  position: absolute;
  z-index: -1;
  top: 11%;
  left: 8%;
  width: 88%;
  height: 76%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(90, 46, 255, 0.18), rgba(72, 205, 255, 0.25));
  filter: blur(60px);
}

.portrait-frame {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(43, 99, 255, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 70% 22%, rgba(72, 205, 255, 0.21), transparent 31%),
    radial-gradient(circle at 20% 84%, rgba(90, 46, 255, 0.11), transparent 34%),
    linear-gradient(155deg, #edf3ff, #f7f9ff 58%, #eaf8ff);
  box-shadow: 0 34px 85px rgba(31, 61, 118, 0.15), inset 0 1px rgba(255, 255, 255, 0.85);
  transform-style: preserve-3d;
  transition: transform 170ms ease-out;
}

.portrait-frame::before {
  position: absolute;
  top: -45%;
  left: -85%;
  width: 75%;
  height: 190%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  content: "";
  transform: rotate(20deg);
  animation: sheen 7s ease-in-out infinite;
}

.portrait-frame::after {
  position: absolute;
  right: -120px;
  bottom: -100px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(43, 99, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(43, 99, 255, 0.035), 0 0 0 90px rgba(90, 46, 255, 0.025);
  content: "";
}

.frame-dots {
  position: absolute;
  z-index: 4;
  top: 20px;
  left: 22px;
  display: flex;
  gap: 7px;
}

.frame-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #385070;
}

.frame-dots span:first-child {
  background: var(--purple);
}

.frame-dots span:nth-child(2) {
  background: var(--blue);
}

.frame-dots span:last-child {
  background: var(--cyan);
}

.photo-placeholder {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  padding: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.photo-placeholder[hidden] {
  display: none !important;
}

.placeholder-ring {
  display: grid;
  width: 180px;
  height: 180px;
  border: 1px dashed rgba(43, 99, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 0 18px rgba(43, 99, 255, 0.035), 0 18px 45px rgba(43, 99, 255, 0.12);
  place-items: center;
}

.placeholder-ring span {
  color: transparent;
  background: linear-gradient(120deg, var(--purple), var(--blue), #159ce1);
  background-clip: text;
  -webkit-background-clip: text;
  font-family: "Space Grotesk", sans-serif;
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -4px;
}

.photo-placeholder p {
  margin: 27px 0 7px;
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.photo-placeholder small {
  color: var(--muted);
  font-size: 11px;
}

.profile-photo {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 24px rgba(13, 24, 45, 0.18));
}

.profile-photo.is-loaded {
  display: block;
}

.hero-visual.has-photo .code-card,
.hero-visual.has-photo .floating-tag {
  display: none;
}

.hero-visual.has-photo .portrait-frame {
  background:
    radial-gradient(circle at 72% 24%, rgba(72, 205, 255, 0.24), transparent 34%),
    radial-gradient(circle at 22% 82%, rgba(90, 46, 255, 0.13), transparent 38%),
    linear-gradient(155deg, #edf3ff, #f9faff 58%, #eaf8ff);
}

.code-card {
  position: absolute;
  z-index: 6;
  display: flex;
  min-width: 172px;
  padding: 14px 16px;
  border: 1px solid rgba(43, 99, 255, 0.1);
  border-radius: 14px;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 45px rgba(28, 57, 108, 0.13);
  backdrop-filter: blur(14px);
}

.code-card-top {
  top: 70px;
  right: 18px;
}

.code-card-bottom {
  right: 20px;
  bottom: 24px;
}

.code-card strong,
.code-card small {
  display: block;
}

.code-card strong {
  margin-bottom: 3px;
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
}

.code-card small {
  color: var(--muted);
  font-size: 9px;
}

.code-icon {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: var(--blue);
  background: rgba(43, 99, 255, 0.08);
  font-family: monospace;
  font-size: 12px;
  font-weight: 700;
  place-items: center;
}

.pulse-ring {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(37, 211, 102, 0.26);
  border-radius: 50%;
  place-items: center;
}

.pulse-ring i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.7);
}

.floating-tag {
  position: absolute;
  z-index: 7;
  padding: 8px 12px;
  border: 1px solid rgba(43, 99, 255, 0.11);
  border-radius: 9px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 35px rgba(28, 57, 108, 0.12);
  font-family: monospace;
  font-size: 10px;
  backdrop-filter: blur(10px);
  animation: float 4s ease-in-out infinite;
}

.tag-one {
  top: 21%;
  left: -24px;
}

.tag-two {
  right: -23px;
  bottom: 35%;
  animation-delay: -1.4s;
}

.tag-three {
  bottom: 12%;
  left: -16px;
  animation-delay: -2.7s;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7b88a0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 28px;
  overflow: hidden;
  background: rgba(174, 187, 208, 0.15);
}

.scroll-cue i::after {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 70%;
  background: var(--cyan);
  content: "";
  animation: scroll-line 2s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.loaded .reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.loaded .hero-copy .reveal:nth-child(2) { transition-delay: 80ms; }
.loaded .hero-copy .reveal:nth-child(3) { transition-delay: 150ms; }
.loaded .hero-copy .reveal:nth-child(4) { transition-delay: 220ms; }
.loaded .hero-copy .reveal:nth-child(5) { transition-delay: 290ms; }
.loaded .hero-copy .reveal:nth-child(6) { transition-delay: 360ms; }
.loaded .hero-visual.reveal { transition-delay: 230ms; }

.tech-stack {
  position: relative;
  padding: 72px 0 82px;
  overflow: hidden;
  border-top: 1px solid rgba(72, 205, 255, 0.12);
  color: var(--white);
  background:
    linear-gradient(rgba(72, 205, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 205, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 18% 0%, rgba(90, 46, 255, 0.22), transparent 29%),
    radial-gradient(circle at 86% 100%, rgba(72, 205, 255, 0.14), transparent 30%),
    #07111f;
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
  isolation: isolate;
}

.tech-stack::before,
.tech-stack::after {
  position: absolute;
  z-index: -1;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(72, 205, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.tech-stack::before {
  top: -220px;
  left: 7%;
  box-shadow: 0 0 0 55px rgba(90, 46, 255, 0.025), 0 0 0 110px rgba(43, 99, 255, 0.018);
}

.tech-stack::after {
  right: 9%;
  bottom: -250px;
  box-shadow: 0 0 0 55px rgba(72, 205, 255, 0.025), 0 0 0 110px rgba(43, 99, 255, 0.018);
}

.tech-stack-glow {
  position: absolute;
  z-index: -1;
  top: 40%;
  left: 50%;
  width: 50%;
  height: 55%;
  border-radius: 50%;
  background: rgba(43, 99, 255, 0.08);
  filter: blur(90px);
  transform: translate(-50%, -50%);
}

.tech-stack-heading {
  display: flex;
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto 38px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tech-stack.is-visible .tech-stack-heading {
  opacity: 1;
  transform: translateY(0);
}

.section-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.tech-stack-heading h2 {
  max-width: 650px;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(30px, 3.3vw, 46px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.tech-stack-heading p {
  max-width: 360px;
  margin: 0 0 3px;
  color: #8fa0ba;
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.tech-marquee {
  position: relative;
  width: 100%;
  padding: 8px 0 14px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 700ms 140ms ease, transform 700ms 140ms cubic-bezier(0.2, 0.8, 0.2, 1);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
}

.tech-stack.is-visible .tech-marquee {
  opacity: 1;
  transform: translateY(0);
}

.tech-track {
  display: flex;
  width: max-content;
  animation: tech-scroll 36s linear infinite;
}

.tech-marquee:hover .tech-track {
  animation-play-state: paused;
}

.tech-group {
  display: flex;
  padding-right: 16px;
  gap: 16px;
}

.tech-chip {
  position: relative;
  display: flex;
  width: 208px;
  min-height: 82px;
  padding: 14px 17px;
  overflow: hidden;
  border: 1px solid rgba(174, 187, 208, 0.14);
  border-radius: 17px;
  align-items: center;
  gap: 13px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.055), 0 16px 40px rgba(0, 0, 0, 0.14);
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
  backdrop-filter: blur(10px);
}

.tech-chip::after {
  position: absolute;
  right: -45px;
  bottom: -55px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
  filter: blur(35px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.tech-chip:hover {
  z-index: 2;
  border-color: color-mix(in srgb, var(--brand) 48%, transparent);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 18px 46px rgba(0, 0, 0, 0.23);
  transform: translateY(-5px);
}

.tech-chip:hover::after {
  opacity: 0.15;
}

.tech-icon {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(174, 187, 208, 0.13);
  border-radius: 13px;
  color: #d7e1f0;
  background: rgba(255, 255, 255, 0.05);
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 800;
  place-items: center;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.tech-chip:hover .tech-icon {
  border-color: color-mix(in srgb, var(--brand) 38%, transparent);
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 11%, transparent);
  transform: rotate(-4deg) scale(1.04);
}

.tech-icon svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.7;
}

.code-brackets {
  font-family: monospace;
  font-size: 13px;
}

.php-mark {
  font-size: 12px;
  font-style: italic;
  text-transform: lowercase;
}

.hex-mark {
  clip-path: polygon(25% 7%, 75% 7%, 100% 50%, 75% 93%, 25% 93%, 0 50%);
  border-radius: 0;
}

.bag-mark::before {
  position: absolute;
  top: 7px;
  width: 17px;
  height: 11px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  content: "";
  opacity: 0.65;
}

.automation-mark {
  font-size: 26px;
}

.tech-chip > span:last-child {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.tech-chip strong,
.tech-chip small {
  display: block;
}

.tech-chip strong {
  margin-bottom: 4px;
  color: #f3f7ff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.services-section {
  position: relative;
  padding: 105px 0 110px;
  overflow: hidden;
  color: var(--text);
  background:
    linear-gradient(rgba(43, 99, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 99, 255, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, #f8faff 0%, #ffffff 38%, #f7f9fc 100%);
  background-size: 72px 72px, 72px 72px, auto;
  scroll-margin-top: var(--header-height);
  isolation: isolate;
}

.services-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.services-orb-one {
  top: 2%;
  right: -130px;
  width: 370px;
  height: 370px;
  border: 1px solid rgba(72, 205, 255, 0.17);
  box-shadow: 0 0 0 70px rgba(72, 205, 255, 0.025), inset 0 0 110px rgba(43, 99, 255, 0.05);
}

.services-orb-two {
  bottom: 9%;
  left: -190px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(90, 46, 255, 0.1);
  box-shadow: 0 0 0 70px rgba(90, 46, 255, 0.02), inset 0 0 120px rgba(90, 46, 255, 0.04);
}

.services-wrap {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.services-heading {
  display: flex;
  margin-bottom: 48px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.services-section.is-visible .services-heading {
  opacity: 1;
  transform: translateY(0);
}

.light-kicker {
  color: var(--blue);
}

.services-heading h2 {
  max-width: 690px;
  margin: 0;
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 4.3vw, 58px);
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.services-heading h2 span {
  color: transparent;
  background: linear-gradient(100deg, var(--purple), var(--blue), #159ce1);
  background-clip: text;
  -webkit-background-clip: text;
}

.services-heading > p {
  max-width: 405px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e0e7f1;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 17px 50px rgba(30, 54, 92, 0.065), inset 0 1px rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 220ms ease, box-shadow 220ms ease;
  isolation: isolate;
}

.service-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(280px circle at var(--mouse-x) var(--mouse-y), color-mix(in srgb, var(--accent) 12%, transparent), transparent 72%);
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
}

.services-section.is-visible .service-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.services-section.is-visible .service-card:nth-child(1) { transition-delay: 90ms; }
.services-section.is-visible .service-card:nth-child(2) { transition-delay: 150ms; }
.services-section.is-visible .service-card:nth-child(3) { transition-delay: 210ms; }
.services-section.is-visible .service-card:nth-child(4) { transition-delay: 270ms; }
.services-section.is-visible .service-card:nth-child(5) { transition-delay: 330ms; }
.services-section.is-visible .service-card:nth-child(6) { transition-delay: 390ms; }

.service-card:hover {
  border-color: color-mix(in srgb, var(--accent) 27%, #dce4f0);
  box-shadow: 0 24px 65px rgba(30, 54, 92, 0.12), inset 0 1px rgba(255, 255, 255, 0.9);
  transform: translateY(-5px) scale(1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-featured {
  display: grid;
  min-height: 380px;
  padding: 35px;
  border-color: rgba(72, 205, 255, 0.15);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(72, 205, 255, 0.13), transparent 32%),
    linear-gradient(140deg, #0b172b, #07111f 70%);
  box-shadow: 0 25px 70px rgba(7, 17, 31, 0.17);
  grid-column: span 8;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  gap: 30px;
}

.service-featured::before {
  background: radial-gradient(330px circle at var(--mouse-x) var(--mouse-y), rgba(72, 205, 255, 0.14), transparent 68%);
}

.service-content,
.service-standard > *,
.wide-service-copy,
.wide-service-features {
  position: relative;
  z-index: 2;
}

.service-meta {
  display: flex;
  margin-bottom: 27px;
  align-items: center;
  gap: 10px;
  color: #8999b2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.service-featured .service-meta {
  color: #8192ac;
}

.service-number {
  display: grid;
  width: 28px;
  height: 24px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  border-radius: 7px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  font-size: 9px;
  place-items: center;
}

.service-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border: 1px solid color-mix(in srgb, var(--accent) 21%, transparent);
  border-radius: 14px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, white);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 9%, transparent);
  place-items: center;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.service-featured .service-icon {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.service-icon:hover {
  border-color: var(--accent);
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 15px 34px color-mix(in srgb, var(--accent) 32%, transparent);
  transform: rotate(-5deg) scale(1.07);
}

.service-icon svg {
  width: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  letter-spacing: -0.028em;
  line-height: 1.15;
}

.service-featured h3 {
  color: var(--white);
  font-size: 29px;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.72;
}

.service-featured p {
  color: #91a1ba;
}

.service-tags {
  display: flex;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 7px;
}

.service-tags span {
  padding: 6px 9px;
  border: 1px solid rgba(72, 205, 255, 0.13);
  border-radius: 7px;
  color: #9eb3d0;
  background: rgba(72, 205, 255, 0.04);
  font-family: monospace;
  font-size: 8px;
}

.service-link {
  display: inline-flex;
  width: max-content;
  min-height: 42px;
  margin-top: 24px;
  padding: 0 15px;
  border: 1px solid rgba(72, 205, 255, 0.22);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--white);
  background: linear-gradient(120deg, rgba(90, 46, 255, 0.92), rgba(43, 99, 255, 0.95));
  box-shadow: 0 10px 24px rgba(43, 99, 255, 0.16);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-link:hover {
  border-color: rgba(72, 205, 255, 0.42);
  box-shadow: 0 14px 30px rgba(43, 99, 255, 0.25);
  transform: translateY(-2px);
}

.service-link svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.service-link:hover svg {
  transform: translateX(4px);
}

.service-dashboard {
  position: relative;
  align-self: center;
  min-height: 275px;
  overflow: hidden;
  border: 1px solid rgba(174, 187, 208, 0.15);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.035);
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
  transition: transform 350ms ease;
}

.service-featured:hover .service-dashboard {
  transform: perspective(800px) rotateY(0) rotateX(0) translateY(-3px);
}

.dashboard-top {
  display: flex;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(174, 187, 208, 0.11);
  align-items: center;
  gap: 6px;
}

.dashboard-top i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3a4b65;
}

.dashboard-top i:first-child { background: var(--purple); }
.dashboard-top i:nth-child(2) { background: var(--blue); }
.dashboard-top i:nth-child(3) { background: var(--cyan); }

.dashboard-top span {
  width: 74px;
  height: 6px;
  margin-left: auto;
  border-radius: 99px;
  background: rgba(174, 187, 208, 0.13);
}

.dashboard-body {
  display: grid;
  height: 235px;
  grid-template-columns: 50px 1fr;
}

.dashboard-side {
  display: flex;
  padding: 18px 12px;
  border-right: 1px solid rgba(174, 187, 208, 0.1);
  flex-direction: column;
  gap: 10px;
}

.dashboard-side i {
  height: 5px;
  border-radius: 99px;
  background: #263852;
}

.dashboard-side i:first-child {
  background: var(--blue);
}

.dashboard-main {
  padding: 20px;
}

.dashboard-title {
  display: block;
  width: 90px;
  height: 8px;
  border-radius: 99px;
  background: rgba(234, 242, 255, 0.67);
}

.dashboard-stats {
  display: grid;
  margin-top: 19px;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.dashboard-stats i {
  height: 45px;
  border: 1px solid rgba(174, 187, 208, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.dashboard-chart {
  height: 100px;
  margin-top: 13px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(174, 187, 208, 0.1);
  border-radius: 10px;
}

.dashboard-chart svg {
  width: 100%;
  height: 100%;
}

.chart-area { fill: url(#chart-fill); }
.chart-line { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.dashboard-float {
  position: absolute;
  right: 12px;
  bottom: 13px;
  display: grid;
  width: 100px;
  padding: 10px;
  border: 1px solid rgba(72, 205, 255, 0.15);
  border-radius: 10px;
  background: rgba(7, 17, 31, 0.83);
  grid-template-columns: 17px 1fr;
  gap: 5px 7px;
  backdrop-filter: blur(10px);
}

.dashboard-float i {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: var(--green);
  grid-row: span 2;
}

.dashboard-float span {
  height: 4px;
  border-radius: 99px;
  background: #426082;
}

.service-standard {
  display: flex;
  min-height: 285px;
  padding: 29px;
  flex-direction: column;
  grid-column: span 4;
}

.service-standard .service-meta {
  margin-bottom: 21px;
}

.service-standard .service-icon {
  margin-bottom: 20px;
}

.service-standard p {
  max-width: 330px;
}

.dark-link {
  margin-top: auto;
  padding: 0 15px;
  border-color: color-mix(in srgb, var(--accent) 28%, #dce5f1);
  color: var(--blue);
  background: color-mix(in srgb, var(--accent) 7%, white);
  box-shadow: 0 9px 22px color-mix(in srgb, var(--accent) 8%, transparent);
}

.dark-link:hover {
  border-color: color-mix(in srgb, var(--accent) 48%, #dce5f1);
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 13px 28px color-mix(in srgb, var(--accent) 22%, transparent);
}

.dark-link span,
.dark-link b {
  font-size: 15px;
  transition: transform 180ms ease;
}

.dark-link:hover span,
.dark-link:hover b {
  transform: translate(3px, -2px);
}

.shopify-service-icon svg path:last-child {
  stroke-width: 1.7;
}

.service-wide {
  display: grid;
  min-height: 230px;
  padding: 34px;
  align-items: center;
  background:
    radial-gradient(circle at 88% 32%, rgba(43, 99, 255, 0.09), transparent 27%),
    rgba(255, 255, 255, 0.9);
  grid-column: span 12;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 55px;
}

.wide-service-copy {
  display: grid;
  align-items: start;
  grid-template-columns: 56px 1fr;
  column-gap: 20px;
}

.wide-service-copy .service-meta {
  margin-bottom: 21px;
  grid-column: 1 / -1;
}

.wide-service-copy .service-icon {
  margin: 0;
  grid-row: span 2;
}

.wide-service-copy p {
  max-width: 590px;
  margin-top: 9px;
}

.wide-service-features {
  display: grid;
  padding: 21px 24px;
  border: 1px solid #e2e9f3;
  border-radius: 16px;
  background: rgba(247, 249, 252, 0.78);
  gap: 12px;
}

.wide-service-features > span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #526078;
  font-size: 11px;
  font-weight: 600;
}

.wide-service-features i {
  display: grid;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  color: var(--blue);
  background: rgba(43, 99, 255, 0.08);
  font-style: normal;
  place-items: center;
}

.wide-service-features .service-link {
  width: 100%;
  margin-top: 5px;
  padding: 0 13px;
  justify-content: space-between;
}

.services-cta {
  display: flex;
  margin-top: 24px;
  padding: 24px 27px;
  border: 1px solid rgba(43, 99, 255, 0.12);
  border-radius: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: linear-gradient(110deg, rgba(90, 46, 255, 0.06), rgba(72, 205, 255, 0.075));
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms 450ms ease, transform 600ms 450ms ease;
}

.services-section.is-visible .services-cta {
  opacity: 1;
  transform: translateY(0);
}

.services-cta span,
.services-cta strong {
  display: block;
}

.services-cta span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
}

.services-cta strong {
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
}

.services-cta > a {
  display: inline-flex;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 11px;
  align-items: center;
  gap: 10px;
  color: var(--white);
  background: linear-gradient(120deg, var(--purple), var(--blue));
  box-shadow: 0 12px 28px rgba(43, 99, 255, 0.17);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.services-cta > a:hover {
  box-shadow: 0 16px 36px rgba(43, 99, 255, 0.25);
  transform: translateY(-2px);
}

.services-cta svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.projects-section {
  position: relative;
  padding: 105px 0 95px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 8% 10%, rgba(90, 46, 255, 0.2), transparent 27%),
    radial-gradient(circle at 93% 86%, rgba(72, 205, 255, 0.12), transparent 25%),
    linear-gradient(rgba(72, 205, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 205, 255, 0.032) 1px, transparent 1px),
    #07111f;
  background-size: auto, auto, 72px 72px, 72px 72px, auto;
  scroll-margin-top: var(--header-height);
  isolation: isolate;
}

.projects-wrap {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.projects-heading {
  display: flex;
  margin-bottom: 48px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.projects-section.is-visible .projects-heading {
  opacity: 1;
  transform: translateY(0);
}

.projects-heading h2 {
  max-width: 700px;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(40px, 4.5vw, 60px);
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.projects-heading h2 span {
  color: var(--cyan);
}

.projects-heading > p {
  max-width: 410px;
  margin: 0 0 4px;
  color: #8fa0ba;
  font-size: 13px;
  line-height: 1.72;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(174, 187, 208, 0.14);
  border-radius: 23px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 22px 60px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 220ms ease, box-shadow 220ms ease;
}

.projects-section.is-visible .project-card {
  opacity: 1;
  transform: translateY(0);
}

.projects-section.is-visible .project-card:nth-child(1) { transition-delay: 90ms; }
.projects-section.is-visible .project-card:nth-child(2) { transition-delay: 150ms; }
.projects-section.is-visible .project-card:nth-child(3) { transition-delay: 210ms; }
.projects-section.is-visible .project-card:nth-child(4) { transition-delay: 270ms; }

.project-card:hover {
  border-color: color-mix(in srgb, var(--project-accent) 35%, rgba(174, 187, 208, 0.14));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 28px 70px rgba(0, 0, 0, 0.23);
  transform: translateY(-5px);
}

.project-featured {
  display: grid;
  min-height: 440px;
  padding: 37px;
  grid-column: span 8;
  grid-template-columns: minmax(0, 0.82fr) minmax(370px, 1.18fr);
  gap: 30px;
}

.project-shop {
  display: flex;
  min-height: 440px;
  padding: 31px;
  flex-direction: column;
  grid-column: span 4;
}

.project-doctor,
.project-utility {
  display: grid;
  min-height: 390px;
  padding: 31px;
  grid-column: span 6;
}

.project-doctor {
  grid-template-columns: minmax(250px, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
}

.project-utility {
  grid-template-columns: minmax(0, 0.86fr) minmax(270px, 1.14fr);
  gap: 30px;
}

.project-card-copy {
  position: relative;
  z-index: 2;
}

.project-label {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  gap: 10px;
  color: #7f90aa;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.project-label span {
  display: grid;
  width: 27px;
  height: 23px;
  border: 1px solid color-mix(in srgb, var(--project-accent) 28%, transparent);
  border-radius: 7px;
  color: var(--project-accent);
  background: color-mix(in srgb, var(--project-accent) 7%, transparent);
  font-size: 8px;
  place-items: center;
}

.project-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(23px, 2.3vw, 31px);
  letter-spacing: -0.038em;
  line-height: 1.08;
}

.project-card-copy > p {
  margin: 15px 0 0;
  color: #91a1b8;
  font-size: 11px;
  line-height: 1.72;
}

.project-modules {
  display: flex;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 7px;
}

.project-modules span {
  padding: 6px 9px;
  border: 1px solid rgba(174, 187, 208, 0.12);
  border-radius: 7px;
  color: #9badc5;
  background: rgba(255, 255, 255, 0.035);
  font-size: 8px;
}

.project-card-copy > a,
.project-card-link {
  display: inline-flex;
  width: max-content;
  min-height: 40px;
  margin-top: 24px;
  padding: 0 13px;
  border: 1px solid color-mix(in srgb, var(--project-accent) 25%, rgba(174, 187, 208, 0.1));
  border-radius: 10px;
  align-items: center;
  gap: 9px;
  color: #dce8f8;
  background: color-mix(in srgb, var(--project-accent) 7%, transparent);
  font-size: 9px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.project-card-copy > a:hover,
.project-card-link:hover {
  color: #07111f;
  background: var(--project-accent);
  transform: translateY(-2px);
}

.project-card-copy > a b {
  font-size: 14px;
}

.project-card-link {
  align-self: end;
}

.project-ui {
  position: relative;
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(174, 187, 208, 0.14);
  border-radius: 16px;
  background: #0c192c;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.25);
  transition: transform 350ms ease;
}

.project-card:hover .project-ui {
  transform: translateY(-4px) scale(1.012);
}

.project-window-bar {
  display: flex;
  height: 39px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(174, 187, 208, 0.11);
  align-items: center;
  gap: 6px;
}

.project-window-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #40526d;
}

.project-window-bar i:first-child { background: var(--purple); }
.project-window-bar i:nth-child(2) { background: var(--blue); }
.project-window-bar i:nth-child(3) { background: var(--cyan); }

.project-window-bar span {
  margin-left: auto;
  color: #6f8099;
  font-size: 7px;
}

.school-ui {
  width: 100%;
  min-height: 310px;
  transform: perspective(900px) rotateY(-3deg);
}

.project-featured:hover .school-ui {
  transform: perspective(900px) rotateY(0) translateY(-4px);
}

.school-layout {
  display: grid;
  min-height: 270px;
  grid-template-columns: 48px 1fr;
}

.school-sidebar {
  display: flex;
  padding: 16px 11px;
  border-right: 1px solid rgba(174, 187, 208, 0.09);
  align-items: stretch;
  flex-direction: column;
  gap: 11px;
}

.school-sidebar strong {
  display: grid;
  width: 26px;
  height: 26px;
  margin-bottom: 7px;
  border-radius: 8px;
  color: var(--cyan);
  background: rgba(72, 205, 255, 0.1);
  font-size: 8px;
  place-items: center;
}

.school-sidebar i {
  height: 5px;
  border-radius: 99px;
  background: #263b56;
}

.school-sidebar i:first-of-type { background: var(--blue); }

.school-main {
  padding: 21px;
}

.ui-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ui-heading span {
  width: 96px;
  height: 8px;
  border-radius: 99px;
  background: #d7e3f3;
}

.ui-heading i {
  width: 52px;
  height: 20px;
  border-radius: 7px;
  background: var(--blue);
}

.school-stats {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.school-stats i {
  height: 54px;
  border: 1px solid rgba(174, 187, 208, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.school-content {
  display: grid;
  margin-top: 12px;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 9px;
}

.mini-chart,
.mini-list {
  height: 105px;
  padding: 13px;
  border: 1px solid rgba(174, 187, 208, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 7px;
}

.mini-chart span {
  width: 13%;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(var(--cyan), var(--blue));
  opacity: 0.75;
  animation: project-bars 2.6s ease-in-out infinite alternate;
}

.mini-chart span:nth-child(1) { height: 35%; }
.mini-chart span:nth-child(2) { height: 58%; animation-delay: -0.5s; }
.mini-chart span:nth-child(3) { height: 45%; animation-delay: -1s; }
.mini-chart span:nth-child(4) { height: 78%; animation-delay: -1.5s; }
.mini-chart span:nth-child(5) { height: 66%; animation-delay: -2s; }

.mini-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-list i {
  height: 5px;
  border-radius: 99px;
  background: #31445f;
}

.mini-list i:nth-child(even) { width: 70%; }

.project-ui-badge {
  position: absolute;
  right: 13px;
  bottom: 13px;
  display: flex;
  padding: 9px 11px;
  border: 1px solid rgba(37, 211, 102, 0.15);
  border-radius: 9px;
  align-items: center;
  gap: 7px;
  color: #a9b9ce;
  background: rgba(7, 17, 31, 0.87);
  font-size: 7px;
}

.project-ui-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(37, 211, 102, 0.6);
}

.shop-ui {
  min-height: 185px;
  margin-top: 24px;
  padding: 16px;
}

.shop-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.shop-summary > div {
  position: relative;
  height: 64px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(174, 187, 208, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
}

.shop-summary small,
.shop-summary strong {
  display: block;
}

.shop-summary small { color: #72839c; font-size: 7px; }
.shop-summary strong { margin-top: 6px; color: #dfe8f5; font-size: 10px; }

.shop-summary i {
  position: absolute;
  right: -10px;
  bottom: -12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--project-accent);
  filter: blur(18px);
  opacity: 0.25;
}

.shop-table {
  display: grid;
  margin-top: 10px;
  gap: 9px;
}

.shop-table span,
.shop-table i {
  height: 6px;
  border-radius: 99px;
  background: #2a3d58;
}

.shop-table span { width: 44%; background: #526985; }
.shop-table i:nth-child(odd) { width: 83%; }

.doctor-ui {
  width: 100%;
  min-height: 225px;
  background: #f8fbff;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
}

.doctor-nav {
  display: flex;
  height: 39px;
  padding: 0 13px;
  align-items: center;
  gap: 12px;
}

.doctor-nav strong { margin-right: auto; color: #0d182d; font-size: 8px; }
.doctor-nav span { width: 27px; height: 4px; border-radius: 99px; background: #dbe4f0; }
.doctor-nav i { width: 42px; height: 16px; border-radius: 5px; background: var(--project-accent); }

.doctor-hero-mini {
  display: grid;
  min-height: 185px;
  padding: 23px;
  align-items: center;
  color: #0d182d;
  background: radial-gradient(circle at 80% 28%, rgba(43, 99, 255, 0.16), transparent 31%), #f5f8fd;
  grid-template-columns: 1fr 0.7fr;
}

.doctor-hero-mini small { display: block; margin-bottom: 9px; color: var(--project-accent); font-size: 6px; font-weight: 800; text-transform: uppercase; }
.doctor-hero-mini strong { font-family: "Space Grotesk", sans-serif; font-size: 15px; line-height: 1.2; }
.doctor-hero-mini div > i { display: block; width: 53px; height: 18px; margin-top: 14px; border-radius: 5px; background: var(--project-accent); }

.doctor-portrait {
  align-self: end;
  width: 90px;
  height: 125px;
  border-radius: 50px 50px 18px 18px;
  background: linear-gradient(145deg, #e6edf8, #b9ccec);
  box-shadow: 0 0 0 12px rgba(43, 99, 255, 0.05);
}

.csv-ui {
  min-height: 230px;
  padding: 18px;
}

.csv-top {
  display: flex;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(174, 187, 208, 0.1);
  align-items: center;
  justify-content: space-between;
  color: #a8b7ca;
  font-family: monospace;
  font-size: 8px;
}

.csv-top i {
  padding: 5px 7px;
  border-radius: 6px;
  color: var(--green);
  background: rgba(37, 211, 102, 0.08);
  font-style: normal;
  font-family: "Manrope", sans-serif;
}

.csv-grid {
  display: grid;
  margin-top: 15px;
  grid-template-columns: 0.7fr 1.3fr 1fr 0.7fr;
  gap: 7px;
}

.csv-grid b,
.csv-grid i {
  height: 9px;
  border-radius: 3px;
}

.csv-grid b { background: #405470; }
.csv-grid i { background: #243750; }
.csv-grid i:nth-of-type(4),
.csv-grid i:nth-of-type(8) { background: rgba(37, 211, 102, 0.35); }

.csv-progress {
  display: flex;
  margin-top: 20px;
  align-items: center;
  gap: 10px;
}

.csv-progress span {
  position: relative;
  flex: 1;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: #263952;
}

.csv-progress span::after {
  position: absolute;
  inset: 0 2% 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--project-accent), #ffd075);
  content: "";
}

.csv-progress strong { color: #aabbcf; font-size: 7px; white-space: nowrap; }

.projects-note {
  display: flex;
  margin-top: 22px;
  padding: 18px 21px;
  border: 1px solid rgba(174, 187, 208, 0.11);
  border-radius: 14px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: rgba(255, 255, 255, 0.025);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 600ms 330ms ease, transform 600ms 330ms ease;
}

.projects-section.is-visible .projects-note {
  opacity: 1;
  transform: translateY(0);
}

.projects-note > span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #a9b8cc;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.projects-note > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(37, 211, 102, 0.6);
}

.projects-note p {
  margin: 0;
  color: #74859e;
  font-size: 9px;
  line-height: 1.6;
  text-align: right;
}

@keyframes project-bars {
  to { filter: brightness(1.3); transform: scaleY(0.78); transform-origin: bottom; }
}

/* Real project galleries */
.project-gallery {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(174, 187, 208, 0.17);
  border-radius: 17px;
  background: #0a1424;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
  transition: transform 350ms ease, border-color 250ms ease;
}

.project-card:hover .project-gallery {
  border-color: color-mix(in srgb, var(--project-accent) 38%, rgba(174, 187, 208, 0.17));
  transform: translateY(-4px);
}

.project-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(rgba(72, 205, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 205, 255, 0.035) 1px, transparent 1px),
    #0c192c;
  background-size: 24px 24px;
}

.project-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(4%) scale(0.985);
  transition: opacity 450ms ease, transform 550ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.project-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.project-slide img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 8px;
  border-radius: 15px;
  object-fit: contain;
  object-position: center top;
  transition: transform 5s ease;
}

.project-gallery:hover .project-slide.is-active img {
  transform: scale(1.025);
}

.project-slide figcaption {
  position: absolute;
  z-index: 2;
  right: 17px;
  bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: #dbe8f7;
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(9px);
  font-size: 8px;
  font-weight: 700;
}

.project-gallery-controls {
  display: flex;
  height: 44px;
  padding: 0 12px;
  border-top: 1px solid rgba(174, 187, 208, 0.12);
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.project-gallery-controls button {
  display: grid;
  width: 27px;
  height: 27px;
  padding: 0;
  border: 1px solid rgba(174, 187, 208, 0.14);
  border-radius: 7px;
  color: #d9e5f5;
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  cursor: pointer;
  place-items: center;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.project-gallery-controls button:hover {
  border-color: var(--project-accent);
  color: #07111f;
  background: var(--project-accent);
}

.project-gallery-controls > span {
  min-width: 48px;
  color: #687a94;
  font-family: "Space Grotesk", sans-serif;
  font-size: 8px;
  text-align: center;
}

.project-gallery-controls b {
  color: var(--project-accent);
  font-size: 9px;
}

.project-featured .project-gallery {
  align-self: center;
  transform: perspective(900px) rotateY(-2deg);
}

.project-featured:hover .project-gallery {
  transform: perspective(900px) rotateY(0) translateY(-4px);
}

.project-shop .project-gallery {
  margin-top: 23px;
}

.project-doctor .project-gallery {
  align-self: center;
  grid-row: 1 / span 2;
}

.project-doctor .project-card-link {
  grid-column: 2;
}

.project-utility .project-gallery {
  align-self: center;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.project-utility .project-card-link {
  grid-column: 1;
}

.single-image .project-slides {
  aspect-ratio: 16 / 10;
}

/* Process */
.process-section {
  position: relative;
  padding: 105px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(circle at 91% 8%, rgba(72, 205, 255, 0.13), transparent 25%),
    radial-gradient(circle at 8% 92%, rgba(90, 46, 255, 0.08), transparent 24%),
    #f8faff;
  scroll-margin-top: var(--header-height);
}

.process-wrap,
.about-wrap,
.faq-wrap,
.footer-wrap {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.process-heading {
  display: flex;
  margin-bottom: 55px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.process-section.is-visible .process-heading {
  opacity: 1;
  transform: translateY(0);
}

.process-heading h2,
.about-copy h2,
.faq-intro h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 4.3vw, 58px);
  letter-spacing: -0.052em;
  line-height: 1.03;
}

.process-heading h2 {
  max-width: 680px;
}

.process-heading h2 span {
  color: var(--blue);
}

.process-heading > p {
  max-width: 405px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.process-track {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
}

.process-track::before {
  position: absolute;
  top: 59px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, var(--purple), var(--blue), var(--cyan));
  content: "";
  opacity: 0.27;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s 180ms ease;
}

.process-section.is-visible .process-track::before {
  transform: scaleX(1);
}

.process-track li {
  position: relative;
  padding: 0 22px;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.process-section.is-visible .process-track li { opacity: 1; transform: translateY(0); }
.process-section.is-visible .process-track li:nth-child(1) { transition-delay: 100ms; }
.process-section.is-visible .process-track li:nth-child(2) { transition-delay: 170ms; }
.process-section.is-visible .process-track li:nth-child(3) { transition-delay: 240ms; }
.process-section.is-visible .process-track li:nth-child(4) { transition-delay: 310ms; }
.process-section.is-visible .process-track li:nth-child(5) { transition-delay: 380ms; }

.process-number {
  display: block;
  margin-bottom: 13px;
  color: #9aa7ba;
  font-family: "Space Grotesk", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.process-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 63px;
  height: 63px;
  margin: 0 auto 22px;
  border: 1px solid #dce4f0;
  border-radius: 19px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 35px rgba(32, 66, 126, 0.09);
  place-items: center;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.process-track li:hover .process-icon {
  color: var(--white);
  background: linear-gradient(145deg, var(--purple), var(--blue));
  transform: translateY(-5px) rotate(-3deg);
}

.process-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.process-track h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.process-track p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

/* About */
.about-section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 17% 50%, rgba(90, 46, 255, 0.18), transparent 31%),
    radial-gradient(circle at 94% 12%, rgba(72, 205, 255, 0.09), transparent 25%),
    #07111f;
  scroll-margin-top: var(--header-height);
}

.about-wrap {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(65px, 8vw, 110px);
}

.about-visual,
.about-copy {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.about-section.is-visible .about-visual,
.about-section.is-visible .about-copy {
  opacity: 1;
  transform: translateY(0);
}

.about-section.is-visible .about-copy { transition-delay: 130ms; }

.about-visual {
  position: relative;
  padding: 25px;
}

.about-visual::before {
  position: absolute;
  inset: 8% 10%;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(90, 46, 255, 0.45), rgba(72, 205, 255, 0.25));
  content: "";
  filter: blur(60px);
  opacity: 0.55;
}

.about-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(174, 187, 208, 0.18);
  border-radius: 22px;
  background: rgba(12, 25, 44, 0.92);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.32);
  transform: perspective(900px) rotateY(4deg);
  transition: transform 450ms ease;
}

.about-visual:hover .about-window {
  transform: perspective(900px) rotateY(0) translateY(-4px);
}

.about-window-bar {
  display: flex;
  height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(174, 187, 208, 0.11);
  align-items: center;
  gap: 7px;
}

.about-window-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
}

.about-window-bar i:nth-child(2) { background: var(--blue); }
.about-window-bar i:nth-child(3) { background: var(--cyan); }

.about-window-bar span {
  margin-left: auto;
  color: #6f819c;
  font-family: monospace;
  font-size: 9px;
}

.about-code {
  display: grid;
  min-height: 275px;
  padding: 40px 30px;
  align-content: center;
  gap: 18px;
  background:
    linear-gradient(rgba(72, 205, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 205, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
}

.about-code span {
  color: #aebcd0;
  font-family: Consolas, monospace;
  font-size: clamp(9px, 1.1vw, 12px);
  white-space: nowrap;
}

.about-code b {
  margin-right: 18px;
  color: #40536f;
  font-weight: 400;
}

.about-code em { color: #b99dff; font-style: normal; }
.about-code strong { color: var(--cyan); font-weight: 500; }

.about-result {
  display: flex;
  padding: 19px 22px;
  border-top: 1px solid rgba(174, 187, 208, 0.11);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #d7e3f3;
  background: rgba(255, 255, 255, 0.025);
  font-size: 9px;
}

.about-result span { display: flex; align-items: center; gap: 8px; color: #8293aa; }
.about-result i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(37, 211, 102, 0.65); }

.about-float {
  position: absolute;
  z-index: 2;
  padding: 9px 12px;
  border: 1px solid rgba(174, 187, 208, 0.2);
  border-radius: 9px;
  color: #b8c7da;
  background: rgba(7, 17, 31, 0.86);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  font-size: 8px;
  font-weight: 700;
  animation: about-float 4s ease-in-out infinite;
}

.about-float-one { top: 4px; right: 1px; }
.about-float-two { bottom: 4px; left: 0; animation-delay: -2s; }

@keyframes about-float {
  50% { transform: translateY(-7px); }
}

.about-copy .section-kicker { color: var(--cyan); }

.about-copy h2 {
  max-width: 640px;
  margin-top: 9px;
}

.about-copy > p {
  max-width: 630px;
  margin: 22px 0 0;
  color: #95a5bc;
  font-size: 12px;
  line-height: 1.8;
}

.about-principles {
  display: grid;
  margin-top: 32px;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.about-principles > div {
  padding: 17px 15px;
  border: 1px solid rgba(174, 187, 208, 0.12);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
}

.about-principles span,
.about-principles strong,
.about-principles small { display: block; }
.about-principles span { color: var(--cyan); font-size: 8px; font-weight: 800; }
.about-principles strong { margin-top: 10px; color: #e6effb; font-size: 10px; }
.about-principles small { margin-top: 5px; color: #6f819a; font-size: 8px; line-height: 1.5; }

.about-button {
  display: inline-flex;
  min-height: 48px;
  margin-top: 29px;
  padding: 0 17px;
  border: 1px solid rgba(72, 205, 255, 0.25);
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(90, 46, 255, 0.85), rgba(43, 99, 255, 0.9));
  font-size: 10px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.about-button:hover { transform: translateY(-3px); box-shadow: 0 16px 35px rgba(43, 99, 255, 0.25); }

/* FAQ */
.faq-section {
  padding: 105px 0;
  background: #ffffff;
  scroll-margin-top: var(--header-height);
}

.faq-wrap {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(55px, 8vw, 110px);
}

.faq-intro,
.faq-list {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.faq-section.is-visible .faq-intro,
.faq-section.is-visible .faq-list { opacity: 1; transform: translateY(0); }
.faq-section.is-visible .faq-list { transition-delay: 120ms; }

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 35px);
}

.faq-intro h2 {
  margin-top: 10px;
}

.faq-intro > p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.faq-intro > a {
  display: inline-flex;
  margin-top: 24px;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 { margin: 0; }

.faq-item button {
  display: flex;
  width: 100%;
  min-height: 78px;
  padding: 20px 4px;
  border: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--text);
  background: transparent;
  font: 700 14px/1.45 "Space Grotesk", sans-serif;
  text-align: left;
  cursor: pointer;
}

.faq-item button i {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  transition: background 180ms ease, border-color 180ms ease;
}

.faq-item button i::before,
.faq-item button i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  border-radius: 99px;
  background: var(--blue);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 220ms ease, background 180ms ease;
}

.faq-item button i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open button i { border-color: var(--blue); background: var(--blue); }
.faq-item.is-open button i::before,
.faq-item.is-open button i::after { background: white; }
.faq-item.is-open button i::after { transform: translate(-50%, -50%) rotate(0); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
}

.faq-answer p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer p { padding: 0 55px 24px 4px; }

/* Footer */
.site-footer {
  color: var(--white);
  background: #050d19;
}

.footer-main {
  display: grid;
  padding: 72px 0 58px;
  grid-template-columns: minmax(240px, 1.3fr) 0.55fr 0.75fr minmax(280px, 1.2fr);
  gap: 48px;
}

.footer-brand .brand-name { color: var(--white); }
.footer-brand > p { max-width: 290px; margin: 20px 0 0; color: #71839c; font-size: 10px; line-height: 1.75; }

.footer-column h2,
.footer-contact > span {
  display: block;
  margin: 0 0 19px;
  color: #657791;
  font: 800 8px/1.2 "Manrope", sans-serif;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  width: max-content;
  margin-top: 12px;
  color: #aebcd0;
  font-size: 10px;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-column a:hover { color: var(--cyan); transform: translateX(3px); }

.footer-contact {
  padding: 25px;
  border: 1px solid rgba(174, 187, 208, 0.12);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(90, 46, 255, 0.12), rgba(72, 205, 255, 0.035));
}

.footer-contact > span { margin-bottom: 12px; color: var(--cyan); }
.footer-contact h2 { margin: 0; font: 600 18px/1.3 "Space Grotesk", sans-serif; letter-spacing: -0.025em; }
.footer-contact a { display: inline-flex; margin-top: 20px; align-items: center; gap: 10px; color: var(--white); font-size: 9px; font-weight: 800; }
.footer-contact a span { color: var(--cyan); font-size: 14px; transition: transform 180ms ease; }
.footer-contact a:hover span { transform: translateX(3px); }

.footer-bottom {
  display: flex;
  min-height: 75px;
  border-top: 1px solid rgba(174, 187, 208, 0.1);
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #62738c;
  font-size: 8px;
}

.footer-bottom p { margin: 0; }
.footer-bottom > div { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--cyan); }

.back-to-top {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(174, 187, 208, 0.16);
  border-radius: 10px;
  color: #c1cede;
  background: rgba(255, 255, 255, 0.035);
  font-size: 14px;
  place-items: center;
}

.contact-section {
  position: relative;
  padding: 105px 0 115px;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 13% 13%, rgba(90, 46, 255, 0.065), transparent 27%),
    radial-gradient(circle at 90% 83%, rgba(72, 205, 255, 0.09), transparent 28%),
    #f8faff;
  scroll-margin-top: var(--header-height);
  isolation: isolate;
}

.contact-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.52;
  background-image:
    linear-gradient(rgba(43, 99, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 99, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent 0, black 16%, black 86%, transparent 100%);
}

.contact-glow {
  position: absolute;
  z-index: -1;
  top: 10%;
  left: 50%;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(43, 99, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(43, 99, 255, 0.018), 0 0 0 144px rgba(90, 46, 255, 0.012);
  transform: translateX(-50%);
}

.contact-wrap {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.contact-heading {
  max-width: 770px;
  margin: 0 auto 48px;
  text-align: center;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-section.is-visible .contact-heading {
  opacity: 1;
  transform: translateY(0);
}

.contact-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(40px, 4.4vw, 60px);
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.contact-heading h2 span {
  color: transparent;
  background: linear-gradient(100deg, var(--purple), var(--blue), #159ce1);
  background-clip: text;
  -webkit-background-clip: text;
}

.contact-heading > p {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.brief-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.78fr);
  gap: 22px;
}

.brief-form-card,
.brief-panel {
  border-radius: 25px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-section.is-visible .brief-form-card {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 100ms;
}

.contact-section.is-visible .brief-panel {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 180ms;
}

.brief-form-card {
  padding: 35px;
  border: 1px solid #e0e7f1;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(27, 51, 91, 0.08), inset 0 1px rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.brief-card-heading {
  display: flex;
  margin-bottom: 31px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8edf4;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brief-card-heading span:first-child {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.brief-card-heading h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.brief-time {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 8px 11px;
  border: 1px solid #e1e8f2;
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  color: var(--muted) !important;
  background: #f8faff;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap;
}

.brief-time i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px rgba(37, 211, 102, 0.5);
}

.project-brief-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
}

.form-field {
  min-width: 0;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label,
.label-row span {
  display: block;
}

.form-field label {
  margin-bottom: 8px;
  color: #33415a;
  font-size: 10px;
  font-weight: 750;
}

.form-field label em {
  color: var(--purple);
  font-style: normal;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.label-row span {
  margin-bottom: 8px;
  color: #8a96a9;
  font-size: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #dfe6f0;
  border-radius: 11px;
  outline: 0;
  color: var(--navy);
  background: rgba(249, 251, 254, 0.9);
  font: inherit;
  font-size: 11px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.form-field input,
.form-field select {
  height: 49px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 124px;
  padding: 14px;
  line-height: 1.6;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9aa6b7;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(90, 46, 255, 0.56);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(90, 46, 255, 0.07), 0 10px 22px rgba(43, 99, 255, 0.05);
  transform: translateY(-1px);
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  padding-right: 42px;
  appearance: none;
  cursor: pointer;
}

.select-wrap > svg {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 17px;
  fill: none;
  stroke: #718097;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  pointer-events: none;
  transform: translateY(-50%);
}

.brief-form-footer {
  display: flex;
  margin-top: 3px;
  padding-top: 22px;
  border-top: 1px solid #e8edf4;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brief-form-footer p {
  display: flex;
  max-width: 340px;
  margin: 0;
  align-items: center;
  gap: 8px;
  color: #7b889d;
  font-size: 9px;
  line-height: 1.5;
}

.brief-form-footer p span {
  display: grid;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  color: var(--green);
  background: rgba(37, 211, 102, 0.08);
  place-items: center;
}

.brief-form-footer button {
  display: inline-flex;
  min-height: 49px;
  padding: 0 19px;
  border: 0;
  border-radius: 11px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  background: linear-gradient(120deg, var(--purple), var(--blue));
  box-shadow: 0 13px 30px rgba(43, 99, 255, 0.2);
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.brief-form-footer button:hover {
  box-shadow: 0 17px 38px rgba(43, 99, 255, 0.29);
  transform: translateY(-2px);
}

.brief-form-footer button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.brief-form-footer button:hover svg {
  transform: translateX(3px);
}

.brief-panel {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  min-height: 100%;
  padding: 37px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0%, rgba(72, 205, 255, 0.13), transparent 31%),
    radial-gradient(circle at 0% 100%, rgba(90, 46, 255, 0.16), transparent 33%),
    #0b162a;
  box-shadow: 0 26px 75px rgba(7, 17, 31, 0.2);
  isolation: isolate;
}

.brief-panel-orbit {
  position: absolute;
  z-index: -1;
  top: -170px;
  right: -155px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(72, 205, 255, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(72, 205, 255, 0.02), 0 0 0 96px rgba(43, 99, 255, 0.015);
  animation: panel-orbit 9s ease-in-out infinite;
}

.brief-ready-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 25px;
  border: 1px solid rgba(72, 205, 255, 0.22);
  border-radius: 15px;
  color: var(--cyan);
  background: rgba(72, 205, 255, 0.07);
  place-items: center;
}

.brief-ready-icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.brief-panel.is-prepared .brief-ready-icon {
  color: var(--white);
  background: var(--green);
  animation: ready-pop 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.panel-kicker {
  display: block;
  margin-bottom: 9px;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.brief-panel h3 {
  max-width: 360px;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(27px, 2.5vw, 35px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.panel-intro {
  max-width: 390px;
  margin: 15px 0 0;
  color: #93a2b9;
  font-size: 11px;
  line-height: 1.7;
}

.brief-progress {
  margin-top: 27px;
}

.brief-progress-label {
  display: flex;
  margin-bottom: 9px;
  align-items: center;
  justify-content: space-between;
  color: #8292aa;
  font-size: 9px;
}

.brief-progress-label strong {
  color: var(--cyan);
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
}

.brief-progress-bar {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(174, 187, 208, 0.12);
}

.brief-progress-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--blue), var(--cyan));
  box-shadow: 0 0 16px rgba(72, 205, 255, 0.4);
  transition: width 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brief-benefits {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  gap: 13px;
}

.brief-benefits li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #c4d0e1;
  font-size: 10px;
}

.brief-benefits i {
  display: grid;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(37, 211, 102, 0.27);
  border-radius: 50%;
  color: var(--green);
  background: rgba(37, 211, 102, 0.05);
  font-style: normal;
  font-size: 9px;
  place-items: center;
}

.brief-preview {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(174, 187, 208, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.brief-panel.is-prepared .brief-preview {
  border-color: rgba(72, 205, 255, 0.24);
  background: rgba(72, 205, 255, 0.055);
  transform: translateY(-2px);
}

.brief-preview > span {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.brief-preview > p {
  margin: 0;
  color: #8f9eb5;
  font-size: 10px;
  line-height: 1.65;
}

.brief-preview dl {
  display: grid;
  margin: 0;
  grid-template-columns: 76px 1fr;
  gap: 7px 12px;
}

.brief-preview dt {
  color: #75859e;
  font-size: 8px;
}

.brief-preview dd {
  margin: 0;
  overflow: hidden;
  color: #e0e9f7;
  font-size: 9px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brief-actions {
  display: grid;
  margin-top: 13px;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.brief-send-link {
  display: inline-flex;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(174, 187, 208, 0.15);
  border-radius: 11px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  transition: opacity 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.brief-send-link svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.brief-send-link.is-disabled {
  opacity: 0.32;
  pointer-events: none;
}

.brief-actions.is-ready .whatsapp-link {
  border-color: rgba(37, 211, 102, 0.24);
  background: rgba(37, 211, 102, 0.1);
}

.brief-actions.is-ready .email-link {
  border-color: rgba(72, 205, 255, 0.22);
  background: rgba(72, 205, 255, 0.08);
}

.brief-actions.is-ready .brief-send-link:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.brief-panel-note {
  display: flex;
  margin-top: 19px;
  align-items: center;
  gap: 8px;
  color: #718199;
  font-size: 8px;
}

.brief-panel-note i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #63738b;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.brief-panel.is-prepared .brief-panel-note {
  color: #9fb1c9;
}

.brief-panel.is-prepared .brief-panel-note i {
  background: var(--green);
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.65);
}

@keyframes panel-orbit {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-12px, 10px, 0); }
}

@keyframes ready-pop {
  0% { transform: scale(0.82) rotate(-7deg); }
  65% { transform: scale(1.08) rotate(2deg); }
  100% { transform: scale(1) rotate(0); }
}

.tech-chip small {
  color: #7f90aa;
  font-size: 9px;
  white-space: nowrap;
}

@keyframes status-pulse {
  from { opacity: 0.9; transform: scale(0.7); }
  to { opacity: 0; transform: scale(1.65); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, -14px, 0); }
}

@keyframes sheen {
  0%, 28% { left: -85%; }
  60%, 100% { left: 130%; }
}

@keyframes scroll-line {
  0% { top: -100%; }
  70%, 100% { top: 110%; }
}

@keyframes typing-caret {
  0%, 46% { opacity: 1; }
  47%, 100% { opacity: 0; }
}

@keyframes tech-scroll {
  to { transform: translateX(-50%); }
}

@media (min-width: 821px) and (max-height: 900px) {
  .hero {
    padding-top: calc(var(--header-height) + 10px);
    padding-bottom: 18px;
  }

  h1 {
    font-size: clamp(48px, 4.6vw, 64px);
    line-height: 0.98;
  }

  .eyebrow {
    margin-bottom: 18px;
  }

  .intro {
    margin-bottom: 10px;
  }

  .hero-description {
    margin-top: 18px;
    line-height: 1.62;
  }

  .hero-actions,
  .tech-row {
    margin-top: 24px;
  }

  .portrait-frame {
    min-height: 500px;
  }

  .scroll-cue {
    display: none;
  }
}

@media (max-width: 1040px) {
  .nav-cta {
    display: none;
  }

  .hero-wrap {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: 45px;
  }

  h1 {
    font-size: clamp(48px, 6vw, 66px);
  }

  .portrait-frame {
    min-height: 500px;
  }

  .service-featured {
    grid-column: span 12;
  }

  .service-standard {
    grid-column: span 6;
  }

  .service-wide {
    grid-template-columns: 1fr 0.8fr;
    gap: 30px;
  }

  .project-featured {
    grid-column: span 12;
  }

  .project-shop,
  .project-doctor {
    grid-column: span 6;
  }

  .project-doctor {
    display: flex;
    flex-direction: column;
  }

  .project-doctor .project-gallery {
    order: 2;
    margin-top: 23px;
  }

  .project-doctor .project-card-link {
    order: 3;
  }

  .project-utility {
    grid-column: span 12;
  }

  .process-track li {
    padding-inline: 13px;
  }

  .footer-main {
    grid-template-columns: 1.3fr 0.55fr 0.75fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  .nav-wrap {
    width: min(calc(100% - 30px), var(--container));
  }

  .menu-toggle {
    z-index: 2;
    display: block;
    margin-left: auto;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    width: min(82vw, 360px);
    height: 100svh;
    padding: 110px 34px 40px;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: -20px 0 70px rgba(13, 24, 45, 0.16);
    transform: translateX(105%);
    transition: transform 240ms ease;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .site-nav a {
    padding: 13px 0;
    font-size: 16px;
  }

  .site-nav a::after {
    right: auto;
    width: 34px;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 65px) 0 90px;
  }

  .hero-wrap {
    display: block;
  }

  .hero-copy {
    width: 100%;
    max-width: 680px;
    min-width: 0;
  }

  .hero-visual {
    width: min(88%, 470px);
    margin-top: 70px;
    margin-inline: auto;
  }

  .portrait-frame {
    min-height: 540px;
  }

  .scroll-cue {
    display: none;
  }

  .services-section {
    padding: 78px 0 84px;
  }

  .services-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .services-heading > p {
    max-width: 580px;
  }

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

  .service-dashboard {
    min-height: 250px;
  }

  .service-standard {
    grid-column: span 6;
  }

  .service-wide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .projects-section,
  .process-section,
  .about-section,
  .faq-section {
    padding: 78px 0 84px;
  }

  .projects-heading,
  .process-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .projects-heading > p,
  .process-heading > p {
    width: 100%;
    max-width: 580px;
  }

  .project-featured,
  .project-doctor,
  .project-utility {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .project-featured,
  .project-shop,
  .project-doctor,
  .project-utility {
    grid-column: span 12;
  }

  .project-featured .project-gallery {
    width: 100%;
    margin-top: 25px;
    transform: none;
  }

  .project-featured:hover .project-gallery {
    transform: translateY(-4px);
  }

  .project-doctor .project-gallery {
    width: 100%;
    order: 0;
    margin: 0 0 26px;
  }

  .project-doctor .project-card-copy { order: 1; }
  .project-doctor .project-card-link { order: 2; }

  .project-utility .project-gallery {
    width: 100%;
    order: 2;
    margin-top: 25px;
  }

  .project-utility .project-card-link { order: 3; }

  .process-track {
    grid-template-columns: 1fr 1fr;
    gap: 34px 0;
  }

  .process-track::before {
    display: none;
  }

  .process-track li:last-child {
    grid-column: 1 / -1;
  }

  .about-wrap,
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .about-visual {
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .faq-intro {
    position: relative;
    top: auto;
  }

  .faq-intro h2 {
    max-width: 620px;
  }

  .contact-section {
    padding: 78px 0 86px;
  }

  .brief-layout {
    grid-template-columns: 1fr;
  }

  .brief-panel {
    position: relative;
    top: auto;
  }
}

@media (max-width: 540px) {
  .nav-wrap,
  .hero-wrap {
    width: min(calc(100% - 30px), var(--container));
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 11px;
    font-size: 12px;
  }

  .brand-name {
    font-size: 18px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 46px);
  }

  .eyebrow {
    margin-bottom: 20px;
    padding: 0 11px;
    font-size: 9px;
    letter-spacing: 0.9px;
  }

  h1 {
    font-size: clamp(40px, 11vw, 50px);
    letter-spacing: -0.055em;
  }

  .headline-line {
    white-space: normal;
  }

  .typing-word {
    min-width: 0;
  }

  .hero-description {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .button {
    width: 100%;
  }

  .tech-row {
    gap: 9px;
  }

  .hero-visual {
    width: calc(100% - 18px);
  }

  .portrait-frame {
    min-height: 450px;
    border-radius: 22px;
  }

  .placeholder-ring {
    width: 145px;
    height: 145px;
  }

  .placeholder-ring span {
    font-size: 43px;
  }

  .code-card {
    min-width: 150px;
    padding: 11px 12px;
  }

  .code-card-top {
    top: 54px;
    right: 12px;
  }

  .code-card-bottom {
    right: 12px;
    bottom: 16px;
  }

  .tag-one {
    left: -10px;
  }

  .tag-two {
    right: -10px;
  }

  .tag-three {
    left: -7px;
  }

  .tech-stack {
    padding: 54px 0 62px;
  }

  .tech-stack-heading {
    width: min(calc(100% - 30px), var(--container));
    margin-bottom: 28px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .tech-stack-heading p {
    text-align: left;
  }

  .tech-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, black 4%, black 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, black 4%, black 96%, transparent 100%);
  }

  .tech-chip {
    width: 190px;
    min-height: 76px;
  }

  .services-section {
    padding: 62px 0 70px;
  }

  .services-wrap {
    width: min(calc(100% - 30px), var(--container));
  }

  .services-heading {
    margin-bottom: 32px;
  }

  .services-heading h2 {
    font-size: clamp(34px, 10.5vw, 46px);
  }

  .service-featured,
  .service-standard,
  .service-wide {
    grid-column: span 12;
  }

  .service-featured {
    min-height: auto;
    padding: 27px;
  }

  .service-featured h3 {
    font-size: 26px;
  }

  .service-dashboard {
    min-height: 230px;
  }

  .service-standard {
    min-height: 270px;
    padding: 25px;
  }

  .service-wide {
    padding: 27px;
  }

  .wide-service-copy {
    display: block;
  }

  .wide-service-copy .service-icon {
    margin-bottom: 20px;
  }

  .services-cta {
    padding: 22px;
    align-items: stretch;
    flex-direction: column;
  }

  .services-cta > a {
    width: 100%;
    justify-content: center;
  }

  .projects-section,
  .process-section,
  .about-section,
  .faq-section {
    padding: 62px 0 70px;
  }

  .projects-wrap,
  .process-wrap,
  .about-wrap,
  .faq-wrap,
  .footer-wrap {
    width: min(calc(100% - 30px), var(--container));
  }

  .projects-heading,
  .process-heading {
    margin-bottom: 34px;
  }

  .projects-heading h2,
  .process-heading h2,
  .about-copy h2,
  .faq-intro h2 {
    font-size: clamp(34px, 10.5vw, 46px);
  }

  .project-featured,
  .project-shop,
  .project-doctor,
  .project-utility {
    padding: 24px;
    border-radius: 20px;
  }

  .project-card h3 {
    font-size: 25px;
  }

  .project-slide figcaption {
    right: 12px;
    bottom: 10px;
  }

  .projects-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .projects-note p {
    text-align: left;
  }

  .process-track {
    display: block;
  }

  .process-track li {
    display: grid;
    padding: 17px 0;
    grid-template-columns: 50px 1fr;
    column-gap: 16px;
    text-align: left;
  }

  .process-number {
    display: none;
  }

  .process-icon {
    width: 50px;
    height: 50px;
    margin: 0;
    border-radius: 15px;
    grid-row: 1 / span 2;
  }

  .process-track h3 {
    align-self: end;
  }

  .process-track p {
    margin-top: 5px;
  }

  .about-visual {
    padding: 8px;
  }

  .about-code {
    min-height: 235px;
    padding: 30px 16px;
    gap: 15px;
  }

  .about-code b {
    margin-right: 7px;
  }

  .about-result {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-float-one { right: -4px; }
  .about-float-two { left: -5px; }

  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-principles > div {
    display: grid;
    grid-template-columns: 28px 1fr;
  }

  .about-principles span { grid-row: 1 / span 2; }
  .about-principles strong { margin-top: 0; }

  .faq-item button {
    min-height: 70px;
    padding-block: 17px;
    font-size: 13px;
  }

  .faq-item.is-open .faq-answer p {
    padding-right: 6px;
  }

  .contact-section {
    padding: 62px 0 70px;
  }

  .contact-wrap {
    width: min(calc(100% - 30px), var(--container));
  }

  .contact-heading {
    margin-bottom: 34px;
    text-align: left;
  }

  .contact-heading h2 {
    font-size: clamp(34px, 10.5vw, 46px);
  }

  .contact-heading > p {
    margin-left: 0;
  }

  .brief-form-card,
  .brief-panel {
    padding: 25px;
    border-radius: 21px;
  }

  .brief-card-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .project-brief-form {
    grid-template-columns: 1fr;
  }

  .form-field-full {
    grid-column: auto;
  }

  .label-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }

  .brief-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .brief-form-footer button {
    width: 100%;
  }

  .brief-actions {
    grid-template-columns: 1fr;
  }

  .footer-main {
    padding: 55px 0 42px;
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .back-to-top {
    align-self: flex-end;
    margin-top: -45px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
