/* Brand identity (D110): type in Mountain Standard's own letters. The section stands on the restaurant's own cream and ink
   (its colour arrives with its work); 2012 sets capitals in the 2012 file and borrows everything else, now sets it all in its own. */
@font-face { font-family: "MTN 2012"; src: url(fonts/MountainStandard-2012.ttf) format("truetype"); font-display: swap; }
.bi-stage { background: #F1E7D8; color: #1D1A16; --paper: #1D1A16; --soft: rgba(29, 26, 22, .76); --quiet: rgba(29, 26, 22, .6); --rule: rgba(29, 26, 22, .16); --rule2: rgba(29, 26, 22, .34); --ink: #F1E7D8;
  padding-top: clamp(56px, 7vw, 112px); padding-bottom: clamp(56px, 7vw, 112px); display: grid; gap: clamp(24px, 3vw, 40px); }
.bi-stage :focus-visible { outline-color: #1D1A16; }
.bi-p { margin-top: 14px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.45; color: var(--soft); max-width: 30em; }
.bw { position: relative; min-width: 0; --x: 50; background: #FBF6EE; border: 1px solid rgba(29, 26, 22, .34); touch-action: pan-y; user-select: none; }
.bw-b { padding: clamp(28px, 4vw, 48px) clamp(18px, 3.4vw, 44px) clamp(22px, 3vw, 36px); display: grid; gap: 12px; color: #1D1A16; }
.bw-now { position: absolute; inset: 0; background: #FBF6EE; clip-path: inset(0 0 0 calc(var(--x) * 1%)); }
.bw-b p { margin: 0; max-width: none; }
.bw-name { font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1; letter-spacing: .02em; }
.bw-sec { font-size: clamp(1.1rem, 2vw, 1.6rem); padding-bottom: 8px; border-bottom: 2px solid #A8321F; justify-self: start; }
.bw-row { display: flex; align-items: baseline; gap: 10px; font-size: clamp(1.05rem, 1.9vw, 1.5rem); }
.bw-t { white-space: normal; }
.bw-row i { flex: 1 1 auto; border-bottom: 1px solid rgba(29, 26, 22, .34); transform: translateY(-4px); min-width: 24px; }
.bw-hrs { font-size: clamp(.95rem, 1.5vw, 1.2rem); color: rgba(29, 26, 22, .76); }
.bw-now p { font-family: "MTN Display", serif; font-weight: 400; }
.bw-2012 p { font-family: Georgia, "Times New Roman", serif; }
.bw-2012 .own { font-family: "MTN 2012", "MTN Display", serif; }
.bw-2012 .bor { color: #A8321F; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.bw-lab { position: absolute; top: 8px; z-index: 2; margin: 0; font-size: 13px; font-weight: 600; color: rgba(29, 26, 22, .6); }
.bw-lab-l { left: 12px; } .bw-lab-r { right: 12px; }
.bw-h { position: absolute; top: 0; bottom: 0; left: clamp(24px, calc(var(--x) * 1%), calc(100% - 24px)); width: 2px; margin-left: -1px; background: #1D1A16; z-index: 3; pointer-events: none; }
.bw-h b { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #1D1A16; box-shadow: 0 0 0 4px #FBF6EE; }
.bw-h b::before, .bw-h b::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; margin-top: -6px; }
.bw-h b::before { left: 6px; border-right-color: #FBF6EE; } .bw-h b::after { right: 6px; border-left-color: #FBF6EE; }
.bw-in { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.bw:has(.bw-in:focus-visible) { outline: 2px solid #1D1A16; outline-offset: 3px; }
.bi-key { margin-top: 18px !important; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--soft); margin: 0; max-width: none; }
.bi-key span::before { content: ""; display: inline-block; width: 18px; height: 0; border-top: 2px solid #1D1A16; vertical-align: middle; margin-right: 8px; }
.bi-key .bi-k-bor::before { border-top: 1px solid #A8321F; }
.bi-count { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(20px, 4vw, 64px); }
.bi-count p { display: grid; gap: 8px; align-content: start; border-top: 2px solid var(--paper); padding-top: 14px; max-width: none; }
.bi-count b { font-family: var(--disp); font-weight: 800; font-size: clamp(3rem, 9vw, 7.5rem); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bi-count p + p b { color: var(--truel); }
.bi-count span { color: var(--soft); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.4; max-width: 24em; }
@media (min-width: 900px) {
  .bi-stage { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 4vw, 72px); align-items: start; }
  .bi-words { position: sticky; top: calc(var(--hd) + 24px); }
}

/* From 26 to 209: every visible character of the finished lettering (206 of 209; space, no-break space and soft hyphen are not
   seen), the 26 capitals of 2012 marked. The rest fill in once, in order, as the grid comes into view; with reduced motion, complete. */
.bi-set { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px); display: grid; gap: clamp(20px, 3vw, 36px); }
.bi-set-p { margin-top: 14px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.45; color: var(--soft); max-width: 30em; }
.bi-set-p b { font-family: var(--disp); font-weight: 800; color: var(--paper); font-size: 1.3em; }
.bi-set-p b.t { color: var(--truel); }
.bi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(36px, 1fr)); gap: 0; margin: 0; max-width: none; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); font-family: "MTN Display", serif; font-weight: 400; font-size: 22px; line-height: 1; }
.bi-grid span { display: grid; place-items: center; aspect-ratio: 1; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--paper); opacity: .14; transition: opacity .4s ease calc(var(--i) * 5ms); }
.bi-grid span.is-then { opacity: 1; color: var(--paper); background: rgba(244, 240, 232, .06); }
.bi-grid.is-full span { opacity: 1; }
.bi-grid.is-full span:not(.is-then) { color: var(--truel); }
@media (min-width: 900px) {
  .bi-set { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 4vw, 72px); align-items: start; }
  .bi-grid { grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); font-size: 26px; }
}
@media (max-width: 619px) { .bi-grid { grid-template-columns: repeat(auto-fill, minmax(24px, 1fr)); font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .bi-grid span { transition: none; } }

@media (max-width: 899px) {
  .bi-words { display: contents; }
  .bi-stage h2 { order: 1; } .bw { order: 2; } .bi-p { order: 3; margin-top: 0; } .bi-key { order: 4; }
}
