@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB;
}

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Gilda Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/gilda-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB;
}

@font-face {
  font-family: "Gilda Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/gilda-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2215, U+FEFF, U+FFFD;
}

:root {
  --garden-green: #14634f;
  --garden-green-dark: #0b4537;
  --garden-green-soft: #e4eee9;
  --garden-gold: #d4b06a;
  --garden-gold-dark: #795d29;
  --garden-gold-muted: #846832;
  --garden-ivory: #f8f4ec;
  --paper: #fffdf8;
  --ink: #17362f;
  --muted: #63736e;
  --line: rgb(20 99 79 / 18%);
  --shadow: 0 18px 48px rgb(10 55 44 / 18%);
  --site-wine: #942c28;
  --site-wine-dark: #1a100d;
  --site-wine-hover: #7a2420;
  --site-gold: #cd9f54;
  --site-gold-light: #e6b055;
  --site-cream: #faf8f4;
  --site-text: #2c2c2c;
  --control-height: 2.75rem;
  font-family: "Barlow", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--garden-ivory);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgb(212 176 106 / 16%), transparent 30rem),
    linear-gradient(180deg, #fff9f4 0%, var(--garden-ivory) 100%);
  color: var(--ink);
}

button,
input,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset: 0 auto auto 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
  background: var(--garden-green-dark);
  color: white;
  transform: translateY(-120%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.brand-container {
  width: min(79.375rem, calc(100% - 2rem));
  margin-inline: auto;
}

.brand-header {
  position: relative;
  z-index: 40;
  color: white;
  background: var(--site-wine-dark);
  box-shadow: 0 10px 30px rgb(26 16 13 / 16%);
}

.brand-topbar {
  background: linear-gradient(90deg, #c99646, var(--site-gold-light), #c99646);
}

.brand-topbar-inner {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-contact {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(0.7rem, 1.8vw, 1.6rem);
}

.brand-contact-item,
.brand-social {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: #20130e;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.brand-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

a.brand-contact-item,
.brand-social {
  transition: color 250ms ease;
}

a.brand-contact-item:hover,
.brand-social:hover {
  color: var(--site-wine-dark);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.brand-nav {
  background:
    linear-gradient(90deg, rgb(148 44 40 / 22%), transparent 28%, transparent 72%, rgb(148 44 40 / 22%)),
    var(--site-wine-dark);
}

.brand-nav-inner {
  position: relative;
  display: flex;
  min-height: 5.7rem;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.1rem);
}

.brand-logo {
  display: block;
  width: clamp(8rem, 12vw, 11.5rem);
  flex: 0 0 auto;
  border-radius: 0.22rem;
  overflow: hidden;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-links {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: clamp(0.62rem, 1.15vw, 1.25rem);
}

.brand-links a,
.brand-links .is-current {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0 0;
  align-items: center;
  color: white;
  font-size: clamp(0.75rem, 0.88vw, 0.9rem);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 250ms ease;
}

.brand-links a::after,
.brand-links .is-current::after {
  position: absolute;
  right: 0;
  bottom: 0.14rem;
  left: 0;
  height: 1px;
  background: var(--site-gold-light);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 250ms ease, transform 250ms ease;
}

.brand-links a:hover,
.brand-links a:focus-visible,
.brand-links .is-current {
  color: var(--site-gold-light);
}

.brand-links a:hover::after,
.brand-links a:focus-visible::after,
.brand-links .is-current::after {
  opacity: 1;
  transform: scaleX(1);
}

.brand-mobile-menu {
  display: none;
}

.brand-mobile-menu summary {
  min-width: 4.5rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid rgb(230 176 85 / 55%);
  border-radius: 0.6rem;
  color: white;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  list-style: none;
  text-transform: uppercase;
}

.brand-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.brand-mobile-menu summary:hover,
.brand-mobile-menu[open] summary {
  background: rgb(230 176 85 / 14%);
  color: var(--site-gold-light);
}

.brand-mobile-links {
  position: absolute;
  z-index: 60;
  top: calc(100% - 0.15rem);
  right: 0;
  left: 0;
  display: grid;
  max-height: min(70vh, 32rem);
  overflow-y: auto;
  padding: 0.5rem;
  border: 1px solid rgb(230 176 85 / 34%);
  border-radius: 0 0 0.75rem 0.75rem;
  background: #241411;
  box-shadow: 0 18px 34px rgb(0 0 0 / 32%);
}

.brand-mobile-links a,
.brand-mobile-links .is-current {
  display: flex;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  align-items: center;
  border-radius: 0.4rem;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.brand-mobile-links a:hover,
.brand-mobile-links a:focus-visible,
.brand-mobile-links .is-current {
  background: rgb(230 176 85 / 10%);
  color: var(--site-gold-light);
}

.brand-reserve {
  display: inline-flex;
  min-height: 3rem;
  padding: 0 1.35rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: var(--site-gold-light);
  box-shadow: 0 8px 24px rgb(230 176 85 / 18%);
  color: var(--site-wine-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 250ms ease, color 250ms ease, transform 250ms ease;
}

.brand-reserve:hover {
  background: white;
  color: var(--site-wine);
  transform: translateY(-1px);
}

.brand-contact-item:focus-visible,
.brand-social:focus-visible,
.brand-logo:focus-visible,
.brand-links a:focus-visible,
.brand-mobile-menu summary:focus-visible,
.brand-mobile-links a:focus-visible,
.brand-reserve:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--site-wine);
}

.site-header {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.8rem) 0 clamp(1.2rem, 2.8vw, 2.25rem);
  text-align: center;
}

.eyebrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 0 0 0.65rem;
}

.eyebrow-brand {
  color: var(--site-wine);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-services {
  color: #765f40;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.site-header h1 {
  margin: 0;
  font-family: "Gilda Display", Georgia, "Times New Roman", serif;
  color: var(--site-wine);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.intro {
  max-width: 42rem;
  margin: 0.8rem auto 0;
  color: #625c55;
  font-size: clamp(0.95rem, 1.6vw, 1.075rem);
  line-height: 1.6;
}

main {
  width: 100%;
}

.reader {
  --desktop-page-vw: 41vw;
  --desktop-page-vh: 53.5vh;
  --desktop-page-fit: 49%;
  --mobile-page-vw: 90vw;
  --scroll-page-vw: 78vw;
  --scroll-page-max: 52rem;
  width: min(79.375rem, calc(100% - clamp(0.5rem, 2vw, 2rem)));
  margin: 0 auto;
  overflow: clip;
  border: 1px solid rgb(212 176 106 / 52%);
  border-radius: clamp(0.75rem, 2vw, 1.4rem);
  background: rgb(255 253 248 / 88%);
  box-shadow: 0 14px 50px rgb(60 52 35 / 10%);
}

.reader-toolbar {
  position: relative;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem;
  border-bottom: 1px solid var(--line);
  background: rgb(255 253 248 / 96%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.toolbar-group,
.mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.navigation-group {
  order: 1;
}

.mode-switch {
  order: 2;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--garden-green-soft);
}

.zoom-group {
  order: 3;
}

.action-group {
  order: 4;
}

.control,
.icon-control,
.mode-button,
.zoom-value {
  min-height: var(--control-height);
  border: 1px solid transparent;
  border-radius: 0.65rem;
  background: transparent;
  color: var(--garden-green-dark);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: var(--control-height);
  padding: 0 0.7rem;
  font-size: 0.875rem;
  font-weight: 680;
  white-space: nowrap;
}

.icon-control,
.zoom-value {
  display: inline-grid;
  min-width: var(--control-height);
  padding: 0 0.55rem;
  place-items: center;
  font-weight: 750;
}

.zoom-value {
  min-width: 3.8rem;
  font-size: 0.78rem;
}

.mode-button {
  min-height: var(--control-height);
  padding: 0 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 720;
}

.mode-button.is-active {
  background: var(--paper);
  box-shadow: 0 2px 9px rgb(11 69 55 / 12%);
}

.control:hover,
.icon-control:hover,
.zoom-value:hover,
.mode-button:hover {
  border-color: rgb(20 99 79 / 20%);
  background: rgb(20 99 79 / 8%);
}

.control:active,
.icon-control:active,
.zoom-value:active,
.mode-button:active {
  transform: translateY(1px);
}

.control:focus-visible,
.icon-control:focus-visible,
.zoom-value:focus-visible,
.mode-button:focus-visible,
.zoom-slider input:focus-visible,
.browse-view:focus-visible,
.scroll-view:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--garden-green-dark);
}

.control:disabled,
.icon-control:disabled {
  cursor: not-allowed;
  opacity: 0.38;
  transform: none;
}

.page-indicator {
  min-width: 8rem;
  color: var(--garden-green-dark);
  font-size: 0.83rem;
  font-variant-numeric: tabular-nums;
  font-weight: 760;
  text-align: center;
}

.reader.is-preparing-turn .page-indicator::after {
  display: inline-block;
  width: 0.58rem;
  height: 0.58rem;
  margin-left: 0.42rem;
  border: 2px solid rgb(20 99 79 / 28%);
  border-top-color: var(--garden-green);
  border-radius: 50%;
  animation: turn-preloader 700ms linear infinite;
  content: "";
  vertical-align: -0.05rem;
}

@keyframes turn-preloader {
  to { transform: rotate(1turn); }
}

.zoom-slider {
  display: inline-flex;
  align-items: center;
}

.zoom-slider input {
  width: clamp(4.5rem, 8vw, 7rem);
  height: var(--control-height);
  margin: 0;
  accent-color: var(--garden-green);
  cursor: pointer;
}

.load-state,
.error-state {
  margin: 0;
  padding: 3rem 1rem;
  text-align: center;
}

.load-state {
  color: var(--muted);
}

.error-state {
  color: #8a281d;
  font-weight: 650;
}

.browse-view,
.scroll-view {
  position: relative;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 50% -20%, rgb(212 176 106 / 24%), transparent 45%),
    linear-gradient(145deg, var(--garden-green-dark), var(--garden-green));
}

.browse-view {
  min-height: min(76vh, 58rem);
  overflow: auto;
  padding: clamp(1rem, 3vw, 2.5rem);
  perspective: 1800px;
  perspective-origin: 50% 50%;
  touch-action: pan-y pinch-zoom;
  scrollbar-color: rgb(212 176 106 / 70%) rgb(255 255 255 / 12%);
}

.browse-view.is-zoomed {
  touch-action: pan-x pan-y pinch-zoom;
}

.spread {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 64vh;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(0.2rem, 0.7vw, 0.7rem);
  transform-style: preserve-3d;
}

.spread.is-single {
  width: 100%;
}

.page-card {
  --page-aspect: 0.7076;
  position: relative;
  flex: 0 0 auto;
  width: min(var(--desktop-page-vw), var(--desktop-page-vh), var(--desktop-page-fit));
  margin: 0;
  overflow: hidden;
  border-radius: 0.16rem;
  background: #f5efe3;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.spread:not(.is-single) .page-card:first-child {
  box-shadow:
    var(--shadow),
    inset -1.15rem 0 1.25rem -1.15rem rgb(35 20 12 / 42%);
}

.spread:not(.is-single) .page-card:last-child {
  box-shadow:
    var(--shadow),
    inset 1.15rem 0 1.25rem -1.15rem rgb(35 20 12 / 42%);
}

.page-card::before {
  position: absolute;
  z-index: 1;
  inset: -4%;
  background: linear-gradient(
    102deg,
    transparent 24%,
    rgb(35 20 12 / 16%) 43%,
    rgb(255 250 232 / 34%) 51%,
    transparent 69%
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-72%);
}

.page-card::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 46%);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.page-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--page-aspect);
  background: #f5efe3;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.page-card .image-error {
  display: grid;
  min-height: 18rem;
  padding: 2rem;
  color: #74271d;
  place-items: center;
  text-align: center;
}

.page-card.has-error img {
  display: none;
}

.browse-view.is-turning-next .spread {
  animation: turn-out-next 175ms cubic-bezier(0.55, 0.06, 0.68, 0.19) both;
  transform-origin: right center;
  will-change: opacity, transform;
}

.browse-view.is-turning-previous .spread {
  animation: turn-out-previous 175ms cubic-bezier(0.55, 0.06, 0.68, 0.19) both;
  transform-origin: left center;
  will-change: opacity, transform;
}

.browse-view.is-arriving-next .spread {
  animation: turn-in-next 245ms cubic-bezier(0.22, 0.72, 0.25, 1) both;
  transform-origin: left center;
  will-change: opacity, transform;
}

.browse-view.is-arriving-previous .spread {
  animation: turn-in-previous 245ms cubic-bezier(0.22, 0.72, 0.25, 1) both;
  transform-origin: right center;
  will-change: opacity, transform;
}

.browse-view.is-turning-next .page-card::before {
  animation: page-sheen-next-out 175ms ease-in both;
}

.browse-view.is-arriving-next .page-card::before {
  animation: page-sheen-next-in 245ms ease-out both;
}

.browse-view.is-turning-previous .page-card::before {
  animation: page-sheen-previous-out 175ms ease-in both;
}

.browse-view.is-arriving-previous .page-card::before {
  animation: page-sheen-previous-in 245ms ease-out both;
}

@keyframes turn-out-next {
  from { opacity: 1; transform: translateX(0) rotateY(0) scale(1); }
  to { opacity: 0.74; transform: translateX(-0.8%) rotateY(-10deg) scale(0.988); }
}

@keyframes turn-in-next {
  from { opacity: 0.74; transform: translateX(0.8%) rotateY(9deg) scale(0.988); }
  to { opacity: 1; transform: translateX(0) rotateY(0) scale(1); }
}

@keyframes turn-out-previous {
  from { opacity: 1; transform: translateX(0) rotateY(0) scale(1); }
  to { opacity: 0.74; transform: translateX(0.8%) rotateY(10deg) scale(0.988); }
}

@keyframes turn-in-previous {
  from { opacity: 0.74; transform: translateX(-0.8%) rotateY(-9deg) scale(0.988); }
  to { opacity: 1; transform: translateX(0) rotateY(0) scale(1); }
}

@keyframes page-sheen-next-out {
  from { opacity: 0; transform: translateX(-72%); }
  to { opacity: 0.66; transform: translateX(-4%); }
}

@keyframes page-sheen-next-in {
  from { opacity: 0.66; transform: translateX(-4%); }
  to { opacity: 0; transform: translateX(72%); }
}

@keyframes page-sheen-previous-out {
  from { opacity: 0; transform: translateX(72%); }
  to { opacity: 0.66; transform: translateX(4%); }
}

@keyframes page-sheen-previous-in {
  from { opacity: 0.66; transform: translateX(4%); }
  to { opacity: 0; transform: translateX(-72%); }
}

.scroll-view {
  max-height: min(80vh, 64rem);
  overflow: auto;
  padding: clamp(1rem, 3vw, 2.5rem);
  scroll-padding-top: 1rem;
  scrollbar-color: rgb(212 176 106 / 70%) rgb(255 255 255 / 12%);
}

.scroll-pages {
  display: flex;
  min-width: min-content;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.scroll-view .page-card {
  width: min(var(--scroll-page-vw), var(--scroll-page-max));
  scroll-margin-top: 1rem;
  cursor: default;
}

.keyboard-help {
  margin: 0;
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.site-footer {
  margin-top: clamp(2.8rem, 6vw, 5.5rem);
  padding: 0;
  background:
    radial-gradient(circle at 12% 15%, rgb(148 44 40 / 28%), transparent 30rem),
    var(--site-wine-dark);
  color: #e8dfd6;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.8rem, 5vw, 4.6rem);
}

.footer-logo {
  display: block;
  width: min(12.5rem, 100%);
  overflow: hidden;
  border-radius: 0.22rem;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-about p {
  max-width: 28rem;
  margin: 1.2rem 0 0;
  color: #d0c2b8;
  line-height: 1.75;
}

.site-footer h2 {
  margin: 0 0 1.15rem;
  color: white;
  font-family: "Gilda Display", Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.footer-links a,
.footer-contact a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: #e8dfd6;
  text-decoration: none;
  transition: color 250ms ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--site-gold-light);
}

.footer-contact p {
  margin: 0.55rem 0;
  color: #d0c2b8;
  line-height: 1.55;
}

.footer-legal {
  border-top: 1px solid rgb(255 255 255 / 10%);
  padding: 1rem 0;
  background: rgb(0 0 0 / 18%);
  color: #b8aaa0;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.no-js .reader {
  display: none;
}

.noscript-menu {
  width: min(64rem, calc(100% - 1rem));
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgb(212 176 106 / 55%);
  border-radius: 1rem;
  background: var(--paper);
}

.noscript-menu h2 {
  margin-top: 0;
  color: var(--garden-green);
  font-family: "Gilda Display", Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.noscript-download {
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0 1rem;
  align-items: center;
  border-radius: 0.65rem;
  background: var(--garden-green);
  color: white;
  font-weight: 700;
}

.noscript-pages {
  display: grid;
  margin: 2rem 0 0;
  padding: 0;
  gap: 2rem;
  list-style: none;
}

.noscript-pages figure {
  margin: 0;
}

.noscript-pages img {
  display: block;
  width: min(100%, 48rem);
  height: auto;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.noscript-pages figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.reader:fullscreen,
.reader:-webkit-full-screen {
  display: flex;
  width: 100%;
  height: 100vh;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--paper);
}

.reader:fullscreen .browse-view,
.reader:-webkit-full-screen .browse-view,
.reader:fullscreen .scroll-view,
.reader:-webkit-full-screen .scroll-view {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  height: auto;
}

.reader:fullscreen .spread,
.reader:-webkit-full-screen .spread {
  min-height: 100%;
}

@media (max-width: 74rem) {
  .brand-links {
    gap: 0.72rem;
  }

  .brand-links a,
  .brand-links .is-current {
    font-size: 0.74rem;
  }

  .brand-reserve {
    padding-inline: 1rem;
  }

  .control-label {
    display: none;
  }

  .action-group .control {
    padding-inline: 0.55rem;
  }
}

@media (max-width: 56.24rem), (orientation: portrait) {
  .brand-topbar-inner {
    min-height: 2.75rem;
  }

  .brand-contact-item:first-child,
  .brand-contact-secondary,
  .brand-social,
  .brand-links {
    display: none;
  }

  .brand-nav-inner {
    min-height: 4.8rem;
    justify-content: space-between;
  }

  .brand-mobile-menu {
    display: block;
    margin-left: auto;
  }

  .brand-mobile-menu summary {
    display: inline-flex;
  }

  .brand-logo {
    width: 8.6rem;
  }

  .footer-grid {
    grid-template-columns: 1.15fr 0.75fr 1fr;
    gap: 2rem;
  }

  .reader {
    width: min(100%, calc(100% - 0.5rem));
  }

  .reader-toolbar {
    position: sticky;
    top: 0;
  }

  .navigation-group {
    width: 100%;
    justify-content: center;
  }

  .page-indicator {
    flex: 1;
    max-width: 12rem;
  }

  .mode-switch {
    order: 3;
  }

  .zoom-group {
    order: 2;
  }

  .action-group {
    order: 4;
  }

  .browse-view {
    min-height: 68vh;
    padding-inline: 0.65rem;
  }

  .spread {
    width: max-content;
    min-width: min-content;
    min-height: 64vh;
  }

  .page-card {
    width: var(--mobile-page-vw);
  }

  .keyboard-help {
    display: none;
  }
}

@media (max-width: 35rem) {
  .brand-container {
    width: min(100% - 1.2rem, 79.375rem);
  }

  .brand-topbar-inner {
    justify-content: center;
  }

  .brand-contact {
    gap: 0.85rem;
  }

  .brand-contact-item {
    font-size: 0.72rem;
  }

  .brand-contact-item:nth-child(2) {
    display: none;
  }

  .brand-logo {
    width: 7.7rem;
  }

  .brand-nav-inner {
    gap: 0.45rem;
  }

  .brand-reserve {
    min-height: 2.75rem;
    padding-inline: 1rem;
    font-size: 0.74rem;
  }

  .site-header {
    padding-top: 1.3rem;
  }

  .intro {
    max-width: 22rem;
  }

  .reader-toolbar {
    gap: 0.35rem;
    padding: 0.5rem;
  }

  .control,
  .icon-control,
  .zoom-value {
    min-height: 2.8rem;
  }

  .zoom-slider input {
    width: 4.7rem;
  }

  .zoom-value {
    min-width: 3.5rem;
  }

  .mode-button {
    padding-inline: 0.65rem;
  }

  .action-group {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding-block: 2.8rem;
  }

  .footer-logo {
    width: 10.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  @page {
    margin: 8mm;
  }

  :root,
  body {
    background: white !important;
  }

  .brand-header,
  .site-header,
  .reader-toolbar,
  .browse-view,
  .keyboard-help,
  .site-footer,
  .load-state,
  .error-state {
    display: none !important;
  }

  .reader {
    width: 100%;
    overflow: visible;
    border: 0;
    box-shadow: none;
  }

  .scroll-view {
    display: block !important;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: white;
  }

  .scroll-pages {
    display: block;
  }

  .scroll-view .page-card {
    width: auto;
    max-width: 100%;
    height: calc(100vh - 16mm);
    margin: 0 auto;
    overflow: visible;
    break-after: page;
    box-shadow: none;
    page-break-after: always;
  }

  .scroll-view .page-card:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  .scroll-view .page-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
