/* ============================================================
   PAGE: Markas Comika
   Dark "building" hero (matches the lobby's dark Markas tile),
   stacked floor storytelling, CCC highlight, culture section.
   DNA shared (tokens/topbar/footer); layout unique.
============================================================ */

/* button variant for dark surfaces */
.ghost-light{border:1px solid rgba(255,255,255,.3);color:#fff}
.ghost-light:hover{border-color:var(--cy);color:var(--cy);transform:translateY(-2px)}

/* ── TOPBAR transparent ─────────────────────────────────── */
.site-top{background:transparent !important;
  -webkit-backdrop-filter:none !important;backdrop-filter:none !important;
  border-bottom-color:transparent !important;
  transition:background .4s var(--ease),border-bottom-color .4s !important}
html.topbar-solid .site-top{background:rgba(6,14,37,.88) !important;
  -webkit-backdrop-filter:blur(14px) !important;backdrop-filter:blur(14px) !important;
  border-bottom-color:rgba(31,195,243,.12) !important}

/* ---------- HERO — full-bleed landscape photo, text right ---------- */
/* anti kedip: .page:empty dipindah ke inline <style> di markas.html agar URL cukup diubah di 1 file */
.mk-hero{
  position:relative;overflow:hidden;color:#fff;background:#060E25;
  height:100svh;min-height:560px;margin-top:-64px;
  display:flex;align-items:center;
}
@supports not (height:100svh){.mk-hero{height:100vh}}

/* full-bleed background photo */
.mk-hero-bg{position:absolute;inset:0;z-index:0}
.mk-hero-bg img{
  width:100%;height:100%;object-fit:cover;object-position:center;
  /* subtle zoom-in entrance — starts at scale(1) to match .page:empty background, then slowly zooms */
  transform:scale(1);
  animation:mk-zoom 14s ease-out forwards;
  will-change:transform;
}
@keyframes mk-zoom{from{transform:scale(1)}to{transform:scale(1.05)}}
@media(prefers-reduced-motion:reduce){.mk-hero-bg img{transform:scale(1);animation:none}}

/* gradient: photo visible left → dark right for text legibility */
.mk-overlay{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(
    to right,
    rgba(6,14,37,.08) 0%,
    rgba(6,14,37,.32) 38%,
    rgba(6,14,37,.84) 60%,
    rgba(6,14,37,.97) 100%
  );
}

/* subtle cyan grid — only on right half where text lives */
.mk-grid{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:.38;
  background-image:linear-gradient(rgba(31,195,243,.18) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(31,195,243,.18) 1px,transparent 1px);
  background-size:48px 48px;
  -webkit-mask-image:linear-gradient(to right,transparent 35%,rgba(0,0,0,.9) 65%);
  mask-image:linear-gradient(to right,transparent 35%,rgba(0,0,0,.9) 65%)}

/* hero inner: 2-col — photo shows through left col, text in right col */
.mk-hero-in{
  position:relative;z-index:3;
  width:100%;
  display:grid;grid-template-columns:1fr 1fr;
  align-items:center;
  padding-block:clamp(5rem,10vw,8rem);
}

/* text sits in right column */
.mk-hero-text{grid-column:2}
.mk-hero .eyebrow{color:var(--cy);margin-bottom:1rem}
.mk-hero h1{font-family:var(--f-h);font-size:clamp(2.4rem,5vw,4.6rem);
  line-height:.96;letter-spacing:-.035em;color:#fff;margin:0 0 1.2rem}
.mk-hero .lead{color:rgba(255,255,255,.72);font-size:clamp(.95rem,1.5vw,1.08rem);
  max-width:44ch;line-height:1.74;margin:0 0 2rem}
.mk-actions{display:flex;flex-wrap:wrap;gap:.8rem}

/* ── MOBILE ── overlay from bottom, text at bottom */
@media(max-width:820px){
  .mk-hero-bg img{object-position:left center}
  .mk-hero{align-items:flex-end;padding-bottom:clamp(2.5rem,6vw,4rem)}
  .mk-overlay{
    background:linear-gradient(
      to bottom,
      rgba(6,14,37,.08) 0%,
      rgba(6,14,37,.45) 50%,
      rgba(6,14,37,.96) 100%
    );
  }
  .mk-grid{
    -webkit-mask-image:linear-gradient(to bottom,transparent 40%,rgba(0,0,0,.7) 75%);
    mask-image:linear-gradient(to bottom,transparent 40%,rgba(0,0,0,.7) 75%);
  }
  .mk-hero-in{
    grid-template-columns:1fr;
    padding-top:0;padding-bottom:0;
  }
  .mk-hero-text{grid-column:1}
}

/* ---------- ABOUT (what / why) ---------- */
.mk-about{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);
  padding-top:clamp(3.5rem,7vw,6rem);padding-bottom:clamp(1rem,3vw,2rem)}
@media(max-width:760px){.mk-about{grid-template-columns:1fr;gap:2rem}}
.mk-about h2{font-family:var(--f-h);font-size:clamp(1.6rem,3.4vw,2.4rem);color:var(--ink2);margin-bottom:.8rem;line-height:1.05}
.mk-about p{color:var(--muted);font-size:1.02rem;line-height:1.7}

/* ---------- section heads ---------- */
.mk-head{margin:clamp(3rem,7vw,5rem) 0 2rem}
.mk-head h2{font-family:var(--f-h);font-size:clamp(1.8rem,4vw,3rem);color:var(--ink2);margin-top:.5rem;line-height:1.02}
.mk-sub{color:var(--muted);margin-top:.7rem;max-width:52ch}

/* ---------- FLOORS (stacked, alternating) ---------- */
.mk-floors{padding-bottom:1rem}
.floor{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(1.5rem,4vw,3rem);align-items:center;
  margin-bottom:clamp(2rem,5vw,3.4rem)}
.floor:nth-child(odd) .floor-media{order:2}      /* zig-zag (head is child 1) */
@media(max-width:780px){.floor{grid-template-columns:1fr;gap:1.2rem}.floor:nth-child(odd) .floor-media{order:0}}
.floor-media{border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow);background:var(--bg)}
.floor-media img{width:100%;height:100%;object-fit:cover;aspect-ratio:4/3;display:block;transition:transform .7s var(--ease)}
.floor:hover .floor-media img{transform:scale(1.04)}
.floor-no{font-family:var(--f-h);font-size:clamp(2.2rem,5vw,3.4rem);line-height:1;color:var(--bg3);-webkit-text-stroke:1px var(--b3);}
.floor-body h3{font-family:var(--f-h);font-size:clamp(1.3rem,2.6vw,1.9rem);color:var(--ink2);margin:.4rem 0 .7rem;display:flex;align-items:center;gap:.6rem;line-height:1.05}
.floor-body .fi{flex:0 0 auto;width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:var(--bg2);border:1px solid var(--line);color:var(--b2)}
.floor-body .fi svg{width:19px;height:19px}
.floor-body p{color:var(--muted);line-height:1.7;margin-bottom:1rem}
.floor-tags{display:flex;flex-wrap:wrap;gap:.5rem}
.floor-tags span{font-size:.74rem;font-weight:600;color:var(--ink2);background:var(--bg2);border:1px solid var(--line);padding:.35rem .8rem;border-radius:99px}

/* highlighted floor = Comika Comedy Club */
.floor.hl{position:relative;border-radius:24px;padding:clamp(1.4rem,3vw,2.4rem);
  background:linear-gradient(155deg,#060E25,#102348);color:#fff;overflow:hidden}
.floor.hl::after{content:"";position:absolute;width:240px;height:240px;right:-60px;top:-80px;border-radius:50%;border:1.5px solid rgba(31,195,243,.25)}
.floor.hl .floor-media{border-color:rgba(255,255,255,.15)}
.floor.hl .floor-no{color:transparent;-webkit-text-stroke:1px var(--cy)}
.floor.hl .floor-body h3{color:#fff}
.floor.hl .floor-body .fi{background:rgba(31,195,243,.16);border-color:rgba(31,195,243,.4);color:var(--cy)}
.floor.hl .floor-body p{color:rgba(255,255,255,.78)}
.floor.hl .floor-tags span{color:#fff;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18)}
.floor-cta{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.3rem;position:relative;z-index:1}

/* ---------- KESERUAN (masonry photos) ---------- */
.mk-fun{background:var(--bg2);margin-top:clamp(4rem,8vw,6rem);padding-top:clamp(2rem,4vw,3rem);padding-bottom:clamp(2.5rem,6vw,4rem)}
.fun-masonry{column-count:4;column-gap:.9rem}
@media(max-width:960px){.fun-masonry{column-count:3}}
@media(max-width:640px){.fun-masonry{column-count:2}}
.fun-item{break-inside:avoid;-webkit-column-break-inside:avoid;margin:0 0 .9rem;border-radius:14px;overflow:hidden;
  border:1px solid var(--line);box-shadow:0 3px 12px rgba(20,32,80,.06);background:var(--bg)}
.fun-item img{display:block;width:100%;height:auto;transition:transform .6s var(--ease)}
.fun-item:hover img{transform:scale(1.05)}

/* ---------- LIFE AT COMIKA ---------- */
.values-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:1rem}
@media(max-width:880px){.values-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:460px){.values-grid{grid-template-columns:1fr}}
.value{background:var(--bg2);border:1px solid var(--line);border-radius:18px;padding:1.5rem 1.3rem;transition:.35s var(--ease)}
.value:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:rgba(31,140,206,.35)}
.value .vi{width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;
  background:var(--grad);color:#fff;margin-bottom:1rem}
.value .vi svg{width:22px;height:22px}
.value h4{font-family:var(--f-h);font-size:1.15rem;color:var(--ink2);margin-bottom:.4rem}
.value p{color:var(--muted);font-size:.9rem;line-height:1.6}

/* override footer gap — mk-fun sudah punya padding sendiri */
.site-footer{margin-top:0}

/* CTA → komponen .cta-band di shared.css */
