/*
Theme Name: BootyNet IR (Twenty Twenty-Five Child)
Template: twentytwentyfive
Description: Investor Relations child theme for BootyNet, Inc., built on Twenty Twenty-Five.
Author: BootyNet Communications
Version: 1.0.0
Text Domain: bootynet-ir
*/

/* All rules are scoped under .bootynet-ir so they never leak into
   the parent theme's global styles, admin bar, or other pages/blocks. */

.bootynet-ir {
  --navy: #0B1E36;
  --navy-light: #16304F;
  --paper: #F7F5F0;
  --paper-dim: #EDEAE1;
  --brass: #9C7A3C;
  --brass-light: #C4A05E;
  --slate: #4A5568;
  --ink: #1A2233;
  --up: #2F6B4F;
  --down: #A13A3A;
  --rule: #D8D3C4;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, 'Segoe UI', sans-serif;
  --mono: 'Courier New', Courier, monospace;

  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}

.bootynet-ir * { box-sizing: border-box; }
.bootynet-ir a { color: inherit; }

/* ---- Ticker ----
   Deliberately NOT scoped under .bootynet-ir — this lives in its own
   template part (parts/ticker.html), outside the page content wrapper,
   so it needs its own top-level variables and rules to render correctly
   wherever it's placed (header, its own part, or page content). */
:root {
  --bn-navy: #0B1E36;
  --bn-paper: #F7F5F0;
  --bn-brass: #9C7A3C;
  --bn-mono: 'Courier New', Courier, monospace;
}
.ticker-bar {
  background: var(--bn-navy);
  color: var(--bn-paper);
  font-family: var(--bn-mono);
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid var(--bn-brass);
}
.ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: bootynet-scroll-left 38s linear infinite;
}
.ticker-track span { padding: 8px 28px; display: inline-block; }
.tick-up { color: #7FBF9E; }
.tick-down { color: #E29A9A; }
@keyframes bootynet-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; padding-left: 0; }
}

/* ---- Hero ---- */
.bootynet-ir .hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 40px 40px;
  display: grid !important;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  border-bottom: 1px solid var(--rule);
}
.bootynet-ir .eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: bold;
  margin-bottom: 10px;
}
.bootynet-ir h1.hero-title {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 16px;
}
.bootynet-ir .hero-sub {
  color: var(--slate);
  font-size: 15px;
  max-width: 46ch;
  margin-bottom: 22px;
}
.bootynet-ir .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.bootynet-ir .btn {
  display: inline-block;
  padding: 11px 20px;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1px solid var(--navy);
}
.bootynet-ir .btn-primary { background: var(--navy); color: var(--paper); }
.bootynet-ir .btn-primary:hover { background: var(--navy-light); }
.bootynet-ir .btn-secondary { background: transparent; color: var(--navy); }
.bootynet-ir .btn-secondary:hover { background: var(--paper-dim); }

/* Stock snapshot card */
.bootynet-ir .stock-card {
  background: white;
  border: 1px solid var(--rule);
  padding: 24px;
  height: fit-content;
}
.bootynet-ir .stock-card .ticker-symbol {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--slate);
  letter-spacing: 0.05em;
}
.bootynet-ir .stock-price {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--navy);
  margin: 6px 0 4px;
}
.bootynet-ir .stock-delta {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--up);
  margin-bottom: 18px;
}
.bootynet-ir .stock-meta {
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  font-size: 12px;
  color: var(--slate);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}
.bootynet-ir .stock-meta dt { color: var(--slate); }
.bootynet-ir .stock-meta dd { font-family: var(--mono); color: var(--ink); text-align: right; }
.bootynet-ir .stock-meta-row { display: contents; }

/* ---- Section shell ---- */
.bootynet-ir section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 40px;
  border-bottom: 1px solid var(--rule);
}
.bootynet-ir section:last-of-type { border-bottom: none; }
.bootynet-ir .section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 10px;
}
.bootynet-ir h2.section-title {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
}
.bootynet-ir .section-link { font-size: 13px; color: var(--brass); text-decoration: none; border-bottom: 1px solid var(--brass-light); }

/* ---- Letter excerpt ---- */
.bootynet-ir .letter-block {
  display: grid !important;
  grid-template-columns: 220px 1fr;
  gap: 40px;
}
.bootynet-ir .letter-block > .letter-meta,
.bootynet-ir .letter-block > .letter-body {
  flex-basis: auto !important;
  width: auto !important;
}
.bootynet-ir .letter-meta { font-size: 12px; color: var(--slate); }
.bootynet-ir .letter-meta .q-label {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
}
.bootynet-ir .letter-body p {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 16px;
  max-width: 62ch;
}
.bootynet-ir .letter-body p:first-child::first-letter {
  font-size: 46px;
  float: left;
  line-height: 0.8;
  padding: 4px 8px 0 0;
  color: var(--brass);
  font-family: var(--serif);
}
.bootynet-ir .signature-block { margin-top: 20px; font-family: var(--serif); font-style: italic; color: var(--navy); }

/* ---- KPI grid ---- */
.bootynet-ir .kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.bootynet-ir .kpi { background: white; padding: 22px 20px; }
.bootynet-ir .kpi-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 10px;
}
.bootynet-ir .kpi-value { font-family: var(--serif); font-size: 28px; color: var(--navy); }
.bootynet-ir .kpi-delta { font-family: var(--mono); font-size: 12px; margin-top: 6px; }

/* ---- Filings table ---- */
.bootynet-ir table.filings { width: 100%; border-collapse: collapse; font-size: 14px; }
.bootynet-ir table.filings th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  border-bottom: 1px solid var(--navy);
  padding: 0 12px 10px 0;
  font-weight: normal;
}
.bootynet-ir table.filings td {
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.bootynet-ir table.filings tr:last-child td { border-bottom: none; }
.bootynet-ir .filing-title { color: var(--ink); font-weight: bold; font-size: 14px; }
.bootynet-ir .filing-title a { text-decoration: none; }
.bootynet-ir .filing-title a:hover { color: var(--brass); }
.bootynet-ir .filing-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid var(--brass-light);
  padding: 2px 6px;
  margin-left: 8px;
  vertical-align: middle;
}
.bootynet-ir .filing-link { font-size: 12px; color: var(--slate); text-decoration: none; }

/* ---- Governance strip ---- */
.bootynet-ir .gov-grid { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.bootynet-ir .gov-card .name { font-family: var(--serif); font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.bootynet-ir .gov-card .role { font-size: 12px; color: var(--brass); letter-spacing: 0.04em; margin-bottom: 10px; }
.bootynet-ir .gov-card .bio { font-size: 13px; color: var(--slate); }

/* ---- Disclaimer ---- */
.bootynet-ir .disclaimer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px 48px;
  color: var(--slate);
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .bootynet-ir .hero { grid-template-columns: 1fr; }
  .bootynet-ir .letter-block { grid-template-columns: 1fr; }
  .bootynet-ir .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .bootynet-ir .gov-grid { grid-template-columns: 1fr; }
  .bootynet-ir nav.primary { display: none; }
}
