
:root {
  /* Brand */
  --accent: #4ade9a;
  --accent-2: #6ee7b7;
  --accent-soft: rgba(74, 222, 154, 0.14);
  --accent-line: rgba(74, 222, 154, 0.28);

  /* Dark surface */
  --bg: #0a0f0d;
  --bg-2: #0e1513;
  --surface: #11181555;
  --surface-solid: #121a17;
  --surface-2: #161f1c;
  --hairline: rgba(255, 255, 255, 0.07);
  --hairline-2: rgba(255, 255, 255, 0.12);

  /* Text */
  --fg: #e8efeb;
  --fg-dim: rgba(232, 239, 235, 0.72);
  --fg-muted: rgba(232, 239, 235, 0.52);
  --fg-faint: rgba(232, 239, 235, 0.32);

  /* Type */
  --f-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* Layout */
  --max-w: 1440px;
  --gutter: clamp(20px, 4vw, 64px);

  /* Grid overlay for hero background */
  --grid-line: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] {
  --bg: #f8faf8;
  --bg-2: #eff2ef;
  --surface: rgba(255, 255, 255, 0.85);
  --surface-solid: #ffffff;
  --surface-2: #f0f4f1;
  --hairline: rgba(10, 25, 18, 0.08);
  --hairline-2: rgba(10, 25, 18, 0.15);
  --fg: #0c1411;
  --fg-dim: rgba(12, 20, 17, 0.78);
  --fg-muted: rgba(12, 20, 17, 0.58);
  --fg-faint: rgba(12, 20, 17, 0.35);
  --accent: #059669;
  --accent-2: #10b981;
  --accent-soft: rgba(5, 150, 105, 0.1);
  --accent-line: rgba(5, 150, 105, 0.28);

  /* Grid overlay lighter for light mode */
  --grid-line: rgba(0, 0, 0, 0.05);
}

/* ===================== END 01. ROOT VARIABLES ============================ */

/* ==========================================================================
   02. RESET / BASE STYLES
   ========================================================================== */

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}

/* ===================== END 02. RESET / BASE STYLES ======================= */

/* ==========================================================================
   06. BRANDING / BACKGROUND EFFECTS
   ========================================================================== */

.bg-fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      800px 500px at 85% -10%,
      var(--accent-soft),
      transparent 60%
    ),
    radial-gradient(600px 400px at 5% 30%, var(--accent-soft), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(
    ellipse 80% 60% at 50% 30%,
    #000 30%,
    transparent 80%
  );
}
.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ===================== END 06. BRANDING / BACKGROUND EFFECTS ============= */

/* ==========================================================================
   05. LAYOUT
   ========================================================================== */

main {
  position: relative;
  z-index: 3;
}
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: 120px 0;
  position: relative;
}
@media (max-width: 720px) {
  section {
    padding: 60px 0;
  }
}
@media (max-width: 480px) {
  section {
    padding: 48px 0;
  }
}

/* ===================== END 05. LAYOUT ===================================== */

/* ==========================================================================
   04. TYPOGRAPHY
   ========================================================================== */

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(48px, 7.4vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.18;
}
p {
  line-height: 1.6;
  color: var(--fg-dim);
  margin: 0;
  text-wrap: pretty;
}

/* ===================== END 04. TYPOGRAPHY ================================= */

/* ==========================================================================
   09. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.25s,
    box-shadow 0.25s,
    border-color 0.25s,
    color 0.25s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--accent);
  color: #04130c;
  box-shadow:
    0 6px 24px -8px rgba(74, 222, 154, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-primary:hover {
  box-shadow:
    0 12px 36px -10px rgba(74, 222, 154, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--hairline-2);
}
.btn-ghost:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--fg);
}

.btn .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}
.btn .arrow {
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.btn:hover .arrow {
  transform: translateX(3px);
}

/* ===================== END 09. BUTTONS ==================================== */

/* ==========================================================================
   11. CARDS
   ========================================================================== */

.card {
  background: var(--surface-solid);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  transition:
    border-color 0.3s,
    transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--accent-line);
  box-shadow:
    0 20px 60px -20px rgba(0, 0, 0, 0.5),
    0 0 0 1px var(--accent-line) inset;
}

/* ===================== END 11. CARDS ======================================= */

/* ==========================================================================
   14. ANIMATIONS — Scroll Reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.32s;
}
.reveal[data-delay="5"] {
  transition-delay: 0.4s;
}

/* ===================== END 14. ANIMATIONS — Scroll Reveal ================= */

/* ==========================================================================
   03. UTILITY CLASSES — Selection & Scrollbar
   ========================================================================== */

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

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--hairline-2);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-line);
}

/* ===================== END 03. UTILITY CLASSES ============================ */

/* ==========================================================================
   07. HEADER / NAVIGATION
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: padding 0.35s ease;
  pointer-events: none;
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease;
  pointer-events: auto;
}
.nav.scrolled .nav-inner {
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-color: var(--hairline);
  box-shadow: 0 10px 30px -16px rgba(0, 0, 0, 0.4);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-brand .mark {
  width: 30px;
  height: 30px;
}
.nav-brand .name {
  font-size: 15px;
}
.nav-brand .name .dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13.5px;
  font-weight: 500;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--fg-muted);
  transition:
    color 0.25s,
    background 0.25s;
  position: relative;
}
.nav-links a:hover {
  color: var(--fg);
}
.nav-links a.active {
  color: var(--fg);
  background: var(--accent-soft);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav .btn {
  padding: 10px 16px;
  font-size: 13px;
}

.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--surface-solid);
  border: 1px solid var(--hairline-2);
  color: var(--fg);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-burger:hover {
  border-color: var(--accent-line);
  color: var(--accent);
}
.nav-burger.open {
  border-color: var(--accent-line);
  color: var(--accent);
  background: var(--accent-soft);
}
.nav-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: background 0.2s ease;
}
.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-burger span::before {
  top: -5px;
}
.nav-burger span::after {
  top: 5px;
}
.nav-burger.open span {
  background: transparent;
}
.nav-burger.open span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-burger.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: inline-flex;
  }
}

/* Mobile menu */
.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: color-mix(in oklab, var(--bg) 95%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 90px var(--gutter) 40px;
  transform: translateY(-100%);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    visibility 0.4s;
  visibility: hidden;
  pointer-events: none;
  overflow-y: auto;
}
.menu-sheet.open {
  transform: none;
  visibility: visible;
  pointer-events: auto;
}
.menu-sheet a {
  font-family: var(--f-sans);
  font-size: clamp(16px, 4.5vw, 18px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  padding: 13px 0;
  border-bottom: 1px solid var(--hairline);
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}
.menu-sheet a:hover {
  color: var(--accent);
  padding-left: 6px;
}

/* ===================== END 07. HEADER / NAVIGATION ========================= */

/* ==========================================================================
   08. THEME TOGGLE
   ========================================================================== */

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--surface-solid);
  border: 1px solid var(--hairline-2);
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
  padding: 0;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
  transform: scale(1.05);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -9px;
  margin-left: -9px;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
[data-theme="dark"] .theme-toggle .moon-icon {
  opacity: 0;
  transform: scale(0.3) rotate(-90deg);
}

[data-theme="light"] .theme-toggle .sun-icon {
  opacity: 0;
  transform: scale(0.3) rotate(90deg);
}
[data-theme="light"] .theme-toggle .moon-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Mobile menu theme row */
.menu-sheet-theme {
  margin-top: 24px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--hairline-2);
}
.menu-theme-label {
  font-family: var(--f-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}
.theme-toggle-mobile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface-solid);
  border: 1px solid var(--hairline-2);
  color: var(--fg);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: all 0.25s;
}
.theme-toggle-mobile:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
}
.theme-toggle-mobile svg {
  width: 16px;
  height: 16px;
}
[data-theme="dark"] .theme-toggle-mobile .sun-icon {
  display: inline-block;
}
[data-theme="dark"] .theme-toggle-mobile .moon-icon {
  display: none;
}
[data-theme="light"] .theme-toggle-mobile .sun-icon {
  display: none;
}
[data-theme="light"] .theme-toggle-mobile .moon-icon {
  display: inline-block;
}

/* ===================== END 08. THEME TOGGLE ================================ */

/* ==========================================================================
   12.1 SECTIONS — HERO (NEW · Orbiting Credential)
   ========================================================================== */

.hero-new {
  position: relative;
  padding: 140px 0 100px;
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}
@media (max-width: 720px) {
  .hero-new {
    padding: 100px 0 60px;
  }
}
@media (max-width: 480px) {
  .hero-new {
    padding: 90px 0 50px;
  }
}
.hero-new::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: radial-gradient(
    ellipse 90% 70% at 30% 40%,
    #000 30%,
    transparent 75%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 90% 70% at 30% 40%,
    #000 30%,
    transparent 75%
  );
}
.hero-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-ribbon svg {
  width: 100%;
  height: 100%;
}
.hero-new-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  position: relative;
  z-index: 2;
  align-items: start;
}
.hero-kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 480px) {
  .hero-kicker {
    font-size: 10px;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
  }
}
.hero-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
.hero-new .hero-title {
  font-family: var(--f-sans);
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--fg);
}
.hero-new .hero-title em {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}
.hero-new .hero-title .brand-k {
  position: relative;
  display: inline-block;
  background: var(--accent);
  color: #04130c;
  padding: 0 12px;
  border-radius: var(--r-md);
  transform: rotate(-1deg);
  box-shadow:
    0 6px 20px rgba(207, 240, 35, 0.35),
    inset 0 -3px 0 rgba(0, 0, 0, 0.06);
}
.hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 540px;
  margin: 0 0 28px;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-typed-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--fg-dim);
  margin-bottom: 30px;
}
.hero-typed-prompt {
  color: var(--accent);
  font-weight: 600;
}
.hero-typed {
  color: var(--fg);
  font-weight: 600;
  min-height: 18px;
}
.hero-typed::after {
  content: "▌";
  color: var(--accent);
  margin-left: 2px;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.hero-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.hero-tags span {
  padding: 4px 9px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface-2);
}
.cred-stage {
  position: relative;
  isolation: isolate;
}
.cred-orbit {
  position: absolute;
  inset: -70px -55px -70px -55px;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.cred-orbit .ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0.22;
  transform-origin: 50% 50%;
}
.cred-orbit .ring-pulse {
  animation: cred-orbit-pulse 4s ease-in-out infinite;
}
.cred-orbit .ring-pulse-2 {
  animation: cred-orbit-pulse 4s ease-in-out -1.4s infinite;
}
.cred-orbit .ring-pulse-3 {
  animation: cred-orbit-pulse 4s ease-in-out -2.8s infinite;
}
@keyframes cred-orbit-pulse {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  20% {
    opacity: 0.5;
  }
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}
.cred-orbit .ring-dashed {
  stroke-dasharray: 4 8;
  opacity: 0.25;
  animation: cred-orbit-rotate 24s linear infinite;
  transform-origin: 50% 50%;
}
.cred-orbit .ring-dashed-rev {
  stroke-dasharray: 2 6;
  opacity: 0.2;
  animation: cred-orbit-rotate-rev 38s linear infinite;
  transform-origin: 50% 50%;
}
@keyframes cred-orbit-rotate {
  to {
    transform: rotate(360deg);
  }
}
@keyframes cred-orbit-rotate-rev {
  to {
    transform: rotate(-360deg);
  }
}
.cred-orbit .orbit-arm {
  transform-origin: 50% 50%;
  animation: cred-orbit-arm 9s linear infinite;
}
.cred-orbit .orbit-arm-rev {
  transform-origin: 50% 50%;
  animation: cred-orbit-arm 14s linear infinite reverse;
}
@keyframes cred-orbit-arm {
  to {
    transform: rotate(360deg);
  }
}
.cred-orbit .orbit-dot {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent));
}
.cred-orbit .orbit-dot-soft {
  fill: var(--accent);
  opacity: 0.5;
  animation: cred-orbit-blink 2.4s ease-in-out infinite;
}
@keyframes cred-orbit-blink {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.85;
  }
}
.cred-orbit .orbit-sweep {
  transform-origin: 50% 50%;
  animation: cred-orbit-sweep 7s linear infinite;
}
@keyframes cred-orbit-sweep {
  to {
    transform: rotate(360deg);
  }
}
.cred-panel {
  background: var(--surface-2);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-lg);
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}
.cred-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    #0c1d35 0%,
    #0c1d35 70%,
    var(--accent) 70%,
    var(--accent) 100%
  );
}
.cred-head {
  padding: 20px 22px 14px;
  border-bottom: 1px dashed var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}
.cred-head .star {
  color: var(--accent);
  letter-spacing: 0.1em;
}
.cred-hero {
  padding: 20px 22px 18px;
  text-align: left;
  border-bottom: 1px dashed var(--hairline);
  position: relative;
}
.cred-hero-v {
  font-family: var(--f-sans);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
}
.cred-hero-v .unit {
  font-size: 18px;
  font-weight: 600;
  color: var(--fg-muted);
  margin-left: 4px;
}
.cred-hero-k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 6px;
}
.cred-bars {
  display: flex;
  gap: 4px;
  margin-top: 14px;
  height: 28px;
  align-items: end;
}
.cred-bars span {
  flex: 1;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  animation: cred-bar-pulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(207, 240, 35, 0.45);
}
.cred-bars span:nth-child(1) {
  height: 30%;
  animation-delay: 0s;
}
.cred-bars span:nth-child(2) {
  height: 55%;
  animation-delay: 0.12s;
}
.cred-bars span:nth-child(3) {
  height: 40%;
  animation-delay: 0.24s;
}
.cred-bars span:nth-child(4) {
  height: 75%;
  animation-delay: 0.36s;
}
.cred-bars span:nth-child(5) {
  height: 60%;
  animation-delay: 0.48s;
}
.cred-bars span:nth-child(6) {
  height: 90%;
  animation-delay: 0.6s;
}
.cred-bars span:nth-child(7) {
  height: 100%;
  animation-delay: 0.72s;
}
@keyframes cred-bar-pulse {
  0%,
  100% {
    transform: scaleY(0.35);
    opacity: 0.7;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}
.cred-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.cred-item {
  padding: 14px 22px;
  border-right: 1px dashed var(--hairline);
  border-bottom: 1px dashed var(--hairline);
}
.cred-item:nth-child(2n) {
  border-right: none;
}
.cred-item:nth-last-child(-n + 2) {
  border-bottom: none;
}
.cred-item-k {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 4px;
}
.cred-item-v {
  font-family: var(--f-sans);
  font-size: 22px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1;
}
.cred-item-v .unit {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-muted);
  margin-left: 2px;
}
.cred-item-note {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--fg-muted);
  margin-top: 4px;
}
.cred-foot {
  padding: 12px 22px;
  background: var(--surface-solid);
  border-top: 1px solid var(--hairline);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cred-foot .status-dot-wrap {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  margin-right: 6px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
  animation: pulse 1.6s ease-in-out infinite;
}
@media (max-width: 900px) {
  .hero-new-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}



/* ==========================================================================
   12.4 SECTIONS — TICKER BAND (Bold X-Crossing Ribbons)
   ========================================================================== */

.ticker-scene {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}

.ticker-ribbon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160%;
  height: 68px;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  transform-origin: center center;
}

/* Ribbon 1 — dark, top-left → bottom-right */
.ticker-ribbon--dark {
  background: var(--bg-2);
  border-top: 1px solid var(--hairline-2);
  border-bottom: 1px solid var(--hairline-2);
  transform: translate(-50%, -50%) rotate(-6deg);
  box-shadow: 0 8px 30px -6px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Ribbon 2 — accent lime, top-right → bottom-left */
.ticker-ribbon--accent {
  background: var(--accent);
  transform: translate(-50%, -50%) rotate(6deg);
  box-shadow: 0 8px 30px -6px rgba(74, 222, 154, 0.45);
  z-index: 2;
}

/* Scrolling inner track */
.ticker-inner {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  flex-shrink: 0;
}

.ticker-inner span {
  display: inline-block;
  padding: 0 18px;
  font-family: "Bebas Neue", var(--f-display), sans-serif;
  font-size: 38px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  flex-shrink: 0;
}

/* Dark ribbon text */
.ticker-ribbon--dark .ticker-inner span {
  color: var(--fg);
}
.ticker-ribbon--dark .ticker-inner .tick-sep {
  color: var(--accent);
  padding: 0 10px;
  font-size: 20px;
  opacity: 0.9;
  flex-shrink: 0;
}

/* Accent ribbon text */
.ticker-ribbon--accent .ticker-inner span {
  color: #04130c;
}
.ticker-ribbon--accent .ticker-inner .tick-sep {
  color: rgba(4, 19, 12, 0.65);
  padding: 0 10px;
  font-size: 20px;
  flex-shrink: 0;
}

/* Scroll animations */
@keyframes ticker-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes ticker-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.ticker-scroll-left .ticker-inner {
  animation: ticker-left 28s linear infinite;
}
.ticker-scroll-right .ticker-inner {
  animation: ticker-right 22s linear infinite;
}

/* Pause on hover */
.ticker-scene:hover .ticker-inner {
  animation-play-state: paused;
}

/* ── Tablet ── */
@media (max-width: 900px) {
  .ticker-scene {
    height: 150px;
  }
  .ticker-ribbon {
    height: 56px;
    width: 170%;
  }
  .ticker-ribbon--dark {
    transform: translate(-50%, -50%) rotate(-5deg);
  }
  .ticker-ribbon--accent {
    transform: translate(-50%, -50%) rotate(5deg);
  }
  .ticker-inner span {
    font-size: 30px;
    padding: 0 14px;
  }
  .ticker-inner .tick-sep {
    font-size: 16px;
    padding: 0 8px;
  }
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .ticker-scene {
    height: 125px;
  }
  .ticker-ribbon {
    height: 48px;
    width: 190%;
  }
  .ticker-ribbon--dark {
    transform: translate(-50%, -50%) rotate(-4.5deg);
  }
  .ticker-ribbon--accent {
    transform: translate(-50%, -50%) rotate(4.5deg);
  }
  .ticker-inner span {
    font-size: 25px;
    padding: 0 10px;
  }
  .ticker-inner .tick-sep {
    font-size: 14px;
    padding: 0 6px;
  }
}

/* Light mode */
[data-theme="light"] .ticker-ribbon--dark {
  background: var(--surface-solid);
  border-color: var(--hairline-2);
  box-shadow: 0 8px 30px -6px rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .ticker-ribbon--dark .ticker-inner span {
  color: var(--fg);
}

/* ===================== END 12.4 TICKER BAND ================================= */

/* ==========================================================================
   12.5 SECTIONS — ABOUT
   ========================================================================== */

/* Section heading — default: stack vertically */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
  max-width: 900px;
}
.section-head .sub {
  color: var(--fg-muted);
  font-size: 17px;
}

/* Modifier: about section has an aside label on the right */
.section-head--aside {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: none;
}
.section-head-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}

/* About 2-column grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Profile card (left column) */
.about-card {
  background: var(--surface-2);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) 30%,
    var(--bg) 30%
  );
}
.about-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 1px dashed var(--hairline);
  background: var(--surface-2);
  filter: grayscale(0.1) contrast(1.05);
  display: block;
}
.about-card-meta {
  padding: 16px 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  color: var(--fg-dim);
}
.about-card-meta b {
  color: var(--fg-muted);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 9px;
}

/* Bio text (right column) */
.about-text h3 {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--fg);
  line-height: 1.25;
}
.about-text p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fg-dim);
  margin: 0 0 14px;
}
.about-text strong {
  color: var(--fg);
  font-weight: 700;
}

/* Keys grid */
.about-keys {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 28px;
  border-top: 1px dashed var(--hairline);
  border-left: 1px dashed var(--hairline);
}
.about-key {
  padding: 14px 18px;
  border-right: 1px dashed var(--hairline);
  border-bottom: 1px dashed var(--hairline);
}
.about-key-k {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 4px;
}
.about-key-v {
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}

/* CTA row inside about */
.about-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ===================== END 12.5 ABOUT ======================================== */

/* ==========================================================================
   12.6 SECTIONS — STACK BENCH
   ========================================================================== */

/* ==========================================================================
   12.6 SECTIONS — STACK BENCH
   ========================================================================== */

.stack-bench-card {
  background: var(--surface-solid);
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.stack-bench-card:hover {
  border-color: var(--accent-line);
  box-shadow:
    0 24px 64px -16px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--accent-line) inset;
}

/* Head Bar */
.stack-bench-head {
  background: var(--surface-2);
  border-bottom: 1px solid var(--hairline-2);
  padding: 16px 28px;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 24px;
}

.stack-bench-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stack-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.stack-head-count {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.stack-bench-cols {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.stack-bench-cols .col-domain,
.stack-bench-cols .col-stack {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* Bench Body */
.stack-bench-body {
  display: flex;
  flex-direction: column;
}

/* Stack Row */
.stack-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 28px;
  border-bottom: 1px dotted var(--hairline-2);
  transition: background 0.25s ease;
}

.stack-row:last-child {
  border-bottom: none;
}

.stack-row:hover {
  background: var(--accent-soft);
}

.stack-row-domain {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stack-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  flex-shrink: 0;
}

.domain-title {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--fg);
  letter-spacing: -0.01em;
}

/* Items Pill Tags */
.stack-row-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

.stack-pill {
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--fg-dim);
  border: 1px solid var(--hairline);
  white-space: nowrap;
  transition: all 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
  cursor: default;
}

.stack-pill:hover {
  transform: translateY(-1px);
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--fg);
  box-shadow: 0 4px 14px var(--accent-soft);
}

/* Responsive Stack Bench */
@media (max-width: 900px) {
  .stack-bench-head {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 20px;
  }
  .stack-bench-cols {
    display: none;
  }
  .stack-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 20px;
    align-items: start;
  }
  .domain-title {
    font-size: 14px;
  }
  .stack-pill {
    font-size: 12px;
    padding: 5px 12px;
  }
}

@media (max-width: 480px) {
  .stack-bench-head {
    padding: 12px 14px;
  }
  .stack-row {
    padding: 14px;
  }
  .stack-pill {
    font-size: 11.5px;
    padding: 4px 10px;
  }
}

/* ===================== END 12.6 SKILLS ======================================= */

/* ==========================================================================
   12.7 SECTIONS — EXPERIENCE TIMELINE
   ========================================================================== */

.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 1px;
  background: linear-gradient(
    180deg,
    var(--accent-line),
    var(--hairline) 30%,
    var(--hairline) 70%,
    transparent
  );
}
.tl-item {
  position: relative;
  padding: 0 0 56px 32px;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.tl-period {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tl-role {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.tl-company {
  font-size: 14.5px;
  color: var(--fg-dim);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tl-company .at {
  color: var(--fg-muted);
  font-family: var(--f-mono);
}
.tl-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tl-bullets li {
  position: relative;
  padding-left: 22px;
  color: var(--fg-dim);
  font-size: 14.5px;
  line-height: 1.55;
}
.tl-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 1px;
  background: var(--accent);
}
.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.tl-tags span {
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--fg-muted);
  border: 1px solid var(--hairline);
}

/* ===================== END 12.7 EXPERIENCE TIMELINE ========================== */

/* ==========================================================================
   12.8 SECTIONS — PROJECTS (v2: real screenshots, filter pills, search, pagination)
   ========================================================================== */

.proj-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--surface-solid);
  border: 1px solid var(--hairline);
  color: var(--fg-dim);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pill:hover {
  color: var(--fg);
  border-color: var(--hairline-2);
}
.pill.active {
  background: var(--accent);
  color: #04130c;
  border-color: var(--accent);
}
.pill-count {
  font-family: var(--f-mono);
  font-size: 10.5px;
  opacity: 0.7;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
}
.pill.active .pill-count {
  background: rgba(0, 0, 0, 0.15);
}

/* ── PROJECT SEARCH BAR ── */
.proj-search-wrap {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.proj-search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 560px;
}
.proj-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--fg-muted);
  pointer-events: none;
  transition: color 0.25s;
}
.proj-search-box:focus-within .proj-search-icon {
  color: var(--accent);
}
.proj-search-input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 46px;
  background: var(--surface-solid);
  border: 1px solid var(--hairline-2);
  border-radius: 999px;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  outline: none;
  transition:
    border-color 0.25s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.25s;
  caret-color: var(--accent);
}
.proj-search-input::placeholder {
  color: var(--fg-faint);
  font-weight: 400;
}
.proj-search-input:focus {
  border-color: var(--accent-line);
  background: var(--surface-2);
  box-shadow:
    0 0 0 3px var(--accent-soft),
    0 4px 20px -8px rgba(74, 222, 154, 0.2);
}
.proj-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--hairline-2);
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}
.proj-search-clear:hover {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}
.proj-search-clear svg {
  width: 12px;
  height: 12px;
}
.proj-search-meta {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.proj-search-meta strong {
  color: var(--accent);
  font-weight: 600;
}

/* ── PROJECT PAGINATION ── */
.proj-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.proj-page-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: var(--surface-solid);
  border: 1px solid var(--hairline);
  color: var(--fg-dim);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.22s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.22s,
    color 0.22s,
    transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.22s;
  position: relative;
  letter-spacing: -0.01em;
}
.proj-page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-1px);
}
.proj-page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #04130c;
  box-shadow:
    0 6px 20px -6px rgba(74, 222, 154, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.proj-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.proj-page-btn.arrow-btn {
  font-size: 16px;
}
.proj-page-btn.arrow-btn svg {
  width: 16px;
  height: 16px;
}
.proj-page-ellipsis {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-faint);
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  pointer-events: none;
}
.proj-page-info {
  width: 100%;
  text-align: center;
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.proj-page-info strong {
  color: var(--accent);
}

/* Empty state */
.proj-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 72px 24px;
  text-align: center;
  color: var(--fg-muted);
}
.proj-empty svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
  color: var(--accent);
  margin-bottom: 4px;
}
.proj-empty strong {
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--fg-dim);
  display: block;
  margin-bottom: 4px;
}

/* Responsive search */
@media (max-width: 600px) {
  .proj-search-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .proj-search-box {
    max-width: 100%;
  }
  .proj-search-meta {
    text-align: center;
  }
  .proj-pagination {
    gap: 4px;
    margin-top: 36px;
  }
  .proj-page-btn,
  .proj-page-ellipsis {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }
}
@media (max-width: 380px) {
  .proj-page-btn,
  .proj-page-ellipsis {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }
}

.projects-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) {
  .projects-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .projects-grid-v2 {
    grid-template-columns: 1fr;
  }
}

.proj-v2 {
  padding: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.proj-art-v2 {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--surface-2);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}
.shot {
  position: absolute;
  inset: 0;
}
.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition:
    opacity 0.6s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.proj-v2:hover .shot img {
  transform: scale(1.04);
}
.shot-skeleton {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 16px,
      rgba(255, 255, 255, 0.025) 16px 17px
    ),
    var(--surface-2);
  display: grid;
  place-items: center;
}
.shot-skeleton span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--hairline-2);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Fallback card — shown when site is down and all screenshot sources fail */
.shot-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(74,222,154,0.08) 0%, rgba(74,222,154,0.03) 100%),
    repeating-linear-gradient(
      135deg,
      transparent 0 18px,
      rgba(74, 222, 154, 0.03) 18px 19px
    ),
    var(--surface-2);
  border-radius: inherit;
}
.shot-fallback-icon {
  font-size: 28px;
  line-height: 1;
  opacity: 0.5;
  margin-bottom: 4px;
}
.shot-fallback strong {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-dim);
  line-height: 1.3;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shot-fallback span {
  font-size: 11px;
  color: var(--fg-muted);
  font-family: var(--f-mono);
}

.proj-overlay-v2 {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}
.proj-v2:hover .proj-overlay-v2 {
  opacity: 1;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* The centered mini-btn inside the overlay */
.proj-overlay-v2 .mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(6px);
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.25s,
    border-color 0.25s;
  white-space: nowrap;
}
.proj-v2:hover .proj-overlay-v2 .mini-btn {
  transform: translateY(0);
}
.proj-overlay-v2 .mini-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke-width: 2.2;
}

/* Light theme overlay: slightly lighter tint */
[data-theme="light"] .proj-overlay-v2 {
  background: rgba(10, 20, 15, 0.42);
}
[data-theme="light"] .proj-overlay-v2 .mini-btn {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.proj-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.proj-domain {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: -0.005em;
}


.proj-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.proj-cat.cat-active {
  background: var(--accent);
  color: #04130c;
  border-color: var(--accent);
}
[data-theme="light"] .proj-cat {
  background: rgba(255, 255, 255, 0.88);
  color: var(--fg);
  border-color: rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .proj-cat.cat-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}


.proj-body {
  padding: 22px;
}
.proj-body h3 {
  font-size: 20px;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.proj-body p {
  font-size: 13.5px;
  color: var(--fg-muted);
}
.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.proj-tags span {
  font-family: var(--f-mono);
  font-size: 10.5px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  color: var(--fg-muted);
}

/* ── LIGHT THEME — Projects section overrides ── */

/* Card itself: give it a clean white surface */
[data-theme="light"] .proj-v2.card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .proj-v2.card:hover {
  border-color: var(--accent-line);
  box-shadow:
    0 20px 50px -20px rgba(0, 0, 0, 0.14),
    0 0 0 1px var(--accent-line) inset;
}

/* Image thumbnail area */
[data-theme="light"] .proj-art-v2 {
  background: var(--surface-2);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* Skeleton loader: lighter stripes */
[data-theme="light"] .shot-skeleton {
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 16px,
      rgba(0, 0, 0, 0.025) 16px 17px
    ),
    var(--surface-2);
}

/* proj-body card bottom area */
[data-theme="light"] .proj-body {
  background: #ffffff;
}

/* proj-tags chips */
[data-theme="light"] .proj-tags span {
  background: var(--surface-2);
  color: var(--fg-dim);
  border-color: rgba(0, 0, 0, 0.1);
}

/* ── Search bar (light) ── */
[data-theme="light"] .proj-search-input {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--fg);
}
[data-theme="light"] .proj-search-input::placeholder {
  color: rgba(12, 20, 17, 0.38);
}
[data-theme="light"] .proj-search-input:focus {
  border-color: var(--accent-line);
  background: #ffffff;
  box-shadow:
    0 0 0 3px var(--accent-soft),
    0 4px 16px -6px rgba(5, 150, 105, 0.18);
}
[data-theme="light"] .proj-search-clear {
  background: var(--surface-2);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--fg-muted);
}
[data-theme="light"] .proj-search-clear:hover {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}

/* ── Filter pills (light) ── */
[data-theme="light"] .pill {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--fg-dim);
}
[data-theme="light"] .pill:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
}
[data-theme="light"] .pill.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
[data-theme="light"] .pill-count {
  background: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .pill.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
}

/* ── Pagination (light) ── */
[data-theme="light"] .proj-page-btn {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--fg-dim);
}
[data-theme="light"] .proj-page-btn:hover:not(:disabled):not(.active) {
  background: var(--accent-soft);
  border-color: var(--accent-line);
  color: var(--accent);
}
[data-theme="light"] .proj-page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow:
    0 6px 18px -6px rgba(5, 150, 105, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
[data-theme="light"] .proj-page-ellipsis {
  color: rgba(12, 20, 17, 0.3);
}
[data-theme="light"] .proj-page-info {
  color: var(--fg-muted);
}

/* ── Empty state (light) ── */
[data-theme="light"] .proj-empty {
  color: var(--fg-muted);
}
[data-theme="light"] .proj-empty strong {
  color: var(--fg);
}

/* ===================== END 12.8 PROJECTS ===================================== */

/* ==========================================================================
   12.9 SECTIONS — SERVICES
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.svc {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
}
.svc-num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--fg-muted);
}
.svc h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.svc p {
  font-size: 14px;
}
.svc-arrow {
  margin-top: auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--fg-muted);
  transition: all 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  border: 1px solid var(--hairline);
}
.svc:hover .svc-arrow {
  background: var(--accent);
  color: #04130c;
  transform: rotate(-45deg);
  border-color: var(--accent);
}
.svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  border: 1px solid var(--accent-line);
}
.svc-icon svg {
  width: 24px;
  height: 24px;
}

/* ===================== END 12.9 SERVICES ===================================== */

/* ==========================================================================
   12.10 SECTIONS — TESTIMONIALS
   ========================================================================== */

.testi-track-wrap {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  padding: 12px 0;
}
.testi-track-wrap:hover .testi-track {
  animation-play-state: paused;
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.testi-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-left 40s linear infinite;
}
.testi-track--reverse {
  animation: marquee-right 40s linear infinite;
}

.testi-card {
  background: var(--surface-solid);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 26px 28px;
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: default;
}
.testi-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px -12px color-mix(in oklab, var(--accent) 18%, transparent);
}

.testi-stars {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
}

.testi-quote {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
  font-weight: 400;
  letter-spacing: -0.005em;
  position: relative;
  padding-left: 20px;
}
.testi-quote::before {
  content: "\201C";
  color: var(--accent);
  font-family: var(--f-display);
  font-size: 48px;
  line-height: 0;
  position: absolute;
  left: -4px;
  top: 12px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  display: grid;
  place-items: center;
  color: #04130c;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.testi-name {
  font-size: 13.5px;
  color: var(--fg);
  font-weight: 600;
}
.testi-role {
  font-size: 11.5px;
  color: var(--fg-muted);
  font-family: var(--f-mono);
  margin-top: 2px;
}

@media (max-width: 600px) {
  .testi-card {
    width: 280px;
    padding: 20px;
  }
}

/* Mobile: hide desktop marquee, show slider */
.testi-desktop { display: block; }
.testi-mobile  { display: none; }

@media (max-width: 700px) {
  .testi-desktop { display: none; }
  .testi-mobile  { display: block; padding-top: 16px; }
}

/* Mobile slider */
.testi-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.testi-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.4, 1);
  will-change: transform;
}
.testi-slide {
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}
.testi-slider .testi-card {
  width: 100%;
  border-radius: var(--r-xl);
  min-height: 260px;
  box-sizing: border-box;
}

/* Nav row */
.testi-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}
.testi-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #04130c;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 24px -6px var(--accent);
}
.testi-nav-btn svg {
  width: 20px;
  height: 20px;
  stroke: #04130c;
}
.testi-nav-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 32px -4px var(--accent);
}

/* Dots */
.testi-nav-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.testi-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hairline-2);
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.testi-dot--active {
  background: var(--accent);
  transform: scale(1.4);
}

/* ===================== END 12.10 TESTIMONIALS ================================ */



/* ==========================================================================
   12.12 SECTIONS — CONTACT
   ========================================================================== */

.contact {
  padding-bottom: 100px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact h2 .underline {
  background-image: linear-gradient(
    transparent 86%,
    var(--accent) 86%,
    var(--accent) 92%,
    transparent 92%
  );
  background-repeat: no-repeat;
}

.contact-clock {
  /* Inherits layout from .channel */
  cursor: default;
}
.contact-clock-face {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  position: relative;
  background: var(--surface-2);
  transition: 0.2s;
  flex-shrink: 0;
}
.channel:hover .contact-clock-face {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 4%, var(--surface-2));
}
.channel:hover .contact-clock-face .contact-clock-dot,
.channel:hover .contact-clock-face .hand-h,
.channel:hover .contact-clock-face .hand-m {
  background: var(--accent) !important;
}
.contact-clock-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--fg);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: 0.2s;
}
.contact-clock-time {
  font-family: var(--f-mono);
  font-size: 16px;
  color: var(--fg);
}
.contact-clock-loc {
  font-size: 12.5px;
  color: var(--fg-muted);
}
.contact-clock-eta {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--fg-muted);
  text-align: right;
}
.contact-clock-eta strong {
  display: block;
  color: var(--accent);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  margin-top: 2px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 32px;
}
.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left 0.25s;
  cursor: pointer;
}
.channel:hover {
  padding-left: 8px;
}
.channel:hover .ch-val {
  color: var(--accent);
}
.channel .ch-l {
  display: flex;
  align-items: center;
  gap: 14px;
}
.channel .ch-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  color: var(--fg-dim);
  transition: all 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.channel:hover .ch-icon {
  background: var(--accent);
  color: #04130c;
  border-color: var(--accent);
  transform: translateY(-2px) scale(1.05);
}
[data-theme="light"] .channel:hover .ch-icon {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.channel .ch-icon svg {
  width: 18px;
  height: 18px;
}
.channel .ch-k {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}
.channel .ch-val {
  font-size: 15px;
  color: var(--fg);
  transition: color 0.25s;
}
.channel .arrow {
  color: var(--fg-faint);
  transition:
    transform 0.25s,
    color 0.25s;
}
.channel:hover .arrow {
  transform: translate(4px, -4px);
  color: var(--accent);
}
[data-theme="light"] .channel:hover .arrow {
  color: var(--accent);
}

/* ── FORMS ── */
.form {
  background: var(--surface-solid);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field label {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.field input,
.field textarea,
.field select {
  background: var(--surface-solid);
  border: 1px solid var(--hairline);
  color: var(--fg);
  font-family: inherit;
  font-size: 14.5px;
  padding: 14px 14px;
  border-radius: var(--r-sm);
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
  width: 100%;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8efeb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 2%, var(--surface-solid));
}
.field .err {
  font-size: 12px;
  color: #ff8b8b;
  font-family: var(--f-mono);
}

.budget-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.budget-chip {
  cursor: pointer;
  position: relative;
}
.budget-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.budget-chip .chip-text {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--fg-muted);
  transition: all 0.2s;
  background: var(--surface-solid);
}
.budget-chip:hover .chip-text {
  border-color: var(--hairline-2);
  color: var(--fg);
}
.budget-chip input:checked + .chip-text {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 0 16px -4px var(--accent);
}

.submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--hairline-2);
  padding-top: 24px;
  margin-top: 8px;
}
.form-progress {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--fg-muted);
}
@media (max-width: 600px) {
  .submit-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.form .btn-primary {
  align-self: flex-start;
  padding: 14px 28px;
  background: #00ff9d;
  color: #000;
  border-radius: 999px;
  box-shadow: 0 0 40px -10px #00ff9d;
  border: none;
  font-weight: 600;
  margin-top: 0;
}
.form .btn-primary:hover {
  box-shadow: 0 0 50px -5px #00ff9d;
  transform: translateY(-2px);
}

.form-success {
  padding: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.form-success .check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  border: 1px solid var(--accent-line);
}

/* ===================== END 12.12 CONTACT ====================================== */



/* ==========================================================================
   13. COMPONENTS — BENTO FOOTER LAYOUT
   ========================================================================== */

.footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--hairline);
  padding: 64px var(--gutter) 32px;
  background: var(--bg);
}
@media (max-width: 600px) {
  .footer {
    padding: 40px var(--gutter) 24px;
  }
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .footer-bento-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.footer-left-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-card {
  background: var(--surface-solid);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 32px;
  transition:
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}
@media (max-width: 600px) {
  .footer-card {
    padding: 22px 20px;
    border-radius: 16px;
  }
}
.footer-card:hover {
  border-color: var(--hairline-2);
}

/* Card 1: Top Left Hello — CSS Grid layout */
.footer-card-hello {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title  badge"
    "desc   desc"
    "social social";
  gap: 14px 20px;
  align-items: start;
}
.footer-card-hello .footer-title-bebas {
  grid-area: title;
  margin: 0;
  align-self: center;
}
.footer-card-hello .footer-brand-badge {
  grid-area: badge;
  align-self: center;
}
.footer-card-hello .footer-desc {
  grid-area: desc;
}
.footer-card-hello .footer-social-inline {
  grid-area: social;
}
.footer-title-bebas {
  font-family: var(--f-display);
  font-size: 38px;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.footer-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-dim);
  margin: 0;
}
@media (max-width: 600px) {
  /* Hide "WELL, HELLO—" only in the hello card (not the discuss card title) */
  .footer-card-hello .footer-title-bebas {
    display: none;
  }
  /* Switch hello card to flex-column so badge sits at top-right cleanly */
  .footer-card-hello {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .footer-card-hello .footer-brand-badge {
    align-self: flex-start;
  }
  .footer-desc {
    font-size: 13px;
  }
  /* Discuss card: smaller title, keep arrow aligned center */
  .footer-card-discuss .footer-title-bebas {
    font-size: 20px;
    line-height: 1.2;
  }
  .footer-card-discuss {
    align-items: center;
  }
}

.footer-brand-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.footer-brand-badge .mark {
  width: 28px;
  height: 28px;
}
.footer-brand-badge .brand-text {
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--fg);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.footer-social-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-mini-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.25s;
}
.social-mini-link svg {
  width: 16px;
  height: 16px;
}
.social-mini-link:hover {
  background: var(--accent);
  color: #04130c;
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Card 2: Bottom Left Discuss */
.footer-card-discuss {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
}
.footer-discuss-text {
  flex: 1;
  min-width: 0;
}
.footer-subtext {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fg-dim);
  margin: 8px 0 0;
}
@media (max-width: 600px) {
  .footer-card-discuss {
    padding: 22px 20px;
    gap: 14px;
    align-items: center;
  }
  .footer-subtext {
    font-size: 12px;
  }
  .footer-arrow-circle {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
  }
  .footer-arrow-circle svg {
    width: 20px;
    height: 20px;
  }
}
.footer-arrow-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: #04130c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.3s;
  box-shadow: 0 0 24px color-mix(in oklab, var(--accent) 35%, transparent);
}
.footer-arrow-circle svg {
  width: 24px;
  height: 24px;
}
.footer-arrow-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 32px color-mix(in oklab, var(--accent) 55%, transparent);
}

/* Card 3: Right Tall Card */
.footer-card-tall {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  min-height: 320px;
}
.footer-title-huge {
  font-family: var(--f-display);
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0;
  text-transform: uppercase;
  max-width: 480px;
}
@media (max-width: 1100px) {
  .footer-title-huge {
    font-size: 38px;
  }
}
@media (max-width: 900px) {
  .footer-card-tall {
    padding: 32px;
    min-height: auto;
  }
}
@media (max-width: 600px) {
  .footer-card-tall {
    padding: 22px 20px;
  }
  .footer-title-huge {
    font-size: 26px;
    line-height: 1.08;
  }
  .footer-tall-bottom {
    margin-top: 24px;
  }
}

.footer-tall-bottom {
  margin-top: 40px;
}
.footer-inline-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 14.5px;
  color: var(--fg-dim);
}
.start-here-tag {
  font-weight: 700;
  color: var(--fg);
  font-size: 15px;
}
.dot-sep {
  color: var(--fg-muted);
  font-size: 12px;
}
.footer-inline-nav a {
  color: var(--fg-dim);
  transition:
    color 0.2s,
    transform 0.2s;
  font-weight: 400;
}
.footer-inline-nav a:hover {
  color: var(--accent);
}
@media (max-width: 600px) {
  .footer-inline-nav {
    font-size: 13px;
    gap: 6px 10px;
  }
  .start-here-tag {
    font-size: 13px;
    width: 100%;
    margin-bottom: 4px;
  }
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  margin-top: 8px;
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--f-mono);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-bar .copy-text,
.footer-bottom-bar .privacy-text {
  color: var(--fg-muted);
  text-align: center;
}
@media (max-width: 600px) {
  .footer-bottom-bar {
    font-size: 11.5px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding-top: 18px;
  }
}

/* Light Theme Overrides for Footer Cards */
[data-theme="light"] .footer-card {
  background: var(--surface-solid);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .footer-card:hover {
  border-color: rgba(0, 0, 0, 0.16);
}
[data-theme="light"] .social-mini-link {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--fg);
}
[data-theme="light"] .social-mini-link:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
[data-theme="light"] .footer-arrow-circle {
  background: var(--accent);
  color: #fff;
}

/* ===================== END 13. COMPONENTS — BENTO FOOTER ====================== */

/* ==========================================================================
   13. COMPONENTS — BACK TO TOP
   ========================================================================== */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--fg);
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transform: translateY(80px) scale(0.8);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.to-top:hover {
  background: var(--accent);
  color: #04130c;
  border-color: var(--accent);
  box-shadow: 0 10px 30px -10px rgba(74, 222, 154, 0.5);
}
[data-theme="light"] .to-top:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.to-top.show {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.to-top:hover {
  transform: translateY(-2px);
}
/* On mobile keep on RIGHT side */
@media (max-width: 600px) {
  .to-top {
    right: 20px;
    left: auto;
    bottom: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ===================== END 13. COMPONENTS — BACK TO TOP ======================= */

/* ==========================================================================
   13. COMPONENTS — SECTION DIVIDER
   ========================================================================== */

.divider {
  position: relative;
  height: 1px;
  background: var(--hairline);
  margin: 0 var(--gutter);
}
.divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80px;
  height: 1px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

/* ===================== END 13. COMPONENTS — SECTION DIVIDER =================== */

/* ==========================================================================
   15. HELPERS — RESPONSIVE REFINEMENTS & MOBILE OPTIMIZATIONS
   ========================================================================== */

/* Extra small screens & mobile viewports (<= 600px) */
@media (max-width: 600px) {
  /* Form & Card padding adjustments for small viewports */
  .form {
    padding: 20px;
  }
  .skill-cat,
  .svc {
    padding: 20px;
  }

  /* On small mobile screens, hide 'Hire me' button in header to keep navbar spacious */
  .nav-cta .btn-primary {
    display: none;
  }
}

/* Light Mode component overrides */
[data-theme="light"] .bg-fx {
  background:
    radial-gradient(
      800px 500px at 85% -10%,
      rgba(5, 150, 105, 0.1),
      transparent 60%
    ),
    radial-gradient(
      600px 400px at 5% 30%,
      rgba(5, 150, 105, 0.08),
      transparent 60%
    ),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
[data-theme="light"] .card {
  box-shadow: 0 4px 20px -2px rgba(10, 25, 18, 0.05);
}
[data-theme="light"] .card:hover {
  box-shadow:
    0 16px 36px -8px rgba(10, 25, 18, 0.1),
    0 0 0 1px var(--accent-line) inset;
}
[data-theme="light"] .nav.scrolled .nav-inner {
  background: rgba(248, 250, 248, 0.88);
  border-color: var(--hairline-2);
  box-shadow: 0 10px 30px -16px rgba(10, 25, 18, 0.08);
}
[data-theme="light"] .btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 6px 20px -6px rgba(5, 150, 105, 0.4);
}
[data-theme="light"] .btn-primary:hover {
  background: #047857;
  box-shadow: 0 10px 28px -6px rgba(5, 150, 105, 0.5);
}
[data-theme="light"] .field input,
[data-theme="light"] .field textarea,
[data-theme="light"] .field select {
  background: #ffffff;
  border-color: var(--hairline-2);
}
[data-theme="light"] .field input:focus,
[data-theme="light"] .field textarea:focus,
[data-theme="light"] .field select:focus {
  background: #ffffff;
  border-color: var(--accent);
}

/* Ultra-compact mobile screens (<= 480px) */
@media (max-width: 480px) {
  /* Nav buttons spacing on tiny screens */
  .nav-inner {
    padding: 8px 12px;
  }
  .nav-brand .name {
    font-size: 14px;
  }

  /* About section rows stack cleanly */
  .about-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  /* Timeline spacing refinement */
  .timeline {
    padding-left: 20px;
  }
  .tl-item {
    padding: 0 0 40px 16px;
  }
  .tl-item::before {
    left: -17px;
    top: 6px;
    width: 10px;
    height: 10px;
  }
}

/* ===================== END 15. HELPERS — RESPONSIVE REFINEMENTS =============== */

/* ==========================================================================
   03. UTILITY CLASSES (Extracted from inline HTML styles)
   ========================================================================== */

.chip-subtitle {
  color: var(--fg-muted);
  font-size: 11px;
}
.mt-16 {
  margin-top: 16px;
}
.mt-18 {
  margin-top: 18px;
}
.mt-24 {
  margin-top: 24px;
}
.m-0 {
  margin: 0;
}
.text-fg {
  color: var(--fg);
}
.text-accent {
  color: var(--accent);
}
.text-dark {
  color: #04130c;
}
.text-lg {
  font-size: 18px;
}
.flex-1 {
  flex: 1;
}
.contact-sub {
  margin-top: 18px;
  font-size: 17px;
}
.success-msg {
  text-align: center;
  max-width: 320px;
}
.footer-social-wrap {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.d-none {
  display: none !important;
}
.is-hidden {
  display: none !important;
}

/* ===================== END 03. UTILITY CLASSES ================================ */
