/*
 * Atinamos 2027 refinement pass
 * Keeps the approved direction while removing template-like styling,
 * oversized type and the text-on-text hero collision.
 */

/* Calmer overall scale */
.home-2027 section {
    padding-top: clamp(3.25rem, 5vw, 5.25rem);
    padding-bottom: clamp(3.25rem, 5vw, 5.25rem);
}

.home-2027 h1,
.home-2027 h2,
.home-2027 h3 {
    letter-spacing: -0.025em;
}

.home-2027 .section-tag {
    letter-spacing: 0.08em;
    font-size: 0.74rem;
}

/* Hero: copy and photography occupy separate halves.
   The source image contains legacy artwork on its left side, so the photo is
   cropped hard to the clean right-hand portion rather than sitting under copy. */
.hero-2027 {
    display: block;
    min-height: 500px;
    background: #ffffff;
}

.hero-shade-2027 {
    display: none;
}

.hero-visual-2027 {
    inset: 0 0 0 50%;
    z-index: -1;
    overflow: hidden;
    background: #dbe7e5;
}

.hero-visual-2027 img {
    object-position: right center;
    transform: scale(1.7);
    transform-origin: right center;
}

.hero-2027-inner {
    display: flex;
    align-items: center;
    min-height: 500px;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.hero-copy-2027 {
    width: 50%;
    max-width: 720px;
    padding-right: clamp(1.5rem, 3vw, 3rem);
}

.hero-eyebrow {
    margin-bottom: 1rem;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
}

.hero-2027 h1 {
    max-width: 720px;
    font-size: clamp(2.45rem, 3.25vw, 3.55rem);
    line-height: 1.04;
}

.hero-lead {
    max-width: 580px;
    margin-top: 1.2rem;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.5;
}

.hero-location {
    margin-top: 0.8rem;
    font-size: 0.9rem;
}

.hero-actions-2027 {
    margin-top: 1.45rem;
}

.home-2027 .btn {
    min-height: 46px;
    padding-inline: 1.15rem;
}

/* Capability and partner bands stay compact. */
.capability-item {
    gap: 0.75rem;
    padding-top: 1.05rem;
    padding-bottom: 1.05rem;
}

.capability-item > svg {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
}

.capability-item strong {
    font-size: 0.9rem;
}

.capability-item .capability-copy > span {
    font-size: 0.74rem;
}

.platform-strip-inner {
    min-height: 96px;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
}

.platform-intro,
.platform-name {
    font-size: 0.9rem;
}

.platform-fasthosts img {
    width: 135px;
}

/* Fix / Adapt / Build: keep the idea, lose the billboard scale. */
.fab-intro {
    margin-bottom: 2.25rem;
}

.fab-intro h2 {
    max-width: 760px;
    font-size: clamp(2rem, 3.5vw, 3.15rem);
    line-height: 1.08;
}

.fab-intro p {
    font-size: 1rem;
}

.fab-item {
    padding: 1.75rem 0;
}

.fab-word {
    font-size: clamp(2rem, 3.4vw, 3.1rem);
    line-height: 1;
}

.fab-copy h3 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.fab-copy p,
.fab-examples {
    font-size: 0.96rem;
}

/* Name definition */
.definition-card {
    max-width: 820px;
}

.definition-brandline strong {
    font-size: clamp(2.25rem, 3.6vw, 3.25rem);
}

.definition-card p {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
}

/* Work: no sequence numbers, no decorative arrows, less theatrical sizing. */
.work-2027 .section-header {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.work-2027 .section-header h2 {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    line-height: 1.1;
}

.work-list-2027 {
    margin-top: 1.5rem;
}

.work-row-2027 {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 1.5rem 0;
}

.work-number,
.work-arrow {
    display: none;
}

.work-copy-2027 h3 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.work-copy-2027 p {
    max-width: 760px;
    font-size: 0.98rem;
}

.work-link {
    width: max-content;
    color: #d8e3eb;
    font-size: 0.88rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.work-more {
    margin-top: 1.5rem;
}

/* Technology list: plain text instead of rounded pills. */
.tech-list {
    gap: 0;
    margin-top: 1.2rem;
    border-top: 1px solid var(--a27-line);
    border-bottom: 1px solid var(--a27-line);
}

.tech-pill {
    position: relative;
    padding: 0.8rem 1rem 0.8rem 0;
    margin-right: 1rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.9rem;
}

.tech-pill:not(:last-child)::after {
    content: '/';
    margin-left: 1rem;
    color: #a3adb8;
}

.partner-card {
    border-radius: 2px;
}

/* Remaining major headings use a conventional editorial scale. */
.labs-copy h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.08;
}

.labs-copy p,
.insights-heading-row p,
.about-2027 p {
    font-size: 1rem;
}

.insights-heading-row h2 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.1;
}

.insight-topics strong {
    font-size: 1.05rem;
}

.about-2027 h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.08;
}

.cta-2027 h2 {
    max-width: 760px;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.05;
}

.cta-2027 p {
    font-size: 1rem;
}

@media (min-width: 620px) {
    .work-row-2027 {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .work-link {
        justify-self: end;
    }
}

@media (min-width: 900px) {
    .fab-item {
        grid-template-columns: 0.42fr 1.58fr;
        gap: 3rem;
        padding: 2rem 0;
    }
}

@media (max-width: 800px) {
    .hero-2027 {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .hero-2027-inner {
        order: 1;
        min-height: 0;
        padding-top: 2.6rem;
        padding-bottom: 2.5rem;
    }

    .hero-copy-2027 {
        width: 100%;
        max-width: 640px;
        padding-right: 0;
    }

    .hero-2027 h1 {
        font-size: clamp(2.35rem, 9vw, 3.25rem);
    }

    .hero-visual-2027 {
        position: relative;
        order: 2;
        inset: auto;
        width: 100%;
        height: clamp(240px, 58vw, 340px);
        z-index: 0;
    }

    .hero-visual-2027 img {
        transform: scale(1.65);
        transform-origin: right center;
    }

    .hero-lead {
        max-width: 100%;
    }
}
