/* ============================================================================
   Home page — styles specific to this page only.
   Shared pieces live in components/: cards, stat-strip, process-steps,
   feature-grid, client-logos.
   ========================================================================== */

/* ---------------------------------------------------------------- hero */
.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: clamp(560px, 82vh, 860px);
    padding-block: var(--s-10);
    background: var(--ink-900);
    color: var(--c-white);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Gradient is angled so the headline side stays dark whatever photo is
   dropped into uploads/hero/. */
.hero--image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(34, 34, 35, .94) 0%,
        rgba(34, 34, 35, .78) 45%,
        rgba(34, 34, 35, .42) 100%);
    z-index: -1;
}

/*
 * This element carries .container as well, so it must NOT set its own
 * max-width — that would shrink the container and centre it, pushing the hero
 * copy inward and out of line with the logo and every other page section.
 * The text is constrained on the individual children instead.
 */
.hero__inner { position: relative; }

.hero__eyebrow { color: var(--gold-300); }

/* No max-width: the headline already carries its own <br>, so capping the
   width only forces a second, unwanted break. It wraps naturally on narrow
   screens because the font size is fluid. */
.hero__title {
    margin-top: var(--s-4);
    font-size: var(--fs-4xl);
    font-weight: 800;
    line-height: var(--lh-tight);
    color: var(--c-white);
}

.hero__text {
    max-width: 56ch;
    margin-top: var(--s-5);
    font-size: var(--fs-md);
    color: var(--ink-300);
}

.hero__actions { margin-top: var(--s-7); }

/* Outline button needs the inverted palette on the dark hero. */
.hero__btn-alt { color: var(--c-white); border-color: rgba(255, 255, 255, .35); }
.hero__btn-alt:hover { color: var(--c-gold); border-color: var(--c-gold); }

/* Quality · Vision · Growth — the three pillars from the company profile. */
.hero__pillars {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-5) var(--s-7);
    margin-top: var(--s-9);
    padding-top: var(--s-6);
    border-top: 1px solid var(--border-dark);
}
.hero__pillars li {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    font-family: var(--font-display);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--c-white);
}
.hero__pillars li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--c-gold);
    transform: rotate(45deg);
}

@media (max-width: 767px) {
    .hero { min-height: auto; padding-block: var(--s-9); }
    .hero__actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------- about */
.home-about__inner {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
    gap: var(--s-9);
}

.home-about__text {
    margin-top: var(--s-5);
    color: var(--text-muted);
}

.home-about__cta { margin-top: var(--s-7); }

/*
 * The feature grid defaults to four across, which is right at full width but
 * far too narrow inside this two-column section — four tiles in ~650px leaves
 * about 100px of text each, wrapping to two words a line. Two-by-two gives
 * each tile a readable measure.
 */
.home-about__features .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-4);
}

@media (max-width: 1023px) {
    .home-about__inner { grid-template-columns: 1fr; gap: var(--s-8); }
}
@media (max-width: 559px) {
    .home-about__features .features { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- services */
.home-services__grid { margin-top: var(--s-9); }

/* ---------------------------------------------------------------- projects */
.home-projects__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--s-5);
}

.home-projects__grid { margin-top: var(--s-9); }

/* ---------------------------------------------------------------- process */
.home-process__grid { margin-top: var(--s-9); }

/* ---------------------------------------------------------------- clients */
.home-clients__row { margin-top: var(--s-9); }
