/* Museum bookstore index — language collections + recent arrivals. */
.cols-page {
  --cols-ink: #2b1c14;
  --cols-soft: #6d5b4c;
  --cols-muted: #8a7868;
  --cols-line: #eadfce;
  --cols-cream: #faf6ef;
  --cols-saffron: #c66a0b;
  --cols-maroon: #7b1e1e;
  --cols-green: #1f4d3a;
  background: #fffdf9;
  color: var(--cols-ink);
  letter-spacing: 0;
}

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

.cols-wrap {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- hero ---------- */
.cols-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #efe3d0;
  background:
    radial-gradient(900px 360px at 88% -40%, #fbe3b9 0%, rgba(251, 227, 185, 0) 70%),
    radial-gradient(700px 300px at 2% 120%, #f6e3cc 0%, rgba(246, 227, 204, 0) 70%),
    linear-gradient(135deg, #fdf8ef 0%, #faf1e2 58%, #f6e9d6 100%);
}

.cols-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  align-items: center;
  gap: 36px;
  padding-top: 42px;
  padding-bottom: 54px;
}

.cols-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(198, 106, 11, 0.11);
  pointer-events: none;
}

.cols-ring--1 {
  width: 260px;
  height: 260px;
  right: 12%;
  top: -140px;
}

.cols-ring--2 {
  width: 380px;
  height: 380px;
  right: 7%;
  top: -80px;
  border-style: dashed;
  border-color: rgba(123, 30, 30, 0.08);
}

.cols-ring--3 {
  width: 180px;
  height: 180px;
  left: -90px;
  bottom: -110px;
}

.cols-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
  color: var(--cols-muted);
  font-size: 12px;
}

.cols-crumb a {
  color: var(--cols-muted);
  text-decoration: none;
}

.cols-crumb a:hover {
  color: var(--cols-saffron);
}

.cols-crumb b {
  color: var(--cols-ink);
  font-weight: 600;
}

.cols-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--cols-saffron);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cols-eyebrow > span {
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cols-saffron));
}

.cols-title {
  margin: 0 0 16px;
  font-family: var(--font-heading-family);
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.025em;
  color: var(--cols-ink);
}

.cols-title em {
  font-style: normal;
  color: var(--cols-maroon);
}

.cols-lede {
  max-width: 610px;
  margin: 0 0 20px;
  color: var(--cols-soft);
  font-size: 14.5px;
  line-height: 1.75;
}

.cols-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 24px;
  color: var(--cols-muted);
  font-size: 12px;
}

.cols-meta b {
  margin-right: 2px;
  color: var(--cols-ink);
  font-family: var(--font-heading-family);
  font-size: 16px;
  font-weight: 600;
}

.cols-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c9bba9;
}

.cols-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cols-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 47px;
  padding: 0 22px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, filter 0.2s, border-color 0.2s, background 0.2s;
}

.cols-btn--primary {
  border: 1px solid transparent;
  background: linear-gradient(135deg, #2a6650, #1f4d3a);
  color: #fffaf0;
  box-shadow: 0 14px 26px -16px rgba(31, 77, 58, 0.8);
}

.cols-btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.cols-btn--ghost {
  border: 1px solid #e0d2bd;
  background: rgba(255, 253, 249, 0.75);
  color: var(--cols-soft);
}

.cols-btn--ghost:hover {
  border-color: #cbb28d;
  background: #fff;
  color: var(--cols-maroon);
}

/* hero cover fan */
.cols-hero__covers {
  position: relative;
  height: 330px;
}

.cols-cover {
  position: absolute;
  display: block;
  width: 176px;
  aspect-ratio: 3 / 4.15;
  overflow: hidden;
  padding: 9px;
  border: 1px solid #ede1cd;
  border-radius: 12px;
  background: #fffdf9;
  box-shadow: 0 28px 50px -32px rgba(88, 52, 14, 0.65), 0 3px 8px rgba(88, 52, 14, 0.08);
}

.cols-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cols-cover--1 {
  left: 0;
  top: 46px;
  transform: rotate(-8deg);
  opacity: 0.9;
}

.cols-cover--2 {
  left: 120px;
  top: 8px;
  z-index: 2;
  width: 198px;
  transform: rotate(1.5deg);
}

.cols-cover--3 {
  left: 276px;
  top: 54px;
  transform: rotate(8deg);
  opacity: 0.9;
}

/* ---------- trust strip ---------- */
.cols-trust {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: -22px;
  padding: 14px 20px;
  border: 1px solid var(--cols-line);
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 18px 40px -36px rgba(88, 52, 14, 0.55);
  backdrop-filter: blur(8px);
}

.cols-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cols-soft);
  font-size: 11.5px;
  font-weight: 600;
}

.cols-trust svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: var(--cols-green);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- sections ---------- */
.cols-section {
  padding: 54px 0 0;
  scroll-margin-top: 100px;
}

.cols-sectionhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.cols-sectionhead h2 {
  margin: 0;
  font-family: var(--font-heading-family);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--cols-ink);
}

.cols-sectionhead > p {
  margin: 0 0 5px;
  color: var(--cols-muted);
  font-size: 12.5px;
}

.cols-textlink {
  margin-bottom: 5px;
  color: var(--cols-saffron);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.cols-textlink:hover {
  text-decoration: underline;
}

/* ---------- language cards ---------- */
.cols-langgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cols-langcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 24px 24px 20px;
  overflow: hidden;
  border: 1px solid var(--cols-line);
  border-radius: 22px;
  color: var(--cols-ink);
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s, border-color 0.28s;
}

.cols-langcard::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.08), 0 0 0 60px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.cols-langcard.is-green {
  background: linear-gradient(160deg, #eef5ef 0%, #f8f4e9 58%, #f3ead6 100%);
  border-color: #dfe6d6;
}

.cols-langcard.is-amber {
  background: linear-gradient(160deg, #fdf2dc 0%, #fbf5e8 58%, #f6e8ce 100%);
  border-color: #ecdbbd;
}

.cols-langcard.is-maroon {
  background: linear-gradient(160deg, #f8e7e3 0%, #fbf2e9 58%, #f4e5d6 100%);
  border-color: #edd7cd;
}

.cols-langcard:hover {
  transform: translateY(-6px);
  border-color: #dcc7a2;
  box-shadow: 0 28px 50px -34px rgba(88, 52, 14, 0.5);
}

.cols-langcard__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.cols-langcard__script {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.75);
  color: var(--cols-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cols-langcard.is-amber .cols-langcard__script {
  color: #9a6000;
}

.cols-langcard.is-maroon .cols-langcard__script {
  color: var(--cols-maroon);
}

.cols-langcard.is-green .cols-langcard__script {
  color: var(--cols-green);
}

.cols-langcard__count {
  color: var(--cols-muted);
  font-size: 10.5px;
  font-weight: 600;
}

.cols-langcard h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-family: var(--font-heading-family);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--cols-ink);
}

.cols-langcard > p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 310px;
  color: var(--cols-soft);
  font-size: 12.5px;
  line-height: 1.65;
}

.cols-langcard__covers {
  position: relative;
  z-index: 1;
  height: 174px;
  margin: 20px -6px 10px;
}

.cols-minicover {
  position: absolute;
  display: block;
  width: 108px;
  aspect-ratio: 3 / 4.15;
  padding: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 9px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 16px 28px -20px rgba(88, 52, 14, 0.6);
  transition: transform 0.28s ease;
}

.cols-minicover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cols-minicover--1 {
  left: 4px;
  top: 18px;
  transform: rotate(-7deg);
}

.cols-minicover--2 {
  left: 84px;
  top: 0;
  z-index: 2;
  width: 122px;
  transform: rotate(1deg);
}

.cols-minicover--3 {
  left: 182px;
  top: 22px;
  transform: rotate(7deg);
}

.cols-langcard:hover .cols-minicover--1 { transform: rotate(-9deg) translateY(-4px); }
.cols-langcard:hover .cols-minicover--2 { transform: rotate(1deg) translateY(-6px); }
.cols-langcard:hover .cols-minicover--3 { transform: rotate(9deg) translateY(-4px); }

.cols-minicover--empty {
  left: 50%;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  margin-left: -65px;
  color: #a58d6c;
}

.cols-minicover--empty svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.cols-langcard__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed rgba(160, 130, 86, 0.28);
  color: var(--cols-green);
  font-size: 12px;
  font-weight: 700;
}

.cols-langcard.is-amber .cols-langcard__cta { color: #9a6000; }
.cols-langcard.is-maroon .cols-langcard__cta { color: var(--cols-maroon); }

/* ---------- recent grid ---------- */
.cols-recent {
  padding-top: 58px;
}

.cols-recentgrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* ---------- quote ---------- */
.cols-quote {
  margin-top: 56px;
  margin-bottom: 10px;
  padding: 38px 34px;
  border: 1px solid #e7d7bd;
  border-radius: 22px;
  background:
    radial-gradient(600px 260px at 92% -30%, #f7e2bd 0%, rgba(247, 226, 189, 0) 70%),
    linear-gradient(135deg, #fdf8ef, #f8efdf);
  text-align: center;
}

.cols-quote blockquote {
  max-width: 780px;
  margin: 0 auto 12px;
  color: var(--cols-ink);
  font-family: var(--font-heading-family);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.cols-quote > span {
  color: var(--cols-muted);
  font-size: 11.5px;
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .cols-hero__inner {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .cols-cover {
    width: 148px;
  }
  .cols-cover--2 {
    width: 168px;
    left: 100px;
  }
  .cols-cover--3 {
    left: 230px;
  }
  .cols-langcard {
    min-height: 410px;
    padding: 20px;
  }
  .cols-minicover--3 {
    left: 160px;
  }
}

@media (max-width: 989px) {
  .cols-hero__inner {
    grid-template-columns: 1fr;
    padding-bottom: 44px;
  }
  .cols-hero__covers {
    display: none;
  }
  .cols-trust {
    margin-top: -16px;
    justify-content: flex-start;
  }
  .cols-langgrid {
    grid-template-columns: 1fr;
  }
  .cols-langcard {
    min-height: 0;
  }
  .cols-langcard__covers {
    max-width: 330px;
  }
  .cols-recentgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .cols-wrap {
    padding: 0 15px;
  }
  .cols-hero__inner {
    padding-top: 30px;
    padding-bottom: 36px;
  }
  .cols-title {
    font-size: 34px;
  }
  .cols-section {
    padding-top: 38px;
  }
  .cols-sectionhead {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .cols-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 0;
    padding: 14px 16px;
  }
  .cols-trust span {
    font-size: 10px;
    align-items: flex-start;
  }
  .cols-actions {
    flex-direction: column;
  }
  .cols-btn {
    width: 100%;
  }
  .cols-langcard {
    padding: 20px 18px 16px;
  }
  .cols-langcard h3 {
    font-size: 24px;
  }
  .cols-langcard__covers {
    height: 150px;
    margin-top: 16px;
  }
  .cols-minicover {
    width: 94px;
  }
  .cols-minicover--2 {
    width: 104px;
    left: 70px;
  }
  .cols-minicover--3 {
    left: 150px;
  }
  .cols-recentgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .cols-quote {
    padding: 28px 20px;
    margin-top: 38px;
  }
}

/* Keep the floating social rail from covering the mobile hero actions. */
@media (max-width: 989px) {
  body:has(.cols-page) .floating-social {
    display: none !important;
  }
}
