/* Gaffer Notes — self-hosted utilities (replaces Tailwind CDN) */
*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; }
body { margin: 0; }
.h-full { height: 100%; }
.min-h-full { min-height: 100%; }
.w-full { width: 100%; }
.max-w-none { max-width: none; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }
.min-w-0 { min-width: 0; }
.min-w-\[32rem\] { min-width: 32rem; }
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.inline, .inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; }
.align-top { vertical-align: top; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mr-2 { margin-right: 0.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.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; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.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-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.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-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pt-2 { padding-top: 0.5rem; }
.pl-5 { padding-left: 1.25rem; }
.pr-3 { padding-right: 0.75rem; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.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-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.break-words { overflow-wrap: anywhere; }
.underline { text-decoration: underline; }
.list-none { list-style: none; margin: 0; padding: 0; }
.list-inside { list-style-position: inside; }
.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.max-h-96 { max-height: 24rem; }
.min-h-\[8rem\] { min-height: 8rem; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-collapse { border-collapse: collapse; }
.w-full { width: 100%; }
.antialiased { -webkit-font-smoothing: antialiased; }

body.bg-zinc-950, .bg-zinc-950 { background: #0b1811; }
.bg-zinc-950\/40 { background: #0e3324; }
.bg-zinc-950\/80 { background: rgba(11, 24, 17, 0.92); }
.bg-zinc-900 { background: #0e3a28; }
.bg-zinc-900\/40 { background: #0e3324; }
.bg-zinc-900\/50 { background: #0e4a31; }
.bg-zinc-800 { background: #146043; }
.bg-zinc-700 { background: #18724e; }
.bg-emerald-600 { background: #059669; }
.bg-emerald-900\/60 { background: rgba(6, 78, 59, 0.6); }
.bg-emerald-950\/20 { background: rgba(2, 44, 34, 0.2); }
.bg-amber-900\/50, .bg-amber-950\/30 { background: rgba(120, 53, 15, 0.4); }
.bg-red-900\/50, .bg-red-950\/40, .bg-red-950\/30 { background: rgba(127, 29, 29, 0.4); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, #0e3a28, #0b1811); }

.text-zinc-100 { color: #fff; }
.text-zinc-200 { color: #f4f7f5; }
.text-zinc-300 { color: #e7eee9; }
.text-zinc-400 { color: #d5e0d8; }
.text-zinc-500 { color: #b7c9be; }
.text-zinc-600 { color: #8aa396; }
.text-white { color: #fff; }
.text-emerald-400 { color: #34d399; }
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-500\/90 { color: rgba(16, 185, 129, 0.9); }
.text-amber-400 { color: #fbbf24; }
.text-amber-200 { color: #fde68a; }
.text-red-400, .text-red-200, .text-red-300 { color: #fca5a5; }

.border-emerald-600 { border-color: #059669; }
.border-zinc-800, .border-zinc-800\/80 { border-color: #1e4a36; }
.border-zinc-700 { border-color: #2f7354; }
.border-zinc-600 { border-color: #3d8664; }
.border-emerald-900\/50 { border-color: rgba(6, 78, 59, 0.5); }
.border-amber-900\/50 { border-color: rgba(120, 53, 15, 0.5); }
.border-red-900\/60, .border-red-800 { border-color: rgba(127, 29, 29, 0.6); }

.hover\:text-white:hover { color: #fff; }
.hover\:text-zinc-300:hover { color: #d4d4d8; }
.hover\:text-amber-200:hover { color: #fde68a; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:bg-emerald-500:hover { background: #10b981; }
.hover\:bg-zinc-800:hover { background: #18724e; }
.hover\:border-zinc-700:hover { border-color: #4a9a72; }
.hover\:bg-red-900\/50:hover, .hover\:bg-red-900\/40:hover { background: rgba(127, 29, 29, 0.5); }

.disabled\:opacity-50:disabled { opacity: 0.5; }
.backdrop-blur { backdrop-filter: blur(8px); }
.transition { transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease; }
.prose { line-height: 1.7; }
.prose p { margin: 0.75rem 0; }

a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: transparent; cursor: pointer; }
input, textarea, select {
  background: #08140f;
  border: 1px solid #2f7354;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  color: #fff;
}
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85em; }

.inline-flex { display: inline-flex; align-items: center; }

.site-header { position: relative; z-index: 50; background: #0b1811; }
.brand-logo { display: block; flex-shrink: 0; line-height: 0; }
.brand-logo-full {
  height: 72px;
  width: 250px;
  display: block;
  object-fit: cover;
  object-position: left center;
}
.brand-logo-mark { display: none; height: 44px; width: 44px; border-radius: 10px; }
.nav-logout {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}
.nav-btn {
  display: block;
  height: 32px;
  width: 91px;
  flex-shrink: 0;
  object-fit: fill;
  border-radius: 6px;
}
.nav-btn:hover { filter: brightness(1.12); }
.cta-btn {
  display: block;
  height: 36px;
  width: auto;
  max-width: 100%;
  flex-shrink: 0;
  border-radius: 7px;
}
.cta-btn:hover,
.tip-tile-link:hover .cta-btn { filter: brightness(1.12); }
a:has(> .cta-btn) { display: inline-block; line-height: 0; }
.nav-wrap { position: relative; margin-left: auto; display: flex; align-items: center; }
.site-nav { gap: 0.3rem; }
.site-nav a,
.site-nav form { flex-shrink: 0; line-height: 0; }
.hero {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-radius: 1rem;
  border: 1px solid #1e3a2f;
  display: flex;
  align-items: stretch;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 1.25rem;
  padding: 1.75rem 1.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(90deg, rgba(7, 20, 15, 0.92), rgba(7, 20, 15, 0.78));
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #2f7354;
  color: #fff;
  border-radius: 0.375rem;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}
.site-nav { display: flex; flex-wrap: wrap; align-items: center; }
.age-banner {
  background: #08140f;
  border-bottom: 1px solid #1e4a36;
  color: #e7eee9;
  font-size: 0.75rem;
  text-align: center;
  padding: 0.35rem 0.75rem;
}

@media (max-width: 767px) {
  .brand-logo-full { height: 48px; width: 167px; }
  .brand-logo-mark { display: none; }
  .hero { min-height: 0; }
  .hero-copy { margin: 0; border-radius: 0; max-width: none; background: linear-gradient(180deg, rgba(7, 20, 15, 0.55), rgba(7, 20, 15, 0.88)); }
  .nav-toggle { display: inline-block; position: relative; z-index: 2; }
  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    left: auto;
    width: max-content;
    background: #0b1811;
    border: 1px solid #1e4a36;
    border-radius: 0.5rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.55rem;
    gap: 0.4rem;
    z-index: 60;
  }
  .site-nav.is-open { display: flex; }
}

@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:p-12 { padding: 3rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
}

.pick-locked {
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
}

.comp-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.25rem, 1fr));
  gap: 0.85rem;
}
.comp-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 8.75rem;
  overflow: hidden;
  border-radius: 0.7rem;
  border: 2px solid #c6b48a;
  background: #07140f;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(7, 20, 15, 0.8);
}
.comp-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.comp-tile span {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2.1rem 0.7rem 0.65rem;
  background: linear-gradient(to top, rgba(7, 20, 15, 0.94) 20%, rgba(7, 20, 15, 0));
  color: #f3ead7;
  font-family: Georgia, "Palatino Linotype", Palatino, serif;
  font-size: 1rem;
  line-height: 1.15;
  text-align: center;
}
.comp-tile:hover {
  border-color: #f3ead7;
}
.comp-tile.is-on {
  border-color: #f3ead7;
  box-shadow: 0 0 0 2px #1f6b45;
}
.tip-tile-link::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
}
.tip-tile-link:focus-visible {
  outline: 2px solid #f3ead7;
  outline-offset: 3px;
}
.tip-unlock {
  position: relative;
  z-index: 2;
}
.date-filter {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  -webkit-overflow-scrolling: touch;
}
.date-filter a,
.date-filter button {
  flex: 0 0 auto;
  white-space: nowrap;
  margin: 0;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #2f7354;
  background: #0b1811;
  color: #f3ead7;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.date-filter a:hover,
.date-filter a:focus-visible,
.date-filter button:hover,
.date-filter button:focus-visible {
  border-color: #f3ead7;
  outline: none;
}
.date-filter a.is-on,
.date-filter button.is-on {
  background: #1f6b45;
  border-color: #f3ead7;
  color: #fff;
}
.tip-tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: #0e4a31;
  background-image:
    linear-gradient(100deg, #0e4a31 0%, rgba(14, 74, 49, 0.97) 34%, rgba(14, 74, 49, 0.78) 62%, rgba(14, 74, 49, 0.5) 100%),
    var(--tip-photo);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center, var(--tip-pos, right center);
}
@media (max-width: 640px) {
  .comp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comp-tile { height: 7.5rem; }
}
