:root {
  font-family: "Manrope", "Noto Sans Arabic", sans-serif;
  color: #ecefe9;
  background: #101310;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --bg: #101310;
  --panel: #171b17;
  --panel-soft: #1b201b;
  --text: #ecefe9;
  --muted: #92998f;
  --line: rgba(235, 242, 229, 0.12);
  --lime: #c3ef80;
  --mono: "DM Mono", monospace;
  --latin: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; min-width: 320px; background: var(--bg); line-height: 1.75; }
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) .5px, transparent .5px);
  background-size: 5px 5px;
  content: "";
  opacity: .11;
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
.site-shell { width: min(1220px, calc(100% - 88px)); margin-inline: auto; }
.topbar {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  height: 82px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 19, 16, .9);
  backdrop-filter: blur(18px);
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: .09em; direction: ltr; }
.wordmark-mark { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid rgba(195,239,128,.65); border-radius: 50%; color: var(--lime); font: 500 13px var(--latin); }
.wordmark-period { color: var(--lime); }
.main-nav { display: flex; align-items: center; gap: 40px; color: #bec3b9; font-size: 14px; }
.main-nav a, .back-top { transition: color .2s ease; }
.main-nav a:hover, .back-top:hover { color: var(--lime); }
.language-picker { position: relative; }
.language-toggle { display: flex; min-width: 62px; align-items: center; justify-content: center; gap: 9px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--text); cursor: pointer; font: 11px var(--mono); }
.language-chevron { width: 11px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.4; transition: transform .2s ease; }
.language-toggle[aria-expanded="true"] .language-chevron { transform: rotate(180deg); }
.language-menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; display: grid; width: 148px; gap: 3px; padding: 5px; border: 1px solid var(--line); border-radius: 5px; background: #191d19; box-shadow: 0 12px 34px rgba(0,0,0,.35); }
.language-menu[hidden] { display: none; }
.language-menu button { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; border: 0; border-radius: 3px; background: transparent; color: #c9cec4; cursor: pointer; font-size: 12px; text-align: start; }
.language-menu button:hover, .language-menu button[aria-pressed="true"] { background: rgba(195,239,128,.09); color: var(--lime); }
.language-menu button span { color: #858c82; font: 10px var(--mono); }
.language-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px rgba(195,239,128,.7); }
.hero { position: relative; display: grid; min-height: 632px; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 44px; padding-block: 67px 100px; }
.hero-copy { position: relative; z-index: 1; max-width: 600px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--lime); font: 10px var(--mono); letter-spacing: .105em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 11px rgba(195,239,128,.7); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-block: 27px 21px; font-size: clamp(42px, 5vw, 64px); font-weight: 600; line-height: 1.35; letter-spacing: -.025em; }
h1 > span { display: block; }
.headline-accent { color: var(--lime); }
.hero-intro { max-width: 440px; margin-bottom: 30px; color: #a5aba1; font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 12px; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 13px; padding: 0 19px; border-radius: 4px; font-size: 13px; font-weight: 600; transition: background .2s, transform .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 15px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.button-primary { background: var(--lime); color: #182016; }
.button-primary:hover { background: #d0f69a; }
.button-quiet { border: 1px solid var(--line); color: #d1d5ce; }
.button-quiet:hover { border-color: rgba(195,239,128,.55); }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 55px; color: #858c82; font-size: 11px; }
.note-line { width: 27px; height: 1px; background: var(--lime); }
.hero-art { position: relative; width: min(100%, 460px); height: 400px; justify-self: center; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 4px; background: linear-gradient(145deg,#1d271b 0%,#1c261a 45%,#18221a 100%); }
.hero-art::before { position: absolute; inset: 0; background: linear-gradient(125deg, transparent 45%, rgba(211,247,170,.07)); content: ""; }
.art-orbit { position: absolute; top: 42%; left: 50%; width: 286px; height: 286px; border: 1px solid rgba(215,245,183,.18); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-two { width: 224px; height: 224px; border-color: rgba(215,245,183,.24); }
.art-sun { position: absolute; top: 40%; left: 49%; width: 121px; height: 121px; border-radius: 50%; background: radial-gradient(circle at 35% 30%,#ecffc8 0,#bde981 25%,#759d4f 57%,#445b38 100%); box-shadow: 0 0 65px rgba(194,235,143,.24); transform: translate(-50%,-50%); }
.art-shape { position: absolute; top: 43%; left: 52%; width: 190px; height: 190px; border: 1px solid rgba(213,248,171,.52); border-radius: 44% 56% 55% 45% / 56% 42% 58% 44%; transform: translate(-50%,-50%) rotate(28deg); }
.shape-front { width: 165px; height: 165px; border-color: rgba(238,255,215,.3); transform: translate(-50%,-50%) rotate(-24deg); }
.art-glow { position: absolute; top: 63%; left: 50%; width: 250px; height: 40px; border-radius: 50%; background: #b4e77b; filter: blur(48px); opacity: .16; }
.art-caption { position: absolute; right: 24px; bottom: 21px; left: 24px; display: flex; align-items: end; justify-content: space-between; color: rgba(241,249,231,.6); font: 9px/1.55 var(--mono); letter-spacing: .1em; direction: ltr; }
.caption-index { color: rgba(241,249,231,.38); }
.art-cross { position: absolute; color: var(--lime); font: 20px var(--latin); opacity: .8; }
.cross-one { top: 48px; right: 49px; }
.cross-two { bottom: 75px; left: 42px; font-size: 15px; }
.hero-index { position: absolute; right: 0; bottom: 36px; display: flex; align-items: center; gap: 12px; color: #737a70; font: 10px var(--mono); direction: ltr; }
.hero-index span:first-child { color: var(--lime); }
.index-rule { width: 80px; height: 1px; background: linear-gradient(90deg,var(--lime) 25%,var(--line) 25%); }
.section-wrap { border-bottom: 1px solid var(--line); }
.work { padding-block: 105px 94px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 41px; }
.section-kicker { margin-bottom: 19px; }
.section-kicker span:first-child { color: #737a70; }
.section-heading h2, .about h2, .contact h2 { margin-bottom: 0; font-size: clamp(32px,4.5vw,51px); font-weight: 500; line-height: 1.5; letter-spacing: -.025em; white-space: pre-line; }
.section-description { max-width: 310px; margin-bottom: 5px; color: #92998f; font-size: 14px; line-height: 1.85; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 24px; }
.project-card { display: block; min-width: 0; }
.project-visual { position: relative; height: clamp(220px,31vw,355px); overflow: hidden; border: 1px solid rgba(255,255,255,.07); border-radius: 3px; transition: filter .25s ease; }
.project-card:hover .project-visual { filter: brightness(1.12); }
.project-meta { display: flex; align-items: center; justify-content: space-between; padding-top: 17px; }
.project-meta h3 { margin-bottom: 5px; font-size: 17px; font-weight: 500; }
.project-meta p { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.project-arrow { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--lime); font: 15px var(--latin); transition: background .2s, color .2s; }
.project-card:hover .project-arrow { background: var(--lime); color: var(--bg); }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.project-tags span { padding: 5px 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 99px; color: #a6ada2; font: 10px var(--mono); direction: ltr; }
.visual-number { position: absolute; right: 17px; bottom: 16px; z-index: 2; color: rgba(250,255,241,.6); font: 9px var(--mono); direction: ltr; }
.lumina-visual { background: #e5e4da; color: #33332b; }
.lumina-visual::after { position: absolute; inset: 0; background: linear-gradient(135deg,transparent 25%,rgba(69,75,50,.13)); content: ""; }
.visual-label { position: absolute; top: 23px; left: 25px; z-index: 2; font: 600 12px var(--latin); letter-spacing: .12em; direction: ltr; }
.visual-label i { color: #7a835d; font-size: 8px; font-style: normal; }
.lumina-orb { position: absolute; top: 14%; right: 18%; width: 205px; height: 205px; border-radius: 50%; background: radial-gradient(circle at 30% 24%,#f6edcf 0,#c2b68a 35%,#78805f 70%,#4e5844 100%); box-shadow: 0 35px 55px rgba(49,54,39,.22); }
.lumina-product { position: absolute; z-index: 1; bottom: 19%; display: block; box-shadow: 16px 17px 18px rgba(54,54,44,.18); }
.product-watch { right: 28%; width: 73px; height: 99px; border: 9px solid #303832; border-radius: 23px; background: linear-gradient(145deg,#dbe2bf,#7f9565); transform: rotate(13deg); }
.product-watch::before,.product-watch::after { position:absolute; right: 11px; left: 11px; height: 28px; border: 2px solid #414940; content:""; }
.product-watch::before { top:-35px; border-radius: 9px 9px 2px 2px; }
.product-watch::after { bottom:-35px; border-radius: 2px 2px 9px 9px; }
.product-bottle { right: 58%; width: 44px; height: 104px; border-radius: 8px 8px 13px 13px; background: linear-gradient(90deg,#b6a98c,#e2d4b1 48%,#8e8068); transform: rotate(-10deg); }
.product-bottle::before { position: absolute; top: -13px; left: 14px; width: 16px; height: 16px; border-radius: 3px 3px 0 0; background: #45493b; content:""; }
.visual-caption { position: absolute; right: 25px; bottom: 22px; font: 10px/1.5 var(--mono); letter-spacing: .1em; direction: ltr; }
.neon-visual { background: radial-gradient(ellipse at 50% 55%,#311c36 0,#17141d 45%,#101217 100%); color: #f3e9ff; }
.neon-topline { position:absolute; top:22px; right:24px; color:#cfafd6; font: 8px var(--mono); letter-spacing:.12em; direction:ltr; }
.neon-frame { position:absolute; top:18%; left:14%; width:72%; height:65%; border:1px solid rgba(238,161,255,.2); box-shadow:0 0 35px rgba(234,69,245,.1), inset 0 0 50px rgba(201,75,217,.06); }
.neon-star { position:absolute; top:28%; right:21%; color:#f9b0ff; font:35px var(--latin); text-shadow:0 0 17px #ef61ff; }
.neon-title { position:absolute; top:34%; left:25%; color:#fff; font:500 clamp(30px,5vw,58px)/.9 var(--latin); letter-spacing:-.07em; direction:ltr; text-shadow:0 0 25px rgba(232,96,255,.57); }
.neon-title i { color:#e696f7; font-style:normal; }
.neon-query { position:absolute; right:19%; bottom:23%; left:19%; display:flex; height:36px; align-items:center; justify-content:space-between; padding:0 11px; border:1px solid rgba(246,211,255,.28); background:rgba(255,255,255,.06); color:#d7c3dd; font:8px var(--mono); direction:ltr; }
.neon-query span:first-child { font-size:16px; }
.neon-query span:last-child { color:#eea7fa; }
.aqua-visual { background:linear-gradient(155deg,#c5e4dc 0%,#8ec6bd 48%,#527e76 100%); color:#153c39; }
.aqua-label { position:absolute; top:22px; left:23px; z-index:1; font:8px var(--mono); letter-spacing:.13em; direction:ltr; }
.aqua-headline { position:absolute; top:23%; left:10%; z-index:1; font:500 clamp(35px,5.8vw,69px)/.79 var(--latin); letter-spacing:-.08em; direction:ltr; }
.aqua-headline i { color:#f1f3df; font-style:normal; }
.aqua-wave { position:absolute; right:-4%; bottom:-26%; width:86%; height:76%; border:1px solid rgba(245,255,239,.46); border-radius:50% 50% 0 0; transform:rotate(-17deg); }
.wave-two { right:16%; bottom:-32%; width:90%; height:84%; border-color:rgba(33,80,72,.27); transform:rotate(17deg); }
.wave-three { right:35%; bottom:-40%; width:80%; height:90%; border-color:rgba(239,254,226,.34); }
.aqua-stamp { position:absolute; top:22%; right:15%; display:grid; width:61px; height:61px; place-content:center; border:1px solid rgba(21,60,57,.46); border-radius:50%; font:8px/1.4 var(--mono); text-align:center; transform:rotate(13deg); }
.library-visual { background:linear-gradient(140deg,#f0eee7,#d9dcd2); color:#252a26; }
.library-side { position:absolute; top:22px; left:22px; color:#798178; font:8px/1.6 var(--mono); direction:ltr; }
.library-window { position:absolute; top:20%; right:14%; bottom:17%; left:15%; overflow:hidden; border:1px solid rgba(27,34,29,.18); border-radius:5px; background:#fafaf5; box-shadow:0 19px 38px rgba(31,38,31,.19); direction:ltr; }
.window-top { display:flex; height:30px; align-items:center; gap:5px; padding:0 9px; border-bottom:1px solid #e6e8e0; }
.window-top i { width:5px; height:5px; border-radius:50%; background:#b0baaa; }
.window-top b { margin-left:auto; color:#596254; font:7px var(--mono); }
.window-content { display:flex; height:calc(100% - 30px); }
.window-sidebar { display:flex; width:24%; flex-direction:column; gap:15px; padding:17px 10px; border-right:1px solid #edf0e8; }
.window-sidebar i { width:70%; height:5px; border-radius:3px; background:#dce1d8; }
.window-sidebar i:first-child { width:90%; background:#a8bd91; }
.window-cards { display:grid; flex:1; grid-template-columns:repeat(2,1fr); gap:8px; align-content:start; padding:14px; }
.window-cards i { height:50px; border:1px solid #ebeee7; border-radius:3px; background:linear-gradient(145deg,#f8f8f2,#e4eadc); }
.window-cards i:nth-child(2) { background:linear-gradient(145deg,#f0eee6,#ddd8c9); }
.window-cards i:nth-child(3) { background:linear-gradient(145deg,#f0f4e8,#dce8cf); }
.library-stamp { position:absolute; right:12%; bottom:15%; display:grid; width:52px; height:52px; place-content:center; border:1px solid rgba(41,53,42,.52); border-radius:50%; background:#d5e6bc; color:#344434; font:9px/1.2 var(--mono); text-align:center; transform:rotate(-13deg); }
.shop-visual { background:#d97c50; color:#282016; }
.shop-top { position:absolute; top:23px; right:23px; left:23px; z-index:1; display:flex; justify-content:space-between; font:8px var(--mono); letter-spacing:.1em; direction:ltr; }
.shop-top i { font-style:normal; }
.shop-big { position:absolute; top:23%; left:8%; z-index:1; font:600 clamp(27px,4.6vw,55px)/.85 var(--latin); letter-spacing:-.08em; direction:ltr; }
.shop-big i { color:#f1d6ae; font-style:normal; }
.shop-circle { position:absolute; top:16%; right:6%; width:62%; aspect-ratio:1; border-radius:50%; background:#f0c291; }
.shop-product { position:absolute; right:21%; bottom:13%; width:105px; height:130px; border:1px solid rgba(42,37,29,.28); border-radius:42% 42% 13px 13px; background:linear-gradient(100deg,#4b5142,#889078 45%,#333b30); box-shadow:0 24px 28px rgba(56,37,26,.28); transform:rotate(9deg); }
.shop-product::before { position:absolute; top:-17px; left:34px; width:37px; height:20px; border-radius:5px 5px 0 0; background:#363b30; content:""; }
.shop-sticker { position:absolute; right:8%; bottom:16%; z-index:1; display:grid; width:53px; height:53px; place-content:center; border:1px solid #3f3429; border-radius:50%; color:#2d2b22; font:7px/1.4 var(--mono); text-align:center; transform:rotate(12deg); }
.daymark-visual { background:linear-gradient(145deg,#dce9dc,#9ebcb0 58%,#648a7d); color:#203e38; }
.daymark-topline { position:absolute; top:22px; left:23px; z-index:1; font:8px var(--mono); letter-spacing:.12em; direction:ltr; }
.daymark-topline i { color:#55766c; font-style:normal; }
.daymark-panel { position:absolute; top:22%; right:12%; bottom:14%; left:12%; padding:17px 20px; border:1px solid rgba(32,62,56,.12); border-radius:7px; background:rgba(250,250,243,.9); box-shadow:0 17px 34px rgba(34,62,53,.15); direction:ltr; }
.daymark-panel-heading { display:flex; justify-content:space-between; color:#6c8379; font:7px var(--mono); letter-spacing:.08em; }
.daymark-panel-heading b { color:#94a49a; font-weight:400; }
.daymark-panel-title { display:block; margin-top:13px; color:#263e37; font:500 clamp(18px,2.7vw,31px)/1.05 var(--latin); letter-spacing:-.05em; }
.daymark-apps { display:flex; gap:8px; margin-top:13px; }
.daymark-apps i { display:grid; width:25px; height:25px; place-items:center; border:1px solid rgba(44,74,64,.11); border-radius:5px; background:#f1f3e9; color:#597d6d; font:11px var(--latin); font-style:normal; }
.project-hint { display:flex; align-items:center; gap:9px; margin:31px 0 0; color:#8f9888; font-size:12px; }
.project-hint span:first-child { color:var(--lime); font:14px var(--latin); }
.about { display:grid; grid-template-columns:1fr 1fr; gap:50px; padding-block:97px 100px; }
.about h2 { max-width:440px; font-size:clamp(31px,4.1vw,46px); }
.about-right { padding-top:38px; }
.about-right>p { max-width:490px; margin-bottom:23px; color:#a6ada3; font-size:15px; line-height:2; }
.skill-list { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:35px; }
.skill-list span { padding:8px 12px; border:1px solid rgba(195,239,128,.25); border-radius:2px; color:#c1cfb5; font-size:11px; }
.social-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.social-placeholder { display:grid; min-height:107px; grid-template-columns:27px 1fr; align-content:center; align-items:center; column-gap:8px; padding:12px 10px; border:1px solid var(--line); }
.social-placeholder b { display:grid; width:25px; height:25px; grid-row:span 2; place-items:center; border:1px solid rgba(195,239,128,.32); border-radius:50%; color:var(--lime); font:9px var(--mono); }
.social-placeholder>span { font:12px var(--latin); direction:ltr; }
.social-placeholder small { color:#80877d; font-size:10px; }
.contact { display:grid; grid-template-columns:1fr .8fr; gap:100px; padding-block:100px; }
.contact h2 { font-size:clamp(39px,5vw,58px); line-height:1.35; }
.contact-intro { max-width:340px; margin-block:17px 28px; color:#9ba298; font-size:14px; line-height:1.9; }
.cv-card { display:flex; min-height:71px; align-items:center; gap:13px; padding:12px 14px; border:1px solid var(--line); }
.cv-icon { display:grid; width:34px; height:34px; flex:0 0 auto; place-items:center; border:1px solid rgba(195,239,128,.28); border-radius:50%; color:var(--lime); font:16px var(--latin); }
.cv-copy { display:grid; gap:3px; }
.cv-copy b { font-size:11px; font-weight:500; }
.cv-copy small { color:#899187; font-size:9px; }
.cv-button { margin-inline-start:auto; padding:6px 10px; border:1px solid rgba(255,255,255,.1); border-radius:2px; background:transparent; color:#879083; font-size:9px; }
.contact-form { display:flex; flex-direction:column; align-self:center; padding-top:17px; }
.contact-form label { margin-bottom:8px; color:#a7afa2; font:10px var(--mono); letter-spacing:.06em; }
.contact-form input,.contact-form textarea { width:100%; margin-bottom:20px; padding:9px 0; border:0; border-bottom:1px solid rgba(255,255,255,.17); border-radius:0; outline:none; background:transparent; color:var(--text); font-size:14px; resize:vertical; transition:border-color .2s; }
.contact-form input:focus,.contact-form textarea:focus { border-color:var(--lime); }
.contact-form textarea { min-height:72px; }
.send-button { align-self:flex-start; min-width:170px; border:0; cursor:pointer; }
.form-status { min-height:22px; margin:13px 0 0; color:var(--lime); font-size:12px; line-height:1.7; }
.footer { display:flex; min-height:85px; align-items:center; justify-content:space-between; color:#898f85; font-size:10px; }
.footer-mark { color:var(--text); font-size:10px; }
.back-top { color:#bcc3b7; font:9px var(--mono); }

html[lang="ar"] { font-family: "Noto Sans Arabic", sans-serif; }
html[lang="ar"] h1, html[lang="ar"] .section-heading h2, html[lang="ar"] .about h2, html[lang="ar"] .contact h2 { letter-spacing: 0; }

@media (max-width: 800px) {
  .site-shell { width:min(100% - 48px, 650px); }
  .hero { min-height:auto; grid-template-columns:1fr 1fr; gap:22px; padding-block:68px 93px; }
  h1 { font-size:clamp(42px,5.3vw,57px); }
  .hero-art { height:330px; }
  .section-heading { align-items:start; flex-direction:column; gap:12px; }
  .section-description { max-width:440px; }
  .about { gap:30px; }
  .social-links { grid-template-columns:1fr; }
  .social-placeholder { min-height:68px; }
  .contact { gap:45px; }
}
@media (max-width: 560px) {
  html { scroll-padding-top:75px; }
  .site-shell { width:calc(100% - 36px); }
  .topbar { height:70px; }
  .main-nav { gap:13px; font-size:12px; }
  .wordmark { gap:7px; font-size:10px; }
  .wordmark-mark { width:24px; height:24px; }
  .language-toggle { min-width:55px; padding:7px 8px; }
  .hero { grid-template-columns:1fr; gap:35px; padding-block:63px 78px; }
  .hero-copy { max-width:none; }
  h1 { margin-block:22px 17px; font-size:clamp(42px,12vw,60px); }
  .hero-intro { font-size:15px; }
  .hero-note { margin-top:31px; }
  .hero-art { width:100%; height:290px; }
  .art-orbit { width:230px; height:230px; }
  .orbit-two { width:185px; height:185px; }
  .art-sun { width:100px; height:100px; }
  .art-shape { width:155px; height:155px; }
  .shape-front { width:140px; height:140px; }
  .hero-index { bottom:22px; }
  .work { padding-block:75px 70px; }
  .section-heading { margin-bottom:28px; }
  .section-heading h2 { font-size:35px; }
  .project-grid { grid-template-columns:1fr; gap:34px; }
  .project-visual { height:clamp(230px,72vw,350px); }
  .project-hint { align-items:flex-start; }
  .about { grid-template-columns:1fr; gap:14px; padding-block:72px; }
  .about h2 { font-size:35px; }
  .about-right { padding-top:10px; }
  .social-links { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .social-placeholder { min-height:104px; grid-template-columns:1fr; justify-items:start; gap:6px; padding:10px 8px; }
  .social-placeholder b { grid-row:auto; }
  .social-placeholder>span { font-size:11px; }
  .social-placeholder small { font-size:9px; }
  .contact { grid-template-columns:1fr; gap:34px; padding-block:72px; }
  .contact h2 { font-size:46px; }
  .contact-form { width:100%; padding-top:0; }
  .footer { min-height:78px; gap:10px; font-size:9px; }
  .footer-mark { font-size:9px; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; }
}


/* Portfolio refresh: warmer editorial layout, restrained color, and clearer hierarchy. */
:root {
  color-scheme: light;
  --bg: #f5f2eb;
  --panel: #fffdf8;
  --panel-soft: #ebe7dd;
  --text: #252820;
  --muted: #77796f;
  --line: rgba(37, 40, 32, .15);
  --lime: #b64f36;
  --mono: "DM Mono", monospace;
  --latin: "Manrope", sans-serif;
}
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
body::before { display: none; }
::selection { background: #e7b5a5; color: #252820; }
.site-shell { width: min(1160px, calc(100% - 96px)); }
.topbar {
  height: 78px;
  background: rgba(245, 242, 235, .94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
}
.wordmark { color: var(--text); letter-spacing: .07em; }
.wordmark-mark {
  border-color: var(--text);
  color: var(--text);
  border-radius: 7px;
}
.wordmark-period, .eyebrow, .headline-accent { color: var(--lime); }
.main-nav { color: #5d6056; gap: 34px; }
.main-nav a:hover, .back-top:hover { color: var(--lime); }
.language-toggle {
  border-color: var(--line);
  color: var(--text);
  border-radius: 7px;
}
.language-menu {
  background: #fffdf8;
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(40, 35, 27, .12);
}
.language-menu button { color: var(--text); border-radius: 5px; }
.language-menu button:hover, .language-menu button[aria-pressed="true"] {
  background: #f3e4dc;
  color: #8f3927;
}
.hero {
  min-height: 610px;
  gap: 64px;
  padding-block: 76px 90px;
}
.eyebrow { letter-spacing: .09em; }
.status-dot { background: var(--lime); box-shadow: none; }
h1 {
  margin-block: 23px 20px;
  font-size: clamp(46px, 5.4vw, 70px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.14;
}
.hero-intro {
  color: #686b61;
  font-size: 16px;
  line-height: 1.95;
}
.button { border-radius: 7px; min-height: 48px; }
.button-primary { background: var(--text); color: #fffdf8; }
.button-primary:hover { background: #45483d; }
.button-quiet { border-color: var(--line); color: var(--text); }
.button-quiet:hover { border-color: var(--lime); }
.hero-note { color: #77796f; }
.note-line { background: var(--lime); }
.hero-art {
  height: 390px;
  border: 0;
  border-radius: 10px;
  background:
    radial-gradient(ellipse at 60% 30%, rgba(235, 197, 164, .9), transparent 28%),
    linear-gradient(145deg, #ded9ca 0%, #c5c9b8 52%, #a5b4a0 100%);
  box-shadow: 0 18px 50px rgba(56, 56, 43, .09);
}
.hero-art::before {
  background: linear-gradient(145deg, rgba(255,255,255,.18), transparent 60%);
}
.art-orbit { border-color: rgba(45, 62, 46, .25); }
.orbit-two { border-color: rgba(45, 62, 46, .35); }
.art-sun {
  background: radial-gradient(circle at 35% 28%, #fff1d3 0, #d6a879 40%, #b16c4f 78%, #96543d 100%);
  box-shadow: 0 15px 55px rgba(131, 77, 51, .2);
}
.art-shape { border-color: rgba(49, 66, 49, .55); }
.shape-front { border-color: rgba(255, 250, 233, .8); }
.art-glow { background: #c16c4c; opacity: .18; }
.art-caption { color: rgba(37, 40, 32, .7); }
.caption-index { color: rgba(37, 40, 32, .5); }
.art-cross { color: #8f3927; }
.hero-index { color: #77796f; }
.hero-index span:first-child { color: var(--lime); }
.index-rule { background: linear-gradient(90deg, var(--lime) 25%, var(--line) 25%); }
.section-wrap { border-bottom-color: var(--line); }
.work { padding-block: 88px 86px; }
.section-heading { margin-bottom: 36px; }
.section-kicker span:first-child { color: #96958a; }
.section-heading h2, .about h2, .contact h2 {
  letter-spacing: -.045em;
  font-weight: 600;
  line-height: 1.24;
}
.section-description { color: #77796f; }
.project-grid { gap: 42px 25px; }
.project-card { transition: transform .25s ease; }
.project-card:hover { transform: translateY(-4px); }
.project-visual {
  border: 1px solid rgba(37, 40, 32, .09);
  border-radius: 8px;
  box-shadow: 0 5px 18px rgba(40, 35, 27, .04);
}
.project-card:hover .project-visual { filter: saturate(1.04); }
.project-meta { padding-top: 15px; }
.project-meta h3 { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.project-meta p { color: #77796f; font-size: 12px; }
.project-arrow { border-radius: 8px; color: var(--text); border-color: var(--line); }
.project-card:hover .project-arrow { background: var(--text); color: #fffdf8; }
.project-tags span {
  border-color: var(--line);
  border-radius: 5px;
  color: #66695f;
  font-size: 10px;
  padding: 5px 8px;
}
.lumina-visual { background: #e8e2d5; }
.neon-visual { background: radial-gradient(ellipse at 50% 55%, #453248 0, #28232b 55%, #201e23 100%); }
.aqua-visual { background: linear-gradient(155deg, #d1e1d6 0%, #9ebfb0 50%, #638778 100%); }
.library-visual { background: linear-gradient(140deg, #f5f0e7, #dcded2); }
.shop-visual { background: #d98b68; }
.daymark-visual { background: linear-gradient(145deg, #e3ecdf, #b2cbbd 58%, #76988b); }
.project-hint { color: #77796f; }
.about { gap: 70px; padding-block: 88px 92px; }
.about h2 { font-size: clamp(34px, 4vw, 49px); }
.about-right { padding-top: 31px; }
.about-right > p { color: #62665c; line-height: 2; }
.skill-list span {
  border-color: rgba(182, 79, 54, .28);
  border-radius: 5px;
  color: #713f31;
}
.social-placeholder {
  border-color: var(--line);
  border-radius: 7px;
  background: rgba(255, 253, 248, .45);
}
.social-placeholder b { border-color: rgba(182, 79, 54, .3); color: var(--lime); border-radius: 7px; }
.social-placeholder small { color: #88877d; }
.contact { gap: 80px; padding-block: 88px; }
.contact-intro { color: #686b61; }
.cv-card { border-color: var(--line); border-radius: 7px; }
.cv-icon { border-color: rgba(182, 79, 54, .28); border-radius: 7px; }
.cv-copy small { color: #77796f; }
.cv-button { border-radius: 5px; }
.contact-form label { color: #66695f; }
.contact-form input, .contact-form textarea {
  border-bottom-color: rgba(37, 40, 32, .22);
  color: var(--text);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--lime); }
.form-status { color: #8f3927; }
.footer { color: #77796f; }
.footer-mark { color: var(--text); }
.back-top { color: #5d6056; }
html[lang="ar"] h1, html[lang="ar"] .section-heading h2,
html[lang="ar"] .about h2, html[lang="ar"] .contact h2 {
  letter-spacing: 0;
  line-height: 1.55;
}
@media (max-width: 800px) {
  .site-shell { width: min(100% - 48px, 650px); }
  .hero { gap: 28px; }
  .hero-art { height: 315px; }
  .about { gap: 30px; }
  .contact { gap: 45px; }
}
@media (max-width: 560px) {
  .site-shell { width: calc(100% - 36px); }
  .topbar { height: 70px; }
  .main-nav { gap: 12px; font-size: 11px; }
  .wordmark { font-size: 9px; }
  h1 { font-size: clamp(43px, 11.5vw, 58px); line-height: 1.18; }
  .hero { padding-block: 55px 76px; }
  .hero-art { height: 285px; }
  .work { padding-block: 70px 66px; }
  .project-grid { gap: 32px; }
  .about { padding-block: 68px; }
  .contact { padding-block: 68px; }
  .contact h2 { font-size: 43px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-card { transition: none; }
}
