/* ============================================
   COLOR & TYPE VARIABLES
   Change these and the whole site updates.
   ============================================ */
:root {
  --charcoal: #15171B;
  --graphite: #1D2126;
  --graphite-light: #262B31;
  --orange: #FF7A29;
  --silver: #C7CCD1;
  --off-white: #F2F1ED;
  --slate: #8B929B;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--charcoal);
  color: var(--off-white);
  font-family: var(--font-body);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAV
   ============================================ */
.site-header {
  border-bottom: 1px solid var(--graphite-light);
  position: sticky;
  top: 0;
  background: rgba(21, 23, 27, 0.9);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.logo span {
  color: var(--orange);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--off-white);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 80px 24px 100px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 20px;
}

.hero-sub {
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: var(--orange);
  color: var(--charcoal);
}

.btn-primary:hover {
  background: #ff8c47;
}

.btn-ghost {
  border: 1px solid var(--slate);
  color: var(--off-white);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* --- Signature element: the print-layer stack --- */
.print-stack {
  position: relative;
  height: 320px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
}

.layer {
  --base-width: 220px;
  width: calc(var(--base-width) - (var(--i) * 14px));
  height: 20px;
  background: linear-gradient(90deg, var(--orange), #ffb37a);
  border-radius: 2px;
  opacity: 0;
  animation: layer-rise 0.5s ease forwards;
  animation-delay: calc(var(--i) * 0.12s);
}

@keyframes layer-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nozzle {
  position: absolute;
  top: 0;
  width: 4px;
  height: 40px;
  background: var(--silver);
  border-radius: 2px;
}

.print-label {
  position: absolute;
  bottom: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--slate);
}

@media (prefers-reduced-motion: reduce) {
  .layer { animation: none; opacity: 1; }
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  padding: 80px 24px;
  border-top: 1px solid var(--graphite-light);
}

.process h2 {
  font-size: 1.8rem;
  margin-bottom: 48px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.process-step {
  background: var(--graphite);
  padding: 28px;
  border-radius: 6px;
  border-top: 3px solid var(--orange);
}

.z-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--orange);
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--slate);
  font-size: 0.95rem;
}

/* ============================================
   MATERIALS
   ============================================ */
.materials {
  padding: 80px 24px;
  border-top: 1px solid var(--graphite-light);
}

.materials h2 {
  font-size: 1.8rem;
  margin-bottom: 48px;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.material-card {
  background: var(--graphite);
  padding: 24px;
  border-radius: 6px;
}

.swatch {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-bottom: 16px;
}

.material-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.material-card p {
  color: var(--slate);
  font-size: 0.88rem;
}

/* ============================================
   SHOP TEASER
   ============================================ */
.shop {
  padding: 80px 24px;
  border-top: 1px solid var(--graphite-light);
}

.shop h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--slate);
  max-width: 60ch;
  margin-bottom: 40px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card.placeholder {
  background: var(--graphite);
  border: 1px dashed var(--slate);
  border-radius: 6px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: 80px 24px 100px;
  text-align: center;
  border-top: 1px solid var(--graphite-light);
}

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.cta .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--graphite-light);
  padding: 28px 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--slate);
  font-size: 0.85rem;
}

.socials {
  display: flex;
  gap: 20px;
}

.socials a:hover {
  color: var(--orange);
}

/* ============================================
   NAV — active link
   ============================================ */
.nav-links a[aria-current="page"] {
  color: var(--orange);
}

/* ============================================
   BANNER (free shipping strip)
   ============================================ */
.top-banner {
  background: var(--orange);
  color: var(--charcoal);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  font-weight: 500;
}

/* ============================================
   PAGE HERO (internal pages)
   ============================================ */
.page-hero {
  padding: 64px 24px 56px;
  border-bottom: 1px solid var(--graphite-light);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  margin-bottom: 14px;
}

.page-hero p {
  color: var(--slate);
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ============================================
   SIZE / PRODUCT CARDS
   ============================================ */
.size-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.size-card {
  background: var(--graphite);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--graphite-light);
}

.size-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.size-card-body {
  padding: 20px;
}

.size-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--charcoal);
  background: var(--orange);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.size-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.size-card p {
  color: var(--slate);
  font-size: 0.9rem;
}

/* ============================================
   GALLERY GRID
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--graphite-light);
  background: var(--graphite);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--slate);
}

.gallery-caption strong {
  color: var(--off-white);
  display: block;
  margin-bottom: 2px;
}

.gallery-item.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border: 1px dashed var(--slate);
  text-align: center;
  padding: 16px;
}

/* ============================================
   CAROUSEL (recent products)
   ============================================ */
.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) var(--graphite);
  padding-bottom: 8px;
}

.carousel-track::-webkit-scrollbar {
  height: 8px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 4px;
}

.carousel-track::-webkit-scrollbar-track {
  background: var(--graphite);
}

.carousel-slide {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--graphite);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--graphite-light);
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.carousel-slide-body {
  padding: 16px;
}

.carousel-slide-body h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.carousel-slide-body p {
  color: var(--slate);
  font-size: 0.85rem;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--slate);
  background: none;
  color: var(--off-white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.carousel-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ============================================
   FORMS
   ============================================ */
.form-card {
  background: var(--graphite);
  border-radius: 8px;
  padding: 36px;
  border: 1px solid var(--graphite-light);
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--off-white);
  font-weight: 500;
}

.form-row .req {
  color: var(--orange);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid var(--graphite-light);
  color: var(--off-white);
  padding: 12px 14px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--slate);
  margin-top: 6px;
}

.form-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-success,
.form-error {
  display: none;
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-top: 20px;
}

.form-success {
  background: rgba(95, 176, 183, 0.15);
  border: 1px solid var(--silver);
  color: var(--off-white);
}

.form-error {
  background: rgba(255, 122, 41, 0.12);
  border: 1px solid var(--orange);
  color: var(--off-white);
}

.form-card.submitted .form-success { display: block; }
.form-card.submit-failed .form-error { display: block; }

.btn-block {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
}

/* ============================================
   INQUIRY TYPE TABS
   ============================================ */
.inquiry-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.inquiry-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--graphite-light);
  color: var(--slate);
  font-size: 0.88rem;
  font-family: var(--font-mono);
}

.inquiry-tab.active {
  border-color: var(--orange);
  color: var(--orange);
}

/* ============================================
   FEATURE / WHY-CHOOSE CARDS
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 8px;
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--slate);
  font-size: 0.92rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-list {
  list-style: none;
}

.contact-info-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--graphite-light);
}

.contact-info-list .label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  display: block;
  margin-bottom: 6px;
}

.contact-info-list a {
  font-size: 1.05rem;
}

.contact-info-list a:hover {
  color: var(--orange);
}

.social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.social-pill {
  padding: 10px 18px;
  border: 1px solid var(--graphite-light);
  border-radius: 999px;
  font-size: 0.88rem;
}

.social-pill:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ============================================
   WHAT'S NEW — TIMELINE
   ============================================ */
.timeline {
  border-left: 2px solid var(--graphite-light);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37.5px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--orange);
  margin-bottom: 8px;
  display: block;
}

.timeline-item h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--slate);
  font-size: 0.95rem;
}

.badge-new {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--charcoal);
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: middle;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--graphite-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--off-white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 22px 32px 22px 0;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 20px;
  color: var(--orange);
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--slate);
  font-size: 0.95rem;
}

.faq-answer p {
  padding-bottom: 22px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

/* ============================================
   REVIEW CARDS
   ============================================ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--graphite);
  padding: 26px;
  border-radius: 8px;
  border-top: 3px solid var(--orange);
}

.stars {
  color: var(--orange);
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-card p.quote {
  color: var(--off-white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.review-author {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--slate);
}

/* ============================================
   SIMPLE CONTENT PAGE (terms, affiliate, livestream)
   ============================================ */
.content-page {
  padding: 60px 24px 100px;
  max-width: 800px;
  margin: 0 auto;
}

.content-page h2 {
  font-size: 1.5rem;
  margin: 36px 0 14px;
}

.content-page h2:first-child {
  margin-top: 0;
}

.content-page p,
.content-page li {
  color: var(--slate);
  margin-bottom: 14px;
}

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

.content-page a {
  color: var(--orange);
}

.content-page a:hover {
  text-decoration: underline;
}

.livestream-embed {
  aspect-ratio: 16 / 9;
  background: var(--graphite);
  border: 1px dashed var(--slate);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-bottom: 32px;
  text-align: center;
  padding: 16px;
}

/* ============================================
   FOOTER — expanded
   ============================================ */
.footer-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 56px 24px 40px;
  border-top: 1px solid var(--graphite-light);
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col p {
  color: var(--slate);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
}

.footer-logo span {
  color: var(--orange);
}

.newsletter-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.newsletter-row input {
  flex: 1;
  background: var(--charcoal);
  border: 1px solid var(--graphite-light);
  color: var(--off-white);
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
}

.newsletter-row button {
  background: var(--orange);
  color: var(--charcoal);
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .material-grid,
  .shop-grid,
  .size-grid,
  .gallery-grid,
  .feature-grid,
  .contact-grid,
  .review-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .form-cols {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    flex-direction: column;
    padding: 24px;
    border-top: 1px solid var(--graphite-light);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .carousel-slide {
    flex-basis: 240px;
  }
}
