@font-face {
  font-family: "Cabin";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/cabin-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Cabin";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/cabin-italic-latin.woff2") format("woff2");
}

:root {
  --ink: #555;
  --heading: #8a8a8a;
  --gold: #e39b12;
  --gold-deep: #f0a41c;
  --navy: #315e7f;
  --link: #1c8eae;
  --nav: #c8fbff;
  --quote: #e23b3b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-bottom: 28px;
  background: #e6e6e6;
  color: var(--ink);
  font-family: Cabin, Verdana, Geneva, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); }
.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: #fff;
  padding: .4rem .7rem;
  z-index: 50;
}
.skip:focus { top: .5rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.banner { position: relative; background: #7eb4c6; }
.banner-img { display: block; width: 100%; height: auto; }
.banner-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  padding: 1rem 6% 0 6.5%;
}
.logo { display: block; flex: 0 0 auto; line-height: 0; }
.logo-desktop { width: 118px; height: auto; display: block; }
.logo-mobile { display: none; width: 118px; height: auto; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}
.site-header { background: #fff; }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px;
  height: 3px;
  background: #5bc9e1;
  border-radius: 2px;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}
.nav-toggle-bars::before { top: -8px; }
.nav-toggle-bars::after { top: 8px; }
.primary-nav { flex: 1 1 auto; min-width: 0; }
.menu, .menu ul { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; flex-wrap: wrap; gap: .2rem 1.45rem; align-items: center; padding-top: .85rem; }
.menu > li { position: relative; }
.menu > li > a,
.menu > li > .menu-label {
  color: var(--nav);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 1.02rem;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .35);
}
.menu > li.is-current > a { color: #fff; }
.menu > li.has-children > a::after,
.menu > li.has-children > .menu-label::after {
  content: "";
  display: inline-block;
  margin-left: .4rem;
  border: 4px solid transparent;
  border-top-color: currentColor;
  vertical-align: middle;
  position: relative;
  top: 2px;
}
.menu ul {
  display: none;
  position: absolute;
  top: calc(100% - .15rem);
  left: 0;
  min-width: 13.5rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
  padding: .4rem 0;
  z-index: 6;
}
.menu li:hover > ul,
.menu li:focus-within > ul { display: block; }
.menu ul a {
  display: block;
  padding: .48rem 1rem;
  color: #333;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  text-shadow: none;
  font-weight: 500;
  font-size: 1.02rem;
}
.menu ul a:hover,
.menu ul a:focus { background: #f4f8f9; color: #146f86; }
.menu ul .is-current > a { color: #146f86; font-weight: 700; }

.tagline-desktop {
  position: absolute;
  left: 0;
  right: 0;
  top: 48%;
  z-index: 2;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 3px rgba(0, 0, 0, .35);
  padding: 0 14%;
  letter-spacing: .12em;
}
.tagline-home h1,
.tagline-mobile-title {
  margin: 0;
  font-weight: 400;
  letter-spacing: .16em;
  font-size: clamp(1.25rem, 2.3vw, 1.95rem);
}
.tagline-sub,
.tagline-mobile-sub {
  margin: .35rem 0 0;
  letter-spacing: .18em;
  font-size: clamp(.95rem, 1.5vw, 1.28rem);
}
.tagline-quote {
  margin: .75rem auto 0;
  max-width: 34rem;
  font-size: .98rem;
  letter-spacing: .03em;
  line-height: 1.45;
}
.tagline-quote q { quotes: none; }
.tagline-page { top: 40%; }
.tagline-line {
  margin: 0;
  font-size: clamp(.92rem, 1.45vw, 1.15rem);
  letter-spacing: .11em;
}
.tagline-mobile { display: none; text-align: center; color: #4c4c4c; padding: .15rem 1rem .9rem; }
.tagline-mobile-title { font-size: 1.25rem; letter-spacing: .08em; }
.tagline-mobile-sub { font-size: .95rem; letter-spacing: .12em; color: #666; }

.page-wrap { background: #fff; min-height: 40vh; }
.content {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.1rem 1.4rem 3rem;
}
.content.has-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 1.4rem 2rem;
  align-items: start;
}
.page-title {
  color: var(--heading);
  font-weight: 400;
  font-size: 1.9rem;
  margin: .15rem 0 1.15rem;
}
.prose p { margin: .75rem 0; }
.release h3 {
  color: var(--gold);
  font-size: 1.7rem;
  font-weight: 500;
  margin: .15rem 0 .1rem;
}
.release h2 {
  color: var(--gold-deep);
  font-size: 2.15rem;
  font-weight: 650;
  margin: 0 0 .75rem;
}
.button {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: .58rem .9rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-top: .35rem;
}
.button:hover,
.button:focus { background: #274864; }
.interest-label {
  color: #6f6f6f;
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  margin: 2rem 0 .85rem;
}
.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.interest-card { position: relative; display: block; overflow: hidden; line-height: 0; }
.interest-card > img { width: 100%; height: auto; display: block; }
.interest-card .zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .12);
  opacity: 0;
  transition: opacity .2s ease;
}
.interest-card:hover .zoom,
.interest-card:focus .zoom { opacity: 1; }
.interest-card .zoom img { width: 54px; height: auto; }
.layout-book .content-main > p > img,
.layout-book .buy,
.layout-book .price { text-align: center; }
.layout-book .content-main > p > img,
.layout-book .buy img { display: block; margin-left: auto; margin-right: auto; }
.price { text-align: center; color: #444; }
.author-photo {
  float: left;
  width: 150px;
  height: auto;
  margin: .15rem 1.35rem .8rem 0;
}
.prose blockquote {
  clear: both;
  border-left: 7px solid #d7d7d7;
  margin: 2rem 0 1rem;
  padding: .15rem 0 .15rem 1.15rem;
  color: #444;
}
.prose blockquote::before {
  content: "“";
  color: var(--quote);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.1rem;
  line-height: .75;
  display: block;
  margin: 0 0 .35rem;
}
.content-side img { display: block; width: 100%; height: auto; margin: 0 auto .9rem; }
.bookmark-rotator img + img { display: none; }
.bookmark-rotator.is-ready img { display: none; }
.bookmark-rotator.is-ready img.is-on { display: block; }

.site-footer {
  background: #fff;
  text-align: center;
  color: #444;
  padding: .2rem 1rem 1.7rem;
}
.footer-rule {
  border: 0;
  height: 2px;
  margin: 0 0 1.15rem;
  background: linear-gradient(to right, rgba(70, 160, 180, 0), rgba(70, 160, 180, .75), rgba(70, 160, 180, 0));
}
.footer-line, .footer-credit { margin: .2rem 0; font-size: 1rem; }
.prose table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
.prose th, .prose td { border: 1px solid #d7d7d7; padding: .45rem .65rem; vertical-align: top; }
.prose th { background: #f4f7f8; }
.prose iframe { max-width: 100%; aspect-ratio: 16 / 9; height: auto; }
.prose figure { margin: 1rem auto; }
.footer-credit a { color: var(--link); }

.offcanvas[hidden] { display: none; }
.offcanvas {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 40;
}
.offcanvas-panel {
  width: min(18rem, 86vw);
  height: 100%;
  background: #121212;
  color: #fff;
  padding: 1rem 1rem 2rem;
  overflow: auto;
}
.offcanvas-close {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: .35rem .7rem;
  margin-bottom: .6rem;
  cursor: pointer;
}
.offcanvas-menu, .offcanvas-menu ul { list-style: none; margin: 0; padding: 0; }
.offcanvas-menu ul { padding-left: .75rem; }
.offcanvas-menu a,
.offcanvas-menu .menu-label {
  display: block;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  padding: .7rem .15rem;
}
.offcanvas-menu a:hover,
.offcanvas-menu a:focus { color: #7fe7f5; }
.offcanvas-menu .is-current > a { color: #7fe7f5; }

@media (max-width: 900px) {
  .content.has-side { grid-template-columns: 1fr; }
  .content-side { max-width: 240px; margin: .5rem auto 0; }
  .interest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner-bar { padding-left: 1.2rem; padding-right: 1.2rem; gap: 1rem; }
  .menu { gap: .2rem .9rem; }
}
@media (max-width: 760px) {
  .banner-img,
  .logo-desktop,
  .primary-nav,
  .tagline-desktop { display: none; }
  .banner { background: #fff; }
  .banner-bar {
    position: relative;
    justify-content: center;
    padding: .75rem 3rem .15rem;
  }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; position: absolute; left: .55rem; top: 1.15rem; }
  .logo-mobile { display: block; }
  .tagline-mobile { display: block; }
  .interest-grid { grid-template-columns: 1fr; }
  .content { padding: 1.3rem 1rem 2.2rem; }
  .author-photo { float: none; display: block; margin: 0 auto 1rem; }
}
