/*
Theme Name: Northline Supply
Theme URI: https://zhoguoniuzaiku.com
Author: OpenAI Codex
Description: A mobile-first workwear storefront theme focused on vintage denim and premium editorial presentation.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: northline-supply
*/

:root {
  --bg: #0d0d0d;
  --panel: #171717;
  --panel-soft: #202020;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f2f1ed;
  --muted: #a3a3a3;
  --accent-soft: #bac2cc;
  --max-width: 1220px;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Public Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(112, 128, 144, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 22%),
    linear-gradient(180deg, #0b0b0b 0%, #121212 42%, #090909 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.topbar,
.hero,
.section-grid,
.split-section,
.motion-section,
.lookbook-section,
.reviews-section,
.subscribe-section,
.statement-band,
.footer {
  position: relative;
  z-index: 1;
}

.utility-bar {
  display: grid;
  gap: 10px;
  padding: 8px 0 14px;
  border-bottom: 1px solid var(--line);
}

.utility-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.utility-links a {
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 12px 0 28px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.08em;
}

.brand-name,
.brand-tag,
.footer p {
  margin: 0;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 600;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.78rem;
}

.topnav {
  display: none;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  white-space: nowrap;
}

.support-nav {
  display: none;
  gap: 14px 18px;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.support-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  white-space: nowrap;
}

.mobile-quicknav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 18px;
  margin: 0 -2px;
  scrollbar-width: none;
}

.mobile-quicknav::-webkit-scrollbar {
  display: none;
}

.mobile-quicknav a {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.03);
}

.hero {
  display: grid;
  gap: 24px;
  padding: 26px 0 48px;
}

.hero-copy,
.statement-band,
.motion-card,
.review-card,
.subscribe-section,
.editorial-card,
.product-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 28px;
  border-radius: calc(var(--radius) + 8px);
}

.eyebrow,
.label {
  margin: 0 0 12px;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

h1,
h2,
h3 {
  font-family: "Oswald", sans-serif;
  line-height: 0.96;
  margin: 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.2rem, 11vw, 6.9rem);
  max-width: 8ch;
}

h2 {
  font-size: clamp(2rem, 7vw, 4.2rem);
  max-width: 12ch;
}

h3 {
  font-size: clamp(1.25rem, 3.5vw, 1.7rem);
  margin-bottom: 10px;
}

.hero-text,
.section-heading p,
.statement-band p:last-child,
.product-card p,
.editorial-card p:last-child,
.motion-card p:last-child,
.subscribe-section p,
.footer p:last-child {
  color: var(--muted);
  line-height: 1.65;
}

.hero-text {
  max-width: 36ch;
  margin: 18px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--text);
  color: #111;
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-visual {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.film-card,
.look,
.product-image,
.editorial-card.large {
  overflow: hidden;
  position: relative;
}

.film-card,
.look {
  min-height: 200px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.film-card span,
.look span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.visual-one {
  min-height: 320px;
  grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.58)),
    linear-gradient(140deg, #6f7681 0%, #303237 52%, #121212 100%);
}

.visual-two {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.62)),
    linear-gradient(140deg, #3e454e 0%, #1f2124 70%, #111 100%);
}

.stats-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.stats-card p,
.stats-card strong {
  margin: 0;
}

.stats-card p {
  color: var(--muted);
  margin-bottom: 10px;
}

.stats-card strong {
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
}

main section {
  margin-top: 26px;
}

.section-grid,
.motion-section,
.lookbook-section,
.reviews-section {
  display: grid;
  gap: 22px;
}

.section-heading {
  display: grid;
  gap: 10px;
}

.narrow {
  max-width: 600px;
}

.product-grid,
.motion-grid,
.reviews-grid,
.lookbook-grid {
  display: grid;
  gap: 16px;
}

.product-card {
  padding: 16px;
  border-radius: 20px;
}

.product-image {
  min-height: 240px;
  border-radius: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}

.image-denim {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.6)),
    linear-gradient(160deg, #798493, #28313b 70%, #111);
}

.image-carpenter {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.6)),
    linear-gradient(160deg, #8693a2, #48515e 60%, #171717);
}

.image-pants {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.6)),
    linear-gradient(160deg, #585858, #2f2f2f 65%, #0f0f0f);
}

.image-hoodie {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.6)),
    linear-gradient(160deg, #4d5056, #2d3137 65%, #0f0f0f);
}

.product-card span {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
}

.statement-band {
  padding: 28px;
  border-radius: calc(var(--radius) + 6px);
}

.split-section {
  display: grid;
  gap: 18px;
}

.editorial-stack {
  display: grid;
  gap: 16px;
}

.editorial-card {
  padding: 22px;
  border-radius: 22px;
  min-height: 170px;
}

.editorial-card.large {
  min-height: 260px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.55)),
    linear-gradient(145deg, #5e6873 0%, #282c31 55%, #111 100%);
}

.motion-card {
  padding: 22px;
  border-radius: 20px;
}

.lookbook-grid {
  grid-template-columns: 1fr;
}

.look {
  min-height: 240px;
}

.look-one {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.58)),
    linear-gradient(140deg, #626c77, #262b31 62%, #121212);
}

.look-two {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.58)),
    linear-gradient(140deg, #8a96a6, #48515f 62%, #171717);
}

.look-three {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.58)),
    linear-gradient(140deg, #575c64, #272b31 62%, #101010);
}

.review-card {
  margin: 0;
  padding: 24px;
  border-radius: 20px;
  font-size: 1.02rem;
  line-height: 1.65;
}

.subscribe-section {
  padding: 28px;
  border-radius: 26px;
}

.subscribe-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.subscribe-form input {
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0 18px;
  font: inherit;
}

.subscribe-form input::placeholder {
  color: #8a8a8a;
}

.footer {
  display: grid;
  gap: 8px;
  padding: 30px 0 10px;
}

.footer-columns {
  display: grid;
  gap: 18px;
}

.footer-nav {
  display: grid;
  gap: 10px 18px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

.page-shell {
  display: grid;
  gap: 22px;
  padding: 20px 0 40px;
}

.page-hero,
.content-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  border-radius: calc(var(--radius) + 6px);
}

.page-hero {
  padding: 28px;
}

.content-card {
  padding: 28px;
  color: var(--muted);
  line-height: 1.8;
}

.content-card h2,
.content-card h3 {
  margin: 28px 0 10px;
  color: var(--text);
}

.content-card p,
.content-card ul {
  margin: 0 0 16px;
}

.content-card ul {
  padding-left: 20px;
}

.content-card strong {
  color: var(--text);
}

.store-shell .woocommerce-result-count,
.store-shell .woocommerce-breadcrumb,
.store-shell .term-description,
.store-shell .woocommerce-product-details__short-description,
.store-shell .woocommerce-tabs {
  color: var(--muted);
}

.store-shell .products,
.store-shell .related.products {
  margin-top: 22px;
}

.store-shell .product,
.store-shell ul.products li.product {
  list-style: none;
}

.store-shell .button,
.store-shell .checkout-button,
.store-shell button,
.store-shell input.button {
  border-radius: 999px;
}

.site-footer {
  padding-bottom: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 720px) {
  .site-shell {
    width: min(calc(100% - 48px), var(--max-width));
    padding-top: 22px;
  }

  .topnav {
    display: flex;
  }

  .mobile-quicknav {
    display: none;
  }

  .support-nav {
    display: flex;
  }

  .utility-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: stretch;
  }

  .product-grid,
  .motion-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: start;
  }

  .lookbook-grid {
    grid-template-columns: 1.25fr 0.85fr 0.9fr;
  }

  .subscribe-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer-columns,
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .topbar {
    padding-bottom: 36px;
  }

  .hero-copy {
    padding: 40px;
  }

  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .motion-grid,
  .reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .statement-band,
  .subscribe-section {
    padding: 36px;
  }
}
