.hero-carousel {
  position: relative;
  height: 90vh;
  min-height: 620px;
  overflow: hidden;
  background: var(--ll-black);
  color: var(--ll-white);
}

.hero-carousel__viewport,
.hero-slide {
  height: 100%;
}

.hero-slide {
  position: relative;
  display: grid;
  place-items: center;
  background-image: var(--slide-image);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.hero-slide::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgb(0 0 0 / 58%);
  content: "";
}

.hero-slide--blue::before {
  background: rgb(0 11 75 / 55%);
}

.hero-slide:not([hidden]) {
  animation: ll-hero-reveal 500ms ease both;
}

.hero-slide__content {
  width: min(70%, 940px);
  padding-top: var(--ll-header-height);
  text-align: center;
}

.hero-slide h2 {
  margin-bottom: 18px;
  color: var(--ll-white);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
}

.hero-slide p {
  margin: 0 auto 30px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.55;
  word-spacing: 0.25em;
}

.hero-carousel__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 70px;
  height: 100px;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgb(255 255 255 / 76%);
  transform: translateY(-50%);
}

.hero-carousel__arrow .ll-icon {
  width: 56px;
  height: 56px;
}

.hero-carousel__arrow--previous {
  left: 18px;
}

.hero-carousel__arrow--next {
  right: 18px;
}

.hero-carousel__controls {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 22px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-carousel__toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  overflow: hidden;
  border: 0;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero-carousel__toggle:focus-visible {
  bottom: calc(100% + 12px);
  left: 50%;
  width: auto;
  height: auto;
  min-height: 34px;
  overflow: visible;
  border: 1px solid rgb(255 255 255 / 80%);
  padding: 5px 11px;
  margin: 0;
  background: var(--ll-white);
  color: var(--ll-black);
  clip: auto;
  clip-path: none;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-carousel__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-carousel__dots button {
  width: 16px;
  height: 16px;
  border: 1px solid var(--ll-white);
  border-radius: 50%;
  padding: 0;
  background: rgb(255 255 255 / 36%);
}

.hero-carousel__dots button[aria-current="true"] {
  background: var(--ll-white);
}

.scroll-cue {
  position: relative;
  z-index: 3;
  display: block;
  width: 64px;
  margin: -11px auto 0;
  transition: transform 120ms ease;
}

.scroll-cue:hover {
  transform: translateY(10px);
}

.scroll-cue img {
  border-radius: 0 0 60px 60px;
  box-shadow: 0 0 3px 1px rgb(135 135 135 / 50%);
}

.home-products {
  width: min(100% - 40px, var(--ll-content));
  margin: 30px auto 0;
  padding-bottom: 120px;
}

.product-section + .product-section {
  margin-top: 45px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--ll-silver);
  margin-bottom: 20px;
  padding-bottom: 9px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-heading a {
  color: var(--ll-black);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  min-width: 0;
  background: var(--ll-white);
  color: var(--ll-black);
  font-family: var(--ll-product-font);
}

.product-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ll-mist);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.product-card__link:hover .product-card__media img,
.product-card__link:focus-visible .product-card__media img {
  transform: scale(1.025);
}

.product-card__sale {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: var(--ll-sale);
  color: var(--ll-white);
  font-family: var(--ll-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card__body {
  padding: 16px 5px 24px;
}

.product-card__title {
  margin-bottom: 9px;
  font-family: var(--ll-font);
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  line-height: 1.25;
}

.product-card__excerpt {
  min-height: 4.8em;
  color: var(--ll-body);
  font-size: 0.92rem;
  line-height: 1.6;
}

.product-card__price {
  margin: 13px 0 0;
  color: var(--ll-black);
  font-family: var(--ll-font);
  font-size: 0.95rem;
  font-weight: 650;
}

.product-card__price del {
  color: var(--ll-muted);
  font-weight: 400;
}

.catalog-layout {
  display: grid;
  padding-block: 55px 120px;
  grid-template-columns: 240px minmax(0, 1fr);
  column-gap: 34px;
}

.catalog-layout--archive .woocommerce-products-header {
  display: none;
}

.catalog-header {
  grid-column: 1 / -1;
}

.catalog-header h1 {
  margin-bottom: 35px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  text-align: center;
  text-transform: uppercase;
}

.catalog-filter-toggle {
  display: none;
}

.catalog-filter {
  position: static;
}

.catalog-filter__panel {
  position: sticky;
  top: calc(var(--ll-header-height) + 20px);
  width: auto;
  height: auto;
  max-height: calc(100vh - var(--ll-header-height) - 40px);
  padding: 0 10px 20px 0;
  box-shadow: none;
}

.catalog-filter .site-drawer__scrim,
.catalog-filter__close {
  display: none;
}

.catalog-filter ul {
  padding-left: 17px;
  list-style: none;
}

.catalog-filter > .catalog-filter__panel > ul {
  padding-left: 0;
}

.catalog-filter li {
  margin: 8px 0;
}

.catalog-filter a {
  color: var(--ll-black);
  font-size: 0.82rem;
  text-decoration: none;
}

.catalog-filter .current-cat > a {
  font-weight: 700;
  text-decoration: underline;
}

.catalog-pagination {
  margin-top: 42px;
}

.catalog-pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.catalog-pagination a,
.catalog-pagination span {
  display: grid;
  min-width: 40px;
  min-height: 40px;
  place-items: center;
  border: 1px solid var(--ll-silver);
  color: var(--ll-black);
  text-decoration: none;
}

.catalog-pagination .current {
  border-color: var(--ll-black);
  background: var(--ll-black);
  color: var(--ll-white);
}

.catalog-load-more {
  display: flex;
  margin: 24px auto 0;
}

.brand-page,
.contact-page {
  min-height: 80vh;
  background: var(--ll-black);
  color: var(--ll-white);
}

.brand-page__masthead {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: calc(var(--ll-header-height) + 40px) 20px 44px;
  background: radial-gradient(circle at 50% 100%, #30343a 0, #111 45%, #000 75%);
  text-align: center;
}

.brand-page__masthead img {
  width: min(72vw, 296px);
  margin-bottom: 38px;
}

.brand-page__masthead h1 {
  margin: 0;
  color: var(--ll-white);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  letter-spacing: 0.12em;
}

.brand-page__body {
  padding-block: 70px 110px;
}

.brand-page__lion {
  width: min(44vw, 350px);
  margin: 0 0 30px 42px;
  float: right;
  object-fit: contain;
}

.brand-page__copy {
  color: var(--ll-cloud);
}

.brand-page__copy p {
  margin-bottom: 1.5em;
}

.brand-page__copy::after {
  display: table;
  clear: both;
  content: "";
}

.brand-page__cta {
  margin-top: 20px;
}

.contact-page__inner {
  padding-block: 45px 100px;
}

.contact-page__stamp {
  width: min(100%, 800px);
  margin: 0 auto 30px;
}

.contact-page .ll-form {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 45px);
  background: var(--ll-white);
  color: var(--ll-black);
}

.legal-page {
  padding-block: 70px 120px;
}

.legal-page h1 {
  margin-bottom: 48px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.06em;
  text-align: center;
}

.legal-page__content h2,
.legal-page__content h3 {
  margin-top: 2em;
}

.account-flow {
  padding-block: clamp(55px, 8vw, 110px);
  text-align: center;
}

.account-flow > h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.08em;
}

.account-flow__image {
  width: min(52vw, 240px);
  max-height: 240px;
  margin: 0 auto 28px;
  object-fit: contain;
}

.account-flow__crest {
  width: min(78vw, 440px);
  max-height: 245px;
  margin: 0 auto 24px;
  object-fit: contain;
}

.account-flow .ll-form {
  max-width: 610px;
  margin: 30px auto;
  text-align: left;
}

.account-flow .ll-form > button {
  display: flex;
  width: 100%;
}

.social-login {
  margin-top: 25px;
}

.social-login h2 {
  font-size: 1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.social-login .nsl-container {
  display: inline-block;
  margin: 4px;
}

.account-flow__separator {
  margin: 22px 0;
  color: var(--ll-muted);
  text-transform: uppercase;
}

.account-flow__alternate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.not-found {
  display: grid;
  min-height: 78vh;
  align-items: center;
  padding: calc(var(--ll-header-height) + 30px) max(20px, 7vw) 60px;
  background: var(--ll-black);
  color: var(--ll-white);
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.not-found__art {
  position: relative;
  min-height: 420px;
}

.not-found__moon {
  position: absolute;
  inset: 10% 15%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #c7cdd2 52%, #6b727a 100%);
  box-shadow: 0 0 80px rgb(255 255 255 / 22%);
}

.not-found__orbit {
  position: absolute;
  inset: 2% 5%;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.not-found__content h1 {
  color: var(--ll-white);
}

.not-found .eyebrow {
  margin: 0;
  color: var(--ll-sale);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

@keyframes ll-hero-reveal {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .catalog-header h1 {
    margin-bottom: 28px;
    text-align: left;
  }

  .catalog-filter-toggle {
    display: inline-flex;
    margin-bottom: 28px;
  }

  .catalog-filter {
    position: fixed;
    z-index: 1000;
    inset: 0;
  }

  .catalog-filter__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(92vw, 420px);
    max-height: none;
    padding: 28px;
    box-shadow: var(--ll-shadow);
  }

  .catalog-filter .site-drawer__scrim,
  .catalog-filter__close {
    display: block;
  }
}

@media (max-width: 767px) {
  .hero-carousel {
    height: 88vh;
    min-height: 540px;
  }

  .hero-slide__content {
    width: min(74%, 560px);
    padding-top: 105px;
  }

  .hero-slide h2 {
    font-size: clamp(1.5rem, 8vw, 2.4rem);
  }

  .hero-slide p {
    font-size: 0.9rem;
    word-spacing: 0;
  }

  .hero-carousel__arrow {
    width: 46px;
  }

  .hero-carousel__arrow .ll-icon {
    width: 35px;
    height: 35px;
  }

  .hero-carousel__arrow--previous {
    left: 0;
  }

  .hero-carousel__arrow--next {
    right: 0;
  }

  .home-products {
    width: min(100% - 28px, var(--ll-content));
  }

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

  .product-card__excerpt {
    min-height: 0;
  }

  .catalog-layout {
    padding-top: 36px;
  }

  .catalog-header {
    display: block;
  }

  .brand-page__masthead {
    min-height: 255px;
  }

  .brand-page__lion {
    width: min(70vw, 300px);
    margin: 0 auto 30px;
    float: none;
  }

  .account-flow__alternate {
    flex-wrap: wrap;
  }

  .not-found {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .not-found__art {
    min-height: 280px;
  }
}
