@font-face {
  font-family: "Cormorant Local";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Avenir Local";
  src: url("../fonts/avenir-light.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Proxima Local";
  src: url("../fonts/proxima.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #151419;
  --ink-soft: #1d1c21;
  --charcoal: #2b2a2f;
  --paper: #f6f2ef;
  --muted: #cfc9c5;
  --accent: #ff7f63;
  --accent-dark: #d96752;
  --line: rgba(246, 242, 239, 0.65);
  --content: 1100px;
  --serif: "Cormorant Local", "Cormorant Garamond", Georgia, serif;
  --sans: "Avenir Local", "Proxima Local", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
}

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

.site-header {
  background: var(--ink);
  padding: 2rem 1.5rem 0;
}

.header-inner {
  max-width: var(--content);
  min-height: 70px;
  margin: 0 auto;
  padding: 0 0 1.35rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  opacity: 0.88;
}

.social-links img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  margin-left: auto;
}

.site-nav > ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(2rem, 7vw, 6.5rem);
  list-style: none;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 0.65rem 0;
  font-family: "Proxima Local", Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.38rem;
  height: 1px;
  background: var(--accent);
  transition: right 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.nav-books {
  position: relative;
}

.nav-books-controls {
  display: flex;
  align-items: center;
  gap: 0.32rem;
}

.books-menu-toggle {
  width: 1.35rem;
  height: 2rem;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.books-menu-toggle:hover,
.books-menu-toggle:focus-visible {
  color: var(--accent);
}

.books-subnav {
  position: absolute;
  z-index: 30;
  top: 100%;
  left: -1.25rem;
  display: none;
  width: 270px;
  margin: 0;
  padding: 0.65rem 0;
  border: 1px solid rgba(246, 242, 239, 0.25);
  background: rgba(21, 20, 25, 0.98);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  list-style: none;
}

.nav-books:hover .books-subnav,
.nav-books:focus-within .books-subnav,
.nav-books.is-open .books-subnav {
  display: block;
}

.books-subnav a {
  padding: 0.68rem 1.25rem;
  font-size: 0.88rem;
  line-height: 1.2;
}

.books-subnav a::after {
  display: none;
}

.books-subnav a:hover,
.books-subnav a:focus-visible {
  background: rgba(229, 94, 86, 0.14);
  color: var(--accent);
}

.currently-writing-nav {
  margin-top: 0.45rem;
  border-top: 1px solid rgba(246, 242, 239, 0.2);
  padding-top: 0.9rem !important;
  padding-bottom: 0.9rem !important;
}

.currently-writing-nav span,
.currently-writing-nav em {
  display: block;
}

.currently-writing-nav span {
  margin-bottom: 0.22rem;
  color: var(--accent);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.currently-writing-nav em {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.home-hero,
.page-hero {
  background: var(--ink);
  display: grid;
  place-items: center;
  text-align: center;
}

.home-hero {
  min-height: 350px;
  padding: 3rem 1.5rem 4.5rem;
}

.brand-lockup {
  display: inline-grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 1.25rem;
}

.brand-name {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(5rem, 11vw, 8.4rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.025em;
}

.brand-role {
  grid-column: 2;
  margin-top: 0.7rem;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
}

.page-hero {
  min-height: 240px;
  padding: 3rem 1.5rem 4rem;
}

.page-hero h1 {
  margin: 0;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 5.2rem);
  font-weight: 400;
  line-height: 1;
}

.breadcrumbs {
  width: min(100%, var(--content));
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.7rem;
  color: rgba(246, 242, 239, 0.45);
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--paper);
}

.breadcrumbs [aria-current="page"] {
  color: var(--accent);
}

.featured-section,
.forest-page {
  --forest-image: image-set(url("../images/forest-lake-gothic-1536.avif") type("image/avif"), url("../images/forest-lake-gothic-1536.webp") type("image/webp"));
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--charcoal);
}

.featured-section {
  min-height: 980px;
  padding: 5rem 1.5rem 8.5rem;
  background-color: var(--charcoal);
}

.featured-section::before,
.forest-page::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--forest-overscan, 400px)) 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(7, 9, 14, 0.73), rgba(7, 9, 14, 0.84)), var(--forest-image);
  background-size: cover;
  background-position: center;
  transform: translate3d(0, var(--forest-offset, 0px), 0);
}

/* The catalogue is several screens tall, so it needs a larger version of the
   same forest while retaining the shared parallax treatment. */
.forest-page.books-page::before {
  background-image: linear-gradient(rgba(7, 9, 14, 0.73), rgba(7, 9, 14, 0.84)), image-set(url("../images/forest-lake-gothic-books-4800.avif") type("image/avif"), url("../images/forest-lake-gothic-books-4800.webp") type("image/webp"));
}

.featured-card {
  max-width: 975px;
  margin: 0 auto;
  padding: 3.8rem 3.1rem 2.8rem;
  background: rgba(22, 21, 26, 0.94);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.95fr);
  gap: 3.4rem;
  align-items: start;
}

.ribbon {
  position: relative;
  width: 215px;
  margin-left: -3.1rem;
  margin-bottom: 1.9rem;
  padding: 0.3rem 2.2rem 0.3rem 3.1rem;
  background: var(--accent);
  color: #27252a;
  font-size: 0.95rem;
}

.ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  border-top: 1rem solid transparent;
  border-bottom: 1rem solid transparent;
  border-right: 0.85rem solid var(--ink-soft);
}

.featured-copy h2,
.book-copy h2 {
  margin: 0 0 1.35rem;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.005em;
}

.story-copy p {
  margin: 0.15rem 0;
}

.story-copy .emphasis {
  font-weight: 700;
}

.cta-label {
  margin: 0.9rem 0 2rem;
  font-size: 1.4rem;
}

.button-link,
.submit-button {
  display: inline-flex;
  min-width: 120px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.48rem 1.65rem;
  background: transparent;
  color: var(--accent);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button-link:hover,
.button-link:focus-visible,
.submit-button:hover,
.submit-button:focus-visible {
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-1px);
}

.book-cover-featured {
  width: 100%;
  max-width: 385px;
  justify-self: center;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.32);
}

.current-writing-section {
  padding: 6.5rem 1.5rem;
  background: var(--ink-soft);
}

.current-writing-card {
  display: grid;
  width: min(100%, 980px);
  margin: 0 auto;
  border: 1px solid rgba(229, 94, 86, 0.5);
  background: rgba(22, 21, 26, 0.94);
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
}

.current-writing-heading {
  padding: 3.3rem 2.7rem;
  border-right: 1px solid rgba(246, 242, 239, 0.24);
}

.current-writing-label,
.working-title,
.release-window {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.current-writing-label {
  margin: 0 0 1.3rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.current-writing-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4vw, 3.35rem);
  font-weight: 600;
  line-height: 1.05;
}

.working-title {
  margin: 1rem 0 2.7rem;
  color: rgba(246, 242, 239, 0.7);
  font-size: 0.78rem;
}

.release-window {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}

.current-writing-copy {
  padding: 3.15rem 3.35rem;
}

.current-writing-copy p {
  margin: 0 0 1.1rem;
}

.current-writing-hook {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 600;
  line-height: 1.35;
}

.current-writing-tropes {
  margin-top: 1.8rem !important;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(246, 242, 239, 0.28);
  color: var(--accent);
  font-weight: 600;
  line-height: 1.55;
}

.testimonials {
  position: relative;
  min-height: 760px;
  padding: 5.5rem 1.5rem 10rem;
  background: var(--ink);
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  right: max(9vw, calc((100vw - var(--content)) / 2));
  width: 30px;
  height: 56px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 3.7rem;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 500;
  text-align: center;
}

.testimonial-book-covers {
  position: absolute;
  z-index: 1;
  top: 2.7rem;
  left: max(1.5rem, calc((100vw - var(--content)) / 2));
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.testimonial-book-covers a {
  display: block;
  transition: transform 160ms ease;
}

.testimonial-book-covers a:first-child {
  transform: rotate(-3deg) translateY(0.35rem);
}

.testimonial-book-covers a:last-child {
  transform: rotate(3deg);
}

.testimonial-book-covers a:hover,
.testimonial-book-covers a:focus-visible {
  transform: translateY(-0.2rem);
}

.testimonial-book-covers img {
  display: block;
  width: 58px;
  height: auto;
  mix-blend-mode: lighten;
}

.quotes {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.quote {
  position: relative;
  margin: 0;
  padding-top: 5rem;
  text-align: center;
}

.quote::before {
  content: "“";
  position: absolute;
  top: -0.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 5.4rem;
  line-height: 1;
}

.stars {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.quote p {
  margin: 0;
}

.quote cite {
  color: var(--accent);
  font-style: normal;
}

.signup-section {
  padding: 5.5rem 1.5rem;
  background: var(--ink);
}

.signup-card {
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid var(--paper);
  padding: 3.4rem 2.5rem 2.8rem;
  background: #050505;
  text-align: center;
}

.signup-card h2 {
  margin: 0 0 1rem;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.signup-card p {
  margin: 0.6rem auto;
}

.signup-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.signup-row input {
  min-width: 0;
  min-height: 50px;
  border: 0;
  border-radius: 3px;
  padding: 0.8rem 1rem;
  background: #fff;
  color: #151419;
}

.signup-row button {
  border: 0;
  border-radius: 3px;
  padding: 0.8rem 1.4rem;
  background: #ececec;
  color: #151419;
  cursor: pointer;
}

.signup-row button:hover,
.signup-row button:focus-visible {
  background: var(--accent);
}

.fine-print {
  font-size: 0.78rem;
}

.instagram-section {
  padding: 2rem 0 0;
  background: var(--ink);
}

.instagram-profile {
  width: min(100% - 3rem, 390px);
  margin: 0 auto 2.2rem;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.3rem 1rem;
  align-items: center;
}

.profile-avatar-link {
  grid-row: 1 / 3;
  display: block;
  border-radius: 50%;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.instagram-profile h2 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.instagram-profile h2 a {
  color: inherit;
  text-decoration: none;
}

.instagram-profile h2 a:hover {
  text-decoration: underline;
}

.profile-stats {
  display: flex;
  gap: 1.15rem;
  margin: 0;
  font-size: 0.9rem;
}

.profile-bio {
  grid-column: 1 / -1;
  margin: 0.7rem 0 0;
}

.profile-link {
  grid-column: 1 / -1;
  color: var(--accent);
  overflow-wrap: anywhere;
}

.gallery-wrap {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.instagram-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 1.5rem) / 3);
  gap: 0.75rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.instagram-gallery::-webkit-scrollbar {
  display: none;
}

.instagram-gallery a {
  display: block;
  aspect-ratio: 1 / 1;
  scroll-snap-align: start;
  overflow: hidden;
  background: #070709;
}

.instagram-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, opacity 240ms ease;
}

.instagram-gallery a:hover img,
.instagram-gallery a:focus-visible img {
  transform: scale(1.025);
  opacity: 0.9;
}

.gallery-button {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(246, 242, 239, 0.88);
  color: #151419;
  font-size: 1.6rem;
  cursor: pointer;
}

.gallery-button:hover,
.gallery-button:focus-visible {
  background: var(--accent);
}

.gallery-button[disabled] {
  opacity: 0.35;
  cursor: default;
}

.gallery-prev {
  left: 1rem;
}

.gallery-next {
  right: 1rem;
}

.forest-page {
  min-height: 1180px;
  padding: 4.25rem 1.5rem 9rem;
  background-color: var(--charcoal);
}

.not-found-main {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.content-panel {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 3.25rem 2.75rem;
  background: rgba(22, 21, 26, 0.92);
}

.book-entry {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.85fr);
  gap: 3rem;
  align-items: start;
  padding-bottom: 3.2rem;
}

.book-entry + .book-entry {
  border-top: 1px solid rgba(246, 242, 239, 0.5);
  padding-top: 3.2rem;
}

.book-copy .subtitle {
  margin: -0.55rem 0 2rem;
  padding-bottom: 1.45rem;
  border-bottom: 1px solid var(--paper);
  font-size: 1.35rem;
}

.book-copy .story-copy {
  margin-bottom: 1.7rem;
}

.book-image {
  align-self: center;
}

.book-image img {
  width: min(100%, 340px);
  margin: 0 auto;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.3));
}

.reading-order-callout,
.separate-book {
  margin: 0 0 3.2rem;
  padding: 2rem;
  border: 1px solid rgba(229, 94, 86, 0.58);
  background: rgba(229, 94, 86, 0.08);
}

.reading-order-callout h2,
.reading-order-panel h2,
.reading-order-step h3 {
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 600;
}

.reading-order-callout h2 {
  margin: 0.2rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.reading-order-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.reading-order-panel {
  max-width: 860px;
}

.reading-order-lead {
  max-width: 720px;
  margin: 0 auto 3.2rem;
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  line-height: 1.65;
  text-align: center;
}

.reading-order-panel > h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(2.1rem, 4vw, 3rem);
  text-align: center;
}

.reading-order-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reading-order-step {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(246, 242, 239, 0.34);
}

.reading-order-number {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 2.3rem;
  line-height: 1;
}

.reading-order-step h3 {
  margin: 0.15rem 0 0.65rem;
  font-size: clamp(1.9rem, 4vw, 2.55rem);
}

.separate-book {
  margin-top: 1.5rem;
}

.separate-book h2 {
  margin: 0.25rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.reading-order-footer {
  margin: 3rem 0 0;
  text-align: center;
}

.about-panel {
  min-height: 690px;
  padding: 4.7rem 5.5rem;
}

.about-panel h2 {
  margin: 0 0 4.4rem;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 2.7rem;
  font-weight: 500;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 255px 1fr;
  gap: 2.8rem;
  align-items: center;
}

.author-photo {
  width: 255px;
  height: 255px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 27%;
  filter: grayscale(1);
}

.contact-panel {
  max-width: 980px;
  padding: 3.8rem 7rem 4rem;
  text-align: center;
}

.contact-panel h2 {
  max-width: 760px;
  margin: 0 auto 2.7rem;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.08;
}

.email-link {
  display: inline-block;
  margin-bottom: 4.3rem;
  text-decoration: none;
}

.email-link:hover,
.email-link:focus-visible {
  color: var(--accent);
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.form-field {
  margin-bottom: 1.15rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.3rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--paper);
  border-radius: 0;
  padding: 0.75rem;
  background: rgba(17, 16, 20, 0.22);
  color: var(--paper);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.signup-row input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.submit-button {
  width: 50%;
  min-height: 48px;
  margin: 0 auto;
  border: 0;
  background: var(--accent);
  color: #261f20;
  cursor: pointer;
}

.submit-wrap {
  text-align: center;
}

.form-status {
  min-height: 1.6em;
  margin: 0.8rem 0 0;
  text-align: center;
}

.form-status[data-state="success"] {
  color: #9ed49e;
}

.form-status[data-state="error"] {
  color: #ffb8aa;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

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

.policy-page {
  padding-top: 3.25rem;
}

.policy-panel {
  max-width: 900px;
  padding: 4rem 5rem;
}

.policy-panel h3 {
  margin: 2.6rem 0 0.75rem;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.12;
}

.policy-panel ul {
  margin: 0.75rem 0 1.4rem;
  padding-left: 1.4rem;
}

.policy-panel li + li {
  margin-top: 0.55rem;
}

.policy-updated {
  color: rgba(246, 242, 239, 0.72);
  font-size: 0.94rem;
}

.policy-contact {
  margin-top: 3.6rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(246, 242, 239, 0.45);
  text-align: center;
}

.policy-contact h3 {
  margin-top: 0;
}

.site-footer {
  min-height: 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  width: min(calc(100% - 3rem), var(--content));
  min-height: 96px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: rgba(246, 242, 239, 0.72);
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--paper);
  text-underline-offset: 0.22em;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: var(--accent);
}

@media (max-width: 800px) {
  .featured-section,
  .forest-page {
    --forest-image: image-set(url("../images/forest-lake-gothic-960.avif") type("image/avif"), url("../images/forest-lake-gothic-960.webp") type("image/webp"));
  }

  .forest-page.books-page::before {
    background-image: linear-gradient(rgba(7, 9, 14, 0.73), rgba(7, 9, 14, 0.84)), var(--forest-image);
  }

  body {
    font-size: 16px;
  }

  .site-header {
    padding: 0;
  }

  .header-inner {
    position: relative;
    min-height: 188px;
    padding: 0 1.25rem 1.1rem;
    align-items: flex-end;
  }

  .social-links {
    order: 2;
  }

  .menu-toggle {
    position: absolute;
    display: block;
    top: 1.15rem;
    right: 1.15rem;
  }

  .site-nav {
    position: absolute;
    z-index: 20;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(21, 20, 25, 0.98);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav > ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    padding: 0.75rem 0;
    font-size: 0.95rem;
  }

  .nav-books {
    width: 100%;
  }

  .nav-books-controls {
    justify-content: space-between;
  }

  .books-menu-toggle {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.45rem;
  }

  .books-subnav {
    position: static;
    width: auto;
    margin: 0.15rem 0 0.55rem;
    padding: 0.2rem 0;
    box-shadow: none;
  }

  .books-subnav a {
    padding: 0.7rem 1rem;
  }

  .home-hero {
    min-height: 360px;
    place-items: start;
    padding: 5.3rem 2rem 3rem;
    text-align: left;
  }

  .brand-lockup {
    display: block;
  }

  .brand-name {
    font-size: clamp(3.3rem, 17vw, 5rem);
    line-height: 0.95;
  }

  .brand-role {
    display: block;
    margin: 0.6rem 0 0 0.2rem;
    font-size: 2rem;
  }

  .featured-section {
    min-height: auto;
    padding: 2rem 1rem 6rem;
    background-attachment: scroll;
  }

  .featured-card {
    padding: 2.6rem 1.5rem;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ribbon {
    margin-left: -1.5rem;
    padding-left: 1.5rem;
  }

  .book-cover-featured {
    grid-row: 1;
    max-width: 310px;
  }

  .current-writing-section {
    padding: 4rem 1rem;
  }

  .current-writing-card {
    grid-template-columns: 1fr;
  }

  .current-writing-heading {
    padding: 2.6rem 1.5rem;
    border-right: 0;
    border-bottom: 1px solid rgba(246, 242, 239, 0.24);
  }

  .working-title {
    margin-bottom: 1.4rem;
  }

  .current-writing-copy {
    padding: 2.6rem 1.5rem;
  }

  .featured-copy {
    grid-row: 2;
  }

  .testimonials {
    min-height: auto;
    padding: 3.5rem 1rem 6rem;
  }

  .testimonial-book-covers {
    position: static;
    justify-content: center;
    margin-bottom: 2rem;
  }

  .testimonial-book-covers img {
    width: 64px;
  }

  .quotes {
    grid-template-columns: 1fr;
    gap: 3.8rem;
  }

  .quote {
    padding-top: 3.8rem;
  }

  .signup-row {
    grid-template-columns: 1fr;
  }

  .instagram-gallery {
    grid-auto-columns: calc((100% - 0.75rem) / 2);
  }

  .forest-page {
    min-height: 900px;
    padding: 2rem 1rem 6rem;
    background-attachment: scroll;
  }

  .content-panel {
    padding: 2.2rem 1.5rem;
  }

  .book-entry {
    grid-template-columns: 1fr;
  }

  .reading-order-step {
    grid-template-columns: 3.4rem minmax(0, 1fr);
    gap: 1rem;
  }

  .reading-order-number {
    width: 3.4rem;
    height: 3.4rem;
    font-size: 1.8rem;
  }

  .book-image {
    grid-row: 1;
  }

  .about-panel {
    min-height: auto;
    padding: 3rem 1.5rem;
  }

  .about-panel h2 {
    margin-bottom: 2.4rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .author-photo {
    margin: 0 auto;
  }

  .contact-panel {
    padding: 3rem 1.5rem;
  }

  .policy-panel {
    padding: 2.6rem 1.5rem;
  }

  .footer-inner {
    min-height: 112px;
    padding: 1.5rem 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
  }
}

@media (max-width: 520px) {
  .social-links a {
    width: 38px;
    height: 38px;
  }

  .page-hero {
    min-height: 205px;
  }

  .page-hero h1 {
    font-size: 3.5rem;
  }

  .policy-panel {
    overflow-wrap: anywhere;
  }

  .featured-copy h2,
  .book-copy h2 {
    font-size: 2.25rem;
  }

  .signup-card {
    padding: 2.5rem 1.15rem;
  }

  .profile-stats {
    flex-wrap: wrap;
    gap: 0.2rem 1rem;
  }

  .instagram-gallery {
    grid-auto-columns: 82%;
  }

  .gallery-prev {
    left: 0.5rem;
  }

  .gallery-next {
    right: 0.5rem;
  }

  .book-copy .subtitle {
    font-size: 1.16rem;
  }

  .contact-panel h2 {
    font-size: 2.25rem;
  }

  .submit-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-section::before,
  .forest-page::before {
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }

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