/* ═══════════════════════════════════════════════
   STUDIO TRIVIMA — styles.css
   studiotrivima.in
═══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --accent:        #C85A5A;
  --accent-hover:  #B04848;
  --accent-light:  #FDF0F0;
  --teal:          #5B9DB8;
  --bg:            #FAFAF8;
  --bg-alt:        #F4F1ED;
  --white:         #FFFFFF;
  --dark:          #111111;
  --text:          #1C1C1C;
  --text-muted:    #7A7A7A;
  --text-light:    #AAAAAA;
  --border:        #E8E4DF;
  --radius:        10px;
  --radius-lg:     18px;
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.10);
  --nav-h:         clamp(68px, 6.5vw, 100px);
  --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.18; }

/* ── UTILITIES ── */
.accent-text { color: var(--accent); }
.section { max-width: min(1440px, 92vw); margin: 0 auto; padding: clamp(60px, 7vw, 120px) clamp(24px, 4vw, 80px); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: min(1440px, 94vw); margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 80px);
  height: 100%;
  display: flex; align-items: center; gap: clamp(8px, 2vw, 40px);
}
.nav-logo {
  display: flex; align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: clamp(28px, 3.8vw, 58px);
  width: auto;
  display: block;
  max-width: clamp(100px, 30vw, 200px);
}

.nav-links {
  display: flex; align-items: center;
  gap: 2px; margin-left: auto;
}
.nav-link {
  font-size: clamp(12px, 0.95vw, 15px); font-weight: 500;
  padding: clamp(5px, 0.5vw, 8px) clamp(10px, 1vw, 16px);
  color: var(--text-muted);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.01em;
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: var(--bg-alt);
}

.nav-right { display: flex; align-items: center; gap: clamp(8px, 1.5vw, 16px); flex-shrink: 0; }

.btn-quote {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent);
  color: var(--white);
  font-size: clamp(10px, 0.85vw, 14px); font-weight: 600;
  letter-spacing: 0.05em;
  padding: clamp(8px, 0.8vw, 13px) clamp(12px, 1.5vw, 24px);
  border-radius: 50px;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-quote:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,90,90,0.3);
}
.btn-arrow { font-size: 13px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 100vh;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(60px, 7vw, 110px) clamp(28px, 3.5vw, 60px) clamp(60px, 7vw, 110px) clamp(36px, 5vw, 80px);
  max-width: min(660px, 100%);
}
.hero-eyebrow {
  font-size: clamp(10px, 0.75vw, 13px); font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: clamp(14px, 1.2vw, 22px);
}
.hero-headline {
  font-size: clamp(36px, 5vw, 90px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: clamp(16px, 1.4vw, 28px);
}
.hero-accent { color: var(--accent); font-style: italic; }
.hero-sub {
  font-size: clamp(13px, 1.05vw, 17px); color: var(--text-muted);
  line-height: 1.7; margin-bottom: clamp(28px, 2.5vw, 44px);
}
.hero-ctas {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--white);
  font-size: clamp(11px, 0.85vw, 14px); font-weight: 600;
  letter-spacing: 0.07em;
  padding: clamp(11px, 1vw, 16px) clamp(22px, 2vw, 32px);
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,90,90,0.28);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.07em;
  color: var(--text);
  transition: color var(--transition);
}
.btn-ghost:hover { color: var(--accent); }
.play-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--border);
  font-size: 10px;
  transition: border-color var(--transition);
}
.btn-ghost:hover .play-icon { border-color: var(--accent); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--text);
  color: var(--text);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.07em;
  padding: 12px 24px;
  border-radius: 50px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-outline:hover {
  background: var(--text); color: var(--white);
}

.hero-image-wrap {
  position: relative; overflow: hidden;
  -webkit-mask-image:
    linear-gradient(to right,
      transparent          0%,
      rgba(0,0,0,0.04)     6%,
      rgba(0,0,0,0.15)     14%,
      rgba(0,0,0,0.35)     23%,
      rgba(0,0,0,0.58)     33%,
      rgba(0,0,0,0.78)     44%,
      rgba(0,0,0,0.91)     54%,
      rgba(0,0,0,0.98)     62%,
      black                70%
    );
  mask-image:
    linear-gradient(to right,
      transparent          0%,
      rgba(0,0,0,0.04)     6%,
      rgba(0,0,0,0.15)     14%,
      rgba(0,0,0,0.35)     23%,
      rgba(0,0,0,0.58)     33%,
      rgba(0,0,0,0.78)     44%,
      rgba(0,0,0,0.91)     54%,
      rgba(0,0,0,0.98)     62%,
      black                70%
    );
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
  will-change: transform;
}
.hero-image-wrap:hover .hero-img { transform: scale(1.03); }

/* ══════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════ */
.stats-bar {
  display: flex; align-items: center;
  max-width: min(1440px, 92vw); margin: 0 auto;
  padding: clamp(20px, 2.5vw, 40px) clamp(24px, 5vw, 80px);
  gap: 0;
}
.stat-item {
  display: flex; flex-direction: column;
  flex: 1;
}
.stat-num-row {
  display: flex; align-items: baseline; gap: 1px;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 2.8vw, 48px); font-weight: 700;
  color: var(--text);
}
.stat-plus { font-size: clamp(18px, 2vw, 32px); font-weight: 700; color: var(--accent); }
.stat-infinity {
  font-size: clamp(26px, 3vw, 44px); font-weight: 400;
  color: var(--text); line-height: 1;
}
.stat-label {
  font-size: clamp(11px, 0.85vw, 14px); color: var(--text-muted);
  letter-spacing: 0.01em; margin-top: 4px;
}
.stat-divider {
  width: 1px; height: 44px;
  background: var(--border);
  margin: 0 40px;
}

/* ══════════════════════════════════════════════
   SECTION LABELS & HEADERS
══════════════════════════════════════════════ */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: clamp(11px, 0.8vw, 13px); font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: clamp(10px, 1vw, 18px);
}
.star-mark { color: var(--teal); font-size: 14px; }
.section-heading {
  font-size: clamp(24px, 3vw, 56px);
  font-weight: 700; line-height: 1.15;
  color: var(--text);
  margin-bottom: clamp(12px, 1.2vw, 20px);
}
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px;
}
.view-all-link {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color var(--transition);
}
.view-all-link:hover { color: var(--accent); }

/* ══════════════════════════════════════════════
   PORTFOLIO GRID
══════════════════════════════════════════════ */
/* Carousel wrapper (added by JS) */
.projects-carousel-wrap {
  position: relative;
}
.projects-carousel-arrows {
  display: flex; gap: 8px;
  position: absolute; right: 0; top: -48px;
}
.projects-carousel-arrow {
  width: 36px; height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-muted);
  transition: all .3s; flex-shrink: 0;
}
.projects-carousel-arrow:hover { border-color: var(--accent); color: var(--accent); }
.projects-carousel-arrow:disabled { opacity: .3; pointer-events: none; }
/* The scrollable row */
.projects-grid {
  display: flex;
  flex-wrap: nowrap;           /* keep all cards in one row, extend scroll */
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.projects-grid::-webkit-scrollbar { display: none; }
.project-card {
  border-radius: var(--radius-lg);
  flex: 0 0 calc(25% - 15px);  /* 4 cards visible; gap=20px, 3 gaps across 4 cards */
  width: calc(25% - 15px);
  scroll-snap-align: start;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.project-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 3/2.2;
}
.project-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-img-wrap img { transform: scale(1.06); }
.project-overlay {
  position: absolute; inset: 0;
  background: rgba(28,28,28,0.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.overlay-btn {
  background: var(--white);
  color: var(--text);
  font-size: 12px; font-weight: 600;
  padding: 9px 20px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  transform: translateY(8px);
  transition: transform var(--transition);
}
.project-card:hover .overlay-btn { transform: translateY(0); }
.project-info { padding: 18px 20px 20px; }
.project-cat {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-light);
  display: block; margin-bottom: 5px;
}
.project-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.project-link {
  font-size: 12px; font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.project-link:hover { color: var(--accent); }

/* ══════════════════════════════════════════════
   ASSET LIBRARY
══════════════════════════════════════════════ */
.asset-section { background: var(--bg-alt); border-radius: 0; max-width: 100%; padding: 0; }
.asset-section .asset-layout { max-width: min(1440px, 92vw); margin: 0 auto; padding: clamp(60px, 7vw, 120px) clamp(24px, 4vw, 80px); }
/* Remove default .section padding when asset-section is also .section */
.section.asset-section { padding: 0; }
.asset-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.asset-text .section-heading { margin-bottom: 18px; }
.asset-desc {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 32px;
  max-width: 340px;
}
.asset-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.asset-cat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px 14px 18px;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition);
  cursor: pointer;
}
.asset-cat-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.asset-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.asset-icon-wrap {
  width: 54px; height: 54px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.asset-cat-name {
  font-size: 13px; font-weight: 600;
  color: var(--text);
}
.asset-count {
  font-size: 11px; color: var(--text-light);
}
.asset-explore {
  font-size: 11px; font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  transition: opacity var(--transition);
}
.asset-explore:hover { opacity: 0.75; }

/* ══════════════════════════════════════════════
   PROCESS
══════════════════════════════════════════════ */
.process-section { background: var(--white); max-width: 100%; padding: 0; }
.section.process-section { padding: 0; }
.process-layout {
  max-width: min(1440px, 92vw); margin: 0 auto;
  padding: clamp(60px, 7vw, 120px) clamp(24px, 4vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.process-left .section-heading { margin-bottom: 28px; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-top: 12px;
}
.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.step-icon-wrap {
  width: 46px; height: 46px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step-num {
  display: block;
  font-size: 11px; font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px; font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ══════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════ */
.cta-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  overflow: hidden;
}
.cta-content {
  background: var(--bg-alt);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 60px);
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.cta-headline {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700; color: var(--text);
  line-height: 1.2;
}
.cta-sub {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 8px;
}
.cta-image-wrap { overflow: hidden; }
.cta-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.cta-image-wrap:hover .cta-img { transform: scale(1.04); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
}
.footer-top {
  max-width: min(1440px, 92vw); margin: 0 auto;
  padding: clamp(50px, 6vw, 90px) clamp(24px, 4vw, 80px) clamp(40px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: clamp(30px, 4vw, 60px);
}
.footer-logo { margin-bottom: 16px; }
.footer-tagline {
  font-size: 13px; color: var(--text-muted);
  font-style: italic; margin-bottom: 18px;
}
.footer-contact-email, .footer-contact-phone {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 6px;
}
.footer-contact-email a, .footer-contact-phone a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-contact-email a:hover, .footer-contact-phone a:hover { color: var(--accent); }
.footer-col-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13.5px; color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}
.newsletter-sub {
  font-size: 12.5px; color: var(--text-muted);
  line-height: 1.6; margin-bottom: 14px;
}
.newsletter-form {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  background: var(--bg);
  transition: border-color var(--transition);
}
.newsletter-form:focus-within { border-color: var(--accent); }
.newsletter-input {
  flex: 1; padding: 10px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; color: var(--text);
  background: none; border: none; outline: none;
}
.newsletter-input::placeholder { color: var(--text-light); }
.newsletter-btn {
  width: 38px; height: 38px; margin: 3px;
  background: var(--accent); color: var(--white);
  border: none; border-radius: 50%;
  font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
}
.newsletter-btn:hover { background: var(--accent-hover); }
.footer-bottom {
  max-width: min(1440px, 92vw); margin: 0 auto;
  padding: clamp(16px, 1.5vw, 24px) clamp(24px, 4vw, 80px);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 12.5px; color: var(--text-light); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 12.5px; color: var(--text-light);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--accent); }

/* ══════════════════════════════════════════════
   RESPONSIVE — Mobile first, up to 4K
══════════════════════════════════════════════ */

/* ── Tablet landscape / small desktop ── */
@media (max-width: 1100px) {
  /* Carousel: show 2.3 cards on tablet so user sees peek */
  .project-card { flex: 0 0 calc(50% - 10px); width: calc(50% - 10px); }
  .asset-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ── Mobile nav overlay (must come early so it cascades correctly) ── */
@media (max-width: 960px) {
  .nav-links {
    position: fixed; inset: 0; top: var(--nav-h);
    background: var(--bg);
    flex-direction: column; justify-content: center;
    gap: 8px; padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    border-top: 1px solid var(--border);
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: clamp(18px, 4vw, 26px); padding: 12px 0; }
  .hamburger { display: flex; }
  /* shrink GET A QUOTE on tablet so it doesn't crowd nav */
  .btn-quote {
    font-size: 11px;
    padding: 8px 14px;
    letter-spacing: 0.04em;
  }
}

/* ── Tablet portrait ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content {
    padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 48px);
    max-width: 100%; text-align: center;
  }
  .hero-ctas { justify-content: center; }
  .hero-image-wrap { height: 55vw; min-height: 280px; }
  .stats-bar { padding: 24px 28px; flex-wrap: wrap; gap: 24px; }
  .stat-divider { display: none; }
  .stat-item { min-width: 120px; }
  .asset-layout { grid-template-columns: 1fr; gap: 40px; }
  .asset-grid { grid-template-columns: repeat(3, 1fr); }
  .process-layout { grid-template-columns: 1fr; gap: 36px; }
  .cta-banner { grid-template-columns: 1fr; }
  .cta-image-wrap { height: 280px; }
  .section { padding: clamp(50px, 6vw, 80px) clamp(20px, 4vw, 48px); }
}

/* ── Mobile ── */
@media (max-width: 640px) {
  /* Carousel: show 1.15 cards on mobile so user knows there's more */
  .project-card { flex: 0 0 85vw; width: 85vw; }
  .asset-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .nav-inner { padding: 0 14px; gap: 6px; }
  /* On very small screens hide the text label in GET A QUOTE, keep arrow icon only */
  .btn-quote-text { display: none; }
  .btn-quote { padding: 9px 13px; font-size: 13px; letter-spacing: 0; }
  .hero-content { padding: clamp(32px, 8vw, 56px) 18px 24px; max-width: 100%; min-width: 0; }
  .hero-image-wrap { height: 64vw; min-height: 220px; }
  .stats-bar { padding: 18px 16px; gap: 16px; }
  .btn-primary { font-size: 13px; padding: 11px 20px; }
  .hero-headline { font-size: clamp(28px, 8vw, 44px); }
  .hero-ctas { gap: 12px; flex-direction: column; align-items: stretch; width: min(100%, 300px); margin: 0 auto; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { justify-content: center; width: 100%; min-height: 46px; }
  .btn-ghost { white-space: normal; text-align: center; }
  .cta-content { padding: 40px 20px; }
  .cta-headline { font-size: clamp(24px, 6vw, 36px); }
  /* Ensure nothing bleeds horizontally */
  .section { padding-left: 16px; padding-right: 16px; }
  .stats-bar { padding-left: 16px; padding-right: 16px; }
}

/* ══════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════ */
.contact-hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 40px;
  text-align: center;
  background: var(--bg);
}
.contact-hero .section-label { justify-content: center; margin-bottom: 16px; }
.contact-hero h1 {
  font-size: clamp(40px, 6vw, 84px);
  margin-bottom: 24px;
}
.contact-hero p {
  font-size: clamp(16px, 1.2vw, 20px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.contact-container {
  max-width: min(1440px, 92vw);
  margin: 0 auto 120px;
  padding: 0 clamp(24px, 4vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.info-group-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.info-item { margin-bottom: 32px; }
.info-link {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
  display: block;
}
.info-link:hover { color: var(--accent); }

.contact-socials {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.contact-social-link {
  width: 54px;
  height: 54px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: all var(--transition);
}
.contact-social-link:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-4px);
}

.contact-form-wrap {
  background: var(--white);
  padding: clamp(30px, 5vw, 60px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-group.full-width { grid-column: span 2; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.form-input, .form-textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  padding: 16px 20px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  outline: none;
  transition: all var(--transition);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(200, 90, 90, 0.1);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
}

.submit-btn {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 15px;
  border: none;
  cursor: pointer;
}

.success-message {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  width: 64px;
  height: 64px;
  background: #2da44e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
}

@media (max-width: 960px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 80px;
  }
  .contact-info-panel { text-align: center; align-items: center; }
  .contact-socials { justify-content: center; }
}

@media (max-width: 640px) {
  .contact-hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 28px; }
  .contact-container { padding: 0 20px; margin-bottom: 60px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }
  .contact-form-wrap { padding: 28px 18px; }
  .info-link { font-size: clamp(18px, 5vw, 28px) !important; }
}

/* ══════════════════════════════════════════════
   PROCESS PAGE
══════════════════════════════════════════════ */
.process-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 60px;
  text-align: center;
  background: var(--bg);
}
.process-hero h1 {
  font-size: clamp(40px, 6vw, 90px);
  margin-bottom: 24px;
}
.process-hero p {
  font-size: clamp(16px, 1.2vw, 20px);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.process-phases {
  max-width: min(1440px, 92vw);
  margin: 0 auto clamp(60px, 8vw, 120px);
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 80px);
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 9vw, 120px);
}

.phase-item {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.phase-item:nth-child(even) {
  grid-template-columns: 1.2fr 1fr;
}
.phase-item:nth-child(even) .phase-content { order: 2; }
.phase-item:nth-child(even) .phase-visual  { order: 1; }

.phase-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.phase-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.phase-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
}
.phase-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}
.phase-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.phase-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}
.phase-list-item svg {
  margin-top: 4px;
  flex-shrink: 0;
}

.phase-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}
.phase-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.phase-item:hover .phase-visual img { transform: scale(1.05); }

/* Process FAQ */
.process-faq {
  background: var(--bg-alt);
  padding: 100px 0;
}
.faq-grid {
  max-width: 900px;
  margin: 40px auto 0;
  display: grid;
  gap: 20px;
}
.faq-item {
  background: var(--white);
  padding: 24px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.faq-question {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.faq-answer {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 960px) {
  .phase-item, .phase-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .phase-item:nth-child(even) .phase-content { order: 1; }
  .phase-item:nth-child(even) .phase-visual  { order: 2; }
  .phase-list { align-items: center; }
  .phase-visual { aspect-ratio: 16/9; }
  .process-faq { padding: 60px 0; }
  .faq-grid { padding: 0 20px; }
  .process-hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 40px; }
  .process-hero p { padding: 0 20px; }
}

/* ══════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════ */
.about-hero {
  padding-top: calc(var(--nav-h) + 100px);
  padding-bottom: 80px;
  background: var(--bg);
  text-align: center;
}
.about-hero h1 {
  font-size: clamp(44px, 7vw, 100px);
  margin-bottom: 30px;
}
.about-hero .accent-text { font-style: italic; }

.about-story {
  max-width: min(1440px, 92vw);
  margin: 0 auto 100px;
  padding: 0 clamp(24px, 4vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 120px);
  align-items: center;
}
.story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.story-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}
.about-story:hover .story-image img { transform: scale(1.04); }

.story-content h2 { margin-bottom: 24px; font-size: clamp(28px, 3vw, 44px); }
.story-content p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.values-section {
  background: var(--dark);
  color: var(--white);
  padding: 120px 0;
  border-radius: 0;
}
.values-section .section-label { color: var(--text-light); }
.values-section .section-heading { color: var(--white); }

.values-grid {
  max-width: min(1440px, 92vw);
  margin: 60px auto 0;
  padding: 0 clamp(24px, 4vw, 80px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.value-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--accent);
  transform: translateY(-8px);
}
.value-icon {
  width: 50px; height: 50px;
  background: var(--accent);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.value-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}
.value-card p {
  font-size: 14px;
  color: #BBBBBB;
  line-height: 1.6;
}

.founder-section {
  padding: clamp(60px, 8vw, 140px) clamp(20px, 4vw, 80px);
  max-width: min(1440px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.founder-info .section-label { margin-bottom: 12px; }
.founder-info h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 30px; }
.founder-bio {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.founder-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.founder-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1100px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-story {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    margin-bottom: 60px;
  }
  .about-story .story-image { order: 2; }
  .about-story .story-content { order: 1; }
  .founder-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 48px);
  }
  .founder-image { order: 1; max-width: 380px; margin: 0 auto; width: 100%; }
  .founder-info { order: 2; }
  .about-hero { padding-top: calc(var(--nav-h) + 50px); padding-bottom: 50px; }
  .about-story { padding: 0 clamp(20px, 4vw, 48px); }
}

@media (max-width: 600px) {
  .process-hero,
  .about-hero,
  .contact-hero {
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
  }

  .process-hero h1,
  .about-hero h1,
  .contact-hero h1 {
    width: min(100%, 300px);
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(28px, 7vw, 32px);
    overflow-wrap: break-word;
  }

  .process-hero p,
  .about-story p,
  .contact-hero p {
    width: min(100%, 300px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    line-height: 1.75;
    overflow-wrap: break-word;
  }

  .story-content h2,
  .phase-title {
    width: min(100%, 300px);
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(25px, 7vw, 30px);
    overflow-wrap: break-word;
  }

  .phase-desc {
    width: min(100%, 300px);
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    overflow-wrap: break-word;
  }

  .values-grid { grid-template-columns: 1fr; }
  .value-card { padding: 28px 20px; }
  .values-section { padding: 60px 0; }
  .values-grid { padding: 0 20px; }
  .about-hero h1 { font-size: clamp(36px, 10vw, 60px); }
}

/* ══════════════════════════════════════════════
   PORTFOLIO PAGE
══════════════════════════════════════════════ */
.portfolio-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 60px;
  text-align: center;
}
.portfolio-hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  margin-bottom: 24px;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  padding: 0 20px;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.portfolio-grid-expanded {
  max-width: min(1440px, 92vw);
  margin: 0 auto clamp(60px, 7vw, 100px);
  padding: 0 clamp(16px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: clamp(16px, 3vw, 40px);
}

/* Specific card overrides for portfolio page if needed */
.portfolio-grid-expanded .project-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-grid-expanded .project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .portfolio-grid-expanded {
    grid-template-columns: repeat(auto-fill, minmax(min(280px,100%), 1fr));
  }
  .portfolio-hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 40px; }
  .portfolio-testimonials { padding: 60px 0; }
  .testimonial-slider { padding: 0 20px; }
}

@media (max-width: 600px) {
  .portfolio-grid-expanded {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .portfolio-filters { padding: 0 16px; gap: 8px; }
  .filter-btn { padding: 8px 16px; font-size: 13px; }
  .portfolio-hero h1 { font-size: clamp(34px, 9vw, 56px); }
}

/* Portfolio Testimonials */
.portfolio-testimonials {
  background: var(--bg-alt);
  padding: 120px 0;
}
.testimonial-slider {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: center;
}
.testimonial-item {
  padding: 0 20px;
}
.testimonial-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text);
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.author-name { font-weight: 700; font-size: 16px; }
.author-role { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
