:root {
  --bg: #ffffff;
  --bg-alt: #fafafa;
  --text: #000000;
  --text-secondary: #666666;
  --accent: #0066ff;
  --line: #e0e0e0;
  --font: 'Space Grotesk', -apple-system, sans-serif;
  --loader-bg: #e8f56c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(0, 102, 255, 0.15);
  color: var(--text);
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
  cursor: none;
  font-weight: 400;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f56c;
  overflow: hidden;
}

.loader-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  width: 60px;
  height: 60px;
  position: relative;
  margin-bottom: 60px;
}

.loader-logo svg {
  width: 100%;
  height: 100%;
}

.loader-logo path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: logoDraw 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

@keyframes logoDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.loader-text {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #000;
  opacity: 0;
  animation: textAnim 1s ease-out 0.8s forwards;
}

@keyframes textAnim {
  from {
    opacity: 0;
    letter-spacing: 0.2em;
  }
  to {
    opacity: 0.8;
    letter-spacing: 0.4em;
  }
}

/* Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.cursor-glow.hidden {
  opacity: 0;
}

/* Container */
.container {
  width: min(1400px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  padding: 16px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 40px;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.nav a {
  position: relative;
  text-transform: uppercase;
}

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

.nav a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  background: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.hero-bg-shape.shape-1 {
  top: 10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.03) 0%, transparent 70%);
}

.hero-bg-shape.shape-2 {
  bottom: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.02) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  will-change: transform;
}

/* Page Load Animation */
@keyframes pageLoad {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: pageLoad 1s ease-out forwards;
}

/* Section Fade In */
@keyframes sectionFadeIn {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-split,
.section-showcase {
  animation: sectionFadeIn 1s ease-out forwards;
  opacity: 0;
}

.section-split:nth-child(2) { animation-delay: 0.2s; }
.section-showcase { animation-delay: 0.4s; }
.section-split:last-child { animation-delay: 0.6s; }

.hero-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 40px;
  animation: fadeInUp 0.8s ease-out 0.1s forwards;
  opacity: 0;
}

.text-scramble-container {
  position: relative;
}

.text {
  font-weight: 700;
  display: block;
}

.dud {
  color: var(--text-secondary);
  opacity: 0.4;
}

.hero-desc {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
  max-width: 600px;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Split Section */
.section-split {
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.section-split.alt {
  background: var(--bg-alt);
}

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

.split-left {
  position: sticky;
  top: 120px;
}

.section-number {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.split-left h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.split-right {
  padding-top: 8px;
}

.lead {
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 32px;
  color: var(--text);
}

.detail {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin: 0 0 48px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* Posts List */
.posts-list {
  display: flex;
  flex-direction: column;
}

.post {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.3s ease;
}

.post:last-child {
  border-bottom: none;
}

.post:hover {
  padding-left: 16px;
}

.post-meta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.post h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.post:hover h3 {
  color: var(--accent);
}

.post p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--text);
  color: var(--bg);
  padding: 80px 0 40px;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.footer-left h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 8px;
}

.footer-left p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

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

.copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 16px;
}



/* Photo Section */
.section-photo {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.photo-container {
  width: 100%;
  max-width: 1200px;
}

.hero-photo {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
}

.hero-photo:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

/* Highlight Section */
.section-highlight {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.highlight-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.highlight-content blockquote {
  margin: 0;
  padding: 0;
}

.highlight-content p {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.6;
  margin: 0 0 24px;
  position: relative;
}

.highlight-content p::before,
.highlight-content p::after {
  content: '"';
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
}

.highlight-content p::before {
  top: -30px;
  left: -40px;
}

.highlight-content p::after {
  bottom: -40px;
  right: -40px;
}

.highlight-content cite {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-style: normal;
  letter-spacing: 0.05em;
}

.split-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 16px 0 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .split-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .split-left {
    position: relative;
    top: 0;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-right {
    text-align: left;
  }
  
  .socials {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    font-size: 1.5rem;
    display: none;
  }
  
  .nav.open {
    display: flex;
  }
  
  .stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }
  
  .lead {
    font-size: 1.35rem;
  }
}
