@font-face {
    font-family: Oswald;
    src: url("../fonts/oswald-cyrillic.woff2") format("woff2");
    font-weight: 200 700;
    font-display: swap;
    unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
    font-family: Oswald;
    src: url("../fonts/oswald-latin.woff2") format("woff2");
    font-weight: 200 700;
    font-display: swap;
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2212,U+FEFF,U+FFFD;
}
@font-face {
    font-family: Cormorant;
    src: url("../fonts/cormorant-cyrillic.woff2") format("woff2");
    font-weight: 300 700;
    font-display: swap;
    unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
    font-family: Cormorant;
    src: url("../fonts/cormorant-latin.woff2") format("woff2");
    font-weight: 300 700;
    font-display: swap;
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2212,U+FEFF,U+FFFD;
}

[data-site-theme] :is(.site-body,.bar-site) { font-family: var(--site-font-body, Manrope, system-ui, sans-serif); }
[data-site-theme] :is(.site-body,.bar-site) :is(h1,h2,h3,h4,h5,h6) {
    font-family: var(--site-font-heading, var(--site-default-heading, inherit));
}
[data-site-theme="label"] {
    --theme-paper: #f5f2e5; --theme-ink: #173d30; --theme-muted: #4a5b4f; --theme-line: #bac1ab;
    --theme-accent: #e9f178; --theme-panel: #f8f6ee; --theme-primary: #264d37; --site-default-heading: Oswald, Manrope, sans-serif;
}
[data-site-theme="journal"] {
    --theme-paper: #f2f1ea; --theme-ink: #1e2f71; --theme-muted: #444e6d; --theme-line: #b5bac9;
    --theme-accent: #1c3286; --theme-panel: #e1e6ee; --theme-primary: #1c3286; --site-default-heading: Cormorant, Georgia, serif;
}
[data-site-theme="sign"] {
    --theme-paper: #191417; --theme-ink: #fff2dc; --theme-muted: #d0bfb9; --theme-line: #645256;
    --theme-accent: #ffc9b9; --theme-panel: #281d21; --theme-primary: #ffc9b9; --site-default-heading: Oswald, Manrope, sans-serif;
}
[data-site-theme="console"] {
    --theme-paper: #f1f0e8; --theme-ink: #212422; --theme-muted: #505752; --theme-line: #abb0a6;
    --theme-accent: #ff7338; --theme-panel: #e5e6dc; --theme-primary: #8f3614;
}
[data-site-theme="sound"] {
    --theme-paper: #f5e5e3; --theme-ink: #29181c; --theme-muted: #65484d; --theme-line: #c8aaab;
    --theme-accent: #ad2447; --theme-panel: #f3d4d0; --theme-primary: #98223e; --site-default-heading: Oswald, Manrope, sans-serif;
}
[data-site-theme="floors"] {
    --theme-paper: #e9efed; --theme-ink: #173b3c; --theme-muted: #3b5856; --theme-line: #9badab;
    --theme-accent: #1b504e; --theme-panel: #f5f7f1; --theme-primary: #1b504e;
}
[data-site-theme="table"] {
    --theme-paper: #f4eee4; --theme-ink: #53263a; --theme-muted: #6a5360; --theme-line: #c6acb2;
    --theme-accent: #53263a; --theme-panel: #eee3d6; --theme-primary: #53263a; --site-default-heading: Cormorant, Georgia, serif;
}
[data-site-theme]:not([data-site-theme="classic"]) {
    color-scheme: light; background: var(--theme-paper); scrollbar-color: var(--theme-primary) var(--theme-paper);
    --bg: var(--theme-paper); --text: var(--theme-ink); --muted: var(--theme-muted); --line: var(--theme-line);
    --surface: var(--theme-panel); --raised: var(--theme-panel); --accent: var(--theme-primary); --radius: 8px;
}
[data-site-theme="sign"] { color-scheme: dark !important; }
[data-site-theme]:not([data-site-theme="classic"]) :is(.site-body,.bar-site) {
    background: var(--theme-paper); color: var(--theme-ink);
    --bar-text: var(--theme-ink); --bar-muted: var(--theme-muted); --bar-line: var(--theme-line);
    --bar-surface: var(--theme-panel); --bar-accent: var(--theme-primary);
    --bs-body-color: var(--theme-ink); --bs-body-bg: var(--theme-paper);
}
[data-site-theme]:not([data-site-theme="classic"]) :is(.site-backdrop,.bar-backdrop) { display: none; }
[data-site-theme]:not([data-site-theme="classic"]) :is(.nav-shell,.bar-nav,.bar-mobile-menu nav) {
    background: var(--theme-paper); border-color: var(--theme-line); border-radius: 4px;
}
[data-site-theme]:not([data-site-theme="classic"]) :is(.btn-cta,.bar-site .bar-button) {
    background: var(--theme-primary); border-color: var(--theme-primary); color: var(--theme-paper);
}
[data-site-theme]:not([data-site-theme="classic"]) :is(.navbar-toggler,.btn-outline-light,.site-footer a) { color: var(--theme-ink); }
[data-site-theme]:not([data-site-theme="classic"]) :is(.offcanvas,.modal-content) {
    color: var(--theme-ink) !important; background: var(--theme-panel) !important;
}

.site-theme-cover {
    margin-block: clamp(18px, 3vw, 44px) clamp(32px, 6vw, 78px);
    overflow: hidden; scroll-margin-top: 110px;
}
.site-theme-cover [hidden] { display: none !important; }
.site-theme-cover .theme-cover-copy { min-width: 0; }
.site-theme-cover .theme-cover-copy h1 {
    margin: 0 0 16px; font-size: clamp(44px, 7.5vw, 118px);
    line-height: .98; letter-spacing: -.04em; font-weight: 650; overflow-wrap: anywhere;
}
.site-theme-cover .theme-cover-copy p { max-width: 36ch; margin: 0 0 18px; font-size: clamp(16px, 1.45vw, 22px); }
.site-theme-cover .theme-cover-photo { margin: 0; min-width: 0; }
.theme-cover-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.theme-link {
    display: inline-flex; align-items: center; gap: 8px; min-height: 46px; width: fit-content;
    color: inherit; text-underline-offset: 5px; font-weight: 750;
}
.site-theme-cover .theme-link, .site-theme-cover .theme-cover-address { color: inherit; }

.cover-label { display: grid; border: 1px solid var(--theme-line); background: var(--theme-accent); }
.cover-label:has(.theme-cover-photo) { grid-template-columns: minmax(0,1.04fr) minmax(0,1fr); }
.cover-label .theme-cover-copy { align-content: center; padding: clamp(24px, 5vw, 70px); }
.cover-label .theme-cover-copy h1, .cover-sign .theme-cover-copy h1 { text-transform: uppercase; }
.cover-label .theme-cover-photo { position: relative; min-height: clamp(220px, 40vw, 575px); }
.cover-label .theme-cover-photo img { position: absolute; inset: 0; }

.cover-journal { background: var(--theme-accent); color: var(--theme-paper); padding: clamp(18px, 4vw, 54px); }
.cover-journal .theme-cover-copy { text-align: center; }
.cover-journal .theme-cover-copy h1 { font-size: clamp(51px, 10vw, 170px); font-weight: 500; }
.cover-journal .theme-cover-copy p { margin-inline: auto; }
.cover-journal .theme-gallery, .cover-floors .theme-gallery { display: grid; gap: 20px; margin-top: 22px; }
.cover-journal .theme-gallery:has(.theme-gallery-tabs) { grid-template-columns: minmax(0, 3.5fr) minmax(125px, 1fr); align-items: start; }
.theme-gallery .theme-cover-photo img { height: clamp(200px, 43vw, 500px); }
.theme-gallery .theme-cover-photo figcaption { margin-top: 8px; font-size: .9rem; }
.cover-journal .theme-cover-photo img { outline: 1px solid currentColor; outline-offset: 4px; }
.theme-gallery-tabs { display: grid; gap: 6px; }
.theme-gallery-tabs button {
    min-height: 44px; padding: 8px 10px; background: transparent; color: inherit; border: 1px solid currentColor;
    text-align: left; font: inherit; cursor: pointer;
}
.theme-gallery-tabs button[aria-pressed=true] { background: var(--theme-paper); color: var(--theme-ink); }

.cover-sign { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(390px, 49vw, 710px); background: var(--theme-panel); }
.cover-sign .theme-cover-photo { position: absolute; inset: 0; z-index: -2; }
.cover-sign:has(img)::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgb(16 11 16 / .87), transparent 78%), linear-gradient(0deg, rgb(16 10 16 / .76), transparent 55%);
}
.cover-sign .theme-cover-copy { padding: clamp(26px, 5vw, 74px); }
.cover-sign .theme-cover-copy h1 {
    max-width: 9ch; color: #ffc9b9; text-shadow: 0 0 22px rgb(245 138 108 / .46);
}
.cover-sign .theme-cover-address { align-self: end; padding: 13px clamp(26px, 5vw, 74px); border-top: 1px solid var(--theme-line); background: var(--theme-paper); }

.cover-console { display: grid; align-items: center; gap: clamp(20px, 4vw, 62px); padding-block: clamp(14px, 4vw, 60px); }
.cover-console:has(.theme-console) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.theme-console { min-width: 0; padding: clamp(14px, 2.5vw, 34px); border-radius: 12px; background: #252b28; color: #fff9e9; }
.theme-console-readout { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 15px; min-height: 130px; padding-bottom: 18px; }
.theme-console-readout b { color: #ff8c50; font: 600 clamp(34px, 6vw, 76px)/1 Oswald, Manrope, sans-serif; }
.theme-console-readout h2 { font-size: clamp(18px, 2.2vw, 33px); overflow-wrap: anywhere; margin: 0 0 8px; }
.theme-console-readout p { color: #d3ddd3; margin: 0 0 8px; }
.theme-console-readout span { display: inline-block; margin-right: 10px; color: #ffc7aa; }
.theme-console-keys { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 5px; border-top: 1px solid #65726b; padding-top: 12px; }
.theme-console-keys button { min-height: 44px; border: 1px solid #77827a; border-radius: 3px; background: #343d38; color: #fff9e9; font: inherit; }
.theme-console-keys button[aria-pressed=true] { background: #ff7338; color: #191e1a; border-color: #ff7338; }

.cover-sound { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); min-height: clamp(360px, 42vw, 625px); background: #ac2446; color: #fff2dc; }
.cover-sound .theme-cover-copy { align-self: center; padding: clamp(24px, 4.4vw, 68px); }
.cover-sound .theme-cover-copy h1 { text-transform: uppercase; }
.theme-record-stage { display: grid; place-items: center; overflow: hidden; min-width: 0; background: #6e1c35; }
.theme-record {
    display: grid; place-items: center; width: 108%; aspect-ratio: 1; border-radius: 50%; transform: translateX(12%);
    background: repeating-radial-gradient(circle, #161219 0 2px, #3a2933 3px 4px, #19131a 5px 7px);
}
.theme-record span {
    display: grid; place-items: center; width: 40%; aspect-ratio: 1; padding: 7%; border-radius: 50%;
    background: #f4bdac; color: #5f2135; text-align: center; overflow-wrap: anywhere; font-weight: 800;
}

.cover-floors .theme-gallery:has(.theme-gallery-tabs) { grid-template-columns: minmax(120px, .5fr) minmax(0, 2fr); }
.cover-floors .theme-gallery-tabs { grid-column: 1; grid-row: 1; align-content: start; background: #1b504e; color: #f0f4e9; padding: clamp(10px, 2.5vw, 26px); }
.cover-floors .theme-cover-photo { grid-column-end: -1; grid-row: 1; }
.cover-floors .theme-cover-photo figcaption { margin-top: 0; padding: 10px; background: var(--theme-panel); }

.cover-table { display: grid; align-items: center; gap: clamp(18px, 5vw, 82px); padding-block: clamp(8px, 4vw, 62px); }
.cover-table:has(.theme-cover-photo) { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.cover-table .theme-cover-copy h1 { font-weight: 600; }
.cover-table .theme-cover-photo { border-radius: 50% 50% 0 0 / 36% 36% 0 0; overflow: hidden; }
.cover-table .theme-cover-photo img { aspect-ratio: 1.04; }
.theme-book { display: block; width: fit-content; min-height: 44px; padding: 10px 15px; background: var(--theme-ink); color: var(--theme-paper) !important; font-weight: 700; }

.theme-tap-section h2 { margin-bottom: 18px; }
.theme-tap-list, .theme-tap-list ul { padding: 0; margin: 0; list-style: none; }
.theme-tap-list > li {
    display: grid; grid-template-columns: 45px minmax(0,1fr) auto; align-items: baseline; gap: 10px 18px;
    min-width: 0; padding-block: 11px; border-top: 1px solid var(--theme-line);
}
.theme-tap-number { font: 550 1.2rem/1 var(--site-font-heading, var(--site-default-heading, Manrope, sans-serif)); color: var(--theme-primary); }
.theme-tap-list h3 { margin: 0; font-size: clamp(17px, 2.1vw, 27px); overflow-wrap: anywhere; }
.theme-tap-list p { color: var(--theme-muted); font-size: .82rem; margin: 3px 0 0; }
.theme-tap-list ul { font-size: .86rem; text-align: right; font-variant-numeric: tabular-nums; }
.theme-tap-list + .theme-link { margin-top: 14px; }

@media (max-width: 740px) {
    .site-theme-cover { margin-block: 14px 32px; }
    .cover-label:has(.theme-cover-photo), .cover-console:has(.theme-console),
    .cover-table:has(.theme-cover-photo), .cover-sound,
    .cover-journal .theme-gallery:has(.theme-gallery-tabs), .cover-floors .theme-gallery:has(.theme-gallery-tabs) {
        grid-template-columns: minmax(0, 1fr);
    }
    .cover-floors .theme-gallery-tabs { display: flex; flex-wrap: wrap; grid-row: auto; padding: 10px; }
    .cover-journal .theme-gallery-tabs { display: flex; flex-wrap: wrap; }
    .cover-table .theme-cover-photo { width: min(100%, 390px); }
    .theme-record { width: min(118%, 470px); transform: translate(6%, 10%); }
    .theme-gallery .theme-cover-photo img { height: clamp(175px, 53vw, 320px); }
    .theme-tap-list > li { grid-template-columns: 34px minmax(0,1fr); column-gap: 8px; }
    .theme-tap-list ul { grid-column: 2; display: flex; flex-wrap: wrap; gap: 5px 12px; text-align: left; }
}
