.project-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.view-project { flex: 0 0 auto; border: 0; border-bottom: 1px solid var(--ink); background: none; color: var(--ink); padding: 8px 0; cursor: pointer; font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.view-project span { margin-left: 10px; }
.gallery-modal[hidden] { display: none; }
.gallery-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.gallery-backdrop { position: absolute; inset: 0; background: rgba(4,10,9,.86); backdrop-filter: blur(12px); }
.gallery-panel { position: relative; z-index: 1; width: min(1180px,96vw); max-height: 94vh; overflow: auto; background: #f3f0e8; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 30px 100px rgba(0,0,0,.5); }
.gallery-header { display: flex; justify-content: space-between; align-items: flex-start; padding: 26px 30px 20px; border-bottom: 1px solid var(--line); }
.gallery-header p { margin-bottom: 8px; color: #66736e; font: 9px var(--mono); text-transform: uppercase; letter-spacing: .13em; }
.gallery-header h2 { margin: 0; font-size: clamp(25px,3vw,42px); letter-spacing: -.045em; }
.gallery-close { width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 28px; line-height: 1; }
.gallery-stage { position: relative; height: min(58vh,620px); min-height: 390px; overflow: hidden; background: #101a18; display: grid; place-items: center; }
.gallery-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-stage video { display: block; width: 100%; height: 100%; object-fit: contain; background: #050807; }
.gallery-stage iframe { border: 0; width: 100%; height: 100%; background: white; }
.gallery-footer { padding: 20px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.gallery-footer p { margin: 0 0 5px; font-weight: 700; }.gallery-footer span { color: #69756f; font: 10px var(--mono); }
.gallery-controls { display: flex; gap: 8px; }.gallery-controls button { width: 46px; height: 42px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 18px; }
.gallery-controls button:hover,.gallery-controls button:focus-visible { background: var(--lime); }
.gallery-thumbs { display: flex; gap: 10px; padding: 16px 30px 24px; overflow-x: auto; }
.gallery-thumb { min-width: 150px; padding: 10px 12px; border: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; color: #55615d; font: 9px/1.4 var(--mono); text-transform: uppercase; }
.gallery-thumb.active { border-color: var(--ink); background: var(--ink); color: white; }body.gallery-open { overflow: hidden; }
@media(max-width:700px){.project-bottom{align-items:flex-start;flex-direction:column}.gallery-modal{padding:0}.gallery-panel{width:100vw;max-height:100vh;height:100vh}.gallery-header{padding:20px}.gallery-stage{height:52vh;min-height:320px}.gallery-footer{padding:16px 20px}.gallery-thumbs{padding:13px 20px 20px}.gallery-thumb{min-width:125px}.gallery-controls button{width:42px}}
.social-links { width: min(720px,100%); margin: 48px auto 0; border-top: 1px solid rgba(7,17,15,.28); }
.social-links a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 4px; border-bottom: 1px solid rgba(7,17,15,.28); color: var(--ink); text-decoration: none; font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .05em; transition: padding .2s, background .2s; }
.social-links a:hover,.social-links a:focus-visible { padding-left: 12px; padding-right: 12px; background: rgba(243,240,232,.35); }
.social-links b { font-weight: 500; text-transform: none; word-break: break-word; }
@media(max-width:600px){.social-links a{align-items:flex-start;flex-direction:column;text-align:left}.social-links b{font-size:9px}}
