@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Changa+One&display=swap');

:root {
  color-scheme: light dark;
  --page-max: 1200px;
  --gutter: clamp(1.25rem, 2vw, 2rem);
  --radius: 18px;
  --shadow-soft: 0 18px 60px rgba(0,0,0,0.28);
  --transition-fast: 180ms ease;
  --transition-slow: 720ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--jb-charcoal);
  color: var(--jb-text-primary);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

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

h1, h2, h3, h4 {
  font-family: 'Changa One', 'Inter', system-ui, sans-serif;
  letter-spacing: 0.01em;
  margin: 0 0 0.3em;
  line-height: 1.1;
}

p { margin: 0 0 1em; color: var(--jb-text-secondary); }

.page-shell {
  min-height: 100vh;
  background: linear-gradient(135deg, #0c0c0c 0%, #111 40%, #0b0b0b 100%);
}

.container {
  width: min(100%, var(--page-max));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

header.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(12, 12, 12, 0.7);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--jb-offwhite);
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav-links a:hover {
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--jb-gold);
}

.hero {
  position: relative;
  height: 88vh;
  min-height: 520px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.5) 65%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity var(--transition-slow);
  transform: scale(1.02);
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  height: 100%;
  text-align: center;
  padding: 0 var(--gutter);
}

.hero-title {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  color: var(--jb-offwhite);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--jb-soft-gray);
  max-width: 720px;
  margin: 0 auto 1.8rem;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--jb-text-secondary);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.hero-progress {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: rgba(255,255,255,0.16);
  border-radius: 999px;
  overflow: hidden;
}

.hero-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--jb-gold);
  transition: width var(--transition-slow);
}

.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jb-soft-gray);
}

.section-title {
  color: var(--jb-offwhite);
}

.section-copy {
  max-width: 620px;
  color: var(--jb-text-secondary);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--jb-surface);
  min-height: 240px;
  isolation: isolate;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.tile:hover img {
  transform: scale(1.04);
}

.tile-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: var(--jb-offwhite);
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tile-label span {
  width: 8px;
  height: 8px;
  background: var(--jb-gold);
  border-radius: 999px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 1.2rem;
  display: grid;
  gap: 0.75rem;
  transition: border var(--transition-fast), transform var(--transition-fast);
}

.card:hover {
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.meta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: var(--jb-soft-gray);
  font-size: 0.95rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--jb-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
}

.cta::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.cta:hover::after {
  transform: translateX(4px);
}

.dual-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.portrait-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(120deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  padding: 0.75rem;
}

.portrait-frame img {
  width: 100%;
  border-radius: calc(var(--radius) - 8px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  color: var(--jb-soft-gray);
}

.stat strong {
  display: block;
  color: var(--jb-offwhite);
  font-size: 1.3rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.service {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  background: var(--jb-surface);
  transition: transform var(--transition-fast), border var(--transition-fast);
}

.service img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-body {
  padding: 1rem 1.1rem 1.25rem;
  color: var(--jb-text-secondary);
}

.service:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.12);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.store-item {
  border: 1px solid rgba(255,255,255,0.04);
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
}

.store-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--jb-soft-gray);
  font-size: 0.95rem;
}

.badge {
  border: 1px solid var(--jb-gold);
  color: var(--jb-gold);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-card {
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

form {
  display: grid;
  gap: 1rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: var(--jb-offwhite);
  font-family: inherit;
  transition: border var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--jb-gold);
  box-shadow: 0 0 0 3px rgba(207, 167, 95, 0.25);
}

textarea {
  min-height: 140px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(120deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  color: var(--jb-offwhite);
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border var(--transition-fast);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.14);
}

.socials {
  display: flex;
  gap: 0.8rem;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: var(--jb-soft-gray);
}

.socials a:hover { color: var(--jb-gold); border-color: var(--jb-gold); }

.masonry {
  column-count: 1;
  column-gap: 1.1rem;
}

@media (min-width: 720px) {
  .masonry { column-count: 2; }
}

@media (min-width: 900px) {
  .masonry { column-count: 3; }
}

.no-scroll {
  overflow: hidden;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.1rem;
  position: relative;
}

.masonry-item img {
  width: 100%;
  display: block;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  transform: translateY(6px);
  opacity: 0;
  filter: blur(6px);
  transition: opacity 240ms ease, transform 240ms ease, filter 320ms ease;
}

.masonry-item img.is-loaded {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.caption {
  margin-top: 0.5rem;
  color: var(--jb-text-secondary);
  font-size: 0.95rem;
}

.exif {
  margin-top: 0.25rem;
  color: var(--jb-soft-gray);
  font-size: 0.9rem;
}

.is-hidden { display: none !important; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  place-items: center;
  z-index: 40;
}

.lightbox.is-open { display: grid; }

.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.lightbox-controls {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.75rem;
}

.lightbox button {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--jb-offwhite);
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
}

.lightbox button:hover { background: rgba(255,255,255,0.16); }

.footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--jb-text-secondary);
  background: #0b0b0b;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.alt-scheme-dark {
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.03), transparent 32%), #0c0c0f;
  color: var(--jb-text-primary);
  border-block: 1px solid rgba(255,255,255,0.08);
}

.alt-scheme-dark p { color: var(--jb-text-secondary); }
.alt-scheme-dark .section-title { color: var(--jb-offwhite); }
.alt-scheme-dark .card,
.alt-scheme-dark .contact-card,
.alt-scheme-dark .store-item,
.alt-scheme-dark .service {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.1);
  color: var(--jb-text-primary);
}

.alt-scheme {
  background: var(--jb-surface-light);
  color: #111;
}

.alt-scheme p { color: #444; }

.alt-scheme .section-title { color: #0f0f0f; }

.alt-scheme .card,
.alt-scheme .contact-card,
.alt-scheme .store-item,
.alt-scheme .service {
  background: #fff;
  border-color: #e3e3e3;
  color: #222;
}

.alt-scheme input,
.alt-scheme textarea {
  background: #f9f9f9;
  border-color: #e3e3e3;
  color: #111;
}

.alt-scheme input:focus,
.alt-scheme textarea:focus {
  box-shadow: 0 0 0 3px rgba(207, 167, 95, 0.28);
}

@media (max-width: 960px) {
  .dual-column { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: var(--gutter);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(12,12,12,0.92);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  }
  .nav-links.is-open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .hero { height: 72vh; }
}

@media (max-width: 720px) {
  .masonry { column-count: 1; }
  .section { padding: 2rem 0; }
  .hero-title { font-size: 2.2rem; }
  .hero-meta { width: 100%; justify-content: center; }
  .section-header { flex-direction: column; align-items: flex-start; }
}
