/* Preferred local navigation: B structure + A dropdowns. */

.na-item { position: relative; }
.na-item-products { position: static; }
.na-panel {
  position: absolute;
  top: calc(100% + 1px);
  z-index: 60;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--na-radius) var(--na-radius);
  background: #FFFDF8;
  box-shadow: 0 34px 60px -34px rgba(33, 64, 47, .42), 0 2px 6px rgba(33, 64, 47, .05);
}
/* One stitched seam, the only peach in the menu. */
.na-panel::before {
  content: "";
  position: absolute;
  inset: 9px 22px auto;
  height: 1.5px;
  background: linear-gradient(90deg, var(--iris-300) 55%, transparent 0) 0 0 / 11px 1.5px repeat-x;
  opacity: .8;
}
.na-panel-products { left: 0; right: 0; top: calc(100% + 1px); }
.na-row > .na-primary .na-panel-products { margin-top: 0; }
.na-products-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 296px);
  gap: 28px;
  padding: 30px 28px 24px;
}
.na-families {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-content: start;
}
.na-family { padding: 14px 14px 16px; border-radius: 16px; transition: background .18s ease; }
.na-family:hover, .na-family:focus-within { background: var(--tint); }
.na-family-link, .na-industry {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}
.na-tile {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--pine-50);
  color: #203e31;
  --woven-icon-size: 42px;
}
.na-family-copy { display: grid; gap: 3px; padding-top: 2px; }
.na-family-name {
  display: block;
  color: var(--pine-700);
  font: 560 19px/1.15 var(--display);
  letter-spacing: -.012em;
}
.na-family-link:hover .na-family-name, .na-industry:hover .na-family-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.na-family-desc { display: block; color: var(--stone); font-size: 14px; line-height: 1.4; }
.na-price { display: block; margin-top: 3px; color: var(--pine-600); font-size: 13.5px; font-weight: 700; }
.na-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0 66px;
  padding: 0;
  list-style: none;
}
.na-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--graphite);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.na-chips a:hover { border-color: var(--pine-300); color: var(--pine-700); }

/* Studio feature: compact, one image, one action. */
.na-feature {
  display: flex;
  flex-direction: column;
  padding: 16px 18px 18px;
  border: 1px solid var(--pine-100);
  border-radius: 18px;
  background: var(--pine-50);
}
.na-feature-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 132px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: var(--surface);
  overflow: hidden;
}
.na-feature-media img { width: auto; height: 118px; object-fit: contain; }
.na-swatches { position: absolute; left: 10px; bottom: 10px; display: flex; }
.na-swatches span {
  width: 24px;
  height: 24px;
  margin-right: -6px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 1px 3px rgba(33, 64, 47, .25);
}
.na-feature-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 4px;
  color: var(--pine-600);
  font-size: 12.5px;
  font-weight: 700;
  --woven-icon-size: 20px;
}
.na-feature-kicker .woven-line-icon { --art-stitch: 0; }
.na-feature-title { margin: 0; color: var(--pine-700); font: 560 22px/1.1 var(--display); letter-spacing: -.015em; }
.na-feature-copy { margin: 6px 0 14px; color: var(--graphite); font-size: 14px; line-height: 1.45; }
.na-feature-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0 16px;
  border: 1px solid var(--pine-500);
  border-radius: 999px;
  background: var(--surface);
  color: var(--pine-700);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.na-feature-cta:hover { background: var(--pine-500); color: #fff; }
.na-feature-cta:focus-visible { border-radius: 999px; }

.na-panel-foot {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 12px 28px 14px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--na-radius) var(--na-radius);
  background: #FAF5EC;
}
.na-catalog {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--pine-700);
  font-size: 14.5px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--pine-300);
  text-underline-offset: 4px;
  --woven-icon-size: 24px;
}
.na-catalog .woven-line-icon { --art-stitch: 0; }
.na-catalog:hover { text-decoration-color: currentColor; }
.na-note { margin: 0; color: var(--stone); font-size: 12.5px; line-height: 1.5; }
.na-note a { color: var(--pine-700); font-weight: 700; }

.na-panel-industries { left: 0; width: min(760px, calc(100vw - 2 * var(--gutter))); }
.na-industries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 28px 18px 18px;
  list-style: none;
}
.na-industry { padding: 14px; border-radius: 16px; }
.na-industry:hover, .na-industry:focus-visible { background: var(--tint); }
.na-industry .na-tile { width: 46px; height: 46px; --woven-icon-size: 38px; }
.na-industry .na-family-name { font-size: 17.5px; }
.na-industry > span:last-child { display: grid; gap: 4px; }
.na-panel-industries .na-panel-foot { padding-block: 14px 16px; }

@media (min-width: 981px) and (max-width: 1199px) {
  .na-products-body { grid-template-columns: minmax(0, 1fr) 236px; gap: 20px; padding-inline: 20px; }
  .na-families { gap: 4px 10px; }
  .na-family { padding: 12px 10px 14px; }
  .na-tile { width: 46px; height: 46px; --woven-icon-size: 38px; }
  .na-chips { margin-left: 60px; }
  .na-feature { padding: 14px; }
  .na-feature-media { height: 112px; }
  .na-feature-media img { height: 100px; }
  .na-feature-copy { font-size: 13.5px; }
}
.na-m-studio {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 20px;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--pine-100);
  border-radius: 16px;
  background: var(--pine-50);
  color: var(--pine-700);
  text-decoration: none;
}
.na-m-studio:focus-visible { border-radius: 16px; }
.na-m-studio-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 70px;
  border-radius: 11px;
  background: var(--surface);
}
.na-m-studio-media img { width: auto; height: 60px; }
.na-m-studio-media .na-swatches { left: auto; right: -6px; bottom: -4px; }
.na-m-studio-media .na-swatches span { width: 20px; height: 20px; }
.na-m-studio-title { display: block; font: 560 19px/1.15 var(--display); }
.na-m-studio-copy { display: block; margin-top: 3px; color: var(--graphite); font-size: 14px; line-height: 1.35; }
.na-m-arrow { width: 20px; height: 20px; }

.na-acc { border-bottom: 1px solid var(--line); }
.na-acc-heading { margin: 0; font: inherit; }
.na-acc-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 700 17px/1 var(--sans);
  text-align: left;
  cursor: pointer;
  --woven-icon-size: 28px;
}
.na-acc-btn .woven-line-icon { --art-stitch: 0; color: #203e31; }
.na-acc-btn .na-chev { margin-left: auto; width: 18px; height: 18px; }
.na-acc-body { padding: 0 0 16px; }
.na-m-families, .na-m-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.na-m-family, .na-m-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 6px 6px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}
.na-m-family:hover, .na-m-row:hover { background: var(--tint); }
.hybrid-mobile .na-tile { width: 42px; height: 42px; border-radius: 11px; --woven-icon-size: 34px; }
.na-m-name { display: block; color: var(--ink); font-size: 15.5px; font-weight: 700; line-height: 1.25; }
.na-m-price { display: block; margin-top: 2px; color: var(--pine-600); font-size: 13px; font-weight: 700; line-height: 1.35; }
.na-m-desc { display: block; margin-top: 2px; color: var(--stone); font-size: 13.5px; }
.na-m-families .na-chips { margin: 2px 0 10px 60px; }
.na-m-families .na-chips a { min-height: 36px; }
.na-m-catalog {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 6px 0 4px 6px;
  color: var(--pine-700);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--pine-300);
  text-underline-offset: 4px;
}
.hybrid-mobile .na-note { padding: 0 6px; }
.na-m-secondary { padding-top: 10px; }
.na-m-plain .na-tile { background: transparent; }

/* B positions the floating header; A supplies the opaque dropdown design. */
.nav-hybrid { --na-radius: 22px; }
.nav-hybrid .nb-panel.na-panel {
  top: calc(100% + 10px); right: 0; left: 0;
  max-height: calc(100dvh - 140px); overflow: auto; overscroll-behavior: contain;
  border: 1px solid var(--line); border-radius: 22px;
  background: #FFFDF8;
  box-shadow: 0 34px 60px -34px rgba(33,64,47,.42), 0 2px 6px rgba(33,64,47,.05);
}
.nav-hybrid #nb-industries {
  left: clamp(0px, calc(100% - 760px), 160px); right: auto;
  width: min(760px, 100%);
}
.nav-hybrid .hybrid-industry-item { position: static; }
.nav-hybrid .na-panel-foot { gap: 20px; }
.nav-hybrid .na-panel-foot .na-note { flex: 1; min-width: 0; }
.nav-hybrid .hybrid-phone { display: inline-flex; flex: none; align-items: center; gap: 7px; min-height: 44px; color: var(--pine-700); font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.nav-hybrid .hybrid-phone:hover { text-decoration: underline; text-underline-offset: 3px; }
.nav-hybrid :is(.na-family-link,.na-industry,.na-chips a,.na-feature-cta,.na-m-studio,.na-acc-btn,.na-m-catalog):focus-visible {
  outline: 3px solid var(--pine-600); outline-offset: 3px;
}
.nav-hybrid .na-chev { width: 14px; height: 14px; stroke-width: 2.2; transition: transform .2s ease; }
.nav-hybrid .na-acc-btn[aria-expanded="true"] .na-chev { transform: rotate(180deg); }
.nav-hybrid .hybrid-mobile .nb-s-search { margin-bottom: 16px; }
.nav-hybrid .hybrid-mobile .na-m-studio { margin-bottom: 12px; }
.nav-hybrid .hybrid-mobile .na-m-name { color: var(--ink); }
.nav-hybrid .hybrid-mobile .na-m-secondary { margin-inline: auto; }
@media (min-width: 981px) and (max-height: 700px) {
  .nav-hybrid .na-products-body { padding-block: 22px 16px; }
  .nav-hybrid .na-feature-media { height: 112px; margin-bottom: 10px; }
  .nav-hybrid .na-feature-media img { height: 100px; }
}
@media (max-width: 389px) {
  .nav-hybrid .hybrid-mobile .na-tile { width: 38px; height: 38px; --woven-icon-size: 31px; }
  .nav-hybrid .hybrid-mobile .na-m-family { gap: 10px; }
  .nav-hybrid .hybrid-mobile .na-chips { margin-left: 54px; }
}
@media (forced-colors: active) {
  .nav-hybrid .nb-panel.na-panel, .nav-hybrid .na-feature, .nav-hybrid .na-m-studio { border: 1px solid CanvasText; }
}

/* Direct outerwear discovery, using the existing line-art and sage palette. */
.na-chips a.na-jackets-link {
  gap: 7px;
  min-height: 44px;
  padding: 7px 12px;
  color: var(--pine-700);
  background: var(--pine-50);
  border-color: var(--pine-300);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
}
.na-jackets-link .woven-line-icon { width: 19px; height: 19px; flex: none; }
.apparel-outerwear-cta { gap: 9px; }
.apparel-outerwear-cta .woven-line-icon { width: 22px; height: 22px; flex: none; }
.rcard.outerwear-card .img img { width: 100%; height: 100%; object-fit: contain; }
.audience-hero .ahero-visual .main img.school-scene { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 920px) {
  .apparel-outerwear-cta { white-space: normal; text-align: center; }
  /* A community scene needs more room than the old small product thumbnail. */
  .school-scene-page .audience-hero .grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .school-scene-page .audience-hero .grid > div { display: contents; }
  .school-scene-page .audience-hero .grid > div > .crumbs { order: 0; margin-bottom: 16px; }
  .school-scene-page .audience-hero .eyebrow { display: none; }
  .school-scene-page .audience-hero .grid > div > h1 { order: 1; margin: 0 0 18px; }
  .school-scene-page .audience-hero .ahero-visual { order: 2; width: 100%; margin: 0 0 18px; align-self: stretch; }
  .school-scene-page .audience-hero .ahero-visual .main { width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .school-scene-page .audience-hero .ahero-visual .main img.school-scene { object-position: 50% 38%; }
  .school-scene-page .audience-hero .inner-photo-note { font-size: 12px; line-height: 1.4; }
  .school-scene-page .audience-hero .grid > div > p { order: 3; margin: 0 0 20px; }
  .school-scene-page .audience-hero .grid > div > .ctas { order: 4; margin-top: 0; }
}
