/*
Theme Name: Naturebound
Theme URI: https://wearnaturebound.com
Author: Naturebound
Description: Premium wildlife apparel storefront for a North American Spreadshop. Dusk palette, editorial homepage, and a real shop embed.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: naturebound
Tags: e-commerce, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/manrope-400.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/manrope-500.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/manrope-600.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/manrope-700.woff2") format("woff2");
}

:root {
  --nb-bg: #101914;
  --nb-bg-2: #19271f;
  --nb-elev: #24352b;
  --nb-text: #f3ede2;
  --nb-muted: #b5b9ae;
  --nb-accent: #e89a49;
  --nb-accent-2: #87977c;
  --nb-paper: #f1ece2;
  --nb-line: #34443a;
  --nb-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --nb-body: "Manrope", "Segoe UI", sans-serif;
  --nb-top: 92px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 112px; }

body {
  margin: 0;
  background: var(--nb-bg);
  color: var(--nb-text);
  font-family: var(--nb-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; }
button, input, textarea { font-family: inherit; }
a { color: inherit; }

.nb-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--nb-accent);
  color: var(--nb-bg);
  padding: 8px 12px;
  text-decoration: none;
}
.nb-skip:focus { top: 12px; }

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

.nb-top {
  position: sticky;
  top: 0;
  z-index: 40;
}

.nb-announce {
  margin: 0;
  padding: 8px 20px;
  background: var(--nb-bg);
  color: var(--nb-accent);
  text-align: center;
  font-family: var(--nb-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.nb-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px 28px;
  min-height: 64px;
  padding: 0 clamp(16px, 3vw, 40px);
  background: var(--nb-bg);
  border-bottom: 1px solid var(--nb-line);
}

.nb-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  color: var(--nb-text);
  text-decoration: none;
  font-family: var(--nb-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nb-mark { width: 28px; height: 18px; display: block; }
.nb-logo-img { width: auto; max-height: 36px; }

.nb-nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nb-nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--nb-text);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nb-nav-menu a:hover,
.nb-nav-menu .current-menu-item > a {
  color: var(--nb-accent);
}

.nb-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

.nb-bag,
.nb-nav-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--nb-text);
  text-decoration: none;
  cursor: pointer;
}

.nb-nav-toggle { display: none; }

.nb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: stretch;
  min-height: 680px;
  height: clamp(650px, 72vh, 750px);
  background: var(--nb-bg);
}

.nb-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px clamp(20px, 5vw, 84px);
  z-index: 1;
}

.nb-eyebrow {
  margin: 0 0 12px;
  color: var(--nb-accent);
  font-family: var(--nb-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nb-hero h1,
.nb-statement h2,
.nb-section h2,
.nb-editorial h2,
.nb-content h1,
.nb-shop h1 {
  margin: 0;
  font-family: var(--nb-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}

.nb-hero h1 { font-size: clamp(3.4rem, 7vw, 6.4rem); max-width: 9ch; }

.nb-lede,
.nb-section-head p,
.nb-editorial-copy p,
.nb-statement p {
  color: var(--nb-muted);
  font-size: 1.05rem;
}

.nb-lede { max-width: 38ch; margin: 18px 0 0; }

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

.nb-btn,
.nb-textlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  background: var(--nb-accent);
  color: #1a1208;
  text-decoration: none;
  font-family: var(--nb-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nb-btn:hover { background: #f2b56b; color: #1a1208; }

.nb-btn-ghost {
  background: transparent;
  color: var(--nb-text);
  box-shadow: inset 0 0 0 1px var(--nb-line);
}
.nb-btn-ghost:hover { color: var(--nb-text); background: var(--nb-elev); }

.nb-hero-visual {
  position: relative;
  background: var(--nb-paper);
  min-height: 280px;
}
.nb-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.nb-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--nb-bg) 0%, rgba(16, 25, 20, 0) 22%),
    linear-gradient(180deg, var(--nb-bg) 0%, rgba(16, 25, 20, 0) 18%);
  pointer-events: none;
}

.nb-section { padding: 72px clamp(16px, 4vw, 48px); }
.nb-section-head { max-width: 36rem; margin-bottom: 28px; }
.nb-section h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); }

.nb-products,
.nb-cats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nb-product {
  display: flex;
  flex-direction: column;
  background: var(--nb-bg-2);
  border: 1px solid var(--nb-line);
  border-radius: 6px;
  overflow: hidden;
}

.nb-product-media {
  display: block;
  background: var(--nb-paper);
  aspect-ratio: 1;
  overflow: hidden;
}
.nb-product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.45s ease;
}
.nb-product-media:hover .nb-product-img { transform: scale(1.04); }

.nb-product-body { padding: 16px 16px 18px; }
.nb-product h3 {
  margin: 0;
  font-family: var(--nb-display);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}
.nb-product h3 a { text-decoration: none; }
.nb-product p { margin: 8px 0 0; color: var(--nb-muted); }
.nb-price {
  margin-top: 10px;
  color: var(--nb-text);
  font-weight: 700;
}
.nb-textlink {
  min-height: 42px;
  margin-top: 14px;
  padding: 0 14px;
  font-size: 0.95rem;
}

.nb-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  background: var(--nb-bg-2);
  min-height: 520px;
}
.nb-editorial-visual { background: var(--nb-paper); min-height: 320px; }
.nb-editorial-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nb-editorial-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px clamp(20px, 4vw, 72px);
}
.nb-editorial h2 { font-size: clamp(2.6rem, 4vw, 4rem); margin-bottom: 16px; }
.nb-editorial .nb-btn { margin-top: 22px; align-self: flex-start; }

.nb-cats-wrap { background: var(--nb-bg); }
.nb-cat {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 280px;
  padding: 20px;
  background: var(--nb-elev);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
}
.nb-cat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--nb-paper);
}
.nb-cat::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(16, 25, 20, 0.88));
}
.nb-cat-title {
  position: relative;
  z-index: 1;
  font-family: var(--nb-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nb-cat:hover .nb-cat-title,
.nb-cat:focus-visible .nb-cat-title { color: var(--nb-accent); }

.nb-statement {
  position: relative;
  padding: 96px 20px;
  text-align: center;
  overflow: hidden;
  background: var(--nb-bg);
}
.nb-statement h2 { font-size: clamp(3rem, 9vw, 7.2rem); }
.nb-statement p { margin: 16px auto 0; max-width: 36ch; }
.nb-topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--nb-accent-2);
  stroke-width: 1.2;
  opacity: 0.45;
}

.nb-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px 32px;
  padding: 48px clamp(16px, 4vw, 48px) 28px;
  background: #0c1410;
  border-top: 1px solid var(--nb-line);
}
.nb-footer-name {
  margin: 0 0 8px;
  font-family: var(--nb-display);
  font-size: 1.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nb-footer-label {
  margin: 0 0 10px;
  color: var(--nb-accent-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nb-footer .nb-nav-menu,
.nb-footer-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nb-footer a { color: var(--nb-text); text-decoration: none; }
.nb-footer a:hover { color: var(--nb-accent); }
.nb-footer-note { color: var(--nb-muted); font-size: 0.92rem; }
.nb-copy {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  color: var(--nb-muted);
  font-size: 0.85rem;
}

.nb-content,
.nb-shop { padding: 36px clamp(16px, 4vw, 48px) 64px; }
.nb-content { max-width: 760px; }
.nb-content h1,
.nb-shop h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); margin-bottom: 12px; }
.nb-content a { color: var(--nb-accent); }

.nb-spreadshop {
  min-height: 70vh;
  background: var(--nb-bg);
  color: var(--nb-text);
  font-family: var(--nb-body);
}
.nb-shop-wait { max-width: 40rem; }

.nb-content input,
.nb-content textarea {
  width: 100%;
  max-width: 32rem;
  min-height: 44px;
  margin-top: 6px;
  padding: 8px 12px;
  border: 1px solid var(--nb-line);
  border-radius: 2px;
  background: var(--nb-bg-2);
  color: var(--nb-text);
}

:focus-visible {
  outline: 2px solid var(--nb-accent);
  outline-offset: 3px;
}

@media (min-width: 700px) {
  .nb-products,
  .nb-cats { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  .nb-products,
  .nb-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .nb-hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }
  .nb-hero-visual { order: -1; height: 380px; }
  .nb-hero-visual::after {
    background: linear-gradient(180deg, transparent 62%, var(--nb-bg) 100%);
  }
  .nb-hero-copy { padding-top: 28px; }
  .nb-editorial { grid-template-columns: 1fr; }
  .nb-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nb-header { grid-template-columns: 1fr auto; }
  .nb-logo { order: 1; }
  .nb-tools { order: 2; }
  .nb-nav-toggle { display: grid; }
  .nb-nav {
    display: none;
    order: 3;
    grid-column: 1 / -1;
    padding: 4px 0 8px;
  }
  .nb-top.is-open .nb-nav { display: block; }
  .nb-nav-menu { flex-direction: column; align-items: flex-start; gap: 0; }
}

@media (max-width: 640px) {
  .nb-footer { grid-template-columns: 1fr; }
  .nb-statement { padding: 72px 16px; }
  .nb-section { padding: 48px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nb-product-img { transition: none; }
}
