:root{
    --bg:#F0F8FB;
    --bg-raised:#F0F8FB;
    --ink:#122E3A;
    --ink-soft:#5C7C87;
    --rust:#0092B0;
    --rust-dark:#00728A;
    --cyan:#04D9FF;
    --teal:#0B4A52;
    --amber:#C98A1A;

    --sh-light: 8px 8px 16px var(--sd), -8px -8px 16px var(--sl);
    --sh-light-sm: 5px 5px 10px var(--sd), -5px -5px 10px var(--sl);
    --sh-inset: inset 5px 5px 10px var(--sd), inset -5px -5px 10px var(--sl);
    --sh-inset-deep: inset 7px 7px 14px var(--sd), inset -7px -7px 14px var(--sl);
    --sd:#D1E7EE;
    --sl:#FFFFFF;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Inter', sans-serif;
    background:var(--bg);
    color:var(--ink);
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3{font-family:'Fraunces', serif; font-weight:500; letter-spacing:-0.01em;}
  a{color:inherit; text-decoration:none;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
  .mono{font-family:'IBM Plex Mono', monospace;}
  .eyebrow{
    font-family:'IBM Plex Mono', monospace;
    font-size:12px;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--rust);
  }

  /* ---------- Header ---------- */
  header{
    position:sticky; top:0; background:var(--bg);
    z-index:50;
    box-shadow:0 6px 14px -10px var(--sd);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:18px 0;
  }
  .logo{
    display:flex; align-items:center; gap:12px;
    font-family:'Fraunces', serif; font-size:22px; font-weight:600;
  }
  .logo-img{
    height:38px; width:auto; display:block;
  }
  .footer-brand .logo-img{
    height:34px;
  }
  .logo-mark{
    width:36px; height:36px; border-radius:12px;
    display:flex; align-items:center; justify-content:center;
    font-family:'IBM Plex Mono', monospace; font-size:14px; font-weight:500;
    box-shadow:var(--sh-light-sm);
    color:var(--rust);
  }
  .nav-links{display:flex; gap:8px; font-size:14px;}
  .nav-links a{color:var(--ink-soft); padding:10px 16px; border-radius:12px; transition:box-shadow .15s ease, color .15s ease;}
  .nav-links a:hover{color:var(--ink); box-shadow:var(--sh-inset);}
  .nav-right{display:flex; align-items:center; gap:14px; font-size:14px;}
  .nav-right > a:first-child{color:var(--ink-soft); padding:10px 14px;}
  .menu-toggle{
    display:none; width:40px; height:40px; border-radius:12px;
    align-items:center; justify-content:center; flex-shrink:0;
    background:var(--bg); box-shadow:var(--sh-light-sm); border:none; cursor:pointer;
  }
  .menu-toggle span{display:block; width:16px; height:2px; background:var(--ink); position:relative;}
  .menu-toggle span::before, .menu-toggle span::after{content:""; position:absolute; left:0; width:16px; height:2px; background:var(--ink);}
  .menu-toggle span::before{top:-5px;}
  .menu-toggle span::after{top:5px;}

  .btn{
    display:inline-block;
    font-family:'IBM Plex Mono', monospace;
    font-size:12.5px; letter-spacing:0.04em; text-transform:uppercase;
    padding:13px 24px;
    border:none;
    border-radius:14px;
    background:var(--bg);
    color:var(--ink);
    cursor:pointer;
    box-shadow:var(--sh-light-sm);
    transition:box-shadow .15s ease, transform .1s ease;
  }
  .btn:hover{box-shadow:var(--sh-light);}
  .btn:active{box-shadow:var(--sh-inset); transform:translateY(1px);}
  .btn-solid{color:var(--ink);}
  .btn-rust{
    background:var(--cyan); color:var(--ink); font-weight:500;
    box-shadow:5px 5px 10px var(--sd), -5px -5px 10px var(--sl), 0 0 0 1px rgba(4,217,255,0.25);
  }
  .btn-rust:hover{box-shadow:7px 7px 14px var(--sd), -7px -7px 14px var(--sl), 0 0 0 1px rgba(4,217,255,0.35);}
  .btn-rust:active{box-shadow:inset 4px 4px 8px rgba(0,114,138,0.35), inset -4px -4px 8px rgba(255,255,255,0.6);}

  /* ---------- Hero ---------- */
  .hero{padding:76px 0 68px;}
  .hero-grid{display:grid; grid-template-columns:1.05fr 0.95fr; gap:64px; align-items:start;}
  .hero h1{font-size:56px; line-height:1.06; margin:18px 0 22px; max-width:560px;}
  .hero h1 em{font-style:normal; color:var(--rust);}
  .hero p.lead{font-size:17px; color:var(--ink-soft); max-width:440px; margin-bottom:32px;}
  .hero-ctas{display:flex; gap:16px; margin-bottom:48px;}
  .hero-stats{display:flex; gap:20px;}
  .stat{
    border-radius:16px; padding:18px 20px; box-shadow:var(--sh-light-sm); flex:1;
  }
  .stat .num{font-family:'Fraunces', serif; font-size:24px; font-weight:600; color:var(--rust-dark);}
  .stat .label{font-size:11.5px; color:var(--ink-soft); font-family:'IBM Plex Mono', monospace; margin-top:4px;}

  /* Ticket stub search card, now a soft raised panel */
  .ticket{
    background:var(--bg);
    border-radius:28px;
    position:relative;
    padding:34px 34px 30px;
    box-shadow:var(--sh-light);
  }
  .punch{
    position:absolute;
    width:26px; height:26px;
    border-radius:50%;
    top:50%; transform:translateY(-50%);
    box-shadow:var(--sh-inset-deep), inset 0 0 0 2px rgba(4,217,255,0.18);
  }
  .punch.left{left:-13px;}
  .punch.right{right:-13px;}
  .ticket-perf{
    height:20px;
    margin:22px 0;
    border-radius:20px;
    box-shadow:var(--sh-inset);
    background:var(--bg);
  }
  .ticket-head{display:flex; justify-content:space-between; align-items:flex-start;}
  .ticket-head .stamp{
    border-radius:10px; color:var(--rust);
    font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.08em;
    padding:6px 12px; text-transform:uppercase;
    box-shadow:var(--sh-inset);
  }
  .ticket h3{font-size:20px; margin-bottom:2px;}
  .ticket-sub{font-size:13px; color:var(--ink-soft);}
  .field{margin-bottom:18px;}
  .field label{
    display:block; font-family:'IBM Plex Mono', monospace; font-size:11px;
    letter-spacing:0.08em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:8px;
  }
  .field input{
    width:100%; border:none; border-radius:14px;
    background:var(--bg); font-family:'Inter', sans-serif; font-size:15px;
    padding:14px 16px; color:var(--ink);
    box-shadow:var(--sh-inset);
  }
  .field input::placeholder{color:var(--ink-soft);}
  .field input:focus{outline:none; box-shadow:var(--sh-inset-deep);}
  .ticket .btn{width:100%; margin-top:8px; padding:15px; text-align:center;}
  .ticket-foot{
    display:flex; justify-content:space-between; margin-top:20px;
    font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--ink-soft);
  }

  /* ---------- Logo strip ---------- */
  .strip{padding:14px 0 46px;}
  .strip-inner{
    display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:24px;
    border-radius:20px; padding:22px 28px; box-shadow:var(--sh-inset);
  }
  .strip .eyebrow{margin-right:8px;}
  .strip-names{display:flex; gap:38px; flex-wrap:wrap;}
  .strip-names span{
    font-family:'Fraunces', serif; font-weight:600; font-size:18px; color:var(--ink-soft);
    letter-spacing:0.01em;
  }

  /* ---------- How it works ---------- */
  .section{padding:80px 0;}
  .section-head{max-width:560px; margin-bottom:52px;}
  .section-head h2{font-size:36px; margin-top:12px;}
  .section-head p{color:var(--ink-soft); font-size:15.5px; margin-top:10px;}

  .dossier{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
  .dossier-item{
    border-radius:22px; padding:32px 28px; background:var(--bg);
    box-shadow:var(--sh-light-sm);
    transition:box-shadow .2s ease;
  }
  .dossier-item:hover{box-shadow:var(--sh-light);}
  .dossier-item .idx-wrap{
    width:44px; height:44px; border-radius:14px; display:flex; align-items:center; justify-content:center;
    box-shadow:var(--sh-inset); margin-bottom:24px;
  }
  .dossier-item .idx{font-family:'IBM Plex Mono', monospace; font-size:13px; color:var(--rust); font-weight:500;}
  .dossier-item h3{font-size:19px; margin-bottom:8px;}
  .dossier-item p{font-size:14px; color:var(--ink-soft); margin-bottom:16px;}
  .dossier-item a{font-family:'IBM Plex Mono', monospace; font-size:12px; text-transform:uppercase; letter-spacing:0.06em; color:var(--rust);}

  /* ---------- Jobs ---------- */
  .jobs-bg{padding:6px 0 0;}
  .jobs-top{display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:40px; flex-wrap:wrap; gap:16px;}

  /* ---------- Filters ---------- */
  .filters{margin-bottom:34px;}
  .filter-dropdowns{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:16px;}
  .filter-dropdown{position:relative;}
  .dd-trigger{
    display:flex; align-items:center; gap:10px;
    padding:12px 18px; border-radius:16px;
    background:var(--bg); box-shadow:var(--sh-light-sm);
    font-size:14px; color:var(--ink); cursor:pointer;
    border:none; font-family:'Inter', sans-serif;
    transition:box-shadow .15s ease;
  }
  .dd-trigger:hover{box-shadow:var(--sh-light);}
  .filter-dropdown.open .dd-trigger{box-shadow:var(--sh-inset);}
  .dd-trigger .ico{
    width:26px; height:26px; border-radius:9px; flex-shrink:0;
    display:flex; align-items:center; justify-content:center; font-size:13px;
  }
  .dd-trigger .chev{margin-left:4px; color:var(--ink-soft); font-size:11px; transition:transform .15s ease;}
  .filter-dropdown.open .chev{transform:rotate(180deg);}
  .ico-employment{background:#FDE7DC; color:#B5502E;}
  .ico-social{background:#E4E6FB; color:#4A4EBF;}
  .ico-software{background:#DDF0FB; color:var(--rust-dark);}
  .ico-lang{background:#DEF3EA; color:#1C7A56;}

  .dropdown-panel{
    display:none;
    position:absolute; top:calc(100% + 10px); left:0; min-width:210px;
    background:var(--bg); border-radius:16px; padding:12px;
    box-shadow:var(--sh-light); z-index:60;
  }
  .filter-dropdown.open .dropdown-panel{display:block;}
  .dropdown-panel label{
    display:flex; align-items:center; gap:10px;
    padding:9px 8px; font-size:13.5px; color:var(--ink);
    cursor:pointer; border-radius:10px;
  }
  .dropdown-panel label:hover{box-shadow:var(--sh-inset);}
  .dropdown-panel input[type="checkbox"]{width:16px; height:16px; accent-color:var(--rust-dark); cursor:pointer;}
  .panel-clear{
    margin-top:6px; padding-top:10px; border-top:1px dashed var(--sd);
    font-family:'IBM Plex Mono', monospace; font-size:10.5px; text-transform:uppercase; letter-spacing:0.05em;
    color:var(--rust-dark); cursor:pointer; text-align:right;
  }
  .sort-option{
    padding:10px 10px; font-size:13.5px; color:var(--ink); border-radius:10px; cursor:pointer;
  }
  .sort-option:hover{box-shadow:var(--sh-inset);}

  .filter-tags{display:flex; gap:10px; flex-wrap:wrap;}
  .filter-tag{
    display:flex; align-items:center; gap:8px;
    padding:9px 16px 9px 12px; border-radius:20px;
    background:var(--bg); box-shadow:var(--sh-light-sm);
    font-size:13.5px; color:var(--ink-soft); cursor:pointer;
    transition:box-shadow .15s ease, color .15s ease;
    border:none; font-family:'Inter', sans-serif;
  }
  .filter-tag:hover{box-shadow:var(--sh-light);}
  .filter-tag .emo{
    width:22px; height:22px; border-radius:50%; background:#fff;
    display:flex; align-items:center; justify-content:center; font-size:11px;
    box-shadow:var(--sh-inset);
  }
  .filter-tag.active{
    color:var(--ink); font-weight:500;
    box-shadow:var(--sh-inset), 0 0 0 1px rgba(4,217,255,0.3);
  }
  .filter-tag.active .emo{background:var(--cyan); box-shadow:none;}

  .sort-row{display:flex; justify-content:flex-end; margin-top:22px;}
  .sort-trigger{
    padding:9px 10px 9px 16px; border-radius:16px;
    box-shadow:var(--sh-inset) !important;
    font-size:13.5px; color:var(--ink-soft);
  }
  .sort-trigger b{color:var(--ink); font-weight:500;}
  .sort-trigger .tag-new{
    font-family:'IBM Plex Mono', monospace; font-size:9.5px; letter-spacing:0.04em;
    background:var(--cyan); color:var(--ink); padding:3px 7px; border-radius:8px;
  }
  #sortPill .dropdown-panel{left:auto; right:0; min-width:170px;}

  .results-line{text-align:right;}
  .results-line .eyebrow{display:block; margin-bottom:8px;}
  #clearAllBtn{padding:11px 18px; font-size:11.5px;}

  .empty-state{
    display:none; text-align:center; padding:56px 24px; border-radius:22px;
    box-shadow:var(--sh-inset); margin-top:8px;
  }
  .empty-state h3{margin-bottom:8px;}
  .empty-state p{color:var(--ink-soft); font-size:14px; margin-bottom:18px;}


  .jobs-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:24px;}
  .job-card{
    background:var(--bg); border-radius:22px;
    padding:24px 22px 22px; position:relative;
    box-shadow:var(--sh-light-sm);
    transition:box-shadow .2s ease;
  }
  .job-card:hover{box-shadow:var(--sh-light);}
  .job-top{display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:18px;}
  .job-badge{
    font-family:'IBM Plex Mono', monospace; font-size:10.5px; text-transform:uppercase; letter-spacing:0.07em;
    padding:5px 11px; border-radius:20px; color:var(--teal);
    box-shadow:var(--sh-inset);
  }
  .job-badge.featured{color:var(--rust);}
  .job-card h3{font-size:18px; margin-bottom:4px;}
  .job-co{font-size:13.5px; color:var(--ink-soft); margin-bottom:18px;}
  .job-meta{
    border-radius:14px; padding:14px 16px; box-shadow:var(--sh-inset);
    display:flex; flex-direction:column; gap:8px;
  }
  .job-meta div{display:flex; justify-content:space-between; font-size:12.5px; font-family:'IBM Plex Mono', monospace; color:var(--ink-soft);}
  .job-meta div span:last-child{color:var(--ink);}
  .job-apply{
    display:block; text-align:center; margin-top:18px; padding:12px;
    font-family:'IBM Plex Mono', monospace; font-size:11.5px; text-transform:uppercase; letter-spacing:0.06em;
    border-radius:14px; color:var(--ink);
    box-shadow:var(--sh-light-sm);
    transition:box-shadow .15s ease;
  }
  .job-apply:hover{box-shadow:var(--sh-inset);}
  .jobs-more{text-align:center; margin-top:40px;}

  /* ---------- Testimonial ---------- */
  .quote-section{padding:88px 0;}
  .quote-grid{display:grid; grid-template-columns:0.4fr 0.6fr; gap:60px; align-items:center;}
  .quote-mark{font-family:'Fraunces', serif; font-size:100px; color:var(--rust); line-height:0.6; margin-bottom:8px;}
  .quote-text{font-family:'Fraunces', serif; font-size:26px; line-height:1.4; margin-bottom:22px;}
  .quote-person{display:flex; align-items:center; gap:12px;}
  .quote-avatar{width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono', monospace; font-size:13px; color:var(--teal); box-shadow:var(--sh-light-sm);}
  .quote-person .who{font-size:13.5px; color:var(--ink-soft);}
  .quote-person .who b{color:var(--ink); font-weight:500;}

  .quote-side{border-radius:22px; padding:32px; box-shadow:var(--sh-inset);}
  .quote-stats{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
  .quote-stats > div{border-radius:16px; padding:16px 18px; box-shadow:var(--sh-light-sm);}
  .quote-stats .num{font-family:'Fraunces', serif; font-size:28px; color:var(--rust-dark);}
  .quote-stats .label{font-family:'IBM Plex Mono', monospace; font-size:11.5px; color:var(--ink-soft); margin-top:4px;}

  /* ---------- CTA banner ---------- */
  .cta-band{padding:20px 0 80px;}
  .cta-band-inner{
    background:var(--ink); color:var(--bg); padding:64px 40px; text-align:center;
    border-radius:32px;
    box-shadow: 10px 10px 22px var(--sd), -6px -6px 18px var(--sl);
  }
  .cta-band h2{color:var(--bg); font-size:34px; margin-bottom:14px;}
  .cta-band p{color:#AAB2AC; margin-bottom:28px;}
  .cta-band .btn{
    background:var(--cyan); color:var(--ink);
    box-shadow:6px 6px 14px #041018, -6px -6px 14px #1F5563, 0 0 24px rgba(4,217,255,0.35);
  }
  .cta-band .btn:hover{box-shadow:8px 8px 18px #041018, -8px -8px 18px #1F5563, 0 0 30px rgba(4,217,255,0.45);}
  .cta-band .btn:active{box-shadow:inset 5px 5px 10px rgba(0,0,0,0.3), inset -5px -5px 10px rgba(255,255,255,0.15);}

  /* ---------- Footer ---------- */
  footer{padding:0 0 50px;}
  .footer-top{display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px; margin-bottom:44px;}
  .footer-brand p{font-size:13.5px; color:var(--ink-soft); margin-top:14px; max-width:260px;}
  footer h4{font-family:'IBM Plex Mono', monospace; font-size:11.5px; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:16px; color:var(--ink-soft);}
  footer ul{list-style:none;}
  footer li{margin-bottom:10px; font-size:14px;}
  footer li a:hover{color:var(--rust);}
  .footer-bottom{
    border-radius:16px; padding:16px 24px; box-shadow:var(--sh-inset);
    display:flex; justify-content:space-between; font-family:'IBM Plex Mono', monospace; font-size:11.5px; color:var(--ink-soft); flex-wrap:wrap; gap:10px;
  }

  @media (max-width:900px){
    .hero-grid, .quote-grid, .footer-top{grid-template-columns:1fr;}
    .dossier, .jobs-grid{grid-template-columns:1fr;}
    .nav-links{
      display:none; position:absolute; top:100%; left:0; right:0;
      flex-direction:column; background:var(--bg); padding:14px 32px 20px;
      box-shadow:var(--sh-light); gap:4px; border-radius:0 0 20px 20px;
    }
    .nav-links.open{display:flex;}
    .nav{position:relative;}
    .menu-toggle{display:flex;}
    .hero h1{font-size:38px;}
    .hero-stats{flex-direction:column;}
    .cta-band-inner{padding:48px 24px;}
    .filter-dropdown{flex:1 1 45%;}
    .sort-row{justify-content:flex-start;}
    .results-line{text-align:left;}
    #sortPill .dropdown-panel{left:0; right:auto;}
  }

  /* ---------- Modals ---------- */
  .modal-overlay{
    display:none; position:fixed; inset:0; background:rgba(18,46,58,0.45);
    z-index:200; align-items:center; justify-content:center; padding:24px;
  }
  .modal-overlay.open{display:flex;}
  .modal{
    background:var(--bg); border-radius:26px; padding:34px; width:100%; max-width:480px;
    box-shadow:var(--sh-light); max-height:88vh; overflow-y:auto; position:relative;
  }
  .modal.wide{max-width:620px;}
  .modal-close{
    position:absolute; top:20px; right:20px; width:34px; height:34px; border-radius:12px;
    border:none; background:var(--bg); box-shadow:var(--sh-light-sm); cursor:pointer; font-size:15px; color:var(--ink-soft);
  }
  .modal-close:active{box-shadow:var(--sh-inset);}
  .modal h3{font-size:22px; margin-bottom:6px;}
  .modal .modal-sub{font-size:13.5px; color:var(--ink-soft); margin-bottom:22px;}
  .modal .field textarea{
    width:100%; border:none; border-radius:14px; background:var(--bg); font-family:'Inter', sans-serif;
    font-size:14.5px; padding:14px 16px; color:var(--ink); box-shadow:var(--sh-inset); resize:vertical; min-height:90px;
  }
  .modal .field select{
    width:100%; border:none; border-radius:14px; background:var(--bg); font-family:'Inter', sans-serif;
    font-size:15px; padding:14px 16px; color:var(--ink); box-shadow:var(--sh-inset); appearance:none;
  }
  .field-row{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
  .modal-error{color:#B5502E; font-size:12.5px; margin:-8px 0 14px; display:none;}
  .modal-error.show{display:block;}
  .modal-note{font-size:12px; color:var(--ink-soft); background:var(--bg); box-shadow:var(--sh-inset); border-radius:12px; padding:12px 14px; margin-bottom:18px;}
  .app-track-item{border-radius:16px; padding:14px 16px; box-shadow:var(--sh-inset-deep); margin-bottom:10px;}
  .app-track-item h4{font-size:15px; margin-bottom:2px;}
  .app-track-item .meta{font-size:12px; color:var(--ink-soft); display:flex; justify-content:space-between; margin-top:6px; font-family:'IBM Plex Mono', monospace;}
  .app-track-item .status{padding:3px 10px; border-radius:20px; background:var(--bg); box-shadow:var(--sh-inset); color:var(--rust);}
  .empty-track{text-align:center; padding:30px 10px; color:var(--ink-soft); font-size:14px;}
  .profile-pill{display:flex; align-items:center; gap:8px; padding:9px 14px 9px 8px; border-radius:20px; box-shadow:var(--sh-inset); font-size:13.5px; cursor:pointer;}
  .profile-pill .av{width:24px; height:24px; border-radius:50%; background:var(--cyan); display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono', monospace; font-size:10px;}
  .toast{
    position:fixed; bottom:26px; left:50%; transform:translateX(-50%) translateY(12px);
    background:var(--ink); color:var(--bg); padding:14px 22px; border-radius:16px; font-size:13.5px;
    box-shadow:0 10px 24px rgba(0,0,0,0.25); z-index:300; opacity:0; pointer-events:none; transition:opacity .2s ease, transform .2s ease;
  }
  .toast.show{opacity:1; transform:translateX(-50%) translateY(0);}
  .db-badge{
    position:fixed; bottom:18px; right:18px; font-family:'IBM Plex Mono', monospace; font-size:10.5px;
    color:var(--ink-soft); background:var(--bg); box-shadow:var(--sh-light-sm); padding:8px 12px; border-radius:12px; z-index:40;
  }

/* ---------------- multi-page site additions ---------------- */
.nav-links a.nav-current{color:var(--ink); box-shadow:var(--sh-inset);}

.page-hero{padding:56px 0 42px;}
.page-hero h1{font-size:40px; margin:14px 0 12px; max-width:640px;}
.page-hero p{color:var(--ink-soft); font-size:15.5px; max-width:520px;}

/* company cards */
.company-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.company-card{background:var(--bg); border-radius:22px; padding:28px 24px; box-shadow:var(--sh-light-sm); transition:box-shadow .2s ease;}
.company-card:hover{box-shadow:var(--sh-light);}
.company-mark{width:52px; height:52px; border-radius:16px; display:flex; align-items:center; justify-content:center; font-family:'Fraunces',serif; font-weight:600; font-size:20px; color:var(--rust-dark); box-shadow:var(--sh-inset); margin-bottom:18px;}
.company-card h3{font-size:18px; margin-bottom:4px;}
.company-card .co-sub{font-size:13px; color:var(--ink-soft); margin-bottom:16px;}
.company-card .co-stat{font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--rust); margin-bottom:16px;}
.company-card a.btn{width:100%; text-align:center; padding:12px;}

/* advice */
.advice-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:24px;}
.advice-card{background:var(--bg); border-radius:22px; padding:30px 26px; box-shadow:var(--sh-light-sm);}
.advice-card .eyebrow{display:block; margin-bottom:12px;}
.advice-card h3{font-size:20px; margin-bottom:10px;}
.advice-card p{color:var(--ink-soft); font-size:14.5px; line-height:1.65;}

/* login / account pages */
.auth-wrap{max-width:440px; margin:0 auto; padding:64px 0 100px;}
.auth-card{background:var(--bg); border-radius:28px; padding:40px 36px; box-shadow:var(--sh-light);}
.auth-card h1{font-size:26px; margin-bottom:8px;}
.auth-card .auth-sub{color:var(--ink-soft); font-size:14px; margin-bottom:28px;}
.social-btn{
  width:100%; display:flex; align-items:center; justify-content:center; gap:12px;
  padding:13px; border-radius:14px; background:var(--bg); box-shadow:var(--sh-light-sm);
  font-family:'Inter',sans-serif; font-size:14px; font-weight:500; color:var(--ink); cursor:pointer; border:none;
  margin-bottom:12px; transition:box-shadow .15s ease;
}
.social-btn:hover{box-shadow:var(--sh-light);}
.social-btn:active{box-shadow:var(--sh-inset);}
.social-icon{width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:700; color:#fff; flex-shrink:0;}
.social-icon.google{background:#4285F4;}
.social-icon.facebook{background:#1877F2;}
.auth-divider{display:flex; align-items:center; gap:12px; margin:22px 0; font-size:11.5px; color:var(--ink-soft); font-family:'IBM Plex Mono',monospace; text-transform:uppercase; letter-spacing:.06em;}
.auth-divider::before, .auth-divider::after{content:""; flex:1; height:1px; background:var(--sd);}
.auth-note{font-size:12px; color:var(--ink-soft); margin-top:18px; text-align:center; line-height:1.6;}
.auth-switch{text-align:center; margin-top:20px; font-size:13.5px; color:var(--ink-soft);}
.auth-switch a{color:var(--rust); font-weight:500;}
.simulated-tag{
  display:inline-block; font-family:'IBM Plex Mono',monospace; font-size:9.5px; text-transform:uppercase;
  letter-spacing:.05em; background:var(--bg); box-shadow:var(--sh-inset); color:var(--ink-soft); padding:3px 8px; border-radius:8px; margin-left:8px; vertical-align:middle;
}

.account-grid{display:grid; grid-template-columns:1fr 1fr; gap:24px;}
.account-panel{background:var(--bg); border-radius:22px; padding:28px 26px; box-shadow:var(--sh-light-sm);}
.account-panel h3{font-size:17px; margin-bottom:16px;}
.account-avatar{width:64px; height:64px; border-radius:50%; background:var(--cyan); display:flex; align-items:center; justify-content:center; font-family:'Fraunces',serif; font-size:24px; font-weight:600; color:var(--ink); margin-bottom:16px;}

@media (max-width:900px){
  .company-grid, .advice-grid, .account-grid{grid-template-columns:1fr;}
}

/* ---------- Messaging (jobseeker chat + admin inbox) ---------- */

.chat-shell{
  display:grid; grid-template-columns:300px 1fr; gap:24px;
  height:calc(100vh - 300px); min-height:520px;
}
.chat-shell.chat-shell-solo{grid-template-columns:1fr; max-width:680px; margin:0 auto;}

.convo-list{
  background:var(--bg); border-radius:22px; box-shadow:var(--sh-light-sm);
  overflow-y:auto; padding:10px;
}
.convo-item{
  display:flex; align-items:center; gap:12px; padding:12px 12px; border-radius:14px;
  cursor:pointer; transition:box-shadow .15s ease; margin-bottom:4px;
}
.convo-item:hover{box-shadow:var(--sh-inset);}
.convo-item.active{box-shadow:var(--sh-inset-deep);}
.convo-avatar{
  width:40px; height:40px; border-radius:50%; background:var(--cyan); flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces',serif; font-weight:600; color:var(--ink); font-size:15px;
}
.convo-meta{min-width:0; flex:1;}
.convo-meta .convo-name{font-size:14px; font-weight:500; display:flex; align-items:center; gap:6px;}
.convo-meta .convo-snippet{font-size:12.5px; color:var(--ink-soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.convo-unread{
  background:var(--rust); color:#fff; font-family:'IBM Plex Mono',monospace; font-size:10.5px;
  min-width:18px; height:18px; border-radius:9px; display:inline-flex; align-items:center; justify-content:center;
  padding:0 5px; flex-shrink:0;
}
.convo-empty{padding:26px 16px; color:var(--ink-soft); font-size:13.5px; text-align:center;}

.chat-panel{
  background:var(--bg); border-radius:22px; box-shadow:var(--sh-light-sm);
  display:flex; flex-direction:column; overflow:hidden; min-height:0;
}
.chat-panel-head{
  padding:18px 22px; box-shadow:0 4px 10px -8px var(--sd); flex-shrink:0;
}
.chat-panel-head h3{font-size:16px; margin-bottom:2px;}
.chat-panel-head p{font-size:12.5px; color:var(--ink-soft);}

.chat-thread{flex:1; overflow-y:auto; padding:22px; display:flex; flex-direction:column; gap:12px;}
.chat-empty{margin:auto; text-align:center; color:var(--ink-soft); font-size:14px; max-width:320px;}

.msg-row{display:flex; max-width:78%;}
.msg-row.from-user{align-self:flex-start;}
.msg-row.from-admin{align-self:flex-end; flex-direction:row-reverse;}
.msg-bubble{
  border-radius:16px; padding:11px 15px; font-size:14px; line-height:1.5;
  word-wrap:break-word; white-space:pre-wrap;
}
.msg-row.from-user .msg-bubble{background:var(--bg); box-shadow:var(--sh-inset); border-bottom-left-radius:4px;}
.msg-row.from-admin .msg-bubble{background:var(--rust); color:#fff; border-bottom-right-radius:4px;}
.msg-time{
  display:block; font-family:'IBM Plex Mono',monospace; font-size:10.5px; margin-top:5px; opacity:.65;
}

.chat-input-row{
  display:flex; gap:10px; padding:16px 20px; box-shadow:0 -4px 10px -8px var(--sd); flex-shrink:0;
}
.chat-input-row textarea{
  flex:1; resize:none; border:none; border-radius:14px; padding:12px 14px;
  background:var(--bg); box-shadow:var(--sh-inset); color:var(--ink);
  font-family:'Inter',sans-serif; font-size:14px; line-height:1.4; max-height:120px;
}
.chat-input-row textarea:focus{outline:none; box-shadow:var(--sh-inset-deep);}
.chat-input-row .btn{align-self:flex-end;}

.admin-console-header{
  display:flex; align-items:center; justify-content:space-between; padding:18px 0;
}
.admin-badge{
  font-family:'IBM Plex Mono',monospace; font-size:11px; text-transform:uppercase; letter-spacing:.06em;
  color:var(--rust); background:var(--bg); box-shadow:var(--sh-inset); padding:5px 10px; border-radius:10px;
}

@media (max-width:900px){
  .chat-shell{grid-template-columns:1fr; height:auto;}
  .convo-list{max-height:220px;}
  .chat-panel{height:60vh;}
}
