:root {
  --night: #171627;
  --night-deep: #11101e;
  --paper: #faf9f6;
  --ink: #211e2d;
  --muted: #615e6a;
  --muted-light: #ceccd8;
  --line: #dedad6;
  --blue: #5b53ff;
  --blue-dark: #4338e8;
  --lime: #d2ff67;
  --lilac: #cfc3ff;
  --peach: #ffaf92;
  --font-head: 'Space Grotesk', 'Trebuchet MS', sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --wrap: 1330px;
  --ease: cubic-bezier(.2,.8,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 5px; }
::selection { background: var(--lime); color: var(--night); }
.wrap { width: min(calc(100% - 112px), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 20px; z-index: 1000; background: var(--lime); color: var(--night); padding: 14px 22px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.scroll-progress { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.site-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 50; color: #fff; }
.header-inner { min-height: 104px; display: flex; align-items: center; gap: 35px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; min-width: 230px; }
.wordmark-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 13px; background: var(--lime); color: var(--night); font: 700 30px/.9 var(--font-head); letter-spacing: -.12em; padding-right: 5px; }
.wordmark-icon span { color: var(--blue); }
.wordmark-text { font: 700 17px/1.02 var(--font-head); letter-spacing: -.06em; }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 38px); margin-inline: auto; }
.nav-links a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: #e2e0f0; font-size: 13px; font-weight: 700; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 6px; height: 2px; width: 100%; background: var(--lime); transform-origin: left; transform: scaleX(0); transition: transform .24s var(--ease); }
.nav-links a:hover, .nav-links a:focus-visible { color: #fff; }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.header-cta { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-width: 159px; height: 47px; border: 1px solid #77738d; border-radius: 100px; font-size: 12px; font-weight: 700; transition: .24s var(--ease); }
.header-cta:hover { background: #fff; color: var(--night); border-color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; justify-content: center; align-items: center; flex-direction: column; gap: 5px; border: 1px solid #6f6b86; border-radius: 11px; background: transparent; cursor: pointer; }
.menu-toggle span { width: 19px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }

.hero { color: #fff; background: var(--night); min-height: 790px; position: relative; isolation: isolate; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 46% 56% at 77% 47%, rgba(91,83,255,.14), transparent 70%),radial-gradient(ellipse 60% 70% at 0 100%,rgba(105,85,223,.12),transparent 78%); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; opacity: .22; pointer-events: none; background-image: linear-gradient(to right, rgba(255,255,255,.065) 1px, transparent 1px); background-size: max(90px, 8.33%) 100%; mask-image: linear-gradient(90deg,transparent 0%, black 35%,black 80%,transparent 100%); }
.hero-orb { position: absolute; border-radius: 50%; z-index: -1; }
.hero-orb-one { width: 240px; height: 240px; background: #6450ff; filter: blur(115px); opacity: .15; left: -85px; bottom: -30px; }
.hero-orb-two { width: 330px; height: 330px; background: #ca68fe; filter: blur(150px); opacity: .15; right: -80px; top: 210px; }
.hero-grid { padding-top: 165px; padding-bottom: 65px; min-height: 760px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(55px, 7vw, 126px); position: relative; z-index: 2; }
.hero-copy { padding-bottom: 10px; }
.eyebrow { font: 700 11px/1.3 var(--font-head); letter-spacing: .1em; }
.hero-eyebrow { display: inline-flex; gap: 13px; align-items: center; color: #e6e4ed; margin-bottom: 28px; }
.tiny-spark { width: 9px; height: 9px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 5px rgba(210,255,103,.1); }
.eyebrow-slash { color: #8c88a5; margin-inline: 7px; }
h1,h2,h3,p { margin: 0; }
.hero h1 { font: 700 clamp(68px, 6.5vw, 103px)/.99 var(--font-head); letter-spacing: -.069em; text-wrap: balance; max-width: 740px; }
.hero-fancy { display: block; }
.underlined { position: relative; color: var(--lilac); display: inline-block; }
.underlined::after { content: ''; position: absolute; height: 8px; width: 96%; left: 2%; bottom: -.04em; background: var(--blue); border-radius: 8px; transform: rotate(-1.2deg); z-index: -1; }
.lime-period { color: var(--lime); }
.hero-lead { margin-top: 28px; max-width: 560px; color: #cdcbdc; font-size: clamp(16px,1.4vw,18px); line-height: 1.82; text-wrap: pretty; }
.hero-lead strong { color: #fff; font-weight: 700; }
.hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 33px; }
.button { min-height: 55px; display: inline-flex; gap: 28px; padding: 0 24px; align-items: center; justify-content: center; border-radius: 100px; font-size: 14px; font-weight: 700; transition: .25s var(--ease); }
.button-lime { background: var(--lime); color: var(--night); box-shadow: 0 11px 30px -19px rgba(210,255,103,.8); }
.button-lime:hover { transform: translateY(-3px); background: #e3ffa3; box-shadow: 0 13px 35px -17px rgba(210,255,103,.9); }
.button-lime:active { transform: translateY(0); }
.button-link-light { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; font-size: 13px; color: #edeaf6; border-bottom: 1px solid #726e86; transition: color .22s,border-color .22s; }
.button-link-light:hover { color: var(--lime); border-color: var(--lime); }
.hero-detail { margin-top: 76px; display: flex; align-items: center; gap: 10px; font-size: 10px; color: #aba6c6; font-weight: 600; letter-spacing: .055em; }
.detail-dot { width: 7px; height: 7px; background: var(--lilac); transform: rotate(45deg); }
.detail-rule { height: 1px; width: 24px; background: #76728c; }
.hero-art { height: 570px; position: relative; display: flex; align-items: center; justify-content: center; }
.orbit-outline { position: absolute; width: min(115%, 590px); aspect-ratio: 1; border: 1px solid rgba(210,255,103,.27); border-radius: 50%; right: -33px; top: -7px; }
.orbit-outline::before, .orbit-outline::after { content: ''; position: absolute; border-radius: 50%; }
.orbit-outline::before { height: 18px; width: 18px; right: 45px; top: 85px; background: var(--lime); }
.orbit-outline::after { height: 10px; width: 10px; left: 0; top: 48%; background: var(--peach); }
.portrait-card { position: relative; overflow: hidden; width: min(93%, 448px); height: 523px; border-radius: 23px; background: #b4a5ff; box-shadow: 22px 22px 0 -3px #5746f2, 0 28px 95px -45px rgba(6,2,31,.8); transform: rotate(1.2deg); }
.portrait-card img { position: absolute; z-index: 1; width: 100%; height: 100%; top: 0; left: 0; object-fit: cover; object-position: center 14%; filter: saturate(.96); }
.portrait-card::after { content: ''; position: absolute; z-index: 2; inset: 50% 0 0; background: linear-gradient(to top,rgba(21,17,39,.57),transparent); pointer-events: none; }
.portrait-top, .portrait-bottom { position: absolute; left: 23px; right: 23px; z-index: 3; display: flex; align-items: center; justify-content: space-between; color: #fff; font: 700 10px/1.2 var(--font-head); letter-spacing: .05em; text-shadow: 0 1px 14px #151426; }
.portrait-top { top: 21px; }
.portrait-bottom { bottom: 21px; font-size: 12px; }
.portrait-bottom svg { color: var(--lime); }
.hero-float { position: absolute; z-index: 5; left: -45px; bottom: 60px; display: flex; gap: 14px; align-items: center; background: #fff; color: var(--ink); padding: 13px 18px 13px 13px; border-radius: 13px; box-shadow: 0 16px 50px rgba(0,0,0,.23); transform: rotate(-5deg); }
.float-symbol { font-size: 29px; height: 44px; width: 44px; display: grid; place-items: center; border-radius: 9px; background: var(--lime); color: var(--blue-dark); }
.hero-float strong,.hero-float span { display: block; }
.hero-float strong { font-size: 12px; }
.hero-float span { color: #6d6b76; font-size: 11px; margin-top: 4px; }
.tiny-orbit { width: 33px; height: 33px; border: 6px solid var(--peach); border-radius: 50%; position: absolute; top: 34px; left: 9px; }
.hero-bottom { min-height: 71px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.13); color: #adabc1; font: 700 10px var(--font-head); letter-spacing: .1em; }
.hero-bottom-left { display: flex; gap: 10px; align-items: center; }
.ring-icon { width: 12px; height: 12px; display: inline-block; border: 2px solid var(--lime); border-radius: 50%; }
.hero-bottom a { min-height: 44px; display: inline-flex; gap: 19px; align-items: center; }
.hero-bottom a span { font-size: 18px; color: var(--lime); }
.hero-bottom a:hover { color: #fff; }
.color-ribbon { background: var(--lime); color: var(--night); overflow: hidden; height: 80px; display: flex; align-items: center; }
.ribbon-track { display: flex; align-items: center; justify-content: space-around; gap: 35px; white-space: nowrap; min-width: 1330px; padding: 0 40px; width: 100%; }
.ribbon-track span { font: 700 clamp(17px, 2vw, 25px) var(--font-head); letter-spacing: -.05em; }

.section-space { padding: 125px 0 140px; }
.label-line { display: inline-flex; gap: 13px; align-items: center; font: 700 11px/1.4 var(--font-head); letter-spacing: .13em; }
.label-line::before { content: ''; height: 8px; width: 8px; background: var(--blue); border-radius: 50%; }
.section-head { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; column-gap: 70px; }
.section-head h2,.skills-heading h2 { margin-top: 16px; font: 700 clamp(49px,5.3vw,80px)/1.03 var(--font-head); letter-spacing: -.062em; text-wrap: balance; }
.section-head > p,.skills-heading > p { padding-bottom: 5px; max-width: 410px; justify-self: end; color: var(--muted); line-height: 1.85; font-size: 16px; text-wrap: pretty; }
.hand-drawn { color: var(--blue); }
.featured-project { margin-top: 58px; display: grid; grid-template-columns: 1.18fr .82fr; background: white; border-radius: 24px; overflow: hidden; box-shadow: 0 22px 75px -45px rgba(27,20,44,.19); border: 1px solid #eee9e7; }
.pos-visual { background: var(--blue); color: white; position: relative; isolation: isolate; min-height: 510px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 29px 36px; }
.pos-visual::before { position: absolute; z-index: -1; content: ''; inset: 0; background: radial-gradient(circle at 78% 69%,rgba(237,219,255,.42),transparent 42%); }
.pos-visual::after { content: ''; pointer-events: none; inset: 0; position: absolute; z-index: -1; opacity: .09; background-image: linear-gradient(90deg,white 1px,transparent 1px),linear-gradient(white 1px,transparent 1px); background-size: 66px 66px; }
.visual-topline,.pos-bottomline { display: flex; justify-content: space-between; gap: 15px; font: 700 10px/1.5 var(--font-head); letter-spacing: .1em; }
.pos-giant { align-self: center; position: relative; margin-bottom: 12px; transform: rotate(-4deg); width: min(100%, 550px); }
.pos-giant > span { font: 700 clamp(57px,6vw,98px)/.88 var(--font-head); letter-spacing: -.095em; display: block; white-space: nowrap; }
.pos-giant strong { font: 700 clamp(122px,11vw,194px)/.81 var(--font-head); letter-spacing: -.13em; color: var(--lime); display: block; white-space: nowrap; }
.pos-dot { color: #fff; }
.pos-gridline { position: absolute; display: flex; gap: 9px; right: 60px; bottom: 137px; transform: rotate(-34deg); }
.pos-gridline span { height: 65px; width: 10px; border-radius: 100px; background: rgba(255,255,255,.26); }
.pos-stamp { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--night); background: var(--lime); border-radius: 100px; padding: 11px 14px; position: absolute; right: 24px; top: 81px; transform: rotate(10deg); font: 700 10px var(--font-head); }
.pos-stamp svg { height: 30px; width: 30px; }
.featured-copy { padding: clamp(30px,4.7vw,67px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.project-type { display: inline-flex; align-items: center; gap: 8px; font: 700 10px var(--font-head); letter-spacing: .09em; color: #666276; }
.project-type-date { margin-left: 13px; color: #938fa0; }
.small-dot { width: 7px; height: 7px; border-radius: 50%; }
.small-dot.purple { background: var(--blue); }
.featured-copy h3 { margin-top: 28px; font: 700 clamp(41px,3.6vw,56px)/1.03 var(--font-head); letter-spacing: -.065em; }
.featured-copy h3 span { color: var(--blue); }
.featured-intro { margin-top: 23px; font-size: 18px; font-weight: 700; line-height: 1.65; color: var(--ink); }
.featured-copy > p:not(.featured-intro) { margin-top: 12px; font-size: 14px; line-height: 1.92; color: var(--muted); }
.stack-tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.stack-tags span { background: #f1effc; border-radius: 100px; color: #494177; font: 700 11px var(--font-head); padding: 10px 12px; }
.project-private { margin-top: 29px; font-size: 11px; line-height: 1.6; color: #605b70; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; margin-top: 39px; }
.site-project { min-width: 0; }
.project-media { display: block; height: clamp(350px,32vw,435px); border-radius: 23px; overflow: hidden; position: relative; isolation: isolate; transition: transform .34s var(--ease),box-shadow .34s var(--ease); }
.project-media:hover { transform: translateY(-5px); box-shadow: 0 25px 60px -30px rgba(31,27,79,.26); }
.project-media:active { transform: translateY(0); }
.diploma-media { background: var(--peach); color: #22203a; }
.zamzam-media { background: #171746; color: white; }
.media-label { position: absolute; left: 30px; top: 30px; z-index: 2; font: 700 10px var(--font-head); letter-spacing: .12em; }
.media-arrow { z-index: 5; position: absolute; top: 20px; right: 20px; width: 49px; height: 49px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .22s; }
.project-media:hover .media-arrow { transform: rotate(45deg); }
.diploma-cover { height: 100%; padding: 70px 35px 33px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.diploma-cover::after { position: absolute; content: ''; width: 280px; height: 280px; border: 42px solid rgba(255,255,255,.24); border-radius: 50%; right: -78px; bottom: -91px; }
.diploma-mini { font: 700 13px var(--font-head); letter-spacing: .17em; margin-bottom: 25px; }
.diploma-cover strong { position: relative; z-index: 2; font: 700 clamp(50px,5.5vw,86px)/.9 var(--font-head); letter-spacing: -.085em; }
.diploma-cover strong span { display: block; color: #fff; }
.code-orbit { align-self: flex-start; margin-top: 34px; font: 700 52px var(--font-head); letter-spacing: -.15em; }
.code-orbit span { color: #fff; }
.zamzam-cover { height: 100%; padding: 78px 35px 35px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; isolation: isolate; }
.zamzam-cover::before { content: ''; z-index: -1; position: absolute; width: 410px; height: 410px; right: -97px; top: -120px; border-radius: 50%; background: #9e90ff; box-shadow: 0 0 0 28px rgba(205,196,255,.2),0 0 0 58px rgba(205,196,255,.07); }
.zamzam-sun { width: 76px; height: 76px; border: 3px solid var(--lime); border-radius: 50%; position: absolute; top: 75px; left: 40px; }
.zamzam-cover strong { font: 700 clamp(46px,5.3vw,76px)/.91 var(--font-head); letter-spacing: -.075em; z-index: 2; }
.zamzam-cover strong span { display: block; color: var(--lime); }
.zamzam-cover p { margin-top: 22px; color: #c7c5d9; letter-spacing: .2em; font: 700 12px var(--font-head); }
.site-project-details { padding: 29px 8px 0; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.project-caption { font: 700 10px var(--font-head); letter-spacing: .11em; color: #777188; }
.site-project h3 { font: 700 clamp(28px,2.8vw,39px)/1.1 var(--font-head); letter-spacing: -.055em; margin-top: 10px; }
.site-project-details p { font-size: 13px; line-height: 1.85; color: var(--muted); margin-top: 12px; max-width: 360px; }
.project-text-link { white-space: nowrap; border-bottom: 1px solid var(--ink); padding-bottom: 8px; font: 700 11px var(--font-head); transition: color .2s,border-color .2s; }
.project-text-link:hover { color: var(--blue); border-color: var(--blue); }
.project-text-links { display: flex; flex-direction: column; align-items: start; gap: 17px; }
.archive-row { margin-top: 73px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 9px; display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 32px; }
.archive-no { font: 700 21px var(--font-head); letter-spacing: -.04em; color: var(--blue); }
.archive-no span { color: var(--muted); font: 700 10px var(--font-head); letter-spacing: .08em; }
.archive-main h3 { font: 700 28px var(--font-head); letter-spacing: -.05em; }
.archive-main p { color: var(--muted); font-size: 13px; margin-top: 5px; }
.archive-actions { display: flex; gap: 24px; }
.archive-actions a { font: 700 12px var(--font-head); white-space: nowrap; border-bottom: 1px solid var(--ink); padding: 8px 0; }
.archive-actions a:hover { color: var(--blue); border-color: var(--blue); }

.about-section { background: var(--lilac); overflow: hidden; }
.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px,9vw,145px); }
.about-title-col h2 { font: 700 clamp(57px,5.8vw,91px)/1 var(--font-head); letter-spacing: -.066em; margin-top: 20px; max-width: 480px; }
.about-title-col h2 em { font-style: normal; color: var(--blue-dark); }
.about-symbol { color: var(--blue); margin: 62px 0 0 22px; }
.about-content { padding-top: 33px; }
.about-lead { font: 600 clamp(21px,2.3vw,32px)/1.45 var(--font-head); letter-spacing: -.04em; }
.about-content > p:not(.about-lead) { margin-top: 22px; color: #393247; font-size: 15px; line-height: 1.95; }
.about-content > p strong { color: var(--ink); }
.about-notes { margin-top: 48px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; padding-top: 22px; border-top: 1px solid rgba(37,25,81,.23); }
.about-notes > div { display: flex; flex-direction: column; gap: 12px; }
.about-notes span { font: 700 10px/1.4 var(--font-head); letter-spacing: .085em; color: #675b7b; }
.about-notes strong { font: 700 13px/1.55 var(--font-head); }
.skills-section { background: var(--paper); }
.skills-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 55px; }
.skills-heading h2 span { color: var(--blue); }
.skills-columns { margin-top: 67px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 57px 60px; }
.skill-block { border-top: 1px solid var(--ink); padding-top: 26px; }
.skill-index { color: var(--blue-dark); font: 700 11px var(--font-head); letter-spacing: .1em; }
.skill-block h3 { font: 700 clamp(27px,2.8vw,38px)/1.15 var(--font-head); letter-spacing: -.045em; margin-top: 20px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.chip-list span { display: inline-flex; align-items: center; min-height: 37px; background: #f0eeea; border: 1px solid #e8e4dd; border-radius: 100px; padding: 7px 14px; font: 700 12px var(--font-head); }
.chip-list .chip-highlight { background: var(--lime); border-color: var(--lime); }
.skill-block p { margin-top: 22px; max-width: 480px; color: var(--muted); font-size: 13px; line-height: 1.9; }

.contact-section { color: white; background: var(--blue); position: relative; isolation: isolate; overflow: hidden; }
.contact-section::before { content: ''; position: absolute; z-index: -1; width: 620px; height: 620px; border-radius: 50%; border: 140px solid rgba(224,214,255,.12); right: -280px; top: -220px; }
.contact-section::after { content: ''; position: absolute; z-index: -1; width: 460px; height: 460px; border: 1px solid rgba(255,255,255,.26); left: -260px; bottom: -230px; border-radius: 50%; }
.contact-wrap { padding-top: 75px; }
.contact-top { display: flex; justify-content: space-between; gap: 18px; font: 700 11px var(--font-head); letter-spacing: .1em; }
.contact-wrap h2 { margin-top: 95px; max-width: 1100px; font: 700 clamp(61px,9.3vw,144px)/.98 var(--font-head); letter-spacing: -.068em; }
.contact-wrap h2 span { color: var(--lime); }
.contact-actions { margin-top: 45px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.contact-email { display: inline-flex; align-items: center; justify-content: center; gap: 45px; min-height: 64px; background: white; color: var(--blue-dark); border-radius: 100px; padding: 0 27px; font-size: 15px; font-weight: 700; transition: transform .24s var(--ease),background .24s; }
.contact-email:hover { transform: translateY(-3px); background: var(--lime); }
.contact-whatsapp { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.7); }
.contact-whatsapp:hover { color: var(--lime); border-color: var(--lime); }
.contact-footer { margin-top: 125px; border-top: 1px solid rgba(255,255,255,.25); padding: 30px 0 26px; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.contact-footer > div:first-child { display: flex; flex-direction: column; gap: 5px; }
.contact-footer strong { font: 700 22px var(--font-head); letter-spacing: -.04em; }
.contact-footer > div:first-child span { font-size: 11px; color: #dad6ff; }
.contact-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-left: auto; }
.contact-links a { min-height: 44px; display: inline-flex; align-items: center; font: 700 12px var(--font-head); }
.contact-links a:hover { color: var(--lime); }
.contact-footer small { font-size: 10px; flex-basis: 100%; color: #dedaff; margin-top: 4px; }

@media (min-width: 1500px) { .hero h1 { font-size: 105px; } }
@media (max-width: 1200px) {
  .wrap { width: min(calc(100% - 80px),var(--wrap)); }
  .hero-grid { gap: 44px; }
  .hero h1 { font-size: clamp(62px,7vw,91px); }
  .portrait-card { height: 500px; }
  .hero-float { left: -21px; }
  .hero-detail { font-size: 9px; }
  .featured-project { grid-template-columns: 1.04fr .96fr; }
  .pos-visual { min-height: 500px; }
  .pos-giant > span { font-size: 74px; }
  .pos-giant strong { font-size: 154px; }
  .featured-copy { padding: 32px; }
  .site-project-details { align-items: start; flex-direction: column; gap: 18px; }
  .project-text-links { flex-direction: row; }
}
@media (max-width: 930px) {
  .wrap { width: min(calc(100% - 56px),var(--wrap)); }
  .wordmark { min-width: 160px; }
  .header-inner { gap: 18px; }
  .nav-links { gap: 20px; }
  .header-cta { min-width: 137px; }
  .hero-grid { grid-template-columns: 1fr .85fr; gap: 24px; min-height: 710px; }
  .hero h1 { font-size: clamp(56px,7.4vw,78px); }
  .hero-lead { font-size: 15px; }
  .portrait-card { height: 430px; }
  .hero-art { height: 500px; }
  .orbit-outline { top: 28px; right: -20px; }
  .hero-float { left: -12px; bottom: 10px; }
  .float-symbol { width: 37px; height: 37px; }
  .hero-detail { margin-top: 40px; }
  .featured-project { grid-template-columns: 1fr; }
  .pos-visual { min-height: 480px; }
  .featured-copy { padding: 47px; }
  .section-head,.skills-heading { grid-template-columns: 1fr; gap: 15px; }
  .section-head > p,.skills-heading > p { justify-self: start; }
  .about-layout { gap: 44px; }
  .about-title-col h2 { font-size: 60px; }
  .about-notes { grid-template-columns: 1fr; }
  .about-notes > div { flex-direction: row; align-items: baseline; justify-content: space-between; }
}
@media (max-width: 820px) {
  .site-header { position: absolute; }
  .header-inner { min-height: 82px; }
  .nav-links { display: none; position: absolute; z-index: 30; top: 75px; left: 0; right: 0; background: #23203a; padding: 17px 28px 23px; border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 15px 35px rgba(0,0,0,.22); }
  body.nav-open .nav-links { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .nav-links a { min-height: 51px; border-bottom: 1px solid rgba(255,255,255,.11); font-size: 15px; }
  .nav-links a::after { display: none; }
  .menu-toggle { display: flex; margin-left: 0; }
  body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-cta { margin-left: auto; }
  .hero-grid { padding-top: 132px; grid-template-columns: 1fr; gap: 56px; padding-bottom: 55px; }
  .hero-copy { max-width: 690px; }
  .hero h1 { font-size: clamp(67px,10vw,94px); max-width: 700px; }
  .hero-lead { font-size: 17px; }
  .hero-art { width: min(100%,600px); height: 570px; margin-inline: auto; }
  .portrait-card { height: 525px; max-width: 420px; }
  .orbit-outline { top: 5px; right: 30px; }
  .hero-float { left: 0; bottom: 17px; }
  .hero-detail { margin-top: 50px; }
  .color-ribbon { height: 71px; }
  .project-grid { gap: 24px; }
  .project-media { height: 355px; }
  .diploma-cover strong { font-size: clamp(46px,6.5vw,66px); }
  .zamzam-cover strong { font-size: clamp(43px,6.4vw,65px); }
  .about-layout { grid-template-columns: 1fr; }
  .about-title-col h2 { max-width: 760px; }
  .about-symbol { display: none; }
  .about-content { padding: 0; }
  .about-notes { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .about-notes > div { flex-direction: column; align-items: start; }
  .skills-columns { gap: 45px 35px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 20px; }
  .wrap { width: min(calc(100% - 40px),var(--wrap)); }
  .header-inner { min-height: 78px; }
  .wordmark { min-width: auto; }
  .wordmark-icon { width: 39px; height: 39px; font-size: 26px; border-radius: 11px; }
  .wordmark-text { font-size: 14px; }
  .header-cta { min-width: 0; height: 42px; padding: 0 12px; gap: 8px; font-size: 11px; }
  .menu-toggle { width: 42px; height: 42px; }
  .hero-grid { padding-top: 129px; gap: 40px; padding-bottom: 48px; }
  .hero-eyebrow { font-size: 10px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(59px,12.3vw,82px); }
  .hero-lead { margin-top: 21px; line-height: 1.75; font-size: 15px; }
  .hero-actions { gap: 17px; margin-top: 26px; }
  .button { padding: 0 19px; min-height: 53px; font-size: 13px; gap: 15px; }
  .button-link-light { font-size: 12px; }
  .hero-detail { margin-top: 36px; flex-wrap: wrap; line-height: 1.6; }
  .hero-art { height: 440px; }
  .portrait-card { width: min(87%,335px); height: 420px; border-radius: 19px; box-shadow: 14px 15px 0 -2px var(--blue); }
  .portrait-top { font-size: 8px; left: 16px; right: 16px; }
  .portrait-bottom { left: 16px; right: 16px; }
  .hero-float { left: 1px; bottom: 7px; transform: rotate(-5deg) scale(.9); transform-origin: left bottom; }
  .orbit-outline { width: 400px; max-width: 100%; right: -4px; }
  .tiny-orbit { left: 5px; top: 5px; }
  .hero-bottom { font-size: 8px; min-height: 62px; }
  .hero-bottom-left { max-width: 57%; }
  .color-ribbon { height: 63px; }
  .ribbon-track { min-width: 1020px; gap: 24px; }
  .ribbon-track span { font-size: 18px; }
  .section-space { padding: 83px 0 90px; }
  .section-head h2,.skills-heading h2 { font-size: clamp(51px,10.5vw,70px); }
  .section-head > p,.skills-heading > p { font-size: 14px; }
  .featured-project { margin-top: 38px; border-radius: 19px; }
  .pos-visual { min-height: 330px; padding: 21px; }
  .visual-topline,.pos-bottomline { font-size: 8px; }
  .pos-giant > span { font-size: clamp(53px,12vw,82px); }
  .pos-giant strong { font-size: clamp(114px,25vw,176px); }
  .pos-stamp { top: 57px; right: 12px; padding: 5px 10px; font-size: 8px; }
  .pos-stamp svg { width: 22px; height: 22px; }
  .pos-gridline { display: none; }
  .featured-copy { padding: 29px 24px 31px; }
  .featured-copy h3 { margin-top: 16px; font-size: 42px; }
  .featured-intro { font-size: 16px; margin-top: 17px; }
  .featured-copy > p:not(.featured-intro) { font-size: 13px; }
  .project-grid { grid-template-columns: 1fr; margin-top: 28px; gap: 45px; }
  .project-media { height: 345px; }
  .project-media .media-label { top: 23px; left: 22px; }
  .diploma-cover { padding-left: 25px; }
  .diploma-cover strong { font-size: clamp(50px,11vw,76px); }
  .zamzam-cover { padding-left: 25px; }
  .zamzam-cover strong { font-size: clamp(49px,10vw,73px); }
  .site-project-details { padding: 21px 3px 0; }
  .archive-row { margin-top: 55px; grid-template-columns: 1fr; gap: 12px; padding: 25px 3px; }
  .archive-actions { margin-top: 8px; }
  .about-title-col h2 { font-size: clamp(57px,11vw,73px); }
  .about-lead { font-size: 23px; }
  .about-content > p:not(.about-lead) { font-size: 14px; }
  .about-notes { gap: 20px; grid-template-columns: 1fr; }
  .about-notes > div { flex-direction: row; justify-content: space-between; gap: 18px; align-items: baseline; }
  .about-notes strong { text-align: right; }
  .skills-columns { grid-template-columns: 1fr; gap: 42px; margin-top: 45px; }
  .skill-block h3 { font-size: 30px; }
  .contact-wrap { padding-top: 45px; }
  .contact-top { flex-direction: column; font-size: 10px; gap: 11px; }
  .contact-wrap h2 { margin-top: 75px; font-size: clamp(58px,11vw,90px); }
  .contact-actions { margin-top: 35px; gap: 24px; }
  .contact-email { padding-inline: 21px; gap: 19px; font-size: 13px; }
  .contact-footer { margin-top: 75px; flex-direction: column; align-items: flex-start; }
  .contact-links { margin-left: 0; gap: 17px; }
}
@media (max-width: 390px) {
  .wrap { width: calc(100% - 32px); }
  .wordmark-text { display: none; }
  .wordmark { margin-right: auto; }
  .header-cta { margin-left: 0; }
  .hero h1 { font-size: 58px; }
  .hero-actions { gap: 10px; }
  .button { font-size: 12px; padding: 0 15px; }
  .button-link-light { font-size: 11px; }
  .hero-art { height: 390px; }
  .portrait-card { width: 86%; height: 375px; }
  .hero-float { left: -8px; }
  .featured-copy h3 { font-size: 38px; }
  .pos-giant strong { font-size: 112px; }
  .diploma-cover strong { font-size: 47px; }
  .contact-wrap h2 { font-size: 55px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Featured D4NGER POS — genuine product imagery, accessible case-study links */
.pos-visual-live { min-height: 568px; gap: 18px; justify-content: space-between; padding: 29px 34px; }
.pos-showcase-heading { display: flex; align-items: end; justify-content: space-between; gap: 13px; }
.pos-showcase-heading strong { font: 700 clamp(39px,4.1vw,65px)/.95 var(--font-head); letter-spacing: -.074em; white-space: nowrap; }
.pos-showcase-heading em { color: var(--lime); font-style: normal; }
.pos-showcase-heading small { max-width: 122px; text-align: right; font: 700 9px/1.5 var(--font-head); letter-spacing: .07em; color: #e4dfff; }
.pos-screenshot-link { display: block; width: min(100%, 655px); margin: 10px auto 13px; position: relative; text-decoration: none; border-radius: 17px; }
.pos-screen-window { display: block; width: 100%; overflow: hidden; border-radius: 14px; border: 1px solid rgba(231,232,255,.52); background: #071e24; box-shadow: 0 28px 65px -25px rgba(14,9,58,.65); transform: rotate(-1.6deg); transition: transform .42s var(--ease),box-shadow .42s var(--ease); }
.pos-screenshot-link:hover .pos-screen-window, .pos-screenshot-link:focus-visible .pos-screen-window { transform: rotate(0deg) translateY(-6px); box-shadow: 0 36px 72px -22px rgba(14,9,58,.74); }
.pos-screen-bar { min-height: 33px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 14px; background: #152d35; color: #d8e6e2; font: 700 10px/1.35 var(--font-head); letter-spacing: .045em; }
.pos-screen-dots { display: flex; gap: 5px; }
.pos-screen-dots i { display: block; width: 7px; height: 7px; background: #88a6a3; border-radius: 50%; }
.pos-screen-external { font-size: 17px; line-height: 1; color: var(--lime); }
.pos-screen-window img { width: 100%; height: auto; aspect-ratio: 1299/730; object-fit: contain; background: #041b23; }
.pos-screenshot-cta { position: absolute; right: -11px; bottom: -10px; padding: 12px 15px; border-radius: 999px; background: var(--lime); color: var(--night); font: 700 10px/1.1 var(--font-head); letter-spacing: .04em; box-shadow: 0 9px 25px -10px rgba(15,12,54,.6); transform: rotate(4deg); transition: transform .25s var(--ease); }
.pos-screenshot-link:hover .pos-screenshot-cta, .pos-screenshot-link:focus-visible .pos-screenshot-cta { transform: rotate(0deg) translateY(-4px); }
.pos-screenshot-link:focus-visible { outline: 3px solid var(--lime); outline-offset: 8px; }
.pos-case-study-actions { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.pos-case-study-link { min-height: 49px; border-radius: 999px; padding: 13px 21px; display: inline-flex; align-items: center; justify-content: center; gap: 25px; color: white; background: var(--blue); font: 700 13px/1.3 var(--font-head); transition: background .24s var(--ease), transform .24s var(--ease); }
.pos-case-study-link:hover { background: var(--blue-dark); transform: translateY(-2px); }
.pos-case-study-link:active { transform: translateY(0); }
.pos-case-study-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.pos-case-study-link > span { font-size: 18px; }
.pos-availability { font-size: 11px; line-height: 1.65; color: #656071; }
@media (max-width: 930px) {
  .pos-visual-live { min-height: 0; padding: 32px; gap: 23px; }
  .pos-screenshot-link { margin: 16px auto 18px; }
}
@media (max-width: 650px) {
  .pos-visual-live { min-height: 0; padding: 21px; gap: 16px; }
  .pos-showcase-heading strong { font-size: clamp(34px,9.2vw,51px); }
  .pos-showcase-heading small { display: none; }
  .pos-screenshot-link { margin: 10px auto 15px; }
  .pos-screen-window { border-radius: 10px; }
  .pos-screen-bar { min-height: 30px; font-size: 8px; padding: 6px 10px; }
  .pos-screen-dots i { width: 5px; height: 5px; }
  .pos-screenshot-cta { right: -7px; bottom: -10px; padding: 10px 12px; font-size: 9px; }
  .pos-case-study-actions { margin-top: 23px; }
  .pos-case-study-link { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .pos-screen-window,.pos-case-study-link,.pos-screenshot-cta { transition-duration: .01ms !important; }
}

/* Bilingual system / explicit language controls */
.locale-switch { display:inline-flex;align-items:center;gap:3px;flex-shrink:0;padding:3px;border:1px solid rgba(255,255,255,.30);border-radius:12px;background:rgba(255,255,255,.06);direction:ltr; }
.locale-switch button {min-width:43px;min-height:40px;padding:8px 11px;border:0;border-radius:9px;background:transparent;color:#d7d3f4;font:700 12px/1.2 var(--font-head);cursor:pointer;transition:background .2s,color .2s,transform .2s;}
.locale-switch button.is-active,.locale-switch button[aria-pressed="true"] {background:var(--lime);color:var(--night);}
.locale-switch button:not([aria-pressed="true"]):hover {background:rgba(255,255,255,.17);color:#fff;}
.locale-switch button:focus-visible {outline:3px solid var(--lime);outline-offset:3px;}
html[lang="ar"] body {font-family:"Cairo",Tahoma,Arial,sans-serif;letter-spacing:normal;}
html[lang="ar"] .hero h1,html[lang="ar"] h2,html[lang="ar"] h3,html[lang="ar"] .hero-lead,html[lang="ar"] .about-lead {font-family:"Cairo",Tahoma,Arial,sans-serif;letter-spacing:normal;line-height:1.35;}
html[lang="ar"] .hero h1{font-size:clamp(55px,6vw,83px);max-width:750px;}
html[lang="ar"] .hero-lead {line-height:1.95;}
html[lang="ar"] .label-line,html[lang="ar"] .project-type,html[lang="ar"] .project-caption,html[lang="ar"] .skill-index,html[lang="ar"] .media-label,html[lang="ar"] .contact-top,html[lang="ar"] .hero-detail,html[lang="ar"] .hero-bottom {font-family:"Cairo",Tahoma,Arial,sans-serif;letter-spacing:0;}
html[lang="ar"] .section-head h2,html[lang="ar"] .skills-heading h2 {font-size:clamp(43px,4.6vw,70px);line-height:1.4;}
html[lang="ar"] #contact-title {font-size:clamp(56px,6vw,100px);line-height:1.45;}
html[lang="ar"] .hero-actions svg,html[lang="ar"] .media-arrow svg,html[lang="ar"] .contact-email svg {transform:scaleX(-1);}
html[lang="ar"] .header-inner,html[lang="ar"] .nav-links,html[lang="ar"] .hero-actions,html[lang="ar"] .contact-links {direction:rtl;}
html[lang="ar"] .wordmark,html[lang="ar"] .portrait-card,html[lang="ar"] .pos-showcase-heading,html[lang="ar"] .pos-screen-window,html[lang="ar"] .pos-screenshot-link,html[lang="ar"] .diploma-cover strong,html[lang="ar"] .zamzam-cover strong {direction:ltr;}
html[lang="ar"] .header-cta {white-space:nowrap;}
html[lang="ar"] .featured-copy {align-items:flex-start;}
html[lang="ar"] .project-media .media-label {left:auto;right:30px;}
html[lang="ar"] .media-arrow {right:auto;left:20px;}
html[lang="ar"] .contact-links{margin-left:0;margin-right:auto;}
html[lang="ar"] .about-notes > div,html[lang="ar"] .skills-columns {min-width:0;}
html[lang="ar"] .chip-list span,html[lang="ar"] .stack-tags span {direction:ltr;}
html[lang="ar"] .hero-float {left:auto;right:-25px;transform:rotate(4deg);}
html[lang="ar"] .hero-bottom a {direction:rtl;}
@media(max-width:820px){
  html[lang="ar"] .header-cta{margin-left:0;margin-right:auto;}
  html[lang="ar"] .nav-links{direction:rtl;text-align:right;}
  html[lang="ar"] .hero h1{font-size:clamp(52px,8vw,77px);}
  .locale-switch {margin-inline-start:auto;}
}
@media(max-width:650px){
  .locale-switch {gap:1px;padding:2px;}
  .locale-switch button {min-width:36px;min-height:38px;padding:7px;}
  html[lang="ar"] .hero h1{font-size:clamp(39px,9.5vw,65px);}
  html[lang="ar"] .section-head h2,html[lang="ar"] .skills-heading h2 {font-size:clamp(34px,8vw,49px);}
  html[lang="ar"] #contact-title {font-size:clamp(43px,9vw,65px);}
  html[lang="ar"] .hero-float {right:-4px;}
  html[lang="ar"] .media-label{right:22px;}
}
@media(max-width:390px){
  html[lang="ar"] .hero h1 {font-size:39px;}
  .locale-switch button {font-size:11px;min-width:34px;padding:5px;}
}
