/* ============================================================
   REIGNING CHOMP - shared site styles
   "Keep Your Dog Fighting Fit"
   ============================================================ */

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

:root {
  /* ===== Logo-matched palette: black, distressed gold, bone ===== */
  --black: #0c0c0c;
  --char: #14120c;       /* warm charcoal banding */
  --card: #19160f;       /* card surface */
  --card-2: #211c12;     /* lifted card / inputs */
  --card-line: rgba(201,162,74,0.18);
  --bone: #F2ECDD;       /* primary text */
  --gold: #C9A24A;       /* the logo gold */
  --gold-bright: #E6C56A;
  --gold-deep: #8c6c27;

  /* legacy names kept so the tweak bridge + old refs still resolve */
  --chomp-orange: #FF6B35;
  --forest-green: #2D5016;
  --golden-yellow: #FFB800;
  --deep-navy: #1A1A2E;
  --warm-cream: #F2ECDD;
  --cream-deep: var(--char);
  --navy-soft: #1b1810;
  --green-soft: #2a2415;

  /* Accent is swappable via the Tweaks bridge */
  --accent: var(--gold);
  --accent-ink: #16120a;   /* dark text that sits on the gold accent */

  --ink: var(--bone);
  --ink-soft: rgba(242,236,221,0.6);
  --bg: var(--black);

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 2px 6px rgba(0,0,0,0.4), 0 18px 44px rgba(0,0,0,0.5);
  --shadow-card-hover: 0 8px 18px rgba(0,0,0,0.5), 0 30px 64px rgba(0,0,0,0.66);

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  margin: 0;
  color: var(--bone);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
/* Big display headlines echo the logo: uppercase grotesque black */
h1, h2 { text-transform: uppercase; letter-spacing: -0.005em; font-weight: 900; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 20px rgba(201,162,74,0.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(201,162,74,0.4); }
.btn--ghost {
  background: transparent;
  color: var(--bone);
  border-color: rgba(201,162,74,0.4);
}
.btn--ghost:hover { border-color: var(--gold); background: rgba(201,162,74,0.08); color: var(--gold-bright); }
.btn--on-dark { background: var(--accent); color: var(--accent-ink); }
.btn--on-dark.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn--on-dark.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn .arr { transition: transform .18s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--gold);
  color: #14110a;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 16px;
  letter-spacing: 0.01em;
}
.announce b { color: #14110a; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.brand-logo-frame { display:block; position:relative; width:100px; height:100px; overflow:hidden; flex:none; }
.brand-logo { position:absolute; top:0; left:0; width:100px; height:100px; display:block; }
.brand-logo-frame::before,
.brand-logo-frame::after { content:""; position:absolute; z-index:1; background:#000; }
.brand-logo-frame::before { top:0; left:56px; width:29px; height:23px; clip-path:polygon(0 0,100% 0,100% 100%,18% 100%,18% 65%,0 65%); }
.brand-logo-frame::after { bottom:0; left:46px; width:30px; height:24px; clip-path:polygon(25% 0,100% 0,100% 100%,0 100%,0 20%); }
.foot-logo { display:inline-block; background:transparent; border-radius:14px; padding:0; margin-bottom:18px; }
.foot-logo img { width:150px; height:150px; display:block; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--forest-green);
  display: grid; place-items: center;
  flex: none;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.08);
  position: relative;
}
.brand .mark .mono {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color:#fff; letter-spacing: -0.04em; line-height:1;
}
.brand .word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--forest-green);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.brand .word small { display:block; font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-top: 3px; line-height: 1; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-weight: 600; font-size: 15px; color: var(--warm-cream);
  position: relative; padding: 6px 0;
}
.nav a::after {
  content:''; position:absolute; left:0; right:100%; bottom:0; height:2px;
  background: var(--accent); transition: right .22s var(--ease);
}
.nav a[aria-current="page"]::after { right: 0; }
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); }

.header-cta { display:flex; align-items:center; gap:14px; }
.header-cta .btn { padding: 11px 20px; font-size: 15px; }

.burger { display:none; background:none; border:none; cursor:pointer; padding:8px; }
.burger span { display:block; width:24px; height:2.5px; background:var(--warm-cream); border-radius:2px; margin:5px 0; transition: .2s var(--ease); }

/* mobile nav drawer */
.mnav { background: #000; border-bottom: 1px solid rgba(255,255,255,0.12); }
.mnav .wrap { display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; height:auto; gap:0; padding-top:8px; padding-bottom:18px; }
.mnav a { font-family: var(--font-display); font-weight:600; font-size:19px; color:var(--warm-cream); padding:11px 0; border-bottom:1px solid rgba(255,255,255,0.1); }
.burger.is-open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity:0; }
.burger.is-open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

/* footer signup */
.foot-sign { display:flex; gap:8px; flex-wrap:wrap; }
.foot-sign input {
  flex:1 1 140px; min-width:0; padding:11px 14px; border-radius:999px;
  border:1px solid rgba(255,255,255,0.2); background:rgba(255,255,255,0.08);
  color:#fff; font-family:var(--font-body); font-size:14px;
}
.foot-sign input::placeholder { color:rgba(255,255,255,0.45); }
.foot-sign input:focus { outline:none; border-color:var(--accent); background:rgba(255,255,255,0.12); }
.foot-sign .btn { padding:11px 18px; font-size:15px; }
.foot-sign .signup-message { flex-basis:100%; margin:4px 0 0; font-size:14px; line-height:1.5; }
.foot-sign .signup-privacy { flex-basis:100%; margin:4px 0 0; font-size:13px; }
.foot-sign .signup-privacy a { display:inline; font-size:inherit; padding:0; color:var(--gold); text-decoration:underline; }

/* ---------- Accent swap (Tweaks bridge sets data-accent on <html>) ---------- */
[data-accent="orange"] { --accent: var(--gold); --accent-ink:#16120a; }
[data-accent="golden"] { --accent: var(--gold-bright); --accent-ink: #16120a; }
[data-accent="forest"] { --accent: #BE5A2E; --accent-ink:#fff; }
[data-accent="golden"] .btn--primary { box-shadow: 0 8px 20px rgba(230,197,106,0.32); }
[data-accent="golden"] .btn--primary:hover { box-shadow: 0 12px 28px rgba(230,197,106,0.44); }
[data-accent="forest"] .btn--primary { box-shadow: 0 8px 20px rgba(190,90,46,0.34); }

/* ---------- Placeholder imagery ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(201,162,74,0.06) 0 14px, rgba(201,162,74,0.012) 14px 28px),
    linear-gradient(135deg, #1b1811, #110f0a);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--gold);
}
.ph::after {
  content: '';
  position: absolute; inset: 12px;
  border: 1.5px dashed rgba(201,162,74,0.32);
  border-radius: 8px;
  pointer-events: none;
}
.ph .ph-label {
  position: relative;
  font-family: 'Inter', monospace;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242,236,221,0.72);
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  border-radius: 6px;
  text-align: center;
  max-width: 80%;
  line-height: 1.45;
}
.ph .ph-label b { display:block; color: var(--gold); font-weight:700; font-size: 10px; margin-bottom: 2px; }
.ph--dark {
  background:
    repeating-linear-gradient(135deg, rgba(201,162,74,0.07) 0 14px, rgba(201,162,74,0.012) 14px 28px),
    linear-gradient(135deg, #16140d, #0c0b07);
}
.ph--dark::after { border-color: rgba(201,162,74,0.3); }
.ph--dark .ph-label { color: rgba(242,236,221,0.8); background: rgba(0,0,0,0.45); }
.ph--dark .ph-label b { color: var(--gold-bright); }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--cream-deep { background: var(--cream-deep); }
.section-head { max-width: 640px; margin: 0 0 44px; }
.section-head.center { margin-left:auto; margin-right:auto; text-align:center; }
.section-title { font-size: clamp(30px, 4.6vw, 50px); }
.section-sub { margin-top: 16px; font-size: 18px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: rgba(242,236,221,0.66); padding: 64px 0 28px; border-top: 1px solid rgba(201,162,74,0.22); }
.site-footer h4 { color: var(--gold); font-size: 16px; font-family: var(--font-body); font-weight:700; letter-spacing:0.02em; margin-bottom: 16px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid a { display:block; color: rgba(242,236,221,0.66); padding: 5px 0; font-size: 15px; transition: color .15s; }
.footer-grid a:hover { color: var(--gold-bright); }
.foot-brand .word { color: var(--bone); font-family: var(--font-display); font-weight:700; font-size: 22px; }
.foot-brand p { margin-top: 12px; font-size: 14px; color: rgba(242,236,221,0.5); max-width: 30ch; line-height:1.55; }
.socials { display:flex; gap:12px; margin-top:18px; }
.socials a { width:40px; height:40px; border-radius:10px; background: rgba(201,162,74,0.12); display:grid; place-items:center; padding:0; }
.socials a:hover { background: var(--gold); }
.socials svg { width:19px; height:19px; fill: var(--bone); }
.socials a:hover svg { fill:#14110a; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(201,162,74,0.16); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size: 13px; color: rgba(242,236,221,0.42); }

/* ============================================================
   Responsive - mobile-first reality check
   ============================================================ */
@media (max-width: 1100px) {
  .site-header .nav { display:none; }
  .site-header .burger { display:block; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav { display:none; }
  .header-cta .btn--primary { display:none; }
  .burger { display:block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .header-cta .btn { padding: 10px 16px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
}
