/*! Universal Backward-Compatible Stylesheet for Garry Robinson & Co. */
/* Compatible with all modern & legacy mobile/desktop browsers (iOS 9+, Android 5+, Chrome, Safari, Samsung Internet) */

*, *::before, *::after {
  box-sizing: border-box;
  border: 0 solid #e7e5e4;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
  font-family: "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

html.scroll-smooth {
  scroll-behavior: smooth;
}

body {
  background-color: #fafaf9;
  color: #111111;
  font-family: "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b, strong {
  font-weight: 700;
}

ol, ul, menu {
  list-style: none;
}

img, svg, video, canvas, audio, iframe, embed, object {
  vertical-align: middle;
  display: block;
}

img, video {
  max-width: 100%;
  height: auto;
}

button, input, select, optgroup, textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background-color: transparent;
  border-radius: 0;
}

::selection {
  background-color: #004225;
  color: #ffffff;
}

/* Positioning & Z-index */
.fixed { position: fixed; }
.sticky { position: -webkit-sticky; position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }

/* Display & Layout */
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.shrink-0 { flex-shrink: 0; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-start { align-items: flex-start; }
.self-start { align-self: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.overflow-hidden { overflow: hidden; }
.cursor-default { cursor: default; }
.select-none { -webkit-user-select: none; user-select: none; }

/* Grid Columns */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* Aspect Ratio (with padding fallback for ultra-old browsers) */
.aspect-video {
  aspect-ratio: 16 / 9;
}
@supports not (aspect-ratio: 16 / 9) {
  .aspect-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
  }
  .aspect-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* Sizing */
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-36 { width: 9rem; }
.w-auto { width: auto; }
.w-full { width: 100%; }

.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-auto { height: auto; }
.h-full { height: 100%; }

.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-\[320px\] { max-width: 320px; }

/* Margins */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-14 { margin-bottom: 3.5rem; }

/* Padding */
.p-2 { padding: 0.5rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }

.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-16 { padding-top: 4rem; }
.pb-16 { padding-bottom: 4rem; }
.pl-4 { padding-left: 1rem; }
.pl-5 { padding-left: 1.25rem; }
.pl-10 { padding-left: 2.5rem; }

/* Gaps */
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-3\.5 { gap: 0.875rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Vertical Spacing (space-y) */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-1\.5 > * + * { margin-top: 0.375rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-2\.5 > * + * { margin-top: 0.625rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.space-y-14 > * + * { margin-top: 3.5rem; }

/* Dividers */
.divide-y > * + * {
  border-top-width: 1px;
  border-top-style: solid;
}
.divide-stone-200\/80 > * + * {
  border-color: rgba(231, 229, 228, 0.8);
}

/* Borders & Radii */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-l-2 { border-left-width: 2px; border-left-style: solid; }

.border-\[\#0D2319\]\/80 { border-color: rgba(13, 35, 25, 0.8); }
.border-racing { border-color: #004225; }
.border-racing\/15 { border-color: rgba(0, 66, 37, 0.15); }
.border-racing\/60 { border-color: rgba(0, 66, 37, 0.6); }
.border-stone-100 { border-color: #f5f5f4; }
.border-stone-200 { border-color: #e7e5e4; }
.border-stone-200\/70 { border-color: rgba(231, 229, 228, 0.7); }
.border-stone-200\/80 { border-color: rgba(231, 229, 228, 0.8); }
.border-stone-200\/90 { border-color: rgba(231, 229, 228, 0.9); }
.border-stone-300 { border-color: #d6d3d1; }
.border-stone-300\/80 { border-color: rgba(214, 211, 209, 0.8); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }

/* Backgrounds */
.bg-\[\#0D2319\] { background-color: #0d2319; }
.bg-canvas { background-color: #fafaf9; }
.bg-canvas\/95 { background-color: rgba(250, 250, 249, 0.95); }
.bg-racing { background-color: #004225; }
.bg-racing-wash { background-color: #f0f5f2; }
.bg-stone-50 { background-color: #fafaf9; }
.bg-stone-900 { background-color: #1c1917; }
.bg-white { background-color: #ffffff; }

/* SVG Fill */
.fill-stone-300 { fill: #d6d3d1; }

/* Object Fit */
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }

/* Typography */
.text-left { text-align: left; }
.font-sans { font-family: "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.text-\[12px\] { font-size: 12px; }
.text-\[13px\] { font-size: 13px; }
.text-\[14px\] { font-size: 14px; }
.text-\[15px\] { font-size: 15px; }
.text-\[16px\] { font-size: 16px; }
.text-\[17px\] { font-size: 17px; }

.leading-\[1\.26\] { line-height: 1.26; }
.leading-\[1\.32\] { line-height: 1.32; }
.leading-\[1\.34\] { line-height: 1.34; }
.leading-\[1\.625\] { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.18em\] { letter-spacing: 0.18em; }

.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.underline { text-decoration: underline; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.opacity-95 { opacity: 0.95; }

/* Text Colors */
.text-ink { color: #111111; }
.text-ink-muted { color: #525252; }
.text-racing { color: #004225; }
.text-stone-200 { color: #e7e5e4; }
.text-stone-300 { color: #d6d3d1; }
.text-stone-500 { color: #78716c; }
.text-stone-600 { color: #57534e; }
.text-stone-700 { color: #44403c; }
.text-white { color: #ffffff; }

/* Shadows & Filters */
.shadow-2xs { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03); }
.shadow-xs { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06); }
.drop-shadow-xs { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05)); }
.brightness-0.invert { filter: brightness(0) invert(1); }
.backdrop-blur-md { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* Transitions */
.transition-all { transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.duration-150 { transition-duration: 0.15s; }
.duration-200 { transition-duration: 0.2s; }
.duration-300 { transition-duration: 0.3s; }

/* Hover & Focus States */
.hover\:border-racing:hover { border-color: #004225; }
.hover\:bg-racing:hover { background-color: #004225; }
.hover\:bg-racing-hover:hover { background-color: #002e1a; }
.hover\:text-stone-600:hover { color: #57534e; }
.hover\:text-white:hover { color: #ffffff; }
.group:hover .group-hover\:fill-white { fill: #ffffff; }
.focus\:outline-none:focus { outline: none; }

/* Responsive Breakpoint: sm (640px / 40rem) */
@media (min-width: 640px) {
  .sm\:col-span-4 { grid-column: span 4 / span 4; }
  .sm\:col-span-8 { grid-column: span 8 / span 8; }
  .sm\:hidden { display: none; }
  .sm\:inline { display: inline; }
  .sm\:h-11 { height: 2.75rem; }
  .sm\:h-20 { height: 5rem; }
  .sm\:h-24 { height: 6rem; }
  .sm\:w-20 { width: 5rem; }
  .sm\:w-24 { width: 6rem; }
  .sm\:w-44 { width: 11rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:justify-start { justify-content: flex-start; }
  .sm\:gap-0 { gap: 0; }
  .sm\:gap-6 { gap: 1.5rem; }
  .sm\:gap-8 { gap: 2rem; }
  .sm\:divide-x > * + * {
    border-top-width: 0;
    border-left-width: 1px;
    border-left-style: solid;
  }
  .sm\:divide-racing\/15 > * + * {
    border-color: rgba(0, 66, 37, 0.15);
  }
  .sm\:border-t-0 { border-top-width: 0; }
  .sm\:p-7 { padding: 1.75rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:p-12 { padding: 3rem; }
  .sm\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
  .sm\:px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
  .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .sm\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .sm\:pt-0 { padding-top: 0; }
  .sm\:pt-20 { padding-top: 5rem; }
  .sm\:pt-24 { padding-top: 6rem; }
  .sm\:pr-5 { padding-right: 1.25rem; }
  .sm\:pb-20 { padding-bottom: 5rem; }
  .sm\:pl-5 { padding-left: 1.25rem; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-\[14px\] { font-size: 14px; }
  .sm\:text-\[16px\] { font-size: 16px; }
  .sm\:text-\[18px\] { font-size: 18px; }
  .sm\:text-\[19px\] { font-size: 19px; }
  .sm\:leading-\[1\.28\] { line-height: 1.28; }
}

/* Responsive Breakpoint: md (768px / 48rem) */
@media (min-width: 768px) {
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-6 { grid-column: span 6 / span 6; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:block { display: block; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:justify-end { justify-content: flex-end; }
  .md\:gap-10 { gap: 2.5rem; }
  .md\:text-\[38px\] { font-size: 38px; }
  .md\:text-\[46px\] { font-size: 46px; }
  .md\:leading-\[1\.34\] { line-height: 1.34; }
}

/* Responsive Breakpoint: lg (1024px / 64rem) */
@media (min-width: 1024px) {
  .lg\:text-\[42px\] { font-size: 42px; }
  .lg\:text-\[48px\] { font-size: 48px; }
}