* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0a0a0a;
  --bg-2: #141414;
  --bg-3: #1c1c1c;
  --ink: #f2f2f2;
  --muted: #9a9a9a;
  --accent: #ff5b1f;
  --line: #262626;
}
html, body { background: var(--bg); color: var(--ink); font-family: 'Inter', sans-serif; line-height: 1.6; }
.display, h1, h2, h3 { font-family: 'Oswald', sans-serif; letter-spacing: 0.02em; text-transform: uppercase; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* NAV */
nav { position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; max-width: 1200px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Oswald'; font-weight: 700; font-size: 18px; letter-spacing: 0.08em; }
.brand .mark { width: 28px; height: 28px; background: var(--accent); display: grid; place-items: center; color: #000; font-weight: 700; font-family: 'Oswald'; }
.nav-links { display: flex; gap: 28px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links a:hover { color: var(--accent); }
.cta { background: var(--accent); color: #000; padding: 10px 18px; font-family: 'Oswald'; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; font-size: 13px; transition: transform .15s; }
.cta:hover { transform: translateY(-1px); }

/* HERO */
.hero {
  position: relative; min-height: 86vh; display: grid; place-items: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(255,91,31,0.15), transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner { text-align: center; padding: 80px 28px; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.eyebrow .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
h1 { font-size: clamp(48px, 8vw, 104px); line-height: 0.95; font-weight: 700; }
h1 .accent { color: var(--accent); }
.lead { color: var(--muted); max-width: 640px; margin: 24px auto 36px; font-size: 18px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-ghost { padding: 14px 24px; border: 1px solid var(--line); font-family: 'Oswald'; text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; transition: border-color .15s; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-primary { padding: 14px 24px; background: var(--accent); color: #000; font-family: 'Oswald'; text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; font-weight: 600; }

/* MARQUEE */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: var(--bg-2); }
/* Duration is tuned to the track's length: the 11 category names scroll at the
   same ~60px/sec the original 10 short words did. Re-tune it if the list changes. */
.marquee-track { display: flex; gap: 50px; white-space: nowrap; animation: scroll 41s linear infinite; font-family: 'Oswald'; letter-spacing: 0.2em; color: var(--muted); font-size: 14px; text-transform: uppercase; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee-track span::after { content: "◆"; margin-left: 50px; color: var(--accent); }

/* SECTIONS */
section { padding: 110px 0; border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 60px; gap: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(36px, 5vw, 56px); }
.section-head .num { color: var(--accent); font-family: 'Oswald'; font-size: 14px; letter-spacing: 0.2em; }
.section-head p { color: var(--muted); max-width: 420px; }

/* SERVICES GRID */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { display: block; padding: 36px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; position: relative; }
.service:hover { background: var(--bg-2); }
.service:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.service .num { font-family: 'Oswald'; color: var(--accent); font-size: 13px; letter-spacing: 0.2em; }
.service h3 { font-size: 22px; margin: 12px 0 10px; }
.service p { color: var(--muted); font-size: 14px; }
.service .go { position: absolute; top: 32px; right: 30px; color: var(--accent); font-size: 18px; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.service:hover .go, .service:focus-visible .go { opacity: 1; transform: translateX(0); }

/* SPECS */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.spec { padding: 30px; background: var(--bg-2); border: 1px solid var(--line); }
.spec .big { font-family: 'Oswald'; font-size: 48px; color: var(--accent); line-height: 1; }
.spec .label { color: var(--muted); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 12px; }

/* PROCESS */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.step { position: relative; padding-left: 0; }
.step .step-num { font-family: 'Oswald'; font-size: 48px; color: var(--accent); line-height: 1; opacity: 0.85; }
.step h3 { font-size: 16px; margin: 10px 0 7px; }
.step p { color: var(--muted); font-size: 13px; }

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .process { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 500px) { .process { grid-template-columns: 1fr; } }
@media (max-width: 500px) { .gallery-grid { grid-template-columns: 1fr; } }
.g-item { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--bg-2); cursor: pointer; }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(15%) contrast(1.05); transition: transform .5s ease, filter .3s ease; }
.g-item:hover img { transform: scale(1.06); filter: grayscale(0%) contrast(1.05); }
.g-item .g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
  opacity: 0; transition: opacity .25s ease;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px;
}
.g-item:hover .g-overlay { opacity: 1; }
.g-item .g-num { font-family: 'Oswald'; color: var(--accent); font-size: 11px; letter-spacing: 0.2em; }
.g-item .g-label { font-family: 'Oswald'; color: var(--ink); font-size: 16px; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.gallery-foot { text-align: center; margin-top: 50px; }
.gallery-foot a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border: 1px solid var(--line); font-family: 'Oswald'; text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; transition: border-color .15s, color .15s; }
.gallery-foot a:hover { border-color: var(--accent); color: var(--accent); }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; background: rgba(5,5,5,0.96); z-index: 100; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 24px; right: 30px; background: none; border: 1px solid var(--line); color: var(--ink); padding: 8px 14px; font-family: 'Oswald'; letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; cursor: pointer; }
.lightbox-close:hover { border-color: var(--accent); color: var(--accent); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 1px solid var(--line); color: var(--ink); width: 48px; height: 48px; font-size: 20px; cursor: pointer; transition: border-color .15s; }
.lightbox-nav:hover { border-color: var(--accent); color: var(--accent); }
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { background: var(--bg-2); border: 1px solid var(--line); padding: 40px; }
.contact-info .row { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: center; }
.contact-info .row:last-child { border-bottom: 0; }
.contact-info .row .label { font-family: 'Oswald'; color: var(--muted); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; min-width: 90px; }
.contact-info .row .value { font-size: 15px; }
.contact-info .row a { color: var(--ink); border-bottom: 1px solid var(--accent); padding-bottom: 1px; }
.cta-card { background: linear-gradient(135deg, var(--accent), #c93b06); color: #000; padding: 50px 40px; display: flex; flex-direction: column; justify-content: space-between; }
.cta-card h3 { font-size: 36px; line-height: 1; margin-bottom: 16px; }
.cta-card p { font-size: 15px; opacity: 0.85; margin-bottom: 30px; }
.cta-card a { background: #000; color: var(--accent); padding: 14px 24px; font-family: 'Oswald'; text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 600; align-self: flex-start; }

/* FOOTER */
footer { padding: 50px 0 30px; background: #050505; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-inner small { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; }
.foot-links { display: flex; gap: 22px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.foot-links a:hover { color: var(--accent); }

/* CATEGORY PAGE */
.cat-head { padding: 90px 0 60px; border-bottom: 1px solid var(--line); }
.cat-back { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-family: 'Oswald'; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 28px; transition: color .15s; }
.cat-back:hover { color: var(--accent); }
.cat-head .num { color: var(--accent); font-family: 'Oswald'; font-size: 14px; letter-spacing: 0.2em; }
.cat-head h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1; margin-top: 10px; }
.cat-head p { color: var(--muted); max-width: 560px; margin-top: 22px; font-size: 17px; }
.cat-body { padding: 70px 0 110px; }
.cat-empty { color: var(--muted); padding: 40px 0; }
/* Unlike the homepage grid (always 12 images = 4 full rows), a category holds any
   number of images, so it uses real gaps rather than hairlines. A partly-filled
   last row then reads as empty space instead of a grey block. */
.cat-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; background: transparent; border: 0; }
.cat-grid .g-item { border: 1px solid var(--line); }
.cat-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; flex-wrap: wrap; }
.cat-nav a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border: 1px solid var(--line); font-family: 'Oswald'; text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; transition: border-color .15s, color .15s; }
.cat-nav a:hover { border-color: var(--accent); color: var(--accent); }

/* VAULT — grid of finished pieces */
.vault-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.vault-card { display: block; border: 1px solid var(--line); background: var(--bg-2); transition: border-color .2s, transform .2s; }
.vault-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.vault-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vault-shot { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-3); }
.vault-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.vault-card:hover .vault-shot img { transform: scale(1.05); }
.vault-body { padding: 24px 24px 26px; }
.vault-cat { font-family: 'Oswald'; color: var(--accent); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.vault-card h3 { font-size: 20px; margin: 10px 0 2px; }
.vault-finish { color: var(--muted); font-size: 14px; }
.vault-price { font-family: 'Oswald'; font-size: 24px; margin-top: 16px; letter-spacing: 0.02em; }

/* Sold pieces stay visible but read as unavailable, and are not links. */
.vault-card.is-sold { opacity: 0.55; }
.vault-card.is-sold:hover { border-color: var(--line); transform: none; }
.vault-card.is-sold .vault-shot img { filter: grayscale(100%); }
.vault-card.is-sold:hover .vault-shot img { transform: none; }
.vault-card.is-sold .vault-price { text-decoration: line-through; color: var(--muted); }
/* z-index is load-bearing: the sold card's grayscale `filter` makes its <img> a
   stacking context that would otherwise paint over this badge. */
.badge { position: absolute; z-index: 2; top: 14px; left: 14px; font-family: 'Oswald'; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; padding: 6px 12px; background: var(--accent); color: #000; }
.badge.sold { background: var(--ink); color: #000; }
.vault-photo-section { margin-top: 70px; }
.vault-photo-head { margin-bottom: 28px; }
.vault-photo-head .num { color: var(--accent); font-family: 'Oswald'; font-size: 13px; letter-spacing: 0.2em; }
.vault-photo-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 6px; }

/* PRODUCT — one piece, many photos */
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: start; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; gap: 40px; } }
.shots { position: relative; }
.shot-main { position: relative; aspect-ratio: 1/1; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); cursor: zoom-in; }
.shot-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 12px; margin-top: 12px; }
.thumb { aspect-ratio: 1/1; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; padding: 0; transition: border-color .15s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.6; transition: opacity .15s; }
.thumb:hover img { opacity: 0.85; }
.thumb.active { border-color: var(--accent); }
.thumb.active img { opacity: 1; }

.detail .vault-cat { display: block; }
.detail h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1; margin: 12px 0 6px; }
.detail .finish { color: var(--muted); font-size: 17px; }
.detail .price-row { display: flex; align-items: baseline; gap: 16px; margin: 30px 0 8px; }
.detail .price { font-family: 'Oswald'; font-size: 42px; color: var(--accent); line-height: 1; }
.detail .price.sold { color: var(--muted); text-decoration: line-through; }
.detail .stock { font-family: 'Oswald'; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.detail .blurb { color: var(--muted); margin: 26px 0 34px; font-size: 16px; }
.detail .size-select { margin: 0 0 30px; }
.detail .size-label { font-family: 'Oswald'; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.detail .size-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.detail .size-opt { min-width: 54px; padding: 12px 16px; background: transparent; border: 1px solid var(--line); color: var(--ink); font-family: 'Oswald'; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.detail .size-opt:hover { border-color: var(--accent); color: var(--accent); }
.detail .size-opt.active { background: var(--accent); border-color: var(--accent); color: #000; }
.detail .size-opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.detail .buy { display: inline-block; background: var(--accent); color: #000; padding: 16px 30px; font-family: 'Oswald'; text-transform: uppercase; letter-spacing: 0.12em; font-size: 14px; font-weight: 600; transition: transform .15s; }
.detail .buy:hover { transform: translateY(-1px); }
.detail .buy.disabled { background: var(--bg-3); color: var(--muted); pointer-events: none; }
.detail .ship-note { color: var(--muted); font-size: 13px; margin-top: 14px; }
.spec-table { margin-top: 44px; border-top: 1px solid var(--line); }
.spec-table .row { display: flex; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table .row .k { font-family: 'Oswald'; color: var(--muted); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; min-width: 120px; }
.spec-table .row .v { color: var(--ink); }

@media (max-width: 720px) {
  /* Two-row nav: brand + CTA on top, links underneath so The Vault stays reachable. */
  .nav-inner { flex-wrap: wrap; row-gap: 14px; padding: 14px 20px; }
  .brand { order: 1; }
  .cta { order: 2; }
  .nav-links { display: flex; order: 3; flex-basis: 100%; justify-content: center; flex-wrap: wrap; gap: 12px 18px; font-size: 12px; }
  section { padding: 80px 0; }
}
