@font-face{font-family:PortfolioDisplay;src:url(events/assets/fonts/alexandria-ar.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:PortfolioText;src:url(events/assets/fonts/plex-ar-regular.woff2) format("woff2");font-display:swap}
@font-face{font-family:PortfolioText;src:url(events/assets/fonts/plex-ar-bold.woff2) format("woff2");font-weight:700;font-display:swap}
body.portfolio{--paper:#faf6ef;--ink:#321729;--rust:#b43a19;--line:#d8cec7;--muted:#695c61;--bg:var(--paper);--text:var(--ink);--accent:var(--rust);background:var(--paper);color:var(--ink);font-family:PortfolioText,Arial,sans-serif}
body.portfolio :is(h1,h2,h3){font-family:PortfolioDisplay,Arial,sans-serif}
html:lang(ar) body[data-studio="events"] .case-intro .kind + h1{padding-block-start:.16em}
body.portfolio .portfolio-head{display:flex;align-items:center;justify-content:space-between;gap:16px;width:min(100%,1320px);margin:0 auto;padding:10px clamp(14px,3vw,44px);min-height:72px;border:0;border-bottom:1px solid #d8cec7;background:#faf6ef;color:#321729;box-sizing:border-box;position:relative;z-index:12;font:600 15px/1.3 PortfolioText,Arial,sans-serif}
.portfolio-head .identity{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px}
body .portfolio-head .identity img{display:block;width:clamp(86px,9vw,112px);height:auto}
body .portfolio-head .portfolio-nav{display:flex;align-items:center;gap:clamp(8px,2vw,24px);margin:0;padding:0}
body .portfolio-head a{color:#321729;text-decoration:none;white-space:nowrap}
body .portfolio-head .portfolio-nav>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:0 4px;border:0;background:none;font:inherit}
body .portfolio-head .portfolio-nav>.lang-link{padding:0 10px;border:1px solid #c8b7ae;border-radius:4px;font-family:PortfolioText,Arial,sans-serif}
body.portfolio .portfolio-head .portfolio-nav>.header-contact{padding:0 14px;color:#fff;background:#a3371c;border:1px solid #a3371c;border-radius:4px}
body .portfolio-head a:hover{text-decoration:underline;text-underline-offset:4px}
.portfolio :is(a,button,input,summary,select,textarea):focus-visible{outline:3px solid #b43a19;outline-offset:3px}
.portfolio .portfolio-head .identity::after{content:none}
body[data-studio="motion"] .hero,body[data-studio="motion"] dialog{background:#321729;color:#faf6ef;--text:#faf6ef;--accent:#ffaf86;--muted:#e2d4d8;--line:#715563}
body[data-studio="motion"] .project{background:#f1e9e1;color:#321729;--project-accent:#a53617;border-block-start:1px solid #d8cec7}
body[data-studio="motion"] .project:nth-of-type(even){background:#faf6ef}
body[data-studio="motion"] .theme-line{border-color:#9e7768}
body[data-studio="motion"] .work-jumps a{background:#fffaf4}
body[data-studio="motion"] :is(.text-button,.reel-ask){color:#903015}
body[data-studio="motion"] .craft-tabs button{border-color:#b19d95;color:#321729}
body[data-studio="motion"] .craft-tabs button[aria-pressed=true],body[data-studio] .choice-grid input:checked+span{background:#321729;color:white;border-color:#321729}
body[data-studio] .request{background:#f1e8df;color:#321729}
body[data-studio] .request :is(input:not([type=radio]):not([type=checkbox]),select,textarea),body[data-studio="motion"] .choice-grid span{color:#321729;background:#fffaf5;border-color:#bbaaa2}
body[data-studio="motion"] .request .primary,body[data-studio="motion"] .mobile-dock a:last-child{background:#a3371c;color:white}
body[data-studio="motion"] .request :is(.form-note,.summary p,.extra-fields>summary span){color:#60505a}
body[data-studio="motion"] .mobile-dock{background:#321729;color:white}
html[lang="en"] body.portfolio{font-family:Arial,sans-serif}
html[lang="en"] body.portfolio :is(h1,h2,h3){font-family:Arial,sans-serif;line-height:1.14;letter-spacing:-.035em}
html[lang="en"] .portfolio-nav{font-family:Arial,sans-serif}
html[lang="en"] :is(p,figcaption,summary,label,button){overflow-wrap:break-word}
@media(max-width:1023px){
 body.portfolio .portfolio-head{width:100vw;margin-inline:calc(50% - 50vw);gap:8px;min-height:65px;padding:8px 12px}
 body.portfolio .portfolio-head .portfolio-nav{gap:8px;font-size:14px;flex-wrap:nowrap}
 body .portfolio-head .portfolio-nav>.header-context{display:none}
 body.portfolio .portfolio-head .portfolio-nav>:is(.lang-link,.header-contact){padding-inline:8px}
 .portfolio-head .identity small{display:none}
}
@media(max-width:699px){html[lang="en"] body.portfolio h1{font-size:clamp(32px,8vw,54px)}}


.portfolio-head .identity{flex-direction:column;gap:1px}
.portfolio-head .section-menu{position:relative;flex:none}
.section-menu summary{display:flex;align-items:center;gap:7px;min-height:44px;list-style:none;padding-inline:6px;cursor:pointer;white-space:nowrap}
.section-menu summary::after{content:"";width:5px;height:5px;flex:none;border-right:1px solid;border-bottom:1px solid;transform:translateY(-2px) rotate(45deg)}
.section-menu[open] summary::after{transform:translateY(1px) rotate(225deg)}
.section-menu .compact-menu-label{display:none}
.section-menu summary::-webkit-details-marker{display:none}
.section-menu .menu-links{position:absolute;inset-inline-end:0;top:100%;min-width:max-content;padding:6px;background:var(--paper);border:1px solid #c8b7ae;box-shadow:0 6px 18px #32172922}
.portfolio-head .menu-links a{display:flex;align-items:center;min-height:44px;padding-inline:12px;text-decoration:underline;text-underline-offset:4px}
.portfolio-head .menu-links a[aria-current]{font-weight:800}
@media(max-width:1023px){
 .portfolio-head .section-menu{position:static}
 .section-menu .menu-links{inset-inline-end:10px;inline-size:max-content;min-width:0;max-inline-size:calc(100% - 20px);box-sizing:border-box}
 .portfolio-head .menu-links a{white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:365px){
 body.portfolio .portfolio-head{gap:6px;padding-inline:8px}
 body.portfolio .portfolio-head .portfolio-nav{gap:6px;font-size:13px}
 body.portfolio .portfolio-head .portfolio-nav>:is(.lang-link,.header-contact){padding-inline:6px}
 .section-menu summary{padding-inline:2px;gap:5px}
 .section-menu .full-menu-label{display:none}
 .section-menu .compact-menu-label{display:inline}
}
.process-film{margin-block:clamp(28px,4vw,54px)}
.process-film p{margin:.4em 0 1em}
body.portfolio .process-film video{display:block;width:min(100%,420px);height:auto;aspect-ratio:9/16;background:#211921;object-fit:contain}
.portfolio .photo-viewer{box-sizing:border-box;max-width:96vw;width:max-content;max-height:95vh;padding:10px;background:#24151e;border:0;color:#faf6ef}
.portfolio .photo-viewer::backdrop{background:#180e18dc}
.portfolio .photo-viewer img{display:block;max-width:90vw;max-height:calc(90vh - 65px);width:auto;height:auto;object-fit:contain}
.portfolio .photo-viewer button{display:block;margin-inline-start:auto;min-height:44px;padding-inline:14px;background:#faf6ef;color:#321729;border:0;cursor:pointer}
.case-angles a:has(img),.tour-stills a:has(img){cursor:zoom-in}
@media(prefers-reduced-motion:no-preference){html:focus-within{scroll-behavior:smooth}}
.portfolio-head .identity small{font:600 11px/1.2 PortfolioText,Arial,sans-serif;color:#69535d}
body[data-studio="products"] .hero-actions>.primary,body[data-studio="products"] .request form .button{background:#a3371c;color:white}
body[data-studio="products"] .button:hover{background:#872910;color:white}
body[data-studio="products"] :is(.ticker span,.request em){color:#973416}
body[data-studio="products"] .calculator input{accent-color:#a3371c}
body[data-studio="products"] :is(.offer-intro,.included p,.offer .small,.estimate>span,.estimate>p:not(.eyebrow)){color:#e0d3d7}
html[lang="en"] .feature-copy h1 em{text-align:start}
@media(min-width:651px){
 html[lang="en"] .billboard::before{background:linear-gradient(to right,#2b1525 0%,#2b1525 23%,rgba(43,21,37,.95) 31%,rgba(43,21,37,.48) 47%,transparent 68%)}
 html[lang="en"] .feature-frame{left:auto;right:0}
 html[lang="en"] .feature-copy{padding-inline:clamp(23px,3.8vw,66px) 16px}
 html[lang="en"] .feature-copy h1{font-size:clamp(44px,4.6vw,74px)}
 html[lang="en"] body[data-studio="archviz"] .hero h1{font-size:clamp(30px,4.15vw,65px)}
}
@media(max-width:699px){
 body .portfolio-head .portfolio-nav>.back-gallery{display:none}
}

/* The signature finishes at the exact dimensions and geometry of the master SVG. */
.portfolio-head .horizon-signature{display:block;width:clamp(86px,9vw,112px);height:auto}
/* The approved visible widths are 80/56 on phones and 88/64 on wider screens. */
:root{--horizon-full-box:85.3px;--horizon-symbol-box:61.2px}
@media(min-width:760px){:root{--horizon-full-box:93.8px;--horizon-symbol-box:69.9px}}
/* Loading states: the horizon symbol itself, centred and large enough to read as the brand.
   The bars rise one after another (horizon-wait*.svg). Never blocks clicks. */
.horizon-notice{position:fixed;z-index:1000;display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px 26px 14px;background:#faf6eff2;color:#321729;border:1px solid #d8cec7;border-radius:10px;box-shadow:0 10px 34px #3217292b;font:600 14px/1.35 PortfolioText,Arial,sans-serif;white-space:nowrap;pointer-events:none}
.horizon-notice::before{content:"";flex:none;width:var(--horizon-symbol-box);height:calc(var(--horizon-symbol-box) * 39 / 49);background:center/contain no-repeat url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0xMSAwIDQ5IDM5IiByb2xlPSJpbWciIGFyaWEtbGFiZWw9Itij2KjZiNio2YPYsSDigJQg2YLZiNizINin2YTYo9mB2YIiPjxkZWZzPjxjbGlwUGF0aCBpZD0iaG9yaXpvbi1lZGdlIj48cGF0aCBkPSJNLTYgLTVIMzNWMzMuOFExMy41IDMwLjUgLTYgMzMuOFoiIC8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xpcC1wYXRoPSJ1cmwoI2hvcml6b24tZWRnZSkiPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMy40NjMpIHNrZXdZKC0xMykiPjxnIGNsYXNzPSJiYXIiPjxyZWN0IHg9IjAiIHk9IjEyLjMiIHdpZHRoPSI3IiBoZWlnaHQ9IjE3LjciIGZpbGw9IiMzMjE3MjkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTEuOTAxKSIgLz48L2c+PGcgY2xhc3M9ImJhciI+PHJlY3QgeD0iMTAiIHk9IjMuNiIgd2lkdGg9IjciIGhlaWdodD0iMjYuNCIgZmlsbD0iI0I0M0ExOSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAwLjA2MykiIC8+PC9nPjxnIGNsYXNzPSJiYXIiPjxyZWN0IHg9IjIwIiB5PSI4LjEiIHdpZHRoPSI3IiBoZWlnaHQ9IjIxLjkiIGZpbGw9IiMzMjE3MjkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgNC4zMjYpIiAvPjwvZz48L2c+PC9nPjxwYXRoIGZpbGw9IiMzMjE3MjkiIGQ9Ik0tNiAzMy44IFExMy41IDI0Ljk1IDMzIDMzLjggUTEzLjUgMzAuNSAtNiAzMy44WiIgLz48cGF0aCBmaWxsPSIjQjQzQTE5IiBkPSJNLTguNiAzNi4wOCBRMTMuNSAyOC41OCAzNS42IDM2LjA4IEMzNi4wOCAzNi4yNSAzNS45IDM2LjkxIDM1LjQyIDM2Ljc4IFExMy41IDMwLjYyIC04LjQyIDM2Ljc4IEMtOC45NCAzNi45MyAtOS4xMCAzNi4yNSAtOC42IDM2LjA4WiIgLz48c3R5bGU+DQouYmFye3RyYW5zZm9ybS1ib3g6ZmlsbC1ib3g7dHJhbnNmb3JtLW9yaWdpbjo1MCUgMTAwJX0NCkBtZWRpYShwcmVmZXJzLXJlZHVjZWQtbW90aW9uOm5vLXByZWZlcmVuY2Upew0KICAuYmFye2FuaW1hdGlvbjpoei1iYXItYnJlYXRoZSAxLjZzIGN1YmljLWJlemllciguNDUsMCwuMjUsMSkgaW5maW5pdGV9DQogIC5iYXI6bnRoLW9mLXR5cGUoMil7YW5pbWF0aW9uLWRlbGF5Oi4xNnN9DQogIC5iYXI6bnRoLW9mLXR5cGUoMyl7YW5pbWF0aW9uLWRlbGF5Oi4zMnN9DQogIEBrZXlmcmFtZXMgaHotYmFyLWJyZWF0aGV7MCUsMTAwJXt0cmFuc2Zvcm06c2NhbGVZKC4xOCl9MzUlLDYyJXt0cmFuc2Zvcm06c2NhbGVZKDEpfX0NCn0NCjwvc3R5bGU+PC9zdmc+)}
.horizon-notice[hidden],.page-wait{display:none}
.page-wait{top:max(5px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);padding:0;border:0;background:transparent;box-shadow:none}
.page-wait::before{filter:drop-shadow(0 0 3px #faf6ef)}
.page-pending .page-wait,.route-pending .page-wait{display:flex}
/* Over a film the badge sits in the centre of the frame, on the burgundy film colour. */
.video-wait{background:#321729e6;color:#faf6ef;border-color:#ffaf8640;box-shadow:0 10px 34px #0006}
.video-wait::before{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0xMSAwIDQ5IDM5IiByb2xlPSJpbWciIGFyaWEtbGFiZWw9Itij2KjZiNio2YPYsSDigJQg2YLZiNizINin2YTYo9mB2YIiPjxkZWZzPjxjbGlwUGF0aCBpZD0iaG9yaXpvbi1lZGdlIj48cGF0aCBkPSJNLTYgLTVIMzNWMzMuOFExMy41IDMwLjUgLTYgMzMuOFoiIC8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xpcC1wYXRoPSJ1cmwoI2hvcml6b24tZWRnZSkiPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMy40NjMpIHNrZXdZKC0xMykiPjxnIGNsYXNzPSJiYXIiPjxyZWN0IHg9IjAiIHk9IjEyLjMiIHdpZHRoPSI3IiBoZWlnaHQ9IjE3LjciIGZpbGw9IiNGQUY2RUYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTEuOTAxKSIgLz48L2c+PGcgY2xhc3M9ImJhciI+PHJlY3QgeD0iMTAiIHk9IjMuNiIgd2lkdGg9IjciIGhlaWdodD0iMjYuNCIgZmlsbD0iI0ZGQUY4NiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAwLjA2MykiIC8+PC9nPjxnIGNsYXNzPSJiYXIiPjxyZWN0IHg9IjIwIiB5PSI4LjEiIHdpZHRoPSI3IiBoZWlnaHQ9IjIxLjkiIGZpbGw9IiNGQUY2RUYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgNC4zMjYpIiAvPjwvZz48L2c+PC9nPjxwYXRoIGZpbGw9IiNGQUY2RUYiIGQ9Ik0tNiAzMy44IFExMy41IDI0Ljk1IDMzIDMzLjggUTEzLjUgMzAuNSAtNiAzMy44WiIgLz48cGF0aCBmaWxsPSIjRkZBRjg2IiBkPSJNLTguNiAzNi4wOCBRMTMuNSAyOC41OCAzNS42IDM2LjA4IEMzNi4wOCAzNi4yNSAzNS45IDM2LjkxIDM1LjQyIDM2Ljc4IFExMy41IDMwLjYyIC04LjQyIDM2Ljc4IEMtOC45NCAzNi45MyAtOS4xMCAzNi4yNSAtOC42IDM2LjA4WiIgLz48c3R5bGU+DQouYmFye3RyYW5zZm9ybS1ib3g6ZmlsbC1ib3g7dHJhbnNmb3JtLW9yaWdpbjo1MCUgMTAwJX0NCkBtZWRpYShwcmVmZXJzLXJlZHVjZWQtbW90aW9uOm5vLXByZWZlcmVuY2Upew0KICAuYmFye2FuaW1hdGlvbjpoei1iYXItYnJlYXRoZSAxLjZzIGN1YmljLWJlemllciguNDUsMCwuMjUsMSkgaW5maW5pdGV9DQogIC5iYXI6bnRoLW9mLXR5cGUoMil7YW5pbWF0aW9uLWRlbGF5Oi4xNnN9DQogIC5iYXI6bnRoLW9mLXR5cGUoMyl7YW5pbWF0aW9uLWRlbGF5Oi4zMnN9DQogIEBrZXlmcmFtZXMgaHotYmFyLWJyZWF0aGV7MCUsMTAwJXt0cmFuc2Zvcm06c2NhbGVZKC4xOCl9MzUlLDYyJXt0cmFuc2Zvcm06c2NhbGVZKDEpfX0NCn0NCjwvc3R5bGU+PC9zdmc+)}
.video-wait.symbol-only{padding:0;gap:0;background:none;border:0;box-shadow:none}
.video-wait.symbol-only::before{filter:drop-shadow(0 1px 2px #321729)}
.portfolio .page-wait::before{filter:drop-shadow(0 1px 2px #faf6ef)}
.hz-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.video-wait.media-error{pointer-events:auto}
.video-wait.media-error::before{background-image:url(events/assets/abubakr-horizon-icon.svg)}
.media-error button{appearance:none;border:0;background:transparent;color:#ffaf86;text-decoration:underline;font:inherit;min-height:44px;cursor:pointer}
@keyframes horizon-bar-in{from{clip-path:inset(100% 0 0)}to{clip-path:inset(0)}}
@keyframes horizon-write{from{clip-path:inset(0 0 0 100%)}to{clip-path:inset(0)}}
@keyframes horizon-caption-in{from{opacity:.28;transform:translateY(5px)}to{opacity:1;transform:none}}
@keyframes horizon-compare{from{opacity:.75}to{opacity:1}}
@media(prefers-reduced-motion:no-preference){
  .first-visit .signature-arc{animation:horizon-write 380ms cubic-bezier(.22,.72,.28,1) both}
  .first-visit .signature-bar{animation:horizon-bar-in 400ms cubic-bezier(.22,.72,.28,1) calc(90ms + var(--bar-delay)) both}
  .first-visit .signature-word{animation:horizon-write 410ms cubic-bezier(.22,.72,.28,1) 240ms both}
  .first-visit main>.intro h1{animation:horizon-caption-in 320ms ease-out both}
  .sahn-compare input:checked~figure:is(.sahn-geometry,.sahn-render){animation:horizon-compare 190ms ease-out}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .portfolio .grid>a>span[aria-hidden=true]{--nudge:-3px;transition:translate 160ms ease-out,background 160ms,color 160ms}
  html[lang=en] .portfolio .grid>a>span[aria-hidden=true]{--nudge:3px}
  .portfolio .grid>a:is(:hover,:focus-visible)>span[aria-hidden=true]{translate:var(--nudge) 0}
}
body[data-studio=motion] .theme-active .theme-line{animation:none}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  .portfolio *,.portfolio ::before,.portfolio ::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .horizon-notice::before{background-image:url(events/assets/abubakr-horizon-icon.svg)}
  .video-wait::before{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0xMSAwIDQ5IDM5IiByb2xlPSJpbWciIGFyaWEtbGFiZWw9Itij2KjZiNio2YPYsSDigJQg2YLZiNizINin2YTYo9mB2YIiPjxkZWZzPjxjbGlwUGF0aCBpZD0iaG9yaXpvbi1lZGdlIj48cGF0aCBkPSJNLTYgLTVIMzNWMzMuOFExMy41IDMwLjUgLTYgMzMuOFoiIC8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xpcC1wYXRoPSJ1cmwoI2hvcml6b24tZWRnZSkiPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMy40NjMpIHNrZXdZKC0xMykiPjxnIGNsYXNzPSJiYXIiPjxyZWN0IHg9IjAiIHk9IjEyLjMiIHdpZHRoPSI3IiBoZWlnaHQ9IjE3LjciIGZpbGw9IiNGQUY2RUYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTEuOTAxKSIgLz48L2c+PGcgY2xhc3M9ImJhciI+PHJlY3QgeD0iMTAiIHk9IjMuNiIgd2lkdGg9IjciIGhlaWdodD0iMjYuNCIgZmlsbD0iI0ZGQUY4NiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAwLjA2MykiIC8+PC9nPjxnIGNsYXNzPSJiYXIiPjxyZWN0IHg9IjIwIiB5PSI4LjEiIHdpZHRoPSI3IiBoZWlnaHQ9IjIxLjkiIGZpbGw9IiNGQUY2RUYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgNC4zMjYpIiAvPjwvZz48L2c+PC9nPjxwYXRoIGZpbGw9IiNGQUY2RUYiIGQ9Ik0tNiAzMy44IFExMy41IDI0Ljk1IDMzIDMzLjggUTEzLjUgMzAuNSAtNiAzMy44WiIgLz48cGF0aCBmaWxsPSIjRkZBRjg2IiBkPSJNLTguNiAzNi4wOCBRMTMuNSAyOC41OCAzNS42IDM2LjA4IEMzNi4wOCAzNi4yNSAzNS45IDM2LjkxIDM1LjQyIDM2Ljc4IFExMy41IDMwLjYyIC04LjQyIDM2Ljc4IEMtOC45NCAzNi45MyAtOS4xMCAzNi4yNSAtOC42IDM2LjA4WiIgLz48c3R5bGU+DQouYmFye3RyYW5zZm9ybS1ib3g6ZmlsbC1ib3g7dHJhbnNmb3JtLW9yaWdpbjo1MCUgMTAwJX0NCkBtZWRpYShwcmVmZXJzLXJlZHVjZWQtbW90aW9uOm5vLXByZWZlcmVuY2Upew0KICAuYmFye2FuaW1hdGlvbjpoei1iYXItYnJlYXRoZSAxLjZzIGN1YmljLWJlemllciguNDUsMCwuMjUsMSkgaW5maW5pdGV9DQogIC5iYXI6bnRoLW9mLXR5cGUoMil7YW5pbWF0aW9uLWRlbGF5Oi4xNnN9DQogIC5iYXI6bnRoLW9mLXR5cGUoMyl7YW5pbWF0aW9uLWRlbGF5Oi4zMnN9DQogIEBrZXlmcmFtZXMgaHotYmFyLWJyZWF0aGV7MCUsMTAwJXt0cmFuc2Zvcm06c2NhbGVZKC4xOCl9MzUlLDYyJXt0cmFuc2Zvcm06c2NhbGVZKDEpfX0NCn0NCjwvc3R5bGU+PC9zdmc+)} /* its bars hold still under reduced motion */
  .portfolio .reveal-ready{opacity:1!important;transform:none!important}
}
/* Entrance: the full signature builds in the centre of an ivory screen (shared intro
   timeline, ~2.3 s), then the page appears. Once per tab; any click, key or scroll skips it. */
.hz-splash{position:fixed;inset:0;z-index:2000;display:none;place-items:center;background:#faf6ef}
.hz-splash svg{display:block;width:var(--horizon-full-box);height:auto;overflow:visible}
.hz-entrance .hz-splash{display:grid;animation:hz-splash-out .45s ease 2.35s both}
@keyframes hz-splash-out{to{opacity:0;visibility:hidden}}
:is(.hz-entrance,.hz-entered) .portfolio-head :is(.signature-arc,.signature-bar,.signature-word){animation:none}
@media print{.horizon-notice,.hz-splash{display:none!important}}

/* Horizon arc motion — shared by the video export and the website loader.
   Geometry comes from the approved SVG; only clip, scale and opacity animate. */
.hz .hz-bar{transform-box:fill-box;transform-origin:50% 100%}
.hz .hz-arc,.hz .hz-line,.hz .hz-word{transform-box:fill-box}

/* INTRO — 2.4 s build: thin line draws from the centre, the arc rises, the three
   bars grow out of the horizon (centre bar last and tallest), then the name writes RTL. */
@keyframes hz-draw-centre{from{clip-path:inset(0 50% 0 50%)}to{clip-path:inset(0 0 0 0)}}
@keyframes hz-arc-rise{from{clip-path:inset(0 50% 0 50%);opacity:0}to{clip-path:inset(0 0 0 0);opacity:1}}
@keyframes hz-bar-grow{0%{transform:scaleY(0)}70%{transform:scaleY(1.06)}100%{transform:scaleY(1)}}
@keyframes hz-write-rtl{from{clip-path:inset(-10% 0 -10% 100%);opacity:.2}to{clip-path:inset(-10% 0 -10% 0);opacity:1}}
/* The symbol is born in the centre of the frame (it sits 121 units right of the
   signature's centre in the approved artwork), then glides home as the name writes. */
@keyframes hz-symbol-home{from{transform:translateX(-121px) scale(1.12)}to{transform:none}}
.hz-intro .hz-symbol-move{transform-box:fill-box;transform-origin:50% 100%;animation:hz-symbol-home .8s cubic-bezier(.65,0,.25,1) 1.30s both}
.hz-intro .hz-line{animation:hz-draw-centre .55s cubic-bezier(.65,0,.35,1) .10s both}
.hz-intro .hz-arc{animation:hz-arc-rise .5s cubic-bezier(.65,0,.35,1) .35s both}
.hz-intro .hz-bar{animation:hz-bar-grow .62s cubic-bezier(.22,.9,.3,1) both}
.hz-intro .hz-bar-1{animation-delay:.70s}
.hz-intro .hz-bar-3{animation-delay:.80s}
.hz-intro .hz-bar-2{animation-delay:.92s}
.hz-intro .hz-word{animation:hz-write-rtl .75s cubic-bezier(.4,0,.2,1) 1.55s both}

/* LOOP — loading indicator, 1.6 s: the bars rise one after another out of a
   static horizon and settle back, like a skyline being built. */
@keyframes hz-bar-breathe{0%,100%{transform:scaleY(.18)}35%,62%{transform:scaleY(1)}}
.hz-loop .hz-bar{animation:hz-bar-breathe 1.6s cubic-bezier(.45,0,.25,1) infinite}
.hz-loop .hz-bar-1{animation-delay:0s}
.hz-loop .hz-bar-2{animation-delay:.16s}
.hz-loop .hz-bar-3{animation-delay:.32s}

@media(prefers-reduced-motion:reduce){
  .hz-intro *,.hz-loop *{animation:none!important}
}

/* Trust & contact layer (site_trust.py). Brand colours from the identity guide. */
.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 20px;background:#a3371c;color:#fff!important;border-radius:6px;font-weight:700;text-decoration:none}
.btn-primary:is(:hover,:focus-visible){background:#321729}
.btn-text{display:inline-flex;align-items:center;min-height:48px;color:#321729;text-decoration:underline;text-underline-offset:5px}
.price-from{display:block;margin-top:4px;color:#b43a19;font-size:15px;font-weight:700}
.draft-mark{font-style:normal;font-size:11px;font-weight:700;margin-inline-start:6px;padding:2px 6px;border:1px dashed #b43a19;border-radius:3px;vertical-align:2px}
.price-note{margin:14px 0 0;font-size:14px;color:#695c61}

/* Home hero: value headline + rotating best work */
.home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:clamp(22px,4vw,56px);align-items:center;padding:clamp(24px,4vw,56px) 0 clamp(18px,3vw,34px)}
.home-hero .eyebrow{margin:0 0 10px;font-weight:700;color:#b43a19;font-size:15px}
.home-hero h1{font-size:clamp(34px,4.6vw,66px);line-height:1.18}
.home-hero .lede{margin:16px 0 22px;font-size:clamp(16px,1.4vw,19px);max-width:34em}
.hero-actions{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center}
.home-hero .field-links{margin:20px 0 0}
.home-hero .field-links a{min-height:40px;font-size:15px}
.home-hero .showcase{margin:0;position:relative;border-radius:10px;overflow:hidden;background:#2b1525;aspect-ratio:16/10}
.home-hero .showcase ul{list-style:none;margin:0;padding:0;height:100%}
.home-hero .showcase .slide{position:absolute;inset:0;opacity:0;transition:opacity .7s ease}
.home-hero .showcase .slide.is-on{opacity:1}
.home-hero .showcase .slide a{display:block;height:100%}
.home-hero .showcase img{width:100%;height:100%;object-fit:cover;display:block}
.slide-cap{position:absolute;inset-inline-start:14px;bottom:14px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:10px 14px;background:#321729d9;color:#faf6ef;border-radius:8px;max-width:calc(100% - 120px)}
.slide-cap small{color:#ffaf86;font-size:13px;font-weight:700}
.slide-cap b{font-family:Alexandria,PortfolioDisplay,Tahoma,sans-serif;font-size:clamp(16px,1.6vw,21px)}
.showcase-ui{position:absolute;inset-inline-end:12px;bottom:14px;display:flex;align-items:center;gap:8px}
.showcase-ui button{appearance:none;border:0;cursor:pointer}
.show-toggle{width:36px;height:36px;border-radius:50%;background:#faf6efe6;color:#321729;font-size:11px}
.dots{display:flex;gap:4px;padding:6px 8px;border-radius:20px;background:#321729b3}
.dots button{width:24px;height:24px;border-radius:50%;background:transparent;position:relative}
.dots button::after{content:"";position:absolute;inset:8px;border-radius:50%;background:#faf6ef80}
.dots button[aria-pressed=true]::after{background:#ffaf86;inset:7px}
.home-hero .showcase :focus-visible{outline:3px solid #ffaf86;outline-offset:2px}

/* About + closing */
.about{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:clamp(22px,4vw,56px);align-items:start;margin-top:clamp(48px,7vw,96px);padding-top:clamp(32px,4vw,52px);border-top:1px solid #d8cec7}
.about-art{margin:0}
.about-art img{width:100%;height:auto;display:block;border-radius:8px}
.about-art figcaption{margin-top:8px;font-size:14px;color:#695c61}
.about h2,.closing h2{font-size:clamp(28px,3.4vw,46px);margin-bottom:12px}
.about h3{font-family:Alexandria,PortfolioDisplay,Tahoma,sans-serif;font-size:22px;margin:26px 0 12px}
.about-copy>p{max-width:54ch;margin:0 0 .85em;line-height:1.8}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;counter-reset:step}
.steps li{counter-increment:step;padding:14px 16px;border:1px solid #d8cec7;border-radius:8px;background:#fffaf5}
.steps b{display:block;font-family:Alexandria,PortfolioDisplay,Tahoma,sans-serif}
.steps b::before{content:counter(step) " · ";color:#b43a19}
.steps span{font-size:15px;color:#695c61}
.closing{margin-top:clamp(40px,6vw,80px);padding:clamp(28px,4vw,48px);background:#321729;color:#faf6ef;border-radius:12px}
.closing p{color:#e9dfe3;max-width:40em;margin:0 0 20px}
.closing-actions{display:flex;flex-wrap:wrap;gap:10px}
.closing-actions a{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:10px 18px;border:1px solid #ffaf8680;border-radius:6px;color:#faf6ef;text-decoration:none}
.closing-actions .btn-primary{border-color:transparent}

/* Footer + floating WhatsApp, every page */
.site-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;max-width:1320px;margin:clamp(40px,6vw,72px) auto 0;padding:22px clamp(16px,4vw,40px) 88px;border-top:1px solid #d8cec7;color:#321729;font:15px/1.5 PortfolioText,Plex,Arial,sans-serif}
.foot-brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}
.site-foot{background:#321729;color:#faf6ef;border-color:#54364a}
.foot-brand img{width:100px;height:auto}
.foot-brand b{display:block;font-family:Alexandria,PortfolioDisplay,Tahoma,sans-serif}
.site-foot .foot-brand small{color:#efdedf}
.foot-contact,.foot-domains{display:flex;flex-wrap:wrap;gap:6px 18px}
.foot-domains{flex-basis:100%;align-items:center}
:is(.foot-contact,.foot-domains) a{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:#b43a19;text-decoration:underline;text-underline-offset:4px}
body[data-studio=motion] .site-foot{color:#faf6ef;border-color:#ffffff26}
body[data-studio=motion] .foot-brand small{color:#d9c9cf}
.site-foot :is(.foot-contact,.foot-domains) a{color:#ffaf86}
.service-close{background:#321729;color:#faf6ef}
.site-foot>small{color:#efdedf}
.wa-float{position:fixed;z-index:900;inset-inline-end:max(16px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#1f8f4e;color:#fff;box-shadow:0 6px 20px #0000004d;transition:transform .16s}
.wa-float:is(:hover,:focus-visible){transform:scale(1.06)}
.wa-float:focus-visible{outline:3px solid #ffaf86;outline-offset:3px}
@media(max-width:820px){
  .home-hero,.about{grid-template-columns:1fr}
  .home-hero .field-links{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;padding-block:2px 6px}
  .home-hero .field-links a{grid-column:span 2;min-width:0;justify-content:center;text-align:center;line-height:1.25;padding:5px 3px;min-height:44px}
  .home-hero .hero-copy{min-width:0}
  .steps{grid-template-columns:1fr}
}
@media(max-width:600px){.slide-cap{max-width:calc(100% - 28px);bottom:58px}.wa-float{width:50px;height:50px}
  body[data-studio=motion] .wa-float{display:none} /* the motion gallery already has its own fixed quote bar */}
@media(prefers-reduced-motion:reduce){.home-hero .showcase .slide{transition:none}}
@media print{.wa-float{display:none}}
.service-rate{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;margin-block:12px 4px;color:inherit}
.service-rate .price-from{color:inherit;font-size:1rem;font-weight:650;margin:0}
.service-rate a{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-decoration:underline;text-underline-offset:4px}
.model-price-note{font-size:.92rem;line-height:1.55}
.campaigns{width:min(100%,1100px);margin:clamp(24px,5vw,68px) auto;padding-block:18px;scroll-margin-top:72px}
[data-studio=motion] .campaigns{width:min(90%,1100px)}
.campaigns h2{font-size:clamp(24px,3vw,38px);line-height:1.3;margin:0 0 12px}
.campaign-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:clamp(16px,3vw,40px);margin-block:20px}
.campaign{min-width:0;scroll-margin-block:80px}
.campaign video{display:block;width:100%;height:auto;max-height:51svh;aspect-ratio:9/16;object-fit:contain;background:#261d23;border-radius:8px}
.campaign h3{font-size:clamp(19px,2vw,26px);line-height:1.35;margin:12px 0 5px}
.campaign p{font-size:1rem;margin:0;line-height:1.55}
.campaign a{display:inline-flex;align-items:center;color:inherit;text-decoration:underline;text-underline-offset:4px;min-height:44px}
.campaign div>a{display:flex;width:fit-content}
@media(min-width:621px){
  [data-studio=products] .campaign{display:grid;grid-template-columns:minmax(100px,44%) 1fr;align-items:center;gap:clamp(12px,2vw,24px)}
  .campaign video{width:min(100%,29svh);max-height:none}
}
@media(max-width:620px){.campaign-grid{grid-template-columns:1fr}.campaign{display:grid;grid-template-columns:minmax(130px,45%) 1fr;align-items:center;gap:14px}.campaign h3{margin-top:0}.campaign p{font-size:.94rem}}

html[lang="ar"] .ar-section-label{font-family:PortfolioText,Tahoma,sans-serif;letter-spacing:normal}

/* Gallery covers and collection controls */
.portfolio .page-wait{inset:50% auto auto 50%;transform:translate(-50%,-50%);padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.hz-entrance .portfolio .page-wait{display:none}
.portfolio .page-wait svg{display:none}
.service-shortcuts{display:none}
.portfolio .gallery-lead{box-sizing:border-box;width:min(100%,1280px);margin:0 auto;padding:clamp(24px,4.2vw,68px) clamp(16px,3vw,42px);display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:clamp(20px,4vw,64px);align-items:center;color:#321729;background:#faf6ef}
.gallery-lead .lead-copy>*{max-width:37rem}
.portfolio .gallery-lead .lead-copy h1{font:700 clamp(38px,4.7vw,78px)/1.2 PortfolioDisplay,Arial,sans-serif;letter-spacing:-.025em;color:#321729;margin:0 0 .2em}
.gallery-lead h1 em{color:#a3371c;font-style:normal}
.portfolio .gallery-lead .lead-copy p:not(.service-rate){font:400 clamp(16px,1.3vw,20px)/1.7 PortfolioText,Arial,sans-serif;margin:10px 0;color:#59494e}
.gallery-lead .service-rate{position:static;margin-block:12px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.gallery-lead .lead-copy a{color:#8e321f;text-underline-offset:4px}
.gallery-lead .service-rate a{color:#fff;background:#a3371c;padding:8px 16px;border-radius:4px}
.pick-deck{min-width:0;margin:0}
.portfolio .pick-slide{position:relative;display:grid;isolation:isolate;align-content:end;width:100%;aspect-ratio:1.65;overflow:hidden;border-radius:8px;text-decoration:none;background:#321729}
.pick-slide img{position:absolute;inset:0;z-index:-2;display:block;width:100%;height:100%;object-fit:cover}
.pick-slide:after{content:"";position:absolute;inset:44% 0 0;z-index:-1;background:linear-gradient(transparent,#20101bd9)}
.portfolio .pick-slide span{display:flex;justify-content:space-between;align-items:center;margin:0;padding:14px 22px;color:#fff;font:700 clamp(20px,2.3vw,34px)/1.45 PortfolioDisplay,Arial,sans-serif}
.pick-slide b{font-size:.7em}
.pick-choices,.browse-filters,.delivery-nav,.process-directory>div{display:flex;flex-wrap:wrap;gap:6px;margin-block:10px}
.pick-choices>button,.browse-filters>button,.delivery-nav>a,.process-directory a,.service-shortcuts a{cursor:pointer;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:5px 13px;border:1px solid #c5b6b8;border-radius:5px;color:#321729;background:#faf6ef;font:600 14px/1.25 PortfolioText,Arial,sans-serif;text-decoration:none}
.pick-choices>button[aria-pressed=true],.browse-filters>button[aria-pressed=true]{background:#321729;border-color:#321729;color:#faf6ef}
.pick-slide,.billboard{touch-action:pan-y pinch-zoom}
.portfolio [data-kind][hidden],.portfolio .pick-slide[hidden]{display:none!important}
.portfolio .browse-filters{margin:14px auto 24px;width:min(100% - 32px,1160px)}
/* Match the events grid's .wrap width and gutters within the modeling shell. */
.modeling-library .modeling-group {
  --grid-width: calc(min(100vw, 1680px) - 2 * clamp(18px, 4vw, 72px));
  width: var(--grid-width);
  margin-inline: calc((100% - var(--grid-width)) / 2);
}
body[data-studio="modeling"] {
  --modeling-section-space: clamp(24px, 3vw, 52px);
}
.modeling-library .modeling-group { padding-block: var(--modeling-section-space); }
.modeling-group > p { margin-block-end: 20px; }
[data-studio="modeling"] #campaigns {
  --campaign-width: min(90vw, 1320px);
  --campaign-media-ratio: 16 / 9;
  --campaign-heading-size: clamp(21px, 1.75vw, 25px);
  width: var(--campaign-width);
  margin: 0 calc((100% - var(--campaign-width)) / 2);
  padding-block: var(--modeling-section-space);
}
[data-studio="modeling"] #campaigns .campaign-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block-end: 0;
}
[data-studio="modeling"] #campaigns .campaign > :is(video,.campaign-still) {
  display: block;
  width: 100%;
  aspect-ratio: var(--campaign-media-ratio);
  object-fit: contain;
}
@media(max-width:759px) {
  [data-studio="modeling"] #campaigns .campaign-grid { grid-template-columns: minmax(0, 1fr); }
  [data-studio="modeling"] #campaigns .campaign {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border: 1px solid #decec4;
    border-radius: 12px;
    background: #fffaf5;
  }
  [data-studio="modeling"] #campaigns .campaign > :is(video,.campaign-still) {
    max-height: none;
    border-radius: 6px;
  }
}
.modeling-group .card { min-inline-size: 0; }
.modeling-card-link { display: block; }
.modeling-card-link .kind { line-height: normal; }
.modeling-card-link h3 {
  min-height: 44px;
  align-content: center;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.modeling-card-link:hover h3 { color: var(--rust); text-decoration: underline; text-underline-offset: 5px; }
.modeling-card-link .desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
@media(min-width:1100px) {
  /* Half rows expand evenly. A remainder of one shares the preceding row as two pairs. */
  .modeling-group .works-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .modeling-group .works-grid > .card { grid-column: span 2; }
  .modeling-group .works-grid:has(> .card:nth-child(3n + 2):last-child) > .card:nth-last-child(-n + 2),
  .modeling-group .works-grid:has(> .card:nth-child(3n + 4):last-child) > .card:nth-last-child(-n + 4) {
    grid-column: span 3;
  }
  .modeling-card-link { height: 100%; }
  .modeling-card-link .kind { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .modeling-card-link h3,
  [data-studio="modeling"] #campaigns .campaign h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    block-size: 2lh;
    align-content: start;
    overflow: hidden;
    white-space: normal;
    text-wrap: balance;
  }
  .modeling-card-link .desc { min-block-size: 2lh; }
  [data-studio="modeling"] #campaigns .campaign p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    block-size: 3lh;
    overflow: hidden;
  }
}
.portfolio #inside-blender .blender-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.process-directory{margin-block:18px}
.process-directory summary{font-weight:700;cursor:pointer;min-height:44px;padding:10px 0}
.case-process{margin-block:28px}
.case-process video,.property-film video{width:100%;max-height:68vh;background:#261420;border-radius:6px;display:block}
.property-film{margin-block:32px;padding:clamp(16px,3vw,38px);background:#f3eae2;border-radius:8px;display:grid;gap:22px;align-items:center;grid-template-columns:.6fr 1.4fr}
.portfolio .campaign-single,.portfolio #safa-offers{box-sizing:border-box;max-width:1000px;margin:22px auto;padding:clamp(12px,2vw,28px);display:grid;gap:12px;justify-items:center}
.campaign-single video,#safa-offers video{width:auto;max-width:100%;max-height:min(72vh,680px);background:#291622;border-radius:6px}
.portfolio #safa-offers h3{font:700 clamp(22px,2.8vw,38px)/1.3 PortfolioDisplay,Arial,sans-serif}
@media(max-width:800px){
 .portfolio .gallery-lead{grid-template-columns:1fr;gap:10px;padding:18px 16px 20px}
 .portfolio .gallery-lead .lead-copy h1{font-size:clamp(29px,7.2vw,45px);line-height:1.22}
 .gallery-lead h1 br{display:none}.gallery-lead h1 br::after{content:" "}
 .portfolio .gallery-lead .lead-copy p:not(.service-rate){font-size:15px;margin:4px 0}
 .gallery-lead .service-rate{margin:6px 0}
 .pick-slide span{padding:10px 14px}
 .pick-choices{gap:3px}.pick-choices>button{flex:1;min-width:0;padding:5px}
 .portfolio #inside-blender .blender-grid,.property-film{grid-template-columns:1fr}
}
@media(max-width:1023px){
 .portfolio .service-shortcuts{width:min(100%,1320px);margin:0 auto;display:flex;align-items:center;flex-wrap:wrap;gap:0 12px;padding:0 14px;border-bottom:1px solid #dfd4cc;background:#faf6ef}
 .service-shortcuts a{padding:2px 0;border:0;border-radius:0;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.page-wait svg *{animation:none!important}}

/* Share the events card proportions and typography across the architecture and discovery grids. */
:is(body[data-studio="archviz"] #works, #discovery) .works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px clamp(16px, 2vw, 30px);
}
:is(body[data-studio="archviz"] #works, #discovery) .card { min-width: 0; }
:is(body[data-studio="archviz"] #works, #discovery) .card-cover {
  display: block;
  position: relative;
  overflow: hidden;
  background: #100e11;
}
:is(body[data-studio="archviz"] #works, #discovery) .card-cover img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9 !important; /* one grid ratio: overrides media_geometry's per-image ratio */
  object-fit: cover;
  transition: transform .28s;
}
:is(body[data-studio="archviz"] #works, #discovery) .card-cover:hover img { transform: scale(1.035); }
:is(body[data-studio="archviz"] #works, #discovery) .zoom {
  position: absolute;
  inset: auto 10px 10px auto;
  inset-inline: auto 10px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: #281723e8;
  color: #fff;
  padding: 4px 10px;
  font-size: .8rem;
}
:is(body[data-studio="archviz"] #works, #discovery) .kind { margin: 12px 0 4px; font-size: .85rem; }
:is(body[data-studio="archviz"] #works, #discovery) .card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  white-space: normal;
  min-height: 0;
  margin: 0;
  font-size: clamp(19px, 1.7vw, 27px);
  font-weight: 630;
  line-height: 1.55;
}
:is(body[data-studio="archviz"] #works, #discovery) .desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.8;
}
#discovery .browse-filters { width: 100%; }
@media(max-width:900px) {
  :is(body[data-studio="archviz"] #works, #discovery) .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media(max-width:650px) {
  :is(body[data-studio="archviz"] #works, #discovery) .works-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }
}
[data-studio="archviz"] #campaigns {
  --campaign-media-ratio: 16 / 9;
  --campaign-columns: minmax(0, 1.32fr) minmax(0, 1fr);
  width: min(100%, 1320px);
}
[data-studio="archviz"] #campaigns .campaign-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
[data-studio="archviz"] #campaigns .campaign > video {
  width: 100%;
  max-height: none;
  aspect-ratio: var(--campaign-media-ratio);
}
@media(max-width:759px) {
  [data-studio="archviz"] #campaigns .campaign-grid,
  [data-studio="archviz"] #campaigns .campaign { grid-template-columns: minmax(0, 1fr); }
  [data-studio="archviz"] #campaigns .campaign {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #decec4;
    border-radius: 12px;
    background: #fffaf5;
  }
}

.portfolio nav.delivery-nav{width:min(100% - 32px,1160px);margin:0 auto 14px;display:flex!important;justify-content:flex-start}
.portfolio .lead-copy .hero-actions{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}
.portfolio .lead-copy .hero-actions a{min-height:44px;display:inline-flex;align-items:center}
.portfolio .lead-copy .hero-actions .primary{color:#fff}

body.portfolio main nav.delivery-nav>a{display:inline-flex!important}
body.portfolio .lead-copy .delivery-links>a:first-child{color:#fff}

/* Gallery entry uses the symbol-only artwork on the viewport, including deep links. */
.hz-gallery-entrance .portfolio .page-wait {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  transform: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: hz-splash-out .25s ease 1.6s both;
}

/* The shared page-wait pseudo-element uses the same animated SVG as a buffering video. */
/* Keep the film, its title and its actions together in wide gallery views. */
@media (min-width: 760px) {
  [data-studio="motion"] #work {
    width: min(calc(100% - 64px), 1320px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(18px, 1.7vw, 28px);
  }
  [data-studio="motion"] #work > * { min-width: 0; grid-column: 1 / -1; }
  [data-studio="motion"] #work > :is(.section-heading, .browse-filters) {
    width: 100%;
    margin-inline: 0;
    margin-block-end: 0;
  }
  [data-studio="motion"] #work > .section-heading { padding-block-end: 0; }
  [data-studio="motion"] #work > .project { border-radius: 12px; overflow: hidden; }
  [data-studio="motion"] #work .project-footer { justify-content: flex-start; gap: 12px 28px; }
  [data-studio="motion"] #work .project-footer p { flex-basis: 100%; }
  [data-studio="motion"] #work > :is(.campaign-single, .warehouse),
  :is([data-studio="products"],[data-studio="modeling"],[data-studio="archviz"]) #campaigns .campaign {
    --film-inset: clamp(14px, 1.4vw, 22px);
    display: grid;
    grid-template-columns: var(--campaign-columns, minmax(0, .94fr) minmax(0, 1fr));
    grid-template-areas: "film copy";
    align-items: center;
    justify-items: stretch;
    gap: clamp(18px, 1.65vw, 28px);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: var(--film-inset);
    position: relative;
    border: 1px solid #decec4;
    border-radius: 12px;
    background: #fffaf5;
    color: #321729;
  }
  [data-studio="motion"] #work > :is(.campaign-single, .warehouse) > video,
  :is([data-studio="products"],[data-studio="modeling"],[data-studio="archviz"]) #campaigns .campaign > :is(video,.campaign-still) {
    grid-area: film;
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    aspect-ratio: var(--campaign-media-ratio, 9 / 16);
    object-fit: contain;
    border-radius: 6px;
    background: #2b1525;
  }
  [data-studio="motion"] #work > :is(.campaign-single, .warehouse) > :is(div,h3),
  :is([data-studio="products"],[data-studio="modeling"],[data-studio="archviz"]) #campaigns .campaign > div { grid-area: copy; min-width: 0; }
  [data-studio="motion"] #work :is(.campaign-single, .warehouse) :is(h2,h3),
  :is([data-studio="products"],[data-studio="modeling"],[data-studio="archviz"]) #campaigns .campaign h3 {
    margin: 0;
    font: 700 var(--campaign-heading-size, clamp(21px, 1.75vw, 30px))/1.48 PortfolioDisplay, Arial, sans-serif;
    text-wrap: balance;
  }
  [data-studio="motion"] #work :is(.campaign-single, .warehouse) p,
  :is([data-studio="products"],[data-studio="modeling"],[data-studio="archviz"]) #campaigns .campaign p {
    font: 400 clamp(16px,1.06vw,18px)/1.7 PortfolioText, Arial, sans-serif;
    margin: 8px 0;
  }
  [data-studio="motion"] #work :is(.warehouse, .campaign-single) a,
  :is([data-studio="products"],[data-studio="modeling"],[data-studio="archviz"]) #campaigns .campaign a { color: #96371e; font-weight: 600; }
  [data-studio="motion"] #work .campaign-single > #campaigns { position: absolute; inset-block-start: 0; }
  [data-studio="motion"] #craft {
    width: min(calc(100% - 64px), 950px);
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 62px);
    padding-block: clamp(48px, 5vw, 80px);
  }
  [data-studio="motion"] #craft .craft-frame { width: 100%; }
  [data-studio="products"] #campaigns { width: 100%; max-width: none; }
  :is([data-studio="products"],[data-studio="modeling"],[data-studio="archviz"]) #campaigns .campaign-grid { gap: clamp(18px,1.7vw,28px); }
  #site-library nav:has(img) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  #site-library nav:has(img) a {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    max-width: none;
    gap: 14px;
  }
  #site-library nav img { width: 100%; height: auto; aspect-ratio: 1.38; }
}
@media (min-width: 960px) {
  [data-studio="motion"] #work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-studio="motion"] #work > :is(.campaign-single, .warehouse) { grid-column: auto; }
}
@media (min-width: 760px) and (max-width: 1099px) {
  [data-studio="motion"] #work > :is(.campaign-single, .warehouse) {
    grid-template-columns: minmax(200px, 34%) minmax(0, 1fr);
  }
  :is([data-studio="products"],[data-studio="modeling"],[data-studio="archviz"]) #campaigns .campaign-grid,
  #site-library nav:has(img) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is([data-studio="products"],[data-studio="modeling"]) #campaigns .campaign { grid-template-columns: 1fr; grid-template-areas: "film" "copy"; }
  [data-studio="products"] #campaigns .campaign video { max-width: 240px; justify-self: center; }
}

@media (min-width: 1100px) {
  [data-studio="modeling"] #campaigns .campaign {
    grid-template-columns: minmax(0, 60%) minmax(0, 1fr);
  }
  [data-studio="modeling"] #campaigns .campaign::before {
    content: "";
    grid-area: film;
    align-self: stretch;
    background: #2b1525;
    border-radius: 6px;
  }
  [data-studio="modeling"] #campaigns .campaign h3 {
    --featured-title-size: clamp(19px, 1.5vw, 22px);
    font-size: var(--featured-title-size);
    line-height: calc(var(--featured-title-size) * 1.48);
  }
  [data-studio="modeling"] #headphones-configurator-feature.campaign h3,
  html[lang="en"] [data-studio="modeling"] #solitaire-ring-feature h3 {
    font-size: clamp(17px, 1.33vw, 19px);
  }
  [data-studio="modeling"] #campaigns .campaign p {
    font-size: clamp(14px, 1.05vw, 15px);
    line-height: 1.55;
  }
  body[data-studio="modeling"] #campaigns .campaign a.campaign-action {
    margin: 0;
    font-size: 16px;
  }
}

[data-studio="motion"] #more-work .shelf-entry:only-child {
  width: min(100%, 650px);
  display: grid;
  grid-template-columns: minmax(110px, .8fr) minmax(0, 1.2fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  padding: clamp(12px, 1.5vw, 20px);
  border: 1px solid #decec4;
  border-radius: 12px;
  background: #fffaf5;
}
[data-studio="motion"] #more-work .shelf-entry:only-child img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 310px;
  aspect-ratio: auto;
  justify-self: center;
}

/* Size the player and its background together, including before playback. */
[data-studio="products"] .project:has(.media video) {
  width: min(100%, 40.5svh, 390px);
  justify-self: center;
}
[data-studio="products"] .project .media:has(video) { aspect-ratio: 9 / 16; }
.portfolio :is(.case-process, .process-film) video[style] {
  width: min(100%, calc(70svh * var(--process-ratio)));
  height: auto;
  aspect-ratio: var(--process-ratio);
  max-height: none;
  object-fit: contain;
  margin: 0;
}
@media (min-width: 720px) {
  .portfolio :is(.case-process, .process-film):has(video[style]) {
    width: min(100%, 870px);
    margin: 32px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(20px, 4vw, 52px);
    align-content: center;
    padding: clamp(18px, 3vw, 40px);
    border: 1px solid #decec4;
    border-radius: 12px;
    background: #fffaf5;
  }
  .portfolio :is(.case-process, .process-film) > video[style] {
    grid-column: 2; grid-row: 1 / span 4; align-self: center;
    width: min(32vw, calc(70svh * var(--process-ratio)));
  }
  .portfolio :is(.case-process, .process-film):has(video[style]) > h2 { align-self: end; }
}
@media (max-width: 719px) {
  .portfolio :is(.case-process, .process-film) video[style] { margin-inline: auto; }
}
@media (max-width: 699px) {
  .portfolio .property-film video[data-portrait-poster] {
    width: min(100%, 38.25svh); height: auto; max-height: none;
    aspect-ratio: 9 / 16; margin-inline: auto; object-fit: contain;
  }
}
.portfolio #inside-blender dialog {
  width: min(95vw, max(310px, calc(70dvh * var(--process-ratio, .5625) + 32px)));
}
.portfolio #inside-blender dialog video {
  width: min(100%, calc(70dvh * var(--process-ratio, .5625)));
  height: auto; max-height: none; margin-inline: auto;
  aspect-ratio: var(--process-ratio, .5625); object-fit: contain;
}
.portfolio #player-dialog:has([data-format="portrait"][aria-pressed="true"]) {
  width: min(96vw, max(340px, calc(58dvh * .5625 + 44px)));
}
.portfolio #player-dialog:has([data-format="portrait"][aria-pressed="true"]) #player {
  width: min(100%, 32.625dvh); height: auto; aspect-ratio: 9 / 16; object-fit: contain;
}

.portfolio #craft .craft-frame {
  aspect-ratio: auto;
  transform: none;
}
.portfolio #craft .craft-frame :is(img, video) {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
}
@media (min-width: 720px) {
  .portfolio :is(.case-process, .process-film):has(video[style]) {
    grid-template-rows: 1fr auto auto 1fr;
  }
  .portfolio :is(.case-process, .process-film):has(video[style]) > h2 { grid-row: 2; }
  .portfolio :is(.case-process, .process-film):has(video[style]) > p { grid-row: 3; }
}
