/* Saad Khan portfolio — premium, restrained dark design system */
:root {
  color-scheme: dark;
  --ink: #080a0c;
  --surface: #0d1013;
  --surface-raised: #12161a;
  --surface-soft: #171b20;
  --text: #f0f1f3;
  --muted: #a3a8b0;
  --faint: #6d747d;
  --line: rgba(218, 226, 237, .12);
  --line-bright: rgba(218, 226, 237, .2);
  --blue: #a9c2ff;
  --blue-strong: #83a8ff;
  --violet: #c3b2f4;
  --green: #a8d4b4;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1200px, calc(100% - 96px));
  --header-height: 78px;
  --ease: cubic-bezier(.2, .72, .18, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); background: var(--ink); overflow-x: clip; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--sans); font-size: 15px; line-height: 1.65; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; z-index: -2; inset: 0; pointer-events: none; opacity: .3; background: radial-gradient(ellipse at 78% 8%, rgba(49, 75, 126, .12), transparent 38%), radial-gradient(ellipse at 4% 55%, rgba(75, 65, 117, .08), transparent 35%); }
::selection { color: #080b11; background: #b6caff; }
a { color: inherit; text-decoration: none; }
button, input, textarea { color: inherit; 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(--blue); outline-offset: 4px; }
img, svg { max-width: 100%; }
.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; padding: 10px 16px; transform: translateY(-160%); border-radius: 4px; background: var(--text); color: var(--ink); font-weight: 700; transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.page-grain { position: fixed; z-index: 10; inset: 0; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.36'/%3E%3C/svg%3E"); }
.section-shell { width: var(--shell); margin-inline: auto; }
.site-header { position: sticky; z-index: 20; top: 0; height: var(--header-height); border-bottom: 1px solid rgba(220, 228, 240, .08); background: rgba(8, 10, 12, .8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav-wrap { width: var(--shell); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 160px; }
.brand-mark { width: 31px; height: 31px; position: relative; display: inline-grid; place-items: center; border: 1px solid rgba(198, 211, 232, .48); border-radius: 9px; transform: rotate(-8deg); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 13px; height: 1px; background: var(--blue); transform: rotate(-43deg); }
.brand-mark::before { top: 11px; left: 7px; }
.brand-mark::after { bottom: 10px; right: 5px; width: 9px; background: rgba(197, 180, 242, .9); }
.brand-mark span { width: 7px; height: 7px; border: 1px solid rgba(220, 228, 240, .8); border-radius: 50%; }
.brand-mark i { position: absolute; width: 3px; height: 3px; right: 5px; top: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px rgba(130, 168, 255, .8); }
.brand-name { font-size: 18px; font-weight: 600; letter-spacing: -.065em; }
.brand-name > span { color: var(--blue); }
.primary-nav { height: 100%; display: flex; align-items: center; gap: clamp(20px, 3vw, 39px); color: #b3b7be; font-size: 12px; font-weight: 500; }
.primary-nav > a:not(.nav-cta) { position: relative; transition: color .25s ease; }
.primary-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--blue); transition: right .3s var(--ease); }
.primary-nav > a:not(.nav-cta):hover, .primary-nav > a.is-current { color: var(--text); }
.primary-nav > a:not(.nav-cta):hover::after, .primary-nav > a.is-current::after { right: 0; }
.nav-cta { display: inline-flex; align-items: center; gap: 14px; padding: 10px 14px; border: 1px solid var(--line-bright); border-radius: 3px; color: var(--text); transition: background .25s ease, border .25s ease; }
.nav-cta:hover { background: rgba(255,255,255,.07); border-color: rgba(169,194,255,.55); }
.nav-cta span, .text-link span { color: var(--blue); transition: transform .25s ease; }
.nav-cta:hover span, .text-link:hover span { transform: translate(2px,-2px); }
.menu-toggle { display: none; }
.hero { min-height: min(775px, calc(100svh - var(--header-height))); min-height: max(670px, min(790px, calc(100svh - var(--header-height)))); position: relative; display: grid; grid-template-columns: 1fr .97fr; align-items: center; padding-top: 36px; padding-bottom: 86px; isolation: isolate; }
.hero-copy { position: relative; z-index: 2; padding: 25px 0 15px; }
.eyebrow { margin: 0 0 22px; color: #b3bdcd; font-size: 10px; font-weight: 600; letter-spacing: .2em; line-height: 1.35; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; color: #c0c7d2; }
.eyebrow-line { display: inline-block; width: 27px; height: 1px; background: var(--blue-strong); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
.hero h1 { margin: 0; font-size: clamp(54px, 6.4vw, 86px); font-weight: 500; letter-spacing: -.078em; line-height: .99; }
h1 em, h2 em, .callcentre-copy strong em { color: var(--blue); font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.hero-intro { max-width: 490px; margin: 27px 0 28px; color: #a6abb3; font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 11px; }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 17px; border: 1px solid transparent; border-radius: 3px; cursor: pointer; font-size: 11px; font-weight: 600; letter-spacing: .015em; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s var(--ease), box-shadow .25s ease; }
.button span { font-size: 14px; color: var(--blue); transition: transform .25s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:hover span { transform: translate(2px,-2px); }
.button-primary { color: #0a0d12; background: #dce6fa; border-color: #dce6fa; box-shadow: 0 6px 28px rgba(131, 168, 255, .09); }
.button-primary:hover { background: #fff; border-color: #fff; box-shadow: 0 9px 32px rgba(131,168,255,.19); }
.button-primary span { color: #182744; }
.button-quiet { color: #e1e3e8; border-color: var(--line-bright); background: rgba(255,255,255,.015); }
.button-quiet:hover { border-color: rgba(169,194,255,.6); background: rgba(169,194,255,.06); }
.hero-meta { display: flex; align-items: center; gap: 9px; margin-top: 33px; color: #777e87; font-size: 10px; letter-spacing: .06em; }
.availability-dot { width: 6px; height: 6px; border-radius: 50%; background: #a8d4b4; box-shadow: 0 0 12px rgba(168,212,180,.4); }
.hero-art { --px: 0px; --py: 0px; position: relative; z-index: 1; justify-self: end; width: min(100%, 570px); aspect-ratio: 1.08; margin-right: -2.5%; transform: translate3d(var(--px),var(--py),0); transition: transform .25s ease-out; }
.hero-art::before { content: ""; position: absolute; inset: 8% -7% 0; z-index: -2; background-image: linear-gradient(rgba(177,192,220,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(177,192,220,.05) 1px, transparent 1px); background-size: 51px 51px; opacity: .3; mask-image: radial-gradient(ellipse at 54% 48%, #000 0%, transparent 68%); }
.art-glow { position: absolute; z-index: -1; width: 81%; height: 79%; left: 11%; top: 13%; border-radius: 50%; background: radial-gradient(ellipse, rgba(53,82,148,.22), rgba(79,58,129,.075) 38%, transparent 69%); filter: blur(20px); }
.hero-image { position: absolute; z-index: 2; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; opacity: .82; filter: saturate(.82) contrast(1.07); mix-blend-mode: screen; mask-image: radial-gradient(ellipse 63% 62% at 58% 50%, #000 52%, transparent 100%); }
.hero-image[hidden] { display: none; }
.fallback-sculpture { position: absolute; inset: 5% 4% 7%; perspective: 900px; transform-style: preserve-3d; animation: sculpture-float 8s ease-in-out infinite; }
.sculpture-core { position: absolute; top: 25%; left: 27%; width: 49%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(ellipse at 34% 26%, rgba(185,218,255,.92) 0%, rgba(83,127,194,.75) 8%, rgba(23,39,67,.98) 30%, #101520 63%, #05070a 80%); box-shadow: inset -25px -30px 50px rgba(0,0,0,.9), inset 14px 12px 28px rgba(173,212,255,.21), 5px 17px 70px rgba(61,107,201,.26), 0 0 0 1px rgba(188,210,255,.23); }
.sculpture-core::before { content: ""; position: absolute; inset: 6%; border-radius: inherit; border: 1px solid rgba(190,218,255,.16); transform: rotate(-30deg) scaleY(.65); box-shadow: 0 0 25px rgba(132,170,255,.15); }
.sculpture-ring { position: absolute; top: 15%; left: 18%; width: 66%; height: 65%; border: 14px solid rgba(195,204,223,.66); border-left-color: rgba(70,91,124,.68); border-bottom-color: rgba(131,165,226,.65); border-right-color: rgba(245,247,251,.75); border-radius: 48% 52% 47% 53%; transform: rotate(-28deg) rotateX(65deg); filter: drop-shadow(3px 7px 7px rgba(0,0,0,.8)) drop-shadow(0 0 14px rgba(126,162,235,.24)); }
.sculpture-ring::after { content: ""; position: absolute; inset: 4px; border: 1px solid rgba(255,255,255,.59); border-radius: inherit; }
.sculpture-orbit { position: absolute; border: 1px solid rgba(158,180,222,.36); border-radius: 50%; transform-style: preserve-3d; }
.sculpture-orbit-one { inset: 6% 5%; transform: rotate(34deg) rotateX(71deg); }
.sculpture-orbit-two { inset: 4% 11%; transform: rotate(-26deg) rotateY(66deg); border-color: rgba(183,164,245,.22); }
.art-spark { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #c3d6ff; box-shadow: 0 0 18px 5px rgba(113,157,255,.38); }
.spark-one { top: 18%; right: 20%; }
.spark-two { bottom: 18%; left: 18%; width: 3px; height: 3px; background: #d2c1fa; box-shadow: 0 0 14px 4px rgba(177,148,245,.37); }
.art-caption, .art-orbit-label { position: absolute; z-index: 3; color: #778294; font-size: 9px; letter-spacing: .2em; }
.art-caption { bottom: 10%; left: 4%; }
.art-orbit-label { top: 20%; right: 3%; writing-mode: vertical-rl; }
.scroll-cue { position: absolute; bottom: 35px; left: 0; display: flex; align-items: center; gap: 11px; color: #737a84; font-size: 9px; letter-spacing: .08em; }
.scroll-cue-line { width: 31px; height: 1px; background: #6f89bd; transition: width .3s ease; }
.scroll-cue:hover .scroll-cue-line { width: 48px; }
.hero-index { position: absolute; bottom: 39px; right: 0; color: #535a64; font-size: 9px; letter-spacing: .18em; }
.intro-strip { min-height: 73px; display: grid; place-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(255,255,255,.01), rgba(120,146,198,.035), rgba(255,255,255,.01)); }
.intro-strip-inner { width: var(--shell); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #8c929d; font-size: 9px; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; }
.intro-strip-inner i { width: 4px; height: 4px; border: 1px solid var(--blue); border-radius: 50%; box-shadow: 0 0 12px rgba(131,168,255,.6); }
.section { padding-top: 132px; padding-bottom: 132px; }
.section-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 66px; color: #8b939e; font-size: 9px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.section-kicker > span:first-child { color: var(--blue); font-size: 10px; letter-spacing: .07em; }
.kicker-rule { width: 38px; height: 1px; background: rgba(176,193,223,.38); }
.silhouette-layout { display: grid; grid-template-columns: 1fr .86fr; gap: 10%; align-items: start; }
.about-heading .eyebrow, .section-heading-row .eyebrow, .services-intro .eyebrow, .contact-copy .eyebrow { margin-bottom: 18px; }
h2 { margin-bottom: 0; font-size: clamp(43px, 5.3vw, 67px); font-weight: 500; letter-spacing: -.074em; line-height: 1.03; }
h2 em { color: var(--blue); }
.about-copy { padding-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.about-copy p { margin-bottom: 17px; }
.about-copy .lead-copy { margin-bottom: 22px; color: #e0e2e6; font-size: 18px; line-height: 1.65; }
.about-signature { display: flex; align-items: center; gap: 14px; margin-top: 31px; color: #8d949e; font-size: 10px; letter-spacing: .04em; }
.signature-mark { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid rgba(184,204,242,.36); border-radius: 50%; color: #e3e9f5; font-family: var(--serif); font-size: 18px; font-style: italic; }
.signature-mark span { margin-left: -3px; color: var(--blue); }
.about-note { display: flex; align-items: center; gap: 17px; max-width: 530px; margin: 68px 0 0 auto; padding: 18px 0 18px 19px; border-left: 1px solid rgba(169,194,255,.55); color: #a3a8b0; font-size: 12px; line-height: 1.7; }
.note-symbol { color: var(--blue); font-size: 17px; }
.skills-section { padding-top: 120px; padding-bottom: 140px; border-top: 1px solid rgba(218,226,237,.08); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 57px; }
.section-heading-row h2 { font-size: clamp(46px, 5vw, 65px); }
.section-aside { max-width: 300px; margin: 0 3px 6px 0; color: #9299a2; font-size: 12px; line-height: 1.8; }
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.skill-card { min-height: 122px; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 20px 18px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(140deg, rgba(255,255,255,.015), transparent 68%); transform-style: preserve-3d; transition: background .35s ease, border-color .35s ease, transform .35s var(--ease), box-shadow .35s ease; }
.skill-card:hover { z-index: 1; background: linear-gradient(135deg, rgba(131,168,255,.1), rgba(255,255,255,.015)); box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.skill-icon { width: 25px; height: 25px; display: grid; place-items: center; color: #c2d0e7; }
.skill-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.type-icon { border: 1px solid rgba(173,194,231,.32); border-radius: 5px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: -.04em; }
.skill-name { max-width: 90%; margin-top: 16px; color: #d4d7dc; font-size: 11px; font-weight: 500; line-height: 1.45; }
.skill-index { position: absolute; right: 16px; top: 18px; color: #606773; font-size: 9px; letter-spacing: .08em; }
.projects-section { padding-top: 128px; padding-bottom: 145px; border-top: 1px solid rgba(218,226,237,.08); }
.projects-section .section-heading-row { margin-bottom: 57px; }
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 28px; row-gap: 67px; align-items: start; }
.project-card { grid-column: span 6; min-width: 0; transform-style: preserve-3d; }
.project-card.project-wide { grid-column: span 7; }
.project-card:nth-child(2), .project-card:nth-child(3) { grid-column: span 5; }
.project-card:nth-child(2) { margin-top: 80px; }
.project-card:nth-child(3) { margin-left: auto; margin-top: 16px; }
.project-card:nth-child(4) { margin-top: 74px; }
.project-visual { --mock-scale: 1; height: clamp(255px, 31vw, 370px); position: relative; display: block; overflow: hidden; border: 1px solid rgba(218,226,237,.15); border-radius: 4px; isolation: isolate; transform: translateZ(0); transition: border-color .35s ease, box-shadow .4s var(--ease); }
.project-card:hover .project-visual { border-color: rgba(169,194,255,.46); box-shadow: 0 18px 50px rgba(0,0,0,.35), 0 0 36px rgba(112,144,206,.08); }
.art-preview-paper, .restaurant-scene, .flames-scene, .callcentre-window { transition: transform .55s var(--ease); }
.project-card:hover .art-preview-paper { transform: rotate(-2deg) scale(1.035); }
.project-card:hover .restaurant-scene, .project-card:hover .flames-scene, .project-card:hover .callcentre-window { transform: scale(1.035); }
.project-visual::after { content: ""; position: absolute; z-index: 4; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3,5,7,.28), transparent 22%, transparent 72%, rgba(3,5,7,.32)); }
.mock-browser { position: absolute; z-index: 5; top: 14px; left: 14px; right: 14px; height: 27px; display: flex; align-items: center; gap: 5px; padding: 0 9px; border: 1px solid rgba(236,239,245,.17); border-radius: 3px; background: rgba(11,13,17,.55); backdrop-filter: blur(14px); color: rgba(230,234,243,.6); font-size: 9px; letter-spacing: .04em; }
.mock-browser i { width: 5px; height: 5px; border-radius: 50%; background: rgba(218,226,238,.44); }
.mock-browser span { margin-left: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-label { position: absolute; z-index: 6; bottom: 14px; left: 16px; color: rgba(237,240,247,.75); font-size: 9px; letter-spacing: .18em; }
.preview-arrow { position: absolute; z-index: 6; right: 15px; bottom: 11px; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(235,239,246,.34); border-radius: 50%; color: #fff; font-size: 13px; transition: color .25s ease, background .25s ease, transform .25s ease; }
.project-card:hover .preview-arrow { transform: translate(2px,-2px); color: #11161d; background: var(--blue); }
.art-preview { background: #18191a; }
.art-preview::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 72% 28%, rgba(199,172,132,.2), transparent 37%), linear-gradient(135deg, #282522, #111213 65%); }
.art-preview-paper { position: absolute; top: 18%; left: 12%; width: 74%; height: 67%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(20px, 3vw, 39px); border: 1px solid rgba(233,213,183,.17); background: linear-gradient(135deg, rgba(217,203,182,.12), rgba(96,78,55,.12)); box-shadow: 0 10px 50px rgba(0,0,0,.35); transform: rotate(-2deg); }
.mock-eyebrow { color: #c0b7a6; font-size: 9px; letter-spacing: .17em; }
.mock-art-title { margin-top: 12px; color: #ece2d5; font-family: var(--serif); font-size: clamp(24px, 3.6vw, 48px); font-weight: 400; line-height: .85; letter-spacing: -.04em; }
.mock-arabic { position: absolute; right: 10%; bottom: 12%; color: rgba(225,210,192,.78); font-family: var(--serif); font-size: clamp(18px, 2vw, 27px); }
.mock-paper-rule { width: 32px; height: 1px; margin-top: 17px; background: #bba67d; }
.mock-paper-copy { margin-top: 8px; color: #a9a092; font-size: 9px; letter-spacing: .04em; }
.restaurant-preview { background: radial-gradient(ellipse at 72% 48%, rgba(197,93,48,.36), transparent 35%), #211511; }
.restaurant-preview::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(18,12,10,.96) 0%, rgba(32,17,12,.74) 46%, rgba(16,13,12,.24)); }
.restaurant-scene { position: absolute; inset: 15% 6% 7%; display: flex; align-items: center; justify-content: space-between; padding: 0 8%; }
.restaurant-copy { position: relative; z-index: 2; max-width: 53%; display: flex; flex-direction: column; align-items: flex-start; }
.restaurant-copy > span { color: #d0a77f; font-size: 9px; letter-spacing: .2em; }
.restaurant-copy strong { margin: 10px 0; color: #f3e9dc; font-family: var(--serif); font-size: clamp(40px, 5.8vw, 72px); font-weight: 400; letter-spacing: -.07em; line-height: .74; }
.restaurant-copy small { color: #c1b5a9; font-size: 9px; }
.restaurant-sign { position: absolute; right: 1%; bottom: 4%; padding: 8px 11px; border: 1px solid rgba(248,230,208,.25); color: #e3c4a5; font-size: 9px; letter-spacing: .13em; text-align: center; }
.burger { position: relative; width: 37%; height: 70%; min-width: 105px; filter: drop-shadow(0 17px 16px rgba(0,0,0,.5)); transform: rotate(-11deg); }
.burger i { position: absolute; left: 4%; width: 92%; display: block; }
.burger-bun-top { top: 9%; height: 30%; border-radius: 55% 55% 18% 18% / 80% 80% 20% 20%; background: radial-gradient(ellipse at 43% 23%, #f1bc73, #c56834 68%, #81361f); box-shadow: inset 0 -5px 6px rgba(57,28,16,.3); }
.burger-bun-top::after { content: ""; position: absolute; inset: 12% 15%; border-radius: 50%; background: radial-gradient(ellipse, #f7dfaa 0 1px, transparent 2px) 2px 5px/19px 13px; opacity: .7; }
.burger-lettuce { top: 36%; left: 0!important; width: 100%!important; height: 9%; border-radius: 50%; background: #88a352; clip-path: polygon(0 35%,8% 8%,18% 43%,28% 0,39% 40%,52% 0,65% 44%,77% 3%,89% 43%,100% 12%,96% 100%,4% 100%); }
.burger-patty { top: 42%; height: 14%; border-radius: 48%; background: linear-gradient(#503022,#26140f 55%,#694029); box-shadow: inset 0 3px 2px rgba(243,161,92,.27); }
.burger-cheese { top: 51%; height: 14%; background: #e4a539; clip-path: polygon(0 0,100% 0,95% 100%,79% 64%,62% 100%,50% 65%,32% 100%,20% 60%,4% 100%); }
.burger-bun-bottom { top: 61%; height: 17%; border-radius: 7px 7px 40% 40%; background: linear-gradient(90deg,#a54d25,#d88e42 50%,#9b4928); }
.flames-preview { background: radial-gradient(circle at 73% 46%, rgba(229,104,44,.22), transparent 24%), radial-gradient(circle at 74% 47%, #1c1d1d, #101112 68%); }
.flames-preview::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(10,12,12,.96), rgba(17,17,17,.73) 55%, rgba(12,12,12,.13)); }
.flames-scene { position: absolute; inset: 15% 8% 9%; display: flex; flex-direction: column; justify-content: center; }
.flames-copy { position: relative; z-index: 2; }
.flames-copy > span { color: #e39460; font-size: 9px; letter-spacing: .21em; }
.flames-copy strong { display: block; margin-top: 10px; color: #ede7df; font-size: clamp(18px, 2.2vw, 27px); font-weight: 600; letter-spacing: -.055em; line-height: .98; }
.flames-copy small { display: block; margin-top: 10px; color: #a7a39c; font-size: 9px; }
.flame-emblem { position: absolute; right: 6%; top: 13%; width: 39%; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(229,136,83,.22); border-radius: 50%; background: radial-gradient(circle, rgba(225,111,57,.16), rgba(225,111,57,.025) 55%, transparent 70%); box-shadow: 0 0 60px rgba(222,109,58,.12); }
.flame-emblem::before, .flame-emblem::after { content: ""; position: absolute; inset: 13%; border: 1px solid rgba(224,131,78,.35); border-radius: 50%; }
.flame-emblem::after { inset: 25%; border-color: rgba(231,174,124,.42); }
.flame-emblem span { color: #dd8756; font-size: clamp(35px, 6vw, 75px); text-shadow: 0 0 30px rgba(227,113,57,.55); }
.flame-line { position: absolute; right: -7%; top: 50%; width: 55%; height: 1px; background: linear-gradient(90deg, transparent, rgba(224,134,84,.5), transparent); transform: rotate(-28deg); }
.flames-wordmark { position: absolute; right: 7%; bottom: 0; color: rgba(242,231,216,.73); font-size: 9px; letter-spacing: .2em; text-align: right; }
.callcentre-preview { background: radial-gradient(circle at 79% 40%, rgba(96,126,184,.23), transparent 31%), #101318; }
.callcentre-preview::before { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, #101318, rgba(23,28,37,.91) 50%, rgba(13,16,22,.55)); }
.callcentre-window { position: absolute; inset: 17% 9% 9%; display: flex; align-items: center; padding: 4% 8%; border: 1px solid rgba(210,222,245,.12); background: linear-gradient(135deg, rgba(255,255,255,.025), rgba(255,255,255,.005)); }
.callcentre-copy { position: relative; z-index: 2; max-width: 63%; display: flex; flex-direction: column; align-items: flex-start; }
.callcentre-kicker { color: #a8b7ce; font-size: 9px; letter-spacing: .18em; }
.callcentre-copy strong { margin: 9px 0; color: #eff1f4; font-size: clamp(25px, 3.8vw, 48px); font-weight: 500; letter-spacing: -.07em; line-height: .98; }
.callcentre-copy strong em { color: #a9c2ff; }
.callcentre-sub { color: #a7adb7; font-size: 9px; line-height: 1.5; }
.callcentre-button { display: flex; align-items: center; gap: 21px; margin-top: 13px; padding: 8px 10px; background: #dce6fa; color: #111721; font-size: 9px; }
.callcentre-button b { font-size: 12px; }
.callcentre-orbit { position: absolute; top: 14%; right: 5%; width: 37%; aspect-ratio: 1; }
.callcentre-ring { position: absolute; inset: 9%; border: 1px solid rgba(169,194,255,.36); border-radius: 50%; transform: rotate(35deg) scaleY(.65); }
.ring-b { inset: 0; border-color: rgba(195,178,244,.24); transform: rotate(-39deg) scaleY(.52); }
.callcentre-dot { position: absolute; width: 14px; height: 14px; top: 8%; right: 16%; border: 1px solid rgba(186,207,248,.76); border-radius: 50%; box-shadow: 0 0 22px rgba(131,168,255,.43); }
.callcentre-cross { position: absolute; right: 6%; bottom: 13%; color: #b7c8e8; font-family: var(--serif); font-size: 30px; }
.project-info { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-top: 17px; }
.project-category { margin-bottom: 5px; color: #8f9db4; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.project-info h3 { margin: 0; color: #e9eaed; font-size: 19px; font-weight: 500; letter-spacing: -.045em; }
.project-description { max-width: 340px; margin: 7px 0 0; color: #969ca5; font-size: 10px; line-height: 1.7; }
.text-link { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; padding-bottom: 3px; color: #d6d9df; font-size: 9px; font-weight: 500; white-space: nowrap; }
.services-section { padding-top: 125px; padding-bottom: 145px; border-top: 1px solid rgba(218,226,237,.08); }
.services-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 12%; align-items: start; }
.services-intro { position: sticky; top: calc(var(--header-height) + 45px); }
.services-intro h2 { font-size: clamp(44px, 4.8vw, 61px); }
.services-intro > p:not(.eyebrow) { max-width: 330px; margin: 23px 0 27px; color: #969da7; font-size: 12px; line-height: 1.9; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 27px 1fr 24px; gap: 15px; align-items: start; padding: 23px 0 22px; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease), border-color .3s ease; }
.service-row:hover { padding-left: 9px; padding-right: 5px; border-color: rgba(169,194,255,.38); }
.service-row > span:first-child { padding-top: 3px; color: var(--blue); font-size: 9px; letter-spacing: .07em; }
.service-row h3 { margin: 0 0 6px; color: #e2e4e8; font-size: 14px; font-weight: 500; letter-spacing: -.025em; }
.service-row p { max-width: 410px; margin: 0; color: #8e959f; font-size: 10px; line-height: 1.75; }
.service-plus { color: #79869c; font-size: 14px; transition: color .2s, transform .2s; }
.service-row:hover .service-plus { color: var(--blue); transform: translate(2px,-2px); }
.contact-section { min-height: 680px; position: relative; padding-top: 115px; padding-bottom: 120px; border-top: 1px solid var(--line); overflow: clip; }
.contact-section::before { content: ""; position: absolute; z-index: -1; right: -15%; top: 4%; width: 70%; height: 85%; background: radial-gradient(ellipse at 65% 41%, rgba(56,78,122,.12), transparent 61%); pointer-events: none; }
.contact-section > .section-kicker { position: relative; z-index: 1; margin-bottom: 61px; }
.contact-orbit { position: absolute; z-index: -1; top: 22%; right: -8%; width: 45%; aspect-ratio: 1; opacity: .19; pointer-events: none; }
.contact-orbit span, .contact-orbit i, .contact-orbit b { position: absolute; inset: 5%; border: 1px solid rgba(172,192,231,.5); border-radius: 50%; transform: rotate(35deg) scaleY(.62); }
.contact-orbit i { inset: 12%; border-color: rgba(194,172,244,.45); transform: rotate(-39deg) scaleY(.55); }
.contact-orbit b { inset: 28%; border-color: rgba(177,206,255,.62); }
.contact-layout { display: grid; grid-template-columns: 1fr .8fr; gap: 11%; align-items: start; }
.contact-copy h2 { font-size: clamp(52px, 6vw, 77px); }
.contact-copy > p:not(.eyebrow) { max-width: 410px; margin: 21px 0 33px; color: #9ea4ad; font-size: 13px; line-height: 1.85; }
.contact-details { max-width: 440px; border-top: 1px solid var(--line); }
.contact-detail { display: grid; grid-template-columns: 85px 1fr; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 10px; }
.detail-label { color: #7f8894; }
.contact-dynamic { color: #d7dce4; text-decoration: underline; text-decoration-color: rgba(169,194,255,.34); text-underline-offset: 4px; }
.contact-dynamic:hover { color: var(--blue); }
.contact-placeholder { color: #8f969f; }
.social-links { display: flex; flex-wrap: wrap; gap: 9px 17px; }
.social-links .contact-placeholder { color: #858c96; }
.placeholder-note { max-width: 420px; margin: 14px 0 0; color: #737b85; font-size: 9px; line-height: 1.7; }
code { color: #bdc9de; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .96em; }
.contact-form-wrap { padding: 26px 26px 21px; border: 1px solid rgba(218,226,237,.14); background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); box-shadow: 0 20px 70px rgba(0,0,0,.2); backdrop-filter: blur(11px); }
.form-heading { display: flex; gap: 14px; align-items: center; padding-bottom: 19px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(169,194,255,.33); border-radius: 50%; color: var(--blue); font-size: 16px; }
.form-heading .eyebrow { margin-bottom: 3px; font-size: 9px; }
.form-heading h3 { margin: 0; color: #eceef2; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.contact-form { display: grid; }
.contact-form label { margin: 12px 0 6px; color: #b3b8c1; font-size: 9px; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 40px; padding: 10px 11px; border: 1px solid rgba(218,226,237,.13); border-radius: 2px; outline: 0; background: rgba(4,6,8,.32); color: #ecedf0; font-size: 10px; resize: vertical; transition: border-color .2s, background .2s; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #67707b; }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(169,194,255,.65); background: rgba(4,6,8,.55); }
.contact-form textarea { min-height: 96px; }
.form-submit { justify-self: start; min-height: 40px; margin-top: 17px; padding: 0 14px; font-size: 10px; }
.form-notice { margin: 12px 0 0; color: #7e858f; font-size: 9px; line-height: 1.65; }
.form-notice[data-state="error"] { color: #f0bc9f; }
.form-notice[data-state="ready"] { color: #b4d5bd; }
.site-footer { border-top: 1px solid var(--line); background: rgba(5,7,9,.62); }
.footer-main { min-height: 132px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 25px; }
.footer-brand { min-width: auto; justify-self: start; }
.footer-tagline { margin: 0; color: #8d949e; font-size: 10px; line-height: 1.65; }
.footer-socials { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 16px; color: #aeb4bd; font-size: 9px; }
.footer-socials a:hover { color: var(--blue); }
.footer-socials span { color: #6e7681; }
.footer-bottom { min-height: 48px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(218,226,237,.08); color: #717883; font-size: 9px; letter-spacing: .04em; }
.footer-bottom a { color: #a7adb8; }
.footer-bottom a span { color: var(--blue); }
.reveal { opacity: 1; transform: none; }
body.motion-ready .reveal:not(.is-visible) { opacity: 0; transform: translateY(18px); }
body.motion-ready .reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
body.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes sculpture-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }

/* Static 404 page shares the same design system. */
.not-found { min-height: 100svh; display: grid; place-items: center; padding: 40px 24px; background: radial-gradient(ellipse at 50% 35%, rgba(59,82,131,.14), transparent 40%), var(--ink); }
.not-found-inner { max-width: 650px; text-align: center; }
.not-found-code { margin: 0; color: rgba(169,194,255,.25); font-family: var(--serif); font-size: clamp(120px, 25vw, 220px); line-height: .8; }
.not-found h1 { margin: 29px 0 13px; font-size: clamp(32px, 6vw, 48px); font-weight: 500; letter-spacing: -.06em; }
.not-found p:not(.not-found-code) { margin: 0 auto 25px; color: #9ca3ad; font-size: 13px; }

@media (min-width: 1500px) { :root { --shell: min(1300px, calc(100% - 140px)); } .hero h1 { font-size: 91px; } }
@media (max-width: 980px) {
  :root { --shell: calc(100% - 60px); }
  .primary-nav { gap: 19px; font-size: 11px; }
  .brand { min-width: 110px; }
  .hero { grid-template-columns: 1.05fr .95fr; min-height: 680px; }
  .hero h1 { font-size: clamp(52px, 7vw, 70px); }
  .hero-art { width: 112%; margin-right: -13%; }
  .project-grid { column-gap: 21px; row-gap: 52px; }
  .project-card.project-wide { grid-column: span 7; }
  .project-card:nth-child(2), .project-card:nth-child(3) { grid-column: span 5; }
  .project-info { align-items: start; flex-direction: column; }
  .text-link { margin-top: 5px; }
  .services-layout { gap: 7%; }
}
@media (max-width: 720px) {
  :root { --shell: calc(100% - 42px); --header-height: 68px; }
  .site-header { height: var(--header-height); }
  .brand { min-width: 0; }
  .menu-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line-bright); border-radius: 3px; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 16px; height: 1px; background: #e4e8ef; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: var(--header-height); left: 0; right: 0; height: auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 11px 21px 19px; border-bottom: 1px solid var(--line); background: rgba(8,10,12,.97); backdrop-filter: blur(18px); }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.nav-cta) { padding: 12px 1px; border-bottom: 1px solid rgba(218,226,237,.08); }
  .primary-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { align-self: flex-start; margin-top: 13px; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 88px; padding-bottom: 104px; }
  .hero-copy { max-width: 580px; }
  .hero h1 { font-size: clamp(55px, 12vw, 79px); }
  .hero-intro { max-width: 465px; margin-top: 22px; font-size: 13px; }
  .hero-art { position: absolute; z-index: -1; top: 3%; right: -25%; width: 90%; max-width: 510px; margin: 0; opacity: .53; }
  .hero-art::after { content: ""; position: absolute; inset: -5%; z-index: 1; background: linear-gradient(90deg, var(--ink) 0%, rgba(8,10,12,.63) 34%, transparent 82%), linear-gradient(0deg, var(--ink) 0%, transparent 30%); }
  .hero-image { opacity: .75; }
  .hero-index { display: none; }
  .scroll-cue { bottom: 34px; }
  .intro-strip { min-height: 65px; }
  .intro-strip-inner { justify-content: center; gap: 13px; font-size: 9px; letter-spacing: .12em; }
  .intro-strip-inner span:nth-of-type(2) { display: none; }
  .intro-strip-inner i:first-of-type { display: none; }
  .section { padding-top: 98px; padding-bottom: 100px; }
  .section-kicker { margin-bottom: 47px; }
  .about-layout { grid-template-columns: 1fr; gap: 31px; }
  .about-heading h2, .section-heading-row h2 { font-size: clamp(43px, 10vw, 61px); }
  .about-copy { max-width: 580px; }
  .about-copy .lead-copy { font-size: 17px; }
  .about-note { margin-top: 47px; }
  .skills-section, .projects-section, .services-section { padding-top: 98px; padding-bottom: 105px; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 38px; }
  .section-aside { max-width: 440px; margin: 0; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-card { min-height: 111px; padding: 16px 14px 14px; }
  .skill-name { font-size: 10px; }
  .project-grid { grid-template-columns: 1fr; row-gap: 43px; }
  .project-card, .project-card.project-wide, .project-card:nth-child(2), .project-card:nth-child(3) { grid-column: auto; margin: 0; }
  .project-visual { height: clamp(245px, 67vw, 380px); }
  .project-info { flex-direction: row; align-items: end; }
  .project-info h3 { font-size: 18px; }
  .project-description { max-width: 400px; }
  .text-link { font-size: 9px; }
  .mock-art-title { font-size: clamp(33px, 10vw, 48px); }
  .restaurant-copy strong { font-size: clamp(46px, 12vw, 71px); }
  .flames-copy strong { font-size: clamp(23px, 6vw, 32px); }
  .callcentre-copy strong { font-size: clamp(30px, 8.5vw, 45px); }
  .services-layout { grid-template-columns: 1fr; gap: 53px; }
  .services-intro { position: static; }
  .services-intro h2 { font-size: clamp(45px, 10vw, 61px); }
  .service-row { grid-template-columns: 25px 1fr 19px; gap: 10px; padding: 19px 0; }
  .service-row h3 { font-size: 13px; }
  .contact-section { padding-top: 91px; padding-bottom: 90px; }
  .contact-section > .section-kicker { margin-bottom: 48px; }
  .contact-layout { grid-template-columns: 1fr; gap: 45px; }
  .contact-copy h2 { font-size: clamp(55px, 11vw, 73px); }
  .contact-form-wrap { max-width: 540px; }
  .contact-orbit { top: 18%; right: -27%; width: 70%; opacity: .12; }
  .footer-main { min-height: 0; grid-template-columns: 1fr 1fr; gap: 23px; padding-top: 29px; padding-bottom: 27px; }
  .footer-tagline { justify-self: end; text-align: right; }
  .footer-socials { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 420px) {
  :root { --shell: calc(100% - 34px); }
  .hero { padding-top: 74px; }
  .hero h1 { font-size: clamp(48px, 12.8vw, 61px); }
  .hero .eyebrow { font-size: 9px; }
  .hero-actions { gap: 8px; }
  .button { min-height: 44px; gap: 14px; padding-inline: 13px; font-size: 10px; }
  .hero-meta { font-size: 9px; }
  .intro-strip-inner { font-size: 9px; }
  .project-info { align-items: flex-start; flex-direction: column; }
  .text-link { margin-top: 4px; }
  .restaurant-scene { padding-inline: 5%; }
  .burger { min-width: 90px; }
  .restaurant-sign { right: 0; }
  .callcentre-window { padding-inline: 6%; }
  .contact-form-wrap { padding: 21px 17px; }
  .footer-bottom { gap: 9px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  body.motion-ready .reveal:not(.is-visible) { opacity: 1; transform: none; }
  .hero-art, .fallback-sculpture { transform: none !important; animation: none !important; }
}


/* Image-guided refresh — plum editorial palette, silver type, and magenta stage light. */
:root {
  color-scheme: dark;
  --ink: #1a0b1d;
  --surface: #241027;
  --surface-raised: #301337;
  --surface-soft: #411848;
  --text: #fbf5fc;
  --muted: #d2c0d4;
  --faint: #a489a7;
  --line: rgba(255, 238, 255, .14);
  --line-bright: rgba(255, 238, 255, .27);
  --blue: #d276c9;
  --blue-strong: #f03b91;
  --violet: #a959b7;
  --green: #e4bbdf;
  --magenta: #ec1f75;
  --paper: #f8f2f6;
  --serif: "Instrument Serif", Georgia, serif;
  --display: "Barlow Condensed", Impact, sans-serif;
  --arabic: "Amiri", "Noto Naskh Arabic", serif;
  --sans: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { background: var(--ink); }
body { background: var(--ink); color: var(--text); }
body::before {
  opacity: .72;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(118, 25, 103, .43), transparent 37%),
    radial-gradient(ellipse at 91% 34%, rgba(224, 17, 106, .14), transparent 32%),
    radial-gradient(ellipse at 40% 88%, rgba(82, 24, 91, .24), transparent 43%);
}
::selection { color: #210d25; background: #f08ac5; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline-color: var(--blue-strong); }
.page-grain { opacity: .045; }

.site-header {
  border-bottom-color: rgba(255, 235, 255, .1);
  background: rgba(26, 11, 29, .88);
}
.brand-mark {
  border-color: rgba(238, 200, 235, .55);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(241, 61, 150, .16), transparent 67%);
  transform: rotate(-8deg);
}
.brand-mark::before, .brand-mark::after { background: var(--blue-strong); }
.brand-mark::after { background: rgba(235, 193, 232, .92); }
.brand-mark span { border-color: rgba(255, 245, 255, .88); }
.brand-mark i { background: var(--magenta); box-shadow: 0 0 10px rgba(236, 31, 117, .8); }
.brand-name.arabic-brand {
  color: #fff8ff;
  font-family: var(--arabic);
  font-size: 29px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(206, 170, 211, .9), 0 3px 12px rgba(233, 45, 151, .25);
}
.primary-nav { color: #d1c1d1; }
.primary-nav > a:not(.nav-cta)::after { background: var(--magenta); }
.nav-cta { border-radius: 2px; }
.nav-cta:hover { border-color: rgba(240, 59, 145, .65); background: rgba(236, 31, 117, .09); }
.nav-cta span, .text-link span { color: #f280c5; }

.hero.section-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: max(22px, calc((100% - 1200px) / 2));
}
.hero {
  min-height: max(620px, min(780px, calc(100svh - var(--header-height))));
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  padding-top: 82px;
  padding-bottom: 104px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background: linear-gradient(180deg, rgba(53, 17, 56, .2), transparent 60%);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -25%;
  left: 50%;
  width: min(1000px, 110vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(100, 23, 92, .38) 0%, rgba(89, 20, 82, .19) 39%, transparent 71%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 24%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(12, 4, 15, .28));
}
.hero-copy {
  width: min(100%, 980px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}
.hero .eyebrow { justify-content: center; gap: 11px; color: #e6cde4; }
.eyebrow-line { background: var(--magenta); }
.hero-wordmark {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 2px 0 7px;
  padding: 0 7px 15px;
  isolation: isolate;
}
.hero-wordmark h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(64px, 16.2vw, 208px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .77;
  white-space: nowrap;
  color: #eee7ef;
  background: linear-gradient(180deg, #fff 0%, #f2edf4 28%, #9b8ca0 49%, #fff 63%, #b4a5b9 78%, #6e5d72 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 rgba(45, 25, 50, .8)) drop-shadow(0 12px 22px rgba(0, 0, 0, .31));
}
.arabic-wordmark {
  position: absolute;
  z-index: 2;
  top: 71%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: var(--arabic);
  font-size: clamp(47px, 7.7vw, 93px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: .9;
  white-space: nowrap;
  text-shadow: 0 2px 0 rgba(222, 196, 225, .95), 0 5px 0 rgba(58, 27, 62, .94), 0 8px 20px rgba(0, 0, 0, .48), 0 0 22px rgba(236, 31, 117, .33);
}
.hero-nameplate {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin: 1px 0 14px;
  color: #cbaecf;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.hero-nameplate > span[aria-hidden="true"] { color: #ef65b5; }
.hero-tagline {
  margin: 5px 0 0;
  color: #fbf2fa;
  font-family: var(--serif);
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -.025em;
}
.hero-intro { max-width: 650px; margin: 18px 0 25px; color: #d2bfd4; font-size: 13px; line-height: 1.85; }
.hero-actions { justify-content: center; flex-wrap: wrap; }
.button { border-radius: 2px; }
.button-primary {
  color: #2b102d;
  background: linear-gradient(145deg, #fff 0%, #e5dce7 53%, #bbaabe 100%);
  border-color: #f5ecf5;
  box-shadow: 0 8px 28px rgba(236, 31, 117, .16);
}
.button-primary:hover { background: #fff; border-color: #fff; box-shadow: 0 10px 34px rgba(236, 31, 117, .26); }
.button-primary span { color: #94185d; }
.button-quiet { color: #faf1fb; border-color: rgba(255, 237, 255, .31); background: rgba(40, 13, 43, .32); }
.button-quiet:hover { border-color: rgba(240, 59, 145, .7); background: rgba(236, 31, 117, .12); }
.hero-meta { justify-content: center; margin-top: 25px; color: #bd9fbe; }
.availability-dot { background: #f15caa; box-shadow: 0 0 12px rgba(241, 92, 170, .48); }
.scroll-cue { left: max(22px, calc((100% - 1200px) / 2)); color: #c0a9c3; }
.scroll-cue-line { background: linear-gradient(90deg, #f34a9e, #c277c6); }
.intro-strip {
  border-top-color: rgba(250, 226, 249, .17);
  border-bottom-color: rgba(250, 226, 249, .17);
  background: linear-gradient(90deg, rgba(255, 255, 255, .012), rgba(130, 36, 115, .13), rgba(255, 255, 255, .012));
}
.intro-strip-inner { color: #c2a9c4; }
.intro-strip-inner i { border-color: var(--magenta); box-shadow: 0 0 12px rgba(236, 31, 117, .55); }

/* Full-bleed About stage: deep curtain, fuchsia glow, and a rough paper tear. */
.about-section {
  width: 100%;
  position: relative;
  margin: 0;
  padding: 104px 0 100px;
  overflow: hidden;
  isolation: isolate;
  background: #2a0e2c;
}
.about-backdrop { position: absolute; z-index: 0; inset: 0; overflow: hidden; background: #230b25; }
.about-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 75% 51%, rgba(240, 13, 109, .92) 0%, rgba(185, 10, 98, .52) 22%, transparent 47%),
    repeating-linear-gradient(90deg, rgba(255, 185, 236, .035) 0 2px, transparent 9px 31px),
    linear-gradient(100deg, #321039, #190a1e 64%, #2d0c2b);
}
.about-backdrop::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(37, 10, 40, .88) 0%, rgba(37, 10, 40, .72) 35%, rgba(37, 10, 40, .16) 72%, rgba(26, 7, 27, .12) 100%);
}
.about-image { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 51%; opacity: 1; filter: contrast(1.08) saturate(1.06); }
.about-image[hidden] { display: none !important; }
.about-silhouette {
  position: absolute;
  z-index: 0;
  right: 5%;
  bottom: 0%;
  width: 25%;
  height: 82%;
  background: linear-gradient(90deg, #1c071b 0%, #120611 70%, #080509 100%);
  clip-path: polygon(35% 0, 51% 1%, 64% 7%, 69% 15%, 66% 23%, 74% 30%, 70% 37%, 77% 43%, 74% 50%, 81% 59%, 87% 73%, 100% 100%, 3% 100%, 18% 86%, 22% 71%, 26% 57%, 30% 46%, 23% 39%, 29% 33%, 24% 25%, 29% 17%, 28% 9%);
  filter: drop-shadow(-12px 0 24px rgba(14, 4, 15, .65));
}
.about-inner { position: relative; z-index: 3; }
.about-section .section-kicker { color: #f1dcea; }
.about-section .section-kicker > span:first-child { color: #ff80bf; }
.about-section .kicker-rule { background: rgba(255, 227, 247, .58); }
.about-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .82fr); gap: 7%; align-items: start; }
.about-copy-wrap { grid-column: 1; max-width: 630px; }
.about-heading .eyebrow { color: #f2cfe8; }
.about-heading h2 { font-size: clamp(56px, 7.4vw, 88px); }
.about-heading h2 em, h2 em { color: #ef86c8; }
.about-copy { max-width: 580px; padding-top: 21px; color: #eee0ed; font-size: 12px; line-height: 1.84; }
.about-copy .lead-copy { color: #fff5fd; font-size: 16px; line-height: 1.55; }
.about-signature { margin-top: 24px; color: #e1cae0; }
.signature-mark { border-color: rgba(253, 179, 224, .54); color: #fff4fc; font-family: var(--arabic); font-style: normal; }
.signature-mark span { color: #f577bd; }
.about-note { max-width: 590px; margin: 34px 0 0; border-left-color: #f351a3; color: #f1dced; background: rgba(28, 7, 31, .24); }
.note-symbol { color: #ff80bf; }
.torn-edge {
  position: absolute;
  z-index: 4;
  left: 0;
  width: 100%;
  height: 26px;
  pointer-events: none;
  background: linear-gradient(180deg, #fff 0%, #eee8ef 54%, #c8b8ca 100%);
  filter: drop-shadow(0 2px 2px rgba(20, 5, 23, .32));
  clip-path: polygon(0 42%, 2.1% 38%, 5.2% 24%, 6.1% 44%, 9.5% 34%, 12.8% 19%, 15.1% 41%, 18.9% 31%, 21.4% 54%, 24.6% 39%, 28.2% 22%, 30.6% 35%, 34.2% 53%, 37.1% 29%, 40.8% 43%, 44.5% 25%, 47.3% 36%, 51.4% 49%, 54.6% 19%, 58.9% 32%, 61.2% 52%, 65% 37%, 68.4% 22%, 72.8% 42%, 75.3% 31%, 79.1% 54%, 82.4% 34%, 85.7% 20%, 88.3% 39%, 92.1% 47%, 94.6% 28%, 97.6% 35%, 100% 42%, 100% 100%, 0 100%);
}
.torn-edge-top { top: -8px; }
.torn-edge-bottom {
  bottom: -8px;
  clip-path: polygon(0 0, 100% 0, 100% 38%, 96.5% 45%, 93.2% 28%, 90.6% 40%, 86.9% 19%, 84% 36%, 80.7% 53%, 77.5% 29%, 73.4% 41%, 70.1% 23%, 67% 34%, 62.6% 50%, 59.7% 31%, 56.1% 20%, 52.8% 44%, 49.5% 35%, 45.6% 55%, 42.4% 28%, 38.8% 40%, 35.7% 19%, 32.1% 36%, 28.7% 52%, 25.4% 30%, 21.6% 42%, 18.9% 22%, 15.1% 35%, 11.4% 53%, 8% 29%, 5.3% 40%, 2.1% 24%, 0 38%);
}

.skills-section, .projects-section, .services-section { border-top-color: rgba(255, 232, 255, .14); }
.section-kicker { color: #bda8c1; }
.section-kicker > span:first-child { color: #f070bb; }
.kicker-rule { background: rgba(234, 173, 218, .43); }
h2 em { color: #ef86c8; }
.section-aside { color: #c4adc6; }
.skills-grid { border-top-color: var(--line); border-left-color: var(--line); }
.skill-card { border-right-color: var(--line); border-bottom-color: var(--line); background: linear-gradient(140deg, rgba(195, 83, 163, .055), rgba(255, 255, 255, .008) 68%); }
.skill-card:hover { background: linear-gradient(135deg, rgba(236, 31, 117, .17), rgba(255, 255, 255, .025)); box-shadow: 0 15px 45px rgba(0, 0, 0, .3), 0 0 25px rgba(236, 31, 117, .07); }
.skill-icon { color: #e6cfe6; }
.type-icon { border-color: rgba(235, 156, 213, .38); }
.skill-name { color: #eee2ef; }
.skill-index { color: #aa8eac; }
.project-card:hover .project-visual { border-color: rgba(246, 95, 177, .62); box-shadow: 0 18px 50px rgba(0, 0, 0, .42), 0 0 35px rgba(215, 27, 127, .12); }
.project-visual { border-color: rgba(255, 232, 255, .18); }
.project-visual::after { background: linear-gradient(180deg, rgba(30, 7, 31, .24), transparent 22%, transparent 72%, rgba(30, 7, 31, .34)); }
.mock-browser { border-color: rgba(255, 234, 255, .21); background: rgba(30, 8, 31, .66); color: rgba(255, 239, 255, .78); }
.preview-label { color: rgba(255, 245, 255, .84); }
.preview-arrow { border-color: rgba(255, 233, 255, .48); }
.project-card:hover .preview-arrow { color: #2b102d; background: #f18ac8; }
.mock-arabic { font-family: var(--arabic); }
.project-category { color: #e68ac8; }
.project-info h3 { color: #fff5ff; }
.project-description { color: #c3b2c5; }
.text-link { color: #f1e3f0; }

.services-intro > p:not(.eyebrow), .service-row p { color: #c1adc3; }
.service-row:hover { border-color: rgba(240, 59, 145, .43); }
.service-row > span:first-child { color: #f078bf; }
.service-row h3 { color: #fbf2fa; }
.service-plus { color: #ba9cbc; }
.contact-section { border-top-color: var(--line); }
.contact-section::before { background: radial-gradient(ellipse at 65% 41%, rgba(211, 24, 127, .18), transparent 64%); }
.contact-orbit span, .contact-orbit i, .contact-orbit b { border-color: rgba(239, 136, 202, .47); }
.contact-orbit i { border-color: rgba(207, 124, 206, .43); }
.contact-orbit b { border-color: rgba(255, 219, 245, .56); }
.contact-copy > p:not(.eyebrow) { color: #c6b2c8; }
.contact-details, .contact-detail { border-color: var(--line); }
.detail-label { color: #af95b2; }
.contact-dynamic { color: #f7eafa; text-decoration-color: rgba(239, 109, 191, .52); }
.contact-placeholder, .social-links .contact-placeholder { color: #c0abc2; }
.placeholder-note { color: #ab91ae; }
code { color: #f19bd0; }
.contact-form-wrap { border-color: rgba(255, 230, 253, .19); background: linear-gradient(145deg, rgba(156, 68, 146, .13), rgba(255, 255, 255, .015)); box-shadow: 0 24px 74px rgba(0, 0, 0, .28); }
.form-heading, .contact-form input, .contact-form textarea { border-color: var(--line); }
.form-mark { border-color: rgba(240, 59, 145, .43); }
.form-heading h3 { color: #fff6ff; }
.contact-form label { color: #e0ccdf; }
.contact-form input, .contact-form textarea { background: rgba(20, 6, 22, .42); color: #fff5ff; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a88eaa; }
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(240, 59, 145, .72); background: rgba(20, 6, 22, .62); }
.form-notice { color: #b49bb6; }
.form-notice[data-state="error"] { color: #ffc1d8; }
.form-notice[data-state="ready"] { color: #eed0ec; }
.site-footer { border-top-color: var(--line); background: rgba(19, 6, 21, .82); }
.footer-tagline { color: #c1abc3; }
.footer-socials { color: #e0cee1; }
.footer-socials span { color: #a58ba8; }
.footer-bottom { border-top-color: rgba(255, 232, 255, .12); color: #a88eaa; }
.footer-bottom a { color: #e0cce0; }
.not-found { background: radial-gradient(ellipse at 50% 35%, rgba(184, 34, 145, .16), transparent 42%), var(--ink); }
.not-found-code { color: rgba(239, 134, 200, .42); }
.not-found p:not(.not-found-code) { color: #c7b2c9; }

@media (max-width: 980px) {
  .hero.section-shell { padding-inline: max(30px, calc((100% - 1200px) / 2)); }
  .hero { min-height: max(590px, min(740px, calc(100svh - var(--header-height)))); }
  .hero-wordmark h1 { font-size: clamp(70px, 16vw, 160px); }
  .about-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); gap: 5%; }
  .about-copy-wrap { max-width: 100%; }
}
@media (max-width: 720px) {
  .primary-nav { background: rgba(31, 9, 34, .98); }
  .hero.section-shell { padding-inline: 21px; }
  .hero { min-height: 0; padding-top: 83px; padding-bottom: 103px; }
  .hero-copy { max-width: 560px; }
  .hero-wordmark { margin-bottom: 9px; padding-bottom: 13px; }
  .hero-wordmark h1 { font-size: clamp(64px, 16.6vw, 120px); }
  .arabic-wordmark { top: 70%; font-size: clamp(46px, 12vw, 70px); }
  .hero-nameplate { max-width: 350px; gap: 5px 7px; font-size: 8px; letter-spacing: .105em; }
  .hero-tagline { max-width: 570px; font-size: clamp(26px, 7vw, 34px); }
  .hero-intro { max-width: 500px; margin-top: 17px; font-size: 12px; }
  .hero-meta { margin-top: 22px; }
  .scroll-cue { left: 21px; }
  .about-section { padding: 83px 0 82px; }
  .about-inner { width: var(--shell); }
  .about-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .about-copy-wrap { max-width: 91%; }
  .about-heading h2 { font-size: clamp(51px, 12vw, 69px); }
  .about-copy { max-width: 100%; padding-top: 18px; font-size: 11px; line-height: 1.8; }
  .about-copy .lead-copy { font-size: 15px; }
  .about-note { margin-top: 28px; padding-right: 8px; font-size: 11px; }
  .about-backdrop::after { background: linear-gradient(90deg, rgba(37, 10, 40, .84) 0%, rgba(37, 10, 40, .68) 48%, rgba(37, 10, 40, .19) 100%); }
  .about-image { object-position: 76% center; }
  .about-silhouette { right: 2%; width: 44%; height: 82%; opacity: .84; }
  .torn-edge { height: 18px; }
  .skills-section, .projects-section, .services-section { padding-top: 88px; padding-bottom: 95px; }
  .contact-section { padding-top: 88px; padding-bottom: 92px; }
}
@media (max-width: 420px) {
  .hero.section-shell { padding-inline: 17px; }
  .hero { padding-top: 73px; padding-bottom: 94px; }
  .hero-wordmark h1 { font-size: clamp(60px, 16.2vw, 74px); }
  .arabic-wordmark { font-size: 45px; }
  .hero-nameplate { max-width: 310px; font-size: 7px; }
  .hero-tagline { font-size: 27px; }
  .hero-actions { gap: 8px; }
  .about-copy-wrap { max-width: 94%; }
  .about-section .section-kicker { margin-bottom: 37px; }
  .about-copy { font-size: 10.5px; }
  .about-copy .lead-copy { font-size: 14px; }
}


/* Male profile fallback and subtle page-rip finish. */
.about-silhouette {
  right: 6%;
  width: 33%;
  background: linear-gradient(90deg, #190619 0%, #10040f 72%, #080509 100%);
  clip-path: polygon(34% 0, 49% 0, 60% 4%, 68% 12%, 71% 20%, 68% 24%, 76% 28%, 73% 32%, 64% 35%, 67% 38%, 60% 41%, 57% 46%, 60% 50%, 70% 54%, 83% 60%, 92% 70%, 100% 100%, 0 100%, 11% 81%, 18% 63%, 22% 51%, 24% 45%, 17% 42%, 23% 37%, 18% 33%, 25% 26%, 23% 17%, 28% 8%);
  filter: drop-shadow(-16px 0 30px rgba(10, 3, 12, .68));
}
.torn-edge {
  background-color: #f7f0f6;
  background-image:
    linear-gradient(180deg, #fff 0%, #f5eff5 38%, #ddd1df 74%, #b9a8bc 100%),
    repeating-linear-gradient(113deg, rgba(92, 69, 97, .18) 0 1px, transparent 1px 7px);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .88), inset 0 -3px 0 rgba(102, 73, 107, .18);
  filter: drop-shadow(0 3px 2px rgba(17, 5, 20, .43));
}
.torn-edge::before,
.torn-edge::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.torn-edge::before {
  opacity: .19;
  background: repeating-linear-gradient(108deg, transparent 0 8px, rgba(105, 80, 111, .48) 8px 9px, transparent 9px 16px);
  mix-blend-mode: multiply;
}
.torn-edge::after {
  opacity: .48;
  transform: translateX(-105%);
  background: linear-gradient(108deg, transparent 0%, rgba(255, 255, 255, .05) 37%, rgba(255, 255, 255, .9) 49%, rgba(255, 255, 255, .12) 59%, transparent 72%);
  animation: paper-sheen 10s ease-in-out infinite;
}
@keyframes paper-sheen {
  0%, 15% { transform: translateX(-105%); }
  75%, 100% { transform: translateX(105%); }
}
@media (prefers-reduced-motion: reduce) {
  .torn-edge::after { animation: none !important; transform: none; opacity: .15; }
}
@media (max-width: 720px) {
  .about-silhouette { right: 1%; width: 45%; opacity: .79; }
}
