/* ================================================================
   NAVGAEA CONSULTING INC. — Main Stylesheet
   Theme: Prairie Science
   Last updated: May 2026
   ================================================================ */

/* ----------------------------------------------------------------
   CSS CUSTOM PROPERTIES
   ---------------------------------------------------------------- */
:root {
  /* Colour palette */
  --green:    #2D5A27;
  --gold:     #C8860A;
  --blue:     #2A5F8F;
  --charcoal: #1F2937;
  --linen:    #F9F6F0;
  --amber:    #E8A020;
  --white:    #FFFFFF;
  --grey-mid: #6B7280;
  --grey-light: #E5E7EB;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-stat:    'Oswald', 'Arial Narrow', Arial, sans-serif;

  /* Layout */
  --max-width:    1200px;
  --section-pad:  5rem 1.5rem;
  --radius:       4px;
  --transition:   0.2s ease;
}

/* ----------------------------------------------------------------
   RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--charcoal);
  background-color: var(--linen);
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { font-family: var(--font-body); }

/* ----------------------------------------------------------------
   TYPOGRAPHY
   ---------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--charcoal);
}
h1 { font-size: clamp(2rem,   5vw,   3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw,   1.5rem); }
h4 { font-size: 1rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: block;
  font-family: var(--font-stat);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

/* ----------------------------------------------------------------
   LAYOUT UTILITIES
   ---------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.section { padding: var(--section-pad); }

/* Section backgrounds */
.section--linen    { background: var(--linen); }
.section--white    { background: var(--white); }
.section--green    { background: var(--green); color: var(--white); }
.section--green h2,
.section--green h3 { color: var(--white); }
.section--green .section-label { color: var(--amber); }
.section--charcoal { background: var(--charcoal); color: var(--white); }
.section--charcoal h2,
.section--charcoal h3 { color: var(--white); }

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  text-align: center;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: #9a6608;
  border-color: #9a6608;
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}
.btn--outline-dark {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--outline-dark:hover,
.btn--outline-dark:focus-visible {
  background: var(--green);
  color: var(--white);
}
.btn--sm { padding: 0.55rem 1.25rem; font-size: 0.875rem; }

/* ----------------------------------------------------------------
   SITE HEADER & NAV
   ---------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 200;
  background: rgba(31, 41, 55, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 38px;
  width: 38px;
  flex-shrink: 0;
}
.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 1.91rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

/* Primary nav — desktop */
.nav-primary {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}
.nav-primary > a,
.nav-dropdown > button {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-primary > a:hover,
.nav-dropdown > button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}
.nav-primary > a.active {
  color: var(--amber);
}

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  min-width: 270px;
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 300;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  color: var(--charcoal);
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown-menu a:hover {
  background: var(--linen);
  color: var(--green);
}

/* Sticky CTA — shown via JS once hero scrolls away */
.nav-cta { display: none; flex-shrink: 0; }
.nav-cta.visible { display: block; }

/* Hamburger button — mobile only */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav panel */
.nav-mobile {
  background: var(--charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1.5rem 1.5rem;
  display: none;
  flex-direction: column;
}
.nav-mobile.open { display: flex; }
.nav-mobile > a,
.nav-mobile-services-label {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.7rem 0;
  font-size: 0.975rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: block;
}
.nav-mobile > a:last-of-type { border-bottom: none; }
.nav-mobile > a:hover { color: var(--amber); }
.nav-mobile-services-label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-top: 0.75rem;
  border-bottom: none;
}
.nav-mobile-sub { padding-left: 0.75rem; margin-bottom: 0.25rem; }
.nav-mobile-sub a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-mobile-sub a:last-child { border-bottom: none; }
.nav-mobile-sub a:hover { color: var(--amber); }
.nav-mobile .btn {
  margin-top: 1.25rem;
  width: 100%;
  display: block;
  padding: 0.85rem;
}

/* ----------------------------------------------------------------
   HERO
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px; /* clear fixed nav */
  background-color: var(--green);
  /* Hero image set in index.php via style attribute */
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(31, 41, 55, 0.88) 0%,
    rgba(31, 41, 55, 0.60) 55%,
    rgba(31, 41, 55, 0.28) 100%
  );
}
.hero .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-inline: 0;
  padding-block: 5rem;
}
.hero-credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.hero-badge {
  font-family: var(--font-stat);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(232, 160, 32, 0.14);
  border: 1px solid rgba(232, 160, 32, 0.38);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-subline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ----------------------------------------------------------------
   STATS STRIP
   ---------------------------------------------------------------- */
.stats-strip {
  background: var(--green);
  padding: 2.75rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: var(--max-width);
  margin-inline: auto;
  text-align: center;
}
.stat-item {
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-family: var(--font-stat);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1.1;
}
.stat-label {
  display: block;
  font-size: 0.77rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
  margin-top: 0.35rem;
  line-height: 1.35;
}

/* ----------------------------------------------------------------
   SERVICES SECTION
   ---------------------------------------------------------------- */
.services-intro {
  max-width: 700px;
  margin-bottom: 3rem;
}
.services-intro h2 { margin-bottom: 1rem; }
.services-intro p { color: var(--grey-mid); }

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.service-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--green);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
  scroll-margin-top: 88px; /* 68px fixed nav + 20px breathing room */
}
.service-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}
.service-card h3 {
  font-size: 1.05rem;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--grey-mid);
  flex: 1;
  line-height: 1.65;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--transition);
}
.card-link:hover { gap: 0.5rem; }

/* ----------------------------------------------------------------
   SERVICES PAGE — detail card additions
   ---------------------------------------------------------------- */
.service-card__num {
  display: block;
  font-family: var(--font-stat);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.service-card__deliverables {
  margin: 0.85rem 0 0 0;
  padding: 0;
  list-style: none;
}
.service-card__deliverables li {
  position: relative;
  padding: 0.2rem 0 0.2rem 1rem;
  font-size: 0.82rem;
  color: var(--grey-mid);
  line-height: 1.45;
}
.service-card__deliverables li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ----------------------------------------------------------------
   TRACK RECORD TEASER
   ---------------------------------------------------------------- */
.track-record-teaser {
  background: var(--charcoal);
  padding: 4rem 1.5rem;
}
.track-record-teaser .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.tr-stats {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
}
.tr-stat .stat-number { color: var(--amber); }
.tr-stat .stat-label  { color: rgba(255, 255, 255, 0.68); }
.tr-cta { flex-shrink: 0; }

/* ----------------------------------------------------------------
   INSIGHTS PREVIEW
   ---------------------------------------------------------------- */
.insights-intro { max-width: 640px; margin-bottom: 2.5rem; }
.insights-intro h2 { margin-bottom: 0.5rem; }
.insights-intro p { color: var(--grey-mid); }

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.insight-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--blue);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.insight-card:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.insight-tag {
  display: block;
  font-family: var(--font-stat);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.6rem;
}
.insight-card h3 {
  font-size: 0.975rem;
  line-height: 1.45;
  color: var(--charcoal);
}
.insights-footer {
  margin-top: 2.5rem;
  text-align: center;
}

/* ----------------------------------------------------------------
   INSIGHTS PAGE — extended styles
   ---------------------------------------------------------------- */

/* Filter bar */
.insights-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.insights-filter-label {
  font-family: var(--font-stat);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-right: 0.25rem;
}
.insights-filter-tag {
  display: inline-block;
  font-family: var(--font-stat);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  background: var(--white);
  border: 1px solid currentColor;
}
.insights-filter-tag--reg  { color: var(--green); }
.insights-filter-tag--crop { color: var(--green); }
.insights-filter-tag--com  { color: var(--amber); }

/* Page grid overrides */
.insights-grid--page {
  grid-template-columns: repeat(2, 1fr);
}

/* Featured card — full-width, horizontal layout */
.insight-card--featured {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  border-left-color: var(--amber);
  padding: 2.5rem;
}
.insight-card__body {
  flex: 1 1 0;
  min-width: 0;
}
.insight-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.insight-card__badge {
  font-family: var(--font-stat);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--amber);
  padding: 0.2rem 0.65rem;
  border-radius: 2rem;
}
.insight-card--featured .insight-tag {
  color: var(--amber);
  margin-bottom: 0;
}
.insight-card__cta-col {
  flex-shrink: 0;
}

/* Card title */
.insight-card__title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--charcoal);
  margin-bottom: 0.85rem;
}
.insight-card__title--sm {
  font-size: 1rem;
  line-height: 1.45;
}

/* Excerpt */
.insight-card__excerpt {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--grey-mid);
  margin-bottom: 1rem;
}

/* Meta line (date · read time) */
.insight-card__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--grey-mid);
  margin-bottom: 0;
}
.insight-card__sep { opacity: 0.5; }

/* Inline read link (non-featured cards) */
.insight-card__read-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--font-stat);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green);
  text-decoration: none;
  transition: color var(--transition);
}
.insight-card__read-link:hover { color: var(--green); }

/* Tag colour variants */
.insight-tag--reg  { color: var(--green); }
.insight-tag--crop { color: var(--green); }
.insight-tag--com  { color: var(--amber); }

/* Responsive */
@media (max-width: 900px) {
  .insights-grid--page {
    grid-template-columns: 1fr;
  }
  .insight-card--featured {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

/* ----------------------------------------------------------------
   CTA BANNER
   ---------------------------------------------------------------- */
.cta-banner {
  background: var(--green);
  padding: 5rem 1.5rem;
  text-align: center;
}
.cta-banner h2 {
  color: var(--white);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 1rem;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* ----------------------------------------------------------------
   CONTACT PAGE
   ---------------------------------------------------------------- */

/* Flash messages */
.contact-flash {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.contact-flash svg { flex-shrink: 0; margin-top: 0.1rem; }
.contact-flash p   { margin: 0; }
.contact-flash a   { text-decoration: underline; }
.contact-flash--success {
  background: #edf7ed;
  border: 1px solid #4caf50;
  color: #1b5e20;
}
.contact-flash--error {
  background: #fdecea;
  border: 1px solid #e57373;
  color: #7f1d1d;
}

/* 2-column layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

/* Form column */
.contact-form-col h2 {
  margin-bottom: 0.4rem;
}
.contact-form-intro {
  color: var(--grey-mid);
  font-size: 0.925rem;
  margin-bottom: 2rem;
}

/* Form elements */
.form-group {
  margin-bottom: 1.4rem;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.45rem;
}
.form-required {
  color: var(--amber);
  margin-left: 0.1rem;
}
.form-optional {
  font-weight: 400;
  color: var(--grey-mid);
  font-size: 0.8rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid #d1d5db;
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.12);
}
.form-input--error,
.form-select--error,
.form-textarea--error {
  border-color: #e57373;
  box-shadow: 0 0 0 3px rgba(229, 115, 115, 0.12);
}
.form-input::placeholder,
.form-textarea::placeholder { color: #9ca3af; }
.form-textarea {
  resize: vertical;
  min-height: 140px;
}

/* Select wrapper (custom arrow) */
.form-select-wrap {
  position: relative;
}
.form-select-wrap .form-select {
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-select-icon {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--grey-mid);
}

/* Submit row */
.form-group--submit {
  margin-top: 0.5rem;
}
.form-submit {
  width: 100%;
}
.form-privacy-note {
  font-size: 0.78rem;
  color: var(--grey-mid);
  margin-top: 0.75rem;
  text-align: center;
}
.form-privacy-note a {
  color: var(--green);
  text-decoration: underline;
}

/* Info card */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--green);
  padding: 2rem;
}
.contact-info-card h3 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}
.contact-info-item {
  margin-bottom: 1.25rem;
}
.contact-info-label {
  display: block;
  font-family: var(--font-stat);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 0.25rem;
}
.contact-info-value {
  display: block;
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.5;
  text-decoration: none;
}
a.contact-info-value:hover { color: var(--green); }
.contact-linkedin {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--green);
}
.contact-linkedin:hover { color: var(--green); }
.contact-info-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 1.5rem 0;
}
.contact-info-note {
  font-size: 0.82rem;
  color: var(--grey-mid);
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-info-col {
    order: -1; /* Info card above form on mobile */
  }
}

/* ----------------------------------------------------------------
   PRIVACY POLICY PAGE
   ---------------------------------------------------------------- */
.policy-body {
  max-width: 740px;
  margin-inline: auto;
}
.policy-effective {
  font-size: 0.85rem;
  color: var(--grey-mid);
  background: var(--white);
  border-left: 3px solid var(--green);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 2.5rem;
}
.policy-body h2 {
  font-size: 1.15rem;
  margin-top: 2.5rem;
  margin-bottom: 0.6rem;
  color: var(--charcoal);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #e5e7eb;
}
.policy-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
}
.policy-body p,
.policy-body li {
  font-size: 0.925rem;
  line-height: 1.75;
  color: #374151;
}
.policy-body p { margin-bottom: 0.9rem; }
.policy-list {
  margin: 0.5rem 0 1rem 1.25rem;
  padding: 0;
}
.policy-list li { margin-bottom: 0.5rem; }
.policy-contact-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  line-height: 1.8;
}
.policy-body a {
  color: var(--green);
  text-decoration: underline;
}
.policy-body a:hover { color: var(--green); }

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.65);
  padding: 4rem 1.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1fr;
  gap: 2.5rem;
  max-width: var(--max-width);
  margin-inline: auto;
  margin-bottom: 3rem;
}
.footer-brand img { height: 34px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.65; }
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.1rem;
}
.footer-social a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius);
  transition: color var(--transition), border-color var(--transition);
}
.footer-social a:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }
.footer-col h4 {
  font-family: var(--font-stat);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }
.footer-address {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--white); }

/* ----------------------------------------------------------------
   BREADCRUMBS (second-level pages)
   ---------------------------------------------------------------- */
.breadcrumb {
  background: var(--linen);
  border-bottom: 1px solid var(--grey-light);
  padding: 0.65rem 1.5rem;
  margin-top: 68px; /* clear fixed nav */
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  max-width: var(--max-width);
  margin-inline: auto;
  font-size: 0.8rem;
  color: var(--grey-mid);
  list-style: none;
}
.breadcrumb ol li + li::before {
  content: '›';
  margin-right: 0.5rem;
  color: var(--grey-mid);
}
.breadcrumb ol a { color: var(--green); }
.breadcrumb ol a:hover { text-decoration: underline; }

/* ----------------------------------------------------------------
   RESPONSIVE — TABLET (≤1024px)
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .service-card { flex: 0 0 calc(50% - 0.75rem); }
  .stats-grid   { grid-template-columns: repeat(3, 1fr); }
  .stats-grid .stat-item:nth-child(4),
  .stats-grid .stat-item:nth-child(5) { border-top: 1px solid rgba(255,255,255,0.1); }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ----------------------------------------------------------------
   RESPONSIVE — MOBILE (≤768px)
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --section-pad: 3.5rem 1.25rem; }

  /* Nav */
  .nav-primary  { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta      { display: none !important; }

  /* Hero */
  .hero { min-height: 85vh; background-position: 65% center; }
  .hero .container { padding-block: 4rem 3rem; }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .stat-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .stat-item:nth-child(even) { border-right: none; }
  .stats-grid .stat-item:nth-child(5) {
    grid-column: span 2;
    border-bottom: none;
  }

  /* About teaser inline grid (index.php) */
  #about-teaser .container > div { grid-template-columns: 1fr !important; gap: 2rem !important; }
  #about-teaser .container > div > div:first-child img { aspect-ratio: 16/9; }

  /* Services */
  .service-card { flex: 0 0 100%; }

  /* Track Record teaser */
  .track-record-teaser .container { flex-direction: column; align-items: flex-start; }
  .tr-stats { gap: 2rem; }

  /* Insights */
  .insights-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ----------------------------------------------------------------
   PRINT
   ---------------------------------------------------------------- */
@media print {
  .site-header, .cta-banner, .nav-cta { display: none; }
  body { font-size: 12pt; color: #000; }
  a::after { content: ' (' attr(href) ')'; font-size: 0.8em; color: #555; }
}

/* ----------------------------------------------------------------
   PAGE HERO (inner pages — about, services, etc.)
   ---------------------------------------------------------------- */
.page-hero {
  padding: 5rem 1.5rem 4rem;
}
.page-hero--green {
  background: var(--green);
}
.page-hero--green h1,
.page-hero--photo h1 {
  color: var(--white);
  max-width: 640px;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}
.page-hero-subline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin: 0;
}
/* Photo background variant — matches homepage hero treatment */
.page-hero--photo {
  position: relative;
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  padding: 6rem 1.5rem 5rem;
}
.page-hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(31, 41, 55, 0.85) 0%,
    rgba(31, 41, 55, 0.55) 60%,
    rgba(31, 41, 55, 0.25) 100%
  );
}
.page-hero--photo .container {
  position: relative;
  z-index: 1;
}

/* ----------------------------------------------------------------
   ABOUT PAGE — BIO GRID
   ---------------------------------------------------------------- */
.about-bio-grid {
  overflow: hidden; /* clearfix for float */
}
.about-bio-photo {
  float: left;
  width: 240px;
  margin: 0 2.5rem 1.5rem 0;
  flex-shrink: 0;
}
.about-bio-photo img {
  border-radius: var(--radius);
  width: 100%;
  display: block;
}
.about-bio-copy h2 { margin-bottom: 1.25rem; }

/* Credential badges row */
.credential-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.credential-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  text-align: center;
  gap: 3px;
  padding: 6px;
  text-decoration: none;
}
.credential-badge--link {
  border: none;
  padding: 0;
  transition: opacity var(--transition);
}
.credential-badge--link:hover  { opacity: 0.85; }
.credential-badge--link img    { border-radius: var(--radius); }
.badge-abbr {
  font-family: var(--font-stat);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}
.badge-sub {
  font-size: 0.5rem;
  color: var(--grey-mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

/* ----------------------------------------------------------------
   CAREER TIMELINE
   ---------------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 2rem;
}
/* Vertical connecting line */
.timeline::before {
  content: '';
  position: absolute;
  left: 8.5rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 2px;
  background: var(--grey-light);
}
.timeline-era {
  display: grid;
  grid-template-columns: 6.5rem 1.5rem 1fr;
  gap: 0 1.25rem;
  align-items: start;
  margin-bottom: 2.75rem;
  position: relative;
}
.timeline-era:last-child { margin-bottom: 0; }

.timeline-period { text-align: right; padding-top: 0.1rem; }
.timeline-years {
  display: block;
  font-family: var(--font-stat);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.timeline-location {
  display: block;
  font-size: 0.72rem;
  color: var(--grey-mid);
  margin-top: 0.25rem;
  line-height: 1.35;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--linen);
  border: 2px solid var(--green);
  flex-shrink: 0;
  margin-top: 0.25rem;
  position: relative;
  z-index: 1;
}
.timeline-era--current .timeline-dot { background: var(--green); }

.timeline-body { padding-bottom: 0.5rem; }
.timeline-org {
  font-size: 1.05rem;
  color: var(--green);
  margin-bottom: 0.3rem;
}
.timeline-era--current .timeline-org { color: var(--charcoal); }
.timeline-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.45;
}
.timeline-detail {
  font-size: 0.875rem;
  color: var(--grey-mid);
  line-height: 1.65;
  margin: 0;
}

/* ----------------------------------------------------------------
   VARIETIES DEVELOPED
   ---------------------------------------------------------------- */
.variety-group-label {
  font-family: var(--font-stat);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 1.25rem;
}
.variety-group-label em { font-style: italic; text-transform: none; letter-spacing: 0; }
.variety-grid { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.variety-card {
  flex: 0 0 calc(33.333% - 0.85rem);
  background: var(--linen);
  border-radius: var(--radius);
  border-top: 3px solid var(--green);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.variety-card--blue { border-top-color: var(--green); }
.variety-card--gold { border-top-color: var(--gold); }
.variety-crop {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-mid);
}
.variety-crop em { font-style: italic; text-transform: none; letter-spacing: 0; }
.variety-name {
  display: block;
  font-family: var(--font-stat);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.1;
}
.variety-card--blue .variety-name { color: var(--green); }
.variety-card--gold .variety-name { color: var(--gold); }
.variety-detail {
  font-size: 0.85rem;
  color: var(--grey-mid);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.variety-patent {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--green);
  background: rgba(42, 95, 143, 0.09);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-top: 0.25rem;
  width: fit-content;
}

/* ----------------------------------------------------------------
   RESPONSIVE — about.php additions
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .variety-card { flex: 0 0 calc(50% - 0.625rem); }
}
@media (max-width: 768px) {
  .page-hero { padding: 3.5rem 1.25rem 3rem; }

  .about-bio-photo { float: none; width: 100%; max-height: 320px; margin: 0 0 1.5rem 0; }
  .about-bio-photo img { aspect-ratio: 4 / 3; max-height: 320px; object-fit: cover; }
  .about-bio-photo img { aspect-ratio: 4 / 3; max-height: 380px; }

  /* Timeline — stack period above body, dot on left */
  .timeline { padding-left: 0; }
  .timeline::before { left: 0; }
  .timeline-era {
    grid-template-columns: 1.5rem 1fr;
    grid-template-rows: auto auto;
    gap: 0 0.75rem;
  }
  .timeline-period { grid-column: 2; grid-row: 1; text-align: left; margin-bottom: 0.35rem; }
  .timeline-dot    { grid-column: 1; grid-row: 1; margin-top: 0.3rem; }
  .timeline-body   { grid-column: 2; grid-row: 2; }

  .variety-card { flex: 0 0 100%; }
}

/* ----------------------------------------------------------------
   TRACK RECORD PAGE — stat + body layout
   ---------------------------------------------------------------- */
.tr-section { padding: var(--section-pad); }

.tr-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
  max-width: var(--max-width);
  margin-inline: auto;
}
/* Alternate sections: stat col stays left always (no visual reverse needed
   since alternate bg colours provide rhythm) */

/* Stat column */
.tr-stat-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0.5rem;
}
.tr-num {
  display: block;
  font-family: var(--font-stat);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.tr-unit {
  display: block;
  font-family: var(--font-stat);
  font-size: 1rem;
  font-weight: 600;
  color: var(--grey-mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  line-height: 1.3;
}

/* Body column */
.tr-body-col h2 {
  margin-top: 0.4rem;
  margin-bottom: 1.25rem;
}
.tr-body-col p {
  color: var(--grey-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.tr-body-col p:last-of-type { margin-bottom: 0; }

/* Cultivar name list */
.tr-cultivar-list {
  font-size: 0.9rem;
  color: var(--charcoal) !important;
  font-weight: 500;
  line-height: 1.8 !important;
  padding: 1rem 1.25rem;
  background: rgba(45, 90, 39, 0.07);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.25rem 0 !important;
}

/* External / internal CTA link */
.tr-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--transition);
}
.tr-ext-link:hover { gap: 0.55rem; }

/* Trial specs callout box */
.tr-specs {
  margin: 1.5rem 0 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
}
.section--white .tr-specs {
  background: var(--linen);
}
.tr-specs-label {
  font-family: var(--font-stat);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem !important;
}
.tr-specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tr-specs-list li {
  font-size: 0.875rem;
  color: var(--charcoal);
  font-weight: 500;
  position: relative;
  padding-left: 1rem;
}
.tr-specs-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ----------------------------------------------------------------
   TRACK RECORD PAGE — responsive
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  .tr-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .tr-stat-col {
    flex-direction: row;
    align-items: baseline;
    gap: 0.6rem;
    padding-top: 0;
  }
  .tr-num { font-size: clamp(2.8rem, 10vw, 3.5rem); }
  .tr-unit {
    font-size: 0.85rem;
    margin-top: 0;
    text-transform: uppercase;
  }
  .tr-specs-list { flex-direction: column; gap: 0.3rem; }
}


/* ================================================================
   ARTICLE PAGES
   article-ihr-consultation.php and future article pages
   ================================================================ */

/* --- Article hero --- */
.article-hero {
  background: var(--green);
  padding: 4rem 0 3rem;
  color: #fff;
}
.article-hero__inner { max-width: 800px; }
.article-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.article-hero .insight-tag {
  color: var(--amber);
  background: transparent;
}
.article-hero__date,
.article-hero__readtime {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}
.article-hero__sep { color: rgba(255,255,255,0.35); }
.article-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 1rem;
}
.article-hero__byline {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.article-hero__byline a {
  color: var(--amber);
  text-decoration: none;
}
.article-hero__byline a:hover { text-decoration: underline; }


/* --- Article layout (body + sidebar) --- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0 2rem;
}


/* --- Article body typography --- */
.article-body {
  max-width: 720px;
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--charcoal);
}
.article-body p { margin: 0 0 1.4rem; }
.article-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  margin: 2.5rem 0 0.75rem;
  line-height: 1.3;
}
.article-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 2rem 0 0.5rem;
}
.article-body a {
  color: #1A72B8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover { color: #155d96; }
.article-body u { text-decoration: underline; }


/* --- Call-out boxes --- */
.article-callout {
  border-radius: 6px;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.article-callout--action {
  background: var(--linen);
  border-left: 4px solid var(--amber);
}
.article-callout--deadline {
  background: var(--green);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 1.5rem;
}
.article-callout--deadline p { margin: 0 0 0.6rem; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.article-callout--deadline .btn { margin-top: 0.75rem; }
.article-callout__label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 0.5rem;
}
.article-callout--deadline .article-callout__label { color: rgba(255,255,255,0.6); }
.article-callout__email {
  margin: 0.5rem 0 !important;
}
.article-callout__email a {
  font-family: 'Oswald', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--green) !important;
  text-decoration: none !important;
}
.article-callout__email a:hover { text-decoration: underline !important; }
.article-callout__subject {
  font-size: 0.9rem !important;
  color: #555 !important;
  margin-top: 0.5rem !important;
}
.article-callout__date {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0.25rem 0 0.75rem;
  display: block;
}


/* --- Primary source block --- */
.article-source {
  border-top: 1px solid #ddd;
  margin-top: 3rem;
  padding-top: 1.5rem;
}
.article-source__label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 0.5rem;
}
.article-source p {
  font-size: 0.875rem !important;
  color: #666 !important;
  margin: 0 0 0.5rem !important;
  line-height: 1.6 !important;
}
.article-source a {
  font-size: 0.875rem;
  color: #1A72B8;
  word-break: break-all;
}


/* --- Sidebar --- */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 90px;
}
.article-author-card {
  background: var(--linen);
  border-radius: 8px;
  padding: 1.5rem;
}
.article-author-card__label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin: 0 0 0.4rem;
}
.article-author-card__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 0.2rem;
}
.article-author-card__creds {
  font-size: 0.8rem;
  color: #777;
  margin: 0 0 0.75rem;
}
.article-author-card__bio {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #444;
  margin: 0 0 0.75rem;
}
.article-author-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1A72B8;
  text-decoration: none;
}
.article-author-card__link:hover { text-decoration: underline; }
.article-back-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1A72B8;
  text-decoration: none;
  display: inline-block;
}
.article-back-link:hover { text-decoration: underline; }


/* --- Article responsive --- */
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    /* Move sidebar above primary source on mobile */
    order: -1;
  }
  .article-author-card { order: 2; }
  .article-callout--deadline { order: 1; }
  .article-back-link { order: 3; }
}
@media (max-width: 600px) {
  .article-hero { padding: 2.5rem 0 2rem; }
  .article-body { font-size: 1rem; }
  .article-layout { padding: 2rem 0 1rem; }
}

/* ---- Cookie consent banner ---- */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--charcoal);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 0.9rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--amber); text-decoration: underline; }
