/* Milan Blaha Car Paint Garage — Luxury Design System */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&display=swap');

:root {
  --black: #000000;
  --white: #FAFAFA;
  --off-white: #F0EDE8;
  --bone: #D8D2C8;
  --gold: #B8963C;
  --gold-light: #D4AC50;
  --gold-dim: rgba(184, 150, 60, 0.3);
  --surface-1: #0A0A0A;
  --surface-2: #111111;
  --surface-3: #1A1A1A;
  --surface-4: #222222;
  --text-primary: #FAFAFA;
  --text-secondary: #A09C95;
  --text-muted: #5A5650;
  --border: rgba(250, 250, 250, 0.08);
  --border-gold: rgba(184, 150, 60, 0.4);
  --radius-sm: 4px;
  --radius-md: 8px;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--black);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}
#nav.scrolled {
  background: rgba(0,0,0,0.85);
  border-color: var(--border);
  backdrop-filter: blur(20px);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  line-height: 1.2;
}
.nav-logo span { display: block; font-weight: 200; font-size: 0.65rem; letter-spacing: 0.3em; color: var(--gold); }
.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid var(--gold-dim);
  padding: 10px 20px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nav-cta:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* Language switcher */
.lang-switch {
  display: flex; align-items: center; gap: 4px;
}
.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none; border: none; cursor: pointer;
  padding: 4px 6px;
  transition: color 0.2s;
}
.lang-btn:hover, .lang-btn.active { color: var(--gold); }
.lang-sep { color: var(--text-muted); font-size: 0.6rem; }

/* Hamburger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span { display: block; width: 24px; height: 1px; background: var(--white); transition: all 0.3s; }
.nav-mobile { display: none; }

/* ─── HERO ────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 48px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(20,18,14,0.3) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.75) 70%, rgba(0,0,0,0.97) 100%),
    #0A0A0A;
}
.hero-bg-image {
  position: absolute; inset: 0;
  background-image:
    url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1920&q=85'),
    linear-gradient(135deg, #0a0a0a 0%, #1a1510 100%);
  background-size: cover; background-position: center;
  opacity: 0.45;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.12); } }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.8s 0.3s ease forwards;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.96;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: pre-line;
  max-width: 700px;
  opacity: 0; animation: fadeUp 0.8s 0.5s ease forwards;
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 32px 0 48px;
  font-style: italic;
  opacity: 0; animation: fadeUp 0.8s 0.7s ease forwards;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 0.9s ease forwards;
}
.btn-primary {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
  padding: 16px 32px;
  border: 1px solid var(--gold);
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-ghost {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 16px 32px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: rgba(250,250,250,0.3); background: rgba(250,250,250,0.04); }

.hero-scroll {
  position: absolute; bottom: 40px; right: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeIn 1s 1.5s ease forwards;
}
.hero-scroll-line { width: 1px; height: 64px; background: linear-gradient(to bottom, transparent, var(--gold)); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:0.4} 50%{opacity:1} }
.hero-scroll span {
  font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-muted);
  writing-mode: vertical-lr;
}

/* ─── SECTION SHARED ──────────────────────────────────────────── */
section { padding: 120px 48px; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 16px;
}
.eyebrow::before {
  content: '';
  display: block; width: 32px; height: 1px;
  background: var(--gold-dim);
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: pre-line;
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── CRAFT ───────────────────────────────────────────────────── */
#craft { background: var(--surface-1); }
.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}
.craft-body {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
}
.craft-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  margin-top: 48px;
}
.craft-stat {
  background: var(--black);
  padding: 32px 24px;
  text-align: center;
}
.craft-stat-val {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--gold);
}
.craft-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}
.craft-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.craft-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(1.1);
  transition: transform 6s ease;
}
.craft-image:hover img { transform: scale(1.04); }
.craft-image-border {
  position: absolute; inset: 16px;
  border: 1px solid var(--border-gold);
  pointer-events: none;
}

/* ─── SPECIALTIES ─────────────────────────────────────────────── */
#specialties { background: var(--black); }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 64px;
}
.spec-card {
  background: var(--black);
  padding: 48px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: default;
}
.spec-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.spec-card:hover { background: var(--surface-2); }
.spec-card:hover::before { transform: scaleX(1); }
.spec-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.spec-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.spec-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── SIGNATURE ───────────────────────────────────────────────── */
#signature {
  background: var(--surface-1);
  position: relative;
  overflow: hidden;
}
#signature::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(184,150,60,0.04) 0%, transparent 70%);
}
.sig-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}
.sig-body { font-size: 1.15rem; color: var(--text-secondary); font-style: italic; line-height: 1.85; }
.sig-quote {
  margin-top: 48px;
  padding-left: 32px;
  border-left: 1px solid var(--gold);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}
.sig-visual {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.sig-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(30%) contrast(1.15) brightness(0.9);
  transition: transform 6s ease;
}
.sig-visual:hover img { transform: scale(1.04); }
.sig-corner {
  position: absolute;
  width: 40px; height: 40px;
  border-color: var(--gold);
  border-style: solid;
}
.sig-corner.tl { top: 16px; left: 16px; border-width: 1px 0 0 1px; }
.sig-corner.br { bottom: 16px; right: 16px; border-width: 0 1px 1px 0; }

/* ─── PROCESS ─────────────────────────────────────────────────── */
#process { background: var(--black); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 64px;
}
.process-step {
  background: var(--black);
  padding: 48px 32px;
  border-top: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.process-step:hover { background: var(--surface-2); border-color: var(--gold); }
.process-num {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--surface-4);
  margin-bottom: 16px;
  transition: color 0.3s;
}
.process-step:hover .process-num { color: var(--gold-dim); }
.process-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.process-body { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* ─── TESTIMONIALS ────────────────────────────────────────────── */
#testimonials { background: var(--surface-1); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 64px;
}
.testi-card {
  background: var(--black);
  border: 1px solid var(--border);
  padding: 40px 32px;
  position: relative;
}
.testi-card::before {
  content: '"';
  position: absolute; top: 24px; left: 28px;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 5rem;
  line-height: 1;
  color: var(--gold-dim);
  pointer-events: none;
}
.testi-quote {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
  margin-top: 32px;
}
.testi-author {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.testi-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.testi-vehicle {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-top: 4px;
}

/* ─── CONTACT ─────────────────────────────────────────────────── */
#contact { background: var(--black); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 64px;
  align-items: start;
}
.contact-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.8;
  margin-top: 24px;
}
.contact-details { margin-top: 48px; }
.contact-detail {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 20px;
}
.contact-detail-icon {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  min-width: 56px;
  padding-top: 2px;
}
.contact-detail-val {
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.contact-form {
  display: flex; flex-direction: column; gap: 12px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-input, .form-textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: italic;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: none;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-textarea:focus { border-color: var(--gold-dim); }
.form-textarea { min-height: 140px; }
.form-submit {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
  padding: 18px 32px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
}
.form-submit:hover { background: var(--gold-light); border-color: var(--gold-light); }
.form-success {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 16px 0;
}
.form-success.show { display: block; }

/* ─── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  padding: 48px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}
.footer-logo span { display: block; font-weight: 200; font-size: 0.6rem; letter-spacing: 0.25em; color: var(--gold); margin-top: 2px; }
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-rights {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-align: right;
}

/* ─── UTILITIES ───────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.divider-gold { display: block; width: 32px; height: 1px; background: var(--gold); margin: 32px 0; }

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  section { padding: 80px 32px; }
  #hero { padding: 0 32px 60px; }
  #nav { padding: 0 32px; }
  footer { padding: 40px 32px; }
  .craft-grid, .sig-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .spec-grid { grid-template-columns: repeat(2,1fr); }
  .process-steps { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  #nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .lang-switch { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile {
    display: none;
    position: fixed; inset: 0; top: var(--nav-h);
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 32px; z-index: 99;
  }
  .nav-mobile.open { display: flex; }
  .nav-mobile a {
    font-family: var(--font-display);
    font-weight: 300; font-size: 2rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--white); text-decoration: none;
  }
  .nav-mobile .nav-cta-m {
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--gold); text-decoration: none;
    border: 1px solid var(--gold-dim); padding: 14px 28px; margin-top: 16px;
  }
  .mobile-lang { display: flex; gap: 16px; }
  .mobile-lang button {
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--text-muted);
    background: none; border: none; cursor: pointer;
  }
  .mobile-lang button.active { color: var(--gold); }
  section { padding: 72px 24px; }
  #hero { padding: 0 24px 56px; }
  footer { padding: 40px 24px; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .footer-rights { text-align: center; }
  .spec-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .craft-stats { grid-template-columns: 1fr; }
}

/* ─── WORK SHOWCASE (index section) ───────────────────────────── */
#showcase { background: var(--surface-1); }

.showcase-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.showcase-all-link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--gold-dim);
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}
.showcase-all-link:hover { border-color: var(--gold); }

/* Asymmetric masonry-style grid */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}
.showcase-card--featured {
  grid-row: 1 / 3;
}

.showcase-card {
  display: block;
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.showcase-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.showcase-card--featured .showcase-card-img {
  aspect-ratio: unset;
  height: 100%;
  min-height: 480px;
}
.showcase-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(25%) contrast(1.08) brightness(0.88);
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
}
.showcase-card:hover .showcase-card-img img {
  transform: scale(1.08);
  filter: grayscale(0%) contrast(1.05) brightness(0.9);
}
.showcase-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.85) 100%);
  transition: opacity 0.4s;
}
.showcase-card:hover .showcase-card-overlay { opacity: 0.8; }

.showcase-card-badge {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(0,0,0,0.7);
  border: 1px solid var(--border-gold);
  padding: 5px 12px;
  backdrop-filter: blur(8px);
}

.showcase-card-body {
  padding: 24px 28px 28px;
  background: var(--black);
  border-top: 1px solid var(--border);
  transition: border-color 0.3s;
}
.showcase-card:hover .showcase-card-body { border-color: var(--gold-dim); }

.showcase-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.showcase-card-year, .showcase-card-cat {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.showcase-card-sep { color: var(--text-muted); font-size: 0.7rem; }

.showcase-card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.showcase-card--featured .showcase-card-title { font-size: 1.6rem; }

.showcase-card-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
}
.showcase-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.2s;
}
.showcase-card-cta::after {
  content: '→';
  transition: transform 0.2s;
}
.showcase-card:hover .showcase-card-cta { gap: 12px; }
.showcase-card:hover .showcase-card-cta::after { transform: translateX(4px); }

.showcase-footer {
  margin-top: 48px;
  text-align: center;
}

/* ─── WORK INDEX PAGE ─────────────────────────────────────────── */
.work-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}
.work-filter-bar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--border);
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.filter-btn:hover, .filter-btn.active { color: var(--gold); border-color: var(--gold-dim); }

/* ─── CASE STUDY PAGE ─────────────────────────────────────────── */
.cs-hero {
  position: relative;
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 80px;
  overflow: hidden;
}
.cs-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.8) 60%, rgba(0,0,0,1) 100%);
  z-index: 1;
}
.cs-hero-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(20%) contrast(1.1);
  transform: scale(1.04);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
.cs-hero-content { position: relative; z-index: 2; }
.cs-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.2s;
}
.cs-back::before { content: '←'; }
.cs-back:hover { color: var(--gold); }

.cs-meta-row {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.cs-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 4px 12px;
}
.cs-year {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.cs-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* Specs bar */
.cs-specs {
  display: flex;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 0 48px;
}
.cs-spec {
  flex: 1;
  background: var(--black);
  padding: 24px 28px;
}
.cs-spec-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.cs-spec-val {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* History section */
.cs-history {
  padding: 100px 48px;
  background: var(--black);
}
.cs-history-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 64px auto 0;
}
.cs-history-body {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.9;
}
.cs-history-body p + p { margin-top: 20px; }
.cs-history-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.cs-history-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(50%) sepia(20%) contrast(1.1);
  transition: transform 6s ease;
}
.cs-history-img:hover img { transform: scale(1.04); }
.cs-img-caption {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Before / After */
.cs-ba {
  padding: 100px 48px;
  background: var(--surface-1);
}
.cs-ba-inner { max-width: 1200px; margin: 0 auto; }
.cs-ba-slider-wrap {
  position: relative;
  margin-top: 48px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  aspect-ratio: 16/9;
}
.cs-ba-after, .cs-ba-before {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.cs-ba-after img, .cs-ba-before img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.cs-ba-before {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0s;
}
.cs-ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--gold);
  z-index: 10;
  pointer-events: none;
}
.cs-ba-handle::before, .cs-ba-handle::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold);
  top: 50%;
  margin-top: -20px;
}
.cs-ba-handle::after {
  background: var(--black);
  width: 32px; height: 32px;
  margin-top: -16px;
}
.cs-ba-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}
.cs-ba-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Gallery grid */
.cs-gallery {
  padding: 100px 48px;
  background: var(--black);
}
.cs-gallery-inner { max-width: 1200px; margin: 0 auto; }
.cs-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.cs-gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.cs-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
  filter: grayscale(15%) contrast(1.05);
  transform: scale(1.01);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.cs-gallery-item:hover img { transform: scale(1.06); filter: grayscale(0%) contrast(1.05); }
.cs-gallery-item--wide { grid-column: span 2; }
.cs-gallery-item--wide img { aspect-ratio: 8/3; }
.cs-gallery-item--tall { grid-row: span 2; }
.cs-gallery-item--tall img { aspect-ratio: unset; height: 100%; }

/* Lightbox */
.cs-lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.97);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
}
.cs-lightbox.open { display: flex; }
.cs-lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
}
.cs-lightbox-close {
  position: absolute; top: 24px; right: 32px;
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); background: none; border: none;
  cursor: pointer; transition: color 0.2s;
}
.cs-lightbox-close:hover { color: var(--gold); }
.cs-lightbox-nav {
  display: flex; gap: 24px; margin-top: 24px;
}
.cs-lightbox-btn {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted); background: none; border: 1px solid var(--border);
  padding: 8px 20px; cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.cs-lightbox-btn:hover { color: var(--gold); border-color: var(--gold-dim); }

/* Work in progress / video section */
.cs-wip {
  padding: 100px 48px;
  background: var(--surface-1);
}
.cs-wip-inner { max-width: 1200px; margin: 0 auto; }
.cs-wip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 48px;
}
.cs-video-wrap {
  position: relative;
  background: var(--surface-3);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.cs-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.cs-video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
}
.cs-video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s, transform 0.6s;
}
.cs-video-thumb:hover img { filter: grayscale(0%); transform: scale(1.04); }
.cs-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  transition: background 0.2s;
}
.cs-video-thumb:hover .cs-play-btn { background: var(--gold); }
.cs-play-icon {
  width: 0; height: 0;
  border-style: solid;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent var(--gold);
  margin-left: 4px;
  transition: border-left-color 0.2s;
}
.cs-video-thumb:hover .cs-play-icon { border-left-color: var(--black); }
.cs-video-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Back to index CTA on case study page */
.cs-next {
  padding: 100px 48px;
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cs-next-inner { max-width: 600px; margin: 0 auto; }
.cs-next-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.cs-next-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 40px;
}

/* ─── RESPONSIVE additions ────────────────────────────────────── */
@media (max-width: 1024px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-card--featured { grid-row: auto; }
  .showcase-card--featured .showcase-card-img { min-height: 360px; }
  .cs-hero, .cs-history, .cs-ba, .cs-gallery, .cs-wip, .cs-next { padding-left: 32px; padding-right: 32px; }
  .cs-specs { margin: 0 32px; }
  .cs-history-grid { grid-template-columns: 1fr; gap: 40px; }
  .cs-gallery-grid { grid-template-columns: 1fr 1fr; }
  .cs-gallery-item--wide { grid-column: span 2; }
  .cs-gallery-item--tall { grid-row: auto; }
  .cs-gallery-item--tall img { aspect-ratio: 4/3; height: auto; }
  .work-index-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .showcase-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cs-hero { padding: 0 24px 56px; }
  .cs-specs { flex-direction: column; margin: 0 24px; }
  .cs-history, .cs-ba, .cs-gallery, .cs-wip, .cs-next { padding: 72px 24px; }
  .cs-gallery-grid { grid-template-columns: 1fr; }
  .cs-gallery-item--wide { grid-column: auto; }
  .cs-gallery-item--wide img { aspect-ratio: 4/3; }
  .cs-wip-grid { grid-template-columns: 1fr; }
  .work-index-grid { grid-template-columns: 1fr; }
}

/* High-contrast / accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
