/* Grero Elite v15b - Ultimate Rendering Quality
   Clean base. No forced GPU layers, no text-stroke hacks.
   Forcing translateZ/will-change on text and images is what
   makes Windows rasterize everything with broken antialiasing
   ("broken pixel" fonts). Keeping everything in the normal
   paint layer lets every browser render fonts and photos natively. */
:root {
    --gold: #C5A572;
    --gold-light: #D4BC8A;
    --gold-dark: #A8894F;
    --beige: #F5F0E8;
    --beige-light: #FAF8F4;
    --beige-dark: #EDE6D8;
    --cream: #FFFDF7;
    --ivory: #FFFFF0;
    --charcoal: #0D1B3E;
    --deep-navy: #0D1B3E;
    --espresso: #3C2415;
    --muted-text: #7A7267;
    --border-light: rgba(197, 165, 114, 0.25);
    --shadow-soft: 0 4px 30px rgba(0,0,0,0.06);
    --shadow-elevated: 0 20px 60px rgba(0,0,0,0.08);
    --shadow-deep: 0 40px 80px rgba(0,0,0,0.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    background: var(--cream);
    color: var(--charcoal);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
::selection { background: var(--gold); color: var(--cream); }
a { text-decoration: none; color: inherit; }
em { color: var(--gold-dark); font-style: italic; }
img { max-width: 100%; height: auto; image-rendering: auto; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; color: var(--charcoal); font-weight: 400; }

/* Heading design lock - keeps the original elegant weights */
h1, h2, h3, h4, h5, h6, .section-title, .nav-brand, .hero-title {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-weight: 400;
}

/* Touch device UX - comfortable tap targets on phones/tablets */
@media (hover: none) and (pointer: coarse) {
    .btn-primary, .btn-secondary { padding: 14px 32px; min-height: 48px; min-width: 48px; font-size: 0.85rem; }
    .service-card, .tech-card, .dna-feature { padding: 24px; }
}

/* Subtle full-page wash for text separation (background only, no blur layer) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
    pointer-events: none;
    z-index: -1;
}


/* Section shared */
.section-eyebrow { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; font-weight: 400; letter-spacing: 6px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 400; line-height: 1.15; color: var(--charcoal); margin-bottom: 30px; }
.section-title em { font-style: italic; color: var(--gold-dark); }
.section-body { font-size: 1.15rem; font-weight: 400; line-height: 1.85; color: var(--muted-text); }

/* Buttons */
.btn-primary { font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; background: var(--charcoal); color: var(--cream); padding: 18px 48px; border: none; cursor: pointer; transition: all 0.4s ease; display: inline-block; }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(197, 165, 114, 0.3); }
.btn-secondary { font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; background: transparent; color: var(--charcoal); padding: 18px 48px; border: 1px solid var(--charcoal); cursor: pointer; transition: all 0.4s ease; display: inline-block; }
.btn-secondary:hover { border-color: var(--gold-dark); color: var(--gold-dark); transform: translateY(-2px); }

/* PRELOADER */
.preloader { position: fixed; inset: 0; background: var(--deep-navy); z-index: 10000; display: flex; align-items: center; justify-content: center; flex-direction: column; transition: opacity 0.8s ease, visibility 0.8s ease; }
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--gold); letter-spacing: 12px; text-transform: uppercase; animation: fadeInUp 1s ease forwards; }
.preloader-line { width: 60px; height: 1px; background: var(--gold); margin-top: 20px; animation: expandLine 1.5s ease forwards; }
@keyframes expandLine { from { width: 0; opacity: 0; } to { width: 60px; opacity: 1; } }

/* CURSOR */
.cursor-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; transition: transform 0.15s ease; mix-blend-mode: difference; }
.cursor-ring { width: 40px; height: 40px; border: 1px solid var(--gold); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease; transform: translate(-50%, -50%); }
.cursor-ring.hover { width: 60px; height: 60px; border-color: var(--gold-dark); }

/* NAV */
nav, .main-nav, #navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 28px 60px; display: flex; align-items: center; justify-content: space-between; transition: all 0.5s ease; background: transparent; }
nav.scrolled, .main-nav.scrolled, #navbar.scrolled { background: rgba(255, 253, 247, 0.96); padding: 18px 60px; border-bottom: 1px solid var(--border-light); }
.nav-brand { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 500; letter-spacing: 8px; text-transform: uppercase; color: var(--charcoal); display: flex; align-items: center; transition: color 0.3s ease; }
.nav-brand.menu-open { color: #fff; }
.nav-brand span { color: var(--gold); }
.nav-brand img, .nav-brand .custom-logo { max-height: 40px; width: auto; }
.nav-links { display: flex; gap: 30px; list-style: none; margin-left: 48px; }
.nav-links a { font-family: 'Montserrat', sans-serif; font-size: 0.78rem; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; color: var(--muted-text); position: relative; transition: color 0.3s ease; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 0.4s ease; }
.nav-links a:hover { color: var(--charcoal); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--cream) !important; background: var(--charcoal); padding: 12px 28px; border: none; cursor: pointer; transition: all 0.4s ease; display: inline-block; text-align: center; line-height: 1.5; margin-left: 34px; }
.nav-cta:hover { background: var(--gold-dark); }
.mobile-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1002; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.mobile-toggle span { width: 24px; height: 1.5px; background: var(--charcoal); transition: all 0.3s ease; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* MOBILE MENU OVERLAY */
.mobile-menu, .mobile-menu-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--deep-navy); z-index: 999; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.5s ease; }
.mobile-menu.active, .mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav-links { list-style: none; text-align: center; }
.mobile-nav-links li { margin: 20px 0; }
.mobile-nav-links a { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--cream); transition: color 0.3s ease; text-decoration: none; }
.mobile-nav-links a:hover { color: var(--gold); }
.mobile-cta { margin-top: 40px; }

/* SCROLL REVEAL */
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.scroll-reveal.revealed { opacity: 1; transform: none; }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; background: linear-gradient(160deg, var(--beige-light) 0%, var(--beige) 50%, var(--beige-dark) 100%); padding: 120px 60px; }
.hero-bg-pattern { position: absolute; inset: 0; opacity: 0.03; background-image: radial-gradient(circle at 25% 25%, var(--gold) 1px, transparent 1px), radial-gradient(circle at 75% 75%, var(--gold) 1px, transparent 1px); background-size: 80px 80px; }
.hero-ornament { position: absolute; width: 500px; height: 500px; border: 1px solid var(--border-light); border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); animation: rotateOrnament 60s linear infinite; }
.hero-ornament:nth-child(2) { width: 650px; height: 650px; animation-duration: 80s; animation-direction: reverse; }
.hero-ornament:nth-child(3) { width: 800px; height: 800px; animation-duration: 100s; border-style: dashed; opacity: 0.5; }
@keyframes rotateOrnament { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero-content { text-align: center; position: relative; z-index: 2; max-width: 900px; }
.hero-eyebrow { font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 400; letter-spacing: 8px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 30px; opacity: 0; animation: fadeInUp 1s ease 0.5s forwards; }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 400; line-height: 1.05; color: var(--charcoal); margin-bottom: 10px; opacity: 0; animation: fadeInUp 1s ease 0.7s forwards; }
.hero-title em { font-style: italic; color: var(--gold-dark); }
.hero-subtitle { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--muted-text); margin-top: 24px; letter-spacing: 1px; opacity: 0; animation: fadeInUp 1s ease 0.9s forwards; }
.hero-subtitle em { color: var(--gold-dark); font-style: italic; }
.hero-desc { font-size: 1.1rem; font-weight: 400; line-height: 1.8; color: var(--muted-text); margin-top: 20px; max-width: 600px; margin-left: auto; margin-right: auto; opacity: 0; animation: fadeInUp 1s ease 1.0s forwards; }
.hero-divider { width: 80px; height: 1px; background: var(--gold); margin: 40px auto; opacity: 0; animation: fadeInUp 1s ease 1.1s forwards; }
.hero-cta-group { display: flex; gap: 20px; justify-content: center; margin-top: 10px; opacity: 0; animation: fadeInUp 1s ease 1.3s forwards; flex-wrap: wrap; }

/* ===== STATS ===== */
.stats-section { padding: 100px 60px; background: var(--cream); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 900px; margin: 0 auto; text-align: center; }
.stat-item { padding: 30px 0; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 400; color: var(--gold-dark); }
.stat-label { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--muted-text); margin-top: 8px; }

/* ===== DNA / PROFILE ===== */
.dna-section { padding: 140px 60px; background: var(--cream); display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; max-width: 1400px; margin: 0 auto; }
.dna-features { margin-top: 60px; }
.dna-feature { padding: 30px 0; border-top: 1px solid var(--border-light); display: flex; gap: 20px; }
.dna-feature-number { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--gold); min-width: 40px; }
.dna-feature-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 8px; color: var(--charcoal); }
.dna-feature-desc { font-size: 1rem; line-height: 1.7; color: var(--muted-text); }
.dna-image { position: relative; height: 600px; }
.dna-image-inner { width: 100%; height: 100%; background: linear-gradient(135deg, var(--beige-dark) 0%, var(--beige) 100%); position: relative; overflow: hidden; }
.dna-image-inner::before { content: ''; position: absolute; inset: 15px; border: 1px solid var(--gold); z-index: 2; }
.img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 15px; }
.img-placeholder-icon { width: 60px; height: 60px; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.img-placeholder-icon svg { width: 24px; height: 24px; stroke: var(--gold); }
.img-placeholder-text { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); }

/* ===== PROFILE ===== */
.profile-section { padding: 140px 60px; background: var(--cream); display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; max-width: 1400px; margin: 0 auto; }

/* ===== SERVICES / PROCESS ===== */
.services { padding: 120px 60px; background: var(--deep-navy); color: var(--cream); position: relative; overflow: hidden; }
.services::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border: 1px solid rgba(197, 165, 114, 0.1); border-radius: 50%; }
.services-header { text-align: center; max-width: 700px; margin: 0 auto 80px; }
.services .section-eyebrow { color: var(--gold); }
.services .section-title { color: var(--cream); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1300px; margin: 0 auto; }
.service-card { padding: 50px 35px; border: 1px solid rgba(197, 165, 114, 0.15); transition: all 0.5s ease; position: relative; overflow: hidden; cursor: pointer; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { border-color: rgba(197, 165, 114, 0.4); transform: translateY(-5px); background: rgba(197, 165, 114, 0.03); }
.service-number { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 400; color: rgba(197, 165, 114, 0.15); margin-bottom: 30px; }
.service-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 400; margin-bottom: 16px; color: var(--cream); }
.service-desc { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 400; line-height: 1.75; color: rgba(255, 253, 247, 0.5); }
.service-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-family: 'Montserrat', sans-serif; font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); transition: gap 0.3s ease; }
.service-link:hover { gap: 16px; }
.service-link-line { width: 24px; height: 1px; background: var(--gold); transition: width 0.3s ease; }
.service-link:hover .service-link-line { width: 36px; }

/* ===== QUOTE ===== */
.quote-section { padding: 160px 60px; background: var(--beige-light); text-align: center; position: relative; }
.quote-mark { font-family: 'Playfair Display', serif; font-size: 8rem; color: var(--gold); opacity: 0.15; line-height: 1; margin-bottom: -30px; }
.quote-text { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 400; font-style: italic; line-height: 1.6; color: var(--charcoal); max-width: 900px; margin: 0 auto; }
.quote-author { margin-top: 40px; font-family: 'Montserrat', sans-serif; font-size: 0.75rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-dark); }
.quote-role { font-family: 'Cormorant Garamond', serif; font-size: 0.95rem; color: var(--muted-text); margin-top: 6px; font-style: italic; }

/* ===== MARQUEE ===== */
.marquee-section { padding: 50px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); overflow: hidden; background: var(--cream); }
.marquee-track { white-space: nowrap; animation: marquee 20s linear infinite; font-size: 0; }
.marquee-item { font-family: 'Playfair Display', serif; font-size: 1rem; font-style: italic; color: var(--muted-text); display: inline-block; margin-right: 60px; }
.marquee-item::after { content: '\2726'; color: var(--gold); font-size: 0.72rem; margin-left: 60px; display: inline-block; vertical-align: middle; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== TECHNOLOGIES ===== */
.technologies { padding: 140px 60px; background: var(--cream); max-width: 1400px; margin: 0 auto; }
.tech-header { text-align: center; max-width: 800px; margin: 0 auto 80px; }
.tech-desc { font-size: 1.1rem; line-height: 1.8; color: var(--muted-text); margin-top: 20px; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tech-card { padding: 40px; border: 1px solid var(--border-light); transition: all 0.4s ease; cursor: pointer; }
.tech-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-elevated); }
.tech-card-icon { width: 50px; height: 50px; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.tech-card-icon svg { width: 20px; height: 20px; stroke: var(--gold); }
.tech-card-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 12px; color: var(--charcoal); }
.tech-card-desc { font-size: 1rem; line-height: 1.7; color: var(--muted-text); }

/* ===== FEATURES / INSIGHT ===== */
.features-section { padding: 120px 60px; background: var(--beige-light); }
.features-header { text-align: center; max-width: 800px; margin: 0 auto 80px; }

/* ===== HUMAN-CENTRIC AI ===== */
.hcai-block { max-width: 1000px; margin: 100px auto 0; }
.hcai-heading { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.hcai-subtitle { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 400; color: var(--charcoal); margin-bottom: 14px; }
.hcai-subdesc { font-size: 1rem; line-height: 1.7; color: var(--muted-text); }
.hcai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.hcai-feature { padding: 30px 34px; border: 1px solid var(--border-light); background: var(--cream); display: flex; gap: 20px; transition: all 0.4s ease; }
.hcai-feature:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-elevated); }
.hcai-feature-number { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--gold); min-width: 36px; }
.hcai-feature-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; margin-bottom: 8px; color: var(--charcoal); }
.hcai-feature-desc { font-size: 0.95rem; line-height: 1.7; color: var(--muted-text); }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 120px 60px; background: var(--cream); max-width: 1400px; margin: 0 auto; }
.testimonials-header { text-align: center; margin-bottom: 80px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.testimonial-card { padding: 40px; border: 1px solid var(--border-light); transition: all 0.4s ease; }
.testimonial-card:hover { border-color: var(--gold); }
.testimonial-text { font-size: 1.05rem; font-style: italic; line-height: 1.8; color: var(--muted-text); margin-bottom: 30px; }
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; background: var(--beige); flex-shrink: 0; }
.testimonial-avatar-text { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; color: var(--gold); letter-spacing: 1px; }
.testimonial-name { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--charcoal); }
.testimonial-role { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-text); margin-top: 4px; }

/* ===== FAQ ===== */
.faq-section { padding: 120px 60px; background: var(--beige-light); max-width: 1000px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 60px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); padding: 30px 0; }
.faq-question { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--charcoal); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s ease; background: none; border: none; width: 100%; text-align: left; padding: 0; min-height: 44px; }
.faq-question:hover { color: var(--gold-dark); }
.faq-question span { flex: 1; }
.faq-icon { width: 24px; height: 24px; position: relative; transition: transform 0.3s ease; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--gold); transition: transform 0.3s ease; }
.faq-icon::before { width: 24px; height: 2px; top: 11px; left: 0; }
.faq-icon::after { width: 2px; height: 24px; top: 0; left: 11px; }
.faq-item.active .faq-icon::after { transform: rotate(90deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-answer { max-height: 500px; padding-top: 20px; }
.faq-answer p { font-size: 1.05rem; line-height: 1.8; color: var(--muted-text); }

/* ===== CONTACT ===== */
.contact { padding: 140px 60px; background: var(--beige); text-align: center; position: relative; }
.contact-inner { max-width: 650px; margin: 0 auto; }
.contact .section-title { margin-bottom: 20px; }
.contact-desc { font-size: 1.15rem; font-weight: 400; color: var(--muted-text); line-height: 1.8; margin-bottom: 50px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; max-width: 500px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { text-align: left; }
.form-group label { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--muted-text); display: block; margin-bottom: 10px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 0; font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; background: transparent; border: none; border-bottom: 1px solid var(--border-light); color: var(--charcoal); outline: none; transition: border-color 0.3s ease; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-bottom-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.contact-info { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.contact-info-item { text-align: center; }
.footer-col-title { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.form-message { margin-top: 16px; font-size: 0.85rem; display: none; }
.form-message.show { display: block; }
.form-message.success { color: var(--gold-dark); }
.form-message.error { color: #e74c3c; }

/* ===== NEWSLETTER ===== */
.newsletter-section { padding: 100px 60px; background: var(--deep-navy); text-align: center; }
.newsletter-inner { max-width: 600px; margin: 0 auto; }
.newsletter-section .section-eyebrow { color: var(--gold); }
.newsletter-section .section-title { color: var(--cream); }
.newsletter-desc { font-size: 1.05rem; line-height: 1.8; color: rgba(255, 253, 247, 0.5); margin-bottom: 40px; }
.newsletter-input-group { display: flex; gap: 0; border-bottom: 1px solid rgba(197, 165, 114, 0.3); max-width: 500px; margin: 0 auto; }
.newsletter-input-group input { flex: 1; padding: 16px 0; background: transparent; border: none; font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; color: var(--cream); outline: none; }
.newsletter-input-group input::placeholder { color: rgba(255, 253, 247, 0.3); }
.newsletter-input-group .btn-primary { padding: 16px 32px; }
.newsletter-message { margin-top: 16px; font-size: 0.85rem; display: none; }
.newsletter-message.show { display: block; }
.newsletter-message.success { color: var(--gold-light); }
.newsletter-message.error { color: #e74c3c; }

/* ===== FOOTER ===== */
footer, .site-footer { background: var(--deep-navy); color: var(--cream); padding: 80px 60px 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(197, 165, 114, 0.15); max-width: 1400px; margin: 0 auto; }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 500; letter-spacing: 8px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-brand span { color: var(--cream); }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 400; color: rgba(255, 253, 247, 0.4); line-height: 1.7; max-width: 300px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-links a { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: rgba(255, 253, 247, 0.4); transition: color 0.3s ease; }
.footer-links a:hover { color: var(--gold-light); }
.footer-socials { display: flex; gap: 20px; margin-top: 24px; }
.footer-socials a { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 253, 247, 0.25); transition: color 0.3s ease; }
.footer-socials a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; max-width: 1400px; margin: 40px auto 0; }
.footer-copy { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; letter-spacing: 2px; color: rgba(255, 253, 247, 0.25); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; letter-spacing: 2px; color: rgba(255, 253, 247, 0.25); }

/* Post Grid */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 0 60px; max-width: 1400px; margin: 0 auto; }
.post-card { background: var(--cream); border: 1px solid var(--border-light); overflow: hidden; transition: all 0.3s ease; }
.post-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.post-image { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.post-card:hover .post-image img { transform: scale(1.05); }
.post-content { padding: 24px; }
.post-meta { display: flex; gap: 15px; margin-bottom: 10px; }
.post-category { font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.post-date { font-size: 0.78rem; color: var(--muted-text); }
.post-title { font-size: 1.2rem; line-height: 1.3; margin-bottom: 8px; }
.post-title a { color: var(--charcoal); text-decoration: none; transition: color 0.3s ease; }
.post-title a:hover { color: var(--gold-dark); }
.post-excerpt { color: var(--muted-text); font-size: 0.85rem; line-height: 1.6; }


/* =============================================
   RESPONSIVE - PERFECTED FOR MOBILE
   ============================================= */

/* Large tablets / small desktops */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 2fr 1fr 1fr; }
    .footer-top > div:last-child { grid-column: 1 / -1; }
}

/* Tablets landscape */
@media (max-width: 1024px) {
    nav, .main-nav, #navbar { padding: 20px 30px; }
    nav.scrolled, .main-nav.scrolled, #navbar.scrolled { padding: 15px 30px; }
    .nav-links, .nav-cta { display: none; }
    .mobile-toggle { display: flex; }
    .mobile-menu, .mobile-menu-overlay { display: flex; }

    .hero { padding: 120px 30px; min-height: 90vh; }
    .hero-title { font-size: clamp(2.5rem, 6vw, 4rem); }
    .hero-eyebrow { letter-spacing: 6px; }

    .dna-section, .profile-section { grid-template-columns: 1fr; gap: 60px; padding: 100px 30px; }
    .dna-image { height: 450px; }

    .services-grid { grid-template-columns: 1fr 1fr; }

    .technologies { padding: 100px 30px; }
    .tech-grid { grid-template-columns: 1fr 1fr; }
    .hcai-grid { grid-template-columns: 1fr 1fr; }

    .features-section { padding: 100px 30px; }

    .testimonials { padding: 100px 30px; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }

    .quote-section { padding: 100px 30px; }

    .faq-section { padding: 100px 30px; }

    .contact { padding: 100px 30px; }

    .newsletter-section { padding: 80px 30px; }

    footer, .site-footer { padding: 60px 30px 30px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-top > div:first-child { grid-column: 1 / -1; }

    .stats-section { padding: 80px 30px; }

    .posts-grid { padding: 0 30px; grid-template-columns: repeat(2, 1fr); }
}

/* Tablets portrait */
@media (max-width: 768px) {
    html { font-size: 16px; }

    nav, .main-nav, #navbar { padding: 16px 20px; }
    nav.scrolled, .main-nav.scrolled, #navbar.scrolled { padding: 12px 20px; }
    .nav-brand { font-size: 1.1rem; letter-spacing: 6px; }

    .mobile-toggle { min-width: 48px; min-height: 48px; }

    .mobile-nav-links a { font-size: 1.6rem; letter-spacing: 3px; }
    .mobile-nav-links li { margin: 16px 0; }

    /* Hero */
    .hero { min-height: 85vh; padding: 100px 20px 60px; }
    .hero-title { font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: 1.1; }
    .hero-eyebrow { font-size: 0.8rem; letter-spacing: 5px; margin-bottom: 24px; }
    .hero-subtitle { font-size: 1.15rem; margin-top: 20px; }
    .hero-desc { font-size: 1rem; line-height: 1.7; margin-top: 16px; }
    .hero-divider { margin: 30px auto; }
    .hero-cta-group { flex-direction: column; align-items: center; gap: 14px; width: 100%; }
    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary { width: 100%; max-width: 300px; text-align: center; padding: 16px 32px; }
    .hero-ornament { width: 300px; height: 300px; }
    .hero-ornament:nth-child(2) { width: 420px; height: 420px; }
    .hero-ornament:nth-child(3) { width: 540px; height: 540px; }

    /* Stats */
    .stats-section { padding: 50px 20px; }
    .stats-grid { grid-template-columns: 1fr; gap: 10px; }
    .stat-item { padding: 20px 0; }
    .stat-number { font-size: 2.5rem; }
    .stat-label { font-size: 0.75rem; letter-spacing: 2px; }

    /* DNA / Profile */
    .dna-section, .profile-section { padding: 60px 20px; gap: 40px; }
    .dna-image { height: 350px; }
    .dna-image-inner::before { inset: 10px; }
    .section-title { font-size: clamp(1.8rem, 6vw, 2.5rem); margin-bottom: 20px; }
    .section-body { font-size: 1.05rem; line-height: 1.75; }
    .section-eyebrow { font-size: 0.75rem; letter-spacing: 4px; margin-bottom: 16px; }
    .dna-features { margin-top: 40px; }
    .dna-feature { padding: 20px 0; gap: 16px; }
    .dna-feature-number { font-size: 1.2rem; min-width: 32px; }
    .dna-feature-title { font-size: 1.05rem; }
    .dna-feature-desc { font-size: 0.95rem; }

    /* Services */
    .services { padding: 60px 20px; }
    .services-header { margin-bottom: 50px; }
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card { padding: 30px 24px; }
    .service-number { font-size: 2.5rem; margin-bottom: 20px; }
    .service-title { font-size: 1.2rem; margin-bottom: 12px; }
    .service-desc { font-size: 0.95rem; }
    .service-link { margin-top: 20px; }

    /* Quote */
    .quote-section { padding: 60px 20px; }
    .quote-mark { font-size: 5rem; margin-bottom: -10px; }
    .quote-text { font-size: clamp(1.3rem, 4vw, 1.8rem); line-height: 1.5; }
    .quote-author { margin-top: 24px; }
    .quote-role { font-size: 1rem; }

    /* Marquee */
    .marquee-section { padding: 30px 0; }
    .marquee-item { font-size: 0.95rem; margin-right: 40px; }

    /* Technologies */
    .technologies { padding: 60px 20px; }
    .tech-header { margin-bottom: 50px; }
    .tech-desc { font-size: 1rem; }
    .tech-grid { grid-template-columns: 1fr; gap: 16px; }
    .tech-card { padding: 28px 24px; }
    .tech-card-icon { width: 44px; height: 44px; margin-bottom: 16px; }

    /* Human-Centric AI */
    .hcai-block { margin: 70px auto 0; }
    .hcai-grid { grid-template-columns: 1fr; gap: 16px; }
    .hcai-feature { padding: 24px 20px; gap: 16px; }
    .hcai-feature-number { font-size: 1.2rem; min-width: 30px; }
    .hcai-feature-title { font-size: 1.05rem; }
    .hcai-feature-desc { font-size: 0.95rem; }
    .tech-card-icon svg { width: 18px; height: 18px; }
    .tech-card-title { font-size: 1.15rem; margin-bottom: 10px; }
    .tech-card-desc { font-size: 0.95rem; line-height: 1.65; }

    /* Features / Insight */
    .features-section { padding: 60px 20px; }

    /* Testimonials */
    .testimonials { padding: 60px 20px; }
    .testimonials-header { margin-bottom: 50px; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
    .testimonial-card { padding: 28px 24px; }
    .testimonial-text { font-size: 0.95rem; margin-bottom: 24px; }
    .testimonial-avatar { width: 44px; height: 44px; }
    .testimonial-name { font-size: 0.95rem; }
    .testimonial-role { font-size: 0.75rem; }

    /* FAQ */
    .faq-section { padding: 60px 20px; max-width: 100%; }
    .faq-header { margin-bottom: 40px; }
    .faq-item { padding: 20px 0; }
    .faq-question { font-size: 1.1rem; gap: 12px; min-height: 48px; }
    .faq-icon { width: 22px; height: 22px; }
    .faq-icon::before { width: 22px; top: 10px; }
    .faq-icon::after { height: 22px; left: 10px; }
    .faq-answer p { font-size: 0.95rem; line-height: 1.7; }

    /* Contact */
    .contact { padding: 60px 20px; }
    .contact-desc { font-size: 1rem; margin-bottom: 30px; }
    .contact-form { max-width: 100%; }
    .form-row { grid-template-columns: 1fr; }
    .form-group label { font-size: 0.75rem; letter-spacing: 2px; }
    .form-group input, .form-group textarea { font-size: 1rem; padding: 12px 0; }
    .contact-info { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
    .contact-info-item { text-align: center; }

    /* Newsletter */
    .newsletter-section { padding: 60px 20px; }
    .newsletter-desc { font-size: 0.95rem; margin-bottom: 30px; }
    .newsletter-input-group { flex-direction: column; border-bottom: none; gap: 12px; }
    .newsletter-input-group input { padding: 14px 16px; border-bottom: 1px solid rgba(197, 165, 114, 0.3); text-align: center; }
    .newsletter-input-group .btn-primary { width: 100%; padding: 16px; }

    /* Footer */
    footer, .site-footer { padding: 50px 20px 20px; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .footer-top > div:first-child { grid-column: auto; }
    .footer-brand { font-size: 1rem; letter-spacing: 5px; margin-bottom: 16px; }
    .footer-tagline { font-size: 0.95rem; max-width: 100%; }
    .footer-col-title { font-size: 0.75rem; margin-bottom: 16px; }
    .footer-links { gap: 10px; }
    .footer-links a { font-size: 0.95rem; }
    .footer-socials { flex-wrap: wrap; justify-content: center; gap: 16px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding-top: 24px; }
    .footer-copy { font-size: 0.75rem; text-align: center; }
    .footer-bottom-links { justify-content: center; }

    /* Post grid */
    .posts-grid { padding: 0 20px; grid-template-columns: 1fr; }

    /* Cursor hidden */
    .cursor-dot, .cursor-ring { display: none; }
}

/* Small phones */
@media (max-width: 480px) {
    html { font-size: 15px; }

    nav, .main-nav, #navbar { padding: 14px 16px; }
    nav.scrolled, .main-nav.scrolled, #navbar.scrolled { padding: 10px 16px; }
    .nav-brand { font-size: 1rem; letter-spacing: 4px; }

    .mobile-toggle { min-width: 44px; min-height: 44px; }
    .mobile-toggle span { width: 20px; }
    .mobile-nav-links a { font-size: 1.3rem; letter-spacing: 2px; }
    .mobile-nav-links li { margin: 14px 0; }

    /* Hero */
    .hero { min-height: 80vh; padding: 90px 16px 50px; }
    .hero-title { font-size: 2rem; line-height: 1.1; }
    .hero-eyebrow { font-size: 0.78rem; letter-spacing: 3px; margin-bottom: 20px; }
    .hero-subtitle { font-size: 1rem; margin-top: 16px; }
    .hero-desc { font-size: 1.05rem; line-height: 1.65; }
    .hero-divider { width: 50px; margin: 24px auto; }
    .btn-primary, .btn-secondary { padding: 14px 28px; font-size: 0.82rem; letter-spacing: 3px; }
    .hero-ornament { width: 200px; height: 200px; }
    .hero-ornament:nth-child(2) { width: 300px; height: 300px; }
    .hero-ornament:nth-child(3) { width: 400px; height: 400px; }

    /* Preloader */
    .preloader-logo { font-size: 1.6rem; letter-spacing: 8px; }

    /* Stats */
    .stats-section { padding: 40px 16px; }
    .stat-number { font-size: 2rem; }

    /* DNA / Profile */
    .dna-section, .profile-section { padding: 50px 16px; gap: 30px; }
    .dna-image { height: 280px; }
    .section-title { font-size: 1.6rem; }
    .section-body { font-size: 1rem; }

    /* Services */
    .services { padding: 50px 16px; }
    .services-header { margin-bottom: 40px; }
    .service-card { padding: 24px 20px; }
    .service-number { font-size: 2rem; margin-bottom: 16px; }

    /* Quote */
    .quote-section { padding: 50px 16px; }
    .quote-mark { font-size: 4rem; }

    /* Tech */
    .technologies { padding: 50px 16px; }
    .tech-card { padding: 24px 20px; }

    /* Testimonials */
    .testimonials { padding: 50px 16px; }
    .testimonial-card { padding: 24px 20px; }

    /* FAQ */
    .faq-section { padding: 50px 16px; }
    .faq-question { font-size: 1rem; }

    /* Contact */
    .contact { padding: 50px 16px; }

    /* Newsletter */
    .newsletter-section { padding: 50px 16px; }

    /* Footer */
    footer, .site-footer { padding: 40px 16px 16px; }
    .footer-brand { font-size: 1rem; letter-spacing: 4px; }
    .footer-socials { gap: 12px; }
}

/* Extra small phones (iPhone SE, etc.) */
@media (max-width: 375px) {
    html { font-size: 14.5px; }
    .hero-title { font-size: 1.8rem; }
    .hero-eyebrow { font-size: 0.76rem; letter-spacing: 2px; }
    .btn-primary, .btn-secondary { padding: 12px 24px; font-size: 0.78rem; }
    .mobile-nav-links a { font-size: 1.15rem; }
    .section-title { font-size: 1.5rem; }
    .dna-image { height: 240px; }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { min-height: auto; padding: 80px 20px 40px; }
    .hero-title { font-size: 2rem; }
    .preloader { display: none; }
    .mobile-menu-overlay, .mobile-menu { padding: 20px; justify-content: flex-start; padding-top: 80px; }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none !important; }
    .service-card:hover, .tech-card:hover, .testimonial-card:hover { transform: none; }
    .btn-primary:active, .btn-secondary:active { transform: scale(0.97); }
    .faq-question { min-height: 48px; }
    a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* Mobile landscape (small screens in landscape) */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { padding: 60px 20px; }
    .hero-title { font-size: clamp(1.8rem, 8vw, 3rem); }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-desc { font-size: 1rem; }
    .stats-section { padding: 30px 20px; }
    .dna-section, .profile-section { padding: 40px 20px; gap: 30px; }
    .dna-image { height: 250px; }
}

/* Global - Touch optimization for all screens */
@media (hover: none) and (pointer: coarse) {
    .nav-links a, .btn-primary, .btn-secondary { padding: 12px 24px; min-height: 44px; min-width: 44px; }
    .service-card, .tech-card, .dna-feature, .testimonial-card { padding: 24px; }
}

/* High resolution / retina - global */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-bg-pattern { opacity: 0.015; }
    .nav-brand { font-weight: 500; }
}

/* Global - Mobile optimization: smaller screens, touch targets and vertical rhythm */
@media (max-width: 320px) {
    html { font-size: 14px; }
    nav, .main-nav, #navbar { padding: 12px 16px; }
    .hero { padding: 80px 16px 40px; min-height: 80vh; }
    .hero-title { font-size: clamp(1.6rem, 8vw, 2.8rem); }
    .hero-eyebrow { font-size: 0.78rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-desc { font-size: 1rem; }
    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary { max-width: 240px; padding: 14px 28px; font-size: 0.78rem; }
    .section-title { margin-bottom: 16px; }
    .section-body { font-size: 1.02rem; }
    .service-card, .tech-card { padding: 20px 16px; }
    .tech-card-icon { width: 36px; height: 36px; }
    .dna-image { height: 220px; }
}

/* Global - Ultra-small screens for legacy/edge devices */
@media (max-width: 280px) {
    html { font-size: 13px; }
    .hero { padding: 60px 12px 30px; }
    .hero-ornament { display: none; }
    .nav-brand { font-size: 1rem; }
    .btn-primary, .btn-secondary { padding: 10px 20px; font-size: 0.78rem; }
}

/* Global - Desktop and larger tablets optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-links { gap: 24px; }
    .nav-brand { font-size: 1.2rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Global - Wide desktop for readability */
@media (min-width: 1600px) and (max-width: 2200px) {
    .section-title { font-size: clamp(2.4rem, 3.5vw, 3.6rem); }
    .section-body { font-size: 1.2rem; }
}

/* Global - All screens: font rendering optimization */
@media screen and (min-resolution: 150dpi) {
}

/* Prefers reduced motion */@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-ornament { animation: none; }
    .scroll-reveal { opacity: 1; transform: none; }
    .marquee-track { animation-duration: 20s !important; animation-iteration-count: infinite !important; }
}

/* Print */
@media print {
    .preloader, .cursor-dot, .cursor-ring, .mobile-toggle, .mobile-menu, .mobile-menu-overlay { display: none !important; }
    nav, .main-nav, #navbar { position: static; background: white; padding: 10px 20px; }
    .hero { min-height: auto; padding: 40px 20px; }
    body { font-size: 12pt; }
}