/* ==========================================================================
   Peddler Kicks - page sections
   Styles that only one page uses. Anything reused lives in components.css.
   ========================================================================== */

/* ------------------------------------------------------------------- hero */

/* Hero. hero.jpg sits behind the whole block, washed back so the type stays
   readable and the photo still shows through on the wider screens. */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  background: var(--logo-ink) url("../hero.jpg") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(245, 242, 237, 0.97) 0%,
    rgba(245, 242, 237, 0.93) 40%,
    rgba(245, 242, 237, 0.66) 64%,
    rgba(245, 242, 237, 0.45) 100%
  );
}

@media (max-width: 61.999rem) {
  .hero {
    background-position: center 30%;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(245, 242, 237, 0.96) 0%,
      rgba(245, 242, 237, 0.9) 55%,
      rgba(245, 242, 237, 0.72) 100%
    );
  }
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: end;
}

@media (min-width: 62rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.hero__meta span {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Emphasis is colour only: Archivo Black has no italic to borrow. */
.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__copy {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  max-width: 42ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
}

.hero__note {
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Hero clips: the two videos, sitting over the photo. */
.hero-clips {
  display: grid;
  gap: clamp(0.6rem, 1.2vw, 0.9rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.clip {
  margin: 0;
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.clip__video {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--logo-ink);
  border-radius: 0.7rem;
  box-shadow: 0 12px 28px rgba(22, 19, 15, 0.22);
}

.clip__caption {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -------------------------------------------------------- brand statement */

.statement {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

@media (min-width: 62rem) {
  .statement {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }
}

.statement__text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-top: 1.1rem;
}

.statement__text span {
  color: var(--accent);
}

.statement__aside {
  display: grid;
  gap: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.facts {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.facts__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
}

.facts__key {
  color: var(--muted);
  letter-spacing: 0.02em;
}

.facts__value {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ story */

.story__figure {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-sunk);
}

.story__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story__body p + p {
  margin-top: 1.05rem;
}

.story__body .pull-note {
  margin-top: 1.75rem;
  font-size: 0.9375rem;
}

/* =========================================================== dark sections */

.section--ink .lede {
  color: #c9c1b6;
}

.section--ink .notice {
  color: #a49b90;
}

.story__steps {
  counter-reset: step;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.story__step {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.5rem 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.story__step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  color: var(--accent);
  padding-top: 0.15rem;
}

.story__step h3 {
  font-family: var(--font-text);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.2rem;
}

.story__step p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* -------------------------------------------------------------- instagram */

.ig-band__inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 62rem) {
  .ig-band__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

.ig-band__handle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  letter-spacing: -0.02em;
  border-bottom: 1px solid #3a332c;
  padding-bottom: 0.4rem;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.ig-band__handle:hover {
  color: var(--accent-bright);
  border-color: var(--accent-bright);
}

.ig-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.ig-band .btn {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.ig-band .btn:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: var(--paper);
}

.ig-band .btn--ghost {
  background: transparent;
  color: var(--paper);
}

.ig-band .btn--ghost:hover {
  background: transparent;
  border-color: var(--accent-bright);
  color: var(--accent-bright);
}

/* --------------------------------------------------------------- page head */

.page-head {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.page-head__inner {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

@media (min-width: 62rem) {
  .page-head__inner--split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
  }
}

.page-head__title {
  margin-top: 1rem;
}

/* ------------------------------------------------------------------- shop */

.shop-bar {
  display: grid;
  gap: 1rem;
  align-items: end;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 48rem) {
  .shop-bar {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.shop-bar__count {
  font-size: 0.8125rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.shop-empty {
  padding-block: clamp(3rem, 8vw, 6rem);
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.shop-empty[hidden] {
  display: none;
}

.shop-grid-wrap {
  padding-block: clamp(2rem, 5vw, 3.5rem) clamp(4rem, 8vw, 7rem);
}

/* Delivery reminder under the shop grid. */
.shop-note {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.shop-note .link {
  margin-left: 0.25rem;
}

/* ---------------------------------------------------------------- product */

.product-wrap {
  padding-top: 1.5rem;
}

.product {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 7vw, 5.5rem);
}

@media (min-width: 62rem) {
  .product {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }

  .product__media {
    position: sticky;
    top: 6.5rem;
  }
}

.product__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-sunk);
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: var(--line-strong);
}

.product__title {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  margin-top: 0.75rem;
}

.product__price {
  margin-top: 1.15rem;
  font-size: 1.125rem;
}

.product__price .price__now {
  font-size: 1.25rem;
}

.product__block {
  margin-top: clamp(1.75rem, 3vw, 2.25rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.85rem;
}

.product__block p {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.product__actions {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.6rem;
}

.product__meta {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}

.product__meta-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
}

.product__meta-row span:first-child {
  color: var(--muted);
}

.product__meta-row span:last-child {
  text-align: right;
}

.size-warning {
  font-size: 0.8125rem;
  color: var(--accent);
}

.size-warning[hidden] {
  display: none;
}

.product-missing {
  padding-block: clamp(4rem, 10vw, 8rem);
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

/* --------------------------------------------------------------- prose list */

.prose-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.prose-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.prose-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.4rem;
  height: 1px;
  background: var(--accent);
}

/* ------------------------------------------------------------ contact page */

.contact-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.contact-list__row {
  display: grid;
  gap: 0.35rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 40rem) {
  .contact-list__row {
    grid-template-columns: 9rem minmax(0, 1fr);
    align-items: baseline;
    gap: 1.5rem;
  }
}

.contact-list__row dt {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list__row dd {
  margin: 0;
  font-size: 1.0625rem;
}

.contact-list__row a {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.contact-list__row a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------------------------------------------------------------- delivery */

.zone-grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.zone-card {
  border-top: 1px solid var(--line-strong);
  padding-top: 1rem;
}

.zone-card__area {
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.zone-card__places {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.zone-card__rows {
  margin-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.zone-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
}

.zone-card__row dt {
  color: var(--muted);
}

.zone-card__row dd {
  margin: 0;
  text-align: right;
}

.delivery-table-wrap {
  overflow-x: auto;
}

.delivery-table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  text-align: left;
}

.delivery-table th,
.delivery-table td {
  padding: 0.9rem 1.25rem 0.9rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.9375rem;
  font-weight: 400;
}

.delivery-table thead th {
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.delivery-table tbody th {
  font-weight: 500;
}

.delivery-table__places {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
}

.delivery-table td:last-child {
  white-space: nowrap;
}

/* -------------------------------------------------------------------- 404 */

.notfound {
  padding-block: clamp(4rem, 12vw, 9rem);
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 18vw, 11rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--accent);
}