/* =========================================================
   Mostafa Wahba — portfolio
   Layout & motion modeled on the reference; palette & type
   taken from mostawahba.com (black / white / grays + Lama Sans)
   ========================================================= */

@font-face { font-family: "LamaSans"; font-weight: 300; font-display: swap;
  src: url("../fonts/LamaSans-Light.woff2") format("woff2"); }
@font-face { font-family: "LamaSans"; font-weight: 500; font-display: swap;
  src: url("../fonts/LamaSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "LamaSans"; font-weight: 700; font-display: swap;
  src: url("../fonts/LamaSans-Bold.woff2") format("woff2"); }

:root {
  /* palette (from mostawahba.com) — change these to re-skin the whole site */
  --bg: #0A0A0A;          /* page background */
  --bg-2: #111111;        /* dark cards */
  --ink: #0A0A0A;         /* text & outlines on light surfaces */
  --ink-2: #181919;
  --accent: #F7F7F7;      /* light accent surface (pills, cards, buttons) */
  --paper: #FFFFFF;
  --muted: #6D6D6D;       /* secondary text on light */
  --soft: #AFAFAF;        /* eyebrow / secondary text on dark */
  --shadow: #54595F;      /* hard "sticker" shadow on dark */
  --line-dark: rgba(247, 247, 247, .16);

  --f-head: "LamaSans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-body: "LamaSans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-label: "IBM Plex Sans Arabic", "LamaSans", system-ui, sans-serif;
  --f-num: "Inter Tight", "LamaSans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 500;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.lucide { width: 16px; height: 16px; flex-shrink: 0; }

.container { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1400px; }
.container--narrow { max-width: 896px; }
.stats .container, .exp .container, .skills .container,
.contact .container, .faq .container { padding: 0; }

/* ---------- section heads ---------- */
.sec-head { text-align: center; }
.sec-head--mb10 { margin-bottom: 40px; }
.sec-head--mb16 { margin-bottom: 64px; }
.sec-head--mb20 { margin-bottom: 80px; }
.eyebrow { font-family: var(--f-label); font-weight: 300; font-size: 20px; color: var(--soft); margin-bottom: 12px; }
.eyebrow--sm { font-size: 16px; }
.eyebrow--ink { color: var(--muted); margin-bottom: 16px; }
.sec-title { font-family: var(--f-head); font-weight: 700; font-size: 30px; line-height: 1.4; color: #fff; }
.sec-title--sm { font-size: 24px; }
.sec-sub { font-size: 16px; max-width: 576px; margin: 16px auto 0; color: rgba(247, 247, 247, .78); line-height: 1.8; }
@media (min-width: 768px) {
  .eyebrow { font-size: 24px; }
  .eyebrow--sm { font-size: 18px; }
  .sec-title { font-size: 36px; }
  .sec-title--xl { font-size: 48px; }
  .sec-title--sm { font-size: 30px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; border: 2px solid var(--ink); font-weight: 700; white-space: nowrap;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; color: var(--ink);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { height: 56px; padding: 0 36px; font-size: 16px; box-shadow: 5px 5px 0 0 var(--shadow); }
.btn--md { height: 52px; padding: 0 32px; font-size: 15px; box-shadow: 4px 4px 0 0 var(--shadow); }
.btn--sm { height: 40px; padding: 0 24px; font-size: 12px; box-shadow: 3px 3px 0 0 var(--ink); }
.btn--sm-shadow { height: 44px; font-size: 14px; box-shadow: 4px 4px 0 0 var(--ink); }
.btn--accent { background: var(--accent); }
.btn--paper, .btn--paper-inv { background: var(--paper); }
.btn--block { width: 100%; }
.btn--ticket { box-shadow: 5px 5px 0 0 var(--ink); }
.btn .lucide { width: 16px; height: 16px; }
.btn--sm .lucide { width: 13px; height: 13px; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: #3FCF8E; display: inline-block; position: relative; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: hero-pulse 2s ease-out infinite; }

/* =========================================================
   HEADER
   ========================================================= */
.hdr { position: fixed; top: 20px; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; pointer-events: none; padding: 0 16px; }
.hdr-row { pointer-events: auto; width: 100%; display: flex; align-items: center; gap: 12px; }
.js .hdr-row { opacity: 0; }
.hdr-pod {
  background: rgba(255, 255, 255, .58);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 8px 32px rgba(10, 10, 10, .16);
  border-radius: 9999px;
  transition: background .4s, box-shadow .4s, border-color .4s;
}
.is-scrolled .hdr-pod { background: rgba(255, 255, 255, .84); box-shadow: 0 10px 36px rgba(0, 0, 0, .35); }
.hdr-pod--brand { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 20px; }
.hdr-logo img { height: 38px; width: auto; }
.hdr-burger { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; margin-inline-end: -8px; }
.hdr-burger span { display: block; height: 2px; border-radius: 2px; background: var(--accent); transition: all .3s; }
.hdr-burger span:nth-child(1) { width: 18px; }
.hdr-burger span:nth-child(2) { width: 12px; }
.hdr-burger span:nth-child(3) { width: 15px; }
.hdr-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr-burger.is-open span:nth-child(2) { opacity: 0; }
.hdr-burger.is-open span:nth-child(3) { width: 18px; transform: translateY(-7px) rotate(-45deg); }
.hdr-pod--nav, .hdr-pod--cta { display: none; align-items: center; padding: 6px; }
.hdr-pod--nav { gap: 2px; }
.hdr-pod--cta { gap: 8px; }
.hdr-pod--nav a { padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: rgba(10, 10, 10, .58); white-space: nowrap; transition: all .3s; }
.hdr-pod--nav a:hover { color: var(--ink); }
.hdr-pod--nav a.is-active { background: var(--ink); color: #fff; font-weight: 700; }
.hdr-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink); transition: transform .2s; white-space: nowrap; }
.hdr-btn:hover { transform: translateY(-2px); }
.hdr-btn--ghost { background: #fff; border: 2px solid var(--ink); }
.hdr-btn--cta { background: var(--accent); border: 2px solid var(--ink); box-shadow: 3px 3px 0 0 var(--ink); padding: 0 24px; font-size: 15px; }
.hdr-wave { display: inline-block; transform-origin: 70% 80%; animation: hdr-wave 2.4s ease-in-out infinite; }
.hdr-btn--cta:hover .hdr-wave { animation-play-state: paused; }
.xl-only { display: none; }
@media (min-width: 1024px) {
  .hdr-row { width: auto; }
  .hdr-pod--brand { width: auto; }
  .hdr-burger { display: none; }
  .hdr-pod--nav, .hdr-pod--cta { display: flex; }
}
@media (min-width: 1280px) {
  .hdr-pod--nav a { padding: 10px 20px; font-size: 15px; }
  .xl-only { display: inline; }
  .xl-hide { display: none; }
}

/* mobile menu */
.mob { position: fixed; inset: 0; z-index: 99; display: none; }
.mob.is-open { display: block; }
.mob-backdrop { position: absolute; inset: 0; background: rgba(10, 10, 10, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.mob-panel { position: absolute; top: 96px; left: 16px; right: 16px; background: #fff; border-radius: 28px; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--shadow); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.mob-link { padding: 14px 18px; border-radius: 16px; font-size: 18px; font-weight: 700; color: var(--ink); }
.mob-link:hover { background: var(--accent); }
.mob-link--cta { background: var(--accent); border: 2px solid var(--ink); text-align: center; margin-top: 8px; box-shadow: 3px 3px 0 var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; background: var(--bg); }
.hero-aurora { position: absolute; inset: 0; z-index: 0; opacity: .4; display: none; }
.hero-aurora canvas { width: 100%; height: 100%; display: block; }
.hero-anti { position: absolute; inset: 0; z-index: 2; opacity: .25; display: none; }
.hero-anti canvas { display: block; width: 100%; height: 100%; }
.hero-glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 50% 30%, rgba(247, 247, 247, .10) 0%, transparent 60%); }
@media (min-width: 768px) {
  .hero-aurora, .hero-anti { display: block; }
  .hero-glow { display: none; }
}
.hero-inner { position: relative; z-index: 10; width: 100%; max-width: 1152px; margin: 0 auto; text-align: center; padding: 128px 24px 0; pointer-events: none; }
.hero-inner a { pointer-events: auto; }
.h-anim { margin-bottom: 28px; }
.js .h-anim { opacity: 0; }
.badge-live { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.hero-title { font-family: var(--f-head); font-weight: 700; color: #fff; line-height: 1.4; font-size: 30px; }
@media (min-width: 640px) { .hero-title { font-size: 36px; } }
@media (min-width: 768px) { .hero-title { font-size: 48px; } .hero-inner { padding-left: 48px; padding-right: 48px; } }
@media (min-width: 1024px) { .hero-title { font-size: 58px; } .hero-inner { padding-left: 80px; padding-right: 80px; } }

/* silver shimmer used for the accent words (replaces the mint highlight) */
.shine-text {
  background-image: linear-gradient(100deg, #9A9A9A 0%, #9A9A9A 36%, #F7F7F7 46%, #FFFFFF 50%, #F7F7F7 54%, #9A9A9A 64%, #9A9A9A 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shineMove 7s ease-in-out infinite;
}
.hero-lead { color: rgba(255, 255, 255, .8); font-size: 16px; line-height: 1.75; max-width: 768px; margin: 0 auto 40px; font-weight: 300; }
@media (min-width: 768px) { .hero-lead { font-size: 18px; } }
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 40px; }
.hero-trust { margin-bottom: 48px; }
.trust-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; border-radius: 999px; margin-bottom: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 600; }
.trust-pill .lucide { width: 13px; height: 13px; color: #fff; fill: #fff; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 40px; }
.trust-logos img { height: 38px; width: auto; max-width: 130px; object-fit: contain; filter: brightness(0) invert(1); opacity: .72; transition: opacity .3s; }
.trust-logos img:hover { opacity: 1; }

/* =========================================================
   MARQUEE BAND
   ========================================================= */
.band { position: relative; background: var(--bg); padding: 56px 0; overflow: hidden; }
.band-fade { position: absolute; top: 0; bottom: 0; width: 96px; z-index: 10; pointer-events: none; }
.band-fade--l { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.band-fade--r { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
@media (min-width: 768px) { .band-fade { width: 160px; } }
.band-rows { display: flex; flex-direction: column; gap: 16px; }
.band-row { display: flex; overflow: hidden; direction: ltr; }
.band-track { display: flex; align-items: center; flex-shrink: 0; will-change: transform; }
.band-track > * { margin-right: 20px; }
.band-track--ml { animation: ml 60s linear infinite; }
.band-track--mr { animation: mr 60s linear infinite; }
.band-pill { flex-shrink: 0; direction: rtl; font-family: var(--f-head); font-weight: 500; font-size: 16px; line-height: 1.6; padding: 8px 20px; border-radius: 999px; white-space: nowrap; background: var(--accent); color: var(--ink); }
.band-star { flex-shrink: 0; width: 26px; height: 26px; color: var(--accent); opacity: .9; }
@media (min-width: 768px) {
  .band-pill { font-size: 18px; padding: 10px 24px; }
  .band-star { width: 32px; height: 32px; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { position: relative; overflow: hidden; background: var(--bg); padding: 110px 0; }
.about-wrap { max-width: 1152px; margin: 0 auto; padding: 0 24px; position: relative; min-height: 650px; }
.float-pill { position: absolute; display: none; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; cursor: default; background: var(--bg); color: var(--fg); border: 1px solid rgba(255, 255, 255, .16); z-index: 5; font-size: 14px; font-weight: 700; white-space: nowrap; }
.js .float-pill { opacity: 0; }
.float-pill img { width: 18px; height: 18px; border-radius: 4px; }
.float-pill i { font-size: 16px; }
@media (min-width: 1024px) { .float-pill { display: flex; } }
.about-center { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; text-align: center; }
.about-center .sec-head { margin-bottom: 40px; }
.js .about-anim { opacity: 0; }
.profile { width: 100%; max-width: 320px; border-radius: 32px; overflow: hidden; margin-bottom: 40px; background: #fff; border: 2px solid var(--accent); }
.profile-media { position: relative; }
.profile-media > img { width: 100%; height: 340px; object-fit: cover; object-position: center top; }
.profile-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, .88) 0%, transparent 60%); }
.profile-chip { position: absolute; top: 16px; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 10, 10, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--accent); font-size: 10px; font-weight: 700; }
.profile-chip--status { right: 16px; }
.profile-chip--stars { left: 16px; gap: 2px; padding: 6px 10px; }
.profile-chip--stars .lucide { width: 11px; height: 11px; color: var(--accent); fill: var(--accent); }
.profile-name { position: absolute; bottom: 16px; right: 20px; left: 20px; text-align: center; }
.profile-name h3 { font-family: var(--f-head); font-size: 20px; color: #fff; font-weight: 700; }
.profile-name p { font-size: 12px; color: var(--accent); font-weight: 300; }
.profile-body { padding: 12px 20px 20px; }
.profile-loc { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 16px; font-size: 12px; color: var(--muted); }
.profile-loc .lucide { width: 14px; height: 14px; color: var(--ink-2); }
.profile-stats { display: flex; justify-content: space-between; margin-bottom: 16px; padding: 0 4px; }
.profile-stats > div { flex: 1; text-align: center; position: relative; }
.profile-stats > div:not(:last-child)::after { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); height: 32px; width: 1px; background: rgba(10, 10, 10, .12); }
.profile-stats b { display: block; font-family: var(--f-num); font-size: 18px; font-weight: 700; color: var(--ink); }
.profile-stats small { font-size: 10px; font-weight: 500; color: rgba(10, 10, 10, .55); }
.about-text { color: #fff; font-size: 16px; line-height: 1.8; max-width: 540px; font-weight: 300; }
@media (min-width: 768px) { .about-text { font-size: 18px; } }

/* =========================================================
   PHYSICS PILLS
   ========================================================= */
.drop { background: var(--bg); position: relative; }
.drop-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; padding: 60px 20px 16px; }
@media (min-width: 768px) { .drop-head { gap: 24px; } }
.drop-title { font-family: var(--f-head); font-weight: 700; font-size: clamp(2.5rem, 11vw, 9.5rem); line-height: 1.25; text-align: center; }
.shine-big {
  background-image: linear-gradient(100deg, #FFFFFF 0%, #FFFFFF 38%, #D2D2D2 45%, #6D6D6D 50%, #D2D2D2 55%, #FFFFFF 62%, #FFFFFF 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shineMove 12s ease-in-out infinite;
}
.drop-stage { height: 450px; position: relative; overflow: hidden; }
.drop-pill { position: absolute; left: 0; top: 0; z-index: 10; cursor: grab; user-select: none; -webkit-user-select: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 9999px; font-size: 1rem; font-weight: 700; white-space: nowrap; border: 1px solid rgba(247, 247, 247, .18); will-change: transform; backface-visibility: hidden; font-family: var(--f-body); }
.drop-pill:active { cursor: grabbing; }
.drop-pill img { width: 18px; height: 18px; flex-shrink: 0; border-radius: 4px; pointer-events: none; }
.drop-pill i { font-size: 16px; }

/* =========================================================
   SERVICES (sticker cards)
   ========================================================= */
.services { background: var(--bg); padding: 100px 0 120px; }
.services-head { padding: 0 24px; margin-bottom: 56px; }
.js .services-head { opacity: 0; }
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.svc-slot { margin-top: 0; }
@media (min-width: 768px) {
  .svc-grid { grid-template-columns: repeat(12, 1fr); gap: 24px; }
  .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; }
  .svc-slot { margin-top: var(--nudge, 0px); }
}
.svc { position: relative; height: 100%; border-radius: 20px; padding: 28px; border: 2px solid var(--ink); display: flex; flex-direction: column; will-change: transform; }
.js .svc { opacity: 0; }
@media (min-width: 768px) { .svc { padding: 32px; } }
.svc--accent { background: var(--accent); }
.svc--paper { background: var(--paper); }
.svc-icon { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; border: 2px solid var(--ink); }
.svc--accent .svc-icon { background: #fff; }
.svc--paper .svc-icon { background: var(--accent); }
.svc-icon .lucide { width: 21px; height: 21px; stroke-width: 1.9; color: var(--ink); }
.svc h3 { font-family: var(--f-head); font-weight: 700; color: var(--ink); font-size: 1.35rem; line-height: 1.5; margin-bottom: 12px; }
.svc p { font-size: .9375rem; line-height: 1.9; max-width: 50ch; margin-bottom: 24px; color: rgba(10, 10, 10, .70); font-weight: 300; }
.svc--paper p { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.chips span { border-radius: 999px; font-weight: 700; font-size: .75rem; padding: 5px 12px; border: 1.5px solid var(--ink); color: var(--ink); }
.svc--accent .chips span { background: #fff; }
.svc--paper .chips span { background: var(--accent); }
.chips span:nth-child(5n+1) { transform: rotate(-3deg); }
.chips span:nth-child(5n+2) { transform: rotate(2.2deg); }
.chips span:nth-child(5n+3) { transform: rotate(-1.4deg); }
.chips span:nth-child(5n+4) { transform: rotate(3deg); }
.chips span:nth-child(5n+5) { transform: rotate(-2.4deg); }

/* =========================================================
   HOW I WORK (timeline)
   ========================================================= */
.hiw { position: relative; overflow: hidden; background: var(--bg); padding: 100px 24px; }
.hiw-wrap { max-width: 1024px; margin: 0 auto; position: relative; }
.hiw-head { margin-bottom: 80px; }
.js .hiw-head { opacity: 0; }
.hiw-list { position: relative; }
.hiw-line { display: none; position: absolute; top: 0; bottom: 0; width: 2px; right: 156px; background: var(--line-dark); }
.hiw-line--fill { background: var(--accent); transform-origin: top center; }
.js .hiw-step { opacity: 0; }
.hiw-row { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; padding: 48px 0; position: relative; border-bottom: 1px solid var(--line-dark); }
.hiw-row--last { border-bottom: 0; }
.hiw-hover { position: absolute; left: -24px; right: -24px; top: 0; bottom: 0; border-radius: 16px; opacity: 0; transition: opacity .5s; pointer-events: none; background: rgba(247, 247, 247, .06); }
.hiw-step:hover .hiw-hover { opacity: 1; }
.hiw-numcol, .hiw-body { position: relative; z-index: 10; }
.hiw-num { display: flex; align-items: center; gap: 16px; }
.hiw-num span { font-family: var(--f-num); font-weight: 600; font-size: 60px; line-height: 1.3; color: var(--accent); }
.hiw-dot { display: none; position: absolute; right: 149px; top: 27px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 2px solid var(--accent); box-shadow: 0 0 0 6px var(--bg); }
.hiw-body h3 { font-family: var(--f-head); font-weight: 700; font-size: 24px; color: #fff; margin-bottom: 8px; transition: color .3s; line-height: 1.4; }
.hiw-step:hover .hiw-body h3 { color: #D2D2D2; }
.hiw-sub { font-size: 12px; font-weight: 700; letter-spacing: .05em; margin-bottom: 20px; color: var(--soft); }
.hiw-desc { font-size: 14px; line-height: 1.8; margin-bottom: 24px; max-width: 576px; color: rgba(247, 247, 247, .72); font-weight: 300; }
.hiw-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.hiw-chips span { padding: 8px 16px; border-radius: 999px; font-size: 11px; font-weight: 700; border: 1.5px solid var(--accent); }
.hiw-chips span:nth-child(odd) { background: var(--accent); color: var(--ink); }
.hiw-chips span:nth-child(even) { background: rgba(247, 247, 247, .1); color: var(--accent); }
.hiw-chips span:nth-child(3n+1) { transform: rotate(-3deg); }
.hiw-chips span:nth-child(3n+2) { transform: rotate(2.2deg); }
.hiw-chips span:nth-child(3n+3) { transform: rotate(-1.4deg); }
@media (min-width: 768px) {
  .hiw-line, .hiw-dot { display: block; }
  .hiw-row { grid-template-columns: 160px 1fr; gap: 48px; padding: 64px 0; }
  .hiw-num { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hiw-num span { font-size: 88px; }
  .hiw-body h3 { font-size: 36px; }
  .hiw-desc { font-size: 16px; }
}

/* =========================================================
   PROJECTS (sticky deck)
   ========================================================= */
.projects { background: var(--bg); padding: 100px 0; }
.proj-head { margin-bottom: 56px; }
.js .proj-head { opacity: 0; }
.deck { position: relative; }
.deck-sticky { display: flex; flex-direction: column; gap: 32px; }
.proj { border-radius: 28px; overflow: hidden; border: 2px solid var(--ink); display: flex; flex-direction: column; min-height: 500px; }
.js .proj { opacity: 0; }
.proj--accent { background: var(--accent); }
.proj--paper { background: var(--paper); }
.proj-media { flex-shrink: 0; position: relative; overflow: hidden; background: var(--ink-2); }
.proj-media > img { width: 100%; height: auto; display: block; }
.pm-chip { position: absolute; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.pm-chip--year { top: 20px; right: 20px; background: rgba(10, 10, 10, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--accent); font-family: var(--f-num); }
.pm-chip--country { top: 20px; left: 20px; display: flex; align-items: center; gap: 6px; background: rgba(10, 10, 10, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; }
.pm-chip--country img { width: 16px; height: 11px; border-radius: 2px; object-fit: cover; }
.pm-chip--tag { bottom: 20px; right: 20px; background: #fff; color: var(--ink); }
.pm-chip--tag-accent { background: var(--accent); }
.proj-body { flex: 1; min-width: 0; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); }
.proj-client { font-size: 12px; margin-bottom: 8px; color: rgba(10, 10, 10, .62); }
.proj-body h3 { font-family: var(--f-head); font-weight: 700; font-size: 24px; margin-bottom: 16px; color: var(--ink); line-height: 1.4; }
.proj-desc { font-size: 14px; line-height: 1.8; margin-bottom: 24px; color: rgba(10, 10, 10, .62); font-weight: 300; }
.proj--paper .proj-desc, .proj--paper .proj-client { color: var(--muted); }
.proj-hl { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.proj-hl span { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--ink); font-size: 12px; font-weight: 500; }
.proj-hl span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.proj--accent .proj-hl span { background: #fff; }
.proj--paper .proj-hl span { background: var(--accent); }
.proj-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.proj-tags span { font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 8px; border: 1.5px solid var(--ink); color: var(--ink); }
.proj-tags span:nth-child(odd) { background: #fff; }
.proj-tags span:nth-child(even) { background: #E6E6E6; }
.proj-tools { display: flex; flex-wrap: wrap; gap: 16px; }
.proj-tools > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tool-ic { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); }
.proj--paper .tool-ic { background: var(--accent); }
.tool-ic img { width: 20px; height: 20px; object-fit: contain; }
.tool-ic i { font-size: 17px; }
.proj-tools small { font-size: 10px; font-weight: 500; color: var(--ink); direction: ltr; }
.proj-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 24px; flex-shrink: 0; }
.proj-more { text-align: center; margin-top: 56px; }
@media (min-width: 768px) {
  .proj-body { padding: 40px; }
  .proj-body h3 { font-size: 30px; }
}
@media (min-width: 1024px) {
  .deck { min-height: var(--deck-h); }
  .deck-sticky { display: block; position: sticky; top: 96px; height: 78vh; }
  .proj { position: absolute; inset: 0; flex-direction: row; min-height: 0; }
  .js .proj { opacity: 1; }
  .proj--rev { flex-direction: row-reverse; }
  .proj-media { width: 48%; height: 100%; }
  .proj-media > img { height: 100%; object-fit: cover; object-position: center; }
  .proj-body { overflow: hidden; }
}

/* =========================================================
   STATS
   ========================================================= */
.stats { position: relative; overflow: hidden; background: var(--bg); padding: 100px 24px; }
.stats-dots { position: absolute; inset: 0; opacity: .04; background-image: radial-gradient(circle, #fff 1px, transparent 1px); background-size: 40px 40px; }
.stats .container { position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 768px) { .stats-grid { gap: 24px; } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { position: relative; }
.js .stat { opacity: 0; }
.stat-border { position: absolute; inset: -1px; border-radius: 24px; overflow: hidden; opacity: .6; transition: opacity .5s; }
.stat:hover .stat-border { opacity: 1; }
.stat-spin { position: absolute; inset: -50%; width: 200%; height: 200%; background: conic-gradient(from 0deg, #F7F7F7, #0A0A0A, #F7F7F7, #0A0A0A, #F7F7F7); animation: spinBorder 6s linear infinite; transform-origin: center center; }
.stat-in { position: relative; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; overflow: hidden; background: var(--bg-2); }
@media (min-width: 768px) { .stat-in { padding: 40px; } }
.stat-ring { position: relative; width: 64px; height: 64px; margin-bottom: 32px; }
.stat-ring svg:not(.lucide) { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: #1F1F1F; stroke-width: 3; }
.ring-fill { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 251; stroke-dashoffset: 251; }
.stat-ring .lucide { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 22px; height: 22px; color: var(--accent); }
.stat-num { font-family: var(--f-num); font-weight: 700; margin-bottom: 12px; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.4; direction: ltr; background-image: linear-gradient(135deg, #FFFFFF 0%, #AFAFAF 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: #fff; }
.stat-desc { font-size: 11px; color: rgba(255, 255, 255, .42); }

/* =========================================================
   EXPERIENCE (center timeline)
   ========================================================= */
.exp { position: relative; overflow: hidden; background: var(--bg); padding: 100px 24px; }
.tl { position: relative; display: flex; flex-direction: column; gap: 48px; }
.tl-line { display: none; position: absolute; right: calc(50% - 1px); top: 0; bottom: 0; width: 2px; transform-origin: top center; background: rgba(247, 247, 247, .22); }
.tl-line-m { position: absolute; right: 19px; top: 0; bottom: 0; width: 2px; background: #2B2B2B; }
.exp-item { position: relative; padding-right: 56px; }
.js .exp-item { opacity: 0; }
.exp-dot { position: absolute; right: 12px; top: 24px; }
.exp-dot span { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 2px solid var(--accent); box-shadow: 0 0 0 5px var(--bg); }
.exp-card { border-radius: 20px; padding: 24px; border: 2px solid var(--ink); transition: transform .3s; }
.exp-card:hover { transform: translateY(-3px); }
.exp-card--paper { background: #fff; }
.exp-card--accent { background: var(--accent); }
.exp-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.exp-co { font-size: 12px; font-weight: 700; color: var(--ink); }
.exp-badge { font-size: 10px; padding: 2px 8px; border-radius: 999px; font-weight: 700; background: rgba(10, 10, 10, .06); color: var(--ink); border: 1px solid rgba(10, 10, 10, .1); }
.exp-card h3 { font-family: var(--f-head); font-weight: 700; font-size: 20px; margin-bottom: 8px; color: var(--ink); line-height: 1.5; }
.exp-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.exp-meta span { display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 10px; border-radius: 999px; font-weight: 500; background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.exp-meta .lucide { width: 12px; height: 12px; }
.exp-desc { font-size: 14px; line-height: 1.8; margin-bottom: 18px; color: var(--ink); font-weight: 300; }
.exp-bullets { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 0 0 20px; padding: 0; }
.exp-bullets li { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--ink); line-height: 1.7; }
.exp-bullets .lucide { width: 14px; height: 14px; margin-top: 3px; }
.exp-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.exp-tools span { font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 6px; background: #fff; border: 1px solid var(--ink); color: var(--ink); }
.exp-card--paper .exp-tools span { background: var(--accent); }
@media (min-width: 768px) {
  .tl { gap: 64px; }
  .tl-line { display: block; }
  .tl-line-m { display: none; }
  .exp-item { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: start; padding-right: 0; }
  .exp-item .exp-card { grid-row: 1; }
  .exp-item--right .exp-card { grid-column: 1; }
  .exp-item--left .exp-card { grid-column: 3; }
  .exp-dot { position: static; grid-column: 2; grid-row: 1; display: flex; justify-content: center; padding-top: 24px; }
  .exp-dot span { width: 20px; height: 20px; border-width: 3px; }
  .exp-card { padding: 28px; }
  .exp-card h3 { font-size: 24px; }
}

/* clients */
.clients { margin: 96px -24px 0; }
.clients .sec-head { padding: 0 24px; }
.client-row { position: relative; overflow: hidden; margin-bottom: 32px; direction: ltr; }
.client-fade { position: absolute; top: 0; bottom: 0; width: 112px; z-index: 10; pointer-events: none; }
.client-fade--l { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.client-fade--r { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.client-track { display: flex; align-items: center; width: max-content; }
.client-track img { height: 50px; width: 120px; object-fit: contain; flex-shrink: 0; margin-right: 68px; filter: brightness(0) invert(1); opacity: .7; transition: opacity .3s; }
.client-track img:hover { opacity: 1; }

/* =========================================================
   SKILLS (certificate-style cards)
   ========================================================= */
.skills { position: relative; overflow: hidden; background: var(--bg); padding: 100px 24px; }
.skill-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .skill-grid { grid-template-columns: 1fr 1fr; } }
.skill-card { border-radius: 24px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; border: 2px solid var(--ink); min-height: 300px; }
.js .skill-card { opacity: 0; }
@media (min-width: 768px) { .skill-card { padding: 32px; } }
.skill-card--paper2 { background: #fff; }
.skill-card--accent { background: var(--accent); }
.skill-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.skill-brand { display: flex; align-items: center; gap: 12px; }
.skill-logo { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1.5px solid var(--ink); flex-shrink: 0; color: var(--ink); }
.skill-logo img { width: 24px; height: 24px; object-fit: contain; }
.skill-logo .lucide { width: 20px; height: 20px; }
.skill-issuer { font-size: 12px; font-weight: 700; color: var(--ink); }
.skill-valid { font-size: 10px; color: rgba(10, 10, 10, .45); }
.skill-badge { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1.5px solid var(--ink); font-size: 10px; font-weight: 700; color: var(--ink); flex-shrink: 0; }
.skill-badge .lucide { width: 12px; height: 12px; }
.skill-card h3 { font-family: var(--f-head); font-weight: 700; font-size: 20px; margin-bottom: 12px; color: var(--ink); line-height: 1.5; }
@media (min-width: 768px) { .skill-card h3 { font-size: 24px; } }
.skill-desc { font-size: 14px; line-height: 1.8; margin-bottom: 16px; color: rgba(10, 10, 10, .6); font-weight: 300; }
.skill-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.skill-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: rgba(10, 10, 10, .06); border: 1px solid rgba(10, 10, 10, .06); color: var(--ink); }
.skill-meta .lucide { width: 12px; height: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px !important; direction: ltr; }
.skill-bar { position: relative; height: 40px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; overflow: hidden; display: flex; align-items: center; box-shadow: 3px 3px 0 var(--ink); }
.skill-bar span { position: absolute; top: 0; bottom: 0; right: 0; width: 0%; background: var(--ink); border-radius: 999px; }
.skill-bar b { position: relative; z-index: 2; margin-right: auto; margin-left: 16px; font-family: var(--f-num); font-size: 13px; color: #fff; mix-blend-mode: difference; }
.skill-tools { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.skill-tools img { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: #fff; border: 1.5px solid var(--ink); object-fit: contain; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--bg); padding: 100px 24px; }
.js .faq-anim { opacity: 0; }
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item { border-radius: 20px; border: 2px solid var(--ink); background: #fff; overflow: hidden; }
.faq-item:nth-child(even) { background: var(--accent); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; background: none; border: 0; font-family: var(--f-head); font-weight: 700; font-size: 16px; line-height: 1.6; color: var(--ink); text-align: right; cursor: pointer; }
@media (min-width: 768px) { .faq-q { font-size: 18px; } }
.faq-ic { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 2px solid var(--ink); background: var(--accent); box-shadow: 2px 2px 0 var(--ink); transition: transform .35s ease; }
.faq-item:nth-child(even) .faq-ic { background: #fff; }
.faq-item.is-open .faq-ic { transform: rotate(45deg); }
.faq-a { height: 0; overflow: hidden; }
.faq-item.is-open .faq-a { height: auto; }
.faq-a p { padding: 0 24px 24px; font-size: 15px; line-height: 1.9; color: rgba(10, 10, 10, .7); font-weight: 300; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { position: relative; overflow: hidden; background: var(--bg); padding: 100px 24px; }
.js .ct-anim { opacity: 0; }
.ct-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.ct-side { display: flex; flex-direction: column; gap: 20px; }
.ct-form-wrap { display: flex; }
@media (min-width: 1024px) {
  .ct-grid { grid-template-columns: repeat(5, 1fr); }
  .ct-side { grid-column: span 2; }
  .ct-form-wrap { grid-column: span 3; }
}
.ct-loc { border-radius: 20px; padding: 24px; background: var(--accent); border: 2px solid var(--ink); }
.ct-loc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ct-ic { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1.5px solid var(--ink); flex-shrink: 0; color: var(--ink); }
.ct-ic--lg { width: 44px; height: 44px; }
.ct-ic .lucide { width: 18px; height: 18px; }
.ct-ic i { font-size: 18px; }
.ct-k { font-size: 12px; font-weight: 700; color: rgba(10, 10, 10, .7); }
.ct-v { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-v[dir="ltr"] { text-align: right; }
.ct-note { font-size: 12px; color: rgba(10, 10, 10, .7); }
.ct-link { border-radius: 20px; padding: 20px; display: flex; align-items: center; gap: 16px; background: #fff; border: 2px solid var(--ink); transition: transform .2s, box-shadow .2s; }
.ct-link:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--shadow); }
.ct-txt { flex: 1; min-width: 0; }
.ct-link .ct-k { font-size: 10px; letter-spacing: .05em; margin-bottom: 2px; color: var(--muted); }
.ct-arrow { color: var(--ink); }
.ct-form-card { border-radius: 20px; padding: 24px; width: 100%; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--ink); }
@media (min-width: 768px) { .ct-form-card { padding: 32px; } }
.ct-form-card h3 { font-family: var(--f-head); font-weight: 700; font-size: 24px; margin-bottom: 8px; color: var(--ink); line-height: 1.5; }
@media (min-width: 768px) { .ct-form-card h3 { font-size: 30px; } }
.ct-form-sub { font-size: 14px; margin-bottom: 32px; color: rgba(10, 10, 10, .5); }
.ct-form { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.ct-2col { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .ct-2col { grid-template-columns: 1fr 1fr; gap: 20px; } }
.ct-form label { display: block; font-size: 12px; font-weight: 700; color: var(--ink); }
.ct-form input, .ct-form textarea { display: block; width: 100%; margin-top: 8px; height: 48px; padding: 0 16px; border-radius: 12px; font-size: 14px; font-family: inherit; outline: none; background: #fff; border: 2px solid var(--ink); color: var(--ink); transition: box-shadow .2s; }
.ct-form textarea { height: auto; padding: 12px 16px; resize: none; }
.ct-form input:focus, .ct-form textarea:focus { box-shadow: 3px 3px 0 var(--ink); }
.ct-form .btn { margin-top: auto; box-shadow: 5px 5px 0 var(--ink); }

/* =========================================================
   FOOTER (ticket)
   ========================================================= */
.ftr { position: relative; background: var(--bg); padding: 40px 24px 0; }
.ticket { max-width: 1400px; margin: 0 auto; border-radius: 22px; overflow: hidden; background: var(--accent); border: 2px solid var(--ink); box-shadow: 7px 7px 0 0 var(--shadow); }
.ticket-top { padding: 56px 28px; text-align: center; }
.ticket-top h2 { font-family: var(--f-head); font-weight: 700; font-size: 30px; margin-bottom: 20px; color: var(--ink); line-height: 1.5; }
.ticket-sub { font-size: 16px; max-width: 448px; margin: 0 auto 36px; color: rgba(10, 10, 10, .7); line-height: 1.9; font-weight: 300; }
.ticket-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.ticket-perf { position: relative; height: 0; border-top: 3px dashed var(--ink); }
.ticket-perf::before, .ticket-perf::after { content: ""; position: absolute; top: -15px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); }
.ticket-perf::before { left: -15px; }
.ticket-perf::after { right: -15px; }
.ticket-bottom { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; background: #fff; }
.ftr-brand { font-family: var(--f-head); font-weight: 700; font-size: 24px; display: inline-block; margin-bottom: 10px; color: var(--ink); }
.ftr-brand span { color: var(--muted); }
.ftr-about { font-size: 14px; line-height: 2; margin-bottom: 20px; max-width: 38ch; color: var(--muted); font-weight: 300; }
.ftr-social { display: flex; gap: 12px; }
.ftr-social a { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); color: var(--ink); font-size: 16px; transition: transform .2s; }
.ftr-social a:hover { transform: translateY(-2px); }
.ticket-bottom h4 { font-size: 12px; font-weight: 700; letter-spacing: .06em; margin-bottom: 14px; color: var(--ink); }
.ftr-links { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.ftr-links a, .ftr-links p { font-size: 14px; font-weight: 500; color: var(--muted); }
.ftr-links a:hover { color: var(--ink); }
.ftr-links a[dir="ltr"] { text-align: right; }
.ftr-copy { max-width: 1400px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 8px; padding: 24px 4px; }
.ftr-copy p { font-size: 12px; color: rgba(247, 247, 247, .55); }
@media (min-width: 768px) {
  .ticket-top { padding: 64px 48px; }
  .ticket-top h2 { font-size: 48px; }
  .ticket-sub { font-size: 18px; }
  .ticket-bottom { grid-template-columns: 1.7fr 1fr 1fr; gap: 40px; padding: 40px 48px; }
  .ftr-copy { flex-direction: row; }
}

/* =========================================================
   PROJECT PAGES (portfolio/<slug>/index.html)
   ========================================================= */
.pj-hero { position: relative; overflow: hidden; background: var(--bg); padding: 130px 0 56px; }
.pj-hero .hero-aurora { opacity: .35; }
.pj-hero-inner { position: relative; z-index: 10; max-width: 1152px; margin: 0 auto; padding: 0 24px; text-align: center; }
.pj-hero .h-anim { margin-bottom: 22px; }
.pj-back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, color .3s; }
.pj-back:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.pj-cat { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.pj-cat .lucide { width: 14px; height: 14px; }
.pj-title { font-family: var(--f-head); font-weight: 700; color: #fff; font-size: clamp(2.6rem, 8vw, 6rem); line-height: 1.25; }
.pj-tagline { color: rgba(255, 255, 255, .8); font-size: 16px; line-height: 1.8; max-width: 720px; margin: 0 auto; font-weight: 300; }
.pj-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pj-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(247, 247, 247, .08); color: var(--accent); border: 1.5px solid rgba(247, 247, 247, .22); }
.pj-chips img { width: 18px; height: 12px; border-radius: 2px; object-fit: cover; }
.pj-chips .lucide { width: 14px; height: 14px; }
.pj-hero .hero-btns { margin: 6px 0 0; }
@media (min-width: 768px) {
  .pj-hero { padding-top: 160px; }
  .pj-tagline { font-size: 19px; }
}

.pj-cover-wrap { padding-bottom: 24px; }
.pj-cover { position: relative; margin: 0; border-radius: 28px; overflow: hidden; border: 2px solid rgba(247, 247, 247, .14); cursor: zoom-in; background: var(--ink-2); }
.js .pj-cover { opacity: 0; }
.pj-cover img { width: 100%; height: auto; display: block; }

.pj-about { background: var(--bg); padding: 80px 0 90px; }
.pj-about-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
@media (min-width: 1024px) {
  .pj-about-grid { grid-template-columns: 1.5fr 1fr; gap: 64px; }
  .pj-meta-slot { position: sticky; top: 120px; }
}
.pj-about-text .eyebrow, .pj-about-text .sec-title { text-align: right; }
.pj-about-text .sec-title { margin-bottom: 28px; }
.js .pj-anim { opacity: 0; }
.pj-p { color: rgba(247, 247, 247, .78); font-size: 16px; line-height: 2; font-weight: 300; margin-bottom: 18px; max-width: 62ch; }
@media (min-width: 768px) { .pj-p { font-size: 18px; } }
.pj-hl { margin-top: 28px; margin-bottom: 0; }
.pj-hl span { background: transparent !important; color: var(--accent); border-color: rgba(247, 247, 247, .3); }
.pj-hl span::before { background: var(--accent); }

.pj-meta { position: relative; border-radius: 20px; padding: 28px; border: 2px solid var(--ink); background: var(--accent); }
.js .pj-meta { opacity: 0; }
.pj-meta .svc-icon { background: #fff; }
.pj-meta h3 { font-family: var(--f-head); font-weight: 700; font-size: 1.35rem; color: var(--ink); margin-bottom: 10px; }
.pj-dl { margin: 0 0 22px; display: flex; flex-direction: column; }
.pj-dl > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1.5px dashed rgba(10, 10, 10, .18); }
.pj-dl > div:last-child { border-bottom: 0; }
.pj-dl dt { font-size: 13px; color: var(--muted); font-weight: 500; }
.pj-dl dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); text-align: left; display: flex; align-items: center; gap: 8px; }
.pj-dl dd img { width: 18px; height: 12px; border-radius: 2px; object-fit: cover; }
.pj-meta .proj-tools { margin-bottom: 22px; }
.pj-meta .tool-ic { background: #fff; }
.pj-meta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.pj-gallery { background: var(--bg); padding: 20px 0 100px; }
.g-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) {
  .g-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .g-full { grid-column: span 2; }
}
.g-item { position: relative; margin: 0; border-radius: 24px; overflow: hidden; border: 1.5px solid rgba(247, 247, 247, .12); background: var(--ink-2); cursor: zoom-in; }
.js .g-item { opacity: 0; }
.g-item img { width: 100%; height: auto; display: block; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.g-item:hover img { transform: scale(1.03); }
.g-zoom { position: absolute; top: 16px; left: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--ink); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.g-zoom .lucide { width: 16px; height: 16px; }
.g-item:hover .g-zoom, .pj-cover:hover .g-zoom { opacity: 1; transform: none; }
@media (hover: none) { .g-zoom { opacity: 1; transform: none; } }

.pj-next { background: var(--bg); padding: 0 0 80px; }
.pj-next-card { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; border: 2px solid var(--ink); background: var(--accent); }
.js .pj-next-card { opacity: 0; }
.pj-next-media { overflow: hidden; background: var(--ink-2); }
.pj-next-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.pj-next-card:hover .pj-next-media img { transform: scale(1.05); }
.pj-next-body { flex: 1; padding: 32px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }
.pj-next-body .eyebrow { margin: 0; }
.pj-next-body h3 { font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); color: var(--ink); line-height: 1.3; }
.pj-next-meta { font-size: 14px; color: var(--muted); margin-bottom: 14px !important; }
.pj-all { text-align: center; margin-top: 40px; }
@media (min-width: 768px) {
  .pj-next-card { flex-direction: row; min-height: 340px; }
  .pj-next-media { width: 48%; }
  .pj-next-body { padding: 40px 48px; }
}

/* works index (portfolio/index.html) */
.wk { background: var(--bg); padding: 10px 0 100px; }
.wk-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; padding: 6px; margin: 0 auto 48px; width: max-content; max-width: 100%; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; }
.wk-filter { padding: 10px 20px; border-radius: 999px; border: 0; background: transparent; color: rgba(247, 247, 247, .7); font-family: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .3s, color .3s; }
.wk-filter:hover { color: #fff; }
.wk-filter.is-active { background: var(--accent); color: var(--ink); }
.wk-filter span { font-family: var(--f-num); font-size: 11px; opacity: .6; margin-inline-start: 6px; }
.wk-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) { .wk-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.wk-card { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; border: 2px solid var(--ink); background: var(--paper); }
.wk-card--accent { background: var(--accent); }
.wk-card.is-hidden { display: none; }
.js .wk-card { opacity: 0; }
.wk-media { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink-2); }
.wk-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.wk-card:hover .wk-media > img { transform: scale(1.05); }
.wk-body { flex: 1; padding: 28px; display: flex; flex-direction: column; }
.wk-body h3 { font-family: var(--f-head); font-weight: 700; font-size: 26px; line-height: 1.4; margin-bottom: 10px; color: var(--ink); }
.wk-tagline { font-size: 15px; line-height: 1.8; margin-bottom: 20px; color: var(--muted); font-weight: 300; }
.wk-body .proj-hl { margin-bottom: 24px; }
.wk-card--paper .proj-hl span { background: var(--accent); }
.wk-card--accent .proj-hl span { background: #fff; }
.wk-body .btn { margin-top: auto; align-self: flex-start; }
@media (min-width: 768px) { .wk-body { padding: 32px; } }
.wk-drive { margin-top: 56px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 40px 24px; border-radius: 28px; border: 1.5px dashed rgba(247, 247, 247, .25); }
.js .wk-drive { opacity: 0; }
.wk-drive h3 { font-family: var(--f-head); font-weight: 700; font-size: 24px; color: #fff; }
.wk-drive p { color: rgba(247, 247, 247, .7); font-size: 15px; max-width: 480px; line-height: 1.8; font-weight: 300; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; display: none; }
.lb.is-open { display: block; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(10, 10, 10, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lb-stage { position: absolute; inset: 76px 96px; margin: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); pointer-events: auto; }
.lb-close, .lb-nav { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--ink); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--shadow); cursor: pointer; transition: transform .2s; }
.lb-close:hover, .lb-nav:hover { transform: translateY(-2px); }
.lb-close { top: 20px; left: 20px; }
.lb-prev { right: 24px; top: 50%; margin-top: -24px; }
.lb-next { left: 24px; top: 50%; margin-top: -24px; }
.lb .lucide { width: 20px; height: 20px; }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; padding: 8px 16px; border-radius: 999px; background: rgba(247, 247, 247, .1); border: 1px solid rgba(247, 247, 247, .2); color: var(--accent); font-family: var(--f-num); font-size: 13px; font-weight: 600; direction: ltr; }
@media (max-width: 767px) {
  .lb-stage { inset: 84px 12px 96px; }
  .lb-nav { top: auto; bottom: 18px; margin-top: 0; }
  .lb-prev { right: 16px; }
  .lb-next { left: 16px; }
}

/* floating WhatsApp */
.wa-float { position: fixed; bottom: 28px; left: 28px; z-index: 97; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 8px 24px rgba(37, 211, 102, .35); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: hero-pulse 2.4s ease-out infinite; }

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes ml { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes mr { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
@keyframes shineMove { 0% { background-position: 100% 0; } 50% { background-position: -100% 0; } 100% { background-position: 100% 0; } }
@keyframes spinBorder { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes hero-pulse { 0%, 100% { opacity: .9; transform: scale(1); } 50% { opacity: 0; transform: scale(2.4); } }
@keyframes hdr-wave {
  0%, 60%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); }
}

@media (prefers-reduced-motion: reduce) {
  .band-track, .shine-text, .shine-big, .stat-spin, .hdr-wave, .dot::after, .wa-float::before { animation: none !important; }
}
