/* arunkumarrs.com — site-specific overrides, loaded after main.css.
   Keep template files (main.css, app.js) untouched; put every customisation here. */

/* Full-width photo divider after the hero */
.divider-image-arun-photo {
  background-image: url(../img/arun/home/photo-arun-fullwidth_1920x1275.webp);
}

/* Hero name: template sizes "alex walker" (11 chars) at 20.2cqw; "arun kumar rs" is 13 chars */
.hero-10-headline__wrap h1 {
  font-size: 16.3cqw;
}

/* Footer full-width word: template sizes "Walker" (6 letters) at 28cqw; "Arun" needs ~41cqw to span the width */
.fw-mark__content,
.fw-mark__content.small {
  font-size: 41.4cqw;
}

/* "More case studies" list sits inside the featured section, under the cards */
.arun-more-cases__label {
  margin-top: 10rem;
  margin-bottom: 3rem;
}

/* Card image push-in (Rotato-style camera move): on hover the image zooms towards the phone screen so its
   content becomes readable, then pulls back out when the cursor leaves. Add class "arun-zoom" to the media link
   and tune per card with inline CSS variables:
     --zoom-scale   how far to push in (default 1.9)
     --zoom-origin  the fixed point of the zoom, as % of the image (default centre) */
.arun-zoom img {
  transform: scale(1);
  transform-origin: var(--zoom-origin, 50% 50%);
  transition: transform 1.1s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}
.arun-zoom:hover img,
.arun-zoom:focus-visible img {
  transform: scale(var(--zoom-scale, 1.9));
  transition: transform 1.8s cubic-bezier(0.65, 0, 0.35, 1);
}
@media (prefers-reduced-motion: reduce) {
  .arun-zoom img, .arun-zoom:hover img { transition: none; transform: none; }
}

/* Video in place of a card image (e.g. ZIP AI featured card) — sized like the template's card images */
.arun-card-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 960 / 630;
  object-fit: cover;
}

/* Exchange Nudge featured card — two hanging tags (kraft "Return" behind, white "Exchange" in front) layered over the
   wall. Hover: both tags swing from the top of their strings (the Return tag a beat later and a little less), and the
   size on the Exchange tag re-plays: M stays, the arrow draws, L drops in and turns AJIO blue. */
.arun-tags__tag {
  position: absolute;
  inset: 0;
  pointer-events: none;
  will-change: transform;
}
.arun-tags > img { filter: brightness(.74) contrast(1.06); }   /* wall plate: match the photo's moodier wall */
.arun-tags__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 26% 38% at 64% 66%, rgba(47, 91, 255, .42), rgba(47, 91, 255, 0) 100%);
}
/* key light is top right, so shadows fall down-left onto the wall */
.arun-tags__tag--return   { transform-origin: 43.68% 0%; filter: drop-shadow(-26px 30px 30px rgba(0, 0, 0, .62)); }
.arun-tags__tag--exchange { transform-origin: 61.04% 0%; filter: drop-shadow(-22px 26px 26px rgba(0, 0, 0, .55)); }
.arun-tags__size {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.arun-tags__m, .arun-tags__l { font-family: "Manrope", sans-serif; font-weight: 800; fill: #151515; }
.arun-tags__l { transform-box: fill-box; transform-origin: 50% 100%; }
.arun-tags__arrow { fill: none; stroke: #151515; stroke-width: 15; stroke-dasharray: 1; stroke-dashoffset: 0; }
@keyframes arun-swing {
  0%   { transform: rotate(0deg); }
  14%  { transform: rotate(4.2deg); }
  32%  { transform: rotate(-3deg); }
  50%  { transform: rotate(1.8deg); }
  67%  { transform: rotate(-1deg); }
  83%  { transform: rotate(.4deg); }
  100% { transform: rotate(0deg); }
}
@keyframes arun-swing-back {
  0%   { transform: rotate(0deg); }
  16%  { transform: rotate(3.4deg); }
  34%  { transform: rotate(-2.6deg); }
  52%  { transform: rotate(1.5deg); }
  69%  { transform: rotate(-.8deg); }
  85%  { transform: rotate(.3deg); }
  100% { transform: rotate(0deg); }
}
@keyframes arun-m-old { 0%, 30% { fill: #151515; } 100% { fill: #b9b4ab; } }
@keyframes arun-arrow-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes arun-l-drop {
  0%   { opacity: 0; transform: translateY(-70px) scale(.9); fill: #2F5BFF; }
  60%  { opacity: 1; transform: translateY(6px) scale(1.04); fill: #2F5BFF; }
  80%  { transform: translateY(-3px) scale(1); }
  100% { opacity: 1; transform: translateY(0) scale(1); fill: #2F5BFF; }
}
.arun-tags:hover .arun-tags__tag--exchange,
.arun-tags:focus-visible .arun-tags__tag--exchange { animation: arun-swing 2.8s cubic-bezier(.37, 0, .63, 1) both; }
.arun-tags:hover .arun-tags__tag--return,
.arun-tags:focus-visible .arun-tags__tag--return { animation: arun-swing-back 2.8s cubic-bezier(.37, 0, .63, 1) .09s both; }
.arun-tags:hover .arun-tags__m,
.arun-tags:focus-visible .arun-tags__m { animation: arun-m-old .9s ease .2s both; }
.arun-tags:hover .arun-tags__arrow,
.arun-tags:focus-visible .arun-tags__arrow { animation: arun-arrow-draw .45s cubic-bezier(.65, 0, .35, 1) .45s both; }
.arun-tags:hover .arun-tags__l,
.arun-tags:focus-visible .arun-tags__l { animation: arun-l-drop .75s cubic-bezier(.34, 1.2, .64, 1) .85s both; }
@media (prefers-reduced-motion: reduce) {
  .arun-tags:hover .arun-tags__tag { animation: none; }
}

/* Zivame Homepage featured card — "seasonal switch". Laid out on a 1500 x 1125 grid in container units (--u = 1 grid px),
   so it scales with the card. Hover: toggle flips BAU → Seasonal, the three page strips wipe into the seasonal design
   one after another and drift up slowly. */
.arun-zs {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  container-type: inline-size;
  background: linear-gradient(160deg, #f8ecee 0%, #f1d6db 100%);
}
.arun-zs > * { --u: calc(100cqw / 1500); }   /* cqw resolves against .arun-zs, the container */
.arun-zs__cap {
  position: absolute; left: calc(70 * var(--u)); top: calc(62 * var(--u));
  font: 500 calc(20 * var(--u)) / 1 "JetBrains Mono", monospace; letter-spacing: .14em; color: rgba(60, 20, 30, .6);
}
.arun-zs__toggle {
  position: absolute; right: calc(70 * var(--u)); top: calc(44 * var(--u));
  display: flex; align-items: center; gap: calc(16 * var(--u));
  font: 500 calc(19 * var(--u)) / 1 "JetBrains Mono", monospace; letter-spacing: .12em; color: rgba(60, 20, 30, .55);
}
.arun-zs__toggle b { font-weight: 500; transition: color .5s; }
.arun-zs__toggle b:first-child { color: #3c141e; }
.arun-zs__track {
  position: relative; width: calc(78 * var(--u)); height: calc(40 * var(--u)); border-radius: 99px;
  background: #fff; box-shadow: inset 0 0 0 calc(2 * var(--u)) rgba(60, 20, 30, .15); transition: background .5s;
}
.arun-zs__knob {
  position: absolute; top: calc(5 * var(--u)); left: calc(5 * var(--u)); width: calc(30 * var(--u)); height: calc(30 * var(--u));
  border-radius: 50%; background: #e2335f; transition: transform .5s cubic-bezier(.65, 0, .35, 1), background .5s;
}
.arun-zs__strip {
  position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(420 * var(--u));
  border-radius: calc(14 * var(--u)); overflow: hidden; box-shadow: 0 calc(24 * var(--u)) calc(60 * var(--u)) rgba(90, 20, 40, .18);
}
.arun-zs__strip img { display: block; width: 100%; height: auto; }
.arun-zs__pan { position: relative; transition: transform 5s cubic-bezier(.33, 0, .2, 1); }
.arun-zs__seasonal {
  position: absolute; inset: 0; clip-path: inset(0 0 100% 0);
  transition: clip-path .9s cubic-bezier(.65, 0, .35, 1) var(--d);
}
.mxd-project-item__media:hover .arun-zs__seasonal,
.mxd-project-item__media:focus-visible .arun-zs__seasonal { clip-path: inset(0 0 0 0); }
.mxd-project-item__media:hover .arun-zs__pan,
.mxd-project-item__media:focus-visible .arun-zs__pan { transform: translateY(-9%); }
.mxd-project-item__media:hover .arun-zs__track { background: #5b0f25; }
.mxd-project-item__media:hover .arun-zs__knob { transform: translateX(calc(38 * var(--u))); background: #f2b33d; }
.mxd-project-item__media:hover .arun-zs__toggle b:first-child { color: rgba(60, 20, 30, .45); }
.mxd-project-item__media:hover .arun-zs__toggle b:last-child { color: #5b0f25; }
@media (prefers-reduced-motion: reduce) {
  .arun-zs__pan, .arun-zs__seasonal, .arun-zs__knob { transition: none; }
}

/* Zivame Homepage featured card — "kit of parts". Same 1500 x 1125 grid in container units as .arun-zs.
   Rest: widgets scattered and tilted, each tagged with its type. Hover: they fly into three columns — the homepage. */
.arun-zk {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  container-type: inline-size;
  background: radial-gradient(120% 90% at 30% 20%, #fdeee9 0%, #f7d3d6 60%, #f1c2c9 100%);
}
.arun-zk > * { --u: calc(100cqw / 1500); }
.arun-zk__cap {
  position: absolute; left: calc(70 * var(--u)); top: calc(62 * var(--u));
  font: 500 calc(20 * var(--u)) / 1 "JetBrains Mono", monospace; letter-spacing: .14em; color: rgba(60, 20, 30, .6);
}
.arun-zk__head {
  position: absolute; left: calc(70 * var(--u)); bottom: calc(64 * var(--u));
  font: 800 calc(56 * var(--u)) / 1.04 "Manrope", sans-serif; letter-spacing: -.02em; color: #3c141e;
  transition: opacity .5s, transform .7s cubic-bezier(.65, 0, .35, 1);
}
.arun-zk__head span { color: #e2335f; }
.arun-zk__tile {
  position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(400 * var(--u));
  border-radius: calc(16 * var(--u)); overflow: hidden; background: #fff;
  box-shadow: 0 calc(20 * var(--u)) calc(50 * var(--u)) rgba(90, 20, 40, .2);
  transform: translate(calc(var(--tx) * var(--u)), calc(var(--ty) * var(--u))) rotate(var(--r)) scale(.74);
  transition: transform 1s cubic-bezier(.6, 0, .2, 1) var(--d), box-shadow 1s;
}
.arun-zk__tile img { display: block; width: 100%; height: auto; }
.arun-zk__tag {
  position: absolute; left: calc(14 * var(--u)); top: calc(14 * var(--u)); padding: calc(8 * var(--u)) calc(14 * var(--u));
  border-radius: 99px; background: var(--c); color: #fff;
  font: 500 calc(17 * var(--u)) / 1 "JetBrains Mono", monospace; letter-spacing: .1em; transition: opacity .4s;
}
.mxd-project-item__media:hover .arun-zk__tile,
.mxd-project-item__media:focus-visible .arun-zk__tile { transform: none; box-shadow: 0 calc(6 * var(--u)) calc(18 * var(--u)) rgba(90, 20, 40, .12); }
.mxd-project-item__media:hover .arun-zk__tag { opacity: 0; }
.mxd-project-item__media:hover .arun-zk__head { opacity: 0; transform: translateY(calc(30 * var(--u))); }
@media (prefers-reduced-motion: reduce) {
  .arun-zk__tile, .arun-zk__head { transition: none; }
}

/* Zivame Homepage featured card — "desktop in 3D". The full desktop homepage in a browser window on a 3D plane,
   same 1500 x 1125 container-unit grid. Hover (class .play, added by the inline script): a 12s camera loop — swoop onto
   the hero, pull back flat, scroll the whole page, tilt over the footer, return. Leave: glide back to the cover pose. */
.arun-zd {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; container-type: inline-size;
  background:
    radial-gradient(60% 55% at 22% 88%, rgba(226, 51, 95, .55), rgba(226, 51, 95, 0) 70%),
    radial-gradient(55% 50% at 85% 10%, rgba(120, 40, 140, .45), rgba(120, 40, 140, 0) 70%),
    #0f090c;
}
.arun-zd > * { --u: calc(100cqw / 1500); }
.arun-zd__stage { position: absolute; inset: 0; perspective: calc(2000 * var(--u)); perspective-origin: 50% 40%; }
.arun-zd__win {
  --rest: translate3d(calc(30 * var(--u)), calc(70 * var(--u)), 0) rotateX(38deg) rotateZ(-14deg) scale(1.08);
  position: absolute; left: calc(150 * var(--u)); top: calc(168 * var(--u)); width: calc(1200 * var(--u));
  border-radius: calc(14 * var(--u)); overflow: hidden; background: #000;
  box-shadow: 0 calc(40 * var(--u)) calc(120 * var(--u)) rgba(0, 0, 0, .6), 0 0 calc(160 * var(--u)) rgba(226, 51, 95, .25);
  transform-origin: 50% 40%; transform: var(--rest); will-change: transform;
}
.arun-zd__bar { display: flex; align-items: center; gap: calc(9 * var(--u)); height: calc(40 * var(--u)); padding: 0 calc(16 * var(--u)); background: #1c1a1d; }
.arun-zd__bar i { width: calc(12 * var(--u)); height: calc(12 * var(--u)); border-radius: 50%; background: #3b383c; }
.arun-zd__bar span {
  margin-left: calc(20 * var(--u)); padding: calc(6 * var(--u)) calc(60 * var(--u)); border-radius: 99px; background: #2a272b; color: #9a949b;
  font: 500 calc(13 * var(--u)) / 1 "JetBrains Mono", monospace; letter-spacing: .06em;
}
.arun-zd__view { height: calc(750 * var(--u)); overflow: hidden; background: #fff; }
.arun-zd__page { position: relative; will-change: transform; }
.arun-zd .arun-zd__page img { display: block; width: 100%; height: auto; }
.arun-zd .arun-zd__page .arun-zd__hi { position: absolute; left: 0; top: 0; }   /* 2x hero on top for the close-ups */
@keyframes arun-zd-cam {
  0%   { transform: var(--rest); }
  11%  { transform: translate3d(calc(110 * var(--u)), calc(250 * var(--u)), 0) rotateX(44deg) rotateZ(-22deg) scale(1.6); }
  25%  { transform: translate3d(0, calc(-6 * var(--u)), 0) rotateX(4deg) rotateZ(0deg) scale(.96); }
  45%  { transform: translate3d(0, 0, 0) rotateX(8deg) rotateY(-6deg) rotateZ(0deg) scale(.98); }
  62%  { transform: translate3d(0, calc(10 * var(--u)), 0) rotateX(6deg) rotateY(5deg) rotateZ(0deg) scale(1); }
  76%  { transform: translate3d(calc(-60 * var(--u)), calc(90 * var(--u)), 0) rotateX(36deg) rotateZ(12deg) scale(1.15); }
  88%  { transform: translate3d(calc(-10 * var(--u)), calc(80 * var(--u)), 0) rotateX(38deg) rotateZ(-2deg) scale(1.1); }
  100% { transform: var(--rest); }
}
@keyframes arun-zd-scroll {   /* page is 8873 grid px tall in a 750 px viewport */
  0%, 22%   { transform: translateY(0); }
  64%       { transform: translateY(calc(-6100 * var(--u))); }
  80%, 86%  { transform: translateY(calc(-8123 * var(--u))); }
  98%, 100% { transform: translateY(0); }
}
.arun-zd.play .arun-zd__win  { animation: arun-zd-cam 12s cubic-bezier(.45, 0, .55, 1) infinite; }
.arun-zd.play .arun-zd__page { animation: arun-zd-scroll 12s cubic-bezier(.45, 0, .55, 1) infinite; }
.arun-zd.is-leaving .arun-zd__win, .arun-zd.is-leaving .arun-zd__page { transition: transform 1.1s cubic-bezier(.45, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) {
  .arun-zd.play .arun-zd__win, .arun-zd.play .arun-zd__page { animation: none; }
}

/* Zivame Homepage featured card — "desktop in a laptop". A 1500 x 1125 px stage scaled to the card by --s (set by the
   inline script); the live page is mapped onto the photo's screen with a perspective matrix (screen = 1600 x 1000 px,
   i.e. the 1440 x 900 desktop viewport at 1.11x). Hover: push in on the screen, page scrolls the whole homepage. */
.arun-zl { --s: .5; position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.arun-zl__stage { position: absolute; left: 0; top: 0; width: 1500px; height: 1125px; transform-origin: 0 0; transform: scale(var(--s)); }
.arun-zl__cam { position: absolute; inset: 0; transform-origin: 560px 360px;   /* keeps the lid's top corners in frame at 1.25x */ transition: transform .9s cubic-bezier(.3, 0, .2, 1); }
.arun-zl .arun-zl__photo { position: absolute; left: 0; top: 0; width: 1500px; height: 1125px; }
.arun-zl__screen {
  position: absolute; left: 0; top: 0; width: 1600px; height: 1000px; overflow: hidden; background: #fff; transform-origin: 0 0;
  transform: matrix3d(0.5090065, -0.0145345746, 0, 0.000113983345, 0.113696996, 0.541777293, 0, -6.45350831e-06, 0, 0, 1, 0, 192.75, 200.7, 0, 1);
}
.arun-zl__page { position: relative; will-change: transform; }
.arun-zl .arun-zl__page img { display: block; width: 1600px; height: auto; }
.arun-zl .arun-zl__page .arun-zl__hi { position: absolute; left: 0; top: 0; }
.arun-zl__glare {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .05) 100%);
}
/* 14.4s loop at the original scroll speed (~1,200 px/s): everyday page scrolls ~55% (0-5.4s) → toggle flips to Seasonal (5.8s),
   Diwali page fades in and scrolls ~55% (6.8-12.6s) → toggle flips back (13s), everyday page fades back in at the top. */
@keyframes arun-zl-scroll {
  0%            { transform: translateY(0); animation-timing-function: cubic-bezier(.3, .35, .6, 1); }
  37.5%, 48.6%  { transform: translateY(-6500px); }
  48.7%, 100%   { transform: translateY(0); }
}
@keyframes arun-zl-sea-scroll {
  0%, 47.2%     { transform: translateY(0); animation-timing-function: cubic-bezier(.3, .35, .6, 1); }
  87.5%, 98%    { transform: translateY(-7000px); }
  98.1%, 100%   { transform: translateY(0); }
}
@keyframes arun-zl-sea-fade {
  0%, 40.3%     { opacity: 0; animation-timing-function: ease-in-out; }
  45.8%, 90.3%  { opacity: 1; animation-timing-function: ease-in-out; }
  95.8%, 100%   { opacity: 0; }
}
@keyframes arun-zl-toggle {
  0%, 35.4%     { opacity: 0; transform: translate(-50%, 30px) scale(.94); }
  36.8%, 50%    { opacity: 1; transform: translate(-50%, 0) scale(1); }
  51.4%, 85.4%  { opacity: 0; transform: translate(-50%, -20px) scale(.97); }
  86.8%, 95%    { opacity: 1; transform: translate(-50%, 0) scale(1); }
  97%, 100%     { opacity: 0; transform: translate(-50%, -20px) scale(.97); }
}
@keyframes arun-zl-knob {
  0%, 39.6%     { transform: translateX(0); background: #e2335f; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  41%, 89.6%    { transform: translateX(96px); background: #f2b33d; animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  91%, 100%     { transform: translateX(0); background: #e2335f; }
}
.arun-zl__page--sea { position: absolute; left: 0; top: 0; width: 1600px; opacity: 0; }
.arun-zl__toggle {
  position: absolute; left: 50%; top: 360px; display: flex; align-items: center; gap: 34px;
  padding: 30px 46px; border-radius: 999px; background: rgba(18, 16, 20, .88); color: #fff;
  font: 600 50px/1 "Manrope", sans-serif; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); opacity: 0; transform: translate(-50%, 30px);
}
.arun-zl__toggle b { font-weight: 700; }
.arun-zl__toggle i { position: relative; display: block; width: 180px; height: 84px; border-radius: 999px; background: rgba(255, 255, 255, .18); }
.arun-zl__toggle u { position: absolute; left: 10px; top: 10px; width: 64px; height: 64px; border-radius: 50%; background: #e2335f; }
.arun-zl.play .arun-zl__cam  { transform: scale(1.25); }
.arun-zl.play .arun-zl__page { animation: arun-zl-scroll 14.4s linear infinite; }
.arun-zl.play .arun-zl__page--sea { animation: arun-zl-sea-scroll 14.4s linear infinite, arun-zl-sea-fade 14.4s linear infinite; }
.arun-zl.play .arun-zl__toggle { animation: arun-zl-toggle 14.4s linear infinite; }
.arun-zl.play .arun-zl__toggle u { animation: arun-zl-knob 14.4s linear infinite; }
.arun-zl.is-leaving .arun-zl__page { transition: transform 1.1s cubic-bezier(.45, 0, .2, 1); }
.no-touch .mxd-project-item:hover .mxd-project-item__media:has(.arun-zl) .mxd-cover { opacity: 0; }   /* keep the screen bright while zoomed */
@media (prefers-reduced-motion: reduce) {
  .arun-zl.play .arun-zl__page, .arun-zl.play .arun-zl__toggle, .arun-zl.play .arun-zl__toggle u { animation: none; }
  .arun-zl__cam { transition: none; }
}

/* One-line project pitch (first person, with the headline numbers) under each featured card and each "more case studies" row */
.arun-card-line {
  margin: -1rem 0 0;   /* the card already spaces its children 2.2rem apart */
  font: normal 400 1.6rem / 1.5 var(--_font-default);
  color: var(--t-medium);
}
.arun-card-line strong, .mxd-projects-list__title p.arun-line strong { font-weight: 600; color: var(--t-bright); }
.mxd-projects-list__title p.arun-line {
  margin: .8rem 0 0;
  max-width: 54ch;
  font: normal 400 1.6rem / 1.5 var(--_font-default);
  letter-spacing: 0;
  color: var(--t-medium);
}
@media only screen and (min-width: 768px) {
  .mxd-projects-list__title p.arun-line { font-size: 1.7rem; }
}

/* "View Case" cursor circle: a little smaller than the template's 10rem so more of each hover preview shows */
.mxd-cursor__dot.expand { width: 8.4rem; height: 8.4rem; }
.mxd-cursor__text { font-size: 1.2rem; }

/* ZIP AI featured card — Mockey phone photo (1600 x 1050) with the chat video on its display.
   Display measured on the photo: x 598.4–1002.4, y 65.6–989 (px of 1600 x 1050). Hover: gentle push-in on the phone. */
.arun-zp { position: relative; overflow: hidden; }
.arun-zp__stage { position: relative; aspect-ratio: 1600 / 1050; transform-origin: 50% 45%; transition: transform 1.1s cubic-bezier(.33, 1, .68, 1); }
.arun-zp .arun-zp__photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.arun-zp__screen { position: absolute; left: 37.4%; top: 6.25%; width: 25.25%; height: 87.96%; object-fit: fill; border-radius: 9% / 4.2%; background: #fff; }
.mxd-project-item__media.arun-zp:hover .arun-zp__stage { transform: scale(1.06); transition-duration: 1.6s; }
.no-touch .mxd-project-item:hover .mxd-project-item__media.arun-zp .mxd-cover { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .arun-zp__stage { transition: none; } }

/* A/02 stats (₹753Cr, 7.22L, ₹333Cr, 10 yrs): template sets 8rem — scaled down so they sit just above the 4.8rem manifest
   beside them instead of dominating it; same size for all four */
.mxd-stats-lines__number p { font-size: 3.9rem; }
@media only screen and (min-width: 768px)  { .mxd-stats-lines__number p { font-size: 4.5rem; } }
@media only screen and (min-width: 1200px) { .mxd-stats-lines__number p { font-size: 5rem; } }

/* Statements ("I design decisions, not screens…", "I've designed the whole shopping journey…"): one size for both,
   6px under the template's small statement — 38px desktop, 24px mobile (template: 44 / 48–66px) */
.manifest.manifest-s, .manifest.manifest-m { font-size: 2.4rem; }
@media only screen and (min-width: 768px)  { .manifest.manifest-s, .manifest.manifest-m { font-size: 3rem; } }
@media only screen and (min-width: 1200px) { .manifest.manifest-s, .manifest.manifest-m { font-size: 3.8rem; } }

/* Journey section (Discovery / Decision / Post-order): stage number in place of the icon, one short line,
   one proof metric, then the projects. Lines are held to two rows so the three columns stay aligned. */
.arun-stage .mxd-process-points__title { display: flex; align-items: center; gap: 1.8rem; }
.arun-stage__num { font: 500 1.6rem/1 var(--_font-accent); letter-spacing: .1em; color: var(--pt-t-accent-muted, rgba(255, 255, 255, .6)); }
.arun-stage .arun-stage__line { min-height: 2.9em; max-width: 30ch; }
.arun-stage__metric { display: flex; flex-direction: column; gap: .6rem; margin: 2.6rem 0 2.8rem; }
.arun-stage__value { font: 600 4.4rem/1 var(--_font-accent); letter-spacing: -.02em; color: var(--nl-white); }
.arun-stage__caption { font: 500 1.3rem/1.3 var(--_font-accent); text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .7); }
@media only screen and (max-width: 1199px) { .arun-stage__value { font-size: 3.6rem; } }

/* Journey cards: faded rounded border (brighter at the top, fading out at the bottom) instead of the divider lines */
.arun-stage .mxd-process-points__divider { display: none; }
.mxd-process-points__item.arun-stage { padding: 4.4rem 4.6rem 5rem; }
.arun-stage .mxd-process-points__time .tag { font-size: 1.2rem; letter-spacing: .06em; line-height: 1.7; }
@media only screen and (max-width: 767px) { .mxd-process-points__item.arun-stage { padding: 3.2rem 4rem 3.6rem; } }
.arun-stage::before {
  content: ""; position: absolute; inset: 0 1.2rem; border-radius: 2.4rem; pointer-events: none;
  padding: 1px; background: linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, .12) 70%, rgba(255, 255, 255, .04));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.arun-stage::after {
  content: ""; position: absolute; inset: 0 1.2rem; border-radius: 2.4rem; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 60%);
}
@media only screen and (max-width: 1199px) { .arun-stage { margin-bottom: 2.4rem; } }

/* Journey card icons: line icons in a soft glass chip (search-sparkle, tag-check, parcel-return) */
.arun-stage__icon {
  flex: none; display: grid; place-items: center; width: 5.2rem; height: 5.2rem; border-radius: 1.4rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 10px 24px rgba(0, 10, 60, .25);
}
.arun-stage__icon svg { width: 3rem; height: 3rem; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Section titles (Featured case studies, Problems I solve, My digital journey): smaller than the template's 75-95px
   so they sit with the 38px statements and 50px stats (CTA heading untouched) */
.mxd-section-title__title h2 { font-size: 3.8rem; letter-spacing: -.12rem; }
@media only screen and (min-width: 768px)  { .mxd-section-title__title h2 { font-size: 4.6rem; } }
@media only screen and (min-width: 1200px) { .mxd-section-title__title h2 { font-size: 5.6rem; letter-spacing: -.2rem; } }
@media only screen and (min-width: 1600px) { .mxd-section-title__title h2 { font-size: 6.4rem; } }

/* CV: Reliance Retail shown once on the left (employer, dates, tenure); its three brand roles listed on the right */
.arun-employer__head { padding-top: .4rem; }
.arun-employer__name { font: normal 700 2.6rem/1.2 var(--_font-default); letter-spacing: -.04rem; color: var(--t-bright); }
.arun-employer__meta { margin-top: 1rem; font: 500 1.3rem/1.4 var(--_font-accent); text-transform: uppercase; letter-spacing: .08em; color: var(--t-medium); }
.arun-role { display: grid; grid-template-columns: minmax(0, 1fr) 11rem minmax(0, 22.5rem) 18rem; column-gap: 1.8rem; align-items: baseline; gap: 2rem; padding: 1.6rem 0; border-top: 1px solid var(--st-muted, rgba(255, 255, 255, .08)); }
.arun-role:first-child { border-top: 0; padding-top: 0; }
/* hover: the template's own resume reveal (image wipes in left to right), per role row */
.arun-role__image { position: relative; align-self: start; height: 100%; min-height: 1px; margin: 0; }
.mxd-resume__image.arun-role__image { height: 100%; max-height: none; margin: 0; }
.arun-role__image img { position: absolute; left: 0; top: 1.44rem; width: 10rem; height: 4rem; max-height: 4rem; transform: translateY(-50%); object-fit: contain; border-radius: .8rem; z-index: 2; }
.no-touch .arun-employer:hover .arun-role .mxd-resume__image img { clip-path: inset(0% 100% 0% 0%); transition: clip-path .6s; }
.no-touch .arun-employer .arun-role:hover .mxd-resume__image img { clip-path: inset(0% 0% 0% 0%); transition: clip-path 0s; }
@media only screen and (max-width: 1199px) { .arun-role { grid-template-columns: 1fr minmax(14rem, 30%) 18rem; } .arun-role__image { display: none; } }
.arun-role__title { white-space: nowrap; font: normal 700 2.4rem/1.2 var(--_font-default); letter-spacing: -.06rem; color: var(--t-bright); }
.arun-role__co, .arun-role__date { font: 500 1.4rem/1.4 var(--_font-accent); text-transform: uppercase; letter-spacing: .06em; color: var(--t-medium); }
.arun-role__date { text-align: right; }
.arun-role__note { display: block; margin-top: .4rem; font-size: 1.15rem; text-transform: none; letter-spacing: .02em; color: var(--t-muted); }
.arun-employer { margin-bottom: 4rem; }
@media only screen and (min-width: 1200px) {
  .arun-employer__name { font-size: 3.4rem; letter-spacing: -.1rem; }
  .arun-role__title { font-size: 2.8rem; }
  .arun-employer { margin-bottom: 4.4rem; }
}
@media only screen and (max-width: 767px) {
  .arun-role { grid-template-columns: 1fr !important; gap: .4rem; }
  .arun-role__date { text-align: left; }
}
/* split-line masks clip descenders (the g in "digital journey"): give the mask room below the baseline */
.mxd-section-title__title h2 .line-mask { padding-bottom: .14em; margin-bottom: -.14em; }

@media only screen and (min-width: 1200px) { .arun-role__image img { top: 1.68rem; } }   /* centre of the brand name's first line */

/* Closing CTA: same size as the section titles */
.mxd-promo__caption h2 { font-size: 3.8rem; letter-spacing: -.12rem; line-height: 1.1; }
@media only screen and (min-width: 768px)  { .mxd-promo__caption h2 { font-size: 4.6rem; } }
@media only screen and (min-width: 1200px) { .mxd-promo__caption h2 { font-size: 5.6rem; letter-spacing: -.2rem; } }
@media only screen and (min-width: 1600px) { .mxd-promo__caption h2 { font-size: 6.4rem; } }

/* Falling skill tags: faded-outline glass pills (same treatment as the journey cards) */
.mxd-promo .object.object-permanent {
  background: linear-gradient(160deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .05));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 99px; padding: 1.7rem 2.4rem;
  box-shadow: 0 12px 30px rgba(0, 10, 60, .22);
}
.mxd-promo .object.object-permanent::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .12) 70%, rgba(255, 255, 255, .25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.mxd-promo .object.object-permanent p { color: #fff; letter-spacing: .06em; }

/* Footer: the template's landing footer (clouds + planets) with the full name across the width.
   "ARUN KUMAR R S" is 14 monospace characters vs the template's 9 ("MixDesign" at 19.3cqw), so 19.3 x 9/14 ≈ 12.4cqw */
.arun-footer .fw-mark__content.small { font-size: 12.3cqw; }
.arun-footer .fw-mark__content.small span { margin-left: 0; letter-spacing: -.1cqw; }
.arun-footer .mxd-footer__fw-mark { padding-top: 7rem; }
@media only screen and (min-width: 1200px) { .arun-footer .mxd-footer__fw-mark { padding-top: 9rem; } }
.arun-footer .footer-data span { white-space: nowrap; }
.arun-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2.4rem; padding-top: 6rem; }
.arun-footer__top .footer-nav-v01 { display: flex; gap: 4rem; margin: 0; padding: 0; list-style: none; }
.arun-footer__socials { display: flex; gap: 2.4rem; }
.arun-footer .mxd-footer__data { position: relative; z-index: 2; }
/* footer data strip: email + socials together on the right, over a black fade so it reads on the clouds */
.arun-footer__strip { position: relative; z-index: 2; max-width: none; }
.arun-footer__strip::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 115%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .6) 40%, rgba(0, 0, 0, .82) 100%); }
.arun-footer__socials { flex-wrap: wrap; gap: 1.2rem 3.2rem; }
/* fixed bottom blur: fades out while the footer is on screen */
.blur-container { transition: opacity .5s ease; }
body.arun-at-footer .blur-container { opacity: 0; }
/* row lists with the custom tilt: keep the 3D context, never blur */
.arun-tilt-list { transform-style: preserve-3d; }
.arun-tilt-list .mxd-perspective-list__inner { filter: none !important; will-change: transform, opacity; }

/* tags never break mid-label (e.g. "Behavioural design") */
.tag { white-space: nowrap; }

/* glass image frame (case-study decision rows, homepage "Problems I solve"): rounded, with the homepage's faded glass border (bright at the top, fading out) and a soft sheen */
.cs-glass { position: relative; border-radius: 2.4rem; overflow: hidden; isolation: isolate; }
.cs-glass img { display: block; width: 100%; height: auto; }
.cs-glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2; padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, .12) 70%, rgba(255, 255, 255, .04));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.cs-glass::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 45%); }


/* footer: let the copyright line wrap on phones instead of running off-screen */
@media only screen and (max-width: 767px) { .arun-footer .footer-data, .arun-footer .footer-data span { white-space: normal; } }

/* timeline dates carry months now (e.g. "May 2024 - May 2026"): keep them on one line */
.arun-role__date { white-space: nowrap; }

/* Touch screens have no hover: the same animations play when a card scrolls into view (.in-view, set by the
   "touch: play on view" script in index.html). Desktop keeps hover only. */
.arun-tags.in-view .arun-tags__tag--exchange { animation: arun-swing 2.8s cubic-bezier(.37, 0, .63, 1) both; }
.arun-tags.in-view .arun-tags__tag--return   { animation: arun-swing-back 2.8s cubic-bezier(.37, 0, .63, 1) .09s both; }
.arun-tags.in-view .arun-tags__m             { animation: arun-m-old .9s ease .2s both; }
.arun-tags.in-view .arun-tags__arrow         { animation: arun-arrow-draw .45s cubic-bezier(.65, 0, .35, 1) .45s both; }
.arun-tags.in-view .arun-tags__l             { animation: arun-l-drop .75s cubic-bezier(.34, 1.2, .64, 1) .85s both; }
.mxd-project-item__media.in-view .mxd-project-item__videowrap { clip-path: inset(0% 0% 0% 0%); }
.mxd-project-item__media.arun-zp.in-view .arun-zp__stage { transform: scale(1.06); transition-duration: 1.6s; }
.mxd-project-item__media.in-view .mxd-cover { opacity: 0; }
/* "More case studies" rows: the hover preview shown inline under the row text */
.arun-row-thumb { display: block; margin-top: 1.6rem; width: 100%; aspect-ratio: 4 / 3; border-radius: 1.6rem; overflow: hidden; background: #111; }
.arun-row-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .arun-row-thumb { display: none; } }

/* CTA pills on touch screens: smaller, not draggable, never capture a swipe (the page must scroll past);
   they drop once when the section comes into view and then stay put ("CTA pills, touch" script in index.html) */
.arun-gravity-touch { position: relative; width: 100%; background-color: var(--base-opp); overflow: hidden; }   /* what .mxd-gravity-section gave it */
.arun-gravity-touch.accent { background-color: var(--accent); }
.arun-gravity-touch .object { padding: .9rem 1.2rem; pointer-events: none; cursor: auto; visibility: hidden; }
.arun-gravity-touch .object p { font-size: 1.05rem; }
.arun-gravity-touch.is-dropped .object { visibility: visible; }
.arun-gravity-touch .object:nth-child(n+11) { display: none; }   /* 10 pills fit a phone without burying the headline */
.arun-row-thumb video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Menu fills the real screen height as mobile address bars show/hide (template uses 100svh, which leaves a gap
   at the end of a page when the bar has hidden) */
.mxd-menu, .mxd-menu__backdrop, .mxd-menu__content { height: 100vh; height: 100dvh; }

/* Phones: smooth scrolling. The fixed bottom blur stacks 8 live backdrop-filter layers (and is toggled per section) */
@media (hover: none) { .blur-container { display: none !important; } }
.arun-row-thumb { aspect-ratio: 3 / 2; }
