/* Mobile-first, touch-controlled archive ribbons. */
html .fact strong{color:#f5f8ff}
html .fact strong em{color:#1674ff;font-style:normal}
.experience-statement{margin:24px 0 0;padding:15px 18px;max-width:680px;border-left:2px solid #1674ff;background:#0c1117;color:var(--ink);font-size:1.075rem;line-height:1.55}
.curated-section{overflow:hidden}
.curated-section>p:not(.eyebrow){color:var(--soft-ink)}
.k9-panel{display:flex;gap:16px;align-items:flex-start;border:1px solid #27384b;background:linear-gradient(135deg,#0d1725,#0b0e14 76%);padding:20px;margin-top:22px}
.k9-panel h3{margin:0 0 9px}
.k9-panel p{color:var(--soft-ink);font-size:.9375rem;margin:0}
.k9-gem{color:#1674ff;font-size:2.1rem;line-height:1;flex:none}
.ribbon-title{margin:30px 0 9px}
.endless-scroll{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#344253 #06080a;-webkit-overflow-scrolling:touch;padding:6px 0 15px;touch-action:pan-x pan-y;scroll-snap-type:x proximity}
.endless-scroll:focus-visible{outline:2px solid #1674ff;outline-offset:2px}
.endless-cycle{display:flex;flex:none;gap:12px;padding-right:12px}
.ribbon-card{flex:none;margin:0;overflow:hidden;background:#0b0e14;border:1px solid #24303d;scroll-snap-align:start}
.ribbon-card img{display:block;width:100%;height:100%;object-fit:contain;background:#05070b}
.crystal-item{width:min(70vw,300px);height:min(78vw,340px)}
.award-item{width:min(76vw,310px);height:230px}
.award-item img{object-fit:cover}
.office-item{width:min(160vw,800px);height:min(77vw,385px)}
.office-item img{object-fit:contain}
.logo-item{width:174px;height:126px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:14px 10px;background:#14191f}
.logo-item img{width:100%;height:63px;object-fit:contain;background:transparent}
.logo-item span{font-size:.875rem;line-height:1.2;color:#d8e0e8;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.logo-marquee-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 10px}
.logo-marquee-toolbar .small{margin:0}
.logo-motion-toggle{flex:none;min-height:44px;padding:8px 15px;border:1px solid #3b5066;border-radius:22px;background:#111d2a;color:#e0e9f4;font-size:.875rem}
.logo-motion-toggle:hover{border-color:#6b91b7}
.logo-marquee{display:flex;width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;padding:3px 0 13px}
.logo-marquee::-webkit-scrollbar{display:none}
.logo-marquee:focus-visible{outline:2px solid #88baff;outline-offset:2px}
.logo-marquee-cycle{display:flex;flex:none;gap:12px;padding-right:12px}
.logo-marquee .logo-item{width:174px;height:124px;background:#111a24;border-color:#283b50;border-radius:9px;gap:8px}
.logo-marquee .logo-item img{height:62px;filter:brightness(0) invert(.88)}
.logo-marquee .logo-item span{color:#dce4ed}
.logo-marquee-cycle[aria-hidden="true"]{pointer-events:none}
.ribbon-hint{font-size:.8125rem;color:var(--soft-ink);text-align:center;margin:0 0 17px}
.production-grid{display:grid;gap:14px}
.production-grid figure{margin:0;border:1px solid #25313e;background:#0d1117}
.production-grid img{display:block;width:100%;aspect-ratio:1.68;object-fit:cover;background:#05070b}
.production-grid figcaption{padding:11px 13px;font-size:.8125rem;color:var(--soft-ink)}
.gallery-product-photo{width:100%;height:230px;display:block;object-fit:contain;background:#05070b;border-bottom:1px solid var(--edge)}
#studio-ribbon-mount,#production-mount,#logo-ribbon-mount{margin-top:30px}
#award-ribbon-mount{margin-top:24px}
@media(min-width:700px){.production-grid{grid-template-columns:1fr 1fr}.office-item{width:min(70vw,800px);height:370px}.award-item{height:280px}.crystal-item{width:300px;height:340px}}
@media(max-width:699px){.logo-marquee .logo-item{width:152px;height:112px}.logo-marquee .logo-item img{height:54px}.logo-marquee-toolbar{align-items:flex-start}}

.detail-main-photo{display:block;width:100%;height:auto;max-height:440px;object-fit:contain;background:#05070b;margin:15px 0 20px}
/* Clear product routes and project steps on narrow screens. */
.hero-secondary{display:inline-flex;align-items:center;min-height:44px;margin:8px 0 0 16px;vertical-align:middle;text-decoration:underline;text-underline-offset:4px}
.product-lines{display:grid;grid-template-columns:1fr;gap:16px;margin:22px 0 18px}
.line-card{min-width:0;overflow:hidden;border:1px solid var(--edge);background:var(--surface-2)}
.line-card img{display:block;width:100%;aspect-ratio:1.35;object-fit:contain;background:#05070b}
.line-card>div{padding:19px}
.line-card h3{font-size:1.4rem;line-height:1.25;margin:0 0 9px}
.line-card p{color:var(--soft-ink);margin:0 0 15px}
.line-card .text-link{display:inline-flex;min-height:44px;align-items:center;text-decoration:underline;text-underline-offset:4px}
.process-list{padding:0;margin:24px 0 0;list-style:none;display:grid;grid-template-columns:1fr;gap:12px}
.process-list li{border:1px solid var(--edge);padding:19px;background:var(--surface-2)}
.process-list strong{display:block;font-size:1.04rem;margin-bottom:8px}
.process-list p{color:var(--soft-ink);font-size:.94rem;margin:0}
@media(max-width:430px){.hero-secondary{display:flex;margin:8px 0 0}.bottom-bar .button{min-width:0}}
@media(min-width:700px){.product-lines{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.process-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Three real historical examples visible from the first screen. */
.hero-layout{display:flex;flex-direction:column;gap:20px}
.hero-showcase{min-width:0;order:-1}
.hero-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;border:1px solid var(--edge);background:#05070b}
.hero-gallery::-webkit-scrollbar{display:none}
.hero-gallery:focus-visible{outline:2px solid #418eff;outline-offset:3px}
.hero-slide{flex:0 0 100%;scroll-snap-align:start;min-width:0;margin:0}
.hero-slide img{display:block;width:100%;height:auto;aspect-ratio:1.2;object-fit:contain;background:#05070b}
.hero-slide figcaption{min-height:43px;padding:10px 13px;font-size:.78rem;line-height:1.4;color:var(--soft-ink);background:#0d1219}
.hero-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:9px}
.hero-controls button{width:44px;height:44px;border:1px solid var(--edge);background:var(--panel);color:var(--ink);font-size:1.25rem}
.hero-controls span#hero-index{font-size:.87rem;min-width:44px;text-align:center;font-variant-numeric:tabular-nums}
.hero-controls .small{margin-left:auto;font-size:.77rem;color:var(--soft-ink)}
.gift-case img{aspect-ratio:3/2}
@media(min-width:700px){.hero-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:45px}.hero-showcase{order:0}.hero-slide img{aspect-ratio:1/1}}
@media(min-width:950px){.product-lines{grid-template-columns:repeat(3,minmax(0,1fr))}}
.gallery-card-photo{display:block;width:100%;aspect-ratio:1.35;object-fit:contain;background:#05070b;border-bottom:1px solid var(--edge)}
.bespoke-feature,.presentation-feature{display:grid;gap:22px;align-items:center}
.bespoke-feature figure,.presentation-feature figure{margin:0;min-width:0}
.bespoke-feature img{display:block;width:100%;aspect-ratio:1.45;object-fit:contain;background:#05070b;border:1px solid var(--edge)}
.bespoke-feature figcaption{font-size:.85rem;color:var(--soft-ink);padding:10px 0}
.bespoke-feature h2,.presentation-feature h2{margin-top:0}
.bespoke-feature p,.presentation-feature p{color:var(--soft-ink)}
.bespoke-feature .button{margin-top:10px}
.presentation-feature img{display:block;width:100%;aspect-ratio:1.7;object-fit:cover;object-position:center 83%;background:#f4f4f4;border:1px solid var(--edge)}
@media(min-width:700px){.bespoke-feature{grid-template-columns:1.25fr 1fr;gap:38px}.presentation-feature{grid-template-columns:1fr 1fr;gap:38px}}
/* Keep the mobile page fully readable and leave the inline Telegram actions in place. */
@media(max-width:699px){html body{padding-bottom:env(safe-area-inset-bottom)}html .bottom-bar{display:none!important}}
/* One outlined wordmark gives both custom A letters the same cap line and baseline. */
html .wordmark{align-items:center;letter-spacing:0;gap:0;line-height:1}
html .brand-word{display:block;height:.84em;width:auto;flex:none}
/* Curated photo presentation, September 2026. Reserve height on Safari. */
html .crystal-item{width:min(80vw,340px);height:auto;display:flex;flex-direction:column;background:#030405}
html .crystal-item img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#030405}
.crystal-item figcaption{display:flex;align-items:center;gap:10px;min-height:68px;padding:12px 14px;font-size:.875rem;line-height:1.4;color:#dce4ed;background:#0d1219}
.tech-badge{display:inline-flex;flex:none;padding:4px 8px;border:1px solid #41556e;border-radius:5px;font-size:.875rem;font-weight:600;color:#eaf1ff}
html .logo-marquee .logo-item{width:180px;height:108px;padding:20px;background:#0d1219;border-color:#25313f}
html .logo-marquee .client-logo-mark{display:block;width:140px;height:64px;max-width:none;flex:none;background:#dce4ed;mask-image:var(--client-logo);-webkit-mask-image:var(--client-logo);mask-size:contain;-webkit-mask-size:contain;mask-position:center;-webkit-mask-position:center;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat}
html .bespoke-feature{grid-template-columns:minmax(0,1fr);gap:24px}
html .bespoke-feature img{width:100%;height:auto;aspect-ratio:1.9;object-fit:contain;background:#030405}
.bespoke-feature>div{max-width:760px}
html .presentation-feature img{height:auto;aspect-ratio:1;object-fit:contain;object-position:center;background:#080a0d}
html .line-card img,html .gallery-card-photo{height:auto}
html .award-item{width:min(80vw,360px);height:310px}
html .award-item img{width:100%;height:100%;object-fit:cover;object-position:center}
@media(max-width:699px){html .logo-marquee .logo-item{width:160px;height:100px;padding:16px}html .logo-marquee .client-logo-mark{width:128px;height:60px}html .award-item{height:320px}}
.lighting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}
.lighting-grid figure{min-width:0;margin:0;border:1px solid var(--edge);background:#0d1219}
.lighting-grid img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.lighting-grid figcaption{padding:10px 12px;font-size:.875rem;line-height:1.4;color:var(--soft-ink)}
@media(min-width:900px){.lighting-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Enlarge the photographed Dubai composition without reconstructing the models. */
html .bespoke-feature img{aspect-ratio:1.7;object-fit:cover;object-position:center 58%}

/* Preserve the approved UTEC landscape photograph, award and diploma without cropping. */
html .award-item.utec-award{width:min(80vw,520px);height:auto;align-self:flex-start}
html .award-item.utec-award img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}

/* Ceremony gallery candidate: 14 owner-approved frames, no cropping or upscaling. */
#award-ribbon-mount .award-item{width:min(80vw,var(--card-max,440px));max-width:var(--card-max,440px);height:auto}
#award-ribbon-mount .ceremony-open{display:block;width:100%;padding:0;border:0;background:#05070b;color:inherit;cursor:zoom-in}
#award-ribbon-mount .ceremony-open img{display:block;width:100%;height:300px;object-fit:contain;object-position:center;background:#05070b}
#award-ribbon-mount .award-item figcaption{min-height:66px}
.ceremony-lightbox{width:min(96vw,1720px);max-width:none;max-height:96dvh;margin:auto;padding:0;border:1px solid #38495b;border-radius:10px;background:#080b10;color:#fff}
.ceremony-lightbox::backdrop{background:rgba(0,0,0,.88)}
.ceremony-lightbox-head,.ceremony-lightbox-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px}
.ceremony-lightbox-head{border-bottom:1px solid #273442}
.ceremony-lightbox-head p{margin:0}
.ceremony-lightbox figure{margin:0;display:grid;place-items:center}
.ceremony-lightbox figure img{display:block;width:auto;height:auto;max-width:min(94vw,var(--lightbox-max,1600px));max-height:calc(96dvh - 170px);object-fit:contain;touch-action:pan-y;background:#05070b}
.ceremony-lightbox figcaption{width:100%;padding:10px 16px;color:var(--soft-ink);text-align:center}
.ceremony-lightbox-controls{border-top:1px solid #273442}
.ceremony-lightbox-controls button,.ceremony-lightbox-close{min-width:44px;min-height:44px;border:1px solid #53667c;border-radius:6px;background:#111820;color:#fff;font:inherit}
.ceremony-lightbox-count{font-variant-numeric:tabular-nums}
@media(max-width:760px){#award-ribbon-mount .ceremony-open img{height:clamp(220px,65vw,300px)}.ceremony-lightbox{width:100%;max-width:100%;max-height:100dvh;border-radius:0;overflow-x:hidden}.ceremony-lightbox figure img{max-width:min(100%,var(--lightbox-max,1600px));max-height:calc(100dvh - 170px)}}
@media(prefers-reduced-motion:reduce){#award-ribbon-mount .endless-scroll{scroll-behavior:auto}.ceremony-lightbox *{scroll-behavior:auto;transition:none!important;animation:none!important}}
.utec-award figcaption{padding:12px 14px;font-size:.875rem;line-height:1.5;color:var(--soft-ink)}
.utec-award figcaption a{display:block;padding:5px 0;color:inherit;text-underline-offset:3px}
