/* ============================================================
   SHARED STYLESHEET — styles.css
   Used by every page (index, catalog, product, about, contact).
   Edit colors/fonts HERE and it updates the whole site at once.

   TODO: --amber is the main accent color (buttons, prices, highlights).
   Change it below to use a different signature color — it cascades
   everywhere automatically.

   TODO: fonts are loaded from Google Fonts in each HTML file's <head>.
   If you change --font-display/--font-body/--font-mono below, also
   update the Google Fonts <link> tag in every HTML file to match.
   ============================================================ */
:root {
    --ink: #14171A;        /* main dark background color */
    --ink-soft: #1F2327;
    --bone: #EFEAE0;       /* main light background color */
    --bone-dim: #E2DCCE;
    --maroon: #8B2635;      /* PRIMARY ACCENT — buttons, prices, highlights */
    --blue: #3D8BFF;       /* secondary accent, used sparingly */
    --grey: #8A8F98;
    --line: rgba(20,23,26,0.12);
    --line-dark: rgba(239,234,224,0.14);
    --font-display: 'Space Grotesk', sans-serif;  /* headings */
    --font-body: 'Inter', sans-serif;             /* paragraph text */
    --font-mono: 'JetBrains Mono', monospace;     /* specs, labels, prices */
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    background: var(--bone);
    color: var(--ink);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
  }

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

  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

  @media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  }

  /* ---------- NAV ---------- */
  nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(239,234,224,0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 32px; max-width: 1180px; margin: 0 auto;
  }
  .logo {
    font-family: var(--font-display); font-weight: 700; font-size: 20px;
    letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px;
  }
  .logo-mark {
    width: 10px; height: 10px; background: var(--maroon); border-radius: 2px;
    display: inline-block;
  }
  .nav-links { display: flex; gap: 36px; align-items: center; }
  .nav-links a {
    font-size: 14px; font-weight: 500; color: var(--ink);
    position: relative; padding: 4px 0;
  }
  .nav-links a:not(.nav-cta)::after {
    content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
    background: var(--ink); transition: width 0.2s ease;
  }
  .nav-links a:not(.nav-cta):hover::after { width: 100%; }
  .nav-cta {
    background: var(--ink); color: var(--bone) !important;
    padding: 9px 18px; border-radius: 3px; font-size: 13px; font-weight: 600;
    font-family: var(--font-mono);
  }
  .nav-links a:focus-visible, .logo:focus-visible {
    outline: 2px solid var(--blue); outline-offset: 4px;
  }

  /* ---------- MOBILE NAV (hamburger, CSS-only checkbox toggle) ---------- */
  .nav-toggle-checkbox { display: none; }
  .nav-toggle-btn {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 32px; height: 32px; cursor: pointer;
  }
  .nav-toggle-btn span {
    display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-toggle-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
  .nav-toggle-checkbox:checked ~ .nav-toggle-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle-checkbox:checked ~ .nav-toggle-btn span:nth-child(2) { opacity: 0; }
  .nav-toggle-checkbox:checked ~ .nav-toggle-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  @media (max-width: 760px) {
    .nav-toggle-btn { display: flex; }
    .nav-links {
      display: none; position: absolute; top: 100%; left: 0; right: 0;
      flex-direction: column; align-items: stretch; gap: 0;
      background: var(--bone); border-bottom: 1px solid var(--line);
      padding: 8px 32px 20px; max-height: calc(100vh - 100%); overflow-y: auto;
    }
    .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .nav-links a:not(.nav-cta)::after { display: none; }
    .nav-links a.nav-cart { border-bottom: 1px solid var(--line); justify-content: space-between; width: 100%; }
    .nav-links a.nav-cta { margin-top: 14px; justify-content: center; border-bottom: none; }
    .nav-toggle-checkbox:checked ~ .nav-links { display: flex; }
  }

  /* ---------- HERO ---------- */
  .hero {
    background: var(--ink); color: var(--bone);
    position: relative; overflow: hidden;
    padding: 120px 32px 90px;
  }
  .hero-inner {
    max-width: 1180px; margin: 0 auto; position: relative; z-index: 2;
  }
  .eyebrow {
    font-family: var(--font-mono); font-size: 12px; color: var(--maroon);
    letter-spacing: 0.08em; text-transform: uppercase;
    display: flex; align-items: center; gap: 10px; margin-bottom: 28px;
  }
  .eyebrow::before {
    content: ''; width: 6px; height: 6px; background: var(--maroon);
    border-radius: 50%; animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
  }

  .hero h1 {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(42px, 6.5vw, 84px); line-height: 0.98; letter-spacing: -0.03em;
    max-width: 900px;
  }
  .hero h1 .layer-line {
    display: block; overflow: hidden; position: relative;
  }
  .hero h1 .layer-line span {
    display: block; transform: translateY(105%);
    animation: printIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .hero h1 .layer-line:nth-child(1) span { animation-delay: 0.05s; }
  .hero h1 .layer-line:nth-child(2) span { animation-delay: 0.18s; color: var(--maroon); }
  .hero h1 .layer-line:nth-child(3) span { animation-delay: 0.31s; }
  @keyframes printIn {
    to { transform: translateY(0); }
  }

  .hero-sub {
    font-size: 18px; color: rgba(239,234,224,0.65); max-width: 480px;
    margin: 28px 0 40px; line-height: 1.6;
    opacity: 0; animation: fadeUp 0.6s ease forwards; animation-delay: 0.6s;
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-actions {
    display: flex; gap: 14px; flex-wrap: wrap;
    opacity: 0; animation: fadeUp 0.6s ease forwards; animation-delay: 0.75s;
  }
  .btn {
    font-family: var(--font-mono); font-size: 13px; font-weight: 500;
    padding: 14px 24px; border-radius: 3px; border: 1px solid transparent;
    cursor: pointer; transition: all 0.15s ease; display: inline-flex; align-items: center; gap: 8px;
  }
  .btn-primary { background: var(--maroon); color: var(--ink); }
  .btn-primary:hover { background: #ffb35c; transform: translateY(-1px); }
  .btn-ghost { border-color: var(--line-dark); color: var(--bone); }
  .btn-ghost:hover { border-color: var(--bone); }
  .btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

  .hero-specs-wrap {
    margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line-dark);
    opacity: 0; animation: fadeUp 0.6s ease forwards; animation-delay: 0.9s;
  }
  .hero-specs-label {
    font-family: var(--font-mono); font-size: 11px; color: var(--maroon);
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
  }
  .hero-specs {
    display: flex; gap: 48px; flex-wrap: wrap;
  }
  .spec-item { font-family: var(--font-mono); }
  .spec-item .num { font-size: 24px; color: var(--bone); font-weight: 500; }
  .spec-item .label { font-size: 11px; color: var(--grey); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

  /* faint grid backdrop, like a print bed */
  .hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(239,234,224,0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(239,234,224,0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse 80% 60% at 60% 30%, black, transparent);
  }

  /* ---------- SECTION HEADERS ---------- */
  .section { padding: 100px 32px; }
  .section-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 48px; flex-wrap: wrap; gap: 20px;
  }
  .section-tag {
    font-family: var(--font-mono); font-size: 12px; color: var(--amber-dark, #6B1D29);
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; display: block;
  }
  .section-head h2 {
    font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 600; letter-spacing: -0.02em;
  }
  .section-head p { font-size: 14px; color: var(--grey); max-width: 320px; }

  /* ---------- CATALOG GRID ---------- */
  .grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  }
  @media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

  /* Collection pages (Zookis, Clickers, Sliders, Katie's Kreations) set their
     grid to 4 columns inline via style="grid-template-columns: repeat(4,1fr)".
     Inline styles beat the .grid breakpoints above, which is why those grids
     never collapsed on mobile — this class replaces the inline column count
     so it can actually respond to screen width. Locked to 3 columns on any
     screen under 900px (never drops to 2 or 1) per request. */
  .product-grid-4 { grid-template-columns: repeat(4, 1fr); }
  @media (max-width: 900px) { .product-grid-4 { grid-template-columns: repeat(3, 1fr); } }

  .card {
    background: var(--ink); border-radius: 6px; overflow: hidden;
    position: relative; transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(20,23,26,0.18); }

  .card-art {
    aspect-ratio: 1/1; position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
  }
  .card-art .shape {
    width: 62%; height: 62%; position: relative;
  }
  .card-tag {
    position: absolute; top: 12px; right: 12px;
    background: rgba(20,23,26,0.55); backdrop-filter: blur(4px);
    color: var(--bone); font-family: var(--font-mono); font-size: 10px;
    padding: 5px 9px; border-radius: 3px; letter-spacing: 0.03em;
    border: 1px solid rgba(239,234,224,0.15);
  }
  .card-body { padding: 18px 18px 20px; color: var(--bone); }
  .card-body h3 {
    font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 6px;
  }
  .card-specs {
    display: flex; gap: 14px; font-family: var(--font-mono); font-size: 11px;
    color: var(--grey); margin-bottom: 14px; flex-wrap: wrap;
  }
  .card-footer {
    display: flex; justify-content: space-between; align-items: center; gap: 6px;
    padding-top: 14px; border-top: 1px solid var(--line-dark);
  }
  .price { font-family: var(--font-mono); font-size: 16px; color: var(--maroon); font-weight: 500; white-space: nowrap; flex-shrink: 0; }
  .card-cta {
    font-family: var(--font-mono); font-size: 11px; color: var(--bone);
    border: 1px solid var(--line-dark); padding: 7px 12px; border-radius: 3px;
    transition: all 0.15s ease;
  }
  .card:hover .card-cta { border-color: var(--maroon); color: var(--maroon); }

  /* Placeholder geometric "product" art per card */
  .art-1 { background: linear-gradient(135deg, #23282d, #14171A); }
  .art-2 { background: linear-gradient(135deg, #23282d, #14171A); }
  .art-3 { background: linear-gradient(135deg, #23282d, #14171A); }
  .art-4 { background: linear-gradient(135deg, #23282d, #14171A); }
  .art-5 { background: linear-gradient(135deg, #23282d, #14171A); }
  .art-6 { background: linear-gradient(135deg, #23282d, #14171A); }

  .poly {
    width: 100%; height: 100%;
  }

  /* ---------- ABOUT / PROCESS ---------- */
  .about {
    background: var(--ink); color: var(--bone);
  }
  .about-inner {
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center;
  }
  @media (max-width: 860px) { .about-inner { grid-template-columns: 1fr; } }
  /* services.html reuses .about-inner for two service blocks but sets its own
     column ratio inline (since one block has the image on the left, the other
     on the right). Same inline-vs-media-query specificity issue as the
     collection grids — these classes carry the column ratio instead. */
  .service-block { grid-template-columns: 0.9fr 1.1fr; }
  .service-block-reverse { grid-template-columns: 1.1fr 0.9fr; }
  @media (max-width: 860px) {
    .service-block, .service-block-reverse { grid-template-columns: 1fr; }
  }
  .about-visual {
    aspect-ratio: 4/5; border-radius: 6px; position: relative;
    background: linear-gradient(160deg, #1F2327, #0F1113);
    border: 1px solid var(--line-dark);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
  }
  .about-visual .ring {
    width: 70%; aspect-ratio: 1/1; border-radius: 50%;
    border: 1.5px dashed rgba(255,154,46,0.35);
    display: flex; align-items: center; justify-content: center;
    animation: spin 30s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .about-visual .ring::after {
    content: ''; width: 55%; aspect-ratio: 1/1; border-radius: 50%;
    border: 1px solid rgba(61,139,255,0.3);
  }
  .about-text .section-tag { color: var(--maroon); }
  .about-text h2 {
    font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 600; letter-spacing: -0.02em; margin-bottom: 20px;
  }
  .about-text p { color: rgba(239,234,224,0.65); line-height: 1.7; margin-bottom: 24px; max-width: 460px; }

  .specsheet {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
    background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 4px;
    overflow: hidden; margin-top: 28px;
  }
  .specsheet div { background: var(--ink); padding: 14px 16px; }
  .specsheet .k { font-family: var(--font-mono); font-size: 10px; color: var(--grey); text-transform: uppercase; letter-spacing: 0.05em; }
  .specsheet .v { font-family: var(--font-mono); font-size: 14px; color: var(--bone); margin-top: 4px; }

  /* ---------- DROPS BANNER ---------- */
  .drops {
    background: var(--maroon); color: var(--ink); padding: 72px 32px;
    position: relative; overflow: hidden;
  }
  .drops-inner {
    max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 24px; position: relative; z-index: 2;
  }
  .drops h2 {
    font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700; letter-spacing: -0.02em; max-width: 480px;
  }
  .drops p { font-family: var(--font-mono); font-size: 13px; margin-top: 10px; opacity: 0.75; }
  .btn-dark { background: var(--ink); color: var(--bone); }
  .btn-dark:hover { background: #262b30; }

  /* ---------- FOOTER ---------- */
  footer { background: var(--ink); color: var(--bone); padding: 64px 32px 32px; }
  .footer-inner {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px;
    padding-bottom: 40px; border-bottom: 1px solid var(--line-dark);
  }
  .footer-brand .logo { color: var(--bone); }
  .footer-brand p { color: var(--grey); font-size: 13px; margin-top: 12px; max-width: 260px; line-height: 1.6; }
  .footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
  .footer-col h4 {
    font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--grey); margin-bottom: 16px;
  }
  .footer-col a { display: block; font-size: 14px; margin-bottom: 10px; color: rgba(239,234,224,0.75); }
  .footer-col a:hover { color: var(--maroon); }
  .footer-bottom {
    display: flex; justify-content: space-between; padding-top: 24px;
    font-family: var(--font-mono); font-size: 12px; color: var(--grey); flex-wrap: wrap; gap: 10px;
  }

/* ---------- SHARED: INNER PAGE HEADER ---------- */
.page-header {
  background: var(--ink); color: var(--bone);
  padding: 150px 32px 64px; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(239,234,224,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239,234,224,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 30% 20%, black, transparent);
}
.page-header .inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; }
.breadcrumb {
  font-family: var(--font-mono); font-size: 12px; color: var(--grey);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--grey); }
.breadcrumb a:hover { color: var(--maroon); }
.page-header h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.03em; max-width: 700px;
}
.page-header p.lead {
  font-size: 16px; color: rgba(239,234,224,0.65); max-width: 480px; margin-top: 16px; line-height: 1.6;
}
.nav-links a.active { color: var(--maroon); }

/* ---------- CATALOG PAGE FILTERS ---------- */
.filters {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px;
}
.filter-chip {
  font-family: var(--font-mono); font-size: 12px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 20px; color: var(--ink);
  background: transparent; cursor: pointer; transition: all 0.15s ease;
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip.active { background: var(--ink); color: var(--bone); border-color: var(--ink); }

/* ---------- PRODUCT DETAIL PAGE ---------- */
.product-detail { padding: 64px 32px 100px; }
.product-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 1180px; margin: 0 auto;
}
@media (max-width: 860px) { .product-grid { grid-template-columns: 1fr; gap: 36px; } }
.product-gallery-main {
  aspect-ratio: 1/1; border-radius: 6px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #23282d, #14171A);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.product-gallery-main svg { width: 55%; height: 55%; }
.product-thumbs { display: flex; gap: 10px; }
.product-thumbs .thumb {
  width: 68px; height: 68px; border-radius: 4px; background: linear-gradient(135deg, #23282d, #14171A);
  border: 1px solid var(--line); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.product-thumbs .thumb.active { border-color: var(--maroon); }
.product-thumbs .thumb svg { width: 55%; height: 55%; }

.product-info .tag {
  font-family: var(--font-mono); font-size: 11px; color: var(--grey);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; display: block;
}
.product-info h1 {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px);
  font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px;
}
.product-info .product-price {
  font-family: var(--font-mono); font-size: 24px; color: var(--maroon); margin-bottom: 24px;
}
.product-info .desc { color: #4A4F55; line-height: 1.7; margin-bottom: 28px; }
.product-specsheet {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; margin-bottom: 32px;
}
.product-specsheet div { background: var(--bone); padding: 14px 16px; }
.product-specsheet .k { font-family: var(--font-mono); font-size: 10px; color: var(--grey); text-transform: uppercase; letter-spacing: 0.05em; }
.product-specsheet .v { font-family: var(--font-mono); font-size: 14px; color: var(--ink); margin-top: 4px; }
.availability {
  display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px;
  margin-bottom: 24px; color: var(--ink);
}
.availability .dot { width: 8px; height: 8px; border-radius: 50%; background: #2FAE66; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline-dark { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: var(--bone); }
.btn-amber-solid { background: var(--maroon); color: var(--ink); }
.btn-amber-solid:hover { background: #ffb35c; }

.related-heading {
  font-family: var(--font-mono); font-size: 12px; color: var(--grey);
  text-transform: uppercase; letter-spacing: 0.06em; margin: 80px 0 24px; max-width: 1180px; margin-left: auto; margin-right: auto; padding: 0 0;
}

/* ---------- CONTACT PAGE ---------- */
.contact-wrap {
  max-width: 1180px; margin: 0 auto; padding: 80px 32px 120px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
}
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; gap: 40px; } }
.contact-form label {
  display: block; font-family: var(--font-mono); font-size: 11px; color: var(--grey);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; margin-top: 20px;
}
.contact-form label:first-child { margin-top: 0; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px;
  font-family: var(--font-body); font-size: 14px; background: #fff; color: var(--ink);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent;
}
.contact-form button { margin-top: 28px; }
.contact-side .block { margin-bottom: 36px; }
.contact-side h3 {
  font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-bottom: 10px;
}
.contact-side p { color: #4A4F55; font-size: 14px; line-height: 1.6; }
.contact-side a.social-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 10px;
  font-family: var(--font-mono); font-size: 13px; transition: all 0.15s ease;
}
.contact-side a.social-link:hover { border-color: var(--ink); background: #fff; }

/* ---------- ABOUT PAGE EXTRAS ---------- */
.timeline { max-width: 1180px; margin: 0 auto; padding: 90px 32px; }
.timeline-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 28px 0;
  border-top: 1px solid var(--line);
}
.timeline-row:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 560px) { .timeline-row { grid-template-columns: 1fr; gap: 8px; } }
.timeline-row .year { font-family: var(--font-mono); font-size: 13px; color: var(--grey); }
.timeline-row h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.timeline-row p { color: #4A4F55; font-size: 14px; line-height: 1.6; max-width: 520px; }

.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1180px; margin: 0 auto; padding: 0 32px 100px;
}
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  border: 1px solid var(--line); border-radius: 6px; padding: 28px;
}
.value-card .idx { font-family: var(--font-mono); font-size: 12px; color: var(--amber-dark, #6B1D29); margin-bottom: 14px; }
.value-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.value-card p { color: #4A4F55; font-size: 14px; line-height: 1.6; }

/* ---------- COLLECTION CARD (static image, links to a collection page) ---------- */
/* TODO: this powers the collection cards on catalog.html. Cards are
   generated from the COLLECTIONS array in catalog.html — add an entry
   there (image/title/description/price/href) to add another collection,
   nothing to touch here. */
.collections-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px; margin-bottom: 72px;
}
.collection-card {
  background: var(--ink); border-radius: 6px; overflow: hidden;
  display: block; color: var(--bone); position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.collection-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(20,23,26,0.18); }
.collection-visual {
  aspect-ratio: 16/10; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #23282d, #14171A);
  display: flex; align-items: center; justify-content: center;
}
.collection-cycle-frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.7s ease;
}
.collection-cycle-frame.active { opacity: 1; }
.collection-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(20,23,26,0.55); backdrop-filter: blur(4px);
  color: var(--bone); font-family: var(--font-mono); font-size: 10px;
  padding: 5px 9px; border-radius: 3px; border: 1px solid rgba(239,234,224,0.15);
}
.collection-body { padding: 20px 20px 22px; }
.collection-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.collection-body p { font-size: 13px; color: var(--grey); margin-bottom: 16px; line-height: 1.5; }
.collection-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 6px;
  padding-top: 14px; border-top: 1px solid var(--line-dark);
}
.collection-price { font-family: var(--font-mono); font-size: 15px; color: var(--maroon); white-space: nowrap; flex-shrink: 0; }
.collection-cta {
  font-family: var(--font-mono); font-size: 11px; color: var(--bone);
  border: 1px solid var(--line-dark); padding: 7px 12px; border-radius: 3px;
  transition: all 0.15s ease;
}
.collection-card:hover .collection-cta { border-color: var(--maroon); color: var(--maroon); }

/* ---------- ZOOKI GRID (collection detail page) ---------- */
.zooki-card {
  background: var(--ink); border-radius: 6px; overflow: hidden; color: var(--bone);
  transition: transform 0.2s ease;
}
.zooki-card:hover { transform: translateY(-3px); }
.zooki-art {
  aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #23282d, #14171A); position: relative; overflow: hidden;
}
.zooki-art svg { width: 55%; height: 55%; }
.zooki-card .zooki-body { padding: 14px 14px 16px; }
.zooki-card h4 { font-family: var(--font-display); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.zooki-card .zooki-footer { display: flex; justify-content: space-between; align-items: center; gap: 6px; flex-wrap: nowrap; }
.zooki-price { font-family: var(--font-mono); font-size: 13px; color: var(--maroon); white-space: nowrap; flex-shrink: 0; }
.zooki-stock { font-family: var(--font-mono); font-size: 10px; color: #2FAE66; white-space: nowrap; flex-shrink: 0; }
.zooki-stock.low { color: var(--maroon); }
.zooki-stock.out { color: var(--grey); }

/* ============================================================
   SHOPPING CART
   ============================================================ */

/* ---------- Nav cart icon + badge ---------- */
.nav-cart {
  position: relative; display: flex; align-items: center; padding: 4px;
}
.nav-cart svg { width: 20px; height: 20px; stroke: var(--ink); }
.cart-count {
  position: absolute; top: -6px; right: -8px;
  background: var(--maroon); color: var(--bone);
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
}

/* ---------- Toast notification ---------- */
#cart-toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--bone); font-family: var(--font-mono); font-size: 13px;
  padding: 12px 22px; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  opacity: 0; pointer-events: none; transition: all 0.25s ease; z-index: 999;
}
#cart-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Add to Cart button (product pages + quick-add on cards) ---------- */
.add-to-cart-btn { cursor: pointer; }

/* Quick-add button on Zooki grid cards */
.zooki-add-btn {
  width: 100%; margin-top: 10px; padding: 8px 0;
  background: var(--maroon); color: var(--bone); border: none; border-radius: 3px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; cursor: pointer;
  transition: background 0.15s ease;
}
.zooki-add-btn:hover { background: var(--maroon-deep, var(--maroon)); }

/* Tighten up the 3-across zooki/collection grid on narrow phones so cards
   have a little breathing room instead of being edge-to-edge. */
@media (max-width: 480px) {
  .product-grid-4 { gap: 10px !important; }
  .zooki-card .zooki-body { padding: 10px 10px 12px; }
  .zooki-add-btn { font-size: 10px; padding: 7px 0; }
}

/* ---------- Cart page ---------- */
.cart-wrap { max-width: 900px; margin: 0 auto; padding: 64px 32px 120px; }
.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty p { color: var(--grey); margin-bottom: 20px; font-family: var(--font-mono); font-size: 14px; }

.cart-row {
  display: grid; grid-template-columns: 64px 1fr auto auto 32px; gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.cart-row-img { width: 64px; height: 64px; border-radius: 4px; overflow: hidden; background: var(--ink); }
.cart-row-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-info h4 { font-family: var(--font-display); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.cart-row-options { font-family: var(--font-mono); font-size: 11px; color: var(--maroon); margin-bottom: 4px; }
.cart-row-price { font-family: var(--font-mono); font-size: 12px; color: var(--grey); }
.cart-row-qty { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 14px; }
.qty-btn {
  width: 24px; height: 24px; border: 1px solid var(--line); background: transparent;
  border-radius: 3px; cursor: pointer; font-size: 14px; line-height: 1;
}
.qty-btn:hover { border-color: var(--ink); }
.cart-row-subtotal { font-family: var(--font-mono); font-size: 14px; font-weight: 700; min-width: 56px; text-align: right; }
.cart-row-remove {
  background: none; border: none; font-size: 20px; color: var(--grey); cursor: pointer; line-height: 1;
}
.cart-row-remove:hover { color: var(--stock-out); }

@media (max-width: 600px) {
  .cart-row {
    grid-template-columns: 56px 1fr auto;
    grid-template-areas: "img info remove" "qty qty subtotal";
    row-gap: 10px; gap: 12px;
  }
  .cart-row-img { grid-area: img; width: 56px; height: 56px; }
  .cart-row-info { grid-area: info; min-width: 0; }
  .cart-row-info h4 { word-break: break-word; }
  .cart-row-qty { grid-area: qty; }
  .cart-row-subtotal { grid-area: subtotal; text-align: right; }
  .cart-row-remove { grid-area: remove; }
}

#cart-summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; margin-top: 8px; border-top: 2px solid var(--ink); font-family: var(--font-mono);
}
#cart-summary .label { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--grey); }
#cart-total { font-size: 22px; font-weight: 700; color: var(--maroon); }

#checkout-form-section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
#checkout-form-section h2 {
  font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 8px;
}
#checkout-form-section .sub { color: var(--grey); font-size: 13px; margin-bottom: 28px; }

/* ============================================================
   PRINT SHOWCASE SLIDESHOW
   Used by showcase-slideshow.js on both index.html (compact)
   and behind-the-prints.html (full size). Photos come from
   showcase-images.js — nothing to edit here for that.
   ============================================================ */
.showcase-slideshow {
  position: relative; border-radius: 6px; overflow: hidden;
  background: linear-gradient(135deg, #23282d, #14171A);
  aspect-ratio: 16/9;
}
.showcase-slideshow.compact { aspect-ratio: 16/9; max-width: 640px; margin: 0 auto; }
.showcase-slideshow.is-empty { display: flex; align-items: center; justify-content: center; }
.showcase-empty-msg {
  font-family: var(--font-mono); font-size: 13px; color: var(--grey);
  text-align: center; padding: 40px; line-height: 1.6;
}
.showcase-track { position: relative; width: 100%; height: 100%; }
.showcase-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  pointer-events: none;
}
.showcase-slide.active { opacity: 1; pointer-events: auto; }
.showcase-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.showcase-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(20,23,26,0.85), transparent);
  color: var(--bone); font-family: var(--font-mono); font-size: 12px;
  padding: 32px 18px 14px;
}
.showcase-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(20,23,26,0.55); backdrop-filter: blur(4px);
  border: 1px solid rgba(239,234,224,0.15); color: var(--bone);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1; cursor: pointer; z-index: 5;
  transition: all 0.15s ease;
}
.showcase-nav:hover { border-color: var(--maroon); color: var(--maroon); }
.showcase-nav.prev { left: 14px; }
.showcase-nav.next { right: 14px; }
.showcase-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.showcase-dot {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(239,234,224,0.35);
  border: none; cursor: pointer; padding: 0; transition: background 0.15s ease;
}
.showcase-dot.active { background: var(--maroon); }
