/*
 * Watchman Pod product-page refinements.
 * Scoped to the dedicated Flat Roof-derived product page only.
 */

body.watchman-pod-page .pod-showcase__title-variant {
  letter-spacing: -0.025em;
}

body.watchman-pod-page .watchman-hero-heading {
  width: 100%;
  max-width: 100%;
  margin: 0 0 clamp(28px, 2vw, 36px);
}

body.watchman-pod-page .watchman-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1vw, 16px);
  max-width: 100%;
  margin: 0 0 clamp(12px, 1vw, 17px);
  color: #6c5a4c;
  font-family: var(--pbt-font-family);
  font-size: clamp(12px, 0.86vw, 14px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.watchman-pod-page .watchman-hero-eyebrow::after {
  flex: 0 0 clamp(42px, 3.2vw, 52px);
  width: clamp(42px, 3.2vw, 52px);
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.55;
}

body.watchman-pod-page .watchman-hero-title {
  max-width: 100%;
  margin: 0;
  color: #2d241e;
  font-family: var(--pbt-font-family);
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 300;
  font-synthesis: none;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-align: left;
  text-transform: none;
  text-wrap: balance;
}

@media (max-width: 899.98px) {
  body.watchman-pod-page .watchman-hero-heading {
    margin-bottom: clamp(28px, 4vw, 34px);
  }
}

@media (max-width: 575.98px) {
  body.watchman-pod-page .watchman-hero-heading {
    margin-bottom: 28px;
  }

  body.watchman-pod-page .watchman-hero-eyebrow {
    gap: 11px;
    margin-bottom: 12px;
    font-size: clamp(11px, 3.2vw, 12px);
    letter-spacing: 0.14em;
  }

  body.watchman-pod-page .watchman-hero-eyebrow::after {
    flex-basis: 42px;
    width: 42px;
  }

  body.watchman-pod-page .watchman-hero-title {
    font-size: clamp(38px, 12vw, 48px);
    line-height: 1;
  }
}

body.watchman-pod-page .pod-showcase__list {
  max-width: 68ch;
}

body.watchman-pod-page .pd-visual-slider-active .swiper-wrapper,
body.watchman-pod-page .pd-visual-slider-active .swiper-slide,
body.watchman-pod-page .pd-visual-slider-thumb {
  height: auto;
}

body.watchman-pod-page .pd-visual-slider-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9e3d6;
}

body.watchman-pod-page .pd-visual-slider-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.watchman-pod-page .watchman-pod-portrait-gallery .pd-visual-slider-thumb img {
  object-position: 50% 42%;
}

body.watchman-pod-page .cladding-swatches .swatch {
  appearance: none;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background-color: #786456;
  background-position: center;
  background-size: cover;
}

body.watchman-pod-page .cladding-swatches .swatch:focus-visible {
  outline: 2px solid #42332a;
  outline-offset: 5px;
}

body.watchman-pod-page .cladding-image-slider .slider-inner {
  aspect-ratio: 1867 / 863 !important;
  border-radius: inherit;
  background: #fff8ed;
}

body.watchman-pod-page .cladding-image-slider .slider-inner img,
body.watchman-pod-page .cladding-image-slider #current-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
}

body.watchman-pod-page .watchman-security-brief,
body.watchman-pod-page .watchman-security-brief * {
  box-sizing: border-box;
}

body.watchman-pod-page .watchman-security-brief {
  padding: clamp(64px, 6.5vw, 124px) clamp(18px, 4vw, 88px) clamp(28px, 2.5vw, 48px);
  overflow: hidden;
  background: #fff8ed;
  color: #42332a;
  font-family: var(--pbt-font-family, inherit);
}

body.watchman-pod-page .watchman-security-brief__shell {
  width: min(100%, 1680px);
  margin-inline: auto;
}

body.watchman-pod-page .watchman-security-brief__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: clamp(36px, 7vw, 136px);
  padding-bottom: clamp(36px, 4vw, 68px);
}

body.watchman-pod-page .watchman-security-brief__eyebrow,
body.watchman-pod-page .watchman-security-brief__panel-label {
  margin: 0;
  color: #786456;
  font: inherit;
  font-size: clamp(10px, 0.72vw, 14px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.watchman-pod-page .watchman-security-brief__title {
  max-width: none;
  margin: clamp(16px, 1.7vw, 28px) 0 0;
  color: #42332a;
  font: inherit;
  font-size: clamp(48px, 3.55vw, 76px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

body.watchman-pod-page .watchman-security-brief__title span {
  display: block;
  white-space: nowrap;
}

body.watchman-pod-page .watchman-security-brief__lead {
  max-width: 37ch;
  margin: 0 0 0 auto;
  color: #74665c;
  font: inherit;
  font-size: clamp(17px, 1.18vw, 23px);
  font-weight: 300;
  line-height: 1.55;
}

body.watchman-pod-page .watchman-security-brief__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(370px, 0.78fr);
  height: clamp(620px, 42vw, 760px);
  overflow: hidden;
  border-radius: 4px;
  background: #42332a;
}

body.watchman-pod-page .watchman-security-brief__exterior,
body.watchman-pod-page .watchman-security-brief__interior {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #d9d0c2;
}

body.watchman-pod-page .watchman-security-brief__exterior img,
body.watchman-pod-page .watchman-security-brief__interior img {
  display: block;
  width: 100%;
  height: 100%;
}

body.watchman-pod-page .watchman-security-brief__exterior img,
body.watchman-pod-page .watchman-security-brief__interior img {
  object-fit: cover;
}

body.watchman-pod-page .watchman-security-brief__exterior img {
  object-position: 50% 50%;
}

body.watchman-pod-page .watchman-security-brief__exterior > figcaption {
  position: absolute;
  top: auto;
  bottom: clamp(22px, 2vw, 36px);
  left: clamp(18px, 1.5vw, 28px);
  z-index: 1;
  display: grid;
  gap: 8px;
  width: min(44%, 480px);
  padding: clamp(18px, 1.5vw, 26px);
  border: 1px solid rgba(255, 248, 237, 0.24);
  border-radius: 3px;
  background: rgba(49, 37, 30, 0.82);
  box-shadow: 0 12px 32px rgba(25, 18, 14, 0.2);
  color: #ffffff;
  pointer-events: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

body.watchman-pod-page .watchman-security-brief__exterior > figcaption span {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.watchman-pod-page .watchman-security-brief__exterior > figcaption strong {
  font-size: clamp(18px, 1.25vw, 25px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

body.watchman-pod-page .watchman-security-brief__interior > figcaption {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.watchman-pod-page .watchman-security-brief__operations {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 210px;
  min-width: 0;
  color: #fff8ed;
  background: #42332a;
}

body.watchman-pod-page .watchman-security-brief__operations-copy {
  min-height: 0;
  padding: clamp(30px, 2vw, 38px) clamp(28px, 2.3vw, 44px);
}

body.watchman-pod-page .watchman-security-brief__panel-label {
  color: rgba(255, 248, 237, 0.62);
}

body.watchman-pod-page .watchman-security-brief__operations h3 {
  margin: clamp(14px, 1vw, 20px) 0 clamp(22px, 1.5vw, 30px);
  color: #fff8ed;
  font: inherit;
  font-size: clamp(29px, 2vw, 42px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

body.watchman-pod-page .watchman-security-brief__roles {
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 248, 237, 0.2);
}

body.watchman-pod-page .watchman-security-brief__roles li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: clamp(10px, 0.7vw, 13px) 0;
  border-bottom: 1px solid rgba(255, 248, 237, 0.2);
}

body.watchman-pod-page .watchman-security-brief__roles li > span {
  padding-top: 3px;
  color: rgba(255, 248, 237, 0.52);
  font-size: 10px;
  letter-spacing: 0.14em;
}

body.watchman-pod-page .watchman-security-brief__roles li div {
  display: grid;
  gap: 4px;
}

body.watchman-pod-page .watchman-security-brief__roles strong,
body.watchman-pod-page .watchman-security-brief__roles small {
  color: inherit;
  font: inherit;
}

body.watchman-pod-page .watchman-security-brief__roles strong {
  font-size: clamp(16px, 1.05vw, 20px);
  font-weight: 400;
  line-height: 1.2;
}

body.watchman-pod-page .watchman-security-brief__roles small {
  color: rgba(255, 248, 237, 0.66);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
}

body.watchman-pod-page .watchman-security-brief__interior {
  border-top: 1px solid rgba(255, 248, 237, 0.2);
}

body.watchman-pod-page .watchman-security-brief__interior img {
  object-position: center 46%;
}

body.watchman-pod-page .watchman-security-brief__interior > figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 15px 18px;
  background: rgba(49, 37, 30, 0.9);
  color: #fff8ed;
}

@media (min-width: 1200px) {
  body.watchman-pod-page .pod-showcase__title-variant {
    align-self: center;
    font-size: clamp(26px, 1.85vw, 52px) !important;
    transform: translateY(-1px);
  }
}

@media (max-width: 991.98px) {
  body.watchman-pod-page .pod-showcase__list {
    max-width: 100%;
  }

  body.watchman-pod-page .watchman-security-brief__intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.watchman-pod-page .watchman-security-brief__lead {
    max-width: 48ch;
    margin: 0;
  }

  body.watchman-pod-page .watchman-security-brief__layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  body.watchman-pod-page .watchman-security-brief__exterior {
    aspect-ratio: 16 / 10;
  }

  body.watchman-pod-page .watchman-security-brief__operations {
    grid-template: auto / minmax(0, 1.1fr) minmax(280px, 0.9fr);
  }

  body.watchman-pod-page .watchman-security-brief__interior {
    min-height: 100%;
    border-top: 0;
    border-left: 1px solid rgba(255, 248, 237, 0.2);
  }
}

@media (max-width: 767.98px) {
  body.watchman-pod-page .watchman-pod-static-stage {
    height: clamp(300px, 72vw, 420px);
  }

  body.watchman-pod-page .pods-included.pb-100 {
    padding-bottom: 0 !important;
  }

  body.watchman-pod-page .cladding-image-slider {
    width: 100% !important;
    max-width: 440px !important;
    margin-inline: auto !important;
  }

  body.watchman-pod-page .cladding-image-slider .slider-inner {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
  }

  body.watchman-pod-page .watchman-security-brief {
    padding: 38px 18px 72px;
  }

  body.watchman-pod-page .watchman-security-brief__intro {
    padding-bottom: 30px;
  }

  body.watchman-pod-page .watchman-security-brief__title {
    font-size: clamp(39px, 11vw, 52px);
  }

  body.watchman-pod-page .watchman-security-brief__title span {
    white-space: normal;
  }

  body.watchman-pod-page .watchman-security-brief__lead {
    font-size: 16px;
  }

  body.watchman-pod-page .watchman-security-brief__exterior {
    aspect-ratio: 4 / 3;
  }

  body.watchman-pod-page .watchman-security-brief__exterior > figcaption {
    bottom: 12px;
    left: 12px;
    width: min(60%, 220px);
    gap: 4px;
    padding: 10px 12px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }

  body.watchman-pod-page .watchman-security-brief__exterior > figcaption span {
    font-size: 7px;
    letter-spacing: 0.12em;
  }

  body.watchman-pod-page .watchman-security-brief__exterior > figcaption strong {
    max-width: none;
    font-size: 13px;
    line-height: 1.18;
  }

  body.watchman-pod-page .watchman-security-brief__operations {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  body.watchman-pod-page .watchman-security-brief__operations-copy {
    padding: 36px 26px 40px;
  }

  body.watchman-pod-page .watchman-security-brief__interior {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-top: 1px solid rgba(255, 248, 237, 0.2);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.watchman-pod-page .pd-visual-slider-thumb img,
  body.watchman-pod-page .cladding-image-slider img {
    transition: none !important;
  }
}
