/* MORNET V2 - SERVICES HUB PAGE */
#mornet-hub {
    display: block;
    width: 100%;
}
#mornet-hub * {
    box-sizing: border-box;
}

/* CONTAINER */
#mornet-hub .hub-container {
    width: min(1280px, calc(100% - 80px));
    margin-inline: auto;
}

/* TYPOGRAPHY */
#mornet-hub .hub-h1 {
    font-size: clamp(46px, 4vw, 62px);
    line-height: 1.02;
    font-weight: 800;
    color: #111;
    letter-spacing: -.03em;
    margin: 0 0 24px;
}
#mornet-hub .hub-h2 {
    font-size: clamp(34px, 3vw, 46px);
    line-height: 1.05;
    font-weight: 800;
    color: #111;
    letter-spacing: -.03em;
    margin: 0 0 24px;
}
#mornet-hub .hub-h3 {
    font-size: clamp(21px, 2.2vw, 24px);
    font-weight: 700;
    color: #111;
    margin: 0 0 16px;
    letter-spacing: -.02em;
}
#mornet-hub .hub-body-large {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}
#mornet-hub .hub-body {
    font-size: 17px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}
#mornet-hub .hub-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    display: block;
    margin-bottom: 16px;
}

/* BACKGROUNDS */
#mornet-hub .bg-white { background: #FFFFFF; }
#mornet-hub .bg-offwhite { background: #F8F9FA; }
#mornet-hub .bg-black { background: #111111; color: #FFF; }
#mornet-hub .bg-yellow { background: #FFC800; }

#mornet-hub .bg-black .hub-h1,
#mornet-hub .bg-black .hub-h2,
#mornet-hub .bg-black .hub-h3 { color: #FFF; }
#mornet-hub .bg-black .hub-body,
#mornet-hub .bg-black .hub-body-large { color: rgba(255,255,255,0.7); }
#mornet-hub .bg-black .hub-label { color: rgba(255,255,255,0.5); }

/* SPACING */
#mornet-hub section { padding: 72px 0; }
#mornet-hub .section-hero { padding: 90px 0 80px; }
#mornet-hub .section-black { padding: 64px 0; }
#mornet-hub .section-cta { padding: 60px 0; }


/* 3 CORE AREAS - EMERGENCY FIX */
.core-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 32px;
    align-items: start;
    width: 100%;
}
.core-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.core-img-wrapper {
    width: 100%;
    max-width: 360px;
    margin-bottom: 22px;
}
.core-img-wrapper img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    max-height: 270px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.core-col .col-num {
    font-size: 11px;
    font-weight: 800;
    color: #FFC800;
    margin-bottom: 12px;
    display: block;
}
.core-col .col-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 1px solid #EAEAEA;
    padding-bottom: 16px;
    width: 100%;
}
.core-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
.core-list li {
    margin-bottom: 16px;
}
.core-list li a {
    font-size: 14.5px;
    line-height: 1.7;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}
.core-list li a:hover {
    color: #111;
    transform: translateX(4px);
}

@media (max-width: 1099px) and (min-width: 768px) {
    .core-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* SERVICE INDEX */
.index-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 64px;
}
.index-row {
    display: flex;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #DEDEDE;
    text-decoration: none;
    transition: all 0.2s ease;
}
.index-row:hover {
    background: #FAFAFA;
}
.index-row:hover .index-title {
    transform: translateX(4px);
}
.index-row:hover .index-arrow {
    color: #FFC800;
}
.index-num {
    width: 48px;
    font-size: 12px;
    font-weight: 700;
    color: #999;
    flex-shrink: 0;
}
.index-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.index-title {
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    transition: transform 0.2s ease;
    margin-bottom: 4px;
}
.index-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}
.index-arrow {
    width: 32px;
    text-align: right;
    font-size: 20px;
    color: #CCC;
    transition: color 0.2s ease;
    flex-shrink: 0;
}


/* CROSS DISCIPLINE FLOW */


.inline-flow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.flow-item {
    font-size: 14px;
    font-weight: 700;
    color: #FFF;
    letter-spacing: .05em;
}
.flow-arrow {
    color: rgba(255,255,255,0.3);
    font-size: 14px;
}

/* HOW WE CHOOSE */
.choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 48px;
}
.choose-item {
    border-top: 2px solid #111;
    padding-top: 20px;
}
.choose-label {
    font-size: 13px;
    font-weight: 800;
    color: #FFC800;
    margin-bottom: 8px;
    display: block;
    letter-spacing: .05em;
}
.choose-text {
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

/* BUTTONS */
#mornet-hub .btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #FFF;
    font-size: 15px;
    font-weight: 600;
    height: 48px;
    padding: 0 32px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s;
}
#mornet-hub .btn-cta:hover { opacity: 0.9; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .core-grid { grid-template-columns: 1fr !important; gap: 48px; }
    .index-grid { grid-template-columns: 1fr; gap: 0; }
    .choose-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    #mornet-hub section { padding: 48px 0; }
    #mornet-hub .section-hero { padding: 60px 0 48px; }
    #mornet-hub .hub-h1 { font-size: 40px; }
    #mornet-hub .hub-h2 { font-size: clamp(31px, 8vw, 34px); }
    .index-row { padding: 16px 0; }
}
@media (max-width: 430px) {
    #mornet-hub .hub-container { width: calc(100% - 36px); padding: 0 18px; }
}


/* HERO REDESIGN */
.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    gap: 80px;
    align-items: center;
    padding: 78px 0 82px;
    min-height: 560px;
}
.hero-text {
    display: flex;
    flex-direction: column;
}
.hero-text .hub-h1 {
    font-size: clamp(48px, 4vw, 64px);
    line-height: .98;
    letter-spacing: -.045em;
    max-width: none;
    margin-bottom: 24px;
}
.hero-text .hub-body-large {
    font-size: 18px;
    max-width: 590px;
}

/* CONSTELLATION */
.constellation {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.const-center {
    width: 38px;
    height: 38px;
    background: #FFC800;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.const-center::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #FFF;
    border-radius: 50%;
}
.const-label {
    position: absolute;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #111;
    z-index: 2;
}
.const-label.strategy { top: 10%; left: 50%; transform: translateX(-50%); }
.const-label.creative { top: 50%; left: 5%; transform: translateY(-50%); }
.const-label.technology { top: 50%; right: 5%; transform: translateY(-50%); }
.const-label.growth { bottom: 10%; left: 50%; transform: translateX(-50%); }

.const-micro {
    position: absolute;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #777;
    z-index: 2;
}
.const-micro.web { top: 30%; left: 20%; }
.const-micro.software { top: 30%; right: 20%; }
.const-micro.seo { bottom: 30%; left: 20%; }
.const-micro.ai { bottom: 30%; right: 20%; }
.const-micro.ads { bottom: 20%; right: 35%; }
.const-micro.brand { top: 20%; left: 35%; }
.const-micro.production { top: 40%; left: 25%; }
.const-micro.social { bottom: 40%; right: 25%; }

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

@media (prefers-reduced-motion: no-preference) {
    .const-center {
        animation: pulse 8s infinite alternate ease-in-out;
    }
    .const-lines {
        animation: lineFade 7s infinite alternate ease-in-out;
    }
}
@keyframes pulse {
    0% { transform: scale(0.95); }
    100% { transform: scale(1.05); }
}
@keyframes lineFade {
    0% { opacity: 0.4; }
    100% { opacity: 0.8; }
}

/* CROSS DISCIPLINE REFINED */
.cross-grid {
    display: grid;
    grid-template-columns: minmax(0, .80fr) minmax(0, 1.20fr);
    gap: 56px;
    align-items: center;
}
.cross-img-wrapper {
    margin-left: auto;
}
.cross-img-wrapper img {
    width: 100%;
    max-width: 620px;
    max-height: 390px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    display: block;
}
.inline-flow .flow-item {
    font-size: 13px;
}
.inline-flow {
    gap: 14px;
}
#mornet-hub .section-hero { padding: 0; }
#mornet-hub .section-black { padding: 68px 0; min-height: 0; height: auto; }


@media (max-width: 900px) {
    .hero-layout { grid-template-columns: 1fr; min-height: 0; padding: 60px 0; gap: 48px; }
    .constellation { height: 300px; }
    .cross-grid { grid-template-columns: 1fr; gap: 40px; }
    .cross-img-wrapper { margin-left: 0; }
    .cross-img-wrapper img { max-width: none; }
}
