.tb-phone-link,
.tb-email-link {
  color: inherit;
  text-decoration: none;
}

.tb-phone-link:hover,
.tb-email-link:hover {
  color: var(--wn-red, #db3c2c);
}

.tb-phone-icon {
  color: var(--wn-red, #db3c2c);
}

.tb-address {
  font-style: normal;
}

.tb-hours {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.tb-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--wn-line, #e9e1d7);
  padding-bottom: 0.45rem;
}

.tb-hours__day {
  font-weight: 600;
}

.tb-hours__time {
  color: var(--wn-muted, #837a72);
}

.tb-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 20px;
}

.tb-socials a {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--wn-line, #e9e1d7);
  border-radius: 50%;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.tb-socials a:hover {
  background: var(--wn-red, #db3c2c);
  border-color: var(--wn-red, #db3c2c);
  color: #fff;
}

.tb-stat {
  display: grid;
  gap: 0.35rem;
}

.tb-stat__value {
  font-family: var(--tb-font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem);
  line-height: 1;
  color: var(--wn-red, #db3c2c);
  display: inline-flex;
  align-items: baseline;
}

.tb-stat__label {
  margin: 0;
  color: var(--wn-muted, #837a72);
  font-size: 0.82rem;
}

.tb-stat .tb-prefix,
.tb-stat .tb-suffix {
  font-size: 0.62em;
}

.tb-skill {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0 0.35rem;
  font-size: 0.78rem;
}

.tb-skill b {
  color: var(--wn-red, #db3c2c);
}

.tb-skills progress {
  display: block;
}

.tb-rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  font-size: 0.85rem;
}

.tb-rating__stars {
  color: var(--tb-amber, #f6b800);
  letter-spacing: 0.12em;
  font-size: 0.95em;
}

.tb-rating__value {
  font-weight: 700;
}

.tb-rating__count {
  color: var(--wn-muted, #837a72);
}

.tb-badge {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--tb-badge-size, 140px);
  height: var(--tb-badge-size, 140px);
  vertical-align: middle;
}

.tb-badge__ring {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: tb-badge-spin 18s linear infinite;
}

.tb-badge__text {
  fill: currentColor;
  font-family: var(--tb-font-body, 'DM Sans', Arial, sans-serif);
  font-size: 8.4px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tb-badge__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: calc(var(--tb-badge-size, 140px) * 0.24);
  line-height: 1;
  color: var(--wn-red, #db3c2c);
}

@keyframes tb-badge-spin {
  to {
    transform: rotate(360deg);
  }
}

.tb-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tb-marquee__track {
  display: flex;
  width: max-content;
  animation: tb-marquee-scroll var(--tb-marquee-duration, 32s) linear infinite;
}

.tb-marquee:hover .tb-marquee__track {
  animation-play-state: paused;
}

.tb-marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-right: clamp(2rem, 5vw, 4.5rem);
}

.tb-marquee__item {
  display: grid;
  place-items: center;
  min-height: 3rem;
  color: var(--wn-muted, #837a72);
  text-decoration: none;
  transition:
    color 0.2s,
    opacity 0.2s;
}

.tb-marquee__item:hover {
  color: var(--wn-red, #db3c2c);
}

.tb-marquee__img {
  max-height: 2.75rem;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition:
    filter 0.2s,
    opacity 0.2s;
}

.tb-marquee__item:hover .tb-marquee__img {
  filter: grayscale(0);
  opacity: 1;
}

.tb-marquee__text {
  font-family: var(--tb-font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  font-weight: 600;
  white-space: nowrap;
}

@keyframes tb-marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

.tb-breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  color: var(--wn-muted, #837a72);
}

.tb-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.tb-breadcrumbs li + li::before {
  content: '/';
  color: var(--wn-line, #e9e1d7);
}

.tb-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.tb-breadcrumbs a:hover {
  color: var(--wn-red, #db3c2c);
}

.tb-breadcrumbs [aria-current='page'] {
  color: var(--wn-ink, #251814);
  font-weight: 600;
}

.tb-portfolio {
  position: relative;
}

.tb-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tb-filter-pill,
.tb-filter button {
  cursor: pointer;
}

.tb-project-grid {
  position: relative;
  transition: opacity 0.2s var(--tb-ease, ease);
}

.tb-project-grid[aria-busy='true'] {
  opacity: 0.55;
}

.tb-filter-empty {
  grid-column: 1 / -1;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--wn-muted, #837a72);
  border: 1px dashed var(--wn-line, #e9e1d7);
  border-radius: var(--tb-radius-sm, 0.75rem);
}

.tb-filter-status {
  margin: 0.9rem 0 0;
  font-size: 0.75rem;
  color: var(--wn-muted, #837a72);
}

.tb-filter-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.tb-load-more {
  cursor: pointer;
  border: 1px solid var(--wn-line, #e9e1d7);
  border-radius: 999px;
  background: transparent;
  color: var(--wn-ink, #251814);
  padding: 0.7rem 1.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.tb-load-more:hover {
  background: var(--wn-red, #db3c2c);
  border-color: var(--wn-red, #db3c2c);
  color: #fff;
}

.tb-load-more[disabled] {
  opacity: 0.5;
  cursor: wait;
}

.tb-card-skeleton {
  min-height: 300px;
  border: 1px solid var(--wn-line, #e9e1d7);
  border-radius: var(--wn-radius, 8px);
  background: #fff;
  padding: 1rem;
  display: grid;
  align-content: end;
  gap: 0.6rem;
  overflow: hidden;
  position: relative;
}

.tb-card-skeleton::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.65) 45%, transparent 70%);
  transform: translateX(-100%);
  animation: tb-skeleton 1.2s linear infinite;
}

.tb-card-skeleton span {
  display: block;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--wn-line, #e9e1d7);
}

.tb-card-skeleton span:first-child {
  height: 1.1rem;
  width: 60%;
}

.tb-card-skeleton span:last-child {
  width: 80%;
}

@keyframes tb-skeleton {
  to {
    transform: translateX(100%);
  }
}

@media (max-width: 760px) {
  .tb-badge {
    --tb-badge-size: 112px;
  }

  .tb-marquee__group {
    gap: 2rem;
    padding-right: 2rem;
  }

  .tb-load-more {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tb-badge__ring,
  .tb-marquee__track,
  .tb-card-skeleton::before {
    animation: none;
  }

  .tb-marquee__track {
    flex-wrap: wrap;
    width: auto;
  }

  .tb-marquee__group[aria-hidden='true'] {
    display: none;
  }
}
