/* ═══════════════════════════════════════════
   이희승 AI 콘텐츠 크리에이터 포트폴리오
   Cinematic Dark Editorial Theme
   ═══════════════════════════════════════════ */

:root {
  /* Base palette */
  --bg:           #07070a;
  --bg-alt:       #0e0e14;
  --bg-card:      #12121a;
  --surface:      #1a1a26;
  --border:       #2a2a3a;
  
  /* Accent — warm amber/gold */
  --accent:       #e8a838;
  --accent-dim:   #c4872a;
  --accent-glow:  rgba(232, 168, 56, 0.15);
  --accent-glow2: rgba(232, 168, 56, 0.06);
  
  /* Text */
  --text:         #ecedf3;
  --text-dim:     #8b8ca0;
  --text-faint:   #52536a;
  
  /* Red accent for tags */
  --red:          #e84057;
  
  /* Fonts */
  --font-display: 'Playfair Display', serif;
  --font-body:    'Noto Sans KR', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  
  /* Layout */
  --container:    1200px;
  --gutter:       clamp(16px, 4vw, 48px);
  --nav-h:        64px;
  
  /* Transitions */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════ RESET ═══════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
em { font-style: normal; color: var(--accent); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ═══════ CURSOR GLOW ═══════ */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, var(--accent-glow2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
body:hover .cursor-glow { opacity: 1; }

/* ═══════ FILM GRAIN ═══════ */
.film-grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ═══════ NAV ═══════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 7, 10, 0.75);
  border-bottom: 1px solid rgba(42, 42, 58, 0.3);
  transition: background 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(7, 7, 10, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.nav-logo-dot { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-menu-btn { display: none; width: 28px; height: 20px; position: relative; }
.nav-menu-btn span {
  position: absolute;
  left: 0; width: 100%; height: 2px;
  background: var(--text);
  transition: all 0.3s var(--ease-out);
}
.nav-menu-btn span:nth-child(1) { top: 0; }
.nav-menu-btn span:nth-child(2) { top: 9px; }
.nav-menu-btn span:nth-child(3) { top: 18px; }
.nav-menu-btn.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-menu-btn.open span:nth-child(2) { opacity: 0; }
.nav-menu-btn.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(7, 7, 10, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter);
  gap: 16px;
  transform: translateY(-120%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-link {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s;
}
.mobile-link:hover { color: var(--accent); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: block; }
}

/* ═══════ HERO ═══════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(232,168,56,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(232,64,87,0.05) 0%, transparent 50%),
    var(--bg);
}
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,7,10,0.2) 0%, rgba(7,7,10,0.6) 70%, var(--bg) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--gutter);
}
.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-line {
  display: block;
}
.hero-title em {
  background: linear-gradient(135deg, var(--accent) 0%, #f0c060 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232,168,56,0.3);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: border-color 0.3s, background 0.3s;
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(232,168,56,0.06);
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}
.hero-scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-faint);
}

/* ═══════ SECTIONS ═══════ */
.section {
  padding: 120px 0;
  position: relative;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}
.works-section .section-label,
.works-section .section-title,
.works-section .works-filter,
.contact-section .section-label,
.contact-section .section-title,
.contact-section .contact-center {
  text-align: center;
}

/* ═══════ ABOUT ═══════ */
.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}
.about-photo-frame {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-photo-deco {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent);
  border-radius: 12px;
  z-index: -1;
  opacity: 0.3;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.stat-item {
  text-align: center;
  padding: 16px 8px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.stat-wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 14px 18px;
}
.stat-icon { font-size: 1.4rem; flex-shrink: 0; }
.stat-text-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.4;
}
.stat-text-label strong { color: var(--accent); }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
}
.stat-num-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent);
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 4px;
}
.about-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 24px;
}
.about-desc {
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
}
.about-desc strong { color: var(--accent); font-weight: 700; }

/* Tool Boxes */
.tool-boxes {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tool-box {
  padding: 18px 20px;
  background: var(--bg-card);
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.tool-box:hover { border-color: rgba(232,168,56,0.3); }
.tool-box-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tool-box-icon { font-size: 1.1rem; }
.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tool-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(232,168,56,0.08);
  color: var(--accent);
  border: 1px solid rgba(232,168,56,0.2);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.tool-icons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.adobe-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.adobe-icon img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
}
.adobe-icon small {
  font-size: 0.68rem;
  color: var(--text-dim);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-photo-frame {
    max-width: 300px;
    margin: 0 auto;
  }
  .tool-icons-row { gap: 10px; }
  .adobe-icon img { width: 42px; height: 42px; }
}

/* ═══════ SKILLS ═══════ */
.skills-section { background: var(--bg-alt); }
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}
.skill-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.skill-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.skill-card:hover {
  border-color: rgba(232,168,56,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.skill-card:hover::before { opacity: 1; }
.skill-card-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-faint);
  opacity: 0.15;
  position: absolute;
  top: 16px; right: 20px;
}
.skill-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--accent);
}
.skill-card-icon svg { width: 100%; height: 100%; }
.skill-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.skill-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.skill-tags span {
  padding: 4px 10px;
  background: rgba(232,168,56,0.08);
  border: 1px solid rgba(232,168,56,0.15);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.skill-preview {
  margin-top: 18px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(232,168,56,0.15);
  position: relative;
  cursor: pointer;
  transition: border-color 0.3s;
}
.skill-preview:hover {
  border-color: rgba(232,168,56,0.4);
}
.skill-preview img {
  width: 100%;
  display: block;
  border-radius: 9px;
  transition: transform 0.4s ease;
}
.skill-preview:hover img {
  transform: scale(1.02);
}
.skill-preview-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
  letter-spacing: 0.03em;
}
.skill-preview-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.skill-preview:hover .skill-preview-zoom {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lightbox.active {
  display: flex;
}
.lightbox-img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(232,168,56,0.15);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover {
  opacity: 1;
}

/* Advantage Banner */
.advantage-banner {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(232,168,56,0.04) 100%);
  border: 1px solid rgba(232,168,56,0.15);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
}
.advantage-inner h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 32px;
}
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.adv-item {
  padding: 20px;
}
.adv-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.adv-text {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.advantage-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .advantage-banner { padding: 32px 20px; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ═══════ WORKS ═══════ */
.works-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  border: 1px solid var(--border);
  background: transparent;
  transition: all 0.3s var(--ease-out);
}
.filter-btn.active, .filter-btn:hover {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.work-card:hover {
  border-color: rgba(232,168,56,0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.work-card.hidden {
  display: none;
}

/* YouTube Embed */
.work-player {
  position: relative;
  background: #000;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.work-player-short {
  aspect-ratio: 9/16;
  max-height: 420px;
  margin: 0 auto;
}
.yt-embed {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.yt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}
.work-card:hover .yt-thumb {
  transform: scale(1.05);
  filter: brightness(0.7);
}
.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 68px;
  height: 48px;
  z-index: 2;
  transition: transform 0.3s var(--ease-spring), opacity 0.3s;
  opacity: 0.85;
}
.yt-play:hover { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
.yt-play svg { width: 100%; height: 100%; }
.yt-play-lg {
  width: 88px;
  height: 62px;
}

/* iframe loaded state */
.yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.work-info {
  padding: 20px 24px;
}
.work-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(232,168,56,0.1);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 8px;
}
.work-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.work-info p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .works-grid { grid-template-columns: 1fr; }
}

/* ═══════ SHOWREEL ═══════ */
.showreel-section {
  background: var(--bg-alt);
  text-align: center;
}
.showreel-desc {
  color: var(--text-dim);
  font-size: 1rem;
  margin-bottom: 48px;
}
.showreel-theater {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}
.theater-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  z-index: 2;
}
.yt-embed-theater {
  width: 100%;
  height: 100%;
}
.yt-embed-theater .yt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theater-ambient {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(232,168,56,0.08) 0%, transparent 70%);
  z-index: 1;
  filter: blur(60px);
}

/* ═══════ CONTACT ═══════ */
.contact-center {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact-center .contact-info {
  text-align: center;
}
.contact-center .contact-methods {
  display: inline-flex;
  justify-content: center;
}
.contact-center .contact-method {
  justify-content: center;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-desc {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 32px;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(232,168,56,0.08);
  color: var(--accent);
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 2px;
}
.contact-value {
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.contact-value:hover { color: var(--accent); }
.contact-social {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.3s;
}
.social-link svg { width: 20px; height: 20px; }
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(232,168,56,0.06);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%;
  justify-content: center;
  border: none;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ═══════ FOOTER ═══════ */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-faint);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }

/* ═══════ REVEAL ANIMATIONS ═══════ */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ═══════ SCROLLBAR ═══════ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }

/* ═══════ SELECTION ═══════ */
::selection {
  background: rgba(232, 168, 56, 0.3);
  color: var(--text);
}
