.tb-page {
  --tb-ink: #182b3a;
  --tb-muted: #66737b;
  --tb-line: #d7d9d5;
  --tb-paper: #f6f5f0;
  --tb-white: #ffffff;
  --tb-accent: #d8ad4c;
  --tb-accent-deep: #9a6b1e;
  --tb-shadow: 0 22px 60px rgba(24, 43, 58, 0.13);
  background: var(--tb-paper);
  color: var(--tb-ink);
}

.tb-page *,
.tb-page *::before,
.tb-page *::after {
  box-sizing: border-box;
}

.tb-section {
  padding: clamp(58px, 7vw, 108px) 24px clamp(72px, 8vw, 120px);
  overflow: hidden;
}

.tb-shell {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.tb-page .breadcrumb {
  margin-bottom: clamp(42px, 5vw, 68px);
}

.tb-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: clamp(42px, 6vw, 76px);
}

.tb-heading-copy {
  max-width: 760px;
}

.tb-page .eyebrow {
  margin: 0 0 18px;
  color: var(--tb-accent-deep);
}

.tb-page h1 {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--tb-ink);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
}

.tb-page h1 span {
  display: block;
  color: var(--tb-accent-deep);
  font-size: 0.63em;
  font-weight: 400;
  line-height: 1.45;
}

.tb-heading-copy > p:last-child {
  max-width: 600px;
  margin: 0;
  color: var(--tb-muted);
  font-size: 16px;
  line-height: 1.85;
}

.tb-heading-aside {
  display: grid;
  justify-items: start;
  gap: 24px;
  flex: 0 0 auto;
}

.tb-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.tb-inline-links a {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--tb-line);
  color: var(--tb-ink);
  font-size: 13px;
  text-decoration: none;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.tb-inline-links a:hover,
.tb-inline-links a:focus-visible {
  border-color: var(--tb-accent-deep);
  color: var(--tb-accent-deep);
}

.tb-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.23fr) minmax(280px, 0.77fr);
  gap: 20px;
}

.tb-side {
  display: grid;
  grid-template-rows: minmax(250px, 0.95fr) minmax(180px, 0.65fr);
  gap: 20px;
}

.tb-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #dfe3e0;
}

.tb-card-feature {
  min-height: 650px;
}

.tb-card-portrait {
  min-height: 300px;
}

.tb-card-wide {
  min-height: 250px;
}

.tb-card-button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 0;
  overflow: hidden;
  border: 0;
  cursor: zoom-in;
  background: transparent;
  text-align: left;
}

.tb-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.tb-card-feature img {
  object-position: center 57%;
}

.tb-card-portrait img {
  object-position: center 54%;
}

.tb-card-wide img,
.tb-card-fireworks img {
  object-position: center center;
}

.tb-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(24, 43, 58, 0) 40%,
    rgba(24, 43, 58, 0.76) 100%
  );
  pointer-events: none;
}

.tb-card-caption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  color: var(--tb-white);
  pointer-events: none;
}

.tb-card-caption strong,
.tb-card-caption small {
  display: block;
}

.tb-card-caption strong {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.tb-card-caption small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.6;
}

.tb-card-index {
  padding-right: 1px;
  color: var(--tb-accent);
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
}

.tb-card-expand {
  position: absolute;
  top: 21px;
  right: 22px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: var(--tb-white);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
  pointer-events: none;
}

.tb-card-button:hover img,
.tb-card-button:focus-visible img {
  transform: scale(1.045);
}

.tb-card-button:hover .tb-card-expand,
.tb-card-button:focus-visible .tb-card-expand {
  border-color: var(--tb-white);
  background: var(--tb-white);
  color: var(--tb-ink);
}

.tb-card-button:focus-visible {
  outline: 3px solid var(--tb-accent);
  outline-offset: -3px;
}

.tb-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  align-items: end;
  gap: 26px;
  padding-top: 24px;
}

.tb-statement {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 18px;
  color: var(--tb-ink);
  font-size: 14px;
}

.tb-rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--tb-accent-deep);
}

.tb-inline-links-bottom {
  max-width: 520px;
}

.tb-card-fireworks {
  min-height: 230px;
}

.tb-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  visibility: hidden;
  place-items: center;
  opacity: 0;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.tb-lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.tb-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 25, 34, 0.92);
}

.tb-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 88px minmax(0, 780px) 88px;
  align-items: center;
  gap: 20px;
  width: min(100% - 40px, 1040px);
  max-height: calc(100vh - 56px);
}

.tb-lightbox-figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  max-height: calc(100vh - 56px);
  margin: 0;
}

.tb-lightbox-figure img {
  display: block;
  width: 100%;
  max-height: min(68vh, 720px);
  object-fit: contain;
  background: #0b161e;
}

.tb-lightbox-figure figcaption {
  padding: 22px 2px 0;
  color: var(--tb-white);
}

.tb-lightbox-figure .eyebrow {
  margin-bottom: 7px;
  color: var(--tb-accent);
}

.tb-lightbox-figure h2,
.tb-lightbox-title {
  margin: 0 0 6px;
  color: var(--tb-white);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.3;
}

.tb-lightbox-figure figcaption p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.7;
}

.tb-lightbox-close {
  position: absolute;
  top: -8px;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border: 0;
  color: var(--tb-white);
  cursor: pointer;
  background: transparent;
  font-size: 12px;
}

.tb-lightbox-close strong {
  font-size: 28px;
  font-weight: 300;
  line-height: 0.8;
}

.tb-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 4px;
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  background: transparent;
  font-size: 12px;
  white-space: nowrap;
  transition: color 180ms ease;
}

.tb-lightbox-nav span:first-child {
  font-size: 20px;
  line-height: 0.8;
}

.tb-lightbox-nav:hover,
.tb-lightbox-nav:focus-visible,
.tb-lightbox-close:hover,
.tb-lightbox-close:focus-visible {
  color: var(--tb-accent);
}

@media (max-width: 820px) {
  .tb-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .tb-heading {
    display: block;
  }

  .tb-heading-aside {
    margin-top: 28px;
  }

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

  .tb-card-feature {
    min-height: min(74vw, 620px);
  }

  .tb-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(260px, 1fr);
  }

  .tb-card-wide {
    min-height: 260px;
  }

  .tb-bottom {
    grid-template-columns: 1fr;
  }

  .tb-card-fireworks {
    min-height: min(48vw, 350px);
  }

  .tb-lightbox-dialog {
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(100% - 32px, 680px);
  }

  .tb-lightbox-figure {
    max-height: calc(100vh - 142px);
  }

  .tb-lightbox-figure img {
    max-height: 61vh;
  }

  .tb-lightbox-nav {
    position: absolute;
    top: 43%;
    z-index: 2;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.46);
    background: rgba(13, 25, 34, 0.55);
    font-size: 0;
  }

  .tb-lightbox-nav span:first-child {
    font-size: 24px;
  }

  .tb-lightbox-prev {
    left: 0;
  }

  .tb-lightbox-next {
    right: 0;
  }

  .tb-lightbox-close {
    top: -45px;
  }
}

@media (max-width: 560px) {
  .tb-page h1 {
    font-size: clamp(38px, 12vw, 60px);
  }

  .tb-side {
    display: block;
  }

  .tb-card-portrait,
  .tb-card-wide {
    min-height: min(74vw, 440px);
  }

  .tb-card-wide {
    margin-top: 16px;
  }

  .tb-card-caption {
    right: 18px;
    bottom: 17px;
    left: 18px;
    gap: 12px;
  }

  .tb-card-caption strong {
    font-size: 17px;
  }

  .tb-card-expand {
    top: 16px;
    right: 16px;
  }

  .tb-card-fireworks {
    min-height: min(65vw, 310px);
  }

  .tb-lightbox-figure img {
    max-height: 56vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tb-page *,
  .tb-page *::before,
  .tb-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
