:root {
    /* Brand — Blue */
    --hana-blue:      #1283DD;
    --hana-blue-deep: #0E4A7C;
    --hana-blue-soft: #4E9BDA;
    --hana-blue-tint: #E5EEF5;

    /* Neutrals */
    --bg:        #F7F8FA;
    --surface:   #EBEEF2;
    --surface-2: #FFFFFF;
    --line:      #D2D7DE;
    --line-soft: #E5E8EC;

    /* Ink */
    --ink:   #0E1116;
    --ink-2: #444B54;
    --ink-3: #6B7280;

    /* Spacing */
    --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
    --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

    --shadow-soft: 0 8px 28px rgba(14, 74, 124, 0.08);
    --max: 1180px;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px; line-height: 1.65;
    color: var(--ink-2); background: var(--bg);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  }
  ::selection { background: var(--hana-blue-tint); color: var(--ink); }
  a { color: var(--hana-blue); text-decoration: none; }
  a:hover { color: var(--hana-blue-deep); }
  button { font-family: inherit; }
  :focus { outline: none; }
  :focus-visible { outline: 2px solid var(--hana-blue); outline-offset: 3px; border-radius: 3px; }
  .nav-btn:focus-visible, .btn:focus-visible, .anchor-chip:focus-visible { outline-offset: 4px; }

  /* ── Hero band (breadcrumb + hero over flow background) ── */
  .hero-band { position: relative; overflow: hidden; background: transparent; border-bottom: 1px solid var(--line); }
  .hero-band--flow { background: transparent; }

  /* ── Subbar (breadcrumb) ── */
  .subbar { position: relative; z-index: 2; background: transparent; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .subbar-inner { max-width: var(--max); margin: 0 auto; padding: var(--s-3) var(--s-6); display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); font-size: 13px; }
  .crumbs { color: rgba(74,79,88,0.62); }
  .crumbs a { color: inherit; }
  .crumbs a:hover { color: rgba(21,23,28,0.92); }
  .crumbs .sep { margin: 0 var(--s-2); color: rgba(107,114,128,0.45); }
  .crumbs .nolink { color: rgba(74,79,88,0.62); }
  .crumbs span:last-child { color: rgba(21,23,28,0.92); font-weight: 500; }
  .subbar .meta { font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; color: rgba(74,79,88,0.58); letter-spacing: -0.005em; }
  @media (max-width: 600px) { .subbar .meta { display: none; } }

  /* ── Hero ── */
  .hero { position: relative; z-index: 2; background: transparent; }
  .hero-inner { max-width: var(--max); margin: 0 auto; padding: var(--s-7) var(--s-6) var(--s-6); }
  .hero h1 { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 38px; line-height: 1.15; letter-spacing: -0.022em; color: #15171C; margin: 0 0 var(--s-4); max-width: 22ch; }
  .hero .lede { font-size: 16px; font-weight: 400; line-height: 1.55; color: rgba(74,79,88,0.80); max-width: 70ch; margin: 0; }
  @media (max-width: 720px) { .hero h1 { font-size: 30px; } .subbar-inner { flex-wrap: wrap; gap: var(--s-3); } }

  /* ── Anchor subnav (sticky) ── */
  #ir-header { display: contents; }
  #ir-header header { position: static !important; }
  .anchor-nav {
    position: sticky; top: 0; z-index: 60;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
  }
  .anchor-nav-inner {
    max-width: var(--max); margin: 0 auto; padding: var(--s-4) var(--s-6);
    display: flex; align-items: center; gap: var(--s-2); overflow-x: auto; scrollbar-width: none;
  }
  .anchor-nav-inner::-webkit-scrollbar { display: none; }
  .anchor-chip {
    flex: 0 0 auto; background: transparent; border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 16px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 13px; font-weight: 500;
    letter-spacing: 0.02em; color: var(--ink-3); cursor: pointer; text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
  }
  .anchor-chip:hover { color: var(--hana-blue); border-color: var(--hana-blue-soft); }

  /* ── Section scaffold ── */
  .section { max-width: var(--max); margin: 0 auto; padding: var(--s-7) var(--s-6); scroll-margin-top: 72px; }
  #certifications { padding-top: var(--s-7); }
  .section-head { max-width: 720px; margin: 0 0 var(--s-6); }
  .section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; font-weight: 500;
    color: var(--hana-blue); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--s-4);
  }
  .section-head h2 {
    font-family: 'Geist', sans-serif; font-weight: 700; font-size: clamp(26px, 3.4vw, 38px);
    line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 var(--s-4);
  }
  .section-head p { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 0; }
  .cert-cta {
    display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-4);
    font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--hana-blue);
    text-decoration: none; transition: color 0.15s ease, gap 0.15s ease;
  }
  .cert-cta svg { width: 16px; height: 16px; }
  .cert-cta:hover { color: var(--hana-blue-deep); gap: 12px; }
  /* Plant certification pages, one row under the intro */
  .cert-plants { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: var(--s-4); }
  .cert-plants-h { margin-right: 4px; font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; color: var(--ink-2); }
  /* Light blue, so they stand apart from the grey Certifications/Awards chips (Rupert, 17 Nov 2026) */
  .cert-plants .anchor-chip { padding: 7px 14px; background: #D6EAFB; border-color: #A9D2F5; color: var(--hana-blue-deep); font-weight: 600; }
  .cert-plants .anchor-chip:hover { background: var(--hana-blue); border-color: var(--hana-blue); color: #fff; }
  @media (max-width: 560px) { .cert-plants-h { flex-basis: 100%; } }

  /* ── Certification cards ── */
  .cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--s-4); }
  @media (max-width: 860px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .cert-grid { grid-template-columns: 1fr; } }
  .cert-card {
    background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
    padding: 22px 24px; transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s;
  }
  .cert-card:hover { border-color: var(--hana-blue-soft); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
  .cert-code {
    font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; font-weight: 500;
    color: var(--hana-blue-deep); letter-spacing: 0.02em;
    background: var(--hana-blue-tint); display: inline-block; padding: 4px 10px; border-radius: 4px; margin-bottom: var(--s-4);
  }
  .cert-name { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 6px; }
  .cert-logo { height: 34px; width: auto; display: block; margin-bottom: var(--s-3); }
  .cert-scope { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0; }
  .cert-note {
    margin-top: var(--s-6); font-size: 14px; color: var(--ink-3); line-height: 1.6;
    border-left: 2px solid var(--line); padding-left: var(--s-4);
  }


  /* ── Recognition (award cards) ── */
  .reco-section { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

  /* Recognition — promoted to a dark flow band; white award cards pop against it */
  .reco-dark { background: var(--hana-blue-deep); border: none; }
  .reco-dark .section { position: relative; z-index: 1; }
  .reco-dark .section-label { color: var(--hana-blue-soft); }
  .reco-dark .section-head h2 { color: #fff; }
  .reco-dark .section-head p { color: rgba(255,255,255,0.78); }
  .award-img--empty img { display: none; }
  .award-img--empty::after { content: 'Recognition'; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
  .award-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-5); }
  @media (max-width: 760px) { .award-grid { grid-template-columns: 1fr; } }
  .award-card {
    display: flex; flex-direction: column;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s;
  }
  .award-card:hover { border-color: var(--hana-blue-soft); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
  .award-img {
    width: 100%; height: 240px; background: #fff; border-bottom: 1px solid var(--line-soft);
    display: flex; align-items: center; justify-content: center; padding: var(--s-6); overflow: hidden;
  }
  .award-img img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
  .award-body { padding: var(--s-5) var(--s-6) var(--s-6); }
  .award-body h3 { font-family: 'Geist', sans-serif; font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 8px; }
  .award-body p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0; }
  @media (max-width: 460px) { .award-img { height: 190px; padding: var(--s-5); } }

  /* placeholder marker */
  .ph { background: #FFF4D6; color: #7a5c00; border-radius: 3px; padding: 0 4px; font-style: normal; }

  /* ── Closing ── */
  .closing { background: var(--hana-blue-deep); color: #fff; padding: var(--s-8) var(--s-6); text-align: center; }
  .closing-inner { max-width: 720px; margin: 0 auto; }
  .closing .eyebrow { color: rgba(255,255,255,0.65); }
  .closing .eyebrow .dot { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.12); }
  .closing h2 { font-family: 'Geist', sans-serif; font-weight: 700; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.02em; color: #fff; margin: 0 0 var(--s-4); }
  .closing p { color: rgba(255,255,255,0.78); font-size: 18px; line-height: 1.6; margin: 0 0 var(--s-7); }
  .btn {
    display: inline-block; padding: 14px 26px; border-radius: 4px; font-family: 'Inter', sans-serif;
    font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
    text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
  }
  .btn-on-dark { background: #fff; color: var(--hana-blue-deep); border: none; }
  .btn-on-dark:hover { background: var(--hana-blue-tint); }
  .btn-secondary-on-dark { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.45); margin-left: var(--s-3); }
  .btn-secondary-on-dark:hover { border-color: #fff; }
  @media (max-width: 480px) { .btn-secondary-on-dark { margin-left: 0; margin-top: var(--s-3); } }

  /* ── Footer chrome handled by SubCapFooter (chrome.jsx) ── */
