@charset "utf-8";
 /* Enhanced Contact Form Input Styling */
/* Enhanced Contact Form Input Styling */
.contact-form input, 
.contact-form textarea,
.contact-form select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--text-dim);
    color: var(--text-titanium);
    padding: 18px 0; 
    font-family: var(--font-primary);
    font-size: 1.1rem; 
    margin-bottom: 30px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    
    /* Remove default styling for select/input for custom appearance */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.contact-form select {
    /* Custom SVG for dropdown arrow (using accent-gold equivalent) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C7A14A'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 16px;
}

/* Placeholder color matching the dim text */
.contact-form ::placeholder {
    color: var(--text-dim);
    opacity: 1; 
}
.contact-form input:hover, 
.contact-form textarea:hover, 
.contact-form select:hover {
    border-bottom-color: var(--text-titanium);
}

.contact-form input:focus, 
.contact-form textarea:focus,
.contact-form select:focus {
    border-bottom-color: var(--accent-gold);
    box-shadow: 0 1px 0 0 var(--accent-gold);
}

.footer-bottom {
    margin-top: 120px; 
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
}

/* CLIENT SPECTRUM SECTION */
.client-spectrum {
    padding: 100px 0;
    border-bottom: 1px dashed var(--border-subtle);
}

.client-spectrum h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 60px;
}

.spectrum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px; /* Gap creates the appearance of thick lines */
    background-color: var(--border-subtle); /* Base line color */
    border-top: 1px solid var(--border-subtle); /* Top boundary */
    border-bottom: 1px solid var(--border-subtle); /* Bottom boundary */
}

.spectrum-module {
    background-color: var(--bg-carbon);
    padding: 40px;
    height: 100%;
    /* Subtle separation lines */
    border-left: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
}

.spectrum-module:first-child {
    border-left: none; /* Remove left line on the first item */
}
.spectrum-module:last-child {
    border-right: none; /* Remove right line on the last item */
}

.spectrum-category {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    display: block;
}

.spectrum-description {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.client-logos img {
    height: 20px; /* Standardize logo height */
    width: auto;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.client-logos img:hover {
    opacity: 0.8;
}

/* CALIBRATION PROCESS REFINEMENT (CONSOLIDATED) */

/* KEYFRAME FOR PIPELINE GLOW (Optional, if you want a subtle pulse) */
@keyframes pipeline-pulse {
    0% { opacity: 0.1; }
    50% { opacity: 0.3; }
    100% { opacity: 0.1; }
}

.calibration-process {
    padding: 100px 0;
    border-bottom: 1px dashed var(--border-subtle);
    position: relative; /* Crucial for positioning the pipeline */
}

.calibration-process h2 {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 90px; /* Increased margin for pipeline clearance */
    position: relative;
    z-index: 3;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative; /* Crucial for positioning step indicators */
}

/* 1. THE HORIZONTAL PIPELINE */
.process-grid::after {
    content: '';
    position: absolute;
    top: -45px; /* Position line above the process steps */
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--border-subtle);
    z-index: 1;
}

/* 2. THE GLOWING FLOW PATH (Optional visual effect on the pipeline) */
.process-grid::before {
    content: '';
    position: absolute;
    top: -45px; 
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent-gold);
    opacity: 0.15;
    animation: pipeline-pulse 5s infinite alternate; /* Subtle pulse effect */
    z-index: 1;
}

.process-step {
    padding-top: 30px;
    position: relative;
    z-index: 2; /* Ensures step content is above the line */
    transition: all 0.3s ease;
    cursor: default;
}

/* 3. STEP HOVER EFFECT */
.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--accent-gold); /* Highlight border on hover */
    padding: 29px; /* Adjust padding to make space for the 1px border without shifting neighbors */
    background-color: rgba(22, 27, 34, 0.6); /* Slight background darkening */
}

/* 4. CIRCULAR INDICATOR MARKER */
.process-step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 5px; /* Adjust top margin for better spacing */
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px; /* Space between indicator and title */
}

.process-step h3::before {
    content: '';
    /* Visually mark the spot on the pipeline path */
    display: block;
    width: 12px;
    height: 12px;
    border: 1px solid var(--accent-gold);
    background-color: var(--bg-carbon);
    border-radius: 50%;
    /* Visually connect the indicator to the pipeline (offset calculation required for perfect alignment) */
    position: absolute;
    top: -51px; /* Adjust based on h2 margin and pipeline position */
    left: calc(10% - 6px); /* Center relative to the step's width */
    z-index: 5;
    transition: all 0.3s ease;
}

.process-step:hover h3::before {
    background-color: var(--accent-gold); /* Fill the dot on hover */
    box-shadow: 0 0 10px rgba(199, 161, 74, 0.7); /* Neon glow on the dot */
}

.process-num {
    font-family: var(--font-mono);
    color: var(--accent-gold);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 15px;
    display: block; /* Ensure I., II., III. stack correctly */
}

.process-step p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.mandate-item {
    position: relative;
    cursor: default;
}

.mandate-item::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.6s cubic-bezier(.16,1,.3,1);
}

.mandate-item:hover::after {
    width: 100%;
}

.mandate-item:hover .accent {
    opacity: 1;
}

/* === SYSTEM REVIEW === */
.system-review {
  padding: 120px 20px;
  background: radial-gradient(
    circle at top,
    rgba(255, 200, 120, 0.06),
    transparent 60%
  );
}

.system-review-shell {
  max-width: 920px;
  margin: 0 auto;
}

/* HERO */
.review-hero-header {
  text-align: center;
  margin-bottom: 64px;
}

.review-hero-header h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin: 12px 0;
}

.review-hero-header .hero-sub {
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.85;
}

/* PANELS */
.review-panel {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
}

.review-panel h2 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
}

.highlight-panel {
  border-color: rgba(255, 200, 120, 0.35);
  background: linear-gradient(
    180deg,
    rgba(255, 200, 120, 0.06),
    rgba(255, 255, 255, 0.02)
  );
}

/* FORM */
.review-form label {
  display: block;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.review-form input[type="text"],
.review-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: inherit;
}

.review-form input:focus,
.review-form textarea:focus {
  outline: none;
  border-color: rgba(255, 200, 120, 0.6);
}

/* CHECKBOXES */
.qualification-list {
  display: grid;
  gap: 14px;
}

.qualification-check-item,
.budget-confirm {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.4;
}

.qualification-check-item input,
.budget-confirm input {
  margin-top: 3px;
  accent-color: #f2b96f;
}

/* BUTTON */
.submit-review-btn {
  margin-top: 32px;
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

/* FOOTER */
.review-footer {
  margin-top: 40px;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.6;
}

.form-validation-message {
  margin-top: 18px;
  font-size: 0.85rem;
  color: #f2b96f;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-validation-message.active {
  opacity: 1;
  transform: translateY(0);
}

.review-confirmation {
  margin-top: 32px;
  padding: 24px 28px;
  border: 1px solid rgba(242, 185, 111, 0.25);
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.7),
    rgba(10, 10, 10, 0.9)
  );
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
}

.system-review-outline {
  margin-top: 64px;
  padding: 48px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 15, 0.85),
    rgba(5, 5, 5, 0.95)
  );
  border: 1px solid rgba(242, 185, 111, 0.2);
}

.review-outline-list {
  margin-top: 32px;
  display: grid;
  gap: 24px;
}

.review-outline-list li {
  line-height: 1.6;
  font-size: 0.95rem;
}

.review-note {
  margin-top: 32px;
  font-size: 0.85rem;
  opacity: 0.8;
}

.foundry-details {
  margin-top: 120px;
  padding: 80px 64px;
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(14, 14, 14, 0.9),
    rgba(6, 6, 6, 0.98)
  );
  border: 1px solid rgba(242, 185, 111, 0.2);
}

.foundry-header {
  max-width: 720px;
  margin-bottom: 64px;
}

.foundry-header h2 {
  margin-top: 12px;
}

.foundry-sub {
  margin-top: 12px;
  opacity: 0.85;
  line-height: 1.6;
}

.foundry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.foundry-card {
  padding: 32px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.foundry-card h3 {
  margin-bottom: 12px;
}

.foundry-card ul {
  list-style: none;
  padding-left: 0;
}

.foundry-card li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.foundry-footer {
  margin-top: 48px;
  font-size: 0.8rem;
  opacity: 0.6;
  text-align: center;
}

.foundry-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.foundry-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.foundry-modal-content {
  max-width: 520px;
  padding: 48px;
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(18, 18, 18, 0.95),
    rgba(8, 8, 8, 0.98)
  );
  border: 1px solid rgba(242, 185, 111, 0.25);
}

.foundry-modal-content ul {
  margin: 24px 0;
  list-style: none;
  padding-left: 0;
}

.foundry-modal-content li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.foundry-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

.modal-note {
  margin-top: 24px;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* PHILOSOPHY SECTION */
.philosophy {
    position: relative;
    padding: 8rem 2rem;
    background: radial-gradient(
        ellipse at top,
        rgba(212, 175, 55, 0.08),
        transparent 60%
    );
    display: flex;
    justify-content: center;
    align-items: center;
}

.philosophy-frame {
    max-width: 920px;
    padding: 4rem 4.5rem;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 22px;
    background:
        linear-gradient(
            180deg,
            rgba(17, 17, 17, 0.85),
            rgba(10, 10, 10, 0.95)
        );
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.02),
        0 40px 120px rgba(0, 0, 0, 0.7);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle inner grain / depth */
.philosophy-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.04),
            transparent 40%
        );
    pointer-events: none;
}

.philosophy blockquote {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    font-weight: 500;
    line-height: 1.35;
    color: #e5e5e5;
    margin: 0;
    position: relative;
}

.philosophy .quote-mark {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    font-size: 6rem;
    font-weight: 600;
    color: rgba(212, 175, 55, 0.18);
    font-family: serif;
    pointer-events: none;
}
.philosophy .accent {
    color: #d4af37;
}

/* CASE STUDY */
.case-study {
    padding: 8rem 2rem;
    background: radial-gradient(
        ellipse at top,
        rgba(212, 175, 55, 0.06),
        transparent 60%
    );
    display: flex;
    justify-content: center;
}

.case-study-frame {
    max-width: 1100px;
    padding: 4.5rem;
    border-radius: 26px;
    background: linear-gradient(
        180deg,
        rgba(16, 16, 16, 0.92),
        rgba(8, 8, 8, 0.98)
    );
    border: 1px solid rgba(212, 175, 55, 0.22);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.02),
        0 60px 160px rgba(0,0,0,0.75);
}

.case-header {
    margin-bottom: 4rem;
}

.case-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.case-header h2 {
    margin: 0.6rem 0 1rem;
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.case-intro {
    max-width: 720px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}

/* Segments */
.case-segments {
    display: grid;
    gap: 3.5rem;
}

.segment {
    padding: 2.5rem 3rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.02);
    border-left: 4px solid rgba(212, 175, 55, 0.4);
}

.phase-label {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.segment h3 {
    margin: 0.6rem 0 1.2rem;
}

.segment p,
.segment li {
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
}

.segment ul {
    padding-left: 1.2rem;
}

.segment li {
    margin-bottom: 0.6rem;
}

/* Results Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem; /* FIX: Added missing semicolon */
}


/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
    /* Tablet/Smaller Desktop */
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .case-segments {
        flex-direction: column; 
        gap: 40px;
    }
    
    .segment:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr; 
    }
    .testimonial-card:not(:last-child) {
        margin-bottom: 40px;
    }
    .project-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
    .engagement-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .calibration-process h2 {
        font-size: 2.5rem;
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mandate-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 60px; 
    }
    .footer-grid h2 {
        font-size: 3rem;
    }
    .footer-bottom {
        margin-top: 80px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    /* Responsive adjustment for Client Spectrum */
    .spectrum-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .spectrum-module {
        border-left: none;
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }
    .spectrum-module:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    /* General Mobile adjustments */
    .logo-img {
        height: 16px; 
    }
    .menu-toggle {
        display: block;
    }
    .hero h1 { 
        font-size: 3.5rem; 
        letter-spacing: -1px;
        /* Adjust stroke for smaller screens */
        -webkit-text-stroke: 0.3px var(--text-titanium); 
    }
    /* Mobile Nav Links */
    .nav-links { 
        display: none; 
        flex-direction: column;
        gap: 20px;
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--bg-carbon);
        padding: 20px 40px 40px;
        border-top: 1px solid var(--border-subtle);
        z-index: 10;
    }
    .nav-links.active {
        display: flex;
    }
    .authority-bar { grid-template-columns: 1fr 1fr; gap: 20px; }
    .services-grid { grid-template-columns: 1fr; }
    .engagement-grid {
        grid-template-columns: 1fr;
    }
    .engagement-model-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .engagement-model-header h2 {
        font-size: 2.5rem;
    }
    .warning-box {
        margin-top: 40px;
    }
    .projects-section h2 {
        font-size: 2.5rem; 
    }
    .project-grid {
        grid-template-columns: 1fr; 
    }
    .calibration-process h2 {
        font-size: 2rem;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .mandate-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .foundry-cta {
        padding: 30px 20px;
    }
    /* Remove the subtle left line on smaller screens to keep clean */
    .container::before {
        display: none;
    }
    /* Remove scanning effect on mobile to save performance */
    .expertise-matrix::before {
        display: none;
    }
    /* Responsive adjustment for Mobile (remove pipeline complexity) */
    .process-grid::after,
    .process-grid::before,
    .process-step h3::before {
        display: none; /* Hide complex pipeline effects */
    }
    
    .calibration-process h2 {
        margin-bottom: 40px; /* Reduce margin when pipeline is gone */
    }

    .process-step {
        border-bottom: 1px solid var(--border-subtle);
        padding-bottom: 20px;
    }
    .process-step:last-child {
        border-bottom: none;
    }

    .process-step:hover {
        transform: none; /* Disable transform on mobile hover */
        box-shadow: none;
        border: none;
        padding: 30px 0 20px 0; /* Reset padding */
        background-color: transparent;
    }

    .process-step h3 {
        gap: 0; /* Remove gap when indicator is gone */
    }
}

/* Expertise Matrix Phone Optimization */
@media (max-width: 600px) {
    /* Phone: Expertise Grid 2 -> 1 Column */
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 30px; 
    }

    /* Add visual border separator between categories */
    .expertise-category {
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border-subtle);
    }

    /* Remove the border from the last item */
    .expertise-category:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .metric-box p {
        font-size: 1.8rem;
    }
}
/* Ensure all paragraphs inside the segment blocks use the correct dim text color */
.segment p {
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
}

/* Ensure the new process-meta paragraph also gets the base text style */
.segment .process-meta {
    margin-top: 1.5rem; /* Add separation from previous text */
    font-size: 0.9rem; /* Use a slightly smaller font for metadata */
    opacity: 0.8;
}