:root {
  --ink: #0b0e10;
  --surface: #111619;
  --raised: #192024;
  --border: #41494c;
  --paper: #f2f0e9;
  --muted: #a6adaf;
  --accent: #efc185;
  --steel: #425f66;
  --cool: #89cbd1;
  --line: rgba(255, 255, 255, .13);
  --display: "Unbounded", sans-serif;
  --body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--body); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }


.site-header { position: absolute; top: 0; left: 0; width: 100%; height: 94px; padding: 0 5vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand { display: inline-flex; width: max-content; align-items: center; gap: 10px; font: 700 14px/1 var(--display); letter-spacing: -.7px; }
.brand > span > span { color: var(--accent); }
.brand-mark { width: 32px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.main-nav { display: flex; gap: 42px; font-size: 12px; font-weight: 600; }
.main-nav a, .footer-links a { position: relative; }
.main-nav a::after, .footer-links a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.main-nav a:hover::after, .footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { justify-self: end; font-size: 12px; font-weight: 700; border: 1px solid rgba(255,255,255,.28); border-radius: 50px; padding: 13px 18px; transition: background .25s, color .25s; }
.header-cta:hover { background: var(--paper); color: var(--ink); }
.header-cta:hover span { color: inherit; }
.header-cta span { color: var(--accent); margin-left: 8px; }
.menu-button { display: none; justify-self: end; border: 0; background: none; padding: 10px 0; }
.menu-button span { display: block; width: 26px; height: 1px; margin: 7px 0; background: currentColor; transition: transform .3s; }

.hero { min-height: 720px; height: 100svh; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
#stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; outline: none; }
.no-webgl #stage-canvas { display: none; }
.no-webgl .hero { background: radial-gradient(circle at 72% 38%, rgba(239,193,133,.2), transparent 28%), radial-gradient(circle at 78% 48%, rgba(137,203,209,.11), transparent 35%), var(--ink); }
.hero.webgl-ready #stage-canvas { animation: canvas-in 1.2s cubic-bezier(.16,1,.3,1) both; }
@keyframes canvas-in { from { opacity: .35; } to { opacity: 1; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(11,14,16,.88) 0%, transparent 32%), linear-gradient(90deg, rgba(11,14,16,.38), transparent 35% 82%, rgba(11,14,16,.28)); pointer-events: none; }
.hero-copy { position: absolute; z-index: 3; left: 6vw; bottom: 10vh; width: min(560px, 43vw); }
.hero h1, .statement h2, .services h2, .process h2, .contact h2 { font-family: var(--display); letter-spacing: -.035em; margin: 0; }
.hero h1 { max-width: 560px; font-size: clamp(38px, 4vw, 62px); line-height: 1.01; letter-spacing: -.04em; text-wrap: balance; }
.hero h1 em, .contact h2 em { color: var(--accent); font-style: normal; }
.hero-intro { width: min(440px, 80%); margin: 32px 0 0 6px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 32px; margin: 24px 0 0; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 17px 22px; font-size: 11px; font-weight: 700; letter-spacing: .2px; transition: transform .25s, box-shadow .25s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--paper); color: var(--ink); }
.button-primary:hover { background: var(--accent); }
.button span { font-size: 16px; }
.text-link { font-size: 11px; color: var(--muted); border-bottom: 1px solid #77727f; padding-bottom: 6px; }
.text-link span { color: var(--accent); margin-left: 8px; }

.statement { position: relative; min-height: 580px; padding: 145px 9vw; display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line); }
.statement h2 { font-size: clamp(38px, 5vw, 76px); line-height: 1.03; }
.statement h2 span, .process h2 span { color: #929c9f; }
.statement > div > p { max-width: 500px; margin: 35px 0 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.orbit-seal { position: absolute; right: 8vw; bottom: 60px; width: 130px; height: 130px; display: grid; place-items: center; }
.orbit-seal svg { position: absolute; width: 100%; height: 100%;  }
.orbit-seal text { fill: var(--muted); font-size: 11px; font-family: var(--display); letter-spacing: 2px; }
.orbit-seal span { color: var(--accent); font-size: 24px; }

.services { padding: 130px 7vw 150px; background: var(--surface); }
.services-heading { display: grid; grid-template-columns: 1fr .6fr; align-items: end; margin-bottom: 65px; }
.services-heading h2 { font-size: clamp(38px, 4.2vw, 66px); line-height: 1.03; }
.services-heading > p:last-child { color: var(--muted); font-size: 14px; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;  }
.service-card { position: relative; height: 520px; overflow: hidden; background: var(--surface); border: 1px solid rgba(255,255,255,.1);  transition: transform .15s ease-out, border-color .3s; cursor: pointer; outline: none; }
.service-card:hover, .service-card:focus-visible { border-color: rgba(239,193,133,.75); }
.service-card:focus-visible { box-shadow: 0 0 0 2px rgba(239,193,133,.3); }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--surface) 4%, transparent 72%); }
.card-art { position: absolute; inset: 0; mask-image: linear-gradient(#000 28%, transparent 65%); }
.card-content { position: absolute; z-index: 4; left: 38px; right: 38px; bottom: 36px;  }
.card-content h3 { margin: 0 0 14px; font: 600 clamp(24px, 2.3vw, 38px) var(--display); letter-spacing: -.035em; }
.card-content p { max-width: 480px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tags span { border: 1px solid rgba(255,255,255,.13); border-radius: 50px; padding: 6px 10px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.service-more { position: absolute; right: 0; bottom: 3px; display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px; transition: color .25s; }
.service-more b { color: var(--accent); font-size: 14px; font-weight: 400; transition: transform .25s; }
.service-card:hover .service-more { color: var(--paper); }.service-card:hover .service-more b { transform: translate(3px,-3px); }
.lighting-art { background: radial-gradient(circle at 50% 18%, rgba(239,193,133,.35), transparent 35%); }
.lighting-art i { position: absolute; top: -15%; left: calc(23% + var(--x, 0%)); width: 12%; height: 83%; opacity: .6; transform-origin: top; transform: rotate(var(--r)); background: linear-gradient(90deg, transparent, rgba(239,193,133,.38), transparent); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); filter: blur(5px); }
.lighting-art i:nth-child(1) { --r: -29deg; }.lighting-art i:nth-child(2) { --r: -12deg; left: 39%; }.lighting-art i:nth-child(3) { --r: 11deg; left: 55%; }.lighting-art i:nth-child(4) { --r: 27deg; left: 70%; }
.lighting-art b { position: absolute; top: 11%; width: 14px; height: 9px; background: #f6e6c9; border-radius: 50%; box-shadow: 0 0 18px 7px var(--accent); }
.lighting-art b:nth-of-type(1){left:20%}.lighting-art b:nth-of-type(2){left:39%}.lighting-art b:nth-of-type(3){left:59%}.lighting-art b:nth-of-type(4){left:78%}
.led-art { perspective: 800px; background: radial-gradient(circle at 60% 20%, #203539, var(--surface) 58%); }
.led-art div { position: absolute; width: 29%; height: 47%; top: 7%; left: 15%; transform: rotateY(28deg) translateZ(var(--z)); background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(10,17,19,.65) 6px 7px), repeating-linear-gradient(90deg, transparent 0 5px, rgba(10,17,19,.65) 6px 7px), linear-gradient(135deg, #cfaa76, #426e78 45%, #89cbd1); box-shadow: 0 0 30px rgba(137,203,209,.18); }
.led-art div:nth-child(2){left:34%;top:10%;--z:-30px;}.led-art div:nth-child(3){left:53%;top:6%;--z:-60px;}.led-art div:nth-child(4){left:7%;top:47%;width:43%;height:27%;transform:rotateX(67deg) rotateZ(-16deg)}.led-art div:nth-child(5){left:45%;top:45%;width:44%;height:28%;transform:rotateX(67deg) rotateZ(-16deg);}
.audio-art { display: flex; align-items: flex-start; justify-content: center; gap: 6px; padding-top: 12%; background: radial-gradient(ellipse at center top, rgba(137,203,209,.15), transparent 50%); }
.audio-art span { width: 3.7%; height: var(--h); border-radius: 50px; background: linear-gradient(var(--cool), var(--steel), transparent); box-shadow: 0 0 15px rgba(137,203,209,.35); animation: pulse 3s ease-in-out infinite alternate; animation-play-state: paused; animation-delay: var(--d); }
.audio-art span:nth-child(1),.audio-art span:nth-child(9){--h:15%;--d:.2s}.audio-art span:nth-child(2),.audio-art span:nth-child(8){--h:27%;--d:.7s}.audio-art span:nth-child(3),.audio-art span:nth-child(7){--h:38%;--d:.4s}.audio-art span:nth-child(4),.audio-art span:nth-child(6){--h:51%;--d:.9s}.audio-art span:nth-child(5){--h:61%;--d:.1s}
@keyframes pulse { to { transform: scaleY(.63); opacity: .5; } }
.stage-art { background: radial-gradient(circle at center 30%, rgba(239,193,133,.24), transparent 36%); }
.truss { position: absolute; border: 5px double #77737b; opacity: .7; }
.truss.top { top: 13%; left: 17%; width: 66%; height: 18px; }.truss.left,.truss.right { top: 13%; width: 18px; height: 47%; }.truss.left{left:17%}.truss.right{right:17%}
.stage-art span { position: absolute; top: 16%; left: 29%; width: 20%; height: 48%; background: linear-gradient(100deg, rgba(239,193,133,.45), transparent); clip-path: polygon(44% 0,56% 0,100% 100%,0 100%); transform: rotate(9deg); filter: blur(3px); }
.stage-art span:nth-of-type(2){left:43%; blur(3px);transform:rotate(-4deg)}.stage-art span:nth-of-type(3){left:57%;filter:blur(3px);transform:rotate(-14deg)}
.stage-art b { position: absolute; left: 22%; bottom: 25%; width: 56%; height: 14%; transform: perspective(400px) rotateX(61deg); background: linear-gradient(135deg, #293b3e, #16282b); border: 1px solid #486267; }

.service-dialog[hidden] { display: none; }
.service-dialog { position: fixed; inset: 0; z-index: 120; display: flex; justify-content: flex-end; }
.service-dialog-backdrop { position: absolute; inset: 0; border: 0; background: rgba(6,9,10,.78); backdrop-filter: blur(9px); cursor: pointer; animation: dialog-fade .35s both; }
.service-dialog-panel { position: relative; width: min(650px, 92vw); height: 100%; padding: clamp(42px,6vw,80px); overflow-y: auto; background: radial-gradient(circle at 100% 0, rgba(239,193,133,.16), transparent 32%), var(--surface); border-left: 1px solid rgba(255,255,255,.14); box-shadow: -30px 0 90px rgba(0,0,0,.45); animation: dialog-in .55s cubic-bezier(.16,1,.3,1) both; }
.service-dialog-close { position: absolute; top: 25px; right: 28px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); font-size: 25px; cursor: pointer; transition: background .2s, color .2s; }
.service-dialog-close:hover { background: var(--paper); color: var(--ink); }
.service-dialog-icon { display: block; margin: 65px 0 25px; color: var(--accent); font-size: 34px; }
.service-dialog h2 { margin: 0; font: 600 clamp(38px,5vw,66px)/1 var(--display); letter-spacing: -.035em; }
.service-dialog-lead { margin: 28px 0 46px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.service-dialog-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; padding: 35px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-dialog-columns h3 { margin: 0 0 20px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1.6px; }
.service-dialog-columns ul { list-style: none; margin: 0; padding: 0; }
.service-dialog-columns li { position: relative; margin: 11px 0; padding-left: 15px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.service-dialog-columns li::before { content: ""; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; background: var(--accent); }
.service-dialog-note { margin: 32px 0; padding-left: 19px; border-left: 1px solid var(--accent); color: var(--muted); font-size: 11px; line-height: 1.8; }
.service-dialog-cta { background: var(--paper); color: var(--ink); }
body.dialog-open, body.menu-open { overflow: hidden; }
@keyframes dialog-fade { from { opacity: 0; } }
@keyframes dialog-in { from { transform: translateX(100%); } }

.gallery { padding: 140px 0 120px; overflow: hidden; background: var(--ink); border-top: 1px solid var(--line); }
.gallery-heading { padding: 0 7vw; display: grid; grid-template-columns: 1fr .42fr; align-items: end; margin-bottom: 60px; }
.gallery h2 { margin: 26px 0 0; font: 600 clamp(40px, 5vw, 76px)/1.02 var(--display); letter-spacing: -.035em; }
.gallery h2 span { color: #929c9f; }
.gallery-heading > p { color: var(--muted); font-size: 12px; line-height: 1.8; max-width: 360px; }
.gallery-viewport { overflow: hidden; cursor: grab; }
.gallery-viewport:active { cursor: grabbing; }
.gallery-track { display: flex; gap: 18px; padding: 0 7vw; transition: transform .6s cubic-bezier(.2,.75,.15,1);  }
.gallery-slide { flex: 0 0 min(64vw, 900px); margin: 0; user-select: none; }
.gallery-placeholder { position: relative; height: min(52vw, 600px); display: grid; place-content: center; justify-items: center; gap: 9px; overflow: hidden; color: var(--muted); background: linear-gradient(135deg, var(--surface), var(--surface) 52%, var(--surface)); border: 1px solid rgba(255,255,255,.11); }
.gallery-placeholder::before { content: ""; position: absolute; inset: 22px; border: 1px dashed rgba(255,255,255,.1); }
.gallery-placeholder::after { content: ""; position: absolute; width: 70%; height: 70%; border-radius: 50%; background: radial-gradient(circle, rgba(239,193,133,.1), transparent 66%); }
.gallery-placeholder span { position: relative; z-index: 1; color: var(--accent); font: 500 11px var(--display); }
.gallery-placeholder strong { position: relative; z-index: 1; color: var(--muted); font: 500 14px var(--display); }
.gallery-placeholder small { position: relative; z-index: 1; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.gallery-slide img { display: block; width: 100%; height: min(52vw, 600px); object-fit: cover; pointer-events: none; }
.gallery-slide figcaption { padding: 18px 2px; display: flex; justify-content: space-between; font-size: 10px; text-transform: uppercase; letter-spacing: 1.2px; }
.gallery-slide figcaption span { color: var(--accent); }.gallery-slide figcaption b { color: var(--muted); font-weight: 500; }
.gallery-controls { padding: 22px 7vw 0; display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; }
.gallery-progress { height: 1px; background: var(--border); }
.gallery-progress i { display: block; width: 20%; height: 100%; background: linear-gradient(90deg, var(--accent), var(--steel)); transition: transform .6s cubic-bezier(.2,.75,.15,1); }
.gallery-controls p { margin: 0; color: var(--muted); font: 500 9px var(--display); }.gallery-controls p strong { color: var(--paper); }
.gallery-controls button { width: 43px; height: 43px; margin-left: 7px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.gallery-controls button:hover { color: var(--ink); border-color: var(--paper); background: var(--paper); }

.numbers { min-height: 260px; padding: 70px 7vw; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers > div { padding-left: 35px; border-left: 1px solid var(--line); }
.numbers strong { font: 500 clamp(38px,4vw,66px) var(--display); letter-spacing: -.035em; }
.numbers span { color: var(--accent); font: 500 22px var(--display); }
.numbers p { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; }

.process { padding: 140px 8vw 160px; display: grid; grid-template-columns: .75fr 1fr; gap: 9vw; }
.process h2 { margin-top: 30px; font-size: clamp(38px,4.5vw,70px); line-height: 1.05; }
.process-list { list-style: none; margin: 0; padding: 0; }
.process-list li { display: grid; grid-template-columns: 55px 1fr auto; gap: 18px; align-items: center; min-height: 125px; border-top: 1px solid var(--line); transition: border-color .3s; }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list li:hover { border-color: var(--accent); }
.process-list li > * { transition: transform .3s cubic-bezier(.16,1,.3,1); }
.process-list li:hover > * { transform: translateX(12px); }
.process-list li > span { color: var(--accent); font: 500 9px var(--display); }
.process-list h3 { margin: 0 0 9px; font: 500 19px var(--display); letter-spacing: -.04em; }
.process-list p { margin: 0; color: var(--muted); font-size: 11px; }
.process-list b { color: var(--muted); font-weight: 400; }

.seo-services { padding: 120px 8vw; display: grid; grid-template-columns: 1fr .85fr; gap: 9vw; border-top: 1px solid var(--line); }
.seo-services h2, .faq h2 { margin: 28px 0 0; font: 600 clamp(38px,4.5vw,68px)/1.05 var(--display); letter-spacing: -.035em; }
.seo-services h2 span, .faq h2 span { color: #929c9f; }
.seo-services-copy { padding-top: 35px; }
.seo-services-copy p { margin: 0 0 24px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.seo-services-copy strong { color: var(--paper); font-weight: 600; }
.faq { padding: 130px 8vw 150px; display: grid; grid-template-columns: .72fr 1fr; gap: 9vw; background: var(--surface); border-top: 1px solid var(--line); }
.faq h2 { font-size: clamp(34px,3.3vw,50px); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 94px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; color: var(--paper); font: 500 13px/1.5 var(--display); list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--accent); font: 300 24px var(--body); transition: transform .3s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 620px; margin: -5px 45px 30px 0; color: var(--muted); font-size: 14px; line-height: 1.85; }

.contact { position: relative; min-height: 760px; padding: 130px 8vw; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .72fr); gap: clamp(48px, 7vw, 120px); align-items: center; overflow: clip; background: var(--surface); border-top: 1px solid var(--line); }
.contact > *:not(.contact-glow) { position: relative; z-index: 2; min-width: 0; }
.contact h2 { max-width: 760px; margin-top: 28px; font-size: clamp(44px,5.4vw,82px); line-height: 1.04; }
.contact h2 em { display: block; font-size: .88em; overflow-wrap: anywhere; }
.contact-copy > p:not(.section-label) { max-width: 520px; margin: 30px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.button-light { margin-top: 10px; background: var(--paper); color: var(--ink); min-width: 210px; }
.button-light span { color: var(--accent); }
.human-support { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; }
.human-support i { width: 9px; height: 9px; border-radius: 50%; background: #32d66b; box-shadow: 0 0 14px #32d66b; }
.human-support span { display: grid; gap: 3px; }.human-support strong { color: var(--paper); font-size: 11px; }
.lead-form { padding: 38px; background: var(--surface); border: 1px solid rgba(255,255,255,.13);  }
.lead-form label { display: grid; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; min-width: 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 10px 0 12px; background: transparent; color: var(--paper); font: 500 12px var(--body); outline: none; transition: border-color .2s; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--accent); }
.lead-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #777 50%), linear-gradient(135deg, #777 50%, transparent 50%); background-position: calc(100% - 8px) 15px, calc(100% - 3px) 15px; background-size: 5px 5px; background-repeat: no-repeat; }
.lead-form select option { background: var(--surface); }
.lead-form textarea { resize: vertical; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.whatsapp-button { gap: 12px; width: 100%; border: 0; cursor: pointer; background: #23c763; color: #061c0e; font-weight: 800; }
.whatsapp-button:hover { box-shadow: 0 16px 40px rgba(35,199,99,.22); }
.whatsapp-button b { font-size: 16px; }.whatsapp-icon { font-size: 18px; }
.lead-form > small { display: block; margin-top: 12px; color: var(--muted); font-size: 11px; text-align: center; }
.service-options { min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }
.service-options legend { width: 100%; margin-bottom: 11px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; }
.service-options legend span { float: right; color: var(--muted); font-size: 10px; }
.service-options > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.service-options label { display: block; margin: 0; cursor: pointer; }
.service-options input { position: absolute; width: 1px; min-height: 0; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; }
.service-options label span { display: block; padding: 11px 10px; border: 1px solid var(--border); color: var(--muted); font-size: 11px; text-align: center; text-transform: none; letter-spacing: .2px; transition: background .2s, color .2s, border-color .2s; }
.service-options input:checked + span { border-color: var(--accent); background: rgba(239,193,133,.12); color: var(--paper); }
.service-options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.service-options-error { min-height: 12px; margin: 6px 0 0; color: #ff6aad; font-size: 11px; }
.date-trigger { width: 100%; min-height: 39px; display: flex; align-items: center; justify-content: space-between; padding: 8px 0 11px; border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--muted); font: 500 12px var(--body); cursor: pointer; text-align: left; }
.date-trigger.has-value { color: var(--paper); }.date-trigger:focus-visible { border-color: var(--accent); outline: none; }.date-trigger b { color: var(--accent); font-size: 14px; }

.calendar-dialog[hidden] { display: none; }
.calendar-dialog { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 20px; }
.calendar-backdrop { position: absolute; inset: 0; border: 0; background: rgba(6,9,10,.82); backdrop-filter: blur(10px); cursor: pointer; animation: dialog-fade .3s both; }
.calendar-panel { position: relative; width: min(480px, 100%); padding: 34px; background: radial-gradient(circle at 100% 0, rgba(137,203,209,.2), transparent 32%), var(--surface); border: 1px solid rgba(255,255,255,.15); box-shadow: 0 35px 100px rgba(0,0,0,.55); animation: calendar-in .45s cubic-bezier(.16,1,.3,1) both; }
.calendar-header { display: flex; align-items: start; justify-content: space-between; }
.calendar-header h2 { margin: 9px 0 0; font: 500 16px var(--display); letter-spacing: -.04em; }
.calendar-close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 22px; cursor: pointer; }
.calendar-nav { margin: 30px 0 18px; display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; text-align: center; }
.calendar-nav button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }.calendar-nav button:disabled { opacity: .2; cursor: not-allowed; }
.calendar-month { font: 500 12px var(--display); text-transform: capitalize; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; }
.calendar-weekdays { margin-bottom: 7px; color: var(--muted); font-size: 11px; text-align: center; text-transform: uppercase; }
.calendar-grid button, .calendar-grid i { aspect-ratio: 1; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font: 500 11px var(--body); }
.calendar-grid button { cursor: pointer; transition: background .18s, color .18s; }.calendar-grid button:hover { background: rgba(255,255,255,.09); color: white; }
.calendar-grid button.today { border: 1px solid var(--border); }.calendar-grid button.selected { background: var(--accent); color: var(--ink); }
.calendar-grid button:disabled { color: #35313a; cursor: not-allowed; text-decoration: line-through; }.calendar-grid i { opacity: 0; }
.calendar-footer { margin-top: 24px; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); }
.calendar-today { border: 0; padding: 0 0 4px; border-bottom: 1px solid var(--accent); background: transparent; color: var(--paper); font-size: 11px; cursor: pointer; }.calendar-footer p { margin: 0; color: var(--muted); font-size: 11px; }
@keyframes calendar-in { from { opacity: 0; transform: translateY(25px) scale(.97); } }

footer { padding: 55px 7vw; display: grid; grid-template-columns: 1fr 1fr auto; gap: 50px; align-items: start; border-top: 1px solid var(--line); }
footer > p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.footer-links { display: flex; gap: 28px; font-size: 10px; }
.copyright { grid-column: 1 / -1; padding-top: 35px; border-top: 1px solid var(--line); }

.reveal { opacity: 1; }
.reveal.visible { opacity: 1; transform: none; }


/* Restrained stage palette, readable controls, and a distinct static motion state. */
:root { color-scheme: dark; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; }
section[id] { scroll-margin-top: 28px; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 160; padding: 14px 20px; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: 12px; }
.brand > span > span { color: var(--paper); }
.brand-mark { color: var(--accent); }
.brand { min-height: 44px; }
.main-nav a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.main-nav a::after, .footer-links a::after { bottom: 4px; }
.menu-button { width: 44px; height: 44px; padding: 7px 9px; }
.button { min-height: 52px; font-size: 13px; }
.hero::before { background: linear-gradient(0deg, rgba(11,14,16,.95), transparent 28%), linear-gradient(90deg, rgba(11,14,16,.65), transparent 50%); }
.hero-intro { width: min(400px, 100%); margin: 20px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.stage-toggle { position: absolute; right: 5vw; bottom: 30px; z-index: 4; display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 10px 14px; background: var(--ink); color: var(--muted); border: 1px solid var(--line); border-radius: 24px; font-size: 12px; cursor: pointer; }
.stage-toggle:hover { color: var(--paper); border-color: var(--muted); }
.stage-toggle svg { width: 13px; height: 13px; fill: currentColor; }
.stage-toggle .play-icon, .stage-toggle[aria-pressed="true"] .pause-icon { display: none; }
.stage-toggle[aria-pressed="true"] .play-icon { display: block; }
.stage-fallback { position: absolute; top: 25%; right: 10%; width: 55%; height: 30%; display: grid; place-items: center; border-block: 1px solid var(--border); color: var(--paper); font: 600 clamp(28px,6vw,88px) var(--display); letter-spacing: -.04em; }
.webgl-ready .stage-fallback { display: none; }
.no-webgl .stage-fallback { display: grid; }
.no-webgl .stage-toggle, .no-webgl #stage-canvas { display: none; }
.no-webgl .hero { background: var(--ink); }
.statement { min-height: 440px; padding-block: 110px; }
.statement > div > p { max-width: 570px; font-size: 16px; }
.services-heading { gap: 40px; }
.services-heading > p:last-child { max-width: 290px; justify-self: end; }
.service-card { height: 500px; }
.service-card:hover, .service-card:focus-visible { border-color: var(--accent); }
.card-content h3 { font-size: clamp(24px,2.3vw,36px); }
.tags { padding-right: 0; }
.tags span { font-size: 10px; letter-spacing: .5px; }
.service-more { position: static; margin-top: 24px; font-size: 11px; }
.in-view .audio-art span { animation-play-state: running; }
.gallery h2, .process h2, .seo-services h2, .faq h2 { margin-top: 0; }
.gallery-placeholder { background: var(--surface); height: min(40vw,440px); }
.gallery-placeholder::after { display: none; }
.gallery-placeholder small { text-transform: none; letter-spacing: 0; }
.gallery-controls button, .calendar-close, .calendar-nav button { width: 44px; height: 44px; }
.process-list p { font-size: 14px; line-height: 1.7; padding-bottom: 16px; }
.process-list h3 { padding-top: 18px; }
.process-list li:hover > * { transform: none; }
.seo-services-copy { padding-top: 0; }
.seo-services-copy p { font-size: 15px; }
.contact h2 { font-size: clamp(38px,4.6vw,68px); }
.contact > .contact-copy, .contact > .lead-form { position: relative; z-index: 2; min-width: 0; }
.lead-form input, .lead-form select, .date-trigger { min-height: 48px; font-size: 16px; }
.lead-form label, .service-options legend { color: var(--muted); font-size: 11px; }
.service-options legend span { float: none; display: block; margin-top: 6px; font-size: 11px; }
.service-options label span { min-height: 44px; padding: 13px 8px; font-size: 12px; }
.lead-form > small { font-size: 11px; line-height: 1.6; }
.lead-form input:focus-visible, .lead-form select:focus-visible, .date-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.calendar-panel { max-height: calc(100svh - 24px); overflow-y: auto; background: var(--surface); }
.calendar-nav { grid-template-columns: 44px 1fr 44px; }
.calendar-grid { gap: 2px; }
.calendar-grid button, .calendar-grid i { min-height: 44px; aspect-ratio: auto; font-size: 13px; border-radius: 8px; }
.calendar-today { min-height: 44px; font-size: 12px; }
.calendar-footer p { font-size: 11px; line-height: 1.5; }
.service-dialog-panel { background: var(--surface); box-shadow: none; }
.service-dialog h2 { margin-top: 70px; }
.service-dialog-icon { display: none; }
.service-dialog-note { color: var(--muted); font-size: 13px; }
.service-dialog-columns h3 { font-size: 11px; }
footer > p, .footer-links { font-size: 12px; }

@media (max-width: 900px) {
  .site-header { height: 76px; grid-template-columns: 1fr auto; }
  .main-nav { position: fixed; inset: 0; z-index: -1; background: rgba(11,14,16,.98); flex-direction: column; justify-content: center; align-items: center; font: 500 28px var(--display); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility .3s; }
  .main-nav.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .header-cta { display: none; }
  .menu-button { display: block; position: relative; z-index: 2; }
  .menu-button.open span:first-child { transform: translateY(4px) rotate(45deg); }.menu-button.open span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { min-height: 720px; }
  .hero::before { background: linear-gradient(0deg, rgba(11,14,16,.94) 0%, rgba(11,14,16,.18) 45%, transparent 72%); }
  .hero-copy { left: 7vw; bottom: 7vh; width: 72vw; }
  .hero h1 { font-size: clamp(38px, 7vw, 56px); }
  .statement { grid-template-columns: 1fr; gap: 35px; padding: 110px 7vw 170px; }
  .orbit-seal { right: 7vw; bottom: 30px; width: 105px; height: 105px; }
  .services { padding: 100px 5vw; }
  .services-heading { grid-template-columns: 1fr; gap: 24px; }
  .services-heading > p:last-child { max-width: 400px; }
  .service-card { height: 480px; }
  .gallery-heading { grid-template-columns: 1fr; gap: 22px; }
  .gallery-slide { flex-basis: 78vw; }
  .numbers { grid-template-columns: repeat(2,1fr); gap: 45px 0; }
  .process { grid-template-columns: 1fr; }
  .seo-services, .faq { grid-template-columns: 1fr; gap: 45px; }
  .contact { grid-template-columns: 1fr; gap: 65px; }
}

@media (min-width: 901px) and (max-height: 820px) {
  .contact { min-height: 0; padding-block: 80px; grid-template-columns: minmax(0, .85fr) minmax(390px, .72fr); align-items: start; }
  .contact h2 { font-size: clamp(46px, 4.7vw, 70px); }
  .contact-copy { padding-top: 18px; }
  .lead-form { padding: 30px; }
  .lead-form label { margin-bottom: 15px; }
  .service-options { margin-bottom: 15px; }
}

@media (max-width: 620px) {
  .hero-copy { left: 7vw; bottom: 6vh; width: 86vw; }
  .hero h1 { max-width: 340px; font-size: clamp(32px, 9.6vw, 44px); line-height: 1; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 20px; }
  .hero-actions .button { padding: 15px 18px; }
  .statement h2, .services h2, .process h2 { font-size: 37px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { height: 450px; }
  .service-dialog-panel { width: 100%; }
  .service-dialog-columns { grid-template-columns: 1fr; gap: 22px; }
  .card-content { left: 25px; right: 25px; bottom: 27px; }
  .numbers { padding: 65px 7vw; }
  .gallery { padding: 100px 0 80px; }
  .gallery-slide { flex-basis: 86vw; }
  .gallery-placeholder, .gallery-slide img { height: 65vw; }
  .gallery-controls { grid-template-columns: 1fr auto; }
  .gallery-controls p { display: none; }
  .numbers > div { padding-left: 16px; }
  .numbers p { max-width: 120px; line-height: 1.5; }
  .process { padding: 100px 7vw; gap: 60px; }
  .seo-services, .faq { padding: 90px 7vw; }
  .process-list li { grid-template-columns: 38px 1fr auto; }
  .process-list p { line-height: 1.5; }
  .contact { min-height: 600px; padding: 100px 6vw; }
  .contact h2 { font-size: 42px; }
  .lead-form { padding: 27px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .calendar-panel { padding: 26px 20px; }
  footer { grid-template-columns: 1fr; gap: 30px; }
  .copyright { grid-column: auto; }
}


@media (max-width: 900px) {
  #stage-canvas { top: 65px; height: 66%; }
  .hero { min-height: 780px; max-height: 1100px; }
  .hero-copy { bottom: 85px; width: min(560px,86vw); }
  .hero h1 { font-size: clamp(34px,6vw,52px); }
  .hero::before { background: linear-gradient(0deg, var(--ink) 4%, rgba(11,14,16,.6) 25%, transparent 50%); }
  .hero-intro { margin-top: 16px; }
  .stage-toggle { bottom: 20px; right: 7vw; }
  .stage-fallback { top: 23%; right: 7%; width: 86%; height: 26%; }
  .services-heading > p:last-child { justify-self: start; }
  .services-heading { gap: 20px; }
  .service-card { min-height: 490px; }
  .tags { gap: 6px; }
  .contact h2 { font-size: clamp(34px,7vw,56px); }
}
@media (max-width: 620px) {
  .hero { height: 100svh; min-height: 760px; }
  #stage-canvas { height: 59%; }
  .hero-copy { bottom: 84px; }
  .hero h1 { max-width: 420px; font-size: clamp(32px,8.5vw,44px); line-height: 1.08; }
  .hero-actions { margin-top: 22px; }
  .hero-intro { max-width: 320px; font-size: 13px; }
  .statement { padding-block: 85px 150px; }
  .statement h2, .services h2, .process h2, .gallery h2, .seo-services h2, .faq h2 { font-size: clamp(28px,8.5vw,40px); line-height: 1.12; }
  .card-content { bottom: 30px; }
  .service-card { min-height: 460px; }
  .gallery-placeholder { height: 60vw; }
  .gallery-placeholder strong { font-size: 12px; }
  .gallery-slide figcaption { flex-wrap: wrap; gap: 8px; }
  .lead-form { padding: 25px 18px; }
  .calendar-dialog { padding: 10px; }
  .calendar-panel { padding: 24px 12px; }
  .calendar-header h2 { font-size: 14px; }
  .calendar-grid button, .calendar-grid i { min-height: 44px; }
  .calendar-footer { align-items: start; flex-direction: column; gap: 10px; }
  .footer-links { gap: 18px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero.webgl-ready #stage-canvas, .audio-art span, .service-dialog-panel, .service-dialog-backdrop, .calendar-panel, .calendar-backdrop { animation: none; }
  .button:hover, .service-card:hover .service-more b { transform: none; }
  .gallery-track, .gallery-progress i, .menu-button span { transition: none; }
  .stage-toggle { display: none; }
}

/* A short camera journey followed by the production sequence. */
.hero-sequence { position: relative; }
.stage-presets { position: absolute; top: 112px; right: 6vw; z-index: 4; display: flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 28px; background: var(--ink); }
.stage-presets > span { padding: 0 14px; color: var(--muted); font-size: 11px; }
.stage-presets button { min-width: 62px; min-height: 44px; border: 0; border-radius: 22px; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; transition: color .2s, background .2s; }
.stage-presets button:hover { color: var(--paper); }
.stage-presets button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.no-webgl .stage-presets { display: none; }
.hero-scroll { position: absolute; bottom: 30px; left: 6vw; z-index: 4; display: flex; min-height: 44px; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.hero-scroll:hover { color: var(--paper); }
.hero-scroll svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .25s; }
.hero-scroll:hover svg { transform: translateY(3px); }
.scroll-track { display: block; width: 48px; height: 2px; background: var(--border); overflow: hidden; }
.scroll-track i { display: block; height: 100%; background: var(--accent); transform: scaleX(calc(.12 + var(--scene-progress, 0) * .88)); transform-origin: left; }
.scroll-scenes .hero-copy { transform: translateY(calc(var(--scene-progress, 0) * -28px)); }
.service-card .card-art { opacity: .65; transition: opacity .65s cubic-bezier(.16,1,.3,1); }
.service-card.in-view .card-art, .service-card:focus-visible .card-art { opacity: 1; }
.lighting-art i { transform: rotate(calc(var(--r) + var(--aim, 0deg))); transition: transform .65s cubic-bezier(.16,1,.3,1); }
.service-card:focus-visible { --aim: 9deg; }
.led-art div { transition: transform .7s cubic-bezier(.16,1,.3,1); }
.led-art div:nth-child(-n+3) { transform: rotateY(28deg) translateZ(var(--z, 0px)); }
.service-led:is(:hover, :focus-visible) .led-art div:nth-child(-n+3) { transform: rotateY(8deg) translateZ(var(--z, 0px)); }
.stage-art span { --beam-angle: 9deg; transform: rotate(calc(var(--beam-angle) + var(--aim, 0deg))); transition: transform .65s cubic-bezier(.16,1,.3,1); }
.stage-art span:nth-of-type(2) { --beam-angle: -4deg; }
.stage-art span:nth-of-type(3) { --beam-angle: -14deg; }
.process-list { position: relative; }
.process-list::before, .process-list::after { content: ""; position: absolute; left: 19px; top: var(--track-top, 80px); bottom: var(--track-bottom, 80px); width: 1px; background: var(--border); pointer-events: none; }
.process-list::after { background: var(--accent); transform: scaleY(var(--process-progress, 0)); transform-origin: top; }
.process-list li { position: relative; min-height: 165px; grid-template-columns: 40px 1fr; gap: 28px; border-top: 0; }
.process-list li:last-child { border-bottom: 0; }
.process-list li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 50%; background: var(--ink); color: var(--muted); font-size: 11px; transition: color .25s, background .25s, border-color .25s; }
.process-list li > b { display: none; }
.process-list li > div { border-bottom: 1px solid var(--line); padding: 14px 0; }
.process-list h3 { transition: color .25s; }
.process-list li.is-current > span { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.process-list li.is-current h3 { color: var(--accent); }
.process-list li.is-complete > span { border-color: var(--accent); color: var(--accent); }
.process-intro { min-width: 0; min-height: 360px; }
.process-intro h2 { font-size: clamp(38px, 3.7vw, 60px); line-height: 1.08; }
.process-intro .process-action { color: var(--paper); }
.process-intro[data-active-step]:not([data-active-step="0"]) .process-outcome { color: var(--accent); }
.process-description { max-width: 42ch; margin: 26px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
@media (min-width: 901px) and (min-height: 740px) and (prefers-reduced-motion: no-preference) {
  .scroll-scenes .hero-sequence { height: 180svh; }
  .scroll-scenes .hero { position: sticky; top: 0; }
  .process-intro { position: sticky; top: 25vh; align-self: start; }
}
@media (max-width: 900px) {
  .stage-presets { top: 92px; left: 7vw; right: auto; }
  .hero-scroll { left: 7vw; bottom: 20px; font-size: 11px; gap: 8px; }
  .scroll-track { display: none; }
  .stage-toggle { padding-inline: 10px; gap: 7px; font-size: 11px; }
  .process-list li { gap: 18px; }
  .process-intro { min-height: 270px; }
  .process-intro h2 { font-size: clamp(32px, 8vw, 48px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-scenes .hero-copy, .hero-scroll:hover svg { transform: none; }
  .scroll-track i { transform: scaleX(1); }
  .service-card .card-art { opacity: 1; transition: none; }
  .lighting-art i, .led-art div, .stage-art span { transition: none; }
  .service-led:is(:hover, :focus-visible) .led-art div:nth-child(-n+3) { transform: rotateY(28deg) translateZ(var(--z, 0px)); }
  .process-list li > span, .process-list h3 { transition: none; }
}

/* Real productions: native horizontal browsing with a full-frame viewer. */
.gallery { padding: 120px 0 100px; }
.gallery-heading { grid-template-columns: 1fr .42fr; }
.gallery-heading > div > p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.gallery-heading .gallery-hint { margin-top: 22px; font-size: 12px; color: var(--paper); }
.gallery-viewport { position: relative; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: 7vw; }
.gallery-viewport::-webkit-scrollbar, .gallery-thumbnails::-webkit-scrollbar { display: none; }
.gallery-viewport:focus-visible { outline-offset: -3px; }
.gallery-track { display: flex; gap: 18px; padding-inline: 7vw; transform: none; transition: none; }
.gallery-track::after { content: ""; flex: 0 0 1px; }
.gallery-slide { flex: 0 0 min(76vw, 1000px); min-width: 0; scroll-snap-align: center; }
.gallery-open { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; background: var(--surface); overflow: hidden; cursor: zoom-in; }
.gallery-open:focus-visible { outline-offset: -5px; }
.gallery-slide img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.gallery-slide-portrait img { object-fit: contain; }
.gallery-open:hover img, .gallery-open:focus-visible img { transform: scale(1.025); }
.gallery-open-label { position: absolute; bottom: 18px; right: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--ink); color: var(--paper); border-radius: 24px; font-size: 12px; pointer-events: none; }
.gallery svg, .photo-dialog svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.gallery-slide figcaption { min-height: 54px; padding: 18px 0; font-size: 11px; letter-spacing: .5px; gap: 16px; }
.gallery-slide figcaption b { color: var(--muted); }
.gallery-controls { display: grid; grid-template-columns: 76px minmax(0,1fr) auto; align-items: center; gap: 28px; padding: 22px 7vw 0; }
.gallery-controls .gallery-position { display: block; font: 500 12px var(--body); white-space: nowrap; color: var(--muted); }
.gallery-current { font-size: 22px; font-weight: 500; }
.gallery-thumbnails { position: relative; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 5px; overscroll-behavior-x: contain; }
.gallery-thumbnails .gallery-thumb { flex: 0 0 74px; width: 74px; height: 56px; min-height: 44px; margin: 0; padding: 3px; border: 1px solid transparent; border-radius: 0; opacity: .55; transition: opacity .2s, border-color .2s; }
.gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gallery-thumbnails .gallery-thumb[aria-current="true"], .gallery-thumbnails .gallery-thumb:hover, .gallery-thumbnails .gallery-thumb:focus-visible { opacity: 1; border-color: var(--accent); background: transparent; }
.gallery-arrows { display: flex; gap: 8px; }
.gallery-controls .gallery-arrows button { display: grid; place-items: center; margin: 0; width: 48px; height: 48px; }
.gallery-viewport.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.gallery-viewport.is-dragging .gallery-open { cursor: grabbing; }
body.photo-open { overflow: hidden; }
.photo-dialog { width: min(1500px, calc(100vw - 48px)); max-width: none; height: calc(100dvh - 48px); max-height: none; margin: auto; padding: 0; border: 1px solid var(--border); background: var(--ink); color: var(--paper); overflow: hidden; }
.photo-dialog::backdrop { background: rgba(3,6,8,.94); }
.photo-dialog[open] { display: grid; grid-template-rows: 64px minmax(0,1fr) auto; animation: photo-in .2s ease-out; }
.photo-toolbar { display: flex; align-items: center; gap: 20px; padding: 10px 20px; color: var(--muted); font-size: 12px; }
.photo-toolbar > span:first-child { margin-right: auto; }
.photo-dialog button { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--paper); cursor: pointer; transition: color .2s, background .2s; }
.photo-dialog button:hover { background: var(--paper); color: var(--ink); }
.photo-dialog :focus-visible { outline-offset: 2px; }
.photo-frame { position: relative; min-height: 0; display: grid; place-items: center; padding: 0 20px; touch-action: pan-y pinch-zoom; }
.photo-image { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.photo-frame.is-loading .photo-image { opacity: .25; }
.photo-loading { display: none; position: absolute; inset: 45% 0 auto; text-align: center; color: var(--paper); font-size: 14px; }
.photo-frame.is-loading .photo-loading { display: block; }
.photo-error { text-align: center; color: var(--muted); }
.photo-dialog .photo-retry { width: auto; min-height: 44px; padding: 0 20px; margin: 18px auto; border-radius: 24px; font-size: 13px; }
.photo-footer { display: flex; align-items: center; justify-content: center; gap: 28px; padding: 18px 24px; }
.photo-footer > div { min-width: 0; width: min(560px,100%); text-align: center; }
.photo-category { color: var(--accent); font-size: 11px; }
.photo-caption { margin: 5px 0 0; font-size: 15px; }
@keyframes photo-in { from { opacity: .4; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .gallery-heading { grid-template-columns: 1fr; gap: 20px; }
  .gallery-heading > div { max-width: 420px; }
  .gallery-slide { flex-basis: 78vw; }
  .gallery-controls { grid-template-columns: 1fr auto; gap: 14px; }
  .gallery-thumbnails { grid-row: 2; grid-column: 1 / -1; }
  .gallery-arrows { grid-row: 1; grid-column: 2; }
}
@media (max-width: 620px) {
  .gallery { padding-block: 90px 75px; }
  .gallery-slide { flex-basis: 86vw; }
  .gallery-open { aspect-ratio: 4 / 3; }
  .gallery-slide img { height: 100%; }
  .gallery-open-label { right: 12px; bottom: 12px; font-size: 11px; }
  .gallery-slide figcaption { display: grid; gap: 6px; min-height: 70px; }
  .gallery-controls { padding-top: 5px; }
  .photo-dialog { width: 100vw; height: 100dvh; border: 0; }
  .photo-toolbar { padding-inline: 14px; gap: 16px; }
  .photo-frame { padding-inline: 6px; }
  .photo-footer { padding: 18px 14px max(18px, env(safe-area-inset-bottom)); gap: 14px; }
  .photo-caption { font-size: 13px; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-open:hover img, .gallery-open:focus-visible img { transform: none; }
  .gallery-slide img { transition: none; }
  .photo-dialog[open] { animation: none; }
}

@media (max-width: 620px) {
  .stage-presets { gap: 1px; max-width: 86vw; }
  .stage-presets > span { padding-inline: 9px; font-size: 10px; }
  .stage-presets button { min-width: 54px; }
}
