:root {
    --hana-blue:      #1283DD;
    --hana-blue-deep: #0E4A7C;
    --hana-blue-tint: #E8F1F9;
    --hana-band:      #EEF0F3;
    --hana-band-line: #DDE1E6;

    --bg:        #FFFFFF;
    --surface:   #ECEEF2;
    --surface-2: #FFFFFF;
    --line:      #DDE1E6;
    --line-soft: #ECEEF2;

    --ink:   #15171C;
    --ink-2: #4A4F58;
    --ink-3: #7A7F88;
    --ink-4: #A8ADB6;

    --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: 80px;

    --max: 1180px;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 100px; }
  body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px; line-height: 1.6;
    color: var(--ink-2); background: var(--bg);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  }
  ::selection { background: var(--hana-blue-tint); }

  /* ── Topbar ── */
  .topbar {
    position: sticky; top: 0; z-index: 50;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
  }
  .topbar-inner {
    max-width: var(--max); margin: 0 auto;
    padding: var(--s-4) var(--s-6);
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--s-6);
  }
  .logo {
    font-family: 'Geist', sans-serif;
    font-weight: 600; font-size: 17px;
    letter-spacing: -0.01em; color: var(--ink);
  }
  .logo .mark {
    display: inline-block; width: 20px; height: 20px;
    background: var(--hana-blue); border-radius: 2px;
    margin-right: 10px; vertical-align: -4px;
  }
  .topnav { display: flex; gap: 26px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
  .topnav a { color: inherit; text-decoration: none; transition: color 0.15s; }
  .topnav a:hover { color: var(--hana-blue); }
  .topnav a.current { color: var(--hana-blue); }

  /* ── Hero band — wraps subbar + hero over static PCB background ── */
  .hero-band {
    position: relative;
    overflow: hidden;
    background: #030a17;
  }
  .hero-pcb-bg {
    position: absolute; inset: 0;
    z-index: 0;
  }
  .hero-overlay {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 1;
    background:
      linear-gradient(to right, rgba(3,10,23,0.80) 0%, rgba(3,10,23,0.25) 55%, rgba(3,10,23,0.15) 100%),
      linear-gradient(to bottom, rgba(3,10,23,0.10) 0%, rgba(3,10,23,0.35) 100%);
  }

  /* ── Subbar ── */
  .subbar {
    position: relative; z-index: 2;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }
  .subbar-inner {
    max-width: var(--max); margin: 0 auto;
    padding: var(--s-3) var(--s-6);
    display: flex; align-items: center;
    gap: var(--s-6); font-size: 13px;
  }
  .subbar .crumbs { color: rgba(255,255,255,0.50); font-family: 'Inter', sans-serif; }
  .subbar .crumbs a { color: inherit; text-decoration: none; }
  .subbar .crumbs a:hover { color: rgba(255,255,255,0.90); }
  .subbar .crumbs .sep { margin: 0 var(--s-2); color: rgba(255,255,255,0.20); }
  .subbar .crumbs span:last-child { color: rgba(255,255,255,0.90); font-weight: 500; }

  /* ── Hero ── */
  .hero { position: relative; z-index: 2; }
  .hero-inner {
    position: relative;
    max-width: var(--max); margin: 0 auto;
    padding: var(--s-7) var(--s-6) var(--s-7);
    display: grid; grid-template-columns: 1fr 420px; gap: var(--s-7); align-items: center;
  }
  .hero h1 {
    font-family: 'Geist', sans-serif;
    font-weight: 600; font-size: 38px; line-height: 1.15;
    letter-spacing: -0.022em; color: #FFFFFF;
    margin: 0 0 var(--s-4); max-width: 18ch;
  }
  .hero .lede {
    font-size: 16px; line-height: 1.55;
    color: rgba(255,255,255,0.65); margin: 0 0 var(--s-5);
    max-width: 64ch;
  }
  .hero-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
  .hero-actions a {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 12px; font-weight: 500;
    text-decoration: none; letter-spacing: -0.005em;
    padding: var(--s-3) var(--s-4);
    border-radius: 3px; white-space: nowrap;
    display: inline-flex; align-items: center; gap: var(--s-2);
    transition: all 0.12s;
  }
  .hero-actions a.primary {
    background: #FFFFFF; color: var(--hana-blue-deep);
    border: 1px solid transparent;
  }
  .hero-actions a.primary:hover { background: var(--hana-blue-tint); }
  .hero-actions a.ghost {
    background: transparent; color: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.25);
  }
  .hero-actions a.ghost:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

  /* Photo stack — layered photos on right side of hero */
  .photo-stack {
    position: relative;
    width: 100%; height: 100%;
    min-height: 280px;
  }
  .photo-stack .photo-primary {
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 85%;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid rgba(18,131,221,0.35);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    z-index: 2;
  }
  .photo-stack .photo-primary img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .photo-stack .photo-secondary {
    position: absolute;
    right: -20px; bottom: -10px;
    width: 55%; height: 55%;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid rgba(18,131,221,0.25);
    box-shadow: 0 6px 24px rgba(0,0,0,0.30);
    z-index: 3;
  }
  .photo-stack .photo-secondary img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }

  /* ── Stats band ── */
  .stats-band {
    background: var(--hana-band);
    border-bottom: 1px solid var(--hana-band-line);
  }
  .stats-band-pcb {
    display: none;
  }
  .stats-inner {
    max-width: var(--max); margin: 0 auto;
    padding: var(--s-5) var(--s-6);
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .stat {
    background: var(--hana-band);
    padding: var(--s-5) var(--s-5);
    text-align: center;
    border-right: 1px solid var(--hana-band-line);
  }
  .stat:last-child { border-right: none; }
  .stat-num {
    font-family: 'Geist', sans-serif;
    font-size: 28px; font-weight: 600;
    color: var(--ink); letter-spacing: -0.03em; line-height: 1;
  }
  .stat-lbl {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--ink-3); margin-top: var(--s-2);
  }

  /* Stats sitting inside the hero blurb — compact, left-aligned, on dark */
  .hero .stats-inner {
    display: flex; flex-wrap: wrap;
    max-width: 100%; width: auto !important; height: auto !important;
    padding: 0; margin: var(--s-6) 0;
    gap: var(--s-4) var(--s-6);
  }
  .hero .stat { text-align: left; padding: 0; border-right: none; background: transparent; }
  .hero .stat:not(:last-child) {
    padding-right: var(--s-6);
    border-right: 1px solid rgba(255,255,255,0.16);
  }
  .hero .stat-num { font-size: 24px; color: #FFFFFF; }
  .hero .stat-lbl { color: rgba(255,255,255,0.55); }

  /* ── CEO statement ── */
  .ceo-band { background: var(--bg); border-bottom: 1px solid var(--line); overflow: hidden; }
  .ceo-inner {
    max-width: var(--max); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
  }
  .ceo-photo {
    background: var(--surface);
    min-height: 480px;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: var(--s-3);
    color: var(--ink-4);
    border-right: 1px solid var(--line);
  }
  .ceo-photo { overflow: hidden; }
  .ceo-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 20% top; display: block; }
  .ceo-photo svg { opacity: 0.3; }
  .ceo-photo span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--ink-4);
  }
  .ceo-text {
    padding: var(--s-8) var(--s-7);
    display: flex; flex-direction: column; justify-content: center;
  }
  .ceo-from {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--ink-3); margin-bottom: var(--s-5);
  }
  .ceo-para {
    font-size: 15px; line-height: 1.7; color: var(--ink-2);
    margin: 0 0 var(--s-5);
  }
  .ceo-italic {
    font-size: 15px; line-height: 1.7; color: var(--ink-2);
    font-style: italic; margin: 0 0 var(--s-6);
  }
  .ceo-italic::before { content: '\201C'; }
  .ceo-italic::after  { content: '\201D'; }
  .ceo-attrib {
    text-align: right;
    border-top: 1px solid var(--line); padding-top: var(--s-4);
  }
  .ceo-attrib strong {
    display: block;
    font-family: 'Geist', sans-serif;
    font-size: 16px; font-weight: 600;
    letter-spacing: -0.01em; color: var(--ink);
  }
  .ceo-attrib span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px; color: var(--ink-3); letter-spacing: -0.005em;
  }

  /* ── Life at Hana + Stories: shared topo band ── */
  .life-topo-bg { display: none; }
  .life-double-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #e8f0f8 65%, #f4f7fc 100%);
    border-top: 1px solid var(--hana-band-line);
    border-bottom: 1px solid var(--line);
  }
  #life-topo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
  }
  .life-topo-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background:
      linear-gradient(to right, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.05) 55%, rgba(244,247,252,0.25) 100%),
      linear-gradient(to bottom, rgba(255,255,255,0.05) 0%, rgba(232,240,248,0.30) 100%);
  }
  /* ── Life at Hana section ── */
  .life-section {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--hana-band-line);
  }
  .life-inner {
    position: relative; z-index: 1;
    max-width: var(--max); margin: 0 auto;
    padding: var(--s-7) var(--s-6);
  }
  .life-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: var(--s-6); gap: var(--s-5);
  }
  .life-header-text .section-label-mono {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--ink-3); margin-bottom: var(--s-3);
  }
  .life-header-text h2 {
    font-family: 'Geist', sans-serif;
    font-weight: 600; font-size: 26px;
    line-height: 1.2; letter-spacing: -0.018em;
    color: var(--ink); margin: 0 0 var(--s-2);
  }
  .life-header-text p { font-size: 14px; color: var(--ink-2); margin: 0; max-width: 52ch; }

  .life-tabs {
    display: flex; gap: var(--s-2); flex-wrap: nowrap;
    margin-bottom: var(--s-6);
  }
  .life-tab {
    flex: 1 1 0; min-width: 0; white-space: nowrap;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 13px; font-weight: 500; letter-spacing: -0.01em;
    padding: var(--s-3) var(--s-3);
    background: var(--surface-2); color: var(--ink-2);
    border: 1px solid var(--line); border-radius: 3px;
    cursor: pointer; text-align: center;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
  }
  .life-tab:hover { border-color: var(--hana-blue); color: var(--ink); }
  .life-tab.active {
    background: var(--hana-blue-deep); color: #FFFFFF;
    border-color: var(--hana-blue-deep);
  }

  .life-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
  }
  .life-img {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 3px;
    overflow: hidden;
  }
  .life-img-scroll-wrap { position: relative; }
  .life-img-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
  }
  .life-img-scroll::-webkit-scrollbar { display: none; }
  .life-img-scroll:active { cursor: grabbing; }
  .scroll-arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px;
    background: rgba(21, 23, 28, 0.52);
    color: #fff; border: none; border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; line-height: 1;
    cursor: pointer; z-index: 2;
    transition: background 0.12s, opacity 0.15s;
    padding: 0;
    font-family: 'IBM Plex Mono', monospace;
  }
  .scroll-arrow:hover { background: rgba(21, 23, 28, 0.82); }
  .scroll-arrow-left  { left: var(--s-2); }
  .scroll-arrow-right { right: var(--s-2); }
  .scroll-arrow.hidden { opacity: 0; pointer-events: none; }
  .life-img-slide {
    flex-shrink: 0;
    width: 92%;
    aspect-ratio: 4/3;
    background: var(--surface);
    border-right: 1px solid var(--line);
    scroll-snap-align: start;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: var(--s-2);
    color: var(--ink-4);
  }
  .life-img-slide:last-child { border-right: none; width: 100%; }
  .life-img-slide .life-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
  .life-img-slide svg { opacity: 0.5; }
  .life-img-slide span {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--ink-4);
    text-align: center; padding: 0 var(--s-4);
  }
  .life-img-cap {
    padding: var(--s-3) var(--s-4) var(--s-4);
    border-top: 1px solid var(--line);
  }
  .life-img-cap .cap-title { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: var(--s-1); }
  .life-img-cap .cap-desc  { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }

  /* ── Hana Stories preview band ── */
  .stories-section {
    background: rgba(255,255,255,0.72);
    border-top: 1px solid var(--hana-band-line);
    position: relative;
    z-index: 2;
  }
  .stories-inner {
    max-width: var(--max); margin: 0 auto;
    padding: var(--s-7) var(--s-6);
  }
  .stories-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: var(--s-6); gap: var(--s-5);
  }
  .stories-header-text .section-label-mono {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--ink-3); margin-bottom: var(--s-3);
  }
  .stories-header-text h2 {
    font-family: 'Geist', sans-serif;
    font-weight: 600; font-size: 26px;
    line-height: 1.2; letter-spacing: -0.018em;
    color: var(--ink); margin: 0 0 var(--s-2);
  }
  .stories-header-text p { font-size: 14px; color: var(--ink-2); margin: 0; max-width: 52ch; }

  .stories-header-link {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 12px; font-weight: 500;
    color: var(--hana-blue-deep); text-decoration: none;
    letter-spacing: -0.005em;
    padding: var(--s-2) var(--s-4);
    border: 1px solid var(--line); border-radius: 3px;
    background: var(--bg); white-space: nowrap;
    display: inline-flex; align-items: center; gap: var(--s-2);
    transition: all 0.12s; flex-shrink: 0;
  }
  .stories-header-link:hover {
    border-color: var(--hana-blue); background: var(--hana-blue-tint);
  }
  .stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
  }
  .story-card {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 3px;
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: border-color 0.15s;
  }
  .story-card:hover { border-color: var(--hana-blue); }
  .story-photo {
    aspect-ratio: 4/3;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-4); position: relative;
  }
  .story-photo svg { opacity: 0.45; }
  .story-photo .photo-label {
    position: absolute; bottom: var(--s-3); left: var(--s-3);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ink-4);
  }
  .story-body {
    padding: var(--s-5) var(--s-5) var(--s-4);
    display: flex; flex-direction: column; gap: var(--s-3);
    flex: 1;
  }
  .story-quote {
    font-size: 15px; line-height: 1.6; color: var(--ink);
    font-family: 'Geist', sans-serif; font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0; flex: 1;
  }
  .story-quote::before { content: '"'; color: var(--hana-blue); margin-right: 1px; }
  .story-quote::after  { content: '"'; color: var(--hana-blue); margin-left:  1px; }
  .story-meta {
    border-top: 1px solid var(--line-soft);
    padding-top: var(--s-3);
    display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  }
  .story-person .name { font-size: 13px; font-weight: 500; color: var(--ink); }
  .story-person .role { font-size: 12px; color: var(--ink-3); margin-top: 1px; }
  .story-place {
    display: flex; flex-direction: column;
    align-items: flex-end; gap: 6px;
  }
  .story-chip {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--ink-2); background: var(--surface);
    padding: 3px var(--s-2); border-radius: 2px;
    white-space: nowrap;
  }
  .story-year {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px; font-weight: 400;
    color: var(--ink-3); letter-spacing: -0.005em;
    white-space: nowrap;
  }
  .story-card .read-more {
    display: block; padding: var(--s-3) var(--s-5);
    border-top: 1px solid var(--line-soft);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px; font-weight: 500;
    color: var(--hana-blue); text-decoration: none;
    letter-spacing: -0.005em;
    transition: background 0.12s;
  }
  .story-card .read-more:hover { background: var(--hana-blue-tint); }

  @media (max-width: 820px) {
    .stories-grid { grid-template-columns: 1fr 1fr; }
    .story-card:last-child { grid-column: 1 / -1; }
  }
  @media (max-width: 560px) {
    .stories-grid { grid-template-columns: 1fr; }
    .story-card:last-child { grid-column: auto; }
  }

  /* ── Two-column layout (filter + jobs) ── */
  .layout-bg { background: var(--bg); border-top: 1px solid var(--line); }
  .layout {
    max-width: var(--max); margin: 0 auto;
    padding: var(--s-7) var(--s-6);
    display: grid; grid-template-columns: 220px 1fr; gap: var(--s-8);
  }

  /* No roles posted: no filter column, and a short message where the list goes */
  .layout.layout--single { grid-template-columns: minmax(0, 1fr); }
  .jobs-empty { margin: 0; padding: var(--s-5) 0; border-top: 1px solid var(--hana-blue-deep); border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--ink-2); }

  /* Filter sidebar */
  aside.filter-sidebar { position: sticky; top: 96px; align-self: start; }
  .filter-sidebar .label {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--ink-3);
    padding-bottom: var(--s-3); margin-bottom: var(--s-2);
    border-bottom: 1px solid var(--line);
  }
  .filter-group { margin-bottom: var(--s-5); }
  .filter-group-label {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--ink-3); margin-bottom: var(--s-3);
  }
  .filter-option {
    display: flex; align-items: flex-start; gap: var(--s-2);
    margin-bottom: var(--s-2); cursor: pointer;
  }
  .filter-option input[type="checkbox"] {
    width: 14px; height: 14px; margin-top: 2px;
    accent-color: var(--hana-blue); cursor: pointer; flex-shrink: 0;
  }
  .filter-option label {
    font-size: 13.5px; font-weight: 500; color: var(--ink-2);
    cursor: pointer; line-height: 1.35;
  }
  .filter-country {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 9px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--ink-4);
    margin: var(--s-4) 0 var(--s-2);
    padding-bottom: var(--s-1);
    border-bottom: 1px solid var(--line-soft);
  }
  .filter-country:first-child { margin-top: 0; }
  .filter-divider { border: none; border-top: 1px solid var(--line); margin: var(--s-3) 0 var(--s-4); }
  .filter-sidebar .footer-link {
    margin-top: var(--s-4); padding-top: var(--s-4);
    border-top: 1px solid var(--line-soft);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 11px; color: var(--ink-3); letter-spacing: -0.005em;
  }
  .filter-sidebar .footer-link a {
    color: var(--ink-2); text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: color 0.12s, border-color 0.12s;
  }
  .filter-sidebar .footer-link a:hover {
    color: var(--hana-blue-deep); border-bottom-color: var(--hana-blue);
  }

  /* Jobs content */
  main.jobs-content { min-width: 0; }
  .jobs-head { margin-bottom: var(--s-5); max-width: 720px; }
  .jobs-head .section-label {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--ink-3); margin-bottom: var(--s-3);
    display: flex; align-items: center; gap: var(--s-3);
  }
  .jobs-head .section-label .pip { color: var(--line); }
  .jobs-head h2 {
    font-family: 'Geist', sans-serif;
    font-weight: 600; font-size: 24px;
    line-height: 1.2; letter-spacing: -0.018em;
    color: var(--ink); margin: 0 0 var(--s-3);
  }
  .jobs-head .intro { font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; margin: 0; }

  /* Job cards */
  .jobs-list { display: flex; flex-direction: column; gap: 0; }
  .job-card {
    border-bottom: 1px solid var(--line);
    padding: var(--s-4) 0;
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--s-5);
    transition: background 0.1s;
  }
  .job-card:first-child { border-top: 1px solid var(--hana-blue-deep); }
  .job-card:hover {
    background: #F5F6F8;
    margin: 0 calc(-1 * var(--s-3));
    padding-left: var(--s-3); padding-right: var(--s-3);
  }
  .job-info { flex: 1; min-width: 0; }
  .job-title {
    font-family: 'Inter', sans-serif;
    font-size: 15px; font-weight: 500;
    color: var(--ink); letter-spacing: -0.005em;
    margin-bottom: var(--s-2);
  }
  .job-meta {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 11px; color: var(--ink-3);
    letter-spacing: -0.005em;
    display: flex; align-items: center; gap: 0;
    white-space: nowrap; flex-wrap: nowrap;
  }
  .job-meta .loc-tag {
    color: var(--hana-blue); font-weight: 500;
    margin-right: var(--s-3);
  }
  .job-meta .sep { margin: 0 var(--s-2); color: var(--line); }
  .job-apply {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 12px; font-weight: 500;
    color: var(--hana-blue-deep); text-decoration: none;
    letter-spacing: -0.005em;
    display: inline-flex; align-items: center; gap: 6px;
    padding: var(--s-2) var(--s-4);
    border: 1px solid var(--line); border-radius: 3px;
    background: var(--bg); white-space: nowrap; cursor: pointer;
    transition: border-color 0.12s, color 0.12s, background 0.12s;
    flex-shrink: 0;
  }
  .job-apply:hover { color: #fff; border-color: var(--hana-blue); background: var(--hana-blue); }

  /* ── Page end ── */
  .page-end {
    background: var(--hana-band);
    border-top: 1px solid var(--hana-band-line);
  }
  .page-end-inner {
    max-width: var(--max); margin: 0 auto;
    padding: var(--s-7) var(--s-6);
    display: grid; grid-template-columns: 1fr auto;
    align-items: center; gap: var(--s-5);
  }
  .page-end .pe-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--ink-3); margin-bottom: var(--s-2);
  }
  .page-end .pe-title {
    font-family: 'Geist', sans-serif;
    font-size: 20px; font-weight: 600;
    letter-spacing: -0.01em; color: var(--ink);
    margin: 0 0 var(--s-2);
  }
  .page-end .pe-desc { font-size: 14px; color: var(--ink-2); margin: 0; max-width: 56ch; }
  .page-end .pe-actions { display: flex; gap: var(--s-3); }
  .page-end a.btn {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 12px; font-weight: 500;
    color: var(--ink); text-decoration: none; letter-spacing: -0.005em;
    padding: var(--s-3) var(--s-4);
    border: 1px solid var(--line); border-radius: 3px;
    background: var(--bg);
    display: inline-flex; align-items: center; gap: var(--s-2);
    transition: all 0.12s; white-space: nowrap;
  }
  .page-end a.btn:hover {
    border-color: var(--hana-blue); color: var(--hana-blue-deep); background: var(--hana-blue-tint);
  }
  .page-end a.btn.primary {
    background: var(--ink); border-color: var(--ink); color: var(--bg);
  }
  .page-end a.btn.primary:hover {
    background: var(--hana-blue); border-color: var(--hana-blue);
  }

  /* Footer */
  .urlhint {
    max-width: var(--max); margin: 0 auto;
    padding: var(--s-4) var(--s-6) var(--s-5);
    color: var(--ink-3);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 11px; letter-spacing: -0.005em;
  }
  .footer-placeholder {
    background: var(--surface); border-top: 1px solid var(--line);
    color: var(--ink-3);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 12px; letter-spacing: -0.005em;
    text-align: center; padding: var(--s-7) var(--s-6);
  }

  /* Responsive */
  @media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; }
    .photo-stack { display: none; }
    .layout { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-5) var(--s-5) var(--s-7); }
    aside.filter-sidebar { position: relative; top: 0; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .ceo-inner { grid-template-columns: 1fr; }
    .ceo-photo { display: none; }
    .page-end-inner { grid-template-columns: 1fr; }
    .subbar-inner { flex-wrap: wrap; gap: var(--s-3); }
    .life-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 640px) {
    .topnav { display: none; }
    .hero h1 { font-size: 30px; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .job-card { flex-direction: column; align-items: flex-start; }
    .job-apply { align-self: flex-start; }
    .life-grid { grid-template-columns: 1fr; }
  }

/* ── Layout fixes (21 Oct 2026) ── */
/* Hero stats two by two, so no stat sits alone on a second row */
.hero .stats-inner { display: grid; grid-template-columns: repeat(2, max-content); justify-content: start; column-gap: var(--s-6); row-gap: var(--s-4); }
.hero .stat:not(:last-child) { padding-right: 0; border-right: none; }
.hero .stat:nth-child(odd) { padding-right: var(--s-6); border-right: 1px solid rgba(255,255,255,0.16); }
/* Story photos are 708 × 496; a 4:3 frame cropped the quote text at both sides */
.story-photo { aspect-ratio: 10 / 7; }
/* "Life at" location tabs: five equal boxes in one row from 768px (a long label wraps and
   every box in the row takes the same height); on phones they stack, one full-width box per
   row with the label on the left edge. Two per row left Jiaxing alone on the last row and
   gave the first row a different height. */
.life-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.life-tab { display: flex; align-items: center; justify-content: center; white-space: normal; line-height: 1.35; }
@media (max-width: 767px) {
  .life-tabs { grid-template-columns: minmax(0, 1fr); }
  .life-tab { justify-content: flex-start; text-align: left; padding: 12px 16px; }
}
@media (max-width: 640px) {
  .hero .stats-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-4); }
  .hero .stat:nth-child(odd) { padding-right: var(--s-4); }
  .stories-header { flex-direction: column; align-items: flex-start; }
  .jobs-head .section-label { flex-wrap: wrap; row-gap: 4px; }
}

/* ── USA roles link (23 Nov 2026): Ohio roles live on hanarfid.com ── */
.us-roles {
  margin-top: var(--s-6);
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--line); border-left: 3px solid var(--hana-blue); border-radius: 4px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
}
.us-roles-info { flex: 1; min-width: 0; }
.us-roles .job-meta { white-space: normal; flex-wrap: wrap; }
.filter-external a {
  font-size: 13.5px; font-weight: 500; color: var(--hana-blue-deep); line-height: 1.35;
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
  padding-left: 22px;
}
.filter-external a:hover { color: var(--hana-blue); text-decoration: underline; }
@media (max-width: 640px) {
  .us-roles { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .job-meta { white-space: normal; flex-wrap: wrap; row-gap: 4px; }
}

/* Roles recruiting ahead of a future start date (23 Nov 2026) */
.job-start { font-size: 13px; font-weight: 500; color: var(--hana-blue-deep); margin: -4px 0 var(--s-2); }

/* ── Role filters (27 Nov 2026): counts, no-match line, collapsible on phones and tablets ── */
.filter-count {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 500; color: var(--ink-4); margin-left: 4px;
}
.jobs-nomatch a { color: var(--hana-blue); }
.filter-toggle { display: none; }
@media (max-width: 960px) {
  .filter-sidebar .label { display: none; }
  .filter-toggle {
    display: flex; align-items: center; gap: var(--s-2); width: 100%;
    padding: 12px 16px; border: 1px solid var(--line); border-radius: 4px;
    background: var(--surface, #fff); color: var(--ink); cursor: pointer;
    font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; text-align: left;
  }
  .filter-toggle-state {
    margin-left: auto; font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 11px; font-weight: 500; color: var(--hana-blue);
  }
  .filter-toggle svg { flex-shrink: 0; transition: transform .15s; }
  .filter-toggle-state:empty + svg { margin-left: auto; }
  .filter-sidebar.open .filter-toggle svg { transform: rotate(180deg); }
  .filter-body { display: none; padding: var(--s-4) var(--s-1) 0; }
  .filter-sidebar.open .filter-body { display: block; }
}

/* ── Roles grouped by location (27 Nov 2026) ── */
.job-group + .job-group { margin-top: var(--s-6); }
.job-group-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3);
  margin: 0; padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--hana-blue-deep);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--hana-blue-deep);
}
.job-group-count { font-weight: 500; color: var(--ink-3); letter-spacing: 0.06em; }
/* Collapsible location groups: the heading is the toggle */
summary.job-group-head { cursor: pointer; list-style: none; padding-top: var(--s-2); }
summary.job-group-head::-webkit-details-marker { display: none; }
summary.job-group-head > span:first-child { margin-right: auto; }
.job-group-chev { flex-shrink: 0; align-self: center; color: var(--hana-blue-deep); transition: transform .15s; }
.job-group:not([open]) .job-group-chev { transform: rotate(-90deg); }
summary.job-group-head:hover > span:first-child { color: var(--hana-blue); }
summary.job-group-head:focus-visible { outline: 2px solid var(--hana-blue); outline-offset: 2px; }


/* ── Hear from our team: sideways carousel (Dec 2026) ── */
.stories-carousel { position: relative; }
.stories-grid.stories-track {
  display: flex; gap: var(--s-4);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.stories-track::-webkit-scrollbar { display: none; }
.stories-track:focus-visible { outline: 2px solid var(--hana-blue); outline-offset: 4px; }
.stories-track .story-card { flex: 0 0 calc((100% - 2 * var(--s-4)) / 3); scroll-snap-align: start; }
.stories-carousel .scroll-arrow { top: calc((100% - 58px) / 2); width: 36px; height: 36px; font-size: 22px; }
.stories-carousel .scroll-arrow-left  { left: calc(-1 * var(--s-2)); }
.stories-carousel .scroll-arrow-right { right: calc(-1 * var(--s-2)); }
@media (max-width: 820px) {
  .stories-track .story-card { flex-basis: calc((100% - var(--s-4)) / 2); }
  .stories-track .story-card:last-child { grid-column: auto; }
}
@media (max-width: 560px) {
  .stories-track .story-card { flex-basis: 86%; }
  .stories-carousel .scroll-arrow-left  { left: var(--s-2); }
  .stories-carousel .scroll-arrow-right { right: var(--s-2); }
}
/* the quote was removed from these cards, so the meta row needs no divider */
.stories-track .story-meta { border-top: none; padding-top: 0; align-items: flex-start; }
/* touch screens have no hover: keep the expand button visible */
@media (hover: none) { .stories-track .story-photo .zoom-btn { opacity: 1; } }
