:root {
  --bg: #0b0710;
  --bg-alt: #110b18;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f5f0f6;
  --muted: #ada3b6;
  --accent: #d8a7ff;
  --accent-2: #f0abfc;
  --accent-deep: #7c3aed;
  --max: 1180px;
  --radius: 22px;
  --font-body: "DM Sans", "Tajawal", system-ui, sans-serif;
  --font-display: "Playfair Display", "Tajawal", Georgia, serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
html[lang="ar"] { --font-body: "Tajawal", system-ui, sans-serif; --font-display: "Tajawal", system-ui, sans-serif; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }

::selection { background: var(--accent); color: #160b1f; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0b0710; }
::-webkit-scrollbar-thumb { background: #3b2b4a; border-radius: 10px; border: 2px solid #0b0710; }

/* progress */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-deep), var(--accent-2)); box-shadow: 0 0 14px var(--accent); }

/* header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .35s, backdrop-filter .35s, border .35s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(11, 7, 16, .82); backdrop-filter: blur(18px); border-bottom-color: var(--line); }
.nav { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 12px; font-family: var(--font-display); font-size: 21px; color: var(--accent); transform: rotate(-6deg); }
.brand-dot { color: var(--accent-2); }
.brand-text { font-size: 15px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav-links > a:not(.btn) { color: var(--muted); position: relative; transition: color .25s; }
.nav-links > a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--accent); transition: width .25s; }
.nav-links > a:not(.btn):hover, .nav-links > a.active { color: var(--text); }
.nav-links > a:not(.btn):hover::after, .nav-links > a.active::after { width: 100%; }
.lang-toggle { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 12px; cursor: pointer; color: var(--accent); transition: .25s; }
.lang-toggle:hover { border-color: var(--accent); background: var(--surface); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; place-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: .3s; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: transform .25s, background .25s, border-color .25s, box-shadow .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1a0d24; box-shadow: 0 12px 30px rgba(216, 167, 255, .2); }
.btn-primary:hover { box-shadow: 0 16px 40px rgba(216, 167, 255, .32); }
.btn-outline { border-color: var(--line); background: var(--surface); }
.btn-outline:hover { border-color: var(--accent); background: var(--surface-strong); }
.btn-ghost { border-color: var(--line); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 12px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--accent); font-weight: 600; border-bottom: 1px solid rgba(216,167,255,.4); padding-bottom: 4px; }
.text-link:hover { color: var(--accent-2); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 150px 0 110px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg span { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .28; }
.hero-bg span:nth-child(1) { width: 500px; height: 500px; background: #7c3aed; top: -120px; right: -80px; }
.hero-bg span:nth-child(2) { width: 420px; height: 420px; background: #db2777; bottom: -160px; left: -100px; opacity: .16; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 26px; font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 5px rgba(74,222,128,.13); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } }
.hero-title { font-size: clamp(46px, 6.2vw, 88px); line-height: 1.02; letter-spacing: -.045em; margin: 0; font-weight: 600; }
.hero-title .line { display: block; }
.hero-title .display { font-family: var(--font-display); font-weight: 500; }
.hero-title em { color: var(--accent); font-weight: 500; }
.star { font-size: .34em; color: var(--accent-2); vertical-align: super; margin-inline-start: 10px; animation: spin 12s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.role { margin: 20px 0 22px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(14px, 1.6vw, 18px); color: var(--accent-2); }
.role-bracket::before { content: " "; }
.hero-lead { max-width: 540px; color: var(--muted); font-size: 16px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; align-items: baseline; gap: 4px; }
.hero-stats strong { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--text); }
.hero-stats span { font-size: 12px; color: var(--muted); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.portrait-frame { position: relative; width: min(100%, 400px); aspect-ratio: 3/3.7; }
.portrait { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; border-radius: 180px 180px 26px 26px; filter: saturate(.9) contrast(1.04); box-shadow: 0 30px 80px rgba(0,0,0,.55); position: relative; z-index: 1; }
.portrait-ring { position: absolute; inset: -22px; border: 1px dashed rgba(216,167,255,.4); border-radius: 200px 200px 34px 34px; animation: spin 40s linear infinite; }
.portrait-badge { position: absolute; z-index: 2; bottom: 22px; inset-inline-start: -34px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: rgba(17,11,24,.86); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.badge-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1a0d24; }
.portrait-badge strong, .portrait-badge small { display: block; }
.portrait-badge strong { font-size: 12px; }
.portrait-badge small { font-size: 10px; color: var(--muted); }
.floating-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); backdrop-filter: blur(12px); font-size: 11px; box-shadow: 0 12px 30px rgba(0,0,0,.3); animation: float 6s ease-in-out infinite; }
.float-1 { top: 14%; inset-inline-start: -8%; }
.float-2 { bottom: 20%; inset-inline-end: -6%; animation-delay: -3s; }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.fc-icon { color: var(--accent); font-size: 14px; }
@keyframes float { 50% { transform: translateY(-12px); } }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); }

/* sections */
.section { padding: 130px 0; position: relative; }
.section-alt { background: var(--bg-alt); border-block: 1px solid rgba(255,255,255,.04); }
.section-head { display: flex; align-items: flex-start; gap: 26px; margin-bottom: 62px; }
.section-no { font-family: var(--font-display); font-size: 15px; color: var(--accent); padding-top: 12px; }
.section-kicker { color: var(--accent); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 12px; font-weight: 600; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.12; letter-spacing: -.035em; margin: 0; font-weight: 600; }
.section-head h2 em, .contact-inner h2 em { font-family: var(--font-display); color: var(--accent); font-weight: 500; }
.section-note { margin: auto 0 8px auto; color: var(--muted); font-size: 12px; }

/* about */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.collage { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 260px 150px; gap: 14px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.collage-main { grid-row: 1 / 3; object-position: 50% 15%; }
.collage-side { object-position: 50% 30%; }
.collage-small { object-position: 50% 40%; }
.about-fact { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.fact-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(216,167,255,.12); color: var(--accent); font-size: 20px; }
.about-fact strong, .about-fact span { display: block; }
.about-fact strong { font-size: 14px; }
.about-fact div > span { font-size: 11px; color: var(--muted); }
.about-copy .lead { font-size: clamp(20px, 2.3vw, 28px); line-height: 1.5; letter-spacing: -.015em; margin: 0 0 22px; font-weight: 500; }
.about-copy p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.info-list { display: grid; gap: 12px; margin: 32px 0; }
.info-list > div { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-list span:first-child { font-size: 18px; width: 28px; text-align: center; }
.info-list p { margin: 0; }
.info-list small, .info-list strong { display: block; }
.info-list small { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.info-list strong { font-size: 14px; color: var(--text); font-weight: 500; }

/* expertise */
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.expertise-card { position: relative; padding: 30px 26px 26px; min-height: 290px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s, border-color .35s, background .35s; overflow: hidden; }
.expertise-card::before { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: var(--accent-deep); filter: blur(70px); opacity: 0; top: -60px; inset-inline-end: -60px; transition: opacity .35s; }
.expertise-card:hover { transform: translateY(-8px); border-color: rgba(216,167,255,.45); background: var(--surface-strong); }
.expertise-card:hover::before { opacity: .3; }
.card-num { position: absolute; top: 24px; inset-inline-end: 24px; font-size: 11px; color: var(--muted); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(216,167,255,.1); color: var(--accent); font-size: 22px; margin-bottom: 30px; }
.expertise-card h3 { font-size: 18px; margin: 0 0 12px; line-height: 1.3; }
.expertise-card p { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags span { font-size: 10px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.marquee { overflow: hidden; margin-top: 54px; padding: 22px 0; border-block: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { font-size: 13px; letter-spacing: .18em; color: var(--muted); white-space: nowrap; padding-inline-end: 30px; }
.marquee i { color: var(--accent); font-style: normal; margin: 0 24px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* work */
.work-filter { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: -18px 0 70px; }
.filter-btn { display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 13px; color: var(--muted); transition: .3s; }
.filter-btn em { font-style: normal; font-size: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.08); }
.filter-btn:hover { border-color: rgba(216,167,255,.45); color: var(--text); }
.filter-btn.active { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1a0d24; border-color: transparent; font-weight: 700; }
.filter-btn.active em { background: rgba(26,13,36,.14); }

.work-category { margin-bottom: 90px; transition: opacity .35s, transform .35s; }
.work-category.is-hidden { display: none; }
.category-head { display: grid; grid-template-columns: 110px 1fr 1fr; align-items: center; gap: 20px; margin-bottom: 28px; }
.category-index { font-family: var(--font-display); font-size: 13px; color: var(--accent); letter-spacing: .04em; }
.category-head h3 { font-family: var(--font-display); font-size: clamp(27px, 3.2vw, 40px); font-weight: 500; margin: 0 0 4px; }
.category-head p { color: var(--muted); font-size: 13px; margin: 0; }
.category-line { height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.work-card { grid-column: span 6; position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); cursor: pointer; min-height: 420px; transition: transform .45s, border-color .45s, box-shadow .45s; }
.work-card.featured { grid-column: span 7; min-height: 520px; }
.work-card.half { grid-column: span 5; min-height: 520px; }
.work-card.wide { grid-column: span 12; min-height: 390px; }
.work-card:hover { transform: translateY(-8px); border-color: rgba(216,167,255,.5); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.work-card img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: center top; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.work-card.featured img, .work-card.half img { min-height: 520px; }
.work-card.wide img { min-height: 390px; object-position: center 20%; }
.work-card:hover img { transform: scale(1.06); }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,7,16,.45) 0%, rgba(11,7,16,0) 32%, rgba(11,7,16,.55) 62%, rgba(11,7,16,.96) 100%); pointer-events: none; }
.work-index { position: absolute; z-index: 2; top: 22px; inset-inline-start: 26px; font-family: var(--font-display); font-size: 14px; color: rgba(255,255,255,.7); letter-spacing: .1em; }
.work-badge { position: absolute; z-index: 2; top: 18px; inset-inline-end: 20px; padding: 6px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1a0d24; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.work-info { position: absolute; z-index: 2; inset: auto 0 0; padding: 28px; transition: transform .4s; }
.work-card:hover .work-info { transform: translateY(-4px); }
.work-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.work-cat { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.work-arrow { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.09); transition: .3s; flex: none; }
.work-card:hover .work-arrow { background: var(--accent); color: #1a0d24; border-color: var(--accent); transform: rotate(45deg); }
.work-info h3 { font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 36px); font-weight: 500; margin: 0 0 8px; }
.work-info p { color: #ded4e3; font-size: 13px; margin: 0 0 14px; max-width: 520px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.work-tags span { font-size: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.08); }

.graphic-grid { columns: 3; column-gap: 18px; }
.graphic-card { position: relative; break-inside: avoid; margin-bottom: 18px; height: 400px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); cursor: pointer; transition: transform .4s, border-color .4s, box-shadow .4s; }
.graphic-card:nth-child(1) { height: 470px; }
.graphic-card:nth-child(2) { height: 350px; }
.graphic-card:nth-child(3) { height: 430px; }
.graphic-card:nth-child(4) { height: 370px; }
.graphic-card:nth-child(5) { height: 450px; }
.graphic-card:hover { transform: translateY(-6px); border-color: rgba(216,167,255,.5); box-shadow: 0 26px 50px rgba(0,0,0,.4); }
.graphic-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.graphic-card:hover img { transform: scale(1.07); }
.graphic-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,7,16,.15) 0%, transparent 35%, rgba(11,7,16,.85) 100%); pointer-events: none; }
.graphic-label { position: absolute; z-index: 2; inset: auto 0 0; padding: 20px 22px; }
.graphic-label small { display: block; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.graphic-label strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 500; line-height: 1.25; }
.graphic-overlay { position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 26px; text-align: center; background: rgba(11,7,16,.82); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s; }
.graphic-card:hover .graphic-overlay, .graphic-card:focus-visible .graphic-overlay { opacity: 1; }
.graphic-overlay p { font-size: 12px; color: #ddd2e2; margin: 0; }
.graphic-overlay .work-tags { justify-content: center; }
.graphic-zoom { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-size: 20px; }

/* journey */
.journey-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; }
.timeline { position: relative; padding-inline-start: 34px; }
.timeline::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 6px; width: 1px; background: linear-gradient(var(--accent), rgba(216,167,255,.08)); }
.timeline-item { position: relative; padding-bottom: 46px; }
.timeline-dot { position: absolute; inset-inline-start: -34px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg-alt); border: 2px solid var(--accent); box-shadow: 0 0 0 6px rgba(216,167,255,.08); }
.timeline-date { font-size: 11px; letter-spacing: .14em; color: var(--accent); }
.timeline-item h3 { margin: 8px 0 10px; font-size: 22px; }
.timeline-item p { color: var(--muted); font-size: 14px; margin: 0; }
.principles { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.principles h3 { margin: 0 0 26px; font-size: 20px; }
.principles ul { list-style: none; padding: 0; margin: 0; }
.principles li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.principles li > span { color: var(--accent); font-family: var(--font-display); font-size: 15px; }
.principles strong { font-size: 14px; }
.principles p { color: var(--muted); font-size: 12px; margin: 4px 0 0; }
.principles-quote { margin-top: 26px; padding: 20px; border-radius: 14px; background: rgba(216,167,255,.08); border: 1px solid rgba(216,167,255,.16); font-family: var(--font-display); font-size: 17px; line-height: 1.6; color: #e8d9f4; }

/* contact */
.contact-section { text-align: center; overflow: hidden; }
.contact-glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: #7c3aed; filter: blur(160px); opacity: .14; left: 50%; top: 40%; transform: translate(-50%,-50%); }
.contact-inner { position: relative; z-index: 1; }
.contact-inner h2 { font-size: clamp(38px, 6vw, 76px); line-height: 1.12; letter-spacing: -.04em; margin: 0 0 20px; }
.contact-lead { color: var(--muted); max-width: 520px; margin: 0 auto 38px; }
.email-copy { display: inline-flex; align-items: center; gap: 18px; padding: 14px 18px 14px 26px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: .3s; font-size: clamp(14px, 2vw, 19px); font-weight: 600; }
.email-copy:hover { border-color: var(--accent); background: var(--surface-strong); }
.copy-label { font-size: 10px; font-weight: 400; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(216,167,255,.1); }
.contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 34px 0 22px; }
.contact-links a { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; transition: .3s; }
.contact-links a:hover { border-color: var(--accent); background: var(--surface); transform: translateY(-3px); }
.contact-links a span { color: var(--accent); font-weight: 700; }
.contact-location { font-size: 12px; color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12px; color: var(--muted); }
.back-top { color: var(--accent); }

/* toast & lightbox */
.toast { position: fixed; z-index: 300; bottom: 28px; left: 50%; transform: translate(-50%, 24px); padding: 12px 22px; background: var(--accent); color: #1a0d24; border-radius: 999px; font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none; transition: .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.wa-link { border-color: rgba(74, 222, 128, .35) !important; }
.wa-link:hover { border-color: #4ade80 !important; background: rgba(74, 222, 128, .1) !important; }
.wa-link span:first-child { color: #4ade80; }
.wa-float { position: fixed; z-index: 90; inset-inline-end: 24px; bottom: 24px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #052e16; box-shadow: 0 12px 30px rgba(37,211,102,.35); transition: transform .3s, box-shadow .3s; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 18px 40px rgba(37,211,102,.5); }
.lightbox { position: fixed; inset: 0; z-index: 250; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 40px; background: rgba(5,3,8,.94); backdrop-filter: blur(14px); }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: min(1100px, 90vw); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-figure img { max-height: 76vh; max-width: 100%; object-fit: contain; border-radius: 14px; border: 1px solid var(--line); }
.lb-figure img.is-tall { max-height: 58vh; width: auto; }
.lb-figure figcaption { text-align: center; }
.lb-figure h3 { margin: 0; font-family: var(--font-display); font-size: 22px; }
.lb-figure p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.lb-close, .lb-nav { background: var(--surface); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: .25s; flex: none; }
.lb-close { position: absolute; top: 24px; inset-inline-end: 28px; width: 44px; height: 44px; font-size: 26px; }
.lb-nav { width: 48px; height: 48px; font-size: 30px; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); color: #1a0d24; border-color: var(--accent); }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.work-card.reveal:nth-child(2n) { transition-delay: .08s; }

/* responsive */
@media (max-width: 1040px) {
  .hero-grid { gap: 40px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .journey-grid { gap: 48px; }
}
@media (max-width: 860px) {
  .container { width: min(100% - 36px, var(--max)); }
  .nav-toggle { display: grid; }
  .nav-links { position: absolute; top: 82px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 8px; padding: 18px 20px 24px; background: rgba(11,7,16,.97); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .3s; }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links > a:not(.btn) { padding: 8px 0; }
  .lang-toggle { align-self: flex-start; }
  .hero { padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .portrait-frame { width: min(78%, 340px); }
  .float-1 { inset-inline-start: 2%; }
  .float-2 { inset-inline-end: 2%; }
  .about-grid, .journey-grid { grid-template-columns: 1fr; }
  .work-card, .work-card.featured, .work-card.half, .work-card.wide { grid-column: span 12; min-height: 360px; }
  .work-card img, .work-card.featured img, .work-card.half img, .work-card.wide img { min-height: 360px; }
  .category-head { grid-template-columns: 1fr; gap: 4px; }
  .category-line { display: none; }
  .graphic-grid { columns: 2; }
  .section { padding: 90px 0; }
  .section-note { display: none; }
}
@media (max-width: 560px) {
  .hero-stats { gap: 20px 26px; }
  .hero-stats strong { font-size: 27px; }
  .hero-actions .btn { width: 100%; }
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 120px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .section-head { gap: 16px; }
  .section-head h2 { font-size: 34px; }
  .work-info { padding: 20px; }
  .work-card, .work-card.featured, .work-card.half, .work-card.wide { min-height: 340px; }
  .work-card img, .work-card.featured img, .work-card.half img, .work-card.wide img { min-height: 340px; }
  .graphic-grid { columns: 1; }
  .graphic-card, .graphic-card:nth-child(n) { height: 420px; }
  .lb-nav { width: 40px; height: 40px; }
  .lightbox { padding: 20px 10px; gap: 8px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .wa-float { inset-inline-end: 16px; bottom: 16px; width: 50px; height: 50px; }
  .wa-float svg { width: 26px; height: 26px; }
}
/* Full screens — never crop or zoom the app/web designs */
#mobileGrid .work-card, #webGrid .work-card { min-height: 0; padding-bottom: 146px; }
#mobileGrid .work-card img, #webGrid .work-card img {
  display: block; width: 100%; height: 440px; min-height: 0;
  object-fit: contain; object-position: center;
  padding: 16px 16px 0;
  background: radial-gradient(circle at 50% 35%, rgba(216,167,255,.10), transparent 65%);
}
#mobileGrid .work-card:hover img, #webGrid .work-card:hover img { transform: none; }
@media (max-width: 860px) {
  #mobileGrid .work-card img, #webGrid .work-card img { height: 360px; }
}
@media (max-width: 560px) {
  #mobileGrid .work-card, #webGrid .work-card { padding-bottom: 150px; }
  #mobileGrid .work-card img, #webGrid .work-card img { height: 300px; padding: 12px 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
