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

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1a1a1a;
  --border: #252525;
  --text: #f0f0f0;
  --muted: #777;
  --red: #e63329;
  --red-hover: #c82118;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --radius: 12px;
  --ease: 0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Container ──────────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background var(--ease), transform var(--ease);
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); transform: translateY(-2px); }
.btn-full { width: 100%; text-align: center; }

/* ── Header ─────────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(28,28,28,0.85);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(32,32,32,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}
.logo img { height: 58px; width: auto; }

.site-nav ul { display: flex; list-style: none; gap: 48px; align-items: center; }
.site-nav a {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.3px;
  transition: color var(--ease);
}
.site-nav a:hover { color: #fff; }
.site-nav .nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
}
.site-nav .nav-cta:hover { background: var(--red-hover); }

/* ── Hamburger ──────────────────────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 28px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.22s;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Mobile Nav ─────────────────────────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 100px; left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-nav ul { list-style: none; padding: 8px 24px 16px; }
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-nav li:last-child a { border-bottom: none; color: var(--red); font-weight: 700; }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.45) 100%);
}
.hero .container {
  position: relative; z-index: 1;
  padding-top: 140px;
  padding-bottom: 80px;
}
.hero-content { max-width: 900px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(56px, 10vw, 114px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 32px;
}
.hero-title .dot { color: var(--red); }
.hero-sub {
  font-size: clamp(20px, 2.5vw, 28px);
  color: rgba(255,255,255,0.65);
  margin-bottom: 48px;
  font-weight: 300;
  max-width: 560px;
  line-height: 1.55;
}

/* ── Section Base ───────────────────────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-dark { background: var(--surface); }
.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 60px;
  text-align: center;
}
.section-title span { color: var(--red); }

/* ── Portfolio ──────────────────────────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.portfolio-item { border-radius: var(--radius); overflow: hidden; }
.portfolio-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}
.portfolio-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-overlay {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  transform: translateY(6px);
  transition: transform 0.3s ease;
}
.portfolio-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  transform: translateY(6px);
  transition: transform 0.3s ease 0.04s;
}
.portfolio-img-wrap:hover img { transform: scale(1.04); }
.portfolio-img-wrap:hover .portfolio-overlay { opacity: 1; }
.portfolio-img-wrap:hover .portfolio-title,
.portfolio-img-wrap:hover .portfolio-desc { transform: translateY(0); }

/* ── Lightbox ───────────────────────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.94);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  cursor: default;
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--ease);
  line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-caption {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  white-space: nowrap;
}

/* ── Quote Band ─────────────────────────────────────────────────────────────── */
.quote-band {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 88px 0;
  text-align: center;
}
.founder-quote {
  font-size: clamp(22px, 2.8vw, 32px);
  font-style: italic;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.5;
  font-weight: 300;
}
.founder-quote strong { color: var(--red); font-style: normal; font-weight: 700; }
.founder-quote cite {
  display: block;
  margin-top: 20px;
  font-size: 14px;
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* ── Services ───────────────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 34px;
  text-align: center;
  transition: border-color var(--ease), transform var(--ease);
}
.service-card:hover { border-color: var(--red); transform: translateY(-4px); }
.service-icon {
  width: 56px; height: 56px;
  margin: 0 auto 26px;
  color: var(--red);
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 16px; }
.service-card p { font-size: 15px; color: var(--muted); line-height: 1.8; }

/* ── Testimonials ───────────────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
}
.testimonial-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 22px;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-text {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  flex: 1;
  margin-bottom: 22px;
}
.testimonial-cite { font-size: 15px; font-weight: 700; font-style: normal; line-height: 1.4; }
.testimonial-cite span { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 3px; }

/* ── Typical Projects ───────────────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color var(--ease), transform var(--ease);
}
.project-card:hover { border-color: var(--red); transform: translateY(-4px); }
.project-card-icon {
  width: 44px; height: 44px;
  background: var(--red);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.project-card-icon svg { width: 22px; height: 22px; color: #fff; }
.project-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.project-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.projects-tagline {
  font-size: 15px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  font-style: italic;
}

/* ── Contact ────────────────────────────────────────────────────────────────── */
.contact-section {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}
.contact-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-sub { color: var(--muted); margin-bottom: 40px; font-size: 18px; line-height: 1.7; }
.btn-calendly { font-size: 17px; padding: 20px 96px; letter-spacing: 0.5px; }
.contact-note { margin-top: 20px; font-size: 16px; color: var(--muted); line-height: 1.7; }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}
.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-logo img { height: 76px; width: auto; }
.footer-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--red);
}
.footer-contact { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-contact a { font-size: 15px; color: var(--muted); transition: color var(--ease); }
.footer-contact a:hover { color: var(--text); }
.footer-social { display: flex; gap: 12px; margin-top: 4px; }
.footer-social a {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: color var(--ease), border-color var(--ease);
}
.footer-social a svg { width: 20px; height: 20px; }
.footer-social a:hover { color: var(--text); border-color: #444; }
.footer-copy { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .section { padding: 72px 0; }
  .hero-title { letter-spacing: -2px; }
}

@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: -1px; }
  .section { padding: 56px 0; }
  .section-title { margin-bottom: 36px; }
  .service-card { padding: 32px 24px; }
  .testimonial-card { padding: 28px; }
  .project-card { padding: 24px 20px; }
  .footer-contact { flex-direction: column; gap: 8px; }
  .btn { padding: 14px 28px; }
  .lightbox-caption { display: none; }
}
