/* ============================================
   RED FROGS USA · FIELD KIT PORTAL
   Shared styles — brand tokens, type, components
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* ----- Gotham Rounded (licensed · H&Co) ----- */
@font-face {
  font-family: 'Gotham Rounded';
  src: url('../assets/fonts/GothamRnd-Light.otf') format('opentype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gotham Rounded';
  src: url('../assets/fonts/GothamRnd-LightIta.otf') format('opentype');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Gotham Rounded';
  src: url('../assets/fonts/GothamRnd-Book.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gotham Rounded';
  src: url('../assets/fonts/GothamRnd-BookIta.otf') format('opentype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Gotham Rounded';
  src: url('../assets/fonts/GothamRnd-Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gotham Rounded';
  src: url('../assets/fonts/GothamRnd-MedIta.otf') format('opentype');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Gotham Rounded';
  src: url('../assets/fonts/GothamRnd-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gotham Rounded';
  src: url('../assets/fonts/GothamRnd-BoldIta.otf') format('opentype');
  font-weight: 700; font-style: italic; font-display: swap;
}

:root {
  /* ----- Palette (from brand book) ----- */
  --red: #DD0C29;          /* PMS 185 C — primary */
  --red-ink: #B00820;      /* darker hover */
  --maroon: #730032;       /* PMS 7420 C — deep */
  --blue: #00B5C4;         /* PMS 311 C */
  --pink: #EE7BAA;         /* PMS 204 C */
  --green: #46AE4E;        /* PMS 7737 C */
  --black: #0B0B0B;        /* not pure black */
  --ink: #0B0B0B;
  --white: #FFFFFF;
  --bone: #FAF6EF;         /* warm off-white surface */
  --sand: #F1ECE1;         /* secondary surface */
  --line: #E4DECE;         /* hairline border */
  --muted: #6F6A62;        /* secondary text */

  /* ----- Type (Gotham Rounded for everything) ----- */
  --font-display: 'Gotham Rounded', 'Mulish', system-ui, sans-serif;
  --font-body: 'Gotham Rounded', 'Mulish', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 0px;
  --radius-lg: 2px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }

.mono { font-family: var(--font-mono); }

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  background: var(--ink);
  color: var(--white);
  padding: 10px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.topbar-status { display: flex; align-items: center; gap: 8px; }
.topbar-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: 0.45; } }
.topbar-session { opacity: 0.7; }

/* ============================================
   HEADER
   ============================================ */
header.site {
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--ink);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
}
.brand img.logo {
  height: 56px;
  width: auto;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid var(--line);
  text-transform: uppercase;
}
.mobile-menu-btn {
  display: none;
}
nav.primary {
  display: flex; gap: 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
}
nav.primary a { position: relative; padding: 4px 0; }
nav.primary a.current { color: var(--red); }
nav.primary a:hover::after,
nav.primary a.current::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--red);
}
.cart-btn {
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  gap: 10px; align-items: center;
  transition: background 0.15s, transform 0.15s;
}
.cart-btn:hover { background: var(--red); transform: translateY(-1px); }
.cart-count {
  background: var(--red);
  color: var(--white);
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px;
  font-family: var(--font-mono);
  transition: transform 0.3s cubic-bezier(.4,1.6,.6,1);
}
.cart-btn:hover .cart-count { background: var(--white); color: var(--red); }
.cart-count.bump { transform: scale(1.4); }

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  background: var(--red);
  color: var(--white);
  padding: 13px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.marquee-track { display: inline-block; animation: slide 32s linear infinite; }
.marquee-track span { margin: 0 22px; }
.marquee-track .dot { opacity: 0.5; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   FROG WINDOW SVG MASK
   ============================================ */
.frog-window {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.frog-window .inner {
  width: 100%;
  height: 100%;
  /* frog-shape clip approximated from brand book */
  -webkit-clip-path: path('M200,20 C260,20 300,60 305,130 C310,180 285,210 285,250 C300,260 320,280 320,320 C320,380 270,410 200,410 C130,410 80,380 80,320 C80,280 100,260 115,250 C115,210 90,180 95,130 C100,60 140,20 200,20 Z');
          clip-path: path('M200,20 C260,20 300,60 305,130 C310,180 285,210 285,250 C300,260 320,280 320,320 C320,380 270,410 200,410 C130,410 80,380 80,320 C80,280 100,260 115,250 C115,210 90,180 95,130 C100,60 140,20 200,20 Z');
  background-size: cover;
  background-position: center;
}

/* ============================================
   RADIAL RIPPLE PATTERN
   ============================================ */
.radial-bg {
  background-image:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 14px, rgba(255,255,255,0.08) 14px 16px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.15s, transform 0.15s, color 0.15s, border-color 0.15s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-ink); transform: translateY(-1px); }
.btn-primary:disabled { background: var(--sand); color: var(--muted); cursor: not-allowed; transform: none; }

.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: var(--red); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }

.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover { background: var(--red-ink); transform: translateY(-1px); }

.btn-light {
  background: var(--bone);
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-light:hover { background: var(--ink); color: var(--white); }

.btn .arrow { transition: transform 0.2s; }
.btn:hover:not(:disabled) .arrow { transform: translateX(4px); }

/* ============================================
   SECTION LABEL
   ============================================ */
.section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid var(--ink);
  gap: 16px;
  flex-wrap: wrap;
}
.section-label h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1;
}
.section-label .tools {
  display: flex; gap: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-label .tools .active { color: var(--ink); }

/* ============================================
   CARDS
   ============================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1.5px solid var(--ink);
}
.card {
  background: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transition: background 0.25s ease;
  cursor: pointer;
  position: relative;
}
.grid .card:nth-child(3n) { border-right: none; }
.grid .card:nth-last-child(-n+3) { border-bottom: none; }
.card:hover { background: var(--bone); }

.card-visual {
  aspect-ratio: 4 / 3;
  background: var(--sand);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.card:hover .card-visual { background: var(--white); outline: 1.5px solid var(--ink); outline-offset: -1.5px; }
.card-visual svg.product-icon {
  width: 46%; height: 46%;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  transition: transform 0.4s ease;
}
.card:hover .card-visual svg.product-icon { transform: scale(1.07) rotate(-2deg); }
.card-num {
  position: absolute;
  top: 10px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.card-tag {
  position: absolute;
  top: 10px; right: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.12em;
  background: var(--ink);
  color: var(--white);
  padding: 4px 8px;
  text-transform: uppercase;
}
.card-tag.tag-new { background: var(--red); }
.card-tag.tag-mto { background: var(--maroon); }

.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}
.card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.card-price {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.card-price .unit {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.card-cta {
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
}
.card-cta .arrow { transition: transform 0.2s; display: inline-block; }
.card:hover .card-cta .arrow { transform: translateX(4px); }

/* Category pill on card */
.cat-pill {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid currentColor;
  display: inline-block;
  align-self: flex-start;
}
.cat-apparel { color: var(--blue); }
.cat-equipment { color: var(--pink); }
.cat-signage { color: var(--green); }

/* ============================================
   EYEBROW
   ============================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--red);
}

/* ============================================
   FOOTER
   ============================================ */
.contact-band {
  padding: 56px 32px;
  background: var(--bone);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.contact-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 48px; align-items: center;
}
.contact-band h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}
.contact-band h3 .red { color: var(--red); }
.contact-cta { text-align: right; }
.contact-email {
  display: block; margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.04em;
}

footer.site {
  padding: 36px 32px;
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
footer.site img.logo { height: 60px; width: auto; }
footer.site .foot-meta {
  display: flex; gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0.75;
  flex-wrap: wrap;
}
footer.site .foot-nav {
  display: flex; gap: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
footer.site .foot-nav a:hover { color: var(--red); }

/* ============================================
   FLASH TOAST
   ============================================ */
.flash {
  position: fixed;
  top: 82px;
  right: 32px;
  background: var(--ink);
  color: var(--white);
  padding: 14px 20px;
  border-left: 3px solid var(--red);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 200;
  transform: translateX(140%);
  transition: transform 0.4s cubic-bezier(.2,.9,.3,1);
  max-width: 340px;
}
.flash.show { transform: translateX(0); }
.flash strong { color: var(--red); margin-right: 10px; }

/* ============================================
   FORM CONTROLS
   ============================================ */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--ink);
  padding: 12px 14px;
  border-radius: 0;
  outline: none;
  transition: background 0.15s, border-color 0.15s;
  width: 100%;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  background: var(--bone);
  border-color: var(--red);
}
.field textarea { resize: vertical; min-height: 80px; font-family: var(--font-body); }
.field input[type="date"] { font-family: var(--font-mono); letter-spacing: 0.04em; }
.field .help {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
  }
  .mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    transition: transform 0.3s, opacity 0.3s;
    position: relative;
  }
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
  }
  
  nav.primary {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1.5px solid var(--ink);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    box-shadow: none;
  }
  nav.primary.active {
    max-height: 300px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  nav.primary a {
    padding: 18px 32px;
    border-bottom: 1px solid var(--line);
  }
  nav.primary a:last-child {
    border-bottom: none;
  }
  nav.primary a:hover::after,
  nav.primary a.current::after {
    display: none;
  }
  nav.primary a:hover,
  nav.primary a.current {
    background: var(--bone);
  }
  
  .topbar-session { display: none; }
  .brand-sub { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid .card { border-right: none; border-bottom: 1.5px solid var(--ink); }
  .grid .card:nth-child(2n) { border-right: none; }
  .grid .card:nth-child(odd) { border-right: 1.5px solid var(--ink); }
  .contact-inner { grid-template-columns: 1fr; gap: 24px; }
  .contact-cta { text-align: left; }
  footer.site { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .grid .card { border-right: none !important; }
  header.site, .topbar, .contact-band, footer.site { padding-left: 20px; padding-right: 20px; }
  .flash { right: 12px; left: 12px; max-width: none; }
}
