/* ==========================================================================
   O nama — brand story, mission, capabilities, bento mosaic
   Namespace: .mm-on-*
   ========================================================================== */

.mm-main section[id] { scroll-margin-top: 88px; }

/* ==========================================================================
   HERO — branded truck, heavy editorial overlay, ghost monogram
   ========================================================================== */
.mm-on-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--mm-dark);
    color: #fff;
}
.mm-on-hero__bg { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.mm-on-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    transform: scale(1.06);
    will-change: transform;
}
.mm-on-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg,
            rgba(var(--mm-dark-rgb), .9) 0%,
            rgba(var(--mm-dark-rgb), .55) 50%,
            rgba(var(--mm-dark-rgb), .3) 100%),
        linear-gradient(180deg,
            rgba(var(--mm-dark-rgb), .35) 0%,
            transparent 40%,
            rgba(var(--mm-dark-rgb), .85) 100%),
        radial-gradient(ellipse at 80% 18%, rgba(var(--mm-light-blue-rgb), .18), transparent 55%);
}
.mm-on-hero__grain {
    position: absolute;
    inset: 0;
    z-index: 3;
    opacity: .04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Ghost monogram "M" in top-right */
.mm-on-hero__ghost {
    position: absolute;
    top: 80px;
    right: -4vw;
    z-index: 4;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(18rem, 38vw, 36rem);
    font-weight: 800;
    line-height: .72;
    letter-spacing: -0.08em;
    color: rgba(255, 255, 255, .04);
    user-select: none;
    pointer-events: none;
}

.mm-on-hero .mm-container {
    position: relative;
    z-index: 5;
    width: 100%;
    padding-top: 140px;
    padding-bottom: 120px;
}
.mm-on-hero__inner { max-width: 900px; }
.mm-on-hero__overline { color: rgba(255, 255, 255, .55); }
.mm-on-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 28px;
}
.mm-on-hero__title em {
    font-style: normal;
    background: linear-gradient(135deg, #5bb8f5, var(--mm-light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mm-on-hero__subtitle {
    font-size: clamp(1rem, 1.4vw, 1.1875rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, .72);
    max-width: 660px;
    margin-bottom: 32px;
}
.mm-on-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
}
.mm-on-hero__chips li {
    font-family: 'Montserrat', sans-serif;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .82);
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.mm-on-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   MANIFESTO — editorial split (sticky meta left, long body right)
   ========================================================================== */
.mm-on-manifesto {
    padding: 120px 0;
    background: #fff;
}
.mm-on-manifesto__grid {
    display: grid;
    grid-template-columns: .55fr 1.45fr;
    gap: 80px;
    align-items: start;
}
.mm-on-manifesto__meta {
    position: sticky;
    top: 120px;
}
.mm-on-manifesto__year {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
    margin-top: 32px;
}
.mm-on-manifesto__year strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    background: var(--mm-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mm-on-manifesto__year span {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
}

.mm-on-manifesto__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--mm-dark);
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #e5e7eb;
}
.mm-on-manifesto__title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--mm-light-blue), #5bb8f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mm-on-manifesto__body p {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: #444;
    max-width: 720px;
}
.mm-on-manifesto__body p + p {
    margin-top: 20px;
}

/* ==========================================================================
   STATS
   ========================================================================== */
.mm-on-stats {
    background: #f7f8fa;
    padding: 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}
.mm-on-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 -20px;
}
.mm-on-stats__item {
    padding: 44px 32px;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mm-on-stats__item:last-child { border-right: none; }
.mm-on-stats__item strong {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.25rem, 3.6vw, 3.25rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.025em;
    background: var(--mm-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mm-on-stats__item span {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.3;
    color: #666;
}

/* ==========================================================================
   CAPABILITIES
   ========================================================================== */
.mm-on-capabilities {
    padding: 120px 0;
    background: #fff;
}
.mm-on-capabilities__header {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 64px;
}
.mm-on-capabilities__header h2 {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-top: 12px;
}
.mm-on-capabilities__header p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #555;
    max-width: 560px;
}

.mm-on-capabilities__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #e5e7eb;
    border-left: 1px solid #e5e7eb;
}
.mm-on-capability {
    position: relative;
    padding: 40px 28px 44px;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    transition: background .3s ease;
}
.mm-on-capability:hover { background: #f7f8fa; }
.mm-on-capability__num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(var(--mm-dark-rgb), .22);
}
.mm-on-capability__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--mm-light-blue-rgb), .08);
    color: var(--mm-light-blue);
    margin-bottom: 24px;
}
.mm-on-capability__icon .mm-icon { width: 22px; height: 22px; }
.mm-on-capability h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.mm-on-capability p {
    font-size: .9375rem;
    line-height: 1.7;
    color: #666;
}

/* ==========================================================================
   BRAND IN THE WILD — bento mosaic
   ========================================================================== */
.mm-on-brand {
    padding: 120px 0 0;
    background: #0f1a1f;
    color: #fff;
}
.mm-on-brand__header {
    max-width: 720px;
    margin-bottom: 64px;
}
.mm-on-brand__header .mm-overline { color: rgba(255, 255, 255, .5); }
.mm-on-brand__header h2 {
    color: #fff;
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 12px 0 16px;
}
.mm-on-brand__header p {
    color: rgba(255, 255, 255, .6);
    font-size: 1.0625rem;
    line-height: 1.75;
}

/* Mosaic: 12-col grid, big landscape item spans 7 cols, tall items fill rest */
.mm-on-brand__mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 180px;
    gap: 2px;
    background: rgba(255, 255, 255, .05);
    padding: 2px;
}
.mm-on-brand__tile {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #000;
}
.mm-on-brand__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.4, 0, .2, 1);
}
.mm-on-brand__tile:hover img {
    transform: scale(1.05);
}

/* Size variants — row 1: big landscape + tall portrait */
.mm-on-brand__tile--big { grid-column: span 7; grid-row: span 2; }
.mm-on-brand__tile--tall { grid-column: span 5; grid-row: span 2; }

/* Row 2: 4 tall portraits spanning 3 cols each */
.mm-on-brand__tile:nth-child(3),
.mm-on-brand__tile:nth-child(4),
.mm-on-brand__tile:nth-child(5),
.mm-on-brand__tile:nth-child(6) {
    grid-column: span 3;
    grid-row: span 2;
}

.mm-on-brand__tile figcaption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: flex-end;
    gap: 16px;
    z-index: 2;
    color: #fff;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s ease, transform .4s ease;
}
.mm-on-brand__tile:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}
.mm-on-brand__tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .7) 100%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.mm-on-brand__tile:hover::after { opacity: 1; }

.mm-on-brand__num {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--mm-light-blue);
    line-height: 1;
    flex-shrink: 0;
}
.mm-on-brand__label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .9375rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.mm-on-brand__caption {
    display: block;
    font-size: .75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .75);
    letter-spacing: .5px;
}

/* ==========================================================================
   MISSION — dark editorial with PDF-style pipe heading + giant quote
   ========================================================================== */
.mm-on-mission {
    position: relative;
    padding: 140px 0;
    background: var(--mm-dark);
    color: #fff;
    overflow: hidden;
}
.mm-on-mission__accent {
    position: absolute;
    top: 0;
    right: -120px;
    width: 520px;
    height: 280px;
    background: var(--mm-light-blue);
    clip-path: polygon(30% 0, 100% 0, 100% 60%, 0 100%);
    opacity: .22;
    pointer-events: none;
}

.mm-on-mission__inner {
    position: relative;
    z-index: 1;
    max-width: 1000px;
}

.mm-on-mission__label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
}
.mm-on-mission__pipe {
    display: inline-block;
    width: 4px;
    height: 36px;
    background: var(--mm-light-blue);
}
.mm-on-mission__label span:last-child {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
}

.mm-on-mission__quote {
    margin: 0 0 48px;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4.2vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
}
.mm-on-mission__quote em {
    font-style: normal;
    background: linear-gradient(135deg, #5bb8f5, var(--mm-light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mm-on-mission__signature {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}
.mm-on-mission__logo-line {
    display: inline-block;
    width: 48px;
    height: 2px;
    background: var(--mm-light-blue);
}

/* ==========================================================================
   VALUES — 6 cards
   ========================================================================== */
.mm-on-values {
    padding: 120px 0;
    background: #fff;
}
.mm-on-values__header {
    max-width: 720px;
    margin-bottom: 64px;
}
.mm-on-values__header h2 {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-top: 12px;
}

.mm-on-values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #e5e7eb;
    border-left: 1px solid #e5e7eb;
}
.mm-on-value {
    position: relative;
    padding: 40px 32px 44px;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    transition: background .3s ease;
}
.mm-on-value:hover { background: #f7f8fa; }
.mm-on-value__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.mm-on-value__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mm-light-blue);
    background: rgba(var(--mm-light-blue-rgb), .08);
}
.mm-on-value__icon .mm-icon { width: 22px; height: 22px; }
.mm-on-value__num {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(var(--mm-dark-rgb), .25);
}
.mm-on-value h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.mm-on-value p {
    font-size: .9375rem;
    line-height: 1.7;
    color: #666;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
    .mm-on-capabilities__grid { grid-template-columns: repeat(2, 1fr); }
    .mm-on-capability:nth-child(2n) { border-right: none; }
    .mm-on-capability:nth-child(3n) { border-right: 1px solid #e5e7eb; }

    .mm-on-values__grid { grid-template-columns: repeat(2, 1fr); }
    .mm-on-value:nth-child(2n) { border-right: none; }
    .mm-on-value:nth-child(3n) { border-right: 1px solid #e5e7eb; }
}

@media (max-width: 1024px) {
    .mm-on-hero .mm-container { padding-top: 120px; padding-bottom: 88px; }
    .mm-on-hero__ghost { top: 40px; right: -8vw; font-size: clamp(14rem, 42vw, 22rem); }

    .mm-on-manifesto { padding: 80px 0; }
    .mm-on-manifesto__grid { grid-template-columns: 1fr; gap: 40px; }
    .mm-on-manifesto__meta { position: static; display: flex; align-items: center; gap: 32px; }
    .mm-on-manifesto__year { padding-top: 0; border-top: none; margin-top: 0; border-left: 1px solid #e5e7eb; padding-left: 32px; }

    .mm-on-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .mm-on-stats__item:nth-child(2n) { border-right: none; }
    .mm-on-stats__item:nth-child(-n+2) { border-bottom: 1px solid #e5e7eb; }

    .mm-on-capabilities { padding: 80px 0; }
    .mm-on-capabilities__header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }

    /* Brand mosaic simplifies to 2-col grid on tablet */
    .mm-on-brand { padding-top: 80px; }
    .mm-on-brand__mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; }
    .mm-on-brand__tile--big { grid-column: span 6; grid-row: span 2; }
    .mm-on-brand__tile--tall,
    .mm-on-brand__tile:nth-child(3),
    .mm-on-brand__tile:nth-child(4),
    .mm-on-brand__tile:nth-child(5),
    .mm-on-brand__tile:nth-child(6) {
        grid-column: span 3;
        grid-row: span 2;
    }
    .mm-on-brand__tile figcaption { opacity: 1; transform: none; }
    .mm-on-brand__tile::after { opacity: .6; }

    .mm-on-mission { padding: 96px 0; }

    .mm-on-values { padding: 80px 0; }
}

@media (max-width: 720px) {
    .mm-on-hero { min-height: 100vh; min-height: 100dvh; }
    .mm-on-hero .mm-container { padding-top: 120px; padding-bottom: 48px; }
    .mm-on-hero__title { font-size: 8vw; letter-spacing: -0.02em; }
    .mm-on-hero__subtitle { font-size: .9375rem; line-height: 1.6; }
    .mm-on-hero__chips {
        width: 100%;
        min-width: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
        mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent 100%);
    }
    .mm-on-hero__chips::-webkit-scrollbar { display: none; }
    .mm-on-hero__chips li {
        flex: 0 0 auto;
        font-size: .625rem;
        letter-spacing: 1.4px;
        padding: 7px 11px;
    }
    .mm-on-hero__inner {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .mm-on-hero .mm-container {
        min-width: 0;
    }
    .mm-on-hero__actions { flex-direction: column; width: 100%; }
    .mm-on-hero__actions .mm-btn { width: 100%; justify-content: center; }

    .mm-on-manifesto { padding: 64px 0; }
    .mm-on-manifesto__meta { flex-direction: column; align-items: flex-start; gap: 20px; }
    .mm-on-manifesto__year { border-left: none; padding-left: 0; border-top: 1px solid #e5e7eb; padding-top: 20px; }
    .mm-on-manifesto__title { font-size: 1.5rem; margin-bottom: 32px; padding-bottom: 32px; }

    .mm-on-stats__grid { grid-template-columns: 1fr; }
    .mm-on-stats__item { padding: 24px 18px; border-right: none; border-bottom: 1px solid #e5e7eb; }
    .mm-on-stats__item:last-child { border-bottom: none; }
    .mm-on-stats__item strong { font-size: 1.875rem; }

    .mm-on-capabilities { padding: 64px 0; }
    .mm-on-capabilities__grid { grid-template-columns: 1fr; }
    .mm-on-capability:nth-child(n) { border-right: none; }

    /* Brand mosaic: single column */
    .mm-on-brand { padding-top: 64px; }
    .mm-on-brand__mosaic { grid-template-columns: 1fr; grid-auto-rows: 260px; }
    .mm-on-brand__tile--big,
    .mm-on-brand__tile--tall,
    .mm-on-brand__tile:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }
    .mm-on-brand__tile figcaption {
        opacity: 1;
        transform: none;
    }

    .mm-on-mission { padding: 72px 0; }
    .mm-on-mission__quote { font-size: 1.625rem; }
    .mm-on-mission__label { margin-bottom: 28px; }

    .mm-on-values { padding: 64px 0; }
    .mm-on-values__grid { grid-template-columns: 1fr; }
    .mm-on-value:nth-child(n) { border-right: none; }
}
