@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/Archivo.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/JetBrainsMono.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

/* Tailwind Preflight Base */
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #2e2823;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

body {
  margin: 0;
  line-height: inherit;
}

h1, h2, h3, h4, p, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: inherit;
}

button {
  font-family: inherit;
  font-size: 100%;
  color: inherit;
  background-color: transparent;
  padding: 0;
}

img, svg {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

:focus-visible {
  outline: 2px solid #ff4d1f;
  outline-offset: 2px;
}

/* Component State Helpers */
.nav-link {
  color: #c4b7a1;
}

.nav-link:hover {
  color: #fbf7f0;
  background-color: #1b1714;
}

.nav-link.is-active {
  color: #fbf7f0;
  background-color: rgba(255, 77, 31, 0.12);
  border-color: #ff4d1f;
}

.tab-btn {
  color: #c4b7a1;
  background-color: transparent;
}

.tab-btn:hover {
  color: #fbf7f0;
}

.tab-btn.is-active {
  background-color: #ff4d1f;
  color: #100d0a;
}

[hidden] {
  display: none !important;
}

/* Tailwind Utilities */
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.scroll-smooth { scroll-behavior: smooth; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.aspect-square { aspect-ratio: 1 / 1; }

.sticky { position: sticky; }
.fixed { position: fixed; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }

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

.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-stretch { align-items: stretch; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }

.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-16 { width: 4rem; }
.w-full { width: 100%; }
.min-w-0 { min-width: 0; }
.min-w-11 { min-width: 2.75rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }

.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-16 { height: 4rem; }
.min-h-9 { min-height: 2.25rem; }
.min-h-10 { min-height: 2.5rem; }
.min-h-11 { min-height: 2.75rem; }
.min-h-12 { min-height: 3rem; }
.min-h-16 { min-height: 4rem; }
.min-h-screen { min-height: 100vh; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

.p-1 { padding: 0.25rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-10 { padding-top: 2.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-24 { padding-bottom: 6rem; }
.pl-5 { padding-left: 1.25rem; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }

.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-transparent { border-color: transparent; }
.border-\[\#2e2823\] { border-color: #2e2823; }
.border-\[\#453b33\] { border-color: #453b33; }
.border-\[\#ff4d1f\] { border-color: #ff4d1f; }
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px; }
.divide-\[\#2e2823\] > :not([hidden]) ~ :not([hidden]) { border-color: #2e2823; }

.bg-\[\#0c0a09\] { background-color: #0c0a09; }
.bg-\[\#0f0d0b\] { background-color: #0f0d0b; }
.bg-\[\#141110\] { background-color: #141110; }
.bg-\[\#1b1714\] { background-color: #1b1714; }
.bg-\[\#ff4d1f\] { background-color: #ff4d1f; }
.bg-\[\#ff4d1f\]\/10 { background-color: rgba(255, 77, 31, 0.1); }

.font-sans { font-family: "Inter", system-ui, -apple-system, sans-serif; font-feature-settings: "tnum" 1; }
.font-display { font-family: "Archivo", system-ui, -apple-system, sans-serif; font-feature-settings: "tnum" 1; }
.font-mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace; font-variant-numeric: tabular-nums; }

.text-sm { font-size: 0.875rem; line-height: 1.5; }
.text-base { font-size: 1rem; line-height: 1.65; }
.text-lg { font-size: 1.125rem; line-height: 1.4; }
.text-xl { font-size: 1.25rem; line-height: 1.3; }
.text-2xl { font-size: 1.5rem; line-height: 1.2; }
.text-3xl { font-size: 1.875rem; line-height: 1.12; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.leading-tight { line-height: 1.15; }
.leading-relaxed { line-height: 1.65; }
.tracking-tight { letter-spacing: -0.025em; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.whitespace-nowrap { white-space: nowrap; }
.break-words { overflow-wrap: break-word; }
.underline { text-decoration-line: underline; }
.underline-offset-4 { text-underline-offset: 4px; }

.text-\[\#100d0a\] { color: #100d0a; }
.text-\[\#9e917c\] { color: #9e917c; }
.text-\[\#c4b7a1\] { color: #c4b7a1; }
.text-\[\#e0d5c2\] { color: #e0d5c2; }
.text-\[\#f2eadd\] { color: #f2eadd; }
.text-\[\#fbf7f0\] { color: #fbf7f0; }
.text-\[\#ff4d1f\] { color: #ff4d1f; }

.list-disc { list-style-type: disc; }
.object-cover { object-fit: cover; }
.border-collapse { border-collapse: collapse; }
.cursor-pointer { cursor: pointer; }

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.hover\:bg-\[\#1b1714\]:hover { background-color: #1b1714; }
.hover\:bg-\[\#ff6b42\]:hover { background-color: #ff6b42; }
.hover\:border-\[\#ff4d1f\]:hover { border-color: #ff4d1f; }
.hover\:text-\[\#fbf7f0\]:hover { color: #fbf7f0; }
.hover\:text-\[\#ff4d1f\]:hover { color: #ff4d1f; }
.hover\:text-\[\#ff6b42\]:hover { color: #ff6b42; }

/* Responsive Breakpoints: sm (>=640px), md (>=768px Tablet), lg (>=1024px Desktop) */
@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:hidden { display: none; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:flex-initial { flex: 0 1 auto; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:items-center { align-items: center; }
  .sm\:justify-start { justify-content: flex-start; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:w-auto { width: auto; }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.65; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 1.15; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 1.12; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1.08; }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:items-end { align-items: flex-end; }
  .md\:items-center { align-items: center; }
  .md\:justify-between { justify-content: space-between; }
  .md\:w-auto { width: auto; }
  .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:pb-0 { padding-bottom: 0; }
}

@media (min-width: 1024px) {
  .lg\:sticky { position: sticky; }
  .lg\:top-24 { top: 6rem; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-center { align-items: center; }
  .lg\:justify-between { justify-content: space-between; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-9 { grid-column: span 9 / span 9; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:w-auto { width: auto; }
  .lg\:gap-10 { gap: 2.5rem; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}
