:root {
  color-scheme: light;
  --green: #0b6847;
  --green-deep: #064b35;
  --green-bright: #14935f;
  --ink: #1d2924;
  --muted: #68756f;
  --paper: #f7f8f5;
  --line: #e1e7e2;
  --white: #fff;
  --font: "IBM Plex Sans Arabic", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font); line-height: 1.75; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.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; }
.section-wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-inline: max(24px, calc((100% - 1280px) / 2)); background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(21,62,43,.08); position: sticky; inset-block-start: 0; z-index: 20; backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 35px; height: 37px; display: flex; flex-direction: column; justify-content: center; gap: 3px; transform: skewY(-30deg); }
.brand-mark i { display: block; height: 8px; background: var(--green-bright); }
.brand-mark i:nth-child(1) { width: 19px; margin-inline-start: 0; }
.brand-mark i:nth-child(2) { width: 28px; }
.brand-mark i:nth-child(3) { width: 35px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.25; }
.brand-copy strong { font-size: 16px; font-weight: 700; color: var(--green-deep); }
.brand-copy small { margin-top: 3px; font: 600 9px/1.2 Arial,sans-serif; letter-spacing: 1.1px; color: #78827d; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); font-size: 14px; color: #53615a; }
.main-nav a:not(.nav-cta):hover { color: var(--green); }
.nav-cta { color: var(--green); border: 1px solid #b7d4c6; border-radius: 999px; padding: 8px 18px; transition: .2s ease; }
.nav-cta:hover { color: white; border-color: var(--green); background: var(--green); }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; min-height: 570px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 52px; padding: 66px max(24px, calc((100% - 1180px) / 2)) 74px; background: linear-gradient(110deg,#f8faf7 0%,#f1f5f1 57%,#e8f0e9 100%); }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(11,104,71,.1); border-radius: 50%; inset-inline-end: -140px; top: -225px; }
.hero-copy { position: relative; z-index: 2; max-width: 610px; }
.eyebrow,.section-kicker { color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 15px; }
.eyebrow span,.caption-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 5px rgba(20,147,95,.12); }
.hero h1 { margin: 0; color: var(--green-deep); font-size: clamp(44px,6vw,76px); line-height: 1.28; letter-spacing: -.04em; }
.hero-description { max-width: 540px; margin: 16px 0 27px; color: #65726c; font-size: 17px; line-height: 1.95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 7px; padding: 10px 20px; font-size: 14px; font-weight: 600; transition: transform .18s ease,background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: white; box-shadow: 0 9px 22px rgba(11,104,71,.17); }
.button-primary:hover { background: var(--green-deep); }
.button-outline { border: 1px solid #cbd9cf; background: rgba(255,255,255,.62); color: var(--green-deep); }
.hero-stats { display: flex; gap: 36px; margin-top: 42px; }
.hero-stats div { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 8px; }
.hero-stats strong { color: var(--green); font-size: 24px; }
.hero-stats span { color: #728078; font-size: 12px; }
.hero-visual { position: relative; justify-self: center; width: min(100%,470px); padding: 0 20px 20px 0; }
.hero-image-frame { position: relative; z-index: 1; overflow: hidden; border: 8px solid white; border-radius: 12px; background: #e8eee8; box-shadow: 0 28px 75px rgba(27,65,46,.18); transform: rotate(-2deg); }
.hero-image-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 58%,rgba(4,44,31,.76)); pointer-events: none; }
.hero-image-frame img { width: 100%; aspect-ratio: 1.42; object-fit: cover; }
.image-caption { position: absolute; z-index: 2; inset-inline-start: 24px; inset-block-end: 17px; display: grid; grid-template-columns: 12px auto; align-items: center; column-gap: 9px; color: white; font-size: 14px; font-weight: 600; }
.image-caption small { grid-column: 2; color: rgba(255,255,255,.73); font-size: 10px; font-weight: 400; }
.caption-dot { width: 8px; height: 8px; grid-row: span 2; background: #42d295; box-shadow: 0 0 0 5px rgba(66,210,149,.17); }
.visual-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(11,104,71,.17); }
.orbit-one { width: 180px; height: 180px; inset-inline-end: -32px; inset-block-start: -36px; }
.orbit-two { width: 85px; height: 85px; inset-inline-start: -24px; inset-block-end: -9px; background: rgba(20,147,95,.07); }

.intro { padding-block: 74px 76px; display: grid; grid-template-columns: .55fr 1.45fr; gap: 50px; border-bottom: 1px solid var(--line); }
.intro-content { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.intro h2,.section-heading h2,.profile-heading h2 { margin: 0; font-size: clamp(25px,3vw,36px); line-height: 1.45; color: var(--ink); letter-spacing: -.025em; }
.intro p,.section-heading p,.profile-heading p { max-width: 700px; margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.text-link { flex: 0 0 auto; color: var(--green); font-size: 13px; font-weight: 700; }
.text-link span { display: inline-block; margin-inline-start: 6px; transition: transform .2s; }
.text-link:hover span { transform: translateX(-4px); }

.projects-section { padding-block: 84px 98px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-heading h2 { margin-top: 5px; }
.search-box { width: min(100%,300px); height: 48px; flex: 0 0 auto; display: flex; align-items: center; gap: 11px; padding: 0 14px; border: 1px solid #dfe6e0; border-radius: 7px; background: #fbfcfa; }
.search-box:focus-within { border-color: #82b99e; box-shadow: 0 0 0 3px rgba(20,147,95,.08); }
.search-icon { width: 15px; height: 15px; border: 1.8px solid #84918a; border-radius: 50%; position: relative; flex: 0 0 auto; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 1.8px; background: #84918a; transform: rotate(45deg); inset-inline-end: -5px; inset-block-end: -2px; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-box input::placeholder { color: #9aa39d; }
.search-box kbd { color: #a3aca6; font: 18px var(--font); }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.project-card { min-width: 0; overflow: hidden; border: 1px solid #e6ebe7; border-radius: 9px; background: white; transition: transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.project-card:hover { transform: translateY(-5px); border-color: #d3e2d8; box-shadow: 0 14px 34px rgba(21,60,42,.1); }
.project-card button { display: block; width: 100%; border: 0; padding: 0; background: transparent; color: inherit; text-align: right; cursor: pointer; }
.project-image { position: relative; overflow: hidden; aspect-ratio: 2.05; background: #eef2ed; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover .project-image img { transform: scale(1.035); }
.project-image::after { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent,rgba(8,49,34,.18)); }
.project-number { position: absolute; z-index: 1; inset-block-start: 13px; inset-inline-start: 13px; display: grid; place-items: center; min-width: 34px; height: 27px; padding-inline: 8px; border: 1px solid rgba(255,255,255,.65); border-radius: 4px; background: rgba(255,255,255,.92); color: var(--green-deep); font: 600 11px Arial,sans-serif; }
.project-card-info { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 16px 17px; }
.project-card-info strong { overflow: hidden; color: #27342e; font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.project-arrow { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 auto; border-radius: 50%; background: #edf5ef; color: var(--green); font-size: 16px; transition: .2s; }
.project-card:hover .project-arrow { background: var(--green); color: white; }
.empty-state { padding: 26px; border: 1px dashed #cbd9cf; border-radius: 8px; color: var(--muted); text-align: center; }

.profile-section { padding-block: 74px 86px; background: #f3f6f2; }
.profile-wrap { max-width: 1060px; }
.profile-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.profile-heading h2 { margin-top: 5px; color: var(--green-deep); }
.profile-heading p { max-width: 620px; }
.button-light { flex: 0 0 auto; color: var(--green-deep); background: white; border: 1px solid #dce7df; }
.button-light:hover { background: #f7fbf8; }
.reader { overflow: hidden; border: 1px solid #dfe7e0; border-radius: 10px; background: white; box-shadow: 0 18px 45px rgba(24,62,44,.07); }
.reader-toolbar { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 20px; border-bottom: 1px solid #e9eee9; }
.reader-label { display: flex; align-items: center; gap: 11px; color: #43524a; font-size: 13px; font-weight: 600; }
.reader-file-icon { display: grid; place-items: center; width: 34px; height: 36px; border-radius: 5px; background: #eaf3ed; color: var(--green); font: 700 10px Arial,sans-serif; }
.page-controls { display: flex; align-items: center; gap: 9px; direction: rtl; }
.control-button { min-height: 34px; padding: 4px 11px; border: 1px solid #e0e7e1; border-radius: 5px; background: white; color: #4a5a51; font-size: 11px; cursor: pointer; }
.control-button:hover:not(:disabled) { color: var(--green); border-color: #a5c9b2; }
.control-button:disabled { opacity: .43; cursor: not-allowed; }
.page-count { display: inline-flex; align-items: center; gap: 7px; color: #7a867f; font-size: 11px; direction: ltr; }
.page-count input { width: 43px; height: 32px; border: 1px solid #e0e7e1; border-radius: 5px; color: var(--ink); text-align: center; direction: ltr; }
.reader-canvas { display: grid; place-items: center; min-height: 300px; padding: clamp(12px,3vw,30px); background: #e9ede9; }
.reader-canvas img { max-height: 72vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 4px 18px rgba(22,42,30,.1); }
.reader-footer { min-height: 51px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 9px 20px; color: #829087; font-size: 11px; }
.reader-footer a { color: var(--green); font-weight: 600; }

.contact-section { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 70px; }
.contact-section h2 { margin-top: 5px; color: var(--green-deep); }
.contact-section p { max-width: 560px; color: var(--muted); }
.contact-numbers { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.contact-numbers li { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.contact-wa { padding: 3px 12px; border: 1px solid #b7d4c6; border-radius: 999px; color: var(--green); font-size: 12px; font-weight: 600; }
.contact-wa:hover { background: var(--green); color: white; }
.contact-number { display: inline-block; color: var(--green); font-size: 26px; font-weight: 700; letter-spacing: .5px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer p a { color: var(--green); font-weight: 600; }
.site-footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px max(24px, calc((100% - 1180px) / 2)); }
.site-footer p { color: #89938d; font-size: 11px; }
.footer-brand .brand-mark { transform: scale(.8) skewY(-30deg); transform-origin: right center; }
.footer-brand .brand-copy strong { font-size: 14px; }
.back-top { color: var(--green); font-size: 12px; font-weight: 600; }

/* ---------- Project cards: badges & meta ---------- */
.project-image .badge { position: absolute; z-index: 2; inset-block-start: 12px; inset-inline-end: 12px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; color: white; background: rgba(6,75,53,.92); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.project-image .badge-partial { background: rgba(255,255,255,.95); color: var(--green-deep); }
.project-card-text { display: flex; flex-direction: column; min-width: 0; }
.project-card-text strong { overflow: hidden; color: #27342e; font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.project-card-text small { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.project-image { aspect-ratio: 1.75; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 15px; border: 1px solid #dbe5de; border-radius: 999px; background: white; color: #4a5a51; font-size: 13px; cursor: pointer; }
.chip b { min-width: 22px; padding: 0 6px; border-radius: 999px; background: #edf5ef; color: var(--green); font-size: 11px; line-height: 20px; text-align: center; }
.chip.is-active { border-color: var(--green); background: var(--green); color: white; }
.chip.is-active b { background: rgba(255,255,255,.2); color: white; }
.hero-image-frame img { aspect-ratio: 1.75; transition: opacity .35s ease; }
.hero-image-frame img.is-fading { opacity: 0; }

/* ---------- Showreel ---------- */
.showreel { background: #062f22; color: white; padding-block: 64px 0; overflow: hidden; }
.showreel-inner { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.showreel-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.showreel-head h2 { margin: 5px 0 0; max-width: 720px; font-size: clamp(25px,3vw,38px); line-height: 1.4; letter-spacing: -.02em; }
.section-kicker.light { color: #6fe0ad; }
.button-video { flex: 0 0 auto; border: 1px solid rgba(255,255,255,.35); color: white; background: rgba(255,255,255,.06); cursor: pointer; font-family: inherit; }
.button-video:hover { background: white; color: var(--green-deep); }
.stage { position: relative; overflow: hidden; aspect-ratio: 16 / 8; min-height: 300px; border-radius: 14px; background: #0a3d2d; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.stage-slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.slide.is-active img { animation: kenburns 6s ease-out forwards; }
.slide:nth-child(even).is-active img { animation-name: kenburns-alt; }
@keyframes kenburns { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.14) translateX(-2%); } }
@keyframes kenburns-alt { from { transform: scale(1.14) translateX(-2%); } to { transform: scale(1.03) translateX(1%); } }
.stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,30,21,.9) 0%, rgba(3,30,21,.35) 38%, transparent 62%); pointer-events: none; }
.stage-info { position: absolute; z-index: 2; inset-inline-start: clamp(18px,4vw,44px); inset-block-end: clamp(26px,4vw,46px); display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: min(640px, 80%); }
.stage-count { color: #6fe0ad; font-size: 13px; font-weight: 700; direction: ltr; }
.stage-name { font-size: clamp(26px,4.4vw,52px); line-height: 1.2; letter-spacing: -.02em; }
.stage-meta { color: rgba(255,255,255,.82); font-size: 15px; }
.stage-open { margin-top: 10px; padding: 8px 16px; border: 0; border-radius: 999px; background: white; color: var(--green-deep); font: 600 13px var(--font); cursor: pointer; }
.stage-controls { position: absolute; z-index: 2; inset-inline-end: clamp(16px,3vw,32px); inset-block-end: clamp(26px,4vw,46px); display: flex; gap: 8px; }
.stage-controls button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(3,30,21,.45); color: white; font-size: 20px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); }
.stage-controls button:hover { background: white; color: var(--green-deep); }
#stage-play { font-size: 13px; }
.stage-progress { position: absolute; z-index: 2; inset-inline: 0; inset-block-end: 0; height: 4px; background: rgba(255,255,255,.15); }
.stage-progress i { display: block; width: 0; height: 100%; background: #42d295; }
.filmstrip { overflow: hidden; margin-top: 22px; padding-bottom: 40px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.filmstrip-track { display: flex; gap: 12px; width: max-content; animation: marquee 140s linear infinite; }
.filmstrip:hover .filmstrip-track { animation-play-state: paused; }
.film { position: relative; flex: 0 0 auto; width: 190px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: #0a3d2d; cursor: pointer; }
.film img { width: 100%; aspect-ratio: 1.75; object-fit: cover; opacity: .78; transition: opacity .2s; }
.film:hover img { opacity: 1; }
.film span { position: absolute; inset-inline: 0; inset-block-end: 0; padding: 14px 10px 6px; background: linear-gradient(transparent, rgba(3,30,21,.9)); color: white; font: 600 12px var(--font); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; padding-block: 50px; border-bottom: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column; gap: 2px; padding-inline: 24px; border-inline-start: 1px solid var(--line); }
.stats div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.stats strong { color: var(--green); font-size: clamp(30px,3.6vw,44px); line-height: 1.2; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 14px; }

/* ---------- Services ---------- */
.services { padding-block: 84px; background: #f3f6f2; }
.services h2,.partners h2,.lead h2 { margin: 5px 0 0; font-size: clamp(25px,3vw,36px); line-height: 1.45; letter-spacing: -.025em; }
.services-lead { max-width: 700px; margin: 10px 0 34px; color: var(--muted); font-size: 15px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.service-grid article { padding: 28px; border: 1px solid #dfe7e0; border-radius: 10px; background: white; }
.service-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--green); color: white; font-weight: 700; font-size: 14px; }
.service-grid h3 { margin: 16px 0 10px; color: var(--green-deep); font-size: 19px; }
.service-grid ul { margin: 0; padding-inline-start: 18px; color: #4d5b54; font-size: 14px; line-height: 2; }
.service-grid li::marker { color: var(--green-bright); }
.owner-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 26px 30px; border-radius: 10px; background: var(--green-deep); color: white; }
.owner-cta div { display: flex; flex-direction: column; gap: 2px; }
.owner-cta strong { font-size: 20px; }
.owner-cta span { color: rgba(255,255,255,.78); font-size: 14px; }
.owner-cta .button-primary { background: white; color: var(--green-deep); flex: 0 0 auto; }

/* ---------- Partners ---------- */
.partners { padding-block: 80px 70px; overflow: hidden; }
.partners-marquee { margin-top: 30px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.partners-track { display: flex; gap: 18px; width: max-content; animation: marquee 70s linear infinite; }
.partners-track img { height: 260px; width: auto; border-radius: 8px; }
.partners-marquee:hover .partners-track { animation-play-state: paused; }

/* ---------- Lead form ---------- */
.lead { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; padding-block: 84px; border-bottom: 1px solid var(--line); }
.lead p { color: var(--muted); font-size: 15px; }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; padding: 28px; border: 1px solid #dfe7e0; border-radius: 12px; background: #fbfcfa; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; color: #3d4b44; font-size: 13px; font-weight: 600; }
.lead-form input,.lead-form select { min-height: 46px; padding: 0 12px; border: 1px solid #d6e0d9; border-radius: 7px; background: white; color: var(--ink); font-size: 16px; font-weight: 400; }
.lead-form input:focus,.lead-form select:focus { outline: 0; border-color: #82b99e; box-shadow: 0 0 0 3px rgba(20,147,95,.1); }
.lead-submit { grid-column: 1 / -1; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; z-index: 30; inset-inline-start: 20px; inset-block-end: calc(20px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: white; box-shadow: 0 10px 26px rgba(0,0,0,.22); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Project dialog ---------- */
.project-dialog { width: min(1400px, calc(100% - 24px)); max-width: none; height: calc(100% - 24px); max-height: none; padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: white; box-shadow: 0 24px 90px rgba(0,0,0,.4); }
.project-dialog::backdrop,.video-dialog::backdrop { background: rgba(4,20,13,.84); backdrop-filter: blur(5px); }
.dialog-body { display: grid; grid-template-columns: minmax(0,1fr) 330px; height: 100%; }
.dialog-image-wrap { position: relative; overflow: auto; background: #1d2622; display: grid; place-items: center; overscroll-behavior: contain; }
.dialog-image-wrap img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; cursor: zoom-in; }
.dialog-image-wrap.is-zoomed { place-items: start; }
.dialog-image-wrap.is-zoomed img { max-width: none; max-height: none; width: 220%; cursor: zoom-out; }
.zoom-toggle { position: sticky; z-index: 3; inset-block-start: 12px; inset-inline-start: 12px; align-self: start; justify-self: start; grid-area: 1 / 1; margin: 12px; padding: 7px 14px; border: 0; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--green-deep); font: 600 13px var(--font); cursor: pointer; }
.dialog-image-wrap > img { grid-area: 1 / 1; }
.dialog-nav { position: absolute; z-index: 3; top: 50%; width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--green-deep); font-size: 26px; line-height: 1; cursor: pointer; }
.dialog-prev { right: 14px; }
.dialog-next { left: 14px; }
.dialog-image-wrap.is-zoomed .dialog-nav { position: fixed; }
.dialog-side { display: flex; flex-direction: column; gap: 14px; overflow: auto; padding: 22px 24px; border-inline-start: 1px solid var(--line); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; }
.dialog-index { color: var(--muted); font-size: 12px; }
.dialog-side h2 { margin: 0; color: var(--green-deep); font-size: 26px; line-height: 1.35; }
.dialog-close { width: 40px; height: 40px; border: 1px solid #e3e9e4; border-radius: 50%; background: white; color: #5e6b63; font-size: 26px; line-height: 1; cursor: pointer; }
.status { align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.status-full { background: var(--green); color: white; }
.status-partial { background: #e6f3ea; color: var(--green-deep); }
.status-none { background: #f0f3f1; color: #5e6b63; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 4px 0; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.dialog-actions { display: grid; gap: 10px; margin-top: auto; }
.dialog-actions .button { width: 100%; font-family: inherit; cursor: pointer; }
.button-ghost { border: 1px solid #e3e9e4; background: white; color: #4a5a51; overflow-wrap: anywhere; }

/* ---------- Video dialog ---------- */
.video-dialog { width: auto; max-width: calc(100% - 24px); max-height: calc(100% - 24px); padding: 0; overflow: visible; border: 0; background: transparent; }
.video-dialog video { display: block; height: min(86vh, 1100px); max-width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; background: black; }
.video-close { position: absolute; z-index: 2; inset-block-start: 10px; inset-inline-start: 10px; }

/* available units */
.available { padding-block: 72px 10px; }
.available-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.available-card { display: grid; grid-template-columns: 44% 1fr; overflow: hidden; border: 1px solid #e3eae5; border-radius: 10px; background: white; }
.available-card img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.available-card > div { padding: 18px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.available-card .badge { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; background: #e8f4ee; color: var(--green-deep); }
.available-card h3 { margin: 4px 0 0; color: var(--green-deep); font-size: 18px; }
.available-card p { margin: 0; color: var(--muted); font-size: 13px; }
.available-actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.available-actions .button { min-height: 40px; padding: 8px 14px; font-size: 13px; font-family: inherit; cursor: pointer; }
.video-tabs { position: absolute; z-index: 2; inset-block-end: calc(100% + 10px); inset-inline: 0; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.video-tabs button { border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 6px 14px; background: rgba(0,0,0,.35); color: white; font: inherit; font-size: 13px; cursor: pointer; }
.video-tabs button.is-active { background: white; color: var(--green-deep); }
.video-dialog { margin-top: 64px; }
@media (max-width: 900px) { .available-grid { grid-template-columns: 1fr; } }
@media (max-width: 650px) {
  .available-card { grid-template-columns: 1fr; }
  .available-card img { aspect-ratio: 1.75; min-height: 0; }
  .video-dialog video { height: min(76vh, 1100px); }
}

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 28px; }
  .stats div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .lead { grid-template-columns: 1fr; gap: 20px; }
  .dialog-body { grid-template-columns: 1fr; grid-template-rows: minmax(0,1fr) auto; }
  .dialog-side { max-height: 46vh; border-inline-start: 0; border-top: 1px solid var(--line); padding: 16px; gap: 10px; }
  .dialog-side h2 { font-size: 21px; }
  .dialog-actions { grid-template-columns: 1fr 1fr; }
  .dialog-actions .button { min-height: 42px; padding: 8px 10px; font-size: 13px; }
}
@media (max-width: 650px) {
  .showreel { padding-top: 46px; }
  .showreel-inner { width: calc(100% - 32px); }
  .showreel-head { flex-direction: column; align-items: stretch; }
  .stage { aspect-ratio: 4 / 5; }
  .stage-info { max-width: calc(100% - 36px); inset-block-end: 86px; }
  .stage-controls { inset-inline-end: auto; inset-inline-start: 18px; inset-block-end: 22px; }
  .stage-meta { font-size: 13px; }
  .film { width: 140px; }
  .stats { padding-block: 36px; }
  .stats div { padding-inline: 12px; }
  .stats span { font-size: 12px; }
  .services { padding-block: 56px; }
  .owner-cta { flex-direction: column; align-items: stretch; padding: 22px; }
  .partners { padding-block: 56px 50px; }
  .partners-track img { height: 180px; }
  .lead { padding-block: 56px; }
  .lead-form { grid-template-columns: 1fr; padding: 18px; }
  .project-dialog { width: 100%; height: 100%; border-radius: 0; }
  .dialog-nav { width: 38px; height: 38px; margin-top: -19px; font-size: 22px; }
  .dialog-image-wrap.is-zoomed img { width: 300%; }
  .hero-stats { flex-wrap: wrap; gap: 14px 24px; }
  .wa-float { width: 50px; height: 50px; inset-inline-start: 14px; }
}

@media (min-width: 1400px) {
  .project-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .hero { min-height: 500px; gap: 30px; }
  .hero-visual { width: min(100%,390px); }
  .intro { grid-template-columns: .45fr 1.55fr; gap: 24px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .profile-heading { align-items: start; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 70px; }
  .section-wrap { width: min(100% - 32px, 520px); }
  .site-header { height: 68px; padding-inline: 16px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 7px 13px; border: 1px solid #dce6de; border-radius: 6px; background: white; color: var(--green); font-size: 12px; }
  .main-nav { display: none; position: absolute; inset-inline: 12px; inset-block-start: 60px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 12px 30px rgba(20,48,32,.12); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px 12px; }
  .main-nav .nav-cta { margin-top: 4px; text-align: center; }
  .hero { grid-template-columns: 1fr; gap: 35px; min-height: 0; padding: 52px 20px 58px; }
  .hero h1 { font-size: 46px; }
  .hero-description { font-size: 15px; }
  .hero-stats { margin-top: 30px; gap: 25px; }
  .hero-visual { width: min(100%,420px); }
  .intro { grid-template-columns: 1fr; gap: 10px; padding-block: 49px; }
  .intro-content { display: block; }
  .intro p { margin-bottom: 16px; }
  .projects-section { padding-block: 55px 62px; }
  .section-heading { display: block; margin-bottom: 22px; }
  .search-box { width: 100%; margin-top: 20px; }
  .project-grid { gap: 12px; }
  .project-image { aspect-ratio: 1.7; }
  .project-card-info { padding: 10px 11px 12px; }
  .project-card-info strong { font-size: 12px; }
  .project-arrow { width: 26px; height: 26px; }
  .project-number { inset-block-start: 8px; inset-inline-start: 8px; min-width: 29px; height: 23px; }
  .profile-section { padding-block: 50px 60px; }
  .profile-heading { display: block; margin-bottom: 22px; }
  .profile-heading .button { margin-top: 18px; }
  .reader-toolbar { align-items: start; flex-direction: column; gap: 10px; padding: 12px; }
  .page-controls { width: 100%; justify-content: space-between; }
  .reader-canvas { min-height: 200px; padding: 8px; }
  .reader-canvas img { max-height: 68vh; }
  .reader-footer { padding-inline: 12px; font-size: 10px; }
  .contact-section { display: block; padding-block: 50px; }
  .contact-actions { margin-top: 20px; }
  .contact-actions .button { flex: 1 1 100%; }
  .site-footer { min-height: 90px; flex-wrap: wrap; gap: 8px 15px; padding: 18px 16px; }
  .site-footer p { order: 3; width: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.contact-office { margin: 16px 0 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.contact-office strong { color: var(--green-deep); }
.contact-office a { color: var(--green); font-weight: 600; white-space: nowrap; }

/* logo + current projects */
.brand-logo { width: 40px; height: auto; display: block; }
.footer-brand .brand-logo { width: 32px; }
.current { padding-block: 76px 40px; }
.current-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.current-card { overflow: hidden; border: 1px solid #e3eae5; border-radius: 12px; background: white; display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease; }
.current-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(21,60,42,.1); }
.current-card[hidden] { display: none; }
.current-image { position: relative; aspect-ratio: 16 / 9; background: #eef3ef; overflow: hidden; }
.current-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.current-image .badge { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: white; background: #1fa855; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.current-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.current-body small { color: var(--green); font-weight: 600; font-size: 13px; }
.current-body h3 { margin: 0; color: var(--green-deep); font-size: 21px; }
.current-tags { align-self: flex-start; padding: 3px 10px; border-radius: 6px; background: #eef6f1; color: var(--green-deep); font-size: 12px; font-weight: 600; }
.current-body p { margin: 4px 0 0; color: #4d5b54; font-size: 14px; line-height: 1.85; }
.current-actions { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.current-actions .button { min-height: 42px; padding: 8px 16px; font-size: 13px; }
@media (max-width: 900px) { .current-grid { grid-template-columns: 1fr; } }
