/* BD Universe content slots layered over the maintained shared master. */
.site-header .bdu-brand {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: calc(100% - var(--pad));
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
}
.site-header .nav { gap: clamp(10px, 2.4vw, 38px); }
#home .spread { min-height: auto; }
#home :is(.home-backdrop, .home-copy) { min-height: 0; }
#home .home-copy { padding-bottom: 20pt; }
#home .home-support { padding-left: 0; }
#home .body-copy p + p { margin-top: 1em; }
.home-photo-cta .inquiry-trigger { margin-top: 0; }

.bdu-hero-photo { margin: 0; padding: 0 var(--pad) var(--pad); }
.bdu-hero-photo img { display: block; width: 100%; height: auto; }
.bdu-hero-photo figcaption { margin-top: 12px; font-size: 13px; }
.bdu-gallery { max-width: none; margin: 0; padding: var(--pad); }
.bdu-gallery .headline, .formpage .headline {
  font-family: Antonio, Arial, sans-serif; letter-spacing: var(--antonio-tracking); font-kerning: none;
  font-weight: 700;
}
.bdu-gallery #gallery-products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4.2vw, 64px);
}
.bdu-gallery .gallery-example { border-top: 1px solid currentColor; padding-top: 14px; }
.bdu-gallery h3 { margin: 0; font: 700 clamp(21px, 3vw, 42px)/1.15 Antonio, Arial, sans-serif; letter-spacing: var(--antonio-tracking); font-kerning: none; }
.bdu-gallery .offer { font: 400 clamp(14px, 1.3vw, 18px)/1.45 Arial, sans-serif; }
.bdu-gallery #gallery-products .art { aspect-ratio: auto; background: #fff; display: block; }
.bdu-gallery .art img { display: block; width: 100%; height: auto; }
.bdu-gallery .action { margin-top: auto; gap: 8px; }
.bdu-gallery .share-heading { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.bdu-gallery .quiet { min-height: 44px; }
#guide .spread { min-height: auto; }
#guide .approach-title h1 { font-size: clamp(39px, 5vw, 78px); }
.site-footer.footer { display: flex; background: #000; color: #fff; margin-top: 0; padding: var(--pad); }
.site-footer .partner-invite :is(h2,p,.partner-reply) { color: inherit; }
@media (max-width: 760px) {
  .site-header .nav { padding-inline: 8px; }
  .site-header .bdu-brand { font-size: 12px; }
  .bdu-gallery .action .arrow { width: 15px; }
}
/* Align the existing BD Universe wordmark with the hero text at the split. */
.site-header .bdu-brand {
  position: absolute;
  left: calc(var(--split) + 8px);
  height: auto;
  min-height: 44px;
  margin: 0;
  top: calc((var(--header) - 44px) / 2);
  background: #fff;
  color: #000;
}
.site-header .nav { grid-column: 2; }
@media (max-width: 760px) {
  .site-header .bdu-brand { top: 0; }
  .site-header .nav { align-self: end; justify-content: flex-start; }
  .site-header .nav a { padding-block: 8px; white-space: nowrap; }
}

/* Founder review refinements. */
.site-header .bdu-brand {
  position: static;
  grid-column: 1;
  grid-row: 1;
  place-self: stretch;
  justify-content: center;
  width: auto;
  max-width: none;
  padding-inline: 4px;
  background: #000;
  color: #fff;
  text-align: center;
}
.site-header .bdu-brand:focus-visible { outline-offset: -4px; }
.site-header .nav { grid-row: 1; }

#app {
  --create-type-size: clamp(21px, 2.4vw, 34px);
  --create-type-family: Arial, Helvetica, sans-serif;
}
.home-photo-cta .inquiry-trigger, .bdu-hero-photo figcaption {
  font-family: var(--create-type-family);
  font-size: var(--create-type-size);
  font-weight: 700;
}
.home-photo-cta .inquiry-trigger {
  margin-inline-start: 0;
  width: fit-content;
}
.home-photo-cta .create-help {
  margin: 12px 0 0;
  text-align: left;
  text-wrap: pretty;
}
.bdu-hero-photo { position: relative; }
.bdu-hero-photo figcaption {
  position: absolute;
  inset-inline: calc(var(--pad) + clamp(12px, 3vw, 40px));
  bottom: calc(var(--pad) + clamp(12px, 3vw, 40px));
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 5px #000, 0 1px 12px #000;
}

.bdu-gallery button.share-action {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 8px;
  background: #fff;
  color: #000;
}

#guide .approach-title { justify-content: center; }
#guide .approach-title h1 { margin-block: 0; }


.site-footer .footer-identity { flex: 0 0 100%; text-align: center; }
.site-footer .notice-links { margin-inline: auto; justify-content: center; }

@media (max-width: 760px) {
  #app { --create-type-size: 25px; }
}
@media (max-width: 380px) {
  #app { --create-type-size: 22px; }
}

@media (max-width: 760px) {
  .site-header .nav {
    justify-content: flex-end;
    padding-inline-end: max(8px, env(safe-area-inset-right));
  }
}

.antonio-touch-word{display:inline-block;white-space:nowrap;letter-spacing:0;font-kerning:none}.antonio-touch-word>span{display:inline-block;letter-spacing:0;font-kerning:none}

/* Keep collapsed method titles readable on the black panel. */
#guide .approach-body .method-collapsed-title { color: #fff; }

/* Hide horizontal strokes without changing box dimensions or focus outlines. */
*, *::before, *::after {
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
  text-decoration-line: none !important;
}
hr { visibility: hidden; }

/* Keep both heading lines intact and move the text as one group. */
.hero-composition { display: block; container-type: inline-size; }
.hero-composition {
  --previous-title-size: min(clamp(32px, 3.8vw, 64px), 9cqi);
}
/* Half the old 150pt padding and half the old half-heading spacer. */
.hero-text-spacer { height: calc(75pt + .56 * var(--previous-title-size)); }
.hero-composition #home-title {
  font-size: calc(1.08 * var(--previous-title-size));
}
.hero-composition .headline-ink {
  white-space: nowrap;
  overflow-wrap: normal;
}
.hero-text-group > .home-support { margin-top: 40px; }
@media (max-width: 760px) {
  .hero-composition {
    --previous-title-size: min(clamp(30px, 7.5vw, 50px), 9cqi);
  }
}

/* Color the open field between the header's wordmark and Create. */
@property --header-hue {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 75% calc(var(--pad) + 44px) 0 var(--split);
  pointer-events: none;
  background:
    linear-gradient(to bottom, #fff, transparent),
    linear-gradient(to right,
      hsl(var(--header-hue, 0deg) 82% 88%),
      hsl(calc(var(--header-hue, 0deg) + 60deg) 82% 88%));
}
.site-header > .nav { position: relative; }
@media (max-width: 760px) {
  .site-header::before {
    right: calc(86px + max(8px, env(safe-area-inset-right)));
  }
}
[data-scroll-group]:focus-within {
  scroll-margin-block-start: var(--header);
}

.home-feature .bdu-hero-photo { padding-bottom: 0; margin-block-end: 20pt; }
.home-feature .bdu-hero-photo figcaption { bottom: clamp(12px, 3vw, 40px); }
.home-photo-cta { display: block; margin: 0; padding: 0 var(--pad); }
.home-photo-cta .inquiry-trigger { padding-block: 8px; }
.home-photo-cta .create-help { margin-top: 4px; }
.gallery-pair { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }

@media (min-width: 761px) {
  .site-header::before { right: 0; }
  .site-header > .nav a { background: rgb(255 255 255 / 90%); }
}
/* The top stays anchored while the bottom follows the last line of supporting copy. */
.hero-composition .hero-rule { bottom: auto; height: var(--hero-rule-height, 100%); }

.bdu-gallery > #gallery-products { padding-block-start: 30pt; }


.bdu-desktop-nav { display: none; }
@media (min-width: 761px) {
  .site-header .bdu-brand {
    justify-content: flex-start;
    padding-inline-start: var(--pad);
    text-align: left;
  }
  .site-header .nav .bdu-mobile-create { display: none; }
  .bdu-desktop-nav { display: block; position: relative; }
  .bdu-desktop-nav summary {
    display: flex;
    justify-content: center;
    min-width: 86px;
    min-height: 44px;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    font-weight: 700;
    list-style: none;
  }
  .bdu-desktop-nav summary::-webkit-details-marker { display: none; }
  .bdu-desktop-nav ul {
    position: absolute;
    inset: 100% 0 auto auto;
    z-index: 1;
    min-width: max-content;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    box-shadow: 0 6px 20px #0002;
  }
  .bdu-desktop-nav ul a { padding-inline: 16px; }
  .bdu-desktop-nav ul a:hover { background: #eee; }
  .bdu-desktop-nav :is(summary, a):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
  }
}

/* BD Universe uses a single black panel for its method. */
#guide .spread { grid-template-columns: minmax(0, 1fr); }
#guide .approach-body > h1 {
  color: inherit;
  font-size: clamp(39px, 5vw, 78px);
}
