/* =========================================================
   Sheetal Jatav — Portfolio
   Light pastel / grotesque display · original, fast, no framework
   Aesthetic inspired by Obys-style sites; all layout + art original.
   ========================================================= */

:root {
  --periwinkle: #aaa4f3;
  --lilac: #d7c2ef;
  --pink: #e9cfe6;
  --cream: #f3e9ea;
  --gray: #ececec;
  --gray-2: #e4e4e6;
  --ink: #101014;
  --ink-soft: #55555f;
  --ink-faint: #8a8a94;
  --navy: #232450;
  --navy-2: #2e2f63;
  --line: rgba(16, 16, 20, 0.12);
  --white: #ffffff;
  --surface: #ffffff;
  --max: 1320px;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --f: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
}

[data-theme="dark"] {
  --gray: #0e0e13;
  --gray-2: #20202a;
  --ink: #f3f2f8;
  --ink-soft: #b7b6c4;
  --ink-faint: #7c7b8a;
  --line: rgba(255, 255, 255, 0.14);
  --surface: #17171f;
  --navy: #2b2c63;
  --navy-2: #3a3b7d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--f);
  background: var(--gray);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
@media (min-width: 900px) { body { cursor: none; } }

a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--periwinkle); }
::selection { background: var(--navy); color: #fff; }
img, svg { display: block; }

/* Display heading helper */
.h-lg, .h-md, .hero__title, .contact__big, .statement__big, .case h3, .step h3 {
  font-weight: 700; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance;
}

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: linear-gradient(180deg, #948cec, var(--periwinkle) 45%, var(--lilac) 80%, #e3d3ea);
  transition: transform 0.95s var(--ease), visibility 0.95s;
}
.loader.is-done { transform: translateY(-101%); visibility: hidden; }
[data-theme="dark"] .loader { background: linear-gradient(180deg, #34306b, #453768 55%, #201a2e); }
.loader__brand {
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; white-space: nowrap;
}
.loader__mark { color: rgba(255, 255, 255, 0.95); filter: drop-shadow(0 10px 30px rgba(40, 32, 100, 0.35)); }
.loader__foot {
  position: absolute; bottom: 30px; left: var(--pad); right: var(--pad);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.loader__count { font-size: clamp(2.6rem, 8vw, 5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.loader__bar { width: 100%; height: 2px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0%; background: #fff; }

/* ---------- Pinwheel spin ---------- */
.pinwheel { animation: spin 9s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Cursor (+ crosshair) ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 900; pointer-events: none;
  width: 26px; height: 26px; transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease);
  display: none; mix-blend-mode: difference; color: #fff;
}
.cursor span { position: absolute; background: currentColor; }
.cursor span:first-child { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.cursor span:last-child { top: 50%; left: 0; height: 1.5px; width: 100%; transform: translateY(-50%); }
.cursor.is-hover { width: 46px; height: 46px; }
@media (min-width: 900px) { .cursor { display: block; } }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--navy); z-index: 800; transition: width 0.1s linear;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad); color: #0a0a0a;
  --nl: rgba(10, 10, 10, 0.32); --nh: rgba(10, 10, 10, 0.09);
  transition: transform 0.45s var(--ease);
}
[data-theme="dark"] .nav { color: #fff; --nl: rgba(255, 255, 255, 0.5); --nh: rgba(255, 255, 255, 0.16); }
.nav.is-hidden { transform: translateY(-120%); }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: clamp(4px, 1vw, 12px); }
.nav__links a {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
  padding: 9px 16px; border-radius: 100px; border: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav__links a:hover { background: var(--nh); border-color: var(--nl); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--nl); border-radius: 50%; background: none; color: inherit; cursor: none; transition: background 0.3s; }
.theme-toggle:hover { background: var(--nh); }
.theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: block; }
[data-theme="dark"] .theme-toggle__moon { display: none; }
.menu-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 56px; height: 40px; border: 1px solid var(--nl); border-radius: 11px; background: none; color: inherit; cursor: none; transition: background 0.3s; }
.menu-btn:hover { background: var(--nh); }
.menu-btn span { display: block; width: 20px; height: 1.6px; background: currentColor; transition: transform 0.35s var(--ease); }
body.menu-open .menu-btn span:first-child { transform: translateY(3.3px) rotate(45deg); }
body.menu-open .menu-btn span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
@media (max-width: 820px) { .nav__links { display: none; } }

/* ---------- Mobile menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 480; display: flex; flex-direction: column;
  justify-content: center; gap: 40px; padding: 100px var(--pad) 48px; color: #fff;
  background: linear-gradient(165deg, #847be3, #968eea 55%, #ac9ada);
  clip-path: inset(0 0 100% 0); transition: clip-path 0.6s var(--ease);
  visibility: hidden;
}
[data-theme="dark"] .menu { background: linear-gradient(165deg, #34306b, #4d3a6d 60%, #201a2e); }
body.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a { display: flex; align-items: baseline; gap: 16px; font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 11vw, 3.6rem); letter-spacing: -0.03em; line-height: 1.1; opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.menu__links a span { font-size: 0.9rem; font-weight: 700; opacity: 0.95; }
body.menu-open .menu__links a { opacity: 1; transform: none; }
body.menu-open .menu__links a:nth-child(1) { transition-delay: 0.12s; }
body.menu-open .menu__links a:nth-child(2) { transition-delay: 0.18s; }
body.menu-open .menu__links a:nth-child(3) { transition-delay: 0.24s; }
body.menu-open .menu__links a:nth-child(4) { transition-delay: 0.30s; }
body.menu-open .menu__links a:nth-child(5) { transition-delay: 0.36s; }
body.menu-open .menu__links a:nth-child(6) { transition-delay: 0.42s; }
.menu__foot { display: flex; flex-direction: column; gap: 16px; font-size: 1.02rem; color: #fff; }
.menu__foot > a { font-weight: 700; }
.menu__social { display: flex; flex-wrap: wrap; gap: 20px; font-weight: 600; color: #fff; }

/* ---------- Section scaffolding ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 12vh, 160px) var(--pad); position: relative; scroll-margin-top: 56px; }
.section--full { max-width: none; }
.section__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(40px, 6vw, 76px); }
.tag {
  align-self: flex-start; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.18em;
  font-weight: 600; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 100px; padding: 7px 16px;
}
.tag--light { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.4); }
.h-md { font-size: clamp(2rem, 5vw, 3.6rem); text-transform: uppercase; }
.h-lg { font-size: clamp(1.8rem, 4.6vw, 3.4rem); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px var(--pad) 90px; width: 100%;
  background:
    radial-gradient(46% 40% at 74% 68%, rgba(255,255,255,0.26), transparent 65%),
    linear-gradient(168deg, #8a81e8, #9d95ee 48%, #b6a3df 85%, #d5c2e2 110%);
  color: #fff;
  transition: background 0.4s var(--ease);
}
[data-theme="dark"] .hero {
  background:
    radial-gradient(60% 55% at 62% 48%, rgba(122, 108, 210, 0.28), transparent 60%),
    linear-gradient(165deg, #34306b, #4d3a6d 55%, #201a2e);
}
[data-theme="dark"] .hero__glow { opacity: 0.3; }
.hero, .hero * { position: relative; }
.hero__glow { position: absolute; inset: 0; background: radial-gradient(36% 36% at 76% 64%, rgba(255,255,255,0.28), transparent 70%); z-index: 0 !important; pointer-events: none; }
.hero__top { margin-bottom: clamp(18px, 4vh, 40px); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--navy); }
[data-theme="dark"] .hero__eyebrow { color: rgba(255,255,255,0.9); }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

.hero__title { text-transform: uppercase; font-size: clamp(2.6rem, 8.4vw, 8rem); white-space: nowrap; }
.hero__title .l { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero__title .l-in { display: block; transition: transform 1.05s var(--ease); }
.js .hero__title .l-in { transform: translateY(115%); }
.hero__title .l2 .l-in { display: flex; align-items: center; gap: 0.16em; }
.hero__title .l1 .l-in { transition-delay: 0.05s; }
.hero__title .l2 .l-in { transition-delay: 0.18s; }
.hero__title .l3 .l-in { transition-delay: 0.31s; }
body.is-loaded .hero__title .l-in { transform: translateY(0); }
.hero__title .l3 { padding-left: 0; }
.hero__blob { color: #fff; opacity: 0.92; flex: 0 0 auto; }
.outline { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.9); }

.hero__bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; margin-top: clamp(30px, 5vh, 56px); }
.hero__lede { max-width: 40ch; font-size: clamp(1rem, 1.3vw, 1.15rem); font-weight: 500; color: rgba(24, 22, 52, 0.85); }
[data-theme="dark"] .hero__lede { color: rgba(255,255,255,0.92); font-weight: 400; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(35, 36, 80, 0.8); z-index: 2 !important; }
[data-theme="dark"] .hero__scroll { color: rgba(255,255,255,0.9); }
.hero__scroll .cross { animation: floaty 2s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(4px); } }

/* Block button */
.block-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 40px;
  min-width: min(90vw, 320px); padding: 22px 26px; background: var(--navy); color: #fff;
  font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em;
  border-radius: 4px; transition: transform 0.35s var(--ease), background 0.35s;
}
.block-btn:hover { transform: translateY(-4px); background: var(--navy-2); }
.block-btn__arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 1rem; }

/* Hero freelance teaser */
.hero__hire {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--navy); background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 100px;
  padding: 11px 20px; transition: background 0.3s, transform 0.3s var(--ease);
}
.hero__hire:hover { background: rgba(255, 255, 255, 0.6); transform: translateY(-3px); }
[data-theme="dark"] .hero__hire { color: #fff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.35); }
[data-theme="dark"] .hero__hire:hover { background: rgba(255, 255, 255, 0.2); }

/* ---------- Marquee ---------- */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; gap: 26px; width: max-content; white-space: nowrap; align-items: center; font-weight: 700; text-transform: uppercase; font-size: clamp(1.1rem, 2.4vw, 1.8rem); letter-spacing: -0.02em; animation: marquee 26s linear infinite; }
.marquee__track .star { color: var(--periwinkle); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__text .tag { margin-bottom: 22px; }
.about__text .h-lg { margin-bottom: 26px; }
.lead { color: var(--ink-soft); max-width: 52ch; font-size: 1.05rem; margin-bottom: 30px; }
.numlist { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.numlist li { display: flex; align-items: baseline; gap: 14px; font-size: 1.05rem; border-top: 1px solid var(--line); padding-top: 14px; }
.numlist span { font-weight: 700; color: var(--periwinkle); font-size: 0.9rem; }

/* Original art card (replaces their photo collage) */
.about__art { display: flex; justify-content: center; order: -1; }
.art-card {
  position: relative; width: min(90%, 400px); aspect-ratio: 1; border-radius: 26px;
  background: radial-gradient(70% 70% at 30% 25%, var(--periwinkle), var(--lilac) 55%, var(--pink));
  box-shadow: 0 30px 70px -30px rgba(35, 36, 80, 0.5); overflow: hidden;
}
.art-card__mono { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: clamp(6rem, 16vw, 10rem); color: rgba(255,255,255,0.9); letter-spacing: -0.05em; }
.art-card__orbit { position: absolute; inset: 12%; border: 1.5px dashed rgba(255,255,255,0.55); border-radius: 50%; animation: spin 16s linear infinite; }
.art-card__orbit span { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); }
.chip { position: absolute; background: #fff; color: var(--navy); font-size: 0.78rem; font-weight: 600; padding: 7px 13px; border-radius: 100px; box-shadow: 0 8px 20px -8px rgba(35,36,80,0.5); white-space: nowrap; }
.chip--a { top: 10%; left: 2%; } .chip--b { top: 28%; right: 2%; } .chip--c { bottom: 20%; left: 2%; } .chip--d { bottom: 9%; right: 6%; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__art { order: -1; } }

/* ---------- What I do — sticky stacked cards ---------- */
.do__stack { display: flex; flex-direction: column; gap: clamp(18px, 3vh, 30px); }
.do-card {
  position: sticky;
  top: calc(92px + var(--i) * 30px);
  display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: clamp(20px, 5vw, 70px);
  min-height: clamp(340px, 56vh, 520px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(28px, 5vw, 64px);
  box-shadow: 0 -14px 40px -18px rgba(16, 16, 20, 0.25);
  transition: background 0.4s;
}
.do-card__body { max-width: 56ch; }
.do-card__icon { width: 58px; height: 58px; border-radius: 15px; margin-bottom: 26px; }
.do-card__icon.i1 { background: linear-gradient(135deg, var(--periwinkle), var(--navy)); }
.do-card__icon.i2 { background: linear-gradient(135deg, var(--pink), var(--periwinkle)); }
.do-card__icon.i3 { background: linear-gradient(135deg, var(--lilac), var(--navy-2)); }
.do-card__icon.i4 { background: linear-gradient(135deg, var(--navy), var(--periwinkle)); }
.do-card h3 { font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 16px; }
.do-card p { color: var(--ink-soft); font-size: clamp(0.95rem, 1.2vw, 1.1rem); }
.do-card__num {
  font-weight: 800; font-size: clamp(4rem, 11vw, 9rem); line-height: 1;
  color: var(--periwinkle); letter-spacing: -0.05em; align-self: center;
}
@media (max-width: 640px) {
  .do-card { grid-template-columns: 1fr; min-height: clamp(300px, 48vh, 420px); top: calc(80px + var(--i) * 22px); }
  .do-card__num { position: absolute; top: 18px; right: 22px; font-size: 2.4rem; }
}

/* ---------- Statement + accordion ---------- */
.statement { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.statement__big { font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 5rem); letter-spacing: -0.04em; line-height: 0.95; }
.statement__big span { display: block; }
.acc { display: flex; flex-direction: column; }
.acc__item { border-top: 1px solid var(--line); }
.acc__item:last-child { border-bottom: 1px solid var(--line); }
.acc__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 24px 0; font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.35rem); text-transform: uppercase; letter-spacing: -0.01em; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__n, .acc__q { color: var(--periwinkle); font-size: 0.85rem; font-weight: 700; }
.acc__ico { margin-left: auto; width: 16px; height: 16px; position: relative; flex: 0 0 auto; }
.acc__ico::before, .acc__ico::after { content: ""; position: absolute; background: var(--ink); left: 50%; top: 50%; transition: transform 0.3s var(--ease); }
.acc__ico::before { width: 16px; height: 1.5px; transform: translate(-50%, -50%); }
.acc__ico::after { width: 1.5px; height: 16px; transform: translate(-50%, -50%); }
.acc__item[open] .acc__ico::after { transform: translate(-50%, -50%) scaleY(0); }
.acc__item p { color: var(--ink-soft); padding: 0 0 24px; max-width: 60ch; font-size: 0.98rem; }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } }

/* ---------- Cases / work ---------- */
.cases { display: flex; flex-direction: column; }
.case { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 5vw, 72px); padding: clamp(36px, 5vw, 60px) 0; border-top: 1px solid var(--line); align-items: start; }
.case:last-child { border-bottom: 1px solid var(--line); }
.case__stat { display: flex; align-items: baseline; gap: 6px; }
.case__stat b { font-size: clamp(4rem, 10vw, 8rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.8; }
.case__stat small { font-size: 1rem; font-weight: 600; color: var(--ink-soft); }
.case__kicker { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--periwinkle); font-weight: 600; }
.case h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); text-transform: uppercase; margin: 12px 0 16px; }
.case p { color: var(--ink-soft); max-width: 62ch; margin-bottom: 20px; }
.stack { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.stack li { font-size: 0.78rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 5px 13px; }
.case__links { display: flex; gap: 22px; }
.case__links a { font-weight: 600; font-size: 0.9rem; position: relative; }
.case__links a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 100%; background: var(--line); transition: background 0.3s; }
.case__links a:hover::after { background: var(--periwinkle); }
@media (max-width: 720px) { .case { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Freelance services (editorial statement + tilted cards) ---------- */
.hire { text-align: center; }
.hire__badge { display: flex; justify-content: center; margin-bottom: clamp(28px, 5vh, 48px); }
.hire__badge .tag { align-self: center; }
.hire__statement { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hire__line { display: block; text-transform: uppercase; line-height: 1; }
.hire__line--sm { font-size: clamp(1rem, 2.4vw, 1.7rem); font-weight: 700; letter-spacing: -0.01em; }
.hire__line--xl { font-size: clamp(3.2rem, 11vw, 9.5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 0.9; margin: 6px 0; }
.hire__line--xl em { color: var(--periwinkle); }
.hire__cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin: clamp(40px, 7vh, 70px) 0 clamp(36px, 6vh, 56px); }
.hcard {
  width: clamp(220px, 22vw, 280px); text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 12px 16px 22px; box-shadow: 0 18px 40px -22px rgba(35, 36, 80, 0.35);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, background 0.4s;
}
.hire__cards .hcard:nth-child(1) { transform: rotate(-2.4deg); }
.hire__cards .hcard:nth-child(2) { transform: rotate(1.6deg) translateY(10px); }
.hire__cards .hcard:nth-child(3) { transform: rotate(-1.4deg); }
.hire__cards .hcard:nth-child(4) { transform: rotate(2.4deg) translateY(8px); }
.hire__cards .hcard:hover { transform: rotate(0deg) translateY(-8px); box-shadow: 0 30px 60px -24px rgba(35, 36, 80, 0.5); }
.reveal.hcard { transform: none; opacity: 0; }
.reveal.hcard.is-in { opacity: 1; }
.hcard__art {
  height: 110px; border-radius: 12px; margin: 0 -4px 16px;
  display: grid; place-items: center; color: rgba(255, 255, 255, 0.9);
  font-weight: 700; font-size: 2rem; letter-spacing: -0.04em;
}
.hcard__art.a1 { background: linear-gradient(135deg, var(--periwinkle), var(--navy)); }
.hcard__art.a2 { background: linear-gradient(135deg, var(--pink), var(--periwinkle)); }
.hcard__art.a3 { background: linear-gradient(135deg, var(--lilac), var(--navy-2)); }
.hcard__art.a4 { background: linear-gradient(135deg, var(--navy), var(--periwinkle)); }
.hcard h3 { font-size: 1.02rem; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 8px; }
.hcard p { color: var(--ink-soft); font-size: 0.88rem; }
.hire__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; }
.hire__ghost {
  font-weight: 700; font-size: 0.92rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 100px; padding: 15px 24px;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.hire__ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-3px); }

/* ---------- Steps / experience ---------- */
.steplist { list-style: none; }
.step { display: grid; grid-template-columns: 160px 1fr; gap: clamp(20px, 4vw, 64px); padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__no { font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); font-size: 0.95rem; }
.step h3 { font-size: clamp(1.2rem, 2.2vw, 1.7rem); text-transform: uppercase; margin-bottom: 14px; }
.step h3 em { color: var(--periwinkle); }
.badge { display: inline-block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; border: 1px solid var(--line); border-radius: 100px; padding: 5px 13px; margin-bottom: 16px; color: var(--ink-soft); }
.badge--live { background: var(--navy); color: #fff; border-color: var(--navy); }
.step__main ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.step__main li { color: var(--ink-soft); padding-left: 20px; position: relative; max-width: 70ch; }
.step__main li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--periwinkle); }
.step--small { opacity: 0.7; }
.minor { font-size: 1.1rem !important; }
.minor-note { color: var(--ink-faint); font-size: 0.92rem; }
@media (max-width: 640px) { .step { grid-template-columns: 1fr; } }

/* ---------- Recognition: feature panels (scrollable strip) ---------- */
.section__head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: clamp(28px, 4vh, 44px); }
.section__head-text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.feat-strip { margin-bottom: clamp(30px, 5vh, 52px); }
.feat {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
  flex: 0 0 clamp(300px, 30vw, 430px); scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(24px, 2.6vw, 38px); min-height: clamp(260px, 33vh, 350px);
  transition: transform 0.4s var(--ease), background 0.4s;
}
.feat:hover { transform: translateY(-6px); }
.feat__k { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; color: var(--periwinkle); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #57d38a; box-shadow: 0 0 0 0 rgba(87,211,138,0.5); animation: pulse 2.2s infinite; }
.feat__title { font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.98; }
.feat p { color: var(--ink-soft); font-size: 0.95rem; max-width: 44ch; position: relative; z-index: 1; }
.feat__link { margin-top: auto; font-weight: 700; font-size: 0.9rem; color: var(--periwinkle); position: relative; z-index: 1; }
.feat__links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; position: relative; z-index: 1; }
.feat__links .feat__link { margin-top: 0; }
.feat__big {
  position: absolute; right: -12px; bottom: -34px; font-weight: 800; line-height: 1;
  font-size: clamp(6rem, 10vw, 10rem); letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(170, 164, 243, 0.5); pointer-events: none;
}
.feat--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.feat--navy p { color: rgba(255,255,255,0.8); }
.feat--navy .feat__k { color: var(--lilac); }
.feat--grad { background: linear-gradient(160deg, #8f88e8, var(--periwinkle)); border: none; color: #fff; }
.feat--grad p { color: rgba(255,255,255,0.95); }
.feat--grad .feat__k, .feat--grad .feat__link { color: #fff; }
@media (max-width: 640px) { .feat { flex-basis: clamp(280px, 84vw, 420px); } }

/* ---------- Certificate gallery ---------- */
.certs__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.certs__title { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; }
.certs__count { font-size: 0.82rem; color: var(--ink-faint); }
.certs__navbtns { display: flex; gap: 10px; }
.certs__navbtns button {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-size: 1rem; cursor: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.certs__navbtns button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.certs {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 6px 4px 18px; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.certs::-webkit-scrollbar { display: none; }
.cert {
  scroll-snap-align: start; flex: 0 0 clamp(240px, 28vw, 330px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 24px 22px; min-height: 210px; font-family: var(--f); color: var(--ink); cursor: none;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.4s;
}
.cert:hover { transform: translateY(-6px); border-color: var(--periwinkle); }
.cert__top { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: 6px; }
.cert__mono {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--periwinkle), var(--lilac)); color: #fff;
  font-weight: 800; font-size: 1.1rem;
}
.cert__year { font-size: 0.74rem; color: var(--ink-faint); border: 1px solid var(--line); border-radius: 100px; padding: 4px 10px; }
.cert__title { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.cert__issuer { font-size: 0.85rem; color: var(--ink-soft); }
.cert__cta { margin-top: auto; font-size: 0.82rem; font-weight: 700; color: var(--periwinkle); }

/* ---------- Contact drawer (slides in from the right) ---------- */
.cdrawer {
  position: fixed; inset: 0; z-index: 970; pointer-events: none; visibility: hidden;
  background: rgba(10, 10, 16, 0); backdrop-filter: blur(0px);
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), visibility 0.5s;
}
.cdrawer.is-open { pointer-events: auto; visibility: visible; background: rgba(10, 10, 16, 0.55); backdrop-filter: blur(6px); }
.cdrawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(430px, 92vw);
  background: var(--surface); color: var(--ink); border-left: 1px solid var(--line);
  padding: clamp(26px, 4vh, 44px) clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 14px; overflow-y: auto;
  transform: translateX(105%); transition: transform 0.55s var(--ease);
  box-shadow: -30px 0 80px -30px rgba(0, 0, 0, 0.4);
}
.cdrawer.is-open .cdrawer__panel { transform: none; }
/* staggered entrance for drawer content */
.cdrawer__panel > * { opacity: 0; transform: translateX(28px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.cdrawer.is-open .cdrawer__panel > * { opacity: 1; transform: none; }
.cdrawer.is-open .cdrawer__panel > *:nth-child(2) { transition-delay: 0.16s; }
.cdrawer.is-open .cdrawer__panel > *:nth-child(3) { transition-delay: 0.22s; }
.cdrawer.is-open .cdrawer__panel > *:nth-child(4) { transition-delay: 0.28s; }
.cdrawer.is-open .cdrawer__panel > *:nth-child(5) { transition-delay: 0.34s; }
.cdrawer.is-open .cdrawer__panel > *:nth-child(6) { transition-delay: 0.40s; }
.cdrawer.is-open .cdrawer__panel > *:nth-child(7) { transition-delay: 0.46s; }
.cdrawer__close {
  align-self: flex-end; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: none; color: var(--ink);
  font-family: var(--f); font-size: 0.95rem; cursor: none; transition: background 0.3s, color 0.3s;
}
.cdrawer__close:hover { background: var(--navy); color: #fff; }
.cdrawer__mark { color: var(--periwinkle); }
.cdrawer__title { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: 0.92; }
.cdrawer__title em { color: var(--periwinkle); }
.cdrawer__sub { color: var(--ink-soft); font-size: 0.95rem; }
.cdrawer__email {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px dashed var(--line-strong, rgba(16,16,20,0.3)); border-radius: 12px;
  padding: 10px 10px 10px 14px; font-size: 0.88rem; font-weight: 600; margin-top: 6px;
}
.cdrawer__email span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cdrawer__email button {
  flex: 0 0 auto; background: var(--navy); color: #fff; border: none; border-radius: 9px;
  padding: 9px 16px; font-family: var(--f); font-weight: 700; font-size: 0.8rem; cursor: none;
  transition: background 0.3s;
}
.cdrawer__email button:hover { background: var(--navy-2); }
.cdrawer__links { display: flex; flex-direction: column; margin-top: 10px; }
.cdrawer__row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 19px 2px; border-top: 1px solid var(--line);
  font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: -0.01em;
  transition: color 0.3s, padding-left 0.3s var(--ease);
}
.cdrawer__row:last-child { border-bottom: 1px solid var(--line); }
.cdrawer__row span { transition: transform 0.3s var(--ease); }
.cdrawer__row:hover { color: var(--periwinkle); padding-left: 10px; }
.cdrawer__row:hover span { transform: translate(4px, 0); }
.cdrawer__foot { margin-top: auto; padding-top: 18px; color: var(--ink-faint); font-size: 0.82rem; }

/* ---------- Certificate viewer modal ---------- */
.certmodal {
  position: fixed; inset: 0; z-index: 960; display: none;
  align-items: center; justify-content: center;
  background: rgba(10, 10, 16, 0.86); backdrop-filter: blur(10px);
}
.certmodal.is-open { display: flex; }
.certmodal__stage { max-width: min(880px, 86vw); max-height: 74vh; display: grid; place-items: center; }
.certmodal__stage img { max-width: 100%; max-height: 74vh; border-radius: 12px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6); }
.certmock {
  width: min(720px, 84vw); aspect-ratio: 7 / 5; border-radius: 16px; padding: 4px;
  background: linear-gradient(135deg, var(--periwinkle), var(--pink));
  display: block;
}
.certmock__inner {
  width: 100%; height: 100%; border-radius: 13px; background: #101018; color: #f3f2f8;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; padding: 28px;
}
.certmock__seal { color: var(--periwinkle); }
.certmock__title { font-weight: 800; font-size: clamp(1.4rem, 4vw, 2.4rem); text-transform: uppercase; letter-spacing: -0.02em; }
.certmock__issuer { color: #b7b6c4; font-size: 0.95rem; }
.certmodal__caption {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 0.9rem; text-align: center; opacity: 0.85; max-width: 80vw;
}
.certmodal__close {
  position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35); background: none; color: #fff; font-size: 1rem; cursor: none;
  transition: background 0.3s;
}
.certmodal__close:hover { background: rgba(255,255,255,0.15); }
.certmodal__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35);
  background: none; color: #fff; font-size: 1.1rem; cursor: none; transition: background 0.3s;
}
.certmodal__nav:hover { background: rgba(255,255,255,0.15); }
.certmodal__nav--prev { left: clamp(10px, 3vw, 40px); }
.certmodal__nav--next { right: clamp(10px, 3vw, 40px); }
@media (max-width: 640px) {
  .certmodal__nav { top: auto; bottom: 70px; transform: none; }
  .certmodal__nav--prev { left: 24%; } .certmodal__nav--next { right: 24%; }
  .certmodal__caption { bottom: 140px; }
}

/* ---------- Beyond the code ---------- */
.fun__lede { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 28px; }
.fun__grid { display: flex; flex-wrap: wrap; gap: 14px 12px; max-width: 900px; }
.sticker {
  display: inline-block; padding: 14px 20px; border-radius: 14px;
  font-weight: 600; font-size: clamp(0.9rem, 1.2vw, 1.05rem); line-height: 1.35;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.4s;
}
.fun__grid .sticker:nth-child(4n+1) { transform: rotate(-1.6deg); }
.fun__grid .sticker:nth-child(4n+2) { transform: rotate(1.4deg); background: linear-gradient(135deg, rgba(170,164,243,0.18), rgba(215,194,239,0.18)); }
.fun__grid .sticker:nth-child(4n+3) { transform: rotate(-1deg); background: var(--navy); color: #fff; border-color: var(--navy); }
.fun__grid .sticker:nth-child(4n+4) { transform: rotate(1.8deg); background: linear-gradient(135deg, var(--periwinkle), var(--lilac)); color: #fff; border: none; }
.fun__grid .sticker:hover { transform: rotate(0deg) translateY(-5px); box-shadow: 0 16px 34px -16px rgba(35,36,80,0.35); }
.reveal.sticker { transform: none; opacity: 0; }
.reveal.sticker.is-in { opacity: 1; }

/* ---------- Contact ---------- */
.contact {
  color: #fff; overflow: hidden; margin: 0; max-width: none; width: 100%; text-align: center;
  background: radial-gradient(60% 70% at 50% 20%, rgba(255,255,255,0.28), transparent 60%), linear-gradient(160deg, #8f88e8, var(--periwinkle) 55%, #b9a7e4);
  display: flex; flex-direction: column; align-items: center;
  transition: background 0.4s var(--ease);
}
.contact__big em { color: var(--navy); }
[data-theme="dark"] .contact {
  background: radial-gradient(60% 70% at 50% 20%, rgba(122, 108, 210, 0.25), transparent 60%), linear-gradient(160deg, #34306b, #4d3a6d 60%, #201a2e);
}
.contact .tag { align-self: center; margin-bottom: 26px; }
.contact__big { font-size: clamp(2.6rem, 8vw, 6.5rem); text-transform: uppercase; margin-bottom: 34px; }
.contact__emailwrap { position: relative; display: inline-block; }
.contact__email {
  font-family: var(--f); color: #fff; background: none; border: none; cursor: none;
  font-size: clamp(1.2rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em;
  position: relative; word-break: break-word; padding: 0;
}
.contact__email::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: rgba(255,255,255,0.5); transition: background 0.3s; }
.contact__email:hover::after, .contact__emailwrap.is-open .contact__email::after { background: #fff; }
.emailpop {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  min-width: 240px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px; padding: 6px;
  display: flex; flex-direction: column; gap: 2px; z-index: 20;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.contact__emailwrap.is-open .emailpop { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.emailpop::before {
  content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  border: 7px solid transparent; border-bottom-color: var(--surface);
}
.emailpop__item {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 12px 14px; border: none; border-radius: 9px; background: none;
  font-family: var(--f); font-size: 0.92rem; font-weight: 600; color: var(--ink); cursor: none;
  text-align: left; transition: background 0.25s, color 0.25s;
}
.emailpop__item:hover { background: var(--navy); color: #fff; }
.emailpop__ico { font-size: 0.9rem; opacity: 0.8; }
.contact__row { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; margin-top: 40px; }
.contact__row a { font-weight: 700; color: #fff; position: relative; }
.contact__row a:hover { color: var(--navy); }
.contact .tag--light { color: #fff; border-color: rgba(255,255,255,0.6); transition: background 0.3s; }
.contact .tag--light:hover { background: rgba(255,255,255,0.18); }

/* ---------- Footer ---------- */
.footer { max-width: var(--max); margin: 0 auto; padding: 30px var(--pad) 46px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--ink-faint); font-size: 0.85rem; }
.footer a:hover { color: var(--ink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  .hero { padding-top: 112px; }
  .hero__title { font-size: clamp(2.1rem, 12.5vw, 8rem); }
  .hero__title .l2 { gap: 0; }
  .hero__blob { display: none; }
  .hero__title .l3 { padding-left: 0; }
  .hero__bottom { flex-direction: column; align-items: stretch; }
  .block-btn { width: 100%; min-width: 0; }
  .contact__row { gap: 18px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__title .l-in { transform: none !important; transition: none !important; }
  .cursor { display: none !important; } body { cursor: auto !important; }
  .theme-toggle, .hamburger { cursor: pointer !important; }
  .loader { display: none !important; }
}
