/* Product identities only. Portraits, people and founder styles stay in their own files. */
.product-identity {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  max-width: 100%;
}

.product-identity > :not(.product-mark) { min-width: 0; }

.product-mark {
  display: block;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  max-width: 100%;
  object-fit: contain;
}

.product-wordmark {
  display: block;
  width: 260px;
  max-width: 100%;
  height: 32px;
  object-fit: contain;
  object-position: left center;
}

.product-identity > .product-wordmark {
  flex: 1 1 160px;
  min-width: 0;
  max-width: 260px;
}

.product-identity h2,
.product-identity h3 {
  margin: 0;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

/* The product name remains an ordinary, visible heading in the page markup. */
.product-brand-panel {
  display: flex;
  align-items: center;
  gap: clamp(30px, 4.3vw, 66px);
  min-width: 0;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line, #d3d6cb);
  color: var(--ink, #171b18);
}

.product-brand-panel > :not(img) { min-width: 0; }

.product-brand-panel > .product-mark,
.product-brand-panel .brand-icon-large {
  display: block;
  flex: 0 0 160px;
  width: 160px;
  height: 160px;
  max-width: 100%;
  object-fit: contain;
}

.product-brand-panel h1 {
  font-size: clamp(46px, 6.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}

.product-brand-panel .product-wordmark {
  margin-bottom: 22px;
  max-width: 260px;
}

.product-brand-meta,
.product-brand-panel .product-brand-meta {
  margin: 0 0 15px;
  color: var(--muted, #60665f);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.product-brand-panel .lead {
  max-width: 50ch;
  margin-top: 24px;
}

/* Existing catalog grid and related-product strips keep their structure. */
.product-tile.branded-tile {
  min-width: 0;
  min-height: 360px;
  padding: 34px 30px 30px;
  background: transparent;
  overflow-wrap: anywhere;
}

.product-tile.branded-tile:hover { background: #eeeee6; }

.branded-tile .tile-top { margin-bottom: 34px; }

.branded-tile .product-identity {
  gap: 18px;
  margin-bottom: 9px;
}

.branded-tile .product-identity h3 {
  font-size: clamp(23px, 2.05vw, 30px);
  letter-spacing: -.035em;
}

.branded-tile > .product-wordmark { margin: 20px 0 2px; }

.branded-tile > p {
  max-width: 38ch;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.7;
}

.branded-tile .tile-foot { padding-top: 30px; }

.product-strip .product-tile.branded-tile {
  padding: 30px 0;
  min-height: 315px;
}

.product-strip .product-tile.branded-tile:hover { background: transparent; }

/* A quiet index of the product family, designed to sit between homepage sections. */
.brand-collection {
  padding-top: clamp(52px, 6.3vw, 88px);
  padding-bottom: clamp(52px, 6.3vw, 88px);
  background: var(--paper, #f5f4ef);
  color: var(--ink, #171b18);
}

.brand-collection .split-heading { margin-bottom: 42px; }

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

.brand-collection-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 14px 20px;
  min-width: 0;
  min-height: 132px;
  padding: 30px 0;
  border-top: 1px solid var(--line, #d3d6cb);
  color: inherit;
  text-decoration: none;
}

.brand-collection-item > * { min-width: 0; }

.brand-collection-item .product-mark {
  flex-basis: 56px;
  width: 56px;
  height: 56px;
}

.brand-collection-item .product-wordmark {
  width: 100%;
  max-width: 230px;
  height: 30px;
}

.brand-collection-item .product-identity { gap: 20px; }

.brand-collection-item > .product-identity { grid-column: 1 / 3; }

.brand-collection-item h3 {
  margin: 0;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.2;
}

.brand-collection-item p,
.brand-collection-item .product-brand-meta {
  grid-column: 2;
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted, #60665f);
}

.brand-collection-item .arrow {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  font-size: 20px;
}

.brand-collection-item:hover {
  border-top-color: var(--ink, #171b18);
}

.brand-collection-item:hover h3,
.brand-collection-item:hover .arrow { color: var(--red-text, #c52d19); }

.brand-download {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 0;
  color: var(--ink, #171b18);
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.5;
}

.brand-download:hover { color: var(--red-text, #c52d19); }
.product-brand-panel .brand-download { margin-top: 20px; }

.brand-collection-item:focus-visible,
.branded-tile:focus-visible,
.brand-download:focus-visible {
  outline: 2px solid var(--red-text, #c52d19);
  outline-offset: 6px;
}

@media (max-width: 1100px) {
  .product-tile.branded-tile { padding: 30px 23px; }
  .branded-tile .product-identity { gap: 14px; }
  .branded-tile .product-mark { flex-basis: 64px; width: 64px; height: 64px; }
  .brand-collection-grid { gap: 0 28px; }
}

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

@media (max-width: 760px) {
  .product-brand-panel { gap: 28px; margin-top: 30px; padding-top: 28px; align-items: flex-start; }
  .product-brand-panel > .product-mark,
  .product-brand-panel .brand-icon-large { flex-basis: 116px; width: 116px; height: 116px; }
  .product-brand-panel h1 { font-size: clamp(40px, 7vw, 62px); }
  .product-brand-panel .product-wordmark { max-width: 220px; height: 29px; margin-bottom: 18px; }
  .product-brand-panel .lead { margin-top: 20px; }
  .product-tile.branded-tile { min-height: 330px; padding: 28px 23px; }
  .branded-tile .tile-top { margin-bottom: 28px; }
  .product-strip .product-tile.branded-tile { min-height: 0; padding: 28px 0; }
  .product-strip .branded-tile .tile-top { margin-bottom: 20px; }
  .brand-collection .split-heading { margin-bottom: 30px; }
  .brand-collection-item { min-height: 118px; padding: 26px 0; gap: 12px 18px; }
}

@media (max-width: 620px) {
  .brand-collection-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-collection-item .product-wordmark { max-width: 250px; }
  .brand-collection-item:last-child { border-bottom: 1px solid var(--line, #d3d6cb); }
  .product-brand-panel { flex-direction: column; gap: 25px; }
  .product-brand-panel > .product-mark,
  .product-brand-panel .brand-icon-large { flex-basis: auto; width: 104px; height: 104px; }
  .product-brand-panel h1 { font-size: clamp(39px, 9vw, 56px); }
}

@media (max-width: 480px) {
  .product-tile.branded-tile { padding: 27px 22px; min-height: 320px; }
  .branded-tile .product-mark { flex-basis: 64px; width: 64px; height: 64px; }
  .branded-tile .product-identity { gap: 16px; }
  .branded-tile .product-identity h3 { font-size: 25px; }
  .branded-tile .product-wordmark { height: 29px; }
  .branded-tile > p { font-size: 14px; margin-top: 19px; }
  .brand-collection-item { gap: 12px 17px; min-height: 108px; padding: 24px 0; }
  .brand-collection-item .product-wordmark { height: 28px; }
  .product-brand-panel .product-brand-meta { font-size: 10px; margin-bottom: 12px; }
  .product-brand-panel .brand-download { margin-top: 15px; }
}

@media (forced-colors: active) {
  .brand-collection-item:focus-visible,
  .branded-tile:focus-visible,
  .brand-download:focus-visible { outline-color: Highlight; }
}

/* Outlined wordmarks retain identical lettering on every device. */
.branded-tile .product-identity{display:block}
.branded-tile .product-identity h3{margin-top:16px}
.branded-tile .product-wordmark{height:46px;width:100%;max-width:290px;object-position:left center}
.brand-collection-item .product-wordmark{height:42px}
.brand-collection-status{margin-top:7px;font-size:10px}
.product-brand-panel .product-brand-copy{flex:1;min-width:0}
.product-brand-panel h1 .product-wordmark{width:650px;max-width:100%;height:110px;margin:0;object-position:left center}
.product-brand-panel .actions{margin-top:28px}
.product-brand-panel .product-brand-meta{margin-top:0}
@media(max-width:760px){.product-brand-panel h1 .product-wordmark{height:80px}.branded-tile .product-wordmark{height:42px}}
@media(max-width:480px){.product-brand-panel h1 .product-wordmark{height:70px}.brand-collection-item .product-wordmark{height:38px}}
