/* ==========================================================================
   Ants Epping - interior pages
   Watch archive and field guide.
   ========================================================================== */

[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Watch hero
   -------------------------------------------------------------------------- */

.site-head .brand__text {
  color: var(--bone);
}

.mobile-menu {
  color: var(--bone);
}

.page-watch {
  background: var(--ink);
}

.watch-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--head-h) + 64px) 0 74px;
  overflow: hidden;
  background: var(--ink);
}

.watch-hero__media {
  position: absolute;
  inset: 0;
}

.watch-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 38%;
  filter: saturate(0.62) brightness(0.42);
}

.watch-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 7, 0.97) 0%, rgba(8, 10, 7, 0.84) 48%, rgba(8, 10, 7, 0.3) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 55%);
  pointer-events: none;
}

.watch-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.76fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}

.watch-hero__copy .display {
  font-size: clamp(3.4rem, 7vw, 7rem);
}

.watch-hero__lede {
  max-width: 46ch;
  margin: 26px 0 28px;
  color: rgba(241, 235, 219, 0.7);
  font-size: 1.02rem;
  line-height: 1.7;
}

.watch-hero__play {
  display: none;
  margin: 0 0 26px;
}

.watch-hero__stats {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  margin: 0 0 30px;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.watch-hero__stats dt {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.watch-hero__stats dd {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1;
}

.watch-latest {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bone);
  text-align: left;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.watch-latest__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 3px rgba(168, 70, 43, 0.18);
}

.watch-latest__label {
  color: var(--amber);
}

.watch-latest__play {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(217, 160, 74, 0.55);
  border-radius: 50%;
  color: var(--amber);
  flex: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.watch-latest__play svg {
  width: 7px;
  height: 8px;
  margin-left: 1px;
}

.watch-latest:hover .watch-latest__title {
  color: var(--amber);
}

.watch-latest:hover .watch-latest__play {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.watch-latest__title {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-transform: none;
}

.watch-latest__time {
  color: var(--sage);
}

.watch-feature {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bone);
  text-align: left;
  cursor: pointer;
}

.watch-feature__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--ink-2);
}

.watch-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.86);
  transition: transform 1.1s var(--ease), filter 0.5s;
}

.watch-feature:hover .watch-feature__media img {
  transform: scale(1.04);
  filter: saturate(1) brightness(1);
}

.watch-feature__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.watch-feature__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease), background 0.3s;
}

.watch-feature:hover .watch-feature__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--bone);
}

.watch-feature__play svg {
  width: 24px;
  height: 24px;
}

.watch-feature__body {
  display: block;
  padding-top: 18px;
}

.watch-feature__kicker {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

.watch-feature__title {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.watch-feature__meta {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

/* --------------------------------------------------------------------------
   Archive
   -------------------------------------------------------------------------- */

.archive {
  background: var(--ink-2);
  border-top: 1px solid var(--line-dark);
}

.archive__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: 38px;
}

.archive__note {
  max-width: 44ch;
  margin: 0;
  color: rgba(241, 235, 219, 0.6);
  font-size: 0.95rem;
  line-height: 1.7;
}

.archive__controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.archive__search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(241, 235, 219, 0.03);
  transition: border-color 0.3s, background 0.3s;
}

.archive__search:focus-within {
  border-color: var(--amber);
  background: rgba(241, 235, 219, 0.05);
}

.archive__search svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--sage);
}

.archive__search input {
  width: 100%;
  border: 0;
  outline: none;
  background: none;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.95rem;
}

.archive__search input::placeholder {
  color: rgba(241, 235, 219, 0.38);
}

.archive__search input::-webkit-search-cancel-button {
  filter: invert(1);
  opacity: 0.5;
}

.archive__sort {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.archive__sort select {
  appearance: none;
  min-height: 50px;
  padding: 0 36px 0 16px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%2394a18b' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  color: var(--bone);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.archive__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 26px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: none;
  color: rgba(241, 235, 219, 0.66);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.chip span {
  color: var(--sage);
  font-size: 8px;
}

.chip:hover {
  border-color: var(--amber);
  color: var(--bone);
}

.chip.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.chip.is-active span {
  color: rgba(10, 13, 9, 0.6);
}

.archive__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line-dark);
  margin-bottom: 26px;
}

.archive__count,
.archive__hint {
  margin: 0;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

.archive__hint {
  color: rgba(241, 235, 219, 0.34);
}

.vgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.vcard {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bone);
  text-align: left;
  cursor: pointer;
}

.vcard__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(241, 235, 219, 0.08);
  background: var(--ink-2);
}

.vcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.86);
  transition: transform 0.8s var(--ease), filter 0.4s;
}

.vcard:hover .vcard__media img,
.vcard:focus-visible .vcard__media img {
  transform: scale(1.05);
  filter: saturate(1) brightness(1);
}

.vcard__duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 6px;
  background: rgba(8, 10, 7, 0.82);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.vcard__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.vcard__play svg {
  width: 18px;
  height: 18px;
}

.vcard:hover .vcard__play,
.vcard:focus-visible .vcard__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.vcard__body {
  display: block;
  padding-top: 12px;
}

.vcard__series {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.vcard__title {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.vcard__views {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}

.archive__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.archive__more {
  border-color: var(--line-dark);
  color: var(--bone);
}

.archive__more:hover {
  background: var(--bone);
  border-color: var(--bone);
  color: var(--ink);
}

.archive__empty {
  padding: 70px 0;
  text-align: center;
}

.archive__empty p {
  max-width: 34ch;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.35;
  color: var(--sage);
}

.archive__empty .btn {
  margin-top: 26px;
}

/* --------------------------------------------------------------------------
   Player
   -------------------------------------------------------------------------- */

.player {
  width: min(1080px, calc(100% - 40px));
  max-width: 1080px;
  padding: 0;
  border: 1px solid var(--line-dark);
  background: var(--ink);
  color: var(--bone);
}

.player::backdrop {
  background: rgba(4, 6, 3, 0.9);
  backdrop-filter: blur(8px);
}

.player__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-dark);
}

.player__kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

.player__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: none;
  color: var(--bone);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.player__close:hover {
  background: var(--bone);
  color: var(--ink);
}

.player__frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.player__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.player__meta {
  padding: 18px 20px 22px;
}

.player__meta h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.15;
}

.player__meta p {
  margin: 7px 0 10px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

.player__meta a {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  border-bottom: 1px solid rgba(217, 160, 74, 0.4);
  padding-bottom: 2px;
}

/* --------------------------------------------------------------------------
   Field guide hero
   -------------------------------------------------------------------------- */

.page-guide {
  background: var(--paper);
  color: var(--ink);
}

.guide-hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--head-h) + 64px) 0 66px;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
}

.guide-hero__media {
  position: absolute;
  inset: 0;
}

.guide-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.8) brightness(0.54);
}

.guide-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 7, 0.95) 0%, rgba(8, 10, 7, 0.68) 52%, rgba(8, 10, 7, 0.12) 100%),
    linear-gradient(0deg, rgba(8, 10, 7, 0.86) 0%, transparent 60%);
  pointer-events: none;
}

.guide-hero__inner {
  position: relative;
  z-index: 1;
}

.guide-hero .display {
  font-size: clamp(3.6rem, 8vw, 7.6rem);
}

.guide-hero__lede {
  max-width: 52ch;
  margin: 26px 0 0;
  color: rgba(241, 235, 219, 0.72);
  font-size: 1.02rem;
  line-height: 1.7;
}

.guide-hero__stats {
  display: flex;
  gap: clamp(22px, 4vw, 56px);
  margin: 34px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.guide-hero__stats dt {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.guide-hero__stats dd {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Field guide index
   -------------------------------------------------------------------------- */

.guide {
  background: var(--paper);
  color: var(--ink);
}

.guide__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  margin-bottom: 34px;
}

.guide__intro .label {
  color: var(--rust);
}

.guide__intro .display em {
  color: var(--clay);
}

.guide__note {
  max-width: 44ch;
  margin: 0;
  color: rgba(10, 13, 9, 0.66);
  font-size: 0.95rem;
  line-height: 1.7;
}

.guide__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 32px;
}

.guide__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gchip {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(10, 13, 9, 0.24);
  border-radius: 999px;
  background: none;
  color: rgba(10, 13, 9, 0.66);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}

.gchip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.gchip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}

.guide__count {
  margin: 0;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 13, 9, 0.5);
  white-space: nowrap;
}

.guide__meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.guide__compare {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid rgba(168, 70, 43, 0.55);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}

.guide__compare:hover {
  color: var(--rust);
  border-color: var(--rust);
}

#compare {
  scroll-margin-top: 110px;
}

.ggrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 42px);
}

.gcard {
  border-top: 1px solid var(--line-light);
  padding-top: 18px;
}

.gcard[hidden] {
  display: none;
}

.gcard__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.gcard__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bone-2);
}

.gcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.98);
  transition: transform 1s var(--ease), filter 0.4s;
}

.gcard:hover .gcard__media img {
  transform: scale(1.04);
  filter: saturate(1);
}

.gcard__no {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 7px;
  background: rgba(10, 13, 9, 0.72);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.gcard__size {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gcard__body {
  display: block;
  padding-top: 16px;
}

.gcard__common {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.gcard__latin {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(10, 13, 9, 0.6);
}

.gcard__traits {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(10, 13, 9, 0.5);
}

.gcard__more {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(168, 70, 43, 0.35);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
}

/* --------------------------------------------------------------------------
   Profile dialog
   -------------------------------------------------------------------------- */

.profile {
  width: min(980px, calc(100% - 40px));
  max-width: 980px;
  max-height: 90vh;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}

.profile::backdrop {
  background: rgba(8, 10, 7, 0.86);
  backdrop-filter: blur(6px);
}

.profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  min-height: 100%;
}

.profile__media {
  position: relative;
  min-height: 100%;
  background: var(--bone-2);
}

.profile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile__body {
  position: relative;
  padding: clamp(26px, 4vw, 46px);
}

.profile__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(10, 13, 9, 0.22);
  border-radius: 50%;
  background: rgba(236, 228, 209, 0.9);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.profile__close:hover {
  background: var(--ink);
  color: var(--bone);
}

.profile__kicker {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
}

.profile__name {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.profile__latin {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(10, 13, 9, 0.6);
}

.profile__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.profile__facts dt {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 13, 9, 0.5);
}

.profile__facts dd {
  margin: 3px 0 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.2;
}

.profile__text p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(10, 13, 9, 0.76);
}

.profile__note {
  margin: 4px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--rust);
  background: rgba(168, 70, 43, 0.07);
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(10, 13, 9, 0.72);
}

.profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.profile__actions .btn {
  border-color: rgba(10, 13, 9, 0.32);
  color: var(--ink);
}

.profile__actions .btn--solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}

/* --------------------------------------------------------------------------
   Comparison table and care notes
   -------------------------------------------------------------------------- */

.gtable-wrap {
  margin-top: clamp(64px, 9vw, 112px);
}

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

.gtable__head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.gtable__head p {
  max-width: 36ch;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(10, 13, 9, 0.55);
}

.gtable__scroll {
  overflow-x: auto;
  border-top: 1px solid var(--ink);
}

.gtable {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.gtable th {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(10, 13, 9, 0.5);
  white-space: nowrap;
}

.gtable td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.9rem;
  vertical-align: top;
}

.gtable td:first-child {
  font-family: var(--serif);
  font-size: 1.02rem;
  white-space: nowrap;
}

.gtable__latin {
  display: block;
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(10, 13, 9, 0.5);
}

.gtable tbody tr:hover td {
  background: rgba(10, 13, 9, 0.03);
}

.gtable__note {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(10, 13, 9, 0.45);
}

.care {
  margin-top: clamp(64px, 9vw, 112px);
  padding-top: 36px;
  border-top: 1px solid var(--line-light);
}

.care__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
  margin-top: 30px;
}

.care__item {
  border-top: 1px solid var(--ink);
  padding-top: 15px;
}

.care__no {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--rust);
}

.care__item h3 {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.1;
}

.care__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(10, 13, 9, 0.68);
}

.care__cta {
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   Guide CTA
   -------------------------------------------------------------------------- */

.guide-cta {
  padding: clamp(70px, 9vw, 118px) 0;
  background: var(--moss);
  color: var(--bone);
}

.guide-cta .display {
  font-size: clamp(2.8rem, 5.6vw, 5rem);
}

.guide-cta .display em {
  color: var(--amber);
}

.guide-cta__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-top: 28px;
}

.guide-cta__row p {
  max-width: 46ch;
  margin: 0;
  color: rgba(241, 235, 219, 0.66);
  font-size: 0.98rem;
  line-height: 1.7;
}

.guide-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.guide-cta .btn--outline {
  border-color: rgba(241, 235, 219, 0.4);
  color: var(--bone);
}

.guide-cta .btn--outline:hover {
  background: var(--bone);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  .vgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ggrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .care__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .watch-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
    gap: 40px;
  }

  .archive__head,
  .guide__intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .archive__note,
  .guide__note {
    max-width: 60ch;
  }
}

@media (max-width: 820px) {
  .watch-hero {
    min-height: auto;
    padding: calc(64px + 38px) 0 56px;
  }

  .watch-hero__inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .watch-hero__copy .display {
    font-size: clamp(3rem, 13vw, 4.8rem);
  }

  .watch-hero__play {
    display: inline-flex;
  }

  .watch-hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 22px;
  }

  .watch-feature__title {
    font-size: 1.8rem;
  }

  .watch-feature__play {
    width: 54px;
    height: 54px;
  }

  .archive__controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .archive__sort {
    justify-content: space-between;
  }

  .archive__sort select {
    flex: 1;
  }

  .archive__chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .archive__chips::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: none;
    min-height: 42px;
  }

  .vgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .vcard__title {
    font-size: 1rem;
  }

  .vcard__series,
  .vcard__views {
    font-size: 7px;
  }

  .archive__bar {
    margin-bottom: 20px;
  }

  .archive__hint {
    display: none;
  }

  .player {
    width: calc(100% - 20px);
  }

  .player__meta h3 {
    font-size: 1.25rem;
  }

  .guide-hero {
    min-height: auto;
    padding: calc(64px + 38px) 0 52px;
  }

  .guide-hero .display {
    font-size: clamp(3.1rem, 13vw, 4.9rem);
  }

  .guide-hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 22px;
  }

  .guide__controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .guide__chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .guide__chips::-webkit-scrollbar {
    display: none;
  }

  .gchip {
    flex: none;
    min-height: 42px;
  }

  .ggrid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .gcard__open {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }

  .gcard__media {
    aspect-ratio: 4 / 5;
  }

  .gcard__body {
    padding-top: 0;
  }

  .gcard__common {
    font-size: 1.4rem;
  }

  .gcard__traits {
    line-height: 1.5;
  }

  .profile {
    width: calc(100% - 20px);
    max-height: 92vh;
  }

  .profile__grid {
    grid-template-columns: 1fr;
  }

  .profile__media {
    aspect-ratio: 16 / 10;
  }

  .profile__body {
    padding: 24px 20px 28px;
  }

  .profile__close {
    top: 10px;
    right: 10px;
  }

  .gtable__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .gtable__scroll {
    overflow: visible;
    border-top: 0;
  }

  .gtable {
    display: block;
    min-width: 0;
  }

  .gtable thead {
    display: none;
  }

  .gtable tbody {
    display: block;
  }

  .gtable tr {
    display: block;
    margin-bottom: 12px;
    padding: 16px 16px 12px;
    border: 1px solid var(--line-light);
    background: rgba(255, 255, 255, 0.18);
  }

  .gtable td {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 6px 0;
    border: 0;
    font-size: 0.9rem;
    text-align: right;
  }

  .gtable td::before {
    content: attr(data-label);
    flex: none;
    padding-top: 2px;
    font-family: var(--mono);
    font-size: 7.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(10, 13, 9, 0.45);
    text-align: left;
  }

  .gtable td:first-child {
    display: block;
    margin-bottom: 6px;
    padding: 0 0 8px;
    border-bottom: 1px solid var(--line-light);
    font-size: 1.15rem;
    text-align: left;
    white-space: normal;
  }

  .gtable td:first-child::before {
    display: none;
  }

  .gtable tbody tr:hover td {
    background: none;
  }

  .gtable__note {
    display: none;
  }

  .care__grid {
    grid-template-columns: 1fr;
  }

  .guide-cta__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

@media (max-width: 520px) {
  .watch-hero__lede,
  .guide-hero__lede {
    font-size: 0.96rem;
  }

  .watch-latest__title {
    width: 100%;
    padding-left: 16px;
  }

  .watch-latest__time {
    display: none;
  }

  .vgrid {
    gap: 14px;
  }

  .vcard__title {
    font-size: 0.95rem;
  }

  .vcard__play {
    width: 38px;
    height: 38px;
  }

  .archive__count {
    font-size: 8px;
  }

  .profile__facts {
    gap: 12px 16px;
  }

  .profile__name {
    font-size: 2rem;
  }

  .gcard__common {
    font-size: 1.3rem;
  }

  .gcard__latin {
    font-size: 0.88rem;
  }

  .gcard__more {
    margin-top: 10px;
  }
}

/* Mobile polish for the archive and field guide */
@media (max-width: 820px) {
  .archive__chips {
    -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 90%, transparent 100%);
  }

  .archive__empty p {
    font-size: 1.4rem;
  }

  .guide__controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .guide__meta {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 380px) {
  .guide__chips {
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
  }
}


/* UI polish: give the archive hero more depth without losing text contrast */
.watch-hero__media img { filter: saturate(0.7) brightness(0.52); }
.watch-hero::after {
  background:
    linear-gradient(90deg, rgba(8, 10, 7, 0.96) 0%, rgba(8, 10, 7, 0.8) 48%, rgba(8, 10, 7, 0.18) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 58%);
}


/* ==========================================================================
   Guide table and card hover refinements
   ========================================================================== */
.gtable th {
  color: rgba(10, 13, 9, 0.64);
  background: var(--paper);
}
.gtable tbody tr:nth-child(even) td { background: rgba(10, 13, 9, 0.018); }
.gtable tbody tr { transition: background 0.25s var(--ease); }
.gtable tbody tr:hover td { background: rgba(217, 160, 74, 0.08); }
.gtable tbody tr:hover td:first-child { box-shadow: inset 2px 0 0 var(--rust); }
.gtable td:last-child { white-space: nowrap; }
.care-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.care-badge::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.care-badge--advanced { color: var(--rust); border-color: rgba(180, 70, 42, 0.35); background: rgba(180, 70, 42, 0.06); }
.care-badge--intermediate { color: #8a5a1f; border-color: rgba(138, 90, 31, 0.35); background: rgba(217, 160, 74, 0.12); }
.care-badge--beginner { color: #4f6b4a; border-color: rgba(79, 107, 74, 0.35); background: rgba(79, 107, 74, 0.08); }

.gcard__common { transition: color 0.3s var(--ease); }
.gcard:hover .gcard__common,
.gcard__open:focus-visible .gcard__common { color: var(--rust); }
.gcard__more { transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
.gcard:hover .gcard__more,
.gcard__open:focus-visible .gcard__more { color: var(--rust); transform: translateX(3px); }

.vcard__title { transition: color 0.3s var(--ease); }
.vcard:hover .vcard__title,
.vcard:focus-visible .vcard__title { color: var(--amber); }
.vcard__media { transition: border-color 0.3s var(--ease); }
.vcard:hover .vcard__media,
.vcard:focus-visible .vcard__media { border-color: rgba(217, 160, 74, 0.45); }

/* Field guide hero: show more of the ant while keeping the copy readable */
.guide-hero__media img {
  filter: saturate(0.92) brightness(0.82);
}
.guide-hero::after {
  background:
    linear-gradient(90deg, rgba(8, 10, 7, 0.94) 0%, rgba(8, 10, 7, 0.62) 48%, rgba(8, 10, 7, 0.04) 100%),
    linear-gradient(0deg, rgba(8, 10, 7, 0.9) 0%, transparent 58%);
}
@media (max-width: 820px) {
  .guide-hero__media img {
    object-position: 62% 50%;
    filter: saturate(0.9) brightness(0.72);
  }
  .guide-hero::after {
    background:
      linear-gradient(180deg, rgba(8, 10, 7, 0.5) 0%, rgba(8, 10, 7, 0.3) 34%, rgba(8, 10, 7, 0.92) 100%);
  }
}
