/* Global site styles (no Tailwind/Bootstrap) */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #0b1220;
  --muted: #5b667a;
  --muted-2: #7b879a;
  --border: #e6e8ee;

  --brand: #ee2e2b; /* Buckeye red */
  --brand-2: #b91c1c;

  --black: #000000;
  --shadow: 0 18px 45px rgba(11, 18, 32, 0.12);
  --shadow-sm: 0 10px 22px rgba(11, 18, 32, 0.10);

  --radius: 14px;
  --radius-lg: 20px;
  --container: 1320px;
  --header-h: 80px;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(238, 46, 43, 0.45);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header--transparent {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.00);
  backdrop-filter: none;
}

.site-header--transparent.is-scrolled {
  background: rgba(0, 0, 0, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-brand:hover,
.site-brand:focus,
.site-brand:focus-visible {
  text-decoration: none;
}

.site-brand img {
  height: 56px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.site-nav__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav__cta {
  display: flex;
  align-items: center;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 13px;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 120ms ease;
}

.site-nav__link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.14);
  text-decoration: none;
  transform: translateY(-1px);
}

.site-nav__link:focus,
.site-nav__link:focus-visible {
  text-decoration: none;
}

.site-nav__link.is-active {
  color: #ffffff;
  background: rgba(238, 46, 43, 0.18);
  border-color: rgba(238, 46, 43, 0.50);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  height: 44px;
  width: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.10);
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: rgba(255, 255, 255, 0.90);
  border-radius: 2px;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    padding: 14px 20px 18px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 180ms ease;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .site-nav[data-collapsed="false"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .site-nav__link {
    justify-content: space-between;
    padding: 12px 12px;
    font-size: 13px;
    border-radius: 12px;
  }

  .site-nav__cta .btn {
    width: 100%;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* Layout */
main {
  padding-top: var(--header-h);
}

body.has-hero main {
  padding-top: 0;
}

/* Simple spacing + width helpers */
.narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.mt-sm { margin-top: 10px; }
.mt-md { margin-top: 14px; }
.mt-lg { margin-top: 18px; }
.mt-xl { margin-top: 22px; }

/* Shared page hero (non-home pages) */
.page-hero {
  position: relative;
  background: #070b16;
  color: #ffffff;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 520px at 15% 15%, rgba(238, 46, 43, 0.22), transparent 55%),
    radial-gradient(900px 520px at 85% 35%, rgba(11, 199, 158, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  opacity: 1;
}

.page-hero__inner {
  position: relative;
  padding: 74px 0 58px;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.page-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.page-hero__title {
  margin: 14px 0 0;
  font-size: 44px;
  line-height: 1.06;
  font-weight: 900;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

.page-hero__lead {
  margin: 14px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 70ch;
}

.page-hero__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.page-hero__aside {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.page-hero__image {
  width: 100%;
  max-width: 460px;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.page-hero__note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 48ch;
  text-align: right;
}

.section {
  padding: 72px 0;
}

.section--white {
  background: var(--surface);
}

.section--dark {
  background: #0b0f19;
  color: #ffffff;
}

.section__kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
}

.section__title {
  margin: 10px 0 0;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 800;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

.section__lead {
  margin: 14px 0 0;
  font-size: 18px;
  color: var(--muted);
  max-width: 68ch;
}

/* Simple content helpers */
.content {
  max-width: 74ch;
}

.content--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.content p {
  margin: 12px 0 0;
  color: var(--muted);
}

.content ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.content ul li {
  margin: 8px 0;
}

/* Page header row */
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.page-head__title {
  margin: 0;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 900;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

.page-head__lead {
  margin: 10px 0 0;
  color: var(--muted);
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}

.card--soft {
  background: #f7f8fb;
}

.card--glass {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.card__body {
  padding: 22px;
}

.card__title {
  font-weight: 800;
  font-size: 18px;
  margin: 10px 0 0;
}

.card__text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.card__icon {
  height: 44px;
  width: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(238, 46, 43, 0.09);
  color: var(--brand);
  font-weight: 800;
}

/* Media card (inventory tiles) */
.media-card {
  overflow: hidden;

  /* Make every inventory card the same height */
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Use a fixed height (not min-height) so cards can't grow taller */
  height: clamp(460px, 46vw, 540px);
  min-width: 0;
}

/* Clickable image wrapper should behave like a real block */
.media-card > a.link {
  display: block;
  width: 100%;
  align-self: stretch;
  line-height: 0;
  text-decoration: none;
}

/* Image frame: keeps height consistent and avoids empty side bars by using a soft bg fill */
.media-card__imgwrap {
  --img: none;
  display: block;
  position: relative;
  width: 100%;
  height: clamp(180px, 18vw, 240px);
  overflow: hidden;
  background: #0b0f19;
  line-height: 0;
}

.media-card__imgwrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(1.1);
  transform: scale(1.12);
  opacity: 0.65;
}

.media-card .card__title {
  margin-top: 0;

  /* Prevent tall cards from long titles */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 44px;
  overflow-wrap: anywhere;
}

.media-card__sub {
  margin-top: 8px;
  font-size: 13px;

	/* Keep row heights consistent */
	min-height: 34px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-card__price {
  color: var(--brand);
  font-weight: 900;
}

.media-card__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.media-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
  min-width: 0;
}

.media-card__meta > * {
  min-width: 0;
}

.media-card__meta .muted-2 {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Make the body fill remaining height and keep CTAs aligned */
.media-card .card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
  min-width: 0;
}

.media-card .card__body > .mt-md {
	margin-top: auto;
}

.muted {
  color: var(--muted);
}

.muted-2 {
  color: var(--muted-2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms ease, background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--brand-2);
}

.btn--dark {
  background: #0b1220;
  color: #ffffff;
}

.btn--dark:hover {
  background: #000000;
}

.btn--secondary {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border);
}

.btn--secondary:hover {
  background: #f3f4f7;
}

.btn--ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.link {
  color: inherit;
  text-decoration: none;
  opacity: 0.92;
  transition: opacity 140ms ease;
}

.link:hover {
  opacity: 1;
}

/* Simple grids */
.grid {
  display: grid;
  gap: 18px;
}

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

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

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

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.pagination__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination__pages {
  font-weight: 700;
}

@media (max-width: 1024px) {
  :root { --header-h: 88px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .section__title { font-size: 30px; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .site-brand img { height: 46px; }

  .page-hero__inner { padding: 62px 0 48px; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__aside { justify-items: start; }
  .page-hero__note { text-align: left; }
  .page-hero__title { font-size: 34px; }
}

/* Footer */
.site-footer {
  background: #000000;
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__inner {
  padding: 54px 0 34px;
  display: grid;
  gap: 26px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.site-footer__brand {
  max-width: 720px;
}

.site-footer__logo {
  height: 42px;
  width: auto;
}

.site-footer__blurb {
  margin-top: 12px;
  max-width: 62ch;
}

.site-footer__cta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer__top .site-footer__cta {
  margin-top: 0;
  justify-content: flex-end;
}

.site-footer__title {
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 12px;
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.site-footer__fineprint {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}

.site-footer__grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-footer__muted {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 140ms ease, text-decoration-color 140ms ease;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: none;
}

.site-footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.site-footer__list a::after {
  content: "→";
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.site-footer__list a:hover::after {
  opacity: 0.85;
  transform: translateX(0);
}

.site-footer__bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 900px) {
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__top .site-footer__cta { justify-content: flex-start; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__inner { padding: 44px 0 28px; }
}

@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* Forms */
.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form__body {
  padding: 22px;
}

.field {
  margin-top: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.input, .select, .textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
}

.textarea { resize: vertical; }

.notice {
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: #f7f8fb;
  color: var(--text);
}

.notice--success {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.10);
}

.notice--error {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.10);
}

/* Toasts (top-right alerts) */
.toast-stack {
  position: fixed;
  top: calc(var(--header-h) + 14px);
  right: 14px;
  z-index: 999;
  width: min(420px, calc(100vw - 28px));
  display: grid;
  gap: 10px;
  pointer-events: none;
}

@media (max-width: 900px) {
  .toast-stack {
    top: calc(var(--header-h) + 10px);
    right: 10px;
    width: min(420px, calc(100vw - 20px));
  }
}

.toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(12, 14, 20, 0.92);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  transform: translateY(-8px);
  opacity: 0;
  animation: toast-in 180ms ease forwards;
}

.toast.is-leaving {
  animation: toast-out 160ms ease forwards;
}

.toast__title {
  margin: 0;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.toast__msg {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
}

.toast__close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  width: 34px;
  height: 34px;
  border-radius: 12px;
  cursor: pointer;
  line-height: 0;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.toast__close:hover {
  background: rgba(255, 255, 255, 0.10);
}

.toast--success {
  border-color: rgba(16, 185, 129, 0.40);
}

.toast--error {
  border-color: rgba(239, 68, 68, 0.45);
}

.toast--info {
  border-color: rgba(59, 130, 246, 0.45);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-8px); }
}
