

body { background-image: var(--glass-grain); }
:is(.price-card, .contact-form, .custom-banner, .tile-carousel .service) {
  --path-panel-gradients:
    var(--glass-grain),
    radial-gradient(circle at 10% 0%, #ffffffa8, transparent 60%),
    radial-gradient(circle at 94% 85%, #5200ff29, transparent 65%),
    radial-gradient(circle at 18% calc(95% + var(--banner-scroll-shift, 0%)), #c64b5555, transparent 68%);
}
.price-card, .price-card.featured, .contact-form {
  background: var(--path-panel-gradients), #ffffff42;
  backdrop-filter: blur(13px) saturate(125%);
  border: 1px solid #ffffffa8;
  box-shadow: inset 0 1px 0 #ffffffb0, 0 12px 30px #30134c13;
}
.price-card.featured { background-color: #c64b5544; }
.contact {
  background-image:
    var(--glass-grain),
    radial-gradient(ellipse at 100% calc(0% + var(--banner-scroll-shift, 0%)), #c64b5590, transparent 62%),
    linear-gradient(135deg, #5200ff, #260767 78%);
}
.contact-form {
  background:
    var(--glass-grain),
    radial-gradient(circle at 95% 5%, #c64b5545, transparent 63%),
    #26076766;
  border-color: #ffffff60;
}



.hero .hidden-title .hero-sparkles {
  top: -.12em;
  left: .55em;
  width: 12px;
  height: 12px;
}
.hero .hero-sparkles i {
  display: block;
  width: 12px;
  height: 12px;
  background-color: var(--uv-red);
  opacity: 0;
  animation: alternating-star-hint 9s linear infinite;
}
@keyframes alternating-star-hint {
  0%, 9%, 24%, 100% { opacity: 0; }
  4% { opacity: 1; left: 0; }
  0%, 9% { left: 0; }
  24%, 28%, 33% { left: 2.3em; }
  33% { opacity: 0; }
  28% { opacity: 1; }
  49%, 53%, 58% { left: 5.6em; }
  49%, 58% { opacity: 0; }
  53% { opacity: 1; }
  74%, 78%, 83% { left: 3.8em; }
  74%, 83% { opacity: 0; }
  78% { opacity: 1; }
  0%, 24%, 49%, 74% { transform: scale(.7) rotate(0turn); }
  0%, 9%, 49%, 58%, 100% { background-color: var(--uv-red); }
  24%, 33%, 74%, 83% { background-color: #ccff00; }
  9%, 33%, 58%, 83%, 100% { transform: scale(1) rotate(.5turn); }
}
.hero .hidden-title {
  white-space: nowrap;
  font-size: min(1em, 10.5vw);
}
.hero .hidden-title::before { display: none; }
.hero .hidden-title .lens-ink { color: #c64b55; }
.hero .hidden-title .lens-ink::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: .72em;
  margin-left: 5px;
  background: currentColor;
  animation: blink .8s steps(1) infinite;
}
.hero .hidden-title { min-height: 1lh; }
.hero .hidden-title.typing-visible::after { visibility: hidden; }


.nav-ticker .ticker-star {
  position: absolute;
  top: 50%;
  left: clamp(0px, var(--star-x, 75%), calc(100% - 10px));
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  pointer-events: none;
  background: #ccff00;
  clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
  animation: ticker-star-spin 2.4s linear infinite;
  transition: left .2s ease;
  z-index: 1;
}
@keyframes ticker-star-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .nav-ticker .ticker-star { animation: none; transition: none; }
  .hero .hidden-title .lens-ink::after { display: none; }
}

@media (hover: hover) and (pointer: fine) {

  .hero .hidden-title::after {
    background: var(--glass-grain), linear-gradient(var(--paper), var(--paper));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    transition: none;
  }
}

.faq details { border-block-start: 1px solid var(--line); }
.faq details:last-child { border-block-end: 1px solid var(--line); }
.faq summary { text-transform: lowercase; cursor: pointer; }
.faq summary::marker { color: var(--violet); }
.faq summary:focus-visible { outline-offset: 5px; }

.custom-banner {
  background: var(--path-panel-gradients), #ffffff42;
  border: 0;
  backdrop-filter: blur(13px) saturate(125%);
  box-shadow: 0 8px 24px rgb(23 19 15 / .08);
  color: #170b20;
}

.footer {
  background-image: var(--glass-grain) !important;
  background-size: 160px 160px;
  grid-template-columns: auto minmax(0,1fr) minmax(0,1.6fr) auto;
  column-gap: clamp(16px,2.4vw,36px);
  row-gap: 18px;
}
.footer > p { margin: 0; }
.footer > div { align-items: center; }
.footer > small { justify-self: end; }
@media (max-width: 950px) {
  .footer { grid-template-columns: auto minmax(0,1fr); }
  .footer > small { justify-self: start; }
}
@media (max-width: 580px) {
  .footer { grid-template-columns: minmax(0,1fr); padding-block: 32px; }
  .footer-logo { width: 96px; height: 96px; }
}

.tile-carousel { --tile-width: min(66%, 420px); }
.tile-carousel .tile-track {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  overflow-x: auto;
  padding: 12px calc((100% - var(--tile-width)) / 2) 22px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.tile-track::-webkit-scrollbar { display: none; }
.tile-carousel .tile-track.is-dragging { scroll-snap-type: none; user-select: none; }
.tile-carousel .tile-track > article {
  flex: 0 0 auto;
  width: var(--tile-px, 100%);
  min-width: 0;
  box-sizing: border-box;
  scroll-snap-align: center;
  transform: none;
}
.tile-carousel .price-grid .price-card, .tile-carousel .service {
  padding: clamp(22px, 3vw, 34px);
}
.tile-carousel .service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 290px;
  gap: 15px;
  border-radius: 30px;
  background: var(--path-panel-gradients), #ffffff42;
  backdrop-filter: blur(13px) saturate(125%);
  border: 1px solid #fff9;
  box-shadow: 0 10px 24px #30134c12;
}
.tile-carousel .tile-number {
  display: block;
  min-height: 38px;
  font: 700 21px/38px var(--body), sans-serif;
  color: var(--violet);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.75,.2,1), color .35s;
}
.tile-carousel .price-card .tile-number { margin-bottom: 10px; }
.tile-carousel .tile-track article.is-current > .tile-number { transform: scale(1.7); color: #c64b55; }
.tile-carousel .tile-track article:not(.is-current) > .tile-number { transform: none; color: var(--violet); }
.tile-dots { display: flex; justify-content: center; align-items: center; gap: 1px; margin-bottom: 20px; }
.tile-dots button {
  display: grid;
  place-items: center;
  width: 13px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  transition: width .25s ease;
}
.tile-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: #706a7b; transition: width .25s ease; }
.tile-dots button[aria-current="true"] { width: 33px; }
.tile-dots button[aria-current="true"]::before { width: 27px; background: var(--violet); }
@media (max-width: 580px) { .tile-carousel { --tile-width: 86%; } }
@media (prefers-reduced-motion: reduce) { .tile-carousel .tile-number, .tile-dots button, .tile-dots button::before { transition: none; } }
.tile-carousel .price-grid .price-card:hover, .tile-carousel .price-grid .price-card.expanded { transform: none; }

.portfolio-carousel .portfolio-track { scroll-padding-inline: 0; }
.portfolio-carousel .portfolio-track .project {
  flex: 0 0 auto;
  scroll-snap-align: center;
  border-bottom: 0;
  padding-bottom: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-sparkles i { animation: none; opacity: 1; }
}

.portfolio-carousel { --tile-width: clamp(235px, 23vw, 310px); }
@media (max-width: 900px) {
  .portfolio-carousel { --tile-width: 245px; }
}
@media (max-width: 580px) {
  .portfolio-carousel { --tile-width: min(230px, 86%); }
}

.lens-paper {
  position: absolute;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hidden-title.revealing .lens-ink {
    mask-image: radial-gradient(circle 180px at var(--reveal-x) var(--reveal-y), transparent 25%, black);
  }
  .hidden-title.revealing .lens-paper {
    visibility: visible;
    mask-image: radial-gradient(circle 180px at var(--reveal-x) var(--reveal-y), black 25%, transparent);
  }
  .hero .hidden-title .lens-paper {
    color: transparent;
    background: var(--glass-grain), linear-gradient(var(--paper), var(--paper));
    background-clip: text;
    -webkit-background-clip: text;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .hero .hidden-title.revealing .lens-ink { visibility: hidden; }
}


.services.section { padding-bottom: clamp(20px, 4vw, 48px); }
.services .tile-dots { margin-bottom: 0; }
.services + .about.section { padding-top: clamp(20px, 4vw, 48px); }
@media (max-width: 900px) {
  .services + .about.section { gap: 24px; }
  .about .about-visual { min-height: 0; }
}

.contact-form .service-select { position: relative; display: block; min-width: 0; }
.contact-form .service-select select {
  appearance: none;
  padding-inline-end: 44px;
  cursor: pointer;
}
.service-select-arrow {
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%) rotate(90deg);
  color: var(--uv-blue);
  pointer-events: none;
  transition: color .22s ease;
}
.service-select:is(:hover, :focus-within) .service-select-arrow { color: var(--uv-red); }

.price-card .package-details-inner > .price {
  padding-inline-end: 17px;
  padding-bottom: 15px;
}
body .price a.uv-action {
  flex: none;
  margin-inline-start: 15px;
  background: var(--uv-blue) !important;
}
body .price a.uv-action:is(:hover, :focus-visible, :active) {
  --action-bg: var(--uv-red);
  background: var(--uv-red) !important;
}
body .price a .contact-orbit {
  width: 70px;
  height: 70px;
  margin: -35px;
  visibility: inherit;
  opacity: 1;
  animation: spin 18s linear infinite !important;
}
body .price a .contact-orbit {
  transition: scale .22s ease;
}
body .price a .contact-orbit text {
  fill: var(--uv-blue);
  font-weight: 800;
  transition: fill .22s ease;
}
body .price a:is(:hover, :focus-visible, :active) .contact-orbit {
  scale: 1.08;
}
body .price a:is(:hover, :focus-visible, :active) .contact-orbit text {
  fill: var(--uv-red);
}
@media (prefers-reduced-motion: reduce) {
  body .price a .contact-orbit { animation: none !important; transition: none; }
  body .price a:is(:hover, :focus-visible, :active) .contact-orbit { scale: 1; }
  body .price a .contact-orbit text { transition: none; }
}

.contact-form .service-field { margin-bottom: 22px; }
.contact-form .service-field > label { margin-bottom: 9px; }
.service-select-trigger {
  position: relative;
  width: 100%;
  padding: 12px 44px 12px 14px;
  border: 0;
  border-radius: 12px;
  background: #fffffff5;
  color: #17130f;
  font: 600 14px/1.5 var(--body);
  text-align: start;
  cursor: pointer;
}
.service-select-trigger[aria-expanded="true"] .service-select-arrow {
  transform: translateY(-50%) rotate(-90deg);
}
.service-select-menu {
  position: absolute;
  inset: calc(100% + 8px) 0 auto;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 7px;
  max-height: min(45svh, 24rem);
  overflow: auto;
  padding: 4px 6px 12px;
  animation: service-menu-open .22s ease-out;
}
.service-select-menu[hidden] { display: none; }
.service-select-menu .uv-action {
  flex: 0 0 auto;
  max-width: 100%;
  padding: 9px 14px;
  font: 600 14px/1.35 var(--body);
  text-align: center;
  cursor: pointer;
}
.service-select-menu .uv-action[aria-pressed="true"] { background: var(--uv-red); }
@keyframes service-menu-open {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .service-select-menu { animation: none; }
}

.nav-case-studies {
  display: grid;
  justify-items: end;
  gap: 7px;
  margin-inline-end: 14px;
  max-width: calc(100vw - 65px);
}
.nav-case-studies[hidden] { display: none; }
body .nav-links .nav-case-studies .uv-action {
  --action-bg: #ccff00;
  --action-ink: var(--uv-blue);
  background: var(--action-bg);
  color: var(--action-ink);
  padding: 9px 14px;
  text-align: end;
  text-transform: none;
  overflow-wrap: anywhere;
}
body .nav-links .nav-case-studies .uv-action:is(:hover, :focus-visible, :active) {
  --action-bg: var(--uv-red);
  --action-ink: #fff;
}
@media (max-height: 530px) {
  .nav-links.open {
    max-height: calc(100svh - 100px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

.service-select-menu:popover-open {
  position: fixed;
  inset: auto;
  margin: 0;
  border: 0;
  background: transparent;
  box-sizing: border-box;
  overscroll-behavior: contain;
}
.service-select-menu::backdrop {
  background: rgb(204 255 0 / .48);
  backdrop-filter: grayscale(1);
  -webkit-backdrop-filter: grayscale(1);
}
