/*!
Copyright (c) 2010, Toshi Omagari (tosche@mac.com)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
*/
/*!
Copyright © 2022, Steinberg Media Technologies GmbH (http://www.steinberg.net/),
with Reserved Font Name "Academico".

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
http://scripts.sil.org/OFL

-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION AND CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
*/
/* Page typography and colors shared with the VexTab user guide. */
@font-face {
  font-family: Tangerine;
  src: url(../a35368c814c71c15928ffc60cbac32bc81461f03b895a4a607df9c64b3d1548b/typefaces/a35368c814c71c15.ttf) format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Academico;
  src: url(../363caf009818b9cebc7a2644d96b5dc10a20d3b5e557afdb4fb1a9a53d57e329/typefaces/363caf009818b9ce.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Academico;
  src: url(../575c2e30fcf7dd9363e49890644b2ed23b6b518c9866aadb5370d470473297b6/typefaces/575c2e30fcf7dd93.woff2) format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #faf9f5;
  --ink: #263a32;
  --muted: #63736c;
  --line: #dce2d9;
  --green: #355f49;
  --soft: #eef2e9;
  --accent: #a54732;
  --control-border: #b7c3b7;
  --sans: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --book: Academico, Georgia, 'Times New Roman', serif;
  --title: 600 clamp(34px, 4vw, 54px) / 1.17 var(--book);
  --brand: 700 50px / 0.9 Tangerine, Georgia, serif;
  --mast-rule: 3px double #c4cec0;
  --code-paper: #f0f5e9;
  --code-edge: #a9c49c;
  font: 15px/1.7 var(--sans);
  color: var(--ink);
  background: var(--paper);
}
:where(h1, h2, h3) {
  font-family: var(--book);
  color: #283e30;
}
/* The feature catalog uses the engraved typography and paper colors of the guide. */
* {
  box-sizing: border-box;
}
html {
  scrollbar-gutter: stable;
}
body {
  margin: 0;
}
a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid #bc6229;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip:focus {
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  z-index: 4;
  padding: 8px 16px;
  background: white;
}
.mast {
  border-bottom: var(--mast-rule);
}
.mast > div,
main,
footer {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}
.mast > div,
.mast nav,
.catalog-head,
.feature-label,
.controls,
footer,
.viewer-top,
.viewer-bottom,
.viewer-controls {
  display: flex;
  align-items: center;
}
.mast > div,
.catalog-head,
footer,
.viewer-top,
.viewer-bottom {
  justify-content: space-between;
  gap: 20px;
}
.mast > div {
  min-height: 74px;
}
.wordmark {
  font: var(--brand);
  color: var(--ink);
  text-decoration: none;
}
.mast nav {
  gap: 24px;
  font-size: 14px;
}
.mast nav a {
  text-decoration: none;
  color: var(--ink);
}
.mast nav a:hover,
.mast nav [aria-current] {
  text-decoration: underline;
  text-underline-offset: 6px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font: 700 clamp(44px, 5.4vw, 75px)/1.08 var(--book);
  letter-spacing: -0.04em;
  margin-top: 38px;
}
.intro {
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
  margin: 8px 0 26px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(0, 1.45fr);
  border: 1px solid #264639;
  background: white;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  padding: 24px 32px;
  background: #244638;
  color: #f3f2e7;
}
.feature-label {
  justify-content: space-between;
  border-bottom: 1px solid #64806c;
  padding-bottom: 9px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#position {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}
#slide-text {
  flex: 1;
  padding: 19px 0 16px;
}
#slide-category {
  color: #c6d7bd;
  font-size: 13px;
}
#slide-title {
  color: #fffdf4;
  font: 700 clamp(28px, 3vw, 43px)/1.12 var(--book);
  letter-spacing: -0.025em;
  margin: 4px 0 8px;
}
#slide-desc {
  font-size: 15px;
  line-height: 1.48;
}
#hero-open {
  display: inline-block;
  color: white;
  font-weight: 600;
  font-size: 13px;
  margin-top: 13px;
}
.controls {
  gap: 7px;
}
.controls button,
.viewer-controls button {
  border: 1px solid #93a697;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  width: 38px;
  height: 38px;
  line-height: 1;
  font-size: 19px;
}
.controls button:hover {
  background: #3b5b49;
}
.controls #rotate {
  width: auto;
  height: 35px;
  padding: 0 10px;
  border: 0;
  border-radius: 3px;
  font-size: 13px;
}
.hero-image {
  display: grid;
  place-items: center;
  min-height: 290px;
  padding: 30px;
  min-width: 0;
  background: #fff;
}
.hero-image img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: contain;
}
.catalog-head {
  margin-top: 42px;
  padding-bottom: 16px;
  border-bottom: 2px solid #374f41;
  scroll-margin-top: 16px;
}
.catalog-head > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.catalog-head h2 {
  font-size: clamp(27px, 3.3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
#count {
  color: var(--muted);
  font-size: 13px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--control-border);
  border-radius: 4px;
  padding: 6px 12px;
  width: min(380px, 42%);
}
.search > span:first-child {
  font: 26px/1 var(--sans);
}
.search input {
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
  width: 100%;
  min-height: 28px;
  font-size: 14px;
  min-width: 0;
}
.search:focus-within {
  outline: 2px solid var(--green);
}
.layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 34px;
  margin: 24px 0 60px;
  align-items: start;
}
aside {
  position: sticky;
  top: 1rem;
}
aside h2 {
  font: 600 12px var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  padding: 6px 10px 11px;
}
aside a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  border-left: 3px solid transparent;
  padding: 9px 9px;
  line-height: 1.4;
  font-size: 14px;
}
aside small {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
aside a:hover {
  background: #f1f2ea;
}
aside [aria-current] {
  background: #e7ede3;
  border-color: var(--green);
  font-weight: 650;
}
.mobile-category {
  display: none;
}
.category {
  margin: 0 0 35px;
  scroll-margin: 15px;
}
.category > h2,
#empty h2 {
  font: 700 29px/1.18 var(--book);
  letter-spacing: -0.025em;
}
.category > p,
#empty p {
  color: var(--muted);
  font-size: 14px;
  margin: 4px 0 15px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: white;
  border: 1px solid var(--line);
  padding-bottom: 15px;
  border-radius: 3px;
  overflow: hidden;
}
.card:hover,
.card:focus-within {
  border-color: #98ae9a;
}
.open {
  display: block;
  color: var(--ink);
  text-decoration: none;
}
.open:focus-visible {
  outline-offset: -4px;
}
.sample {
  padding: 12px 9px;
  height: 112px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.sample img {
  width: 100%;
  height: 86px;
  object-fit: contain;
  display: block;
}
.card h3 {
  margin: 13px 15px 4px;
  line-height: 1.18;
  font-weight: 700;
  font-size: 22px;
}
.card p {
  font-size: 14px;
  margin: 0 15px 12px;
  line-height: 1.48;
  color: #41564b;
}
.source {
  font-size: 13px;
  font-weight: 600;
}
.card .source {
  margin: auto 15px 0;
  align-self: start;
}
footer {
  border-top: var(--mast-rule);
  padding: 18px 0 32px;
  color: var(--muted);
  font-size: 14px;
}
footer span {
  font: var(--brand);
  font-size: 34px;
}
dialog {
  padding: 20px clamp(16px, 3vw, 36px) 24px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  background: var(--paper);
  width: min(1000px, 94vw);
  max-height: 92dvh;
}
dialog::backdrop {
  background: rgb(23 45 36 / 80%);
}
.viewer-top {
  position: sticky;
  top: -20px;
  background: var(--paper);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
#close,
#reset,
.mobile-category select {
  border: 1px solid var(--control-border);
  border-radius: 4px;
  padding: 5px 11px;
  background: white;
  color: var(--ink);
}
#view-title {
  margin-top: 12px;
  font: 700 32px/1.15 var(--book);
}
#view-desc {
  margin: 8px 0 15px;
}
.plate {
  background: white;
  border: 1px solid var(--line);
  padding: 10px;
}
.plate img {
  display: block;
  max-width: 100%;
  max-height: 62dvh;
  object-fit: contain;
  margin: auto;
}
.viewer-bottom {
  margin-top: 14px;
}
.viewer-controls {
  gap: 7px;
}
.viewer-controls button:disabled {
  opacity: 0.35;
  cursor: default;
}
#view-count {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 1050px) {
  .mast > div,
  main,
  footer {
    width: calc(100% - 46px);
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 22px;
  }
}
@media (max-width: 760px) {
  .mast > div,
  main,
  footer {
    width: calc(100% - 32px);
  }
  .mast > div {
    min-height: 62px;
  }
  .mast nav {
    font-size: 13px;
    gap: 12px;
  }
  .wordmark {
    font-size: 42px;
  }
  h1 {
    margin-top: 25px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-image {
    grid-row: 1;
    min-height: 0;
    height: 185px;
    padding: 16px;
  }
  .hero-image img {
    height: 153px;
  }
  .hero-copy {
    padding: 15px 20px;
  }
  #slide-text {
    padding: 10px 0;
  }
  #slide-desc {
    font-size: 14px;
  }
  .catalog-head {
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .search {
    width: 100%;
  }
  .layout {
    display: block;
    margin-top: 12px;
  }
  aside {
    display: none;
  }
  .mobile-category {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 14px;
  }
  .mobile-category select {
    flex: 1;
    min-width: 0;
  }
}
@media (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .mast nav {
    gap: 9px;
    font-size: 12px;
  }
  .sample {
    height: 110px;
  }
  .viewer-bottom {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .open img,
  .hero-image img {
    transition: opacity 0.18s ease;
  }
  .open:hover img,
  .hero-image:hover img {
    opacity: 0.78;
  }
}
.plate {
  display: block;
  cursor: zoom-in;
}
#availability {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
}
@media (max-width: 480px) {
  .hero-image {
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .hero-image[href='#feature-grand-staff'] img {
    flex: none;
    width: 152%;
    object-position: left center;
  }
}
