@font-face {
  font-family: 'Helvetica Neue';
  src: url('/portfolio-preview/assets/fonts/HelveticaNeueRoman.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('/portfolio-preview/assets/fonts/HelveticaNeueLight.otf') format('opentype');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('/portfolio-preview/assets/fonts/HelveticaNeueBold.otf') format('opentype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue';
  src: url('/portfolio-preview/assets/fonts/HelveticaNeueBoldItalic.otf') format('opentype');
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}
* { box-sizing: border-box; }
html { color-scheme: dark; background: #160404; scroll-behavior: smooth; }
body { overflow-x: clip; position: relative; isolation: isolate; margin: 0; background: #160404; color: #fff; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body::before,
body::after {
  content: '';
  position: absolute;
  inset: -120px -8vw;
  z-index: -3;
  pointer-events: none;
  will-change: transform;
}
body::before {
  background:
    radial-gradient(ellipse 58% 17% at 86% 11%, rgb(255 187 74 / .88) 0%, rgb(191 65 13 / .72) 37%, transparent 78%),
    radial-gradient(ellipse 62% 18% at 16% 20%, rgb(172 52 11 / .78) 0%, rgb(106 25 7 / .48) 48%, transparent 82%),
    radial-gradient(ellipse 55% 15% at 82% 38%, rgb(124 31 8 / .58) 0%, transparent 80%),
    radial-gradient(ellipse 58% 16% at 13% 62%, rgb(87 18 7 / .52) 0%, transparent 82%),
    linear-gradient(180deg, #4f1507 0%, #5a1807 13%, #3b0d05 34%, #250604 57%, #140303 79%, #080101 100%);
  animation: gradient-drift-one 32s ease-in-out infinite alternate;
}
body::after {
  z-index: -2;
  opacity: .28;
  background:
    radial-gradient(ellipse 38% 12% at 69% 16%, rgb(255 210 122 / .72), transparent 72%),
    radial-gradient(ellipse 42% 13% at 29% 31%, rgb(222 72 15 / .62), transparent 76%),
    radial-gradient(ellipse 44% 12% at 76% 52%, rgb(147 35 9 / .55), transparent 78%),
    radial-gradient(ellipse 40% 11% at 28% 75%, rgb(91 19 8 / .5), transparent 78%);
  filter: blur(54px);
  animation: gradient-drift-two 38s ease-in-out infinite alternate;
}
@keyframes gradient-drift-one {
  0% { transform: translate3d(-8px, -4px, 0); }
  50% { transform: translate3d(7px, 6px, 0); }
  100% { transform: translate3d(10px, -3px, 0); }
}
@keyframes gradient-drift-two {
  0% { transform: translate3d(7px, -5px, 0); }
  50% { transform: translate3d(-9px, 7px, 0); }
  100% { transform: translate3d(5px, 9px, 0); }
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid #fff; outline-offset: 7px; }
.hero { min-height: max(800px,100svh); position: relative; padding: clamp(28px,3.49vw,67px) 3.75vw 100px; }
.hero-background,
.hero-person { position: absolute; inset: 0; display: block; width: 100%; height: calc(100% + 260px); object-fit: cover; object-position: center top; mask-image: linear-gradient(to bottom,#000 0%,#000 48%,rgba(0,0,0,.94) 58%,rgba(0,0,0,.7) 70%,rgba(0,0,0,.35) 82%,rgba(0,0,0,.08) 94%,transparent 100%); pointer-events: none; }
.hero-background { z-index: -2; }
.hero-person { z-index: -1; will-change: transform, object-position; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 51px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: clamp(100px,7.24vw,139px); height: auto; }
nav { display: contents; }
.nav-link { display: inline-flex; align-items: center; justify-content: center; background: none; color: #fff; border: 0; padding: 0; min-height: 46px; font-size: clamp(18px,1.25vw,24px); font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.book-call { position: relative; display: inline-flex; align-items: center; justify-content: center; border: 0; background: #fff; color: #000; border-radius: 12px; padding: 0 26px; height: 48px; font-size: clamp(18px,1.25vw,24px); font-weight: 400; letter-spacing: -.035em; line-height: 1; white-space: nowrap; animation: book-call-enter 850ms cubic-bezier(.22,1,.36,1) 220ms both, book-call-neon 2.8s ease-in-out 1.1s infinite; }
.book-call span { display: block; line-height: 1; transform: translateY(.12em); }
@supports (text-box-trim: trim-both) {
 .book-call span { text-box-trim: trim-both; text-box-edge: cap alphabetic; transform: none; }
}
.book-call:hover { background: #eee; }
.nav-link:hover { opacity: .75; }
@keyframes book-call-enter {
  from { opacity: 0; transform: translate3d(0,-12px,0) scale(.94); }
  to { opacity: 1; transform: translate3d(0,0,0) scale(1); }
}
@keyframes book-call-neon {
  0%, 100% { box-shadow: 0 0 0 1px rgb(255 184 52 / .55), 0 0 10px rgb(255 139 20 / .4), 0 0 22px rgb(255 91 0 / .16); }
  50% { box-shadow: 0 0 0 2px rgb(255 220 88 / .92), 0 0 18px rgb(255 165 28 / .8), 0 0 38px rgb(255 91 0 / .42); }
}
.hero-content { margin-top: clamp(140px,17vw,326px); }
.hero-copy { max-width: 54%; }
h1 { margin: 0; font-size: clamp(36px,3.45vw,68px); line-height: 1.19; font-weight: 700; letter-spacing: -.025em; }
h1 span { display: block; }
h1 em { font-weight: 700; }
.hero-copy p { margin: clamp(32px,3vw,58px) 0 0; font-size: clamp(21px,1.65vw,32px); line-height: 1.3; font-weight: 300; letter-spacing: -.035em; max-width: 28em; }
.booking { padding: 100px 3.75vw 50px; scroll-margin-top: 30px; max-width: 1440px; margin: 0 auto; }
.booking-heading { margin-bottom: 40px; }
.booking h2 { margin: 0; font-size: clamp(32px,3.4vw,56px); line-height: 1.1; letter-spacing: -.035em; }
.booking-heading p { font-size: 22px; font-weight: 300; margin: 20px 0 0; }
.booking-calendar { background: #000; border-radius: 16px; overflow: hidden; color-scheme: light; }
/* Preserve Google's original photo and logo colors. */
.booking iframe { display: block; width: 100%; height: 760px; border: 0; background: #fff; }
.booking-help { color: #fff; font-size: 16px; line-height: 1.5; margin-top: 24px; }
.booking-help a { text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 body::before,
 body::after { animation: none; }
 .book-call { animation: none; box-shadow: 0 0 0 1px rgb(255 190 60 / .75), 0 0 18px rgb(255 125 16 / .42); }
}

/* Sleek, one-time text and content reveals as each section enters the viewport. */
.motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(.985);
  filter: blur(5px);
  transition:
    opacity 760ms cubic-bezier(.22, 1, .36, 1),
    transform 900ms cubic-bezier(.22, 1, .36, 1),
    filter 760ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}
.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
dialog { background: #190607; color: #fff; border: 1px solid #7b3c25; border-radius: 16px; width: min(440px,calc(100% - 40px)); padding: 36px; }
dialog::backdrop { background: rgb(0 0 0 / .8); }
dialog h2 { margin: 0 30px 20px 0; font-size: 28px; }
dialog p { line-height: 1.5; color: #eee; }
.close { position: absolute; right: 12px; top: 8px; background: transparent; border: 0; color: white; font-size: 32px; width: 44px; height: 44px; }
@media (max-width: 1000px) {
 .hero { min-height: 100svh; }
 .hero-background,
 .hero-person { object-position: 60% center; }
 .hero-copy { max-width: 58%; }
 h1 { font-size: clamp(36px,4.2vw,48px); }
}
@media (max-width: 700px) {
 .hero { min-height: 100svh; display: flex; flex-direction: column; padding: 20px 20px 32px; }
 .header { gap: 8px; min-height: 44px; }
 .brand img { width: 70px; }
 .nav-link { font-size: 14px; min-height: 44px; }
 .book-call { font-size: 14px; height: 40px; padding: 0 12px; border-radius: 9px; }
 .hero-background,
 .hero-person { height: calc(100% + 140px); object-position: 70% top; mask-image: linear-gradient(to bottom,#000 0%,#000 22%,rgba(0,0,0,.55) 36%,rgba(0,0,0,.16) 52%,rgba(0,0,0,.12) 75%,rgba(0,0,0,.04) 92%,transparent 100%); }
 .hero-content { margin-top: auto; padding-top: 32svh; }
 .hero-copy { max-width: 100%; }
 h1 { font-size: clamp(28px,7.2vw,40px); line-height: 1.13; letter-spacing: -.035em; }
 h1 span + span { margin-top: 8px; }
 .hero-copy p { margin-top: 20px; font-size: 18px; line-height: 1.35; letter-spacing: -.035em; }
 .booking { padding: 60px 20px 32px; }
 .booking iframe { height: 850px; }
 .booking-heading p { font-size: 20px; }
}
@media (max-width: 359px) {
 .hero { padding-inline: 14px; }
 .brand img { width: 56px; }
 .nav-link, .book-call { font-size: 12px; }
 .book-call { padding-inline: 9px; }
}

.page-section { max-width: 1440px; margin: 0 auto; padding: 100px 3.75vw; min-height: 85svh; display: flex; flex-direction: column; justify-content: center; scroll-margin-top: 24px; }
.eyebrow { font-size: 14px !important; font-weight: 400 !important; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 24px !important; opacity: .75; }
.page-section h2 { font-size: clamp(42px,5vw,80px); line-height: 1.08; letter-spacing: -.04em; margin: 0 0 48px; }
.project-placeholder { min-height: 310px; border: 1px solid rgb(255 255 255 / .22); border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; background: rgb(20 5 4 / .15); }
.project-placeholder svg { width: 64px; height: 64px; opacity: .7; }
.project-placeholder p, .testimonial-placeholder p { font-size: clamp(20px,2vw,28px); font-weight: 300; line-height: 1.4; }
.testimonial-placeholder { max-width: 800px; }
.testimonial-placeholder > span { font-size: 120px; line-height: .7; opacity: .4; }
.footer { max-width: 1440px; margin: 0 auto; padding: 120px 3.75vw 64px; }
.footer-email { display: inline-block; font-size: clamp(28px,4.5vw,68px); letter-spacing: -.035em; }
.socials { display: flex; gap: 32px; margin-top: 40px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.social-link svg { width: 23px; height: 23px; }
.social-link[aria-disabled] { opacity: .55; }
.social-note { font-size: 14px; opacity: .6; margin-top: 12px; }
@media(max-width:700px) {
 .page-section { padding: 70px 20px; min-height: 75svh; }
 .page-section h2 { margin-bottom: 32px; }
 .project-placeholder { min-height: 240px; }
 .footer { padding: 80px 20px 40px; }
}
@media(max-width:700px) and (max-height:700px) {
 .hero { padding-bottom: 24px; }
 .hero-content { padding-top: 24svh; }
 h1 { font-size: 28px; }
 .hero-copy p { font-size: 17px; margin-top: 16px; }
}

.social-link .x-logo { display: block; width: 23px; height: 23px; object-fit: contain; filter: invert(1); }

/* The portrait crosses the hero boundary; all sections share the body gradient. */
.showcase { position: relative; padding-top: 180px; }
.testimonial { display: grid; grid-template-columns: minmax(180px,280px) 1fr; gap: clamp(32px,5vw,80px); align-items: center; margin: 0; }
.client-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin: 0; font-size: clamp(22px,2.1vw,32px); line-height: 1.45; font-weight: 300; letter-spacing: -.02em; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 8px; margin-top: 32px; font-size: 17px; line-height: 1.5; }
.testimonial figcaption strong { font-size: 22px; font-weight: 700; }
.testimonial figcaption a { text-decoration: underline; text-underline-offset: 4px; }
.testimonial figcaption a:hover { opacity: .75; }
@media(max-width:700px) {
 .showcase { padding-top: 110px; }
 .testimonial { grid-template-columns: 1fr; gap: 28px; }
 .client-photo { width: 112px; }
 .testimonial blockquote p { font-size: 22px; }
}

.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px; }
.project { min-width: 0; }
.project video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; border-radius: 8px; }
.project h3 { font-size: 25px; font-weight: 400; margin: 20px 0 0; letter-spacing: -.025em; }
@media(max-width:700px) {
 .hero { min-height: 100svh; padding-bottom: 48px; overflow: clip; }
 .hero-background,
 .hero-person { inset: 120px 0 auto; width: 100%; height: auto; aspect-ratio: 1680 / 945; object-fit: contain; object-position: center top; mask-image: linear-gradient(to bottom,#000 0%,#000 78%,transparent 100%); }
 .hero-background { height: 520px; aspect-ratio: auto; object-fit: cover; inset: 0; mask-image: linear-gradient(to bottom,#000 0%,#000 50%,transparent 100%); }
 .hero-content { position: static; margin-top: 100px; padding-top: 0; }
 .hero-copy { max-width: 100%; }
 .hero-copy h1 { max-width: 52%; font-size: clamp(20px,5.5vw,36px); line-height: 1.15; text-wrap: balance; }
 .hero-copy p { margin-top: 40px; max-width: 34em; font-size: 17px; line-height: 1.38; }
 .book-call { box-shadow: 0 0 0 1px rgb(255 184 52 / .55), 0 0 10px rgb(255 139 20 / .36); }
 .project-grid { grid-template-columns: 1fr; gap: 36px; }
 .project h3 { font-size: 22px; margin-top: 14px; }
 .showcase { padding-top: 70px; }
}
@media(max-width:700px) and (max-height:700px) {
 .hero-content { margin-top: 100px; }
 .hero-copy p { margin-top: 32px; font-size: 16px; }
}

/* One full-height portrait rule for every viewport and hero content height. */
.hero > .hero-person {
 inset: 0;
 width: 100%;
 height: calc(100% + 180px);
 aspect-ratio: auto;
 object-fit: cover;
 object-position: 50% top;
 mask-image: linear-gradient(to bottom, #000 0%, #000 62%, rgba(0,0,0,.88) 72%, rgba(0,0,0,.5) 83%, rgba(0,0,0,.12) 94%, transparent 100%);
}
.hero { overflow: visible; }
@media(max-width:700px) {
 html { overflow-x: clip; }
 .hero {
   min-height: max(106vw, 100svh);
   padding: clamp(12px, 3.5vw, 24px) max(10px, 2vw) 18vw;
 }
 .hero > .hero-person, .hero > .hero-background {
   inset: 0;
   height: calc(100% + 14vw);
   aspect-ratio: auto;
   object-fit: cover;
   object-position: 49% top;
   mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
 }
 .hero-content { margin: 0; padding-top: calc(max(12px, 43vw - 44px) + clamp(18px, 3.5svh, 32px)); }
 .hero > .hero-background {
   height: 124%;
   object-fit: fill;
   mask-image: linear-gradient(to bottom, black 38%, rgb(0 0 0 / .96) 48%,
     rgb(0 0 0 / .84) 58%, rgb(0 0 0 / .64) 68%, rgb(0 0 0 / .40) 78%,
     rgb(0 0 0 / .18) 88%, rgb(0 0 0 / .045) 96%, transparent);
 }
 .hero::before {
   content: "";
   position: absolute;
   inset: 36% 0 -38%;
   pointer-events: none;
   z-index: -2;
   background: radial-gradient(ellipse 85% 54% at 32% 44%,
     rgb(237 156 58 / .48), rgb(226 132 41 / .29) 38%,
     rgb(204 98 27 / .11) 68%, transparent 100%);
 }
 .hero > .hero-person {
   top: clamp(0px, calc(20svh - 21vw), 12vw);
   height: calc(100% + 18vw);
   object-position: 49% top;
   mask-image: linear-gradient(to bottom, #000 0%, #000 84%, rgba(0,0,0,.85) 91%, transparent 100%);
 }
 .hero-copy { width: 58%; }
 .hero-copy h1 {
   max-width: 84%;
   font-size: clamp(19px, 5.2vw, 36px);
   line-height: 1.17;
   text-wrap: wrap;
 }
 .hero-copy h1 span + span { margin: 0; }
 .hero-copy p {
   margin: calc(clamp(18px, 5vw, 30px) + 6px) 0 0;
   font-size: clamp(14px, 3.25vw, 22px);
   line-height: 1.28;
 }
}

@media(max-width:700px) { .hero > .hero-person { content: url('/wael-portrait-mobile-v2.png'); object-position: 54% top; } }
