/* =========================================================
   Service / profile pages (about, seo, branding, lahore, gallery, contact, order)
   Same content as the live pages, new look that matches the home page:
   alternating black and white sections, serif display headings,
   mono labels, hairline cards. Loaded after style.css and inner.css.
   ========================================================= */

/* solid pill button that follows the section theme */
.pbtn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 12px 30px; border-radius: 100px; border: 1px solid var(--fg); background: var(--fg); color: var(--bg); font: 500 15px/1.2 var(--sans); letter-spacing: .01em; cursor: pointer; text-decoration: none; transition: background .45s var(--ease), color .45s var(--ease); }
.pbtn:hover { background: transparent; color: var(--fg); }
.pbtn svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.pbtn:hover svg { transform: translateX(4px); }
.pbtn[disabled] { opacity: .5; pointer-events: none; }
.plink { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding-bottom: 6px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); transition: border-color .3s, gap .3s; }
.plink:hover { border-color: var(--fg); gap: 16px; }
.plink svg { width: 16px; height: 16px; }

.pg [data-theme] { position: relative; padding: clamp(72px, 10vw, 150px) 0; overflow: hidden; overflow: clip; }
.pg [data-theme="dark"] + [data-theme="dark"] { border-top: 1px solid var(--line-d); }
.pg [data-theme="light"] + [data-theme="light"] { border-top: 1px solid var(--line-l); }
.pg .w, .pg .sec-wrapper { position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.pg svg { width: 22px; height: 22px; flex: none; }
.pg img { max-width: 100%; height: auto; display: block; }
.pg p { margin: 0; }
.pg strong { font-weight: 600; color: var(--fg); }
.pg em { font-style: italic; }

/* labels */
.pg .lbl, .pg .ah-label { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg); opacity: .8; }
.pg .lbl::before, .pg .ah-label::before { content: ""; width: 40px; height: 1px; background: currentColor; flex: none; }
.pg .lbl svg { width: 14px; height: 14px; }
.pg .dot-pulse { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; animation: pgPulse 2s ease-in-out infinite; }
@keyframes pgPulse { 50% { opacity: .25; transform: scale(.7); } }

/* headings */
.pg h1, .pg h2, .pg h3, .pg h4 { margin: 0; font-family: var(--serif); font-weight: 400; color: var(--fg); text-wrap: balance; }
.pg h1 { font-size: clamp(42px, 7vw, 118px); line-height: .98; letter-spacing: -.03em; max-width: 14ch; }
.pg .hero-content-left h1, .pg .hero-text h1 { font-size: clamp(38px, 5.2vw, 88px); max-width: none; }
.pg h2 { font-size: clamp(34px, 5vw, 80px); line-height: 1.02; letter-spacing: -.025em; max-width: 20ch; }
.pg h3, .pg h4 { font-size: clamp(22px, 2vw, 30px); line-height: 1.15; letter-spacing: -.01em; }
.pg h1 em, .pg h2 em { opacity: .58; }
.pg h1 + p, .pg h2 + p, .pg .hero-story-quote + p { margin-top: 26px; }
.pg .desc, .pg .ah-desc, .pg .why-intro { max-width: 760px; font-size: clamp(16px, 1.2vw, 18.5px); line-height: 1.7; color: var(--mute); }
.pg .desc + .desc, .pg p + p { margin-top: 1.1em; }
.pg .w > .desc + div, .pg .w > h2 + div, .pg .sec-wrapper > .v-header + div, .pg .why-intro + div { margin-top: clamp(40px, 5vw, 76px); }
.pg .why-intro { margin-top: 26px; }
.pg .w > div + .desc { margin-top: clamp(34px, 4vw, 56px); max-width: 900px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.5; color: var(--fg); font-family: var(--serif); }

/* hero (first section of each page) */
.pg [data-theme]:first-child { padding-top: clamp(150px, 21vh, 230px); }
.pg [data-theme]:first-child::before, .pg .cta-glow, .pg .seo-hero-glow, .pg .hero-glow, .pg .hero-bg-layer { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 82% 0%, var(--glow), transparent 70%); pointer-events: none; }
.pg [data-theme]:first-child .pbtn { margin-top: 36px; }
.pg .hero-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(36px, 6vw, 110px); align-items: end; }
.pg .hero-stats { display: grid; border-top: 1px solid var(--fg); }
.pg .hs-item { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pg .hs-item .num { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 44px); line-height: 1; }
.pg .hs-item .text { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); text-align: right; }

/* generic grids + cards */
.pg .ventures-grid, .pg .bento-grid, .pg .stair-grid, .pg .reality-grid, .pg .feature-grid, .pg .editorial-grid, .pg .fit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.pg .phil-grid, .pg .why-feature-grid, .pg .info-grid, .pg .why-grid, .pg .hero-ed-grid, .pg .cs-pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.pg .venture-card, .pg .bento-card, .pg .stair-card, .pg .reality-card, .pg .f-card, .pg .ed-box, .pg .why-feature-card, .pg .info-card, .pg .why-card, .pg .cs-pillar-card, .pg .fit-card, .pg .cs-live-banner, .pg .phil-item {
  position: relative; padding: clamp(24px, 2.6vw, 42px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface);
  transition: border-color .5s var(--ease), transform .6s var(--ease-out);
}
.pg .venture-card:hover, .pg .bento-card:hover, .pg .stair-card:hover, .pg .reality-card:hover, .pg .f-card:hover, .pg .why-feature-card:hover, .pg .info-card:hover, .pg .why-card:hover, .pg .cs-pillar-card:hover, .pg .phil-item:hover { border-color: var(--fg); transform: translateY(-4px); }
.pg [class*="card"] h3, .pg [class*="card"] h4, .pg .ed-box h3, .pg .phil-item h3 { margin-bottom: 14px; }
.pg [class*="card"] p, .pg .ed-box p, .pg .phil-item p, .pg .cs-live-banner p { font-size: 16px; line-height: 1.68; color: var(--mute); max-width: none; }
.pg .bento-large, .pg .feature-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.pg .bento-card > svg, .pg .stair-card > svg, .pg .info-card > svg, .pg .f-icon, .pg .wf-icon-wrap { display: grid; place-items: center; width: 52px; height: 52px; padding: 14px; margin-bottom: 26px; border: 1px solid var(--line); border-radius: 50%; color: var(--fg); }
.pg .f-icon svg, .pg .wf-icon-wrap svg { width: 22px; height: 22px; }
.pg .bento-large { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 44px); }
.pg .bento-large > svg { margin-bottom: 0; }

/* numbered things */
.pg .vc-year, .pg .ic-label, .pg .card-category, .pg .stat-lbl { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.pg .vc-year { margin-bottom: 40px; }
.pg .wc-num, .pg .reality-num, .pg .st-num, .pg .phil-item::before { display: block; margin-bottom: clamp(28px, 4vw, 60px); font-family: var(--serif); font-size: clamp(40px, 4vw, 64px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--stroke); }
.pg .phil-grid { counter-reset: phil; }
.pg .phil-item::before { counter-increment: phil; content: "0" counter(phil); }

/* lists */
.pg ul { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pg ul li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.55; color: var(--mute); }
.pg ul li::before { content: "\2192"; color: var(--fg); flex: none; }
.pg ul.who-list li::before { content: none; }
.pg ul li svg { margin-top: 2px; color: var(--fg); }

/* two-column sticky layouts */
.pg .who-grid, .pg .split-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 110px); align-items: start; }
.pg .who-sticky, .pg .split-sticky { position: sticky; top: 110px; }
.pg .who-content { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.7; color: var(--mute); }
.pg .who-content p + p, .pg .who-content ul + p { margin-top: 1.3em; }
.pg .split-grid > div:last-child > .desc:first-child { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 34px); line-height: 1.35; color: var(--fg); max-width: none; }
.pg .split-grid .editorial-grid { margin-top: clamp(30px, 4vw, 56px); }
.pg .about-img-box, .pg .cs-img-wrap, .pg .story-image, .pg .hero-portrait-card { position: relative; overflow: hidden; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.pg .about-img-box { margin-top: 34px; aspect-ratio: 4 / 3; }
.pg .about-img-box img, .pg .cs-img-wrap img, .pg .story-image img, .pg .hero-portrait-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .8s var(--ease), transform 1.2s var(--ease-out); }
.pg .about-img-box:hover img, .pg .cs-img-wrap:hover img, .pg .story-image:hover img, .pg .hero-portrait-card:hover img { filter: grayscale(0); transform: scale(1.03); }
.pg .accent-line { display: none; }

/* highlight block (inverted) */
.pg .why-feature-highlight { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(28px, 4vw, 64px); border-radius: 20px; background: var(--fg); color: var(--bg); }
.pg .why-hl-label { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -.02em; }
.pg .why-hl-label em { opacity: .6; }
.pg .why-feature-highlight p { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.7; color: inherit; opacity: .75; }
.pg .why-feature-highlight strong { color: inherit; }

/* about */
.pg .story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.pg .story-image { aspect-ratio: 3 / 4; }
.pg .story-image img, .pg .hero-portrait-img { object-position: top; }
.pg .story-text p { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.7; color: var(--mute); }
.pg .story-text h2 { margin-bottom: 30px; }

/* contact */
.pg .ic-title { margin: 10px 0 18px; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; color: var(--fg); }
.pg .ic-value { display: inline-block; font-size: 16px; line-height: 1.6; color: var(--fg); overflow-wrap: anywhere; }
.pg a.ic-value { border-bottom: 1px solid var(--line); }
.pg a.ic-value:hover { border-color: var(--fg); }

/* closing call to action */
.pg .is-cta { text-align: center; }
.pg .is-cta .lbl, .pg .is-cta .ah-label, .pg .is-center .lbl { justify-content: center; }
.pg .is-cta .lbl::before, .pg .is-cta .ah-label::before, .pg .is-center .lbl::before { display: none; }
.pg .is-cta h2 { max-width: 16ch; margin-inline: auto; font-size: clamp(40px, 7vw, 116px); line-height: .98; }
.pg .is-cta p { margin-inline: auto; max-width: 700px; }
.pg .is-cta .pbtn { margin-top: 40px; }
.pg .is-cta .cta-glow, .pg .is-cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 70% at 50% 100%, var(--glow), transparent 70%); }

/* FAQ */
.pg details { border-bottom: 1px solid var(--line); }
.pg details:first-of-type { border-top: 1px solid var(--fg); }
.pg summary { position: relative; list-style: none; cursor: pointer; padding: 26px 50px 26px 0; font-family: var(--serif); font-size: clamp(20px, 1.9vw, 28px); line-height: 1.25; color: var(--fg); text-align: left; }
.pg summary::-webkit-details-marker { display: none; }
.pg summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font: 300 28px/1 var(--sans); transition: transform .4s var(--ease); }
.pg details[open] summary::after { transform: rotate(45deg); }
.pg details p { padding: 0 50px 28px 0; max-width: 780px; font-size: 17px; line-height: 1.7; color: var(--mute); text-align: left; }
.pg .is-faq .w > div:last-child { max-width: 980px; margin: clamp(40px, 5vw, 70px) auto 0; }
.pg .is-faq .w > .lbl, .pg .is-faq .w > div:first-child .lbl { justify-content: center; }
.pg .is-faq .lbl::before { display: none; }
.pg .is-faq h2 { margin-inline: auto; text-align: center; }

/* lahore */
.pg .hero-split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.pg .hero-story-quote { margin-top: 30px; padding-left: 22px; border-left: 1px solid var(--fg); }
.pg .hero-story-quote .desc { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 25px); line-height: 1.45; color: var(--fg); }
.pg .hero-portrait-card { aspect-ratio: 4 / 5; }
.pg .hero-float-badge { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 100px; background: var(--fg); color: var(--bg); font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.pg .hero-editorial-sec { margin-top: clamp(50px, 7vw, 110px); }
.pg .cs-spotlight-card { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 70px); align-items: center; margin-top: clamp(40px, 5vw, 76px); }
.pg .cs-img-wrap { aspect-ratio: 4 / 3; }
.pg .cs-spotlight-body h3 { font-size: clamp(26px, 2.8vw, 44px); margin-bottom: 20px; }
.pg .cs-spotlight-body .desc { max-width: none; }
.pg .cs-pillars-grid, .pg .stats-row, .pg .cs-live-banner { margin-top: clamp(14px, 1.6vw, 24px); }
.pg .stats-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--surface); }
.pg .stat-box { padding: clamp(22px, 2.6vw, 40px); border-left: 1px solid var(--line); }
.pg .stat-box:first-child { border-left: 0; }
.pg .stat-val { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 60px); line-height: 1; letter-spacing: -.02em; margin-bottom: 14px; }
.pg .cs-live-banner { background: var(--fg); border-color: var(--fg); }
.pg .cs-live-banner h3, .pg .cs-live-banner .lbl, .pg .cs-live-banner p { color: var(--bg); }
.pg .cs-live-banner p { opacity: .75; }
.pg .loc-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.pg .loc-tag { padding: 14px 26px; border: 1px solid var(--line); border-radius: 100px; font-family: var(--serif); font-size: clamp(18px, 1.7vw, 26px); transition: background .4s var(--ease), color .4s var(--ease); }
.pg .loc-tag:hover { background: var(--fg); color: var(--bg); }
.pg .fit-grid { grid-template-columns: 1fr; }
.pg .fit-card h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }
.pg .fit-card h4::before { content: "\2713\00a0\00a0"; }
.pg .fit-card.poor h4::before { content: "\2715\00a0\00a0"; }
.pg .fit-card.poor { background: transparent; border-style: dashed; }
.pg .reality-grid + div { margin-top: clamp(14px, 1.6vw, 24px); padding: clamp(24px, 3vw, 44px); border: 1px solid var(--fg); border-radius: 20px; }
.pg .reality-grid + div .desc { max-width: none; color: var(--fg); font-family: var(--serif); font-size: clamp(19px, 1.8vw, 27px); line-height: 1.45; }

/* gallery */
.pg .gallery-grid { columns: 3; column-gap: clamp(12px, 1.4vw, 22px); }
.pg .gallery-card { position: relative; break-inside: avoid; margin: 0 0 clamp(12px, 1.4vw, 22px); border-radius: 16px; overflow: hidden; cursor: pointer; background: var(--surface); border: 1px solid var(--line); }
.pg .card-img-wrap { position: relative; overflow: hidden; }
.pg .card-img { width: 100%; filter: grayscale(1); transform: scale(1.04); transition: filter .8s var(--ease), transform 1.2s var(--ease-out); }
.pg .gallery-card:hover .card-img, .pg .gallery-card:focus-visible .card-img { filter: grayscale(0); transform: scale(1); }
.pg .zoom-badge { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--paper); color: var(--ink); opacity: 0; transform: scale(.7); transition: opacity .4s, transform .5s var(--ease-out); }
.pg .zoom-badge svg { width: 18px; height: 18px; }
.pg .gallery-card:hover .zoom-badge { opacity: 1; transform: none; }
.pg .card-content { padding: 16px 18px 18px; }
.pg .card-title { font-size: clamp(17px, 1.4vw, 21px); }
.pg .card-category { margin-bottom: 6px; }
#tds-lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 40px); background: rgba(6,6,6,.96); color: var(--paper); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
#tds-lightbox.active { opacity: 1; visibility: visible; }
#tds-lightbox .lightbox-dialog { display: flex; flex-direction: column; width: 100%; max-width: 1100px; max-height: 100%; }
#tds-lightbox .lightbox-img-area { display: flex; align-items: center; justify-content: center; min-height: 0; }
#tds-lightbox .lightbox-img-area img { max-width: 100%; max-height: 76vh; object-fit: contain; border-radius: 10px; }
#tds-lightbox .lightbox-info { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; }
#tds-lightbox .lb-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(17px, 1.6vw, 24px); color: var(--paper); }
#tds-lightbox .lb-controls { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--mute-d); white-space: nowrap; }
#tds-lightbox button { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-d); background: transparent; color: var(--paper); cursor: pointer; transition: background .3s, color .3s; }
#tds-lightbox button:hover { background: var(--paper); color: var(--ink); }
#tds-lightbox .lb-close { position: absolute; right: clamp(12px, 2vw, 28px); top: clamp(12px, 2vw, 28px); z-index: 2; }
#tds-lightbox svg { width: 20px; height: 20px; }

/* order wizard */
.claix-op-wrap { padding: 0 0 clamp(70px, 9vw, 130px); }
.claix-op-wrap > * { max-width: 980px; margin-inline: auto; padding-inline: var(--gutter); }
.claix-op-wrap > .claix-op-hero { max-width: none; padding: clamp(150px, 21vh, 230px) var(--gutter) clamp(60px, 8vw, 110px); margin-bottom: clamp(40px, 6vw, 80px); text-align: center; }
.claix-op-wrap svg { width: 20px; height: 20px; flex: none; }
.claix-op-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.claix-op-eyebrow svg { width: 14px; height: 14px; }
.claix-op-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 118px); line-height: .98; letter-spacing: -.03em; }
.claix-op-hero p { max-width: 620px; margin: 26px auto 0; font-size: clamp(16px, 1.2vw, 18.5px); line-height: 1.7; color: var(--mute); }
.claix-op-steps { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: clamp(36px, 5vw, 64px); }
.claix-op-step-item { display: flex; align-items: center; gap: 10px; color: var(--mute); }
.claix-op-step-item.active, .claix-op-step-item.done { color: var(--fg); }
.claix-op-step-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); font-family: var(--mono); font-size: 13px; transition: background .4s, color .4s, border-color .4s; }
.claix-op-step-num.active, .claix-op-step-num.done { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.claix-op-step-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.claix-op-step-line { flex: 1; max-width: 110px; height: 1px; background: var(--line); transition: background .4s; }
.claix-op-step-line.done { background: var(--fg); }
.claix-op-panel { display: none; }
.claix-op-panel.active { display: block; animation: pgIn .6s var(--ease-out); }
@keyframes pgIn { from { opacity: 0; transform: translateY(16px); } }
.claix-op-section-title { margin-bottom: 30px; text-align: center; }
.claix-op-section-title h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.02em; }
.claix-op-section-title p { margin-top: 12px; color: var(--mute); }
.claix-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.claix-service-card { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); cursor: pointer; transition: border-color .4s, background .4s, color .4s, transform .5s var(--ease-out); }
.claix-service-card:hover { border-color: var(--fg); transform: translateY(-4px); }
.claix-service-card.selected { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.claix-svc-icon, .cst-icon, .claix-csl-opt-icon, .claix-trust-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent !important; color: inherit !important; flex: none; }
.claix-csl-opt-icon svg { color: inherit !important; width: 16px; height: 16px; }
.claix-service-card.selected .claix-svc-icon { border-color: currentColor; }
.claix-svc-name { margin-top: 44px; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.1; }
.claix-svc-tagline:empty { display: none; }
.claix-svc-check { position: absolute; right: 20px; top: 20px; opacity: 0; transition: opacity .3s; }
.claix-service-card.selected .claix-svc-check { opacity: 1; }
.claix-op-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.claix-op-nav-next:only-child { margin-left: auto; }
.claix-op-nav-next, .claix-op-nav-back, .claix-order-submit-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 28px; border-radius: 100px; border: 1px solid var(--fg); background: var(--fg); color: var(--bg); font: 500 15px/1.2 var(--sans); cursor: pointer; transition: background .4s, color .4s, opacity .3s; }
.claix-op-nav-next:hover, .claix-order-submit-btn:hover { background: transparent; color: var(--fg); }
.claix-op-nav-back { background: transparent; color: var(--fg); border-color: var(--line); }
.claix-op-nav-back:hover { border-color: var(--fg); }
.claix-op-nav-next[disabled], .claix-order-submit-btn[disabled] { opacity: .35; cursor: not-allowed; pointer-events: none; }
.claix-selected-service-badge { display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; margin: 0 auto 22px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 100px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.claix-selected-service-badge svg { width: 14px; height: 14px; }
.claix-custom-select-wrap { position: relative; }
.claix-custom-select-trigger { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); cursor: pointer; font-size: 17px; }
.claix-custom-select-trigger > svg { margin-left: auto; transition: transform .4s var(--ease); }
.claix-custom-select-wrap.open .claix-custom-select-trigger { border-color: var(--fg); }
.claix-custom-select-wrap.open .claix-custom-select-trigger > svg { transform: rotate(180deg); }
.cst-placeholder { color: var(--mute); }
.claix-custom-select-list { display: none; margin-top: 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; }
.claix-custom-select-wrap.open .claix-custom-select-list { display: block; }
.claix-csl-option { display: flex; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; border-top: 1px solid var(--line); transition: background .3s, color .3s; }
.claix-csl-option:first-child { border-top: 0; }
.claix-csl-option:hover, .claix-csl-option.selected-opt { background: var(--fg); color: var(--bg); }
.claix-csl-opt-info { flex: 1; min-width: 0; }
.claix-csl-opt-name { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.claix-csl-opt-desc { margin-top: 5px; font-size: 14px; line-height: 1.5; opacity: .65; }
.claix-csl-opt-badge { padding: 7px 12px; border: 1px solid currentColor; border-radius: 100px; background: transparent !important; color: inherit !important; font-family: var(--mono); font-size: 11px; white-space: nowrap; }
.claix-order-summary-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 18px 24px; margin-bottom: 18px; border: 1px solid var(--fg); border-radius: 18px; }
.claix-osb-item { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.claix-osb-item svg { width: 16px; height: 16px; }
.claix-osb-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.claix-osb-value { font-weight: 600; }
.claix-osb-divider { width: 1px; height: 22px; background: var(--line); }
.claix-order-form-card { padding: clamp(22px, 3vw, 44px); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.claix-premium-form { display: grid; gap: 16px; }
.claix-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.claix-form-row { display: grid; gap: 8px; }
.claix-form-row label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.claix-form-row .req { color: var(--fg); }
.claix-form-row input, .claix-form-row textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; outline: none; transition: border-color .3s, box-shadow .3s; }
.claix-form-row textarea { min-height: 140px; resize: vertical; }
.claix-form-row input:focus, .claix-form-row textarea:focus { border-color: var(--fg); box-shadow: 0 0 0 3px var(--glow); }
.claix-order-submit-btn { width: 100%; margin-top: 6px; }
.claix-order-privacy { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--mute); text-align: center; }
.claix-order-privacy svg { width: 14px; height: 14px; }
.claix-op-trust-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(30px, 4vw, 50px); border-top: 1px solid var(--line); }
.claix-trust-item { display: flex; align-items: center; gap: 14px; }
.claix-trust-info strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; }
.claix-trust-info span { font-size: 13px; color: var(--mute); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .pg .phil-grid, .pg .why-feature-grid, .pg .info-grid, .pg .why-grid, .pg .hero-ed-grid, .pg .cs-pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .pg .phil-grid > :last-child:nth-child(odd), .pg .info-grid > :last-child:nth-child(odd), .pg .hero-ed-grid > :last-child:nth-child(odd), .pg .cs-pillars-grid > :last-child:nth-child(odd), .pg .why-feature-grid > .why-feature-card:nth-child(3) { grid-column: 1 / -1; }
  .pg .stats-row { grid-template-columns: repeat(2, 1fr); }
  .pg .stat-box:nth-child(3) { border-left: 0; }
  .pg .stat-box:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pg .split-grid .editorial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .pg .hero-grid, .pg .who-grid, .pg .split-grid, .pg .story-grid, .pg .hero-split, .pg .cs-spotlight-card, .pg .why-feature-highlight { grid-template-columns: 1fr; }
  .pg .who-sticky, .pg .split-sticky { position: static; }
  .pg .ventures-grid, .pg .bento-grid, .pg .stair-grid, .pg .reality-grid, .pg .feature-grid, .pg .editorial-grid { grid-template-columns: 1fr; }
  .pg .phil-grid, .pg .why-feature-grid, .pg .info-grid, .pg .why-grid, .pg .hero-ed-grid, .pg .cs-pillars-grid { grid-template-columns: 1fr; }
  .pg .bento-large { grid-template-columns: 1fr; }
  .pg .story-image, .pg .hero-portrait-card { max-width: 460px; }
  .pg .gallery-grid { columns: 2; }
  .pg h1 { max-width: none; }
  .pg summary { padding-right: 40px; }
  .pg details p { padding-right: 0; }
  .claix-services-grid, .claix-op-trust-bar { grid-template-columns: 1fr; }
  .claix-svc-name { margin-top: 24px; }
  .claix-form-grid { grid-template-columns: 1fr; }
  .claix-csl-option { flex-wrap: wrap; gap: 12px; }
  .claix-csl-opt-info { flex: 1 1 100%; }
  .claix-csl-opt-icon { display: none; }
}
@media (max-width: 480px) {
  .pg [data-theme] { padding: 64px 0; }
  .pg [data-theme]:first-child { padding-top: 130px; }
  .pg .lbl, .pg .ah-label { font-size: 10.5px; letter-spacing: .16em; }
  .pg .lbl::before, .pg .ah-label::before { width: 24px; }
  .pg .venture-card, .pg .bento-card, .pg .stair-card, .pg .reality-card, .pg .f-card, .pg .ed-box, .pg .why-feature-card, .pg .info-card, .pg .why-card, .pg .cs-pillar-card, .pg .fit-card, .pg .cs-live-banner, .pg .phil-item { padding: 22px; border-radius: 16px; }
  .pg .hs-item { flex-direction: column; gap: 6px; }
  .pg .hs-item .text { text-align: left; }
  .pg .stat-box { padding: 18px; }
  .pg .stat-val { font-size: 26px; }
  .pg .loc-tag { padding: 11px 18px; }
  .pbtn { width: 100%; }
  .pg .gallery-grid { column-gap: 10px; }
  .pg .gallery-card { margin-bottom: 10px; border-radius: 12px; }
  .pg .card-content { padding: 10px 12px 12px; }
  .pg .zoom-badge { display: none; }
  .claix-op-step-label { display: none; }
  .claix-op-nav > * { flex: 1 1 100%; }
  .claix-csl-opt-icon, .claix-osb-divider { display: none; }
  #tds-lightbox .lightbox-info { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .pg .dot-pulse, .claix-op-panel.active { animation: none; } }

/* =========================================================
   Motion layer (js/fx.js): canvas scenes, intro curtain,
   word masks, drifting outline words, marquee
   ========================================================= */
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.phero .wrap, .claix-op-hero > :not(canvas) { position: relative; z-index: 1; }
.claix-op-hero { position: relative; overflow: hidden; }
.pcurtain { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--ink); animation: pcOut .4s 3.5s forwards; }
.pcurtain svg { width: min(200px, 38vw); height: auto; fill: var(--paper); animation: pcLogo 1.1s ease-in-out infinite alternate; }
@keyframes pcOut { to { opacity: 0; visibility: hidden; } }
@keyframes pcLogo { from { opacity: .35; } to { opacity: 1; } }
.w-word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .14em 0; margin: 0 -.08em -.14em 0; }
.w-word > span { display: inline-block; will-change: transform; }
.ghost { position: absolute; left: 0; bottom: -.16em; z-index: 0; white-space: nowrap; pointer-events: none; font-family: var(--serif); font-style: italic; font-size: clamp(110px, 20vw, 330px); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--stroke); opacity: .13; will-change: transform; }
.lbl__n { opacity: .55; letter-spacing: .05em; }
.pg .lbl__n { order: -2; }
.pg .lbl:has(.lbl__n)::before, .pg .ah-label:has(.lbl__n)::before { order: -1; }
.pg .marquee[data-theme] { padding: 26px 0; overflow: hidden; }
.pg .marquee + [data-theme] { border-top: 0; }
.blog-list[data-theme] { padding-top: clamp(50px, 6vw, 90px); }
.fx-on .pg .about-img-box img, .fx-on .pg .cs-img-wrap img, .fx-on .pg .story-image img, .fx-on .pg .hero-portrait-img { transition: filter .8s var(--ease); }
.fx-on .pg .venture-card, .fx-on .pg .bento-card, .fx-on .pg .stair-card, .fx-on .pg .reality-card, .fx-on .pg .f-card, .fx-on .pg .why-feature-card, .fx-on .pg .info-card, .fx-on .pg .why-card, .fx-on .pg .cs-pillar-card, .fx-on .pg .phil-item { will-change: transform; }
/* buttons carry the home page's arrow */
.pbtn::after { content: "\2192"; display: inline-block; transition: transform .5s var(--ease); }
.pbtn:hover::after { transform: translateX(5px) rotate(-45deg); }
.pbtn:has(svg)::after { content: none; }
.pg .ventures-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .pg .ventures-grid { grid-template-columns: repeat(2, 1fr); } .pg .ventures-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 820px) { .pg .ventures-grid { grid-template-columns: 1fr; } .ghost { font-size: 34vw; opacity: .1; } }
@media (prefers-reduced-motion: reduce) { .pcurtain { display: none; } }

/* no small line beside the label text */
.pg .lbl::before, .pg .ah-label::before { content: none !important; display: none !important; }

/* clean heroes: one column, the heading does the work */
.pg .hero-grid { grid-template-columns: 1fr; }
.pg .hero-text { max-width: 1100px; }
.pg .hero-text h1 { font-size: clamp(42px, 7vw, 118px); }
.pg .hero-text .desc { max-width: 640px; }
.pg .seo-hero, .pg .hero-sec { min-height: min(92vh, 900px); display: flex; align-items: center; }
.pg .seo-hero > .w, .pg .hero-sec > .w { flex: 1; }
.pg .lh-story .hero-story-quote { margin-top: 0; max-width: 980px; }
.pg .lh-story .hero-story-quote .desc { font-size: clamp(22px, 2.4vw, 38px); line-height: 1.3; max-width: none; }
.pg .lh-story .hero-story-quote + .desc { max-width: 760px; font-size: clamp(17px, 1.3vw, 20px); }

/* =========================================================
   Blog index
   ========================================================= */
.pg .bl-hero { min-height: min(86vh, 860px); display: flex; align-items: center; text-align: center; }
.pg .bl-hero > .w { flex: 1; }
.pg .bl-hero h1 { max-width: 13ch; margin-inline: auto; }
.pg .bl-hero .desc { margin-inline: auto; max-width: 520px; }
.pg .bl-hero .lbl { justify-content: center; }
.bl-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.bl-filter button { display: inline-flex; align-items: baseline; gap: 8px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 100px; background: transparent; color: var(--fg); font: 500 14px/1 var(--sans); cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s; }
.bl-filter button sup { font-family: var(--mono); font-size: 10px; opacity: .6; }
.bl-filter button:hover { border-color: var(--fg); }
.bl-filter button.is-on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.bl-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--mute); }
.bl-meta span:first-child { color: var(--fg); }
.pg .bl-feat { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(26px, 4vw, 70px); align-items: center; color: inherit; text-decoration: none; margin-top: clamp(30px, 4vw, 56px); }
.bl-feat__img { margin: 0; overflow: hidden; border-radius: 20px; aspect-ratio: 16 / 10; background: var(--surface); border: 1px solid var(--line); }
.pg .bl-feat__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transform: scale(1.04); transition: filter .8s var(--ease), transform 1.2s var(--ease-out); }
.pg .bl-feat:hover .bl-feat__img img { filter: grayscale(0); transform: scale(1); }
.pg .bl-feat h2 { margin: 18px 0 18px; max-width: none; font-size: clamp(28px, 3.3vw, 52px); line-height: 1.06; }
.pg .bl-feat p { font-size: clamp(16px, 1.2vw, 18.5px); line-height: 1.7; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pg .bl-feat .pbtn { margin-top: 30px; }
.pg .bl-feat:hover .pbtn { background: transparent; color: var(--fg); }
.bl-list { margin-top: clamp(40px, 5vw, 76px); border-top: 1px solid var(--fg); }
.pg .bl-row { position: relative; display: grid; grid-template-columns: clamp(60px, 8vw, 130px) 1fr clamp(150px, 20vw, 300px) 44px; gap: clamp(16px, 3vw, 50px); align-items: center; padding: clamp(24px, 3vw, 44px) 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: padding .5s var(--ease), background .5s var(--ease); }
.pg .bl-row[hidden], .pg .bl-featsec[hidden] { display: none; }
.bl-row__n { font-family: var(--serif); font-size: clamp(40px, 5vw, 84px); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--stroke); transition: color .5s, -webkit-text-stroke-color .5s; }
.pg .bl-row h3 { margin: 12px 0 10px; font-size: clamp(22px, 2.5vw, 40px); line-height: 1.1; }
.pg .bl-row p { max-width: 640px; font-size: 15.5px; line-height: 1.6; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bl-row__img { margin: 0; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 10; background: var(--surface); }
.pg .bl-row__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transform: scale(1.08); transition: filter .8s var(--ease), transform 1.2s var(--ease-out); }
.bl-row__go { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; transition: background .4s, color .4s, transform .5s var(--ease); }
.pg .bl-row:hover { padding-left: clamp(8px, 1.4vw, 24px); }
.pg .bl-row:hover .bl-row__n { color: var(--fg); }
.pg .bl-row:hover .bl-row__img img { filter: grayscale(0); transform: scale(1); }
.pg .bl-row:hover .bl-row__go { background: var(--fg); color: var(--bg); transform: rotate(-45deg); }
.bl-empty { margin-top: 30px; color: var(--mute); }
@media (max-width: 820px) {
  .pg .bl-feat { grid-template-columns: 1fr; }
  .pg .bl-row { grid-template-columns: 1fr 110px; gap: 16px; align-items: start; }
  .bl-row__n { grid-column: 1 / -1; font-size: 40px; }
  .bl-row__go { display: none; }
  .pg .bl-row:hover { padding-left: 0; }
}
@media (max-width: 480px) {
  .pg .bl-row { grid-template-columns: 1fr; }
  .bl-row__img { order: -1; }
  .bl-row__n { order: -2; }
  .bl-filter button { padding: 11px 16px; font-size: 13px; }
}

/* =========================================================
   Left / right sections: both columns share one height.
   The left column runs top to bottom of the right one, its
   last item sits on the same bottom line.
   ========================================================= */
@media (min-width: 821px) {
  .pg .who-grid, .pg .split-grid, .pg .story-grid, .pg .fsec__grid, .fsec__grid, .pg .bl-feat { align-items: stretch; }
  .pg .who-sticky, .pg .split-sticky, .fsec__grid > :first-child { position: static; display: flex; flex-direction: column; }
  .pg .who-sticky > .desc:last-child { margin-top: auto; padding-top: 26px; }
  .fsec__grid > :first-child > .fsec__direct { margin-top: auto; padding-top: 26px; }
  .pg .split-sticky .about-img-box { flex: 1; aspect-ratio: auto; min-height: 280px; }
  .pg .story-image { aspect-ratio: auto; height: 100%; min-height: 420px; max-width: none; }
  .pg .story-text { align-self: center; }
  .pg .bl-feat__img { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .pg .bl-feat__txt { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
}
