:root {
  --bg: #F9F7F0; /* Clean ivory paper, cooler than cream. */
  --ink: #1F3B2D; /* Forest green ink and dark surfaces. */
  --accent: #9B2335; /* Cranberry highlights and book covers. */
  --mustard: #D9A21B; /* Mustard paper, use with dark ink. */
  --paper: #FFFEFA; /* Brighter paper for labels and cards. */
  --muted: #5A5649; /* Secondary text, AA on ivory and sage. */
  --line: #B8B6A4; /* Fine rules and edges. */
  --sage: #CAD3B3; /* Soft green section background. */
  --wood: #6D4B32; /* The stained timber bookshelf. */
  --wood-light: #927052; /* The lighter edge of the shelf. */
  --shadow: #17291D; /* Cast shadows on the shelf. */
  --font-display: 'EB Garamond', Georgia, serif; /* Expressive literary headlines. */
  --font-body: 'Work Sans', Arial, sans-serif; /* Small functional text. */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
::selection { color: var(--paper); background: var(--accent); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
input:focus-visible { outline-offset: -4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }
h2 { font-size: clamp(43px, 6vw, 75px); line-height: .99; letter-spacing: -.045em; }
h3 { font-size: 30px; line-height: 1.12; }
em { font-weight: 400; }
svg { display: block; width: 100%; }
.wrap { width: min(100% - 40px, 1280px); margin-inline: auto; }
.chapter { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-display); font-style: italic; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.chapter span { font-style: normal; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding-bottom: 2px; border-bottom: 1px solid currentColor; }
.book-services .chapter span { color: var(--mustard); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .13em; line-height: 1.7; text-transform: uppercase; }
.text-link { display: inline-flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding: 0 0 5px; }
.text-link span { font-size: 22px; font-weight: 400; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; color: var(--paper); background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 23px 0; border-bottom: 1px solid var(--line); gap: 20px; }
.wordmark { font-family: var(--font-display); font-size: 45px; line-height: .75; letter-spacing: -.06em; text-decoration: none; }
.wordmark span { display: block; white-space: nowrap; margin-top: 12px; font-family: var(--font-body); font-size: 12px; letter-spacing: .13em; line-height: 1; }
.site-header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; font-size: 14px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-header nav a:last-child { padding: 0 14px; border: 1px solid var(--ink); }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.hero { padding: 27px 0 0; }
.hero-kicker { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }
.edition { display: none; font-size: 12px; letter-spacing: .1em; }
.hero-composition { padding: 36px 0 24px; }
h1 { font-size: clamp(63px, 13.5vw, 152px); letter-spacing: -.063em; line-height: .86; }
h1 em { color: var(--accent); }
.hero-aside { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; padding-top: 34px; }
.hero-aside p { font-size: 15px; line-height: 1.6; }
.hero-aside .text-link { margin-left: 0; }
.ex-libris { width: 112px; height: 112px; padding: 12px; border: 2px solid var(--ink); border-radius: 50%; text-align: center; transform: rotate(-11deg); display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 auto; }
.ex-libris > span { font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.ex-libris svg { width: 57px; margin: 2px 0; }
.ex-libris small { width: 82px; font-size: 12px; letter-spacing: .1em; margin-top: 4px; }
.hero-bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; font-size: 12px; }
.hero-bottom span:last-child { display: none; font-size: 12px; letter-spacing: .08em; }
.shelf-section { padding: 33px 0 40px; background: var(--sage); overflow: clip; }
.shelf-heading { display: grid; gap: 11px; }
.shelf-heading h2 { font-size: clamp(35px, 4.5vw, 58px); }
.shelf-heading > p:last-child { font-size: 15px; }
.shelf-layout { margin-top: 36px; }
.shelf-stage { padding-top: 16px; }
.book-row { min-height: 262px; display: flex; gap: 3px; align-items: flex-end; justify-content: center; padding: 0 12px; }
.spine { position: relative; border: 0; border-inline: 1px solid var(--shadow); width: 20%; max-width: 100px; height: 240px; padding: 11px 8px; flex: 1 1 0; color: var(--bg); background: var(--ink); display: flex; flex-direction: column; align-items: center; box-shadow: inset 3px 0 0 var(--shadow); transform-origin: 50% 100%; transition: transform .25s ease; }
.spine::before, .spine::after { content: ''; position: absolute; left: 4px; right: 4px; height: 4px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; opacity: .5; }
.spine::before { top: 8px; }
.spine::after { bottom: 8px; }
.spine-title { font-family: var(--font-display); font-size: 21px; line-height: 1.1; writing-mode: vertical-rl; transform: rotate(180deg); margin: auto; white-space: nowrap; }
.spine-number { font-family: var(--font-display); font-size: 13px; line-height: 1; margin-top: auto; }
.spine-two { height: 250px; background: var(--mustard); color: var(--ink); flex-grow: .85; }
.spine-three { height: 235px; background: var(--accent); }
.spine-four { height: 257px; background: var(--paper); color: var(--ink); flex-grow: 1.15; }
.spine-five { height: 229px; background: var(--wood); flex-grow: .9; }
.spine:hover, .spine:focus-visible { transform: translateY(-18px) rotate(-5deg); z-index: 1; }
.spine:focus-visible { outline-color: var(--accent); }
.wood-shelf { height: 15px; background: var(--wood); border-top: 5px solid var(--wood-light); box-shadow: 0 8px 12px -6px var(--shadow); }
.shelf-caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: 12px; letter-spacing: .09em; }
.shelf-caption span:last-child { text-align: right; }
.shelf-picks { margin-top: 29px; }
.shelf-pick { padding: 25px; border: 1px solid var(--ink); background: var(--bg); }
.shelf-pick:not(.pick-one) { display: none; }
.shelf-pick h3 { font-size: 45px; line-height: .98; letter-spacing: -.035em; margin-top: 14px; }
.book-author { margin-top: 10px; font-size: 13px; }
blockquote { padding: 0; margin: 22px 0; font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.pick-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; justify-content: space-between; font-size: 13px; border-top: 1px solid var(--line); padding-top: 16px; }
.pick-bottom .text-link { font-size: 12px; }
/* CSS :has keeps the shelf useful on hover and keyboard focus with no JavaScript. */
.shelf-layout:has(.spine-two:hover, .spine-two:focus-visible, [data-book="1"][aria-pressed="true"]) .shelf-pick,
.shelf-layout:has(.spine-three:hover, .spine-three:focus-visible, [data-book="2"][aria-pressed="true"]) .shelf-pick,
.shelf-layout:has(.spine-four:hover, .spine-four:focus-visible, [data-book="3"][aria-pressed="true"]) .shelf-pick,
.shelf-layout:has(.spine-five:hover, .spine-five:focus-visible, [data-book="4"][aria-pressed="true"]) .shelf-pick { display: none; }
.shelf-layout:has([data-book="1"][aria-pressed="true"]) .pick-two,
.shelf-layout:has([data-book="2"][aria-pressed="true"]) .pick-three,
.shelf-layout:has([data-book="3"][aria-pressed="true"]) .pick-four,
.shelf-layout:has([data-book="4"][aria-pressed="true"]) .pick-five { display: block; }
.shelf-layout:has(.spine:hover, .spine:focus-visible) .shelf-pick { display: none; }
.shelf-layout:has(.spine-one:hover, .spine-one:focus-visible) .pick-one,
.shelf-layout:has(.spine-two:hover, .spine-two:focus-visible) .pick-two,
.shelf-layout:has(.spine-three:hover, .spine-three:focus-visible) .pick-three,
.shelf-layout:has(.spine-four:hover, .spine-four:focus-visible) .pick-four,
.shelf-layout:has(.spine-five:hover, .spine-five:focus-visible) .pick-five { display: block; }
.story { padding: 65px 0 25px; }
.story-body { margin-top: 25px; display: grid; gap: 35px; }
.story h2 { font-size: clamp(40px, 5.4vw, 68px); }
.story-copy { max-width: 440px; }
.story-copy p + p { margin-top: 16px; }
.story-copy .signature { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 36px; margin-top: 23px; line-height: 1.2; }
.story-copy .eyebrow { font-size: 12px; }
.story-rule { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 45px; padding: 15px 0; font-size: 12px; letter-spacing: .09em; }
.table-section { padding: 40px 0 60px; }
.section-heading { display: flex; flex-direction: column; gap: 20px; }
.section-heading h2 { margin-top: 15px; }
.section-heading > p { font-size: 15px; }
.table-books { margin-top: 35px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
.table-book:last-child { grid-column: 1 / -1; width: calc(50% - 9px); justify-self: center; }
.book-cover { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 3 / 4.1; padding: 13px; overflow: clip; border-left: 5px solid var(--shadow); box-shadow: 5px 6px 0 var(--line); transition: transform .25s ease; }
.table-book:hover .book-cover { transform: translateY(-7px) rotate(-2deg); }
.cover-top, .cover-bottom { position: relative; z-index: 1; text-align: center; font-size: 12px; letter-spacing: .12em; }
.cover-title { position: relative; z-index: 1; font-family: var(--font-display); font-size: clamp(27px, 6.5vw, 62px); line-height: .92; text-align: center; letter-spacing: -.045em; }
.cover-tide { color: var(--bg); background: var(--accent); }
.ferry-lines { position: absolute; inset: 60% -10% 0; opacity: .3; background: repeating-radial-gradient(ellipse at 50% -100%, transparent 0 9px, var(--bg) 10px 11px, transparent 12px 21px); }
.cover-garden { color: var(--ink); background: var(--sage); }
.cover-garden .cover-title { margin-top: 8px; }
.cover-sprig { width: 48%; margin: auto; height: 27%; }
.cover-notes { color: var(--ink); background: var(--mustard); }
.cover-notes .cover-title { text-align: left; margin-top: 30%; }
.cover-circle { position: absolute; width: 65%; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; right: -20%; top: 15%; }
.cover-circle::before, .cover-circle::after { content: ''; position: absolute; inset: 7px; border: 1px solid var(--ink); border-radius: 50%; }
.cover-circle::after { inset: 14px; }
.book-meta { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; font-size: 12px; margin-top: 21px; }
.book-meta span:first-child { letter-spacing: .03em; }
.table-book h3 { font-size: 24px; margin-top: 8px; }
.table-book > p { font-size: 15px; margin-top: 6px; }
.events { border-top: 1px solid var(--line); padding: 50px 0 60px; }
.events-intro h2 { margin-top: 17px; }
.events-intro > p:not(.eyebrow) { margin-top: 23px; max-width: 340px; font-size: 16px; }
.events-intro .text-link { margin-top: 25px; }
.events-list { margin-top: 35px; }
.event { display: grid; grid-template-columns: 57px 1fr; gap: 20px; padding: 27px 0; border-top: 1px solid var(--line); }
.event:last-child { border-bottom: 1px solid var(--line); }
.event-date { color: var(--accent); display: flex; flex-direction: column; align-items: center; line-height: 1.1; padding-top: 4px; }
.event-date > span:first-child { font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.event-date strong { font-family: var(--font-display); font-size: 58px; font-weight: 400; }
.event-date > span:last-child { font-size: 12px; letter-spacing: .04em; }
.event .eyebrow { font-size: 12px; }
.event h3 { margin-top: 9px; font-size: 29px; }
.event h3 + p { margin-top: 12px; font-size: 15px; }
.event-bottom { margin-top: 17px; display: flex; flex-wrap: wrap; gap: 9px 18px; align-items: center; justify-content: space-between; font-size: 13px; }
.event-bottom > span { color: var(--muted); }
.event-bottom a { font-weight: 600; }
.book-services { background: var(--ink); color: var(--bg); padding: 50px 0; overflow: clip; }
.services-grid h2 { margin-top: 20px; }
.gift-mark { display: none; }
.service-list { margin-top: 30px; }
.service-list article { display: grid; grid-template-columns: 27px 1fr; gap: 15px; border-top: 1px solid var(--sage); padding: 25px 0; }
.service-list article > span { font-size: 12px; color: var(--mustard); }
.service-list h3 { font-size: 32px; }
.service-list p { font-size: 16px; margin-top: 12px; }
.service-list .service-price { font-size: 13px; color: var(--sage); }
.service-list > .text-link { margin-left: 42px; }
.book-services :focus-visible { outline-color: var(--mustard); }
.letter { padding: 65px 0; }
.letter-illustration { width: 120px; transform: rotate(-7deg); color: var(--accent); margin-bottom: 30px; }
.letter-illustration span { display: block; text-align: center; font-size: 12px; letter-spacing: .09em; margin-top: 15px; }
.letter h2 { margin-top: 15px; }
.letter-content > p:not(.eyebrow) { max-width: 510px; font-size: 16px; margin-top: 20px; }
.letter-form { margin-top: 30px; }
.letter-form label { display: block; font-size: 13px; margin-bottom: 8px; }
.email-row { display: flex; border-bottom: 1px solid var(--ink); }
.email-row input { width: 0; flex: 1; padding: 12px 4px; color: var(--ink); border: 0; background: transparent; font-size: 16px; border-radius: 0; }
.email-row input::placeholder { color: var(--muted); opacity: 1; }
.email-row button { border: 0; padding: 12px 8px 12px 14px; color: var(--ink); background: transparent; font-size: 13px; font-weight: 600; white-space: nowrap; }
.email-row button span { padding-left: 10px; font-size: 20px; }
.form-status { font-size: 13px; margin-top: 12px; color: var(--muted); min-height: 30px; }
.letter-form.complete .form-status { color: var(--ink); font-weight: 600; }
.visit { background: var(--sage); padding: 50px 0; }
.visit h2 { margin-top: 17px; }
.visit-grid > div > p:last-child { font-size: 16px; margin-top: 25px; }
.visit-details { margin-top: 35px; display: grid; gap: 30px; }
.visit-details h3 { font-size: 28px; margin-bottom: 15px; }
address { font-style: normal; margin-bottom: 15px; font-size: 16px; }
.visit-details a { display: block; width: fit-content; font-size: 15px; margin-top: 7px; }
dl { margin: 0; font-size: 15px; }
dl > div { display: flex; gap: 16px; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); }
dd { margin: 0; }
.visit-note { font-size: 13px; margin-top: 15px; }
.site-footer { background: var(--ink); color: var(--bg); padding: 27px 0 22px; overflow: clip; }
.footer-wordmark { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: clamp(100px, 26vw, 285px); line-height: 1; letter-spacing: -.07em; text-decoration: none; }
.footer-wordmark span { color: var(--mustard); font-size: .5em; line-height: 1; letter-spacing: 0; }
.footer-top p { font-family: var(--font-display); font-size: 23px; line-height: 1.2; margin: 22px 0; }
.footer-bottom { border-top: 1px solid var(--sage); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; font-size: 12px; letter-spacing: .08em; }
.footer-bottom a { text-decoration: none; }
.site-footer :focus-visible { outline-color: var(--mustard); }
@media (min-width: 600px) {
  .wrap { width: min(100% - 72px, 1280px); }
  .site-header nav { gap: 30px; font-size: 13px; }
  .site-header nav a:last-child { padding: 0; border: 0; }
  .edition, .hero-bottom span:last-child { display: block; }
  .hero-aside { justify-content: flex-end; }
  .shelf-heading { grid-template-columns: 1fr auto; }
  .shelf-heading .chapter { grid-column: 1 / -1; }
  .shelf-heading > p:last-child { align-self: end; }
  .book-row { min-height: 310px; }
  .spine { height: 280px; }
  .spine-two { height: 302px; }
  .spine-three { height: 275px; }
  .spine-four { height: 310px; }
  .spine-five { height: 270px; }
  .spine-title { font-size: 26px; }
  .shelf-pick h3 { font-size: 52px; }
  .table-books { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .table-book:last-child { grid-column: auto; width: auto; justify-self: stretch; }
  .book-cover { padding: 20px; }
  .cover-title { font-size: clamp(30px, 4.5vw, 62px); }
  .cover-top, .cover-bottom { font-size: 12px; }
  .book-meta { font-size: 12px; }
  .visit-details { grid-template-columns: 1fr 1.3fr; gap: 40px; }
  .letter { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; align-items: center; }
  .letter-illustration { width: min(100%, 220px); }
  .letter-illustration span { font-size: 12px; }
  .footer-top p { font-size: 30px; }
}
@media (min-width: 960px) {
  .site-header { padding: 22px 0; }
  .wordmark { font-size: 54px; }
  .wordmark span { font-size: 12px; }
  .hero { padding-top: 16px; }
  .hero-kicker { font-size: 12px; }
  .hero-composition { display: grid; grid-template-columns: 1fr 190px; align-items: end; gap: 35px; padding: 30px 0 20px; }
  h1 { font-size: clamp(104px, 10.4vw, 152px); }
  .hero-aside { padding: 0 0 10px; display: block; }
  .hero-aside p { margin-top: 24px; font-size: 16px; }
  .hero-aside .text-link { margin-top: 22px; }
  .ex-libris { width: 140px; height: 140px; margin: 0 auto; }
  .ex-libris svg { width: 75px; margin: 7px 0; }
  .ex-libris > span { font-size: 12px; }
  .ex-libris small { font-size: 12px; width: 100px; }
  .hero-bottom { font-size: 12px; padding: 18px 0; }
  .shelf-section { padding: 24px 0 40px; }
  .shelf-heading { grid-template-columns: .85fr 1.4fr auto; align-items: center; }
  .shelf-heading .chapter { grid-column: auto; }
  .shelf-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 75px; align-items: center; margin-top: 20px; }
  .shelf-stage { padding-top: 24px; }
  .book-row { min-height: 302px; padding: 0 18px; }
  .spine { max-width: none; }
  .shelf-picks { margin-top: 0; }
  .shelf-pick { min-height: 347px; padding: 25px 32px; }
  .shelf-pick h3 { font-size: 50px; }
  .shelf-pick blockquote { font-size: 22px; min-height: 80px; }
  .shelf-caption { font-size: 12px; }
  .story { padding-top: 94px; }
  .story-body { grid-template-columns: 1.35fr 1fr; gap: 90px; margin-top: 32px; }
  .story-copy { padding-top: 9px; font-size: 17px; }
  .story-rule { margin-top: 72px; padding: 20px 0; font-size: 12px; }
  .table-section { padding: 57px 0 92px; }
  .section-heading { flex-direction: row; justify-content: space-between; align-items: end; }
  .table-books { gap: 75px; margin: 48px auto 0; max-width: 1040px; }
  .book-cover { padding: 26px; }
  .book-meta { margin-top: 27px; }
  .table-book h3 { font-size: 31px; }
  .table-book > p { font-size: 15px; }
  .cover-title { font-size: clamp(38px, 4.4vw, 62px); }
  .cover-top, .cover-bottom { font-size: 12px; }
  .events { display: grid; grid-template-columns: 1fr 1.45fr; gap: 90px; padding: 80px 0 95px; }
  .events-intro h2 { font-size: clamp(54px, 5vw, 70px); }
  .events-list { margin-top: 0; }
  .event { gap: 30px; grid-template-columns: 65px 1fr; padding: 29px 0; }
  .event h3 { font-size: 32px; }
  .event h3 + p { font-size: 16px; max-width: 410px; }
  .event .eyebrow { font-size: 12px; }
  .event-date strong { font-size: 65px; }
  .book-services { padding: 75px 0; }
  .services-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 100px; }
  .gift-mark { display: block; width: 215px; padding: 27px 10px; border: 1px solid var(--sage); text-align: center; color: var(--mustard); transform: rotate(-7deg); font-family: var(--font-display); font-size: 31px; line-height: 1; margin: 45px 0 0 95px; }
  .gift-mark span { display: block; margin-top: 14px; font-family: var(--font-body); font-size: 12px; line-height: 1.4; letter-spacing: .1em; }
  .service-list { margin-top: 0; }
  .service-list article { padding: 27px 0; }
  .service-list h3 { font-size: 34px; }
  .service-list p { font-size: 16px; max-width: 390px; }
  .letter { padding: 95px 90px; gap: 90px; }
  .letter-illustration { justify-self: center; }
  .email-row input { font-size: 16px; padding: 17px 4px; }
  .email-row button { font-size: 13px; }
  .letter-content > p:not(.eyebrow) { font-size: 17px; }
  .visit { padding: 75px 0; }
  .visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 65px; align-items: center; }
  .visit-details { margin-top: 0; gap: 30px; }
  .visit-details h3 { font-size: 30px; }
  .site-footer { padding: 30px 0; }
  .footer-top { display: grid; grid-template-columns: 1fr 250px; gap: 60px; align-items: end; }
  .footer-wordmark { font-size: clamp(170px, 19vw, 275px); }
  .footer-top p { margin-bottom: 35px; font-size: 33px; }
  .footer-bottom { font-size: 12px; padding-top: 25px; margin-top: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
