/* ============================================================
   ATTENTION DYNAMICS — Layout Styles
   ============================================================
   Section containers, grid systems, split layouts, and
   page-level structural patterns.
   
   Depends on: tokens.css, base.css
   ============================================================ */


/* --------------------------------------------------------
   1. SECTION BASE
   -------------------------------------------------------- */

section {
  padding: 130px 40px;
  display: flex;
  justify-content: center;
  border-bottom: var(--border-section);
  position: relative;
}


/* --------------------------------------------------------
   2. SPLIT LAYOUT (About section pattern)
   -------------------------------------------------------- */

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}


/* --------------------------------------------------------
   3. EDGE GRID CARDS
   -------------------------------------------------------- */

.edge-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}


/* --------------------------------------------------------
   4. PUBLICATIONS INDEX
   -------------------------------------------------------- */

.publications-index {
  display: flex;
  flex-direction: column;
  gap: 28px;
}


/* --------------------------------------------------------
   5. TELEMETRY LAYOUT (Table + Stats side-by-side)
   -------------------------------------------------------- */

.telemetry-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
}


/* --------------------------------------------------------
   6. STATS GRID (2×2 metric cards)
   -------------------------------------------------------- */

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}


/* --------------------------------------------------------
   7. METRICS TABLE
   -------------------------------------------------------- */

.metrics-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-base);
  text-align: left;
}

.metrics-table th {
  font-family: var(--font-mono);
  color: var(--color-gray-light);
  font-weight: 500;
  padding: 8px 10px;
  border-bottom: var(--border-dashed);
  font-size: var(--text-xs);
  text-transform: uppercase;
}

.metrics-table td {
  padding: 10px;
  border-bottom: var(--border-subtle);
  font-family: var(--font-mono);
}

.metrics-table tr:last-child td {
  border-bottom: none;
}

.metrics-table tbody tr:hover {
  background-color: rgba(229, 231, 235, 0.01);
}

.highlight-row td {
  color: var(--color-cyan);
  font-weight: 600;
  background-color: rgba(0, 194, 255, 0.02);
  border-top: 1px dashed rgba(0, 194, 255, 0.12);
  border-bottom: 1px dashed rgba(0, 194, 255, 0.12);
}

.live-metric {
  color: var(--color-cyan);
}


/* --------------------------------------------------------
   8. HERO SECTION LAYOUT
   -------------------------------------------------------- */

#hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 210px 20px 120px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.03);
}

.hero-container {
  max-width: var(--container-hero);
  z-index: var(--z-content);
}

.hero-brand-display {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-3xl);
}

.hero-lockup-stacked {
  width: 320px;
  height: auto;
  opacity: 0.95;
}

.hero-positioning-tagline {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--color-pure-white);
  margin-bottom: var(--space-lg);
}

#hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: var(--leading-loose);
  color: rgba(156, 163, 175, 0.9);
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}


/* --------------------------------------------------------
   9. SVG DIAGRAM FLOW STYLING
   -------------------------------------------------------- */

.grid-line {
  stroke: rgba(229, 231, 235, 0.02);
}

.path-passive {
  stroke: rgba(229, 231, 235, 0.05);
  stroke-width: 1px;
  fill: none;
}

.path-active-blue {
  stroke: var(--color-blue);
  stroke-width: 1.5px;
  fill: none;
  stroke-dasharray: 12 12;
  stroke-dashoffset: 24;
}

.path-active-cyan {
  stroke: var(--color-cyan);
  stroke-width: 1.5px;
  fill: none;
  stroke-dasharray: 12 12;
  stroke-dashoffset: 24;
}


/* --------------------------------------------------------
   10. RESEARCH PAGE LAYOUTS
   -------------------------------------------------------- */

.research-symbol-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 520px;
  margin: 0 auto var(--space-4xl);
  padding: var(--space-3xl) var(--space-xl);
}

.research-symbol-hero .research-symbol-diagram {
  max-width: 100%;
  height: auto;
}

.research-domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.research-domain-card {
  background-color: rgba(14, 21, 43, 0.18);
  border: var(--border-panel);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition-smooth);
}

.research-domain-card:hover {
  border-color: rgba(0, 102, 255, 0.15);
  background-color: rgba(14, 21, 43, 0.28);
  transform: translateY(-1px);
}

.research-domain-card .domain-id {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-cyan);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  display: block;
}

.research-domain-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  color: var(--color-pure-white);
}

.research-domain-card p {
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--color-gray-light);
}


/* --------------------------------------------------------
   11. MATH FRAMEWORK LAYOUT
   -------------------------------------------------------- */

.math-framework {
  max-width: var(--container-hero);
  margin: 0 auto;
}

.equation-block {
  background-color: rgba(14, 21, 43, 0.15);
  border: var(--border-panel);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-md);
  transition: var(--transition-smooth);
}

.equation-block:hover {
  border-color: rgba(0, 102, 255, 0.12);
  background-color: rgba(14, 21, 43, 0.25);
}

.equation-block:last-child {
  margin-bottom: 0;
}


/* --------------------------------------------------------
   12. CONNECTION PAGE LAYOUTS
   -------------------------------------------------------- */

.inquiry-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.channel-card {
  background-color: rgba(14, 21, 43, 0.18);
  border: var(--border-panel);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: var(--transition-smooth);
}

.channel-card:hover {
  border-color: rgba(0, 102, 255, 0.15);
  background-color: rgba(14, 21, 43, 0.28);
  transform: translateY(-1px);
}

.channel-card .channel-id {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-cyan);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  display: block;
}

.channel-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-pure-white);
}

.channel-card p {
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--color-gray-light);
}

.security-notice {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.security-notice p {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-gray-light);
  opacity: 0.6;
  line-height: 2;
}
