/* ABM TV USA — shared styles */
:root {
  --bg: #faf7f2;          /* warm off-white */
  --bg-soft: #f3ede3;     /* slightly deeper paper */
  --ink: #1a1714;         /* near-black warm */
  --ink-soft: #4a443d;    /* secondary text */
  --line: #e6dfd2;        /* hairline */
  --accent: #c2410c;      /* terracotta/saffron */
  --accent-soft: #f4d8b8;
  --teal: #0f5e5a;        /* deep teal supporting */
}

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
}

.font-display { font-family: 'Bricolage Grotesque', sans-serif; letter-spacing: -0.02em; }
.font-serif   { font-family: 'Newsreader', Georgia, serif; font-style: italic; }
.font-mono    { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* Hairline */
.hairline { border-color: var(--line); }

/* Image placeholder — diagonal stripes, monospace label */
.placeholder {
  position: relative;
  background-color: var(--bg-soft);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 14px,
    rgba(26,23,20,0.04) 14px,
    rgba(26,23,20,0.04) 15px
  );
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.placeholder.has-image {
  background-image: none;
}
.placeholder.has-image::after {
  display: none;
}
.placeholder::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  padding: 16px;
}
.placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tag chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.4);
}
.chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: var(--ink); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Live pulse */
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(194,65,12, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(194,65,12, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(194,65,12, 0); }
  100% { box-shadow: 0 0 0 0 rgba(194,65,12, 0); }
}

/* Nav */
.nav-link {
  position: relative;
  font-size: 14px;
  color: var(--ink);
  padding: 6px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right .3s ease;
}
.nav-link:hover::after, .nav-link.active::after, .nav-link.current-menu-item::after { right: 0; }

/* Section label */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Card hover */
.card-hover { transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.card-hover:hover { transform: translateY(-4px); }

/* Scroll reveal initial states (GSAP will animate) */
.reveal-up { opacity: 0; transform: translateY(30px); }
.reveal-fade { opacity: 0; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); }

/* Hero headline split letters */
.hero-word { display: inline-block; overflow: hidden; }
.hero-word > span { display: inline-block; }

/* Marquee */
.marquee {
  display: flex;
  overflow: hidden;
  gap: 3rem;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 40s linear infinite;
  flex-shrink: 0;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Mobile menu */
.mobile-panel {
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.mobile-panel.open { transform: translateX(0); }

/* Form inputs */
.field {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s ease;
}
.field:focus { border-color: var(--ink); }
.field::placeholder { color: var(--ink-soft); }

textarea.field { resize: vertical; min-height: 120px; }

/* WP core alignment helpers */
.alignwide  { max-width: 1400px; margin-left: auto; margin-right: auto; }
.alignfull  { width: 100%; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft  { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: 6px; }

/* Single content typography */
.entry-content { font-size: 18px; line-height: 1.7; color: var(--ink); }
.entry-content p, .entry-content ul, .entry-content ol, .entry-content blockquote { margin-bottom: 1.4em; }
.entry-content h2 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 300; font-size: 2.4rem; letter-spacing: -0.02em; margin: 2em 0 .8em; }
.entry-content h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 400; font-size: 1.8rem; margin: 1.8em 0 .6em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { border-left: 3px solid var(--accent); padding-left: 1.6rem; font-family: 'Newsreader', Georgia, serif; font-style: italic; font-size: 1.4rem; color: var(--ink-soft); }
.entry-content img { border-radius: 12px; margin: 1.4em 0; }

/* ─── Video / Image Modal ─── */
.abmtv-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(10, 8, 6, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px;
  opacity: 0;
  transition: opacity .3s ease;
}
.abmtv-modal.is-open { display: flex; opacity: 1; }
.abmtv-modal-inner {
  position: relative;
  width: 100%;
  max-width: 1100px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.abmtv-modal-inner iframe,
.abmtv-modal-inner video {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.abmtv-modal-inner img {
  width: 100%; height: 100%;
  object-fit: contain;
  background: #000;
}
.abmtv-modal-close {
  position: absolute;
  top: -52px; right: 0;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s ease;
}
.abmtv-modal-close:hover { background: var(--accent); }
body.abmtv-modal-locked { overflow: hidden; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Selection */
::selection { background: var(--accent); color: white; }


.abmtv-modal-content {
	height: 100%;
}