:root {
  --bg: #05070c;
  --bg-soft: #0d111a;
  --panel: rgba(15, 20, 31, 0.8);
  --panel-strong: rgba(10, 14, 22, 0.9);
  --text: #f4f7ff;
  --muted: #a5afc6;
  --line: rgba(255, 255, 255, 0.1);
  --blue: #5bd2ff;
  --violet: #8b5cf6;
  --teal: #64f0d0;
  --glow-blue: 0 0 40px rgba(91, 210, 255, 0.22);
  --glow-violet: 0 0 44px rgba(139, 92, 246, 0.24);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 30px 70px rgba(0, 0, 0, 0.35);
  --container: min(1120px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  font-family: "Manrope", "Aptos", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 15%, rgba(91, 210, 255, 0.16), transparent 22%),
    radial-gradient(circle at 85% 12%, rgba(139, 92, 246, 0.18), transparent 24%),
    linear-gradient(180deg, #06070b 0%, #05070c 34%, #060914 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
  pointer-events: none;
  opacity: 0.25;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(5.25rem, 8vw, 7rem) 0;
}

section[id] {
  scroll-margin-top: 7rem;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  box-shadow: 0 0 18px rgba(91, 210, 255, 0.5);
  z-index: 60;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0 0;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(6, 9, 15, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  inline-size: 2.85rem;
  block-size: 2.85rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  flex-shrink: 0;
}

.nav-toggle__line {
  position: absolute;
  inline-size: 1.15rem;
  block-size: 2px;
  border-radius: 999px;
  background: #eaf2ff;
  transition:
    transform 240ms ease,
    opacity 180ms ease,
    background 180ms ease;
}

.nav-toggle__line:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle__line:nth-child(3) {
  transform: translateY(6px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  inline-size: 2.55rem;
  block-size: 2.55rem;
  flex-shrink: 0;
  border-radius: 50%;
  color: white;
  font-family: "Sora", "Aptos Display", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 10px 26px rgba(91, 210, 255, 0.22);
}

.brand-text {
  min-width: 0;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
}

.site-nav a,
.header-link,
.language-toggle__button,
.social-link,
.footer-shell a {
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.header-link:hover,
.language-toggle__button:hover,
.social-link:hover,
.footer-shell a:hover {
  color: var(--text);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.1rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
}

.language-toggle__button {
  min-width: 2.65rem;
  min-height: 2.65rem;
  padding: 0.55rem 0.7rem;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.language-toggle__button.is-active {
  color: #08111c;
  background: linear-gradient(135deg, #8dedff 0%, var(--blue) 52%, #7c7cff 100%);
  box-shadow: 0 12px 28px rgba(91, 210, 255, 0.22);
}

.language-toggle__divider {
  inline-size: 1px;
  block-size: 1rem;
  background: rgba(255, 255, 255, 0.12);
}

.header-link {
  padding: 0.82rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.hero {
  padding-top: clamp(4.5rem, 6vw, 6rem);
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(91, 210, 255, 0.14), transparent 25%),
    radial-gradient(circle at 74% 18%, rgba(139, 92, 246, 0.18), transparent 22%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.hero-copy,
.hero-visual,
.section-heading,
.skill-card,
.project-card,
.pricing-card,
.metric-card,
.contact-copy,
.contact-form-wrap {
  opacity: 0;
  transform: translateY(26px);
}

.eyebrow,
.section-kicker,
.project-card__category {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #c7d1e9;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
}

.eyebrow-dot,
.status-pill__dot {
  inline-size: 0.6rem;
  block-size: 0.6rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 14px rgba(100, 240, 208, 0.9);
}

.hero-title {
  margin: 1rem 0 1.25rem;
  font-family: "Sora", "Aptos Display", sans-serif;
  line-height: 1.02;
}

.typing-line {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.typing-line--primary {
  min-height: 1.15em;
  font-size: clamp(2.6rem, 7.6vw, 5.6rem);
}

.typing-line--secondary {
  min-height: 2.6em;
  margin-top: 0.65rem;
  font-size: clamp(1.15rem, 3vw, 2rem);
  line-height: 1.25;
  color: #dde6ff;
}

.typing-line::after {
  content: "";
  display: inline-block;
  inline-size: 0.09em;
  block-size: 0.95em;
  margin-left: 0.18em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--violet));
  animation: blink 0.85s steps(2, end) infinite;
  vertical-align: -0.08em;
}

.typing-line.is-complete::after {
  animation-play-state: paused;
  opacity: 0.45;
}

.hero-description,
.section-heading p,
.project-card p,
.metric-card p,
.contact-copy p,
.form-status,
.contact-card span {
  color: var(--muted);
}

.hero-description {
  max-width: 40rem;
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero-actions,
.project-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button,
.icon-button,
.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.3rem;
  padding: 0.95rem 1.45rem;
  border: 0;
  border-radius: 999px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.button--primary {
  color: #061019;
  font-weight: 800;
  background: linear-gradient(135deg, #8dedff 0%, var(--blue) 45%, #7c7cff 100%);
  box-shadow:
    0 16px 36px rgba(91, 210, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.button--primary:hover,
.button--ghost:hover,
.icon-button:hover,
.social-link:hover,
.header-link:hover {
  transform: translateY(-2px);
}

.button--primary:hover {
  box-shadow:
    0 24px 46px rgba(91, 210, 255, 0.34),
    0 0 24px rgba(139, 92, 246, 0.22);
}

.button--ghost,
.icon-button,
.social-link {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.magnetic-button {
  will-change: transform;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero-point,
.contact-card,
.mini-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
}

.hero-point__label {
  display: block;
  margin-bottom: 0.35rem;
  color: #d8e5ff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-point__value,
.contact-card strong {
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  min-height: clamp(360px, 48vw, 620px);
  align-self: start;
  isolation: isolate;
  z-index: 1;
}

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

.hero-visual__halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.78;
  animation: drift 10s ease-in-out infinite alternate;
}

.hero-visual__halo--blue {
  inset: 10% 8% auto auto;
  inline-size: 11rem;
  block-size: 11rem;
  background: radial-gradient(circle, rgba(91, 210, 255, 0.72), rgba(91, 210, 255, 0));
}

.hero-visual__halo--purple {
  inset: auto auto 6% 2%;
  inline-size: 12rem;
  block-size: 12rem;
  animation-duration: 12s;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.75), rgba(139, 92, 246, 0));
}

.hero-panel,
.skill-card,
.project-card,
.pricing-card,
.metric-card,
.contact-form-wrap,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(10, 14, 22, 0.76);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.hero-panel::before,
.skill-card::before,
.project-card::before,
.pricing-card::before,
.metric-card::before,
.contact-form-wrap::before {
  content: "";
  position: absolute;
  inset: -25% auto auto -10%;
  inline-size: 50%;
  block-size: 50%;
  background: radial-gradient(circle, rgba(91, 210, 255, 0.16), transparent 72%);
  pointer-events: none;
}

.hero-panel {
  position: absolute;
  inset: 0;
  padding: clamp(1.2rem, 2.5vw, 1.7rem);
  border-radius: var(--radius-xl);
}

.hero-panel__header,
.code-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #dce7ff;
}

.hero-panel__meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel__body {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
}

.signal-card,
.code-card {
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(6, 9, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.signal-card__title {
  margin: 0;
  font-weight: 700;
}

.signal-list {
  margin: 0.9rem 0 0;
  padding-left: 1.2rem;
  color: #dbe5fa;
  line-height: 1.7;
}

.code-card__top {
  justify-content: flex-start;
  gap: 0.4rem;
}

.code-dot {
  inline-size: 0.55rem;
  block-size: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

.code-file {
  margin-left: auto;
  color: #98a4be;
  font-size: 0.83rem;
}

.code-snippet {
  margin: 1rem 0 0;
  overflow: auto;
  color: #dce8ff;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.92rem;
  line-height: 1.8;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mini-card__metric {
  display: block;
  margin-bottom: 0.6rem;
  font-family: "Sora", "Aptos Display", sans-serif;
  font-size: 1.5rem;
  color: white;
}

.section-heading {
  max-width: 45rem;
  margin-bottom: 2.8rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0.6rem 0 1rem;
  font-family: "Sora", "Aptos Display", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
}

.section-heading p,
.contact-copy p {
  margin: 0;
  line-height: 1.8;
}

.mobile-slider-toolbar {
  display: none;
}

.mobile-slider-toolbar__button,
.mobile-slider-toolbar__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-slider-toolbar__button {
  inline-size: 3rem;
  block-size: 3rem;
  padding: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #eaf2ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(8, 12, 20, 0.72);
  box-shadow: var(--shadow-soft);
}

.mobile-slider-toolbar__button svg {
  inline-size: 1rem;
  block-size: 1rem;
  fill: currentColor;
}

.mobile-slider-toolbar__count {
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #eef5ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(8, 12, 20, 0.72);
  font-family: "Space Grotesk", "Aptos", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  gap: 0.35rem;
  box-shadow: var(--shadow-soft);
}

.skills-grid,
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.skill-card,
.metric-card {
  padding: 1.45rem;
  border-radius: var(--radius-lg);
}

.skill-card {
  min-height: 15rem;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.skill-card:hover {
  transform: translateY(-8px);
  border-color: rgba(91, 210, 255, 0.35);
  box-shadow:
    var(--shadow-soft),
    var(--glow-blue);
}

.skill-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 2rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(91, 210, 255, 0.12);
  color: #daf4ff;
  font-size: 0.82rem;
  font-weight: 700;
}

.skill-card h3,
.project-card h3,
.metric-card h3 {
  margin: 1.15rem 0 0.65rem;
  font-family: "Sora", "Aptos Display", sans-serif;
  font-size: 1.3rem;
}

.skill-card p,
.metric-card p {
  margin: 0;
  line-height: 1.75;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.project-card {
  display: grid;
  grid-template-rows: minmax(16rem, 16.5rem) 1fr;
  border-radius: calc(var(--radius-xl) - 2px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow:
    var(--shadow-soft),
    var(--glow-violet);
}

.project-card__visual {
  position: relative;
  min-height: 15.5rem;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #0f1522;
}

.project-card__visual::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  height: 0.7rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 0.45rem center, rgba(255, 255, 255, 0.85) 0 0.18rem, transparent 0.2rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
  opacity: 0.7;
  z-index: 1;
}

.project-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0) 0%, rgba(5, 9, 18, 0.08) 58%, rgba(5, 9, 18, 0.5) 100%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 52%);
  z-index: 1;
  pointer-events: none;
}

.project-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1);
  transition:
    transform 340ms ease,
    opacity 220ms ease;
}

.project-card__image.is-hidden {
  opacity: 0;
}

.project-card:hover .project-card__image {
  transform: scale(1.05);
}

.project-card__visual--yadav {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.12), transparent 40%),
    radial-gradient(circle at 18% 24%, rgba(55, 211, 124, 0.2), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(91, 210, 255, 0.3), transparent 22%),
    linear-gradient(180deg, #162028 0%, #0c1219 100%);
}

.project-card__visual--savita {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.12), transparent 42%),
    radial-gradient(circle at 20% 28%, rgba(255, 214, 150, 0.24), transparent 22%),
    radial-gradient(circle at 74% 18%, rgba(139, 92, 246, 0.36), transparent 22%),
    linear-gradient(180deg, #191d2a 0%, #0d1119 100%);
}

.project-card__visual--urban {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), transparent 42%),
    radial-gradient(circle at 22% 24%, rgba(255, 102, 146, 0.24), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(91, 210, 255, 0.34), transparent 22%),
    linear-gradient(180deg, #1a1626 0%, #0c1018 100%);
}

.project-card__visual--finance {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), transparent 44%),
    radial-gradient(circle at 18% 24%, rgba(83, 213, 255, 0.26), transparent 22%),
    radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.28), transparent 22%),
    linear-gradient(180deg, #121c28 0%, #09111a 100%);
}

.project-card__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}

.project-card__content > p {
  margin: 0;
  line-height: 1.75;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d8e5ff;
  font-size: 0.82rem;
}

.button--project {
  min-width: 0;
  width: 100%;
  padding-inline: 1rem;
  font-size: 0.94rem;
  white-space: nowrap;
}

.button--project svg {
  inline-size: 1rem;
  block-size: 1rem;
  fill: currentColor;
  flex-shrink: 0;
}

.project-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: auto;
}

.project-showcase {
  position: relative;
  display: grid;
  gap: 1.15rem;
}

.project-slider__chrome {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.project-slider__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    rgba(9, 13, 22, 0.8);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.project-slider__eyebrow {
  color: #d7e5ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-slider__count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #eef5ff;
  font-family: "Space Grotesk", "Aptos", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.project-slider__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 3.35rem;
  block-size: 3.35rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #eef5ff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(9, 13, 22, 0.76);
  box-shadow: var(--shadow-soft);
}

.project-slider__arrow:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(91, 210, 255, 0.35);
  box-shadow:
    var(--shadow-soft),
    0 0 22px rgba(91, 210, 255, 0.18);
}

.project-slider__arrow svg {
  inline-size: 1.1rem;
  block-size: 1.1rem;
  fill: currentColor;
}

.project-slider__viewport {
  display: grid;
}

.project-slide {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(42px) scale(0.985);
  transition:
    opacity 360ms ease,
    transform 420ms ease,
    visibility 0s linear 420ms;
}

.project-slide.is-prev {
  transform: translateX(-42px) scale(0.985);
}

.project-slide.is-next {
  transform: translateX(42px) scale(0.985);
}

.project-card--slider {
  opacity: 1;
  display: grid;
  grid-template-rows: minmax(19rem, 26rem) 1fr;
  min-width: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transform: none;
}

.project-card--slider::before {
  background: radial-gradient(circle, var(--project-glow, rgba(91, 210, 255, 0.16)), transparent 72%);
}

.project-card--slider.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  transition-delay: 0s;
  box-shadow:
    var(--shadow-soft),
    0 24px 90px rgba(2, 6, 18, 0.52);
}

.project-card--slider:hover {
  transform: none;
}

.project-card--savita {
  --project-accent: rgba(183, 137, 255, 0.2);
  --project-accent-solid: #b789ff;
  --project-glow: rgba(183, 137, 255, 0.24);
}

.project-card--yadav {
  --project-accent: rgba(92, 230, 178, 0.2);
  --project-accent-solid: #58ddb1;
  --project-glow: rgba(92, 230, 178, 0.22);
}

.project-card--finance {
  --project-accent: rgba(83, 213, 255, 0.2);
  --project-accent-solid: #53d5ff;
  --project-glow: rgba(83, 213, 255, 0.22);
}

.project-card--urban {
  --project-accent: rgba(255, 110, 166, 0.2);
  --project-accent-solid: #ff6ea6;
  --project-glow: rgba(255, 110, 166, 0.2);
}

.project-card--slider .project-card__visual {
  min-height: clamp(19rem, 43vw, 27rem);
}

.project-card--slider .project-card__visual::before,
.project-card--slider .project-card__visual::after {
  content: none;
}

.project-media {
  position: relative;
}

.project-media__slides {
  position: absolute;
  inset: 0;
}

.project-media__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 420ms ease,
    transform 520ms ease;
}

.project-media__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.project-media__image {
  inline-size: 100%;
  block-size: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  filter: saturate(1.04) contrast(1.03);
}

.project-media__image.is-hidden {
  opacity: 0;
}

.project-media__topbar {
  position: absolute;
  inset: 1rem 1rem auto 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.project-media__label,
.project-media__count {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 10, 18, 0.56);
  backdrop-filter: blur(16px);
  color: #eef5ff;
  font-size: 0.78rem;
  font-weight: 600;
}

.project-media__label {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-media__dots {
  position: absolute;
  inset: auto auto 1rem 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  transform: translateX(-50%);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 10, 18, 0.56);
  backdrop-filter: blur(16px);
}

.project-media__dot {
  inline-size: 0.72rem;
  block-size: 0.72rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transition:
    inline-size 220ms ease,
    background 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.project-media__dot:hover {
  transform: scale(1.08);
}

.project-media__dot.is-active {
  inline-size: 1.75rem;
  background: var(--project-accent-solid, var(--blue));
  box-shadow: 0 0 18px var(--project-accent, rgba(91, 210, 255, 0.2));
}

.project-card--slider .project-card__content {
  gap: 1.2rem;
  padding: clamp(1.35rem, 3vw, 1.8rem);
}

.project-slide__copy {
  display: grid;
  gap: 0.75rem;
}

.project-slide__copy h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
}

.project-slide__copy > p {
  max-width: 62ch;
}

.project-card__actions--slider {
  align-items: stretch;
}

.project-slider__pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.project-slider__pager {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0.78rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #dbe7ff;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.project-slider__pager:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 210, 255, 0.26);
}

.project-slider__pager.is-active {
  border-color: rgba(91, 210, 255, 0.28);
  background: rgba(91, 210, 255, 0.12);
  box-shadow:
    var(--shadow-soft),
    0 0 20px rgba(91, 210, 255, 0.12);
}

.icon-button {
  inline-size: 3.3rem;
  min-width: 3.3rem;
  padding: 0;
}

.icon-button svg,
.social-link svg,
.back-to-top svg {
  inline-size: 1.15rem;
  block-size: 1.15rem;
  fill: currentColor;
}

.section--pricing {
  padding-top: 4.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 100%;
  padding: 1.6rem;
  border-radius: calc(var(--radius-xl) - 2px);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
  isolation: isolate;
}

.pricing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(91, 210, 255, 0.14), transparent 34%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.16), transparent 28%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.pricing-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(91, 210, 255, 0.34);
  box-shadow:
    var(--shadow-soft),
    0 0 32px rgba(91, 210, 255, 0.16);
}

.pricing-card.is-selected {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(91, 210, 255, 0.4);
  box-shadow:
    var(--shadow-soft),
    0 0 38px rgba(91, 210, 255, 0.2);
}

.pricing-card:hover::after {
  opacity: 1;
}

.pricing-card.is-selected::after {
  opacity: 1;
}

.pricing-card--featured {
  border-color: rgba(91, 210, 255, 0.28);
  box-shadow:
    var(--shadow-soft),
    0 0 40px rgba(91, 210, 255, 0.14);
}

.pricing-card--featured::after {
  opacity: 0.78;
}

.pricing-card__top {
  display: grid;
  gap: 0.8rem;
}

.pricing-card__name {
  margin: 0;
  color: #e6eeff;
  font-family: "Sora", "Aptos Display", sans-serif;
  font-size: 1.35rem;
}

.pricing-card__price,
.pricing-card__target,
.pricing-note {
  margin: 0;
  color: var(--muted);
}

.pricing-card__price strong {
  display: block;
  margin-top: 0.35rem;
  color: white;
  font-family: "Sora", "Aptos Display", sans-serif;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.pricing-card__target {
  line-height: 1.7;
}

.pricing-features {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  color: #dce6fb;
  line-height: 1.7;
}

.pricing-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 1.5rem;
  block-size: 1.5rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  color: #071018;
  background: linear-gradient(135deg, #8dedff 0%, var(--blue) 58%, #7c7cff 100%);
  box-shadow: 0 10px 22px rgba(91, 210, 255, 0.24);
  flex-shrink: 0;
}

.pricing-check svg {
  inline-size: 0.9rem;
  block-size: 0.9rem;
  fill: currentColor;
}

.pricing-card__button {
  width: 100%;
  margin-top: auto;
}

.pricing-badge {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(91, 210, 255, 0.18);
  background: rgba(91, 210, 255, 0.12);
  color: #eaf8ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card--featured .pricing-card__top {
  padding-top: 1rem;
}

.pricing-note {
  max-width: 52rem;
  margin: 1.4rem auto 0;
  text-align: center;
  font-size: 0.94rem;
  line-height: 1.7;
}

.metrics-grid {
  gap: 1.2rem;
}

.metric-card {
  min-height: 15rem;
}

.metric-card__value {
  display: inline-block;
  font-family: "Sora", "Aptos Display", sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
  color: white;
}

.section--contact {
  padding-bottom: 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: 1.4rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 0.9rem;
  margin: 2rem 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.contact-form-wrap {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.6rem;
}

.contact-form span {
  color: #dae3fb;
  font-size: 0.93rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(91, 210, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(91, 210, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.form-status {
  margin: 0;
  min-height: 1.6rem;
  line-height: 1.6;
}

.contact-copy {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.contact-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-form__intro {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
}

.contact-form__eyebrow {
  color: #d7e5ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-form__intro p,
.contact-form__note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form textarea {
  min-height: 11.5rem;
}

.contact-form__submit {
  width: 100%;
  color: #061019;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24);
  overflow: hidden;
}

.contact-form__submit span {
  position: relative;
  z-index: 1;
  color: inherit;
}

.contact-form__submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  transform: translateX(-130%);
  opacity: 0;
}

.contact-form__submit:disabled {
  cursor: wait;
  opacity: 0.85;
  transform: none;
}

.contact-form.is-submitting .contact-form__submit {
  box-shadow: none;
}

.contact-form.is-submitting .contact-form__submit::before {
  opacity: 1;
  animation: button-shimmer 1.1s linear infinite;
}

.form-status[data-status-key="validation"],
.form-status[data-status-key="error"] {
  color: #ffc1cc;
}

.form-status[data-status-key="submitting"],
.form-status[data-status-key="packageSelected"] {
  color: #d6e9ff;
}

.form-status[data-status-key="success"] {
  color: #9bf0cf;
}

.form-toast {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 70;
  width: min(24rem, calc(100vw - 1.5rem));
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 1.25rem, 0) scale(0.96);
  transition:
    opacity 240ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.form-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.form-toast__card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1rem 0.95rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(7, 10, 16, 0.92);
  backdrop-filter: blur(22px);
  box-shadow:
    var(--shadow-soft),
    0 18px 48px rgba(3, 7, 18, 0.45);
}

.form-toast__glow {
  position: absolute;
  inset: auto auto -2rem -2rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 210, 255, 0.24), transparent 72%);
  pointer-events: none;
}

.form-toast__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-top: 0.15rem;
  border-radius: 18px;
  color: #071019;
  background: linear-gradient(135deg, #8dedff 0%, var(--blue) 52%, #7c7cff 100%);
  box-shadow:
    0 16px 34px rgba(91, 210, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.form-toast__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

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

.form-toast__eyebrow {
  margin: 0 0 0.3rem;
  color: #d7e5ff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-toast__title {
  margin: 0;
  font-family: "Sora", "Aptos Display", sans-serif;
  font-size: 1.08rem;
  line-height: 1.2;
  color: white;
}

.form-toast__message {
  margin: 0.42rem 0 0;
  color: #c7d4eb;
  line-height: 1.62;
  font-size: 0.94rem;
}

.form-toast__close {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: #d7e5ff;
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.form-toast__close:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.form-toast__close span {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
  transform: rotate(45deg);
}

.form-toast__bar {
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(91, 210, 255, 0.95), rgba(139, 92, 246, 0.95));
  opacity: 0.95;
  transform-origin: left center;
}

.form-toast[data-state="submitting"] .form-toast__icon {
  color: #08111c;
}

.form-toast[data-state="submitting"] .form-toast__icon svg {
  animation: toast-spin 1s linear infinite;
}

.form-toast[data-state="success"] .form-toast__icon {
  background: linear-gradient(135deg, #9bf0cf 0%, #64f0d0 55%, #5bd2ff 100%);
  box-shadow:
    0 16px 34px rgba(100, 240, 208, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.form-toast[data-state="success"] .form-toast__glow {
  background: radial-gradient(circle, rgba(100, 240, 208, 0.26), transparent 72%);
}

.form-toast[data-state="success"] .form-toast__bar {
  background: linear-gradient(90deg, rgba(100, 240, 208, 0.98), rgba(91, 210, 255, 0.92));
}

.form-toast[data-state="error"] .form-toast__icon,
.form-toast[data-state="validation"] .form-toast__icon {
  background: linear-gradient(135deg, #ffd2dc 0%, #ff9bb6 55%, #ff7fa2 100%);
  box-shadow:
    0 16px 34px rgba(255, 127, 162, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.form-toast[data-state="error"] .form-toast__glow,
.form-toast[data-state="validation"] .form-toast__glow {
  background: radial-gradient(circle, rgba(255, 127, 162, 0.22), transparent 72%);
}

.form-toast[data-state="error"] .form-toast__bar,
.form-toast[data-state="validation"] .form-toast__bar {
  background: linear-gradient(90deg, rgba(255, 159, 186, 0.98), rgba(255, 111, 145, 0.92));
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 45;
  display: grid;
  place-items: center;
  inline-size: 3.25rem;
  block-size: 3.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--text);
  background: rgba(9, 12, 18, 0.84);
  backdrop-filter: blur(18px);
  transform: translateY(1rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease, background 220ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: rgba(17, 21, 32, 0.96);
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(0.9rem, -1rem, 0) scale(1.08);
  }
}

@keyframes toast-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes button-shimmer {
  to {
    transform: translateX(130%);
  }
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 0.9rem;
    font-size: 0.92rem;
  }

  .header-actions {
    gap: 0.55rem;
  }

  .hero-grid,
  .contact-grid,
  .skills-grid,
  .project-grid,
  .pricing-grid,
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-grid .pricing-card:last-child,
  .metrics-grid .metric-card:last-child,
  .skills-grid .skill-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 7.4rem;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  main,
  .section,
  .container,
  .hero-copy {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  section[id] {
    scroll-margin-top: 7.4rem;
  }

  .section {
    padding: 4rem 0;
  }

  .site-header {
    padding-top: 0.55rem;
  }

  .header-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.78rem 0.85rem;
    border-radius: 26px;
  }

  .header-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 0;
    justify-self: end;
    gap: 0.45rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-link {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 0;
    right: 0;
    display: grid;
    gap: 0.45rem;
    padding: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(6, 9, 15, 0.94);
    backdrop-filter: blur(20px);
    box-shadow:
      var(--shadow-soft),
      0 22px 54px rgba(1, 6, 18, 0.48);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transition:
      max-height 320ms ease,
      opacity 220ms ease,
      transform 320ms ease,
      padding 320ms ease;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
  }

  .header-shell.is-nav-open .site-nav {
    max-height: 22rem;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .header-shell.is-nav-open .nav-toggle {
    border-color: rgba(91, 210, 255, 0.24);
    background: rgba(91, 210, 255, 0.1);
  }

  .header-shell.is-nav-open .nav-toggle__line:nth-child(1) {
    transform: translateY(0) rotate(45deg);
  }

  .header-shell.is-nav-open .nav-toggle__line:nth-child(2) {
    opacity: 0;
  }

  .header-shell.is-nav-open .nav-toggle__line:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: 2.35rem;
  }

  .hero-grid,
  .contact-grid,
  .skills-grid,
  .project-grid,
  .pricing-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 0.75rem;
  }

  .hero-copy {
    order: 1;
    min-width: 0;
    width: 100%;
    text-align: center;
  }

  .hero-visual {
    order: 2;
    min-height: auto;
    width: 100%;
  }

  .hero-panel {
    position: relative;
    inset: auto;
    padding: 1rem;
    overflow: visible;
  }

  .hero-panel__header {
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 0.7rem;
  }

  .status-pill,
  .hero-panel__meta {
    max-width: 100%;
  }

  .hero-panel__meta {
    flex: 1 1 100%;
    font-size: 0.85rem;
  }

  .hero-panel__body {
    gap: 0.85rem;
    margin-top: 0.85rem;
  }

  .signal-card,
  .code-card {
    padding: 1rem;
  }

  .signal-list {
    margin-top: 0.75rem;
    padding-left: 1rem;
    line-height: 1.55;
  }

  .code-snippet {
    margin-top: 0.85rem;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.84rem;
    line-height: 1.65;
  }

  .hero-points,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 1.7rem;
    margin-inline: auto;
    text-align: center;
  }

  .eyebrow,
  .section-kicker,
  .hero-actions,
  .tag-list {
    justify-content: center;
  }

  .eyebrow {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 0.35rem 0.6rem;
  }

  .hero-title {
    display: grid;
    justify-items: center;
    max-width: 100%;
  }

  .typing-line {
    width: 100%;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-description,
  .contact-copy,
  .project-slide__copy,
  .skill-card,
  .pricing-card,
  .metric-card,
  .contact-card,
  .contact-form__intro,
  .contact-form__note,
  .form-status,
  .footer-shell {
    text-align: center;
  }

  .hero-description,
  .contact-copy p {
    margin-inline: auto;
  }

  .hero-description,
  .eyebrow > span:last-child {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-point {
    text-align: center;
  }

  .hero-actions {
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 3rem;
    padding: 0.8rem 1rem;
  }

  .hero-description,
  .section-heading p,
  .project-slide__copy > p,
  .skill-card p,
  .pricing-features li,
  .pricing-card__target,
  .metric-card p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .section-heading h2 {
    font-size: clamp(1.7rem, 5.7vw, 2.2rem);
  }

  .mobile-slider-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
  }

  .skills-grid[data-mobile-slider],
  .pricing-grid[data-mobile-slider] {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 0;
    overflow: hidden;
    align-items: stretch;
    touch-action: pan-y;
    will-change: transform;
    transform: translate3d(calc(var(--mobile-slide-index, 0) * -100%), 0, 0);
    transition: transform 380ms ease;
  }

  .skills-grid[data-mobile-slider] > .skill-card,
  .pricing-grid[data-mobile-slider] > .pricing-card {
    min-width: 0;
  }

  .skill-card,
  .pricing-card {
    min-height: auto;
  }

  .skill-card {
    padding: 1.15rem;
  }

  .skill-card h3,
  .pricing-card__name {
    font-size: 1.14rem;
  }

  .project-slider__status {
    padding: 0.82rem 0.95rem;
  }

  .project-showcase {
    gap: 0.85rem;
  }

  .project-card--slider {
    grid-template-rows: auto 1fr;
  }

  .project-card--slider .project-card__visual {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .project-slider__pager {
    flex: 1 1 calc(50% - 0.75rem);
    text-align: center;
    padding: 0.72rem 0.85rem;
    font-size: 0.82rem;
  }

  .project-card__content--slider {
    gap: 0.95rem;
    padding: 1rem 1rem 1.05rem;
  }

  .project-card__actions {
    justify-content: center;
  }

  .project-slide__copy h3 {
    font-size: clamp(1.3rem, 4.8vw, 1.6rem);
  }

  .project-card__category,
  .project-media__label,
  .project-media__count {
    font-size: 0.7rem;
  }

  .tag-list li {
    font-size: 0.75rem;
    padding: 0.48rem 0.7rem;
  }

  .pricing-features {
    justify-items: center;
  }

  .pricing-features li {
    width: 100%;
    max-width: 24rem;
    text-align: left;
  }

  .button--project {
    min-height: 3rem;
    font-size: 0.86rem;
    padding-inline: 0.78rem;
  }

  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-toast {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
    width: auto;
  }
}

@media (max-width: 600px) {
  :root {
    --container: min(100% - 1.25rem, 100%);
  }

  html {
    scroll-padding-top: 6.8rem;
  }

  section[id] {
    scroll-margin-top: 6.8rem;
  }

  .section {
    padding: 3rem 0;
  }

  .header-shell {
    gap: 0.6rem;
    padding: 0.68rem 0.72rem;
  }

  .brand {
    width: auto;
    justify-content: flex-start;
    gap: 0.5rem;
    min-width: 0;
  }

  .header-actions {
    justify-self: end;
    gap: 0.28rem;
  }

  .brand-text {
    max-width: 9.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    font-size: 0.78rem;
  }

  .brand-mark {
    flex: 0 0 2.35rem;
    inline-size: 2.35rem;
    block-size: 2.35rem;
    font-size: 0.8rem;
  }

  .site-nav {
    top: calc(100% + 0.55rem);
    border-radius: 22px;
    padding: 0.35rem;
  }

  .site-nav a {
    padding: 0.78rem 0.9rem;
    font-size: 0.92rem;
  }

  .hero-title {
    margin-top: 0.65rem;
  }

  .project-slider__chrome {
    gap: 0.65rem;
  }

  .project-slider__status {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 24px;
    padding: 0.75rem 0.9rem;
  }

  .project-slider__count {
    font-size: 1rem;
  }

  .project-slider__arrow {
    inline-size: 2.75rem;
    block-size: 2.75rem;
  }

  .project-media__topbar {
    inset: 0.72rem 0.72rem auto 0.72rem;
    gap: 0.45rem;
  }

  .project-media__label,
  .project-media__count {
    font-size: 0.68rem;
    padding: 0.35rem 0.6rem;
  }

  .project-media__dots {
    bottom: 0.68rem;
    max-width: calc(100% - 1.35rem);
    gap: 0.4rem;
    padding: 0.4rem 0.55rem;
  }

  .project-media__dot {
    inline-size: 0.62rem;
    block-size: 0.62rem;
  }

  .project-media__dot.is-active {
    inline-size: 1.32rem;
  }

  .project-slider__pagination {
    gap: 0.55rem;
  }

  .project-slider__pager {
    flex: 1 1 calc(50% - 0.55rem);
    text-align: center;
    padding: 0.62rem 0.72rem;
    font-size: 0.76rem;
  }

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

  .mobile-slider-toolbar {
    margin-bottom: 0.62rem;
  }

  .mobile-slider-toolbar__button {
    inline-size: 2.7rem;
    block-size: 2.7rem;
    border-radius: 16px;
  }

  .mobile-slider-toolbar__count {
    min-height: 2.7rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.86rem;
  }

  .typing-line--primary {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .typing-line--secondary {
    min-height: 2.9em;
    font-size: clamp(0.98rem, 4.4vw, 1.18rem);
  }

  .hero-description {
    font-size: 0.92rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 1.2rem;
    max-width: 19rem;
  }

  .hero-actions .button {
    min-height: 2.7rem;
    padding: 0.68rem 0.72rem;
    border-radius: 16px;
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .social-links {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .button,
  .social-link {
    width: 100%;
  }

  .hero-point {
    padding: 0.72rem;
  }

  .hero-point__label {
    font-size: 0.6rem;
  }

  .hero-point__value {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .project-card__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-panel {
    padding: 0.9rem;
  }

  .hero-panel__header {
    gap: 0.55rem;
  }

  .status-pill {
    justify-content: center;
    padding: 0.55rem 0.75rem;
    font-size: 0.76rem;
  }

  .hero-panel__meta {
    font-size: 0.82rem;
  }

  .signal-card,
  .code-card {
    padding: 0.9rem;
  }

  .signal-card__title {
    font-size: 1.05rem;
  }

  .signal-list {
    font-size: 0.9rem;
    padding-left: 0.95rem;
  }

  .hero-visual__halo--blue {
    inline-size: 8rem;
    block-size: 8rem;
  }

  .hero-visual__halo--purple {
    inline-size: 8.5rem;
    block-size: 8.5rem;
  }

  .language-toggle {
    min-width: max-content;
    padding: 0.12rem;
  }

  .language-toggle__button {
    min-width: 2rem;
    min-height: 2.05rem;
    padding: 0.34rem 0.42rem;
    font-size: 0.7rem;
  }

  .nav-toggle {
    inline-size: 2.45rem;
    block-size: 2.45rem;
    border-radius: 16px;
  }

  .hero-panel,
  .skill-card,
  .project-card,
  .pricing-card,
  .metric-card,
  .contact-form-wrap {
    border-radius: 24px;
  }

  .project-card__content,
  .contact-form-wrap,
  .pricing-card,
  .metric-card,
  .skill-card {
    padding: 1rem;
  }

  .skill-card h3,
  .pricing-card__name,
  .metric-card h3 {
    font-size: 1rem;
  }

  .pricing-card__price strong {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
  }

  .pricing-features li {
    font-size: 0.9rem;
  }

  .project-slide__copy h3 {
    font-size: 1.18rem;
  }

  .project-slide__copy > p,
  .skill-card p,
  .pricing-card__target,
  .pricing-features li,
  .section-heading p {
    font-size: 0.88rem;
    line-height: 1.58;
  }

  .form-toast__card {
    grid-template-columns: auto 1fr auto;
    padding: 0.9rem 0.9rem 0.85rem;
    gap: 0.75rem;
  }

  .form-toast__icon {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 16px;
  }

  .form-toast__icon svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  .form-toast__title {
    font-size: 0.98rem;
  }

  .form-toast__message {
    font-size: 0.86rem;
  }

  .form-toast__close {
    grid-column: auto;
    justify-self: auto;
    width: 2.1rem;
    height: 2.1rem;
    margin-top: 0;
  }

}

@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;
    scroll-behavior: auto !important;
  }

  .hero-copy,
  .hero-visual,
  .section-heading,
  .skill-card,
  .project-card,
  .pricing-card,
  .metric-card,
  .contact-copy,
  .contact-form-wrap {
    opacity: 1;
    transform: none;
  }
}
