/* ============================================
   CARUN ADVISORY — Design System & Styles
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* ---- CSS Custom Properties ---- */
:root {
  --white: #FFFFFF;
  --light-gray: #F4F4F2;
  --olive: #6B7A2A;
  --red: #D93A4B;
  --charcoal: #1A1A1A;
  --warm-gray: #6B6B6B;
  --border-gray: #E0E0DC;
  --deep-charcoal: #111111;
  --bg-texture: #F0F0EC;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.1);
}

/* ---- Custom Cursor ---- */
@media (min-width: 1025px) {
  body, a, button, input, select, textarea, .page-toc-item, .founder-card-v2 { cursor: none !important; }
}

#custom-cursor {
  position: fixed; top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--olive);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  transform: translate(-50%, -50%);
  mix-blend-mode: normal;
  transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1), height 0.3s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.3s ease, mix-blend-mode 0.3s ease;
  will-change: transform, width, height;
}

#custom-cursor.expand {
  width: 48px; height: 48px;
  background: rgba(107, 122, 42, 0.15);
  border: 1px solid rgba(107, 122, 42, 0.4);
  backdrop-filter: blur(2px);
}

@media (max-width: 1024px) {
  #custom-cursor { display: none !important; }
}

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* ---- Preloader ---- */
#preloader {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: var(--white); z-index: 999999;
  display: flex; justify-content: center; align-items: center;
  transition: transform 0.8s var(--ease-spring), opacity 0.8s ease;
}
#preloader.fade-out {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.loader-content {
  display: flex; flex-direction: column; align-items: center; gap: 2.5rem;
}
.loader-logo {
  height: 90px;
  animation: pulseLogo 2s infinite ease-in-out;
}
.loader-line {
  width: 150px; height: 1.5px; background: rgba(0,0,0,0.06);
  position: relative; overflow: hidden; border-radius: 2px;
}
.loader-line::after {
  content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 0%;
  background: var(--olive);
  animation: loadLine 1.5s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}
@keyframes loadLine {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ---- Scroll Progress Bar ---- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--olive); z-index: 10001; transition: none;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed; top: 1.5rem; left: 0; right: 0; margin: 0 auto; width: 92%; max-width: 1200px;
  z-index: 10000;
  padding: 0.5rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white);
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease, padding 0.3s ease, transform 0.3s ease;
  transform: translateY(-150%);
  animation: navSlideDown 0.8s var(--ease-out) 0.2s forwards;
}
@keyframes navSlideDown { to { transform: translateY(0); } }

.navbar.scrolled {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 0.5rem 1.5rem;
}
.navbar .logo { height: 75px; transition: height 0.3s ease; margin-left: 0.5rem; }
.navbar.scrolled .logo { height: 60px; }

.nav-links { display: flex; gap: 1rem; align-items: center; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; 
  color: var(--charcoal); position: relative; 
  padding: 0.6rem 1.2rem;
  text-transform: none;
  display: flex; align-items: center; gap: 0.3rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1;
}

/* Remove old pseudo-elements */
.nav-links a::before, .nav-links a::after { content: none; }

/* The "Architectural" Underline */
.nav-links a:not(.btn-cta)::after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 1.2rem;
  right: 1.2rem;
  height: 1px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0.6;
}

.nav-links a:not(.btn-cta):hover {
  color: var(--olive);
  transform: translateY(-3px);
  letter-spacing: 0.01em;
}

.nav-links a:not(.btn-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Active State — More persistent and distinct */
.nav-links a.active:not(.btn-cta) {
  color: var(--olive);
  font-weight: 600;
}

.nav-links a.active:not(.btn-cta)::after {
  transform: scaleX(1);
  opacity: 1;
  height: 1.5px;
}

/* A unique "Strategic Dot" for the active page */
.nav-links a.active:not(.btn-cta)::before {
  content: '';
  position: absolute;
  top: 0.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  background: var(--red);
  border-radius: 50%;
  animation: dotFadeIn 0.6s ease-out forwards;
}

@keyframes dotFadeIn {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* CTA Button */
.btn-cta, .nav-links a.btn-cta {
  display: inline-block; position: relative; overflow: hidden;
  padding: 0.8rem 1.8rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  text-transform: none; letter-spacing: 0;
  color: var(--white) !important; background: var(--red);
  transition: transform 0.15s ease, background 0.3s ease, box-shadow 0.3s ease;
  z-index: 1; margin-left: 1rem;
  white-space: nowrap;
}
.btn-cta::after, .nav-links a.btn-cta::after { display: none !important; }
.btn-cta:hover, .nav-links a.btn-cta:hover { 
  background: #b92c3a; /* Darker red on hover */
  color: var(--white) !important; 
  box-shadow: 0 4px 15px rgba(217, 58, 75, 0.3);
}
.btn-cta:active, .nav-links a.btn-cta:active { transform: scale(0.97); }

.btn-outline {
  display: inline-block; padding: 0.7rem 1.6rem; border-radius: 3px;
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--charcoal);
  border: 1.5px solid var(--border-gray);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.15s ease;
}
.btn-outline:hover { border-color: var(--olive); color: var(--olive); }
.btn-outline:active { transform: scale(0.97); }

/* Mobile Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  width: 26px; z-index: 100;
}
.hamburger span {
  display: block; width: 100%; height: 2px; background: var(--charcoal);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  z-index: 9999; opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-size: 1.8rem; font-weight: 500; text-transform: none;
  letter-spacing: -0.01em; color: var(--charcoal);
  transition: all 0.4s var(--ease-out);
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mobile-menu a:hover { 
  color: var(--olive); 
  transform: translateX(15px);
}
.mobile-menu a::before {
  content: '→';
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}
.mobile-menu a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 8vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 6vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.4rem, 4vw, 2rem); }

.section-label {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--olive);
  margin-bottom: 1rem; display: inline-block;
}
.body-text { font-size: 1rem; line-height: 1.8; color: var(--warm-gray); max-width: 680px; }

/* ---- Inner Page Header (Base) ---- */
.page-header {
  padding: 12rem 3rem 6rem;
  background: #F6F5F2;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%; width: 140%; height: 200%;
  background: radial-gradient(circle at center, rgba(193, 214, 197, 0.3) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.page-header .container {
  position: relative;
  z-index: 1;
  max-width: 850px;
}
.page-header h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--deep-charcoal);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  padding-top: 0.2em;
  white-space: pre-wrap !important;
  overflow-wrap: break-word !important;
}
.page-header p.body-text {
  font-size: 1.2rem;
  color: var(--warm-gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Page header label */
.ph-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--olive);
  display: inline-block;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: phLabelIn 0.6s 0.8s ease forwards;
}
@keyframes phLabelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==============================
   Warm Gradient Glow (shared)
   ============================== */
.ph-warm-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  animation: warmPulse 8s ease-in-out infinite alternate;
}
@keyframes warmPulse {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

/* ---- ABOUT ---- */
.page-header--about {
  background: linear-gradient(160deg, #F9F7F3 0%, #F3F1EB 40%, #ECE9E0 100%);
  padding: 14rem 3rem 7rem;
}
.page-header--about::before { display: none; }
.page-header--about .ph-warm-glow {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(107,122,42,0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 75%, rgba(217,58,75,0.06) 0%, transparent 50%);
}

/* ---- SERVICES ---- */
.page-header--services {
  background: linear-gradient(160deg, #FAFAF8 0%, #F5F3ED 40%, #EDEBE3 100%);
  padding: 14rem 3rem 7rem;
}
.page-header--services::before { display: none; }
.page-header--services .ph-warm-glow {
  background:
    radial-gradient(ellipse at 30% 60%, rgba(107,122,42,0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 25%, rgba(145,160,70,0.08) 0%, transparent 50%);
}
.page-header--services .ph-label { color: var(--olive); }

/* ---- PORTFOLIO ---- */
.page-header--portfolio {
  background: linear-gradient(160deg, #F7F5F1 0%, #F1EEE6 40%, #EAE7DE 100%);
  padding: 14rem 3rem 7rem;
}
.page-header--portfolio::before { display: none; }
.page-header--portfolio .ph-warm-glow {
  background:
    radial-gradient(ellipse at 80% 70%, rgba(139,107,42,0.09) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 30%, rgba(107,122,42,0.08) 0%, transparent 55%);
}

/* ---- CONTACT ---- */
.page-header--contact {
  background: linear-gradient(160deg, #F9F7F3 0%, #F4F0E8 40%, #EDE8DD 100%);
  padding: 14rem 3rem 7rem;
}
.page-header--contact::before { display: none; }
.page-header--contact .ph-warm-glow {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(217,58,75,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(107,122,42,0.1) 0%, transparent 50%);
}
.page-header--contact .ph-label { color: var(--red); }

/* ---- Responsive Page Headers ---- */
@media (max-width: 768px) {
  .page-header--about,
  .page-header--services,
  .page-header--portfolio,
  .page-header--contact {
    padding: 10rem 1.5rem 5rem;
  }
}

/* ---- Sections ---- */
section { padding: 7rem 3rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-white { background: var(--white); }
.section-gray { background: #F6F5F2; }
.section-dark { background: var(--deep-charcoal); color: var(--white); }

/* ---- Fluid Blob Hero ---- */
.hero-blob {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #F4F4F2;
  transition: background 1.2s ease;
}
#blob-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Premium grain texture overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.035;
  pointer-events: none;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Overlay content */
.hero-blob-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 8rem 4rem 6rem;
  pointer-events: none;
}

/* Top-left tagline */
.hero-blob-tagline {
  max-width: 340px;
  opacity: 0;
  animation: blobFadeIn 0.8s 0.3s ease forwards;
}
.hero-blob-tagline p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--charcoal);
  font-weight: 400;
}

/* Center title + description */
.hero-blob-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
  pointer-events: none;
}
.hero-blob-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 60px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(30px);
  animation: blobTitleIn 0.9s 0.6s ease forwards;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-blob-title.fade-out {
  opacity: 0 !important;
  transform: translateY(-20px) !important;
}
.hero-blob-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.88);
  max-width: 440px;
  margin: 1.5rem auto 0;
  line-height: 1.75;
  text-shadow: 0 2px 12px rgba(0,0,0,0.12);
  opacity: 0;
  animation: blobFadeIn 0.7s 1.2s ease forwards;
  transition: opacity 0.4s ease;
}
.hero-blob-desc.fade-out {
  opacity: 0 !important;
}

@keyframes blobTitleIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes blobFadeIn {
  to { opacity: 1; }
}

/* Bottom service tabs */
.hero-blob-tabs {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 5;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.hero-tab {
  flex: 1;
  padding: 1.2rem 1rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85); /* Much more visible against colored blobs */
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
}
.hero-tab:hover {
  color: #fff;
  background: rgba(255,255,255,0.15);
}
.hero-tab.active {
  color: var(--charcoal);
  font-weight: 600;
  background: rgba(255,255,255,0.65); /* Keeps selected tab highly legible */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--charcoal);
}

/* Responsive blob hero */
@media (max-width: 968px) {
  .hero-blob { height: 100vh; }
  .hero-blob-overlay { padding: 7rem 2rem 5rem; }
  .hero-blob-title { font-size: clamp(2.4rem, 7vw, 4rem); }
  .hero-blob-tagline { display: none; }
  .hero-blob-tabs { flex-wrap: wrap; }
  .hero-tab { flex: 1 1 50%; font-size: 0.7rem; padding: 1rem 0.6rem; }
}
@media (max-width: 600px) {
  .hero-blob-title { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-blob-desc { font-size: 0.8rem; max-width: 300px; }
  .hero-tab { font-size: 0.65rem; padding: 0.8rem 0.4rem; letter-spacing: 0.04em; }
}




/* ---- Two Column Layout ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.two-col-center { align-items: center; }

/* ---- Creative Typographic Layout ---- */
.typo-section { padding: 10rem 0 8rem; background-color: #F6F5F2; overflow: hidden; }
.typo-container { max-width: 1000px; margin: 0 auto; position: relative; }

.typo-layout { position: relative; width: fit-content; margin: 0 auto; padding: 2rem; }
.typo-text-block { display: flex; flex-direction: column; align-items: flex-start; z-index: 5; position: relative; }

.typo-line-1 { font-family: var(--font-body); font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; color: var(--charcoal); margin-left: 1rem; margin-bottom: 0.5rem; }
.typo-line-2 { font-family: var(--font-body); font-size: clamp(4rem, 9vw, 9rem); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95; color: var(--deep-charcoal); display: flex; align-items: center; white-space: nowrap; margin-bottom: 0.2rem; }
.typo-word-nav { font-size: clamp(1.5rem, 2.5vw, 2.5rem); font-weight: 500; letter-spacing: -0.02em; margin-left: 1.5rem; transform: translateY(-0.5rem); }
.typo-line-3 { font-family: var(--font-body); font-size: clamp(4rem, 9vw, 9rem); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95; color: var(--deep-charcoal); margin-left: 6rem; position: relative; z-index: 10; }

.typo-img-top { position: absolute; top: -1rem; right: -6rem; z-index: 2; pointer-events: none; }
.typo-circle-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; z-index: -1; }
.typo-circle-bg-green { width: 240px; height: 240px; background-color: #C1D6C5; }

.typo-circle-img { border-radius: 50%; overflow: hidden; position: relative; }
.typo-circle-img img { width: 100%; height: 100%; object-fit: cover; }
.typo-circle-1 { width: 140px; height: 140px; box-shadow: var(--shadow-sm); pointer-events: auto; }
.typo-circle-2 { width: 180px; height: 180px; box-shadow: var(--shadow-md); pointer-events: auto; }

.typo-img-bottom { position: absolute; bottom: 1.5rem; left: -3rem; z-index: 4; pointer-events: none; }

.circle-cutout { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background-color: #F6F5F2; border-radius: 50%; box-shadow: inset 0 4px 10px rgba(0,0,0,0.08); }

.typo-desc { max-width: 450px; margin: 4rem auto 0; border-left: 2px solid var(--olive); padding-left: 1.5rem; text-align: left; margin-left: 45%; }
.typo-desc p { font-family: var(--font-heading); font-size: 1.2rem; line-height: 1.6; color: var(--warm-gray); margin: 0; }

@media (max-width: 1024px) {
  .typo-circle-bg-green { width: 200px; height: 200px; }
  .typo-circle-1 { width: 120px; height: 120px; }
  .typo-circle-2 { width: 140px; height: 140px; }
  .typo-line-3 { margin-left: 3rem; }
  .typo-img-bottom { left: -1rem; bottom: 0.5rem; }
  .typo-desc { margin-left: 20%; max-width: 80%; }
}
@media (max-width: 768px) {
  .typo-section { padding: 5rem 0; }
  .typo-layout { width: 100%; text-align: center; padding: 2rem 1rem; }
  .typo-text-block { align-items: center; }
  .typo-line-1 { margin: 0 0 1rem 0; font-size: 1.1rem; }
  .typo-line-2 { flex-direction: column; white-space: normal; font-size: clamp(3rem, 12vw, 5rem); line-height: 1.1; margin: 0; }
  .typo-word-nav { margin: 0.5rem 0; transform: none; font-size: 1.2rem; font-style: italic; }
  .typo-line-3 { margin: 0; font-size: clamp(3rem, 12vw, 5rem); line-height: 1.1; white-space: normal; word-break: break-word; }
  .typo-img-top, .typo-img-bottom { display: none; }
  .typo-desc { margin: 3rem auto 0; border-left: none; border-top: 2px solid var(--olive); padding: 1.5rem 0 0 0; text-align: center; max-width: 100%; }
}

/* ---- Why Section ---- */
.why-header h2 { font-size: clamp(2.8rem, 5vw, 5rem); letter-spacing: -0.04em; line-height: 1.05; margin-top: 0.5rem; }

.why-list { max-width: 680px; }
.why-list--grid { max-width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.why-item--full { grid-column: 1 / -1; }

.why-item {
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 3px solid var(--olive);
  margin-bottom: 1.2rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.why-item:hover {
  border-left-color: var(--red);
  transform: translateX(4px);
}
.why-item p { font-size: 1.05rem; color: var(--warm-gray); line-height: 1.7; margin: 0; }

/* ---- Closing Strip ---- */
.closing-strip { text-align: center; position: relative; overflow: hidden; }
.closing-strip .body-text { color: rgba(255,255,255,0.8); margin: 0 auto 2rem; max-width: 700px; }
.closing-bg-anim {
  position: absolute; inset: 0; opacity: 0.04;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 40px, rgba(255,255,255,0.1) 40px, rgba(255,255,255,0.1) 42px
  );
  animation: diagonalMove 20s linear infinite;
}
@keyframes diagonalMove { to { background-position: 80px 80px; } }

/* ---- Founder Cards v2 (Premium Editorial) ---- */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.founder-card-v2 {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Second card is offset downward for asymmetry */
.founder-card-v2--offset {
  margin-top: 5rem;
}

/* Image wrapper */
.founder-v2-img-wrap {
  position: relative;
  margin-bottom: 2rem;
}

.founder-v2-img-inner {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.founder-v2-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
  transition: filter 0.6s ease, transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.founder-card-v2:hover .founder-v2-photo {
  filter: grayscale(0%);
  transform: scale(1.04);
}

/* Large decorative index number */
.founder-v2-index {
  position: absolute;
  bottom: -1.5rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--olive);
  opacity: 0.25;
  z-index: 3;
  pointer-events: none;
}

/* Info area */
.founder-v2-info {
  padding: 0.5rem 0;
}

/* Olive accent bar */
.founder-v2-accent {
  width: 30px;
  height: 2px;
  background: var(--olive);
  margin-bottom: 1.2rem;
  transition: width 0.5s var(--ease-out);
}
.founder-card-v2:hover .founder-v2-accent {
  width: 60px;
}

.founder-card-v2 h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--deep-charcoal);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.founder-card-v2 .role {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--olive);
  margin-bottom: 1rem;
  display: inline-block;
}

.founder-v2-bio {
  font-size: 0.95rem;
  color: var(--warm-gray);
  line-height: 1.7;
  max-width: 400px;
}

/* Responsive */
@media (max-width: 1024px) {
  .founders-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .founder-card-v2--offset {
    margin-top: 0;
  }
  .founder-v2-img-inner {
    aspect-ratio: 1 / 1;
  }
  .founder-v2-index {
    display: none !important;
  }
}


/* ---- Vision/Mission Panels ---- */
.vm-panel {
  padding: 2.5rem; position: relative;
  border-left: 3px solid var(--olive);
}
.vm-panel.mission { border-left-color: var(--red); }
.vm-panel::before {
  content: ''; position: absolute; left: -3px; top: 0;
  width: 3px; height: 40%;
  background: inherit; transition: height 0.5s var(--ease-out);
}
.vm-panel:hover::before { height: 100%; }
.vm-panel h3 { margin-bottom: 1rem; }
.vm-panel p { font-size: 0.95rem; color: var(--warm-gray); line-height: 1.8; }

/* ---- Service Cards ---- */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.service-card {
  padding: 2rem; border: 1px solid var(--border-gray); background: var(--white);
  position: relative; overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.service-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-md);
  background: #F7F7F4;
}
.service-card .card-num {
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 600;
  color: var(--olive); margin-bottom: 0.8rem; display: inline-block;
  transition: transform 0.35s ease;
}
.service-card:hover .card-num { transform: scale(1.1); }
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.service-card p { font-size: 0.9rem; color: var(--warm-gray); line-height: 1.7; }
.service-card .card-arrow {
  position: absolute; right: 1.5rem; bottom: 1.5rem;
  color: var(--red); font-size: 1.2rem; font-weight: 700;
  opacity: 0; transform: translateX(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.service-card:hover .card-arrow { opacity: 1; transform: translateX(0); }

/* ---- Interactive Service List ---- */
.service-scroll-section {
  position: relative;
  /* Removed overflow: hidden to prevent breaking sticky positioning */
  padding: 10rem 0;
}

.service-bg-grid {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center center;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.1s linear;
}

.service-list-wrapper {
  position: relative;
  display: flex;
  gap: 6rem;
  align-items: flex-start;
}

.service-progress-container {
  position: sticky;
  top: 25vh;
  height: 50vh;
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10; /* High z-index to stay above background and list content */
}

.service-progress-track {
  width: 2px;
  height: 100%;
  background: var(--border-gray);
  position: relative;
  border-radius: 10px;
}

.service-progress-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 16px;
  height: 16px;
  background: var(--olive);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(107, 122, 42, 0.4);
  transition: top 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 11;
}

.interactive-service-list {
  list-style: none; padding: 0; margin: 0;
  flex: 1;
  border-top: 1px solid var(--border-gray);
}
.service-list-item {
  border-bottom: 1px solid var(--border-gray);
  padding: 5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: none; 
  transition: padding 0.5s var(--ease-out), background 0.5s ease;
  position: relative;
  overflow: hidden;
}
.service-list-item::before {
  content: ''; position: absolute; left: 0; top: 0; width: 0%; height: 100%;
  background: rgba(107, 122, 42, 0.03); z-index: -1;
  transition: width 0.8s var(--ease-out);
}
.service-list-item:hover::before { width: 100%; }
.service-list-item:hover { padding-left: 2rem; }

.item-header { display: flex; align-items: baseline; gap: 2rem; width: 40%; }
.item-header .num { font-family: var(--font-heading); font-size: 1.5rem; color: var(--olive); font-style: italic; transition: color 0.4s ease; }
.item-header h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--charcoal); transition: all 0.4s ease; margin: 0; }
.item-body { width: 55%; opacity: 0.4; transition: all 0.5s ease; transform: translateY(10px); }
.item-body p { margin: 0; font-size: 1.15rem; line-height: 1.7; color: var(--warm-gray); }

.service-list-item.active .num { color: var(--olive); font-weight: 700; }
.service-list-item.active h2 { color: var(--deep-charcoal); transform: translateX(10px); }
.service-list-item.active .item-body { opacity: 1; transform: translateY(0); }

/* Responsive adjustments */
@media (max-width: 968px) {
  .service-list-wrapper { gap: 2rem; }
  .service-progress-container { display: none; }
  .item-header { width: 100%; margin-bottom: 1.5rem; }
  .item-body { width: 100%; }
  .service-list-item { flex-direction: column; align-items: flex-start; padding: 3rem 0; }
}

/* ---- Process Flow ---- */
.process-flow { display: flex; align-items: center; justify-content: center; gap: 0; position: relative; padding: 3rem 0; flex-wrap: wrap; }
.process-step { display: flex; flex-direction: column; align-items: center; z-index: 2; }
.process-node {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; color: var(--red);
  transform: scale(0); transition: transform 0.5s var(--ease-spring);
}
.process-node.animate { transform: scale(1); }
.process-label {
  margin-top: 0.8rem; font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--charcoal);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.process-label.animate { opacity: 1; transform: translateY(0); }
.process-connector {
  width: 80px; height: 2px; background: var(--border-gray); position: relative;
  margin: 0 0.5rem; margin-bottom: 2rem;
}
.process-connector .fill {
  position: absolute; top: 0; left: 0; height: 100%; width: 0%;
  background: var(--olive); transition: width 0.6s var(--ease-out);
}
.process-connector .fill.animate { width: 100%; }

/* ---- Portfolio Cards ---- */
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.portfolio-card {
  padding: 2.5rem; background: var(--white); border: 1px solid var(--border-gray);
  border-bottom: 2px solid var(--border-gray); position: relative; overflow: hidden;
  transition: border-top-color 0.4s ease;
  z-index: 1;
}
.portfolio-card::before {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 0%;
  background: var(--deep-charcoal);
  transition: height 0.45s var(--ease-out);
  z-index: -1;
}
.portfolio-card:hover::before { height: 100%; }
.portfolio-card:hover { border-top-color: var(--red); }
.portfolio-card h3 {
  color: var(--olive); font-size: 1.3rem; margin-bottom: 0.7rem;
  transition: color 0.4s ease;
}
.portfolio-card:hover h3 { color: var(--white); }
.portfolio-card p { font-size: 0.9rem; color: var(--warm-gray); line-height: 1.7; transition: color 0.4s ease; }
.portfolio-card:hover p { color: rgba(255,255,255,0.7); }
.portfolio-card .card-arrow {
  position: absolute; right: 1.5rem; bottom: 1.5rem;
  color: var(--red); font-size: 1.1rem; font-weight: 700;
  opacity: 0; transform: translateY(5px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.portfolio-card:hover .card-arrow { opacity: 1; transform: translateY(0); }

/* ---- Contact Form ---- */
.contact-form { max-width: 640px; }
.form-group { margin-bottom: 1.3rem; }
.form-group label {
  display: block; font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--warm-gray); margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.85rem 1rem; font-family: var(--font-body);
  font-size: 0.95rem; color: var(--charcoal);
  border: 1px solid var(--border-gray); border-radius: 3px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(107, 122, 42, 0.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.btn-submit {
  position: relative; overflow: hidden;
  padding: 0.85rem 2.5rem; border-radius: 3px;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--white); background: var(--red); border: none;
  transition: color 0.4s ease, transform 0.15s ease;
  z-index: 1; cursor: pointer;
}
.btn-submit::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; background: var(--deep-charcoal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
  z-index: -1;
}
.btn-submit:hover::before { transform: scaleX(1); }
.btn-submit:active { transform: scale(0.97); }
.btn-submit .spinner {
  display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white); border-radius: 50%;
  animation: spin 0.6s linear infinite; margin-left: 0.5rem; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Closing Tagline ---- */
.closing-tagline {
  text-align: center; padding: 3rem; font-family: var(--font-heading);
  font-size: 1.3rem; color: var(--warm-gray); font-style: italic;
}
.closing-tagline .phrase { display: inline; opacity: 0; transition: opacity 0.8s ease; }
.closing-tagline .phrase.animate { opacity: 1; }

/* ---- Footer ---- */
.footer {
  background: var(--deep-charcoal); padding: 4rem 3rem 2rem; text-align: center;
  color: rgba(255,255,255,0.5);
}
.footer .logo { height: 100px; margin: 0 auto 1.5rem; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5); position: relative; padding-bottom: 2px;
}
.footer-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.footer-links a:hover::after { transform: scaleX(1); }
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-tagline {
  font-family: var(--font-heading); font-style: italic;
  color: var(--olive); font-size: 0.95rem; margin-bottom: 1rem;
}
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.35); }

/* ---- Scroll Reveal Animation Classes ---- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ---- Sector Line ---- */
.sector-line { font-family: var(--font-heading); font-style: italic; font-size: 1.1rem; color: var(--warm-gray); line-height: 2; }

/* ---- Page Header (inner pages) ---- */
.page-header {
  padding: 10rem 3rem 5rem; text-align: center;
  background: var(--light-gray);
}
.page-header h1 { margin-bottom: 1.5rem; }
.page-header .body-text { margin: 0 auto; }
/* ---- Split Contact Section ---- */
.split-contact-section {
  display: flex;
  width: 100%;
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
  min-height: 80vh;
}
.contact-left {
  flex: 1;
  background: #FDFDFB; /* Very light cream */
  border-right: 1px solid var(--border-gray);
  display: flex;
  flex-direction: column;
}
.contact-right {
  flex: 1.2;
  background: #F6F5F2; /* Light warm gray */
  padding: 4rem 10%;
  display: flex;
  flex-direction: column;
}
.contact-box {
  padding: 4rem;
  border-bottom: 1px solid var(--border-gray);
}
.contact-box:last-child {
  border-bottom: none;
}
.contact-box.top-box {
  background-size: 20px 20px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  min-height: 200px;
  display: flex;
  align-items: center;
}
.contact-box h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--deep-charcoal);
  margin: 0;
}
.contact-box h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--deep-charcoal);
}
.contact-box ul {
  list-style: none;
  padding: 0; margin: 0;
}
.contact-box ul li {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  color: var(--charcoal);
  position: relative;
  padding-left: 1.2rem;
}
.contact-box ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--charcoal);
}
.contact-box a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.box-icon {
  margin-bottom: 1.5rem;
}

/* Floating Form */
.contact-right h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 3rem;
  font-weight: 400;
  color: var(--deep-charcoal);
}
.floating-form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.floating-group {
  position: relative;
  width: 100%;
}
.floating-group input, .floating-group textarea {
  width: 100%;
  padding: 0.5rem 0;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  background: transparent;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--deep-charcoal);
  outline: none;
  transition: border-color 0.3s ease;
}
.floating-group textarea {
  resize: vertical;
  min-height: 80px;
  padding-top: 1rem;
}
.floating-group input:focus, .floating-group textarea:focus {
  border-bottom-color: var(--olive);
}
.floating-group label {
  position: absolute;
  top: 0.5rem;
  left: 0;
  font-size: 1rem;
  color: var(--charcoal);
  pointer-events: none;
  transition: 0.3s ease all;
}
.floating-group input:focus ~ label,
.floating-group input:not(:placeholder-shown) ~ label,
.floating-group textarea:focus ~ label,
.floating-group textarea:not(:placeholder-shown) ~ label {
  top: -16px;
  font-size: 0.8rem;
  color: var(--olive);
}
.asterisk {
  color: #D35400; /* Subtle orange for asterisk as per screenshot */
  margin-left: 4px;
}
.static-label {
  position: static !important;
  display: block;
  font-size: 1rem !important;
  color: var(--charcoal) !important;
  margin-bottom: 0.5rem;
  pointer-events: auto !important;
}

/* ---- Portfolio Theme Stacked Cards ---- */
.stacked-cards-container {
  display: flex;
  flex-direction: column;
  gap: 3rem; /* Spacing between cards before they stick */
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 20vh;
}

.stacked-card {
  position: sticky;
  display: flex;
  align-items: center;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 -15px 50px rgba(0,0,0,0.12); /* Shadow that appears over the card below it */
  height: 480px;
  border: 1px solid rgba(255,255,255,0.05);
}

.stacked-card .sc-img {
  flex: 0 0 45%;
  height: 100%;
  position: relative;
  overflow: hidden;
  opacity: 0;
  clip-path: inset(10% 10% 10% 10%);
  transform: scale(1.05);
  transition: opacity 1s var(--ease-out), clip-path 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}

.stacked-card.is-visible .sc-img {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

.stacked-card .sc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.stacked-card:hover .sc-img img {
  transform: scale(1.05);
}

.stacked-card .sc-content {
  flex: 1;
  padding: 4rem 4rem 4rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out) 0.2s, transform 0.8s var(--ease-out) 0.2s;
}

.stacked-card.is-visible .sc-content {
  opacity: 1;
  transform: translateY(0);
}

.sc-header {
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.stacked-card:nth-child(3) .sc-header,
.stacked-card:nth-child(6) .sc-header {
  border-bottom-color: rgba(0,0,0,0.15);
}

.stacked-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  max-width: 85%;
}

.stacked-card p {
  font-size: 1.15rem;
  line-height: 1.6;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .stacked-card {
    flex-direction: column;
    height: auto;
    position: relative; /* Remove sticky on mobile */
    top: 0 !important;
  }
  .stacked-card .sc-img {
    height: 300px;
    width: 100%;
  }
  .stacked-card .sc-content {
    padding: 2.5rem 1.5rem;
  }
}


/* ---- Premium Process ---- */
.premium-process {
  display: flex;
  background: var(--light-gray);
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  min-height: 600px;
  position: relative;
}
.premium-process-text {
  flex: 0 0 35%;
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 10;
  background: var(--light-gray);
  box-shadow: 20px 0 40px rgba(246, 245, 242, 0.95);
}
.premium-process-text h2 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: var(--deep-charcoal);
  margin-bottom: 1.5rem;
}
.premium-process-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--warm-gray);
  margin-bottom: 2.5rem;
}
.premium-process-network {
  flex: 1;
  position: relative;
  background-image: 
    linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
}
.net-lines {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.net-path {
  fill: none;
  stroke: rgba(0,0,0,0.08);
  stroke-width: 2px;
}
.net-dot {
  fill: #D35400;
}
.net-node {
  position: absolute;
  background: var(--white);
  padding: 0.5rem 1.8rem 0.5rem 0.5rem;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s ease;
  z-index: 5;
  white-space: nowrap;
}
.net-node:hover {
  transform: translate(-50%, -50%) scale(1.05);
}
.node-icon {
  width: 36px; height: 36px;
  background: #F4F4F4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
}
.node-icon svg {
  width: 16px; height: 16px;
}
.node-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--deep-charcoal);
}
.node-status {
  position: absolute;
  top: -6px;
  right: 12px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  color: #27ae60;
}
.node-status.alert {
  color: #e74c3c;
}
.node-status svg {
  width: 10px; height: 10px;
  stroke-width: 3;
}
.node-arc {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-right-color: var(--olive);
}
.node-glow {
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0) 30%, rgba(255,255,255,1) 50%, rgba(0,0,0,0.03) 70%, rgba(0,0,0,0) 100%);
  z-index: -1;
  pointer-events: none;
}

/* --- Premium Process Animations --- */
.net-path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}
.premium-process.is-animated .net-path {
  animation: drawNetworkLine 2.5s ease forwards;
}
.premium-process.is-animated .net-path:nth-of-type(1) { animation-delay: 0.2s; }
.premium-process.is-animated .net-path:nth-of-type(2) { animation-delay: 0.4s; }
.premium-process.is-animated .net-path:nth-of-type(3) { animation-delay: 0.6s; }
.premium-process.is-animated .net-path:nth-of-type(4) { animation-delay: 0.8s; }
.premium-process.is-animated .net-path:nth-of-type(5) { animation-delay: 1.0s; }
.premium-process.is-animated .net-path:nth-of-type(6) { animation-delay: 1.2s; }

@keyframes drawNetworkLine {
  to { stroke-dashoffset: 0; }
}

.net-node {
  opacity: 0;
  transform: translate(-50%, -30%) scale(0.9);
}
.premium-process.is-animated .net-node {
  animation: popInNode 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.premium-process.is-animated .net-node:nth-of-type(1) { animation-delay: 0.6s; }
.premium-process.is-animated .net-node:nth-of-type(2) { animation-delay: 1.2s; }
.premium-process.is-animated .net-node:nth-of-type(3) { animation-delay: 1.8s; }
.premium-process.is-animated .net-node:nth-of-type(4) { animation-delay: 2.4s; }
.premium-process.is-animated .net-node:nth-of-type(5) { animation-delay: 3.0s; }

@keyframes popInNode {
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.net-dot {
  opacity: 0;
  transform: scale(0);
  transform-origin: center;
}
.premium-process.is-animated .net-dot {
  animation: popDot 0.4s ease forwards;
}
.premium-process.is-animated .net-dot:nth-of-type(1) { animation-delay: 1.0s; }
.premium-process.is-animated .net-dot:nth-of-type(2) { animation-delay: 1.5s; }
.premium-process.is-animated .net-dot:nth-of-type(3) { animation-delay: 2.1s; }
.premium-process.is-animated .net-dot:nth-of-type(4) { animation-delay: 2.8s; }

@keyframes popDot {
  to { opacity: 1; transform: scale(1); }
}

.node-status, .node-arc, .node-glow {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.net-node.show-extras .node-status,
.net-node.show-extras .node-arc,
.net-node.show-extras .node-glow {
  opacity: 1;
}

/* ---- Parallax & Image Effects ---- */
.parallax-container {
  position: relative;
  overflow: hidden;
  height: 450px;
  margin: 2rem 0 4rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.parallax-img {
  position: absolute;
  top: -20%; left: 0;
  width: 100%; height: 140%;
  object-fit: cover;
  will-change: transform;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.62) 0%,
    rgba(0,0,0,0.48) 50%,
    rgba(0,0,0,0.62) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 2rem;
}
.parallax-overlay h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.parallax-overlay p {
  font-size: 1.2rem;
  max-width: 600px;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

@media (max-width: 968px) {
  section { padding: 5rem 2rem; }
  .navbar { padding: 0.8rem 1.5rem; }
  .navbar.scrolled { padding: 0.6rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }

  /* Responsive interactive service list */
  .service-list-item { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 2.5rem 0; }
  .service-list-item:hover { padding-left: 1.5rem; padding-right: 1.5rem; }
  .item-header { width: 100%; gap: 1rem; }
  .item-body { width: 100%; opacity: 0.8; }

  .process-flow { flex-direction: column; gap: 1rem; }
  .process-connector { width: 2px; height: 40px; margin: 0; margin-right: 0; }
  .process-connector .fill { width: 100% !important; height: 0%; transition: height 0.6s var(--ease-out); }
  .process-connector .fill.animate { height: 100%; }

  .page-header { padding: 8rem 1.5rem 3rem; }
  
  .split-contact-section { flex-direction: column; }
  .contact-left, .contact-right { flex: none; width: 100%; border-right: none; }
  .contact-right { padding: 3rem 1.5rem; }
  .contact-box { padding: 2rem 1.5rem; }

  .scatter-grid { grid-template-columns: 1fr; gap: 1rem; padding: 1rem; }
  .theme-pill { gap: 0.8rem; padding: 0.5rem 1.5rem 0.5rem 0.5rem; }
  .theme-pill[data-pos] { transform: translate(0, 50px) scale(0.9); z-index: 1 !important; }
  
  .premium-process { flex-direction: column; }
  .premium-process-text { 
    flex: none; 
    padding: 3rem 1.5rem 4rem; 
    text-align: center;
    width: 100%;
    box-shadow: none; /* Remove shadow to prevent overlap artifacts */
    background: transparent;
  }
  .premium-process-text .body-text { margin-left: auto; margin-right: auto; }
  
  .premium-process-network { 
    height: 550px; 
    margin-top: 0;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
  }
  .net-node { transform: translate(-50%, -50%) scale(0.65); }
  
  .navbar { top: 0.8rem; width: 95%; }
  .hero-blob-tabs { display: none; }

  .premium-process-network { display: none; }
  .mobile-process-steps { display: block; padding: 0 1.5rem 4rem; }
}

.mobile-process-steps { display: none; }
.m-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-gray);
  position: relative;
}
.m-step:last-child { border-bottom: none; }
.m-step-num {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  background: var(--olive);
  width: 40px; height: 40px;
  min-width: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.m-step-content h3 { font-size: 1.4rem; margin-bottom: 0.5rem; color: var(--deep-charcoal); }
.m-step-content p { font-size: 0.95rem; color: var(--warm-gray); line-height: 1.6; }

/* ============================================
   PREMIUM EFFECTS SYSTEM
   ============================================ */

/* ---- 1. Page Transition Overlay ---- */
.page-transition {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--white);
  z-index: 999998;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}
.page-transition.is-active {
  transform: translateY(0);
}
/* Entry animation: page slides content up on load */
body.is-entering .page-transition {
  transform: translateY(0);
  animation: pageSlideOut 0.5s 0.3s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
@keyframes pageSlideOut {
  to { transform: translateY(-100%); }
}

/* ---- 2. Section Divider Lines (Premium) ---- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 3rem;
  position: relative;
  height: 40px;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.section-divider.is-drawn {
  opacity: 1;
}

/* Left line */
.section-divider::before {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(107,122,42,0.3) 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1) 0.1s;
}

/* Right line */
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(107,122,42,0.3) 0%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1) 0.1s;
}

.section-divider.is-drawn::before,
.section-divider.is-drawn::after {
  transform: scaleX(1);
}

/* Center diamond accent */
.section-divider-dot {
  width: 6px;
  height: 6px;
  background: var(--olive);
  transform: rotate(45deg) scale(0);
  margin: 0 1rem;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
  opacity: 0.5;
}
.section-divider.is-drawn .section-divider-dot {
  transform: rotate(45deg) scale(1);
}

/* ---- 3. Image Curtain Reveal ---- */
.img-reveal {
  position: relative;
  overflow: hidden;
}
.img-reveal::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--olive);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 2;
}
.img-reveal.is-revealed::after {
  transform: scaleX(0);
}
.img-reveal img {
  transform: scale(1.15);
  transition: transform 1.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.img-reveal.is-revealed img {
  transform: scale(1);
}

/* ---- Floating Page TOC ---- */
.page-toc {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.page-toc.is-visible {
  opacity: 1;
  pointer-events: all;
}

.page-toc-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  cursor: pointer;
  position: relative;
}

/* Label text */
.page-toc-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--warm-gray);
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.page-toc-item:hover .page-toc-label,
.page-toc-item.is-active .page-toc-label {
  opacity: 1;
  transform: translateX(0);
}
.page-toc-item.is-active .page-toc-label {
  color: var(--olive);
  font-weight: 600;
}

/* Dot indicator */
.page-toc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-gray);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.page-toc-item:hover .page-toc-dot {
  background: var(--warm-gray);
  transform: scale(1.3);
}
.page-toc-item.is-active .page-toc-dot {
  background: var(--olive);
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(107,122,42,0.15);
}

/* Vertical track line */
.page-toc-track {
  position: absolute;
  right: 4px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-gray);
  z-index: -1;
  opacity: 0.5;
}

@media (max-width: 1024px) {
  .page-toc { display: none; }
}


/* ---- 4. Founder Card 3D Tilt ---- */
.founder-card-v2 {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.founder-card-v2:hover .founder-v2-img-inner {
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* ---- 5. Scrolling Marquee Tagline ---- */
.marquee-strip {
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
  background: var(--light-gray);
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-item {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 500; /* slightly bolder for better legibility */
  color: var(--olive);
  white-space: nowrap;
  padding: 0 1.5rem;
  letter-spacing: 0.02em;
  transition: color 0.4s ease;
  user-select: none;
}
.marquee-item .dot {
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--olive);
  border-radius: 50%;
  margin: 0 1rem;
  vertical-align: middle;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- 6. Counter Animation ---- */
.counter-value {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 500;
  color: var(--deep-charcoal);
  line-height: 1;
  display: inline-block;
}
.counter-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
  margin-top: 0.5rem;
}

/* ---- 7. Inline Link Underline ---- */
.body-text a, p a, .item-body a {
  position: relative;
  color: var(--olive);
  font-weight: 500;
}
.body-text a::after, p a::after, .item-body a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; height: 1px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.body-text a:hover::after, p a:hover::after, .item-body a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---- 8. Button Ripple ---- */
.btn-cta, .btn-submit {
  position: relative;
  overflow: hidden;
}
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: rippleOut 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleOut {
  to { transform: scale(4); opacity: 0; }
}

/* ---- 9. Service Item Hover Glow ---- */
.service-list-item {
  transition: padding 0.5s var(--ease-out), background 0.5s ease, box-shadow 0.4s ease;
}
.service-list-item:hover {
  box-shadow: inset 3px 0 0 var(--olive);
}

/* ---- 10. Smooth Section Blend ---- */
.section-white, .section-gray {
  transition: background-color 0.8s ease;
}

/* ---- 11. Footer Stagger ---- */
.footer > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.footer.is-visible > *:nth-child(1) { transition-delay: 0s; }
.footer.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.footer.is-visible > *:nth-child(3) { transition-delay: 0.3s; }
.footer.is-visible > *:nth-child(4) { transition-delay: 0.45s; }
.footer.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---- 12. Parallax Image Curtain ---- */
.parallax-container {
  overflow: hidden;
}
.parallax-container .parallax-img {
  transition: transform 0.1s linear;
}
/* ---- 13. Scroll Reveal Typography ---- */
.reveal-text-line {
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
}
.reveal-text-word {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}
.reveal.is-revealed .reveal-text-word,
.is-revealed .reveal-text-word,
.reveal.visible .reveal-text-word {
  transform: translateY(0);
}/* ---- 14. Text Mask Gradient ---- */
.text-mask-gradient {
  background: linear-gradient(90deg, #FFFFFF 0%, var(--olive) 50%, #FFFFFF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradientShine 8s linear infinite;
}
@keyframes gradientShine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@media (max-width: 600px) {
  section { padding: 4rem 1.2rem; }

  .page-header h1 { font-size: clamp(2.4rem, 8vw, 3.5rem); }
  .founder-card { padding: 2rem 1.5rem; }
  .founder-img-container { width: 140px; height: 140px; }

  .parallax-container { height: 280px; }
  .parallax-overlay h2 { font-size: 1.8rem; }
  .parallax-overlay p { font-size: 0.95rem; }

  .hero-blob-overlay { padding: 6rem 1.5rem 4rem; }
  .hero-blob-title { font-size: 2.8rem !important; }
  .hero-blob-tabs { bottom: 20px; padding: 0 1rem; gap: 0.5rem; }
  .hero-tab { font-size: 0.75rem; padding: 0.6rem 1rem; }

  /* Mobile footer stacking */
  .footer-links { gap: 1rem; }
  .footer-links a { font-size: 0.75rem; }
}

/* Specific fix for very small devices */
@media (max-width: 500px) {
  section { padding: 3.5rem 1rem; }
  .hero-blob-title { font-size: 2.2rem !important; }
  .hero-tab { padding: 0.5rem 0.8rem; }

  /* Stack nodes vertically on mobile to prevent overflow/overlap */
  .premium-process-network { height: 800px; }
  .net-node:nth-of-type(1) { top: 10% !important; left: 50% !important; }
  .net-node:nth-of-type(2) { top: 30% !important; left: 50% !important; }
  .net-node:nth-of-type(3) { top: 50% !important; left: 50% !important; }
  .net-node:nth-of-type(4) { top: 70% !important; left: 50% !important; }
  .net-node:nth-of-type(5) { top: 90% !important; left: 50% !important; }
}

/* ============================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS ENHANCEMENTS
   ============================================================ */

/* ---- Fix: Why section 2-col grid MUST collapse on mobile ---- */
@media (max-width: 768px) {
  .why-list--grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .why-item--full {
    grid-column: 1;
  }
}

/* ---- Fix: Service scroll section has zero horizontal padding — override needed ---- */
@media (max-width: 968px) {
  .service-scroll-section {
    padding: 5rem 2rem;
  }
}
@media (max-width: 600px) {
  .service-scroll-section {
    padding: 4rem 1.2rem;
  }
}
@media (max-width: 500px) {
  .service-scroll-section {
    padding: 3.5rem 1rem;
  }
}

/* ---- Fix: Service active transform can overflow on small screens ---- */
@media (max-width: 968px) {
  .service-list-item.active h2 {
    transform: none !important;
  }
  .service-list-item:hover {
    padding-left: 1rem;
  }
  /* Tighter service item header font */
  .item-header h2 {
    font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  }
}

/* ---- Stacked cards: reduce excessive bottom padding on mobile ---- */
@media (max-width: 900px) {
  .stacked-cards-container {
    padding-bottom: 2rem;
    gap: 2rem;
  }
  .stacked-card {
    border-radius: 16px;
  }
  .stacked-card .sc-img {
    height: 240px;
  }
  .stacked-card .sc-content {
    padding: 2.5rem 2rem;
  }
  .stacked-card h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
  .stacked-card p {
    font-size: 1rem;
  }
}

/* ---- Tablet & Large Mobile (≤ 768px) ---- */
@media (max-width: 768px) {
  /* Why header */
  .why-header h2 {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
    line-height: 1.1;
  }

  /* VM panels gap */
  .two-col .vm-panel {
    padding: 2rem 1.5rem;
  }

  /* Closing tagline wraps gracefully */
  .closing-tagline {
    font-size: 1.1rem;
    padding: 2.5rem 1.5rem;
    line-height: 2;
  }

  /* Page header inner pages */
  .page-header--about h1,
  .page-header--services h1,
  .page-header--portfolio h1,
  .page-header--contact h1 {
    font-size: clamp(2rem, 7vw, 3.5rem);
    line-height: 1.25;
  }
  .page-header--about p.body-text,
  .page-header--services p.body-text,
  .page-header--portfolio p.body-text,
  .page-header--contact p.body-text {
    font-size: 1rem;
  }

  /* Body text full-width on mobile */
  .body-text {
    max-width: 100%;
  }

  /* Parallax overlay text */
  .parallax-overlay h2 { font-size: 2rem; }
  .parallax-overlay p  { font-size: 1rem;  }
}

/* ---- Small Mobile (≤ 600px) ---- */
@media (max-width: 600px) {
  /* Navbar logo */
  .navbar .logo        { height: 58px; }
  .navbar.scrolled .logo { height: 48px; }

  /* Hero */
  .hero-blob-center {
    width: 92%;
  }
  .hero-blob-desc {
    max-width: 100%;
    padding: 0 0.5rem;
    font-size: 0.82rem;
  }

  /* Typo section */
  .typo-container { padding: 0 1.2rem; }
  .typo-desc { padding-left: 0; }

  /* Why items */
  .why-item { padding: 1.2rem 0 1.2rem 1.2rem; }
  .why-item p { font-size: 0.95rem; }

  /* Service list item */
  .item-header h2   { font-size: clamp(1.4rem, 5.5vw, 1.9rem); }
  .item-header      { gap: 0.6rem; }
  .item-body p      { font-size: 1rem; }
  .service-list-item { padding: 2.5rem 0; }

  /* Mobile process steps */
  .m-step { gap: 1rem; }
  .m-step-content h3 { font-size: 1.25rem; }
  .m-step-content p  { font-size: 0.9rem; }

  /* Contact split */
  .contact-right { padding: 2.5rem 1.2rem; }
  .contact-right h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  .contact-box { padding: 1.8rem 1.2rem; }
  .contact-box h2 { font-size: 1.6rem; }
  .contact-box h3 { font-size: 1.2rem; }
  .contact-box ul li { font-size: 0.95rem; }

  /* Floating form */
  .floating-group input,
  .floating-group textarea { font-size: 1rem; }
  .floating-form { gap: 2rem; }

  /* Footer */
  .footer { padding: 3rem 1.5rem 1.5rem; }
  .footer .logo { height: 75px; }

  /* Mobile menu */
  .mobile-menu a { font-size: 1.5rem; }
  .mobile-menu { gap: 1.5rem; }

  /* Parallax */
  .parallax-container { height: 240px; }

  /* Closing strip alignment */
  .closing-strip .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .closing-strip .body-text { text-align: center; }

  /* Stacked cards */
  .stacked-card .sc-img    { height: 200px; }
  .stacked-card .sc-content { padding: 2rem 1.2rem; }
}

/* ---- Very Small (≤ 400px) ---- */
@media (max-width: 400px) {
  section { padding: 3rem 0.9rem; }

  .navbar { top: 0.5rem; padding: 0.35rem 0.9rem; }
  .navbar .logo        { height: 50px; }
  .navbar.scrolled .logo { height: 42px; }

  .hero-blob-title { font-size: 1.9rem !important; line-height: 1.1; }
  .hero-blob-desc  { font-size: 0.78rem; }

  .item-header h2  { font-size: 1.35rem; }
  .item-header .num { font-size: 1.1rem; }

  .page-header--about h1,
  .page-header--services h1,
  .page-header--portfolio h1,
  .page-header--contact h1 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .btn-cta, .nav-links a.btn-cta {
    padding: 0.65rem 1.2rem;
    font-size: 0.88rem;
  }
  .mobile-menu .btn-cta {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  .contact-box   { padding: 1.5rem 1rem; }
  .contact-right { padding: 2rem 1rem; }
  .floating-group input,
  .floating-group textarea { font-size: 0.95rem; }

  .footer .logo  { height: 65px; }
  .footer-links  { gap: 0.8rem; }

  .m-step-num    { width: 34px; height: 34px; min-width: 34px; font-size: 1rem; }
  .m-step        { gap: 0.8rem; margin-bottom: 1.8rem; padding-bottom: 1.8rem; }

  .closing-tagline { font-size: 1rem; padding: 2rem 1rem; }
  .mobile-menu a   { font-size: 1.3rem; }
  .mobile-menu     { gap: 1.2rem; }
}
