:root {
  --red: #C8102E;
  --dark: #0a0a0a;
  --darker: #060606;
  --card: #111111;
  --card-hover: #161616;
  --light: #ffffff;
  --muted: #cccccc;
  --dim: #777777;
  --border: rgba(200, 16, 46, 0.2);
  --border-bright: rgba(200, 16, 46, 0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; transition: color 0.3s; }

/* CURSOR */
.cursor {
  width: 10px; height: 10px;
  background: var(--red); border-radius: 50%;
  position: fixed; z-index: 9999; pointer-events: none;
  transition: transform 0.15s ease;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(200,16,46,0.5); border-radius: 50%;
  position: fixed; z-index: 9998; pointer-events: none;
  transition: transform 0.25s ease;
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-follower { display: none; }
}

/* TOP BAR */
.top-bar {
  height: 44px;
  background: rgba(200,16,46,0.05);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #cccccc;
}
.top-bar-right { display: flex; gap: 24px; align-items: center; }
.top-bar-right a { color: #cccccc; display: flex; align-items: center; gap: 5px; transition: color 0.2s; }
.top-bar-right a:hover { color: #fff; }
.top-bar-icon { width: 13px; height: 13px; }

/* NAV */
nav {
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
nav.scrolled { background: rgba(10,10,10,0.94); border-color: var(--border); backdrop-filter: blur(20px); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-bar { width: 3px; height: 36px; background: var(--red); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.brand { font-weight: 800; font-size: 18px; letter-spacing: 0.25em; }
.sub { font-size: 10px; letter-spacing: 0.3em; color: var(--red); text-transform: uppercase; margin-top: 3px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 32px; }
.nav-links a { color: #e0e0e0; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.nav-active { color: var(--red); }
.btn-contact {
  background: var(--red); color: #fff;
  padding: 8px 16px; border-radius: 2px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px; transition: opacity 0.2s;
}
.btn-contact:hover { opacity: 0.88; color: #fff; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  cursor: pointer;
  background: none; border: none; padding: 0;
  gap: 6px; z-index: 200; position: relative;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--light);
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.3s ease;
  transform-origin: center;
}
.hamburger span:nth-child(2) { width: 16px; align-self: flex-end; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); width: 24px; }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); width: 24px; }

/* MOBILE NAV */
.mobile-nav {
  display: none;
  position: fixed; inset: 0;
  z-index: 150; pointer-events: none;
}
.mobile-nav-overlay {
  position: absolute; inset: 0;
  background: rgba(5,5,5,0);
  transition: background 0.4s ease;
}
.mobile-nav-drawer {
  position: absolute; top: 0; right: 0;
  width: min(320px, 85vw); height: 100%;
  background: var(--darker);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  padding: 100px 40px 48px;
}
.mobile-nav.open { pointer-events: all; }
.mobile-nav.open .mobile-nav-overlay { background: rgba(5,5,5,0.7); }
.mobile-nav.open .mobile-nav-drawer { transform: translateX(0); }

.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 0; }
.mobile-nav-links li { border-bottom: 1px solid var(--border); }
.mobile-nav-links a {
  display: block; padding: 18px 0;
  font-size: 15px; font-weight: 500; letter-spacing: 0.08em;
  color: #e0e0e0;
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-nav-links a:hover, .mobile-nav-links a.nav-active { color: var(--red); padding-left: 8px; }

.mobile-nav-cta { margin-top: 40px; }
.mobile-nav-cta .btn-contact { width: 100%; justify-content: center; padding: 14px 20px; font-size: 12px; }

.mobile-nav-socials {
  display: flex; gap: 20px;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.mobile-nav-socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #cccccc;
  transition: color 0.2s, border-color 0.2s;
}
.mobile-nav-socials a svg { width: 15px; height: 15px; }
.mobile-nav-socials a:hover { color: var(--red); border-color: rgba(200,16,46,0.5); }

.mobile-nav-footer {
  margin-top: 20px;
  font-size: 11px; letter-spacing: 0.1em; color: #444; text-transform: uppercase;
}

/* PAGE HERO */
.page-hero {
  padding: 96px 80px 80px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.hero-bg-text {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(120px, 17vw, 240px);
  font-weight: 700; color: rgba(200,16,46,0.03);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.hero-tag {
  font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--red); margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.hero-tag::before { content: ''; display: block; width: 32px; height: 1px; background: var(--red); }
.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 6vw, 86px);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -0.02em; margin-bottom: 24px;
}
.hero-h1 em { font-style: italic; color: var(--red); }
.hero-desc { font-size: 15px; line-height: 1.85; color: #cccccc; max-width: 500px; margin-bottom: 52px; }
.hero-stats { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; gap: 5px; }
.hero-stat-num { font-family: 'Cormorant Garamond', serif; font-size: 40px; font-weight: 300; color: var(--red); line-height: 1; }
.hero-stat-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: #777; }
.hero-stat-line { width: 1px; height: 44px; background: rgba(200,16,46,0.2); }

/* FILTER BAR */
.filter-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 28px 80px;
  border-bottom: 1px solid var(--border);
  background: #080808;
  flex-wrap: wrap;
}
.filter-label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: #555; margin-right: 4px; }
.filter-btn {
  padding: 7px 18px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent; color: #888;
  cursor: pointer; border-radius: 2px;
  transition: all 0.2s;
  font-family: 'Montserrat', sans-serif;
}
.filter-btn:hover { border-color: rgba(200,16,46,0.4); color: #fff; }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }

/* PROJECTS SECTION */
.projects-section { padding: 48px 80px 100px; background: var(--darker); }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* PROJECT CARD */
.project-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.project-card:hover {
  border-color: rgba(200,16,46,0.45);
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,16,46,0.1);
  background: var(--card-hover);
}

/* WIDE */
.project-card.wide { grid-column: 1 / -1; }
.project-card.wide .project-img-wrap img { height: 400px; }
.project-card.wide .project-info { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; }

/* BROWSER BAR */
.browser-bar {
  height: 32px; background: #181818;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; padding: 0 14px; gap: 8px;
}
.browser-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }
.browser-url { font-size: 10px; color: #444; letter-spacing: 0.04em; margin-left: 10px; }

/* IMAGE */
.project-img-wrap { position: relative; overflow: hidden; }
.project-img-wrap img {
  width: 100%; height: 260px;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform 0.7s ease, filter 0.4s ease;
  filter: brightness(0.85);
}
.project-card:hover .project-img-wrap img { transform: scale(1.04); filter: brightness(1); }
.img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.8) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end; padding: 20px 24px;
}
.project-card:hover .img-overlay { opacity: 1; }
.img-overlay span { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #fff; display: flex; align-items: center; gap: 6px; }
.img-overlay span i { width: 13px; height: 13px; }

/* PROJECT INFO */
.project-info {
  padding: 24px 28px 28px;
  display: flex; flex-direction: column;
  justify-content: space-between; flex: 1; gap: 20px;
}
.project-category { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); font-weight: 600; margin-bottom: 8px; }
.project-title { font-size: 19px; font-weight: 700; color: #ffffff; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 10px; }
.project-desc { font-size: 13px; line-height: 1.8; color: #bbbbbb; margin-bottom: 16px; }
.project-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tag { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border: 1px solid rgba(255,255,255,0.1); color: #777; border-radius: 2px; }
.project-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.05); }
.project-num { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 300; color: rgba(200,16,46,0.35); line-height: 1; }
.project-arrow { width: 36px; height: 36px; border: 1px solid rgba(200,16,46,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--red); transition: all 0.25s; }
.project-arrow i { width: 14px; height: 14px; }
.project-card:hover .project-arrow { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(45deg); }

/* COMING SOON */
.project-card.coming-soon {
  align-items: center; justify-content: center;
  min-height: 260px; text-align: center; padding: 48px;
  background: transparent; border: 1px dashed rgba(200,16,46,0.15);
}
.project-card.coming-soon:hover { transform: none; box-shadow: none; border-color: rgba(200,16,46,0.25); background: transparent; }
.coming-icon { font-family: 'Cormorant Garamond', serif; font-size: 52px; color: rgba(200,16,46,0.2); margin-bottom: 16px; line-height: 1; }
.coming-title { font-size: 15px; font-weight: 700; color: #444; margin-bottom: 6px; }
.coming-sub { font-size: 11px; color: #333; letter-spacing: 0.06em; }

/* CTA STRIP */
.cta-strip {
  margin: 0 80px 0;
  border: 1px solid var(--border);
  padding: 64px 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  background: rgba(200,16,46,0.03);
}
.cta-left h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3.5vw, 46px); font-weight: 300; line-height: 1.15; margin-bottom: 10px; }
.cta-left h2 em { font-style: italic; color: var(--red); }
.cta-left p { font-size: 14px; color: #cccccc; line-height: 1.7; }
.btn-primary {
  background: var(--red); color: #fff;
  padding: 18px 40px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  white-space: nowrap; flex-shrink: 0; display: inline-block;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-2px); color: #fff; }

/* FOOTER */
footer {
  margin-top: 80px; border-top: 1px solid var(--border);
  padding: 48px 80px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 12px; color: #555; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #888; font-size: 12px; transition: color 0.3s; }
.footer-links a:hover { color: var(--red); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* 1100px */
@media (max-width: 1100px) {
  .page-hero, .projects-section { padding-left: 48px; padding-right: 48px; }
  .filter-bar { padding-left: 48px; padding-right: 48px; }
  .cta-strip { margin: 0 48px; padding: 48px 56px; }
  footer { padding: 48px; }
}

/* 1024px — show hamburger */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .mobile-nav { display: block; }
  .top-bar { padding: 0 32px; }
}

/* 900px */
@media (max-width: 900px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.wide { grid-column: auto; }
  .project-card.wide .project-info { grid-template-columns: 1fr; gap: 20px; }
  .project-card.wide .project-img-wrap img { height: 280px; }
  .cta-strip { flex-direction: column; text-align: center; }
  .cta-strip .btn-primary { width: 100%; text-align: center; }
}

/* 768px */
@media (max-width: 768px) {
  .top-bar { padding: 0 20px; font-size: 10px; height: 36px; }
  /* CHANGED: hide phone/instagram/linkedin on mobile */
  .top-bar-right { display: none; }

  nav { height: 60px; padding: 0 20px; }
  .brand { font-size: 15px; }
  .sub { font-size: 9px; }

  .page-hero { padding: 64px 24px 48px; }
  .hero-desc { margin-bottom: 36px; }
  .hero-stats { gap: 20px; }
  .hero-stat-line { display: none; }

  .filter-bar { padding: 16px 20px; gap: 6px; }
  .filter-btn { padding: 6px 12px; font-size: 9px; }

  .projects-section { padding: 32px 20px 60px; }

  .cta-strip { margin: 0 20px; padding: 36px 24px; }

  footer { padding: 36px 20px; flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

/* 480px */
@media (max-width: 480px) {
  .hero-h1 { font-size: clamp(36px, 10vw, 52px); }
  .hero-stats { flex-direction: row; gap: 24px; }
  .filter-bar { gap: 5px; }
  .filter-label { display: none; }
  .filter-btn { padding: 6px 10px; }
  .project-img-wrap img { height: 200px; }
  .project-card.wide .project-img-wrap img { height: 220px; }
}