/* Jaryah Books — site styles
   Colours, fonts and spacing are copied from the original Framer build.
   RTL (Arabic) uses logical properties, plus the [dir="rtl"] overrides at the bottom. */

:root {
  --bg: #000;
  --bg-deep: #020308;
  --text: rgba(255, 255, 255, 0.96);
  --text-muted: rgba(255, 255, 255, 0.64);
  --pill: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.1);
  --blue: 86, 152, 255;

  --f-display: "Geist", "Fustat", system-ui, sans-serif;
  --f-heading: "Plus Jakarta Sans", "Fustat", system-ui, sans-serif;
  --f-ui: "Fustat", system-ui, sans-serif;
  --f-body: "DM Sans", "Fustat", system-ui, sans-serif;

  --container: 1296px;
  --gutter: 72px;
  color-scheme: dark;
}

/* Arabic: Readex Pro for headlines (matches the Arabic logo), Fustat for running text */
:root[lang="ar"] {
  --f-display: "Readex Pro", "Fustat", system-ui, sans-serif;
  --f-heading: "Readex Pro", "Fustat", system-ui, sans-serif;
  --f-body: "Fustat", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-ui);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Gradient text (used on every big heading) */
.grad {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.96) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.eyebrow { font: 500 14px/20px var(--f-ui); letter-spacing: -0.01em; color: var(--text-muted); }
.h-section { font: 400 48px/56px var(--f-heading); letter-spacing: -0.01em; }

/* ---------- Pills / buttons ---------- */
.pill {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 20px;
  border-radius: 999px;
  background: var(--pill);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  font: 500 14px/20px var(--f-ui); letter-spacing: -0.01em;
  color: #fff; white-space: nowrap;
  overflow: hidden;
  transition: background-color .25s, opacity .25s, transform .25s;
}
.pill--soft { opacity: .8; }
.pill--strong::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.pill:hover { background: rgba(255, 255, 255, 0.18); opacity: 1; }
.pill:active { transform: scale(.97); }
.pill--lang { font-family: "Fustat", system-ui, sans-serif; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; height: 120px; }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 16px; }
.brand__mark { width: 26px; height: 32px; object-fit: contain; }
.brand__word { width: 111px; height: 27px; object-fit: contain; }
.brand__word--ar { width: 152px; height: 29px; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, .4); flex: none; }
.brand .dot { margin-inline-start: 18px; }
.nav { display: flex; align-items: center; gap: 5px; }
.nav .dot { margin-inline: 14px; }
.nav__toggle { display: none; }

/* ---------- Page background ---------- */
.page-bg { position: absolute; inset: 0 0 auto; height: 900px; pointer-events: none; z-index: 0; overflow: hidden; }
.page-bg__glow {
  position: absolute; inset: 0; opacity: .82;
  background: radial-gradient(70% 70% at 55.1% 6%, #474747 0%, rgba(48, 48, 48, .82) 35%, rgba(31, 31, 31, .48) 50.72%, rgba(0, 0, 0, 0) 100%);
}
.page-bg__lines {
  position: absolute; inset: 0;
  display: flex; justify-content: space-between;
  width: min(1296px, 100% - 144px); margin-inline: auto;
  -webkit-mask-image: linear-gradient(#000 60%, transparent);
          mask-image: linear-gradient(#000 60%, transparent);
}
.page-bg__lines span { position: relative; width: 1px; height: 100%; background: rgba(255, 255, 255, .05); overflow: hidden; }
.page-bg__lines span::after {
  content: ""; position: absolute; left: -1px; width: 3px; height: 90px; top: -120px;
  background: linear-gradient(transparent, rgba(255, 255, 255, .55), transparent);
  border-radius: 3px;
  animation: drip var(--d, 7s) linear var(--delay, 0s) infinite;
}
@keyframes drip { to { transform: translateY(1100px); } }

main { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero { padding-top: 64px; text-align: center; overflow-x: clip; }
.hero__title {
  font: 500 85px/1 var(--f-display); letter-spacing: -0.04em;
  background: linear-gradient(90deg, #303030 0%, #fff 33%, #888 66%, #303030 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-block: .06em;
}
.hero__sub { max-width: 507px; margin: 16px auto 0; font: 400 20px/24px var(--f-ui); letter-spacing: -0.008em; color: var(--text-muted); }

.fan { position: relative; width: 665px; height: 238px; margin: 22px auto 0; }
.fan__book {
  position: absolute; left: 50%; top: 31px;
  width: 115px; height: 176px; margin-left: -57.5px;
  border-radius: 4px; background-size: cover; background-position: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .1), 0 2px 10px rgba(0,0,0,.35);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.fan__book:nth-child(1) { transform: translateX(-188px) rotate(-34deg) scale(.92); z-index: 1; }
.fan__book:nth-child(2) { transform: translateX(-94px) rotate(-17deg) scale(.96); z-index: 2; }
.fan__book:nth-child(3) { transform: none; z-index: 3; }
.fan__book:nth-child(4) { transform: translateX(94px) rotate(17deg) scale(.96); z-index: 2; }
.fan__book:nth-child(5) { transform: translateX(188px) rotate(34deg) scale(.92); z-index: 1; }
.fan:hover .fan__book:nth-child(1) { transform: translateX(-250px) rotate(-24deg) scale(.95); }
.fan:hover .fan__book:nth-child(2) { transform: translateX(-125px) rotate(-12deg) scale(.98); }
.fan:hover .fan__book:nth-child(3) { transform: translateY(-8px) scale(1.04); }
.fan:hover .fan__book:nth-child(4) { transform: translateX(125px) rotate(12deg) scale(.98); }
.fan:hover .fan__book:nth-child(5) { transform: translateX(250px) rotate(24deg) scale(.95); }

.avatars { display: flex; justify-content: center; margin-top: 0; }
.avatars img {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; margin-inline: -4px;
  transition: transform .3s;
}
.avatars img:hover { transform: translateY(-4px); z-index: 2; position: relative; }

.clients { max-width: 900px; margin: 46px auto 0; padding-bottom: 112px; }
.clients__text { font: 400 16px/22.4px var(--f-body); letter-spacing: -0.04em; color: rgba(255, 255, 255, .8); }
:root[lang="ar"] .clients__text { letter-spacing: 0; }

/* Marquee (logos + slides) */
.marquee {
  overflow: hidden; margin-top: 46px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee var(--speed, 30s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee__track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.logos .marquee__track { gap: 28px; padding-inline-end: 28px; }
.logos__item { width: 130px; height: 33px; display: grid; place-items: center; flex: none; }
.logos__item img { max-width: 100%; max-height: 100%; object-fit: contain; opacity: .7; }

/* ---------- Statement (scattered words) ---------- */
.statement { position: relative; height: 456px; display: grid; place-items: center; overflow: hidden; }
.statement__bg { position: absolute; inset: 0 0 auto; height: 411px; width: 100%; object-fit: contain; pointer-events: none; }
.statement__text {
  position: relative; max-width: 1080px; padding-inline: 24px; text-align: center;
  font: 500 57px/57px var(--f-heading); letter-spacing: -0.04em; color: #fff;
}
:root[lang="ar"] .statement__text { font-weight: 500; line-height: 1.4; letter-spacing: 0; font-size: 50px; }
.statement__text .w { display: inline-block; will-change: transform; }

/* ---------- Slideshow ---------- */
.slides { padding-bottom: 57px; margin-top: 0; -webkit-mask-image: none; mask-image: none; }
.slides .marquee__track { gap: 12px; padding-inline-end: 12px; }
.slides__item { width: 533px; height: 342px; border-radius: 12px; overflow: hidden; flex: none; }
.slides__item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Projects grid ---------- */
.projects { padding: 132px 0 132px; }
.section-head { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head .h-section { margin-top: 24px; }
.covers {
  display: grid; grid-template-columns: repeat(3, 254px); gap: 66px 67px;
  justify-content: center; margin-top: 57px;
}
.cover {
  display: block; aspect-ratio: 254 / 359; border-radius: 3px;
  background-size: cover; background-position: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
}
.cover:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255,255,255,.06); }

/* ---------- Process ---------- */
.process { position: relative; padding: 72px 0 100px; }
.process__light { position: absolute; top: 72px; left: 50%; width: 806px; max-width: 100%; height: 409px; transform: translateX(-50%); object-fit: cover; pointer-events: none; }
.process__inner { position: relative; width: min(541px, 100% - 32px); margin-inline: auto; }
.process .section-head { padding-top: 224px; }
.process .section-head .h-section { margin-top: 20px; }
.cards { margin-top: 120px; display: flex; flex-direction: column; gap: 22px; }
.card {
  position: sticky; top: 120px;
  transform-origin: 50% 0;
  will-change: transform;
}
.card__inner {
  position: relative; overflow: hidden;
  border-radius: 12px; padding: 30px;
  background: var(--bg-deep);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px rgba(0,0,0,.5);
}
.card__inner::before {
  content: ""; position: absolute; inset: 32px 0 -32px; opacity: .82; pointer-events: none;
  background: radial-gradient(53% 80% at 50% 110%, #a1a1a1 0%, rgba(0, 0, 0, 0) 100%);
}
.card__inner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0) 0%, rgba(255,255,255,0) 47%, rgba(255,255,255,.04) 100%),
    radial-gradient(50% 50%, rgba(var(--blue), .06) 0%, rgba(var(--blue), 0) 100%);
}
.card__inner > * { position: relative; }
.card__top { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.card__icon { width: 28px; height: 28px; color: #fff; }
.badge {
  position: relative; display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
  border-radius: 999px; font: 500 14px/20px var(--f-ui); color: var(--text);
  box-shadow: inset 0 0 1px rgba(255, 255, 255, .32);
  background: linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, 0));
}
.card__title { margin-top: 24px; font: 400 32px/40px var(--f-heading); letter-spacing: -0.01em; }
.card__line { height: 1px; margin: 24px 0; background: linear-gradient(270deg, rgba(255,255,255,0) .2%, rgba(255,255,255,.1) 45%, rgba(255,255,255,.1) 54%, rgba(255,255,255,0) 100%); }
.card__text { font: 400 20px/24px var(--f-ui); letter-spacing: -0.008em; color: var(--text-muted); }
:root[lang="ar"] .card__text { line-height: 1.6; font-size: 19px; letter-spacing: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tag {
  display: inline-flex; align-items: center; height: 44px; padding: 0 22px;
  border-radius: 999px; background: rgba(255, 255, 255, .03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  font: 500 14px/20px var(--f-ui); color: var(--text);
}

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--bg-deep); overflow: hidden; padding: 559px 0 168px; text-align: center; }
.cta__bg { position: absolute; top: 67px; left: 50%; width: max(1490px, 104%); height: 680px; transform: translateX(-50%); object-fit: cover; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(#000 0px, rgba(0,0,0,0) 260px),
    linear-gradient(to top, var(--bg-deep) 330px, rgba(2,3,8,0) 560px);
}
.cta__content { position: relative; z-index: 2; max-width: 625px; margin-inline: auto; padding-inline: 16px; }
.cta__title { font: 400 40px/48px var(--f-heading); letter-spacing: -0.01em; }
.cta__text { max-width: 563px; margin: 24px auto 0; font: 400 20px/28px var(--f-ui); color: var(--text); }
.cta__email { margin-top: 24px; font: 400 20px/28px var(--f-ui); color: var(--text); }
.cta__email a { transition: opacity .2s; }
.cta__email a:hover { opacity: .7; }
.cta .pill { margin-top: 48px; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; height: 593px; }
.footer__glow {
  position: absolute; left: 0; right: 0; top: -307px; height: 988px; opacity: .82; pointer-events: none;
  background: radial-gradient(70% 80% at 50% 110%, #b3dbff 0%, rgba(86,152,255,.82) 35%, rgba(47,110,255,.48) 50.72%, rgba(0,0,0,0) 100%);
}
.footer__lights { position: absolute; left: -681px; top: 317px; width: 1694px; height: 1402px; pointer-events: none; opacity: .14; mix-blend-mode: overlay; }
.footer .container { position: relative; height: 100%; display: flex; flex-direction: column; }
.footer__rule { height: 1px; background: radial-gradient(50% 56400% at 50% 100%, rgba(255,255,255,.1) 0%, rgba(255,255,255,0) 100%); }
.footer__top { display: flex; justify-content: space-between; gap: 48px; margin-top: 64px; }
.footer__brand { max-width: 395px; }
.footer__icon { width: 80px; height: 80px; display: grid; place-items: center; }
.footer__icon img { width: 26px; height: 30px; object-fit: contain; }
.footer__text { margin-top: 24px; font: 400 20px/24px var(--f-ui); letter-spacing: -0.008em; color: var(--text-muted); }
.footer__text b { color: #fff; font-weight: 600; }
.footer__links { display: grid; grid-template-columns: repeat(2, 206px); gap: 12px; margin-top: 56px; }
.footer__links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; align-content: start; }
.footer__links a { font: 400 24px/32px var(--f-heading); letter-spacing: -0.01em; opacity: .7; transition: opacity .2s; }
.footer__links a:hover { opacity: 1; }
.footer__bottom { margin-top: auto; padding-bottom: 72px; font: 400 20px/24px var(--f-ui); letter-spacing: -0.008em; color: var(--text-muted); }

/* ---------- Inner pages ---------- */
.page-hero { padding-top: 64px; text-align: center; }
.page-hero__title { font: 400 64px/68px var(--f-heading); letter-spacing: -0.01em; max-width: 900px; margin-inline: auto; }
.page-hero__title--sm { font-size: 48px; line-height: 56px; max-width: 560px; }
.page-hero__text { max-width: 600px; margin: 24px auto 0; font: 400 20px/24px var(--f-ui); color: var(--text-muted); }
.page-hero__email { margin-top: 40px; font: 400 18px/24px var(--f-ui); }
.page-hero__email a:hover { opacity: .7; }
.work-grid { padding: 240px 0 160px; }

.contact-visual { position: relative; height: 1180px; margin-top: 110px; overflow: hidden; background: var(--bg-deep); }
.contact-visual img { position: absolute; top: 0; left: 50%; width: max(1490px, 104%); height: 680px; transform: translateX(-50%); object-fit: cover; }
.contact-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#000 0, rgba(0,0,0,0) 220px), linear-gradient(to top, var(--bg-deep) 500px, rgba(2,3,8,0) 720px); }

.project { padding: 120px 0 200px; }
.project .page-hero__title { text-align: center; }
.project__layout { display: grid; grid-template-columns: 756px 292px; justify-content: space-between; gap: 64px; margin-top: 120px; }
.gallery { display: grid; gap: 32px; }
.gallery img { width: 100%; height: auto; border-radius: 16px; background: #111; }
.meta { position: sticky; top: 40px; align-self: start; display: grid; gap: 40px; }
.meta__label { display: flex; align-items: center; gap: 12px; font: 400 14px/20px var(--f-ui); color: var(--text-muted); }
.meta__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.meta__value { margin-top: 12px; font: 400 18px/28px var(--f-ui); color: #fff; }
.meta__back { margin-top: 8px; justify-self: start; }
.testimonial { margin-top: 64px; padding: 48px 54px; border-radius: 16px; background: rgba(255,255,255,.02); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.testimonial__who { display: flex; align-items: center; gap: 14px; }
.testimonial__who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial__name { font: 400 20px/24px var(--f-ui); }
.testimonial__role { font: 400 14px/20px var(--f-ui); color: var(--text-muted); }
.testimonial__quote { margin-top: 24px; font: 400 20px/28px var(--f-ui); color: var(--text); }
:root[lang="ar"] .testimonial__quote { line-height: 1.7; }

.not-found { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 20px; padding: 80px 16px; }

/* ---------- Location line + WhatsApp ---------- */
.footer__place { margin-top: 16px; font: 400 16px/22px var(--f-ui); color: rgba(255, 255, 255, .5); }
.page-hero__place { margin-top: 14px; font: 400 15px/22px var(--f-ui); color: var(--text-muted); }
.page-hero__wa { margin-top: 24px; }
.pill--wa { gap: 8px; background: #1f7a4a; }
.pill--wa svg { width: 18px; height: 18px; }
.wa-float {
  position: fixed; inset-inline-end: 24px; bottom: 24px; z-index: 50;
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 15px;
  border-radius: 999px; background: #1f7a4a; color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .12);
  font: 500 14px/1 var(--f-ui); transition: transform .25s, background-color .25s;
}
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s ease; }
.wa-float:hover { background: #23905a; transform: translateY(-2px); }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 220px; }
@media (max-width: 809px) { .wa-float { inset-inline-end: 16px; bottom: 16px; height: 52px; padding: 0 13px; } }

/* ---------- Reveal-on-scroll (Framer "appear" effect) ---------- */
.js [data-reveal] { opacity: 0; transform: scale(.9); transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1); transition-delay: var(--rd, 0s); }
.js [data-reveal="up"] { transform: translateY(40px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- RTL tweaks ---------- */
[dir="rtl"] .page-hero__title, [dir="rtl"] .h-section, [dir="rtl"] .cta__title, [dir="rtl"] .card__title { letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] .hero__title { letter-spacing: 0; font-weight: 500; line-height: 1.25; }
[dir="rtl"] .footer__lights { left: auto; right: -681px; transform: scaleX(-1); }
[dir="rtl"] .eyebrow, [dir="rtl"] .pill, [dir="rtl"] .badge, [dir="rtl"] .tag { letter-spacing: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .project__layout { grid-template-columns: 1fr 260px; gap: 40px; }
  .covers { grid-template-columns: repeat(3, minmax(0, 254px)); gap: 48px 32px; }
}
@media (max-width: 809px) {
  :root { --gutter: 16px; }
  .site-header { height: 88px; }
  .brand .dot, .nav .dot { display: none; }
  .nav .pill--soft:not(.pill--lang) { display: none; }
  .brand__word { width: 96px; }
  .brand__word--ar { width: 124px; height: 24px; }
  .pill { padding: 0 14px; }
  .nav { gap: 6px; }
  .hero { padding-top: 40px; }
  .hero__title { font-size: 52px; }
  .hero__sub { font-size: 17px; line-height: 22px; padding-inline: 8px; }
  .fan { transform: scale(.62); margin-block: -30px -50px; width: 100%; }
  .clients { padding-bottom: 72px; }
  .statement { height: 380px; }
  .statement__text { font-size: 34px; line-height: 38px; }
  :root[lang="ar"] .statement__text { font-size: 32px; line-height: 1.45; }
  .slides__item { width: 300px; height: 193px; }
  .projects { padding: 96px 0; }
  .h-section { font-size: 32px; line-height: 40px; }
  .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-top: 40px; }
  .process .section-head { padding-top: 160px; }
  .cards { margin-top: 64px; }
  .card { top: 24px; }
  .card__inner { padding: 22px; }
  .card__title { font-size: 26px; line-height: 32px; }
  .card__text { font-size: 16px; line-height: 22px; }
  :root[lang="ar"] .card__text { font-size: 16px; }
  .tag { height: 36px; padding: 0 14px; font-size: 13px; }
  .cta { padding: 360px 0 120px; }
  .cta__bg { width: 900px; height: 420px; top: 40px; }
  .cta__title { font-size: 30px; line-height: 38px; }
  .cta__text, .cta__email { font-size: 17px; line-height: 24px; }
  .footer { height: auto; }
  .footer__top { flex-direction: column; gap: 0; }
  .footer__links { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .footer__links a { font-size: 20px; }
  .footer__bottom { margin-top: 64px; padding-bottom: 48px; font-size: 15px; }
  .page-hero__title { font-size: 40px; line-height: 46px; }
  .page-hero__title--sm { font-size: 32px; line-height: 40px; }
  .page-hero__text { font-size: 17px; line-height: 22px; }
  .work-grid { padding: 120px 0 100px; }
  .contact-visual { height: 640px; margin-top: 64px; }
  .contact-visual img { width: 900px; height: 420px; }
  .contact-visual::after { background: linear-gradient(#000 0, rgba(0,0,0,0) 120px), linear-gradient(to top, var(--bg-deep) 220px, rgba(2,3,8,0) 420px); }
  .project { padding: 72px 0 120px; }
  .project__layout { grid-template-columns: 1fr; margin-top: 56px; gap: 40px; }
  .meta { position: static; order: -1; grid-template-columns: 1fr; gap: 24px; }
  .gallery { gap: 16px; }
  .gallery img { border-radius: 12px; }
  .testimonial { padding: 28px 22px; }
  .testimonial__quote { font-size: 17px; line-height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
