/* V4: distinct roles for brands, new arrivals, selection, efficiency and bestsellers. */
.hero-brand-showcase {
  background: #eff3ed;
  padding: 0;
  min-height: 550px;
  display: flex;
  flex-direction: column;
}
.brand-wall-heading {
  display: flex;
  justify-content: space-between;
  padding: 27px 25px 23px;
  font-size: 14px;
  color: var(--brand);
}
.brand-wall-heading > span:last-child {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #81937a;
}
.brand-river {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  height: 374px;
  overflow: hidden;
  padding: 0 16px;
  border-block: 1px solid #dde5d7;
}
.brand-lane {
  overflow: hidden;
}
.brand-track {
  animation: brand-rise 45s linear infinite;
  will-change: transform;
}
.brand-track.reverse {
  animation-direction: reverse;
  animation-duration: 52s;
}
.brand-lane:nth-child(3) .brand-track {
  animation-duration: 48s;
  animation-delay: -10s;
}
.brand-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 12px;
}
.brand-name-card {
  height: 103px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: white;
  border: 1px solid #e0e7da;
  padding: 12px 8px;
  text-decoration: none;
  border-radius: 3px;
  transition: border-color 0.2s;
}
.brand-name-card:hover {
  border-color: var(--brand);
}
.brand-name-card span {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  color: var(--brand);
  overflow-wrap: anywhere;
}
.brand-name-card small {
  font-size: 11px;
  color: #94a08c;
}
.brand-browse-link {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 8px;
  font-size: 13px;
  color: var(--brand);
  text-decoration: none;
}
.hero-brand-showcase .hero-shelf-caption {
  padding: 22px 25px 25px;
  flex: 1;
}
.hero-brand-showcase .hero-shelf-caption strong {
  font-size: 18px;
}
@keyframes brand-rise {
  to {
    transform: translate3d(0, -50%, 0);
  }
}
.logo-track {
  animation-duration: 210s;
}
.logo-track.reverse {
  animation-duration: 230s;
}
.channel-logo .photo-window {
  height: 100%;
  width: 100%;
}
.channel-logo {
  padding: 18px;
}
.channel-section-copy h2 {
  margin-top: 15px;
}
.channel-section {
  scroll-margin-top: 100px;
}
.product-river {
  height: 410px;
  overflow: hidden;
  border-block: 1px solid #e0e7d9;
}
.product-river-track {
  animation: brand-rise 56s linear infinite;
  will-change: transform;
}
.product-river-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 12px;
}
.feed-product {
  min-width: 0;
  border: 1px solid #dfe7d9;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
}
.feed-product > .photo-window {
  aspect-ratio: 1;
  width: 100%;
  height: auto;
}
.feed-product figcaption {
  padding: 10px 12px;
  line-height: 1.6;
}
.feed-product figcaption > strong {
  font-weight: 500;
  font-size: 14px;
  color: var(--brand);
}
.feed-product figcaption > span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
  overflow-wrap: anywhere;
}
.arrivals-demo {
  padding: 20px;
}
.arrivals-demo .demo-heading {
  margin-bottom: 18px;
}
.arrival-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.8;
}
.arrival-foot a {
  white-space: nowrap;
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.arrival-foot .icon {
  width: 16px;
  height: 16px;
}
.intent-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 17px 0;
}
.intent-chips > span {
  font-size: 13px;
  padding: 5px 10px;
  color: var(--brand);
  background: #edf3e8;
  border: 1px solid #d4e1cb;
}
.intent-reason {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 20px;
}
.intent-demo .filter-preview-grid {
  min-height: 280px;
}
.intent-demo .filter-preview-grid .goods-tile > .photo-window {
  aspect-ratio: 1.35;
}
.prompt-typing {
  display: block;
  white-space: nowrap;
  max-width: 100%;
  animation: prompt-type 1.7s steps(12, end) both;
  overflow: hidden;
}
.typing-caret {
  width: 1px;
  height: 19px;
  flex-shrink: 0;
  background: var(--brand);
  animation: caret-blink 1s steps(1) infinite;
}
.demo-search {
  gap: 9px;
}
.demo-search .search-symbol {
  flex-shrink: 0;
}
.intent-demo .demo-search {
  font-size: 15px;
}
.intent-demo .demo-search strong {
  font-weight: 400;
  color: #243d29;
}
@keyframes prompt-type {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}
.aftersales-stream {
  height: 360px;
  overflow: hidden;
  border-block: 1px solid #dfe6d8;
  background: #f8faf5;
}
.event-track {
  animation: brand-rise 32s linear infinite;
  will-change: transform;
}
.event-group {
  display: flex;
  flex-direction: column;
}
.aftersales-event {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 103px;
  padding: 21px 18px;
  border-bottom: 1px solid #e0e7d8;
  position: relative;
}
.event-number {
  font-size: 12px;
  color: #7a9070;
  padding-top: 4px;
}
.aftersales-event strong {
  font-size: 17px;
  font-weight: 500;
  color: #17482d;
}
.aftersales-event p {
  font-size: 14px;
  line-height: 1.8;
  color: #687861;
  margin: 7px 0 0;
}
.event-line {
  position: absolute;
  right: 18px;
  top: 29px;
  width: 7px;
  height: 7px;
  border: 1px solid #6e8d60;
  background: #e3eddc;
  border-radius: 50%;
}
.aftersales-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  line-height: 1.8;
  margin: 18px 0;
  color: var(--muted);
}
.aftersales-bottom a {
  color: var(--brand);
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  white-space: nowrap;
}
.aftersales-bottom .icon {
  width: 16px;
}
.motion-sleep .brand-track,
.motion-sleep .product-river-track,
.motion-sleep .event-track {
  animation-play-state: paused;
}
.efficiency-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 60px;
  align-items: start;
}
.efficiency-tabs {
  display: block;
}
.efficiency-tabs button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  min-height: 99px;
  padding: 25px 0;
  width: 100%;
}
.efficiency-tabs button > strong {
  font-size: 21px;
  font-weight: 500;
}
.efficiency-tabs button > .icon {
  margin-left: auto;
}
.efficiency-panel {
  background: white;
  border: 1px solid #dce5d5;
  min-height: 430px;
  border-radius: 3px;
  padding: 30px;
}
.efficiency-story {
  animation: business-in 0.3s ease both;
}
.efficiency-story h3 {
  font-size: 24px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--brand);
  margin: 0 0 26px;
}
.efficiency-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.efficiency-comparison > div {
  padding: 18px;
  background: #f7f8f4;
}
.efficiency-comparison > div:last-child {
  background: #edf4e7;
}
.efficiency-comparison > div > span {
  font-size: 13px;
  color: #6b7c60;
  display: block;
  border-bottom: 1px solid #dce4d4;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.efficiency-comparison p {
  font-size: 15px;
  line-height: 1.8;
  display: flex;
  gap: 9px;
  align-items: baseline;
  margin: 14px 0;
  color: #35482d;
}
.efficiency-comparison small {
  font-size: 10px;
  color: #809272;
  flex-shrink: 0;
}
.efficiency-value {
  margin: 25px 0 0;
  color: var(--brand);
  font-size: 16px;
  line-height: 1.8;
}
.hot-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hot-visual {
  background: #edf2e7;
  padding: 20px;
  border: 1px solid #dce5d5;
  border-radius: 3px;
}
.hot-river {
  height: 440px;
}
.hot-river .product-river-track {
  animation-duration: 46s;
}
.hot-copy h2 {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.5;
  margin: 19px 0 22px;
}
.hot-copy > p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}
.hot-idea-list {
  display: flex;
  flex-direction: column;
  margin: 25px 0 22px;
  border-top: 1px solid #dfe6d7;
}
.hot-idea-list span {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid #dfe6d7;
  font-size: 16px;
  color: var(--brand);
}
.hot-copy .text-link {
  font-size: 15px;
}
.hot-copy .hot-scope {
  font-size: 12px;
  margin-top: 20px;
}
.feed-empty {
  padding: 40px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.feed-empty button {
  display: block;
  color: var(--brand);
  text-decoration: underline;
  margin-top: 12px;
}
.brand-directory {
  padding-top: 38px;
  padding-bottom: 80px;
  min-height: 80vh;
}
.directory-back {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.directory-heading {
  margin: 35px 0;
}
.directory-heading h1 {
  font-size: 40px;
  line-height: 1.5;
  font-weight: 500;
  margin-top: 18px;
}
.directory-heading p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 14px;
}
.brand-search-label {
  font-size: 14px;
  display: block;
  margin-bottom: 9px;
}
.brand-directory input {
  width: min(100%, 600px);
  height: 52px;
  border: 1px solid #cad8bf;
  padding: 0 16px;
  background: #f8faf5;
  font: inherit;
  font-size: 16px;
  border-radius: 3px;
}
.brand-directory-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.directory-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 100px;
  padding: 18px;
  color: var(--brand);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  background: #f4f7ef;
  border: 1px solid #dfe7d7;
  border-radius: 3px;
}
.directory-brand:hover {
  border-color: var(--brand);
}
.directory-brand .icon {
  width: 17px;
  flex-shrink: 0;
}
.brand-empty {
  font-size: 15px;
  color: var(--muted);
  grid-column: 1/-1;
}
.brand-products h2 {
  font-size: 26px;
  font-weight: 500;
  margin: 42px 0 20px;
}
.brand-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.brand-products > p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin: 22px 0;
}
.brand-products .text-link {
  font-size: 15px;
}
.login-content input {
  cursor: text;
  color: #1f1f1f;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.login-content input:focus,
.brand-directory input:focus,
.cooperation-fields input:focus,
.cooperation-need textarea:focus {
  outline: 0;
  border-color: var(--brand);
  background: white;
  box-shadow: 0 0 0 3px #0f4d3e14;
}
.login-content input::placeholder {
  color: #91a08b;
}
.login-content .login-disclaimer {
  font-size: 12px;
  line-height: 1.8;
}
#contact-dialog {
  width: min(660px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  padding: 35px;
  overflow: auto;
}
.cooperation-role {
  padding: 0;
  border: 0;
  display: flex;
  gap: 14px;
  margin: 22px 0;
}
.cooperation-role legend {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.cooperation-role label {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.cooperation-role input {
  accent-color: var(--brand);
  width: 17px;
  height: 17px;
}
.cooperation-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.cooperation-fields label,
.cooperation-need {
  display: block;
  font-size: 14px;
  line-height: 1.8;
}
.cooperation-fields input,
.cooperation-need textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 11px 13px;
  border: 1px solid #cfdac5;
  border-radius: 3px;
  background: #f8faf5;
  font: inherit;
  font-size: 14px;
  box-sizing: border-box;
  resize: vertical;
}
.cooperation-hint {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 13px 0 18px;
}
.cooperation-next {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #dfe6d7;
}
.cooperation-next > span {
  font-size: 13px;
  color: var(--brand);
}
.cooperation-next p {
  font-size: 14px;
  line-height: 1.8;
  margin: 9px 0;
  color: #4b5f40;
}
.cooperation-next small {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.cooperation-preview {
  margin-top: 25px;
  padding: 22px;
  background: #f3f7ed;
  border: 1px solid #dce7d1;
}
.cooperation-preview h3 {
  font-size: 22px;
  margin: 12px 0;
  font-weight: 500;
}
.cooperation-preview p {
  font-size: 14px;
  color: var(--muted);
}
.cooperation-message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.9;
  font-size: 15px;
  color: #31462a;
  margin: 20px 0;
}
.cooperation-preview .text-link {
  font-size: 14px;
}
#scenarios,
#workflow,
#capability,
.brand-directory {
  scroll-margin-top: 110px;
}
@media (max-width: 1100px) {
  .brand-name-card span {
    font-size: 19px;
  }
  .hero-brand-showcase .hero-shelf-caption {
    display: block;
  }
  .brand-browse-link {
    margin-top: 14px;
  }
  .hero-brand-showcase .hero-shelf-caption strong {
    font-size: 17px;
  }
  .efficiency-layout {
    gap: 30px;
    grid-template-columns: 0.7fr 1.3fr;
  }
  .efficiency-tabs button > strong {
    font-size: 18px;
  }
  .efficiency-panel {
    padding: 24px;
  }
  .efficiency-comparison {
    gap: 12px;
  }
  .efficiency-comparison > div {
    padding: 13px;
  }
  .efficiency-comparison p {
    font-size: 14px;
  }
  .hot-section {
    gap: 35px;
  }
  .hot-copy h2 {
    font-size: 31px;
  }
  .brand-directory-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .hero-brand-showcase {
    min-height: 480px;
  }
  .brand-wall-heading {
    padding: 20px 18px;
    font-size: 13px;
  }
  .brand-river {
    height: 310px;
    gap: 8px;
    padding-inline: 10px;
  }
  .brand-group {
    gap: 8px;
    padding-bottom: 8px;
  }
  .brand-name-card {
    height: 93px;
    padding: 12px 5px;
  }
  .brand-name-card span {
    font-size: 19px;
  }
  .brand-name-card small {
    font-size: 10px;
  }
  .hero-brand-showcase .hero-shelf-caption {
    display: flex;
    align-items: flex-start;
    padding: 20px 18px;
    gap: 9px;
  }
  .hero-brand-showcase .hero-shelf-caption strong {
    font-size: 16px;
  }
  .hero-brand-showcase .hero-shelf-caption span {
    font-size: 12px;
  }
  .brand-browse-link {
    margin-top: 0;
    font-size: 12px;
    gap: 3px;
  }
  .brand-browse-link .icon {
    width: 16px;
  }
  .arrivals-demo {
    padding: 16px;
  }
  .product-river {
    height: 390px;
  }
  .product-river-group {
    gap: 10px;
    padding-bottom: 10px;
  }
  .feed-product figcaption {
    padding: 8px 10px;
  }
  .feed-product figcaption > strong {
    font-size: 13px;
  }
  .feed-product figcaption > span {
    font-size: 12px;
  }
  .arrival-foot {
    font-size: 12px;
    display: block;
    margin-top: 16px;
  }
  .arrival-foot a {
    margin-top: 9px;
  }
  .intent-demo .demo-search {
    font-size: 13px;
    padding: 12px 9px;
    gap: 7px;
  }
  .intent-chips > span {
    font-size: 12px;
  }
  .intent-reason {
    font-size: 13px;
  }
  .intent-demo .filter-preview-grid {
    min-height: 260px;
  }
  .intent-demo .filter-preview-grid .goods-tile > .photo-window {
    aspect-ratio: 1;
  }
  .aftersales-stream {
    height: 340px;
  }
  .aftersales-event {
    min-height: 106px;
    padding: 19px 13px;
    gap: 11px;
  }
  .aftersales-event strong {
    font-size: 16px;
  }
  .aftersales-event p {
    font-size: 13px;
    padding-right: 6px;
  }
  .event-line {
    right: 9px;
  }
  .aftersales-bottom {
    display: block;
    font-size: 12px;
  }
  .aftersales-bottom a {
    margin-top: 9px;
  }
  .efficiency-layout {
    display: block;
  }
  .efficiency-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 15px;
    margin-bottom: 24px;
  }
  .efficiency-tabs button {
    min-height: 75px;
    gap: 9px;
    padding-block: 16px;
  }
  .efficiency-tabs button > strong {
    font-size: 15px;
  }
  .efficiency-tabs button > .icon {
    display: none;
  }
  .efficiency-panel {
    padding: 21px 18px;
    min-height: 470px;
  }
  .efficiency-story h3 {
    font-size: 23px;
    margin-bottom: 20px;
  }
  .efficiency-comparison {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .efficiency-comparison > div {
    padding: 15px;
  }
  .efficiency-comparison > div > span {
    font-size: 12px;
    padding-bottom: 9px;
    margin-bottom: 9px;
  }
  .efficiency-comparison p {
    font-size: 13px;
    margin: 9px 0;
  }
  .efficiency-value {
    font-size: 15px;
    margin-top: 20px;
  }
  .hot-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .hot-visual,
  .hot-copy {
    width: 100%;
  }
  .hot-visual {
    padding: 16px;
  }
  .hot-river {
    height: 390px;
  }
  .hot-copy h2 {
    font-size: 29px;
  }
  .hot-copy > p {
    font-size: 15px;
  }
  .hot-idea-list {
    margin: 20px 0;
  }
  .hot-idea-list span {
    font-size: 15px;
    padding: 14px 0;
  }
  .hot-copy .hot-scope {
    font-size: 12px;
  }
  .brand-directory {
    padding-top: 25px;
    padding-bottom: 55px;
  }
  .directory-heading h1 {
    font-size: 29px;
  }
  .directory-heading p {
    font-size: 15px;
  }
  .brand-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .directory-brand {
    font-size: 16px;
    min-height: 82px;
    padding: 15px 12px;
  }
  .brand-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .brand-products h2 {
    font-size: 22px;
  }
  .brand-directory input {
    font-size: 15px;
  }
  #contact-dialog {
    padding: 29px 21px;
    max-height: calc(100dvh - 24px);
  }
  .cooperation-fields {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cooperation-role label {
    font-size: 14px;
  }
  .cooperation-preview {
    padding: 18px;
  }
  .cooperation-next p {
    font-size: 13px;
  }
  .cooperation-message {
    font-size: 14px;
  }
  #scenarios,
  #workflow,
  #capability,
  .brand-directory {
    scroll-margin-top: 85px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-track,
  .product-river-track,
  .event-track,
  .prompt-typing,
  .typing-caret {
    animation: none !important;
  }
}
.aftersales-stream {
  background: #f4f7ef;
  border: 1px solid #dde6d4;
  border-radius: 3px;
  padding: 0 10px;
}
.event-track {
  animation-duration: 42s;
}
.aftersales-event {
  background: white;
  margin-bottom: 10px;
  border: 1px solid #e0e7da;
  border-radius: 3px;
  min-height: 145px;
  padding: 20px 15px;
  gap: 15px;
}
.event-group {
  padding-bottom: 0;
}
.event-type {
  font-size: 11px;
  flex-shrink: 0;
  color: #386446;
  background: #edf5e6;
  border: 1px solid #d6e4cb;
  padding: 5px 7px;
  line-height: 1.5;
}
.aftersales-event > div {
  min-width: 0;
  flex: 1;
}
.event-quote {
  margin-top: 11px;
  background: #f7f9f3;
  border-left: 2px solid #b3c7a2;
  padding: 9px 12px;
}
.event-quote small {
  font-size: 11px;
  color: var(--muted);
}
.event-quote p {
  margin: 4px 0;
  font-size: 14px;
  color: #273c20;
}
.event-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.event-tags > span {
  font-size: 12px;
  padding: 5px 8px;
  border: 1px solid #dce6d4;
  background: #f8faf5;
  color: #507442;
}
.event-checks {
  margin: 12px 0 0;
}
.event-checks > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
  padding: 7px 0;
  border-top: 1px solid #e7ecdf;
}
.event-checks dt {
  color: var(--muted);
}
.event-checks dd {
  margin: 0;
  color: #587e47;
}
.event-route {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 14px;
  font-size: 12px;
  color: #52733f;
}
.event-route b {
  font-weight: 400;
  color: #91a583;
}
@media (max-width: 760px) {
  .aftersales-event {
    gap: 10px;
    padding: 16px 12px;
    min-height: 158px;
  }
  .event-type {
    font-size: 10px;
    padding: 4px 5px;
  }
  .aftersales-event strong {
    font-size: 15px;
  }
  .event-quote {
    padding: 8px;
  }
  .event-quote p {
    font-size: 13px;
  }
  .event-tags {
    gap: 5px;
  }
  .event-tags > span {
    font-size: 11px;
    padding: 4px 6px;
  }
  .event-checks > div {
    font-size: 12px;
  }
  .aftersales-stream {
    padding-inline: 8px;
  }
}
.brand-name-card > .photo-window {
  height: 52px;
  width: calc(100% - 24px);
  background: transparent;
}
.brand-name-card > .photo-window > svg {
  height: 100%;
  width: 100%;
}
.brand-name-card small {
  font-size: 11px;
  color: #64775b;
}
.directory-brand {
  position: relative;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 146px;
  padding: 18px 25px;
  background: #fff;
}
.directory-brand > .photo-window {
  width: 100%;
  height: 66px;
  background: transparent;
}
.directory-brand > span {
  font-size: 13px;
  color: var(--muted);
}
.directory-brand > .icon {
  position: absolute;
  right: 12px;
  bottom: 13px;
  width: 15px;
  height: 15px;
}
.cooperation-preview-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.conversation-empty {
  padding-top: 70px;
  padding-bottom: 100px;
  min-height: 70vh;
}
.conversation-empty h1 {
  font-size: 30px;
  font-weight: 500;
}
.conversation-empty p {
  margin: 20px 0 30px;
  line-height: 1.9;
  color: var(--muted);
}
.conversation-shell {
  padding-block: 35px 75px;
}
.conversation-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
}
.conversation-top h1 {
  font-size: 34px;
  font-weight: 500;
  margin: 13px 0;
}
.conversation-top p {
  font-size: 15px;
  color: var(--muted);
}
.conversation-role-badge {
  font-size: 13px;
  padding: 8px 12px;
  color: var(--brand);
  background: #edf4e7;
  white-space: nowrap;
  border: 1px solid #dce5d4;
}
.conversation-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  align-items: start;
}
.conversation-panel {
  border: 1px solid #dce5d4;
  border-radius: 4px;
  overflow: hidden;
}
.conversation-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f3f7ee;
  border-bottom: 1px solid #dce5d4;
}
.conversation-panel-heading strong {
  font-size: 16px;
  font-weight: 500;
}
.conversation-panel-heading > span {
  font-size: 12px;
  color: var(--muted);
}
.conversation-log {
  height: 380px;
  overflow: auto;
  padding: 25px 22px;
  background: #fcfdf9;
}
.conversation-message {
  max-width: 85%;
  margin: 0 0 22px;
  clear: both;
}
.conversation-message.mine {
  margin-left: auto;
}
.conversation-message > div {
  display: flex;
  gap: 13px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.conversation-message.mine > div {
  justify-content: flex-end;
}
.conversation-message strong {
  font-weight: 400;
}
.conversation-message p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.85;
  padding: 13px 16px;
  background: #f0f4e9;
  border: 1px solid #dfe7d6;
  color: #2b4524;
  border-radius: 3px;
}
.conversation-message.theirs p {
  background: white;
  color: #333;
  border-color: #e1e7d9;
}
.conversation-compose {
  padding: 20px;
  border-top: 1px solid #dce5d4;
}
.conversation-compose textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1ddc6;
  background: #fbfcf8;
  border-radius: 3px;
  font: inherit;
  font-size: 15px;
  line-height: 1.8;
  resize: vertical;
  max-height: 240px;
  min-height: 100px;
}
.conversation-compose textarea:focus {
  outline: 2px solid #0f4d3e20;
  border-color: var(--brand);
}
.conversation-compose > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 14px;
}
.conversation-compose > div > span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.notification-preview {
  padding: 25px;
  background: #f4f8ed;
  border: 1px solid #dce6d1;
  border-radius: 3px;
}
.notification-preview .eyebrow {
  font-size: 12px;
}
.notification-preview h2 {
  font-size: 23px;
  font-weight: 500;
  margin: 18px 0;
}
.notification-preview dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  padding: 12px 0;
  border-top: 1px solid #dfe7d6;
}
.notification-preview dt {
  color: var(--muted);
}
.notification-preview dd {
  margin: 0;
}
.notification-preview > p {
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 18px 0 24px;
}
.notification-preview small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 15px;
  line-height: 1.8;
}
.conversation-explanation {
  margin: 25px 0;
}
.conversation-explanation h3 {
  font-size: 17px;
  font-weight: 500;
  color: var(--brand);
}
.conversation-explanation p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 12px;
}
.conversation-aside > .text-link {
  font-size: 14px;
}
@media (max-width: 760px) {
  .brand-name-card > .photo-window {
    height: 48px;
    width: calc(100% - 8px);
  }
  .brand-name-card small {
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
  }
  .directory-brand {
    min-height: 130px;
    padding: 16px 22px;
  }
  .directory-brand > .photo-window {
    height: 57px;
  }
  .directory-brand > span {
    font-size: 12px;
  }
  .conversation-shell {
    padding-top: 25px;
  }
  .conversation-top {
    align-items: flex-start;
  }
  .conversation-top h1 {
    font-size: 27px;
    overflow-wrap: anywhere;
  }
  .conversation-role-badge {
    font-size: 11px;
    padding: 6px 8px;
  }
  .conversation-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  .conversation-panel,
  .conversation-aside {
    width: 100%;
  }
  .conversation-panel-heading {
    display: block;
    padding: 17px;
  }
  .conversation-panel-heading > span {
    display: block;
    font-size: 11px;
    margin-top: 7px;
  }
  .conversation-log {
    height: 350px;
    padding: 20px 15px;
  }
  .conversation-message {
    max-width: 92%;
  }
  .conversation-message p {
    font-size: 14px;
    padding: 11px 13px;
  }
  .conversation-compose {
    padding: 16px;
  }
  .conversation-compose textarea {
    font-size: 14px;
  }
  .conversation-compose > div {
    display: block;
  }
  .conversation-compose .button {
    width: 100%;
    margin-top: 12px;
  }
  .notification-preview {
    padding: 21px;
  }
  .conversation-top p {
    font-size: 13px;
  }
  .conversation-explanation p {
    font-size: 13px;
  }
}
.conversation-top > div {
  min-width: 0;
}
.conversation-top h1 {
  overflow-wrap: anywhere;
}
.notification-preview dd {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}
/* Calm hero: one direction, a quarter of the former travel speed, softer crop edges. */
.hero-brand-showcase {
  background: #f2f5ef;
  min-height: 550px;
}
.brand-wall-heading {
  border: 0;
  padding-bottom: 18px;
}
.calm-brand-wall {
  height: 376px;
  gap: 15px;
  padding: 0 20px;
  border: 0;
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 28px,
    #000 calc(100% - 28px),
    transparent 100%
  );
}
.calm-brand-wall .brand-track {
  animation-name: brand-rise;
  animation-direction: normal;
  animation-duration: 74s;
  animation-delay: var(--lane-delay, 0s);
  animation-timing-function: linear;
}
.calm-brand-wall .brand-lane:nth-child(3) .brand-track {
  animation-duration: 74s;
  animation-delay: var(--lane-delay, 0s);
}
.calm-brand-wall .brand-group {
  gap: 15px;
  padding-bottom: 15px;
}
.calm-brand-wall .brand-name-card {
  height: 122px;
  border: 0;
  border-radius: 3px;
  background: #fff;
  padding: 25px 17px;
  box-shadow: 0 0 0 1px #e4e9dd40;
}
.calm-brand-wall .brand-name-card > .photo-window {
  width: 100%;
  height: 60px;
  background: transparent;
}
.calm-brand-wall:hover .brand-track {
  animation-play-state: paused;
}
.hero-brand-showcase .hero-shelf-caption {
  padding-top: 20px;
  border-top: 0;
}
.hero-brand-showcase .hero-shelf-caption strong {
  font-weight: 500;
}
.resume-conversation {
  display: block;
  padding: 16px 18px;
  margin: 22px 0;
  background: #f1f6e9;
  border: 1px solid #d7e3cc;
  border-radius: 3px;
  color: var(--brand);
  text-decoration: none;
}
.resume-conversation > span {
  font-size: 13px;
  display: block;
}
.resume-conversation > strong {
  display: block;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
  margin: 5px 0;
}
.resume-conversation > small {
  font-size: 12px;
  display: block;
  color: var(--muted);
}
@media (max-width: 760px) {
  .hero-brand-showcase {
    min-height: 474px;
  }
  .calm-brand-wall {
    height: 308px;
    padding-inline: 12px;
    gap: 10px;
    mask-image: linear-gradient(
      to bottom,
      transparent 0,
      #000 20px,
      #000 calc(100% - 20px),
      transparent 100%
    );
  }
  .calm-brand-wall .brand-name-card {
    height: 108px;
    padding: 23px 12px;
  }
  .calm-brand-wall .brand-group {
    gap: 10px;
    padding-bottom: 10px;
  }
  .calm-brand-wall .brand-name-card > .photo-window {
    height: 53px;
    width: 100%;
  }
}
.channel-section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 45px;
  padding: 0 44px;
}
.channel-section-top .channel-section-copy {
  padding: 0;
}
.channel-intro-aside {
  max-width: 335px;
  padding-bottom: 4px;
}
.channel-intro-aside p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 18px;
}
.channel-intro-aside .text-link {
  font-size: 14px;
}
.channel-logo-garden {
  gap: 18px;
  margin-top: 38px;
}
.channel-logo-garden .logo-group {
  gap: 18px;
  padding-right: 18px;
}
.channel-logo-garden .channel-logo {
  width: 166px;
  height: 88px;
  padding: 19px 24px;
  border: 1px solid #e3e8dc85;
  border-radius: 3px;
}
.channel-logo-garden .channel-logo:nth-child(3n + 2) {
  width: 204px;
}
.channel-logo-garden .channel-logo:nth-child(5n) {
  width: 185px;
}
.channel-logo-garden .logo-track {
  animation-direction: normal;
  animation-timing-function: linear;
}
.channel-logo-garden:hover .logo-track {
  animation-play-state: paused;
}
.channel-source {
  margin-top: 28px;
}
@media (max-width: 760px) {
  .channel-section-top {
    display: block;
    padding: 0 24px;
  }
  .channel-intro-aside {
    margin-top: 19px;
    max-width: none;
  }
  .channel-intro-aside p {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .channel-intro-aside .text-link {
    font-size: 13px;
  }
  .channel-logo-garden {
    gap: 12px;
    margin-top: 27px;
  }
  .channel-logo-garden .logo-group {
    gap: 12px;
    padding-right: 12px;
  }
  .channel-logo-garden .channel-logo {
    width: 140px;
    height: 76px;
    padding: 16px 20px;
  }
  .channel-logo-garden .channel-logo:nth-child(3n + 2) {
    width: 174px;
  }
  .channel-logo-garden .channel-logo:nth-child(5n) {
    width: 156px;
  }
}
/* Brand directory: shuffle once on entry, then drift gently; searching produces stationary results. */
.brand-directory-grid.is-brand-stream {
  display: block;
}
.directory-stream {
  height: 590px;
  display: grid;
  grid-template-columns: repeat(var(--brand-columns), minmax(0, 1fr));
  gap: 18px;
  overflow: hidden;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 24px,
    #000 calc(100% - 24px),
    transparent
  );
}
.directory-stream-lane {
  overflow: hidden;
}
.directory-stream-track {
  animation: brand-rise 300s linear infinite;
  will-change: transform;
}
.directory-stream-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 18px;
}
.directory-stream .directory-brand {
  flex-shrink: 0;
  min-height: 148px;
}
.directory-stream:hover .directory-stream-track,
.directory-stream:focus-within .directory-stream-track {
  animation-play-state: paused;
}
.motion-sleep .directory-stream-track,
.motion-sleep .cooperation-product-track {
  animation-play-state: paused;
}
.cooperation-product-window {
  width: 100%;
  height: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}
.cooperation-product-track {
  display: flex;
  width: max-content;
  animation: channel-drift 65s linear infinite;
  will-change: transform;
  height: 100%;
}
.cooperation-product-group {
  display: flex;
  gap: 12px;
  padding-right: 12px;
  flex-shrink: 0;
  height: 100%;
}
.cooperation-product-window .feed-product {
  width: 154px;
  height: 100%;
  border: 0;
}
.cooperation-product-window .feed-product > .photo-window {
  height: calc(100% - 31px);
  aspect-ratio: auto;
}
.cooperation-product-window .feed-product figcaption {
  padding: 6px 9px;
}
.cooperation-product-window .feed-product figcaption > strong {
  font-size: 12px;
}
.channel-card-products {
  display: block;
}
.cooperation-product-window:hover .cooperation-product-track {
  animation-play-state: paused;
}
/* 04: show selecting, moving into a list and changing a planning quantity. */
.selection-motion {
  position: relative;
  overflow: hidden;
}
.selection-picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-bottom: 28px;
}
.selection-pick {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 13px 10px;
  border: 1px solid #dce6d3;
  background: #f7faf3;
  position: relative;
}
.selection-pick > .photo-window {
  width: 57px;
  height: 76px;
  flex-shrink: 0;
  background: transparent;
}
.selection-pick strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
  display: block;
}
.selection-pick small {
  font-size: 12px;
  color: var(--muted);
  display: block;
  line-height: 1.8;
  margin-top: 7px;
}
.pick-plus {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: white;
  color: #3f6b30;
  border: 1px solid #d1dfc7;
}
.selection-target {
  border: 1px solid #dce5d4;
  background: #fff;
  min-height: 223px;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.selection-target-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e4ebdc;
  padding: 14px 0;
  align-items: center;
}
.selection-target-head strong {
  font-size: 16px;
  font-weight: 500;
  color: var(--brand);
}
.selection-target-head > span {
  font-size: 11px;
  color: var(--muted);
}
.selection-target-row {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 77px;
  padding: 12px 0;
  border-bottom: 1px solid #e6eddf;
  animation: list-first 12s ease infinite;
}
.selection-target-row.row-1 {
  animation-name: list-second;
}
.selection-row-check {
  width: 22px;
  height: 22px;
  background: #edf5e5;
  color: #577d43;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
}
.selection-target-row strong {
  font-size: 14px;
  font-weight: 500;
  display: block;
}
.selection-target-row small {
  font-size: 12px;
  display: block;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 5px;
}
.selection-motion-quantity {
  position: relative;
  margin-left: auto;
  width: 37px;
  height: 28px;
  border: 1px solid #dce5d4;
  display: grid;
  place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}
.selection-motion-quantity b {
  font-size: 14px;
  font-weight: 500;
}
.selection-motion-quantity .quantity-one,
.selection-motion-quantity .quantity-three {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  animation: quantity-before 12s linear infinite;
}
.selection-motion-quantity .quantity-three {
  animation-name: quantity-after;
}
.selection-moving-item {
  position: absolute;
  width: 50px;
  height: 50px;
  top: 133px;
  left: 21%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  animation: selection-fly 12s ease infinite;
}
.selection-moving-item > .photo-window {
  width: 100%;
  height: 100%;
  border: 1px solid #cbdabc;
  border-radius: 3px;
  padding: 3px;
}
.selection-moving-item.moving-nuts {
  left: 69%;
  animation-delay: 3.3s;
}
.selection-progress {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 23px;
}
.selection-progress span {
  flex: 1;
  font-size: 12px;
  text-align: center;
  color: #5e7650;
  border-bottom: 2px solid #e0e9d7;
  padding-bottom: 10px;
  animation: selection-step 12s linear infinite;
}
.selection-progress span:nth-child(2) {
  animation-delay: 4s;
}
.selection-progress span:nth-child(3) {
  animation-delay: 8s;
}
.motion-sleep .selection-motion-quantity b,
.motion-sleep .selection-target-row,
.motion-sleep .selection-moving-item,
.motion-sleep .selection-progress span {
  animation-play-state: paused;
}
@keyframes selection-fly {
  0%,
  8% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.75);
  }
  12% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  24% {
    opacity: 1;
    transform: translate3d(0, 138px, 0) scale(0.7);
  }
  28%,
  100% {
    opacity: 0;
    transform: translate3d(0, 150px, 0) scale(0.65);
  }
}
@keyframes list-first {
  0%,
  21% {
    opacity: 0;
    transform: translate3d(0, 9px, 0);
  }
  27%,
  92% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes list-second {
  0%,
  47% {
    opacity: 0;
    transform: translate3d(0, 9px, 0);
  }
  54%,
  92% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes quantity-before {
  0%,
  68% {
    opacity: 1;
  }
  72%,
  100% {
    opacity: 0;
  }
}
@keyframes quantity-after {
  0%,
  68% {
    opacity: 0;
  }
  72%,
  100% {
    opacity: 1;
  }
}
@keyframes selection-step {
  0%,
  29% {
    border-color: #6d8f56;
    color: #244b2d;
  }
  33%,
  100% {
    border-color: #e0e9d7;
    color: #85917c;
  }
}
/* 05: genuine product data feeding three genuine channel marks. */
.flow-source {
  padding: 16px 20px;
  background: #f6f9f1;
  border: 1px solid #dce6d3;
}
.flow-source > div:first-child {
  display: flex;
  gap: 17px;
  align-items: center;
}
.flow-source .photo-window {
  width: 75px;
  height: 75px;
  flex-shrink: 0;
}
.flow-source strong {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--brand);
}
.flow-fields {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  border-top: 1px solid #e0e8d8;
  margin-top: 15px;
  padding-top: 13px;
}
.flow-fields span {
  font-size: 12px;
  color: #657d55;
}
.data-flow-lines {
  height: 120px;
  position: relative;
}
.data-flow-lines svg {
  height: 100%;
  width: 100%;
  overflow: visible;
}
.flow-path-base {
  fill: none;
  stroke: #d1dfc6;
  stroke-width: 2;
}
.flow-path-stream {
  fill: none;
  stroke: #5a8350;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 10 210;
  animation: flow-travel 5.5s linear infinite;
}
.flow-path-stream.stream-1 {
  animation-delay: -1.8s;
}
.flow-path-stream.stream-2 {
  animation-delay: -3.6s;
}
.flow-hub {
  position: absolute;
  top: 27px;
  left: 50%;
  transform: translateX(-50%);
  background: #eff5e8;
  color: #526f40;
  border: 1px solid #d7e3cd;
  padding: 7px 12px;
  font-size: 12px;
  white-space: nowrap;
}
.flow-channel-nodes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.flow-channel-node {
  padding: 15px 10px;
  border: 1px solid #dde6d5;
  background: #fff;
  animation: flow-destination 9s ease infinite;
}
.flow-channel-node.node-1 {
  animation-delay: -6s;
}
.flow-channel-node.node-2 {
  animation-delay: -3s;
}
.flow-channel-node > .photo-window {
  height: 52px;
  width: 100%;
  background: transparent;
}
.flow-channel-node > span {
  display: block;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 12px;
}
.flow-next-stages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-size: 12px;
  margin-top: 24px;
  color: #637e54;
}
.flow-next-stages i {
  font-style: normal;
  color: #9dad91;
}
.motion-sleep .flow-path-stream,
.motion-sleep .flow-channel-node {
  animation-play-state: paused;
}
@keyframes flow-travel {
  to {
    stroke-dashoffset: -440;
  }
}
@keyframes flow-destination {
  0%,
  25%,
  100% {
    background: #fff;
    border-color: #dde6d5;
  }
  35%,
  60% {
    background: #eff6e8;
    border-color: #90ad7b;
  }
}
@media (max-width: 760px) {
  .directory-stream {
    height: 540px;
    gap: 12px;
  }
  .directory-stream-group {
    gap: 12px;
    padding-bottom: 12px;
  }
  .directory-stream .directory-brand {
    min-height: 130px;
  }
  .cooperation-product-window .feed-product {
    width: 142px;
  }
  .selection-picks {
    gap: 9px;
    margin-bottom: 25px;
  }
  .selection-pick {
    display: block;
    padding: 10px;
  }
  .selection-pick > .photo-window {
    width: 100%;
    height: 84px;
  }
  .selection-pick > div {
    margin-top: 8px;
  }
  .selection-pick strong {
    font-size: 13px;
  }
  .selection-pick small {
    font-size: 11px;
    margin-top: 3px;
  }
  .selection-target {
    padding-inline: 12px;
    min-height: 220px;
  }
  .selection-target-head {
    gap: 9px;
  }
  .selection-target-head > span {
    font-size: 10px;
  }
  .selection-target-head strong {
    font-size: 15px;
  }
  .selection-target-row {
    gap: 10px;
  }
  .selection-target-row small {
    font-size: 11px;
  }
  .selection-moving-item {
    top: 180px;
    left: 20%;
    width: 42px;
    height: 42px;
  }
  .selection-progress {
    gap: 8px;
  }
  .selection-progress span {
    font-size: 11px;
  }
  .flow-source {
    padding: 14px;
  }
  .flow-source strong {
    font-size: 16px;
  }
  .flow-source .photo-window {
    width: 60px;
    height: 60px;
  }
  .flow-fields {
    gap: 6px;
  }
  .flow-fields span {
    font-size: 11px;
  }
  .data-flow-lines {
    height: 108px;
  }
  .flow-hub {
    font-size: 11px;
    padding: 6px 9px;
    top: 26px;
  }
  .flow-channel-nodes {
    gap: 8px;
  }
  .flow-channel-node {
    padding: 12px 7px;
  }
  .flow-channel-node > .photo-window {
    height: 45px;
  }
  .flow-channel-node > span {
    font-size: 10px;
    margin-top: 9px;
  }
  .flow-next-stages {
    gap: 10px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .directory-stream-track,
  .cooperation-product-track,
  .selection-target-row,
  .selection-moving-item,
  .selection-motion-quantity b,
  .selection-progress span,
  .flow-path-stream,
  .flow-channel-node {
    animation: none !important;
  }
  .selection-target-row {
    opacity: 1 !important;
    transform: none !important;
  }
  .selection-moving-item {
    display: none;
  }
  .selection-motion-quantity .quantity-three {
    display: none;
  }
}

/* A quiet brand gallery: the original marks carry the identity, without card chrome. */
.brand-directory .directory-brand {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 30px 24px;
  gap: 19px;
  min-height: 174px;
  text-align: center;
  transition: none;
}
.brand-directory .directory-brand > .photo-window {
  width: min(100%, 150px);
  height: 66px;
  transition: transform 280ms ease;
}
.brand-directory .directory-brand > span {
  font-size: 14px;
  line-height: 1.6;
  color: #6c756e;
  font-weight: 400;
  transition: color 200ms ease;
}
.brand-directory .directory-brand:hover > .photo-window {
  transform: translateY(-3px);
}
.brand-directory .directory-brand:hover > span {
  color: var(--brand);
}
.brand-directory .directory-brand:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -8px;
}
.brand-directory .directory-stream {
  gap: 26px;
  height: 630px;
}
.brand-directory .directory-stream-group {
  gap: 22px;
  padding-bottom: 22px;
}
.brand-directory .directory-stream-lane:nth-child(even) {
  padding-top: 38px;
}
@media (max-width: 760px) {
  .brand-directory .directory-brand {
    min-height: 154px;
    padding: 22px 14px;
    gap: 16px;
  }
  .brand-directory .directory-brand > .photo-window {
    width: min(100%, 124px);
    height: 58px;
  }
  .brand-directory .directory-brand > span {
    font-size: 13px;
  }
  .brand-directory .directory-stream {
    gap: 16px;
    height: 580px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-directory .directory-brand > .photo-window {
    transition: none;
  }
}

.directory-heading h1 > span {
  display: inline-block;
}
/* Home and directory share a quiet, borderless original-logo treatment. */
.hero-brand-showcase,
.channel-section {
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.hero-brand-showcase .brand-wall-heading {
  padding-inline: 28px;
}
.calm-brand-wall {
  gap: 26px;
  padding-inline: 24px;
}
.calm-brand-wall .brand-group {
  gap: 30px;
  padding-bottom: 30px;
}
.calm-brand-wall .brand-name-card {
  height: 132px;
  padding: 26px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.calm-brand-wall .brand-name-card > .photo-window {
  width: min(100%, 140px);
  height: 58px;
  transition: transform 280ms ease;
}
.calm-brand-wall .brand-name-card:hover > .photo-window {
  transform: translateY(-3px);
}
.calm-brand-wall:focus-within .brand-track {
  animation-play-state: paused;
}
.channel-logo-garden,
.channel-logo-garden .logo-group {
  gap: 28px;
}
.channel-logo-garden .logo-group {
  padding-right: 28px;
}
.channel-logo-garden .channel-logo {
  height: 96px;
  padding: 21px 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.channel-logo-garden .channel-logo > .photo-window {
  width: min(100%, 146px);
  height: 54px;
}
@media (max-width: 760px) {
  .hero-brand-showcase .brand-wall-heading {
    padding-inline: 12px;
  }
  .calm-brand-wall {
    gap: 16px;
    padding-inline: 10px;
  }
  .calm-brand-wall .brand-group {
    gap: 24px;
    padding-bottom: 24px;
  }
  .calm-brand-wall .brand-name-card {
    height: 114px;
    padding: 24px 6px;
  }
  .calm-brand-wall .brand-name-card > .photo-window {
    height: 48px;
  }
  .channel-logo-garden,
  .channel-logo-garden .logo-group {
    gap: 22px;
  }
  .channel-logo-garden .logo-group {
    padding-right: 22px;
  }
  .channel-logo-garden .channel-logo {
    height: 84px;
    padding: 18px 20px;
  }
  .channel-logo-garden .channel-logo > .photo-window {
    height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-directory .directory-stream {
    overflow-y: auto;
  }
  .brand-directory .directory-stream-group[aria-hidden="true"] {
    display: none;
  }
}

/* A coherent wall: one quiet surface, aligned rows, no per-logo tiles. */
.hero-brand-showcase {
  background: #f7f8f6;
  min-height: 500px;
}
.hero-brand-showcase .brand-wall-heading {
  padding: 24px 25px 16px;
}
.calm-brand-wall {
  height: 330px;
  gap: 12px;
  padding-inline: 20px;
}
.calm-brand-wall .brand-group {
  gap: 12px;
  padding-bottom: 12px;
}
.calm-brand-wall .brand-name-card {
  height: 102px;
  padding: 18px 12px;
}
.calm-brand-wall .brand-name-card > .photo-window {
  width: min(100%, 144px);
  height: 64px;
}
.hero-brand-showcase .hero-shelf-caption {
  padding: 20px 25px 24px;
}
.channel-logo-garden {
  background: #f7f8f6;
  padding-block: 20px;
  gap: 8px;
}
.channel-logo-garden .logo-group {
  gap: 12px;
  padding-right: 12px;
}
.channel-logo-garden .channel-logo,
.channel-logo-garden .channel-logo:nth-child(3n + 2),
.channel-logo-garden .channel-logo:nth-child(5n) {
  width: 158px;
  height: 78px;
  padding: 12px 18px;
}
.channel-logo-garden .channel-logo > .photo-window {
  width: 122px;
  height: 54px;
}
@media (max-width: 760px) {
  .hero-brand-showcase {
    min-height: 442px;
  }
  .hero-brand-showcase .brand-wall-heading {
    padding: 20px 18px 12px;
  }
  .calm-brand-wall {
    height: 290px;
    padding-inline: 10px;
    gap: 8px;
  }
  .calm-brand-wall .brand-group {
    gap: 8px;
    padding-bottom: 8px;
  }
  .calm-brand-wall .brand-name-card {
    height: 88px;
    padding: 14px 7px;
  }
  .calm-brand-wall .brand-name-card > .photo-window {
    height: 54px;
  }
  .hero-brand-showcase .hero-shelf-caption {
    padding: 18px;
  }
  .channel-logo-garden {
    padding-block: 16px;
  }
  .channel-logo-garden .logo-group {
    gap: 8px;
    padding-right: 8px;
  }
  .channel-logo-garden .channel-logo,
  .channel-logo-garden .channel-logo:nth-child(3n + 2),
  .channel-logo-garden .channel-logo:nth-child(5n) {
    width: 136px;
    height: 70px;
    padding: 12px 15px;
  }
  .channel-logo-garden .channel-logo > .photo-window {
    width: 106px;
    height: 46px;
  }
}
/* New arrivals: tilted rows of film moving continuously in alternating directions. */
.arrival-film-window {
  --film-height: 480px;
  position: relative;
  height: var(--film-height);
  overflow: hidden;
  background: #edf2eb;
  mask-image: linear-gradient(
    180deg,
    transparent,
    #000 4%,
    #000 96%,
    transparent
  );
}
.arrival-film {
  position: absolute;
  width: 125%;
  left: -12.5%;
  top: 50%;
  display: grid;
  gap: 12px;
  transform: translateY(-50%) rotate(-12deg);
  transform-origin: center;
}
.arrival-film-row {
  min-width: 0;
  overflow: hidden;
}
.arrival-film-track {
  display: flex;
  width: 200%;
  animation: arrival-film-run 44s linear infinite;
  animation-delay: var(--film-offset);
  will-change: transform;
}
.arrival-film-row:nth-child(even) .arrival-film-track {
  animation-direction: reverse;
}
.arrival-film-group {
  flex: 0 0 50%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-right: 12px;
}
.arrival-film .feed-product {
  margin: 0;
  height: 116px;
  border: 0;
  border-radius: 2px;
}
.arrival-film .feed-product > .photo-window {
  width: 100%;
  height: calc(100% - 25px);
  aspect-ratio: auto;
  background: #fff;
}
.arrival-film .feed-product > .photo-window img {
  object-fit: contain;
}
.arrival-film .feed-product figcaption {
  padding: 3px 9px;
  line-height: 19px;
  height: 25px;
}
.arrival-film .feed-product figcaption > strong {
  font-size: 11px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.arrival-film-window:hover .arrival-film-track,
.arrival-film-window:focus-within .arrival-film-track,
.arrival-film-window.motion-sleep .arrival-film-track {
  animation-play-state: paused;
}
@keyframes arrival-film-run {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
@media (max-width: 650px) {
  .arrival-film-window {
    --film-height: 380px;
  }
  .arrival-film {
    gap: 9px;
    width: 132%;
    left: -16%;
  }
  .arrival-film-group {
    gap: 9px;
    padding-right: 9px;
  }
  .arrival-film .feed-product {
    height: 98px;
  }
  .arrival-film .feed-product figcaption {
    padding-inline: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .arrival-film-track {
    animation: none;
  }
}
