/* ═══════════════════════════════════════════════════════════════
   FIRE YOUR TEMPLATE — Production Stylesheet
   Branden Gums | fireyourtemplate.com
   Responsive: mobile-first, 640 / 768 / 1000 / 1400 / 1920 / 2560
   ═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --c-base: #0c0c0f;
  --c-text: #eaeaea;
  --c-border: #222226;
  --c-accent: #2563ff;
  --c-accent-glow: rgba(37,99,255,0.15);
  --c-accent-deep: #1d4ed8;
  --c-dark: #f0f0f0;
  --c-muted: #9a9a9e;
  --c-light: #6a6a6e;
  --c-surface: #151518;
  --c-white: #1a1a1e;

  --ff-body: 'DM Sans', system-ui, sans-serif;
  --ff-display: 'Urbanist', sans-serif;
  --ff-hand: 'Gloria Hallelujah', cursive;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);

  --gutter: 5vw;
  --section-gap: 80px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 18px;
}
@media (min-width: 1000px) {
  html { font-size: 16px; }
}
body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: var(--c-muted);
  background: var(--c-base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { color: var(--c-text); font-weight: 700; }
input, textarea, select { font: inherit; }

/* ── ACCESSIBILITY ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

/* ── CUSTOM CURSOR ── */
.has-custom-cursor, .has-custom-cursor a, .has-custom-cursor button,
.has-custom-cursor input, .has-custom-cursor textarea,
.has-custom-cursor select, .has-custom-cursor .faq-q { cursor: none; }

.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 100001;
  width: 8px; height: 8px;
  background: var(--c-accent);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s, width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: normal;
}
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 100000;
  width: 40px; height: 40px;
  border: 1.5px solid var(--c-text);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s, border-color 0.2s;
}
.cursor-ring--cta {
  background: rgba(37, 99, 255, 0.08);
  border-color: var(--c-accent);
}
.cursor-label {
  position: fixed; top: 0; left: 0; z-index: 100001;
  pointer-events: none;
  font-family: var(--ff-hand);
  font-size: 18px;
  color: var(--c-muted);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}

@media (pointer: coarse) {
  body, a, button, input, textarea, select, .faq-q { cursor: auto; }
  .cursor-dot, .cursor-ring, .cursor-label { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════════════════════════ */
#preloader {
  position: fixed; inset: 0; z-index: 100000;
  background: #000; color: #eaeaea;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease);
}
#preloader.hidden { opacity: 0; pointer-events: none; }
#preloader-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 28px;
}
#preloader-text {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -2px;
}
#preloader-text span {
  display: inline-block;
  opacity: 0; transform: translateY(20px);
  animation: preChar 0.5s var(--ease) forwards;
}
#preloader-bar {
  width: clamp(180px, 30vw, 280px);
  height: 3px;
  background: var(--c-border);
  border-radius: 3px;
  overflow: hidden;
}
#preloader-fill {
  width: 0%;
  height: 100%;
  background: var(--c-accent);
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(37, 99, 255, 0.5), 0 0 4px rgba(37, 99, 255, 0.8);
  transition: width 0.15s linear;
}
#preloader-text span {
  display: inline-block;
  opacity: 0; transform: translateY(20px);
  animation: preChar 0.5s var(--ease) forwards;
}
@keyframes preChar { to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════════════════════
   MOBILE NAV (default, visible < 1000px)
   ═══════════════════════════════════════════════════════════════ */
.mobile-nav-toggle {
  position: fixed; top: 20px; right: var(--gutter);
  z-index: 10001;
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  background: var(--c-dark);
  border-radius: 12px;
  transition: background 0.3s;
}
.mobile-nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--c-base);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.mobile-nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-nav-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav__link {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 700;
  color: rgba(234,234,234,0.5);
  padding: 12px 0;
  letter-spacing: -1px;
  transition: color 0.3s, transform 0.3s;
  transform: translateY(20px);
  opacity: 0;
}
.mobile-nav.open .mobile-nav__link {
  transform: translateY(0); opacity: 1;
  transition: color 0.3s, transform 0.5s var(--ease), opacity 0.5s;
}
.mobile-nav__link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav__link:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav__link:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav__link:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav__link:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav__link:nth-child(6) { transition-delay: 0.3s; }
.mobile-nav__link:hover, .mobile-nav__link.active { color: var(--c-base); }

/* ═══════════════════════════════════════════════════════════════
   DESKTOP BOTTOM PILL NAV (hidden < 1000px)
   ═══════════════════════════════════════════════════════════════ */
.bottom-nav {
  position: fixed; left: 50%; bottom: 24px;
  transform: translateX(-50%);
  z-index: 9999; display: none;
  background: linear-gradient(180deg, #0a0a0a 0%, #232323 100%);
  border-radius: 100px;
  padding: 5px 5px 5px 8px;
  align-items: center; gap: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  backdrop-filter: blur(12px);
}
.bottom-nav__home {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--c-base); font-size: 16px;
  margin-right: 4px; transition: background 0.3s;
}
.bottom-nav__home:hover { background: rgba(255,255,255,0.15); }
.bottom-nav__home.active {
  background: var(--c-accent);
  color: #fff;
}
.bottom-nav__link {
  font-family: var(--ff-body);
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.5px;
  color: rgba(234,234,234,0.55);
  padding: 10px 18px;
  border-radius: 50px;
  transition: color 0.3s;
  white-space: nowrap; position: relative;
}
.bottom-nav__link:hover { color: var(--c-base); }
.bottom-nav__link:not(.active):hover::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 3px;
  background: var(--c-accent);
  border-radius: 2px;
}
.bottom-nav__link.active {
  color: #fff;
  background: var(--c-accent);
  border-radius: 50px;
}
/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 80px var(--gutter) 40px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero::after {
  display: none;
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to bottom,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 8%,
      rgba(0,0,0,0.98) 12%,
      rgba(0,0,0,0.95) 16%,
      rgba(0,0,0,0.91) 20%,
      rgba(0,0,0,0.86) 24%,
      rgba(0,0,0,0.80) 28%,
      rgba(0,0,0,0.73) 32%,
      rgba(0,0,0,0.65) 36%,
      rgba(0,0,0,0.57) 40%,
      rgba(0,0,0,0.48) 44%,
      rgba(0,0,0,0.40) 48%,
      rgba(0,0,0,0.32) 52%,
      rgba(0,0,0,0.24) 56%,
      rgba(0,0,0,0.17) 60%,
      rgba(0,0,0,0.11) 65%,
      rgba(0,0,0,0.06) 70%,
      rgba(0,0,0,0.03) 76%,
      rgba(0,0,0,0.01) 82%,
      transparent 90%
    );
  mask-image:
    linear-gradient(to bottom,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 8%,
      rgba(0,0,0,0.98) 12%,
      rgba(0,0,0,0.95) 16%,
      rgba(0,0,0,0.91) 20%,
      rgba(0,0,0,0.86) 24%,
      rgba(0,0,0,0.80) 28%,
      rgba(0,0,0,0.73) 32%,
      rgba(0,0,0,0.65) 36%,
      rgba(0,0,0,0.57) 40%,
      rgba(0,0,0,0.48) 44%,
      rgba(0,0,0,0.40) 48%,
      rgba(0,0,0,0.32) 52%,
      rgba(0,0,0,0.24) 56%,
      rgba(0,0,0,0.17) 60%,
      rgba(0,0,0,0.11) 65%,
      rgba(0,0,0,0.06) 70%,
      rgba(0,0,0,0.03) 76%,
      rgba(0,0,0,0.01) 82%,
      transparent 90%
    );
}
#hero-pulse-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 3;
  display: flex; flex-direction: column;
  align-items: center; gap: 32px;
  width: 100%;
}
.hero__combined-label {
  display: none;
  font-family: var(--ff-hand);
  font-size: 14px; color: var(--c-muted);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  text-align: center;
}

/* ── Mobile hero reflow (< 1000px) ── */
@media (max-width: 999px) {
  .hero__grid {
    gap: 0;
    text-align: center;
  }
  .hero__combined-label {
    display: block;
    order: 2;
    margin-bottom: 12px;
  }
  .hero__left,
  .hero__right {
    display: contents;
  }
  .hero__left-label,
  .hero__right-label {
    display: none;
  }
  .card-wrap {
    order: 1;
    margin-bottom: 28px;
  }
  .hero__left-title {
    order: 3;
    margin-bottom: -4px;
  }
  .hero__right-title {
    order: 4;
    margin-bottom: 20px;
  }
  .hero__left-sub {
    order: 5;
    text-align: center;
    max-width: 340px;
    margin: 0 auto 16px;
  }
  .hero__right-detail {
    order: 6;
    text-align: center;
  }
}

.hero__left, .hero__right { width: 100%; }
.hero__left-label, .hero__right-label {
  font-family: var(--ff-hand);
  font-size: 13px; color: var(--c-muted);
  margin-bottom: 12px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.hero__left-title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5.5vw, 7.5rem);
  font-weight: 800; line-height: 1;
  letter-spacing: -2px;
  color: var(--c-text);
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 40px rgba(37, 99, 255, 0.15), 0 0 80px rgba(37, 99, 255, 0.08), 0 2px 4px rgba(0,0,0,0.5);
}
.hero__left-title .accent { color: var(--c-accent); }
.hero__left-sub {
  font-size: 14px; line-height: 1.55;
  color: var(--c-muted);
  max-width: 340px; margin-top: 20px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.hero__left-detail {
  font-size: 13px; color: var(--c-light);
  margin-top: 12px; letter-spacing: -0.3px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.hero__left-detail .clock { font-variant-numeric: tabular-nums; }
.hero__right-label {
  font-family: var(--ff-hand);
  font-size: 13px; color: var(--c-muted);
  margin-bottom: 12px;
}
.hero__right-title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5.5vw, 7.5rem);
  font-weight: 800; line-height: 1;
  letter-spacing: -2px;
  color: var(--c-text);
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 40px rgba(37, 99, 255, 0.15), 0 0 80px rgba(37, 99, 255, 0.08), 0 2px 4px rgba(0,0,0,0.5);
}
.hero__right-detail {
  font-size: 13px; color: var(--c-light);
  margin-top: 14px; letter-spacing: -0.3px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.hero__right-detail .clock { font-variant-numeric: tabular-nums; }

#ball-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 4;
  pointer-events: none;
}

/* Card */
.card-wrap {
  position: relative;
  width: 200px; height: 280px;
  z-index: 10;
  order: -1;
}
.scroll-card {
  width: 100%; height: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.14);
  background: var(--c-white);
  overflow: hidden;
}
.scroll-card__face {
  width: 100%; height: 100%;
  border-radius: 20px; overflow: hidden;
  background: var(--c-surface);
}
.scroll-card__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   SHARED SECTION PATTERNS
   ═══════════════════════════════════════════════════════════════ */
.section {
  padding: 0 var(--gutter);
  margin-bottom: var(--section-gap);
  position: relative;
}
.section__hand-label {
  font-family: var(--ff-hand);
  font-size: 1em; color: var(--c-muted);
  margin-bottom: 16px;
}
.section__heading {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600; line-height: 1;
  letter-spacing: -2px; color: var(--c-text);
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════════════════
   TEXT FILL ON SCROLL
   ═══════════════════════════════════════════════════════════════ */
.text-fill-section {
  padding: var(--section-gap) var(--gutter);
  display: flex; align-items: center; justify-content: center;
}
.text-fill {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 2.5vw, 2.2rem);
  font-weight: 500; line-height: 1.5;
  letter-spacing: -1px;
  max-width: 800px; text-align: center;
}
.text-fill .word {
  display: inline-block;
  color: var(--c-border);
  transition: color 0.35s var(--ease);
}
.text-fill .word.filled { color: var(--c-text); }

/* ═══════════════════════════════════════════════════════════════
   SKILLS / SERVICES
   ═══════════════════════════════════════════════════════════════ */
.skills-grid {
  display: grid; grid-template-columns: 1fr; gap: 0;
}
.skill-block {
  padding: 32px 0;
  border-bottom: 1px solid var(--c-border);
  position: relative; cursor: default;
}
.skill-block__num {
  font-family: var(--ff-display);
  font-size: 13px; font-weight: 600;
  color: var(--c-light); margin-bottom: 12px;
  transition: color 0.3s;
}
.skill-block:hover .skill-block__num { color: var(--c-accent); }
.skill-block__title {
  font-family: var(--ff-display);
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.7px; color: var(--c-text);
  margin-bottom: 10px; transition: color 0.3s;
}
.skill-block:hover .skill-block__title { color: var(--c-accent); }
.skill-block__desc {
  font-size: 14px; line-height: 1.6;
  color: var(--c-muted); max-width: 480px;
}
.skill-block__note {
  font-size: 12px; line-height: 1.5;
  color: var(--c-light); margin-top: 8px;
}
.skill-block__price {
  font-family: var(--ff-display);
  font-size: 14px; font-weight: 600;
  color: var(--c-accent); margin-top: 14px;
}
.skill-block__line {
  position: absolute; bottom: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--c-accent);
  transition: width 0.5s var(--ease);
}
.skill-block:hover .skill-block__line { width: 100%; }

.tags-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 24px 0 0;
}
.tag-pill {
  font-size: 12px; font-weight: 500;
  padding: 5px 14px; border-radius: 100px;
  border: 1px solid var(--c-border); color: var(--c-light);
  transition: all 0.3s;
}
.tag-pill:hover {
  border-color: var(--c-accent); color: var(--c-accent);
  background: var(--c-accent-glow);
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════ */
.marquee {
  overflow: hidden; padding: 16px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 40px;
}
.marquee__track {
  display: inline-flex; white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
}
.marquee__item {
  font-family: var(--ff-display);
  font-size: 13px; font-weight: 600;
  letter-spacing: -0.3px; color: var(--c-muted);
  padding: 0 24px;
}
.marquee__item .sep { color: var(--c-accent); margin: 0 6px; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.about-layout {
  display: grid; grid-template-columns: 1fr;
  gap: 40px; align-items: start;
}
.about-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
  display: flex; justify-content: space-between;
  align-items: baseline; gap: 16px;
}
.about-row__label {
  font-family: var(--ff-display);
  font-size: 15px; font-weight: 600;
  color: var(--c-text); letter-spacing: -0.5px;
  flex-shrink: 0;
}
.about-row__val {
  font-size: 14px; color: var(--c-muted);
  text-align: right;
}
.about-text p {
  font-size: 15px; line-height: 1.65;
  color: var(--c-muted); margin-bottom: 18px;
}

/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════════════════════════ */
.portfolio-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 20px; padding: 0 var(--gutter);
}
.portfolio-card {
  background: var(--c-white);
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--c-border);
  transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.4s;
  position: relative;
  cursor: pointer;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15), 0 0 0 1px rgba(37,99,255,0.15);
  border-color: rgba(37,99,255,0.3);
}
.portfolio-card__img {
  aspect-ratio: 16/10;
  background: var(--c-surface);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-hand); font-size: 12px; color: var(--c-light);
  overflow: hidden;
}
.portfolio-card__thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease), filter 0.6s;
}
.portfolio-card:hover .portfolio-card__thumb {
  transform: scale(1.04);
}
.portfolio-card__body { padding: 20px; }
.portfolio-card__year {
  font-size: 11px; font-weight: 500;
  color: var(--c-light); margin-bottom: 4px;
}
.portfolio-card__name {
  font-family: var(--ff-display);
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.5px; color: var(--c-text);
  margin-bottom: 3px;
  transition: color 0.3s;
}
.portfolio-card:hover .portfolio-card__name { color: var(--c-accent); }
.portfolio-card__type { font-size: 13px; color: var(--c-light); margin-bottom: 10px; }
.portfolio-card__link {
  font-size: 13px; font-weight: 600; color: var(--c-accent);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap 0.3s var(--ease), letter-spacing 0.3s;
  position: relative;
}
.portfolio-card__link::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--c-accent);
  transition: width 0.4s var(--ease);
}
.portfolio-card:hover .portfolio-card__link { gap: 8px; }
.portfolio-card__link:hover::after { width: 100%; }

.portfolio-frozen {
  position: sticky; bottom: 0; left: 0; right: 0;
  background: var(--c-white);
  border-top: 1px solid var(--c-border);
  padding: 12px var(--gutter);
  display: flex; justify-content: space-between;
  font-size: 12px; font-weight: 500; color: var(--c-light);
  z-index: 5;
}
.portfolio-frozen span:last-child { color: var(--c-accent); }

/* ═══════════════════════════════════════════════════════════════
   PROCESS
   ═══════════════════════════════════════════════════════════════ */
.process-step {
  display: grid; grid-template-columns: 48px 1fr;
  gap: 20px; padding: 32px 0;
  border-bottom: 1px solid var(--c-border);
}
.process-step__num {
  font-family: var(--ff-display);
  font-size: 40px; font-weight: 800;
  color: var(--c-border); line-height: 1;
  transition: color 0.4s;
}
.process-step:hover .process-step__num { color: var(--c-accent); }
.process-step__title {
  font-family: var(--ff-display);
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.5px; color: var(--c-text);
  margin-bottom: 10px;
}
.process-step__desc {
  font-size: 14px; line-height: 1.65;
  color: var(--c-muted);
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */
.testi-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
.testi-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 14px; padding: 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.testi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.05);
}
.testi-card__stars {
  color: var(--c-accent);
  font-size: 13px; letter-spacing: 3px; margin-bottom: 14px;
}
.testi-card__text {
  font-size: 14px; line-height: 1.65;
  color: var(--c-muted); font-style: italic;
  margin-bottom: 18px;
}
.testi-card__author { font-weight: 600; font-size: 13px; color: var(--c-text); }
.testi-card__role { font-size: 11px; color: var(--c-light); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════ */
.faq-list { max-width: 700px; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-q {
  width: 100%; text-align: left;
  padding: 20px 0;
  font-family: var(--ff-display);
  font-size: 16px; font-weight: 600;
  letter-spacing: -0.5px; color: var(--c-text);
  display: flex; justify-content: space-between;
  align-items: center; transition: color 0.3s;
}
.faq-q:hover { color: var(--c-accent); }
.faq-ico {
  font-size: 20px; font-weight: 300; color: var(--c-light);
  transition: transform 0.3s var(--ease), color 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-ico { transform: rotate(45deg); color: var(--c-accent); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-item.open .faq-a { max-height: 250px; }
.faq-a p {
  font-size: 14px; line-height: 1.7;
  color: var(--c-muted); padding-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
.contact__headline {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -2px; color: var(--c-text);
}
.contact__headline em { font-style: italic; color: var(--c-accent); }
.contact__note {
  font-size: 14px; line-height: 1.6;
  color: var(--c-muted); margin-top: 20px; max-width: 380px;
}
.contact__channels { margin-top: 28px; }
.contact__ch {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
}
.contact__ch-label {
  font-size: 11px; font-weight: 600; color: var(--c-light);
  letter-spacing: 0.5px; text-transform: uppercase; min-width: 50px;
}
.contact__ch-val {
  font-size: 14px; color: var(--c-muted);
  transition: color 0.3s;
}
.contact__ch-val:hover { color: var(--c-accent); }

.cform { display: flex; flex-direction: column; gap: 16px; }
.cform__group { display: flex; flex-direction: column; }
.cform__label {
  font-size: 11px; font-weight: 600; color: var(--c-light);
  letter-spacing: 0.3px; text-transform: uppercase;
  margin-bottom: 6px;
}
.cform__input, .cform__textarea {
  width: 100%;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 15px; color: var(--c-text);
  letter-spacing: -0.3px; outline: none;
  transition: border-color 0.3s;
}
.cform__input:focus, .cform__textarea:focus { border-color: var(--c-accent); }
.cform__textarea { resize: vertical; min-height: 110px; }
.cform__hp { position: absolute; left: -9999px; }
.cform__submit {
  align-self: flex-start;
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.3px;
  padding: 12px 26px;
  background: var(--c-accent); color: #fff;
  border: none; border-radius: 50px;
  transition: all 0.3s var(--ease);
}
.cform__submit:hover {
  background: var(--c-accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--c-accent-glow);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER TICKER & FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer-ticker {
  overflow: hidden; padding: 24px 0;
  border-top: 1px solid var(--c-border);
}
.footer-ticker__track {
  display: inline-flex; gap: 32px;
  animation: footerTick 18s linear infinite;
  white-space: nowrap;
}
.footer-ticker__item {
  font-family: var(--ff-display);
  font-size: clamp(0.9rem, 2vw, 2.25rem);
  font-weight: 600; letter-spacing: -0.3px;
  color: var(--c-muted);
  display: inline-flex; align-items: center; gap: 24px;
}
.footer-ticker__item .dot {
  width: 8px; height: 8px;
  background: var(--c-accent);
  border-radius: 50%; flex-shrink: 0;
}
@keyframes footerTick { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.site-footer {
  padding: 24px var(--gutter);
  display: flex; flex-direction: column;
  gap: 8px; align-items: center;
  border-top: 1px solid var(--c-border);
  font-size: 11px; color: var(--c-light);
  text-align: center;
}
.site-footer a { transition: color 0.3s; }
.site-footer a:hover { color: var(--c-accent); }
.site-footer__links { display: flex; gap: 16px; }

/* ═══════════════════════════════════════════════════════════════
   SCROLL TO TOP (mobile only)
   ═══════════════════════════════════════════════════════════════ */
.scroll-top {
  display: none;
  position: fixed; bottom: 20px; left: 50%;
  transform: translateX(-50%) translateY(10px);
  z-index: 100002;
  padding: 10px 28px;
  border-radius: 100px;
  background: var(--c-accent);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.3px;
  align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 6px 24px rgba(37,99,255,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.scroll-top.visible {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 999px) {
  .scroll-top { display: flex; }
}

/* ═══════════════════════════════════════════════════════════════
   BOTTOM BLUR
   ═══════════════════════════════════════════════════════════════ */
.bottom-blur {
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 160px; pointer-events: none; z-index: 9998;
  display: none;
}
.bottom-blur__layer {
  position: absolute; inset: 0;
  backdrop-filter: blur(40px) saturate(1.05);
  background: rgba(12,12,15,0);
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 60%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 60%);
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════════════ */
.rv {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.rv.on { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — sm (640px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .site-footer { flex-direction: row; justify-content: space-between; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — md (768px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .skill-block:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--c-border); }
  .skill-block:nth-child(even) { padding-left: 32px; }
  .about-layout { grid-template-columns: 1fr 1fr; gap: 60px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  .process-step { grid-template-columns: 64px 1fr; gap: 32px; }
  .process-step__num { font-size: 48px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — lg / Desktop (1000px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1000px) {
  body { padding-bottom: 88px; }
  .mobile-nav-toggle { display: none; }
  .mobile-nav { display: none; }
  .bottom-nav { display: flex; }
  .bottom-blur { display: block; }

  .hero { padding: 0 var(--gutter); }
  .hero__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    flex-direction: row; gap: 0;
    align-items: center;
  }
  .hero__left {
    padding-right: 5%;
    align-self: start;
    justify-self: end;
  }
  .hero__right {
    display: flex; flex-direction: column;
    align-items: flex-end;
    align-self: start;
    padding-left: 0;
    margin-left: -22%;
    justify-self: start;
  }
  .hero__right-label { text-align: right; }
  .hero__right-title { text-align: right; }
  .hero__right-detail { text-align: right; }
  .card-wrap {
    width: 270px; height: 380px; order: 0;
  }
  .scroll-card { border-radius: 24px; }
  .scroll-card__face { border-radius: 24px; }
  .scroll-card { border-radius: 24px; }
  .scroll-card__face { border-radius: 24px; }

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

  .portfolio-frozen { bottom: 88px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — xl (1400px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1400px) {
  :root {
    --gutter: 6vw;
    --section-gap: 100px;
  }
  html { font-size: 17px; }
  .about-layout { gap: 80px; }
  .contact-grid { gap: 80px; }
  .skill-block { padding: 48px 0; }
  .skill-block:nth-child(odd) { padding-right: 40px; }
  .skill-block:nth-child(even) { padding-left: 40px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 2xl / Large Desktop (1920px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1920px) {
  html { font-size: 17px; }
  :root {
    --gutter: 7vw;
    --section-gap: 100px;
  }
  .card-wrap { width: 290px; height: 400px; }
  .portfolio-grid { gap: 24px; }
  .testi-grid { gap: 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 3xl / QHD Ultra-wide (2560px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 2560px) {
  html { font-size: 18px; }
  :root {
    --gutter: 9vw;
    --section-gap: 110px;
  }
  .hero__left-title,
  .hero__right-title {
    font-size: 7rem;
    letter-spacing: -3px;
  }
  .card-wrap { width: 310px; height: 430px; }
  .section__heading { font-size: 3.5rem; }
  .process-step__num { font-size: 52px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 4K / Ultra-wide (3440px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 3440px) {
  html { font-size: 24px; }
  :root {
    --gutter: 12vw;
    --section-gap: 160px;
  }

  /* Hero */
  .hero__left-title,
  .hero__right-title { font-size: 6.75rem; letter-spacing: -3px; }
  .hero__left-label,
  .hero__right-label { font-size: 24px; }
  .hero__left-sub { font-size: 23px; line-height: 1.6; max-width: 520px; margin-top: 28px; }
  .hero__right-detail { font-size: 22px; margin-top: 20px; }
  .card-wrap { width: 400px; height: 550px; }
  .scroll-card { border-radius: 30px; }
  .scroll-card__face { border-radius: 30px; }

  /* Section patterns */
  .section__hand-label { font-size: 22px; margin-bottom: 24px; }
  .section__heading { font-size: 5rem; margin-bottom: 56px; }

  /* Text fill */
  .text-fill { font-size: 3.2rem; max-width: 1200px; }

  /* Skills */
  .skill-block { padding: 64px 0; }
  .skill-block:nth-child(odd) { padding-right: 56px; }
  .skill-block:nth-child(even) { padding-left: 56px; }
  .skill-block__num { font-size: 21px; margin-bottom: 18px; }
  .skill-block__title { font-size: 34px; margin-bottom: 16px; }
  .skill-block__desc { font-size: 22px; line-height: 1.65; max-width: 640px; }
  .skill-block__note { font-size: 19px; margin-top: 14px; }
  .skill-block__price { font-size: 22px; margin-top: 20px; }
  .tag-pill { font-size: 19px; padding: 10px 24px; }

  /* About */
  .marquee__item { font-size: 21px; padding: 0 36px; }
  .about-row { padding: 26px 0; }
  .about-row__label { font-size: 23px; }
  .about-row__val { font-size: 22px; }
  .about-text p { font-size: 23px; line-height: 1.7; margin-bottom: 26px; }

  /* Portfolio */
  .portfolio-grid { gap: 36px; }
  .portfolio-card { border-radius: 20px; }
  .portfolio-card__body { padding: 32px; }
  .portfolio-card__year { font-size: 17px; }
  .portfolio-card__name { font-size: 30px; margin-bottom: 8px; }
  .portfolio-card__type { font-size: 20px; margin-bottom: 16px; }
  .portfolio-card__link { font-size: 20px; }
  .portfolio-frozen { font-size: 18px; padding: 18px var(--gutter); }

  /* Process */
  .process-step { grid-template-columns: 90px 1fr; gap: 48px; padding: 52px 0; }
  .process-step__num { font-size: 72px; }
  .process-step__title { font-size: 30px; margin-bottom: 16px; }
  .process-step__desc { font-size: 22px; line-height: 1.7; }

  /* Testimonials */
  .testi-grid { gap: 32px; }
  .testi-card { padding: 40px; border-radius: 20px; }
  .testi-card__stars { font-size: 20px; margin-bottom: 20px; }
  .testi-card__text { font-size: 21px; line-height: 1.7; margin-bottom: 24px; }
  .testi-card__author { font-size: 20px; }
  .testi-card__role { font-size: 16px; }

  /* FAQ */
  .faq-list { max-width: 1000px; }
  .faq-q { font-size: 26px; padding: 30px 0; }
  .faq-ico { font-size: 30px; }
  .faq-a p { font-size: 21px; line-height: 1.75; padding-bottom: 30px; }

  /* Contact */
  .contact__headline { font-size: 4rem; }
  .contact__note { font-size: 22px; margin-top: 32px; max-width: 540px; }
  .contact__ch { padding: 16px 0; gap: 24px; }
  .contact__ch-label { font-size: 17px; }
  .contact__ch-val { font-size: 22px; }
  .cform__label { font-size: 16px; margin-bottom: 10px; }
  .cform__input, .cform__textarea { font-size: 22px; padding: 18px 20px; border-radius: 10px; }
  .cform__textarea { min-height: 160px; }
  .cform__submit { font-size: 22px; padding: 18px 36px; }
  .cform { gap: 24px; }

  /* Footer */
  .footer-ticker__item { font-size: 2.75rem; }
  .site-footer { font-size: 17px; padding: 32px var(--gutter); }

  /* Nav */
  .bottom-nav { padding: 8px 8px 8px 12px; border-radius: 120px; }
  .bottom-nav__link { font-size: 20px; padding: 14px 26px; }
  .bottom-nav__home { width: 48px; height: 48px; font-size: 22px; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE TYPOGRAPHY SCALE (< 1000px)
   Base: text-fill min = 1.2rem ≈ 22px on mobile.
   Body text (14-15px) scaled to match. ~1.55x factor.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 999px) {
  .hero__left-sub,
  .hero__right-detail          { font-size: 22px; }
  .hero__combined-label        { font-size: 20px; line-height: 1.6; }

  .skill-block__desc,
  .skill-block__price,
  .about-row__val,
  .contact__note,
  .contact__ch-val,
  .process-step__desc,
  .portfolio-card__link        { font-size: 22px; }

  .skill-block__note,
  .portfolio-card__type        { font-size: 20px; }

  .skill-block__num,
  .marquee__item               { font-size: 20px; }

  .skill-block__title          { font-size: 32px; }
  .portfolio-card__name        { font-size: 28px; }
  .process-step__title         { font-size: 28px; }

  .about-row__label            { font-size: 24px; }
  .about-text p                { font-size: 24px; line-height: 1.6; }

  .portfolio-card__year,
  .contact__ch-label,
  .cform__label                { font-size: 17px; }

  .cform__input,
  .cform__textarea             { font-size: 22px; padding: 16px 18px; }
  .cform__submit               { font-size: 22px; padding: 16px 30px; }

  .faq-q                       { font-size: 24px; }
  .faq-a p                     { font-size: 22px; }

  .site-footer                 { font-size: 17px; }
  .section__hand-label         { font-size: 20px; }

  .portfolio-card__body        { padding: 24px; }
  .portfolio-frozen             { font-size: 18px; }
  .scroll-top                  { font-size: 18px; }
}

/* ═══════════════════════════════════════════════════════════════
   PREFERS REDUCED MOTION — ADA
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track,
  .footer-ticker__track { animation: none !important; }
  #hero-canvas,
  #hero-pulse-canvas,
  #ball-canvas { display: none; }
  .rv { opacity: 1; transform: none; }
}
