/* ==========================================================================
   CSS Variables & Global Resets
   ========================================================================== */
:root {
    --brand-blue:       #1677FF;
    --brand-blue-hover: #105bd4;
    --brand-teal:       #19a492;   /* Ridge Yield brand teal — use as accent */
    --brand-teal-hover: #138a7a;
    --navy-dark:        #052C5C;
    --navy-deep:        #071B33;
    --text-main:        #425466;
    --text-light:       #6e849c;
    --white:            #ffffff;
    --cool-grey:        #F4F7FA;
    --border-light:     #e2e8f0;

    --font-heading: 'Sora', sans-serif;
    --font-body:    'Inter', sans-serif;

    --transition:  all 0.3s ease;
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:   0 8px 24px rgba(5,44,92,0.10);
    --shadow-lg:   0 20px 48px rgba(5,44,92,0.14);
    --radius:      8px;
    --radius-lg:   16px;
    --section-pad: 6rem 0;
    --section-pad-mobile: 3rem 0;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.65;
    background: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/*
  FIX #5 (orphan words): text-wrap:balance redistributes line breaks evenly
  across headings so no single word is left stranded on its own line.
  Supported in all modern browsers (2023+). max-width constrains the measure
  so the algorithm has enough flexibility to balance.
*/
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--navy-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    text-wrap: balance;
}

p { margin-bottom: 0; text-wrap: pretty; }

a { text-decoration: none; color: var(--brand-blue); transition: var(--transition); }

ul { list-style: none; }

img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bg-gray      { background: #fafbfc; }
.bg-cool-grey { background: var(--cool-grey); }
.center       { text-align: center; }

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.eyebrow {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    /* Teal accent on eyebrows — brand signature touch */
    color: var(--brand-teal);
    margin-bottom: 1rem;
}

/* Override eyebrow color for specific dark/light contexts */
.eyebrow-muted { color: var(--text-light); }

.color-brand { color: var(--brand-blue); }
.color-teal  { color: var(--brand-teal); }

.section-header        { margin-bottom: 3.5rem; max-width: 680px; }
.section-header.center { margin: 0 auto 3.5rem; }

.section-header h2  { font-size: clamp(1.75rem, 3vw, 2.5rem); max-width: 620px; }
.section-header.center h2 { margin-left: auto; margin-right: auto; }

.section-header .intro {
    font-size: 1rem;
    color: var(--text-main);
    margin-top: 0.75rem;
    max-width: 580px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-primary { background: var(--brand-blue); color: var(--white); }
.btn-primary:hover { background: var(--brand-blue-hover); color: var(--white); }

/* Teal CTA variant for secondary actions */
.btn-teal { background: var(--brand-teal); color: var(--white); border-color: var(--brand-teal); }
.btn-teal:hover { background: var(--brand-teal-hover); color: var(--white); }

.btn-ghost { background: transparent; border-color: var(--border-light); color: var(--navy-dark); }
.btn-ghost:hover { border-color: var(--brand-teal); color: var(--brand-teal); }

.btn-hero-ghost {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.4);
    color: var(--white);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.22); color: var(--white); }

.btn-ghost-dark { background: transparent; border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }

/* ==========================================================================
   01 Header / Navigation — Always dark; white text
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 72px;
    z-index: 1000;
    background: rgba(5, 28, 58, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s ease, height 0.3s ease;
}

.site-header.scrolled {
    background: rgba(5, 28, 58, 0.94);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    height: 64px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1.5rem;
}

.logo-area { flex-shrink: 0; }
.logo-area img { height: 32px; }
/* Invert logo to white on dark header */
.logo-invert { filter: brightness(0) invert(1); }

.logo-text-fallback { display: flex; flex-direction: column; }
.logo-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; color: var(--white); line-height: 1; }
.logo-micro { font-size: 0.55rem; letter-spacing: 0.5px; color: rgba(255,255,255,0.5); margin-top: 3px; }

.primary-nav { flex: 1; display: flex; align-items: center; justify-content: center; }

.primary-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-list > li > a {
    color: rgba(255,255,255,0.82);
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

.nav-list > li > a:hover { color: var(--brand-teal); }

.has-dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 200px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1.25rem;
    color: var(--text-main);
    font-size: 0.875rem;
}

.dropdown-menu a:hover { background: var(--cool-grey); color: var(--brand-teal); }

.header-action { flex-shrink: 0; }

/* Hamburger — white on dark header */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex-shrink: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-cta { display: none; }

/* ==========================================================================
   02 Hero — Full-Width Background Image
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 120px 0 6rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(5,44,92,0.50) 0%, rgba(7,27,51,0.68) 60%, rgba(7,27,51,0.78) 100%),
        url('../assets/images/hero.jpg') center/cover no-repeat;
    z-index: 0;
}

.hero-content-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
}

/* Hero content max-width carefully chosen so h1 wraps at a balanced point */
.hero-content { max-width: 660px; }

.hero-content .eyebrow { color: var(--brand-teal); letter-spacing: 1.5px; }

.hero-content h1 {
    font-size: clamp(2rem, 4.2vw, 3.375rem);
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 1.25rem;
    /* max-width tighter than container so text-wrap:balance has room to work */
    max-width: 580px;
}

.hero-body {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 1.75rem;
    max-width: 540px;
    line-height: 1.7;
}

.hero-actions  { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }

.hero-microcopy { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 1.25rem; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hero-tags .tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 20px;
    color: rgba(255,255,255,0.7);
}

/* Teal accent tags */
.hero-tags .tag-teal {
    background: rgba(25,164,146,0.18);
    border-color: rgba(25,164,146,0.45);
    color: #7ee8dc;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.metric-chip {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius);
    padding: 0.75rem 1.125rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 125px;
}

.chip-value { color: var(--white); font-family: var(--font-heading); font-weight: 700; font-size: 1.375rem; line-height: 1; }
/* Teal accent on chip labels */
.chip-label { color: rgba(255,255,255,0.62); font-size: 0.7rem; font-weight: 500; }

/* ==========================================================================
   03 Client Logo Marquee
   ========================================================================== */
.trust-bar-section {
    padding: 2.25rem 0;
    overflow: hidden;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.trust-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    padding: 0 2rem;
}

.marquee-wrapper { display: flex; flex-direction: column; gap: 1rem; }

.marquee-track {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;
    flex-shrink: 0;
    animation: marquee-fwd 30s linear infinite;
}

.marquee-track.reverse .marquee-content { animation-direction: reverse; }

.marquee-content img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.42);
    transition: filter 0.3s;
}

.marquee-content img:hover { filter: grayscale(20%) opacity(1); }

@keyframes marquee-fwd {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

/* ==========================================================================
   04 Problem Statement
   ========================================================================== */
.problem-section { padding: var(--section-pad); }

.problem-header { margin-bottom: 2.5rem; }
.problem-header h2 { font-size: clamp(1.625rem, 2.8vw, 2.25rem); max-width: 700px; }

.problem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.problem-text p { font-size: 1rem; color: var(--text-main); margin-bottom: 1rem; line-height: 1.7; }

.problem-cards { display: flex; flex-wrap: wrap; gap: 0.75rem; align-content: flex-start; }

.p-card {
    background: var(--cool-grey);
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--navy-dark);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    border-left: 3px solid var(--brand-teal);
}

.p-link { display: block; width: 100%; margin-top: 1rem; font-weight: 600; font-size: 0.9rem; color: var(--brand-teal); }
.p-link:hover { color: var(--brand-teal-hover); }

/* ==========================================================================
   05 Core Services — Inline SVG icons
   ========================================================================== */
.services-section {
    padding: var(--section-pad);
    position: relative;
    overflow: hidden;
    contain: paint;
}

.services-decorative-bg {
    position: absolute;
    top: 50%;
    right: -2%;
    transform: translateY(-50%);
    height: 85%;
    max-height: 700px;
    max-width: 45vw;
    width: auto;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.relative-z1 {
    position: relative;
    z-index: 1;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(25,164,146,0.3);
}

.service-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(25,164,146,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.service-icon-wrap svg { display: block; }

.highlight-card .service-icon-wrap {
    background: rgba(25,164,146,0.15);
}

.service-card h3  { font-size: 1.0625rem; margin-bottom: 0.625rem; }
.short-desc       { font-size: 0.8125rem; color: var(--text-main); margin-bottom: 1.125rem; line-height: 1.55; }
.service-card ul  { flex-grow: 1; margin-bottom: 1.25rem; }

.service-card li {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    padding-left: 1.125rem;
    position: relative;
    color: var(--text-main);
    line-height: 1.45;
}

/* Teal bullets in service lists */
.service-card li::before { content: "•"; color: var(--brand-teal); position: absolute; left: 0; font-weight: 700; }

.outcome-line {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy-dark);
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    margin-bottom: 0.875rem;
    line-height: 1.45;
}

.service-link { font-weight: 600; font-size: 0.875rem; color: var(--brand-teal); }
.service-link:hover { color: var(--brand-teal-hover); }

.highlight-card { background: var(--navy-deep); border-color: var(--navy-deep); }
.highlight-card h3, .highlight-card .outcome-line { color: var(--white); }
.highlight-card .short-desc { color: rgba(255,255,255,0.72); }
.highlight-card li { color: rgba(255,255,255,0.82); }
.highlight-card li::before { color: var(--brand-teal); }
.highlight-card .outcome-line { border-color: rgba(255,255,255,0.12); }
.highlight-card .service-link { color: var(--brand-teal); }

/* ==========================================================================
   06 Industry Verticals
   ========================================================================== */
.industries-section { padding: var(--section-pad); }

.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border-light);
    border-left: 1px solid var(--border-light);
    margin-bottom: 2.5rem;
}

.industry-item {
    padding: 2rem;
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s;
}

.industry-item:hover { background: #f0fbfa; }
.industry-item h3  { font-size: 1.25rem; margin-bottom: 0.625rem; }
.industry-item p   { font-size: 0.875rem; margin-bottom: 0.875rem; color: var(--text-main); line-height: 1.55; }
.industry-outcome  { font-weight: 600; color: var(--brand-teal); font-size: 0.8rem; }
.industry-footer   { text-align: center; }

/* ==========================================================================
   07 Methodology — dark section with background image
   ========================================================================== */
.methodology-section {
    padding: var(--section-pad);
    position: relative;
    background: var(--navy-deep);
    overflow: hidden;
    contain: paint;
}

.methodology-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    z-index: 0;
}

.methodology-container { position: relative; z-index: 1; }

.methodology-section .section-header h2,
.methodology-section .section-header .intro { color: var(--white); }

.methodology-section .section-header .eyebrow { color: var(--brand-teal); }

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.method-card {
    background: rgba(255,255,255,0.96);
    padding: 1.75rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: transform 0.25s;
    border-top: 3px solid var(--brand-teal);
}

.method-card:hover { transform: translateY(-5px); }

.method-step {
    display: block;
    font-size: 1.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--brand-teal);
    margin-bottom: 0.375rem;
    line-height: 1;
}

.method-card h4 { font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }

.method-card li {
    font-size: 0.8rem;
    color: var(--text-main);
    margin-bottom: 0.4rem;
    padding-left: 1rem;
    position: relative;
    line-height: 1.45;
}

.method-card li::before { content: "−"; position: absolute; left: 0; color: var(--brand-teal); }

/* ==========================================================================
   08 Metrics Table
   ========================================================================== */
.metrics-section { padding: var(--section-pad); }

.metrics-table-container { overflow-x: auto; margin-bottom: 2rem; }

.metrics-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.9rem; }

.metrics-table th, .metrics-table td { padding: 1.125rem 1.5rem; border-bottom: 1px solid var(--border-light); }

.metrics-table thead th {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--navy-dark);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--navy-dark);
}

.metrics-table tr:hover td { background: var(--cool-grey); }
.stage { font-weight: 600; color: var(--navy-dark); }

.highlight-banner {
    background: var(--brand-teal);
    color: var(--white);
    padding: 1.125rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
}

/* ==========================================================================
   09 Case Studies
   ========================================================================== */
.case-studies-section { padding: var(--section-pad); }

.case-grid { display: grid; gap: 2.5rem; }

.case-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--white);
    transition: box-shadow 0.3s;
}

.case-card.reverse { direction: rtl; }
.case-card.reverse > * { direction: ltr; }
.case-card:hover { box-shadow: var(--shadow-md); }

.case-img-wrap { min-height: 320px; overflow: hidden; background: var(--cool-grey); }
.case-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.case-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--brand-teal);
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.875rem;
}

.case-content h3 { font-size: clamp(1.125rem, 2vw, 1.625rem); margin-bottom: 0.875rem; }
.case-content p  { font-size: 0.9rem; color: var(--text-main); margin-bottom: 0; line-height: 1.6; }

.case-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem 0;
    margin: 1.5rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stat-item    { display: flex; flex-direction: column; }
/* Teal accent on stat numbers */
.stat-number  { font-family: var(--font-heading); font-size: 1.625rem; font-weight: 700; color: var(--brand-teal); line-height: 1; margin-bottom: 0.35rem; }
.stat-desc    { font-size: 0.75rem; font-weight: 600; color: var(--navy-dark); line-height: 1.35; }

.case-link { font-weight: 600; font-size: 0.9rem; margin-top: 0.5rem; color: var(--brand-teal); }
.case-link:hover { color: var(--brand-teal-hover); }

/* ==========================================================================
   10 Why Ridge Yield
   ========================================================================== */
.why-us-section { padding: var(--section-pad); }

.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; margin-bottom: 2.5rem; }

.adv-card { padding-left: 1rem; border-left: 3px solid var(--brand-teal); }
.adv-card h4  { font-size: 1.125rem; margin-bottom: 0.625rem; }
.adv-card p   { font-size: 0.9rem; color: var(--text-main); line-height: 1.6; }

.stats-bar {
    background: var(--navy-deep);
    padding: 1.25rem 2rem;
    border-radius: var(--radius);
    color: var(--white);
    border-top: 2px solid var(--brand-teal);
}

.stat-bar-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-bar-items > span:not(.divider) { font-weight: 500; font-size: 0.875rem; }
.divider { width: 1px; height: 18px; background: rgba(255,255,255,0.22); }

/* ==========================================================================
   11 Compliance
   ========================================================================== */
.compliance-section { padding: var(--section-pad); }

.compliance-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.comp-text h2 { font-size: clamp(1.625rem, 2.5vw, 2.125rem); margin-bottom: 0.875rem; }
.comp-text p  { margin-bottom: 1.25rem; font-size: 0.9rem; color: var(--text-main); line-height: 1.6; }
.comp-link    { font-weight: 600; font-size: 0.9rem; color: var(--brand-teal); }
.comp-link:hover { color: var(--brand-teal-hover); }

.comp-list { margin-bottom: 1.75rem; }
.comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-weight: 500;
    color: var(--navy-dark);
    font-size: 0.875rem;
    line-height: 1.5;
}

.comp-list svg { flex-shrink: 0; margin-top: 1px; color: var(--brand-teal); }

.disclaimer-box {
    background: var(--white);
    padding: 1.125rem 1.25rem;
    border-left: 3px solid var(--brand-teal);
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================================================
   12 Client Perspectives (Quotes)
   ========================================================================== */
.how-we-work-section { padding: var(--section-pad); }

.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.quote-card {
    padding: 1.75rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    border-top: 3px solid var(--brand-teal);
    display: flex;
    flex-direction: column;
}

.quote-text {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--text-main);
    flex-grow: 1;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.quote-author strong { display: block; color: var(--navy-dark); font-family: var(--font-heading); font-size: 0.875rem; }
.quote-author span   { font-size: 0.8rem; color: var(--brand-teal); }

/* ==========================================================================
   13 Insights
   ========================================================================== */
.insights-section { padding: var(--section-pad); }

.insights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

.featured-insight {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: inherit;
    transition: box-shadow 0.3s;
}

.featured-insight:hover { box-shadow: var(--shadow-md); color: inherit; }

.fi-img { height: 240px; background: var(--cool-grey); overflow: hidden; }
.fi-img img { width: 100%; height: 100%; object-fit: cover; }

.fi-content { padding: 1.75rem; }

.fi-tag { display: block; font-size: 0.7rem; font-weight: 700; color: var(--brand-teal); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.625rem; }

.fi-content h3 { font-size: 1.25rem; margin-bottom: 0.625rem; }
.fi-content p  { font-size: 0.875rem; color: var(--text-main); line-height: 1.6; }
.read-link     { display: inline-block; margin-top: 0.875rem; font-weight: 600; font-size: 0.875rem; color: var(--brand-teal); }
.read-link:hover { color: var(--brand-teal-hover); }

.insight-list { display: grid; gap: 1rem; }

.insight-card {
    background: var(--white);
    padding: 1.25rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s;
}

.insight-card:hover { box-shadow: var(--shadow-sm); color: inherit; }
.insight-card h4   { font-size: 0.875rem; margin-top: 0.375rem; line-height: 1.45; }

.insights-footer { margin-top: 0.5rem; }

/* ==========================================================================
   14 Final CTA
   ========================================================================== */
.cta-section { padding: var(--section-pad); }

.cta-content {
    background: var(--navy-deep);
    background-image: linear-gradient(135deg, rgba(5,44,92,0.95), rgba(25,164,146,0.14));
    padding: 4.5rem 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--white);
    border-top: 3px solid var(--brand-teal);
}

.cta-eyebrow { color: var(--brand-teal); }

.cta-content h2 {
    color: var(--white);
    font-size: clamp(1.625rem, 3.5vw, 2.5rem);
    max-width: 640px;
    margin: 0 auto 1.125rem;
}

.cta-content p {
    max-width: 560px;
    margin: 0 auto 2.25rem;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.78);
}

.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }

.cta-micro { font-size: 0.8rem !important; color: rgba(255,255,255,0.4) !important; }

/* ==========================================================================
   15 Contact
   ========================================================================== */
.contact-section { padding: var(--section-pad); }

.contact-section h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); margin-bottom: 2.5rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 60% 1fr;
    gap: 4rem;
    align-items: start;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.125rem; margin-bottom: 1.125rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group.full { margin-bottom: 1.125rem; }

label { font-weight: 500; font-size: 0.875rem; color: var(--navy-dark); }
.req  { color: #e53e3e; }

input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--navy-dark);
    transition: var(--transition);
    background: var(--white);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 3px rgba(25,164,146,0.12);
}

.checkbox-group { flex-direction: row !important; align-items: flex-start; gap: 0.5rem; margin-bottom: 1.25rem; }
.checkbox-group label { font-weight: 400; font-size: 0.8125rem; color: var(--text-main); margin: 0; }

.btn-submit { width: 100%; padding: 0.875rem; font-size: 0.9375rem; }

.form-success-msg {
    margin-top: 1rem;
    padding: 0.875rem 1.125rem;
    background: #e6fffa;
    color: #0f6b61;
    border-radius: var(--radius);
    border: 1px solid rgba(25,164,146,0.3);
    font-size: 0.875rem;
}

.calendar-card {
    background: var(--cool-grey);
    padding: 2rem;
    border-radius: var(--radius-lg);
    position: sticky;
    top: 80px;
    border-top: 3px solid var(--brand-teal);
}

.calendar-card h3 { font-size: 1.25rem; margin-bottom: 0.625rem; }
.calendar-card p  { font-size: 0.875rem; margin-bottom: 1.25rem; color: var(--text-main); }

.calendar-btn {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    background: var(--white);
    padding: 1.125rem 1.25rem;
    border-radius: var(--radius);
    border: 2px solid var(--brand-teal);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.calendar-btn:hover { background: var(--brand-teal); }
.calendar-btn:hover .cb-action { color: var(--white); }

.cb-title  { font-size: 0.7rem; font-weight: 700; color: var(--text-light); letter-spacing: 1px; }
.cb-action { font-family: var(--font-heading); font-size: 1rem; font-weight: 600; color: var(--navy-dark); transition: color 0.3s; }

.reassurance-box p { font-size: 0.8125rem; color: var(--text-main); margin-bottom: 0.25rem; line-height: 1.5; }

/* ==========================================================================
   16 Footer
   ========================================================================== */
.site-footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.62);
    padding: 4rem 0 1.75rem;
    border-top: 2px solid var(--brand-teal);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo { margin-bottom: 0.875rem; }
.footer-logo img { height: 30px; }
.logo-invert { filter: brightness(0) invert(1); }

.footer-logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--white);
}

.footer-tagline { font-size: 0.8125rem; margin-bottom: 1.25rem; line-height: 1.55; }

.social-links { display: flex; gap: 0.625rem; }
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    transition: background 0.2s;
}

.social-links a:hover { background: var(--brand-teal); }

.footer-col h4 {
    color: var(--white);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col li { margin-bottom: 0.5rem; }
.footer-col a  { color: rgba(255,255,255,0.55); font-size: 0.8rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-teal); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.legal-disclaimer { font-size: 0.7rem; color: rgba(255,255,255,0.3); max-width: 660px; line-height: 1.65; }
.copyright        { font-size: 0.75rem; color: rgba(255,255,255,0.38); }

/* ==========================================================================
   Responsive — Tablet ≤ 1024px
   ========================================================================== */
@media (max-width: 1024px) {
    .services-grid    { grid-template-columns: repeat(2, 1fr); }
    .methodology-grid { grid-template-columns: repeat(2, 1fr); }
    .adv-grid         { grid-template-columns: repeat(2, 1fr); }
    .quote-grid       { grid-template-columns: repeat(2, 1fr); }
    .insights-grid    { grid-template-columns: 1fr; }
    .compliance-container { grid-template-columns: 1fr; gap: 3rem; }
    .contact-grid     { grid-template-columns: 1fr; }
    .footer-grid      { grid-template-columns: 1fr 1fr 1fr 1fr; }
    .brand-col        { grid-column: 1 / -1; }

    .case-card, .case-card.reverse { grid-template-columns: 1fr; direction: ltr; }
    .case-img-wrap { min-height: 260px; }
    .case-content  { padding: 2.25rem; }

    .industry-grid { grid-template-columns: repeat(2, 1fr); }

    .primary-nav .nav-list { gap: 1.25rem; }
}

/* ==========================================================================
   Responsive — Mobile ≤ 768px
   NOTE: NO font-size change on :root here. Changing the rem base inside a
   media query cascades unpredictably across all rem-valued properties and
   can cause elements to render at unexpected sizes. All mobile font sizing
   is handled explicitly on individual elements below.
   ========================================================================== */
@media (max-width: 768px) {
    /* Override section padding variable for mobile */
    :root { --section-pad: var(--section-pad-mobile); }

    /* ---- Header ---- */
    .site-header { height: 56px; background: rgba(5, 28, 58, 0.96); }
    .mobile-menu-btn { display: flex; }
    .header-action   { display: none; }

    /* ================================================================
       Mobile Nav — Compact dropdown card suspended directly from header.
       Entire menu (all 5 links + CTA button) fits in ~280px height.
       Zero scrolling required. Zero cutoff by mobile browser toolbars.
       ================================================================ */
    .primary-nav {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        max-height: calc(100dvh - 56px);
        background: rgba(5, 24, 51, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(25, 164, 146, 0.35);
        box-shadow: 0 24px 48px -8px rgba(0, 0, 0, 0.85);
        padding: 0.75rem 1.25rem 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 0.625rem;
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, visibility 0.2s ease;
        z-index: 9999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .primary-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .primary-nav .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
        width: 100%;
    }

    .primary-nav .nav-list > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .primary-nav .nav-list > li > a {
        padding: 0.625rem 0;
        font-size: 0.9375rem;
        width: 100%;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
        letter-spacing: 0.2px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .primary-nav .nav-list > li > a:hover { color: var(--brand-teal); }
    .primary-nav .nav-list > li:last-child { border-bottom: none; }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        transform: none;
        padding: 0.25rem 0 0.5rem 0.75rem;
        display: none;
        min-width: unset;
        background: transparent;
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.8125rem;
        padding: 0.25rem 0;
        display: block;
    }
    .dropdown-menu a:hover { background: transparent; color: var(--brand-teal); }
    .has-dropdown.active .dropdown-menu { display: block; }

    .mobile-nav-cta {
        display: block;
        padding-top: 0.5rem;
        margin-top: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        width: 100%;
    }
    .mobile-nav-cta .btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        font-weight: 600;
        box-shadow: 0 4px 14px rgba(25, 164, 146, 0.35);
    }

    /* ---- 02 Hero (Mobile Editorial Layout) ---- */
    .hero-section {
        padding-top: 80px;
        padding-bottom: 2.25rem;
        align-items: flex-start;
        min-height: auto;
    }

    .hero-content-wrap { gap: 1.25rem; }

    /* Refined live-status badge eyebrow */
    .hero-content .eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.62rem;
        font-weight: 600;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: #5eead4;
        background: rgba(25, 164, 146, 0.12);
        border: 1px solid rgba(25, 164, 146, 0.3);
        padding: 0.25rem 0.7rem;
        border-radius: 100px;
        margin-bottom: 0.75rem;
    }
    .hero-content .eyebrow::before {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--brand-teal);
        box-shadow: 0 0 8px var(--brand-teal);
    }

    /* Striking, oversized, editorial headline */
    .hero-content h1 {
        font-size: clamp(2.35rem, 8.8vw, 2.95rem);
        line-height: 1.05;
        letter-spacing: -0.035em;
        font-weight: 800;
        margin-bottom: 0.875rem;
        max-width: 100%;
        text-wrap: balance;
    }
    .hero-content h1 span:first-child {
        color: #ffffff;
        display: block;
    }
    .hero-content h1 span:last-child {
        display: block;
        background: linear-gradient(135deg, #ffffff 25%, #5eead4 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }

    /* Secondary subtext gracefully reduced */
    .hero-body {
        font-size: 0.785rem;
        line-height: 1.55;
        color: rgba(255, 255, 255, 0.68);
        margin-bottom: 1.125rem;
        max-width: 95%;
    }

    /* Side-by-side action buttons — zero vertical waste */
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-bottom: 0.875rem;
    }
    .hero-actions .btn {
        width: 100%;
        text-align: center;
        padding: 0.7rem 0.5rem;
        font-size: 0.78rem;
        font-weight: 600;
        border-radius: var(--radius);
        white-space: nowrap;
    }
    .hero-actions .btn-primary {
        background: linear-gradient(135deg, var(--brand-teal) 0%, #128072 100%);
        border: none;
        color: #ffffff;
        box-shadow: 0 4px 14px rgba(25, 164, 146, 0.35);
    }
    .hero-actions .btn-hero-ghost {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.16);
        color: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(8px);
    }

    .hero-microcopy {
        font-size: 0.625rem;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.45);
        margin-top: 0;
        margin-bottom: 0.75rem;
        letter-spacing: 0.2px;
    }

    /* 6 Tags symmetrically locked into an exact 2x3 grid — ZERO orphan elements */
    .hero-tags {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.35rem;
        width: 100%;
    }
    .hero-tags .tag {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 0.6rem;
        font-weight: 500;
        padding: 0.32rem 0.2rem;
        background: rgba(25, 164, 146, 0.08);
        border: 1px solid rgba(25, 164, 146, 0.22);
        color: rgba(126, 232, 220, 0.9);
        border-radius: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Balanced 2x2 frosted-glass data metrics */
    .hero-metrics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-top: 0.25rem;
    }

    .metric-chip {
        min-width: 0;
        padding: 0.65rem 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
    }
    .chip-value {
        font-size: 1.25rem;
        font-weight: 700;
        color: #ffffff;
        line-height: 1.1;
        font-family: var(--font-heading);
    }
    .chip-label {
        font-size: 0.625rem;
        color: rgba(255, 255, 255, 0.62);
        font-weight: 500;
        letter-spacing: 0.3px;
        text-transform: uppercase;
    }

    /* ---- Trust bar ---- */
    .trust-bar-section { padding: 1.5rem 0; }
    .trust-label { margin-bottom: 1rem; font-size: 0.7rem; }

    /* ---- Section headers ---- */
    .section-header        { margin-bottom: 2rem; }
    .section-header.center { margin-bottom: 2rem; }
    .section-header h2     { font-size: 1.5rem; }
    .section-header .intro { font-size: 0.875rem; }

    /* ---- Problem ---- */
    .problem-content { grid-template-columns: 1fr; gap: 1.5rem; }
    .problem-header h2 { font-size: 1.5rem; }
    .problem-header { margin-bottom: 1.75rem; }
    .problem-text p { font-size: 0.875rem; }

    /* ---- Services ---- */
    .services-grid { grid-template-columns: 1fr; gap: 1rem; }
    .service-card  { padding: 1.25rem; }
    .service-card h3 { font-size: 1rem; }
    .short-desc      { font-size: 0.8rem; margin-bottom: 0.875rem; }
    .service-card li { font-size: 0.775rem; margin-bottom: 0.4rem; }
    .outcome-line    { font-size: 0.775rem; padding-top: 0.875rem; }
    .service-icon-wrap { width: 36px; height: 36px; margin-bottom: 1rem; }

    /* Constrain decorative SVG strictly on mobile so it cannot cause viewport blowout */
    .services-decorative-bg {
        top: 15%;
        right: -10%;
        transform: none;
        height: auto;
        width: 220px;
        max-width: 60vw;
        max-height: 240px;
        opacity: 0.08;
    }

    /* ---- Metrics table container safety ---- */
    .metrics-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
    }

    /* ---- Industries ---- */
    .industry-grid  { grid-template-columns: 1fr; border-left: 1px solid var(--border-light); }
    .industry-item  { padding: 1.25rem 1rem; }
    .industry-item h3 { font-size: 1rem; }
    .industry-item p  { font-size: 0.8125rem; margin-bottom: 0.625rem; }

    /* ---- Methodology ---- */
    .methodology-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .method-card      { padding: 1.125rem; }
    .method-step      { font-size: 1.375rem; }
    .method-card h4   { font-size: 0.8125rem; margin-bottom: 0.75rem; }
    .method-card li   { font-size: 0.75rem; margin-bottom: 0.35rem; }

    /* ---- Metrics table ---- */
    .metrics-table-container { -webkit-overflow-scrolling: touch; }
    .metrics-table { font-size: 0.75rem; min-width: 520px; }
    .metrics-table th, .metrics-table td { padding: 0.75rem 0.625rem; }

    /* ---- Case studies ---- */
    .case-card, .case-card.reverse { grid-template-columns: 1fr; direction: ltr; }
    .case-img-wrap { min-height: 190px; max-height: 220px; }
    .case-content  { padding: 1.375rem; }
    .case-content h3 { font-size: 1.0625rem; }
    .case-content p  { font-size: 0.8125rem; }
    .case-stats    { grid-template-columns: 1fr 1fr; gap: 0.75rem; padding: 1rem 0; margin: 1rem 0; }
    .stat-number   { font-size: 1.375rem; }
    .stat-desc     { font-size: 0.7rem; }
    .case-grid     { gap: 1.5rem; }

    /* ---- Why Ridge Yield ---- */
    .adv-grid { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
    .adv-card h4 { font-size: 1rem; }
    .adv-card p  { font-size: 0.875rem; }
    .stats-bar .stat-bar-items { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .divider { width: 100%; height: 1px; }
    .stat-bar-items > span:not(.divider) { font-size: 0.8125rem; }

    /* ---- Compliance ---- */
    .compliance-container { grid-template-columns: 1fr; gap: 1.75rem; }
    .comp-text h2 { font-size: 1.5rem; }
    .comp-text p  { font-size: 0.875rem; }
    .comp-list li { font-size: 0.8125rem; }

    /* ---- Quotes ---- */
    .quote-grid { grid-template-columns: 1fr; gap: 1rem; }
    .quote-card { padding: 1.25rem; }
    .quote-text { font-size: 0.8125rem; line-height: 1.65; margin-bottom: 1rem; }

    /* ---- Insights ---- */
    .insights-grid { grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
    .insight-list  { gap: 0.875rem; }
    .insight-card  { padding: 1rem; }
    .insight-card h4 { font-size: 0.8125rem; }
    .fi-img        { height: 180px; }
    .fi-content    { padding: 1.25rem; }
    .fi-content h3 { font-size: 1.0625rem; }

    /* ---- CTA ---- */
    .cta-content  { padding: 2.5rem 1.25rem; }
    .cta-content h2 { font-size: 1.5rem; }
    .cta-actions  { flex-direction: column; }
    .cta-actions .btn { width: 100%; text-align: center; }

    /* ---- Contact ---- */
    .form-row     { grid-template-columns: 1fr; gap: 0; }
    .contact-grid { grid-template-columns: 1fr; }
    .calendar-card { position: static; padding: 1.5rem; }
    .contact-section h2 { font-size: 1.5rem; margin-bottom: 1.75rem; }

    /* ---- Footer: compact 2-column grid, brand row spans full width ---- */
    .site-footer  { padding: 2.5rem 0 1.25rem; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1.25rem;
        margin-bottom: 2rem;
    }

    /* Brand column: logo + tagline + social in one horizontal row */
    .brand-col {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 0.75rem 1.5rem;
    }

    .footer-tagline { font-size: 0.75rem; margin-bottom: 0; flex-basis: 100%; }

    .footer-col h4 { font-size: 0.65rem; margin-bottom: 0.625rem; }
    .footer-col li { margin-bottom: 0.375rem; }
    .footer-col a  { font-size: 0.75rem; }

    .footer-bottom { padding-top: 1.25rem; }
    .legal-disclaimer { font-size: 0.65rem; line-height: 1.6; }
    .copyright        { font-size: 0.7rem; }
}

/* ==========================================================================
   Responsive — Small Mobile ≤ 480px
   ========================================================================== */
@media (max-width: 480px) {
    .container { padding: 0 1rem; }

    .hero-content h1 { font-size: 1.625rem; }

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

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
}
