/* =========================================================
   Lahore landing pages. Three pages, three looks:
   .lp--map    SEO Expert in Lahore            (survey map: square corners, coordinates, radar)
   .lp--layers Organic Growth Strategist       (soft stacked layers, rounded, graph)
   .lp--brand  Business Branding Expert        (editorial: no radius, hairlines, big italics)
   Loaded after pages.css.
   ========================================================= */
.lp { --r: 20px; }
.lp--map { --r: 3px; }
.lp--layers { --r: 30px; }
.lp--brand { --r: 0px; }
.lp .f-card, .lp .why-card, .lp .reality-card, .lp .ed-box, .lp .fit-card, .lp .stats-row, .lp .about-img-box, .lp .lp-answer, .lp .lp-table, .lp .lp-fig, .lp .lp-ai, .lp .lp-photo, .lp .cs-pillar-card { border-radius: var(--r); }

/* ---------- hero: label, heading, one line, one button ---------- */
.lp .lp-hero { min-height: min(94vh, 940px); display: flex; align-items: center; }
.lp .lp-hero > .w { flex: 1; }
.lp .lp-hero h1 { font-size: clamp(44px, 7.6vw, 128px); max-width: 12ch; }
.lp .lp-hero .desc { max-width: 560px; font-size: clamp(17px, 1.35vw, 21px); }
.lp .lp-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 44px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.lp .lp-hero__meta b { font-weight: 500; color: var(--fg); }
.lp .lp-skyline { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: auto; max-height: 34%; z-index: 0; color: var(--fg); opacity: .22; pointer-events: none; }
.lp--layers .lp-hero { text-align: center; }
.lp--layers .lp-hero h1 { max-width: 15ch; margin-inline: auto; }
.lp--layers .lp-hero .desc { margin-inline: auto; }
.lp--layers .lp-hero .lbl, .lp--layers .lp-hero__meta { justify-content: center; }
.lp--brand .lp-hero { padding-bottom: 0; align-items: stretch; }
.lp--brand .lp-hero > .w { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 70px); align-items: end; }
.lp--brand .lp-hero__txt { padding-bottom: clamp(60px, 9vw, 130px); align-self: center; }
.lp--brand .lp-hero h1 { font-style: italic; max-width: 10ch; }
.lp--brand .lp-hero h1 em { font-style: normal; }
.lp--brand .lp-hero__photo { align-self: end; margin: 0; overflow: hidden; height: min(78vh, 760px); }
.lp--brand .lp-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05); }

/* ---------- short answer block ---------- */
.lp .lp-answer { position: relative; margin-top: clamp(30px, 4vw, 56px); padding: clamp(24px, 3vw, 46px); border: 1px solid var(--fg); background: var(--surface); max-width: 980px; }
.lp .lp-answer__tag { display: block; margin-bottom: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.lp .lp-answer p { font-family: var(--serif); font-size: clamp(20px, 2vw, 30px); line-height: 1.38; color: var(--fg); max-width: none; }
.lp .lp-answer ol { margin: 0; padding: 0; list-style: none; counter-reset: a; display: grid; gap: 0; }
.lp .lp-answer ol li { counter-increment: a; display: grid; grid-template-columns: 54px 1fr; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.55; color: var(--fg); }
.lp .lp-answer ol li::before { content: "0" counter(a); font-family: var(--mono); font-size: 12px; color: var(--mute); }

/* ---------- reading column ---------- */
.lp .lp-prose { max-width: 800px; }
.lp .lp-prose p, .lp .lp-two p { font-size: clamp(17px, 1.28vw, 19.5px); line-height: 1.75; color: var(--mute); }
.lp .lp-prose p + p, .lp .lp-two p + p { margin-top: 1.15em; }
.lp .lp-prose h3, .lp .lp-two h3 { margin: 1.7em 0 .6em; }
.lp .lp-lead { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 36px) !important; line-height: 1.32 !important; color: var(--fg) !important; }
.lp .lp-two { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(34px, 6vw, 110px); align-items: start; }
.lp .lp-two > :first-child { position: sticky; top: 110px; }
.lp .lp-two a:not(.pbtn), .lp .lp-prose a:not(.pbtn), .lp details a, .lp td a { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lp .lp-photo { position: relative; overflow: hidden; margin: 34px 0 0; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 4 / 5; }
.lp .lp-photo--wide { aspect-ratio: 16 / 10; }
.lp .lp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1); transition: filter .8s var(--ease); }
.lp .lp-photo:hover img { filter: grayscale(0); }
.lp .lp-photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; background: var(--fg); color: var(--bg); font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; border-radius: 100px; }
.lp--brand .lp-photo figcaption, .lp--map .lp-photo figcaption { border-radius: 0; }

/* ---------- tables ---------- */
.lp .lp-table { margin-top: clamp(30px, 4vw, 56px); border: 1px solid var(--line); background: var(--surface); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lp .lp-table table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.lp .lp-table th, .lp .lp-table td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.lp .lp-table tr:last-child td { border-bottom: 0; }
.lp .lp-table thead th { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--fg); }
.lp .lp-table tbody th { font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--fg); white-space: nowrap; }
.lp .lp-table td { color: var(--mute); }
.lp .lp-table td b, .lp .lp-table td strong { color: var(--fg); font-weight: 600; }
.lp .lp-note { margin-top: 16px; font-size: 14px; color: var(--mute); max-width: 760px; }

/* ---------- numbered steps ---------- */
.lp .lp-steps { margin-top: clamp(40px, 5vw, 76px); display: grid; border-top: 1px solid var(--fg); }
.lp .lp-step { display: grid; grid-template-columns: minmax(120px, 2fr) 4fr 6fr; gap: clamp(16px, 3vw, 50px); padding: clamp(24px, 3vw, 44px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.lp .lp-step__n { font-family: var(--serif); font-size: clamp(44px, 5vw, 84px); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--stroke); }
.lp .lp-step__n small { display: block; margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; -webkit-text-stroke: 0; color: var(--mute); }
.lp .lp-step p { font-size: 16.5px; line-height: 1.7; color: var(--mute); }

/* ---------- figures (drawn illustrations) ---------- */
.lp .lp-fig { margin: clamp(30px, 4vw, 56px) 0 0; padding: clamp(18px, 2.4vw, 36px); border: 1px solid var(--line); background: var(--surface); color: var(--fg); }
.lp .lp-fig svg { width: 100%; height: auto; display: block; }
.lp .lp-fig figcaption { margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.lp .lp-fig text { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; fill: currentColor; }
.lp .lp-fig .t-serif { font-family: var(--serif); font-size: 20px; letter-spacing: 0; }
.lp .lp-fig .mute { opacity: .5; }
.lp .lp-two .lp-fig { margin-top: 34px; }

/* ---------- AI answer mock ---------- */
.lp .lp-ai { margin-top: clamp(30px, 4vw, 56px); max-width: 820px; padding: clamp(20px, 2.6vw, 38px); border: 1px solid var(--line); background: var(--surface); }
.lp .lp-ai__bar { display: flex; align-items: center; gap: 12px; padding: 13px 18px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 100px; font-size: 15px; color: var(--fg); }
.lp .lp-ai__bar::before { content: ""; width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 50%; flex: none; }
.lp .lp-ai__tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); }
.lp .lp-ai__tag::before { content: "\2726"; }
.lp .lp-ai p { font-size: 16.5px; line-height: 1.7; color: var(--mute); }
.lp .lp-ai p mark { background: none; color: var(--fg); box-shadow: inset 0 -1px 0 var(--fg); }
.lp .lp-ai__src { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.lp .lp-ai__src span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 100px; font-family: var(--mono); font-size: 11px; color: var(--mute); }
.lp .lp-ai__src span.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ---------- photo strip ---------- */
.lp .lp-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 16px); margin-top: clamp(40px, 5vw, 76px); }
.lp .lp-strip .lp-photo { margin: 0; aspect-ratio: 3 / 4; }
.lp .lp-strip .lp-photo:nth-child(even) { transform: translateY(clamp(14px, 2.4vw, 40px)); }

/* ---------- look: survey map (SEO) ---------- */
.lp--map .f-card, .lp--map .why-card, .lp--map .reality-card, .lp--map .ed-box, .lp--map .lp-answer, .lp--map .cs-pillar-card { background-image: linear-gradient(var(--fg), var(--fg)), linear-gradient(var(--fg), var(--fg)), linear-gradient(var(--fg), var(--fg)), linear-gradient(var(--fg), var(--fg)); background-repeat: no-repeat; background-size: 12px 1px, 1px 12px, 12px 1px, 1px 12px; background-position: 0 0, 0 0, 100% 100%, 100% 100%; }
.lp--map .loc-tag { border-radius: 3px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 14px 18px; }
.lp--map .lp-coord { display: block; margin-bottom: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; color: var(--mute); }

/* ---------- look: soft layers (Growth) ---------- */
.lp--layers .f-card, .lp--layers .why-card, .lp--layers .reality-card, .lp--layers .ed-box, .lp--layers .cs-pillar-card { border-width: 0; box-shadow: inset 0 0 0 1px var(--line), 0 14px 0 -8px var(--line), 0 28px 0 -16px var(--line); margin-bottom: 18px; }
.lp--layers .lp-answer { border-radius: 30px; }
.lp--layers .lp-table, .lp--layers .lp-fig, .lp--layers .lp-ai { border-radius: 30px; }
.lp--layers h2 { max-width: 18ch; }

/* ---------- look: editorial (Branding) ---------- */
.lp--brand h2 { font-style: italic; }
.lp--brand h2 em { font-style: normal; opacity: 1; }
.lp--brand .f-card, .lp--brand .why-card, .lp--brand .reality-card, .lp--brand .ed-box, .lp--brand .cs-pillar-card { border-width: 1px 0 0; border-color: var(--fg); background: transparent; padding-left: 0; padding-right: clamp(10px, 2vw, 30px); }
.lp--brand .f-card:hover, .lp--brand .why-card:hover, .lp--brand .reality-card:hover { transform: none; }
.lp--brand .lp-answer { border-width: 1px 0; background: transparent; padding-left: 0; padding-right: 0; }
.lp--brand .pbtn { border-radius: 0; }
.lp .lp-board { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(90px, 11vw, 170px); gap: 0; margin-top: clamp(40px, 5vw, 76px); border: 1px solid var(--fg); }
.lp .lp-board > div { position: relative; display: flex; align-items: flex-end; padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); overflow: hidden; }
.lp .lp-board .b-mark { grid-column: span 2; grid-row: span 2; background: var(--fg); color: var(--bg); align-items: center; justify-content: center; }
.lp .lp-board .b-mark svg { width: 62%; height: auto; fill: currentColor; }
.lp .lp-board .b-type { grid-column: span 2; grid-row: span 2; }
.lp .lp-board .b-type b { position: absolute; left: 16px; top: 6px; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(80px, 13vw, 210px); line-height: 1; letter-spacing: -.04em; color: var(--fg); }
.lp .lp-board .b-photo { grid-column: span 2; grid-row: span 2; padding: 0; }
.lp .lp-board .b-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1); }
.lp .lp-board .b-sw { color: #8d8d8d; }
.lp .lp-board .b-search { grid-column: span 3; align-items: center; gap: 12px; font-family: var(--sans); font-size: clamp(14px, 1.3vw, 18px); letter-spacing: 0; text-transform: none; color: var(--fg); }
.lp .lp-board .b-search::before { content: ""; width: 16px; height: 16px; border: 1.5px solid currentColor; border-radius: 50%; flex: none; }
.lp .lp-board .b-search i { width: 1px; height: 1.2em; background: currentColor; animation: pgPulse 1s steps(1) infinite; }
.lp .lp-board .b-word { grid-column: span 3; align-items: center; font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2.2vw, 34px); letter-spacing: 0; text-transform: none; color: var(--fg); }

@media (max-width: 1100px) {
  .lp .lp-step { grid-template-columns: 110px 1fr; }
  .lp .lp-step > p { grid-column: 2; }
}
@media (max-width: 820px) {
  .lp .lp-two { grid-template-columns: 1fr; }
  .lp .lp-two > :first-child { position: static; }
  .lp--brand .lp-hero > .w { grid-template-columns: 1fr; }
  .lp--brand .lp-hero__txt { padding-bottom: 20px; }
  .lp--brand .lp-hero__photo { height: 58vh; }
  .lp .lp-hero h1 { max-width: none; }
  .lp .lp-strip { grid-template-columns: repeat(2, 1fr); }
  .lp .lp-board { grid-template-columns: repeat(4, 1fr); }
  .lp .lp-board .b-search, .lp .lp-board .b-word { grid-column: span 4; }
  .lp .lp-skyline { max-height: 22%; }
}
@media (max-width: 480px) {
  .lp .lp-step { grid-template-columns: 1fr; gap: 10px; }
  .lp .lp-step > p { grid-column: auto; }
  .lp .lp-table th, .lp .lp-table td { padding: 14px; }
  .lp .lp-table table { font-size: 15px; min-width: 560px; }
  .lp .lp-answer ol li { grid-template-columns: 40px 1fr; }
  .lp .lp-hero__meta { margin-top: 30px; gap: 6px 18px; }
  .lp .lp-board { grid-auto-rows: 84px; }
}

.lp .lp-board .b-type b { text-transform: none; letter-spacing: -.04em; }
.lp .lp-two > *, .lp .w > * { min-width: 0; }
.lp .lp-two .lp-table { max-width: 100%; }

/* Lahore hub */
.lp--hub .cs-pillars-grid { margin-top: clamp(40px, 5vw, 76px); }
.lp--hub a.cs-pillar-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; min-height: clamp(280px, 30vw, 420px); }
.lp--hub a.cs-pillar-card .plink { margin-top: auto; align-self: flex-start; }
.lp--hub a.cs-pillar-card:hover { background: var(--fg); color: var(--bg); }
.lp--hub a.cs-pillar-card:hover h3, .lp--hub a.cs-pillar-card:hover p, .lp--hub a.cs-pillar-card:hover .plink { color: var(--bg); }
.lp--hub a.cs-pillar-card:hover .wc-num { -webkit-text-stroke-color: var(--bg); }
.lp--hub a.cs-pillar-card p { margin-bottom: 26px; }
.lp--hub .fsec__lead { margin-top: 18px; }

/* every landing hero: centred and clean */
.lp .lp-hero { text-align: center; padding-bottom: clamp(72px, 10vw, 150px); align-items: center; }
.lp .lp-hero > .w, .lp--brand .lp-hero > .w { display: block; }
.lp .lp-hero h1, .lp--brand .lp-hero h1 { max-width: 15ch; margin-inline: auto; font-style: normal; font-size: clamp(42px, 6.6vw, 112px); }
.lp--brand .lp-hero h1 em { font-style: italic; }
.lp .lp-hero .desc { margin-inline: auto; max-width: 520px; }
.lp .lp-hero .lbl, .lp .lp-hero__meta { justify-content: center; }

/* portraits are shown whole, never cropped in half */
.lp .lp-photo, .lp .lp-photo--wide { aspect-ratio: auto; }
.lp .lp-photo img { height: auto; }
.lp .lp-strip .lp-photo { aspect-ratio: 3 / 4; }
.lp .lp-strip .lp-photo img { height: 100%; object-position: center top; }
.lp .lp-two > :first-child .lp-photo { max-width: 460px; }
.lp .lp-board { grid-auto-rows: clamp(110px, 13vw, 200px); }
.lp .lp-board .b-photo { grid-row: span 2; }
.lp .lp-board .b-photo img { object-position: center 12%; }

/* left / right blocks on the landing pages: equal height, photo shown whole and sized by that height */
@media (min-width: 821px) {
  .lp .lp-two { align-items: stretch; }
  .lp .lp-two > :first-child { position: static; display: flex; flex-direction: column; }
  .lp .lp-two > :first-child > .lp-photo { flex: 1 1 0; height: 0; min-height: 340px; max-width: none; margin-bottom: 0; border: 0; background: none; overflow: visible; aspect-ratio: auto; }
  .lp .lp-two > :first-child > .lp-photo img { position: absolute; left: 0; top: 0; height: 100%; width: auto; max-width: 100%; object-fit: cover; object-position: center top; border: 1px solid var(--line); border-radius: var(--r); }
  .lp .lp-two > :first-child > .lp-fig { flex: 1; display: flex; flex-direction: column; justify-content: center; margin-bottom: 0; }
  .lp .lp-two > :first-child > .desc:last-child { margin-top: auto; padding-top: 26px; }
}
@media (min-width: 821px) {
  .lp .lp-two > :first-child > .lp-photo { min-height: clamp(440px, 40vw, 600px); }
  .lp .lp-two > :last-child { display: flex; flex-direction: column; justify-content: center; }
}
