/* ============================================================
   gallery.css — 포트폴리오 갤러리 · 아카이브 편집
   ------------------------------------------------------------
   껍데기는 절제한다. 안에 160개 썸네일이 이미 알록달록해서,
   틀까지 화려하면 둘이 싸우고 결국 아무것도 안 보인다.
   색은 작업물에서 나오고, 틀은 종이·잉크·괘선만 쓴다.

   디자인 연감(annual)의 문법을 빌린다.
     · 001–160 일련번호 — 규모 자체가 설득이 된다
     · 메타는 모노스페이스 — 편집물의 신호
     · 카드가 뜨지 않고 괘선으로 나뉜다 — 템플릿이 아니라 수집물로 읽힌다

   이 :root 재정의는 index.html · builder.html 에만 닿는다.
   작품 578페이지는 각자의 style.css 를 나중에 읽으므로 영향이 없다.
   ============================================================ */

:root {
  --brand:       #14161a;
  --brand-ink:   #ffffff;
  --accent:      #14161a;          /* 강조도 잉크색. 파란 강조는 썸네일과 부딪혔다 */
  --accent-ink:  #ffffff;
  --surface:     #fbfaf8;          /* 종이. 순백은 썸네일 흰 배경과 경계가 사라진다 */
  --surface-alt: #f2f0ec;
  --r: 0;                          /* 연감에는 둥근 모서리가 없다 */

  --paper:  #fbfaf8;
  --rule:   #ddd9d1;               /* 괘선 — 종이 위 1.7:1. 있는 줄은 알되 시끄럽지 않게 */
  --rule-2: #c4bfb4;               /* 강조 괘선 */
  --mark:   #b4442a;               /* 유일한 색. 번호·현재상태에만 쓴다 */
}

body {
  background: var(--paper);
  /* 종이결 — 아주 옅게. 스크롤해도 배경이 죽어 있지 않게 한다 */
  background-image:
    repeating-linear-gradient(0deg,
      rgb(0 0 0 / .012) 0 1px, transparent 1px 3px);
}

/* ── 헤더 ────────────────────────────────────────────────────
   네비와 표제가 같은 왼쪽 선에 앉는다. 풀블리드로 빼면
   '둘러보기' 가 화면 끝에 붙어 표제와 어긋난다. */

.gh {
  padding-block: var(--sp-4) var(--sp-6);
  border-bottom: 2px solid var(--ink);
  background: transparent;
}
.gh__hero { display: grid; gap: var(--sp-3); max-width: 46rem; }

.gh__title {
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: var(--ls-tighter);
  font-weight: var(--fw-semibold);
}
.gh__title em {
  font-style: normal;
  font-family: var(--font-serif);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-tight);
}
.gh__lead {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  text-wrap: pretty;
}

.gh__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 2px 0 0;
}
.gh__try {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--surface);
  background: var(--ink);
  transition: background var(--dur) var(--ease);
}
.gh__try:hover { background: var(--ink-2); }
.gh__quiet {
  color: var(--ink-2);
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
}
.gh__quiet:hover { color: var(--ink); border-color: var(--ink); }

.gh__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-1);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
}
.gh__stats > div { display: flex; align-items: baseline; gap: var(--sp-2); }
.gh__stats dt {
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.gh__stats dd {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.gh__stats dd span {
  font-size: var(--fs-xs);
  font-weight: var(--fw-normal);
  color: var(--ink-3);
  margin-left: 1px;
}

@media (min-width: 768px) {
  .gh { padding-block: var(--sp-5) var(--sp-7); }
  .gh__hero { gap: var(--sp-4); }
  .gh__stats { gap: var(--sp-2) var(--sp-7); }
}

/* ── 색인면 ────────────────────────────────────────────────
   연감의 통계 스프레드. 장식이 아니라 항해 도구다 —
   칸을 누르면 그 작품으로, 막대를 누르면 그 무드만 남는다. */

.idx { padding-block: var(--sp-3); border-bottom: 1px solid var(--rule); }
.idx__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  margin-bottom: 0;
}
.idx__head:has(+ .idx__body:not([hidden])) { margin-bottom: var(--sp-4); }
@media (max-width: 767.98px) {
  .idx__d { display: none; }
}
.idx__t {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--ink);
}
.idx__d { font-size: var(--fs-sm); color: var(--ink-2); }
.idx__d b { color: var(--ink); font-variant-numeric: tabular-nums; }
.idx__toggle {
  display: inline-flex;
  align-items: center;
  flex: none;
  margin-left: auto;
  height: 28px;
  padding: 0 2px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule-2);
}
.idx__toggle:hover { color: var(--ink); border-bottom-color: var(--ink); }

.idx__body { display: grid; gap: var(--sp-6); }
/* display 를 명시하면 브라우저 기본 [hidden]{display:none} 을 이겨버린다.
   접었는데 자리를 그대로 차지해 작품이 580px 밀려 있었다. */
.idx__body[hidden] { display: none; }
@media (min-width: 1024px) {
  .idx__body { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--sp-7); align-items: start; }
}
.idx__fig { margin: 0; display: grid; gap: var(--sp-3); }
.idx__fig figcaption {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  color: var(--ink-3);
}

/* 매트릭스 — 208칸. 찬 칸은 잉크, 빈 칸은 괘선만. */
.mtx {
  display: grid;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 2px;
}
/* 칸이 열 너비만큼 늘어나면 매트릭스만 1000px 를 넘어 작품이 화면 밖으로 밀린다.
   칸 크기를 못박고 왼쪽으로 정렬한다. */
.mtx { justify-items: start; }
.mtx__row {
  display: grid;
  grid-template-columns: 3.4rem repeat(13, 20px);
  gap: 2px;
  min-width: max-content;
}
@media (min-width: 768px) {
  .mtx__row { grid-template-columns: 3.6rem repeat(13, 24px); }
}
.mtx__rh, .mtx__ch {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .04em;
  color: var(--ink-3);
  text-decoration: none;
  border: 0;
  display: flex;
  align-items: center;
}
.mtx__ch { justify-content: center; font-size: 9px; }
.mtx__row--head { margin-bottom: 2px; }

.mtx__c {
  aspect-ratio: 1;
  border: 1px solid var(--rule);
  background: transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.mtx__c.is-on {
  background: var(--ink);
  border-color: var(--ink);
}
.mtx__c.is-on:hover,
.mtx__c.is-on:focus-visible {
  background: var(--mark);
  border-color: var(--mark);
  transform: scale(1.35);
}

/* 무드 분포 막대 */
.bars { display: grid; gap: 1px; }
.bar {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr) 2rem;
  align-items: center;
  gap: var(--sp-3);
  padding: 5px 0;
  text-align: left;
  color: var(--ink-2);
  transition: color var(--dur) var(--ease);
}
.bar:hover { color: var(--ink); }
.bar__k { font-size: var(--fs-xs); }
.bar__t { height: 8px; background: var(--surface-alt); outline: 1px solid var(--rule); outline-offset: -1px; }
.bar__f {
  display: block;
  height: 100%;
  width: calc(var(--v) * 100%);
  background: var(--ink);
  transform-origin: 0 50%;
  transition: background var(--dur) var(--ease);
}
.bar:hover .bar__f { background: var(--mark); }
.bar__v {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}

/* ── 필터 ────────────────────────────────────────────────────
   붙어 있는 동안 카드를 가리면 안 된다. 데스크톱은 한 줄,
   좁은 화면은 검색+필터 한 줄만 두고 나머지는 아래로 늘어나지 않게 띄운다. */

.filters {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  padding-block: 10px;
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.filters .container { position: relative; }

.filters__bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}
.filters__toggle { flex: 0 0 auto; }
.field--grow { flex: 1 1 auto; min-width: 0; }
.field--grow input { min-width: 0; }
@media (max-width: 767.98px) {
  .filters__count { display: none; }
}

/* 첫 칸 문구가 이미 역할을 말하므로 라벨은 스크린리더만.
   좁은 화면 패널 안에서는 다시 보이게 한다. */
.filters__label,
.filters .field label {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.filters__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  white-space: nowrap;
  color: var(--ink-2);
  border: 1px solid var(--rule-2);
  background: var(--surface);
}
.filters__toggle::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.filters__toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.filters__toggle[aria-expanded="true"] { color: var(--ink); border-color: var(--ink); }

.filters__toggle-n {
  display: inline-grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding-inline: 4px;
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
  color: var(--brand-ink);
  background: var(--brand);
}
.filters__toggle-n[hidden] { display: none !important; }

/* JS 가 있을 때만 접는다. 없으면 유형·무드에 영영 못 닿는다. */
.filters__adv {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
  padding-top: 4px;
}
html.js .filters__adv {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 2;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--rule);
  box-shadow: 0 16px 40px rgb(22 24 29 / .12);
}
html.js .filters__adv.is-open { display: grid; }
html:not(.js) .filters__toggle { display: none; }
html:not(.js) .filters__bar { flex-wrap: wrap; }
html:not(.js) .filters__adv { flex: 1 1 100%; }

@media (max-width: 767.98px) {
  html.js .filters__adv.is-open .field label {
    position: static;
    width: auto; height: auto;
    margin: 0;
    overflow: visible;
    clip-path: none;
    font-size: 11px;
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    color: var(--ink-2);
  }
}

.field { display: grid; gap: 4px; min-width: 0; }
.field select,
.field input {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  font-size: var(--fs-sm);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--rule-2);
  border-radius: 0;
}
.field input::placeholder { color: var(--ink-3); }

.btn-reset {
  height: 36px;
  padding: 0 12px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink-2);
  border: 1px solid var(--rule-2);
  background: var(--surface);
  white-space: nowrap;
}
.btn-reset:hover { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }

.filters__count {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  white-space: nowrap;
}
.filters__count b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* 넓은 화면 — 한 줄. 패널을 걷어내 자식이 막대 칸이 된다. */
@media (min-width: 768px) {
  .filters__bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .filters__toggle { display: none; }
  .filters__adv,
  html.js .filters__adv,
  html.js .filters__adv.is-open {
    display: contents;
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
  }
  .field--ind { flex: 0 0 168px; }
  .field--type,
  .field--style { flex: 0 0 138px; }
  .field--grow { flex: 1 1 160px; min-width: 140px; order: 4; }
  .field--ind   { order: 1; }
  .field--type  { order: 2; }
  .field--style { order: 3; }
  .prembtn      { order: 5; }
  .btn-reset    { order: 6; }
  .filters__count { order: 7; }
}

/* ── 그리드 ────────────────────────────────────────────────── */

.grid-wrap { padding-block: var(--sp-7) var(--sp-9); }

/* 항목 사이를 여백이 아니라 괘선이 가른다. 수집물처럼 읽히게 하는 핵심이다. */
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (min-width: 768px)  { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  min-width: 0;
  position: relative;
  padding: var(--sp-5) 0 var(--sp-6);
  border-bottom: 1px solid var(--rule);
}
/* 열 사이 세로 괘선 — 마지막 열에는 붙이지 않는다 */
@media (min-width: 768px) {
  .card { padding-inline: var(--sp-5); }
  .card:nth-child(2n + 1) { padding-left: 0; border-right: 1px solid var(--rule); }
  .card:nth-child(2n)     { padding-right: 0; }
}
@media (min-width: 1280px) {
  .card:nth-child(n) { border-right: 1px solid var(--rule); padding-inline: var(--sp-5); }
  .card:nth-child(3n + 1) { padding-left: 0; }
  .card:nth-child(3n)     { padding-right: 0; border-right: 0; }
}

.card__link {
  display: grid;
  gap: var(--sp-3);
  height: 100%;
  align-content: start;
}

/* 일련번호 — 001부터. 규모가 곧 설득이다. */
.card__no {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  transition: color var(--dur) var(--ease);
}
.card__link:hover .card__no { color: var(--mark); }
.card__link:hover .card__thumb img { transform: scale(1.035); }
.card__link:hover .card__title { text-decoration: underline; text-underline-offset: 5px; }

.card__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0;
  background: var(--surface-alt);
  /* 밝은 하이키 사진이 종이색에 녹지 않도록 경계를 준다. 실측 17장이 그랬다. */
  outline: 1px solid var(--rule-2);
  outline-offset: -1px;
  border: 0;
}
.card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
/* ── 프리미엄 대조본 ────────────────────────────────────────
   갤러리에서 존재가 보이고 바로 눌려야 한다.
   작품 안으로 들어가야만 알 수 있으면 아무도 안 본다.
   연감 편집에서는 검은 덩어리 대신 각주처럼 얹는다. */
.card__prem {
  display: inline-flex;
  align-items: baseline;
  gap: var(--sp-2);
  margin-top: var(--sp-1);
  padding-block: 4px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule-2);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card__prem b {
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  color: var(--mark);
}
.card__prem:hover { color: var(--ink); border-bottom-color: var(--ink); }

.prembtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  border: 1px solid var(--rule-2);
  color: var(--ink-2);
  background: var(--surface);
  white-space: nowrap;
}
.prembtn em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.prembtn:hover { border-color: var(--ink); color: var(--ink); }
.prembtn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.prembtn[aria-pressed="true"] em { color: color-mix(in oklab, var(--paper) 70%, transparent); }

/* 색 견본 — 알약 대신 네모 조각. 종이 위 물감 견본처럼. */
.card__swatch {
  position: absolute;
  left: 0; bottom: 0;
  display: flex;
  border-radius: 0;
  box-shadow: none;
  outline: 1px solid var(--rule-2);
  outline-offset: -1px;
}
.card__swatch i { width: 18px; height: 10px; }

/* 분류는 알약이 아니라 슬래시로 잇는 한 줄. FNB / LP / MIN */
.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  color: var(--ink-2);
  text-transform: uppercase;
}
.tag { padding: 0; border-radius: 0; background: none; color: inherit; }
.tag + .tag::before {
  content: "/";
  margin-inline: 6px;
  color: var(--ink-3);
}
.tag--ind { color: var(--ink); font-weight: var(--fw-semibold); }
.tag--style { border: 0; background: none; }

.card__title {
  font-size: var(--fs-lg);
  letter-spacing: var(--ls-tight);
  line-height: 1.18;
}
.card__title span {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: var(--fw-normal);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--ink-3);
}
.card__summary {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  text-wrap: pretty;
}

.card__foot {
  display: flex;
  gap: var(--sp-4);
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.empty {
  padding-block: var(--sp-9);
  text-align: center;
  font-size: var(--fs-md);
  color: var(--ink-3);
}

/* ── 푸터 ──────────────────────────────────────────────────── */

.gf { padding-block: var(--sp-7); border-top: 1px solid var(--rule); background: var(--surface-alt); }
.gf__inner { display: grid; gap: var(--sp-2); }

/* 연락 동선 — 160작품을 아무리 잘 만들어도 문의가 도착할 곳이 없으면 소용이 없다.
   고지문보다 위, 눈에 먼저 들어오는 자리에 둔다. */
.gf__cta {
  display: grid;
  justify-items: start;
  gap: var(--sp-3);
  padding-bottom: var(--sp-5);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--rule);
}
.gf__cta-t { font-size: var(--fs-md); color: var(--ink-2); }
.gf__mail {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  color: var(--ink);
  border-bottom: 2px solid var(--rule-2);
  padding-bottom: 2px;
  transition: border-color var(--dur) var(--ease);
}
.gf__mail:hover { border-bottom-color: var(--ink); }
.gf__cta-d { font-size: var(--fs-sm); color: var(--ink-2); }
.gf__cta-d a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.gf__note { font-size: var(--fs-sm); color: var(--ink-2); }
.gf__note--dim { font-size: var(--fs-xs); color: var(--ink-3); }

/* ── 상단 동선 ────────────────────────────────────────
   표제와 같은 컨테이너 안에 둔다. 풀블리드면 왼쪽 끝에 붙는다. */
.gh__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  flex-wrap: wrap;
  margin: 0 0 var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--rule);
}
.gh__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: var(--fw-semibold);
  letter-spacing: -.03em;
  text-decoration: none;
}
.gh__brand img {
  width: 28px; height: 28px;
  display: block;
  object-fit: contain;
}
.gh__nav__r {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
  min-width: 0;
}
.gh__nav__r a {
  position: relative;
  min-height: 28px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: 13px;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s ease;
}
.gh__nav__r a:hover,
.gh__nav__r a:focus-visible { color: var(--ink); }
.gh__nav__r a::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
  opacity: .4;
}
.gh__nav__r a:hover::after,
.gh__nav__r a:focus-visible::after,
.gh__nav__r a[aria-current="page"]::after { transform: scaleX(1); }
.gh__nav__r a[aria-current="page"] { color: var(--ink); }
.gh__nav__r .is-lab {
  color: #1f6b32;
  letter-spacing: .02em;
}
.gh__nav__r .is-lab:hover,
.gh__nav__r .is-lab:focus-visible { color: #146628; }

.gh__cta {
  color: var(--mark) !important;
  font-weight: 500;
}
.gh__cta:hover,
.gh__cta:focus-visible { color: var(--ink) !important; }

@media (max-width: 560px) {
  .gh__nav {
    display: grid;
    gap: 10px;
  }
  .gh__nav__r {
    width: auto;
    justify-content: flex-start;
  }
  .gh__nav__r a { padding: 0 10px; }
}
