.p-brands { --brand-h: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }
.p-brands__title {
  margin: 0 0 clamp(1.25rem, 1rem + 1.2vw, 2rem);
  color: var(--c-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-align: center;
}
.p-brands__list {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-brands__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  padding: 1rem 1.125rem;
  border: 1px solid var(--c-line-strong);
  color: var(--c-ink);
  text-decoration: none;
  transition: border-color .2s ease;
}
.p-brands__list a:hover,
.p-brands__list a:focus-visible { position: relative; border-color: var(--c-ink); }
.p-brands__logo { display: flex; align-items: center; height: var(--brand-h); }
.p-brands__logo img { display: block; width: auto; height: 100%; }
.p-brands__list .is-wide .p-brands__logo img { height: 68%; }
.p-brands__link {
  flex: none;
  font-size: var(--fs-sm);
  text-decoration: underline;
  text-underline-offset: .25em;
}
.p-brands__list a:hover .p-brands__link,
.p-brands__list a:focus-visible .p-brands__link { color: var(--c-primary); }
@media (min-width: 48rem) {
  .p-brands__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .p-brands__list li + li { margin-left: -1px; }
  .p-brands__list a {
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem) 1.5rem;
  }
  .p-brands__logo { justify-content: center; }
}

.p-classes__title {
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  text-wrap: balance;
  hyphens: manual;
}
.p-classes .class-tabs__bar { justify-content: flex-start; }
.p-classes .class-panel h3 { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); }

.p-about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #2a2d33;
  color: #fff;
}
.p-about__media { position: absolute; inset: 0; z-index: -2; }
.p-about__media img {
  position: absolute;
  top: -25%;
  left: 0;
  width: 100%;
  height: 150%;
  object-fit: cover;
  object-position: 50% 60%;
  will-change: transform;
}
.p-about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 12, 14, .82) 0%, rgba(10, 12, 14, .62) 38%, rgba(10, 12, 14, .12) 72%, rgba(10, 12, 14, 0) 100%),
    linear-gradient(0deg, rgba(10, 12, 14, .35) 0%, rgba(10, 12, 14, 0) 40%);
}
.p-about__inner {
  display: flex;
  align-items: flex-start;
  min-height: min(88svh, 50rem);
  padding-block: clamp(3.5rem, 2rem + 4.5vw, 6.5rem) clamp(3rem, 2rem + 4vw, 6rem);
}
.p-about__content { max-width: 46rem; }
.p-about h2 { max-width: 15em; color: #fff; font-size: clamp(1.625rem, 1.05rem + 2.1vw, 2.75rem); }
.p-about__lead {
  max-width: 32rem;
  margin-top: 1rem;
  color: #fff;
  font-size: clamp(1.0625rem, .98rem + .4vw, 1.25rem);
  line-height: 1.5;
}
.p-about__actions { margin-top: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem); }
.p-about__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  margin: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem) 0 0;
}
.p-about__stats div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: .5rem;
  padding-inline: clamp(1rem, .5rem + 2vw, 2rem);
  border-left: 1px solid rgba(255, 255, 255, .28);
}
.p-about__stats div:first-child { padding-left: 0; border-left: 0; }
.p-about__stats dt { color: #fff; font-size: var(--fs-sm); line-height: 1.3; }
.p-about__stats dd {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 47.99rem) {
  .p-about::before {
    background: linear-gradient(180deg, rgba(10, 12, 14, .78) 0%, rgba(10, 12, 14, .6) 55%, rgba(10, 12, 14, .35) 100%);
  }
  .p-about__media img { object-position: 64% 50%; }
  .p-about__inner { min-height: 0; padding-bottom: clamp(14rem, 55vw, 20rem); }
}

.p-buy__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 1.5rem + 2vw, 3rem); align-items: start; }
.p-buy__intro { max-width: 36rem; }
.p-buy__checks { margin-top: 1.75rem; }
.p-buy__checks li { align-items: center; gap: .4rem; color: var(--c-ink); font-weight: 500; }
.p-buy__checks .icon { width: 1.25rem; height: 1.25rem; margin-top: 0; padding: 0; background: none; color: var(--c-primary); stroke-width: 2.5; }
.p-buy__form { width: 100%; max-width: 40rem; }
@media (min-width: 64rem) {
  .p-buy__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 36rem); gap: clamp(2.5rem, 1rem + 4vw, 5rem); }
  .p-buy__form { justify-self: end; max-width: none; }
  .p-buy__form { margin-top: -2rem; }
  .p-buy h2 { text-box: trim-start cap alphabetic; }
  .p-buy__intro { padding-top: .75rem; }
}

.p-workshop { padding-block: 0; background: var(--c-dark); }
.p-workshop__stage {
  display: flex;
  flex-direction: column;
  padding-top: var(--section-y);
}
.p-workshop__head { text-align: center; }
.p-workshop__head h2 { max-width: 62rem; margin-inline: auto; color: var(--c-on-dark); font-size: clamp(1.625rem, 1rem + 2.5vw, 3.25rem); text-wrap: balance; }
.p-workshop__head .section-head__lead { margin-inline: auto; max-width: 34rem; color: var(--c-on-dark); }
.p-workshop__foot { margin-top: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem); text-align: center; }
.p-workshop__list { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); justify-content: center; gap: .9rem 1.5rem; text-align: left; }
@media (min-width: 40rem) { .p-workshop__list { display: flex; flex-wrap: wrap; gap: .9rem 2.25rem; } }
.p-workshop__list li { align-items: center; color: var(--c-on-dark); font-weight: 500; }
.p-workshop__list .icon { margin-top: 0; }
.p-workshop__media {
  position: relative;
  width: min(100%, 52rem);
  margin: clamp(1.5rem, 1rem + 2vw, 2.5rem) auto 0;
  aspect-ratio: 4 / 3;
  border: 0;
  background: none;
}
.p-workshop__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.p-workshop__cta { position: absolute; z-index: 1; right: 0; bottom: clamp(1.25rem, 1rem + 1vw, 2rem); left: 0; justify-content: center; margin: 0; }
.p-workshop__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    var(--c-dark) 0, rgba(20, 20, 20, 0) 32%,
    rgba(20, 20, 20, 0) 70%, var(--c-dark) 100%);
}

.p-tours {
  position: relative;
  background: var(--c-dark);
  color: #fff;
}
.p-tours__inner { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2rem, 1.5rem + 2vw, 3rem); }
.p-tours__content { max-width: 40rem; }
.p-tours h2 {
  max-width: 14em;
  color: #fff;
  font-size: clamp(1.5rem, 1rem + 1.7vw, 2.25rem);
  text-wrap: balance;
}
@media (min-width: 48rem) {
  .p-tours__content { max-width: none; }
  .p-tours h2 { max-width: 30em; }
}
.p-tours__kw { color: var(--c-primary); }
.p-tours__lead {
  max-width: 28rem;
  margin-top: 1rem;
  color: #fff;
  font-size: clamp(1.0625rem, .98rem + .4vw, 1.25rem);
  line-height: 1.5;
}
.p-tours__foot { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem) clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.p-tours__foot .btn-row { margin-top: 0; }
.p-tours__panels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.p-tours__panels li { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-dark); }
.p-tours__panels img { display: block; width: 100%; height: 100%; object-fit: cover; }
.p-tours__panels li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 12, 14, .7) 0%, rgba(10, 12, 14, 0) 45%);
  pointer-events: none;
}
.p-tours__caption {
  position: absolute;
  z-index: 2;
  right: 1.25rem;
  bottom: 1.1rem;
  left: 1.25rem;
}
.p-tours__label {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.p-tours__text {
  max-width: 26rem;
  margin: .6rem 0 0;
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.45;
}
.p-tours__pause { display: none; }
@media (min-width: 48rem) {
  .p-tours__panels {
    display: flex;
    gap: 2px;
    height: clamp(26rem, 44vw, 38rem);
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
    container-type: inline-size;
  }
  .p-tours__panels li {
    flex: 1 1 0;
    min-width: 0;
    aspect-ratio: auto;
    cursor: pointer;
    transition: flex-grow .8s cubic-bezier(.65, 0, .25, 1);
  }
  .p-tours__panels li.is-active { flex-grow: 3.4; }
  .p-tours__panels img {
    position: absolute;
    top: 0;
    left: 50%;
    width: calc((100cqw - 4px) * 3.4 / 5.4);
    max-width: none;
    height: 100%;
    transform: translateX(-50%);
    transition: filter .8s ease;
  }
  .p-tours__panels li:not(.is-active) img { filter: brightness(.72); }
  .p-tours__panels li:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
  .p-tours__caption {
    right: auto;
    bottom: clamp(1.25rem, .8rem + 1vw, 1.75rem);
    left: clamp(1rem, .5rem + 1.4vw, 1.75rem);
    max-width: calc(100% - 2rem);
  }
  .p-tours__label { font-size: clamp(1.5rem, .9rem + 1.8vw, 2.5rem); white-space: nowrap; }
  .p-tours__panels li.is-active .p-tours__caption { animation: tours-caption-in .5s ease .5s both; }
  .p-tours__panels li:not(.is-active) .p-tours__caption { animation: tours-caption-out .5s ease .5s both; }
  .p-tours__panels li:not(.is-active) .p-tours__label {
    font-size: clamp(1rem, .7rem + .7vw, 1.375rem);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }
  .p-tours__panels li:not(.is-active) .p-tours__text { display: none; }
  .p-tours__panels li::before {
    content: "";
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left center;
    pointer-events: none;
  }
  .p-tours__panels li.is-active::before { animation: tours-progress 6s linear forwards; }
  .p-tours__panels.is-paused li.is-active::before,
  .p-tours__panels.is-held li.is-active::before { animation-play-state: paused; }
  .p-tours__pause {
    position: absolute;
    z-index: 3;
    top: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    background:
      linear-gradient(#fff, #fff) 39% 50% / 3px 38% no-repeat,
      linear-gradient(#fff, #fff) 61% 50% / 3px 38% no-repeat,
      rgba(10, 12, 14, .6);
    border-radius: 50%;
    pointer-events: none;
  }
  .p-tours__panels.is-held li.is-active .p-tours__pause { display: block; }
}
@keyframes tours-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tours-caption-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes tours-caption-out { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .p-tours__panels li { transition: none; }
  .p-tours__panels li.is-active::before { animation: none; transform: scaleX(1); }
  .p-tours__caption { animation: none !important; }
}

.p-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 2rem + 2vw, 4rem); align-items: start; }
.p-contact__person { margin-top: 2.25rem; gap: 0 1.1rem; }
.p-contact__person .person__img { width: 4rem; height: 4rem; }
.p-contact__person .person__role { color: var(--c-muted); }
.p-contact__person .contact-list { margin-top: 1.5rem; gap: 0; border-bottom: 1px solid var(--c-line-strong); }
.p-contact__person .contact-list li { align-items: center; padding: 1rem 0; border-top: 1px solid var(--c-line-strong); font-size: var(--fs-base); }
.p-contact__person .contact-list .icon { width: 1.25rem; height: 1.25rem; padding: 0; border: 0; background: none; color: var(--c-primary); }
.p-contact__person .contact-list li > :not(svg) { padding-top: 0; }
.p-contact .form-panel { padding: clamp(1.5rem, 1rem + 2vw, 3rem); border-color: var(--c-line); }
.p-contact .form-panel__title { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); }
.p-contact__mapwrap { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.p-contact__map { aspect-ratio: auto; height: clamp(20rem, 32vw, 30rem); }
@media (min-width: 64rem) {
  .p-contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

.p-social__head { max-width: 40rem; margin-inline: auto; text-align: center; }
.p-social__head .section-head__lead { margin-inline: auto; }
.p-social__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, .4rem + 1.2vw, 1.5rem); margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); list-style: none; align-items: start; }
@media (min-width: 60rem) {
  .p-social__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .p-social__grid > li:nth-child(even) { margin-top: clamp(1.5rem, 3vw, 3rem); }
}
.p-social__tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--c-surface-2); color: #fff; text-decoration: none; }
.p-social__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.p-social__tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20, 20, 20, 0) 45%, rgba(20, 20, 20, .78) 100%); }
.p-social__label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; align-items: center; gap: .65rem; padding: 1.1rem 1.25rem; font-size: var(--fs-sm); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.p-social__arrow { margin-left: auto; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.p-social__tile:hover { color: #fff; }
.p-social__tile:hover img { transform: scale(1.05); }
.p-social__tile:hover .p-social__arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .p-social__tile img, .p-social__arrow { transition: none; } .p-social__tile:hover img { transform: none; } }