/* -------------------------------------------------------------
   DIV VORA PORTFOLIO — FRAMER ENGINE & DESIGN SYSTEM
   Exact 1:1 Framer aesthetics, physics, and interactions.
   ------------------------------------------------------------- */

:root {
  /* Warm Alabaster Framer Palette */
  --bg-primary: #faf7f3;
  --bg-surface: #ffffff;
  --bg-island: #111111;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-hover: #ffffff;

  /* Typography Colors */
  --text-primary: #111111;
  --text-secondary: rgba(17, 17, 17, 0.65);
  --text-muted: rgba(17, 17, 17, 0.42);
  --text-on-dark: #faf7f3;

  /* Hairline Borders & Accents */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.15);
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(0, 0, 0, 0.16);
  --accent: #111111;
  --accent-pink: #eb4d6d;
  --accent-green: #10b981;

  /* Fonts */
  --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Easing & Timing */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --transition-fast: 0.25s var(--ease-spring);
  --transition-smooth: 0.5s var(--ease-spring);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Lenis Smooth Scroll Rules */
html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
  background-color: var(--bg-primary);
  min-height: 100vh;
}

/* Subtle Film Grain Texture Overlay */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url('assets/images/rR6HYXBrMmX4cRpXfXUOvpvpB0.png');
  background-repeat: repeat;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* -------------------------------------------------------------
   ROLLING TEXT HOVER PLUGIN
   Exact character-split rolling physics with spring ease
   ------------------------------------------------------------- */
.rolling-text {
  display: inline-flex;
  overflow: hidden;
  vertical-align: middle;
  line-height: 1.2em;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  user-select: none;
}

.rt-wrapper {
  display: inline-flex;
  overflow: hidden;
  line-height: 1.2em;
}

.rt-char {
  display: inline-block;
  position: relative;
  line-height: 1.2em;
  will-change: transform;
  transform: translateY(0%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--char-index, 0) * 22ms);
}

.rt-char::after {
  content: attr(data-char);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  color: inherit;
  line-height: 1.2em;
}

/* Trigger rolling text on hover of parent button, card, or link */
a:hover .rt-char,
button:hover .rt-char,
.btn-pill:hover .rt-char,
.island-cta-pill:hover .rt-char,
.menu-link:hover .rt-char,
.service-item:hover .rt-char,
.project-card:hover .rt-char,
.thought-card:hover .rt-char,
.scroll-cue:hover .rt-char,
.rolling-text:hover .rt-char {
  transform: translateY(-100%);
}

/* -------------------------------------------------------------
   DYNAMIC ISLAND CAPSULE NAVBAR
   ------------------------------------------------------------- */
.header-container {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
  padding: 0 20px;
  pointer-events: none;
}

.nav-island {
  pointer-events: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-island);
  color: var(--text-on-dark);
  border-radius: 9999px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: border-radius 0.4s var(--ease-spring), width 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.island-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 8px 6px 20px;
  height: 48px;
  min-width: 220px;
}

.island-brand {
  text-decoration: none;
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.island-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.island-cta-pill {
  text-decoration: none;
  background: rgba(250, 247, 243, 0.15);
  color: var(--text-on-dark);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 9999px;
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.island-cta-pill:hover {
  background: var(--text-on-dark);
  color: var(--text-primary);
}

.island-toggle {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--text-on-dark);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.island-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
}

.toggle-dots {
  display: flex;
  gap: 3px;
  align-items: center;
}

.toggle-dots .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.toggle-close {
  display: none;
  font-size: 14px;
  font-weight: 700;
}

/* Island Menu Open State */
.nav-island.open {
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.nav-island.open .toggle-dots {
  display: none;
}

.nav-island.open .toggle-close {
  display: block;
}

.island-menu {
  display: none;
  width: 100%;
  min-width: 260px;
  padding: 8px 16px 18px;
}

.nav-island.open .island-menu {
  display: block;
  animation: islandFadeDown 0.3s var(--ease-spring) forwards;
}

@keyframes islandFadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.island-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.menu-link {
  text-decoration: none;
  color: rgba(250, 247, 243, 0.75);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 12px;
  transition: var(--transition-fast);
}

.menu-link:hover,
.menu-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.menu-link.menu-cta {
  background: var(--text-on-dark);
  color: var(--text-primary);
  font-weight: 600;
  text-align: center;
  margin-top: 6px;
}

.menu-link.menu-cta:hover {
  background: #ffffff;
}

/* -------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-container {
  width: 100%;
  max-width: 1320px;
  min-height: calc(100vh - 140px);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.6;
  }
}

/* Typography-Focused Hero Stage */
.hero-content-stage {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
  margin: auto 0;
  user-select: none;
}

.hero-text-wrap {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

/* Staggered CSS Entrance Keyframes */
@keyframes heroFadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-headline {
  font-family: var(--font-display, 'Archivo', sans-serif);
  font-size: clamp(3.2rem, 7.8vw, 6.4rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--text-primary, #111111);
  margin: 0 0 24px 0;
  text-align: center;
  width: 100%;
  opacity: 0;
  animation: heroFadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subheadline {
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, "Inter", sans-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 450;
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--text-secondary, #4b5563);
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  animation: heroFadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

/* 3D Chrome Floating Ornaments */
.hero-symbol {
  position: absolute;
  z-index: 1;
  pointer-events: auto;
  will-change: transform;
}

.hero-symbol.symbol-left {
  left: 5%;
  top: 25%;
  width: clamp(65px, 7vw, 110px);
}

.hero-symbol.symbol-right {
  right: 5%;
  top: 32%;
  width: clamp(60px, 6.5vw, 100px);
}

.floating-3d {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
  animation: floatOrb 5s ease-in-out infinite alternate;
}

.symbol-right .floating-3d {
  animation-duration: 6s;
  animation-delay: -2s;
}

@keyframes floatOrb {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-14px) rotate(4deg);
  }
}

/* Hero Sub-Bar */
.hero-footer-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 20px;
}

.hero-footer-col {
  display: flex;
  flex-direction: column;
}

.hero-footer-col.right-col {
  text-align: right;
}

.label-mono {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.sub-mono {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-secondary);
}

.cue-mouse {
  width: 20px;
  height: 32px;
  border: 2px solid var(--text-primary);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.cue-wheel {
  width: 3px;
  height: 6px;
  background: var(--text-primary);
  border-radius: 2px;
  animation: mouseWheel 1.8s infinite ease-in-out;
}

@keyframes mouseWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}

.cue-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

/* -------------------------------------------------------------
   BIO / ABOUT ME SECTION
   ------------------------------------------------------------- */
.bio-section {
  padding: 140px 0 100px;
  position: relative;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.bio-greeting {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.bio-lead {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
}

.bio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.bio-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.skills-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.chip {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.chip:hover {
  background: var(--text-primary);
  color: var(--text-on-dark);
}

/* -------------------------------------------------------------
   MANIFESTO / CREED SECTION (ScrollTrigger Word Fill)
   ------------------------------------------------------------- */
.quote-section {
  padding: 140px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}

/* Word fill effect applied dynamically by JS */
.manifesto-word {
  display: inline-block;
  color: rgba(17, 17, 17, 0.15);
  transition: color 0.15s ease, opacity 0.15s ease;
  will-change: color, opacity;
}

/* -------------------------------------------------------------
   SERVICES SECTION
   ------------------------------------------------------------- */
.services-section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-top: 8px;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  position: relative;
  border-top: 1px solid var(--border-subtle);
  padding: 44px 0;
  display: grid;
  grid-template-columns: 320px 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  transition: var(--transition-smooth);
}

.service-item:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.5);
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 16px;
}

.service-meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.service-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* -------------------------------------------------------------
   FEATURED PROJECTS SECTION
   ------------------------------------------------------------- */
.projects-section {
  padding: 120px 0;
  position: relative;
}

.projects-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: var(--text-primary);
  color: var(--text-on-dark);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 9999px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
}

.arrow-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn-pill:hover .arrow-icon {
  transform: translate(2px, -2px);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.project-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.09);
  border-color: var(--border-strong);
}

.project-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eae5de;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-spring);
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-badge-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  pointer-events: none;
}

.project-pill-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(8px);
  color: #faf7f3;
}

.project-info {
  padding: 28px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-image-link {
  display: block;
  text-decoration: none;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-image-link:hover .project-img {
  transform: scale(1.05);
}

/* Interactive Live Badge */
.project-live-badge-wrap {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  pointer-events: auto;
}

.project-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(10, 25, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(52, 211, 153, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 12px rgba(16, 185, 129, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}

.project-live-badge:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: rgba(52, 211, 153, 0.85);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35), 0 0 18px rgba(16, 185, 129, 0.55);
  transform: translateY(-2px) scale(1.03);
}

.live-badge-arrow {
  font-size: 0.75rem;
  color: #34d399;
  transition: transform 0.25s ease;
}

.project-live-badge:hover .live-badge-arrow {
  transform: translate(1px, -1px);
  color: #ffffff;
}

.live-dot-container {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  align-items: center;
  justify-content: center;
}

.live-dot-ping {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #22c55e;
  opacity: 0.75;
  animation: livePing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.live-dot-core {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

@keyframes livePing {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  70%, 100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.live-badge-text {
  font-family: var(--font-display, -apple-system, BlinkMacSystemFont, "Inter", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ecfdf5;
  line-height: 1;
}

.project-title-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
}

.project-title-link:hover .project-title {
  color: #000000;
}

.project-live-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  transition: all var(--transition-fast);
}

.project-live-link:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: #ffffff;
  transform: translateY(-1px);
}

.project-live-link:hover .project-arrow-icon {
  color: var(--text-primary);
  transform: translate(2px, -2px);
}

.project-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.project-arrow-icon {
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.project-card:hover .project-arrow-icon {
  color: var(--text-primary);
  transform: translate(3px, -3px);
}

.project-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* -------------------------------------------------------------
   THOUGHTS & INSIGHTS SECTION
   ------------------------------------------------------------- */
.thoughts-section,
.blueprint-section {
  padding: 130px 0 120px;
  position: relative;
}

.blueprint-header {
  margin-bottom: 56px;
  max-width: 900px;
}

.blueprint-tagline-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.blueprint-badge {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 11px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-subtle);
}

.blueprint-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 6px 0 16px 0;
}

.blueprint-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 450;
  line-height: 1.5;
  color: var(--text-secondary);
  letter-spacing: -0.015em;
  margin: 0;
}

/* 3-Column Infographic Grid */
.thoughts-grid,
.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

/* Infographic / Manifesto Card */
.blueprint-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  padding: 36px 32px 30px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.blueprint-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.05), rgba(17, 17, 17, 0.25), rgba(17, 17, 17, 0.05));
  opacity: 0.6;
  transition: opacity 0.4s ease, height 0.4s ease, background 0.4s ease;
}

.blueprint-card:hover {
  transform: translateY(-8px);
  border-color: rgba(17, 17, 17, 0.25);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.blueprint-card:hover .blueprint-card-glow {
  opacity: 1;
  height: 4px;
  background: linear-gradient(90deg, #111111, #444444, #111111);
}

/* Card Top Metadata & Step Pill */
.blueprint-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.blueprint-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(17, 17, 17, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.blueprint-step-pill .step-idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-primary);
  color: var(--bg-surface);
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
}

.blueprint-step-pill .step-name {
  text-transform: uppercase;
}

/* Icon Box */
.blueprint-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #111111;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, color 0.35s ease;
}

.blueprint-card:hover .blueprint-icon-box {
  transform: scale(1.08) rotate(-2deg);
  background: #000000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Content Area */
.blueprint-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blueprint-heading {
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.bp-subject {
  color: var(--text-primary);
}

.bp-operator {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1.35rem;
  padding: 0 2px;
}

.bp-value {
  color: #111111;
  position: relative;
  white-space: nowrap;
}

.bp-value::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 0;
  height: 2px;
  background: var(--text-primary);
  transition: width 0.35s ease;
}

.blueprint-card:hover .bp-value::after {
  width: 100%;
}

.blueprint-body {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 28px 0;
  font-weight: 400;
}

/* Card Footer & Micro Outcome Chip */
.blueprint-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px dashed var(--border-subtle);
  margin-top: auto;
}

.blueprint-impact-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.impact-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.blueprint-step-arrow {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.blueprint-card:hover .blueprint-step-arrow {
  transform: translateX(4px);
  color: var(--text-primary);
}

.blueprint-step-arrow.bp-finish {
  font-size: 0.95rem;
  color: #f59e0b;
}

.blueprint-card:hover .blueprint-step-arrow.bp-finish {
  transform: scale(1.2) rotate(8deg);
}

/* -------------------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------------------- */
.contact-section {
  padding: 140px 0 100px;
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

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

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
}

.contact-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
}

.direct-email-box {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.email-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.email-link {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.email-link:hover {
  color: var(--accent-pink);
}

.social-links-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--text-primary);
  color: var(--text-on-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.contact-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 44px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

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

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: #faf7f3;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--text-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.submit-btn {
  width: 100%;
  padding: 16px 24px;
  background: var(--text-primary);
  color: var(--text-on-dark);
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.submit-btn:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* -------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding: 120px 0 40px;
  overflow: hidden;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-top {
  margin-bottom: 70px;
}

.footer-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 80px;
}

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

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--accent-pink);
}

.footer-text-loc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Giant SVG Backdrop Watermark */
.footer-watermark {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(14rem, 30vw, 32rem);
  font-weight: 900;
  color: rgba(17, 17, 17, 0.035);
  letter-spacing: -0.05em;
  line-height: 0.8;
  pointer-events: none;
  z-index: 1;
  user-select: none;
  white-space: nowrap;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
   CASE STUDY / WORK DETAIL PAGES
   ------------------------------------------------------------- */
.work-detail-hero {
  padding-top: 130px;
  padding-bottom: 60px;
}

.work-back-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 36px;
  transition: all var(--transition-fast);
}

.work-back-nav:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  transform: translateX(-4px);
}

.work-title-wrap {
  margin-bottom: 44px;
}

.work-title-wrap .section-tag {
  display: inline-block;
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.work-page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.work-page-lead {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 860px;
}

/* Metadata Grid */
.work-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}

.work-meta-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--transition-fast);
}

.work-meta-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.03);
}

.work-meta-label {
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.work-meta-value {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

/* Hero Media */
.work-hero-media {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.06);
  margin-bottom: 80px;
}

.work-hero-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Work Narrative Sections */
.work-section {
  padding: 70px 0;
  border-top: 1px solid var(--border-subtle);
}

.work-section-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}

.work-section-aside {
  position: sticky;
  top: 100px;
}

.work-section-num {
  display: inline-block;
  font-family: monospace;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.work-section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--text-primary);
}

.work-section-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.work-section-lead {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
}

.work-p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Highlight Card */
.work-highlight-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--text-primary);
  border-radius: 16px;
  padding: 28px 32px;
  margin-top: 12px;
}

.work-highlight-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.work-highlight-text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* Feature Grid (2-columns) */
.work-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.work-feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 26px;
  transition: all var(--transition-fast);
}

.work-feature-box:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.03);
}

.work-feature-box h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.work-feature-box p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Showcase Box Media */
.work-showcase-box {
  width: 100%;
  margin: 60px 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.work-showcase-box img {
  width: 100%;
  height: auto;
  display: block;
}

.work-showcase-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Next Works Section */
.next-works-section {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-subtle);
}

.next-works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .bio-grid,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .thoughts-grid,
  .blueprint-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blueprint-card {
    min-height: auto;
    padding: 30px 24px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content-stage {
    padding: 30px 0;
  }

  .hero-headline {
    font-size: clamp(2.4rem, 9.5vw, 3.8rem);
    line-height: 1.08;
    margin-bottom: 16px;
  }

  .hero-subheadline {
    font-size: clamp(1.05rem, 4.2vw, 1.25rem);
    line-height: 1.5;
  }

  .hero-symbol {
    display: none;
  }

  .projects-grid,
  .thoughts-grid,
  .blueprint-grid {
    grid-template-columns: 1fr;
  }

  .projects-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .contact-form {
    padding: 28px 20px;
  }

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

  .work-section-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .work-section-aside {
    position: static;
  }

  .work-feature-grid {
    grid-template-columns: 1fr;
  }

  .work-showcase-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .next-works-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 520px) {
  .work-meta-grid {
    grid-template-columns: 1fr;
  }

  .blueprint-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .blueprint-heading {
    font-size: 1.3rem;
  }
}
