/*
Theme Name: NC05 V10 Fixed Homepage
Theme URI: https://nc05brand.com/
Author: NC05
Description: NC05 V9 style with front-page support so WordPress shows the intended homepage.
Version: 10.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: nc05-v10-fixed-homepage
*/

:root {
  --black: #030303;
  --charcoal: #0f1111;
  --charcoal-2: #1b1c1a;
  --line: #2a2a2a;
  --ivory: #f3efe3;
  --silver: #a8a8a2;
  --muted: #777771;
  --accent: #d8d5cb;
  --accent-dark: #2b2b29;
  --max: 1180px;
  --font-body: "Neue Montreal", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Neue Montreal", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ivory);
  background: #070707;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  display: none;
  content: "";
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max));
  height: 74px;
  margin: 16px auto 0;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: #030303;
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  width: 92px;
}

.brand-mark img {
  width: 100%;
  filter: invert(1) brightness(1.08);
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--silver);
  font-size: 0.79rem;
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a,
.header-buy,
.primary-button,
.ghost-button {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover,
.ghost-button:hover {
  color: var(--ivory);
}

.header-buy,
.primary-button,
.ghost-button,
.buy-button {
  min-height: 44px;
  border: 1px solid var(--line);
  cursor: pointer;
  font: inherit;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: none;
}

.header-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 0 18px;
  color: var(--ivory);
  border-color: #5b5a55;
  background: #171717;
}

.header-buy:hover,
.primary-button:hover,
.buy-button:hover {
  color: var(--ivory);
  border-color: var(--accent);
  background: #2b2b29;
  box-shadow: none;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  align-items: center;
  min-height: 92vh;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 132px 0 70px;
  gap: 36px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-cross {
  position: absolute;
  top: 108px;
  left: clamp(230px, 30vw, 430px);
  z-index: 1;
  width: clamp(210px, 23vw, 330px);
  opacity: 0.36;
  filter:
    invert(1)
    brightness(1.18);
  pointer-events: none;
}

.eyebrow,
.drop-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

h1 {
  margin-bottom: 18px;
  width: min(560px, 100%);
}

h1 img {
  width: 100%;
  filter: invert(1) brightness(1.04);
}

.hero-copy {
  width: min(520px, 100%);
  margin-bottom: 30px;
  color: var(--silver);
  font-size: clamp(1.02rem, 1.8vw, 1.24rem);
  font-weight: 500;
  line-height: 1.68;
}

.hero-actions,
.purchase-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-button,
.ghost-button,
.buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  padding: 0 22px;
}

.primary-button,
.buy-button {
  color: var(--ivory);
  border-color: #5b5a55;
  background: #151515;
}

.ghost-button {
  color: var(--ivory);
  border-color: #333333;
  background: #101010;
}

.hero-media {
  position: relative;
  min-height: 500px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #0c0c0c;
}

.hero-media::after,
.product-gallery .product-image::after {
  display: none;
  content: "";
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center;
}

.drop-meta {
  position: absolute;
  right: 0;
  bottom: 26px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-family: var(--font-display);
  color: var(--silver);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.drop-meta span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: #050505;
}

.details-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.details-band div {
  min-height: 172px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.details-band div:last-child {
  border-right: 0;
}

.detail-number {
  display: block;
  margin-bottom: 28px;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.details-band p {
  margin-bottom: 0;
  color: var(--silver);
  font-size: 1rem;
  line-height: 1.6;
}

.product-section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 98px 0 76px;
}

.single-product-page {
  padding-top: 58px;
}

.product-section--single {
  padding-top: 132px;
}

.product-page-title {
  margin: 0;
  width: auto;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 800;
  line-height: 0.9;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.6rem, 5.8vw, 5.45rem);
  line-height: 0.88;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(300px, 1.1fr) minmax(280px, 0.9fr);
  border: 1px solid var(--line);
  background: #0b0b0b;
}

.editable-page-shell {
  width: min(calc(100% - 32px), var(--max));
  min-height: 70vh;
  margin: 0 auto;
  padding: 132px 0 76px;
}

.content-shell {
  width: min(calc(100% - 32px), var(--max));
  min-height: 70vh;
  margin: 0 auto;
  padding: 132px 0 76px;
}

.content-article {
  max-width: 820px;
}

.content-article h1 {
  width: auto;
  margin-bottom: 24px;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
}

.entry-content,
.entry-content p,
.post-list-item p {
  color: var(--silver);
  font-size: 1rem;
  line-height: 1.75;
}

.post-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.post-list-item {
  padding: 22px;
  border: 1px solid var(--line);
  background: #0b0b0b;
}

.post-list-item h2 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
}

.search-form {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 24px 0;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--ivory);
  background: #101010;
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.product-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.product-image {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--charcoal);
}

.product-image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease, filter 420ms ease;
}

.product-image:hover img {
  filter: brightness(1.08);
  transform: scale(1.025);
}

.product-image span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: var(--ivory);
  background: #050505;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 62px);
  border-left: 1px solid var(--line);
}

h3 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 5vw, 4.85rem);
  line-height: 0.9;
}

.product-copy {
  max-width: 580px;
  margin-bottom: 30px;
  color: var(--silver);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 30px;
  border: 1px solid var(--line);
}

.size-selector {
  margin-bottom: 28px;
}

.size-label {
  margin-bottom: 12px;
  color: var(--silver);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.size-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(44px, 1fr));
  gap: 8px;
}

.size-option {
  min-height: 44px;
  border: 1px solid var(--line);
  color: var(--ivory);
  background: #111111;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.size-option:hover,
.size-option.is-selected {
  border-color: var(--accent);
  background: #2b2b29;
  transform: translateY(-1px);
}

.spec-grid div {
  padding: 17px 14px;
  border-right: 1px solid var(--line);
}

.spec-grid div:last-child {
  border-right: 0;
}

.spec-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spec-grid strong {
  color: var(--ivory);
  font-size: 0.92rem;
}

.price {
  margin: 0;
  color: var(--ivory);
  font-size: 2rem;
  font-weight: 800;
}

.purchase-note {
  min-height: 22px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.purchase-note.is-active {
  color: var(--silver);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer img {
  width: 96px;
  filter: invert(1) brightness(0.8);
}

@media (max-width: 860px) {
  .site-header {
    height: 66px;
    margin-top: 10px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 116px;
  }

  .hero-media {
    order: -1;
    min-height: 390px;
  }

  .hero-media img {
    min-height: 390px;
  }

  .drop-meta {
    position: static;
    justify-content: flex-start;
    margin-top: 6px;
  }

  .details-band,
  .product-card {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .details-band div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .details-band div:last-child {
    border-bottom: 0;
  }

  .section-heading {
    display: block;
  }

  .product-image,
  .product-image img {
    min-height: 360px;
  }

  .product-info {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .details-band,
  .product-section,
  .site-footer {
    width: min(calc(100% - 20px), var(--max));
  }

  .site-header {
    padding: 0 12px;
  }

  h1 {
    width: min(360px, 100%);
  }

  .hero-cross {
    top: 440px;
    right: 18px;
    left: auto;
    width: 132px;
    opacity: 0.22;
  }

  .hero-actions,
  .purchase-row {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .ghost-button,
  .buy-button {
    width: 100%;
  }

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

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .spec-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .spec-grid div:last-child {
    border-bottom: 0;
  }

  .site-footer {
    gap: 10px;
    flex-direction: column;
  }
}
