:root {
    --mck-blue-nav: #051b2e;
    --navy-deep: #031422;
    --navy-primary: #0a2540;
    --blue-accent: #0070ba;
    --blue-glow: rgba(0, 112, 186, 0.15);
    --gold-accent: #d4af37;
    --slate: #52667a;

    --site-bg: #eef2f6;
    --card-bg: #f8fafc;
    --border: rgba(10, 37, 64, 0.12);
    --border-light: rgba(255, 255, 255, 0.14);
    
    --text-primary: #121a24;
    --text-secondary: #475569;

    --font-serif: 'Times New Roman', Times, Baskerville, Georgia, serif;
    --font-sans: 'Times New Roman', Times, serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: initial; }
body {
    background: var(--site-bg);
    color: var(--text-primary);
    font-family: var(--font-serif);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Ambient Subtle Background Glow */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}
.glow-1 { top: -10%; right: -5%; width: 500px; height: 500px; background: rgba(0, 112, 186, 0.08); }
.glow-2 { bottom: 10%; left: -10%; width: 600px; height: 600px; background: rgba(10, 37, 64, 0.05); }

/* Spotlight Dimmer for Architecture Cards Expansion */
.spotlight-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 30, 48, 0.4); /* Light, elegant backdrop — not a hard blackout */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.spotlight-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Typography (All Times New Roman) */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; color: var(--navy-primary); }
.serif-em { font-style: italic; color: var(--blue-accent); }
.light-text .serif-em { color: #4da3ff; }

.eyebrow {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--blue-accent); display: inline-block; margin-bottom: 14px;
}
.eyebrow-accent {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: #4da3ff; display: inline-block; margin-bottom: 14px;
}
.badge-pill {
    padding: 6px 14px; background: rgba(0, 112, 186, 0.08); border: 1px solid rgba(0, 112, 186, 0.25);
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.sec { padding: 110px 0; }
.border-top { border-top: 1px solid var(--border); }
.gray-sec { background: #e5ebf2; }
.navy-rich-sec { background: var(--navy-primary); color: #fff; position: relative; }

.sec-head { max-width: 760px; margin-bottom: 50px; }
.section-title { font-size: clamp(2.2rem, 3.8vw, 3.2rem); margin-bottom: 15px; }
.light-text { color: #fff !important; }
.sec-intro { font-size: 1.15rem; color: var(--text-secondary); }
.light-muted { color: rgba(255, 255, 255, 0.7); }

/* TOP HEADER */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; height: 76px; padding: 0 0 0 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 2000;
    background: var(--mck-blue-nav);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}
.site-header.scrolled { height: 62px; }

.brand-signature { display: flex; align-items: center; gap: 14px; text-decoration: none; height: 100%; }
.logo-slot { display: flex; align-items: center; height: 100%; }
.logo-img { height: 28px; width: auto; max-width: 160px; object-fit: contain; display: block; }
.logo-fallback-mark { width: 26px; height: 26px; background: #ffffff; display: none; align-items: center; justify-content: center; }
.symbol-accent { width: 8px; height: 8px; background: var(--blue-accent); }
.firm-name { font-size: 0.88rem; font-weight: 700; letter-spacing: 1.5px; color: #ffffff; display: block; }

.header-right { display: flex; align-items: center; height: 100%; gap: 18px; }

.menu-btn {
    display: flex; align-items: center; gap: 10px;
    align-self: stretch;
    padding: 0 30px;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    cursor: pointer;
    font-family: var(--font-serif);
    transition: background 0.25s ease;
}
.menu-btn:hover { background: rgba(255, 255, 255, 0.08); }
.btn-text { font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; }
.btn-icon { width: 14px; height: 7px; display: flex; flex-direction: column; justify-content: space-between; }
.btn-icon span { width: 100%; height: 1.5px; background: #fff; }

/* SIDE DRAWER */
.side-nav { position: fixed; inset: 0; z-index: 2500; visibility: hidden; pointer-events: none; }
.side-nav.active { visibility: visible; pointer-events: all; }
.nav-overlay { position: absolute; inset: 0; background: rgba(3, 20, 34, 0.7); opacity: 0; transition: 0.4s; }
.side-nav.active .nav-overlay { opacity: 1; }
.nav-drawer {
    position: absolute; top: 0; right: -500px; width: 480px; height: 100%;
    background: var(--navy-deep); color: #fff; padding: 60px 0;
    display: flex; flex-direction: column; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.side-nav.active .nav-drawer { transform: translateX(-500px); }
.nav-close { align-self: flex-end; margin-right: 40px; background: none; border: none; color: #fff; font-size: 2.2rem; cursor: pointer; opacity: 0.7; }
.nav-close:hover { opacity: 1; }
.drawer-header { font-size: 0.75rem; letter-spacing: 2px; color: var(--slate); padding: 0 40px; margin-bottom: 25px; }

.drawer-links { display: flex; flex-direction: column; gap: 4px; flex-grow: 1; justify-content: center; }

.drawer-link-item {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 14px 40px;
    position: relative;
    transition: all 0.3s ease;
}
.link-highlight-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0px;
    background: var(--gold-accent);
    transition: width 0.3s ease;
}
.drawer-link-item .link-label {
    font-size: 0.85rem;
    color: var(--blue-accent);
    margin-right: 18px;
    font-weight: 700;
}
.drawer-link-item:hover {
    background: rgba(0, 112, 186, 0.12);
    color: #f7d56e;
    padding-left: 52px;
}
.drawer-link-item:hover .link-highlight-bar {
    width: 6px;
}

.drawer-cta-box { padding: 0 40px; margin-bottom: 25px; }
.drawer-footer { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); padding: 0 40px; }

/* Hero */
.hero { padding: 160px 0 70px; }
.hero-header-line { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 35px; }
.hero-headline { font-size: clamp(2.6rem, 5vw, 4.4rem); max-width: 980px; margin-bottom: 30px; line-height: 1.1; }
.hero-meta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; margin-bottom: 50px; }
.hero-sub { font-size: 1.25rem; color: var(--text-secondary); font-weight: 400; line-height: 1.7; }
.hero-cta-group { display: flex; flex-direction: column; gap: 14px; }

.btn-primary {
    display: inline-flex; justify-content: center; align-items: center; gap: 10px;
    padding: 16px 32px; background: var(--navy-primary); color: #fff;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    text-decoration: none; border: 1px solid var(--navy-primary); cursor: pointer; transition: all 0.3s ease;
    font-family: var(--font-serif);
}
.btn-primary:hover { background: var(--blue-accent); border-color: var(--blue-accent); transform: translateY(-2px); }

.btn-secondary {
    display: inline-flex; justify-content: center; align-items: center;
    padding: 16px 32px; background: transparent; color: var(--navy-primary);
    font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    text-decoration: none; border: 1px solid var(--border); cursor: pointer; transition: all 0.3s ease;
    font-family: var(--font-serif);
}
.btn-secondary:hover { background: #dfe7ef; border-color: var(--navy-primary); }

.btn-gold {
    display: inline-flex; justify-content: center; align-items: center;
    padding: 16px 32px; background: var(--gold-accent); color: #031422;
    font-size: 0.8rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
    border: none; cursor: pointer; transition: all 0.3s ease; font-family: var(--font-serif);
}
.btn-gold:hover { background: #f0c94d; }

/* PICTURE ZOOM HOVER EFFECT */
.media-frame { width: 100%; overflow: hidden; background: #e0e8f0; }

.smooth-zoom-frame {
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}
.smooth-zoom-frame .media-img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}
.smooth-zoom-frame:hover .media-img {
    transform: scale(1.04);
}

.hero-img { max-height: 600px; }
.dark-border { border-color: var(--border-light); }

/* Stat Banner (Times New Roman Numbers) */
.stat-banner { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); background: var(--card-bg); }
.stat-card { padding: 30px 25px; border-right: 1px solid var(--border); }
.stat-card:last-child { border-right: none; }
.stat-number-wrap { display: flex; align-items: baseline; gap: 2px; }
.stat-number { font-family: var(--font-serif); font-size: 2.8rem; color: var(--navy-primary); line-height: 1; font-weight: 700; }
.stat-plus { font-family: var(--font-serif); font-size: 2rem; color: var(--blue-accent); font-weight: 700; }
.stat-sublabel { font-size: 1rem; font-weight: 700; color: var(--blue-accent); margin-left: 6px; }
.stat-label { font-size: 0.85rem; color: var(--slate); display: block; margin-top: 6px; }

/* Overview */
.section-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.lead-paragraph { font-size: 1.3rem; color: var(--navy-primary); margin-bottom: 18px; line-height: 1.6; }
.sub-paragraph { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; }

/* CASE STUDIES */
.case-studies-sec { padding-bottom: 120px; }
.stories-wrapper { display: flex; flex-direction: column; gap: 70px; }

.story-screen-panel {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.story-screen-inner { width: 100%; }
.story-header { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border-light); padding-bottom: 14px; margin-bottom: 30px; }
.story-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; color: #4da3ff; }
.story-location { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

.story-content-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-title { font-size: 2.1rem; color: #fff; margin-bottom: 20px; line-height: 1.2; }
.story-metrics { display: flex; gap: 35px; margin-bottom: 20px; }
.metric-val { font-family: var(--font-serif); font-size: 2.4rem; color: #4da3ff; line-height: 1; font-weight: 700; }
.metric-label { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; display: block; margin-top: 4px; }
.bullet-list { list-style: none; }
.bullet-list li { font-size: 0.98rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 12px; position: relative; padding-left: 20px; line-height: 1.6; }
.bullet-list li::before { content: "—"; position: absolute; left: 0; color: #4da3ff; font-weight: bold; }

.story-media-col { position: relative; width: 100%; overflow: hidden; }
.fly-img-box { width: 100%; height: 100%; }

/* Locations */
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.location-card { background: var(--card-bg); border: 1px solid var(--border); padding: 35px 30px; }
.loc-code { font-size: 0.8rem; font-weight: 700; color: var(--blue-accent); display: block; margin-bottom: 12px; }
.loc-name { font-size: 1.9rem; margin-bottom: 12px; }
.loc-desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }

/* =========================================================
   BRIGHT, HIGH-CONTRAST EXPANDABLE ARCHITECTURE MODAL
   ========================================================= */
.services-spotlight-sec { position: relative; z-index: 10; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.expandable-arch-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--navy-primary);
    padding: 35px 30px;
    cursor: pointer;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.arch-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.service-num { font-size: 0.85rem; font-weight: 700; color: var(--blue-accent); }
.expand-tag { font-size: 0.75rem; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: 1px; }

.expandable-arch-card h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--navy-primary); }
.card-summary { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; }

.card-close-btn {
    display: none;
    position: absolute;
    top: 25px;
    right: 25px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 38px;
    text-align: center;
    color: var(--navy-primary);
    cursor: pointer;
    transition: all 0.2s;
}
.card-close-btn:hover {
    background: var(--navy-primary);
    color: #ffffff;
    border-color: var(--navy-primary);
}

.expanded-arch-content { 
    display: none; 
    margin-top: 25px; 
    padding-top: 25px; 
    border-top: 1px solid #e2e8f0; 
}
.expanded-arch-content h4 { 
    font-size: 1.5rem; 
    margin-bottom: 14px; 
    color: var(--navy-primary); 
}
.expanded-arch-content p { 
    font-size: 1.05rem; 
    color: #1e293b; /* Crisp dark readable text */
    margin-bottom: 18px; 
    line-height: 1.8; 
}
.expanded-arch-content ul { 
    list-style: square; 
    padding-left: 24px; 
    font-size: 1rem; 
    color: #334155; 
}
.expanded-arch-content ul li { 
    margin-bottom: 10px; 
    line-height: 1.7; 
}

.expandable-arch-card:hover {
    border-color: var(--blue-accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(5, 28, 44, 0.08);
}
.expandable-arch-card:hover .expand-tag { color: var(--blue-accent); }

/* BRIGHT DAYLIGHT EXPANDED MODAL (NO DARK TINT) */
.expandable-arch-card.is-expanded {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    max-width: 860px !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    z-index: 2200 !important;
    background: #ffffff !important; /* Pure clean bright background */
    color: #0f172a !important;
    border: 2px solid var(--blue-accent) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45) !important;
    padding: 50px !important;
    cursor: default;
}
.expandable-arch-card.is-expanded .card-close-btn { display: block; }
.expandable-arch-card.is-expanded .expand-tag { display: none; }
.expandable-arch-card.is-expanded .expanded-arch-content { display: block; animation: stepFade 0.25s ease forwards; }

/* Contact */
.contact-sec { background: var(--site-bg); }
.contact-card { background: var(--card-bg); border: 1px solid var(--border); padding: 60px; }
.contact-sub { font-size: 1.15rem; color: var(--text-secondary); margin: 10px 0 25px; }
.contact-action-bar { margin-bottom: 40px; }
.contact-details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-top: 1px solid var(--border); padding-top: 30px; }
.channel-label { display: block; font-size: 0.75rem; font-weight: 700; color: var(--slate); margin-bottom: 6px; letter-spacing: 1px; }
.channel-link { font-size: 1.1rem; font-weight: 700; color: var(--navy-primary); text-decoration: none; cursor: pointer; }
.channel-link:hover { color: var(--blue-accent); }
.channel-text { font-size: 1.05rem; font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #fff; padding: 0 0 30px; }
.footer-testimonials { padding: 70px 0 50px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 45px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.testimonial-card { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); padding: 28px 24px; }
.testimonial-highlight { font-size: 1.02rem; line-height: 1.5; color: #fff; font-weight: 700; margin-bottom: 12px; }
.testimonial-quote { font-size: 0.85rem; line-height: 1.65; color: rgba(255, 255, 255, 0.7); margin-bottom: 18px; }
.testimonial-name { display: block; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.5px; }
.testimonial-role { display: block; font-size: 0.78rem; color: rgba(255, 255, 255, 0.5); margin-top: 3px; }
.footer-top { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border-light); padding-bottom: 35px; margin-bottom: 25px; }
.footer-logo { font-size: 0.9rem; font-weight: 700; letter-spacing: 1.5px; display: block; margin-bottom: 8px; }
.footer-desc { font-size: 0.88rem; color: rgba(255, 255, 255, 0.5); max-width: 400px; }
.footer-col { text-align: right; font-size: 0.95rem; }
.footer-col a { color: #fff; text-decoration: none; display: block; margin-bottom: 6px; }
.footer-bottom { font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); }

/* =========================================================
   SCROLLABLE MODAL BOX
   ========================================================= */
.modal-overlay {
    position: fixed; inset: 0; z-index: 3000;
    visibility: hidden; pointer-events: none;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.modal-overlay.active { visibility: visible; pointer-events: all; }
.modal-backdrop {
    position: absolute; inset: 0; background: rgba(3, 20, 34, 0.85);
    opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active .modal-backdrop { opacity: 1; }

.modal-container {
    position: relative; z-index: 3001; width: 100%; max-width: 800px;
    max-height: 90vh;
    display: flex; flex-direction: column;
    transform: scale(0.96) translateY(15px); opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.modal-overlay.active .modal-container { transform: scale(1) translateY(0); opacity: 1; }

.modal-box {
    background: #ffffff; border: 1px solid var(--border);
    padding: 35px 40px; position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    display: flex; flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
}

.modal-scroll-body {
    flex: 1 1 auto;
    max-height: 68vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 12px;
    margin-right: -6px;
}
.modal-scroll-body::-webkit-scrollbar { width: 6px; }
.modal-scroll-body::-webkit-scrollbar-track { background: #f1f5f9; }
.modal-scroll-body::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

.modal-close {
    position: absolute; top: 20px; right: 25px;
    background: none; border: none; font-size: 2.2rem; line-height: 1;
    color: var(--slate); cursor: pointer; transition: color 0.2s; z-index: 10;
}
.modal-close:hover { color: var(--navy-primary); }

.modal-header { margin-bottom: 16px; flex-shrink: 0; }
.modal-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; color: var(--blue-accent); margin-bottom: 4px; }
.modal-title { font-size: 1.9rem; margin-bottom: 4px; }
.modal-subtitle { font-size: 0.95rem; color: var(--text-secondary); }

.wizard-progress-track { width: 100%; height: 4px; background: #e2e8f0; margin: 12px 0 6px; }
.wizard-progress-bar { height: 100%; width: 20%; background: var(--blue-accent); transition: width 0.3s ease; }
.wizard-steps-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; color: var(--slate); text-transform: uppercase; }

.wizard-step { display: none; }
.wizard-step.active { display: block; animation: stepFade 0.3s ease forwards; }
@keyframes stepFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.step-subheading { font-size: 1.15rem; font-weight: 600; color: var(--navy-primary); margin-bottom: 10px; }
.step-desc-text { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 16px; }
.mt-20 { margin-top: 20px; }
.form-group { margin-bottom: 16px; }
.input-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy-primary); margin-bottom: 6px; }

.option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.option-grid-dense { grid-template-columns: repeat(3, 1fr); }
.option-grid-3 { grid-template-columns: 1fr; }
.option-card { position: relative; cursor: pointer; }
.option-card input { position: absolute; opacity: 0; }
.opt-box { display: flex; flex-direction: column; padding: 14px; border: 1px solid #d2dce6; background: #f8fafc; height: 100%; transition: all 0.2s; }
.opt-title { font-size: 0.95rem; color: var(--navy-primary); font-weight: 700; }
.opt-desc { font-size: 0.85rem; color: var(--text-secondary); margin-top: 4px; line-height: 1.4; }
.option-card input:checked + .opt-box { border-color: var(--blue-accent); background: rgba(0, 112, 186, 0.06); box-shadow: inset 0 0 0 1px var(--blue-accent); }

.form-control { width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; font-family: var(--font-serif); font-size: 1rem; background: #f8fafc; }
.form-control:focus { outline: none; border-color: var(--blue-accent); background: #fff; }

.checkbox-stack { display: flex; flex-direction: column; gap: 10px; }
.custom-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; cursor: pointer; color: var(--text-primary); }
.custom-check input { margin-top: 4px; accent-color: var(--blue-accent); }

.wizard-nav { display: flex; justify-content: space-between; margin-top: 25px; padding-top: 18px; border-top: 1px solid var(--border); }

.evaluation-result-box { background: var(--navy-primary); color: #fff; padding: 25px; margin-bottom: 20px; }
.rank-badge { display: inline-block; padding: 4px 10px; background: var(--gold-accent); color: #051c2c; font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 10px; }
.result-headline { font-size: 1.4rem; color: #fff; margin-bottom: 5px; }
.result-summary { font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); line-height: 1.5; }

.contact-inputs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.w-100 { width: 100%; }

/* Universal Email Toast */
.email-toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
    background: var(--navy-deep); color: #fff; padding: 12px 24px; font-size: 0.9rem;
    border: 1px solid var(--blue-accent); z-index: 9999; opacity: 0; transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); pointer-events: none; font-family: var(--font-serif);
}
.email-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* Responsive Adjustments */
@media (max-width: 1100px) {
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .stat-banner, .location-grid, .service-grid, .contact-details-grid, .section-lead-grid, .hero-meta-grid, .story-content-grid, .testimonial-grid { grid-template-columns: 1fr; gap: 25px; }
    .option-grid-dense { grid-template-columns: repeat(2, 1fr); }
    .nav-drawer { width: 100%; right: -100%; }
    .desktop-only { display: none; }
    .modal-box { padding: 25px 20px; }
    .modal-scroll-body { max-height: 60vh; }
    .contact-inputs-grid { grid-template-columns: 1fr; }
    .story-screen-panel { min-height: auto; padding: 35px 20px; }
    .expandable-arch-card.is-expanded { width: 95vw !important; padding: 35px 25px !important; }
    .footer-top { flex-direction: column; gap: 20px; }
    .footer-col { text-align: left; }
}

@media (max-width: 480px) {
    .hero-headline { font-size: 1.9rem; }
    .section-title { font-size: 1.7rem; }
    .stat-banner { grid-template-columns: 1fr 1fr; }
    .stat-card { border-right: none; border-bottom: 1px solid var(--border); }
    .contact-card { padding: 30px 20px; }
    .modal-title { font-size: 1.5rem; }
    .option-grid-dense { grid-template-columns: 1fr; }
    .lang-select { padding: 6px 26px 6px 10px; font-size: 0.72rem; }
}

/* Image placeholders — shown only until a matching file is dropped in (see README) */
.img-placeholder {
    width: 100%;
    min-height: 260px;
    background: repeating-linear-gradient(45deg, #d2dae3, #d2dae3 10px, #c3ccd8 10px, #c3ccd8 20px);
    border: 1px dashed #7c92a8;
    box-shadow: 0 10px 25px rgba(5, 28, 44, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    color: var(--slate);
    padding: 20px;
}
.img-placeholder .ph-label { font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; }
.img-placeholder .ph-spec { font-size: 0.75rem; }

/* WebP-first / JPG-fallback image slots. Add a matching .webp (and .jpg backup) file at the
   path shown in the placeholder text and the real photo appears automatically — no code edit needed. */
.img-placeholder-wrap { position: relative; overflow: hidden; width: 100%; aspect-ratio: 3 / 2; }
.img-placeholder-wrap.hero-img { aspect-ratio: 1920 / 900; }
.img-placeholder-wrap.overview-img { aspect-ratio: 16 / 9; }
.img-placeholder-wrap picture { position: absolute; inset: 0; display: block; }
.img-placeholder-wrap .real-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-placeholder-wrap .ph-fallback { position: absolute; inset: 0; display: none; min-height: 0; box-shadow: none; }
.img-placeholder-wrap.img-missing picture { display: none; }
.img-placeholder-wrap.img-missing .ph-fallback { display: flex; }

/* Language dropdown */
.lang-select-wrap { display: flex; align-items: center; height: 100%; }
.lang-select {
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-family: var(--font-serif);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 7px 30px 7px 12px;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
}
.lang-select option { color: #0a2540; background: #fff; }
.drawer-lang-select { margin: 0 40px 25px; }
.drawer-lang-select .lang-select { width: 100%; }

/* Screen Loader — elegant navy overlay, held for a minimum duration by main.js */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 40%, var(--navy-primary) 0%, var(--navy-deep) 70%);
    transition: opacity 0.6s ease;
}
#loader.loader-hidden { opacity: 0; pointer-events: none; }
.loader-content { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader-monogram {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    letter-spacing: 6px;
    color: #fff;
    opacity: 0;
    animation: loaderFadeIn 0.8s ease forwards;
}
.loader-bar {
    width: 220px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
    position: relative;
}
.loader-progress {
    position: absolute;
    top: 0; left: -40%;
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
    animation: loaderSweep 1.6s ease-in-out infinite;
}
.loader-caption {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    opacity: 0;
    animation: loaderFadeIn 0.8s ease 0.3s forwards;
}
@keyframes loaderFadeIn { to { opacity: 1; } }
@keyframes loaderSweep {
    0% { left: -40%; }
    100% { left: 100%; }
}

/* Cursor Effects — ambient glow + gold ring + dot, so the pointer is easy to spot */
#cursorGlow {
    position: fixed;
    top: 0; left: 0;
    width: 340px; height: 340px;
    margin-left: -170px; margin-top: -170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 112, 186, 0.22) 0%, rgba(212, 175, 55, 0.14) 45%, transparent 72%);
    pointer-events: none;
    z-index: 1850;
    opacity: 0;
    transition: opacity 0.4s ease;
    will-change: transform;
}
#cursorRing {
    position: fixed;
    top: 0; left: 0;
    width: 34px; height: 34px;
    margin-left: -17px; margin-top: -17px;
    border-radius: 50%;
    border: 2px solid var(--gold-accent);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.55);
    pointer-events: none;
    z-index: 1910;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.2s ease, height 0.2s ease, margin 0.2s ease, background 0.2s ease;
    will-change: transform;
}
#cursorRing.ring-click {
    width: 44px; height: 44px;
    margin-left: -22px; margin-top: -22px;
    background: rgba(212, 175, 55, 0.18);
}
#cursorDot {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    margin-left: -3px; margin-top: -3px;
    border-radius: 50%;
    background: var(--blue-accent);
    pointer-events: none;
    z-index: 1920;
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: transform;
}
#cursorGlow.active { opacity: 1; }
#cursorRing.active { opacity: 1; }
#cursorDot.active { opacity: 1; }

/* Click ripple — expands outward from the click point, then fades */
.click-ripple {
    position: fixed;
    top: 0; left: 0;
    width: 12px; height: 12px;
    margin-left: -6px; margin-top: -6px;
    border-radius: 50%;
    border: 2px solid var(--gold-accent);
    pointer-events: none;
    z-index: 1950;
    animation: rippleExpand 0.6s ease-out forwards;
}
@keyframes rippleExpand {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(6); opacity: 0; }
}

@media (max-width: 768px), (hover: none) {
    #cursorGlow, #cursorRing, #cursorDot { display: none; }
}

/* Live Viewer Badge */
.viewer-badge {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(10, 37, 64, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 16px;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.viewer-badge.visible { opacity: 1; transform: translateY(0); }
.viewer-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
    animation: viewerPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
.viewer-count { font-weight: 700; color: #fff; }
@keyframes viewerPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    50% { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}
@media (max-width: 600px) {
    .viewer-badge { right: 14px; bottom: 14px; padding: 8px 12px; font-size: 0.72rem; }
}

/* Luxury pulsing glow for the primary "Evaluate Venture" call-to-action */
.cta-evaluate { animation: luxuryGlow 2.6s ease-in-out infinite; }
@keyframes luxuryGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
    50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.25), 0 0 20px 4px rgba(212, 175, 55, 0.45); }
}
