/* ═══════════════════════════════════════
   ROOT & RESET
═══════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --orange: #FF5E1A;
  --orange-light: #FF7A40;
  --orange-glow: rgba(255, 94, 26, 0.18);
  --orange-soft: rgba(255, 94, 26, 0.08);
  --white: #FFFFFF;
  --off: #FAFAF8;
  --grey: #F4F2EE;
  --text: #0D0D0D;
  --text-2: #3A3A3A;
  --text-3: #888;
  --glass: rgba(255, 255, 255, 0.72);
  --border: rgba(0, 0, 0, 0.07);
  --shadow: 0 12px 48px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.13);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-accent: 'Playfair Display', serif;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  body.dark {
  --white: #0D0D0D;
  --off: #111111;
  --grey: #1a1a1a;

  --text: #ffffff;
  --text-2: #d1d1d1;
  --text-3: #888;

  --glass: rgba(20, 20, 20, 0.7);
  --border: rgba(255, 255, 255, 0.08);

  --shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.8);
}
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* ═══════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 4px; }

/* ═══════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════ */
#cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, background 0.3s;
}

#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-smooth), width 0.4s, height 0.4s, border-color 0.3s, opacity 0.3s;
  opacity: 0.6;
}

body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
  width: 52px;
  height: 52px;
  opacity: 1;
  border-color: var(--orange);
}

/* ═══════════════════════════════════════
   LOADER
═══════════════════════════════════════ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--text);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

#loader.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
}

.loader-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  overflow: hidden;
}

.loader-logo span { color: var(--orange); }

.loader-bar {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 2px;
  animation: load 1.8s var(--ease-smooth) forwards;
}

@keyframes load {
  0%   { width: 0%; }
  60%  { width: 70%; }
  100% { width: 100%; }
}

.loader-text {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 1; }
}

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: black;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--orange); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: white;
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0;
  height: 1.5px;
  background: var(--orange);
  transition: width 0.3s var(--ease-spring);
}

.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  cursor: none;
  letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  text-decoration: none;
  display: inline-block;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(255, 94, 26, 0.38);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ═══════════════════════════════════════
   MOBILE MENU
═══════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.97);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-smooth);
}

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

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.04em;
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--orange); }

.mobile-close {
  position: absolute;
  top: 24px; right: 5%;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: none;
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 94, 26, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(255, 94, 26, 0.08);
  top: -120px; right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px; height: 300px;
  background: rgba(255, 94, 26, 0.05);
  bottom: 0; left: -60px;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.04); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--orange-soft);
  border: 1px solid rgba(255, 94, 26, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 36px;
  animation: fadeUp 0.8s var(--ease-smooth) both;
  animation-delay: 0.1s;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  text-align: center;
  color: var(--text);
  max-width: 900px;
  animation: fadeUp 0.8s var(--ease-smooth) both;
  animation-delay: 0.25s;
}

.hero-title .orange { color: var(--orange); }
.hero-title .italic {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 0.9em;
}

.hero-subtitle {
  margin-top: 28px;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-3);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 480px;
  line-height: 1.7;
  animation: fadeUp 0.8s var(--ease-smooth) both;
  animation-delay: 0.4s;
}

.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
  animation: fadeUp 0.8s var(--ease-smooth) both;
  animation-delay: 0.5s;
}

.hero-tag {
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--grey);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.03em;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 48px;
  animation: fadeUp 0.8s var(--ease-smooth) both;
  animation-delay: 0.6s;
}

.btn-primary {
  padding: 16px 36px;
  border-radius: 100px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  cursor: none;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(255, 94, 26, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 36px rgba(255, 94, 26, 0.45);
}

.btn-primary svg { transition: transform 0.3s var(--ease-spring); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  padding: 16px 28px;
  border-radius: 100px;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  cursor: none;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease-spring);
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 70px;
  animation: fadeUp 0.8s var(--ease-smooth) both;
  animation-delay: 0.75s;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
}

.stat-num span { color: var(--orange); }

.stat-label {
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeUp 1s var(--ease-smooth) both;
  animation-delay: 1s;
}

.hero-scroll span {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ═══════════════════════════════════════
   SHARED SECTION STYLES
═══════════════════════════════════════ */
section { padding: 110px 5%; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--orange);
}

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text);
  max-width: 700px;
}

h2.section-title .orange { color: var(--orange); }
h2.section-title .italic {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95em;
}

.orange-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.25;
}

/* Reveal on scroll */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
#about { background: var(--off); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}

.about-visual { position: relative; }

.about-card {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #FF5E1A, #FF9A6C);
  aspect-ratio: 3/4;
  max-width: 380px;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.45));
}

.about-card-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.about-card-text span {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 100;
  font-size: 0.7em;
  opacity: 0.8;
}


.afb-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.04em;
}

.afb-txt {
  font-size: 0.72rem;
  color: var(--text-3);
  font-weight: 500;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 20px;
  font-weight: 400;
}

.about-text p strong {
  color: var(--text);
  font-weight: 600;
}

.about-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.result-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.ri-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ri-text {
  font-size: 0.88rem;
  color: var(--text-2);
  font-weight: 500;
  line-height: 1.4;
}

.ri-text strong {
  color: var(--text);
  font-weight: 700;
  display: block;
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════ */
#portfolio { background: var(--white); }

.port-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}

.category-tabs {
  display: flex;
  gap: 6px;
  background: var(--grey);
  border-radius: 100px;
  padding: 5px;
}

.cat-tab {
  padding: 10px 22px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-3);
  background: transparent;
  border: none;
  cursor: none;
  transition: all 0.35s var(--ease-spring);
  letter-spacing: 0.02em;
}

.cat-tab.active {
  background: var(--white);
  color: var(--orange);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  transition: all 0.5s var(--ease-smooth);
}

/* ── Port Card Base ── */
.port-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--grey);
  aspect-ratio: 16/10;
  cursor: none;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}

.port-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.port-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s var(--ease-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.port-card:hover .port-card-bg { transform: scale(1.06); }

.port-card-visual {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: transform 0.5s;
}

.port-card:hover .port-card-visual { transform: scale(1.1); }

/* Before / After */
.ba-container {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
}

.ba-before, .ba-after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.ba-before {
  background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
  color: #bbb;
  letter-spacing: -0.05em;
  clip-path: polygon(0 0, 60% 0, 60% 100%, 0 100%);
  transition: clip-path 0.4s var(--ease-smooth);
}

.ba-after {
  background: linear-gradient(135deg, #FF5E1A, #FF9A6C);
  color: rgba(255,255,255,0.9);
  transition: clip-path 0.4s var(--ease-smooth);
}

.ba-label {
  position: absolute;
  top: 14px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
}

.ba-label.before { left: 14px; background: rgba(255,255,255,0.85); color: var(--text-3); }
.ba-label.after  { right: 14px; background: var(--orange); color: #fff; }

.port-card:hover .ba-before {
  clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%);
}

/* Blur Reveal */
.blur-container {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
}

.blur-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #fff;
}

.blur-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: backdrop-filter 0.5s var(--ease-smooth), opacity 0.4s;
  background: rgba(255, 255, 255, 0.2);
}

.port-card:hover .blur-overlay {
  backdrop-filter: blur(0px);
  opacity: 0;
}

.blur-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* Card Overlay */
.port-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}

.port-card:hover .port-card-overlay { opacity: 1; }

.poc-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}

.poc-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.poc-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* Featured card */
.port-card.featured {
  grid-column: span 2;
  aspect-ratio: 21/9;
}

/* Case Study Card */
.case-card {
  grid-column: span 2;
  border-radius: 24px;
  overflow: hidden;
  background: var(--grey);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: box-shadow 0.4s;
}

.case-card:hover { box-shadow: var(--shadow-lg); }

.case-visual {
  background: linear-gradient(135deg, #FF5E1A 0%, #FFB347 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  padding: 48px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.case-visual-text {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4rem;
  color: rgba(255,255,255,0.12);
  letter-spacing: -0.06em;
  line-height: 1;
}

.case-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.cs-num {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--orange);
  flex-shrink: 0;
}

.cs-body h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.cs-body p {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.5;
}

.case-result {
  display: flex;
  gap: 20px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.cr-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.04em;
}

.cr-lbl {
  font-size: 0.7rem;
  color: var(--text-3);
  font-weight: 500;
}

/* ═══════════════════════════════════════
   SKILLS
═══════════════════════════════════════ */
#skills {
  background: #0D0D0D;
  color: #fff;
}     

#skills .section-label { color: var(--orange); }
#skills h2.section-title { color: #fff; }
#skills h2.section-title .orange { color: var(--orange); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.skill-card {
  border-radius: 20px;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: transform 0.4s var(--ease-spring), background 0.3s, border-color 0.3s;
}

.skill-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, var(--orange-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.skill-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 94, 26, 0.08);
  border-color: rgba(255, 94, 26, 0.25);
}

.skill-card:hover::before { opacity: 1; }

.skill-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  display: block;
  transition: transform 0.3s var(--ease-spring);
}

.skill-card:hover .skill-icon { transform: scale(1.15) rotate(-3deg); }

.skill-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.skill-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.skill-bar-wrap { margin-top: 20px; }

.skill-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.35);
}

.skill-bar {
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  width: 0;
  transition: width 1.2s var(--ease-smooth);
}

.skill-card.visible .skill-bar-fill { width: var(--w); }

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
#services { background: var(--off); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.service-card {
  border-radius: 24px;
  padding: 38px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s, border-color 0.4s;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 94, 26, 0.2);
}

.service-card:hover::before { opacity: 1; }

.service-card.featured-service {
  border-color: var(--orange);
  background: linear-gradient(135deg, #FF5E1A, #FF8C50);
  color: #fff;
}

.service-card.featured-service .sc-label,
.service-card.featured-service .tier,
.service-card.featured-service .tier-price,
.service-card.featured-service .tier-name,
.service-card.featured-service .sc-icon { color: #fff; }

.service-card.featured-service .tier { border-color: rgba(255,255,255,0.2); }
.service-card.featured-service .sc-badge { background: rgba(255,255,255,0.2); color: #fff; }
.service-card.featured-service::before { display: none; }

.sc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.sc-icon { font-size: 1.8rem; color: var(--orange); }

.sc-badge {
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--orange-soft);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

.sc-label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.tier:last-of-type { border: none; }

.tier-name {
  font-size: 0.83rem;
  color: var(--text-2);
  font-weight: 500;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.sc-custom {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-3);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-card.featured-service .sc-custom { color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
#contact {
  background: #0D0D0D;
  color: #fff;
  text-align: center;
}

#contact .section-label {
  color: var(--orange);
  justify-content: center;
}

#contact h2.section-title {
  max-width: none;
  text-align: center;
  color: #fff;
  margin: 0 auto;
}

.contact-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 18px;
  line-height: 1.7;
}

.contact-cards {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 52px;
  flex-wrap: wrap;
}

.contact-card {
  border-radius: 20px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  flex: 0 0 220px;
  cursor: none;
  transition: transform 0.3s var(--ease-spring), background 0.3s;
  text-decoration: none;
}

.contact-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 94, 26, 0.1);
  border-color: rgba(255, 94, 26, 0.3);
}

.cc-icon { font-size: 1.5rem; margin-bottom: 12px; display: block; }

.cc-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 6px;
}

.cc-val {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.contact-cta {
  margin-top: 52px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 48px;
  border-radius: 100px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: none;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 32px rgba(255, 94, 26, 0.4);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.contact-cta:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 48px rgba(255, 94, 26, 0.55);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: #0D0D0D;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.footer-logo span { color: var(--orange); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════
   ANIMATIONS (inline style ones)
═══════════════════════════════════════ */
@keyframes featShimmer {
  0%   { opacity: 0.5; }
  50%  { opacity: 1; }
  100% { opacity: 0.5; }
}

@keyframes rotateConic {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .about-grid       { grid-template-columns: 1fr; gap: 48px; }
  .about-card       { max-width: 100%; aspect-ratio: 2/1; }
  .skills-grid      { grid-template-columns: repeat(2, 1fr); }
  .services-grid    { grid-template-columns: 1fr; }
  .port-card.featured { grid-column: span 1; aspect-ratio: 16/10; }
  .case-card        { grid-column: span 1; grid-template-columns: 1fr; display: block; }
  .case-visual      { display: none; }
  .hero-stats       { gap: 28px; }
}

@media (max-width: 680px) {
  nav               { padding: 16px 5%; }
  .nav-links        { display: none; }
  .hamburger        { display: flex; }
  .skills-grid      { grid-template-columns: 1fr 1fr; }
  .contact-cards    { flex-direction: column; align-items: center; }
  .contact-card     { flex: none; width: 100%; max-width: 300px; }
  .hero-stats       { gap: 20px; }
  .stat-num         { font-size: 1.5rem; }
  .portfolio-grid   { grid-template-columns: 1fr; }
}
.theme-toggle {
  margin-left: 16px;
  background: var(--grey);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 50%;
  font-size: 14px;
  cursor: none;
  transition: 0.3s;
}

.theme-toggle:hover {
  transform: scale(1.1);
}