.wg {
  --wg-ink: #211e17;
  --wg-muted: #5b584f;
  --wg-paper: #e4dece;
  --wg-line: #b5ad9b;
  --wg-gutter: clamp(20px, 4vw, 76px);
  --wg-gap: clamp(14px, 1.7vw, 30px);
  color: var(--wg-ink);
  background: var(--wg-paper);
  padding: clamp(68px, 8.4vw, 152px) var(--wg-gutter) clamp(64px, 7vw, 116px);
  font-family: "Instrument Sans", Arial, sans-serif;
}

.wg *, .wg *::after, .wg *::before { box-sizing: border-box; }
.wg [hidden] { display: none !important; }
.wg-inner { max-width: 1620px; margin-inline: auto; }
.wg h2 {
  margin: 0 0 clamp(24px, 3.6vw, 56px);
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: clamp(58px, 9.45vw, 166px);
  line-height: .94;
  font-weight: 500;
  letter-spacing: -.081em;
}
.wg h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.055em;
  margin-left: .015em;
}
.wg button {
  appearance: none;
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.wg button:focus-visible, .wg-link:focus-visible {
  outline: 2px solid #743223;
  outline-offset: 3px;
}
.wg-icon { display: block; width: 21px; height: 21px; flex: none; }
.wg-bar {
  min-height: 52px;
  margin-bottom: clamp(14px, 1.4vw, 22px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--wg-line);
  border-bottom: 1px solid var(--wg-line);
}
.wg-filters, .wg-views, .wg-arrows { display: flex; align-items: center; }
.wg-filters { gap: clamp(12px, 2.1vw, 34px); }
.wg-filters button {
  position: relative;
  min-height: 48px;
  font-size: clamp(14px, 1.1vw, 17px);
  letter-spacing: -.04em;
  color: var(--wg-muted);
}
.wg-filters button::after {
  position: absolute;
  content: "";
  height: 1.5px;
  bottom: 8px;
  left: 0;
  right: 0;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .18s ease;
}
.wg-filters button:is([aria-pressed="true"], :hover) { color: var(--wg-ink); }
.wg-filters button[aria-pressed="true"]::after { transform: scaleX(1); }
.wg-views { gap: 2px; }
.wg-views button, .wg-arrows button {
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
}
.wg-views button { color: var(--wg-muted); position: relative; isolation: isolate; }
.wg-views button[aria-pressed="true"] { color: var(--wg-paper); }
.wg-views button[aria-pressed="true"]::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4px 2px;
  border-radius: 2px;
  background-color: var(--wg-ink);
}
.wg-views .wg-icon { width: 19px; height: 19px; }
.wg-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 4.4vw, 70px) var(--wg-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.wg-card { min-width: 0; padding: 0; margin: 0; }
.wg-link { display: block; color: inherit; text-decoration: none; }
.wg-image {
  position: relative;
  aspect-ratio: 1.77;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.wg-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.16,1,.3,1);
}
.wg-card--tribunpass .wg-image { background: #b6aa89; }
.wg-card--smokeguard .wg-image { background: #757970; }
.wg-card--wellmom .wg-image { background: #dde1d8; }
.wg-card--techhiring .wg-image { background: #e6e5de; }
.wg-card--wellmom .wg-image img, .wg-card--techhiring .wg-image img {
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: brightness(1.058);
}
.wg-card--wellmom .wg-image img { width: 94%; height: 94%; margin: auto; }
.wg-card--techhiring .wg-image img { width: 97%; height: 97%; margin: auto; }
.wg-caption {
  padding: clamp(14px, 1.5vw, 25px) 0 2px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.wg-caption h3 {
  color: var(--wg-ink);
  margin: 0;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: clamp(27px, 3.1vw, 54px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.068em;
}
.wg-caption p {
  margin: 5px 0 0;
  font-size: clamp(14px, 1.16vw, 18px);
  line-height: 1.4;
  letter-spacing: -.025em;
  color: var(--wg-muted);
}
.wg-open {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(32px, 3.2vw, 48px);
  aspect-ratio: 1;
  border: 1px solid var(--wg-line);
  border-radius: 50%;
  transition: background .2s, color .2s, border-color .2s;
}
.wg-open .wg-icon { width: 48%; height: 48%; }
.wg[data-view="strip"] .wg-track {
  display: flex;
  gap: var(--wg-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 5px;
  scrollbar-width: none;
  padding: 5px;
  margin: -5px;
}
.wg[data-view="strip"] .wg-track::-webkit-scrollbar { display: none; }
.wg[data-view="strip"] .wg-card {
  flex: 0 0 min(68%, 1000px);
  scroll-snap-align: start;
}
.wg[data-view="strip"] .wg-card:last-of-type { scroll-snap-align: end; }
.wg-pagination {
  margin-top: clamp(22px, 2.5vw, 40px);
  border-top: 1px solid var(--wg-line);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wg-count {
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: .025em;
  font-variant-numeric: tabular-nums;
}
.wg-arrows { gap: 6px; }
.wg-arrows button { border-color: var(--wg-line); border-radius: 50%; }
.wg-arrows button:disabled { opacity: .32; cursor: default; }
.wg-arrows button:not(:disabled):is(:hover,:focus-visible),
.wg-link:focus-visible .wg-open {
  color: var(--wg-paper);
  background: var(--wg-ink);
  border-color: var(--wg-ink);
}
.wg-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
@media (hover: hover) {
  .wg-link:hover .wg-open { color: var(--wg-paper); background: var(--wg-ink); border-color: var(--wg-ink); }
  .wg-link:hover img { transform: scale(1.025); }
}
@media (max-width: 700px) {
  .wg[data-view="strip"] .wg-card { flex-basis: 86%; }
  .wg-track { grid-template-columns: 1fr; }
  .wg-image { aspect-ratio: 1.5; }
  .wg h2 { font-size: clamp(54px, 12vw, 85px); }
  .wg-bar { gap: 8px; }
  .wg-views { gap: 0; }
  .wg-views button { width: 35px; }
}
@media (max-width: 400px) {
  .wg-filters { gap: 10px; }
  .wg-filters button { font-size: 13px; }
  .wg-views button { width: 31px; }
}
@media (max-width: 335px) {
  .wg-bar { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .wg *, .wg *::after { scroll-behavior: auto !important; transition: none !important; }
}
