/* ===== blizweb — custom styles ===== */
:root {
  --brand: #45038B;
  --ink: #000113;
  --paper: #FFFFFF;
  --mist: #F4F1FA;
}

* { -webkit-font-smoothing: antialiased; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* Custom cursor */
#cursor {
  position: fixed;
  top: 0; left: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand);
  mix-blend-mode: difference;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, opacity .2s ease;
  z-index: 9999;
  opacity: 0;
}
@media (hover:hover) {
  #cursor { opacity: 1; }
  #cursor.is-hover { width: 56px; height: 56px; }
}

/* Nav */
.nav-shell {
  background: rgba(255,255,255,0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border: 1px solid rgba(0,1,19,0.08);
  box-shadow: 0 8px 30px rgba(0,1,19,0.04);
}
.nav-link {
  position: relative;
  color: rgba(0,1,19,0.7);
  transition: color .2s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: -6px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brand);
}

.logo-dot {
  width: 22px; height: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--ink));
  display: inline-block;
  position: relative;
}
.logo-dot::after {
  content:'';
  position:absolute; inset: 4px;
  border-radius: 4px;
  background: #fff;
  opacity: .15;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.25rem;
  border-radius: 999px;
  font-weight: 500;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 1.1rem 1.6rem; font-size: 1rem; }
.btn-brand {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(69, 3, 139, 0.5);
}
.btn-brand:hover { background: #5a13aa; }
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #1b1b35; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(0,1,19,0.15);
}
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Typography helpers */
h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .service-title, .accordion-btn {
  font-family: 'Figtree', 'Sora', system-ui, sans-serif;
}
.hero-title {
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  line-height: 0.95;
}
.section-title {
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 500;
}

/* Decorative orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}
.orb-1 { width: 480px; height: 480px; background: #b794f4; top: -120px; left: -120px; }
.orb-2 { width: 360px; height: 360px; background: #45038B; top: 20%; right: -80px; opacity:.18;}
.orb-3 { width: 600px; height: 600px; background: #45038B; bottom: -240px; left: 50%; transform: translateX(-50%); opacity: .35; }

/* Hero card */
.hero-card { box-shadow: 0 40px 80px -40px rgba(0,1,19,.6); }
.card-light {
  background: var(--mist);
  border: 1px solid rgba(0,1,19,0.05);
}

/* Marquee */
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--ink);
}
.marquee-track .dot { color: var(--brand); font-size: 0.6em; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Logo marquee (stack) */
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  width: max-content;
  animation: logoScroll 30s linear infinite;
}
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
.logo-marquee-track .logo-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  opacity: .55;
  transition: opacity .25s ease;
}
.logo-marquee-track .logo-item:hover { opacity: 1; }
.logo-marquee-track .logo-item img {
  height: 34px;
  width: auto;
  display: block;
}
.logo-marquee-track .logo-item span {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
@keyframes logoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .logo-marquee-track { gap: 3rem; }
  .logo-marquee-track .logo-item img { height: 28px; }
}

/* Process scroller — card row with snap + arrow nav */
.process-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 85%;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.process-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .process-scroll { grid-auto-columns: 47%; } }
@media (min-width: 1024px) { .process-scroll { grid-auto-columns: 23.5%; gap: 1.25rem; } }

.process-tile {
  scroll-snap-align: start;
  position: relative;
  min-height: 360px;
  border-radius: 14px;
  padding: 1.75rem 1.75rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.process-tile h3 {
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.process-tile p {
  margin-top: .8rem;
  font-size: .92rem;
  line-height: 1.55;
  max-width: 26ch;
}
.process-tile .pt-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  width: fit-content;
  transition: transform .2s ease, background .2s ease;
  position: relative;
  z-index: 2;
}
.process-tile .pt-cta:hover { transform: translateY(-1px); }

/* variants */
.process-tile.v-mist  { background: var(--mist); color: var(--ink); }
.process-tile.v-mist  .pt-cta { background: var(--ink); color: #fff; }
.process-tile.v-mist  .pt-cta:hover { background: var(--brand); }

.process-tile.v-brand { background: var(--brand); color: #fff; }
.process-tile.v-brand p { color: rgba(255,255,255,.85); }
.process-tile.v-brand .pt-cta { background: #fff; color: var(--ink); }
.process-tile.v-brand .pt-cta:hover { background: var(--ink); color: #fff; }

.process-tile.v-soft  { background: #EDE5FB; color: var(--ink); }
.process-tile.v-soft  .pt-cta { background: var(--brand); color: #fff; }
.process-tile.v-soft  .pt-cta:hover { background: var(--ink); }

.process-tile.v-ink   { background: var(--ink); color: #fff; }
.process-tile.v-ink   p { color: rgba(255,255,255,.7); }
.process-tile.v-ink   .pt-cta { background: #fff; color: var(--ink); }
.process-tile.v-ink   .pt-cta:hover { background: var(--brand); color: #fff; }

/* decorative elements */
.pt-deco { position: absolute; right: -20px; bottom: -20px; pointer-events: none; z-index: 1; }
.pt-num {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 12rem;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(69,3,139,0.12);
  position: absolute;
  right: -8px;
  bottom: -34px;
  pointer-events: none;
  z-index: 0;
}
.pt-ring {
  width: 240px; height: 160px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 50%;
  position: absolute;
  right: -60px; bottom: -40px;
  z-index: 0;
}
.pt-ring::after {
  content: '';
  position: absolute; inset: 26px;
  border: 2px solid rgba(255,255,255,.15);
  border-radius: 50%;
}
.pt-grid {
  position: absolute; right: 18px; bottom: 18px;
  display: grid; grid-template-columns: repeat(4, 16px);
  gap: 7px;
  z-index: 0;
}
.pt-grid span {
  width: 16px; height: 16px;
  background: var(--brand);
  border-radius: 4px;
  opacity: .35;
}
.pt-grid span.solid { opacity: .9; }
.pt-dots {
  position: absolute; right: 24px; bottom: 24px;
  width: 130px; height: 90px;
  z-index: 0;
}
.pt-dots .dot {
  position: absolute; border-radius: 50%;
}
.pt-dots .dot.a { width: 14px; height: 14px; background: #b794f4; right: 0;   bottom: 60px; }
.pt-dots .dot.b { width: 14px; height: 14px; background: var(--brand); right: 56px; bottom: 30px; }
.pt-dots .dot.c { width: 14px; height: 14px; background: #6ee7f7; right: 12px; bottom: 0; }
.pt-dots svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.process-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0,1,19,.15);
  background: #fff;
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  transition: all .2s ease;
}
.process-arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.process-arrow:disabled { opacity: .4; cursor: not-allowed; }

/* Showcase slider (dual row, auto, opposite directions) */
.showcase {
  display: grid;
  gap: 1.5rem;
  /* full-bleed: break out of the centered max-width container */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.showcase-row { overflow: hidden; }
.showcase-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}
.showcase-track.to-left  { animation: showcaseLeft 45s linear infinite; }
.showcase-track.to-right { animation: showcaseRight 45s linear infinite; }
.showcase:hover .showcase-track { animation-play-state: paused; }
.showcase-item {
  flex: 0 0 auto;
  width: clamp(360px, 44vw, 640px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mist);
}
.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes showcaseLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes showcaseRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (max-width: 640px) {
  .showcase-item { width: 85vw; }
  .showcase, .showcase-track { gap: 1rem; }
}

/* Service cards */
.service-card {
  position: relative;
  padding: 2rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0,1,19,0.08);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex; flex-direction: column;
  min-height: 360px;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(69,3,139,.25);
  border-color: rgba(69,3,139,.3);
}
.service-card--dark {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}
.service-card--dark:hover { box-shadow: 0 30px 60px -20px rgba(0,1,19,.6); }
.service-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 3rem;
  color: rgba(0,1,19,0.15);
  line-height: 1;
}
.service-title {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 1rem;
}
.service-desc {
  margin-top: .75rem;
  color: rgba(0,1,19,0.65);
  line-height: 1.55;
}
.service-list {
  margin-top: 1.25rem;
  display: grid;
  gap: .4rem;
  font-size: .9rem;
  color: rgba(0,1,19,0.6);
}
.service-list li {
  position: relative;
  padding-left: 1.1rem;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .55rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
}
.service-link {
  margin-top: auto;
  padding-top: 1.5rem;
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--brand);
  font-weight: 500;
}
.service-link--light { color: #fff; }

/* Process card */
.process-card {
  background: #fff;
  border: 1px solid rgba(0,1,19,0.08);
  padding: 1.75rem;
  border-radius: 14px;
  transition: transform .25s ease, border-color .25s ease;
}
.process-card:hover { transform: translateY(-3px); border-color: var(--brand); }
.process-card span {
  display: inline-block;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--brand);
  font-size: 1.5rem;
}
.process-card h4 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: .5rem;
  letter-spacing: -0.01em;
}
.process-card p {
  margin-top: .5rem;
  color: rgba(0,1,19,0.65);
  font-size: .95rem;
  line-height: 1.5;
}

/* Work cards */
.work-card {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,1,19,0.08);
  transition: transform .3s ease;
}
.work-card:hover { transform: translateY(-4px); }
.work-visual {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--c1, #45038B), var(--c2, #000113));
  position: relative;
  display: grid;
  place-items: center;
  padding: 2rem;
}
.work-mock {
  width: 80%;
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem;
  display: grid;
  gap: .6rem;
  box-shadow: 0 30px 50px -20px rgba(0,0,0,.4);
}
.work-mock--dark { background: #0a0a1a; }
.work-mock--light { background: #fff; }
.work-mock .bar {
  height: 10px;
  background: rgba(0,1,19,.15);
  border-radius: 999px;
}
.work-mock .block {
  height: 60px;
  background: linear-gradient(135deg, var(--brand), #b794f4);
  border-radius: 10px;
  margin-top: .5rem;
}
.work-mock .circle {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--brand);
  margin: 0 auto 0.5rem;
}
.work-mock .grid-2 {
  margin-top: .5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.work-mock .grid-2::before, .work-mock .grid-2::after {
  content:'';
  height: 50px;
  border-radius: 8px;
  background: var(--brand);
  opacity: .15;
}
.work-mock .grid-2::after { background: var(--ink); opacity: .8; }
.work-mock .cta {
  width: 40%;
  height: 28px;
  background: var(--brand);
  border-radius: 999px;
  margin-top: .5rem;
}
.work-meta {
  padding: 1.4rem 1.6rem;
  display: flex; align-items: center; justify-content: space-between;
}
.work-meta h4 {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.work-meta p {
  font-size: .85rem;
  color: rgba(0,1,19,.55);
  margin-top: .15rem;
}

/* CTA card */
.cta-card {
  background: var(--mist);
  border: 1px solid rgba(69,3,139,.15);
  border-radius: 18px;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .cta-card { flex-direction: row; align-items: flex-end; }
}
.cta-card::before {
  content:'';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--brand);
  filter: blur(120px);
  opacity: .25;
  right: -80px; bottom: -120px;
}

.footer-link { color: rgba(0,1,19,.7); }
.footer-link:hover { color: var(--brand); }

/* Reveal animation defaults */
.reveal {
  opacity: 0;
  transform: translateY(24px);
}

/* Page header (interior pages) */
.page-header {
  padding-top: 9rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1;
}

/* Detail rows on services page */
.detail-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 4rem 0;
  border-top: 1px solid rgba(0,1,19,.1);
}
@media (min-width: 900px) {
  .detail-row { grid-template-columns: 1fr 1.4fr; gap: 4rem; }
}
.detail-row h3 {
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}
.detail-row .num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--brand);
  font-size: 1.3rem;
  display: block;
  margin-bottom: .5rem;
}
.detail-list {
  display: grid;
  gap: 1rem;
}
.detail-list > div {
  background: var(--mist);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
}
.detail-list h4 {
  font-weight: 500;
  font-size: 1.05rem;
}
.detail-list p {
  font-size: .92rem;
  color: rgba(0,1,19,.65);
  margin-top: .25rem;
}

/* About page bits */
.stat-card {
  background: #fff;
  border: 1px solid rgba(0,1,19,.08);
  border-radius: 14px;
  padding: 2rem;
}
.stat-card .num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 4rem;
  line-height: 1;
  color: var(--brand);
}

.tag-pill {
  display: inline-flex;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: var(--mist);
  color: var(--brand);
  font-size: .8rem;
  font-weight: 500;
}

/* Portfolio filter */
.filter-btn {
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-size: .85rem;
  border: 1px solid rgba(0,1,19,.15);
  color: rgba(0,1,19,.7);
  transition: all .2s ease;
}
.filter-btn:hover { color: var(--ink); border-color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Contact form */
.field {
  display: grid;
  gap: .4rem;
}
.field label {
  font-size: .8rem;
  color: rgba(0,1,19,.6);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.field input, .field textarea, .field select {
  background: #fff;
  border: 1px solid rgba(0,1,19,.12);
  border-radius: 14px;
  padding: .9rem 1rem;
  font: inherit;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
  font-family: inherit;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(69,3,139,.12);
}

.budget-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
}
@media (min-width: 600px) {
  .budget-grid { grid-template-columns: repeat(4, 1fr); }
}
.budget-grid input { display: none; }
.budget-grid label {
  text-align: center;
  padding: .8rem;
  border: 1px solid rgba(0,1,19,.12);
  border-radius: 12px;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-size: .9rem;
  color: var(--ink);
  transition: all .2s ease;
}
.budget-grid input:checked + label {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Accordion */
.accordion-item {
  border-top: 1px solid rgba(0,1,19,.1);
}
.accordion-item:last-child { border-bottom: 1px solid rgba(0,1,19,.1); }
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  text-align: left;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.accordion-btn .icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--mist);
  display: grid; place-items: center;
  color: var(--brand);
  transition: transform .3s ease, background .3s ease;
}
.accordion-item.is-open .accordion-btn .icon {
  transform: rotate(45deg);
  background: var(--brand);
  color: #fff;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.accordion-content > div {
  padding: 0 0 1.5rem;
  color: rgba(0,1,19,.65);
  max-width: 60ch;
}

@media (max-width: 900px) {
  .orb { filter: blur(60px); }
}
