/* ============================================================
   MAGNET — Made to Matter
   pages.css : brand-film video · sub-page heroes · sales/HR contact
   (uses tokens from base.css — dark #0A0A0A + lime #C4FF3D)
   ============================================================ */

/* inline arrow icons (replace emoji-rendered → ↗ ← so nothing shows as an emoji) */
.ar-ico { display: inline-block; width: 1em; height: 1em; vertical-align: -0.12em; margin-left: 0.4em; flex: none; }
.ar-ico--l { margin-left: 0; margin-right: 0.4em; }

/* honeypot spam trap — hidden from real users */
.hf-hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* active nav link (multi-page) */
.nav__link.is-active { color: var(--lime); }
.nav__link.is-active::after { transform: scaleX(1); }
.mobile-menu a.is-active { color: var(--lime); }

/* ============================================================
   SUB-PAGE HERO (Services / Work / Contact)
   ============================================================ */
.phero {
  position: relative;
  padding: clamp(150px, 22vh, 260px) var(--shell) clamp(50px, 8vh, 96px);
  overflow: hidden;
}
.phero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; }
.phero .eyebrow { margin-bottom: clamp(20px, 3vw, 32px); }
.phero h1 { font-size: clamp(44px, 8.4vw, 128px); max-width: 15ch; }
.phero__sub { margin-top: clamp(22px, 3vw, 36px); max-width: 60ch; font-size: clamp(15px, 1.35vw, 19px); color: #d4d4d0; line-height: 1.55; }
.phero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(28px, 3.5vw, 42px); }

/* ============================================================
   BRAND FILM (video) — full-bleed cinematic showcase
   ============================================================ */
.film { position: relative; padding: clamp(70px, 9vw, 130px) var(--shell); }
.film__wrap { max-width: var(--maxw); margin: 0 auto; }
.film__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 22px; margin-bottom: clamp(28px, 3.4vw, 46px); }
.film__head h2 { font-size: clamp(30px, 4.6vw, 66px); max-width: 16ch; }
.film__head p { max-width: 40ch; font-size: 14px; color: var(--muted); line-height: 1.55; }

.film__stage {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--hairline-strong);
  background: #000; aspect-ratio: 16 / 9;
  box-shadow: 0 40px 120px -40px rgba(196,255,61,0.20), 0 30px 80px -30px rgba(0,0,0,0.9);
  isolation: isolate;
}
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; display: block; }
.film__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    /* bottom-right corner mask — hides the AI sparkle watermark (blends into the dark floor) */
    radial-gradient(30% 42% at 100% 100%, rgba(10,10,10,0.98) 0%, rgba(10,10,10,0.9) 34%, transparent 72%),
    linear-gradient(180deg, rgba(10,10,10,0.28) 0%, transparent 26%, transparent 60%, rgba(10,10,10,0.5) 100%),
    radial-gradient(80% 60% at 50% 120%, rgba(196,255,61,0.10), transparent 60%);
}
.film__badge {
  position: absolute; top: clamp(16px, 2vw, 26px); left: clamp(16px, 2vw, 26px); z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text);
  background: rgba(10,10,10,0.5); border: 1px solid var(--hairline-strong); backdrop-filter: blur(8px);
  border-radius: 100px; padding: 8px 15px;
}
.film__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(196,255,61,0.9); animation: film-pulse 1.8s ease-in-out infinite; }
@keyframes film-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* sound / mute toggle */
.film__sound {
  position: absolute; right: clamp(16px, 2vw, 26px); bottom: clamp(16px, 2vw, 26px); z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.04em;
  color: var(--text); background: rgba(10,10,10,0.55); border: 1px solid var(--hairline-strong);
  backdrop-filter: blur(8px); border-radius: 100px; padding: 10px 16px; min-height: 42px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.film__sound:hover { background: var(--lime); color: #0A0A0A; border-color: var(--lime); }
.film__sound svg { display: block; }
.film__sound .ic-on { display: none; }
.film__sound.is-on .ic-on { display: block; }
.film__sound.is-on .ic-off { display: none; }

/* big center play (before user gesture / paused) */
.film__play {
  position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
}
.film__play.show { opacity: 1; pointer-events: auto; }
.film__play span {
  width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); border-radius: 50%;
  background: var(--lime); color: #0A0A0A; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 0 rgba(196,255,61,0.55); animation: film-ring 2.4s ease-out infinite;
}
@keyframes film-ring { 0% { box-shadow: 0 0 0 0 rgba(196,255,61,0.5); } 100% { box-shadow: 0 0 0 26px rgba(196,255,61,0); } }

/* ============================================================
   SALES / HR CONTACT — department call cards
   ============================================================ */
.depts { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 26px); margin-top: clamp(40px, 5vw, 72px); }
.dept {
  position: relative; background: var(--panel); border: 1px solid var(--hairline); border-radius: 10px;
  padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.dept:hover { transform: translateY(-8px); border-color: var(--hairline-strong); background: var(--card-hover); }
.dept__ico { width: 46px; height: 46px; border: 1px solid var(--hairline-strong); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--lime); margin-bottom: 22px; }
.dept__label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime); }
.dept__title { font-family: "Archivo", sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(24px, 2.6vw, 38px); line-height: 1; margin: 8px 0 6px; }
.dept__desc { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 24px; }

.dept__lines { display: flex; flex-direction: column; gap: 14px; margin-top: auto; }
.numrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 14px 16px; border: 1px solid var(--hairline); border-radius: 8px; background: var(--bg); transition: border-color 0.4s var(--ease); }
.numrow:hover { border-color: var(--hairline-strong); }
.numrow__num { font-family: "Archivo", sans-serif; font-weight: 900; letter-spacing: -0.01em; font-size: clamp(18px, 1.9vw, 24px); direction: ltr; }
.numrow__btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* compact call / whatsapp buttons */
.cbtn {
  display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 10px 16px;
  border-radius: 100px; border: 1px solid var(--hairline-strong); background: transparent; color: var(--text);
  font-family: "Inter", sans-serif; font-weight: 600; font-size: 13px; white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.cbtn svg { display: block; }
.cbtn:hover { background: var(--card-hover); border-color: var(--hairline-strong); }
.cbtn--wa { background: var(--lime); border-color: var(--lime); color: #0A0A0A; }
.cbtn--wa:hover { background: var(--lime-pressed); border-color: var(--lime-pressed); color: #0A0A0A; }

/* small meta strip under cards (email / hours / location) */
.cmeta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); margin-top: clamp(26px, 3vw, 44px); border-radius: 4px; overflow: hidden; }
.cmeta__cell { background: var(--bg); padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 14px; transition: background 0.4s var(--ease); }
.cmeta__cell:hover { background: var(--card-hover); }
.cmeta__cell .cm-label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); }
.cmeta__cell .cm-val { font-size: clamp(14px, 1.3vw, 17px); color: var(--text); line-height: 1.45; }
.cmeta__cell:hover .cm-val { color: var(--lime); }

/* single-column HR contact (careers) */
.hrcard { max-width: 680px; }

/* careers hero media (fills the empty hero space) */
.chero__media {
  position: relative; margin: clamp(30px, 4vw, 52px) auto 0; max-width: 100%;
  border: 1px solid var(--hairline-strong); border-radius: 14px; overflow: hidden;
  aspect-ratio: 16 / 7; background: #000;
  box-shadow: 0 40px 110px -50px rgba(196,255,61,0.22), 0 30px 70px -30px rgba(0,0,0,0.9);
}
.chero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,0.55) 100%);
}
@media (max-width: 680px) { .chero__media { aspect-ratio: 4 / 3; } }

/* clients wall frame (home + work) */
.clients__wall { border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; }
.clients__img { width: 100%; height: auto; display: block; }

/* ============================================================
   IMAGE BAND (full-width feature image on sub-pages / home)
   ============================================================ */
.imgband { max-width: var(--maxw); margin: 0 auto; padding: clamp(10px, 3vw, 40px) var(--shell) 0; }
.imgband__frame {
  position: relative; border: 1px solid var(--hairline-strong); border-radius: 14px; overflow: hidden;
  aspect-ratio: 16 / 6.4; background: #000;
  box-shadow: 0 40px 110px -55px rgba(196,255,61,0.20), 0 30px 70px -30px rgba(0,0,0,0.9);
}
.imgband__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.imgband__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,10,10,0.75), rgba(10,10,10,0.15) 48%, transparent 70%),
              linear-gradient(0deg, rgba(10,10,10,0.7), transparent 42%); }
/* caption overlay (optional) */
.imgband__cap { position: absolute; left: clamp(22px, 3vw, 44px); bottom: clamp(20px, 3vw, 38px); z-index: 2; max-width: 30ch; }
.imgband__cap .eyebrow { margin-bottom: 12px; }
.imgband__cap p { font-family: "Archivo", sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; font-size: clamp(22px, 2.6vw, 38px); }
@media (max-width: 680px) { .imgband__frame { aspect-ratio: 4 / 3; } .imgband__cap { max-width: 22ch; } }

/* ============================================================
   SERVICES DETAIL (service page)
   ============================================================ */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 26px); }
.svc__card { background: var(--panel); border: 1px solid var(--hairline); border-radius: 10px; padding: clamp(30px, 3vw, 48px); display: flex; flex-direction: column; transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease); }
.svc__card:hover { transform: translateY(-8px); border-color: var(--hairline-strong); background: var(--card-hover); }
.svc__ico { width: 48px; height: 48px; border: 1px solid var(--hairline-strong); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--lime); margin-bottom: 24px; }
.svc__num { font-family: "Archivo", sans-serif; font-weight: 900; color: var(--muted); font-size: 14px; letter-spacing: 0.1em; }
.svc__title { font-family: "Archivo", sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(24px, 2.8vw, 40px); line-height: 1; margin: 8px 0 14px; }
.svc__desc { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 22px; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.svc__tags span { font-size: 12px; color: var(--muted); border: 1px solid var(--hairline); border-radius: 100px; padding: 7px 14px; transition: border-color 0.4s var(--ease), color 0.4s var(--ease); }
.svc__card:hover .svc__tags span { border-color: var(--hairline-strong); color: var(--text); }

/* ============================================================
   PAGE-LOCAL CTA BAND
   ============================================================ */
.cband { padding: clamp(70px, 10vw, 150px) var(--shell); position: relative; overflow: hidden; }
.cband__wrap { max-width: var(--maxw); margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.cband h2 { font-size: clamp(36px, 6vw, 96px); max-width: 18ch; margin: 18px auto 0; }
.cband__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: clamp(30px, 4vw, 46px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .depts { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .film__head { align-items: flex-start; }
}
@media (max-width: 680px) {
  .cmeta { grid-template-columns: 1fr; }
  .numrow { flex-direction: column; align-items: flex-start; }
  .numrow__btns { width: 100%; }
  .cbtn { flex: 1 1 auto; justify-content: center; }
}
