/* BJW-P02 — additive UI layer. V0.3 styles remain intact. */
:root{--radius:3px}html{scroll-padding-top:90px}body{min-width:320px}.nav a[aria-current="page"]{color:#a56c47}.language-link{display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;border:1px solid #ba987a;border-radius:2px;font:700 12px Outfit,Tajawal,'Segoe UI',Tahoma,Arial,sans-serif;padding:5px 7px}.header-side{display:flex;align-items:center;gap:13px}.nav{gap:clamp(9px,1.7vw,30px)}.identity{min-width:275px}.brand-title small{line-height:1.3}.hero-content{max-width:700px}body[dir="ltr"] .panel-info,body[dir="ltr"] .panel-number{right:auto;left:20px;text-align:left}body[dir="ltr"] .panels{direction:ltr}body[dir="ltr"] .service-content{right:24px;left:26px}.panel-info{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%;gap:6px}.panel-info strong{line-height:1.2}.panel-info small{white-space:normal;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.panel .panel-info{opacity:0;pointer-events:none;transition:opacity .25s}.panel.selected .panel-info,.panel:focus-within .panel-info,.panel:hover .panel-info{opacity:1;pointer-events:auto}.panel-open{display:inline-flex;align-items:center;justify-content:space-between;border:1px solid #ecc296;color:#ffdab7;padding:11px 13px;font-weight:700;font-size:15px;max-width:230px;margin-top:7px;background:#091c31d9}.panel-open:hover,.panel-open:focus-visible{background:#bd8456;color:#071727}.panel:focus-within{flex:3.5;border-color:var(--copper2)}.archive-note{line-height:1.8}.site-footer{display:block;padding:55px clamp(22px,6vw,100px) 20px;background:#030f1c}.footer-columns{display:grid;grid-template-columns:2fr 1fr 1.5fr;gap:40px}.footer-company p{max-width:330px;line-height:1.7;font-size:15px;color:#b4c2cd}.footer-links,.footer-contact{display:flex;flex-direction:column;align-items:start;gap:13px}.footer-links>strong,.footer-contact>strong{font-size:18px;color:#f0c096;margin-bottom:5px}.footer-links a{color:#d7e2e9}.footer-links a:hover,.footer-bottom a:hover{color:#ffcb9f}.footer-contact p{color:#adc0cb;line-height:1.7;margin:0}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #ffffff2b;padding:23px 0 0;margin-top:40px;gap:15px}.footer-bottom small{font-size:12px}.contact-channels,.verified-contact{display:flex;flex-wrap:wrap;gap:12px}.contact-channels a,.verified-contact a{padding:8px 12px;border:1px solid #d0986b;color:#f3bd8d}.inner-hero{position:relative;overflow:hidden;background:#081b30;color:white;min-height:370px;margin-top:86px;display:flex;align-items:end}.inner-hero-bg{position:absolute;inset:0;background:linear-gradient(270deg,#041321,#17334bc4),url('assets/hero-concept.webp') center/cover;opacity:.95}.inner-hero-content{position:relative;padding:95px clamp(24px,6vw,105px) 70px;width:100%}.inner-hero h1{font-size:clamp(39px,5vw,70px);line-height:1.13;max-width:950px;margin:17px 0}.inner-hero p{font-size:19px;color:#cedce7;max-width:800px;line-height:1.8;margin:0}.readable{max-width:1200px}.readable h2{font-size:clamp(32px,4vw,54px)}.readable p{font-size:20px;max-width:800px;line-height:1.9}.service-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.service-overview article{border:1px solid #d5c4b1;padding:35px;background:#fff;min-height:270px}.service-overview span{font:700 32px Outfit,system-ui,'Segoe UI',Arial,sans-serif;color:#b37b55}.service-overview h2{font-size:30px;line-height:1.2;margin-top:25px}.service-overview p{line-height:1.8;color:#637486}.cta-band{background:#102a44;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:25px}.cta-band h2{font-size:clamp(26px,3.3vw,48px);margin:0}.notice,.review-hint{background:#e8e0d6;border-inline-start:3px solid #bc8556;padding:18px 20px;line-height:1.7;color:#405568}.notice{max-width:780px}.directory-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:22px;margin-bottom:35px}.filter-row{display:flex;gap:9px;flex-wrap:wrap}.filter-button{padding:12px 18px;border:1px solid #d1b89e;background:transparent;color:#18334b;font-weight:700}.filter-button:hover,.filter-button.is-active{background:#102f4b;color:white;border-color:#102f4b}.search-box input{width:min(290px,85vw);padding:13px 15px;border:1px solid #c5b4a3;background:white}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.project-card[hidden]{display:none}.project-card{background:#fff;border:1px solid #e0d3c7;min-width:0}.project-card:hover{box-shadow:0 14px 38px #0b253623;transform:translateY(-3px);transition:.25s}.project-card-main{display:block;height:100%}.project-art{min-height:210px;position:relative;overflow:hidden;background:linear-gradient(135deg,#071e35 8%,#265477 65%,#916442);color:#b9d2e3;display:flex;flex-direction:column;justify-content:space-between;align-items:start;padding:20px;isolation:isolate}.project-art:after{content:'';position:absolute;inset:0;background:linear-gradient(30deg,transparent 0 46%,#ffffff15 46.2%,transparent 47%),repeating-linear-gradient(90deg,transparent,transparent 49px,#ffffff0e 50px),repeating-linear-gradient(0deg,transparent,transparent 44px,#ffffff0f 45px);z-index:-1}.project-art-number{font:500 12px Outfit,monospace;letter-spacing:.09em;word-break:break-word}.project-art-label{font-size:14px;color:#d7e4ed}.project-card-body{padding:24px;min-height:166px}.project-card-top{display:flex;align-items:center;gap:8px;justify-content:space-between;min-height:26px;flex-wrap:wrap}.project-category{font-size:13px;color:#99714f}.status-pill{background:#e6d2b7;color:#714b29;font-size:12px;font-weight:800;padding:5px 8px;display:inline-flex;align-items:center}.project-card h2{font-size:clamp(20px,2vw,27px);line-height:1.33;margin:12px 0 24px;letter-spacing:normal}.project-card-cta{font-weight:700;color:#986b47}.project-card-cta span{margin-inline-start:9px}.empty-result{padding:30px;background:#fff}.review-hint{margin-top:30px}.project-detail-hero{min-height:330px}.project-detail-hero .breadcrumb{color:#d4b394;display:inline-block;margin-bottom:30px}.detail-meta{display:flex;align-items:center;gap:12px}.detail-meta>span:not(.status-pill){border:1px solid #cda67e;padding:6px 12px}.project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:38px 0}.project-gallery figure{margin:0;background:#fff}.project-gallery img{width:100%;height:320px;object-fit:cover}.project-gallery figcaption{padding:14px 16px;color:#4e6478;font-size:14px}.project-detail-intro{display:grid;grid-template-columns:2fr 1fr;gap:60px;align-items:start}.project-detail-intro h2{font-size:clamp(34px,4.5vw,60px);line-height:1.2;margin:16px 0}.project-detail-intro p{font-size:18px;color:#5d7082;line-height:1.8}.project-fact{border-top:2px solid #c38f62;padding-top:15px}.project-fact h3{font-size:15px;color:#a07856;margin-top:12px}.project-fact p{color:#193752}.photo-pending{background:linear-gradient(115deg,#10283e,#173a56);min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;color:#fff;margin:40px 0}.photo-pending strong{font-size:clamp(21px,2.4vw,30px)}.photo-pending p{font-size:16px;max-width:660px;color:#b9cbd8;line-height:1.7}.pending-line{width:75px;height:2px;background:#c79365;margin-bottom:30px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #df985d;outline-offset:3px}@media(max-width:1200px){.header{gap:15px}.nav{gap:12px}.brand-title strong{font-size:17px}.identity{min-width:260px}.local{display:none}}@media(max-width:980px){.nav{display:none}.menu-btn{display:block}.footer-columns{grid-template-columns:1fr 1fr}.footer-company{grid-column:1/-1}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inner-hero{margin-top:76px}.mobile-menu{top:76px}.service-overview{grid-template-columns:1fr}.site-footer .footer-brand img{width:75px;height:75px}}@media(max-width:600px){.inner-hero-content{padding:65px 22px 50px}.inner-hero{min-height:290px}.inner-hero h1{font-size:41px}.inner-hero p{font-size:16px}.project-grid{grid-template-columns:1fr}.project-gallery{grid-template-columns:1fr}.project-detail-intro{grid-template-columns:1fr;gap:18px}.directory-controls{align-items:stretch}.search-box input{width:100%}.filter-button{padding:10px 12px;font-size:13px}.footer-columns{grid-template-columns:1fr;gap:35px}.footer-company{grid-column:auto}.footer-bottom{display:block}.footer-bottom a{display:block;margin-top:17px}.panel .panel-info{opacity:1;pointer-events:auto}.panel{height:250px}.panel-open{background:#09243edb}.cta-band{display:block}.cta-band .button{margin-top:20px}.hero-content{max-width:100%}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* BJW-P02 / 01: only the English home hero. Height follows wrapped content. */
html[dir="ltr"] .hero {
  height: auto;
  min-height: max(690px, 100svh);
}
html[dir="ltr"] .hero-content {
  max-width: 900px;
  padding: clamp(136px, 18vh, 200px) 24px 110px clamp(22px, 6vw, 108px);
  text-align: left;
}
html[dir="ltr"] .hero-shade { transform: scaleX(-1); }
html[dir="ltr"] .hero :is(h2,h1:where(.hero-title)) {
  font-size: clamp(36px, 5.2vw, 80px);
  line-height: 1.08;
  margin: 22px 0 16px;
  overflow-wrap: anywhere;
}
html[dir="ltr"] .hero-content > p {
  max-width: 620px;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.7;
  margin-bottom: 0;
}
html[dir="ltr"] .hero-buttons { margin-top: 22px; }
html[dir="ltr"] .hero-annotation { margin-top: 20px; line-height: 1.6; }
html[dir="ltr"] .hero-progress { right: 5vw; left: auto; }
html[dir="ltr"] .hero .discover { left: 5vw; right: auto; }
@media (max-width: 600px) {
  html[dir="ltr"] .hero { min-height: 730px; }
  html[dir="ltr"] .hero-content { padding: 128px 22px 100px; }
  html[dir="ltr"] .hero :is(h2,h1:where(.hero-title)) { font-size: clamp(36px, 9.5vw, 55px); }
  html[dir="ltr"] .hero-buttons { gap: 10px; }
  html[dir="ltr"] .hero-buttons .button { max-width: 100%; }
}
/* BJW-P02 / 02: shared floating WhatsApp, with no external assets. */
.whatsapp-widget {
  position: fixed;
  left: max(18px, env(safe-area-inset-left));
  right: auto;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 110;
  width: 56px;
  height: 56px;
  --whatsapp-travel: clamp(0px, calc(100svh - 56px - max(18px, env(safe-area-inset-bottom)) - 12px), 60px);
  animation: whatsappTravel 4s ease-in-out infinite;
}
html[dir="ltr"] .whatsapp-widget {
  left: auto;
  right: max(18px, env(safe-area-inset-right));
}
.whatsapp-float {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #128c4a;
  color: #fff;
  box-shadow: 0 5px 18px #03111f40;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.whatsapp-float svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.whatsapp-float:hover,
.whatsapp-float:focus {
  background: #075e36;
  box-shadow: 0 5px 18px #03111f40, 0 0 12px #25d36630;
}
.whatsapp-widget:hover,
.whatsapp-widget:focus-within { animation-play-state: paused; }
.whatsapp-float:focus-visible { outline: 3px solid #ffbd83; outline-offset: 5px; }
.whatsapp-notice {
  position: fixed;
  z-index: 111;
  width: max-content;
  max-width: min(270px, calc(100vw - 32px));
  padding: 12px 15px;
  border: 1px solid #b9d7c5;
  border-radius: 8px;
  background: #fff;
  color: #123525;
  box-shadow: 0 5px 24px #03111f30;
  font-size: 15px;
  line-height: 1.6;
  text-align: start;
}
.whatsapp-notice[hidden] { display: none; }
/* Space at the page end lets every footer link scroll clear of the fixed control. */
body.has-whatsapp .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
/* Move the fixed wrapper so the existing notice measures the actual icon position.
   Pause in place for pointer/keyboard activation, without a jump to the bottom.
   The travel is shortened only when a very short viewport cannot fit 60px. */
@keyframes whatsappTravel {
  0%, 10%, 90%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 0 transparent);
  }
  45%, 55% {
    transform: translateY(calc(-1 * var(--whatsapp-travel)));
    filter: drop-shadow(0 0 6px #25d36630);
  }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-widget { animation: none; transform: none; filter: none; }
  .whatsapp-float { transition: none; }
}

/* BJW-P02 / FIX-03: isolate the logo from the shared parent fade/translation.
   Preserve the other intro elements' 1.2s fade and 32px entrance, including
   the rule's separate 1.5s scale animation. No HTML or timer changes. */
.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 24px 20px;
  /* Close at the existing timer without fading the logo with its parent. */
  transition: none;
}
.intro.hidden { opacity: 1; }
.intro-core {
  animation: none;
  opacity: 1;
  filter: none;
  transform: none;
  flex: 0 0 auto;
  max-width: 100%;
}
.intro .skip {
  position: relative;
  inset: auto;
  transform: none;
  flex: 0 0 auto;
  max-width: 100%;
}
.intro-core > :not(.intro-logo) {
  animation: introCopyEntrance 1.2s both;
}
.intro-core > .intro-rule {
  animation: introCopyEntrance 1.2s both, ruleGrow 1.5s both;
  margin: 8px auto 16px;
}
.intro-logo {
  /* Prepared transparent PNG: 534x693, from the unchanged 827x827 JPG.
     Its 664 visible rows give 242.41px of artwork at the approved 253px height.
     Same display geometry and animation; the source now supports downsampling. */
  display: block;
  width: auto;
  height: clamp(230px, 28.175svh, 253px);
  aspect-ratio: 74 / 96;
  object-fit: contain;
  margin-inline: auto;
  opacity: 1;
  filter: none;
  transform: none;
  transition: none;
  /* Release the final animation layer; the underlying styles are fully clear. */
  animation: introLogoDepth 1.9s cubic-bezier(.4, 0, .2, 1) backwards;
}
@media (max-width: 600px) {
  .intro { gap: 22px; padding: 20px; }
  .intro-logo { height: 184px; }
}
@media (max-height: 600px) {
  .intro { gap: 14px; padding: 12px; overflow-y: auto; }
  .intro-logo { height: clamp(82.8px, 25.3svh, 151.8px); }
  .intro :is(h1,div:where(.intro-title)) { font-size: clamp(24px, 4vw, 36px); }
  .intro-core > .intro-rule { margin: 6px auto 12px; }
}
@keyframes introCopyEntrance {
  from { opacity: 0; translate: 0 32px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes introLogoDepth {
  from {
    transform: translateY(15px) scale(.70);
    opacity: 0;
    filter: blur(10px);
  }
  80%, 100% {
    transform: none;
    opacity: 1;
    filter: blur(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .intro-logo {
    animation: none;
    transform: none;
    opacity: 1;
    filter: none;
  }
}

/* FIND-02: one header height drives the header, menu and inner-page offset. */
:root { --header-height: 86px; }
.header { height: var(--header-height); }
.mobile-menu {
  top: var(--header-height);
  max-height: calc(100svh - var(--header-height));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.inner-hero { margin-top: var(--header-height); }
html { scroll-padding-top: calc(var(--header-height) + 14px); }
@media (max-width: 980px) {
  :root { --header-height: 76px; }
  .header { gap: 12px; }
  .header .identity { min-width: 0; flex: 1 1 auto; }
  .header .identity img { flex: 0 0 auto; }
  .header .brand-title { min-width: 0; }
  .header .header-side { flex: 0 0 auto; gap: 8px; }
  .header .menu-btn { min-height: 42px; min-width: 44px; }
}
@media (max-width: 600px) {
  .header .identity { gap: 6px; }
  .header .brand-title strong { font-size: clamp(11px, 3.2vw, 15px); line-height: 1.25; }
  .header .brand-title small { font-size: 6.5px; letter-spacing: .035em; }
  .header .menu-btn { padding: 8px; font-size: 11px; }
}

.site-footer .footer-bottom > a { margin-inline-start: auto; }

/* FIX-06 finalization: stack the footer identity and description vertically. */
.site-footer .footer-company {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}
.site-footer .footer-brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 100%;
}
.site-footer .footer-brand > div { max-width: 100%; min-width: 0; }
.site-footer .footer-description {
  display: block;
  width: 100%;
  max-width: 36ch;
  margin: 0;
  line-height: 1.8;
  text-align: start;
}

/* FIX-05: the existing footer top link becomes a single floating, non-overlapping control. */
.site-footer .footer-bottom a.back-to-top {
 position:fixed; inset:auto; right:max(18px,env(safe-area-inset-right)); bottom:max(18px,env(safe-area-inset-bottom));
 z-index:100; display:grid; place-items:center; width:44px; height:44px; min-height:44px; margin:0; padding:11px;
 border:1px solid #c99a71; border-radius:50%; background:#0c253a; color:#f2c49d;
 box-shadow:0 4px 14px #03111f26; transition:background 220ms,border-color 220ms;
}
html[dir="ltr"] .site-footer .footer-bottom a.back-to-top { right:auto; left:max(18px,env(safe-area-inset-left)); }
.site-footer .footer-bottom a.back-to-top[hidden] { display:none!important; }
.back-to-top svg { display:block; width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.site-footer .footer-bottom a.back-to-top:hover { background:#173b56; border-color:#efbd91; }
.site-footer .footer-bottom a.back-to-top:focus-visible { outline:3px solid #e8b586; outline-offset:4px; }
@media(prefers-reduced-motion:reduce) { .site-footer .footer-bottom a.back-to-top { transition:none; } }
