/* Shared v2 product chrome. Navy ground, Cinzel lockup, Helvetica parent voice.
   Accent paints the mark, the card spine, and the header rule. It does not paint text. */

.jd-v2-header {
  background: #0A1628;
  color: #F0ECE4;
  border-bottom: 2px solid color-mix(in srgb, var(--jd-accent, #ffffff) 55%, transparent);
  position: sticky;
  top: 0;
  z-index: 40;
  max-width: 100%;
}
.jd-v2-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1140px, 100%);
  margin: 0 auto;
  padding: 14px 24px;
  box-sizing: border-box;
  min-height: 88px;
}
.jd-v2-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}
.jd-v2-mark {
  display: block;
  height: 44px;
  width: auto;
  flex: none;
}
.jd-v2-names {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  font-size: 30px;
}
.jd-v2-word {
  font-family: Cinzel, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  color: #F0ECE4;
}
.jd-v2-names-audit .jd-v2-word { font-size: 0.86em; }
.jd-v2-sub {
  font-family: Cinzel, "Times New Roman", serif;
  font-weight: 600;
  font-size: 0.32em;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
  color: #D4CFC6;
}
.jd-v2-header.is-audit .jd-v2-word,
.jd-v2-header.is-audit .jd-v2-sub,
.jd-family-card.is-audit .jd-v2-word,
.jd-family-card.is-audit .jd-v2-sub {
  color: #ffffff;
}
.jd-v2-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px 18px;
  margin-left: auto;
}
header.jd-v2-header nav.jd-v2-nav {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
  height: auto;
  width: auto;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  padding: 0;
}
.jd-v2-nav a,
.jd-v2-nav a:link,
.jd-v2-nav a:visited {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  color: #D4CFC6;
  font-family: "Helvetica Neue", Helvetica, "Nimbus Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  text-transform: none;
}
.jd-v2-nav a:hover { color: #F0ECE4; }
.jd-v2-header a:focus-visible,
.jd-v2-foot a:focus-visible,
.jd-family-card:focus-visible {
  outline: 2px solid #F0ECE4;
  outline-offset: 3px;
}

@media (min-width: 1100px) {
  .jd-v2-bar {
    height: 88px;
    min-height: 88px;
    padding-top: 0;
    padding-bottom: 0;
    flex-wrap: nowrap;
  }
}

@media (max-width: 1099px) {
  .jd-v2-bar {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 4px;
  }
  header.jd-v2-header nav.jd-v2-nav,
  .jd-v2-nav {
    margin-left: 0;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .jd-v2-bar { padding: 12px 16px; }
  .jd-v2-names { font-size: 26px; }
}

.jd-v2-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-top: auto;
  padding: 28px 24px 36px;
  box-sizing: border-box;
  background: #0A1628;
  border-top: 1px solid #24324A;
  text-align: center;
  color: #F0ECE4;
}
.jd-v2-foot-mark {
  display: block;
  height: 24px;
  width: auto;
}
.jd-v2-foot-line,
.jd-v2-foot-meta {
  margin: 0;
  max-width: 42rem;
  font-family: "Helvetica Neue", Helvetica, "Nimbus Sans", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
}
.jd-v2-foot-line {
  font-size: 15px;
  line-height: 1.45;
  color: #D4CFC6;
}
.jd-v2-foot-meta {
  font-size: 13px;
  line-height: 1.45;
  color: #8D94A3;
}

/* Homepage product cards. The studio page stays near-black and Helvetica.
   Only the lockup uses Cinzel and the product color. */
.jd-family {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}
.jd-family-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
  padding: 22px 20px 20px;
  background: #171717;
  border: 1px solid #2a2a2a;
  border-left: 4px solid var(--jd-accent, #ffffff);
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
}
.jd-family-card:hover { background: #1c1c1c; }
.jd-family-card .jd-v2-lockup { margin-right: 0; }
@media (min-width: 800px) {
  .jd-family { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* 320px: the studio nav and the product header must stay inside the viewport. */
@media (max-width: 400px) {
  #nav .nav-inner { padding-left: 8px; padding-right: 8px; gap: 4px; min-width: 0; }
  #nav .brand { min-width: 0; gap: 6px; font-size: 10px; letter-spacing: 0.02em; }
  #nav .nav-cta { padding: 6px; font-size: 10px; letter-spacing: 0.02em; }
  #nav .nav-end { gap: 4px; }
  #nav .nav-toggle { width: 32px; height: 32px; }
  .hero-grid, .hero-grid > * { min-width: 0; max-width: 100%; }
  .eyebrow, .eyebrow-full { white-space: normal; max-width: 100%; }
}
@media (max-width: 360px) {
  .jd-v2-bar { padding: 12px; }
  .jd-v2-lockup { gap: 8px; }
  .jd-v2-names { font-size: 20px; }
  .jd-v2-word, .jd-v2-sub { letter-spacing: 0.02em; }
}
