:root {
  color-scheme: light;
  --paper: #f3f1ec;
  --ink: #101010;
  --muted: #77736d;
  --line: rgba(16, 16, 16, .17);
  --line-dark: rgba(243, 241, 236, .23);
  --mono: "IBM Plex Mono", "Courier New", monospace;
  --arabic: "IBM Plex Sans Arabic", "Tahoma", sans-serif;
  --page: min(1320px, calc(100% - 96px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--arabic);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; }
button { font: inherit; }
.mono { font-family: var(--mono); direction: ltr; }
.page-width { width: var(--page); margin-inline: auto; }
.section-light { background-color: var(--paper); }
.section-dark { background-color: var(--ink); color: var(--paper); }
.skip-link { position: absolute; z-index: 100; top: 8px; right: 8px; padding: 8px 14px; background: var(--ink); color: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; border-bottom: 1px solid transparent; transition: background-color .25s ease, border-color .25s ease; }
.site-header.is-scrolled { background: rgba(243, 241, 236, .95); border-color: var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.wordmark { direction: ltr; text-decoration: none; font: 500 17px/1 var(--mono); letter-spacing: .06em; }
.wordmark-dot, .period { color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
.site-nav a { text-decoration: none; font: 500 11px/1.4 var(--mono); letter-spacing: .025em; direction: ltr; }
.site-nav a span { color: var(--muted); margin-inline-end: 7px; }
.site-nav a:hover, .site-nav a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; }

.hero { min-height: 100svh; padding-top: 116px; padding-bottom: 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .94fr); grid-template-areas: "copy image"; align-items: center; column-gap: clamp(24px, 7vw, 108px); position: relative; }
.hero-copy { grid-area: copy; padding-block: 34px; }
.eyebrow { margin: 0 0 22px; font-size: 11px; letter-spacing: .075em; color: var(--muted); }
.eyebrow i { font-style: normal; margin-inline: 8px; color: var(--ink); }
.hero h1 { margin: 0 0 4px; direction: ltr; text-align: right; font: 500 clamp(4rem, 8.5vw, 8.5rem)/.98 var(--mono); letter-spacing: -.085em; }
.hero-statement { margin: 24px 0 18px; max-width: 580px; font-size: clamp(1.55rem, 3vw, 2.55rem); line-height: 1.65; font-weight: 500; letter-spacing: -.035em; }
.hero-description { max-width: 490px; margin: 0; color: #55514c; font-size: 17px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 48px; padding: 9px 18px; border: 1px solid var(--ink); text-decoration: none; font-size: 13px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover, .button-dark:focus-visible { background: transparent; color: var(--ink); }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover, .button-outline:focus-visible { background: var(--ink); color: var(--paper); }
.hero-note { display: flex; align-items: center; gap: 11px; margin: 45px 0 0; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.note-line { width: 34px; height: 1px; background: var(--ink); }
.hero-visual { grid-area: image; margin: 0; max-width: 590px; justify-self: center; width: 100%; }
.portrait-wrap { width: 100%; aspect-ratio: 1; overflow: hidden; background: #eeece7; }
.portrait-wrap img { display: block; width: 100%; height: 100%; object-fit: contain; }
.portrait-caption { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 8px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.hero-index { position: absolute; left: 0; bottom: 27px; color: var(--muted); font-size: 10px; letter-spacing: .1em; }

.section-inner { padding-block: clamp(84px, 12vw, 164px); }
.section-label { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.section-label span:first-child { color: var(--ink); }
.about-content { padding-top: clamp(50px, 8vw, 112px); }
.about-content h2 { margin: 0; max-width: 850px; font-size: clamp(2rem, 5vw, 4.55rem); font-weight: 400; line-height: 1.55; letter-spacing: -.05em; }
.about-body { max-width: 760px; margin: 38px 0 0 auto; color: #514e49; font-size: 17px; line-height: 2.1; }
.about-body p { margin: 0 0 17px; }
.about-last { padding-top: 6px; }
.about-last strong { color: var(--ink); font-weight: 600; }
.interest-words { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border-top: 1px solid var(--line); margin-top: clamp(58px, 10vw, 126px); padding-top: 16px; color: rgba(16, 16, 16, .78); font-size: clamp(1.15rem, 3.6vw, 3.4rem); letter-spacing: -.075em; white-space: nowrap; }
.interest-words span:nth-child(2) { color: var(--muted); }

.socials-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 72px 0 47px; }
.socials-heading h2, .coming-heading h2 { margin: 0; direction: ltr; text-align: right; font-size: clamp(2.35rem, 6.7vw, 6rem); font-weight: 400; line-height: 1.15; letter-spacing: -.08em; }
.socials-heading p { max-width: 330px; margin: 0 0 7px; color: var(--muted); font-size: 15px; }
.social-list { border-top: 1px solid var(--line); }
.social-row { min-height: 128px; display: grid; grid-template-columns: 70px 1fr minmax(130px, auto) 110px; gap: 22px; align-items: center; border-bottom: 1px solid var(--line); padding: 20px 18px; text-decoration: none; transition: background-color .22s ease, color .22s ease; }
.social-row:hover, .social-row:focus-visible { background: var(--ink); color: var(--paper); }
.social-number { color: var(--muted); font-size: 12px; }
.social-main { display: flex; flex-direction: column; line-height: 1.55; }
.social-main strong { direction: ltr; text-align: right; font: 500 clamp(1.5rem, 3vw, 2.25rem)/1.3 var(--mono); letter-spacing: -.06em; }
.social-main small { margin-top: 6px; color: var(--muted); font-size: 13px; }
.social-row:hover .social-main small, .social-row:focus-visible .social-main small, .social-row:hover .social-number, .social-row:focus-visible .social-number { color: rgba(243, 241, 236, .65); }
.social-pending { color: var(--muted); font-size: 10px; letter-spacing: .025em; }
.social-row:hover .social-pending, .social-row:focus-visible .social-pending { color: rgba(243, 241, 236, .58); }
.social-action { justify-self: end; font-size: 11px; letter-spacing: .05em; }
.social-action b { padding-inline-start: 8px; font-size: 16px; font-weight: 400; }
.social-footnote { margin: 17px 0 0; color: var(--muted); text-align: left; font-size: 10px; letter-spacing: .08em; }

.section-label-dark { border-color: var(--line-dark); }
.section-label-dark span:first-child { color: var(--paper); }
.section-label-dark span:last-child { color: rgba(243, 241, 236, .58); }
.skills-intro { display: flex; align-items: end; justify-content: space-between; gap: 50px; padding: 70px 0 74px; }
.skills-intro h2 { margin: 0; font-size: clamp(2.2rem, 5.2vw, 4.7rem); font-weight: 400; line-height: 1.5; letter-spacing: -.05em; }
.skills-intro p { max-width: 650px; margin: 18px 0 0; color: rgba(243, 241, 236, .7); font-size: 16px; line-height: 2; }
.stats { display: flex; flex: 0 0 auto; gap: clamp(22px, 4vw, 66px); padding-bottom: 4px; }
.stat { display: flex; flex-direction: column; gap: 6px; min-width: 112px; }
.stat strong { font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.08em; }
.stat span { color: rgba(243, 241, 236, .65); font-size: 13px; }
.skills-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.skill-row { display: grid; grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 13px; align-content: start; min-height: 132px; padding: 23px 18px 23px 0; border-bottom: 1px solid var(--line-dark); }
.skill-row:nth-child(odd) { border-left: 1px solid var(--line-dark); }
.skill-number { grid-row: span 2; color: rgba(243, 241, 236, .47); font-size: 11px; padding-top: 4px; }
.skill-row h3 { margin: 0; direction: ltr; text-align: right; font: 500 15px/1.6 var(--mono); letter-spacing: -.02em; }
.skill-row p { max-width: 440px; margin: 7px 0 0; color: rgba(243, 241, 236, .67); font-size: 14px; line-height: 1.9; }

.coming-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 72px 0 50px; }
.coming-heading h2 { font-size: clamp(2.2rem, 6vw, 5.7rem); }
.coming-heading p { margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.project-list { border-top: 1px solid var(--line); }
.project-row { display: grid; grid-template-columns: 90px 1fr 50px; gap: 24px; align-items: center; min-height: 194px; border-bottom: 1px solid var(--line); padding: 27px 10px; transition: padding .22s ease; }
.project-row:hover { padding-inline: 20px 0; }
.project-number { align-self: start; padding-top: 5px; color: var(--muted); font-size: 13px; }
.project-meta { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.status { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
.project-copy h3 { margin: 11px 0 4px; direction: ltr; text-align: right; font: 500 clamp(1.3rem, 3.6vw, 2.8rem)/1.25 var(--mono); letter-spacing: -.075em; }
.project-copy p { margin: 0; color: #5e5a54; font-size: 14px; }
.project-mark { justify-self: end; align-self: start; color: var(--muted); font: 24px/1 var(--mono); transition: transform .2s ease, color .2s ease; }
.project-row:hover .project-mark { color: var(--ink); transform: translate(2px, -2px); }

.footer-inner { padding-block: clamp(68px, 11vw, 140px) 25px; }
.footer-label { margin: 0 0 25px; color: rgba(243, 241, 236, .58); font-size: 10px; letter-spacing: .11em; }
.site-footer h2 { margin: 0; direction: ltr; text-align: right; font-size: clamp(4.2rem, 14vw, 12rem); line-height: .9; font-weight: 400; letter-spacing: -.1em; }
.site-footer h2 .period { color: #8e8982; }
.mobile-break { display: none; }
.footer-arabic { margin: 25px 0 35px; color: rgba(243, 241, 236, .72); font-size: 17px; }
.footer-links { display: flex; gap: 28px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 19px 0; }
.footer-links a { text-decoration: none; color: var(--paper); font-size: 11px; letter-spacing: .08em; }
.footer-links a:hover { color: #aaa49b; }
.footer-links span { padding-inline-start: 7px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 18px; color: rgba(243, 241, 236, .54); font-size: 9px; letter-spacing: .045em; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--paper); }

/* Arabic-first, less templated editorial copy */
.site-nav a { font-family: var(--arabic); font-size: 14px; letter-spacing: 0; direction: rtl; }
.site-nav a span { display: none; }
.eyebrow { font-family: var(--arabic); font-size: 14px; letter-spacing: 0; direction: rtl; }
.eyebrow i { margin-inline: 7px; }
.hero-statement { line-height: 1.55; }
.portrait-caption { font-family: var(--arabic); font-size: 12px; letter-spacing: 0; direction: rtl; }
.section-label { font-family: var(--arabic); font-size: 13px; letter-spacing: 0; }
.section-label span:first-child { font-weight: 600; }
.about-content h2 { font-size: clamp(2rem, 4.3vw, 3.8rem); }
.interest-words { font-family: var(--arabic); font-size: clamp(1.15rem, 3.1vw, 2.7rem); letter-spacing: 0; }
.socials-heading h2, .coming-heading h2 { font-family: var(--arabic); direction: rtl; text-align: right; letter-spacing: 0; font-size: clamp(2.2rem, 5vw, 4.5rem); }
.socials-heading p, .coming-heading p { font-size: 16px; }
.social-row { grid-template-columns: minmax(0, 1fr) minmax(130px, auto) 120px; }
.social-pending { font-family: var(--arabic); font-size: 12px; letter-spacing: 0; }
.social-action { font-family: var(--arabic); font-size: 13px; letter-spacing: 0; }
.social-footnote { font-family: var(--arabic); font-size: 12px; letter-spacing: 0; }
.skills-intro h2 { font-size: clamp(2.2rem, 4.8vw, 4.2rem); }
.skill-row { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
.skill-row h3 { font-family: var(--arabic); font-size: 17px; letter-spacing: 0; direction: rtl; text-align: right; }
.skill-row p { font-size: 15px; }
.project-row { grid-template-columns: minmax(0, 1fr) 50px; }
.project-meta { font-family: var(--arabic); font-size: 12px; letter-spacing: 0; }
.project-copy h3 { font-family: var(--arabic); font-size: clamp(1.45rem, 2.8vw, 2.2rem); letter-spacing: 0; direction: rtl; text-align: right; }
.project-copy p { font-size: 15px; }
.footer-label { font-family: var(--arabic); font-size: 13px; letter-spacing: 0; }
.site-footer h2 { font-family: var(--arabic); direction: rtl; text-align: right; font-size: clamp(4rem, 12vw, 10rem); line-height: 1.2; letter-spacing: 0; }
.footer-links { font-family: var(--arabic); }
.footer-links a { font-size: 14px; letter-spacing: 0; }
.footer-bottom { font-family: var(--arabic); font-size: 12px; letter-spacing: 0; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.65,.25,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js .skill-row:nth-child(even) { transition-delay: .06s; }
.js .project-row:nth-child(2) { transition-delay: .06s; }
.js .project-row:nth-child(3) { transition-delay: .12s; }

@media (min-width: 1500px) { :root { --page: min(1380px, calc(100% - 120px)); } }
@media (max-width: 900px) {
  :root { --page: calc(100% - 56px); }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(270px, .88fr); column-gap: 30px; }
  .hero h1 { font-size: clamp(4rem, 9vw, 6.6rem); }
  .social-row { grid-template-columns: minmax(0, 1fr) 120px; }
  .social-pending { grid-column: 1; grid-row: 2; }
  .social-action { grid-column: 2; grid-row: 1 / span 2; }
  .skills-intro { align-items: start; flex-direction: column; }
  .stats { align-self: stretch; }
  .stat { flex: 1; }
}
@media (max-width: 640px) {
  :root { --page: calc(100% - 40px); }
  html { scroll-padding-top: 70px; }
  .header-inner { min-height: 66px; }
  .site-nav { display: none; position: absolute; top: 65px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 7px 20px 17px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 14px 20px rgba(16,16,16,.04); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .site-nav a:last-child { border-bottom: 0; }
  .menu-toggle { display: flex; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; border: 1px solid var(--line); background: transparent; padding: 9px; cursor: pointer; }
  .menu-toggle span { width: 100%; height: 1px; background: var(--ink); 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); }
  .hero { min-height: auto; padding-top: 83px; padding-bottom: 70px; grid-template-columns: 1fr; grid-template-areas: "image" "copy"; row-gap: 31px; }
  .hero-visual { width: min(100%, 340px); }
  .portrait-caption { margin-top: 7px; font-size: 12px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 14px; font-size: 12px; white-space: nowrap; }
  .eyebrow i { margin-inline: 4px; }
  .hero h1 { font-size: clamp(4.1rem, 21vw, 6.4rem); }
  .hero-statement { margin-top: 17px; font-size: clamp(1.48rem, 7.2vw, 2.1rem); line-height: 1.6; }
  .hero-description { font-size: 15px; line-height: 1.95; }
  .hero-actions { gap: 8px; margin-top: 22px; }
  .button { min-height: 45px; padding-inline: 14px; font-size: 12px; }
  .hero-note { margin-top: 29px; font-size: 9px; }
  .hero-index { bottom: 26px; font-size: 9px; }
  .section-inner { padding-block: 76px; }
  .section-label { font-size: 12px; }
  .about-content { padding-top: 42px; }
  .about-content h2 { font-size: clamp(1.9rem, 9vw, 2.9rem); line-height: 1.5; }
  .about-body { margin-top: 25px; font-size: 15px; line-height: 2; }
  .about-body p { margin-bottom: 14px; }
  .interest-words { overflow: hidden; gap: 10px; margin-top: 51px; padding-top: 13px; font-size: clamp(1rem, 4.8vw, 1.6rem); }
  .socials-heading { display: block; padding: 46px 0 28px; }
  .socials-heading h2, .coming-heading h2 { font-size: clamp(2.15rem, 11vw, 3.6rem); }
  .socials-heading p { margin-top: 17px; font-size: 15px; }
  .social-row { position: relative; min-height: 116px; grid-template-columns: minmax(0, 1fr) 104px; column-gap: 10px; padding: 16px 5px; }
  .social-main strong { font-size: 1.42rem; }
  .social-main small { font-size: 12px; }
  .social-pending { font-size: 12px; }
  .social-action { align-self: center; font-size: 12px; }
  .skills-intro { padding: 45px 0 48px; gap: 34px; }
  .skills-intro h2 { font-size: clamp(2rem, 9.2vw, 3.1rem); }
  .skills-intro p { margin-top: 14px; font-size: 15px; }
  .stats { gap: 22px; }
  .stat { min-width: 0; }
  .stat strong { font-size: 3.5rem; }
  .stat span { font-size: 12px; }
  .skills-list { grid-template-columns: 1fr; }
  .skill-row { min-height: 109px; padding: 19px 2px 19px 0; grid-template-columns: minmax(0, 1fr); }
  .skill-row:nth-child(odd) { border-left: 0; }
  .skill-row h3 { font-size: 15px; }
  .skill-row p { font-size: 14px; }
  .coming-heading { display: block; padding: 47px 0 31px; }
  .coming-heading p { margin-top: 15px; font-size: 15px; }
  .project-row { grid-template-columns: minmax(0, 1fr) 22px; gap: 10px; min-height: 168px; padding: 20px 3px; }
  .project-row:hover { padding-inline: 10px 0; }
  .project-number { font-size: 11px; }
  .project-meta { flex-wrap: wrap; gap: 6px 12px; font-size: 12px; }
  .project-copy h3 { margin-top: 10px; font-size: clamp(1.15rem, 6vw, 1.7rem); }
  .project-copy p { font-size: 14px; line-height: 1.8; }
  .project-mark { font-size: 20px; }
  .footer-inner { padding-block: 68px 21px; }
  .footer-label { font-size: 13px; }
  .site-footer h2 { font-size: clamp(4rem, 19vw, 7.3rem); line-height: .91; }
  .mobile-break { display: initial; }
  .footer-arabic { font-size: 15px; }
  .footer-bottom { flex-wrap: wrap; font-size: 12px; gap: 11px 15px; }
  .footer-bottom span:nth-child(2) { order: 3; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Full glossy black and white identity */
:root {
  color-scheme: dark;
  --paper: #050505;
  --ink: #ffffff;
  --muted: #ffffff;
  --line: rgba(255, 255, 255, .28);
  --line-dark: rgba(255, 255, 255, .23);
}
html, body { background-color: #050505; }
body {
  color: #fff;
  background:
    radial-gradient(ellipse at 50% -8%, rgba(255,255,255,.13) 0, rgba(255,255,255,.045) 19rem, transparent 47rem),
    linear-gradient(150deg, #151515 0%, #050505 34%, #101010 67%, #030303 100%);
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 24%, rgba(255,255,255,.018) 47%, transparent 65%);
}
body, body * { color: #fff !important; }
.section-light, .section-dark, .site-footer { background: transparent !important; color: #fff !important; }
.site-header { background: rgba(5, 5, 5, .42); }
.site-header.is-scrolled { background: rgba(5, 5, 5, .96); border-color: rgba(255,255,255,.26); }
.site-nav { background: transparent; }
.site-nav a, .wordmark, .hero h1, .socials-heading h2, .coming-heading h2, .site-footer h2 { text-shadow: 0 1px 18px rgba(255,255,255,.08); }
.button, .menu-toggle { border-color: rgba(255,255,255,.8); background: linear-gradient(145deg, #171717, #050505 72%); box-shadow: inset 0 1px 0 rgba(255,255,255,.11), 0 8px 22px rgba(0,0,0,.38); }
.button-dark, .button-outline { color: #fff !important; }
.button-dark:hover, .button-dark:focus-visible, .button-outline:hover, .button-outline:focus-visible {
  color: #fff !important;
  background: linear-gradient(145deg, #242424, #090909 74%);
}
.menu-toggle span, .note-line { background: #fff; }
.portrait-wrap { background: #050505; box-shadow: 0 0 0 1px rgba(255,255,255,.23), 0 24px 60px rgba(0,0,0,.48); }
.portrait-caption, .section-label, .social-list, .project-list, .skill-row, .footer-links, .footer-bottom { border-color: rgba(255,255,255,.27); }
.section-label, .interest-words { border-top-color: rgba(255,255,255,.27); }
.social-row:hover, .social-row:focus-visible { background: linear-gradient(115deg, #191919, #050505 70%); }
.skill-row:nth-child(odd) { border-left-color: rgba(255,255,255,.23); }
.status { border-color: #fff; }
.project-row:hover .project-mark { color: #fff; }
.footer-links a:hover, .footer-bottom a:hover { color: #fff; text-shadow: 0 0 14px rgba(255,255,255,.55); }
.skip-link:focus { background: #050505; color: #fff; }
@media (max-width: 640px) {
  .site-nav { background: rgba(5,5,5,.98); border-color: rgba(255,255,255,.28); box-shadow: 0 14px 22px rgba(0,0,0,.6); }
  .site-nav a { border-color: rgba(255,255,255,.2); }
}

/* Centered, airy composition inspired by the reference */
body {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.065) .7px, transparent .85px),
    radial-gradient(ellipse at 50% -7%, rgba(255,255,255,.15), transparent 32rem),
    linear-gradient(155deg, #111 0%, #040404 43%, #0c0c0c 70%, #020202 100%);
  background-size: 28px 28px, auto, auto;
}
body::before { content: none; }
.site-header { padding-block: 16px; background: transparent !important; border: 0; }
.header-inner { min-height: 54px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 15px 5px 5px;
  border: 1px solid rgba(255,255,255,.37);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.015) 52%, rgba(0,0,0,.6));
  box-shadow: inset 0 1px rgba(255,255,255,.14), 0 8px 26px rgba(0,0,0,.35);
}
.wordmark-avatar { display: block; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,.7); }
.wordmark-label { display: flex; flex-direction: column; gap: 2px; direction: rtl; text-align: right; line-height: 1.15; }
.wordmark-label strong { font: 500 12px/1.2 var(--mono); letter-spacing: .07em; }
.wordmark-label small { font: 400 12px/1.2 var(--arabic); }
.menu-toggle {
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.43);
  background: linear-gradient(145deg, #171717, #050505 76%);
}
.menu-toggle span { width: 18px; }
.site-nav {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: max(20px, calc((100vw - 1320px) / 2));
  inset-inline: auto;
  width: min(270px, calc(100vw - 40px));
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 8px 19px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 20px;
  background: linear-gradient(145deg, #171717, #050505 78%);
  box-shadow: 0 18px 40px rgba(0,0,0,.55), inset 0 1px rgba(255,255,255,.1);
}
.site-nav.is-open { display: flex; }
.site-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.18); font: 400 14px/1.5 var(--arabic); direction: rtl; }
.site-nav a:last-child { border-bottom: 0; }
.site-nav a span { display: none; }
.hero {
  min-height: 100svh;
  padding-top: 125px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}
.hero-visual { width: clamp(210px, 24vw, 280px); max-width: 280px; margin: 0; }
.portrait-wrap { border-radius: 50%; aspect-ratio: 1; }
.portrait-wrap img { object-fit: cover; }
.hero-copy { display: flex; flex-direction: column; align-items: center; padding: 0; }
.eyebrow { margin: 0 0 8px; text-align: center; font-size: 14px; }
.hero h1 { margin: 0; text-align: center; font-size: clamp(5.3rem, 12vw, 10rem); line-height: .98; letter-spacing: -.09em; }
.hero-statement { max-width: 620px; margin: 15px 0 7px; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.75; font-weight: 400; letter-spacing: 0; }
.hero-description { max-width: 560px; text-align: center; font-size: 16px; line-height: 1.9; }
.hero-actions { justify-content: center; margin-top: 20px; }
.button { min-height: 48px; border-radius: 999px; padding-inline: 22px; }
.interest-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin-block: 0;
  padding: 22px 0;
  border-block: 1px solid rgba(255,255,255,.27);
}
.interest-strip li { flex: 1; text-align: center; padding-inline: 18px; font-size: 15px; }
.interest-strip li + li { border-inline-start: 1px solid rgba(255,255,255,.22); }
.interest-words { display: none; }
.section-inner { padding-block: clamp(78px, 9vw, 128px); }
#about .section-inner { padding-bottom: clamp(30px, 4vw, 52px); }
#services .section-inner { padding-top: clamp(30px, 4vw, 52px); }
.about-content { padding-top: 60px; }
.about-content h2 { max-width: none; }
.socials-heading { padding-top: 64px; }
.skills-intro { padding-block: 60px; }
.coming-heading { padding-block: 64px 42px; }
.project-row { transition: background .25s ease, padding .22s ease; }
.project-row:hover { background: rgba(255,255,255,.025); }

@media (max-width: 640px) {
  .site-header { padding-block: 10px; }
  .header-inner { min-height: 48px; }
  .wordmark { padding: 4px 12px 4px 4px; }
  .wordmark-avatar { width: 36px; height: 36px; }
  .menu-toggle { width: 46px; height: 46px; }
  .site-nav { top: calc(100% + 7px); left: 20px; inset-inline: auto; }
  .hero { min-height: 100svh; padding-top: 105px; padding-bottom: 36px; gap: 14px; }
  .hero-visual { width: min(58vw, 220px); }
  .hero h1 { font-size: clamp(4.5rem, 18vw, 6.8rem); }
  .eyebrow { font-size: 13px; }
  .hero-statement { margin-top: 10px; font-size: 1.22rem; }
  .hero-description { font-size: 15px; }
  .hero-actions { margin-top: 16px; }
  .interest-strip { padding-block: 17px; }
  .interest-strip li { padding-inline: 8px; font-size: 14px; }
  .about-content { padding-top: 43px; }
  .socials-heading { padding-top: 44px; }
  .skills-intro { padding-block: 43px; }
  .coming-heading { padding-block: 46px 30px; }
}

/* Compact social dock and image-led portfolio gallery */
.work-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 64px 0 38px;
}
.work-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.35;
}
.work-heading p {
  max-width: 410px;
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.9;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 22px;
}
.project-card { min-width: 0; }
.project-visual {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 1.65 / 1;
  border: 1px solid rgba(16,16,16,.15);
  border-radius: 18px;
  background: #111;
  color: #fff;
  box-shadow: 0 14px 32px rgba(0,0,0,.13);
  text-decoration: none;
}
.project-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.65,.25,1), filter .35s ease;
}
.project-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.02) 38%, rgba(0,0,0,.75) 100%);
  transition: background-color .28s ease, opacity .28s ease;
}
.project-card-copy {
  position: absolute;
  z-index: 2;
  inset-inline: 22px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  color: rgba(255,255,255,.9);
  text-align: right;
  transition: color .25s ease;
}
.project-card-copy strong,
.project-card-copy > span {
  display: block;
  overflow: hidden;
  max-width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.project-card-copy strong { font-size: clamp(1.15rem, 2.15vw, 1.65rem); font-weight: 600; line-height: 1.5; }
.project-card-copy > span { font-size: 14px; line-height: 1.6; opacity: .88; }
.project-card-contribution .project-card-copy > span {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  text-overflow: clip;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.45;
}
.project-cta {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 7px 17px 7px 8px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(245,245,245,.91);
  color: #000;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  direction: ltr;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-50% + 6px));
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}
.project-cta > span:last-child {
  direction: rtl;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}
.project-cta-mark {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 50%;
  background: #151515;
  color: #fff;
  font: 500 19px/1 var(--mono);
}
.project-visual:hover img,
.project-visual:focus-visible img { transform: scale(1.035); }
.project-visual:hover .project-shade,
.project-visual:focus-visible .project-shade { background-color: rgba(0,0,0,.28); }
.project-visual:hover .project-card-copy,
.project-visual:focus-visible .project-card-copy { color: #fff; }
.project-visual:hover .project-cta,
.project-visual:focus-visible .project-cta { color: #000; opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.project-visual:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.project-card-soon .project-visual { cursor: default; }
.project-card-soon .project-cta { cursor: not-allowed; }
.project-card-soon .project-cta-mark { font: 700 22px/1 var(--arabic); }
.social-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(30px, 4vw, 54px);
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(255,255,255,.24);
}
.social-dock-label { font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; }
.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 15px 6px 7px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.025) 70%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 18px rgba(0,0,0,.22);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.social-chip:hover, .social-chip:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.055) 70%);
  border-color: rgba(255,255,255,.7);
}
.social-chip[aria-disabled="true"] { cursor: default; opacity: .68; }
.social-chip[aria-disabled="true"]:hover { transform: none; }
.social-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
}
.footer-links .social-icon { flex: 0 0 34px; padding: 0; }
.social-icon svg { display: block; width: 18px; height: 18px; margin: 0; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.social-icon .icon-dot { fill: currentColor; stroke: none; }
.social-chip > span:nth-child(2) { font-size: 14px; }
.social-arrow { margin-inline-start: 3px; font-size: 16px; opacity: .72; }
@media (max-width: 640px) {
  .work-heading { display: block; padding: 46px 0 26px; }
  .work-heading h2 { font-size: clamp(2.05rem, 9vw, 3.3rem); }
  .work-heading p { margin-top: 12px; font-size: 15px; }
  .project-grid { grid-template-columns: 1fr; gap: 20px; }
  .project-visual { border-radius: 16px; }
  .project-card-copy { inset-inline: 17px; bottom: 14px; gap: 1px; }
  .project-card-copy strong { font-size: 1.15rem; }
  .project-card-copy > span { font-size: 13px; }
  .social-dock { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 58px; }
  .footer-links { gap: 8px; }
  .social-chip { min-height: 45px; padding-inline-end: 12px; }
}

@media (hover: none) {
  .project-cta { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
  .project-shade { background-color: rgba(0,0,0,.16); }
}

/* Selected social posts */
.featured-posts-inner { padding-block: clamp(68px, 8vw, 112px); }
.featured-posts-heading { padding: 45px 0 30px; }
.featured-posts-heading h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  font-weight: 400;
  line-height: 1.4;
}
.featured-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.featured-post-card { min-width: 0; }
.featured-post-visual {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 1058 / 1280;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  background: #111;
  box-shadow: 0 15px 36px rgba(0,0,0,.28);
}
.featured-post-visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.2,.65,.25,1), filter .3s ease;
}
.featured-post-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(0,0,0,.38);
  opacity: 0;
  transition: opacity .24s ease;
}
.featured-post-actions {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}
.featured-post-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  padding: 6px 11px 6px 6px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(245,245,245,.94);
  color: #000;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  direction: ltr;
  text-decoration: none;
  -webkit-text-fill-color: #000;
  transition: background-color .2s ease, transform .2s ease;
}
.featured-post-button > span:last-child {
  direction: rtl;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}
.featured-post-button-mark {
  width: 30px;
  height: 30px;
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: #151515;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font: 500 16px/1 var(--mono);
}
.featured-post-button:hover,
.featured-post-button:focus-visible { background: #fff; transform: translateY(-1px); }
.featured-post-visual:hover img,
.featured-post-visual:focus-within img { transform: scale(1.025); }
.featured-post-visual:hover .featured-post-overlay,
.featured-post-visual:focus-within .featured-post-overlay { opacity: 1; }
.featured-post-visual:hover .featured-post-actions,
.featured-post-visual:focus-within .featured-post-actions {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (max-width: 1100px) {
  .featured-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .featured-posts-inner { padding-block: 62px; }
  .featured-posts-heading { padding: 34px 0 22px; }
  .featured-posts-heading h2 { font-size: clamp(2rem, 8.5vw, 3.1rem); }
  .featured-post-grid { grid-template-columns: 1fr; gap: 18px; }
  .featured-post-visual { border-radius: 16px; }
}
@media (max-width: 380px) {
  .featured-post-actions { flex-direction: column; gap: 8px; }
  .featured-post-button { min-width: 175px; justify-content: flex-start; }
}
@media (hover: none) {
  .featured-post-overlay { opacity: 1; background: rgba(0,0,0,.22); }
  .featured-post-actions { opacity: 1; visibility: visible; transform: none; }
}

/* Approved portfolio copy, services, navigation, and footer */
.header-inner { position: relative; }
.menu-toggle {
  display: flex;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.32);
  cursor: pointer;
}
.menu-toggle span { width: auto; height: auto; background: none; }
.menu-lines { display: flex; width: 18px; flex-direction: column; gap: 4px; }
.menu-lines i { display: block; width: 18px; height: 1px; background: #111; transition: transform .18s ease, opacity .18s ease; }
.menu-toggle[aria-expanded="true"] > span.menu-lines { transform: none; }
.menu-toggle[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-lines i:last-child { transform: translateY(-5px) rotate(-45deg); }
.site-nav {
  display: none;
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  right: auto;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: 230px;
  padding: 9px 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  background: rgba(8,8,8,.97);
  box-shadow: 0 18px 38px rgba(0,0,0,.48);
  backdrop-filter: blur(12px);
}
.site-nav.is-open { display: flex; }
.site-nav a { padding: 12px 2px; border-bottom: 1px solid rgba(255,255,255,.14); }
.site-nav a:last-child { border-bottom: 0; }

.hero .eyebrow { font-size: 15px; }
.hero-statement { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.hero-description { max-width: 620px; }
.about-content h2 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
.about-body { max-width: 900px; }
.about-body { margin-top: 19px; }

.services-intro { padding: 48px 0 38px; }
.services-intro h2 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(1.15rem, 2.15vw, 2rem);
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
}
.services-intro p { margin: 19px 0 12px; font-size: clamp(1rem, 1.55vw, 1.2rem); line-height: 1.95; }
.service-audience { font-size: 13px; opacity: .7; }
.service-list { border-top: 1px solid rgba(255,255,255,.2); }
.service-row {
  display: grid;
  grid-template-columns: 82px minmax(0,1fr) minmax(210px,270px);
  align-items: center;
  gap: 25px;
  min-height: 170px;
  padding: 27px 12px;
  border-bottom: 1px solid rgba(255,255,255,.2);
  background: transparent;
  transition: background .24s ease, padding .24s ease;
}
.service-row:hover, .service-row:focus-within { background: linear-gradient(105deg, rgba(255,255,255,.075), rgba(255,255,255,.018) 68%); }
.service-number { align-self: start; padding-top: 5px; font: 500 clamp(2.3rem, 4.3vw, 4.1rem)/1 var(--mono); letter-spacing: -.08em; }
.service-copy h3 { margin: 0; font-size: clamp(1.35rem, 2.45vw, 2rem); font-weight: 500; line-height: 1.5; }
.service-copy p { max-width: 760px; margin: 8px 0 0; font-size: 15px; line-height: 1.95; opacity: .8; }
.service-type { justify-self: start; font-size: 13px; line-height: 1.8; opacity: .7; }
.service-capabilities { padding-top: 26px; }
.service-capabilities h3 { margin: 0 0 8px; font-size: 14px; font-weight: 500; }
.service-capabilities p { margin: 4px 0; font-size: 13px; line-height: 1.95; opacity: .72; }
.service-capabilities i { padding-inline: 4px; font-style: normal; opacity: .65; }

.footer-hook {
  max-width: none;
  margin: 0 0 27px;
  font-size: clamp(12px, 1.15vw, 16px) !important;
  line-height: 1.5 !important;
  font-weight: 400;
  white-space: nowrap;
}
.footer-legal { white-space: nowrap; text-align: center; }
.footer-bottom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
.footer-bottom .footer-top {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 50%;
  background: #fff;
  color: #080808 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 5px 16px rgba(0,0,0,.35);
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.footer-bottom .footer-top:hover,
.footer-bottom .footer-top:focus-visible { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 22px rgba(0,0,0,.48); }

@media (max-width: 900px) {
  .service-row { grid-template-columns: 65px minmax(0,1fr) minmax(165px,220px); gap: 17px; }
  .service-type { font-size: 12px; }
}
@media (max-width: 640px) {
  .header-inner {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
    direction: ltr;
  }
  .menu-toggle {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    padding: 0;
  }
  .menu-lines { width: 18px; height: 12px; align-items: center; justify-content: center; gap: 4px; }
  .wordmark {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    flex: none;
    max-width: 100%;
  }
  .wordmark-avatar { width: 40px; height: 40px; flex: 0 0 40px; }
  .wordmark-label { white-space: nowrap; }
  .site-nav { top: calc(100% + 8px); left: 0; right: auto; width: min(290px, 100%); min-width: 0; padding: 9px 18px; }
  .work-heading h2 {
    font-size: clamp(12px, 4.6vw, 18px);
    white-space: nowrap;
    letter-spacing: -.035em;
    line-height: 1.5;
  }
  .hero .eyebrow { font-size: 13px; }
  .hero-statement {
    font-size: clamp(10px, 3.7vw, 15px);
    white-space: nowrap;
    letter-spacing: -.035em;
  }
  .about-content h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .about-body { margin-top: 15px; }
  #about .section-inner { padding-bottom: 24px; }
  #services .section-inner { padding-top: 26px; }
  .services-intro { padding: 31px 0 25px; }
  .services-intro h2 { font-size: clamp(1.15rem, 5.2vw, 1.55rem); white-space: normal; }
  .services-intro p { margin-top: 15px; font-size: 15px; }
  .service-audience { font-size: 12px; }
  .service-row { display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-height: 0; padding: 23px 4px; }
  .service-number { padding: 0; font-size: 2.55rem; }
  .service-copy h3 { font-size: clamp(1.25rem, 6vw, 1.7rem); }
  .service-row:nth-child(3) .service-copy h3 {
    font-size: clamp(10px, 3.55vw, 14px);
    white-space: nowrap;
    letter-spacing: -.035em;
  }
  .service-copy p { margin-top: 5px; font-size: 14px; line-height: 1.9; }
  .service-type { justify-self: auto; margin-top: 2px; font-size: 12px; }
  .service-capabilities { padding-top: 22px; }
  .service-capabilities p { font-size: 12px; }
  .social-dock { margin-bottom: 29px; }
  .footer-hook {
    position: static;
    width: 100%;
    margin: 0 auto 20px;
    text-align: center;
    direction: rtl;
    white-space: nowrap;
    font-size: clamp(10px, 3vw, 12px) !important;
    letter-spacing: 0;
    line-height: 1.65 !important;
  }
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; gap: 12px; }
  .footer-bottom > span:first-child { display: none; }
  .footer-bottom .footer-top { justify-self: center; }
}

/* Keep the work-section heading balanced on desktop and its intro on one mobile line. */
@media (min-width: 641px) {
  .work-heading h2 { font-size: clamp(2rem, 4.5vw, 4rem); }
}
@media (max-width: 640px) {
  .work-heading p {
    max-width: none;
    font-size: clamp(10px, 3.2vw, 12px);
    letter-spacing: -.035em;
    white-space: nowrap;
  }
}
