/* =========================
   Home / Navigation
========================= */
.home-page {
  background:
    radial-gradient(70% 60% at 8% 10%, rgb(175 128 232 / 20%), transparent 62%),
    radial-gradient(80% 65% at 92% 8%, rgb(93 101 230 / 18%), transparent 62%),
    linear-gradient(180deg, #090a0c 0%, #0d0f14 48%, #07080a 100%);
}

.blinkbit-header .header-shell {
  width: min(100% - 32px, var(--container-wide));
}

.blinkbit-brand {
  min-width: 0;
}

.blinkbit-brand img {
  display: block;
  width: clamp(106px, 10.4vw, 142px);
  height: auto;
}

.blinkbit-nav {
  margin-left: auto;
}

.nav-budget {
  flex: 0 0 auto;
  min-height: 42px;
  padding-inline: var(--space-5);
}

.nav-budget-mobile {
  display: none;
}

.home-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-height) + 64px) 0 96px;
  --beacon-x: 50%;
  --beacon-y: 50%;
}

.home-hero::after {
  content: "";
  position: absolute;
  left: var(--beacon-x);
  top: var(--beacon-y);
  z-index: -1;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgb(175 128 232 / 18%) 0%, rgb(93 101 230 / 10%) 34%, transparent 68%);
  filter: blur(12px);
  transition: opacity var(--transition-base);
}

.home-hero.is-beacon-active::after {
  opacity: 1;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 40%, rgb(255 255 255 / 4%) 40.2%, transparent 41%),
    radial-gradient(50% 46% at 78% 42%, rgb(175 128 232 / 22%), transparent 68%),
    radial-gradient(42% 48% at 12% 80%, rgb(93 101 230 / 18%), transparent 70%);
  mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 100%);
}

.hero-beacon-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.beacon-ring {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 18px;
  height: 18px;
  border: 1px solid rgb(175 128 232 / 58%);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
  box-shadow:
    0 0 18px rgb(175 128 232 / 36%),
    inset 0 0 18px rgb(93 101 230 / 18%);
  animation: beaconPulse 950ms var(--ease-out) forwards;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 65%);
}

.home-hero-copy {
  display: grid;
  gap: var(--space-6);
}

.home-hero-copy h1 {
  max-width: 100%;
  font-size: clamp(2.5rem, 4.8vw, 4.55rem);
  line-height: 1.04;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero-copy p {
  max-width: 820px;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-project-btn {
  width: fit-content;
  min-height: 54px;
  padding-inline: var(--space-8);
}

.stats-strip {
  height: 280px;
  padding: 0;
  border-block: 1px solid rgb(255 255 255 / 8%);
  background: #090a0c;
}

.stats-strip::before {
  display: none;
}

.stats-strip-grid {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: var(--space-5);
}

.stats-counter {
  display: grid;
  gap: var(--space-2);
  justify-items: center;
  text-align: center;
}

.stats-counter strong {
  color: var(--color-text);
  font-size: clamp(2.45rem, 5vw, 4.2rem);
  font-weight: 780;
  line-height: 0.95;
}

.stats-counter span {
  max-width: 180px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
}

.home-placeholder {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 52vh;
}

.home-page main .section {
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.home-page main .section > .container {
  position: relative;
  z-index: 1;
}

.about-section {
  min-height: 760px;
  display: grid;
  align-items: center;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
}

.about-values {
  display: grid;
  gap: var(--space-4);
}

.about-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--gradient-glass), rgb(18 20 26 / 64%);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgb(255 255 255 / 7%);
  backdrop-filter: blur(20px);
  transition:
    transform var(--transition-base),
    border-color var(--transition-base),
    background var(--transition-base),
    box-shadow var(--transition-base);
}

.about-card:hover {
  transform: translateY(-3px);
  border-color: rgb(175 128 232 / 34%);
  background: var(--gradient-glass), rgb(25 27 36 / 76%);
  box-shadow: var(--shadow-md);
}

.about-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgb(175 128 232 / 26%);
  border-radius: 18px;
  color: var(--color-primary-300);
  background:
    radial-gradient(circle at 30% 20%, rgb(255 255 255 / 18%), transparent 34%),
    rgb(175 128 232 / 11%);
  box-shadow: 0 0 28px rgb(175 128 232 / 14%);
}

.about-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-card h3 {
  margin-bottom: var(--space-2);
  color: var(--color-text);
  font-size: 1.08rem;
}

.about-card p {
  font-size: 0.94rem;
  line-height: 1.58;
}

.about-copy {
  display: grid;
  gap: var(--space-5);
}

.about-copy h2 {
  max-width: 720px;
}

.about-copy p {
  max-width: 720px;
  font-size: clamp(1rem, 1.45vw, 1.14rem);
}

.services-section {
  padding-block: clamp(92px, 10vw, 140px);
}

.services-container {
  width: min(100% - 32px, calc(var(--container) * 1.3));
  display: grid;
  gap: clamp(42px, 6vw, 82px);
}

.services-heading {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  text-align: center;
}

.services-heading h2 {
  max-width: 940px;
  font-size: clamp(2.35rem, 4.4vw, 4rem);
}

.services-heading p {
  max-width: 980px;
  color: var(--color-text-soft);
  font-size: clamp(1.02rem, 1.7vw, 1.25rem);
}

.services-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-5);
}

.service-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  border: 1px solid rgb(255 255 255 / 7%);
  border-radius: var(--radius-md);
  background: rgb(18 20 22 / 82%);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition:
    transform var(--transition-base),
    border-color var(--transition-base),
    background var(--transition-base),
    box-shadow var(--transition-base);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgb(175 128 232 / 30%);
  background: rgb(23 25 30 / 90%);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: var(--space-4);
  border: 1px solid rgb(175 128 232 / 26%);
  border-radius: 18px;
  color: var(--color-primary-300);
  background:
    radial-gradient(circle at 30% 20%, rgb(255 255 255 / 18%), transparent 34%),
    rgb(175 128 232 / 11%);
  box-shadow: 0 0 28px rgb(175 128 232 / 14%);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  color: var(--color-text);
  font-size: 1.12rem;
  line-height: 1.25;
}

.service-card p {
  min-height: 72px;
  color: var(--color-text-soft);
  font-size: 1rem;
  line-height: 1.45;
}

.service-more {
  margin-top: auto;
  border: 0;
  padding: 0;
  color: var(--color-primary-300);
  background: transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 750;
  cursor: pointer;
  transition: color var(--transition-base), transform var(--transition-base);
}

.service-more:hover,
.service-more:focus-visible {
  color: var(--color-primary-100);
  transform: translateY(-1px);
}

.service-modal-panel {
  width: min(100%, 680px);
}

.service-modal-summary {
  color: var(--color-text-soft);
  font-size: 1.08rem;
}

.service-modal-body {
  display: grid;
  gap: var(--space-3);
  color: var(--color-text-muted);
}

.service-modal-body ul {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-modal-body li {
  position: relative;
  padding-left: 26px;
  line-height: 1.55;
}

.service-modal-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary-500);
  box-shadow: 0 0 16px rgb(175 128 232 / 55%);
}

.portfolio-section {
  position: relative;
  height: 100svh;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  scroll-margin-top: var(--header-height);
  background: var(--color-bg);
}

.portfolio-slider,
.portfolio-slide {
  position: absolute;
  inset: 0;
}

.portfolio-slide {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition:
    opacity 700ms var(--ease-out),
    visibility 700ms var(--ease-out),
    transform 1200ms var(--ease-out);
}

.portfolio-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.portfolio-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(4 5 8 / 88%) 0%, rgb(4 5 8 / 64%) 42%, rgb(4 5 8 / 20%) 78%, rgb(4 5 8 / 42%) 100%),
    linear-gradient(180deg, rgb(4 5 8 / 38%) 0%, rgb(4 5 8 / 14%) 42%, rgb(4 5 8 / 82%) 100%),
    radial-gradient(65% 70% at 18% 42%, rgb(175 128 232 / 22%), transparent 68%);
}

.portfolio-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: var(--header-height);
}

.portfolio-content::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(50% + var(--header-height) / 2);
  bottom: auto;
  z-index: -1;
  width: min(760px, calc(100vw - 32px));
  height: min(292px, 39vh);
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 4%)),
    rgb(8 9 13 / 68%);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  transform: translate(-50%, -50%);
}

.portfolio-content h2 {
  width: min(720px, calc(100vw - 72px));
  max-width: 720px;
  margin: 0;
  padding-inline: 20px;
  font-size: clamp(1.75rem, 3.48vw, 3.35rem);
  line-height: 0.95;
  color: var(--color-text);
  text-align: left;
  text-shadow: 0 18px 50px rgb(0 0 0 / 45%);
}

.portfolio-subtitle {
  width: min(720px, calc(100vw - 72px));
  max-width: 720px;
  margin-top: var(--space-2);
  padding-inline: 20px;
  color: var(--color-text-soft);
  font-size: clamp(0.94rem, 1.65vw, 1.5rem);
  font-weight: 680;
  line-height: 1.25;
  text-align: left;
}

.portfolio-summary {
  width: min(720px, calc(100vw - 72px));
  max-width: 720px;
  margin-top: var(--space-2);
  padding-inline: 20px;
  color: var(--color-text-muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  text-align: left;
}

.portfolio-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text);
  background: rgb(12 14 18 / 58%);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  transform: translateY(-50%);
  cursor: pointer;
  transition:
    transform var(--transition-base),
    border-color var(--transition-base),
    background var(--transition-base);
}

.portfolio-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  border-color: rgb(175 128 232 / 42%);
  background: rgb(175 128 232 / 16%);
}

.portfolio-arrow svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.portfolio-arrow-prev {
  left: clamp(18px, 3vw, 44px);
}

.portfolio-arrow-next {
  right: clamp(18px, 3vw, 44px);
}

.portfolio-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 5vh, 48px);
  z-index: 4;
  display: flex;
  gap: var(--space-2);
  padding: var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: rgb(12 14 18 / 58%);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.portfolio-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 30%);
  cursor: pointer;
  transition: width var(--transition-base), background var(--transition-base);
}

.portfolio-dots button.is-active {
  width: 28px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-300);
}

.home-placeholder .container {
  display: grid;
  gap: var(--space-5);
}

/* =========================
   Insights
========================= */
.insights-section {
  position: relative;
  isolation: isolate;
}

.insights-heading {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.insights-heading h2 {
  font-size: clamp(2.25rem, 4.5vw, 4rem);
}

.insights-heading p {
  max-width: 800px;
  color: var(--color-text-soft);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: clamp(36px, 5vw, 64px);
}

.insight-card {
  display: grid;
  overflow: hidden;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 4%);
  box-shadow: 0 22px 54px rgb(0 0 0 / 18%);
  text-decoration: none;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.insight-card:hover,
.insight-card:focus-visible {
  border-color: rgb(175 128 232 / 54%);
  box-shadow: 0 26px 68px rgb(0 0 0 / 28%), 0 0 36px rgb(93 101 230 / 12%);
  transform: translateY(-7px);
}

.insight-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgb(255 255 255 / 5%);
}

.insight-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow);
}

.insight-card:hover .insight-card-media img {
  transform: scale(1.045);
}

.insight-date {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-4);
  padding: 7px 10px;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--radius-sm);
  background: rgb(9 10 12 / 78%);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
}

.insight-card-body {
  display: grid;
  align-content: start;
  gap: var(--space-4);
  min-height: 226px;
  padding: var(--space-6);
}

.insight-card-body h3 {
  font-size: clamp(1.22rem, 2vw, 1.55rem);
}

.insight-card-body p {
  color: var(--color-text-muted);
  line-height: 1.65;
}

.insight-link {
  align-self: end;
  margin-top: auto;
  color: var(--color-primary-300);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insights-more {
  display: flex;
  justify-content: center;
  margin-top: var(--space-8);
}

.insights-empty {
  grid-column: 1 / -1;
  padding: var(--space-8);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 3%);
  text-align: center;
}

.skeleton {
  display: block;
  border-radius: var(--radius-xs);
  background: linear-gradient(100deg, rgb(255 255 255 / 4%) 25%, rgb(255 255 255 / 10%) 50%, rgb(255 255 255 / 4%) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.8s linear infinite;
}

.skeleton-line {
  width: 100%;
  height: 13px;
}

.skeleton-line-title {
  width: 72%;
  height: 22px;
}

.skeleton-line-short {
  width: 62%;
}

/* =========================
   Contact
========================= */
.contact-section {
  position: relative;
  display: grid;
  min-height: 680px;
  padding-block: clamp(56px, 8vw, 96px);
  overflow: hidden;
  isolation: isolate;
  align-items: center;
}

.contact-map,
.contact-map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-map {
  z-index: -3;
  border: 0;
  filter: grayscale(1) contrast(0.9) brightness(0.58);
}

.contact-map-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(9 10 12 / 88%) 0%, rgb(9 10 12 / 58%) 44%, rgb(9 10 12 / 30%) 100%),
    linear-gradient(180deg, rgb(9 10 12 / 72%), transparent 28%, transparent 74%, rgb(9 10 12 / 84%));
  pointer-events: none;
}

.contact-shell {
  display: flex;
  justify-content: flex-start;
}

.contact-card {
  width: min(100%, 510px);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 8%), transparent 58%),
    rgb(9 10 12 / 82%);
  box-shadow: 0 30px 88px rgb(0 0 0 / 42%);
  backdrop-filter: blur(22px);
}

.contact-card header {
  display: grid;
  gap: var(--space-3);
  padding-bottom: var(--space-6);
}

.contact-card h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.65rem);
}

.contact-card p {
  max-width: 420px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.contact-list {
  display: grid;
  gap: var(--space-3);
}

.contact-item {
  display: grid;
  width: 100%;
  grid-template-columns: 46px 1fr;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-3);
  color: var(--color-text);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 3%);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.contact-item:hover,
.contact-item:focus-visible {
  border-color: rgb(175 128 232 / 42%);
  background: rgb(255 255 255 / 7%);
  transform: translateX(5px);
}

.contact-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--color-primary-300);
  border: 1px solid rgb(175 128 232 / 25%);
  border-radius: var(--radius-md);
  background: rgb(175 128 232 / 10%);
}

.contact-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-item strong,
.contact-item small {
  display: block;
}

.contact-item strong {
  font-size: 0.95rem;
}

.contact-item small {
  margin-top: 3px;
  color: var(--color-text-muted);
  font-size: 0.84rem;
}

.back-to-top {
  position: fixed;
  right: clamp(14px, 2.2vw, 28px);
  bottom: clamp(14px, 2.2vw, 28px);
  z-index: 30;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--color-primary-200);
  border: 1px solid rgb(175 128 232 / 35%);
  border-radius: 50%;
  background: rgb(9 10 12 / 82%);
  box-shadow: 0 16px 38px rgb(0 0 0 / 34%), 0 0 24px rgb(93 101 230 / 10%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  cursor: pointer;
  backdrop-filter: blur(16px);
  transition: opacity var(--transition-base), transform var(--transition-base), border-color var(--transition-fast), background var(--transition-fast);
}

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

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: rgb(175 128 232 / 74%);
  background: rgb(175 128 232 / 16%);
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: rotate(-90deg);
}

.site-footer {
  padding-block: 12px;
  border-top: 1px solid rgb(255 255 255 / 8%);
  background: #090a0c;
}

.site-footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.site-footer-brand img {
  display: block;
  width: 118px;
  height: auto;
}

.site-footer p {
  color: var(--color-text-muted);
  font-size: 0.86rem;
  text-align: right;
}

.ambient-beacon-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-beacon-ring {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border: 1px solid rgb(175 128 232 / 34%);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.08);
  box-shadow:
    0 0 34px rgb(175 128 232 / 18%),
    inset 0 0 28px rgb(93 101 230 / 12%);
  animation: ambientBeaconPulse var(--duration) var(--ease-out) forwards;
}

.ambient-beacon-ring::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: inherit;
  border: 1px solid rgb(93 101 230 / 18%);
}

.budget-modal .modal-panel {
  width: min(100%, 620px);
}

.budget-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.budget-form .field:last-child {
  grid-column: 1 / -1;
}

@media (min-width: 861px) {
  .blinkbit-header .mobile-toggle {
    display: none;
  }
}

@media (max-width: 860px) {
  .blinkbit-header .header-shell {
    width: min(100% - 24px, var(--container-wide));
  }

  .blinkbit-brand img {
    width: 114px;
  }

  .nav-budget {
    display: none;
  }

  .nav-budget-mobile {
    display: inline-flex;
    width: 100%;
    margin-top: var(--space-2);
  }

  .home-hero-copy h1 {
    font-size: clamp(2.35rem, 10.4vw, 3.35rem);
  }

  .hero-project-btn {
    width: 100%;
  }

  .stats-strip {
    height: auto;
    min-height: 200px;
    padding-block: var(--space-8);
  }

  .stats-strip-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

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

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

  .services-track {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;
    padding: 0 12px var(--space-3);
    margin-inline: -12px;
    scrollbar-width: none;
  }

  .services-track::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    flex: 0 0 min(82vw, 330px);
    min-height: 350px;
    scroll-snap-align: center;
  }

  .insights-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .contact-section {
    min-height: 760px;
    align-items: end;
  }

  .contact-map-overlay {
    background:
      linear-gradient(180deg, rgb(9 10 12 / 36%) 0%, rgb(9 10 12 / 54%) 36%, rgb(9 10 12 / 92%) 100%);
  }

  .contact-shell {
    justify-content: center;
  }

  .site-footer-shell {
    display: grid;
    justify-items: center;
  }

  .site-footer p {
    text-align: center;
  }

  .portfolio-section {
    min-height: 640px;
  }

  .portfolio-content {
    padding-inline: 48px;
    padding-bottom: 92px;
  }

  .portfolio-content h2 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .portfolio-subtitle {
    font-size: 1.16rem;
  }

  .portfolio-arrow {
    width: 46px;
    height: 46px;
  }

}

@media (max-width: 760px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .blinkbit-brand img {
    width: 101px;
  }

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

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

@keyframes beaconPulse {
  0% {
    opacity: 0.78;
    transform: translate(-50%, -50%) scale(0.2);
  }

  72% {
    opacity: 0.28;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(5.2);
  }
}

@keyframes ambientBeaconPulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.08);
  }

  18% {
    opacity: var(--alpha);
  }

  78% {
    opacity: calc(var(--alpha) * 0.35);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes skeletonShimmer {
  to {
    background-position-x: -200%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero::after,
  .beacon-ring,
  .ambient-beacon-ring {
    display: none;
  }
}
