/* ==========================================================================
   Anthēs — Case Studies / Archive
   Figma page "03 Case Studies — Archive", frame 14:38 (1280 × 2680)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page hero — Figma 14:67
   -------------------------------------------------------------------------- */
.ahero { padding: 96px 0 48px; }

.ahero__inner {
  width: min(var(--content), 100% - (2 * var(--gutter)));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.ahero__eyebrow {
  font-size: 12px;
  font-weight: var(--w-bold);
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: var(--coral-pink);
}

.ahero__title {
  font-size: 67.2px;
  font-weight: var(--w-regular);
  line-height: 72.6px;
  letter-spacing: -1.21px;
  color: var(--ink);
}
.ahero__title strong { font-weight: var(--w-bold); color: var(--coral-pink); }

.ahero__lede {
  font-size: 21.12px;
  line-height: 30.6px;
  color: var(--ink);
  max-width: 774px;
}

.ahero__note {
  font-size: 16.5px;
  line-height: 27px;
  color: var(--ink-70);
  max-width: 741px;
}

/* --------------------------------------------------------------------------
   Archive grid — Figma 573:3459
   Three rows of three 358px cards in the Figma; a responsive grid here.
   -------------------------------------------------------------------------- */
/* Bottom padding was provided by the "Load more" band, removed 2026-10-07
   with the trim to two case studies — same 128px / 80px it gave the page. */
.archive { padding: 64px 0 128px; }

.archive__grid {
  width: min(var(--content), 100% - (2 * var(--gutter)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 358px));
  justify-content: center;
  gap: 25px 24px;
}

.acase {
  background: var(--paper);
  border: 1px solid var(--ink-15);
  border-radius: 20px;
  overflow: hidden;
}

.acase > a { display: flex; flex-direction: column; height: 100%; }

.acase__thumb { width: 100%; height: 200px; object-fit: cover; flex: 0 0 200px; }

.acase__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
}

.acase__kicker {
  font-size: 10px;
  font-weight: var(--w-bold);
  line-height: 17px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #9a9a9a;
}

.acase__title {
  font-size: 20px;
  font-weight: var(--w-bold);
  line-height: 25px;
  color: var(--ink);
}

.acase__desc {
  font-size: 14.5px;
  line-height: 22px;
  color: #9a9a9a;
}

/* Each card's headline figure carries its own accent, set inline */
.acase__metric {
  font-size: 13px;
  font-weight: var(--w-bold);
  line-height: 19px;
  color: var(--metric, var(--coral-pink));
}

.acase__read {
  margin-top: auto;
  align-self: stretch;
  text-align: right;
  font-size: 13.5px;
  font-weight: var(--w-bold);
  line-height: normal;
  color: var(--ink);
}
.acase > a:hover .acase__read { color: var(--coral-pink); }

/* Card lift, matching the other card types */
.acase {
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out),
    border-color 180ms ease;
}
.acase:hover,
.acase:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(35, 31, 32, 0.10);
  border-color: var(--ink-40);
}

/* --------------------------------------------------------------------------
   Load more — Figma 15:108
   -------------------------------------------------------------------------- */
.loadmore {
  padding: 64px 0 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loadmore__count {
  font-size: 13px;
  font-weight: var(--w-bold);
  letter-spacing: 1.54px;
  text-transform: uppercase;
  color: var(--ink-40);
}

/* --------------------------------------------------------------------------
   Responsive — derived; the Figma has no artboards below 1280
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  .ahero { padding: 72px 0 40px; }
  .ahero__title { font-size: clamp(40px, 5.4vw, 67.2px); line-height: 1.08; }
  .ahero__lede { font-size: 19px; line-height: 28px; }

  .archive__grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

@media (max-width: 640px) {
  .archive { padding-top: 40px; padding-bottom: 80px; }
  .archive__grid { grid-template-columns: minmax(0, 1fr); }
  .loadmore { padding: 48px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .acase:hover,
  .acase:focus-within { transform: none; box-shadow: none; }
}
