/* =====================================================================
   WE PRACHAR — HOME PAGE STYLES
   Sections in page order: hero · service slider · intro · pillars ·
   "what we do" list · CTA band · process · big words · work ·
   industries · statement · blog · responsive
   ===================================================================== */

/* ---------- Hero ---------- */
.hero { padding: calc(var(--hdr-h) + 30px) 12px 0; }
.hero__card {
  position: relative; max-width: 1400px; margin-inline: auto; min-height: max(600px, calc(100svh - 110px));
  border-radius: var(--r-xl); overflow: hidden; isolation: isolate; display: grid; place-items: center; text-align: center;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(31, 31, 31, .08) 1px, transparent 1px); background-size: 24px 24px; }
.hero__glow { position: absolute; width: 55%; aspect-ratio: 1; left: -12%; top: -25%; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 65%); }
.hero__glow--2 { left: auto; right: -15%; top: auto; bottom: -35%; width: 60%; background: radial-gradient(circle, #FFE5CC, transparent 65%); }
.hero__in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 22px; width: 100%; max-width: 1080px; min-width: 0; grid-template-columns: minmax(0, 1fr); padding: 80px 22px; }
.hero__title { font-size: clamp(2.4rem, 6.2vw, 5.8rem); line-height: 1; letter-spacing: -.05em; }
.hero__title .hl { display: block; }
/* icon chips inside the headline */
.hchip { display: inline-grid; place-items: center; width: .95em; height: .78em; border-radius: .22em; vertical-align: -.06em; margin-inline: .04em; box-shadow: 0 .12em .4em -.12em rgba(31, 31, 31, .45); }
.hchip .ic { width: .46em; height: .46em; stroke-width: 2.4; }
.hchip--a { background: var(--accent); color: #fff; transform: rotate(-7deg); }
.hchip--b { background: var(--ink); color: var(--bg); transform: rotate(6deg); }
.hchip--c { background: var(--accent-soft); color: var(--accent-2); transform: rotate(-5deg); }
.hero__sub { max-width: 640px; color: var(--muted); font-size: clamp(15px, 1.2vw, 17.5px); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__feats { display: flex; gap: 10px 26px; flex-wrap: wrap; justify-content: center; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.hero__feats li { display: flex; align-items: center; gap: 8px; }
.hero__feats .ic { width: 16px; height: 16px; color: var(--accent); }
/* floating tiles */
.hero__float { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hf { position: absolute; }
.hf__t { width: clamp(54px, 5.4vw, 76px); aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center; background: #fff; color: var(--accent); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: floaty 7s ease-in-out infinite; }
.hf__t .ic { width: 42%; height: 42%; stroke-width: 1.7; }
.hf--1 { left: 7%; top: 20%; } .hf--2 { right: 8%; top: 17%; } .hf--3 { left: 10%; bottom: 18%; } .hf--4 { right: 10%; bottom: 20%; }
.hf--2 .hf__t { animation-delay: -2s; } .hf--3 .hf__t { animation-delay: -4s; } .hf--4 .hf__t { animation-delay: -1s; }
@keyframes floaty { 0%, 100% { translate: 0 0; rotate: -6deg; } 50% { translate: 0 -14px; rotate: 4deg; } }

/* ---------- Service slider ---------- */
.srail { padding-top: clamp(50px, 7vw, 90px); }
.srail__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.intro__l { display: grid; gap: 20px; justify-items: start; }
.intro__r { display: grid; gap: 34px; }
.orbit { --size: min(100%, 380px); position: relative; width: var(--size); aspect-ratio: 1; margin-inline: auto; }
.orbit__ring { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; }
.orbit__ring.r1 { width: 100%; height: 100%; border: 1.5px dashed var(--line-2); animation: rot 60s linear infinite; }
.orbit__ring.r2 { width: 66%; height: 66%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); }
.orbit__core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; font: 700 clamp(14px, 1.5vw, 17px)/1.05 var(--f-display); text-align: center; }
@property --orb { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.orbit__dot {
  position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 16px; display: grid; place-items: center;
  background: #fff; color: var(--accent); border: 1px solid var(--line); box-shadow: var(--shadow);
  transform: rotate(var(--orb)) translateX(min(190px, 38vw)) rotate(calc(-1 * var(--orb))); animation: orbit 24s linear infinite;
}
.orbit__dot .ic { width: 22px; height: 22px; }
.orbit__dot.d2 { animation-delay: -6s; } .orbit__dot.d3 { animation-delay: -12s; } .orbit__dot.d4 { animation-delay: -18s; background: var(--accent); color: #fff; }
@keyframes orbit { to { --orb: 360deg; } }

/* ---------- Pillars (alternating rows, no numbers) ---------- */
.pillars__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px 60px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.pillars__head .sec-head { margin: 0; }
.pillars__rows { display: grid; gap: clamp(24px, 3.5vw, 40px); }
.prow { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(22px, 4vw, 56px); align-items: center; }
.prow:nth-child(even) .prow__txt { order: 2; }
.prow__txt { display: grid; gap: 12px; justify-items: start; }
.prow__ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--accent); color: #fff; }
.prow__ic .ic { width: 24px; height: 24px; }
.prow__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.prow__text { color: var(--muted); max-width: 44ch; }
.prow__vis { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; }
.prow__vis::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 50%, var(--accent-soft), transparent 70%); }
.prow__vis img { position: relative; height: 84%; width: auto; transition: transform 1s var(--ease); }
.prow__vis:hover img { transform: scale(1.05) rotate(-2deg); }
.prow__chip { position: absolute; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow); transition: transform .8s var(--ease); }
.prow__chip .ic { width: 15px; height: 15px; color: var(--accent); }
.prow__chip--1 { left: 5%; top: 10%; } .prow__chip--2 { right: 5%; bottom: 10%; }
.prow__vis:hover .prow__chip--1 { transform: translate(-6px, -6px); }
.prow__vis:hover .prow__chip--2 { transform: translate(6px, 6px); }

/* ---------- "What we do" list ---------- */
.slist__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.slist__list { border-bottom: 1px solid var(--line); }
.srow { border-top: 1px solid var(--line); }
.srow__a { position: relative; display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 18px 12px; border-radius: 16px; transition: background .4s; }
.srow__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--accent); transition: background .3s, color .3s; }
.srow__ic .ic { width: 20px; height: 20px; }
.srow__title { font: 600 clamp(1.15rem, 2vw, 1.7rem)/1.2 var(--f-display); letter-spacing: -.03em; transition: color .3s, transform .5s var(--ease); display: block; }
.srow__desc { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s var(--ease), opacity .4s; }
.srow__desc > span { overflow: hidden; color: var(--muted); font-size: 14.5px; }
.srow__desc > span > span { display: block; padding-top: 6px; }
.srow__go { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transform: rotate(-45deg); transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s; }
.srow__go .ic { width: 17px; height: 17px; }
.srow.is-on .srow__a { background: var(--card); box-shadow: var(--shadow); }
.srow.is-on .srow__ic { background: var(--accent); color: #fff; border-color: var(--accent); }
.srow.is-on .srow__title { transform: translateX(4px); }
.srow.is-on .srow__desc { grid-template-rows: 1fr; opacity: 1; }
.srow.is-on .srow__go { transform: rotate(0); background: var(--ink); color: #fff; border-color: var(--ink); }
/* panel that opens under a row on mobile (image + details) */
.srow__panel { display: none; }
/* desktop preview on the right */
.slist__preview { position: sticky; top: 110px; }
.slist__card { border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.slist__img { aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(60% 70% at 50% 50%, var(--accent-soft), var(--bg-2)); }
.slist__img img { width: 62%; }
.slist__cap { padding: 22px 24px 24px; display: grid; gap: 10px; justify-items: start; }
.slist__cap b { font: 600 1.35rem/1.2 var(--f-display); letter-spacing: -.02em; }
.slist__cap p { color: var(--muted); font-size: 14.5px; }
.slist__caps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.slist__caps li { font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: var(--bg-2); }

/* ---------- CTA band ---------- */
.band__card { position: relative; border-radius: var(--r-xl); overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; background: var(--accent-soft); border: 1px solid rgba(255, 105, 0, .18); }
.band__txt { padding: clamp(30px, 5vw, 64px); display: grid; gap: 18px; justify-items: start; }
.band__txt p { color: var(--muted); max-width: 48ch; }
.band__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.band__art { display: grid; place-items: center; padding: 20px; }
.band__art img { width: min(100%, 380px); }

/* ---------- Process (no numbers — icons only) ---------- */
.proc { position: relative; }
.proc__line { position: absolute; left: calc(100% / 12); top: 0; width: calc(100% - 100% / 6); height: 92px; overflow: visible; }
.proc__line path { fill: none; stroke-width: 2.5; }
.proc__base { stroke: var(--line-2); stroke-dasharray: 5 9; }
.proc__draw { stroke: var(--accent); stroke-linecap: round; }
.proc__steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pstep { display: grid; justify-items: center; text-align: center; gap: 10px; }
.pstep__c { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); transition: background .4s, color .4s, transform .5s var(--ease); }
.pstep__c .ic { width: 30px; height: 30px; stroke-width: 1.7; }
.pstep.is-lit .pstep__c { background: var(--accent); color: #fff; border-color: var(--accent); }
.pstep:hover .pstep__c { transform: translateY(-6px); }
.pstep__t { font: 600 1.2rem/1.1 var(--f-display); letter-spacing: -.02em; margin-top: 8px; }
.pstep__x { font-size: 14px; color: var(--muted); max-width: 22ch; }

/* ---------- Big words ---------- */
.caps { padding-block: var(--sec); overflow: hidden; }
.caps__in { display: grid; gap: .08em; font: 700 clamp(2.8rem, 10.5vw, 10rem)/.95 var(--f-display); letter-spacing: -.055em; }
.caps__line { display: flex; align-items: center; justify-content: center; gap: .22em; white-space: nowrap; }
.caps__t { --p: 0%; position: relative; color: transparent; -webkit-text-stroke: 1.5px rgba(31, 31, 31, .22); }
.caps__t::after { content: attr(data-text); position: absolute; inset: 0; -webkit-text-stroke: 0; color: var(--ink); clip-path: inset(-10% calc(100% - var(--p)) -10% 0); }
.caps__line:nth-child(even) .caps__t::after { color: var(--accent); }
.caps__ic { width: .7em; height: .7em; border-radius: .2em; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--accent); flex: none; }
.caps__ic .ic { width: .4em; height: .4em; stroke-width: 1.8; }

/* ---------- Work ---------- */
.work__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(30px, 5vw, 56px); }
.work__head .sec-head { margin: 0; }
.work__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(36px, 4.5vw, 60px) clamp(18px, 3vw, 36px); }
.work__grid > :nth-child(1) { grid-column: 1 / span 7; }
.work__grid > :nth-child(2) { grid-column: 8 / span 5; margin-top: clamp(40px, 8vw, 120px); }
.work__grid > :nth-child(3) { grid-column: 1 / span 5; }
.work__grid > :nth-child(4) { grid-column: 6 / span 7; }

/* ---------- Industries ---------- */
.mq { overflow: hidden; padding-block: 6px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq.is-static { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
.mq + .mq { margin-top: 8px; }
.mq__track { display: flex; gap: 12px; width: max-content; }
.ind { display: inline-flex; align-items: center; gap: 12px; height: clamp(56px, 5.5vw, 70px); padding: 0 26px 0 10px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); font: 600 clamp(16px, 1.6vw, 20px)/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; transition: border-color .3s, transform .4s var(--ease); }
.ind__ic { width: clamp(36px, 3.4vw, 46px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); transition: background .3s, color .3s; }
.ind__ic .ic { width: 45%; height: 45%; }
.ind:hover { border-color: var(--accent); transform: translateY(-3px); }
.ind:hover .ind__ic { background: var(--accent); color: #fff; }

/* ---------- Statement ---------- */
.stmt { overflow: hidden; }
.stmt__in { min-height: 90svh; display: grid; align-content: center; gap: clamp(26px, 4vw, 60px); padding: var(--sec) var(--pad); }
.stmt__in p { display: grid; font: 700 clamp(2.1rem, 7vw, 7rem)/.95 var(--f-display); letter-spacing: -.05em; text-transform: uppercase; }
.stmt__in span { display: block; width: max-content; max-width: 100%; color: transparent; -webkit-background-clip: text; background-clip: text; background-image: linear-gradient(90deg, var(--ink) 0 50%, rgba(31, 31, 31, .1) 50% 100%); background-size: 200% 100%; background-position: 100% 0; }
.stmt__b { justify-items: end; text-align: right; }
.stmt__b span { background-image: linear-gradient(90deg, var(--accent) 0 50%, rgba(31, 31, 31, .1) 50% 100%); }

/* ---------- Blog preview ---------- */
.blogprev__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .proc__steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .proc__line { display: none; }
}
@media (max-width: 980px) {
  .intro__grid, .pillars__head, .prow, .slist__grid, .band__card { grid-template-columns: 1fr; }
  .prow:nth-child(even) .prow__txt, .prow__txt { order: 2; }
  .slist__preview { display: none; }
  /* mobile "what we do": the open row shows its picture + details */
  .srow.is-on .srow__panel { display: grid; }
  .srow__panel { grid-template-columns: 1fr; gap: 12px; padding: 4px 12px 20px; }
  .srow__pimg { border-radius: var(--r-md); aspect-ratio: 16 / 10; display: grid; place-items: center; background: radial-gradient(60% 70% at 50% 50%, var(--accent-soft), var(--bg-2)); border: 1px solid var(--line); }
  .srow__pimg img { width: 46%; }
  .srow__pcaps { display: flex; flex-wrap: wrap; gap: 6px; }
  .srow__pcaps li { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: var(--bg-2); }
  .srow__panel .btn { justify-self: start; }
  .band__art { order: -1; padding-top: 30px; }
  .band__art img { width: min(55%, 260px); }
  .work__grid > * { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .blogprev__grid { grid-template-columns: 1fr 1fr; }
  .blogprev__grid > :nth-child(3) { display: none; }
}
@media (max-width: 720px) {
  .hero__card { min-height: 0; }
  .hero__in { padding: 70px 16px 90px; gap: 18px; }
  .hf--1 { left: 5%; top: auto; bottom: 18px; } .hf--2 { right: 5%; top: auto; bottom: 18px; }
  .hf--3, .hf--4 { display: none; }
  .hf__t { width: 48px; border-radius: 15px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .proc__steps { grid-template-columns: 1fr; gap: 0; }
  .pstep { grid-template-columns: 70px 1fr; text-align: left; justify-items: start; column-gap: 16px; padding-bottom: 28px; position: relative; }
  .pstep::before { content: ''; position: absolute; left: 34px; top: 76px; bottom: 4px; width: 2px; background: var(--line-2); }
  .pstep:last-child::before { display: none; }
  .pstep__c { width: 70px; height: 70px; grid-row: span 2; }
  .pstep__c .ic { width: 24px; height: 24px; }
  .srow__a { grid-template-columns: 40px 1fr auto; gap: 12px; padding: 14px 8px; }
  .srow__ic { width: 38px; height: 38px; }
  .srow__go { width: 36px; height: 36px; }
  .blogprev__grid { grid-template-columns: 1fr; }
  .blogprev__grid > :nth-child(3) { display: flex; }
  .stmt__in { min-height: 0; }
  .prow__chip { height: 30px; font-size: 11.5px; }
}
@media (max-width: 420px) {
  .hero__title { font-size: 2.3rem; }
  .hero__feats { gap: 8px 14px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .caps__t { color: var(--ink); -webkit-text-stroke: 0; }
  .stmt__in span { background-position: 0 0; }
}
