/* 11 ACTIVE-IT — landing page */

/* ---------- Hero ---------- */

.lp-hero {
  position: relative;
  margin-top: -100px;
  padding: 180px 0 100px;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(15, 31, 23, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 31, 23, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.lp-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 720px;
  height: 720px;
  right: -180px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--em-rgb), .30), transparent 65%);
  filter: blur(10px);
  animation: lp-drift 16s ease-in-out infinite alternate;
}

.lp-hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }

.lp-hero__title {
  margin: 26px 0 0;
  font-family: var(--font);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.05em;
  color: var(--ink-800);
}

.x-rotate {
  position: relative;
  display: inline-grid;
  height: 1.08em;
  overflow: hidden;
  vertical-align: bottom;
  padding-right: .06em;
}
.x-rotate__word {
  grid-area: 1 / 1;
  white-space: nowrap;
  color: var(--em-600);
  transform: translateY(105%);
  opacity: 0;
  transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.x-rotate__word.is-active { transform: translateY(0); opacity: 1; }
.x-rotate__word.is-out { transform: translateY(-105%); opacity: 0; }
.lp-hero__title .x-rotate__word {
  justify-self: start;
  background: linear-gradient(rgba(var(--em-rgb), .28), rgba(var(--em-rgb), .28)) 0 86% / 100% .14em no-repeat;
}

.lp-hero__text { margin: 28px 0 0; max-width: 560px; font-size: 19px; line-height: 1.7; color: var(--text-muted); }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.lp-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 40px 0 0; padding: 0; list-style: none; }
.lp-hero__facts li { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink-700); }
.lp-hero__facts i { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--em-500); color: var(--ink-900); font-size: 11px; }

/* bento collage */
.lp-bento { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 340px 200px; gap: 16px; }
.lp-bento > * { will-change: transform; transition: transform .6s var(--ease); }
.lp-bento__photo { position: relative; grid-column: 1 / -1; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.lp-bento__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; transition: transform 1.2s var(--ease); }
.lp-bento__photo:hover img { transform: scale(1.04); }
.lp-bento__chip {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.lp-bento__chip span:first-child { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ink-800); color: var(--em-400); font-size: 16px; }
.lp-bento__chip strong { display: block; font-size: 15px; color: var(--ink-800); }
.lp-bento__chip small { font-size: 13px; color: var(--text-muted); }

.lp-bento__dark {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: #fff;
  background: var(--ink-900) url(../images/v2/abstract-emerald.jpg) center / cover;
  isolation: isolate;
}
.lp-bento__dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 23, 17, .1), rgba(11, 23, 17, .85)); }
.lp-bento__dark strong { font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.lp-bento__dark span { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.lp-bento__icons { display: flex; gap: 6px; margin-bottom: auto; }
.lp-bento__icons i { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .1); color: var(--em-300); font-size: 13px; backdrop-filter: blur(6px); }

.lp-bento__cta {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: var(--em-500);
  color: var(--ink-900);
  text-decoration: none !important;
  overflow: hidden;
  transition: background-color .35s var(--ease), transform .6s var(--ease);
}
.lp-bento__cta:hover { background: var(--em-400); }
.lp-bento__cta small { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.lp-bento__cta strong { font-size: 26px; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.lp-bento__cta .lp-arrow { position: absolute; right: 18px; top: 18px; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink-900); color: var(--em-400); transition: transform .45s var(--ease); }
.lp-bento__cta:hover .lp-arrow { transform: rotate(-45deg) scale(1.06); }

.lp-badge {
  position: absolute;
  top: -34px;
  right: -26px;
  z-index: 3;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--em-400);
  box-shadow: var(--shadow-lg);
  text-decoration: none !important;
}
.lp-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: lp-spin 18s linear infinite; }
.lp-badge text { font-size: 10.5px; font-weight: 800; letter-spacing: 3.2px; fill: currentColor; text-transform: uppercase; }
.lp-badge i { position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--em-500); color: var(--ink-900); font-size: 16px; transition: transform .45s var(--ease); }
.lp-badge:hover i { transform: rotate(-45deg); }

/* ---------- Marquee ---------- */

.lp-marquee {
  position: relative;
  z-index: 2;
  margin: -24px -5% 0;
  padding: 22px 0;
  background: var(--ink-900);
  transform: rotate(-1.5deg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 31, 23, .18);
}
.lp-marquee__track { display: flex; width: max-content; animation: lp-marquee 34s linear infinite; }
.lp-marquee:hover .lp-marquee__track { animation-play-state: paused; }
.lp-marquee__item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.lp-marquee__item em { font-style: normal; color: var(--em-400); }
.lp-marquee__star { color: var(--em-500); font-size: .7em; }

/* ---------- Services bento ---------- */

.lp-services { padding-top: 150px; }
.lp-split-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.lp-split-head .x-lead { margin: 0 0 18px; }

.lp-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 270px; gap: 18px; }
.lp-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
  overflow: hidden;
  isolation: isolate;
  text-decoration: none !important;
  color: inherit;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.lp-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--em-rgb), .16), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.lp-tile:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--em-200), var(--shadow-lg); }
.lp-tile:hover::before { opacity: 1; }

.lp-tile__num { font-size: 14px; font-weight: 800; letter-spacing: .08em; color: var(--em-600); }
.lp-tile__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: var(--em-50); color: var(--em-700); font-size: 22px; transition: transform .5s var(--ease), background-color .4s, color .4s; }
.lp-tile:hover .lp-tile__icon { transform: rotate(-8deg) scale(1.06); background: var(--em-500); color: var(--ink-900); }
.lp-tile h3 { margin: auto 0 10px; font-family: var(--font); font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ink-800); }
.lp-tile p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--text-muted); }
.lp-tile__go { position: absolute; top: 24px; right: 24px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); color: var(--ink-800); font-size: 14px; transition: transform .45s var(--ease), background-color .35s, color .35s; }
.lp-tile:hover .lp-tile__go { transform: rotate(-45deg); background: var(--ink-800); color: var(--em-400); }

.lp-tile--hero { grid-column: span 2; grid-row: span 2; padding: 40px; background: var(--ink-900); box-shadow: none; color: #fff; }
.lp-tile--hero .lp-tile__bg { position: absolute; inset: 0; z-index: -2; background: url(../images/v2/abstract-emerald.jpg) 70% 30% / cover; transition: transform 1.2s var(--ease); }
.lp-tile--hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, rgba(11, 23, 17, 0) 20%, rgba(11, 23, 17, .92) 75%); }
.lp-tile--hero:hover .lp-tile__bg { transform: scale(1.06); }
.lp-tile--hero h3 { font-size: clamp(30px, 3vw, 42px); color: #fff; }
.lp-tile--hero p { max-width: 460px; font-size: 17px; color: rgba(255, 255, 255, .72); }
.lp-tile--hero .lp-tile__num { color: var(--em-400); }
.lp-tile--hero .lp-tile__go { background: var(--em-500); color: var(--ink-900); }
.lp-tile--hero:hover .lp-tile__go { background: #fff; color: var(--ink-900); }
.lp-tile--hero:hover { box-shadow: var(--shadow-lg); }

.lp-tile--emerald { background: var(--em-500); box-shadow: none; }
.lp-tile--emerald p { color: rgba(15, 31, 23, .72); }
.lp-tile--emerald .lp-tile__num { color: var(--ink-800); }
.lp-tile--emerald .lp-tile__icon { background: rgba(15, 31, 23, .1); color: var(--ink-900); }
.lp-tile--emerald .lp-tile__go { background: rgba(255, 255, 255, .5); }
.lp-tile--emerald::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .35), transparent 60%); }
.lp-tile--emerald:hover { box-shadow: 0 24px 60px rgba(var(--em-rgb), .4); }

.lp-tile--wide { grid-column: span 2; flex-direction: row; gap: 26px; padding: 0; }
.lp-tile--wide .lp-tile__body { display: flex; flex-direction: column; flex: 1 1 52%; padding: 30px 0 30px 30px; }
.lp-tile--wide .lp-tile__media { position: relative; flex: 1 1 48%; overflow: hidden; }
.lp-tile--wide .lp-tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lp-tile--wide:hover .lp-tile__media img { transform: scale(1.06); }
.lp-tile--wide .lp-tile__go { left: auto; right: 24px; background: rgba(255, 255, 255, .9); }

/* ---------- Approach: sticky + progress ---------- */

.lp-approach__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: start; }
.lp-approach__sticky { position: sticky; top: 130px; }
.lp-approach__sticky .x-lead + p { margin: 16px 0 0; font-size: 16px; line-height: 1.75; color: var(--text-muted); }
.lp-approach__sticky .x-btn { margin-top: 34px; }

.lp-steps { position: relative; display: flex; flex-direction: column; gap: 18px; padding-left: 46px; }
.lp-steps__line { position: absolute; left: 14px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--border); overflow: hidden; }
.lp-steps__fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--em-400), var(--em-700)); transform: scaleY(0); transform-origin: top; transition: transform .2s linear; }
.lp-step {
  position: relative;
  padding: 30px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.lp-step::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 36px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--border);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.lp-step.is-current { box-shadow: inset 0 0 0 1.5px var(--em-300), var(--shadow); }
.lp-step.is-current::before { background: var(--em-500); box-shadow: 0 0 0 6px rgba(var(--em-rgb), .2); }
.lp-step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.lp-step__num { font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--em-100); transition: color .4s var(--ease); }
.lp-step.is-current .lp-step__num { color: var(--em-500); }
.lp-step__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--bg); color: var(--em-700); font-size: 18px; }
.lp-step h4 { margin: 0 0 8px; font-family: var(--font); font-size: 22px; font-weight: 800; color: var(--ink-800); }
.lp-step p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--text-muted); }

/* ---------- Career ---------- */

.lp-career__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.lp-career__media { position: relative; }
.lp-career__media img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.lp-career__media::before { content: ""; position: absolute; inset: -18px 40px 40px -18px; z-index: -1; border-radius: var(--radius-xl); background: repeating-linear-gradient(135deg, var(--em-100) 0 2px, transparent 2px 12px); }
.lp-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px 14px 14px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  font-weight: 700;
  color: var(--ink-800);
  animation: x-float 6s ease-in-out infinite;
}
.lp-float i { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--em-500); color: var(--ink-900); font-size: 15px; }
.lp-float small { display: block; font-size: 13px; font-weight: 500; color: var(--text-muted); }
.lp-float--a { left: -32px; top: 18%; }
.lp-float--b { right: -28px; bottom: 14%; animation-delay: -3s; }
.lp-float--b i { background: var(--ink-800); color: var(--em-400); }

.lp-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 36px 0 38px; padding: 0; list-style: none; counter-reset: flow; }
.lp-flow li {
  position: relative;
  padding: 22px 22px 22px 70px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: background-color .35s var(--ease), transform .35s var(--ease);
}
.lp-flow li:hover { background: var(--em-50); transform: translateY(-3px); }
.lp-flow li::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--ink-800);
  color: var(--em-400);
  font-size: 13px;
  font-weight: 800;
}
.lp-flow strong { display: block; margin-bottom: 4px; font-size: 17px; color: var(--ink-800); }
.lp-flow span { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }
.lp-career__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Keyframes ---------- */

@keyframes lp-marquee { to { transform: translateX(-50%); } }
@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-80px, 60px) scale(1.12); } }

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
  .lp-hero__grid { grid-template-columns: 1fr; gap: 72px; }
  .lp-bento { max-width: 720px; }
  .lp-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-approach__grid, .lp-career__grid { gap: 56px; }
}

@media (max-width: 991px) {
  .lp-hero { padding: 150px 0 80px; }
  .lp-split-head { grid-template-columns: 1fr; gap: 0; }
  .lp-split-head .x-lead { margin-top: 18px; }
  .lp-approach__grid, .lp-career__grid { grid-template-columns: 1fr; }
  .lp-approach__sticky { position: static; }
  .lp-career__media { max-width: 520px; }
}

@media (max-width: 600px) {
  .lp-hero { padding: 124px 0 64px; }
  .lp-hero__title { font-size: clamp(38px, 11vw, 46px); }
  .lp-hero__text { font-size: 16.5px; margin-top: 20px; }
  .lp-hero__actions { margin-top: 28px; }
  .lp-hero__facts { margin-top: 28px; gap: 10px 16px; }
  .lp-hero__facts li { font-size: 14px; }
  .lp-hero__grid { gap: 56px; }
  .lp-marquee { padding: 16px 0; margin-top: -12px; }
  .lp-tile--hero h3 { font-size: 26px; }
  .lp-tile--hero p { font-size: 15.5px; }
  .lp-tile h3 { font-size: 21px; }
  .lp-split-head { margin-bottom: 36px; }
  .lp-career__media img { aspect-ratio: 1 / 1; }
  .lp-career__media::before { display: none; }
  .lp-float { padding: 10px 14px 10px 10px; font-size: 14px; }
  .lp-float i { width: 34px; height: 34px; font-size: 13px; }
  .lp-flow { margin: 28px 0; gap: 10px; }
  .lp-flow li { padding: 18px 18px 18px 64px; }
  .lp-flow li::before { left: 16px; top: 18px; }
  .lp-approach__sticky .x-btn { margin-top: 26px; }
  .lp-bento { grid-template-rows: 260px 170px; gap: 12px; }
  .lp-bento__dark, .lp-bento__cta { padding: 16px; border-radius: var(--radius-lg); }
  .lp-bento__photo { border-radius: var(--radius-lg); }
  .lp-bento__dark strong { font-size: 19px; letter-spacing: -.02em; }
  .lp-bento__dark span { font-size: 12.5px; }
  .lp-bento__icons { gap: 4px; }
  .lp-bento__icons i { width: 26px; height: 26px; border-radius: 8px; font-size: 11px; }
  .lp-bento__cta strong { font-size: 19px; }
  .lp-bento__cta .lp-arrow { width: 38px; height: 38px; right: 14px; top: 14px; }
  .lp-badge { width: 96px; height: 96px; top: -26px; right: -6px; }
  .lp-badge text { font-size: 8px; letter-spacing: 2.4px; }
  .lp-badge i { width: 36px; height: 36px; margin: -18px 0 0 -18px; font-size: 13px; }
  .lp-bento__chip { left: 12px; bottom: 12px; right: 12px; }
  .lp-services { padding-top: 110px; }
  .lp-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .lp-tile { min-height: 240px; }
  .lp-tile--hero, .lp-tile--wide { grid-column: auto; grid-row: auto; }
  .lp-tile--hero { min-height: 420px; padding: 28px; }
  .lp-tile--wide { flex-direction: column-reverse; }
  .lp-tile--wide .lp-tile__media { flex: 0 0 200px; min-height: 200px; }
  .lp-tile--wide .lp-tile__body { padding: 0 28px 28px; }
  .lp-steps { padding-left: 36px; }
  .lp-steps__line { left: 9px; }
  .lp-step { padding: 24px; }
  .lp-step::before { left: -35px; }
  .lp-flow { grid-template-columns: 1fr; }
  .lp-float--a { left: 10px; top: 14px; }
  .lp-float--b { right: 10px; bottom: 14px; }
}
