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

:root {
  --black:      #0A0A0A;
  --dark:       #111111;
  --card:       #161616;
  --border:     #222222;
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --gold-dim:   rgba(201,168,76,0.15);
  --white:      #F0EBE3;
  --grey:       #666666;
  --grey-light: #999999;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Syne', sans-serif;
}

html { scroll-behavior: smooth; }

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

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ── Custom Cursor ────────────────────────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
}
.cursor-follower {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(201,168,76,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}
body:hover .cursor-follower { opacity: 1; }

/* ── Reveal Animations ────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── Navigation ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--white);
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-light);
  transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 8px 20px;
  transition: background 0.3s ease, color 0.3s ease;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--black);
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 48px 80px;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 8px 20px;
  margin-bottom: 40px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 140px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 32px;
}
.hero-title .line { display: block; }
.hero-title .italic { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 48px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-scroll span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── Section Headers ──────────────────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 64px;
}
.section-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 2px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.01em;
}
.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
}

/* ── Work Section ─────────────────────────────────────────────────────────── */
.work {
  padding: 120px 48px;
}

/* Featured Project */
.project-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 80px;
  cursor: pointer;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.4s ease;
}
.project-featured:hover { border-color: rgba(201,168,76,0.4); }

.project-featured-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.project-featured-img img {
  transition: transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.project-featured:hover .project-featured-img img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.project-featured:hover .project-overlay,
.project-card:hover .project-overlay { opacity: 1; }

.view-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 12px 24px;
}

.project-featured-info {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--card);
}

.project-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.project-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.project-desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--grey-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

.project-meta {
  display: flex;
  gap: 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--grey);
  margin-bottom: 32px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding-bottom: 4px;
  width: fit-content;
  transition: border-color 0.3s ease, gap 0.3s ease;
}
.project-link:hover { border-color: var(--gold); gap: 12px; }

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.project-card {
  background: var(--black);
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s ease;
}
.project-card:hover { background: var(--card); }

.project-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.project-card-img img {
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.project-card:hover .project-card-img img { transform: scale(1.06); }

.project-card-info {
  padding: 24px 28px 32px;
}
.project-card .project-title {
  font-size: 18px;
  margin-bottom: 10px;
}
.project-card .project-desc {
  font-size: 13px;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-card .project-meta {
  margin-bottom: 0;
  font-size: 10px;
}

/* ── About Section ────────────────────────────────────────────────────────── */
.about {
  padding: 120px 48px;
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about-left .section-header { margin-bottom: 40px; }

.about-img-wrap {
  position: relative;
  width: 280px;
}
.about-img {
  width: 280px;
  height: 320px;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.4s ease;
}
.about-img-wrap:hover .about-img { filter: grayscale(0%); }
.about-img-border {
  position: absolute;
  top: 16px; left: 16px;
  right: -16px; bottom: -16px;
  border: 1px solid rgba(201,168,76,0.3);
  pointer-events: none;
  z-index: -1;
}

.about-lead {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.about-lead em { font-style: italic; color: var(--gold); }

.about-body {
  font-size: 15px;
  font-weight: 400;
  color: var(--grey-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-exp {
  margin: 40px 0;
  border-top: 1px solid var(--border);
}
.exp-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  gap: 24px;
}
.exp-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
}
.exp-company {
  font-size: 12px;
  font-weight: 400;
  color: var(--grey);
  text-align: right;
}

.about-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-tools span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 6px 16px;
}

/* ── Contact Section ──────────────────────────────────────────────────────── */
.contact {
  padding: 120px 48px;
}
.contact-inner { max-width: 900px; }

.contact-lead {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 56px;
  letter-spacing: -0.01em;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s ease;
}
.contact-link:hover { padding-left: 16px; }
.contact-platform {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 300;
  color: var(--white);
  transition: color 0.3s ease;
  letter-spacing: -0.01em;
}
.contact-link:hover .contact-platform { color: var(--gold); }
.contact-arrow {
  font-size: 20px;
  color: var(--grey);
  transition: color 0.3s ease, transform 0.3s ease;
}
.contact-link:hover .contact-arrow {
  color: var(--gold);
  transform: translate(4px, -4px);
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
  background: var(--dark);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
}
.footer-copy {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--grey);
}
.footer-beh {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--gold);
  transition: opacity 0.3s ease;
}
.footer-beh:hover { opacity: 0.7; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-featured { grid-template-columns: 1fr; }
  .project-featured-img { aspect-ratio: 16/9; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap { width: 240px; }
  .about-img { width: 240px; height: 280px; }
}

@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .hero-stats { gap: 0; }
  .stat { padding: 0 24px; }
  .stat-num { font-size: 36px; }
  .work, .about, .contact { padding: 80px 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-featured-info { padding: 32px 24px; }
  .exp-item { flex-direction: column; gap: 4px; }
  .exp-company { text-align: left; }
  .footer { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .hero-scroll { display: none; }
}