/* 74 Watch — base site styles. Tokens defined in style.css :root. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--watch-gold); color: var(--watch-black); }

.wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-6); }

/* Buttons */
.btn-fill, .btn-outline, .btn-ghost {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .03em;
  padding: 12px 20px; border-radius: 2px; cursor: pointer; border: 1px solid transparent;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn-fill { background: var(--watch-gold); color: var(--watch-black); border-color: var(--watch-gold); }
.btn-fill:hover { background: var(--watch-deep-gold); }
.btn-fill:active { transform: scale(.98); }
.btn-outline { background: transparent; color: var(--watch-gold); border-color: var(--watch-gold); }
.btn-outline:hover { background: rgba(255,199,44,.08); }
.btn-outline:active { transform: scale(.98); }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,6,6,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--watch-border);
}
.site-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.site-nav .mark { font-family: var(--font-mono); font-weight: 700; font-size: 18px; color: var(--watch-white); }
.site-nav .mark span { color: var(--watch-gold); }
.site-nav .links { display: flex; gap: 26px; }
.site-nav .links a {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .03em; color: var(--watch-muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.site-nav .links a:hover, .site-nav .links a.active { color: var(--watch-white); }
.site-nav .links a.active { border-bottom: 2px solid var(--watch-gold); padding-bottom: 6px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--watch-border); color: var(--watch-white); width: 42px; height: 42px; border-radius: 2px; }

/* Hero */
.hero { position: relative; padding: 100px 0 80px; overflow: hidden; isolation: isolate; }
#hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .8; }
.hero-inner { position: relative; max-width: 640px; }
.kicker {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--watch-gold); margin-bottom: var(--space-5); display: flex; align-items: center; gap: var(--space-2);
}
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--watch-gold); box-shadow: 0 0 12px var(--watch-gold); animation: pulse-dot 2.2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.12; margin: 0; color: var(--watch-white); }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--watch-gold); }
.hero .sub { font-family: var(--font-sans); font-size: 17px; line-height: 1.7; color: var(--watch-muted); max-width: 520px; margin: var(--space-5) 0; }
.hero .actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-6); }

/* Stats band */
.stats-band { background: var(--watch-charcoal); border-top: 1px solid var(--watch-border); border-bottom: 1px solid var(--watch-border); padding: var(--space-6) 0; }
.stats-grid { display: flex; align-items: center; gap: var(--space-8); flex-wrap: wrap; }
.stat .v { font-family: var(--font-mono); font-weight: 700; font-size: 32px; color: var(--watch-white); }
.stat.danger .v { color: var(--watch-red); }
.stat.success .v { color: var(--watch-green); }
.stat .l { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--watch-muted); margin-top: var(--space-1); }

/* Section header */
.sec { padding: var(--space-8) 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-5); flex-wrap: wrap; gap: var(--space-3); }
.sec-head .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--watch-muted); }
.sec-head .view-all { font-family: var(--font-mono); font-size: 12px; color: var(--watch-gold); }

/* Featured matters */
.matters-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--watch-border); border: 1px solid var(--watch-border); }
.matter-card { background: var(--watch-charcoal); padding: var(--space-6); transition: transform var(--dur-base) var(--ease-out); }
.matter-card:hover { transform: translateY(-4px); }
.matter-card .mid { font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: var(--watch-gold); }
.matter-card h3 { font-family: var(--font-sans); font-weight: 700; font-size: 18px; margin: var(--space-3) 0; color: var(--watch-white); }
.matter-card .meta { font-size: 12px; color: var(--watch-muted); margin-bottom: var(--space-4); }

.badge { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; border: 1px solid; }
.badge.gold { background: rgba(255,199,44,.12); color: var(--watch-gold); border-color: rgba(255,199,44,.4); }
.badge.danger { background: rgba(225,59,47,.12); color: var(--watch-red); border-color: rgba(225,59,47,.4); }
.badge.success { background: rgba(79,174,82,.12); color: var(--watch-green); border-color: rgba(79,174,82,.4); }

/* Empty state */
.empty-state { padding: var(--space-8) 0; text-align: center; color: var(--watch-muted); font-family: var(--font-mono); font-size: 13px; }

/* Footer */
.site-footer { border-top: 1px solid var(--watch-border); padding: var(--space-6) 0; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--space-5); flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; color: var(--watch-muted); }
.site-footer .flinks { display: flex; gap: var(--space-5); }
.site-footer .flinks a:hover { color: var(--watch-white); }

/* Matter (single investigation) */
.matter-header { padding: var(--space-8) 0 var(--space-5); }
.matter-header h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; color: var(--watch-white); margin: var(--space-3) 0 var(--space-4); }
.matter-meta { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.matter-meta .mi { font-family: var(--font-mono); font-size: 12px; color: var(--watch-muted); }
.matter-meta .mi-l { text-transform: uppercase; letter-spacing: .06em; margin-right: var(--space-1); }
.matter-meta a { color: var(--watch-gold); }
.matter-hero { margin-bottom: var(--space-6); }
.matter-hero img { width: 100%; border-radius: 2px; border: 1px solid var(--watch-border); }
.matter-body { padding-bottom: var(--space-8); }
.matter-lede { font-family: var(--font-display); font-size: 19px; line-height: 1.7; color: var(--watch-muted); max-width: 720px; margin-bottom: var(--space-7); }

.matter-findings { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); margin-bottom: var(--space-8); }
.finding-card { border: 1px solid var(--watch-border); border-left: 3px solid var(--watch-border); padding: var(--space-5); background: var(--watch-charcoal); }
.finding-card.success { border-left-color: var(--watch-green); }
.finding-card.gold { border-left-color: var(--watch-gold); }
.fc-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--watch-muted); margin-bottom: var(--space-3); }
.fc-body { font-size: 15px; line-height: 1.7; color: var(--watch-white); }

.matter-section { margin-bottom: var(--space-8); }
.ms-title { font-family: var(--font-sans); font-weight: 700; font-size: 20px; color: var(--watch-white); margin-bottom: var(--space-5); }
.ms-body { font-size: 15px; line-height: 1.75; color: var(--watch-muted); }

.chronology-list { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--watch-border); }
.chronology-item { display: grid; grid-template-columns: 110px 1fr; gap: var(--space-5); padding: var(--space-4) 0 var(--space-4) var(--space-5); margin-left: -1px; border-left: 2px solid transparent; }
.chronology-item:hover { border-left-color: var(--watch-gold); }
.ci-date { font-family: var(--font-mono); font-size: 12px; color: var(--watch-gold); }
.ci-body a { color: var(--watch-white); }
.ci-source { font-size: 12px; color: var(--watch-muted); margin-top: var(--space-1); }

.claims-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--watch-border); border: 1px solid var(--watch-border); }
.claim-item { background: var(--watch-charcoal); padding: var(--space-4) var(--space-5); }
.cl-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.cl-top a { color: var(--watch-white); }

.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.rg-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--watch-muted); margin-bottom: var(--space-3); }
.related-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.related-grid a { color: var(--watch-gold); font-size: 13px; }

/* Mission / Principles */
.mission-statement { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.25; color: var(--watch-white); max-width: 780px; margin: 0 0 var(--space-7); }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.principle-card { border: 1px solid var(--watch-border); padding: var(--space-6); background: var(--watch-charcoal); transition: border-color var(--dur-base) var(--ease-out); }
.principle-card:hover { border-color: rgba(255,199,44,.3); }
.pc-index { font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--watch-gold); margin-bottom: var(--space-3); }
.principle-card h3 { font-family: var(--font-sans); font-weight: 700; font-size: 17px; color: var(--watch-white); margin: 0 0 var(--space-3); }
.principle-card p { font-size: 14px; line-height: 1.65; color: var(--watch-muted); margin: 0; }

/* Methodology preview */
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--watch-border); border: 1px solid var(--watch-border); }
.method-step { background: var(--watch-charcoal); padding: var(--space-6); }
.ms-num { font-family: var(--font-display); font-style: italic; font-size: 28px; color: var(--watch-deep-gold); }
.method-step h3 { font-family: var(--font-sans); font-weight: 700; font-size: 16px; color: var(--watch-white); margin: var(--space-4) 0 var(--space-2); }
.method-step p { font-size: 13px; line-height: 1.65; color: var(--watch-muted); margin: 0; }

/* Sister-initiative CTA */
.sister-card { border: 1px solid var(--watch-border); padding: var(--space-8); background: var(--watch-charcoal); text-align: left; }
.sister-card .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--watch-gold); }
.sister-card h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--watch-white); margin: var(--space-3) 0 var(--space-4); max-width: 700px; }
.sister-card p { font-size: 15px; line-height: 1.7; color: var(--watch-muted); max-width: 640px; margin: 0 0 var(--space-6); }

/* Standalone static pages */
.page-header { padding: var(--space-8) 0 var(--space-5); max-width: 780px; }
.page-header h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); color: var(--watch-white); margin: var(--space-3) 0; }
.page-content { padding-bottom: var(--space-8); }
.page-content .wrap { max-width: 780px; }
.page-content h2 { font-family: var(--font-sans); font-weight: 700; font-size: 22px; color: var(--watch-white); margin: var(--space-7) 0 var(--space-4); }
.page-content h3 { font-family: var(--font-sans); font-weight: 700; font-size: 17px; color: var(--watch-white); margin: var(--space-5) 0 var(--space-3); }
.page-content p { font-size: 15px; line-height: 1.75; color: var(--watch-muted); margin: 0 0 var(--space-4); }
.page-content ul, .page-content ol { color: var(--watch-muted); font-size: 15px; line-height: 1.75; padding-left: var(--space-5); }
.page-content li { margin-bottom: var(--space-2); }
.page-content strong { color: var(--watch-white); }
.definition-list { display: grid; gap: var(--space-3); margin: var(--space-5) 0; }
.definition-item { border-left: 2px solid var(--watch-border); padding: var(--space-2) 0 var(--space-2) var(--space-4); }
.definition-item .term { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--watch-gold); }
.definition-item .def { font-size: 14px; color: var(--watch-muted); margin-top: var(--space-1); }

/* Archive */
.archive-header { padding: var(--space-8) 0 var(--space-5); max-width: 720px; }
.archive-header h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); color: var(--watch-white); margin: var(--space-3) 0; }
.archive-header h1 em { font-style: italic; color: var(--watch-gold); }
.archive-header .sub { color: var(--watch-muted); font-size: 16px; line-height: 1.7; }
.archive-grid.matters-grid { grid-template-columns: repeat(3, 1fr); }

.pagination { display: flex; gap: var(--space-3); margin-top: var(--space-7); font-family: var(--font-mono); font-size: 12px; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--watch-border); color: var(--watch-muted); }
.pagination .current { color: var(--watch-gold); border-color: var(--watch-gold); }
.pagination a:hover { color: var(--watch-white); border-color: var(--watch-white); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .site-nav .links, .site-nav .actions { display: none; }
  .nav-toggle { display: block; }
  .matters-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: var(--space-6); }
  .matter-findings, .related-grid { grid-template-columns: 1fr; }
  .chronology-item { grid-template-columns: 1fr; gap: var(--space-1); }
  .principles-grid, .method-grid { grid-template-columns: 1fr; }
  .archive-grid.matters-grid { grid-template-columns: 1fr; }
}
