/* Shared bracket controls, followed by their explicit component variants. */
.button,.close{font-family:Oswald,Arial,sans-serif;font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;line-height:1.4;display:inline-flex;justify-content:center;align-items:center;gap:10px;position:relative;width:auto;min-height:44px;padding:10px 0;white-space:normal;text-align:center;border:0;background:transparent;color:#e6e7e8;transition:background .2s,color .2s}
.button:before,.close:before{content:'[';color:var(--red)}
.button:after,.close:after{content:']';color:var(--red)}
.button:before,.button:after,.close:before,.close:after{position:static;inset:auto;transform:none;flex:0 0 auto;display:block;font:400 1.25em/1 var(--mono)}
.button:hover,.close:hover{background:#e6e7e8;color:#0b0c0e}
.text-link{font-family:Oswald,Arial,sans-serif;font-size:14px;text-transform:uppercase;letter-spacing:.04em;display:inline-block;border-bottom:1px solid #9ea0a4;padding-bottom:4px}
.text-link:hover{color:#e6e7e8;border-color:#e6e7e8}
.trailer-links .text-link{font-size:12px}
.socials .button{display:inline-flex;width:48px;max-width:100%;height:48px;min-height:48px;gap:5px;padding:0;justify-content:center;text-align:center}
.contact-form .button{width:fit-content;max-width:100%;padding:12px 0;border:0;text-decoration:none;justify-content:center}
.footer .close{font-size:12px}
.gallery-controls .close{min-width:45px;width:45px;height:45px;padding:0;display:grid;place-items:center;font:500 24px/1 var(--mono)}
.gallery-controls .close:before,.gallery-controls .close:after{display:none}
.project-links .text-link{font:600 14px/1.6 Oswald,Arial,sans-serif;letter-spacing:.04em;padding:0 0 4px;border-bottom:1px solid var(--muted);text-transform:uppercase}
.project-links .text-link:hover{color:var(--text);border-color:var(--text)}
:lang(zh) .button,:lang(ja) .button,:lang(zh) .close,:lang(ja) .close{font-family:'Noto Sans CJK SC','Noto Sans CJK JP','Microsoft YaHei','Hiragino Kaku Gothic ProN',Arial,sans-serif;letter-spacing:.02em}
@media(max-width:700px){.footer-inner .close{padding-left:20px}}
