/* Landing Nasscom â Figma node 16905:3658 (Landing-nasscom-V2). Scoped to .lpn so it can't touch other pages.
   Traps handled: theme.css sets h1..h6{display:inline} â headings forced back to block below;
   pages-shared.css forces Poppins !important on h-tags â display/serif accents live in <span>/<em>, not the heading tag. */

@font-face {
  font-family: 'Railway Gank';
  src: url('/wp-content/themes/ttc-theme/assets/fonts/custom-fonts/RailwayGank.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.lpn {
  --lpn-hand: 'Railway Gank', 'Caveat Brush', 'Permanent Marker', cursive; /* Figma node 16905:3658 uses Railway_Gank:Regular at 46px for exactly 3 section headings (intro/look/why) */
  --lpn-navy: #0a0e2e; --lpn-pink: #f21d7a; --lpn-yellow: #f7b82a; --lpn-ink: #1c1510;
  color: #000; font-family: 'Poppins', sans-serif; overflow-x: clip; background: #fff;
}
.lpn h1, .lpn h2, .lpn h3 { display: block; margin: 0; }
.lpn p { margin: 0; }
.lpn img { max-width: 100%; }

.lpn-hand { font-family: var(--lpn-hand); font-weight: 400; text-transform: uppercase; letter-spacing: 2.76px; font-size: clamp(30px, 2.9vw, 42px); line-height: 1.2; }
.lpn-pink { color: var(--lpn-pink); }
.lpn-blue { color: #005eb8; }
.lpn-green { color: #77dd77; }

.lpn-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--lpn-yellow); color: var(--lpn-ink); font-weight: 600; font-size: 16px; line-height: 24px; padding: 8px 29px; text-decoration: none; border: 0; cursor: pointer; }
.lpn-btn:hover { background: #eaa90f; color: var(--lpn-ink); }

/* ---------- HERO (1440 x 595) ---------- */
.lpn-hero { position: relative; margin-top: 70px; height: 595px; background: var(--lpn-navy); overflow: hidden; }
.lpn-hero__glyphs { position: absolute; top: 0; left: 0; width: 100%; height: auto; z-index: 0; }
.lpn-hero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(-90deg, #04071e 0%, rgba(10,14,46,.5) 47.8%, #04071e 100%); }
.lpn-hero__booth { position: absolute; z-index: 2; bottom: 0; left: 50%; transform: translateX(-50%); width: 553.7px; height: auto; max-width: none; }
.lpn-hero__title { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); width: calc(100% - 2 * clamp(20px, 6.9vw, 100px)); text-align: center; bottom: 45px; font-family: 'Poppins', sans-serif !important; font-weight: 500; font-size: clamp(38px, 6vw, 86.4px); line-height: 1.1; white-space: nowrap; color: #fff; }
.lpn-hero__title .lpn-o { color: transparent; -webkit-text-stroke: 1px #fff; }
.lpn-hero__title .lpn-s { color: #fff; -webkit-text-stroke: 0; }

/* ---------- INTRO ---------- */
.lpn-intro { position: relative; background: #fff4e9; min-height: 528px; padding: 120px clamp(20px, 6.9vw, 100px); display: flex; align-items: flex-start; overflow: hidden; }
.lpn-intro__text { width: 610px; max-width: 100%; display: flex; flex-direction: column; gap: 40px; position: relative; z-index: 1; }
.lpn-intro__heading .lpn-hand { color: #000; line-height: 1.3; }
.lpn-intro__copy { display: flex; flex-direction: column; gap: 16px; }
.lpn-intro__lead { font-size: 22px; line-height: 1.4; }
.lpn-intro__lead strong { font-weight: 600; }
.lpn-intro__copy p:last-child { font-size: 18px; line-height: 1.5; }
.lpn-intro__img { position: absolute; right: 0; top: -5px; width: 526px; height: 602px; object-fit: cover; max-width: none; }

/* ---------- WHAT ARE YOU LOOKING FOR (sticky image, swaps on scroll) ---------- */
.lpn-look { padding: 100px clamp(20px, 6.9vw, 100px); display: flex; flex-direction: column; gap: 62px; }
.lpn-look__heading { width: 100%; max-width: 1240px; margin: 0 auto !important; } /* beats ".lpn h1,h2,h3{margin:0}" specificity */
.lpn-look__heading .lpn-hand { color: #000; }
.lpn-look__cols { display: flex; align-items: flex-start; gap: 55px; max-width: 1240px; width: 100%; margin: 0 auto; }
.lpn-look__list { flex: 0 0 610px; max-width: 100%; display: flex; flex-direction: column; gap: 120px; }
.lpn-look__item { position: relative; height: 424px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.lpn-num { position: relative; width: 56px; height: 56px; flex: none; }
.lpn-num img { display: block; width: 56px; height: 56px; max-width: none; }
.lpn-num span { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-weight: 700; font-size: 36px; line-height: 1.2; white-space: nowrap; }
.lpn-num--orange span { color: #f96815; }
.lpn-num--purple span { color: #8031a7; }
.lpn-num--green span { color: #00a86b; }
.lpn-num--blue span { color: #005eb8; }
.lpn-look__body { display: flex; flex-direction: column; gap: 24px; }
.lpn-look__body h3 { font-weight: 600; font-size: 24px; line-height: 1.2; }
.lpn-look__body p { font-size: 18px; line-height: 27px; }
.lpn-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.lpn-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 9px 20px; background: #f2f2f2; font-family: 'Inter', 'Poppins', sans-serif; font-weight: 500; font-size: 16px; line-height: normal; color: rgba(0,0,0,.7); text-decoration: none; white-space: nowrap; }
a.lpn-chip:hover { background: #e8e8e8; color: rgba(0,0,0,.9); }
.lpn-chip img { width: 30px; height: 30px; max-width: none; }
.lpn-look__mimg { display: none; }

.lpn-look__panel { position: sticky; top: max(90px, calc(50vh - 212px)); flex: 0 0 575px; width: 575px; height: 424px; background: #f2f2f2; overflow: hidden; }
.lpn-look__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; opacity: 0; transition: opacity .5s ease; }
.lpn-look__img.is-active { opacity: 1; }

/* ---------- WHY TOSS THE COIN (1440 x 811) ---------- */
.lpn-why { position: relative; padding: 86px clamp(20px, 6.9vw, 100px); background-image: linear-gradient(57.6deg, #0a0e2e 22.47%, #0a0e2e 65.06%, #f21d7a 114.84%); color: #f2f2f2; display: flex; flex-direction: column; align-items: center; }
.lpn-why__head { width: 100%; max-width: 1252px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.lpn-why__heading .lpn-hand { color: #f2f2f2; }
.lpn-why__head p { max-width: 823px; font-size: 18px; line-height: 1.5; opacity: .9; }
.lpn-why__head a { color: #fff; text-decoration: underline; }
.lpn-why__shapes { position: absolute; left: 58.96%; top: 190px; width: 33.06%; height: auto; max-width: none; }
.lpn-why__cards { width: 100%; max-width: 1252px; margin: 62px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 404px)); gap: 20px; }
.lpn-why__card { min-height: 276px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 62px; color: #000; }
.lpn-why__card > img { height: 40px; width: auto; max-width: none; align-self: flex-start; }
.lpn-why__card h3 { font-weight: 600; font-size: 20px; line-height: 30px; margin-bottom: 9px; }
.lpn-why__card p { font-size: 18px; line-height: 28.8px; }
.lpn-why__card--peach { background: #feede9; }
.lpn-why__card--sky { background: #cdeff8; }
.lpn-why__card--lilac { background: #e7dff6; }
.lpn-why__btn { margin-top: 42px; width: 180px; height: 40px; padding: 0; }

/* ---------- EXPLORE / SUCCESS STORIES ---------- */
.lpn-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1240px; margin: 90px auto 0; padding: 0 clamp(20px, 6.9vw, 100px); box-sizing: content-box; }
.lpn-split__card { position: relative; height: 424px; padding: 32px; overflow: hidden; display: flex; flex-direction: column; background: var(--lpn-navy); }
.lpn-split__card > * { position: relative; z-index: 2; }
.lpn-split__card .lpn-split__bg { position: absolute; z-index: 0; max-width: none; }
.lpn-split__card .lpn-split__shade { position: absolute; z-index: 1; inset: 0; }
.lpn-split__text h2 { font-family: 'Poppins', sans-serif !important; font-weight: 600; font-size: 32px; line-height: 1.2; color: #fff; }
.lpn-split__text h2 em { font-family: 'Source Serif 4', serif; font-weight: 600; font-style: italic; font-size: 36px; }
.lpn-split__text p { font-size: 18px; line-height: 1.5; color: #fff; margin-top: 12px; }
.lpn-split__card--one { gap: 24px; justify-content: flex-start; }
.lpn-split__card--one .lpn-split__bg { width: 1155px; height: 471px; left: -189.5px; top: -23px; object-fit: cover; }
.lpn-split__card--one .lpn-split__shade { background: linear-gradient(180deg, #0a0e2e 0%, rgba(0,22,196,.2) 100%); }
.lpn-split__card--one h2 em { color: #f96815; }
.lpn-split__card--one .lpn-btn { align-self: flex-start; padding: 7px 29px; }
.lpn-split__mock { position: absolute !important; z-index: 1 !important; left: 175px; top: 150px; width: 492px; height: auto; max-width: none; }
.lpn-split__glyph { position: absolute !important; z-index: 1 !important; left: 131px; top: 320px; width: 104.85px; height: 104px; transform: rotate(180deg); display: block; }
.lpn-split__glyph > span { position: absolute !important; z-index: auto !important; left: 0; width: 100%; height: 48.71%; display: flex; align-items: center; justify-content: center; }
.lpn-split__glyph > span:first-child { top: 0; }
.lpn-split__glyph > span:last-child { top: 51.29%; }
.lpn-split__glyph img { flex: none; width: 50.66px; height: 104.85px; max-width: none; transform: rotate(90deg) scaleX(-1); }
.lpn-split__card--two { justify-content: flex-end; gap: 32px; }
.lpn-split__card--two .lpn-split__bg { width: 964px; height: 508px; left: calc(50% + 40px); top: 50%; transform: translate(-50%, -50%); object-fit: cover; }
.lpn-split__card--two .lpn-split__shade { background: linear-gradient(0deg, #0a0e2e 14.5%, rgba(242,29,122,.2) 100%); }
.lpn-split__card--two h2 em { color: #ffb900; }
.lpn-split__card--two .lpn-split__text p { margin-top: 4px; }
.lpn-split__card--two .lpn-btn { align-self: flex-start; width: 158px; height: 40px; padding: 0; }

/* ---------- CTA BAND ---------- */
.lpn-cta.cta-section { position: relative; background: #000; margin-top: 120px; min-height: 554px; padding: 0; overflow: hidden; text-align: center; }
.lpn-cta .lottie-shapes-container { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100vw; margin: 0; padding: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.lpn-cta__inner { position: relative; z-index: 1; max-width: 940px; margin: 0 auto; padding: 76px 20px 0; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.lpn-cta__heading { display: flex !important; flex-direction: column; gap: 11px; font-family: 'Poppins', sans-serif !important; font-weight: 600; font-size: clamp(30px, 3.6vw, 40px); line-height: 1.2; color: #fff; }
.lpn-cta__heading em { font-family: 'Source Serif 4', serif; font-weight: 600; font-style: italic; color: #ffe399; white-space: nowrap; }
.lpn-cta .lpn-btn { height: 42px; padding: 0 28px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1200px) {
  .lpn-why__shapes { display: none; }
  .lpn-why__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lpn-look__cols { gap: 32px; }
  .lpn-look__list { flex: 1 1 0; min-width: 0; }
  .lpn-look__panel { flex: 0 0 min(575px, 44vw); width: min(575px, 44vw); }
}
@media (max-width: 991px) {
  .lpn-cta__heading em { white-space: normal; }
  .lpn-hero { height: auto; min-height: 480px; }
  .lpn-hero__title { white-space: normal; max-width: 90%; bottom: 28px; font-size: clamp(34px, 9vw, 64px); }
  .lpn-hero__booth { width: min(420px, 78vw); }
  .lpn-intro { padding: 72px 20px 380px; }
  .lpn-intro__img { width: 300px; height: auto; right: 0; top: auto; bottom: 0; }
  .lpn-look { padding: 64px 20px; gap: 36px; }
  .lpn-look__cols { display: block; }
  .lpn-look__panel { display: none; }
  .lpn-look__list { gap: 56px; }
  .lpn-look__item { height: auto; }
  .lpn-look__mimg { display: block; width: 100%; aspect-ratio: 575 / 424; object-fit: cover; margin-top: 8px; }
  .lpn-chip { white-space: normal; }
  .lpn-why { padding: 64px 20px; }
  .lpn-why__cards { grid-template-columns: 1fr; margin-top: 40px; }
  .lpn-why__card { min-height: 0; }
  .lpn-split { grid-template-columns: 1fr; margin-top: 56px; padding: 0 20px; }
  .lpn-split__card--one .lpn-split__mock { left: auto; right: -60px; max-width: 420px; }
  .lpn-cta.cta-section { margin-top: 72px; min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .lpn-look__img { transition: none; }
}
