/* VIZO — portfolio of Mustafa Hadi */

@font-face { font-family: "Zain Long"; src: url(../fonts/zain-long.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url(../fonts/ibm-plex-sans-arabic-arabic-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url(../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url(../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url(../fonts/unbounded-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url(../fonts/unbounded-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url(../fonts/unbounded-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(../fonts/manrope-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(../fonts/manrope-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #FBFAF8;
  --paper-2: #F3F0EB;
  --card: #FFFFFF;
  --ink: #2A213E;
  --ink-2: #625A74;
  --ink-3: #9A93A8;
  --violet: #9B85BE;
  --violet-2: #7A63A3;
  --violet-soft: #EEE9F5;
  --cream: #F2E7D9;
  --line: rgba(42, 33, 62, .12);
  --dark: #1C1628;
  --dark-line: rgba(242, 231, 217, .14);

  --f-display: "Zain Long", "Plex Arabic", sans-serif;
  --f-body: "Plex Arabic", "Manrope", system-ui, sans-serif;
  --f-latin: "Unbounded", "Manrope", sans-serif;

  --gut: clamp(16px, 4.2vw, 64px);
  --max: 1480px;
  --sec: clamp(96px, 12vw, 176px);
  --r: 24px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}
html[lang="en"] {
  --f-display: "Unbounded", "Manrope", sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink); overflow-wrap: break-word;
  font: 400 17px/1.75 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html[lang="en"] body { font-size: 16px; line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 6px; }
[dir="rtl"] .flip { transform: scaleX(-1); }
[hidden] { display: none !important; }
.sprite { position: absolute; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 999px; transform: translateY(-200%); }
.skip:focus { transform: none; }
.center { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Mark (VIZO symbol: rays + eye) ---------- */
.mark { position: relative; aspect-ratio: 130 / 132; color: var(--violet); --ex: 0; --ey: 0; }
.mark__rays { width: 100%; height: 100%; fill: currentColor; }
.mark__eye { position: absolute; left: 56.45%; top: 32.32%; width: 29.06%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ink); }
.mark__eye i { position: absolute; width: 28.6%; aspect-ratio: 1; border-radius: 50%; background: var(--cream);
  left: calc(66.6% + var(--ex) * 14%); top: calc(33.4% + var(--ey) * 14%); transform: translate(-50%, -50%); transition: left .5s var(--ease), top .5s var(--ease); }
.mark--sm { width: 34px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 500; font-size: 15px; letter-spacing: .01em; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease); }
.btn svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover svg:not(.flip) { transform: translateX(4px); }
[dir="rtl"] .btn:hover svg.flip { transform: scaleX(-1) translateX(4px); }
[dir="ltr"] .btn:hover svg.flip { transform: translateX(4px); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--violet-2); border-radius: inherit; transform: scale(0, 1); transform-origin: var(--o, right); transition: transform .5s var(--ease); }
[dir="ltr"] .btn--ink::before { --o: left; }
.btn--ink:hover::before { transform: scale(1, 1); }
.btn--line { border: 1px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--wa { background: #1F7A54; color: #fff; }
.btn--wa:hover { background: #17603F; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 76px; padding: 0 var(--gut); transition: transform .6s var(--ease), background-color .4s, box-shadow .4s; }
.nav.is-solid { background: rgba(251, 250, 248, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: flex; align-items: center; gap: 10px; direction: ltr; }
.nav__word { width: 76px; height: 19px; fill: var(--violet); }
.nav__links { display: flex; gap: 4px; font-size: 14.5px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); transition: color .3s, background-color .3s; }
.nav__links a:hover, .nav__links a.is-on { color: var(--ink); background: var(--violet-soft); }
.nav__end { display: flex; align-items: center; gap: 10px; }
.lang { height: 42px; min-width: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font: 500 12px var(--f-latin); letter-spacing: .06em; transition: border-color .3s, background-color .3s; }
html[lang="en"] .lang { font-family: "Plex Arabic", sans-serif; font-size: 14px; letter-spacing: 0; }
.lang:hover { border-color: var(--ink); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 35; background: var(--paper); padding: 110px var(--gut) 40px; display: flex; flex-direction: column; justify-content: space-between; }
.menu__links a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font: 800 clamp(34px, 9vw, 54px)/1.2 var(--f-display); }
html[lang="en"] .menu__links a { font-weight: 300; font-size: clamp(26px, 7vw, 40px); }
.menu__links small { font: 400 12px var(--f-latin); color: var(--violet-2); }
.menu__foot a { display: inline-flex; gap: 10px; align-items: center; color: var(--ink-2); }
.menu__foot svg { width: 20px; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 90; background: var(--paper); display: grid; place-content: center; justify-items: center; gap: 22px; }
html:not(.js) .loader, html.seen .loader { display: none; }
.loader__mark { position: relative; width: 120px; aspect-ratio: 130 / 132; color: var(--violet); }
.loader__rays { width: 100%; height: 100%; fill: currentColor; transform-origin: 56.45% 32.32%; transform: scale(.2) rotate(-120deg); opacity: 0; animation: lRays 1.1s var(--ease) .1s forwards; }
.loader__eye { position: absolute; left: 56.45%; top: 32.32%; width: 29.06%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); transform: translate(-50%, -50%) scaleY(.08); animation: lEye .5s var(--ease) .75s forwards; }
.loader__eye i { position: absolute; width: 28.6%; aspect-ratio: 1; border-radius: 50%; background: var(--cream); left: 66.6%; top: 33.4%; transform: translate(-50%, -50%); }
.loader__word { width: 110px; height: 28px; fill: var(--violet); opacity: 0; animation: lWord .7s var(--ease) .9s forwards; }
@keyframes lRays { to { transform: none; opacity: 1; } }
@keyframes lEye { to { transform: translate(-50%, -50%); } }
@keyframes lWord { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.loader.is-out { transform: translateY(-100%); transition: transform .9s var(--ease-io); }
html.calm .loader__rays, html.calm .loader__eye, html.calm .loader__word { animation-duration: .4s; animation-delay: 0s; }

/* ---------- Sections ---------- */
.sec { position: relative; padding: var(--sec) var(--gut) 0; max-width: var(--max); margin: 0 auto; }
.sec__head { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 64px); font-size: 14px; color: var(--ink-2); }
.sec__no { font: 400 12px var(--f-latin); letter-spacing: .08em; color: var(--violet-2); }
.sec__no::after { content: " /"; color: var(--ink-3); }
.sec__title { font: 800 clamp(44px, 7vw, 104px)/1.08 var(--f-display); letter-spacing: 0; }
html[lang="en"] .sec__title { font-weight: 300; font-size: clamp(34px, 5.4vw, 80px); line-height: 1.04; letter-spacing: -.02em; }
.sec__title--sm { font-size: clamp(38px, 5.2vw, 76px); }
html[lang="en"] .sec__title--sm { font-size: clamp(30px, 4vw, 58px); }
.sec__intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); position: relative; z-index: 1; }
.sec__intro p { color: var(--ink-2); max-width: 46ch; font-size: 17px; }

.ghost { position: absolute; top: calc(var(--sec) - .42em); inset-inline: 0; overflow: hidden; pointer-events: none; z-index: 0;
  font: 300 clamp(80px, 17vw, 270px)/1 var(--f-latin); letter-spacing: -.04em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(155, 133, 190, .3); direction: ltr; text-align: center; }

/* reveal: IntersectionObserver adds .in */
html.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: var(--d, 0s); }
html.js.motion [data-reveal] { transform: translateY(34px); filter: blur(6px); }
html.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr); padding: 104px var(--gut) 34px; max-width: var(--max); margin: 0 auto; position: relative; }
.hero__meta { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.dot-status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.dot-status i { width: 8px; height: 8px; border-radius: 50%; background: #3BAA74; box-shadow: 0 0 0 0 rgba(59, 170, 116, .5); animation: pulse 2.4s infinite; }
.dot-status b { font-weight: 500; color: var(--ink); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(59, 170, 116, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 170, 116, 0); } }
.hero__year { display: grid; font: 300 15px/1.1 var(--f-latin); letter-spacing: .5em; color: var(--violet); direction: ltr; }

.hero__stage { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: clamp(24px, 4vh, 56px) 0; }
.hero__title { font: 800 clamp(46px, 6.6vw, 118px)/1.12 var(--f-display); position: relative; z-index: 2; }
html[lang="en"] .hero__title { font-weight: 300; font-size: clamp(44px, 7.4vw, 124px); line-height: 1; letter-spacing: -.035em; }
.hero__title .line { display: block; overflow: hidden; padding-block: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--accent { color: var(--violet); }
html.js.motion:not(.seen) .hero__title .line > span { transform: translateY(110%); }
html.js .hero.is-in .hero__title .line > span { transform: none; transition: transform 1.2s var(--ease); }
html.js .hero.is-in .hero__title .line:nth-child(2) > span { transition-delay: .1s; }
html.js .hero.is-in .hero__title .line:nth-child(3) > span { transition-delay: .2s; }

.hero__mark { position: relative; justify-self: center; width: min(32vw, 500px); }
.mark--hero { width: 100%; transform-origin: 56.45% 32.32%; }
.mark--hero .mark__rays { transform-origin: 56.45% 32.32%; }
html.js.motion .mark--hero .mark__rays { animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__orbit { position: absolute; left: 56.45%; top: 32.32%; width: 118%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(155, 133, 190, .35); pointer-events: none; }
html.js.motion:not(.seen) .hero__mark { opacity: 0; transform: scale(.86) rotate(-14deg); }
html.js .hero.is-in .hero__mark { opacity: 1; transform: none; transition: opacity 1.2s var(--ease) .15s, transform 1.6s var(--ease) .15s; }

.hero__foot { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__sub { max-width: 52ch; color: var(--ink-2); font-size: 16.5px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__scroll { display: grid; justify-items: center; gap: 8px; font: 400 10.5px var(--f-latin); letter-spacing: .2em; color: var(--ink-3); text-transform: uppercase; }
html[dir="rtl"] .hero__scroll b { font-family: var(--f-body); letter-spacing: 0; font-size: 12px; }
.hero__scroll i { width: 1px; height: 44px; background: linear-gradient(var(--line), var(--line)) no-repeat; position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--violet-2); transform: translateY(-100%); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 60%, 100% { transform: translateY(100%); } }

/* ---------- Tapes ---------- */
.tapes { position: relative; height: clamp(150px, 18vw, 230px); overflow: hidden; margin-top: clamp(40px, 6vw, 80px); direction: ltr; }
.tape { position: absolute; left: -5%; right: -5%; top: 50%; padding: 14px 0; overflow: hidden; white-space: nowrap; }
.tape--violet { background: var(--violet); color: #fff; transform: translateY(-110%) rotate(-2.6deg); }
.tape--ink { background: var(--ink); color: var(--cream); transform: translateY(10%) rotate(2.2deg); }
.tape__track { display: inline-block; white-space: nowrap; width: max-content; font: 400 clamp(15px, 1.6vw, 22px)/1 var(--f-latin); letter-spacing: .06em; animation: tape 38s linear infinite; }
.tape--violet .tape__track { font: 800 clamp(20px, 2.2vw, 30px)/1 "Zain Long", sans-serif; letter-spacing: 0; direction: rtl; }
.tape--ink .tape__track { animation-direction: reverse; }
@keyframes tape { to { transform: translateX(-50%); } }
html.calm .tape__track { animation-duration: 120s; }

/* ---------- About ---------- */
.about__text { font: 400 clamp(26px, 3.4vw, 50px)/1.5 var(--f-body); max-width: 26em; letter-spacing: -.005em; }
html[lang="en"] .about__text { font-size: clamp(24px, 3vw, 44px); line-height: 1.32; letter-spacing: -.02em; }
.about__text .w { color: var(--ink-3); transition: color .4s; }
.about__text .w.on { color: var(--ink); }
.about__text .w.brand { color: var(--violet); }
html.calm .about__text .w { color: var(--ink); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; margin-top: clamp(56px, 8vw, 110px); }
.about__card { background: var(--card); border-radius: 32px; padding: clamp(28px, 4vw, 52px); display: grid; gap: 18px; align-content: start; border: 1px solid var(--line); }
.about__cardMark { width: 96px; }
.about__title { font: 800 clamp(34px, 3.6vw, 52px)/1.2 var(--f-display); color: var(--violet); }
html[lang="en"] .about__title { font-weight: 300; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.02em; }
.about__card p { color: var(--ink-2); }
.about__sign { display: flex; flex-direction: column; padding-top: 18px; margin-top: 6px; border-top: 1px solid var(--line); }
.about__sign b { font-weight: 500; font-size: 18px; } .about__sign span { color: var(--ink-3); font-size: 14px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat { background: var(--paper-2); border-radius: 32px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 210px; }
.stat dt { white-space: nowrap; font: 300 clamp(44px, 5vw, 78px)/1 var(--f-latin); letter-spacing: -.04em; direction: ltr; text-align: end; color: var(--ink); }
html[dir="ltr"] .stat dt { text-align: start; }
.stat dd { color: var(--ink-2); font-size: 15px; }
.stat:nth-child(2) { background: var(--violet); } .stat:nth-child(2) dt, .stat:nth-child(2) dd { color: #fff; }

/* ---------- Identity stack ---------- */
.stack { display: grid; gap: 28px; position: relative; z-index: 1; }
.case { position: sticky; top: 92px; min-height: min(84vh, 760px); border-radius: 36px; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); transform-origin: 50% 0; will-change: transform; }
.case--kaze { background: #2B2520; color: #ECE4DD; }
.case--centro { background: #3A0018; color: #fff; top: 112px; }
.case__info { padding: clamp(28px, 4vw, 60px); display: flex; flex-direction: column; gap: 22px; }
.case__no { font: 400 12px var(--f-latin); letter-spacing: .1em; opacity: .65; align-self: flex-start; }
.case__kicker { font-size: 14px; opacity: .7; }
.case__title { font: 800 clamp(38px, 4.6vw, 70px)/1.15 var(--f-display); }
html[lang="en"] .case__title { font-weight: 300; font-size: clamp(30px, 3.4vw, 52px); letter-spacing: -.03em; line-height: 1.08; }
.case__story { opacity: .8; max-width: 44ch; font-size: 16px; }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.case__tags span { padding: 6px 14px; border-radius: 999px; border: 1px solid currentColor; font-size: 13px; opacity: .75; }
.case__btn { align-self: flex-start; background: currentColor; }
.case__btn span, .case__btn svg { color: #2B2520; }
.case--centro .case__btn span, .case--centro .case__btn svg { color: #3A0018; }
.case__media { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; padding: 10px; }
.case__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; transition: transform 1.2s var(--ease); }
.case__media figure { overflow: hidden; border-radius: 26px; min-height: 0; }
.case__media figure:first-child { grid-row: span 2; }
.case:hover .case__media img { transform: scale(1.035); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; position: relative; z-index: 1; }
.chip { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); transition: all .35s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.chip sup { font: 400 10px var(--f-latin); opacity: .6; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Packaging grid ---------- */
.pack-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); position: relative; z-index: 1; }
.pcard { display: grid; gap: 14px; text-align: start; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.pcard.is-big { grid-column: span 2; grid-row: span 2; }
.pcard__fig { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.pcard.is-big .pcard__fig { aspect-ratio: auto; height: 100%; min-height: 0; }
.pcard__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard:hover .pcard__fig img { transform: scale(1.05); }
.pcard__badge { position: absolute; top: 14px; inset-inline-start: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(251, 250, 248, .9); font-size: 12.5px; backdrop-filter: blur(8px); }
.pcard__go { position: absolute; bottom: 14px; inset-inline-end: 14px; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transform: scale(.6); opacity: 0; transition: all .5s var(--ease); }
.pcard__go svg { width: 18px; }
.pcard:hover .pcard__go, .pcard:focus-visible .pcard__go { transform: none; opacity: 1; }
.pcard__cap { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.pcard__cap b { font-weight: 500; font-size: 15.5px; }
.pcard__cap small { color: var(--ink-3); font: 400 11px var(--f-latin); letter-spacing: .04em; white-space: nowrap; }
.pcard.is-off { display: none; }

/* ---------- Social masonry ---------- */
.masonry { columns: 4 240px; column-gap: clamp(12px, 1.4vw, 20px); position: relative; z-index: 1; }
.post { display: block; width: 100%; margin-bottom: clamp(12px, 1.4vw, 20px); break-inside: avoid; border-radius: 18px; overflow: hidden; background: var(--paper-2); position: relative; }
.post img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s; }
.post:hover img { transform: scale(1.04); }
.post::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(42, 33, 62, .06); pointer-events: none; }
.post.is-off, .post.is-more { display: none; }

/* ---------- Web ---------- */
.web-list { display: grid; gap: clamp(48px, 7vw, 96px); position: relative; z-index: 1; }
.site { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.site:nth-child(even) .site__shot { order: 2; }
.site__shot { display: block; border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(42, 33, 62, .28); transition: transform .8s var(--ease); }
.site__shot:hover { transform: translateY(-6px); }
.site__bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); direction: ltr; align-items: center; }
.site__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.site__bar span { margin-inline-start: 12px; font: 400 11px var(--f-latin); color: var(--ink-3); }
.site__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.site__info { display: grid; gap: 16px; align-content: center; }
.site__info h3 { font: 800 clamp(30px, 3vw, 46px)/1.25 var(--f-display); }
html[lang="en"] .site__info h3 { font-weight: 300; font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.02em; line-height: 1.15; }
.site__info p { color: var(--ink-2); }
.site__stack { font: 400 11.5px var(--f-latin); letter-spacing: .06em; color: var(--violet-2); direction: ltr; text-align: start; }
html[dir="rtl"] .site__stack { text-align: end; }
.site__info .btn { justify-self: start; }
.site--self .site__shot { display: grid; place-items: center; aspect-ratio: 16 / 11.2; background: var(--violet-soft); }
.site--self .mark { width: 34%; }

/* ---------- Dark band ---------- */
.dark { background: var(--dark); color: var(--paper); border-radius: clamp(28px, 4vw, 56px); margin: var(--sec) clamp(8px, 1.2vw, 18px) 0; padding-bottom: var(--sec); --line: var(--dark-line); --ink-2: rgba(251, 250, 248, .66); --ink-3: rgba(251, 250, 248, .4); }
.dark .sec__no { color: var(--violet); }

.srv { border-bottom: 1px solid var(--line); margin-top: clamp(36px, 5vw, 64px); }
.srv__row a { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1fr) 56px; gap: 24px; align-items: center; padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--line); position: relative; isolation: isolate; }
.srv__row a::before { content: ""; position: absolute; inset: 0 calc(var(--gut) * -1); z-index: -1; background: var(--violet); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.srv__row a:hover::before { transform: scaleY(1); }
.srv__no { font: 400 12px var(--f-latin); color: var(--violet); transition: color .4s; }
.srv__name { font: 800 clamp(32px, 4vw, 62px)/1.15 var(--f-display); transition: transform .6s var(--ease); }
html[lang="en"] .srv__name { font-weight: 300; font-size: clamp(24px, 2.8vw, 44px); letter-spacing: -.02em; }
.srv__text { color: var(--ink-2); font-size: 15.5px; transition: color .4s; }
.srv__go { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .5s var(--ease); }
.srv__go svg { width: 20px; }
[dir="rtl"] .srv__go svg { transform: scaleX(-1); }
.srv__row a:hover .srv__no, .srv__row a:hover .srv__text { color: rgba(255, 255, 255, .85); }
.srv__row a:hover .srv__go { background: var(--paper); color: var(--ink); border-color: transparent; }
.srv__row a:hover .srv__name { transform: translateX(var(--nudge, -12px)); }
[dir="ltr"] .srv__row a { --nudge: 12px; }

.tools__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.tools__list li { border: 1px solid var(--line); border-radius: 26px; padding: 22px; display: grid; gap: 4px; transition: border-color .4s, transform .5s var(--ease); }
.tools__list li:hover { border-color: rgba(155, 133, 190, .6); transform: translateY(-4px); }
.tools__list b { font: 400 14px var(--f-latin); letter-spacing: -.01em; margin-top: 14px; direction: ltr; text-align: start; }
html[dir="rtl"] .tools__list b { text-align: end; }
.tools__list small { color: var(--ink-3); font-size: 12px; font-family: var(--f-latin); }
.tile { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font: 500 22px/1 "Manrope", sans-serif; letter-spacing: -.02em; }
.tile svg { width: 26px; height: 26px; }
.tile--ai { background: #330000; color: #FF9A00; box-shadow: inset 0 0 0 2px #FF9A00; }
.tile--ps { background: #001E36; color: #31A8FF; box-shadow: inset 0 0 0 2px #31A8FF; }
.tile--id { background: #49021F; color: #FF3366; box-shadow: inset 0 0 0 2px #FF3366; }
.tile--fr { background: #fff; color: #000; }
.tile--re { background: #20232A; color: #61DAFB; }
.tile--html { background: var(--violet); color: #fff; font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 56px); counter-reset: s; }
.steps li { padding: 28px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.steps span { font: 300 clamp(40px, 4vw, 60px)/1 var(--f-latin); color: transparent; -webkit-text-stroke: 1px var(--violet); direction: ltr; text-align: start; }
html[dir="rtl"] .steps span { text-align: end; }
.steps h3 { font: 800 30px/1.3 var(--f-display); }
html[lang="en"] .steps h3 { font-weight: 400; font-size: 22px; letter-spacing: -.01em; }
.steps p { color: var(--ink-2); font-size: 15px; max-width: 30ch; }

/* ---------- FAQ ---------- */
.faq__wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 19px; font-weight: 500; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary svg { width: 22px; flex: none; transition: transform .5s var(--ease); color: var(--violet-2); }
.faq__list details[open] summary svg { transform: rotate(45deg); }
.faq__list p { color: var(--ink-2); padding: 0 0 26px; max-width: 60ch; }

/* ---------- Order ---------- */
.order { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.order__intro { position: sticky; top: 110px; display: grid; gap: 22px; }
.order__intro .sec__head { margin-bottom: 8px; }
.order__intro > p { color: var(--ink-2); max-width: 44ch; }
.order__contacts { display: grid; gap: 10px; margin-top: 12px; }
.contact { display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 18px; justify-self: start; font: 400 14px var(--f-latin); letter-spacing: .02em; transition: border-color .3s, background-color .3s; }
.contact:hover { border-color: var(--ink); background: var(--card); }
.contact svg { width: 22px; color: var(--violet-2); }

.wizard { background: var(--card); border: 1px solid var(--line); border-radius: 36px; padding: clamp(22px, 3.4vw, 48px); box-shadow: 0 40px 80px -50px rgba(42, 33, 62, .3); }
.wizard fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.wizard__steps { display: flex; gap: 8px; margin-bottom: 32px; }
.wizard__steps li { flex: 1; display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--line); color: var(--ink-3); font-size: 14px; transition: color .4s, border-color .4s; }
.wizard__steps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; font: 400 12px var(--f-latin); }
.wizard__steps li.is-on { color: var(--ink); border-color: var(--violet); }
.wizard__steps li.is-done { color: var(--violet-2); border-color: var(--violet); }
.wizard__panel { display: grid; gap: 22px; }
.wizard__panel.is-on { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
legend { font-size: 22px; font-weight: 500; margin-bottom: 18px; padding: 0; }
legend small { font-size: 14px; color: var(--ink-3); font-weight: 400; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: flex; flex-direction: column; gap: 22px; padding: 18px; border-radius: 20px; border: 1px solid var(--line); min-height: 112px; justify-content: space-between; font-weight: 500; transition: all .35s var(--ease); }
.pick span::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--ink-3); transition: all .35s var(--ease); background: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pick label:hover span { border-color: var(--ink); }
.pick input:checked + span { background: var(--violet-soft); border-color: var(--violet); }
.pick input:checked + span::before { background-color: var(--violet-2); border-color: var(--violet-2); }
.pick input:focus-visible + span { outline: 2px solid var(--violet-2); outline-offset: 2px; }
.subs { display: grid; gap: 14px; }
.sub { background: var(--paper); border-radius: 22px; padding: 18px; display: grid; gap: 12px; animation: panelIn .5s var(--ease); }
.sub > b { font-weight: 500; font-size: 15px; }
.sub .seg { margin: 0; }
.field { display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.field > span { font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: var(--paper); border-radius: 16px; padding: 14px 16px; font-size: 16px; color: var(--ink); transition: border-color .3s, background-color .3s; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6l5-4.5' fill='none' stroke='%232A213E' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 12px; background-position: left 16px center; }
html[dir="ltr"] .field select { background-position: right 16px center; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet-2); background: var(--card); }
.field.is-bad input, .field.is-bad textarea { border-color: #C2413B; }
.field .msg { color: #C2413B; font-size: 13px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--ink); cursor: pointer; transition: all .3s var(--ease); background: var(--card); }
.seg label:hover span { border-color: var(--ink); }
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--violet-2); outline-offset: 2px; }
.sub .count { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.sub .count input { width: 92px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: var(--card); }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; }
.wizard__nav:has(> :only-child) { justify-content: flex-end; }
.summary { background: var(--paper); border-radius: 22px; padding: 20px; display: grid; gap: 10px; }
.summary b { font-weight: 500; }
.summary pre { margin: 0; white-space: pre-wrap; font: 400 14px/1.8 var(--f-body); color: var(--ink-2); max-height: 260px; overflow: auto; }
.summary small { color: var(--ink-3); }
.err { color: #C2413B; font-size: 14px; }
.ok { background: #E6F4EC; color: #17603F; border-radius: 16px; padding: 14px 18px; font-size: 15px; }

/* ---------- Footer ---------- */
.foot { padding: var(--sec) var(--gut) 28px; max-width: var(--max); margin: 0 auto; }
.foot__top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.foot__line { font: 800 clamp(30px, 3.6vw, 52px)/1.3 var(--f-display); max-width: 18em; }
html[lang="en"] .foot__line { font-weight: 300; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.02em; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px; }
.foot__links a { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; transition: all .3s; }
.foot__links a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.foot__links svg { width: 18px; }
.foot__links span[dir="ltr"] { font: 400 13px var(--f-latin); }
.foot__brand { display: flex; align-items: center; gap: 2.5vw; padding: clamp(32px, 5vw, 64px) 0; direction: ltr; }
.mark--foot { width: 21%; }
.foot__word { flex: 1; height: auto; aspect-ratio: 186 / 46; fill: var(--violet); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }

/* ---------- Mobile CTA ---------- */
.mob-cta { display: none; position: fixed; z-index: 30; bottom: calc(14px + env(safe-area-inset-bottom)); inset-inline: 14px; height: 56px; border-radius: 999px; background: var(--ink); color: var(--paper); align-items: center; justify-content: center; gap: 10px; font-weight: 500;
  box-shadow: 0 18px 40px -16px rgba(42, 33, 62, .6); transform: translateY(150%); transition: transform .6s var(--ease); }
.mob-cta svg { width: 18px; }
.mob-cta.is-on { transform: none; }

/* ---------- Sheet (project view) ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--paper); display: flex; flex-direction: column; }
.sheet[hidden] { display: none; }
html.js.motion .sheet { clip-path: inset(100% 0 0 0 round 40px); transition: clip-path .9s var(--ease-io); }
html.js.motion .sheet.is-open { clip-path: inset(0 0 0 0 round 0); }
html.calm .sheet { opacity: 0; transition: opacity .35s; } html.calm .sheet.is-open { opacity: 1; }
.sheet__bar { position: absolute; top: 18px; inset-inline-end: var(--gut); z-index: 2; }
.sheet__close { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; }
.sheet__close svg { width: 18px; }
.sheet__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 90px var(--gut) var(--sec); }
.sheet__in { max-width: 1320px; margin: 0 auto; display: grid; gap: clamp(28px, 4vw, 56px); }
.sh-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; }
.sh-head h2 { font: 800 clamp(40px, 6vw, 92px)/1.1 var(--f-display); }
html[lang="en"] .sh-head h2 { font-weight: 300; font-size: clamp(32px, 4.4vw, 68px); letter-spacing: -.03em; }
.sh-kicker { color: var(--violet-2); font-size: 14px; margin-bottom: 10px; display: block; }
.sh-head p { color: var(--ink-2); font-size: 17px; }
.sh-cover { border-radius: 32px; overflow: hidden; background: var(--paper-2); }
.sh-cover img { width: 100%; max-height: 82vh; object-fit: cover; }
.sh-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sh-meta > div { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 10px; align-content: start; }
.sh-meta h4 { margin: 0; font-weight: 500; font-size: 13px; color: var(--ink-3); }
.sh-meta ul { display: flex; flex-wrap: wrap; gap: 6px; }
.sh-meta li { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; }
.swatches { display: flex; gap: 8px; }
.swatches span { flex: 1; height: 74px; border-radius: 16px; padding: 10px; display: flex; align-items: end; font: 400 10px var(--f-latin); letter-spacing: .04em; box-shadow: inset 0 0 0 1px var(--line); direction: ltr; }
.sh-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.sh-gal button { border-radius: 24px; overflow: hidden; background: var(--paper-2); display: block; }
.sh-gal button.is-wide { grid-column: span 2; }
.sh-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sh-gal button:hover img { transform: scale(1.03); }
.sh-steps { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.sh-steps figure { border-radius: 24px; overflow: hidden; background: var(--card); border: 1px solid var(--line); position: relative; }
.sh-steps figcaption { position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 12px; border-radius: 999px; background: var(--paper); font-size: 12.5px; }
.sh-steps img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.sh-steps figure:last-of-type img { object-fit: cover; }
.sh-steps > svg { width: 28px; color: var(--violet-2); }
.sh-title { font-size: 20px; font-weight: 500; }
.sh-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--violet-soft); border-radius: 32px; padding: clamp(24px, 3vw, 40px); }
.sh-cta b { font: 800 clamp(26px, 3vw, 40px)/1.3 var(--f-display); }
html[lang="en"] .sh-cta b { font-weight: 300; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.02em; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(20, 15, 30, .95); display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; padding: 24px; color: #fff; }
.lb[hidden] { display: none; }
.lb__fig { display: grid; justify-items: center; gap: 12px; height: 100%; min-height: 0; grid-template-rows: 1fr auto; }
.lb__fig img { max-width: 100%; max-height: calc(100svh - 110px); object-fit: contain; border-radius: 10px; align-self: center; }
.lb__fig figcaption { font: 400 12px var(--f-latin); opacity: .6; letter-spacing: .08em; }
.lb__btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; transition: background-color .3s; justify-self: center; }
.lb__btn:hover { background: rgba(255, 255, 255, .12); }
.lb__btn svg { width: 22px; }
[dir="rtl"] .lb__prev svg { transform: none; } [dir="rtl"] .lb__next svg { transform: scaleX(-1); }
[dir="ltr"] .lb__prev svg { transform: scaleX(-1); }
.lb__close { position: absolute; top: 20px; inset-inline-end: 20px; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; z-index: 95; left: 0; top: 0; pointer-events: none; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--violet-2); display: none; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s; }
.cursor span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 500; opacity: 0; transition: opacity .3s; }
.cursor.is-big { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: rgba(42, 33, 62, .86); backdrop-filter: blur(6px); }
.cursor.is-big span { opacity: 1; }
@media (hover: hover) and (pointer: fine) { html.motion .cursor { display: block; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tools__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}
@media (max-width: 900px) {
  .hero__stage { grid-template-columns: 1fr; gap: 8px; }
  .hero__mark { order: -1; width: min(46vw, 280px); justify-self: end; margin-bottom: -4vw; }
  .hero__foot { grid-template-columns: 1fr; gap: 20px; }
  .hero__scroll { display: none; }
  .sec__intro, .about__grid, .faq__wrap, .order, .sh-head { grid-template-columns: 1fr; }
  .order__intro { position: static; }
  .case { grid-template-columns: 1fr; min-height: 0; position: relative; top: auto; }
  .case--centro { top: auto; }
  .case__media { order: -1; height: 64vw; }
  .site, .site:nth-child(even) { grid-template-columns: 1fr; }
  .site:nth-child(even) .site__shot { order: 0; }
  .srv__row a { grid-template-columns: 40px minmax(0, 1fr) 48px; }
  .srv__text { grid-column: 2 / 3; grid-row: 2; }
  .srv__go { grid-row: 1 / 3; grid-column: 3; width: 48px; height: 48px; }
  .sh-meta { grid-template-columns: 1fr; }
  .mob-cta { display: flex; }
  .nav .btn--sm { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 66px; }
  .hero { padding-top: 84px; }
  .hero__meta > span:nth-child(2) { display: none; }
  .hero__cta .btn { flex: 1; }
  .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard.is-big { grid-column: span 2; grid-row: auto; }
  .pcard.is-big .pcard__fig { aspect-ratio: 4 / 5; height: auto; }
  .pcard__cap { flex-direction: column; gap: 2px; }
  .pcard__cap b { font-size: 14px; }
  .masonry { columns: 2; }
  .stats { gap: 12px; }
  .stat { min-height: 160px; border-radius: 24px; padding: 20px; }
  .tools__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .steps { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .wizard { border-radius: 28px; }
  .wizard__steps b { display: none; }
  .pick { grid-template-columns: 1fr 1fr; }
  .pick span { min-height: 96px; padding: 14px; }
  .sh-gal { grid-template-columns: 1fr; }
  .sh-gal button.is-wide { grid-column: auto; }
  .sh-steps { grid-template-columns: 1fr; }
  .sh-steps > svg { transform: rotate(90deg); justify-self: center; }
  .lb { grid-template-columns: 1fr; padding: 12px; }
  .lb__prev, .lb__next { position: absolute; bottom: 24px; }
  .lb__prev { inset-inline-start: 24px; } .lb__next { inset-inline-end: 24px; }
  .foot { padding-bottom: 96px; }
}
