/* ============================================================
   ASTER HOTEL GROUP – MEETINGS
   Page-only rules for /meetings/ and /en/meetings/. The page is built
   from the shared scenes (scenes.css, scenes.js); this adds the title
   in the page serif, the equipment lists, the sales contacts and the
   seating plans (seating.js). Chosen by Jun on prototype B5, 2026-10-09.
   ============================================================ */
/* The title («Встречи» / "Meetings") uses the page serif, not the Latin brand
   serif: on Russian pages that is Noto Serif Display, which has Cyrillic. */
.meetings-page .sc-title { font-family: var(--serif); }
.meetings-page .sc-title-big { font-size: clamp(3.4rem, 7vw, 7.4rem); }
.meetings-page .sc-title-small { letter-spacing: .3em; }
.meetings-page .sc-arch--centre img { object-position: 30% 50%; }
.mt-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 8px; }
.mt-specs h3 { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--oxblood); font-weight: 500; margin-bottom: 14px; }
.mt-specs ul { list-style: none; }
.mt-specs li { padding: 11px 0; border-top: 1px solid rgba(168,137,87,.28); font-size: .98rem; line-height: 1.45; color: var(--ink); }
.mt-contacts { list-style: none; max-width: 520px; }
.mt-contacts li { padding: 16px 0; border-top: 1px solid rgba(168,137,87,.3); font-family: var(--serif); font-size: 1.35rem; }
.mt-contacts li span { display: block; font-family: var(--sans); font-size: .82rem; color: rgba(43,27,24,.6); margin-top: 4px; }
.mt-contacts a { color: var(--ink); text-decoration: none; }
.sc-fact a { color: var(--oxblood); }
@media (max-width: 900px) { .mt-specs { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Seating plans (seating.js) ---------- */
.st-rooms { display: flex; gap: 28px; margin: 34px 0 22px; border-bottom: 1px solid rgba(168,137,87,.35); }
.st-room { background: none; border: 0; padding: 0 0 12px; font: inherit; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(43,27,24,.5); cursor: pointer; position: relative; }
.st-room[aria-pressed="true"] { color: var(--ink); }
.st-room[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--oxblood); }
.st-layouts { list-style: none; display: flex; flex-direction: column; }
.st-layouts[hidden], .st-controls[hidden] { display: none; }
.st-layout { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 16px; width: 100%; padding: 14px 0; background: none; border: 0; border-bottom: 1px solid rgba(168,137,87,.22); font: inherit; text-align: left; cursor: pointer; color: rgba(43,27,24,.55); transition: color .3s; }
.st-layout[aria-pressed="true"] { color: var(--ink); }
/* Hover only where there is a mouse. On iPhone a :hover colour change made the first tap only
   light the button up and the second one press it (seen in the iOS 27 Simulator, 2026-10-10). */
@media (hover: hover) { .st-layout:hover { color: var(--ink); } }
.st-layout svg { width: 34px; height: 24px; }
.st-layout svg * { fill: none; stroke: currentColor; stroke-width: 1.3; }
.st-layout-name { font-family: var(--serif); font-size: 1.25rem; }
.st-layout-cap { font-size: .82rem; color: var(--oxblood); opacity: 0; transition: opacity .3s; }
.st-layout[aria-pressed="true"] .st-layout-cap { opacity: 1; }
.st-layout:focus-visible, .st-room:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 4px; }
.st-mr-note { display: none; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.st-mr-note.on { display: block; }
.st-plan { background: #EFE6D7; border-radius: 4px; padding: 3%; }
.st-plan svg { display: block; width: 100%; height: auto; overflow: visible; transition: none; }
/* The whole plan, caption included, fits one screen under the header (Jun: on a 13" MacBook the tall
   hall plan ran off the screen). The plan shrinks to the height left and stays centred. */
@media (min-width: 901px) {
  .st-plan svg { width: auto; max-width: 100%; height: calc(100vh - var(--header-h) - 170px); max-height: 760px; min-height: 360px; margin: 0 auto; }
}
.st-wall { fill: none; stroke: rgba(43,27,24,.35); stroke-width: 2; }
.st-gap { stroke: #EFE6D7; stroke-width: 8; }
.st-glass { stroke: #9FB4BC; stroke-width: 6; }
.st-window { stroke: #F7EBC8; stroke-width: 8; }
.st-zone { fill: none; stroke: rgba(124,49,50,.45); stroke-width: 1.5; stroke-dasharray: 6 6; }
.st-stage { fill: #E6DAC6; }
.st-booth { fill: #E6DAC6; stroke: rgba(43,27,24,.35); stroke-width: 1.5; }
/* Size: set by seating.js in plan units, so every label is the same size on screen (variant A, 2026-10-10). */
.st-label { font-family: 'Outfit', 'Onest', sans-serif; font-weight: 400; letter-spacing: .02em; fill: rgba(43,27,24,.72); }
.st-screen { fill: var(--ink); }
.st-chair { fill: var(--oxblood); transition: transform .9s var(--ease-soft), opacity .5s ease; transition-delay: var(--d, 0ms); }
.st-chair.off { opacity: 0; }
.st-table { fill: #D9CBB4; stroke: rgba(43,27,24,.25); stroke-width: 1; transition: opacity .6s ease; }
.st-table.off { opacity: 0; }
.st-table.concrete { fill: #B9B3AA; stroke: rgba(43,27,24,.35); }
.st-caption { margin-top: 18px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .9rem; color: rgba(43,27,24,.7); }
.st-caption b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--oxblood); }
.st-note { margin-top: 6px; font-size: .78rem; color: rgba(43,27,24,.5); }
@media (max-width: 900px) { .st-plan { padding: 2%; } }
/* Phones: the four layouts as a 2×2 grid of small buttons, so the room tabs, the
   layouts, the plan and its caption fit one screen (Jun's iPhone, 2026-10-10: the
   plan ran below the screen). The capacity stays in the caption under the plan;
   in the button it is kept for screen readers only. */
@media (max-width: 900px) {
  .st-rooms { margin: 26px 0 14px; }
  .st-layouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .st-layout { grid-template-columns: 26px 1fr; gap: 10px; padding: 10px 12px; border: 1px solid rgba(168,137,87,.3); border-radius: 3px; transition: color .3s, border-color .3s; }
  .st-layout[aria-pressed="true"] { border-color: var(--oxblood); }
  .st-layout svg { width: 26px; height: 18px; }
  .st-layout-name { font-size: 1rem; line-height: 1.2; }
  .st-layout-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sc-block > .sc-text:has(.st-controls) { margin-bottom: 18px; }
  /* Short phones (iPhone SE): the plan gives up height before the caption leaves the screen.
     svh = the screen with Safari's bars showing. */
  .st-plan svg { width: auto; max-width: 100%; max-height: calc(100svh - var(--header-h) - 310px); min-height: 240px; margin: 0 auto; }
  .st-caption { margin-top: 12px; }
}
/* The narrowest phones (320px): «Переговорный» does not fit beside the icon, so the
   icon goes above the name (measured by tools/checks/geometry.py). */
@media (max-width: 380px) {
  .st-layout { grid-template-columns: 1fr; gap: 6px; padding: 10px 8px; }
}
