@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #080808;
  --bg-surface: #0f0f12;
  --bg-card: #121216;
  --bg-card-hover: #17171d;
  --text: #f5f5f5;
  --text-secondary: #c4c4c8;
  --muted: #858585;
  --muted-dark: #525252;
  --border: #202024;
  --border-hover: #38383e;
  --border-accent: rgba(226, 253, 82, 0.35);
  --accent: #e2fd52;
  --accent-glow: rgba(226, 253, 82, 0.12);
  --accent-text: #080808;

  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-width: 1200px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;

  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Background Subtle Ambience */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 600px;
  background: radial-gradient(circle at 50% -10%, rgba(226, 253, 82, 0.04) 0%, rgba(8, 8, 8, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Typography Presets */
h1, h2, h3, h4 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

/* Accessible Focus States */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--accent);
  color: var(--accent-text);
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  z-index: 1000;
  border-radius: var(--radius-sm);
}

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

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 5vw, 40px);
  padding-right: clamp(20px, 5vw, 40px);
}

/* Grid System */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

/* Section Common Styling */
section {
  position: relative;
  z-index: 1;
  padding-top: clamp(60px, 10vw, 120px);
  padding-bottom: clamp(60px, 10vw, 120px);
  border-top: 1px solid var(--border);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.section-label .num {
  color: var(--accent);
  font-weight: 700;
}

.section-label .divider {
  width: 28px;
  height: 1px;
  background: var(--border-hover);
}

/* -------------------------------------------------------------
   1. NAVIGATION
------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-title {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-handle {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  transition: color var(--transition-fast);
}

.brand:hover .brand-handle {
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

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

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

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

.mobile-menu-btn {
  display: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  padding: 8px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

/* Mobile Drawer */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(16px);
  padding: 32px 24px;
  flex-direction: column;
  justify-content: space-between;
  z-index: 99;
}

.mobile-nav-overlay.is-active {
  display: flex;
}

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

.mobile-nav-links a {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
}

.mobile-nav-links a:hover {
  color: var(--accent);
}

/* -------------------------------------------------------------
   2. HERO SECTION
------------------------------------------------------------- */
#hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 40px;
  border-top: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  margin-top: auto;
  margin-bottom: auto;
}

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

.hero-headline {
  font-size: clamp(42px, 7.5vw, 84px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-headline span {
  display: block;
}

.hero-headline .accent-word {
  color: var(--accent);
}

.hero-identity {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 2px;
}

.hero-name-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.hero-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-handle {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-roles {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.hero-roles span {
  color: var(--muted-dark);
  margin: 0 4px;
}

.hero-statement {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.55;
  border-left: 2px solid var(--border-hover);
  padding-left: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

/* Primary and Secondary Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: #d4f23b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(226, 253, 82, 0.2);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
  transform: translateY(-2px);
}

/* Hero Visual Box */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  transition: border-color var(--transition-normal);
}

.hero-visual-frame:hover {
  border-color: var(--border-accent);
}

.hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}

.hero-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.scroll-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  transition: color var(--transition-fast);
}

.scroll-indicator:hover {
  color: var(--accent);
}

/* -------------------------------------------------------------
   3. ABOUT SECTION
------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: start;
}

.about-left h2 {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 24px;
}

.about-statement {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.02em;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-right p {
  font-size: 16px;
  line-height: 1.7;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

/* -------------------------------------------------------------
   4. EXPERTISE SECTION ("WHAT I DO")
------------------------------------------------------------- */
.expertise-header {
  margin-bottom: 48px;
}

.expertise-header h2 {
  font-size: clamp(32px, 5vw, 56px);
}

.expertise-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.expertise-item {
  display: grid;
  grid-template-columns: 80px 1.2fr 2fr 100px;
  align-items: baseline;
  gap: 24px;
  padding: 32px 16px;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition-normal);
  border-radius: var(--radius-sm);
}

.expertise-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateX(6px);
}

.expertise-number {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.expertise-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.expertise-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.expertise-action {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.expertise-item:hover .expertise-action {
  color: var(--accent);
  transform: translateX(4px);
}

/* -------------------------------------------------------------
   5. HOW I OPERATE SECTION
------------------------------------------------------------- */
.process-header {
  margin-bottom: 48px;
}

.process-header h2 {
  font-size: clamp(32px, 5vw, 56px);
}

.process-intro {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 680px;
  margin-top: 12px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.process-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: all var(--transition-normal);
}

.process-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.process-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.process-number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.process-arrow {
  color: var(--muted-dark);
  font-size: 14px;
}

.process-card-main h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.process-card-main p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* -------------------------------------------------------------
   6. EARLY OPPORTUNITY HUNTER SECTION
------------------------------------------------------------- */
.opportunity-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}

.opportunity-box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(226, 253, 82, 0.08) 0%, rgba(8, 8, 8, 0) 70%);
  pointer-events: none;
}

.opportunity-statement {
  font-size: clamp(32px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 24px;
  max-width: 800px;
}

.opportunity-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.6;
}

.radar-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.radar-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--transition-normal);
}

.radar-item:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.radar-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.radar-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.radar-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* -------------------------------------------------------------
   7. SELECTED WORK SECTION
------------------------------------------------------------- */
.work-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

.work-header h2 {
  font-size: clamp(32px, 5vw, 56px);
}

.work-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  transition: all var(--transition-normal);
}

.work-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.work-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.work-card-top .work-idx {
  font-weight: 700;
  color: var(--accent);
}

.work-card-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.placeholder-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}

.work-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.work-role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.work-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.work-link-placeholder {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.work-card:hover .work-link-placeholder {
  color: var(--accent);
}

/* -------------------------------------------------------------
   8. CONTACT SECTION
------------------------------------------------------------- */
#contact {
  padding-bottom: 80px;
}

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 8vw, 84px);
  display: flex;
  flex-direction: column;
  gap: 36px;
  position: relative;
  overflow: hidden;
}

.contact-headline {
  font-size: clamp(36px, 7vw, 76px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.contact-headline span {
  display: block;
}

.contact-subtext {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.social-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
}

.social-link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  transition: color var(--transition-fast);
}

.social-link-item strong {
  color: var(--text);
}

.social-link-item:hover {
  color: var(--accent);
}

/* -------------------------------------------------------------
   9. FOOTER
------------------------------------------------------------- */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  color: var(--text);
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
------------------------------------------------------------- */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .expertise-item {
    grid-template-columns: 60px 1.4fr 2fr 80px;
    gap: 16px;
  }
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-visual {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .expertise-item {
    grid-template-columns: 50px 1fr;
    row-gap: 12px;
  }

  .expertise-desc {
    grid-column: span 2;
  }

  .expertise-action {
    display: none;
  }

  .nav-links, .status-indicator {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
