/* Hero Section */
.hero {
    height: 100vh;
    /* Fallback */
    height: 100dvh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.15;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-body) 90%);
}

.hero-content {
    max-width: 900px;
    padding-left: var(--spacing-md);
    z-index: 10;
    position: relative;
}

.hero-subtitle {
    display: block;
    color: var(--accent-primary);
    font-family: var(--font-heading);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    overflow: hidden;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.95;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.hero-title span {
    display: block;
    overflow: hidden;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-image {
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    height: 750px;
    overflow: hidden;
}

.about-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image-wrapper:hover .about-main-image {
    transform: scale(1.05);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(158, 124, 47, 0.2) 0%, transparent 50%, rgba(11, 11, 11, 0.8) 100%);
    pointer-events: none;
}

.about-image-border {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--accent-primary);
    z-index: -1;
    transition: all 0.4s ease;
}

.about-image-wrapper:hover .about-image-border {
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
}

/* About Shapes & Animations */
.about-shape {
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

.shape-circle {
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border: 2px dashed var(--accent-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: rotateCircle 20s linear infinite;
}

.shape-dots {
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(var(--accent-primary) 1px, transparent 1px);
    background-size: 8px 8px;
    opacity: 0.4;
    animation: floatDots 4s ease-in-out infinite;
}

@keyframes rotateCircle {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatDots {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.trust-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    padding: 15px 25px;
    background: rgba(11, 11, 11, 0.70);
    border: 1px solid var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 5;
}

.badge-icon {
    font-size: 2rem;
    color: var(--accent-primary);
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--raw-white);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.badge-subtitle {
    font-size: 0.7rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

/* Services Section */
#services {
    background-color: var(--bg-body);
    position: relative;
}

#services::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    /* Radial gradient gives the same soft glow as a 200px blur filter at a fraction of the paint cost */
    background: radial-gradient(closest-side, var(--accent-primary), transparent);
    opacity: 0.06;
    z-index: -1;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

/* Tech Section */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.tech-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    padding: var(--spacing-md);
    transition: transform 0.5s var(--ease-out, ease), box-shadow 0.5s ease, border-color 0.5s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 1;
}

/* Default Shape Container */
.tech-card::before {
    content: '';
    position: absolute;
    opacity: 0.1;
    transition: all 0.5s ease;
    z-index: -1;
}

/* 1. Frontend: Rotating Dashed Circle */
.tech-card:nth-child(1)::before {
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border: 2px dashed var(--border-light);
    border-radius: 50%;
}

.tech-card:nth-child(1):hover::before {
    border-color: var(--footer-bg);
    opacity: 0.2;
    transform: rotate(180deg) scale(1.2);
}

/* 2. Backend: Square Grid */
.tech-card:nth-child(2)::before {
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(var(--border-light) 1px, transparent 1px);
    background-size: 10px 10px;
}

.tech-card:nth-child(2):hover::before {
    background-image: radial-gradient(var(--footer-bg) 1px, transparent 1px);
    opacity: 0.2;
    transform: scale(1.5) rotate(45deg);
}

/* 3. Cloud: Geometric Octagon */
.tech-card:nth-child(3)::before {
    top: -20px;
    left: -20px;
    width: 90px;
    height: 90px;
    background: var(--border-light);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    opacity: 0.1;
}

.tech-card:nth-child(3):hover::before {
    background: var(--footer-bg);
    opacity: 0.15;
    transform: rotate(45deg) scale(1.2);
}

/* 4. AI: Solid Sphere (Quarter Visible) */
.tech-card:nth-child(4)::before {
    top: -40px;
    right: -40px;
    width: 100px;
    height: 100px;
    background: var(--border-light);
    border-radius: 50%;
    opacity: 0.15;
}

.tech-card:nth-child(4):hover::before {
    background: var(--footer-bg);
    opacity: 0.2;
    transform: scale(1.6);
    /* Expands significantly to show 'more' */
}

.tech-card:hover {
    border-color: rgba(200, 162, 74, 0.45);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

/* Icons: Phosphor Light (MIT, phosphoricons.com), inlined; sized by font-size */
.ph-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.14em;
    fill: currentColor;
    flex-shrink: 0;
}

.tech-icon .ph-icon,
.advantage-icon .ph-icon {
    display: block;
}

.tech-icon {
    display: flex;
    justify-content: center;
    font-size: 2.75rem;
    margin-bottom: var(--spacing-md);
    color: var(--accent-primary);
    transition: color 0.3s ease, transform 0.5s var(--ease-out, ease);
}

.tech-card:hover .tech-icon {
    color: var(--footer-bg);
    /* Footer Color */
    filter: none;
    transform: translateY(-3px);
}

.tech-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
    color: var(--text-main);
}

.tech-card p {
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.tech-badge-group {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-badge {
    padding: 0.4rem 0.8rem;
    background: rgba(26, 38, 25, 0.08);
    /* Footer BG tint */
    border: 1px solid rgba(26, 38, 25, 0.2);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--footer-bg);
    transition: all 0.2s ease;
}

.tech-badge:hover {
    background: var(--footer-bg);
    color: var(--raw-white);
    transform: translateY(-2px);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

/* Contact Section */
.contact-section {
    text-align: center;
    background: linear-gradient(135deg, var(--raw-green) 0%, #1a2619 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.contact-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(158, 124, 47, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-section h2,
.contact-section p {
    color: var(--raw-white);
}

.contact-section>.container>.text-gold {
    color: var(--accent-primary);
}

.contact-section>.container>p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: var(--spacing-lg) auto 0;
    text-align: left;
}

/* Track Record & Network */
.partners-section {
    background-color: var(--bg-surface);
}

.partners-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.partners-head h2 {
    font-size: 3rem;
    margin: 0.5rem 0 1rem;
}

.partners-head p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.partner-group + .partner-group {
    margin-top: 3.5rem;
}

.partner-group-head {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.partner-index {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--accent-primary);
}

.partner-group-head h3 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.partner-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.partner-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 2.25rem 1.5rem 1.5rem;
    background-color: var(--raw-white);
    border: 1px solid var(--border-light);
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    outline: none;
}

/* Gold rule that draws in along the top edge on hover */
.partner-tile::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 2px;
    background: var(--raw-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Logo: the real image is always shown (no mask layer that could fail and hide
   it), muted to greyscale at rest and back to full colour on hover */
.partner-logo {
    position: relative;
    display: block;
    width: 100%;
    height: 72px;
}

/* Bold, text-only wordmarks read heavier than emblem logos: give them less height */
@media (min-width: 601px) {
    .partner-logo--wordmark {
        padding: 10px 6%;
    }
}

.partner-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.62;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    transition: opacity 0.45s ease, -webkit-filter 0.45s ease, filter 0.45s ease;
}

.partner-name {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    color: var(--text-muted);
    transition: color 0.4s ease;
}

.partner-tile:hover {
    border-color: rgba(200, 162, 74, 0.45);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.partner-tile:focus-visible {
    border-color: rgba(200, 162, 74, 0.45);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.partner-tile:hover::before {
    transform: scaleX(1);
}

.partner-tile:focus-visible::before {
    transform: scaleX(1);
}

.partner-tile:hover .partner-logo img {
    opacity: 1;
    -webkit-filter: none;
    filter: none;
}

.partner-tile:focus-visible .partner-logo img {
    opacity: 1;
    -webkit-filter: none;
    filter: none;
}

.partner-tile:hover .partner-name {
    color: var(--accent-primary);
}

.partner-tile:focus-visible .partner-name {
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .partners-head h2 {
        font-size: 2.2rem;
    }

    .partner-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .partner-tile {
        padding: 1.5rem 0.75rem 1rem;
        gap: 0.9rem;
    }

    .partner-logo {
        height: 44px;
    }

    .partner-name {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
}

.form-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    padding: 0.9rem 1.2rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e0796b;
    background: rgba(224, 121, 107, 0.12);
    color: var(--raw-white);
    font-size: 0.95rem;
    text-align: left;
}

.form-consent {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.form-consent input {
    margin-top: 0.3rem;
    accent-color: var(--accent-primary);
}

.cf-turnstile {
    margin-bottom: 1.5rem;
    min-height: 65px;
}

.form-group {
    margin-bottom: var(--spacing-md);
    position: relative;
}

.form-control {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--raw-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(158, 124, 47, 0.2),
        inset 0 0 20px rgba(158, 124, 47, 0.05);
    transform: translateY(-3px);
}

.form-control:focus::placeholder {
    color: rgba(255, 255, 255, 0.3);
    transform: translateX(10px);
}

.form-control:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

/* Animated corner accents */
.form-group::before,
.form-group::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-color: var(--accent-primary);
    opacity: 0;
    transition: all 0.3s ease;
}

.form-group::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid;
    border-left: 2px solid;
}

.form-group::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid;
    border-right: 2px solid;
}

.form-group:focus-within::before,
.form-group:focus-within::after {
    opacity: 1;
}

/* Textarea specific */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Submit button in contact */
.contact-form .btn-primary {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--raw-black);
}

.contact-form .btn-primary:hover {
    background: var(--raw-white);
    border-color: var(--raw-white);
    color: var(--raw-green);
}

/* The sliding fill must match the white hover background, or it paints green
   behind the green text */
.contact-form .btn-primary::before,
.contact-form .btn-primary:hover::before {
    background-color: var(--raw-white);
}

/* Minimal will-change for better performance */
.hero-bg {
    will-change: transform;
}

@media (max-width: 768px) {

    .about-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
        word-wrap: break-word;
        /* Ensure long words break if needed */
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}
/* ═════════════════════════════════════════════════════════
   UMBRELLA COMPANY LAYOUT (home page)
   ═════════════════════════════════════════════════════════ */

/* Dark hero */
.hero-dark {
    background: radial-gradient(ellipse at 30% 40%, #1d2a1c 0%, #111611 45%, var(--raw-black) 100%);
    color: var(--raw-white);
}

.hero-dark .hero-bg {
    display: none;
}

.hero-dark .hero-title {
    color: var(--raw-white);
}

.hero-dark .hero-title .text-gold,
.hero-dark .hero-subtitle {
    color: var(--raw-gold);
}

.hero-lead {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2.25rem;
}

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

.btn-light {
    color: var(--raw-white);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-light::before,
.btn-light:hover::before {
    background-color: var(--raw-gold);
}

.btn-light:hover {
    color: var(--raw-black);
    border-color: var(--raw-gold);
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    width: 24px;
    height: 40px;
    margin-left: -12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    z-index: 10;
}

.hero-scroll span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 2px;
    height: 8px;
    margin-left: -1px;
    border-radius: 1px;
    background: var(--raw-gold);
    animation: heroScroll 1.8s ease-in-out infinite;
}

@keyframes heroScroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    70% {
        transform: translateY(14px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Light header while it sits on the dark hero */
.has-dark-hero .main-header:not(.scrolled) .logo-text {
    color: var(--raw-white);
}

.has-dark-hero .main-header:not(.scrolled) .mobile-menu-btn:not(.active) {
    color: var(--raw-white);
}

@media (min-width: 969px) {
    .has-dark-hero .main-header:not(.scrolled) .nav-link {
        color: rgba(255, 255, 255, 0.85);
    }

    .has-dark-hero .main-header:not(.scrolled) .nav-link:hover,
    .has-dark-hero .main-header:not(.scrolled) .nav-link.nav-cta {
        color: var(--raw-gold);
    }

    .has-dark-hero .main-header:not(.scrolled) .nav-link.nav-cta {
        border-color: var(--raw-gold);
    }

    .has-dark-hero .main-header:not(.scrolled) .nav-link.nav-cta:hover {
        background-color: var(--raw-gold);
        color: var(--raw-black);
    }
}

/* Shared section heading */
.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-head .uppercase {
    letter-spacing: 2px;
}

.section-head h2 {
    font-size: 3rem;
    margin: 0.5rem 0 1rem;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-head + .tech-grid {
    margin-top: 0;
}

/* Advantages: open grid instead of an accordion */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--border-light);
    border-left: 1px solid var(--border-light);
}

.advantage-item {
    position: relative;
    padding: 2rem 1.5rem 2.25rem;
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    transition: background-color 0.4s ease;
}

.advantage-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: var(--raw-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.advantage-item:hover {
    background-color: var(--bg-surface);
}

.advantage-item:hover::after {
    transform: scaleX(1);
}

.advantage-num {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--raw-gray);
}

.advantage-icon {
    display: block;
    margin-bottom: 1.25rem;
    font-size: 1.9rem;
    color: var(--accent-primary);
}

.advantage-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.advantage-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .advantage-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .section-head h2 {
        font-size: 2.2rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .hero-scroll {
        display: none;
    }

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


/* About (home): "Look closer. Build further." */
.about-title {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.05;
    margin: 1rem 0 1.75rem;
}

.about-text p.about-lead {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-main);
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.about-method {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 0 2.25rem;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--border-light);
}

.about-method li {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 1rem 0 0;
}

.about-method li + li {
    padding-left: 1rem;
    border-left: 1px solid var(--border-light);
}

.about-method-num {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--accent-primary);
}

.about-method strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-method li > span:last-child {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
}

@media (min-width: 969px) {
    #about .about-image-wrapper {
        height: 640px;
    }
}

@media (max-width: 600px) {
    .about-method {
        grid-template-columns: 1fr;
    }

    .about-method li,
    .about-method li + li {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 0.25rem 0.75rem;
        padding: 0.9rem 0;
        border-left: 0;
        border-bottom: 1px solid var(--border-light);
    }

    .about-method li > span:last-child {
        flex-basis: 100%;
    }
}

/* ═════════════════════════════════════════════════════════
   COMPACT CARDS ON PHONES
   Icons sit beside the text instead of stacking above it, so each
   card is shorter and reads left-to-right like a list.
   ═════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
    /* What We Do */
    .tech-grid {
        gap: 0.75rem;
    }

    .tech-card {
        display: grid;
        grid-template-columns: 2.25rem 1fr;
        column-gap: 1rem;
        padding: 1.25rem;
        text-align: left;
    }

    .tech-card > * {
        grid-column: 2;
    }

    .tech-card .tech-icon {
        grid-column: 1;
        grid-row: 1 / span 3;
        margin: 0.15rem 0 0;
        font-size: 1.6rem;
    }

    .tech-card h3 {
        font-size: 1.05rem;
        margin-bottom: 0.4rem;
    }

    .tech-card p {
        font-size: 0.92rem;
        margin-bottom: 0.75rem;
    }

    .tech-card .tech-badge-group {
        justify-content: flex-start;
        gap: 0.35rem;
    }

        /* Advantages */
    .advantage-item {
        display: grid;
        grid-template-columns: 1.75rem 1fr;
        column-gap: 0.9rem;
        padding: 1.15rem 1.25rem;
    }

    .advantage-item > * {
        grid-column: 2;
    }

    .advantage-icon {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin: 0.15rem 0 0;
        font-size: 1.2rem;
    }

    .advantage-num {
        top: 1.15rem;
        right: 1.25rem;
        font-size: 0.7rem;
    }

    .advantage-item h3 {
        font-size: 1rem;
        margin-bottom: 0.35rem;
    }

    .advantage-item p {
        font-size: 0.92rem;
    }
}
