body.doob-bz-personalisation-page {
  background: #f0eee9;
}

.doob-bz-branding {
  --branding-ink: #41444e;
  --branding-paper: #f0eee9;
  --branding-soft-surface: #ebe9e4;
  --branding-container-x: 24px;
  --branding-section-y: 80px;
  --branding-section-edge: 48px;
  --branding-title-copy: 32px;
  --branding-title-media: 48px;
  --branding-media-copy: 48px;
  --branding-copy-protection: 16px;
  --branding-image-shadow: 2px 3px 5px rgba(33, 38, 50, 0.24);
  --branding-image-shadow-clearance: 8px;
  min-width: 320px;
  overflow: hidden;
  color: var(--branding-ink);
  background: var(--branding-paper);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.doob-bz-branding *,
.doob-bz-branding *::before,
.doob-bz-branding *::after {
  box-sizing: border-box;
}

.doob-bz-branding :where(h1, h2, p) {
  margin: 0;
}

.doob-bz-branding-container {
  width: min(1184px, calc(100% - (2 * var(--branding-container-x))));
  margin-inline: auto;
}

.doob-bz-branding-intro {
  padding-top: var(--branding-section-y);
  padding-bottom: var(--branding-section-edge);
  background: var(--branding-paper);
}

.doob-bz-branding-intro__inner,
.doob-bz-branding-technique > .doob-bz-branding-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.doob-bz-branding h1 {
  width: min(18ch, 100%);
  color: var(--branding-ink);
  font-size: 44px;
  font-weight: 700;
  hyphens: manual;
  letter-spacing: 0;
  line-height: 48px;
  text-wrap: balance;
}

.doob-bz-branding h2 {
  width: min(22ch, 100%);
  color: var(--branding-ink);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 44px;
  text-wrap: balance;
}

.doob-bz-branding-heading--page-centered,
.doob-bz-branding-heading--copy-centered {
  text-align: center;
}

.doob-bz-branding-heading--copy-start {
  text-align: left;
}

.doob-bz-branding-copy {
  width: min(65ch, calc(100% - (2 * var(--branding-copy-protection))));
  min-width: min(420px, calc(100% - (2 * var(--branding-copy-protection))));
  color: var(--branding-ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-align: left;
  text-wrap: wrap;
}

.doob-bz-branding-copy strong {
  font-weight: 600;
}

.doob-bz-branding-copy p + p {
  margin-top: 16px;
}

.doob-bz-branding-intro__copy {
  margin-top: var(--branding-title-copy);
}

.doob-bz-branding-technique {
  padding-top: var(--branding-section-edge);
  padding-bottom: var(--branding-section-edge);
  background: var(--branding-paper);
}

.doob-bz-branding-technique--hot,
.doob-bz-branding-technique--laser {
  background: var(--branding-soft-surface);
}

.doob-bz-branding-gallery__item {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: var(--branding-image-shadow);
}

.doob-bz-branding-gallery--hot {
  display: grid;
  width: min(1120px, 100%);
  padding-bottom: calc(24px + var(--branding-image-shadow-clearance));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: var(--branding-title-media);
}

.doob-bz-branding-gallery--hot .doob-bz-branding-gallery__item:nth-child(even) {
  transform: translateY(24px);
}

.doob-bz-branding-technique--hot .doob-bz-branding-technique__copy {
  margin-top: var(--branding-media-copy);
}

.doob-bz-branding-technique--split > .doob-bz-branding-container {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 600px);
  justify-content: center;
  column-gap: 64px;
}

.doob-bz-branding-technique--split .doob-bz-branding-heading--copy-start {
  width: min(22ch, calc(100% - (2 * var(--branding-copy-protection))));
  grid-column: 2;
  justify-self: center;
}

.doob-bz-branding-split {
  display: grid;
  width: min(1104px, 100%);
  grid-template-columns: minmax(0, 440px) minmax(0, 600px);
  align-items: start;
  gap: 64px;
  margin-top: var(--branding-title-copy);
}

.doob-bz-branding-technique--split .doob-bz-branding-split {
  grid-column: 1 / -1;
}

.doob-bz-branding-gallery--pair {
  display: grid;
  padding-bottom: calc(40px + var(--branding-image-shadow-clearance));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.doob-bz-branding-gallery--pair .doob-bz-branding-gallery__item:nth-child(2) {
  transform: translateY(40px);
}

.doob-bz-branding-split .doob-bz-branding-technique__copy {
  align-self: center;
  justify-self: center;
}

.doob-bz-branding-laser-stage {
  display: grid;
  width: min(1104px, 100%);
  grid-template-columns: 480px 48px 280px 16px 280px;
  grid-template-rows: repeat(2, 280px);
  justify-content: center;
  align-items: start;
  column-gap: 0;
  row-gap: 16px;
  padding-bottom: var(--branding-image-shadow-clearance);
  margin-top: var(--branding-title-media);
}

.doob-bz-branding-laser-stage__image--1 { grid-area: 1 / 3; }
.doob-bz-branding-laser-stage__image--2 { grid-area: 2 / 3; }
.doob-bz-branding-laser-stage__image--3 { grid-area: 1 / 5; }
.doob-bz-branding-laser-stage__image--4 { grid-area: 2 / 5; }

.doob-bz-branding-laser-stage .doob-bz-branding-technique__copy {
  grid-area: 1 / 1 / 3 / 2;
  align-self: center;
  justify-self: center;
}

.doob-bz-branding-technique--burning {
  padding-bottom: var(--branding-section-y);
}

@media (max-width: 1199px) {
  .doob-bz-branding-technique--split > .doob-bz-branding-container {
    display: flex;
  }

  .doob-bz-branding-heading--copy-start {
    text-align: center;
  }

  .doob-bz-branding-split {
    width: min(640px, 100%);
    grid-template-columns: 1fr;
    gap: var(--branding-media-copy);
    margin-top: var(--branding-title-media);
  }

  .doob-bz-branding-gallery--pair {
    width: min(520px, 100%);
    justify-self: center;
  }

  .doob-bz-branding-split .doob-bz-branding-technique__copy {
    justify-self: center;
  }

  .doob-bz-branding-laser-stage {
    width: min(640px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 16px;
    padding-bottom: 0;
  }

  .doob-bz-branding-laser-stage__image--1,
  .doob-bz-branding-laser-stage__image--2,
  .doob-bz-branding-laser-stage__image--3,
  .doob-bz-branding-laser-stage__image--4 {
    grid-area: auto;
  }

  .doob-bz-branding-laser-stage__image--2,
  .doob-bz-branding-laser-stage__image--4 {
    transform: translateY(16px);
  }

  .doob-bz-branding-laser-stage .doob-bz-branding-technique__copy {
    grid-area: auto / 1 / auto / -1;
    justify-self: center;
    margin-top: calc(var(--branding-media-copy) + var(--branding-image-shadow-clearance));
  }
}

@media (max-width: 959px) {
  .doob-bz-branding {
    --branding-section-y: 64px;
    --branding-section-edge: 40px;
    --branding-media-copy: 40px;
  }

  .doob-bz-branding h1 {
    font-size: 36px;
    line-height: 40px;
  }

  .doob-bz-branding h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .doob-bz-branding-gallery--hot {
    width: min(640px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .doob-bz-branding {
    --branding-container-x: 24px;
    --branding-section-y: 48px;
    --branding-section-edge: 40px;
    --branding-title-copy: 24px;
    --branding-title-media: 32px;
    --branding-media-copy: 32px;
    --branding-copy-protection: 8px;
  }

  .doob-bz-branding h1 {
    font-size: 30px;
    line-height: 34px;
  }

  .doob-bz-branding h2 {
    font-size: 26px;
    line-height: 30px;
  }

  .doob-bz-branding-copy {
    min-width: 0;
    font-size: 14px;
  }

  .doob-bz-branding-gallery--hot,
  .doob-bz-branding-laser-stage {
    gap: 8px;
  }

  .doob-bz-branding-gallery--hot {
    padding-bottom: calc(12px + var(--branding-image-shadow-clearance));
  }

  .doob-bz-branding-gallery--hot .doob-bz-branding-gallery__item:nth-child(even),
  .doob-bz-branding-laser-stage__image--2,
  .doob-bz-branding-laser-stage__image--4 {
    transform: translateY(12px);
  }

  .doob-bz-branding-gallery--pair {
    padding-bottom: calc(24px + var(--branding-image-shadow-clearance));
    gap: 8px;
  }

  .doob-bz-branding-gallery--pair .doob-bz-branding-gallery__item:nth-child(2) {
    transform: translateY(24px);
  }

  .doob-bz-branding-laser-stage .doob-bz-branding-technique__copy {
    margin-top: calc(var(--branding-media-copy) + 4px + var(--branding-image-shadow-clearance));
  }
}
