/* =========================================================================
   Static utility CSS for "Brass, Chrome & Quiet Machines"
   Hand-written (no Tailwind CDN / compiler) — defines only the exact
   utility classes this page uses.
   ========================================================================= */

/* ---------- preflight ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.font-serif { font-family: Georgia, 'Times New Roman', serif; }

/* ---------- display / layout ---------- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.grid { display: grid; }
.absolute { position: absolute; }
.relative { position: relative; }
.fixed { position: fixed; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-1\.5 { top: 0.375rem; }
.top-1\/2 { top: 50%; }
.top-2 { top: 0.5rem; }
.top-4 { top: 1rem; }
.left-1\.5 { left: 0.375rem; }
.left-2 { left: 0.5rem; }
.right-1\.5 { right: 0.375rem; }
.right-2 { right: 0.5rem; }
.right-4 { right: 1rem; }
.bottom-0 { bottom: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

.ml-auto { margin-left: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.pt-2 { padding-top: 0.5rem; }

.p-1\.5 { padding: 0.375rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pb-16 { padding-bottom: 4rem; }

.w-6 { width: 1.5rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }
.h-6 { height: 1.5rem; }
.h-40 { height: 10rem; }
.h-72 { height: 18rem; }
.h-full { height: 100%; }
.max-h-96 { max-height: 24rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-xl { max-width: 36rem; }
.min-h-screen { min-height: 100vh; }
.aspect-square { aspect-ratio: 1 / 1; }
.shrink-0 { flex-shrink: 0; }

/* ---------- borders / radius / shadow ---------- */
.border { border-width: 1px; border-style: solid; border-color: transparent; }
.border-2 { border-width: 2px; border-style: solid; border-color: transparent; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: transparent; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.shadow { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.drop-shadow { filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)) drop-shadow(0 2px 4px rgba(0,0,0,0.4)); }

/* ---------- colors ---------- */
.bg-black { background-color: #000000; }
.bg-white { background-color: #ffffff; }
.bg-amber-300 { background-color: #fcd34d; }
.bg-amber-400 { background-color: #fbbf24; }
.bg-emerald-500 { background-color: #10b981; }
.bg-neutral-700 { background-color: #404040; }
.bg-neutral-800 { background-color: #262626; }
.bg-neutral-900 { background-color: #171717; }
.bg-opacity-70 { background-color: rgba(0,0,0,0.7); }
.bg-opacity-90 { background-color: rgba(0,0,0,0.9); }

.border-amber-400 { border-color: #fbbf24; }
.border-emerald-500 { border-color: #10b981; }
.border-neutral-700 { border-color: #404040; }
.border-white { border-color: #ffffff; }

.text-white { color: #ffffff; }
.text-amber-200 { color: #fde68a; }
.text-amber-300 { color: #fcd34d; }
.text-emerald-400 { color: #34d399; }
.text-neutral-100 { color: #f5f5f5; }
.text-neutral-200 { color: #e5e5e5; }
.text-neutral-300 { color: #d4d4d4; }
.text-neutral-400 { color: #a3a3a3; }
.text-neutral-500 { color: #737373; }
.text-neutral-900 { color: #171717; }

/* ---------- typography ---------- */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-\[10px\] { font-size: 10px; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.underline { text-decoration: underline; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-relaxed { line-height: 1.625; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- objects / animation ---------- */
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.opacity-60 { opacity: 0.6; }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }
.transition-transform { transition-property: transform; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }
.duration-300 { transition-duration: 300ms; }

@keyframes tw-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
.animate-ping { animation: tw-ping 1.4s cubic-bezier(0,0,0.2,1) infinite; }

.rotate-180 { transform: rotate(180deg); transition: transform 150ms cubic-bezier(0.4,0,0.2,1); }

/* ---------- transforms (composable) ---------- */
.-translate-x-1\/2 { --tw-tx: -50%; }
.-translate-y-1\/2 { --tw-ty: -50%; }
.-translate-x-1\/2, .-translate-y-1\/2 {
  transform: translateX(var(--tw-tx, 0)) translateY(var(--tw-ty, 0));
}

/* ---------- hover states ---------- */
.hover\:bg-amber-500:hover { background-color: #f59e0b; }
.hover\:bg-neutral-600:hover { background-color: #525252; }
.hover\:bg-neutral-700:hover { background-color: #404040; }
.hover\:border-amber-400:hover { border-color: #fbbf24; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:text-neutral-300:hover { color: #d4d4d4; }

/* ---------- group-hover ---------- */
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }

/* ---------- custom: hero gradient overlay ---------- */
.hero-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 60%, rgba(23,23,23,0.9) 100%);
}

/* ---------- responsive: sm (min-width 640px) ---------- */
@media (min-width: 640px) {
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
  .sm\:col-span-3 { grid-column: span 3 / span 3; }
  .sm\:order-1 { order: 1; }
  .sm\:order-2 { order: 2; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sm\:gap-4 { gap: 1rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:p-3 { padding: 0.75rem; }
  .sm\:p-5 { padding: 1.25rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:h-96 { height: 24rem; }
  .sm\:h-full { height: 100%; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:top-6 { top: 1.5rem; }
  .sm\:left-6 { left: 1.5rem; }
  .sm\:right-6 { right: 1.5rem; }
  .sm\:w-7 { width: 1.75rem; }
  .sm\:h-7 { height: 1.75rem; }
  .sm\:max-h-\[28rem\] { max-height: 28rem; }
}

/* ---------- responsive: lg (min-width 1024px) ---------- */
@media (min-width: 1024px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
