@font-face {
  font-family: 'Violet Sans';
  src: url('../fonts/violet-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sligoil';
  src: url('../fonts/sligoil-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --ink: #FFFFFF;
  --ink-soft: rgba(255, 255, 255, 0.78);
  --ink-muted: rgba(255, 255, 255, 0.56);
  --royal: #4169E1;
  --royal-light: #8FB0FF;
  --hairline: rgba(143, 176, 255, 0.18);
  --hairline-strong: rgba(143, 176, 255, 0.42);
  --ff-display: 'Violet Sans', sans-serif;
  --ff-text: 'Violet Sans', sans-serif;
  --ff-mono: 'Sligoil', monospace;
  --radius-card: 22px;
  --nav-h: 56px;
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
}

html.has-scroll-smooth {
  overflow: hidden;
  scroll-behavior: auto;
}

html.has-scroll-smooth body {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: 84px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

main {
  width: 100%;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  font-family: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--royal-light);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background: var(--royal);
  color: var(--ink);
  z-index: 200;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Navbar */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(5, 5, 5, 0.76);
  backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-size: 15px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--royal-light);
  box-shadow: 0 0 12px rgba(65, 105, 225, 0.8);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--ink-soft);
}

.nav-links a {
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--royal);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.nav-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Mobile fullscreen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--bg);
  padding: 20px 24px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}

.brand-text {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.mobile-close {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: transparent;
  font-size: 13px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.mobile-nav a {
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mobile-menu-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.microcopy {
  margin: 0;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-muted);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 28px) 20px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-aura {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(65, 105, 225, 0.24), transparent 52%),
    radial-gradient(circle at 74% 62%, rgba(143, 176, 255, 0.12), transparent 46%);
  animation: auraDrift 16s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

@keyframes auraDrift {
  0% {
    transform: translate3d(-2%, 0, 0) scale(1);
    opacity: 0.78;
  }
  100% {
    transform: translate3d(2%, -3%, 0) scale(1.06);
    opacity: 1;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.hero-media img {
  width: min(86vw, 560px);
  height: min(86vw, 560px);
  object-fit: cover;
  object-position: center top;
  border-radius: 999px;
  opacity: 0.64;
  filter: contrast(1.06) saturate(0.95);
  mask-image: radial-gradient(circle at center, #000 44%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, #000 44%, transparent 75%);
}

@media (min-width: 900px) {
  .hero-media img {
    width: min(48vw, 620px);
    height: min(48vw, 620px);
    opacity: 0.7;
  }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.38) 0%,
    rgba(5, 5, 5, 0.5) 55%,
    rgba(5, 5, 5, 0.92) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-kicker {
  margin: 0 0 18px;
  max-width: 100%;
  font-family: var(--ff-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--royal-light);
}

.hero-title {
  margin: 0 0 20px;
  font-family: var(--ff-display);
  font-size: clamp(3.2rem, 10vw, 7rem);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.042em;
  color: var(--ink);
  text-shadow: 0 12px 36px rgba(5, 5, 5, 0.72);
}

.hero-support {
  margin: 0 0 28px;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero-cta-wrap {
  display: flex;
  justify-content: center;
}

.hero-micro {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
}

/* Primary CTA button with transform/opacity sweep */
.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--royal);
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

@media (min-width: 768px) {
  .btn-cta {
    min-height: 56px;
    padding: 0 34px;
    font-size: 16px;
  }
}

.btn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.34) 50%, transparent 78%);
  transform: translate3d(-120%, 0, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
}

.btn-cta:hover::before {
  transform: translate3d(120%, 0, 0);
  opacity: 1;
}

.btn-cta--hero.is-swept::before {
  animation: heroSweepOnce 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s 1 forwards;
}

@keyframes heroSweepOnce {
  0% {
    transform: translate3d(-120%, 0, 0);
    opacity: 0.7;
  }
  100% {
    transform: translate3d(120%, 0, 0);
    opacity: 0;
  }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
  font-size: 15px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--royal-light);
}

/* Organic seam transitions (no <hr>, no straight lines) */
.seam-transition {
  position: relative;
  height: clamp(96px, 11vw, 152px);
  margin: -24px 0;
  pointer-events: none;
  overflow: hidden;
}

.seam-svg {
  width: 108%;
  height: 100%;
  margin-left: -4%;
  display: block;
}

/* Bending Marquee */
.marquee-band {
  padding: 28px 0 42px;
  overflow: hidden;
}

.marquee-curve {
  transform: perspective(900px) rotateX(8deg) rotateZ(-1.2deg);
  transform-origin: center;
  padding: 14px 0;
  background: radial-gradient(ellipse at center, rgba(65, 105, 225, 0.14), transparent 72%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeLoop 34s linear infinite;
  will-change: transform;
}

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

.marquee-group {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.marquee-group .dot {
  color: var(--royal-light);
}

@keyframes marqueeLoop {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Shared section geometry */
.section {
  padding: clamp(72px, 9vw, 128px) 20px;
}

.section-head {
  max-width: 68ch;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--royal-light);
}

.section-title {
  margin: 0 0 16px;
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-lead {
  margin: 0 auto;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.section-cta {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

/* Varal Gallery */
.varal-section {
  padding-left: 0;
  padding-right: 0;
}

.varal-section .section-head {
  padding: 0 20px;
}

.varal-stage {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}

.varal-cord {
  width: 100%;
  height: 54px;
  display: block;
  pointer-events: none;
  margin-bottom: -24px;
}

.varal-track {
  display: flex;
  gap: 24px;
  padding: 28px clamp(20px, 6vw, 72px) 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

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

.varal-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.varal-item {
  position: relative;
  flex: 0 0 min(74vw, 310px);
  scroll-snap-align: center;
  padding-top: 14px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.varal-item--a {
  transform: translateY(-4px) rotate(-2deg);
}

.varal-item--b {
  transform: translateY(10px) rotate(1.8deg);
}

.varal-item--c {
  transform: translateY(2px) rotate(-1.2deg);
}

.clothespin {
  position: absolute;
  top: 0;
  left: 50%;
  width: 14px;
  height: 28px;
  transform: translateX(-50%);
  border-radius: 4px;
  border: 1px solid var(--hairline-strong);
  background: linear-gradient(180deg, rgba(143, 176, 255, 0.28), rgba(5, 5, 5, 0.92));
  z-index: 2;
}

.clothespin::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 13px;
  height: 2px;
  background: var(--royal-light);
}

.varal-card {
  width: 100%;
  padding: 10px 10px 14px;
  border-radius: 18px;
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(143, 176, 255, 0.06), rgba(5, 5, 5, 0.94));
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.32s ease;
}

.varal-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
}

.varal-meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

@media (hover: hover) and (pointer: fine) {
  .varal-item:hover .varal-card {
    transform: scale(1.02);
    border-color: var(--royal-light);
  }
  .varal-item:hover .varal-meta {
    color: var(--ink);
  }
}

.varal-controls {
  margin-top: 24px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.varal-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.varal-arrow:hover {
  border-color: var(--royal-light);
  transform: translateY(-1px);
}

/* Scroll Stack */
.stack-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stack-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline);
  background: radial-gradient(circle at top center, rgba(65, 105, 225, 0.12), rgba(5, 5, 5, 0.92) 72%);
  text-align: center;
  will-change: transform;
}

.stack-num {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--royal-light);
}

.stack-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.stack-copy {
  margin: 0 auto;
  max-width: 56ch;
  font-size: 16px;
  color: var(--ink-soft);
}

/* FAQ */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border-radius: 18px;
  border: 1px solid var(--hairline);
  background: radial-gradient(circle at 50% 0%, rgba(143, 176, 255, 0.06), transparent 72%);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 17px;
  line-height: 1.4;
}

.faq-icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--royal-light);
  transform: translate(-50%, -50%);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-trigger[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 16px;
  color: var(--ink-soft);
}

/* Final Regions & Contact Block */
.region-panel {
  max-width: 740px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline);
  background: radial-gradient(circle at 50% 0%, rgba(65, 105, 225, 0.16), transparent 68%);
  text-align: center;
}

.region-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.region-tab {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: transparent;
  font-size: 14px;
  color: var(--ink-soft);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.region-tab.is-active {
  border-color: var(--royal-light);
  color: var(--ink);
  background: rgba(65, 105, 225, 0.18);
}

.region-name {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.region-detail {
  margin: 0 auto;
  max-width: 56ch;
  font-size: 16px;
  color: var(--ink-soft);
}

.contact-links {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.social-row a:hover {
  color: var(--royal-light);
}

.mono-line {
  margin: 0;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

/* Footer */
.site-footer {
  padding: 36px 20px 44px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-muted);
}

.footer-brand {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 5, 0.94);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  background: rgba(5, 5, 5, 0.8);
  font-size: 14px;
}

.lightbox-figure {
  margin: 0;
  max-width: min(90vw, 560px);
  text-align: center;
}

.lightbox-figure img {
  max-height: 76vh;
  width: auto;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid var(--hairline);
}

.lightbox-figure figcaption {
  margin-top: 12px;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ink-soft);
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 95;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(5, 5, 5, 0.55);
  transition: transform 0.25s ease;
}

@media (min-width: 768px) {
  .wa-float {
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
  }
}

.wa-float:hover {
  transform: scale(1.06);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-aura,
  .marquee-track,
  .hero-media,
  .stack-card,
  .seam-transition {
    transform: none !important;
    opacity: 1 !important;
  }
}
