/* ==========================================================================
   Fiji MSC Landing Page — PranaGen Bio brand palette throughout.
   Logo gradient: light-teal #2A7A8C → mid-teal #1F5A6B → deep-navy #0F3340.
   Made Scientific brand mark sits within design as referenced co-brand only.
   ========================================================================== */

:root {
  /* PranaGen Bio brand tokens (sampled from logo gradient) */
  --prana-light-teal: #2A7A8C;
  --prana-mid-teal:   #1F5A6B;
  --prana-deep-navy:  #0F3340;
  --prana-light-teal-soft: rgba(42, 122, 140, 0.12);
  --prana-deep-navy-soft:  rgba(15, 51, 64, 0.06);

  /* Neutrals */
  --neutral-grey:       #D0D2D3;
  --neutral-grey-light: #EEF0F1;

  /* Surfaces */
  --bg-white:   #FFFFFF;
  --bg-off:     #FAFBFC;
  --bg-section: #F4F6F7;

  /* Text */
  --text-primary:   #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted:     #777777;
  --text-on-dark:   #FFFFFF;

  /* Borders */
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.14);

  /* Typography */
  --font-display: 'Funnel Display', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Funnel Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --max-w: 1120px;
  --section-pad: 5rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15, 51, 64, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 51, 64, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 51, 64, 0.12);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--prana-mid-teal);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}
a:hover { color: var(--prana-deep-navy); }
a:focus-visible {
  outline: 2px solid var(--prana-light-teal);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 1rem; }
h3 {
  font-size: 1.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 0.5rem;
}
p { color: var(--text-secondary); }
strong { font-weight: 600; color: var(--text-primary); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--prana-light-teal);
  margin-bottom: 1rem;
}
.lede {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 56ch;
}
.source-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--section-pad) 0; }
.section-head { margin-bottom: 3rem; max-width: 60ch; }

/* Variant: section-head with image on the right (2-col on desktop, stacks on mobile) */
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 3.5rem;
  }
}
.section-head--split .section-head-text { min-width: 0; max-width: 60ch; }
.section-head--split .section-head-image {
  min-width: 0;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 24px 50px rgba(15, 51, 64, 0.20),
    0 6px 14px rgba(15, 51, 64, 0.12);
  background: var(--prana-deep-navy);
}
.section-head--split .section-head-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.section-head--split .section-head-image figcaption {
  background: rgba(15, 51, 64, 0.92);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.7rem 1rem;
  text-align: center;
}

.section-opportunity { background: var(--bg-off); padding-top: 0; }
.section-evidence    { background: var(--bg-white); }
.section-longevity   { background: var(--bg-off); }
.section-partnership   { background: var(--bg-section); }
.section-manufacturing { background: var(--bg-off); }
.section-roadmap       { background: var(--bg-white); }
.section-about       { background: var(--bg-off); padding-top: 0; }

/* ==========================================================================
   Section banner — full-bleed Fiji photo intro
   ========================================================================== */

.section-banner {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
  margin-bottom: 4rem;
  background: var(--prana-deep-navy);
}
.section-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bias crop toward the lower portion of the frame so the water + islands
     stay visible at narrow banner heights instead of cropping to mostly sky. */
  object-position: center 68%;
  display: block;
  /* Slow Ken-Burns-style scale on hover for liveliness */
  transition: transform 0.8s ease;
}
.section-banner:hover img { transform: scale(1.02); }

/* Subtle bottom fade so the banner blends into section background */
.section-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0) 60%,
    rgba(15, 51, 64, 0.18) 100%);
}

.section-banner--soft {
  height: 240px;
  margin-bottom: 3.5rem;
}

@media (max-width: 720px) {
  .section-banner { height: 200px; margin-bottom: 2.5rem; }
  .section-banner--soft { height: 160px; margin-bottom: 2rem; }
}
.section-download {
  background: var(--prana-deep-navy);
  color: var(--text-on-dark);
}
.section-contact { background: var(--bg-white); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--prana-light-teal) 0%,
    var(--prana-mid-teal) 50%,
    var(--prana-deep-navy) 100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 1rem;
}
.cobrand { display: flex; align-items: center; gap: 1rem; }
.cobrand .logo { display: block; }
.cobrand .logo-prana { height: 56px; width: auto; }
.cobrand .logo-made  { height: 40px; width: auto; }
.cobrand-divider {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--neutral-grey);
  user-select: none;
}
.header-nav .nav-cta {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-on-dark);
  background: var(--prana-deep-navy);
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--prana-deep-navy);
  border-radius: 999px;
  transition: all 0.18s ease;
}
.header-nav .nav-cta:hover {
  background: var(--prana-mid-teal);
  border-color: var(--prana-mid-teal);
  color: var(--text-on-dark);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 5rem 0 4rem;
  background: var(--bg-white);
  overflow: hidden;
}
.hero-accent {
  position: absolute;
  top: -80px;
  right: -120px;
  width: 520px;
  height: 520px;
  opacity: 0.07;
  /* Tint biomorphic SVG to PranaGen mid-teal via filter chain */
  filter: invert(28%) sepia(28%) saturate(900%) hue-rotate(150deg) brightness(92%) contrast(92%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 56rem; }

/* ==========================================================================
   Video lead-in — prominent Vimeo embed directly under the header
   ========================================================================== */

.video-lead {
  background: var(--bg-white);
  /* Sits between the hero (which has its own bottom-padding) and the
     Opportunity section (whose photo banner sits flush at top). */
  padding: 0 0 4rem;
}
.video-lead .container {
  max-width: 76rem; /* slightly wider than typical content for prominence */
}
@media (max-width: 640px) {
  .video-lead { padding-bottom: 2.5rem; }
}

/* Responsive 16:9 video wrapper — used by the lead-in section */
.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--prana-deep-navy);
  box-shadow:
    0 30px 70px rgba(15, 51, 64, 0.22),
    0 6px 18px rgba(15, 51, 64, 0.14);
  /* Subtle teal hairline ring matching brand */
  outline: 1px solid rgba(31, 90, 107, 0.12);
  outline-offset: 0;
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* Lead variant gets a slightly stronger lift to feel anchored as the
   page's primary visual moment. */
.video-wrapper--lead {
  box-shadow:
    0 40px 90px rgba(15, 51, 64, 0.26),
    0 8px 22px rgba(15, 51, 64, 0.16);
}

.hero h1 {
  background: linear-gradient(135deg,
    var(--prana-light-teal) 0%,
    var(--prana-mid-teal) 50%,
    var(--prana-deep-navy) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--prana-deep-navy);
}
.hero .subtitle {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 50ch;
  margin-bottom: 2.5rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
}
.btn-primary {
  background: var(--prana-deep-navy);
  color: var(--text-on-dark);
  border-color: var(--prana-deep-navy);
}
.btn-primary:hover {
  background: var(--prana-mid-teal);
  border-color: var(--prana-mid-teal);
  color: var(--text-on-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-medium);
}
.btn-secondary:hover {
  background: var(--prana-light-teal-soft);
  color: var(--prana-deep-navy);
  border-color: var(--prana-light-teal);
}
.btn-large {
  padding: 1.05rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.btn-meta {
  font-weight: 400;
  font-size: 0.82rem;
  opacity: 0.78;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   Stats grid (Opportunity section)
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--prana-light-teal);
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.stat-value {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--prana-deep-navy);
  letter-spacing: -0.02em;
}
.stat-unit {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}
.stat-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.6rem;
  color: var(--text-primary);
}
.stat-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ==========================================================================
   Evidence cards
   ========================================================================== */

.evidence-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .evidence-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Longevity section — 3-up at desktop, 1-up at mobile */
.longevity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 720px) {
  .longevity-grid { grid-template-columns: repeat(3, 1fr); }
}
.evidence-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.evidence-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.evidence-card.highlight {
  border-color: var(--prana-light-teal);
  background: linear-gradient(135deg, rgba(42, 122, 140, 0.04) 0%, var(--bg-white) 60%);
}
.evidence-tier {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  align-self: flex-start;
}
.tier-strong   { background: rgba(15, 51, 64, 0.10);  color: var(--prana-deep-navy); }
.tier-moderate { background: rgba(31, 90, 107, 0.10); color: var(--prana-mid-teal); }
.tier-emerging { background: rgba(42, 122, 140, 0.14); color: var(--prana-light-teal); }
.evidence-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.75rem;
}
.evidence-summary {
  flex: 1;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.evidence-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-subtle);
  font-weight: 500;
}

/* ==========================================================================
   Partnership pillars
   ========================================================================== */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.pillar {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--prana-light-teal) 0%, var(--prana-deep-navy) 100%);
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--prana-light-teal);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.pillar h3 {
  font-size: 1.22rem;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}
.pillar p {
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--prana-mid-teal);
  letter-spacing: 0.01em;
  margin-top: 0.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
  transition: color 0.18s ease, gap 0.18s ease;
}
.pillar-link:hover {
  color: var(--prana-deep-navy);
  gap: 0.55rem;
}

/* ==========================================================================
   Roadmap
   ========================================================================== */

.roadmap {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.roadmap-step {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  border-top: 4px solid var(--prana-light-teal);
}
.roadmap-phase {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--prana-deep-navy);
  text-transform: uppercase;
}
.roadmap-time {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  margin-bottom: 1rem;
}
.roadmap-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}
.roadmap-step p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   About — single-column body (Methodology aside removed)
   ========================================================================== */

.about-body {
  max-width: 64ch;
}
.about-body p {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.65;
}

/* ==========================================================================
   Download card
   ========================================================================== */

.section-download .container { display: flex; justify-content: center; }
.download-card {
  background: linear-gradient(135deg,
    var(--prana-mid-teal) 0%,
    var(--prana-deep-navy) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  max-width: 760px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  color: var(--text-on-dark);
  box-shadow: 0 24px 60px rgba(15, 51, 64, 0.28);
}
.download-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--prana-light-teal) 0%, #65B3C2 100%);
}
@media (min-width: 720px) {
  .download-card {
    flex-direction: row;
    align-items: center;
    gap: 2.25rem;
    padding: 3rem 3rem;
  }
}
.download-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: rgba(42, 122, 140, 0.22);
  color: #8FCAD8;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.download-body { flex: 1; }
.download-body .eyebrow {
  color: #8FCAD8;
  margin-bottom: 0.6rem;
}
.download-card h2 {
  color: var(--text-on-dark);
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.edition-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(42, 122, 140, 0.32);
  color: #B5DCE4;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 0.4rem;
}
.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.5rem;
}
.meta-dot { opacity: 0.5; }
.download-card .btn-primary {
  background: var(--bg-white);
  border-color: var(--bg-white);
  color: var(--prana-deep-navy);
}
.download-card .btn-primary:hover {
  background: #DFEEF2;
  border-color: #DFEEF2;
  color: var(--prana-deep-navy);
}
.download-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.9rem;
  font-style: italic;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 720px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.contact-card {
  background: var(--bg-off);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all 0.18s ease;
}
.contact-card:hover {
  border-color: var(--prana-light-teal);
  background: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.contact-headshot {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin: 0 auto 1.1rem;
  background: var(--bg-off);
  /* Subtle white ring + soft brand-tinted drop shadow so the avatar feels
     anchored above the card surface. */
  box-shadow:
    0 0 0 4px var(--bg-white),
    0 6px 18px rgba(15, 51, 64, 0.18),
    0 2px 6px rgba(15, 51, 64, 0.10);
}
.contact-logo {
  height: 36px;
  width: auto;
  margin: 0 auto 1.25rem;
  display: block;
}
/* When a headshot is present, tighten the logo's top spacing (the headshot
   already provides comfortable separation). */
.contact-headshot + .contact-logo,
.contact-headshot + .contact-logo-link .contact-logo {
  margin-top: 0;
}
.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.contact-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.98rem;
  margin-top: 0.2rem;
}
.contact-role {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.contact-email {
  display: inline-block;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--prana-deep-navy);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  transition: all 0.18s ease;
  word-break: break-all;
}
.contact-email:hover {
  background: var(--prana-deep-navy);
  color: var(--text-on-dark);
  border-color: var(--prana-deep-navy);
}
.contact-website {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.85rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--prana-mid-teal);
  letter-spacing: 0.01em;
  transition: color 0.18s ease, gap 0.18s ease;
}
.contact-website:hover {
  color: var(--prana-deep-navy);
  gap: 0.5rem;
}

/* Wrapper row that sits below the email pill, holding website + LinkedIn
   on a single horizontal line (wraps on narrow viewports). */
.contact-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 1rem;
}
.contact-meta .contact-website {
  margin-top: 0;
}

/* ==========================================================================
   Logo links — clickable Made Scientific logos in header / contact / footer
   ========================================================================== */

.logo-link,
.contact-logo-link,
.footer-logo-link {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.logo-link:hover,
.contact-logo-link:hover,
.footer-logo-link:hover {
  opacity: 0.78;
}
.logo-link:focus-visible,
.contact-logo-link:focus-visible,
.footer-logo-link:focus-visible {
  outline: 2px solid var(--prana-light-teal);
  outline-offset: 4px;
  border-radius: 4px;
  opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--prana-deep-navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--prana-light-teal) 0%,
    #65B3C2 50%,
    var(--prana-light-teal) 100%);
}
.footer-cobrand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.footer-logo {
  height: 32px;
  width: auto;
  background: #FFFFFF;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
}
.footer-cobrand .cobrand-divider { color: rgba(255, 255, 255, 0.45); }
.footer-line {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.footer-meta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
}
.footer-credit {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.32);
  margin-top: 1.25rem;
  letter-spacing: 0.02em;
}
.footer-credit a {
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
}
.footer-credit a:hover {
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Responsive tweaks
   ========================================================================== */

/* Short CTA label only appears on very narrow screens — see <480px breakpoint */
.nav-cta .nav-cta-short { display: none; }

@media (max-width: 640px) {
  :root { --section-pad: 3.5rem; }
  .header-inner { flex-direction: row; gap: 0.5rem; }
  .cobrand .logo-prana { height: 34px; }
  .cobrand .logo-made { height: 26px; }
  .cobrand { gap: 0.5rem; }
  .cobrand-divider { font-size: 0.85rem; }
  .header-nav .nav-cta { padding: 0.4rem 0.75rem; font-size: 0.8rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero .subtitle { font-size: 1.05rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .download-card { padding: 2rem 1.5rem; }
  .download-card h2 { font-size: 1.3rem; }
  .download-icon { width: 56px; height: 56px; }
  .contact-card { padding: 1.5rem 1.25rem; }
}

/* Narrow phones — collapse CTA text to "PDF ↓" and shrink logos further to
   give the navigation breathing room. */
@media (max-width: 480px) {
  .cobrand .logo-prana { height: 30px; }
  .cobrand .logo-made { height: 24px; }
  .cobrand { gap: 0.4rem; }
  .cobrand-divider { font-size: 0.8rem; }
  .nav-cta .nav-cta-long { display: none; }
  .nav-cta .nav-cta-short { display: inline; }
  .header-nav .nav-cta { padding: 0.4rem 0.65rem; font-size: 0.78rem; }
}

@media (max-width: 420px) {
  .stat-value { font-size: 2.1rem; }
  .stat-unit { font-size: 0.95rem; }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  .site-header, .hero-ctas, .header-nav, .section-download, .btn { display: none !important; }
  .section { padding: 1.5rem 0; page-break-inside: avoid; }
}
