/* ==========================================================================
   HGM 2027 brand identity (Brand Identity Guidelines V01, 18.11.26)
   Loaded last so it re-maps the site's design tokens. Remove the <link> in
   includes/header.php to go back to the previous look.

   Fonts   : Helvetica (primary, English)  ·  Noto Serif (secondary)
   Primary : HGM Blue #0056BB · Genomics Blue #2196F3 · Genome Light #8BD7FF · Deep Navy #0B1F3B
   Secondary (reserved for highlights): Bio Teal #00B3A4 · Science Purple #7B5BF7 · Innovation Lilac #C49CFF · Accent Gold #FFC857
   ========================================================================== */
:root {
  --hgm-blue: #0056BB;
  --hgm-blue-d: #00418F;
  --genomics-blue: #2196F3;
  --genome-light: #8BD7FF;
  --deep-navy: #0B1F3B;
  --bio-teal: #00B3A4;
  --science-purple: #7B5BF7;
  --innovation-lilac: #C49CFF;
  --accent-gold: #FFC857;

  /* Site tokens re-mapped to the brand palette */
  --bg: #F3F6FA;
  --bg2: #E8EEF5;
  --ink: var(--deep-navy);
  --muted: #4D5D75;
  --faint: #7D8BA1;
  --line: #D8E0EA;
  --panel: #FFFFFF;
  --indigo: var(--hgm-blue);
  --indigo-d: var(--hgm-blue-d);
  --lime: var(--genome-light);        /* accent on dark backgrounds */
  --dark-text: #E6EDF6;
  --dark-muted: #9FB2CC;

  /* Typefaces */
  --display: Helvetica, "Helvetica Neue", Arial, "Liberation Sans", sans-serif;
  --sans: Helvetica, "Helvetica Neue", Arial, "Liberation Sans", sans-serif;
  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
}

/* Helvetica headlines: bold, slightly tighter */
h1, h2, h3, .section-title, .brand-name { font-family: var(--display); }
.hero h1, .register h2, .inner-banner h1 { letter-spacing: -0.02em; }

/* Noto Serif for lead / editorial paragraphs */
.hero-lead, .inner-banner-lead, .section-intro, .abstracts-intro, .contact-intro, .abs-lead, .venue-body > p, .register p {
  font-family: var(--serif);
  font-size: 0.96em;
  line-height: 1.65;
}
.inner-banner-lead, .hero-lead, .abs-lead { font-size: clamp(15px, 1.5vw, 18px); }

/* Greys used on dark sections: tinted toward Deep Navy */
.venue-body > p, .register p, .inner-banner-lead, .rate-card p, .abstracts-band .abstracts-intro { color: #B4C4D9; }
.sponsor span { color: #A9BBD2; }
.footer-heading { color: #6F87A8; }
.footer-links a { color: #9FB2CC; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top-color: rgba(255,255,255,0.12); }

/* Navy overlays instead of neutral black */
.inner-banner { --banner-overlay: linear-gradient(90deg, rgba(11,31,59,.95) 0%, rgba(11,31,59,.78) 55%, rgba(11,31,59,.5) 100%); }
.speaker-dialog::backdrop { background: rgba(11,31,59,.72); }
.abstracts-band { background-image: linear-gradient(90deg, rgba(11,31,59,.97) 0%, rgba(11,31,59,.9) 55%, rgba(11,31,59,.76) 100%), url('../assets/hero-dna.jpg'); }
.abstracts-band .date-cell { background: rgba(11,31,59,.6); }
.topics { background-image: linear-gradient(270deg, rgba(11,31,59,.97) 0%, rgba(11,31,59,.9) 55%, rgba(11,31,59,.76) 100%), url('../assets/hero-dna.jpg'); }
.topics .topic { background: rgba(11,31,59,.6); }

/* Buttons and accents */
.btn-indigo:hover { background: var(--hgm-blue-d); }
.hero-kicker::before { background: var(--hgm-blue); }
.register-actions a:first-child { background: var(--genome-light); color: var(--deep-navy); }
.nav-desktop .nav-cta:hover { background: var(--hgm-blue-d); }

/* Form messages: success uses Bio Teal */
.form-msg.is-ok { color: #00877B; }

/* Abstract page sub-navbar */
.subnav { border-top-color: var(--hgm-blue); }
.subnav-links a.is-current { background: var(--deep-navy); }
.abs-submit { border-top-color: var(--genome-light); }

/* Speaker biosketch paragraphs */
.dialog-field[data-field="bio"] p { white-space: pre-line; }

/* Helvetica is wider than the previous font: keep the header name on two lines */
.brand-name { max-width: none; }
.brand-name { display: block; }
@media (min-width: 620px) { .brand-name { width: 9.6em; } }
