/* ==========================================================================
   DK Web Solutions — Design System
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #08090c;
  --bg-soft: #0c0e13;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-hover: rgba(255, 255, 255, 0.075);
  --surface-solid: #12141a;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f6f8;
  --text-muted: #9aa0ac;
  --text-faint: #666b76;

  --accent: #6d5bff;
  --accent-2: #35e0c8;
  --accent-rgb: 109, 91, 255;
  --accent-2-rgb: 53, 224, 200;
  --gradient: linear-gradient(135deg, #7c6bff 0%, #35e0c8 100%);
  --gradient-soft: linear-gradient(135deg, rgba(124, 107, 255, 0.16), rgba(53, 224, 200, 0.12));

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 20px 50px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 0 1px rgba(var(--accent-rgb), 0.16), 0 25px 70px -25px rgba(var(--accent-rgb), 0.45);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1220px;

  --font-head: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  color-scheme: dark;
}

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- Page entrance ---------- */
body {
  animation: page-fade-in 0.7s var(--ease) both;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #2a2d36;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: #3a3e4a;
}

html {
  scrollbar-color: #2a2d36 var(--bg);
  scrollbar-width: thin;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Noise overlay ---------- */
.noise-overlay {
  position: fixed;
  inset: -10%;
  width: 120%;
  height: 120%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.6s steps(4) infinite;
}

@keyframes grain-shift {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-1.5%, 1%);
  }

  50% {
    transform: translate(1%, -1.5%);
  }

  75% {
    transform: translate(-1%, -1%);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* ---------- Intro loader ---------- */
.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
}

.intro-loader.is-hidden {
  transform: translateY(-100%);
}

.intro-loader.is-removed {
  display: none;
}

.intro-mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: scale(0.85);
  animation: intro-mark-in 0.6s var(--ease) 0.15s forwards;
}

@keyframes intro-mark-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

body:not(.intro-done) .hero-enter,
body:not(.intro-done) .hero-title-reveal {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .intro-loader {
    display: none;
  }
}

body.intro-lock {
  overflow: hidden;
}

/* ---------- Custom cursor ---------- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-2);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), opacity 0.3s var(--ease);
}

.cursor-ring.is-hovering {
  width: 58px;
  height: 58px;
  border-color: var(--accent-2);
  background: rgba(var(--accent-2-rgb), 0.08);
}

.cursor-ring.has-label {
  width: 92px;
  height: 92px;
  background: var(--gradient);
  border-color: transparent;
}

.cursor-ring-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #06070a;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
  text-align: center;
  pointer-events: none;
}

.cursor-ring.has-label .cursor-ring-label {
  opacity: 1;
  transform: scale(1);
}

body.cursor-ready .cursor-dot,
body.cursor-ready .cursor-ring {
  opacity: 1;
}

body.cursor-ready,
body.cursor-ready a,
body.cursor-ready button,
body.cursor-ready .btn {
  cursor: none;
}

@media (hover: none),
(pointer: coarse) {

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* ---------- Section dots (scroll-spy) ---------- */
.section-dots {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 400;
  display: none;
  flex-direction: column;
  gap: 16px;
}

.section-dots a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 14px;
  height: 14px;
}

.section-dots a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.35s var(--ease);
}

.section-dots a:hover::before {
  background: rgba(255, 255, 255, 0.5);
}

.section-dots a.is-active::before {
  background: var(--accent-2);
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(var(--accent-2-rgb), 0.18);
  transform: scale(1.3);
}

.dot-label {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.section-dots a:hover .dot-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (min-width: 1180px) {
  .section-dots {
    display: flex;
  }
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

main {
  display: block;
}

section {
  position: relative;
}

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.kicker-light {
  color: #fff;
  opacity: 0.85;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.section-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  padding-right: 12px;
  border-right: 1px solid var(--border-strong);
  line-height: 1;
}

.section-num-light {
  color: rgba(255, 255, 255, 0.4);
  border-right-color: rgba(255, 255, 255, 0.25);
}

.section-title {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 18ch;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s var(--ease) 0.1s;
}

[data-reveal].in-view .section-title {
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  .section-title {
    clip-path: none;
  }
}

.section-lead {
  margin-top: 16px;
  max-width: 56ch;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1rem);
}

.section-head {
  margin-bottom: 56px;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient);
  z-index: 900;
  transition: width 0.1s linear;
}

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] {
  transition-delay: 0.1s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.2s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Icons ---------- */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--gradient);
  color: #06070a;
  box-shadow: var(--shadow-glow);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s var(--ease);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 80px -20px rgba(var(--accent-rgb), 0.55);
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 12px 22px;
}

.btn-outline:hover {
  border-color: var(--accent-2);
  color: var(--accent-2);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 1180px;
  z-index: 500;
  border-radius: var(--radius-full);
  background: rgba(16, 18, 24, 0.6);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.6);
  transition: top 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), width 0.4s var(--ease);
}

.site-header.is-scrolled {
  top: 10px;
  background: rgba(10, 11, 15, 0.82);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(var(--accent-rgb), 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 10px 10px 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  border-radius: 10px;
}

.brand-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-text em {
  font-style: normal;
  color: var(--accent-2);
}

.nav-desktop {
  display: none;
  position: relative;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: var(--radius-full);
  background: var(--surface-hover);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), width 0.4s var(--ease), opacity 0.3s var(--ease);
  opacity: 0;
  pointer-events: none;
}

.nav-indicator.is-ready {
  opacity: 1;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta {
  display: none;
}

.menu-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.25s var(--ease), border-color .25s var(--ease);
}

.menu-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: #0c0e14;
  border-left: 1px solid var(--border);
  z-index: 700;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  display: flex;
  flex-direction: column;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  z-index: 650;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 26px 30px;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-link {
  display: block;
  padding: 14px 6px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color 0.25s var(--ease), padding-left .25s var(--ease);
}

.mobile-link:hover {
  color: var(--accent-2);
  padding-left: 12px;
}

.mobile-nav-bottom {
  margin-top: auto;
  padding-top: 24px;
}

.mobile-nav-bottom>a {
  font-weight: 600;
  color: var(--accent-2);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-row a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.25s var(--ease);
}

.social-row a:hover {
  background: var(--gradient);
  color: #06070a;
  border-color: transparent;
  transform: translateY(-2px);
}

.social-row-dark a {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

body.nav-open {
  overflow: hidden;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: clamp(120px, 20vh, 180px);
  padding-bottom: clamp(70px, 10vh, 110px);
  overflow: hidden;
}

.hero-aurora {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 130%;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite;
}

.blob-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.55), transparent 70%);
  top: -120px;
  left: -80px;
}

.blob-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(var(--accent-2-rgb), 0.45), transparent 70%);
  top: 60px;
  right: -100px;
  animation-delay: -7s;
}

.blob-3 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.35), transparent 70%);
  bottom: -140px;
  left: 30%;
  animation-delay: -14s;
}

.blob-4 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 154, 158, 0.3), transparent 70%);
  top: 30%;
  left: 55%;
  mix-blend-mode: screen;
  animation-delay: -10s;
  animation-duration: 26s;
}

@keyframes drift {

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

  33% {
    transform: translate(30px, -20px) scale(1.08);
  }

  66% {
    transform: translate(-20px, 25px) scale(0.95);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blob {
    animation: none;
  }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, transparent 40%, var(--bg) 95%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 40%, transparent 90%);
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  background: radial-gradient(560px circle at var(--sx, 50%) var(--sy, 30%), rgba(var(--accent-rgb), 0.16), transparent 70%);
}

.hero:hover .hero-spotlight {
  opacity: 1;
}

@media (hover: none) {
  .hero-spotlight {
    display: none;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 16px 7px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
}

.dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(var(--accent-2-rgb), 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--accent-2-rgb), 0.6);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(var(--accent-2-rgb), 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-2-rgb), 0);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 1.7rem + 3.6vw, 4.6rem);
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 15ch;
}

.hero-title-reveal {
  clip-path: inset(0 100% 0 0);
  animation: title-reveal 1s var(--ease) 0.15s forwards;
}

@keyframes title-reveal {
  to {
    clip-path: inset(0 0 0 0);
  }
}

.hero-enter {
  opacity: 0;
  transform: translateY(22px);
  animation: hero-fade-up 0.8s var(--ease) forwards;
}

.hero-enter-1 {
  animation-delay: 0.05s;
}

.hero-enter-2 {
  animation-delay: 0.35s;
}

.hero-enter-3 {
  animation-delay: 0.55s;
}

.hero-enter-4 {
  animation-delay: 0.7s;
}

.hero-enter-5 {
  animation-delay: 0.85s;
}

@keyframes hero-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-reveal {
    clip-path: none;
    animation: none;
  }

  .hero-enter {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.hero-lead {
  margin-top: 22px;
  font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.15rem);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-badges .icon {
  color: var(--accent-2);
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 380px;
}

.portrait-ring {
  position: relative;
}

.portrait-ring::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent));
  opacity: 0.55;
  filter: blur(2px);
  z-index: -1;
  animation: morph 12s ease-in-out infinite, spin 10s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .portrait-ring::before {
    animation: none;
  }
}

.hero-portrait {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  overflow: hidden;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  animation: morph 12s ease-in-out infinite;
}

@keyframes morph {

  0%,
  100% {
    border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  }

  50% {
    border-radius: 60% 40% 40% 60% / 55% 60% 40% 45%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-portrait {
    animation: none;
  }
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-brandmark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--accent), var(--accent-2));
}

.hero-brandmark::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  mix-blend-mode: overlay;
}

.brandmark-img {
  position: relative;
  z-index: 1;
  width: 42%;
  height: 42%;
  object-fit: contain;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.4));
}

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(18, 20, 26, 0.85);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}

.hero-card strong {
  display: block;
  font-size: 0.82rem;
  font-family: var(--font-head);
}

.hero-card span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.hero-card-1 {
  bottom: -6px;
  left: -30px;
}

.hero-card-1 .icon {
  color: var(--accent-2);
  background: rgba(var(--accent-2-rgb), 0.14);
  padding: 6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.hero-card-2 {
  top: 10%;
  right: -18px;
  animation-delay: -3s;
}

.hero-card-2 .icon {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.14);
  padding: 6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.hero-card-code {
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  top: -34px;
  left: -54px;
  width: 210px;
  animation-delay: -1.5s;
}

.code-card-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
}

.code-card-bar .browser-dot {
  width: 7px;
  height: 7px;
}

.code-card-filename {
  margin-left: 6px;
  font-family: var(--font-body);
  font-size: 0.66rem;
  color: var(--text-faint);
}

.code-card-body {
  flex-shrink: 0;
  min-width: max-content;
  margin: 0;
  padding: 11px 13px 13px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.7rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  white-space: pre;
}

.code-tag {
  color: #ff6f9c;
}

.code-attr {
  color: #ffb648;
}

.code-string {
  color: var(--accent-2);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card {
    animation: none;
  }
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  animation: bob 2.2s ease-in-out infinite;
  z-index: 1;
}

.scroll-cue .icon {
  transform: rotate(90deg);
}

@keyframes bob {

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

  50% {
    transform: translate(-50%, 8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue {
    animation: none;
  }
}

/* ==========================================================================
   Tech marquee
   ========================================================================== */
.marquee-sec {
  position: relative;
  border-block: 1px solid var(--border);
  background: var(--bg-soft);
  padding-block: 26px;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-x 60s linear infinite;
}

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

.marquee-group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-item img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s var(--ease);
}

.marquee-item:hover img {
  transform: translateY(-2px) scale(1.08);
}

.marquee-item:hover {
  color: var(--text);
}

@keyframes scroll-x {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    overflow-x: auto;
  }
}

.marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg-soft), transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg-soft), transparent);
}

/* ==========================================================================
   Statement marquee
   ========================================================================== */
.statement-sec {
  overflow: hidden;
  padding-block: clamp(20px, 4vw, 40px);
}

.statement-track {
  display: flex;
  width: max-content;
  animation: scroll-x 40s linear infinite;
}

.statement-group {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}

.statement-item {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 1.8rem + 3vw, 5rem);
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}

.statement-item::after {
  content: "•";
  margin-left: 48px;
  color: var(--border-strong);
}

.statement-item-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .statement-track {
    animation: none;
    overflow-x: auto;
  }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-sec {
  padding-block: clamp(80px, 12vh, 140px);
}

.about-bento,
.services-bento {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.bento-tile {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease), box-shadow .35s var(--ease);
}

.bento-tile:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-hover);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--gradient-soft);
  color: var(--accent-2);
  margin-bottom: 16px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}

.bento-tile:hover .feature-icon {
  transform: scale(1.1) rotate(-6deg);
  background: var(--gradient);
  color: #06070a;
}

.bento-feature h3,
.service-tile h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.bento-feature p,
.service-tile p {
  font-size: 0.9rem;
}

.bento-f2 .feature-icon,
.bento-s3 .feature-icon {
  filter: hue-rotate(-30deg);
}

.bento-f3 .feature-icon,
.bento-s4 .feature-icon {
  filter: hue-rotate(30deg);
}

.bento-f4 .feature-icon {
  filter: hue-rotate(60deg);
}

.bento-bio {
  background-color: var(--surface);
  background-image: linear-gradient(160deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-2-rgb), 0.06));
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.founder-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
}

.founder-name {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--text);
}

.founder-role {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.bento-bio .lead-text {
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 16px;
}

.reveal-word {
  opacity: 0.25;
  transition: opacity 0.25s linear;
}

.reveal-word.is-lit {
  opacity: 1;
}

.bento-bio p {
  margin-bottom: 16px;
}

.bento-bio .btn {
  margin-top: 10px;
  align-self: flex-start;
}

.bento-quote {
  text-align: center;
  padding: 42px 30px;
}

.bento-quote .quote-icon {
  display: block;
  margin: 0 auto 18px;
  width: 30px;
  height: 30px;
  color: var(--accent);
  opacity: 0.75;
}

.bento-quote-text {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.85rem);
  font-weight: 600;
  color: var(--text);
  max-width: 46ch;
  margin-inline: auto;
  line-height: 1.4;
}

/* ==========================================================================
   Services / Skills
   ========================================================================== */
.services-sec {
  padding-block: clamp(80px, 12vh, 140px);
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.service-tile h3 {
  margin-bottom: 6px;
}

.service-wide {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.service-wide .feature-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.bento-standards {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.standards-title {
  font-size: 1rem;
  margin-bottom: 18px;
}

.standards-list {
  display: grid;
  gap: 14px;
}

.standards-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

[data-reveal].in-view .standards-list li {
  opacity: 1;
  transform: translateX(0);
}

.standards-list li:nth-child(1) {
  transition-delay: 0.05s;
}

.standards-list li:nth-child(2) {
  transition-delay: 0.15s;
}

.standards-list li:nth-child(3) {
  transition-delay: 0.25s;
}

.standards-list li:nth-child(4) {
  transition-delay: 0.35s;
}

.standards-list li:nth-child(5) {
  transition-delay: 0.45s;
}

.standards-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(var(--accent-2-rgb), 0.14);
  color: var(--accent-2);
}

@media (prefers-reduced-motion: reduce) {
  .standards-list li {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Process ("Kako radim")
   ========================================================================== */
.process-sec {
  padding-block: clamp(80px, 12vh, 140px);
}

.process-grid {
  display: grid;
  gap: 20px;
  position: relative;
}

.process-step {
  position: relative;
  padding: 30px 26px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.process-step:hover::before {
  transform: scaleX(1);
}

.process-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
  margin-bottom: 14px;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-sec {
  padding-block: clamp(80px, 12vh, 140px);
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.faq-item.is-open,
.faq-item:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
  transition: transform 0.35s var(--ease);
  color: var(--accent-2);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(-90deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.faq-answer p {
  overflow: hidden;
  min-height: 0;
  padding: 0 24px;
  font-size: 0.92rem;
}

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

.faq-item.is-open .faq-answer p {
  padding-bottom: 22px;
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 10vh, 110px);
  background: linear-gradient(160deg, #14111f, #0c1613);
  border-block: 1px solid var(--border);
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, black 30%, transparent 90%);
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.cta-title {
  font-size: clamp(2rem, 1.6rem + 1.8vw, 2.8rem);
}

.cta-lead {
  margin-top: 18px;
  font-size: 1.05rem;
  max-width: 48ch;
  margin-inline: auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

/* ==========================================================================
   Projects
   ========================================================================== */
.projects-sec {
  padding-block: clamp(80px, 12vh, 140px);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.project-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: skewX(-20deg);
  transition: left 0.9s var(--ease);
  z-index: 2;
  pointer-events: none;
}

.project-card:hover::before {
  left: 130%;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow:
    var(--shadow-md),
    -14px 16px 60px -26px rgba(var(--accent-rgb), 0.4),
    14px -12px 60px -26px rgba(var(--accent-2-rgb), 0.32);
}

.project-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--surface-solid);
}

.project-media-static {
  cursor: default;
}

.browser-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 14px;
  background: #14161c;
  border-bottom: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.browser-dot-red {
  background: #ff5f57;
}

.browser-dot-yellow {
  background: #febc2e;
}

.browser-dot-green {
  background: #28c840;
}

.browser-url {
  margin-left: 10px;
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  font-size: 0.72rem;
  font-family: var(--font-body);
  color: var(--text-faint);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.media-frame {
  position: relative;
  display: block;
  aspect-ratio: 16/9.4;
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(1.08) contrast(1.03);
  transition: transform 0.7s var(--ease);
}

.project-card:hover .media-frame img {
  transform: scale(1.06);
}

.featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 12px;
  border-radius: var(--radius-full);
  background: var(--gradient);
  color: #06070a;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.featured-badge .icon {
  width: 14px;
  height: 14px;
}

.project-media-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(8, 9, 12, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  color: var(--text);
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.35s var(--ease);
}

.project-card:hover .project-media-overlay {
  opacity: 1;
  transform: translateY(0);
}

.project-body {
  padding: 26px 26px 24px;
}

.project-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.project-body p {
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 12px;
  border-radius: var(--radius-full);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-2);
  transition: gap 0.25s var(--ease);
}

.project-link:hover {
  gap: 10px;
}

.project-link-disabled {
  color: var(--text-faint);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-sec {
  padding-block: clamp(80px, 12vh, 140px);
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.testimonial-spotlight {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 780px;
  margin-inline: auto;
}

.spotlight-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: all 0.3s var(--ease);
}

.spotlight-arrow:hover {
  background: var(--gradient);
  color: #06070a;
  border-color: transparent;
}

.spotlight-prev .icon {
  transform: rotate(180deg);
}

.spotlight-stage {
  position: relative;
  flex: 1;
  min-width: 0;
  text-align: center;
}

.spotlight-item {
  display: none;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  transform: translateY(10px);
}

.spotlight-item.is-active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.quote-icon-big {
  color: var(--accent);
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  opacity: 0.8;
}

.stars {
  display: flex;
  gap: 3px;
  color: #ffb648;
  margin-bottom: 18px;
}

.spotlight-item blockquote {
  color: var(--text);
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 1rem + 0.9vw, 1.6rem);
  font-weight: 500;
  line-height: 1.5;
  max-width: 46ch;
}

.spotlight-item figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.figcaption-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.figcaption-text strong {
  font-family: var(--font-head);
  font-size: 0.95rem;
}

.figcaption-text em {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.avatar-bubble {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #06070a;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}

.spotlight-item[data-index="1"] .avatar-bubble {
  filter: hue-rotate(-35deg);
}

.spotlight-item[data-index="2"] .avatar-bubble {
  filter: hue-rotate(35deg);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 36px;
}

.testimonial-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: all 0.3s var(--ease);
}

.testimonial-dots span.is-active {
  width: 24px;
  background: var(--gradient);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-sec {
  padding-block: clamp(80px, 12vh, 140px);
}

.contact-panel {
  display: grid;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-info {
  background: linear-gradient(160deg, #14111f, #0c1613);
  position: relative;
  padding: clamp(34px, 5vw, 56px);
}

.contact-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(var(--accent-rgb), 0.25), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(var(--accent-2-rgb), 0.18), transparent 55%);
  pointer-events: none;
}

.contact-info>* {
  position: relative;
}

.contact-info .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-list li a {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  transition: padding-left .3s var(--ease), gap .3s var(--ease);
}

.contact-list li a:hover {
  padding-left: 8px;
  gap: 20px;
}

.contact-list li a:hover .contact-icon {
  background: #fff;
  color: #06070a;
}

.contact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  transition: background .3s var(--ease), color .3s var(--ease);
}

.contact-list strong {
  display: block;
  font-size: 0.94rem;
}

.contact-list em {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.contact-form {
  background: var(--surface-solid);
  padding: clamp(34px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  resize: vertical;
  transition: border-color 0.25s var(--ease), background .25s var(--ease);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-faint);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent-2);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.form-field input:invalid:not(:placeholder-shown) {
  border-color: #ff6b6b;
}

.form-submit {
  margin-top: 4px;
  width: 100%;
}

.form-note {
  font-size: 0.88rem;
  min-height: 1.2em;
}

.form-note.is-success {
  color: var(--accent-2);
}

.form-note.is-error {
  color: #ff6b6b;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.footer-wordmark {
  position: absolute;
  left: 50%;
  bottom: -0.14em;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(4rem, 14vw, 11rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  padding-block: 56px;
}

.footer-brand p {
  margin-top: 12px;
  max-width: 34ch;
  font-size: 0.9rem;
}

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

.footer-links a {
  position: relative;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.25s var(--ease);
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

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

.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-block: 22px;
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 400;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient);
  color: #06070a;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: all 0.35s var(--ease);
}

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

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-bento,
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-bio,
  .bento-quote {
    grid-column: 1 / -1;
  }

  .service-wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 860px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
      "bio bio f1 f2"
      "bio bio f3 f4"
      "quote quote quote quote";
  }

  .bento-bio {
    grid-area: bio;
  }

  .bento-f1 {
    grid-area: f1;
  }

  .bento-f2 {
    grid-area: f2;
  }

  .bento-f3 {
    grid-area: f3;
  }

  .bento-f4 {
    grid-area: f4;
  }

  .bento-quote {
    grid-area: quote;
  }

  .services-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
      "s1 s1 s2 s2"
      "s3 s4 sk sk";
  }

  .bento-s1 {
    grid-area: s1;
  }

  .bento-s2 {
    grid-area: s2;
  }

  .bento-s3 {
    grid-area: s3;
  }

  .bento-s4 {
    grid-area: s4;
  }

  .bento-standards {
    grid-area: sk;
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-card-featured {
    grid-column: 1 / -1;
  }

  .project-card-featured .media-frame {
    aspect-ratio: 21/8;
  }

  .project-card-featured .project-body {
    padding: 32px 34px 30px;
  }

  .project-card-featured h3 {
    font-size: 1.5rem;
  }

  .project-card-featured p {
    font-size: 1rem;
    max-width: 60ch;
  }

  .spotlight-arrow {
    display: flex;
  }

  .contact-panel {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .scroll-cue {
    display: flex;
  }
}

@media (min-width: 1000px) {
  .nav-desktop {
    display: block;
  }

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

  .menu-btn {
    display: none;
  }
}

@media (min-width: 1180px) {
  .hero-title {
    max-width: 17ch;
  }
}