/* ========================================
   Yashvi Purohit — Portfolio
   ======================================== */
:root {
  --bg:          #fafbff;
  --bg-cream:    #eef1ff;
  --bg-dark:     #0f172a;
  --text:        #0f172a;
  --text-soft:   #475569;
  --text-muted:  #94a3b8;
  --accent:      #6366f1;
  --accent-2:    #f43f5e;
  --accent-3:    #14b8a6;
  --border:      rgba(99,102,241,0.1);
  --border-dark: rgba(99,102,241,0.18);
  --white:       #f8fafc;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Inter', -apple-system, sans-serif;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
img { max-width: 100%; display: block; }
input, textarea, select { font-family: var(--sans); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* Grain */
.grain { position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: 0.03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"); background-repeat: repeat; background-size: 180px; }

/* ============ PRELOADER ============ */
.preloader { position: fixed; inset: 0; z-index: 10000; background: var(--bg); display: flex; align-items: center; justify-content: center; transition: opacity 0.8s var(--ease), visibility 0.8s; }
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-inner span { display: block; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; letter-spacing: 0.06em; animation: preloaderFade 1.6s ease infinite; }
.preloader-line { width: 48px; height: 1px; background: var(--accent); margin: 0 auto 16px; animation: preloaderLine 1.6s var(--ease) infinite; }
@keyframes preloaderFade { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes preloaderLine { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

/* ============ LIGHTBOX ============ */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.88); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; cursor: zoom-out; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 12px; object-fit: contain; transform: scale(0.92); transition: transform 0.4s var(--ease); }
.lightbox.open img { transform: scale(1); }
.lightbox-close { position: absolute; top: 24px; right: 32px; background: none; color: white; font-size: 2.4rem; line-height: 1; cursor: pointer; z-index: 2; opacity: 0.7; transition: opacity 0.2s; }
.lightbox-close:hover { opacity: 1; }

/* ============ HEADER ============ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 5000; padding: 24px 0; transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s; }
.header.scrolled { background: rgba(250,251,255,0.85); backdrop-filter: blur(20px); padding: 16px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 0.88rem; font-weight: 400; color: var(--text-soft); letter-spacing: 0.02em; position: relative; transition: color 0.3s; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 10px 24px !important; border: 1px solid var(--text) !important; border-radius: 100px; transition: background 0.3s, color 0.3s !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--text) !important; color: var(--bg) !important; }
.menu-btn { display: none; flex-direction: column; gap: 6px; background: none; padding: 8px; }
.menu-btn span { width: 28px; height: 1.5px; background: var(--text); transition: transform 0.4s var(--ease), opacity 0.3s; transform-origin: center; }
.menu-btn.active span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn.active span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 0; z-index: 4999; background: var(--bg); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-link { display: block; font-family: var(--serif); font-size: 2.8rem; font-weight: 400; margin: 16px 0; color: var(--text); transition: color 0.3s; }
.mobile-link:hover { color: var(--accent); }
@media (max-width: 768px) { .nav-links { display: none; } .menu-btn { display: flex; } }

/* ============ HERO ============ */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 140px 0 100px; position: relative; }
.hero-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-left { max-width: 540px; }
.hero-eyebrow { font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 28px; }
.hero-heading { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 24px; }
.hero-heading em { font-style: italic; background: linear-gradient(135deg, var(--accent), var(--accent-2), #f59e0b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 1rem; line-height: 1.7; color: var(--text-soft); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; align-items: center; }
.hero-right { display: flex; justify-content: center; }
.hero-images { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; max-width: 440px; width: 100%; }
.hero-img-card { aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,0.08); position: relative; transition: transform 0.5s var(--ease); }
.hero-img-card:hover { transform: translateY(-4px); }
.hero-img-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-img-1 { grid-column: 1; grid-row: 1/3; aspect-ratio: auto; }
.hero-img-2 { grid-column: 2; grid-row: 1; }
.hero-img-3 { grid-column: 2; grid-row: 2; }
.hero-img-card::after { content: ''; position: absolute; inset: 6px; border: 1.5px dashed rgba(255,255,255,0.1); border-radius: 12px; pointer-events: none; }
.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); }
.scroll-line { width: 1px; height: 56px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollPulse 2.4s ease infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 1; transform: scaleY(1); } 50% { opacity: 0.3; transform: scaleY(0.5); } }
@media (max-width: 900px) { .hero-row { grid-template-columns: 1fr; gap: 48px; } .hero-images { max-width: 360px; } }

/* ============ BUTTONS ============ */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 16px 36px; background: var(--text); color: var(--bg); border-radius: 100px; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.02em; border: 1px solid var(--text); transition: all 0.4s var(--ease); }
.btn-primary:hover { background: transparent; color: var(--text); }
.btn-ghost { font-size: 0.9rem; font-weight: 500; color: var(--text-soft); letter-spacing: 0.02em; transition: color 0.3s; }
.btn-ghost:hover { color: var(--text); }
.btn-primary.full { width: 100%; justify-content: center; }

/* ============ TICKER ============ */
.ticker { padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.ticker-track { display: flex; align-items: center; animation: tickerScroll 35s linear infinite; width: max-content; }
.ticker-track span { font-family: var(--serif); font-size: 0.95rem; color: var(--text-muted); white-space: nowrap; font-style: italic; }
.sep { padding: 0 20px; opacity: 0.3; font-style: normal !important; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-33.333%); } }

/* ============ SECTIONS ============ */
.section { padding: 100px 0; }
.section-cream { background: var(--bg-cream); }
.section-dark { background: var(--bg-dark); color: var(--white); }
.section-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 20px; }
.section-label.light { color: var(--accent); }
.section-heading { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1.15; margin-bottom: 24px; }
.section-heading em { font-style: italic; }
.section-heading.light { color: var(--white); }
.section-sub { font-size: 1rem; line-height: 1.7; color: var(--text-soft); max-width: 640px; margin-bottom: 40px; }

/* ============ BIG STATEMENT ============ */
.statement-section { padding: 80px 0; }
.big-statement { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; line-height: 1.45; color: var(--text); max-width: 900px; }
.big-statement em { font-style: italic; color: var(--accent); }

/* ============ SPLIT SECTION (text + image side by side) ============ */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-section.reverse .split-text { order: 2; }
.split-section.reverse .split-img { order: 1; }
.split-text p { font-size: 0.95rem; line-height: 1.7; color: var(--text-soft); margin-bottom: 20px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-row span { padding: 6px 14px; border-radius: 100px; border: 1px solid var(--border-dark); font-size: 0.72rem; font-weight: 500; color: var(--text-soft); }
.img-frame { border-radius: 20px; overflow: hidden; cursor: zoom-in; }
.img-frame img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.img-frame:hover img { transform: scale(1.03); }
@media (max-width: 768px) {
  .split-section, .split-section.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split-section.reverse .split-text, .split-section.reverse .split-img { order: unset; }
}

/* ============ SHOWCASE GRID (2x2) ============ */
.showcase-grid.four-up { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-radius: 20px; overflow: hidden; max-width: 680px; }
.showcase-grid.compact { border-radius: 16px; gap: 8px; }
.showcase-cell { aspect-ratio: 1/1; overflow: hidden; border-radius: 12px; cursor: zoom-in; }
.showcase-cell img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 0.5s var(--ease); }
.showcase-cell:hover img { transform: scale(1.05); }

/* ============ GALLERY ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { position: relative; border-radius: 16px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(to top, rgba(15,23,42,0.7), transparent); color: var(--white); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; transform: translateY(100%); transition: transform 0.4s var(--ease); }
.gallery-item:hover .gallery-caption { transform: translateY(0); }
.gallery-item::after { content: ''; position: absolute; inset: 6px; border: 1.5px dashed rgba(255,255,255,0.06); border-radius: 12px; pointer-events: none; transition: border-color 0.4s; }
.gallery-item:hover::after { border-color: rgba(255,255,255,0.2); }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ============ REELS ============ */
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; background: rgba(0,0,0,0.45); backdrop-filter: blur(8px); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.3s, transform 0.3s var(--ease-spring); z-index: 2; }
.play-btn svg { margin-left: 3px; }
.reels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reel-card { aspect-ratio: 9/16; border-radius: 16px; overflow: hidden; background: #0f172a; position: relative; cursor: pointer; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.reel-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.reel-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.reel-card:hover img { transform: scale(1.05); }
.reel-card:hover .play-btn { background: var(--accent); transform: translate(-50%, -50%) scale(1.1); }
.reel-card::after { content: ''; position: absolute; inset: 6px; border: 1.5px dashed rgba(255,255,255,0.08); border-radius: 12px; pointer-events: none; transition: border-color 0.4s; }
.reel-card:hover::after { border-color: rgba(255,255,255,0.2); }
.reel-card.playing .reel-thumb, .reel-card.playing .play-btn { display: none; }
.reel-card.playing::after { display: none; }
.reel-card iframe { width: 100%; height: 100%; border: none; display: block; position: absolute; inset: 0; }
.reels-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 20px; text-align: center; }
@media (max-width: 900px) { .reels-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .reels-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; } }

/* ============ ABOUT ============ */
.about-layout { display: grid; grid-template-columns: 0.8fr 1fr; gap: 64px; align-items: center; }
.about-img-placeholder { aspect-ratio: 3/4; border-radius: 20px; background: linear-gradient(160deg, #c7d2fe, #e0e7ff); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.about-img-placeholder span { font-family: var(--serif); font-size: 1.1rem; color: var(--text-muted); opacity: 0.5; }
.about-img-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.about-img-placeholder::after { content: ''; position: absolute; inset: 8px; border: 1.5px dashed rgba(99,102,241,0.15); border-radius: 14px; pointer-events: none; }
.about-p { font-size: 0.95rem; line-height: 1.75; color: var(--text-soft); margin-bottom: 14px; }
@media (max-width: 800px) { .about-layout { grid-template-columns: 1fr; gap: 40px; } .about-img-placeholder { max-width: 320px; margin: 0 auto; } }

/* ============ WHY CARDS ============ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card { padding: 32px; border: 1px solid var(--border-dark); border-radius: 18px; background: var(--bg); position: relative; overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.05); border-color: var(--accent); }
.why-num { font-family: var(--serif); font-size: 2rem; font-weight: 400; color: var(--accent); margin-bottom: 16px; opacity: 0.5; }
.why-card h4 { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; margin-bottom: 10px; }
.why-card p { font-size: 0.88rem; color: var(--text-soft); line-height: 1.65; }
.why-card::after { content: ''; position: absolute; inset: 5px; border: 1px dashed var(--border); border-radius: 14px; pointer-events: none; transition: border-color 0.3s; }
.why-card:hover::after { border-color: rgba(99,102,241,0.15); }
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }

/* ============ SERVICES ICON GRID ============ */
.services-icon-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.svc-card {
  padding: 32px 28px;
  border: 1px solid var(--border-dark);
  border-radius: 18px;
  background: var(--bg);
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.3s;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.05);
  border-color: var(--accent);
}
.svc-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(99,102,241,0.08);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s;
}
.svc-card:hover .svc-icon { background: rgba(99,102,241,0.15); }
.svc-card h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; margin-bottom: 8px; }
.svc-card p { font-size: 0.85rem; color: var(--text-soft); line-height: 1.6; }
/* Stitch accent */
.svc-card::after {
  content: ''; position: absolute; inset: 5px;
  border: 1px dashed var(--border); border-radius: 14px;
  pointer-events: none; transition: border-color 0.3s;
}
.svc-card:hover::after { border-color: rgba(99,102,241,0.12); }
@media (max-width: 900px) { .services-icon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .services-icon-grid { grid-template-columns: 1fr; } }

/* ============ ROADMAP ============ */
.roadmap {
  position: relative;
  padding-left: 40px;
  max-width: 680px;
}
.roadmap-line {
  position: absolute;
  left: 15px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2), var(--accent-3));
  border-radius: 2px;
  opacity: 0.3;
}
.roadmap-step {
  position: relative;
  padding: 0 0 48px 32px;
}
.roadmap-step:last-child { padding-bottom: 0; }
.roadmap-dot {
  position: absolute;
  left: -40px; top: 2px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  z-index: 2;
  transition: background 0.3s, border-color 0.3s;
}
.roadmap-step:hover .roadmap-dot {
  background: var(--accent);
  color: white;
}
.roadmap-tag {
  font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 6px; display: block;
}
.roadmap-content h3 {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 500;
  margin-bottom: 6px;
}
.roadmap-content p {
  font-size: 0.88rem; color: var(--text-soft); line-height: 1.6;
}

/* ============ CTA BANNER ============ */
.cta-banner { padding: 0 0 60px 0; }
.cta-inner {
  background: linear-gradient(135deg, var(--accent), #818cf8, var(--accent-2));
  border-radius: 24px;
  padding: 44px 48px;
  text-align: center;
  position: relative; overflow: hidden;
  color: white;
}
.cta-shapes { position: absolute; inset: 0; pointer-events: none; }
.cta-shape {
  position: absolute; border-radius: 50%;
  opacity: 0.12; filter: blur(60px);
}
.cta-shape-1 { width: 300px; height: 300px; background: white; top: -30%; right: -10%; }
.cta-shape-2 { width: 200px; height: 200px; background: #ffd93d; bottom: -20%; left: -5%; }
.cta-inner h2 {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500; margin-bottom: 12px; position: relative; z-index: 1;
}
.cta-inner p {
  font-size: 1rem; opacity: 0.85; margin-bottom: 28px;
  position: relative; z-index: 1;
}
.cta-btn {
  background: white !important; color: var(--accent) !important;
  border-color: white !important;
  position: relative; z-index: 1;
}
.cta-btn:hover {
  background: transparent !important; color: white !important;
}

/* ============ CONTACT ============ */
.contact-calendly { text-align: center; }
.contact-top { margin-bottom: 40px; }
.contact-links-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.calendly-wrap { border-radius: 16px; overflow: hidden; background: rgba(255,255,255,0.03); }
.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.contact-link-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: rgba(250,248,245,0.6);
  font-size: 0.9rem;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.contact-link-card:hover {
  border-color: var(--accent);
  color: white;
  background: rgba(99,102,241,0.08);
}
.contact-link-card svg { flex-shrink: 0; opacity: 0.6; }
.contact-link-card:hover svg { opacity: 1; }
.section-dark .btn-primary { background: var(--white); color: var(--bg-dark); border-color: var(--white); }
.section-dark .btn-primary:hover { background: transparent; color: var(--white); }
@media (max-width: 600px) {
  .contact-links-row { flex-direction: column; align-items: center; }
  .calendly-wrap { border-radius: 12px; }
}

/* ============ FOOTER ============ */
.footer { padding: 36px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-size: 1.1rem; }
.footer-inner p { font-size: 0.78rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.8rem; color: var(--text-muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--text); }

/* ============ REVEAL ============ */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ============ MISC ============ */
::selection { background: rgba(99,102,241,0.2); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Stitch on project images */
.project-img-inner::after, .img-frame::after { content: ''; position: absolute; inset: 10px; border: 1.5px dashed rgba(255,255,255,0.08); border-radius: 14px; pointer-events: none; }
.img-frame { position: relative; }

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

/* Tablet */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .section { padding: 72px 0; }
  .hero { padding: 120px 0 80px; }
  .hero-heading { font-size: clamp(2.2rem, 5vw, 3.2rem); }
  .big-statement { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
  .statement-section { padding: 60px 0; }
  .showcase-grid.four-up { max-width: 100%; }
  .roadmap { padding-left: 36px; }
  .cta-inner { padding: 36px 32px; }
  .cta-inner h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
}

/* Mobile */
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero-heading { font-size: 2rem; margin-bottom: 18px; }
  .hero-eyebrow { font-size: 0.7rem; margin-bottom: 20px; }
  .hero-desc { font-size: 0.9rem; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-primary { padding: 14px 28px; font-size: 0.85rem; width: 100%; justify-content: center; }
  .hero-images { max-width: 100%; gap: 10px; }
  .hero-scroll { display: none; }

  .section-heading { font-size: 1.7rem; margin-bottom: 18px; }
  .section-sub { font-size: 0.9rem; margin-bottom: 28px; }
  .big-statement { font-size: 1.2rem; }
  .statement-section { padding: 48px 0; }

  .showcase-grid.four-up { gap: 8px; }
  .showcase-grid.compact { gap: 6px; }
  .showcase-cell { border-radius: 8px; }

  .split-section { gap: 24px; }
  .split-text p { font-size: 0.88rem; }
  .tag-row span { font-size: 0.68rem; padding: 5px 10px; }

  .gallery-grid { gap: 12px; }

  .roadmap { padding-left: 32px; max-width: 100%; }
  .roadmap-step { padding-left: 24px; padding-bottom: 36px; }
  .roadmap-dot { left: -36px; width: 28px; height: 28px; }
  .roadmap-dot svg { width: 16px; height: 16px; }
  .roadmap-content h3 { font-size: 1.05rem; }
  .roadmap-content p { font-size: 0.82rem; }

  .svc-card { padding: 24px 20px; }
  .svc-card h3 { font-size: 1rem; }
  .svc-card p { font-size: 0.8rem; }
  .svc-icon { width: 44px; height: 44px; margin-bottom: 14px; }

  .why-card { padding: 24px; }
  .why-card h4 { font-size: 1rem; }
  .why-num { font-size: 1.6rem; margin-bottom: 12px; }

  .about-layout { gap: 32px; }
  .about-p { font-size: 0.88rem; }

  .cta-banner { padding: 0 0 40px 0; }
  .cta-inner { padding: 32px 24px; border-radius: 18px; }
  .cta-inner h2 { font-size: 1.3rem; }
  .cta-inner p { font-size: 0.88rem; margin-bottom: 20px; }

  .contact-layout { gap: 36px; }
  .contact-link-card { padding: 12px 16px; font-size: 0.82rem; }
  .contact-form input, .contact-form textarea, .contact-form select { padding: 14px 16px; font-size: 0.85rem; }

  .footer-inner { flex-direction: column; text-align: center; gap: 12px; }
  .footer-links { justify-content: center; }

  .mobile-link { font-size: 2rem; }

  /* Lightbox mobile */
  .lightbox img { max-width: 95vw; max-height: 80vh; border-radius: 8px; }
  .lightbox-close { top: 16px; right: 20px; font-size: 2rem; }
}

/* Small phones */
@media (max-width: 380px) {
  .hero-heading { font-size: 1.7rem; }
  .section-heading { font-size: 1.5rem; }
  .hero-images { gap: 8px; }
  .services-icon-grid { gap: 12px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
