/* ==========================================================================
   Rujipas "Due" Varathikul — shared stylesheet
   Design system:
     Near Black   #1C1C1A  primary text
     Forest Green #2D6A4F  links / CTAs / accents   (hover #1C4536)
     Warm Grey    #595957  secondary text / captions
     Earth Brown  #7C5C2E  bookshelf tags / accents
     Warm White   #FAFAF8  page background
     Stone        #F0EFEA  card / section backgrounds (decorative only)
     Border       #E5E5E0  hairlines
     White        #FFFFFF  card surfaces
   Type: DM Serif Display (headings), Inter (body), JetBrains Mono (meta)
   Target: WCAG 2.1 AA
   ========================================================================== */

:root {
  --black: #1c1c1a;
  --green: #2d6a4f;
  --green-dark: #1c4536;
  --grey: #595957;
  --brown: #7c5c2e;
  --warm-white: #fafaf8;
  --stone: #f0efea;
  --border: #e5e5e0;
  --white: #ffffff;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--green-dark);
  text-decoration-thickness: 2px;
}

::selection {
  background: #cde3d6;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* ---- Skip link ---------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  background: var(--green);
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* ---- Header / nav -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 4px;
  margin-left: -4px;
  min-height: 44px;
  text-decoration: none;
  color: var(--black);
}
.brand:hover {
  color: var(--black);
}
.brand-name {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: -0.01em;
}
.brand-alias {
  font-size: 13px;
  color: var(--grey);
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-wide {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--black);
  text-decoration: none;
  border-radius: 6px;
}
.nav-link:hover {
  background: var(--stone);
  color: var(--black);
}
.nav-link[aria-current="page"] {
  font-weight: 600;
}
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
  padding-left: 10px;
  border-left: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 13px;
}
.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--grey);
  text-decoration: none;
}
.lang-link:hover {
  background: var(--stone);
  color: var(--black);
}
.lang-link[aria-current="true"] {
  color: var(--black);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Mobile menu (native <details>, no JS) */
.mobile-nav {
  display: none;
}
.mobile-nav > summary {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.mobile-nav > summary::-webkit-details-marker {
  display: none;
}
.mobile-nav > summary::marker {
  content: "";
}
.mobile-nav > summary span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
}
.mobile-nav-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--warm-white);
  padding: 8px 24px 16px;
}
.mobile-nav-link {
  display: block;
  width: 100%;
  padding: 14px 4px;
  min-height: 48px;
  font-size: 16px;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-link[aria-current="page"] {
  font-weight: 600;
  color: var(--green);
}
.mobile-lang {
  display: flex;
  gap: 10px;
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 14px;
}
.mobile-lang a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ---- Layout ------------------------------------------------------------- */
.site-main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 96px;
  min-height: 70vh;
}
.section {
  border-top: 1px solid var(--border);
  padding: 56px 0;
}
.measure {
  max-width: 60ch;
}

/* Headings */
.page-title {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-wrap: pretty;
}
.page-intro {
  font-size: 19px;
  color: var(--grey);
  margin: 0 0 48px;
  max-width: 56ch;
  text-wrap: pretty;
}
.section-title {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -0.01em;
  margin: 0;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

/* Buttons / CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover {
  background: var(--green-dark);
  color: #fff;
}
.btn-secondary {
  background: var(--white);
  color: var(--black);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--black);
  color: var(--black);
}
.link-plain {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green);
  font-size: 15px;
  font-weight: 500;
  text-underline-offset: 3px;
}

/* Meta text */
.meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--grey);
  margin: 0 0 10px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  margin: 0 0 12px;
}

/* Tags */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
}
.tech-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--black);
  background: var(--stone);
  border-radius: 4px;
  padding: 4px 9px;
}

/* Image placeholders (until real assets are supplied) */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  background: var(--stone);
  border: 2px dashed #c9c7be;
  color: var(--grey);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
}

/* ---- Home --------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 80px 0 72px;
}
.hero-title {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  text-wrap: pretty;
}
.hero-tagline {
  font-size: 19px;
  color: var(--grey);
  max-width: 52ch;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  object-fit: cover;
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 26px;
}
.post-card h3 {
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.post-card h3 a {
  color: var(--black);
  text-decoration: none;
}
.post-card h3 a:hover {
  color: var(--green);
}
.post-excerpt {
  color: var(--grey);
  margin: 0;
  max-width: 64ch;
  text-wrap: pretty;
}

.featured {
  background: var(--stone);
  border-radius: 14px;
  padding: 32px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: center;
}
.featured-cover {
  width: 180px;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
}
.featured h3 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0 0 6px;
}
.featured p.byline {
  color: var(--grey);
  margin: 0 0 18px;
}

/* ---- Blog list ---------------------------------------------------------- */
.blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-item {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.blog-item h2 {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.blog-item h2 a {
  color: var(--black);
  text-decoration: none;
}
.blog-item h2 a:hover {
  color: var(--green);
}
.blog-item .tag-row {
  margin-bottom: 14px;
}
.blog-item .post-excerpt {
  margin: 0 0 14px;
}

/* ---- Portfolio ---------------------------------------------------------- */
.project-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.project-card h2 {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0;
}
.project-card p {
  color: var(--grey);
  margin: 0;
  text-wrap: pretty;
}
.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: auto;
  padding-top: 6px;
}

/* ---- Bookshelf ---------------------------------------------------------- */
.form-note {
  background: var(--stone);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 0 0 44px;
  max-width: 60ch;
  color: var(--black);
}
.book-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.book-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.book-cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
}
.book-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  order: 3;
}
.condition {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  order: 2;
}
.book-title {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: pretty;
  order: 3;
}
.book-author {
  color: var(--grey);
  margin: 0;
  font-size: 15px;
  order: 4;
}
.book-price {
  margin: 4px 0 0;
  font-weight: 600;
  color: var(--black);
}
.request-btn {
  margin-top: auto;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 13px 18px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}
.request-btn:hover {
  background: var(--green-dark);
  color: #fff;
}

/* ---- Book card as a link + availability badge --------------------------- */
.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;
}

.book-card {
  position: relative;
}
.book-card:hover {
  border-color: #d3d2ca;
  box-shadow: 0 0 0 0.25rem #d3d2ca;
  outline: 2px solid transparent;
}

.book-cover-wrap {
  position: relative;
}
.book-title a {
  color: var(--black);
  text-decoration: none;
}
.book-title a:hover {
  color: var(--green);
}

.book-title a:focus {
  color: var(--green);
  outline: none;
}

/* Keyboard focus lights up the whole card, matching the hover affordance — but in
   green, not the hover grey: a focus indicator must clear 3:1 against its
   surroundings (WCAG 1.4.11). #d3d2ca manages only 1.45:1 on --warm-white;
   --green is 6.12:1. `:has(a:focus-visible)` keeps mouse clicks from triggering it. */
.book-card:has(a:focus-visible) {
  box-shadow: 0 0 0 0.25rem var(--green);
  outline: 2px solid transparent;
}

/* Whole card is clickable via the title link; only one link in the a11y tree. */
.stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.book-card :focus-visible {
  position: relative;
  z-index: 2;
}

.card-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  padding: 13px 18px;
  min-height: 48px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  order: 5;
}
.book-card:hover .card-cta {
  background: var(--green-dark);
}

.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.book-cover-wrap .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}
.badge-available {
  background: #e4f0e9;
  color: #1c4536;
  border-color: #bfddcb;
}
.badge-reserved {
  background: #f3e9d7;
  color: #6b4f1f;
  border-color: #e1cfa6;
}
.badge-sold {
  background: #ecece8;
  color: #555553;
  border-color: #dad9d2;
}

/* Cocktail strength badges — cool (weak) to warm (strong). */
.badge-strength-non-alcoholic {
  background: #e4f0e9;
  color: #1c4536;
  border-color: #bfddcb;
}
.badge-strength-light {
  background: #e6eef3;
  color: #1f4a5b;
  border-color: #c3d8e4;
}
.badge-strength-medium {
  background: #f3e9d7;
  color: #6b4f1f;
  border-color: #e1cfa6;
}
.badge-strength-strong {
  background: #f4e0cf;
  color: #8a4b22;
  border-color: #e4c3a3;
}
.badge-strength-very-strong {
  background: #f3d9d6;
  color: #8a2e26;
  border-color: #e4b6b0;
}

/* ---- Cocktail cards + detail ------------------------------------------- */
/* Photos read better than book spines at 4:5 rather than 2:3. */
.cocktail-cover {
  aspect-ratio: 4 / 5;
}
/* The alcohol / title / tagline cluster reads as one block, so it gets a tight
   6px rhythm. No wrapper div: the old `.book-meta` wrapper is what forced the
   heading down the DOM and out of logical reading order. The card's original
   16px separations are restored on the two items that border the cluster. */
.cocktail-card {
  gap: 6px;
}
.cocktail-card .cocktail-cover-wrap {
  margin-bottom: 10px;
}
.cocktail-card .book-author {
  margin-bottom: 10px;
}
.cocktail-detail-cover-wrap {
  width: 300px;
}
.cocktail-detail-cover {
  width: 300px;
  aspect-ratio: 4 / 5;
}

.ingredient-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.ingredient-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.ingredient-list li:first-child {
  border-top: 1px solid var(--border);
}
.ingredient-name {
  color: var(--black);
}
.ingredient-amount {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--grey);
  white-space: nowrap;
}
.ingredient-yield {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--grey);
  margin: 0 0 12px;
}

/* Markdown-rendered story: bold/italic + spaced paragraphs, no client JS. */
.cocktail-story p {
  margin: 0 0 16px;
}
.cocktail-story p:last-child {
  margin-bottom: 0;
}
.cocktail-story strong {
  font-weight: 600;
}
.cocktail-story em {
  font-style: italic;
}

/* ---- Book detail page --------------------------------------------------- */
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.back-link:hover {
  color: var(--green-dark);
  text-decoration: underline;
}
.book-detail {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
  padding: 16px 0 0;
}
.book-detail-cover-wrap {
  width: 260px;
}
.book-detail-cover {
  width: 260px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.book-detail-body {
  max-width: 64ch;
}
.book-detail-title {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 6px 0;
  text-wrap: pretty;
}
.book-detail-byline {
  color: var(--grey);
  margin: 0 0 16px;
  font-size: 17px;
}
.book-detail-excerpt {
  font-size: 19px;
  margin: 0 0 24px;
  text-wrap: pretty;
}
.detail-h {
  font-family: var(--serif);
  font-size: 22px;
  margin: 32px 0 12px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.book-prose {
  color: var(--black);
  margin: 0;
  text-wrap: pretty;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 0;
}
.info-grid > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.info-grid dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--grey);
}
.info-grid dd {
  margin: 0;
  color: var(--black);
}
.request-area {
  margin-top: 32px;
}
.request-btn-inline {
  display: inline-flex;
  width: auto;
}
.sold-note {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  background: var(--stone);
  color: var(--grey);
  font-size: 15px;
  margin: 0;
}

/* ---- About -------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
  padding: 72px 0 0;
}
.about-photo {
  width: 300px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: cover;
}
.about-body {
  max-width: 60ch;
}
.about-body .lede {
  font-size: 19px;
  margin: 0 0 20px;
  text-wrap: pretty;
}
.about-body p {
  text-wrap: pretty;
}
.about-body h2 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 32px 0 16px;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.contact-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* TODO / placeholder callout */
.todo-note {
  background: #fbf3e4;
  border: 1px solid #e6d4ae;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 0 0 32px;
  font-family: var(--mono);
  font-size: 13px;
  color: #6b4f1f;
  max-width: 60ch;
}

/* ---- Footer ------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--stone);
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.footer-inner p {
  margin: 0;
  color: var(--grey);
  font-size: 15px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-nav a {
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 860px) {
  .nav-wide {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0 48px;
  }
  .hero-title {
    font-size: 36px;
  }
  .portrait {
    max-width: 320px;
  }
  .featured {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .featured-cover {
    width: 100%;
    max-width: 200px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-photo {
    width: 100%;
    max-width: 300px;
  }
  .page-title {
    font-size: 36px;
  }
  .book-detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .book-detail-cover-wrap {
    width: 100%;
    max-width: 240px;
  }
  .book-detail-cover {
    width: 100%;
  }
  .cocktail-detail-cover-wrap {
    width: 100%;
    max-width: 280px;
  }
  .cocktail-detail-cover {
    width: 100%;
  }
  .book-detail-title {
    font-size: 30px;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* Lifts selectable text (tagline, alcohol amount) above the stretched-link
   overlay so it can be highlighted and copied. Must out-rank `.stretched-link::after`
   (z-index 1) on its own rather than relying on DOM order to break a tie. */
.relative {
  position: relative;
  z-index: 2;
}
