@font-face {
  font-family: "Printvetica";
  src: url("../fonts/PrintveticaRegular.woff2") format("woff2"),
       url("../fonts/PrintveticaRegular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Okta Neue";
  src: url("../fonts/OktaNeue-Regular.woff2") format("woff2"),
       url("../fonts/OktaNeue-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Okta Neue";
  src: url("../fonts/OktaNeue-Medium.woff2") format("woff2"),
       url("../fonts/OktaNeue-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Okta Neue";
  src: url("../fonts/OktaNeue-SemiBold.woff2") format("woff2"),
       url("../fonts/OktaNeue-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Okta Neue";
  src: url("../fonts/OktaNeue-Bold.woff2") format("woff2"),
       url("../fonts/OktaNeue-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --se-black: #000000;
  --se-ink: #13181d;
  --se-white: #ffffff;
  --se-gold: #db931d;
  --se-red: #b92025;
  --se-red-bright: #e43a40;
  --se-tan: #d1cabd;
  --se-muted: #8a8f96;
  --se-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);

  /* Consistent spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 80px;
  --space-10: 96px;

  /* Consistent border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  /* Typography scale */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 36px;
  --text-5xl: 48px;

  /* Letter spacing scale */
  --letter-tight: -0.025em;
  --letter-normal: 0em;
  --letter-wide: 0.025em;
  --letter-wider: 0.05em;
  --letter-widest: 0.1em;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Okta Neue", "Helvetica Neue", Arial, sans-serif;
  color: var(--se-white);
  background-color: var(--se-black);
  line-height: 1.6;
  font-size: 16px;
}

body.bg-hero-1 { --page-bg: url("../img/hero-1.jpg"); }
body.bg-hero-2 { --page-bg: url("../img/hero-2.jpg"); }
body.bg-4am { --page-bg: url("../img/4am-bg.png"); }
body.bg-floyd { --page-bg: url("../img/floyd-bg.png"); }
body.bg-ht { --page-bg: url("../img/ht-bg.png"); }

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

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

a:hover {
  color: var(--se-gold);
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.section {
  padding: var(--space-8) 0;
}

#shop-grid.section {
  padding-top: var(--space-3);
}

#categories.section {
  padding-top: var(--space-5);
}

.section-tight {
  padding: var(--space-6) 0;
}

.eyebrow {
  font-size: var(--text-xs);
  letter-spacing: var(--letter-widest);
  text-transform: uppercase;
  color: var(--se-gold);
  font-weight: 600;
  font-family: "Okta Neue", "Helvetica Neue", Arial, sans-serif;
  margin: 0 0 var(--space-3);
}

.section-title {
  font-size: var(--text-xs);
  letter-spacing: var(--letter-widest);
  text-transform: uppercase;
  color: var(--se-gold);
  font-weight: 600;
  font-family: "Okta Neue", "Helvetica Neue", Arial, sans-serif;
  margin: 0 0 var(--space-4);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Printvetica", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: var(--letter-wider);
  text-transform: uppercase;
  margin: 0 0 var(--space-4);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(var(--text-4xl), 4vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-3xl), 3.4vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2vw, var(--text-2xl)); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-base); }
h6 { font-size: var(--text-sm); }

p {
  margin: 0 0 var(--space-4);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: var(--text-base);
}

.text-lg {
  font-size: var(--text-lg);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-xs {
  font-size: var(--text-xs);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(185, 32, 37, 0.15);
  border: 1px solid rgba(185, 32, 37, 0.5);
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  font-size: var(--text-xs);
  letter-spacing: var(--letter-wide);
  text-transform: uppercase;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border-radius: 999px;
  padding: var(--space-3) var(--space-5);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: var(--letter-wider);
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: transparent;
  border-color: var(--se-gold);
  color: var(--se-gold);
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--se-gold);
  color: var(--se-black);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--se-gold);
  color: var(--se-gold);
}

.btn-outline:hover {
  background: var(--se-gold);
  color: var(--se-black);
}

/* Product card button styling */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: var(--letter-widest);
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: none;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  gap: var(--space-5);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-left: auto;
}

.brand-text {
  font-family: "Printvetica", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: var(--letter-wide);
  text-transform: none;
  color: var(--se-red);
  font-size: var(--text-2xl);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  font-size: var(--text-xs);
  letter-spacing: var(--letter-widest);
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.nav-links a.active {
  color: rgba(255, 255, 255, 0.95);
}

.nav-links a:hover {
  color: var(--se-white);
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--se-gold);
  transition: color 0.2s ease;
}

.nav-icon:hover {
  color: var(--se-white);
}

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.icon-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--se-red);
  color: var(--se-white);
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.hero {
  min-height: clamp(160px, 22vh, 240px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) 0;
  background: transparent;
}

.hero-content {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 100%;
}

.hero-content.centered {
  text-align: center;
  margin: 0 auto;
  width: 100%;
}

.hero .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}



.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hero-logos {
  display: flex;
  gap: var(--space-2);
  margin-bottom: 0;
  width: 100%;
  justify-content: center;
}



.hero-content.centered .hero-logos {
  display: flex;
  gap: var(--space-2);
  margin-bottom: 0;
  width: 100%;
  justify-content: center;
}



.hero-logos img {
  width: 185px;
  height: auto;
}

.hero-title {
  font-family: "Printvetica", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: var(--letter-wider);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  white-space: nowrap;
  margin: 0;
  line-height: 1.1;
}




.product-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-card {
  height: 100%;
  background: rgba(19, 24, 29, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--se-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: center;
  background: rgba(255, 255, 255, 0.98);
  padding: var(--space-4);
  transition: transform 0.2s ease;
}

.product-card:hover img {
  transform: scale(1.02);
}

.product-card .card-body {
  flex: 1;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.product-title {
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: var(--letter-wide);
  text-transform: uppercase;
  line-height: 1.3;
  font-family: "Okta Neue", "Helvetica Neue", Arial, sans-serif;
}

.price {
  color: var(--se-gold);
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: var(--letter-normal);
}

.section-split {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.panel {
  background: rgba(19, 24, 29, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--se-shadow);
}

.input, select, textarea {
  width: 100%;
  background: var(--se-ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--se-white);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-family: "Okta Neue", Arial, sans-serif;
  font-size: var(--text-base);
  transition: border-color 0.2s ease, outline 0.2s ease;
}

.input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(219, 147, 29, 0.4);
  border-color: var(--se-gold);
}

.input:hover, select:hover, textarea:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.form-row {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer {
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.85);
}

.footer h3 {
  color: var(--se-white);
  margin-bottom: var(--space-3);
}

.footer-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  font-size: var(--text-sm);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--se-gold);
}

.section-accent {
  background: transparent;
}

.card-list {
  display: grid;
  gap: var(--space-4);
}

.notice {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(19, 24, 29, 0.8);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.notice.success {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.1);
}

.notice.error {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.1);
}

.notice.warning {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.1);
}

/* Hamburger Menu Button */
.nav-toggle {
  display: none;
  width: 44px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--se-red);
  transition: all 0.3s ease;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-toggle-bar:nth-child(1) {
  top: 8px;
}

.nav-toggle-bar:nth-child(2) {
  top: 15px;
}

.nav-toggle-bar:nth-child(3) {
  top: 22px;
}

/* Active state - X formation */
body.nav-open .nav-toggle-bar:nth-child(1) {
  top: 15px;
  transform: translateX(-50%) rotate(45deg);
}

body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle-bar:nth-child(3) {
  top: 15px;
  transform: translateX(-50%) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 1100px) {
  .nav-wrap {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    left: 0;
    right: 0;
    top: 64px;
    width: 100vw;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 0 var(--space-5);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
    z-index: 30;
  }

  .nav-links a {
    display: block;
    width: 100%;
    font-size: var(--text-xl);
    letter-spacing: var(--letter-wider);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-4) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a.active {
    color: rgba(255, 255, 255, 0.9);
  }

  .nav-links a:hover {
    color: var(--se-white);
  }

  body.nav-open .nav-links {
    max-height: 70vh;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    padding: var(--space-4) var(--space-5) var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Landscape Tablet - Slightly bigger nav text */
@media screen and (min-width: 1200px) and (max-width: 1400px) and (max-height: 900px) {
  .nav-links a {
    font-size: 19px !important;
    padding: 15px 0 !important;
  }
}


/* background mobile override */
@media (max-width: 1100px) {
  body {
    background-attachment: scroll;
    background-size: 100% auto;
    background-position: center top;
    background-repeat: repeat-y;
  }
}

/* fixed background layer */
html {
  background: #000000;
}

body {
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(120deg, rgba(0, 0, 0, 0.82), rgba(19, 24, 29, 0.78)), var(--page-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateZ(0);
}


body > * { position: relative; z-index: 1; }

/* fixed background stability */
body::before,
.bg-fixed {
  pointer-events: none;
}

body::before {
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0) scale(1);
}

html, body {
  overscroll-behavior: none;
}

/* mobile background fix */
@media (max-width: 768px) {
  body::before {
    background-attachment: fixed;
  }
  body {
    background-image: linear-gradient(120deg, rgba(0, 0, 0, 0.82), rgba(19, 24, 29, 0.78)), var(--page-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
}

/* mobile background wrapper */
@media (max-width: 768px) {
  body::before {
    display: none;
  }
  .bg-fixed {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(120deg, rgba(0, 0, 0, 0.82), rgba(19, 24, 29, 0.78)), var(--page-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
  }
}

/* mobile bg lock */
@media (max-width: 768px) {
  .bg-fixed {
    width: var(--bg-fixed-width, 100vw);
    height: var(--bg-fixed-height, 100vh);
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: clamp(150px, 24vh, 210px);
  }
  .hero-logos img {
    width: 170px;
  }
}


/* consistent product tile height */
.product-card .card-body {
  display: flex;
  flex-direction: column;
}

.product-card .product-title {
  min-height: 2.6em;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-2);
}

.product-card .price {
  margin: var(--space-2) 0 var(--space-4) 0;
  font-size: var(--text-xl);
}

.product-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Responsive product grid */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-4);
  }
  
  .product-card img {
    height: 240px;
  }
  
  .product-card .card-body {
    padding: var(--space-4);
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
