/* About page — builds on the Scrapbook look in home.css */

/* The page you're on: a dashed clay line, like running stitch (Anne chose "B · Stitches", options/nav-underline.html) */
.c-nav a.here { text-decoration: underline; text-decoration-style: dashed; text-decoration-color: var(--clay); text-decoration-thickness: 2px; text-underline-offset: 7px; }

.a-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 80px) clamp(20px, 5vw, 64px) 0;
}
.a-me { width: clamp(220px, 26vw, 320px); }
.a-intro .c-scribble { text-align: left; transform-origin: left; margin: 0 0 8px; }
.a-intro h1 {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.06;
}
.a-intro h1 em { color: var(--clay); font-style: normal; }
.a-lede { margin-top: 20px; font-size: 19px; max-width: 46ch; color: var(--muted); }

.a-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  font-size: 18px;
  padding: 28px 0;
  border-top: 2px dashed #d8c9b2;
  border-bottom: 2px dashed #d8c9b2;
}

.a-favourites {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
}
.a-card {
  position: relative;
  min-height: 170px;
  padding: 64px 24px 24px;
  border-radius: 8px;
  outline: 2px dashed rgba(255, 253, 248, .8);
  outline-offset: -9px;
}
.a-card:nth-child(odd) { transform: rotate(-1.2deg); }
.a-card:nth-child(even) { transform: rotate(1deg); }
.a-card .c-tag { top: 22px; left: 24px; }
.a-card p { font-family: var(--serif); font-size: 22px; line-height: 1.25; }

.a-basket {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 4vw, 48px);
  padding: 44px 20px;
  background: var(--linen);
  border-radius: 8px;
  outline: 2px dashed #cdb998;
  outline-offset: -12px;
}

/* Book Club: not crochet; books read with friends every two months, food themed on the book */
.a-bc-lede { font-size: 18px; max-width: 58ch; color: var(--muted); margin-bottom: 32px; }
.a-books { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.a-book {
  position: relative;
  background: #fffdf8;
  border-radius: 4px 10px 10px 4px;
  padding: 66px 26px 26px 44px;
  box-shadow: 0 6px 16px rgba(59, 47, 39, .1);
}
.a-spine { position: absolute; left: 0; top: 0; bottom: 0; width: 16px; border-radius: 4px 0 0 4px; }
.a-book .c-tag { top: 22px; left: 44px; color: var(--clay); }
.a-book h3 { font-family: var(--serif); font-weight: 450; font-size: 24px; line-height: 1.2; }
.a-by { font-family: var(--serif); font-style: italic; color: var(--muted); margin-top: 2px; }
.a-meta { font-size: 14px; color: var(--muted); margin-top: 12px; }
/* Rating out of five teacups (Anne chose "E · Teacups", options/book-rating.html) */
.a-rating { display: flex; gap: 3px; margin-top: 12px; color: var(--clay); }
.a-rating svg { width: 24px; height: 24px; }
.a-rating .off { opacity: .28; }
.a-menu { margin-top: 16px; padding-top: 14px; border-top: 2px dashed #e6d9c4; font-size: 15px; }
.a-menu span { display: block; font-family: "Caveat", cursive; font-size: 20px; color: var(--rose); }
/* Clicking a card opens just its cover big (bookclub.js, the make pages' viewer). The night photos only show in the
   hover polaroid (Anne, 2026-11-04). */
.a-book[data-photos] { cursor: pointer; transition: transform .15s, box-shadow .15s; }
.a-book[data-photos]:hover, .a-book[data-photos]:focus-visible { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(59, 47, 39, .16); outline: none; }
.a-peek { margin-top: 14px; font-size: 14px; color: var(--clay); }
/* On hover the cover tucks into the top corner and a polaroid of the night pops on at the right
   (Anne chose C for the cover in options/book-hover.html, B for the photo in options/book-photos.html, moved to the middle) */
.a-book:hover { z-index: 2; }
.a-cover, .a-pol { position: absolute; z-index: 2; pointer-events: none; opacity: 0; box-shadow: 0 6px 16px rgba(59, 47, 39, .22);
  transform: translateY(10px) rotate(0deg); transition: opacity .3s ease, transform .3s ease; }
.a-cover { top: -12px; right: 18px; width: 86px; }
.a-pol { top: calc(50% - 50px); right: 12px; width: 150px; padding: 7px 7px 0; background: #fffdf8; transition-delay: .1s; }
.a-pol img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.a-pol span { display: block; font-family: "Caveat", cursive; font-size: 18px; text-align: center; padding: 3px 0 5px; line-height: 1.1; }
.a-pol::before { content: ""; position: absolute; top: -8px; left: 50%; width: 52px; height: 16px; transform: translateX(-50%) rotate(-4deg); background: rgba(236, 208, 143, .75); }
.a-book:hover .a-cover { opacity: 1; transform: translateY(0) rotate(5deg); }
.a-book:hover .a-pol { opacity: 1; transform: translateY(0) rotate(-4deg); }
@media (hover: none) { .a-cover, .a-pol { display: none; } }

@media (max-width: 760px) {
  .a-intro { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .a-intro .c-scribble { text-align: center; }
  .a-me { width: 230px; }
  .a-basket .c-polaroid { width: calc(50% - 10px); }
  .a-card { min-height: 0; padding: 52px 22px 22px; }
}
@media (min-width: 900px) { .a-favourites { grid-template-columns: repeat(5, 1fr); } }
