:root {
  --bg: #131513;
  --bg-concrete: #17191a;
  --ink: #1b1918;
  --fg: #f2f0e7;
  --fg-muted: #8f9188;
  --line: rgba(242, 240, 231, 0.10);
  --accent: #00b7cc;
  --accent-dim: rgba(0, 183, 204, 0.15);
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .sheet-tag { font-family: 'Montserrat', sans-serif; }
button, .btn { font-family: 'Inter', sans-serif; font-weight: 600; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(19, 21, 19, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-head__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 480px) {
  .site-head__inner { padding: 14px 20px; }
  .site-head__meta .backlink { font-size: 11px; }
}

.mark__logo { height: 32px; width: auto; display: block; }

.site-head__meta .backlink {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.site-head__meta .backlink:hover { color: var(--accent); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 100px 32px 88px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background-image: url("../images/brand/hero-bg.jpg");
  background-size: cover;
  background-position: center 35%;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 700px 520px at 64% 55%, rgba(6,8,7,0.6), transparent 68%),
    linear-gradient(to bottom, rgba(6,8,7,0.05) 0%, rgba(6,8,7,0.4) 100%),
    rgba(6,8,7,0.1);
}

@media (max-width: 860px) {
  .hero::after {
    background:
      radial-gradient(ellipse 520px 420px at 50% 62%, rgba(6,8,7,0.62), transparent 68%),
      linear-gradient(to bottom, rgba(6,8,7,0.1) 0%, rgba(6,8,7,0.45) 100%),
      rgba(6,8,7,0.14);
  }
}

.hero > .hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero__brand {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 48px;
  border-right: 1px solid var(--line);
}

.hero__logo { width: 220px; height: auto; }

.hero__tagline {
  margin: 18px 0 0;
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.hero__copy { flex: 1 1 auto; min-width: 0; max-width: 640px; }

@media (max-width: 860px) {
  .hero__inner { flex-direction: column; align-items: flex-start; gap: 36px; }
  .hero__brand { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 28px; width: 100%; }
  .hero__logo { width: 180px; }
  .hero { padding: 56px 24px 56px; }
}

@media (max-width: 600px) {
  .hero__inner { align-items: center; text-align: center; }
  .hero__brand { align-items: center; }
  .hero__copy { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero { padding: 44px 20px 48px; }
  .hero__logo { width: 150px; }
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.75), 0 2px 16px rgba(0,0,0,0.55);
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 200;
  line-height: 1.22;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 24px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8), 0 4px 24px rgba(0,0,0,0.5);
}

.hero__lede {
  font-size: 17px;
  font-weight: 300;
  color: #c8c9c1;
  max-width: 500px;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.75), 0 2px 16px rgba(0,0,0,0.55);
}

/* ---------- Carousel ---------- */

.carousel-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 32px 16px;
  border-bottom: 1px solid var(--line);
}

.carousel-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.carousel-section__head h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--fg-muted);
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.carousel-controls { display: flex; gap: 8px; }

.carousel-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); }

.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }

.carousel-card {
  flex: 0 0 auto;
  width: min(340px, 78vw);
  scroll-snap-align: start;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-elevated, #1a1d1b);
}

.carousel-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.carousel-card:hover img { transform: scale(1.05); }

.carousel-card__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  background: linear-gradient(to top, rgba(19,21,19,0.9) 0%, rgba(19,21,19,0) 55%);
}
.carousel-card__sheet {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 3px;
}
.carousel-card__location { font-size: 15px; font-weight: 500; }

/* ---------- Toolbar / grid heading ---------- */

.toolbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 44px 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.toolbar h2 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin: 0;
}

.search {
  flex: 0 1 280px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 8px 2px;
  outline: none;
  transition: border-color 0.2s;
}
.search::placeholder { color: var(--fg-muted); }
.search:focus { border-color: var(--accent); }

/* ---------- Masonry grid ---------- */

.grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 32px 96px;
  column-count: 4;
  column-gap: 20px;
}

@media (max-width: 1100px) { .grid { column-count: 3; } }
@media (max-width: 760px)  { .grid { column-count: 2; column-gap: 14px; padding-left: 14px; padding-right: 14px; } }
@media (max-width: 480px)  { .grid { column-count: 1; } }

.card {
  break-inside: avoid;
  margin-bottom: 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #1a1d1b;
}

.card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.card:hover img { transform: scale(1.04); }

.card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(19,21,19,0.88) 0%, rgba(19,21,19,0) 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card:hover .card__overlay { opacity: 1; }

.card__sheet {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.card__location { font-size: 15px; font-weight: 500; }

.card__count {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--fg);
  background: rgba(19,21,19,0.65);
  padding: 3px 7px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.empty-state {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px 96px;
  color: var(--fg-muted);
  font-size: 14px;
}

/* ---------- Footer ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  background: #0d0f0e;
}

.site-foot__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 32px;
}

@media (max-width: 860px) {
  .site-foot__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-foot__inner { grid-template-columns: 1fr; }
}

.foot-logo { height: 30px; width: auto; opacity: 0.9; margin-bottom: 16px; }

.foot-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 280px;
}

.foot-social { display: flex; gap: 12px; }
.foot-social a {
  color: var(--fg-muted);
  transition: color 0.15s;
  display: flex;
}
.foot-social a:hover { color: var(--accent); }

.foot-col h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
  font-weight: 500;
}

.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-col li {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.foot-col a { color: var(--fg-muted); transition: color 0.15s; }
.foot-col a:hover { color: var(--accent); }

.foot-contact-list li:first-child { max-width: 220px; }

.site-foot__bottom {
  border-top: 1px solid var(--line);
  padding: 18px 32px;
  text-align: center;
}
.site-foot__bottom p {
  margin: 0;
  font-size: 12px;
  color: var(--fg-muted);
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(6, 8, 7, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 0;
}

.lightbox[hidden] {
  display: none;
}

.lb-stage {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
}

#lb-image {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lb-caption {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}
.lb-sheet { font-family: 'JetBrains Mono', monospace; color: var(--accent); font-size: 12px; }
.lb-location { font-weight: 500; }
.lb-count { font-family: 'JetBrains Mono', monospace; color: var(--fg-muted); font-size: 12px; }

.lb-close, .lb-nav, .lb-img-nav {
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 10px;
}

.lb-close { position: absolute; top: 20px; right: 24px; font-size: 18px; opacity: 0.7; }
.lb-close:hover { opacity: 1; }

.lb-nav { position: absolute; top: 44%; transform: translateY(-50%); font-size: 36px; opacity: 0.5; z-index: 5; }
.lb-nav:hover { opacity: 1; }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }

.lb-img-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  opacity: 0.6;
  background: rgba(19,21,19,0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.lb-img-nav:hover { opacity: 1; }
.lb-img-prev { left: 10px; }
.lb-img-next { right: 10px; }

/* Filmstrip — lets sales staff jump to any of the 85 works instantly */
.lb-filmstrip {
  width: 100%;
  max-width: 1400px;
  margin-top: 18px;
  padding: 14px 20px 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  scrollbar-width: thin;
}

.lb-thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.45;
  border: 2px solid transparent;
  transition: opacity 0.15s, border-color 0.15s;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumb:hover { opacity: 0.8; }
.lb-thumb.active { opacity: 1; border-color: var(--accent); }

@media (max-width: 640px) {
  .lb-nav { display: none; }
  .lb-thumb { width: 48px; height: 48px; }
}
