/* =========================================================
   hoodies.css  |  Gorsial hoodies page
   Load AFTER styles.css. Uses the same tokens (--ox, --ink,
   --ecru, --paper, --olive, --line, --hd, --bd) and re-uses
   .wrap .sec .head .eyebrow .btn-primary .btn-secondary
   .tech .steps .build .faq .slider from styles.css.
   Everything new is prefixed hd- so nothing clashes.
   ========================================================= */

/* ---------- shared bits ---------- */
.hd-ph {
  background: #1c1c1c;
  overflow: hidden;
}
.hd-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hd-left {
  text-align: left;
  margin-left: 0;
}
.hd-lede {
  font-size: 15.5px;
  line-height: 1.45;
  max-width: 30em;
}
.black .hd-lede {
  color: #c9c9c9;
}
:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

/* image card: photo, gradient, label bottom-left */
.hd-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #1c1c1c;
  color: #fff;
  aspect-ratio: 4/5;
}
.hd-card.wide {
  aspect-ratio: 16/11;
}
.hd-card.sq {
  aspect-ratio: 1/1;
}
.hd-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
a.hd-card:hover img {
  transform: scale(1.04);
}
.hd-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(25, 0, 0, 0.86),
    rgba(25, 0, 0, 0) 58%
  );
}
.hd-card > span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hd-card b {
  font: 700 19px/1.2 var(--hd);
}
.hd-card small {
  font-size: 13.5px;
  line-height: 1.35;
  opacity: 0.88;
}
.hd-card u {
  font-weight: 600;
  font-size: 14px;
  text-underline-offset: 4px;
  margin-top: 4px;
}

/* ---------- hero ---------- */
.hd-hero {
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hd-hero-in {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 136px 0 84px;
  min-height: min(840px, 100svh);
}
.hd-crumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #c9c9c9;
  margin-bottom: 22px;
}
.hd-crumb li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}
.hd-crumb a:hover {
  color: #fff;
}
.hd-hero h1 {
  font: 700 clamp(36px, 5vw, 62px)/1.12 var(--hd);
  max-width: 9.5em;
  margin-bottom: 24px;
}
.hd-hero .hd-sub {
  max-width: 27em;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.4;
  opacity: 0.92;
  margin-bottom: 32px;
}
.hd-hero .hero-actions {
  margin-bottom: 26px;
}
.hd-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  aspect-ratio: 1/1.08;
}
.hd-mosaic .hd-ph {
  border-radius: 20px;
  min-height: 0;
}
.hd-mosaic .hd-ph:first-child {
  grid-row: 1/3;
  border-radius: 28px;
}
.hd-mosaic .hd-ph:nth-child(3) {
  border-radius: 20px 20px 28px 20px;
}

/* ---------- stats strip ---------- */
.hd-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #fff;
}
.hd-stats > div {
  padding: 26px 28px;
  border: 1px solid var(--line);
  margin: -0.5px;
}
.hd-stats b {
  display: block;
  font: 700 clamp(24px, 2.6vw, 30px)/1.1 var(--hd);
  color: var(--ox);
  margin-bottom: 8px;
}
.hd-stats span {
  font-size: 14.5px;
  line-height: 1.35;
}
.hd-strip {
  padding: 0 0 56px;
}
.hd-strip .hd-stats {
  margin-top: -44px;
  position: relative;
  z-index: 2;
  box-shadow: 0 18px 40px rgba(45, 0, 0, 0.12);
}

/* ---------- styles slider ---------- */
.hd-slide {
  flex: 0 0 calc(100% / var(--pv));
  padding-right: 14px;
  scroll-snap-align: start;
}
.hd-slide .hd-card {
  width: 100%;
}

/* ---------- fabrics ---------- */
.hd-weights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
.hd-fabrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hd-fabric {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 12px 18px;
  display: flex;
  flex-direction: column;
}
.hd-fabric .hd-ph {
  aspect-ratio: 4/3;
  border-radius: 18px;
  margin-bottom: 18px;
}
.hd-fabric h3 {
  font-size: 19px;
  margin: 0 6px 10px;
}
.hd-fabric dl {
  margin: 0 6px 14px;
  font-size: 14px;
  line-height: 1.35;
}
.hd-fabric dl div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}
.hd-fabric dt {
  font-weight: 700;
  color: var(--ox);
}
.hd-fabric dd {
  margin: 0;
}
.hd-fabric > a {
  margin: auto 6px 0;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hd-fabric > a:hover {
  color: var(--ox);
}

/* ---------- colour studio ---------- */
.hd-colour {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 64px;
  align-items: center;
}
.hd-stage {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 28px;
  overflow: hidden;
  background: #1c1c1c;
  max-width: 520px;
  width: 100%;
  justify-self: center;
}
.hd-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s;
}
.hd-stage img.swap {
  opacity: 0;
}
.hd-chip {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.78);
  padding: 10px 16px 10px 12px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
}
.hd-chip i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c, #6d0808);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.hd-colour-copy .head {
  margin-bottom: 26px;
}
.hd-swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.hd-sw {
  aspect-ratio: 1/1;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--c);
  cursor: pointer;
  position: relative;
  transition: transform 0.15s;
}
.hd-sw:hover {
  transform: translateY(-2px);
}
.hd-sw[aria-pressed="true"] {
  outline: 2px solid var(--ecru);
  outline-offset: 3px;
}
.hd-picked {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid #333;
}
.hd-picked b {
  font: 700 22px var(--hd);
}
.hd-picked span {
  font-size: 14px;
  color: #c9c9c9;
}
.hd-pantone {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.hd-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 200px;
  min-width: 0;
}
.hd-field label {
  font-size: 13.5px;
  font-weight: 600;
}
.hd-field input,
.hd-field select,
.hd-field textarea {
  font: 400 15px var(--bd);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 14px;
  width: 100%;
  min-width: 0;
}
.hd-field textarea {
  resize: vertical;
  min-height: 120px;
}
.hd-field input:focus,
.hd-field select:focus,
.hd-field textarea:focus {
  outline: 2px solid var(--ox);
  outline-offset: 0;
  border-color: var(--ox);
}
.hd-pantone .btn-primary {
  border: 0;
  cursor: pointer;
}
.hd-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* ---------- logo placement ---------- */
.hd-tech3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: none;
}
.hd-tech3 article {
  background: #fff;
}
.hd-place {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 64px;
  align-items: center;
}
.hd-guide {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 28px;
  background: #1c1c1c;
  border: 1px solid var(--ink);
  max-width: 480px;
  width: 100%;
  justify-self: center;
}
.hd-guide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 27px;
}
.hd-spot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--ox);
  color: #fff;
  font: 700 12.5px var(--bd);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s;
}
.hd-spot.on {
  background: var(--olive);
  transform: scale(1.22);
}
.hd-places {
  display: flex;
  flex-direction: column;
}
.hd-places button {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 10px;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 16px 4px;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.hd-places button:last-child {
  border-bottom: 1px solid var(--line);
}
.hd-places b {
  font: 700 15px var(--hd);
  color: var(--ox);
  padding-top: 2px;
}
.hd-places strong {
  font: 700 17px/1.25 var(--hd);
}
.hd-places p {
  grid-column: 2;
  font-size: 14.5px;
  line-height: 1.4;
  max-width: 28em;
  display: none;
}
.hd-places button.on p {
  display: block;
}
.hd-places button.on strong {
  color: var(--ox);
}

/* ---------- detail tiles ---------- */
.hd-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* ---------- process with images ---------- */
.hd-steps .hd-ph {
  aspect-ratio: 16/10;
  border-radius: 22px;
  margin-bottom: 16px;
}
.hd-steps small b {
  color: var(--ox);
}
.hd-time {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--olive);
}

/* ---------- MOQ split (uses .build) ---------- */
.hd-facts {
  display: grid;
  gap: 0;
  width: 100%;
  max-width: 26em;
  margin-top: 4px;
}
.hd-facts div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid #3a2a2a;
  font-size: 15px;
}
.hd-facts div:last-child {
  border-bottom: 1px solid #3a2a2a;
}
.hd-facts dt {
  color: #d6d6d6;
}
.hd-facts dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

/* ---------- delivery ---------- */
.hd-carriers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 14px;
}

.hd-carriers > div {
  min-width: 0;
  margin: -0.5px;
  aspect-ratio: 5 / 3;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  padding: 14px;
}

.hd-carriers img {
  display: block;
  width: 100%;
  max-width: 130px;
  height: auto;
  object-fit: contain;
}

/* Mobile */
@media (max-width: 600px) {
  .hd-carriers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hd-carriers > div {
    padding: 10px;
  }
}

.hd-modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.hd-terms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 28px;
}
.hd-terms li {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  font-size: 14px;
  line-height: 1.4;
}
.hd-terms b {
  display: block;
  font: 700 17px var(--hd);
  color: var(--ox);
  margin-bottom: 2px;
}

/* ---------- gallery + lightbox ---------- */
.hd-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 19vw, 240px);
  gap: 14px;
}
.hd-gallery a {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: #1c1c1c;
  border: 1px solid #333;
  cursor: zoom-in;
}
.hd-gallery a:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.hd-gallery a:nth-child(6) {
  grid-column: span 2;
}
.hd-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.hd-gallery a:hover img {
  transform: scale(1.05);
}
.hd-lb {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(960px, 94vw);
  max-height: 92vh;
  width: 100%;
  margin: auto;
  color: #fff;
  overflow: visible;
}
.hd-lb::backdrop {
  background: rgba(0, 0, 0, 0.88);
}
.hd-lb img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  background: #111;
}
.hd-lb p {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
  color: #d6d6d6;
}
.hd-lb button {
  position: absolute;
  background: #000;
  color: #fff;
  border: 1px solid #444;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hd-lb button:hover {
  background: var(--ox);
}
.hd-lb .lb-x {
  top: -14px;
  right: -6px;
}
.hd-lb .lb-p {
  left: 8px;
  top: 40%;
}
.hd-lb .lb-n {
  right: 8px;
  top: 40%;
}

/* ---------- quote form ---------- */
.hd-quote {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.hd-quote-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hd-quote-copy h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  max-width: 11em;
}
.hd-checklist {
  display: grid;
  gap: 0;
  max-width: 26em;
  font-size: 15px;
}
.hd-checklist li {
  padding: 11px 0 11px 26px;
  border-top: 1px solid var(--line);
  position: relative;
}
.hd-checklist li:last-child {
  border-bottom: 1px solid var(--line);
}
.hd-checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 9px;
  height: 9px;
  background: var(--ox);
}
.hd-form {
  background: #fff;
  border: 1px solid var(--line);
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hd-form .full {
  grid-column: 1/-1;
}
.hd-form .hd-field {
  flex: none;
}
.hd-form button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}
.hd-status {
  grid-column: 1/-1;
  font-size: 14px;
  line-height: 1.4;
  min-height: 1.4em;
}
.hd-status a {
  text-decoration: underline;
  color: var(--ox);
}
.hd-note {
  font-size: 13px;
  opacity: 0.8;
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hd-hero-in {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 120px 0 64px;
    min-height: 0;
  }
  .hd-mosaic {
    aspect-ratio: 16/11;
  }
  .hd-colour,
  .hd-place,
  .hd-quote {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hd-stats {
    grid-template-columns: 1fr 1fr;
  }
  .hd-fabrics,
  .hd-tech3 {
    grid-template-columns: 1fr 1fr;
  }
  .hd-methods,
  .hd-details,
  .hd-modes {
    grid-template-columns: 1fr 1fr;
  }
  .hd-carriers {
    grid-template-columns: repeat(3, 1fr);
  }
  .hd-terms {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .hd-weights {
    grid-template-columns: 1fr;
  }
  .hd-weights .hd-card.wide {
    aspect-ratio: 16/9;
  }
  .hd-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }
  .hd-gallery a:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .hd-form {
    padding: 22px;
  }
}
@media (max-width: 520px) {
  .hd-hero-in {
    padding: 104px 0 52px;
  }
  .hd-mosaic {
    gap: 10px;
    aspect-ratio: 1/1;
  }
  .hd-stats > div {
    padding: 20px 18px;
  }
  .hd-strip {
    padding-bottom: 60px;
  }
  .hd-fabrics,
  .hd-tech3 {
    grid-template-columns: 1fr;
  }
  .hd-card > span {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .hd-card b {
    font-size: 16px;
  }
  .hd-card small {
    font-size: 12.5px;
  }
  .hd-card.sq {
    aspect-ratio: 3/4;
  }
  .hd-details,
  .hd-methods,
  .hd-modes {
    gap: 10px;
  }
  .hd-swatches {
    grid-template-columns: repeat(4, 1fr);
  }
  .hd-carriers {
    grid-template-columns: repeat(2, 1fr);
  }
  .hd-terms {
    grid-template-columns: 1fr;
  }
  .hd-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .hd-form button {
    width: 100%;
    text-align: center;
  }
  .hd-pantone .btn-primary {
    width: 100%;
    text-align: center;
  }
  .hd-slide {
    padding-right: 10px;
  }
  .hd-lb .lb-p,
  .hd-lb .lb-n {
    top: auto;
    bottom: 44px;
  }
}

/* ---------- more products ---------- */
.hd-more {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 1000px) {
  .hd-more {
    grid-template-columns: repeat(6, 1fr);
  }
  .hd-more .hd-card {
    grid-column: span 2;
  }
  .hd-more .hd-card:nth-child(n + 4) {
    grid-column: span 3;
    aspect-ratio: 4/3;
  }
}
@media (max-width: 760px) {
  .hd-more {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hd-more .hd-card,
  .hd-more .hd-card:nth-child(n + 4) {
    grid-column: auto;
    aspect-ratio: 3/4;
  }
  .hd-more .hd-card:last-child {
    grid-column: 1/-1;
    aspect-ratio: 16/9;
  }
}

.colour-and-print {
  padding: 4rem 2.5rem;
}

#colours {
  padding: 4rem 2.5rem;
}
