.twl-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(17, 17, 17, 0.84);
  border-bottom: var(--twl-border-subtle);
}

body.twl-nav-float .twl-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: rgba(8, 8, 8, 0.22);
  border-bottom: 1px solid rgba(255, 253, 248, 0.16);
  z-index: 80;
}

body.admin-bar.twl-nav-float .twl-header {
  top: 32px;
}

.twl-branding__link {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
}

.twl-branding {
  justify-self: start;
}

.twl-branding__title {
  font-family: var(--twl-font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.twl-branding__logo,
.twl-footer__logo {
  display: block;
  width: auto;
  max-width: min(18rem, 48vw);
  max-height: 4.15rem;
  object-fit: contain;
}

.twl-footer__logo {
  max-width: min(9rem, 26vw);
  max-height: 2.5rem;
}

.twl-branding__tagline,
.twl-eyebrow {
  color: var(--twl-color-muted);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.twl-nav-toggle,
.twl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border: 0;
  border-radius: var(--twl-radius-pill);
  background: var(--twl-color-amber);
  color: var(--twl-color-ink);
  font-weight: 700;
  text-decoration: none;
}

.twl-nav-toggle {
  display: none;
  gap: 0.3rem;
  min-height: 2.5rem;
  padding: 0.35rem 0;
  background: transparent;
  color: var(--twl-color-paper);
  flex-direction: row;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.twl-nav-toggle__label {
  font-size: 0.82rem;
}

.twl-nav-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  gap: 0.28rem;
}

.twl-nav-toggle__line {
  display: block;
  width: 1.35rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.twl-nav__list,
.twl-footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: var(--twl-space-sm);
  padding: 0;
  margin: 0;
  list-style: none;
}

.twl-nav__list a,
.twl-footer__menu a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.35rem 0.1rem;
  color: var(--twl-color-paper);
  text-decoration: none;
  font-weight: 600;
  transition: color 220ms ease, background-color 220ms ease;
}

.twl-nav__list > .current-menu-item > a,
.twl-nav__list > .current_page_item > a,
.twl-nav__list > .current-menu-ancestor > a {
  color: var(--twl-color-gold);
}

.twl-nav__list > .menu-item > a:hover,
.twl-nav__list > .menu-item > a:focus-visible {
  color: var(--twl-color-gold);
}

.twl-nav__list > .menu-item > a {
  position: relative;
  border-radius: 999px;
  padding-inline: 0.8rem;
}

.twl-nav__list > .menu-item:hover > a,
.twl-nav__list > .menu-item:focus-within > a {
  background: rgba(255, 253, 248, 0.08);
}

.twl-nav__list > .menu-item {
  position: relative;
}

.twl-menu-cart__link {
  gap: 0.5rem;
}

.twl-menu-cart__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  min-height: 1.35rem;
  padding: 0 0.36rem;
  border-radius: 999px;
  background: rgba(201, 172, 140, 0.96);
  color: #111;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.twl-nav__list .menu-item-has-children {
  display: flex;
  align-items: center;
}

.twl-submenu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--twl-color-paper);
  cursor: pointer;
}

.twl-nav__list .sub-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 13rem;
  padding: 0.75rem;
  margin: 0;
  list-style: none;
  border: var(--twl-border-subtle);
  border-radius: var(--twl-radius-md);
  background: rgba(17, 17, 17, 0.96);
  box-shadow: var(--twl-shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.4rem);
  transition: opacity 260ms ease, transform 260ms ease, visibility 260ms ease;
}

.twl-nav__list .menu-item:hover > .sub-menu,
.twl-nav__list .menu-item:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.twl-hero {
  position: relative;
  padding: 0;
  overflow: clip;
}

.twl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58)),
    var(--twl-hero-image, none);
  background-size: cover;
  background-position: var(--twl-hero-image-position, center);
  pointer-events: none;
  opacity: 0.55;
}

.twl-hero__title,
.twl-page-title {
  margin: 0 0 var(--twl-space-md);
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: 0.95;
}

.twl-hero__copy {
  max-width: 36rem;
  color: var(--twl-color-muted);
  font-size: clamp(1.0rem, 4vw, 1.2em);
}

.twl-hero__grid {
  position: relative;
  overflow: hidden;
  align-items: stretch;
  width: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.twl-hero--fullscreen {
  min-height: calc(100vh - 5.5rem);
  display: grid;
  align-items: center;
}

.twl-hero--fullscreen .twl-hero__grid {
  min-height: min(78vh, 56rem);
}

.twl-hero__grid::before {
  display: none;
}

.twl-hero__content {
  position: relative;
  z-index: 5;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: var(--twl-space-md);
  min-height: var(--twl-hero-height, 400px);
  width: 100%;
  margin: 0 auto;
  padding: 6.5rem var(--twl-shell-edge) 7.5rem;
  text-align: center;
}

.home .twl-hero {
  min-height: 100svh;
  padding: 0;
  background: #000;
}

.home .twl-hero::before {
  display: none;
}

.home .twl-hero__grid {
  grid-template-columns: 1fr;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home .twl-hero__grid::before {
  display: none;
}

.home .twl-hero__content {
  display: none;
  margin-top: -50px !important;
}

.home .twl-hero__title {
  max-width: 12ch;
  margin-inline: auto;
  font-size: clamp(4rem, 8vw, 8rem);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.42);
}

.home .twl-hero__copy {
  max-width: 44rem;
}

.twl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--twl-space-sm);
}

.home .twl-actions {
  justify-content: center;
}

.twl-button--ghost {
  background: transparent;
  color: var(--twl-color-paper);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 248, 0.18);
}

.home .twl-button {
  min-width: 13rem;
  background: rgba(0, 0, 0, 0.88);
  color: var(--twl-color-paper);
}

.home .twl-button:hover,
.home .twl-button:focus-visible {
  background: var(--twl-hover-color, var(--twl-color-gold));
  color: #fff;
}

.twl-hero__highlights {
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
  width: min(calc(100% - (var(--twl-shell-edge) * 2)), 52rem);
  z-index: 6;
}

.twl-hero__highlights li {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.22);
  color: var(--twl-color-paper);
  font-size: 0.9rem;
}

.twl-hero__media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  width: 100%;
}

.home .twl-hero__media {
  width: 100%;
  min-height: 100svh;
  left: 0;
  transform: none;
}

.home .twl-hero__media[data-twl-carousel] {
  background: #000;
}

.twl-hero--fade-black .twl-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1650ms ease;
  z-index: 1;
}

.twl-hero--fade-black.is-transitioning .twl-hero__media::after {
  opacity: 0.82;
}

.twl-hero__media-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.twl-hero__stars {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.twl-hero__glass-edge {
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0), rgba(255, 255, 255, 0.34) 18%, rgba(255, 255, 255, 0.52) 50%, rgba(255, 255, 255, 0.34) 82%, rgba(255, 253, 248, 0));
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.2),
    0 1px 14px rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 4;
}

.twl-hero__glass-edge::before,
.twl-hero__glass-edge::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  pointer-events: none;
}

.twl-hero__glass-edge::before {
  height: 6px;
  transform: translateY(-2px);
  background: inherit;
  opacity: 0.82;
  backdrop-filter: saturate(155%) brightness(1.24) blur(1.35px);
  -webkit-backdrop-filter: saturate(155%) brightness(1.24) blur(1.35px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

.twl-hero__glass-edge::after {
  height: 10px;
  transform: translateY(-6px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.04) 52%, rgba(255, 255, 255, 0.12));
  opacity: 0.34;
  filter: blur(2px);
}

.twl-hero__star {
  position: absolute;
  display: block;
  color: rgba(240, 200, 75, 0.74);
  font-size: var(--twl-star-size, 18px);
  line-height: 1;
  opacity: 0.35;
  will-change: transform, opacity;
  text-shadow: 0 0 14px rgba(240, 200, 75, 0.28);
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.twl-hero__star--outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 227, 159, 0.9);
  text-shadow: 0 0 12px rgba(255, 221, 132, 0.22);
}

.twl-hero__star--follow {
  mix-blend-mode: screen;
}

.twl-hero__curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background:
    linear-gradient(90deg, rgba(14, 4, 4, 0.98), rgba(92, 14, 18, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.07) 10px, transparent 10px, transparent 20px);
  box-shadow: inset 0 0 2.5rem rgba(0, 0, 0, 0.55);
  animation: twl-curtain-open 1.9s cubic-bezier(0.16, 0.9, 0.18, 1) forwards;
  z-index: 5;
}

.twl-hero__curtain--left {
  left: 0;
  transform-origin: left center;
}

.twl-hero__curtain--right {
  right: 0;
  transform-origin: right center;
}

.twl-hero-card,
.twl-legacy-slot {
  padding: var(--twl-space-lg);
  border: var(--twl-border-subtle);
  border-radius: var(--twl-radius-md);
  background: rgba(255, 253, 248, 0.06);
  box-shadow: var(--twl-shadow-card);
}

/* Hero slide cards: non-home variants keep image+overlay on the card itself.
   Homepage gets a dedicated fixed gradient and a transform-animated image layer. */
.twl-hero-card {
  display: none;
  position: relative;
  z-index: 2;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(12, 12, 12, 0.2), rgba(12, 12, 12, 0.72)),
    var(--twl-slide-image, linear-gradient(135deg, rgba(255, 253, 248, 0.06), rgba(255, 253, 248, 0.06)));
  background-size: cover, cover;
  background-position: center center, var(--twl-slide-crop, center center);
  background-repeat: no-repeat, no-repeat;
}

.twl-hero .twl-hero-card {
  min-height: var(--twl-hero-height, 400px);
}

.twl-hero--default .twl-hero__content,
.twl-hero--default .twl-hero-card {
  min-height: var(--twl-hero-height, 400px);
}

.twl-hero--default::before,
.twl-hero--shop::before,
.twl-hero--transactional::before {
  display: none;
}

.twl-hero--shop .twl-hero__content,
.twl-hero--shop .twl-hero-card {
  min-height: var(--twl-hero-height, 200px);
}

.twl-hero--transactional .twl-hero__content,
.twl-hero--transactional .twl-hero-card {
  min-height: var(--twl-hero-height, 300px);
}

.twl-hero--default .twl-hero__content,
.twl-hero--shop .twl-hero__content,
.twl-hero--transactional .twl-hero__content {
  padding-top: 6.5rem;
}

.twl-hero--default .twl-hero__copy,
.twl-hero--shop .twl-hero__copy,
.twl-hero--transactional .twl-hero__copy {
  max-width: 48rem;
  color: rgba(255, 253, 248, 0.92);
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.72);
}

.twl-hero--default .twl-hero__title,
.twl-hero--shop .twl-hero__title,
.twl-hero--transactional .twl-hero__title {
  color: var(--twl-color-paper);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.78);
}

.twl-hero--default .twl-hero-card,
.twl-hero--shop .twl-hero-card,
.twl-hero--transactional .twl-hero-card {
  background: none;
}

.twl-hero--default .twl-hero-card::before,
.twl-hero--shop .twl-hero-card::before,
.twl-hero--transactional .twl-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: linear-gradient(180deg, rgba(12, 12, 12, 0.2), rgba(12, 12, 12, 0.72));
}

.twl-hero--default .twl-hero-card::after,
.twl-hero--shop .twl-hero-card::after,
.twl-hero--transactional .twl-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: var(--twl-slide-image, linear-gradient(135deg, rgba(255, 253, 248, 0.06), rgba(255, 253, 248, 0.06)));
  background-size: cover;
  background-position: var(--twl-slide-crop, center center);
  background-repeat: no-repeat;
  transform: scale(1.08);
  transform-origin: center center;
  will-change: transform;
}

.twl-hero--default .twl-hero-card > *,
.twl-hero--shop .twl-hero-card > *,
.twl-hero--transactional .twl-hero-card > * {
  position: relative;
  z-index: 3;
}

.twl-hero--default .twl-hero-card.is-active,
.twl-hero--shop .twl-hero-card.is-active,
.twl-hero--transactional .twl-hero-card.is-active {
  display: block;
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
  animation: twl-hero-banner-in 900ms ease both;
}

.twl-hero--default .twl-hero-card.is-active::after,
.twl-hero--shop .twl-hero-card.is-active::after,
.twl-hero--transactional .twl-hero-card.is-active::after {
  animation: twl-ken-burns-transform 8.8s ease both;
}

/* Homepage hero keeps a fixed frame. Gradient stays fixed on ::before.
   The image moves to ::after so Ken Burns uses transform scale instead of background-size. */
.home .twl-hero-card {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transition: opacity 1400ms ease;
  z-index: 1;
  background: none;
  will-change: opacity;
  animation: none;
  overflow: hidden;
}

.home .twl-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image: linear-gradient(
    to bottom,
    rgba(12, 12, 12, 0.00) 0%,
    rgba(12, 12, 12, 0.04) 45%,
    rgba(12, 12, 12, 0.26) 100%
  );
}

.home .twl-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: var(--twl-slide-image, linear-gradient(135deg, rgba(255, 253, 248, 0.06), rgba(255, 253, 248, 0.06)));
  background-size: cover;
  background-position: var(--twl-slide-crop, center center);
  background-repeat: no-repeat;
  transform-origin: center center;
  will-change: transform;
}

.home .twl-hero-card > * {
  position: relative;
  z-index: 5;
}

.twl-hero-card.is-active {
  display: grid;
  animation: twl-fade-up 0.55s ease;
}

.home .twl-hero-card.is-active,
.home .twl-hero-card.is-leaving {
  display: block;
  animation: none;
}

.home .twl-hero-card.is-active::after,
.home .twl-hero-card.is-leaving::after {
  animation: twl-ken-burns-transform 8.8s ease both;
}

.home .twl-hero-card.is-active {
  opacity: 1;
}

.home .twl-hero-card.is-leaving {
  opacity: 0;
}

.twl-hero-card h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.twl-hero-card p {
  color: var(--twl-color-muted);
}

.twl-hero-card .twl-text-link {
  margin-top: auto;
}

.home .twl-hero-card__content {
  position: absolute;
  inset: 50% 0 auto 0;
  z-index: 5;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1rem;
  max-width: min(100%, 61rem);
  margin: 0 auto;
  padding: 0 1.25rem;
  transform: translateY(-72%);
}

.home .twl-hero-card__content::after,
.home .twl-hero__global-actions::after {
  content: none;
}

.home .twl-hero-card .twl-eyebrow,
.home .twl-hero-card h2,
.home .twl-hero-card p,
.home .twl-hero-card .twl-actions {
  opacity: 0;
  transition: opacity 760ms ease;
}

.home .twl-hero-card.is-text-visible .twl-eyebrow,
.home .twl-hero-card.is-text-visible h2,
.home .twl-hero-card.is-text-visible p,
.home .twl-hero-card.is-text-visible .twl-actions {
  opacity: 1;
}

.home .twl-hero-card .twl-eyebrow {
  color: rgba(240, 200, 75, 0.68);
  font-size: 0.92rem;
}

.home .twl-hero-card h2 {
  max-width: 10ch;
  margin-inline: auto;
  font-size: clamp(2.95rem, 6vw, 5.35rem);
  line-height: 0.93;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 0.7);
}

.home .twl-hero-card p {
  max-width: 46rem;
  margin: 0;
  color: rgba(255, 253, 248, 0.95);
  font-size: clamp(1.15rem, 2.05vw, 1.72rem);
  line-height: 1.16;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.75);
}

.home .twl-hero-card .twl-actions {
  flex-wrap: nowrap;
  gap: 1rem;
}

.home .twl-hero__global-actions {
  position: absolute;
  inset: 50% 0 auto 0;
  z-index: 6;
  display: grid;
  justify-items: center;
  padding: 0 1.25rem;
  transform: translateY(9.75rem);
}

.home .twl-hero__global-actions .twl-actions {
  flex-wrap: nowrap;
  gap: 1rem;
}

.twl-home-intro {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: #000;
  pointer-events: none;
  overflow: hidden;
}

.twl-home-intro__spinner {
  --twl-spinner-size: 15rem;
  position: relative;
  z-index: 3;
  width: var(--twl-spinner-size);
  height: var(--twl-spinner-size);
  box-shadow:
    0 0 0 1px rgb(var(--twl-accent-rgb) / 0.2),
    0 0 32px rgb(var(--twl-accent-rgb) / 0.3);
}

.twl-home-intro__burst {
  position: fixed;
  inset: -60vmax;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 0 24%, rgba(0, 0, 0, 0.16) 38%, transparent 64%),
    conic-gradient(
      from 180deg,
      rgba(229, 57, 53, 0.00) 0deg,
      rgba(229, 57, 53, 0.34) 22deg,
      rgba(251, 140, 0, 0.14) 48deg,
      rgba(251, 140, 0, 0.00) 70deg,
      rgba(253, 216, 53, 0.00) 72deg,
      rgba(253, 216, 53, 0.34) 94deg,
      rgba(67, 160, 71, 0.14) 118deg,
      rgba(67, 160, 71, 0.00) 140deg,
      rgba(67, 160, 71, 0.00) 142deg,
      rgba(67, 160, 71, 0.34) 164deg,
      rgba(30, 136, 229, 0.14) 188deg,
      rgba(30, 136, 229, 0.00) 210deg,
      rgba(30, 136, 229, 0.00) 212deg,
      rgba(142, 36, 170, 0.34) 234deg,
      rgba(142, 36, 170, 0.14) 258deg,
      rgba(142, 36, 170, 0.00) 280deg,
      rgba(229, 57, 53, 0.00) 282deg,
      rgba(229, 57, 53, 0.34) 304deg,
      rgba(251, 140, 0, 0.14) 328deg,
      rgba(229, 57, 53, 0.00) 360deg
    );
  clip-path: circle(0 at 50% 50%);
  filter: saturate(1.15) blur(22px);
  mix-blend-mode: screen;
}

.twl-hero.is-home-intro-revealing .twl-home-intro {
  animation: twl-home-intro-overlay-out 1.2s ease forwards;
}

.twl-hero.is-home-intro-revealing .twl-home-intro__spinner {
  animation: twl-home-intro-spinner-out 1.2s cubic-bezier(.2,.82,.22,1) forwards;
}

.twl-hero.is-home-intro-revealing .twl-home-intro__burst {
  animation: twl-home-intro-burst 1.35s cubic-bezier(.12,.78,.16,1) forwards;
}

.twl-hero.is-home-intro-done .twl-home-intro {
  display: none;
}

.home .twl-button {
  min-width: 13.25rem;
  width: 13.25rem;
  gap: 0.45rem;
  white-space: nowrap;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.84);
  border: 1px solid color-mix(in srgb, var(--twl-hover-color, var(--twl-color-gold)) 70%, rgba(255, 255, 255, 0.18));
  transition: background-color 260ms ease, color 260ms ease, transform 260ms ease, box-shadow 260ms ease;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--twl-hover-color, var(--twl-color-gold)) 52%, rgba(255, 255, 255, 0.12)),
    0 8px 24px color-mix(in srgb, var(--twl-hover-color, rgba(0, 0, 0, 0.24)) 34%, rgba(0, 0, 0, 0.26));
}

.home .twl-button:hover,
.home .twl-button:focus-visible {
  background: color-mix(in srgb, var(--twl-hover-color, var(--twl-color-gold)) 34%, rgba(0, 0, 0, 0.84));
  color: #fff;
  border-color: color-mix(in srgb, var(--twl-hover-color, var(--twl-color-gold)) 86%, #fff);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--twl-hover-color, var(--twl-color-gold)) 86%, #fff),
    0 0 18px color-mix(in srgb, var(--twl-hover-color, var(--twl-color-gold)) 32%, rgba(255, 255, 255, 0.16)),
    0 14px 34px color-mix(in srgb, var(--twl-hover-color, var(--twl-color-gold)) 36%, rgba(0, 0, 0, 0.28));
}

.twl-button__icon {
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
}

.twl-button__icon svg {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.twl-footer {
  border-top: var(--twl-border-subtle);
  padding: 1.35rem 0;
  background: rgba(1, 1, 0, 0.72);
  margin-top: auto;
}

.twl-footer__menu {
  flex-wrap: nowrap;
  gap: clamp(0.5rem, 1.6vw, 1rem);
  justify-content: flex-start;
}

.twl-nav__list a,
.twl-footer__menu a {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.twl-footer__menu a {
  font-size: clamp(0.72rem, 1vw, 0.92rem);
  white-space: nowrap;
}

.special-title {
  margin: 0 0 var(--twl-space-lg);
  padding-top: 20px;
  text-align: center;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
}

.special-title::after {
  content: "";
  display: block;
  width: min(200px, 100%);
  height: 2px;
  margin-top: 1rem;
  margin-inline: auto;
  background: linear-gradient(90deg, rgba(201, 172, 140, 0), rgba(201, 172, 140, 0.92) 18%, rgba(201, 172, 140, 0.92) 82%, rgba(201, 172, 140, 0));
}

@keyframes twl-curtain-open {
  0% {
    transform: translateX(0);
    opacity: 1;
  }

  100% {
    transform: translateX(calc(var(--twl-curtain-shift, 102%) * (var(--twl-curtain-direction, 1))));
    opacity: 0;
  }
}

.twl-hero__curtain--left {
  --twl-curtain-direction: -1;
}

.twl-hero__curtain--right {
  --twl-curtain-direction: 1;
}

/* Non-home hero variants may continue using background-size Ken Burns on the card.
   Homepage now uses transform-based zoom on ::after for consistent framing below ~1237px. */
@keyframes twl-ken-burns {
  0% {
    background-size: 108%, 108%;
    background-position: center center, var(--twl-slide-crop, center center);
  }

  100% {
    background-size: 116%, 116%;
    background-position: center center, var(--twl-slide-crop, center center);
  }
}

@keyframes twl-ken-burns-transform {
  0% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1.16);
  }
}

@keyframes twl-fade-up {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes twl-hero-banner-in {
  from {
    opacity: 0;
    transform: none;
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes twl-home-intro-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(720deg);
  }
}

@keyframes twl-home-intro-spinner-out {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(0.3);
  }
}

@keyframes twl-home-intro-overlay-out {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes twl-home-intro-burst {
  0% {
    opacity: 0;
    clip-path: circle(0 at 50% 50%);
    filter: saturate(1.15) blur(24px);
  }

  12% {
    opacity: 0.95;
  }

  70% {
    opacity: 0.68;
    clip-path: circle(95vmax at 50% 50%);
    filter: saturate(1.2) blur(10px);
  }

  100% {
    opacity: 0;
    clip-path: circle(140vmax at 50% 50%);
    filter: saturate(1.2) blur(0);
  }
}

@media (max-width: 960px) {
  .twl-hero::before {
    background-size: cover;
    background-position: var(--twl-hero-image-position, center center);
  }

  .twl-hero-card {
    background-size: cover, cover;
    background-position: center center, var(--twl-slide-crop, center center);
    background-repeat: no-repeat, no-repeat;
  }

  .home .twl-hero-card::after {
    background-size: cover;
    background-position: var(--twl-slide-crop, center center);
    background-repeat: no-repeat;
  }

  .home .twl-hero__grid {
    min-height: 100svh;
    padding: 0;
  }

  .home .twl-hero-card__content {
    inset: 50% 0 auto 0;
    transform: translateY(-82%);
  }

  .home .twl-hero-card h2 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
  }

  .home .twl-hero-card p {
    font-size: 0.98rem;
    max-width: 22rem;
  }

  .home .twl-hero-card .twl-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .home .twl-hero__global-actions {
    inset: 50% 0 auto 0;
    transform: translateY(8.4rem);
  }

  .home .twl-hero__global-actions .twl-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
  }

  .home .twl-button {
    min-width: min(100%, 13.25rem);
    width: 13.25rem;
    min-height: 2.9rem;
    padding: 0.72rem 1rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }

  .twl-nav-toggle {
    display: inline-flex;
    justify-self: end;
    align-self: center;
  }

  .twl-nav {
    display: none;
    width: 100%;
    justify-self: stretch;
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 1rem;
    left: 1rem;
  }

  .twl-nav.is-open {
    display: block;
  }

  .twl-nav__list {
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 0;
    border: 1px solid rgba(255, 253, 248, 0.16);
    border-radius: 1rem;
    background: rgba(9, 9, 9, 0.96);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
  }

  .twl-nav__list > .menu-item > a {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 1.1rem;
    border-radius: 0;
  }

  .twl-nav__list .menu-item-has-children {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .twl-submenu-toggle {
    display: inline-flex;
    margin-top: 0.25rem;
  }

  .twl-nav__list .sub-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin-top: 0;
    padding: 0 0 0.45rem 1.1rem;
    grid-column: 1 / -1;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .twl-nav__list .menu-item.is-open > .sub-menu {
    display: grid;
  }

  .twl-header .twl-shell {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .twl-branding__logo {
    max-height: 3.1rem;
  }

  .twl-footer__menu {
    flex-wrap: wrap;
    row-gap: 0.12rem;
    column-gap: 0.55rem;
    justify-content: flex-start;
    font-size: 0.78rem;
    max-width: 100%;
  }

  .twl-footer__menu a {
    min-height: 1.7rem;
    padding-block: 0.06rem;
  }

  .twl-footer__logo {
    max-width: min(6.5rem, 24vw);
    max-height: 2rem;
  }

  .twl-hero__content {
    min-height: clamp(220px, 58vw, var(--twl-hero-height, 320px));
    padding: 3.2rem 1rem 2.2rem;
  }

  .twl-hero--default .twl-hero__content,
  .twl-hero--shop .twl-hero__content,
  .twl-hero--transactional .twl-hero__content {
    padding-top: 5.2rem;
    padding-bottom: 6.5rem;
  }

  .twl-hero--default .twl-hero__content,
  .twl-hero--shop .twl-hero__content,
  .twl-hero--transactional .twl-hero__content {
    min-height: clamp(220px, 58vw, var(--twl-hero-height, 320px));
  }

  .twl-hero__highlights {
    bottom: 1.6rem;
    width: min(calc(100% - 2rem), 42rem);
  }
}

/* Wave 3 run-9 stabilization: keep hero media full-width without ghost overflow,
   bring secondary sliders back in line with the home-slider feel, and expose a
   reusable site spinner that can also skin legacy plugin loading states. */

.home .twl-hero__grid {
  width: 100%;
}

.home .twl-hero__media {
  width: 100%;
  left: 0;
  transform: none;
}

.twl-hero--default .twl-hero__copy,
.twl-hero--shop .twl-hero__copy,
.twl-hero--transactional .twl-hero__copy {
  max-width: min(100%, 48rem);
  line-height: 1.22;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.68);
}

.twl-hero--default .twl-hero__title,
.twl-hero--shop .twl-hero__title,
.twl-hero--transactional .twl-hero__title {
  max-width: min(100%, 16ch);
  margin-inline: auto;
  font-size: clamp(1.95rem, 4vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-shadow: 0 7px 22px rgba(0, 0, 0, 0.76), 0 2px 9px rgba(0, 0, 0, 0.62);
}

.twl-hero--default .twl-hero__title,
.twl-hero--transactional .twl-hero__title {
  max-width: min(100%, 18ch);
}

.twl-hero--default .twl-hero__copy,
.twl-hero--transactional .twl-hero__copy {
  max-width: min(100%, 52rem);
}

.twl-hero--transactional {
  min-height: var(--twl-hero-height, 300px);
}

.twl-hero--shop {
  min-height: var(--twl-hero-height, 200px);
}

.twl-hero--shop .twl-hero__grid,
.twl-hero--shop .twl-hero__media,
.twl-hero--shop .twl-hero-card.is-active,
.twl-hero--transactional .twl-hero__grid,
.twl-hero--transactional .twl-hero__media,
.twl-hero--transactional .twl-hero-card.is-active {
  min-height: var(--twl-hero-height, 200px);
  height: var(--twl-hero-height, 200px);
}

.twl-hero--shop .twl-hero__content,
.twl-hero--shop .twl-hero-card,
.twl-hero--transactional .twl-hero__content,
.twl-hero--transactional .twl-hero-card {
  box-sizing: border-box;
  min-height: var(--twl-hero-height, 200px);
  height: var(--twl-hero-height, 200px);
  padding-top: clamp(0.75rem, calc(var(--twl-hero-height, 200px) * 0.18), 6.5rem);
  padding-bottom: clamp(0.75rem, calc(var(--twl-hero-height, 200px) * 0.2), 7.5rem);
  overflow: hidden;
}

.twl-hero--transactional .twl-hero__grid,
.twl-hero--transactional .twl-hero__media,
.twl-hero--transactional .twl-hero-card.is-active {
  min-height: var(--twl-hero-height, 300px);
  height: var(--twl-hero-height, 300px);
}

.twl-hero--transactional .twl-hero__content,
.twl-hero--transactional .twl-hero-card {
  min-height: var(--twl-hero-height, 300px);
  height: var(--twl-hero-height, 300px);
  padding-top: clamp(0.75rem, calc(var(--twl-hero-height, 300px) * 0.18), 6.5rem);
  padding-bottom: clamp(0.75rem, calc(var(--twl-hero-height, 300px) * 0.2), 7.5rem);
}

.page-id-9 .twl-hero--default .twl-hero__title,
.page-id-9 .twl-hero--default .twl-hero__copy {
  max-width: min(100%, 22ch);
}

.twl-site-spinner,
.twl-resources-spinner,
.twlcm-video-upload-spinner-ring {
  --twl-spinner-size: 150px;
  --twl-spinner-logo-size: 100%;
  --twl-spinner-pulse-size: 105%;
  --twl-spinner-shell: rgba(8, 10, 18, 0.96);
  --twl-spinner-shell-soft: rgba(8, 10, 18, 0.74);
  --twl-spinner-edge-reveal: rgba(255, 255, 255, 0.16);
  position: relative;
  display: block;
  width: var(--twl-spinner-size);
  height: var(--twl-spinner-size);
  border: 0 !important;
  border-radius: 50%;
  overflow: visible;
  isolation: isolate;
  z-index: 0;
  background:
    radial-gradient(
      circle,
      var(--twl-spinner-shell) 0 54%,
      rgba(12, 14, 24, 0.92) 60%,
      var(--twl-spinner-shell-soft) 68%,
      transparent 78%
    );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 34px rgba(0, 0, 0, 0.42);
}

/* Rainbow pulse layer sits below the logo */
.twl-site-spinner::before,
.twl-resources-spinner::before,
.twlcm-video-upload-spinner-ring::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--twl-spinner-pulse-size);
  height: var(--twl-spinner-pulse-size);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.98;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0) 0 50%, rgba(0, 0, 0, 0.18) 57%, rgba(0, 0, 0, 0) 69%),
    conic-gradient(
      from 180deg,
      #e53935 0deg,
      #fb8c00 60deg,
      #fdd835 120deg,
      #43a047 180deg,
      #1e88e5 240deg,
      #8e24aa 300deg,
      #e53935 360deg
    );
  filter: blur(7px) saturate(1.15) brightness(1.16);
  animation: twl-site-spinner-pulse 2s ease-in-out infinite;
}

/* Logo layer stays on top, with a subtle edge reveal so the color can peek through the outer rim */
.twl-site-spinner::after,
.twl-resources-spinner::after,
.twlcm-video-upload-spinner-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(
      circle,
      rgba(8, 10, 18, 0) 0 56%,
      var(--twl-spinner-edge-reveal) 61%,
      rgba(8, 10, 18, 0.08) 65%,
      rgba(8, 10, 18, 0) 71%
    ),
    var(--twl-spinner-logo),
    radial-gradient(
      circle,
      rgba(8, 10, 18, 0.04) 0 52%,
      rgba(8, 10, 18, 0.90) 60%,
      rgba(8, 10, 18, 0.68) 68%,
      transparent 77%
    );
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 100% 100%, var(--twl-spinner-logo-size) var(--twl-spinner-logo-size), 100% 100%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 10px 18px rgba(255, 255, 255, 0.04),
    inset 0 -18px 24px rgba(0, 0, 0, 0.38);
}

@keyframes twl-site-spinner-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
    filter: blur(7px) saturate(1.05) brightness(1.04);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.045);
    opacity: 1;
    filter: blur(9px) saturate(1.28) brightness(1.26);
  }
}

@keyframes twl-site-spinner-sparkle {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.6) translateY(0);
  }
  45% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15) translateY(-2px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.7) translateY(0);
  }
}

@media (max-width: 960px) {
  .twl-hero--default .twl-hero__title,
  .twl-hero--shop .twl-hero__title,
  .twl-hero--transactional .twl-hero__title {
    max-width: 13ch;
    font-size: clamp(1.78rem, 7vw, 2.7rem);
  }

  .twl-hero--default .twl-hero__copy,
  .twl-hero--shop .twl-hero__copy,
  .twl-hero--transactional .twl-hero__copy {
    max-width: 28rem;
    font-size: clamp(1.25rem, 3.5vw, 1.25rem);
  }
}
