* { box-sizing: border-box; }
:root {
  color-scheme: light;
  --night: #0f0f0f;
  --paper: #f8f1e2;
  --ink: #26221d;
  --muted: #625a4e;
  --teal: #355e63;
  --gold: #cf9761;
  --rule: #c9beaa;
  --serif: Constantia, Georgia, "Times New Roman", serif;
  --sans: system-ui, sans-serif;
}
body { margin: 0; background: var(--night); color: var(--ink); font: 1rem/1.55 var(--sans); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #78b6bc; outline-offset: 4px; }
.paper a:focus-visible { outline-color: var(--teal); }
.skip { position: absolute; left: .75rem; top: .75rem; z-index: 5; padding: .65rem 1rem; transform: translateY(-180%); color: var(--ink); background: var(--paper); }
.skip:focus { transform: none; }
.wrap { width: min(76rem, calc(100% - 2 * clamp(1.25rem, 6vw, 6rem))); margin-inline: auto; }
.masthead { color: var(--paper); border-bottom: 1px solid #373530; }
.mast-inner, .brand, .sections, .languages, .footer-inner { display: flex; align-items: center; }
.mast-inner { min-height: 4.7rem; gap: clamp(1rem, 3vw, 3.3rem); }
.brand { gap: .75rem; margin-right: auto; font: 1.38rem/1 var(--serif); white-space: nowrap; }
.brand img { object-fit: contain; }
.sections { gap: clamp(1.1rem, 2.5vw, 2.4rem); }
.sections a, .languages a, .languages span { display: inline-flex; align-items: center; min-height: 44px; }
.sections a { color: #d0cbbf; font-size: .925rem; }
.sections a:hover, .footer-inner a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: .25em; }
.languages { border-left: 1px solid #524b40; padding-left: clamp(.6rem, 1.9vw, 1.8rem); gap: .1rem; }
.languages a, .languages span { position: relative; justify-content: center; min-width: 2.45rem; font: 600 .83rem/1 var(--sans); letter-spacing: .06em; }
.languages a { color: #b5b0a4; }
.languages a:hover { text-decoration: underline; }
.languages [aria-current] { color: var(--paper); }
.languages [aria-current]::after { content: ""; position: absolute; bottom: .4rem; height: 2px; width: 1.1rem; background: var(--gold); }
.hero { position: relative; color: var(--paper); overflow: hidden; }
.hero-inner { display: flex; flex-direction: column; align-items: center; padding-block: clamp(1.6rem, 2.7vw, 2.6rem) clamp(2.2rem, 3.2vw, 3.2rem); text-align: center; }
.eyebrow { display: flex; gap: .75rem; align-items: center; margin: 0; color: var(--teal); text-transform: uppercase; font: 650 .8125rem/1.4 var(--sans); letter-spacing: .16em; }
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.eyebrow.on-dark { color: #dcaa78; }
.on-dark::after { content: ""; width: 2rem; height: 1px; background: currentColor; }
.lead h1 { font: 400 clamp(3.4rem, 6.8vw, 6.3rem)/1.06 var(--serif); letter-spacing: -.048em; margin: 1rem 0 .55rem; }
.intro { max-width: 41rem; margin: 0 auto 1.25rem; color: #d6d0c3; font: 400 clamp(1.09rem, 1.43vw, 1.3rem)/1.45 var(--serif); text-wrap: pretty; }
.button { display: inline-flex; min-height: 2.95rem; align-items: center; padding: .68rem 1.25rem; background: var(--teal); border: 1px solid #60868a; color: #fff7e8; font-size: .95rem; font-weight: 550; }
.button:hover { background: #426d72; border-color: #9bb7b8; }
.plate { display: block; width: min(100%, 56rem); margin: 1rem 0 0; }
.plate img { display: block; width: 100%; height: auto; }
.paper { background: var(--paper); }
.about-inner { position: relative; display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(0, 2fr); gap: 2rem; padding-block: clamp(2.25rem, 3.7vw, 3.5rem); border-bottom: 1px solid var(--rule); }
.about-inner h2 { margin: 0; }
.about-copy { max-width: 62ch; padding-right: 1.75rem; font: 400 clamp(1.12rem, 1.4vw, 1.3rem)/1.55 var(--serif); }
.about-copy p { margin: 0; }
.about-copy p + p { margin-top: .7rem; }
.channel-inner { position: relative; padding-block: clamp(2.1rem, 4vw, 3.8rem) clamp(2.4rem, 4vw, 3.8rem); }
.bookmark { position: absolute; right: .25rem; top: 0; width: 1.12rem; height: 2.45rem; background: #a44e41; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 79%, 0 100%); }
h2 { font: 400 clamp(2.1rem, 3.5vw, 3.35rem)/1.1 var(--serif); letter-spacing: -.035em; margin: .45rem 0 1.55rem; }
.channel-list { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--rule); }
.channel-list li { min-width: 0; }
.channel-list a { position: relative; display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 1.35rem clamp(.85rem, 1.7vw, 1.6rem) 1.25rem; }
.channel-list li + li a::before { content: ""; position: absolute; left: 0; top: 1.15rem; bottom: 1.15rem; width: 1px; background: var(--rule); }
.channel-list li:first-child a { padding-left: .35rem; }
.channel-list a:hover { background: #eee6d5; }
.channel-list a:hover strong { color: var(--teal); text-decoration: underline; text-underline-offset: .14em; }
.sign { width: 2rem; height: 2rem; margin-bottom: .7rem; background: url("/assets/signals.png") no-repeat; background-size: 8rem 2rem; }
.sign-chat { background-position: -2rem 0; }
.sign-pennant { background-position: -4rem 0; }
.sign-camera { background-position: -6rem 0; }
.sign-default { background-image: none; border: 1px solid var(--teal); border-radius: 50%; }
.channel-list strong { font: 400 1.58rem/1.25 var(--serif); }
.channel-list small { margin-top: .18rem; color: var(--muted); font-size: .925rem; }
.footer-inner { min-height: 5rem; gap: 1.25rem; flex-wrap: wrap; padding-block: 1rem; color: #bab4a8; font-size: .875rem; }
.footer-brand { color: #e6ddca; font: 1.24rem/1.25 var(--serif); }
.foot-note { padding-left: 1.25rem; border-left: 1px solid #615a4d; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; }
.error { min-height: 62vh; display: grid; align-items: center; padding-block: 4rem; }
.error h1 { font: 400 clamp(2.5rem, 6vw, 5rem)/1.1 var(--serif); margin: 1rem 0; }
.error p:not(.eyebrow) { max-width: 36rem; }
#main:focus { outline: none; }
@media (max-width: 55rem) {
  .channel-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-list li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .channel-list li:nth-child(odd) a::before { display: none; }
  .channel-list li:nth-child(odd) a { padding-left: .35rem; }
}
@media (max-width: 40rem) {
  .mast-inner { display: grid; grid-template-columns: 1fr auto; gap: 0; padding-top: .4rem; }
  .brand { font-size: 1.22rem; gap: .45rem; }
  .brand img { width: 2.1rem; height: 2.1rem; }
  .sections { grid-column: 1 / -1; grid-row: 2; gap: 1.5rem; }
  .languages { grid-column: 2; grid-row: 1; border: 0; padding-left: 0; }
  .about-inner { grid-template-columns: 1fr; gap: .85rem; }
  .about-copy { padding-right: 0; }
  .hero-inner { padding-block: 1.9rem 2.25rem; }
  .lead h1 { font-size: clamp(2.7rem, 10.7vw, 4.3rem); margin: 1.25rem 0 .65rem; }
  .intro { margin: 0 auto 1.1rem; max-width: 33rem; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; column-gap: .75rem; row-gap: .15rem; }
  .foot-note { grid-column: 1; padding-left: 0; border: 0; }
  .footer-inner a { grid-column: 2; grid-row: 1 / 3; }
}
@media (max-width: 28rem) {
  .channel-list strong { font-size: 1.37rem; }
  .channel-list a { padding-inline: .8rem; }
}
@media (orientation: portrait) {
  .plate { width: min(88%, 38vh, 25rem); }
}
@media (forced-colors: active) {
  a, .button { text-decoration: underline; }
  .languages [aria-current] { border-bottom: 2px solid CanvasText; }
}
