/* Homepage only. The shop, product pages, collection animation and overlays keep their original styles. */
:root { --pd-display-wordmark-size: clamp(36px,12.4vw,300px); }
body.pdh-home-route { background: #000 !important; color: #fff; }
#pd102Home.pdh-home {
  width: 100%; max-width: none; margin: 0; padding: 0 !important;
  background: #000 !important; color: #fff !important; border: 0 !important;
  font-family: Arial, Helvetica, sans-serif;
}
body:not(.pdh-home-route) #pd102Home.pdh-home { display: none !important; }
body.pdh-home-route > .pd102-announcement,
body.pdh-home-route .pd-live-editorial-stage,
body.pdh-home-route .pdshoots79-footer,
body.pdh-home-route #pd2Footer { display: none !important; }

/* Transparent over the campaign, black once the wordmark reaches the header. */
body.pdh-home-route > .pd102-nav {
  position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important;
  width: 100% !important; max-width: none !important; min-height: 54px !important; height: 54px !important;
  margin: 0 !important; padding: 0 24px !important; display: grid !important;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) !important; gap: 12px !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  background: transparent !important; color: #fff !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  transition: none !important;
}
body.pdh-home-route.pdh-home-scrolled > .pd102-nav,
body.pdh-home-route.pdh-logo-reduced > .pd102-nav { background: #000 !important; color: #fff !important; border-bottom: 1px solid #222 !important; }
body.pdh-home-route .pd102-nav a,
body.pdh-home-route .pd102-nav button {
  min-height: 44px !important; padding: 0 !important; margin: 0 !important;
  background: transparent !important; color: inherit !important; border: 0 !important;
  border-radius: 0 !important; box-shadow: none !important; text-shadow: none !important;
  font: 500 11px/1 Arial, Helvetica, sans-serif !important; letter-spacing: 0 !important;
  opacity: 1 !important; transform: none !important; touch-action: manipulation;
}
body.pdh-home-route .pd102-nav-left,
body.pdh-home-route .pd102-nav-right { display: flex !important; align-items: center !important; gap: 18px !important; position: static !important; transform: none !important; }
body.pdh-home-route .pd102-nav-right { justify-content: flex-end !important; }
body.pdh-home-route .pd102-nav-right > * { display: none !important; }
body.pdh-home-route .pd102-nav-right > #pd2NavSearch,
body.pdh-home-route .pd102-nav-right > .pd102-bag { display: inline-flex !important; align-items: center !important; gap: 5px !important; white-space: nowrap; }
body.pdh-home-route .pd102-nav .pd102-logo {
  position: static !important; inset: auto !important; transform: none !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  justify-self: center !important; font: 800 16px/1 Arial, Helvetica, sans-serif !important;
  letter-spacing: -.065em !important; white-space: nowrap !important;
}
/* The existing home link remains clickable beneath the moving wordmark. */
body.pdh-home-route.pdh-logo-ready .pd102-nav .pd102-logo { color: transparent !important; }
body.pdh-home-route .pd102-nav .pd102-logo:focus-visible { outline: 2px solid #fff !important; outline-offset: 3px; }
body.pdh-home-route .pd102-nav .pd102-logo::after { display: none !important; }
body.pdh-home-route .pd102-nav .pd102-menu-btn {
  width: 22px !important; min-width: 22px !important; display: inline-flex !important;
  flex-direction: column !important; justify-content: center !important; gap: 5px !important;
}
body.pdh-home-route .pd102-nav .pd102-menu-btn::before,
body.pdh-home-route .pd102-nav .pd102-menu-btn::after { content: none !important; }
body.pdh-home-route .pd102-nav .pd102-menu-btn span { display: block !important; position: static !important; width: 15px !important; height: 1px !important; margin: 0 !important; background: currentColor !important; transform: none !important; }
body.pdh-home-route .pd102-nav #count { display: inline !important; min-width: 0 !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; background: none !important; color: inherit !important; font: inherit !important; }

#pd102Home.pdh-home :is(a,button) { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
#pd102Home.pdh-home button { cursor: pointer; -webkit-user-select: none; user-select: none; }
#pd102Home.pdh-home :is(a,button):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
#pd102Home.pdh-home :is(.pdh-shop-now,.pdh-text-link,.pdh-collection-link a,.pdh-footer-links a,.pdh-footer-links button):active { opacity: .6; }

/* Full-body framing: crop only the added empty sides on narrow screens. */
#pd102Home.pdh-home .pdh-hero {
  position: relative; height: 100vh; height: 100svh; min-height: 0; max-height: 1100px;
  margin: 0; padding: 0; overflow: hidden; border: 0; background: #000; color: #fff;
  touch-action: pan-y pinch-zoom;
}
#pd102Home .pdh-hero-photo {
  position: absolute; top: 50%; left: 50%; display: block;
  width: auto; height: min(100%,116vw); max-width: none; max-height: none;
  aspect-ratio: 1672/941; object-fit: contain; transform: translate(-50%,-50%);
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
  mask-image: linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
}
#pd102Home .pdh-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg,#000,transparent 7%,transparent 96%,#000);
}
#pd102Home .pdh-wordmark {
  position: absolute; top: min(50vh,550px); top: min(50svh,550px); left: 50%;
  z-index: 1001; width: max-content; max-width: none; margin: 0; padding: 0; display: block;
  font: 800 var(--pd-display-wordmark-size)/1 Arial, Helvetica, sans-serif;
  letter-spacing: -.065em; text-align: center; white-space: nowrap; pointer-events: none; color: #fff;
  transform: translate(-50%,-50%); transform-origin: 0 0;
}
body.pdh-home-route.pdh-logo-ready #pd102Home .pdh-wordmark { position: fixed; top: 0; left: 0; }
body.pdh-home-route.pdh-logo-reduced #pd102Home .pdh-wordmark { opacity: 0; }
#pd102Home .pdh-hero-bottom { position: absolute; z-index: 1; bottom: 28px; left: 24px; right: 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
#pd102Home .pdh-hero-copy p { margin: 0 0 10px; font-size: 15px; line-height: 1.3; font-weight: 700; letter-spacing: -.25px; }
#pd102Home .pdh-shop-now { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border: 1px solid #fff; background: transparent; font-size: 11px; font-weight: 600; color: #fff; text-decoration: none; }

/* Black page and captions; the approved white product mockups keep their original art. */
#pd102Home.pdh-home .pdh-section { padding: 44px 24px 34px; border: 0; margin: 0; background: #000; color: #fff; }
#pd102Home .pdh-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 0 0 24px; }
#pd102Home .pdh-section-heading h2 { margin: 0 0 7px; font: 600 22px/1.15 Arial,Helvetica,sans-serif; letter-spacing: -.7px; color: #fff; }
#pd102Home .pdh-section-heading p { margin: 0; font-size: 12px; line-height: 1.5; color: #aaa; }
#pd102Home .pdh-section-note,
#pd102Home .pdh-text-link { min-height: 44px; display: inline-flex; align-items: center; flex: 0 0 auto; font: 500 10px/1.3 Arial,Helvetica,sans-serif; letter-spacing: 0; color: #ddd; }
#pd102Home .pdh-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 34px 24px; }
#pd102Home .pdh-pair-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px 24px; }
#pd102Home.pdh-home .pdh-card,
#pd102Home.pdh-home .pdh-preview-card {
  display: block !important; flex: none !important; min-width: 0 !important; width: auto !important; max-width: none !important;
  padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: #000 !important; box-shadow: none !important; transform: none !important; opacity: 1 !important;
}
#pd102Home .pdh-product-link { display: block; color: #fff; text-decoration: none; }
#pd102Home .pdh-art { position: relative; width: 100%; aspect-ratio: 1/1.1; overflow: hidden; background: #fff; }
#pd102Home .pdh-art > .pdh-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; transform: none; }
#pd102Home .pdh-photo { transition: opacity 180ms var(--pd130-ease-out,cubic-bezier(.23,1,.32,1)); }
#pd102Home .pdh-photo-primary { opacity: 1; }
#pd102Home .pdh-photo-secondary { opacity: 0; }
#pd102Home .pdh-half { overflow: hidden; }
#pd102Home .pdh-half img { position: absolute; top: 0; left: 0; width: 200%; height: 100%; max-width: none; object-fit: contain; transform: none !important; }
#pd102Home .pdh-half.is-back img { left: -100%; }
#pd102Home .pdh-pair-art { width: 100%; aspect-ratio: 2/1.1; background: #fff; }
#pd102Home .pdh-pair-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
#pd102Home.pdh-home .pdh-meta {
  display: flex !important; align-items: flex-start !important; justify-content: space-between !important;
  gap: 8px !important; margin: 0 !important; padding: 14px 0 0 !important; border: 0 !important; color: #fff !important;
  font-family: Arial,Helvetica,sans-serif !important;
}
#pd102Home .pdh-meta > div { min-width: 0; }
#pd102Home .pdh-meta strong { display: block !important; margin: 0 !important; font: 500 12px/1.4 Arial,Helvetica,sans-serif !important; letter-spacing: 0 !important; text-transform: none !important; color: #fff !important; }
#pd102Home .pdh-meta small { display: block !important; margin: 4px 0 0 !important; font: 400 9px/1.4 Arial,Helvetica,sans-serif !important; letter-spacing: .03em !important; color: #aaa !important; }
#pd102Home .pdh-meta > b { flex: 0 0 auto; padding-top: 2px; font: 400 11px/1.4 Arial,Helvetica,sans-serif !important; letter-spacing: 0 !important; white-space: nowrap; color: #fff !important; }
#pd102Home .pdh-preview-card .pdh-meta > b { font-size: 10px !important; }
#pd102Home .pdh-collection-link { margin: 30px 0 0; text-align: center; }
#pd102Home .pdh-collection-link a { display: inline-flex; align-items: center; min-height: 44px; font-size: 10px; color: #fff; text-decoration: underline; text-underline-offset: 4px; }

#pd102Home .pdh-journal-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
#pd102Home .pdh-journal-grid a { display: block; min-width: 0; color: #fff; }
#pd102Home .pdh-journal-grid img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; }
#pd102Home .pdh-journal-grid span { display: block; padding: 12px 0 0; font-size: 9px; letter-spacing: .02em; }
#pd102Home .pdh-footer { margin: 0; padding: 50px 24px 22px; background: #000; color: #fff; border: 0; }
#pd102Home .pdh-instagram { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 22px; font-size: 20px; font-weight: 500; letter-spacing: -.6px; color: #fff; }
#pd102Home .pdh-footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
#pd102Home .pdh-footer-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
#pd102Home .pdh-footer-links :is(a,button) { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0; border: 0; background: none; color: #ddd; font: 400 11px/1.3 Arial,Helvetica,sans-serif; text-decoration: none; }
#pd102Home .pdh-footer p { margin: 0; font-size: 9px; white-space: nowrap; }

@media (hover:hover) and (pointer:fine) {
  #pd102Home .pdh-product-link:hover .pdh-photo-primary { opacity: 0; }
  #pd102Home .pdh-product-link:hover .pdh-photo-secondary { opacity: 1; }
  #pd102Home .pdh-shop-now:hover { background: #fff; color: #111; }
  #pd102Home :is(.pdh-text-link,.pdh-footer-links a,.pdh-footer-links button):hover { text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width:760px) {
  body.pdh-home-route > .pd102-nav { padding: 0 14px !important; height: 52px !important; min-height: 52px !important; gap: 8px !important; }
  body.pdh-home-route .pd102-nav-left,
  body.pdh-home-route .pd102-nav-right { gap: 10px !important; }
  body.pdh-home-route .pd102-nav .pd102-logo { font-size: 14px !important; }
  body.pdh-home-route .pd102-nav a,
  body.pdh-home-route .pd102-nav button { font-size: 10px !important; }
  #pd102Home .pdh-hero-bottom { bottom: 24px; left: 16px; right: 16px; }
  #pd102Home .pdh-hero-copy p { max-width: 180px; font-size: 13px; }
  #pd102Home.pdh-home .pdh-section { padding: 32px 14px 24px; }
  #pd102Home .pdh-section-heading { margin-bottom: 18px; gap: 12px; }
  #pd102Home .pdh-section-heading h2 { font-size: 20px; }
  #pd102Home .pdh-section-heading p { font-size: 11px; max-width: 220px; }
  #pd102Home .pdh-section-note { max-width: 100px; font-size: 9px; text-align: right; }
  #pd102Home .pdh-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 12px; }
  #pd102Home .pdh-pair-grid { grid-template-columns: minmax(0,1fr); gap: 26px; }
  #pd102Home .pdh-art { aspect-ratio: 1/1.1; }
  #pd102Home .pdh-meta { gap: 5px !important; }
  #pd102Home .pdh-meta strong { font-size: 11px !important; }
  #pd102Home .pdh-meta > b { font-size: 10px !important; }
  /* Two full-width campaign cards on mobile; leave the desktop journal unchanged. */
  #pd102Home .pdh-journal-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  #pd102Home .pdh-journal-grid .pdh-journal-opening { display: none; }
  #pd102Home .pdh-journal-grid .pdh-shoot-card {
    overflow: hidden; border: 1px solid #303030; border-radius: 12px;
    background: #0c0c0c; color: #fff; text-decoration: none;
  }
  #pd102Home .pdh-journal-grid .pdh-shoot-card img { aspect-ratio: 3/4; object-fit: contain; background: #000; }
  #pd102Home .pdh-journal-grid .pdh-shoot-card > span {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 68px; padding: 14px 18px; border-top: 1px solid #303030;
    color: #fff; font: 600 18px/1.2 Arial,Helvetica,sans-serif; letter-spacing: .02em;
  }
  #pd102Home .pdh-journal-grid .pdh-shoot-card > span::after { content: "↗"; flex: 0 0 auto; font-size: 24px; font-weight: 400; }
  #pd102Home .pdh-journal-grid .pdh-shoot-card:active { opacity: .8; }
  #pd102Home .pdh-footer { padding: 34px 14px 22px; }
  #pd102Home .pdh-footer-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  #pd102Home .pdh-footer-links { gap: 0 16px; }
}
@media (max-width:360px) {
  body.pdh-home-route > .pd102-nav { padding: 0 10px !important; gap: 5px !important; }
  body.pdh-home-route .pd102-nav-left,
  body.pdh-home-route .pd102-nav-right { gap: 7px !important; }
}
@media (prefers-reduced-motion:reduce) {
  #pd102Home .pdh-wordmark { opacity: 0; }
  #pd102Home .pdh-photo { transition: opacity 0ms !important; }
}

/* Extend the studio backdrop above the full-body photo on tall mobile screens. */
@media (max-width:760px) and (orientation:portrait) {
  body.pdh-home-route:not(.pdh-home-scrolled) > .pd102-nav {
    background: transparent !important;
    border-bottom: 0 !important;
  }
  #pd102Home .pdh-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 50%;
    pointer-events: none;
    background: linear-gradient(90deg,#171718 0%,#1b1b1c 30%,#1b1b1c 50%,#19191a 70%,#151516 100%);
  }
  #pd102Home .pdh-hero-photo {
    -webkit-mask-image: linear-gradient(180deg,transparent 0%,#000 3%,#000 100%);
    mask-image: linear-gradient(180deg,transparent 0%,#000 3%,#000 100%);
  }
  #pd102Home .pdh-hero::after {
    background: linear-gradient(0deg,#000,transparent 7%);
  }
}
