/* ═══════════════════════════════════════════════════════════════
   Монгол Зураг — Арт 21 · сайтын загвар
   Өнгө нь :root хувьсагчаас (админ → Тохиргоо → Өнгө) удирдагдана.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --ink: #0E0A08;
  --red: #561016;
  --gold: #C9A24A;
  --gold-light: #E5CC8A;
  --parchment: #EFE6D2;
  --ink-2: color-mix(in srgb, var(--ink) 88%, #3a2a1c);
  --ink-3: color-mix(in srgb, var(--ink) 78%, #4a3624);
  --red-deep: color-mix(in srgb, var(--red) 80%, #000);
  --text: #EDE3CC;
  --text-muted: #B3A285;
  --text-dark: #2A1F19;
  --muted-dark: #6E5D49;
  --line: color-mix(in srgb, var(--gold) 34%, transparent);
  --line-soft: color-mix(in srgb, var(--gold) 16%, transparent);
  --gold-grad: linear-gradient(180deg, color-mix(in srgb, var(--gold-light) 70%, var(--gold)) 0%, var(--gold) 55%, color-mix(in srgb, var(--gold) 80%, #6b4f1d) 100%);
  --f-logo: 'Forum', 'Noto Serif Display', Georgia, serif;
  --f-display: 'Noto Serif Display', 'EB Garamond', Georgia, serif;
  --f-body: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --f-ui: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 92px;
  color-scheme: dark;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--f-body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 16px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; }
.ic-sm { width: 15px; height: 15px; }
.ic-xs { width: 13px; height: 13px; }

/* ── Ornaments (single-colour SVG masks, tinted by background-color) ── */
.orn { display: inline-block; background-color: var(--gold); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; flex: none; }
.orn-logo { --m: url(../img/orn/logo-mark.svg); }
.orn-ulzii { --m: url(../img/orn/ulzii.svg); }
.orn-medal { --m: url(../img/orn/medal.svg); }
.orn-horn { --m: url(../img/orn/horn.svg); }
.orn-divider { --m: url(../img/orn/divider.svg); width: 240px; height: 40px; max-width: 100%; display: block; margin: 18px auto; }
.orn-divider.divider-left { margin-left: -6px; }
.orn-divider.divider-short { width: 160px; height: 28px; margin: 0; }
.orn-strip { height: 16px; background: var(--ink); position: relative; }
.orn-strip::before { content: ''; position: absolute; inset: 2px 0; background: var(--gold); -webkit-mask: url(../img/orn/border.svg) left center / auto 100% repeat-x; mask: url(../img/orn/border.svg) left center / auto 100% repeat-x; opacity: .9; }
.framed { position: relative; }
.corner { position: absolute; width: 44px; height: 44px; background: var(--gold); -webkit-mask: url(../img/orn/corner.svg) center / contain no-repeat; mask: url(../img/orn/corner.svg) center / contain no-repeat; pointer-events: none; z-index: 2; opacity: .95; }
.c-tl { top: 10px; left: 10px; }
.c-tr { top: 10px; right: 10px; transform: scaleX(-1); }
.c-bl { bottom: 10px; left: 10px; transform: scaleY(-1); }
.c-br { bottom: 10px; right: 10px; transform: scale(-1); }

.pattern-red { background: var(--red); position: relative; isolation: isolate; }
.pattern-red::before, .cream-pattern::before, .pattern-dark::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-mask: url(../img/orn/pattern.svg) 0 0 / 76px repeat; mask: url(../img/orn/pattern.svg) 0 0 / 76px repeat; }
.pattern-red::before { background: color-mix(in srgb, var(--gold-light) 13%, transparent); }
.pattern-dark { position: relative; isolation: isolate; background: radial-gradient(ellipse at 50% 35%, color-mix(in srgb, var(--red) 70%, #2a0c0c) 0%, var(--red-deep) 45%, #1a0a08 100%); }
.pattern-dark::before { background: color-mix(in srgb, var(--gold) 8%, transparent); }
.cream-pattern { position: relative; isolation: isolate; background: var(--parchment); color: var(--text-dark); }
.cream-pattern::before { background: color-mix(in srgb, var(--gold) 16%, transparent); }
.parchment-bg { background: var(--parchment); color: var(--text-dark); }

/* ── Typography ────────────────────────────────────────────── */
.eyebrow { font-family: var(--f-ui); font-size: 11px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); line-height: 1.6; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow-sm { font-size: 10px; letter-spacing: .3em; }
.eyebrow-red { color: var(--red); }
.eyebrow-light { color: var(--text); letter-spacing: .3em; }
.eyebrow-muted { color: var(--text-muted); }
.eyebrow-line { display: flex; width: 100%; }
.eyebrow-line::after { content: ''; flex: 1; height: 1px; background: var(--line); margin-left: 12px; }
.display { font-family: var(--f-display); font-weight: 300; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.12; letter-spacing: -.005em; color: var(--text); margin: 8px 0 4px; }
.display.xl { font-size: clamp(38px, 5.2vw, 64px); }
.display em { font-style: italic; color: var(--gold-light); }
.display.dark, .cream-pattern .display, .parchment-bg .display, .parchment .display { color: var(--text-dark); }
.display.dark em, .cream-pattern .display em, .parchment-bg .display em, .parchment .display em { color: var(--red); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-muted); max-width: 62ch; margin-top: 10px; }
.lead.dark, .cream-pattern .lead, .parchment-bg .lead { color: var(--muted-dark); }
.rich { font-size: 18px; line-height: 1.7; }
.rich p + p, .rich ul, .rich ol, .rich h2, .rich h3, .rich blockquote { margin-top: 1em; }
.rich ul { list-style: disc; padding-left: 1.3em; }
.rich ol { list-style: decimal; padding-left: 1.3em; }
.rich h2, .rich h3 { font-family: var(--f-display); font-weight: 400; }
.rich a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.rich.dark { color: var(--text-dark); }
.rich.dark a { color: var(--red); }
.rich blockquote { border-left: 2px solid var(--gold); padding-left: 16px; font-style: italic; }
.rich .ql-align-center { text-align: center; }
.rich .ql-align-right { text-align: right; }

/* ── Buttons & links ───────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--f-ui); font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; padding: 15px 28px; border: 1px solid transparent; line-height: 1.2; transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold-grad); color: var(--ink); border-color: color-mix(in srgb, var(--gold-light) 60%, var(--gold)); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 18px -8px rgba(201,162,74,.6); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-outline { border-color: var(--gold); color: var(--gold-light); background: transparent; }
.btn-outline:hover { background: color-mix(in srgb, var(--gold) 14%, transparent); }
.btn-ghost { color: var(--gold-light); border-color: var(--line); background: rgba(14,10,8,.35); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-red { background: var(--red); color: var(--gold-light); border-color: var(--red); }
.btn-red:hover { background: color-mix(in srgb, var(--red) 85%, #000); }
.btn-sm { padding: 10px 16px; font-size: 10.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.cream-pattern .btn-outline, .parchment-bg .btn-outline, .parchment .btn-outline { color: var(--red); border-color: var(--red); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); transition: gap .2s, color .2s; }
.link-arrow:hover { gap: 14px; color: var(--gold-light); }
.link-arrow.dark { color: var(--red); }
.link-sm { font-size: 15px; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.link-btn { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }

/* ── Header ───────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ink) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand-mark { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-logo); font-size: 23px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-light); white-space: nowrap; }
.brand-sub { font-family: var(--f-ui); font-size: 8.5px; letter-spacing: .58em; text-transform: uppercase; color: var(--gold); margin-top: 9px; white-space: nowrap; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: clamp(12px, 2.1vw, 34px); }
.main-nav a { position: relative; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-ui); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--text); padding: 12px 0; white-space: nowrap; transition: color .2s; }
.main-nav a:hover { color: var(--gold-light); }
.main-nav a.is-active { color: var(--gold-light); }
.main-nav a.is-active::after { content: ''; position: absolute; left: 0; right: .24em; bottom: 2px; height: 1px; background: var(--gold); }
.nav-lock { color: var(--gold); display: inline-flex; }
.nav-lock .ic { width: 12px; height: 12px; }
.nav-mobile-extra { display: none; }
.header-tools { display: flex; align-items: center; gap: 18px; flex: none; }
.lang-switch { font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .2em; color: var(--text-muted); white-space: nowrap; }
.lang-switch .is-on { color: var(--gold-light); }
.btn-login { padding: 12px 18px; }
.member-menu { position: relative; }
.member-btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); }
.avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red); border: 1px solid var(--gold); color: var(--gold-light); font-family: var(--f-ui); font-size: 11px; letter-spacing: .05em; flex: none; }
.avatar-lg { width: 64px; height: 64px; font-size: 18px; font-family: var(--f-display); }
.member-drop { position: absolute; right: 0; top: calc(100% + 12px); min-width: 240px; background: var(--ink-2); border: 1px solid var(--line); padding: 8px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.7); z-index: 60; }
.member-drop-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line-soft); margin-bottom: 6px; font-size: 16px; }
.member-drop-head small { display: block; color: var(--text-muted); font-size: 13px; }
.member-drop a, .member-drop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; font-family: var(--f-ui); font-size: 12.5px; letter-spacing: .04em; color: var(--text); text-align: left; }
.member-drop a:hover, .member-drop button:hover { background: color-mix(in srgb, var(--gold) 10%, transparent); color: var(--gold-light); }
.member-drop form { margin: 0; }
.nav-toggle { display: none; color: var(--gold-light); padding: 8px; }
.nav-toggle .ic { width: 26px; height: 26px; }

/* ── Flash ────────────────────────────────────────────────── */
.flash { border-bottom: 1px solid var(--line); background: var(--ink-2); font-size: 16px; }
.flash .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.flash-success { background: color-mix(in srgb, #2f5a3a 40%, var(--ink)); }
.flash-error { background: color-mix(in srgb, var(--red) 60%, var(--ink)); }
.flash-info { background: color-mix(in srgb, var(--gold) 14%, var(--ink)); }
.flash-x { color: var(--text-muted); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); min-height: min(640px, calc(100vh - var(--header-h) - 16px)); border-bottom: 2px solid color-mix(in srgb, var(--gold) 70%, transparent); }
.hero-panel { display: flex; align-items: center; padding: clamp(48px, 6vw, 88px) clamp(28px, 4vw, 64px) clamp(48px, 6vw, 88px) clamp(56px, 6.5vw, 100px); overflow: hidden; }
.hero-medal { position: absolute; width: 480px; height: 480px; right: -170px; top: 50%; transform: translateY(-50%); background-color: color-mix(in srgb, var(--gold-light) 9%, transparent); z-index: 0; }
.mongol-script { position: absolute; left: clamp(20px, 2.6vw, 40px); top: 70px; writing-mode: vertical-lr; font-family: 'Noto Sans Mongolian', serif; font-size: 18px; color: var(--gold); letter-spacing: .1em; opacity: .9; }
.mongol-script::after { content: ''; display: block; width: 1px; height: 120px; background: var(--line); margin: 16px auto 0; }
.hero-copy { position: relative; z-index: 1; max-width: 540px; }
.hero-title { font-family: var(--f-display); font-weight: 300; font-size: clamp(36px, 3.7vw, 58px); line-height: 1.08; color: var(--text); margin: 18px 0 6px; }
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-text { font-size: clamp(17px, 1.5vw, 20px); color: color-mix(in srgb, var(--text) 85%, var(--gold)); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-photo { background: color-mix(in srgb, var(--ink) 70%, var(--red)); padding: 22px; display: flex; }
.hero-photo-frame { flex: 1; border: 1px solid var(--line); overflow: hidden; display: flex; }
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-frame figcaption { position: absolute; right: 28px; bottom: 22px; z-index: 3; color: var(--text); font-size: 10.5px; text-shadow: 0 1px 6px rgba(0,0,0,.8); }

/* ── Featured strip ───────────────────────────────────────── */
.featured-strip { padding: 34px 0 40px; background: var(--ink); }
.strip-head { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; flex-wrap: wrap; }
.strip-title { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(24px, 2.4vw, 32px); color: var(--text); }
.strip-head .orn-divider { flex: none; margin-left: auto; }
.strip-head .link-arrow { margin-left: 22px; }
.featured-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.featured-item { display: flex; gap: 16px; align-items: center; }
.featured-thumb { width: 86px; height: 86px; flex: none; padding: 3px; background: var(--gold-grad); box-shadow: 0 8px 18px -8px #000; }
.featured-thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured-meta { display: flex; flex-direction: column; min-width: 0; }
.featured-no { font-family: var(--f-display); font-size: 17px; color: var(--gold); }
.featured-title { font-family: var(--f-display); font-style: italic; font-size: 19px; line-height: 1.2; color: var(--text); transition: color .2s; }
.featured-item:hover .featured-title { color: var(--gold-light); }
.featured-artist { font-family: var(--f-ui); font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; }

/* ── Generic sections ─────────────────────────────────────── */
.home-section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.dark-section { background: linear-gradient(180deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 85%, #2b1d14) 100%); }
.dark-section.alt { background: var(--ink); }
.section-head { margin-bottom: 36px; }
.section-head.align-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.align-center .lead { margin-left: auto; margin-right: auto; }
.section-head.align-left .orn-divider { margin-left: -6px; }
.section-emblem { width: 58px; height: 58px; margin-bottom: 10px; }
.section-head.align-left .section-emblem { display: none; }
.section-split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-split .section-head { margin-bottom: 30px; }
.section-split > .link-arrow { margin-bottom: 44px; }
.with-emblem { gap: 12px; }
.mini-emblem { width: 34px; height: 34px; background-color: var(--gold); }

/* About */
.about { padding: clamp(64px, 8vw, 100px) 0; }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: color-mix(in srgb, var(--gold) 35%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); }
.stat { background: var(--parchment); padding: 26px 22px; }
.stat dt { font-family: var(--f-display); font-size: clamp(36px, 4vw, 52px); font-weight: 300; color: var(--red); line-height: 1; }
.stat dd { font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-dark); margin-top: 10px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card { display: flex; flex-direction: column; min-height: 230px; padding: 30px 28px 24px; background: linear-gradient(180deg, #1c1410 0%, var(--ink) 100%); color: var(--text); border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent); box-shadow: 0 18px 30px -18px rgba(0,0,0,.55); transition: transform .25s, box-shadow .25s; }
.service-card .corner { width: 30px; height: 30px; top: 7px; left: 7px; }
.service-card .c-tr { left: auto; right: 7px; }
.service-card .c-bl { top: auto; bottom: 7px; }
.service-card .c-br { top: auto; left: auto; right: 7px; bottom: 7px; }
a.service-card:hover { transform: translateY(-4px); box-shadow: 0 26px 40px -20px rgba(0,0,0,.7); }
.service-num { font-family: var(--f-display); font-size: 30px; color: var(--gold); line-height: 1; }
.service-knot { position: absolute; top: 26px; right: 28px; width: 26px; height: 26px; }
.service-title { font-family: var(--f-display); font-weight: 300; font-size: 24px; line-height: 1.2; margin: 18px 0 10px; color: var(--text); }
.service-title em { font-style: italic; color: var(--gold-light); }
.service-text { font-size: 15.5px; color: var(--text-muted); line-height: 1.55; flex: 1; }
.service-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.service-video { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-ui); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); }
.service-cta { background: var(--red); border-color: color-mix(in srgb, var(--gold) 30%, transparent); justify-content: space-between; }
.service-cta .service-title { margin-top: 6px; }
.service-phone { display: flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-size: 13px; color: var(--text); margin: 4px 0 16px; }
.services-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 6vw, 80px); padding-bottom: 48px; }
.page-hero { padding-bottom: clamp(56px, 7vw, 96px); }
.crumbs { font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); }
.crumbs a:hover { color: var(--gold); }
.cream-pattern .crumbs { color: var(--muted-dark); }
.service-detail { padding: 48px 0 80px; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); margin-top: 24px; align-items: start; }
.service-detail-grid .btn { margin-top: 28px; }
.service-media { display: grid; gap: 20px; }
.framed-photo { padding: 10px; background: var(--ink); }
.framed-photo img { width: 100%; }
.service-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 56px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--gold) 35%, transparent); }
.service-nav a { font-family: var(--f-ui); font-size: 11px; letter-spacing: .12em; padding: 8px 14px; border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); color: var(--muted-dark); }
.service-nav a span { color: var(--red); margin-right: 4px; }
.service-nav a.is-active, .service-nav a:hover { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.request-section { padding: clamp(56px, 7vw, 96px) 0; }
.request-form { padding: clamp(32px, 5vw, 56px); background: var(--ink-2); border: 1px solid var(--line-soft); }
.request-form .display { font-size: clamp(28px, 3vw, 38px); }

/* Video */
.video-block { position: relative; background: #000; border: 1px solid var(--line); box-shadow: 0 30px 50px -24px rgba(0,0,0,.8); }
.video-block video, .video-block iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; background: #000; border: 0; }
.video-poster { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.video-poster:hover img { transform: scale(1.03); }
.video-fallback { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, var(--red) 0%, var(--ink) 75%); }
.play-ring { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; border: 1px solid var(--gold-light); background: rgba(14,10,8,.45); display: grid; place-items: center; color: var(--gold-light); backdrop-filter: blur(2px); transition: transform .2s, background .2s; }
.play-ring .ic { width: 26px; height: 26px; margin-left: 4px; }
.video-poster:hover .play-ring { transform: scale(1.06); background: rgba(14,10,8,.65); }
.video-poster.is-empty { cursor: default; }
.video-soon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: rgba(14,10,8,.72); border: 1px solid var(--line); font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); white-space: nowrap; }
.video-tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--f-ui); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-light); background: rgba(14,10,8,.7); border: 1px solid var(--line); padding: 5px 10px; pointer-events: none; }
.video-title { position: absolute; left: 20px; right: 20px; bottom: 16px; font-family: var(--f-display); font-style: italic; font-size: 19px; color: var(--text); text-shadow: 0 2px 10px #000; pointer-events: none; }
.video-block.is-playing .video-title, .video-block.is-playing .video-tag { display: none; }

/* Classes */
.class-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.class-strip.is-locked { opacity: .9; }
.class-mini { padding: 26px 26px 22px; border: 1px solid var(--line); background: rgba(14,10,8,.4); }
.class-mini .corner, .class-card .corner { width: 24px; height: 24px; top: 5px; left: 5px; }
.class-mini .c-tr, .class-card .c-tr { left: auto; right: 5px; }
.class-mini .c-bl, .class-card .c-bl { top: auto; bottom: 5px; }
.class-mini .c-br, .class-card .c-br { top: auto; left: auto; right: 5px; bottom: 5px; }
.class-title { font-family: var(--f-display); font-weight: 300; font-size: 26px; line-height: 1.2; margin: 10px 0 12px; color: var(--text); }
.class-line { display: flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-size: 12.5px; color: var(--text-muted); margin-top: 6px; }
.class-price { font-family: var(--f-display); font-size: 21px; color: var(--gold-light); white-space: nowrap; }
.class-price small { font-size: 15px; color: var(--text-muted); }
.classes-page { padding: clamp(48px, 6vw, 80px) 0 96px; }
.classes-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.classes-main .video-block { margin-top: 28px; }
.side-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.classes-side { display: grid; gap: 16px; }
.class-card { padding: 24px 26px 18px; border: 1px solid var(--line); background: rgba(14,10,8,.5); }
.class-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.class-card .class-title { margin: 6px 0 10px; }
.class-more { margin-top: 12px; }
.class-more summary { font-family: var(--f-ui); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); cursor: pointer; }
.class-more .rich { font-size: 16px; margin-top: 10px; color: var(--text-muted); }
.class-more .video-block { margin-top: 14px; }
.class-register { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.class-register .form-result { flex-basis: 100%; text-align: right; }
.teacher { display: flex; gap: 18px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.teacher-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); }
.teacher-name { font-family: var(--f-display); font-size: 22px; }
.teacher-title { font-style: italic; color: var(--text-muted); font-size: 15px; }
.students { margin-top: 30px; }
.student-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.student-thumb { padding: 3px; background: var(--gold-grad); aspect-ratio: 4 / 3; }
.student-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Locked CTA & teaser */
.locked-cta { display: flex; align-items: center; gap: 22px; margin-top: 30px; padding: 22px 26px; border: 1px solid var(--line); background: linear-gradient(90deg, color-mix(in srgb, var(--red) 55%, transparent), rgba(14,10,8,.4)); flex-wrap: wrap; }
.locked-ic { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); flex: none; }
.locked-copy { flex: 1; min-width: 220px; }
.locked-title { font-family: var(--f-display); font-size: 22px; color: var(--text); }
.locked-text { font-size: 15.5px; color: var(--text-muted); }
.locked-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.museum-section .locked-cta { text-align: left; }
.teaser-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.teaser-card { display: flex; flex-direction: column; gap: 10px; }
.teaser-img { aspect-ratio: 4 / 3; padding: 4px; background: var(--gold-grad); overflow: hidden; }
.teaser-img img { width: 100%; height: 100%; object-fit: cover; filter: blur(5px) saturate(.8) brightness(.75); transform: scale(1.08); }
.teaser-line { height: 12px; width: 70%; background: rgba(237,227,204,.12); }
.teaser-line.short { width: 40%; height: 8px; }
.teaser-price { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* Artwork grid & cards */
.list-page { padding: clamp(40px, 5vw, 64px) 0 96px; }
.list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.list-head .display em { font-size: .72em; }
.list-tools { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.search-field { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); padding: 6px 0; min-width: min(300px, 100%); color: var(--gold); }
.search-field input { background: none; border: 0; outline: none; color: var(--text); font-style: italic; font-size: 17px; width: 100%; }
.search-field input::placeholder { color: var(--text-muted); }
.sort-field { display: flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); }
.sort-field select { background: transparent; border: 0; color: var(--text); font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.sort-field select option { background: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.chips.center { justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; padding: 9px 16px; border: 1px solid var(--line); color: var(--text); transition: background .2s, border-color .2s; }
.chip small { color: var(--text-muted); font-size: 10px; letter-spacing: .1em; }
.chip:hover { border-color: var(--gold); }
.chip.is-on { background: var(--gold-grad); color: var(--ink); border-color: var(--gold); }
.chip.is-on small { color: color-mix(in srgb, var(--ink) 70%, transparent); }
.chip-sold { margin-left: auto; }
.sold-dot { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--text); }
.sold-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #c0262d; box-shadow: 0 0 0 3px rgba(192,38,45,.2); }
.chip-sold .sold-dot::before, span.sold-dot:empty::before { margin: 0; }
.art-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.art-frame { display: block; padding: 4px; background: var(--gold-grad); box-shadow: 0 16px 28px -16px #000, inset 0 0 0 1px rgba(255,255,255,.2); aspect-ratio: 4 / 3; overflow: hidden; }
.art-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; box-shadow: inset 0 0 0 1px rgba(0,0,0,.4); }
.art-card:hover .art-frame img { transform: scale(1.04); }
.art-empty { display: grid; place-items: center; height: 100%; background: var(--ink-2); color: var(--text-muted); }
.art-meta { padding-top: 14px; }
.art-title { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 22px; line-height: 1.2; }
.art-title a:hover { color: var(--gold-light); }
.art-sub { font-family: var(--f-ui); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.art-price { margin-top: 12px; min-height: 26px; }
.price { font-family: var(--f-display); font-size: 21px; color: var(--gold-light); letter-spacing: .02em; }
.price-note { font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.empty { padding: 60px 0; color: var(--text-muted); font-style: italic; font-size: 20px; }

/* Artwork detail */
.artwork-page { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: start; background: var(--ink); }
.artwork-stage { position: sticky; top: calc(var(--header-h) + 0px); height: calc(100vh - var(--header-h)); min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px clamp(24px, 5vw, 80px) 100px; overflow: hidden; }
.artwork-stage .corner { width: 38px; height: 38px; top: 28px; left: 28px; }
.artwork-stage .c-tr { left: auto; right: 28px; }
.artwork-stage .c-bl { top: auto; bottom: 86px; }
.artwork-stage .c-br { top: auto; left: auto; right: 28px; bottom: 86px; }
.artwork-figure { position: relative; z-index: 1; }
.artwork-main { display: block; padding: 7px; background: var(--gold-grad); box-shadow: 0 40px 60px -26px #000, 0 0 0 1px rgba(0,0,0,.4); cursor: zoom-in; }
.artwork-main img { max-height: calc(100vh - var(--header-h) - 230px); min-height: 0; width: auto; max-width: 100%; }
.artwork-main.is-empty { width: 320px; height: 400px; display: grid; place-items: center; color: var(--text-muted); background: var(--ink-2); cursor: default; }
.stage-tools { position: absolute; left: 28px; bottom: 30px; display: flex; gap: 24px; z-index: 2; }
.tool-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); }
.tool-link:hover { color: #fff; }
.stage-thumbs { position: absolute; right: 28px; bottom: 22px; display: flex; gap: 8px; z-index: 2; }
.stage-thumb { width: 54px; height: 54px; border: 1px solid transparent; opacity: .7; transition: opacity .2s, border-color .2s; }
.stage-thumb img { width: 100%; height: 100%; object-fit: cover; }
.stage-thumb.is-on, .stage-thumb:hover { opacity: 1; border-color: var(--gold-light); }
.artwork-info { padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 64px) 64px; background: var(--ink); border-left: 1px solid var(--line-soft); }
.info-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.prevnext { display: flex; align-items: center; gap: 10px; font-family: var(--f-ui); font-size: 11px; letter-spacing: .2em; color: var(--text-muted); }
.prevnext a { color: var(--gold); padding: 4px; }
.art-no { font-family: var(--f-display); font-size: 44px; font-weight: 300; color: var(--gold); margin: 20px 0 14px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; line-height: 1; }
.art-no .eyebrow { font-size: 10px; }
.artwork-title { font-family: var(--f-display); font-weight: 300; font-size: clamp(36px, 4vw, 54px); line-height: 1.08; margin-top: 10px; }
.artwork-alt { font-family: var(--f-display); font-style: italic; color: var(--gold); font-size: 20px; margin-top: 6px; }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 4px 0 24px; }
.spec dt { font-family: var(--f-ui); font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-muted); }
.spec dd { font-size: 19px; margin-top: 4px; }
.price-box { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid var(--line); background: rgba(201,162,74,.04); margin-bottom: 14px; flex-wrap: wrap; }
.price-big .price { font-size: 38px; font-weight: 300; }
.price-big .price-note, .price-big .sold-dot { font-size: 12px; }
.price-note-r { font-family: var(--f-ui); font-size: 11.5px; letter-spacing: .06em; color: var(--text-muted); text-align: right; line-height: 1.7; }
.artwork-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 8px; align-items: flex-start; }
.artwork-actions .btn { padding-top: 17px; padding-bottom: 17px; }
.inline-form { display: contents; }
.inline-form .form-result { flex-basis: 100%; order: 10; }
.btn-ar { opacity: .75; }
.note-italic { font-style: italic; color: var(--text-muted); font-size: 16px; margin-top: 10px; }
.artwork-desc { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-soft); color: color-mix(in srgb, var(--text) 90%, var(--text-muted)); }
.artwork-video { margin-top: 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag { font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .14em; padding: 5px 10px; border: 1px solid var(--line-soft); color: var(--text-muted); }

/* Audio player */
.audio-player { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border: 1px solid var(--line); background: rgba(14,10,8,.6); margin-top: 6px; }
.audio-toggle { width: 54px; height: 54px; border-radius: 50%; background: var(--gold-grad); color: var(--ink); display: grid; place-items: center; flex: none; box-shadow: 0 6px 16px -6px rgba(201,162,74,.7); }
.audio-toggle .ic { width: 20px; height: 20px; }
.audio-toggle .when-playing { display: none; }
.audio-player.is-playing .when-playing { display: inline; }
.audio-player.is-playing .when-paused { display: none; }
.when-paused .ic { margin-left: 3px; }
.audio-body { flex: 1; min-width: 0; }
.audio-head { display: flex; justify-content: space-between; align-items: center; }
.audio-time { font-family: var(--f-ui); font-size: 10.5px; color: var(--text-muted); letter-spacing: .06em; }
.audio-title { font-style: italic; font-size: 17px; margin: 2px 0 6px; }
.audio-wave { position: relative; height: 26px; cursor: pointer; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--gold) 45%, transparent) 0 2px, transparent 2px 5px); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 26' preserveAspectRatio='none'%3E%3Cpath d='M0 13h2v-3h3v7h3v-9h3v11h3v-6h3v4h3v-12h3v15h3v-9h3v5h3v-7h3v10h3v-14h3v17h3v-11h3v6h3v-4h3v9h3v-12h3v14h3v-8h3v3h3v-6h3v10h3v-13h3v16h3v-10h3v7h3v-5h3v8h3v-11h3v13h3v-7h3v4h3v-9h3v12h3v-15h3v17h3v-12h3v8h3v-4h3v6h3v-10h3v13h3v-9h3v5h3v-3h3v7h3v-11h3v14h3v-8h3v4h3v-6h3v9h3v-13h3v15h3v-10h3v6h3v-4h3v8h3v-12h3v13h3v-7h3v3h3v-5h3v9h3v-11h3v14h3v-9h3v6h3v-3h3v5h3v-8h3v11h3v-6h3v3h2V13z' fill='black'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 26' preserveAspectRatio='none'%3E%3Cpath d='M0 13h2v-3h3v7h3v-9h3v11h3v-6h3v4h3v-12h3v15h3v-9h3v5h3v-7h3v10h3v-14h3v17h3v-11h3v6h3v-4h3v9h3v-12h3v14h3v-8h3v3h3v-6h3v10h3v-13h3v16h3v-10h3v7h3v-5h3v8h3v-11h3v13h3v-7h3v4h3v-9h3v12h3v-15h3v17h3v-12h3v8h3v-4h3v6h3v-10h3v13h3v-9h3v5h3v-3h3v7h3v-11h3v14h3v-8h3v4h3v-6h3v9h3v-13h3v15h3v-10h3v6h3v-4h3v8h3v-12h3v13h3v-7h3v3h3v-5h3v9h3v-11h3v14h3v-9h3v6h3v-3h3v5h3v-8h3v11h3v-6h3v3h2V13z' fill='black'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.audio-progress { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--gold-light); }
.audio-player.is-compact { padding: 10px 14px; gap: 12px; }
.audio-player.is-compact .audio-toggle { width: 38px; height: 38px; }

/* Museum (collection) */
.museum-section { background: radial-gradient(ellipse at 50% 0%, #2a1a12 0%, var(--ink) 70%); padding: clamp(56px, 7vw, 96px) 0; }
.museum-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: end; margin-top: 12px; }
.museum-item { display: flex; flex-direction: column; align-items: center; }
.museum-frame { display: block; padding: 26px; width: 100%; }
.museum-frame .corner { width: 26px; height: 26px; top: 0; left: 0; }
.museum-frame .c-tr { left: auto; right: 0; }
.museum-frame .c-bl { top: auto; bottom: 0; }
.museum-frame .c-br { top: auto; left: auto; right: 0; bottom: 0; }
.museum-img { display: block; padding: 6px; background: var(--gold-grad); box-shadow: 0 36px 46px -24px #000; }
.museum-img img { width: 100%; max-height: 360px; object-fit: contain; background: #1a120d; }
.museum-label { width: 82%; margin-top: -2px; background: linear-gradient(180deg, #f3ebd9, #e6dac0); color: var(--text-dark); text-align: center; padding: 14px 16px 12px; box-shadow: 0 12px 22px -12px #000; }
.museum-code { font-family: var(--f-ui); font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-dark); }
.museum-title { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: 21px; color: var(--text-dark); margin-top: 4px; }
.museum-artist { font-size: 14px; color: var(--muted-dark); }
.museum-audio { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(86,16,22,.2); font-family: var(--f-ui); font-size: 9.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.mini-play { width: 20px; height: 20px; border-radius: 50%; background: var(--red); color: var(--gold-light); display: grid; place-items: center; }
.mini-play .ic { width: 10px; height: 10px; margin-left: 1px; }
.museum-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-soft); flex-wrap: wrap; color: var(--text-muted); font-size: 18px; }
.museum-foot form { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.museum-teaser { text-align: center; }
.museum-count { font-family: var(--f-display); font-size: 22px; color: var(--text-muted); }
.museum-count span { font-size: 56px; color: var(--gold-light); font-weight: 300; margin-right: 8px; }

/* Contact */
.contact-section { padding: 0; }
.contact-page { min-height: 60vh; }
.contact-split { display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr); }
.contact-info { padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 88px); }
.parchment { background: var(--parchment); color: var(--text-dark); }
.info-list { display: grid; gap: 18px; margin-top: 8px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; font-size: 18px; line-height: 1.45; }
.info-ic { width: 40px; height: 40px; border: 1px solid color-mix(in srgb, var(--gold) 70%, transparent); display: grid; place-items: center; color: var(--red); flex: none; }
.info-ic .ic { width: 17px; height: 17px; }
.info-k { display: block; font-family: var(--f-ui); font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.info-list a:hover { color: var(--red); }
.social-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.social-chips a, .social-chips span { font-family: var(--f-ui); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; padding: 9px 14px; border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); color: var(--muted-dark); }
.social-chips a:hover { background: var(--red); color: var(--gold-light); border-color: var(--red); }
.contact-right { display: flex; flex-direction: column; background: var(--ink); }
.map-box { position: relative; height: 300px; background: #16110e; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.map-box iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.92) hue-rotate(180deg) contrast(.9); }
.map-art { position: absolute; inset: 0; }
.map-road { position: absolute; background: rgba(201,162,74,.22); }
.map-road.r1 { left: -10%; right: -10%; top: 58%; height: 3px; transform: rotate(-7deg); }
.map-road.r2 { left: 22%; top: -10%; bottom: -10%; width: 3px; transform: rotate(8deg); }
.map-road.r3 { left: 64%; top: -10%; bottom: -10%; width: 2px; transform: rotate(-12deg); }
.map-river { position: absolute; left: -10%; right: -10%; bottom: 14%; height: 10px; border-radius: 50%; border-top: 6px solid rgba(90,110,130,.55); transform: rotate(-4deg); }
.map-label { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); background: var(--ink); border: 1px solid var(--gold); padding: 10px 18px; text-align: center; }
.map-label em { display: block; font-family: var(--f-display); font-size: 17px; color: var(--text); }
.map-pin { position: absolute; left: 50%; top: 44%; transform: translateX(-50%); color: var(--gold); }
.map-pin .ic { width: 34px; height: 34px; fill: var(--gold); }
.map-open { position: absolute; right: 16px; bottom: 16px; }
.contact-form { padding: clamp(32px, 4vw, 52px) clamp(24px, 4vw, 64px); flex: 1; }
.form-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.form-head-title { font-family: var(--f-display); font-size: 24px; font-weight: 300; color: var(--text); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; flex: 1; min-width: 0; }
.field-label { font-family: var(--f-display); font-style: italic; font-size: 15px; color: var(--text-muted); }
.field input, .field select, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 8px 0 10px; color: var(--text); font-size: 18px; border-radius: 0; outline: none; transition: border-color .2s; }
.field select { -webkit-appearance: none; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A24A' fill='none'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 24px; }
.field select option { background: var(--ink); color: var(--text); }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold-light); }
.field.has-error input { border-bottom-color: #d4515a; }
.field-error { font-family: var(--f-ui); font-size: 11.5px; color: #e48089; }
.field-muted .field-label { font-size: 14px; }
.field-row { display: flex; gap: 22px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; color: var(--text); cursor: pointer; margin: 6px 0 18px; }
.check input { width: 16px; height: 16px; margin-top: 4px; accent-color: var(--gold); flex: none; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-note { font-style: italic; color: var(--text-muted); font-size: 15px; display: flex; align-items: center; gap: 6px; }
.form-alert { padding: 12px 14px; border: 1px solid color-mix(in srgb, #d4515a 60%, transparent); background: rgba(160, 30, 40, .18); font-size: 16px; margin-bottom: 16px; }
.form-result { font-size: 16px; padding: 10px 0 0; color: var(--gold-light); }
.form-result.is-error { color: #e48089; }
.fieldset { border: 1px solid var(--line-soft); padding: 14px 16px 2px; margin: 4px 0 20px; }
.cream-pattern .field input, .cream-pattern .field select, .cream-pattern .field textarea { color: var(--text-dark); border-bottom-color: color-mix(in srgb, var(--gold) 60%, transparent); }

/* Auth */
.auth-page { padding: clamp(40px, 6vw, 80px) 0 96px; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--red) 35%, var(--ink)) 0%, var(--ink) 65%); }
.auth-wrap { display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 520px; padding: clamp(36px, 5vw, 52px) clamp(24px, 5vw, 52px); background: var(--ink); border: 1px solid var(--line); box-shadow: 0 40px 70px -30px #000; }
.auth-card.center { text-align: center; }
.auth-logo { width: 54px; height: 54px; display: block; margin: 0 auto 14px; }
.auth-title { font-family: var(--f-display); font-weight: 300; font-size: clamp(26px, 3vw, 32px); text-align: center; line-height: 1.2; }
.auth-title em { font-style: italic; color: var(--gold-light); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 22px 0 22px; border-bottom: 1px solid var(--line-soft); }
.auth-tabs a { text-align: center; padding: 10px 0; font-family: var(--f-ui); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.auth-tabs a.is-active { color: var(--gold-light); border-bottom-color: var(--gold); }
.auth-form { text-align: left; margin-top: 14px; }
.auth-note { font-style: italic; color: var(--text-muted); font-size: 15px; text-align: center; margin-top: 14px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.auth-row .check { margin: 0; }
.auth-resend { text-align: center; margin-top: 16px; }
.big-ic { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 18px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); }
.big-ic .ic { width: 28px; height: 28px; }
.dev-note { margin-top: 18px; padding: 10px 12px; font-family: var(--f-ui); font-size: 12px; background: rgba(201,162,74,.1); border: 1px dashed var(--line); color: var(--gold-light); }
.dev-note a { text-decoration: underline; }
.locked-page { position: relative; padding: clamp(40px, 6vw, 72px) 0 96px; overflow: hidden; min-height: 70vh; }
.locked-backdrop { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 40px; opacity: .35; filter: blur(6px); }
.ghost-card { aspect-ratio: 4 / 3; padding: 4px; background: var(--gold-grad); }
.ghost-card span { display: block; height: 100%; background: linear-gradient(135deg, var(--red), #2b1d14 60%, #3d4c63); }
.locked-grid { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 520px) 1fr; gap: 40px; align-items: center; }
.locked-benefits .display { font-size: clamp(28px, 3vw, 40px); }
.benefits { display: grid; gap: 18px; margin-top: 22px; }
.benefits li { display: flex; gap: 14px; }
.benefits .orn { width: 22px; height: 22px; margin-top: 4px; }
.benefits strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 20px; }
.benefits span { color: var(--text-muted); font-size: 15.5px; }
.locked-side { text-align: right; display: grid; gap: 6px; color: var(--text); font-size: 17px; }
.locked-side p:nth-child(2) { margin-bottom: 16px; }

/* Account */
.account-page { padding: clamp(40px, 5vw, 72px) 0 96px; }
.account-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.account-card { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); background: var(--ink-2); }
.warn { color: #e48089; }
.install-box { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: grid; gap: 8px; justify-items: start; }

/* Message pages */
.message-page { padding: clamp(64px, 9vw, 120px) 0; min-height: 50vh; }
.message-medal { width: 90px; height: 90px; display: block; margin: 0 auto 20px; opacity: .8; }
.message-page .display { margin-bottom: 14px; }
.message-page .lead { margin: 0 auto 28px; }
.plain-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 15px; }
.plain-table th, .plain-table td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line-soft); }
.plain-table a { color: var(--gold-light); text-decoration: underline; }

/* Footer */
.site-footer { background: #080605; border-top: 1px solid var(--line-soft); }
.orn-strip-footer { background: #080605; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer-brand { display: flex; gap: 18px; }
.footer-medal { width: 64px; height: 64px; }
.footer-brand .brand-name { font-size: 19px; }
.footer-brand .brand-sub { margin: 8px 0 14px; }
.footer-text { color: var(--text-muted); font-size: 16px; line-height: 1.6; margin-top: 10px; }
.footer-text a:hover { color: var(--gold-light); }
.site-footer .btn { margin-top: 14px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); }
.social a:hover { background: var(--gold); color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line-soft); font-family: var(--f-ui); font-size: 11px; letter-spacing: .1em; color: var(--text-muted); flex-wrap: wrap; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--gold-light); }

/* PWA install sheet */
.install-sheet { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.install-card { position: relative; width: 100%; max-width: 440px; background: var(--ink-2); border: 1px solid var(--line); padding: 28px 24px; text-align: center; margin-bottom: env(safe-area-inset-bottom); }
.install-card h3 { font-family: var(--f-display); font-weight: 300; font-size: 26px; margin: 10px 0 10px; }
.install-card p { color: var(--text-muted); font-size: 16px; }
.install-card strong { color: var(--gold-light); font-weight: 500; }
.install-logo { width: 54px; height: 54px; }
.install-x { position: absolute; top: 12px; right: 12px; color: var(--text-muted); }

/* Lightbox (B10) */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,6,5,.96); display: flex; align-items: center; justify-content: center; user-select: none; -webkit-user-select: none; touch-action: none; }
.lb-stage { position: relative; max-width: calc(100vw - 140px); max-height: calc(100vh - 110px); overflow: hidden; cursor: zoom-in; }
.lb-stage.is-zoomed { cursor: grab; }
.lb-stage img { max-width: calc(100vw - 140px); max-height: calc(100vh - 110px); width: auto; height: auto; transition: transform .25s ease; transform-origin: center center; }
.lb-stage.is-dragging img { transition: none; }
.lb-btn { position: absolute; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; color: var(--gold-light); border: 1px solid var(--line); border-radius: 50%; background: rgba(14,10,8,.6); }
.lb-btn:hover { border-color: var(--gold); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; margin-top: -26px; }
.lb-next { right: 20px; top: 50%; margin-top: -26px; }
.lb-caption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-family: var(--f-display); font-style: italic; color: var(--text-muted); font-size: 16px; }
.lb-count { font-family: var(--f-ui); font-style: normal; font-size: 11px; letter-spacing: .2em; margin-left: 10px; }

/* C4 · image protection */
.art-frame img, .artwork-main img, .lb-stage img, .museum-img img, .featured-thumb img, .teaser-img img, .stage-thumb img, .student-thumb img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }

/* Pager */
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; font-family: var(--f-ui); font-size: 12px; }
.pager a, .pager span { min-width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-soft); padding: 0 8px; }
.pager .is-current { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.pager .gap { border: 0; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1180px) {
  .brand-name { font-size: 19px; letter-spacing: .26em; }
  .main-nav a { font-size: 10px; letter-spacing: .18em; }
  .main-nav ul { gap: 16px; }
  .featured-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured-list li:nth-child(n+4) { display: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .teaser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .locked-grid { grid-template-columns: 1fr minmax(0, 520px); }
  .locked-side { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: calc(var(--header-h) + 16px) 0 0 0; background: var(--ink); flex-direction: column; justify-content: flex-start; padding: 24px var(--gutter) 40px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; border-top: 1px solid var(--line-soft); z-index: 49; }
  .main-nav.is-open { transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { font-size: 13px; padding: 16px 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .main-nav a.is-active::after { display: none; }
  .nav-mobile-extra { display: grid; gap: 16px; margin-top: 24px; }
  .header-tools .lang-switch { display: none; }
  .btn-login span, .member-label { display: none; }
  .btn-login { padding: 10px 12px; }
  .brand-mark { width: 40px; height: 40px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { min-height: 320px; }
  .hero-panel { padding-left: clamp(56px, 10vw, 90px); }
  .about-grid, .services-hero, .service-detail-grid, .classes-grid, .contact-split, .account-grid { grid-template-columns: 1fr; }
  .artwork-page { grid-template-columns: 1fr; }
  .artwork-stage { position: relative; top: 0; height: auto; min-height: 0; }
  .artwork-main img { max-height: 70vh; }
  .artwork-info { border-left: 0; }
  .class-strip { grid-template-columns: 1fr; }
  .museum-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .locked-grid { grid-template-columns: 1fr; }
  .locked-benefits { order: 2; }
  .student-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .brand-name { font-size: 15px; letter-spacing: .2em; }
  .brand-sub { font-size: 7px; letter-spacing: .42em; margin-top: 6px; }
  .brand { gap: 10px; }
  .header-inner { gap: 10px; }
  .header-tools { gap: 8px; }
  .member-btn .ic-sm { display: none; }
  .mongol-script { display: none; }
  .hero-panel { padding: 56px 28px 48px; }
  .hero-photo { padding: 12px; min-height: 240px; }
  .hero-actions .btn { flex: 1; }
  .featured-list { grid-template-columns: 1fr; gap: 16px; }
  .featured-list li:nth-child(n+4) { display: block; }
  .hide-sm { display: none !important; }
  .strip-head .link-arrow { margin-left: 0; }
  .service-grid, .art-grid, .museum-grid, .teaser-grid { grid-template-columns: 1fr; }
  .art-grid { gap: 32px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .field-row { flex-direction: column; gap: 0; }
  .spec { grid-template-columns: 1fr 1fr; }
  .artwork-stage { padding: 36px 16px 120px; }
  .artwork-stage .corner { display: none; }
  .stage-tools { left: 16px; bottom: 76px; }
  .stage-thumbs { left: 16px; right: auto; bottom: 16px; }
  .artwork-actions .btn { width: 100%; }
  .chip-sold { margin-left: 0; }
  .list-tools { width: 100%; }
  .search-field { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .locked-cta { padding: 18px; }
  .locked-actions .btn { flex: 1; }
  .lb-stage, .lb-stage img { max-width: 100vw; max-height: calc(100vh - 140px); }
  .lb-prev, .lb-next { top: auto; bottom: 60px; margin: 0; }
  .museum-label { width: 92%; }
  .student-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-note-r { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .orn-strip, .lightbox { display: none; }
}
