@font-face {
  font-family: Raleway;
  src: url("../assets/fonts/Raleway.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #faf9f6;
  --ink: #33383b;
  --muted: #53585b;
  --line: #d7d4ce;
  --accent: #b84412;
}
body { font-family: Georgia, "Times New Roman", serif; }
.masthead { background: var(--accent); color: #fff; }
.masthead-inner, .stage {
  width: min(calc(100% - 4rem), 68rem);
  margin-inline: auto;
}
.masthead-inner {
  min-height: 7.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1rem;
}
.brand { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 3rem; }
.brand img { width: clamp(3.4rem, 6.3vw, 5rem); height: auto; filter: brightness(0) invert(1); }
.brand h1 { font: 200 clamp(2rem, 3.8vw, 3.15rem)/1 Raleway, sans-serif; letter-spacing: -.035em; }
.brand p { font-size: 1rem; margin: .45rem 0 0; }
.gateways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 24rem); }
.gateways a {
  display: grid; place-items: center; text-align: center;
  color: #fff; text-decoration: none; line-height: 1.35; font-size: 1.1rem;
  padding: .35rem .65rem; min-height: 44px;
}

.gateways a + a { border-left: 1px solid #ffffff75; }

.gateways a:hover { text-decoration: underline; text-underline-offset: .2em; }
.brand:focus-visible, .gateways a:focus-visible { outline: 2px solid white; outline-offset: 3px; }

.stage { padding: 1.5rem 0 1rem; }
.viewer-shell { margin: 0; min-height: 19rem; height: clamp(19rem, 61vh, 37rem); }
.viewer-actions { z-index: 2; }
.icon-button, .view-controls button { min-width: 44px; min-height: 44px; }
.view-controls button { font-size: .94rem; }
.view-controls button:hover, .view-controls button[aria-pressed=true] {
  background: #f5e9e0; border-color: #bb9178; color: #813210;
}
.viewer-footer, .quality-note { font-size: .85rem; }
.quality-note { min-height: 1em; }
.viewer-shell.expanded { position: fixed; inset: 0; z-index: 10; height: 100%; width: 100%; margin: 0; border-radius: 0; }
body.view-expanded { overflow: hidden; }
body.view-expanded > .ob-newsletter-footer { display: none; }
.former-section { display: none; }
.former-section:target { display: block; padding: 1rem; }
.former-section a { color: var(--accent); }
@media (max-width: 42em) {
  .masthead-inner, .stage { width: calc(100% - 2rem); }
  .masthead-inner { align-items: stretch; flex-direction: column; gap: .9rem; padding: 1rem 0 .7rem; }
  .brand { gap: 2.1rem; }
  .brand p { font-size: .9rem; margin-top: .25rem; }
  .gateways { width: 100%; padding-top: .5rem; border-top: 1px solid #ffffff66; }
  .gateways a { font-size: 1rem; padding: .2rem .35rem; }


  .stage { padding-top: 1rem; }
  .viewer-shell { min-height: 16rem; height: clamp(16rem, 46svh, 28rem); }
  .view-controls { gap: .1rem; margin-top: .45rem; }
  .view-controls button { padding: .35rem .5rem; font-size: .85rem; }
  .viewer-footer { gap: .5rem; margin-top: .45rem; padding-top: .6rem; font-size: .78rem; }
  .quality { white-space: nowrap; }
  .quality-note { font-size: .75rem; }
}

.brand { flex: 0 0 auto; }
@media (min-width: 42.01em) and (max-width: 56em) {
  .masthead-inner { gap: 1rem; }
  .brand { gap: 1.25rem; }
}
.edition-intro { max-width: 68ch; margin: 2.25rem auto 2.5rem; font-size: 1.075rem; line-height: 1.65; }
.edition-intro h2 { margin: 0 0 .6em; font: 400 1.65em/1.2 Georgia, serif; }
.edition-intro p { margin: 0 0 1em; }
.edition-intro .print-edition { color: var(--muted); font-size: .9em; }
.viewer-shell { isolation: isolate; container-type: size; }
.stage [hidden] { display: none !important; }
model-viewer:not(:defined) { visibility: hidden; }
#start-3d { position: absolute; inset: 0; padding: 0; margin: 0; border: 0; background: transparent; width: 100%; height: 100%; z-index: 1; }
#start-3d:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
#start-3d[aria-busy="true"] { cursor: progress; }
#start-3d img { display: block; width: 100%; height: 100%; object-fit: contain; }
@supports (width: 1cqh) {
#start-3d img { width: min(100cqh, 123.11038cqw); height: auto; max-width: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
}
#start-3d { background: radial-gradient(ellipse at center,#f3f2ed 5%,#e8e7e1 85%); }
.error-message { z-index: 3; }
.viewer-footer p #rotate-hint { margin: 0; }
