/* Auto-generated from styles.css by generate_job_pages.py.
 * DO NOT EDIT — changes to styles.css regenerate this file.
 * Job pages link this slimmed bundle instead of the full sheet,
 * which keeps job-page CSS-on-wire ~80% smaller. */
html.js .site-header { animation: none; opacity: 0; }
:root {
  /* Accent — liquid amber */
  --amber:       #E8A030;
  --amber-dim:   #C88020;
  --amber-bg:    rgba(232, 160, 48, 0.09);
  --amber-glow:  rgba(232, 160, 48, 0.22);

  /* Legacy compat aliases (JS-injected HTML may reference these) */
  --accent:      #E8A030;
  --accent-dark: #C88020;
  --accent-bg:   rgba(232, 160, 48, 0.09);
  --accent-ring: rgba(232, 160, 48, 0.22);

  /* Backgrounds */
  --bg:          #09080C;
  --surface:     #100E17;
  --surface-2:   #161222;
  --surface-3:   #1E1A2E;

  /* Borders */
  --border:        rgba(255, 255, 255, 0.07);
  --border-light:  rgba(255, 255, 255, 0.04);
  --border-hover:  rgba(255, 255, 255, 0.14);

  /* Text — warm off-white */
  --text-primary:   #F0EBE3;
  --text-secondary: rgba(240, 235, 227, 0.78);
  --text-muted:     rgba(240, 235, 227, 0.50);

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.60);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.75);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* Layout */
  --topbar-h:    58px;
  --content-max: 880px;

  /* Spacing scale — overridden at breakpoints */
  --content-pad-x:  16px;
  --job-pad-y:      14px;
  --job-pad-x:      16px;
  --job-font:       15px;
  --search-pad:     10px 14px;
  --search-font:    14.5px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) {
html { scroll-behavior: smooth; }
}
html { background: var(--bg); }
body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* Transparent so #bg-shader (fixed, z-index:-1) shows through. The <html>
     background above remains as a solid fallback if WebGL is unavailable. */
  background: transparent;
  color: var(--text-primary);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site-header {
  background: rgba(16, 14, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--topbar-h);
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--content-max);
  padding: 0 24px;
  gap: 16px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-brand a {
  display: flex;
  align-items: center;
}
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.brand-logo {
  height: 28px;
  width: 28px;
  display: block;
  filter: invert(1);
  user-select: none;
  border-radius: 5px;
  flex-shrink: 0;
}
.brand-name {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.brand-tagline {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}
.header-top-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.theme-toggle-btn:hover {
  background: var(--surface-3);
  color: var(--text-secondary);
}
.theme-icon-day { display: block; }
.theme-icon-night { display: none; }
[data-theme="day"] .theme-icon-day { display: none; }
[data-theme="day"] .theme-icon-night { display: block; }
[data-theme="day"] {
  --amber:       #B8610A;
  --amber-dim:   #9A5108;
  --amber-bg:    rgba(184, 97, 10, 0.08);
  --amber-glow:  rgba(184, 97, 10, 0.18);

  --accent:      #B8610A;
  --accent-dark: #9A5108;
  --accent-bg:   rgba(184, 97, 10, 0.08);
  --accent-ring: rgba(184, 97, 10, 0.18);

  --bg:          #F6F4EF;
  --surface:     #FFFFFF;
  --surface-2:   #ECEAE3;
  --surface-3:   #E0DDD5;

  --border:        rgba(0, 0, 0, 0.08);
  --border-light:  rgba(0, 0, 0, 0.05);
  --border-hover:  rgba(0, 0, 0, 0.18);

  --text-primary:   #1A1510;
  --text-secondary: #6B5E4A;
  --text-muted:     #9E8E78;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.14);
}
[data-theme="day"] .brand-logo { filter: none; }
[data-theme="day"] .site-header {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
@media (min-width: 1024px) {
:root {
    --topbar-h:      68px;
    --content-max:   1140px;
    --content-pad-x: 32px;
    --job-pad-y:     18px;
    --job-pad-x:     20px;
    --job-font:      16px;
    --search-pad:    12px 16px;
    --search-font:   15.5px;
  }
body { font-size: 16px; }
.site-header-inner { padding: 0 40px; }
.brand-logo { height: 32px; width: 32px; }
.brand-tagline { font-size: 13.5px; }
}
@media (min-width: 1440px) {
:root {
    --content-max:   1360px;
    --content-pad-x: 48px;
    --job-pad-y:     20px;
    --job-pad-x:     24px;
    --job-font:      16.5px;
  }
.brand-logo { height: 36px; width: 36px; }
.brand-tagline { font-size: 14px; }
}
@media (max-width: 640px) {
.site-header-inner { padding: 0 14px; gap: 8px; }
.brand-tagline { display: none; }
.site-footer { margin-top: 24px; padding: 20px 0 20px; }
.site-footer-links { flex-direction: column; gap: 10px; }
}
.site-header { animation: fadeIn 0.5s ease both; }
@media (prefers-reduced-motion: reduce) {
.site-header {
    animation: none !important;
  }
}
.site-header { animation-timing-function: var(--ease-out-3, ease); }
.site-footer {
  margin-top: 48px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  /* Reserve space before content paints so it doesn't shift on first render */
  min-height: 140px;
  contain: layout;
}
.site-footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.6;
  margin: 0;
}
.site-footer-desc strong {
  color: var(--text-secondary);
  font-weight: 600;
}
.site-footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-footer-links a {
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer-links a:hover { color: var(--text-primary); }
.jp-main {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 32px var(--content-pad-x) 20px;
  flex: 1;
}
.jp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 18px;
  transition: color 0.15s;
}
.jp-back:hover { color: var(--text-secondary); }
.jp-hero {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px 36px 28px;
  overflow: hidden;
}
.jp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, var(--accent-bg) 0%, transparent 70%);
  pointer-events: none;
}
.jp-hero > * { position: relative; }
.jp-title {
  font-family: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.jp-company {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  text-transform: capitalize;
}
.jp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.jmeta-item {
  font-size: 13px;
  color: var(--text-muted);
}
.jmeta-salary { color: var(--accent); font-weight: 500; }
.jp-body {
  padding: 28px 0 0;
}
.jp-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #0a0a0f;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 18px var(--accent-ring);
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}
.jp-apply:hover {
  background: var(--accent-dark);
  box-shadow: 0 6px 22px var(--accent-ring);
}
.jp-apply:active { transform: translateY(1px); }
.jp-apply:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
[data-theme="day"] .jp-apply { color: #FEFCE8; }
.jp-description {
  margin-top: 28px;
  padding: 30px 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.jp-description-title {
  margin: 0 0 16px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.jp-description-body {
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-secondary);
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.jp-description-body p {
  margin: 0 0 14px;
}
.jp-description-body p:last-child {
  margin-bottom: 0;
}
@media (max-width: 640px) {
.jp-description { padding: 22px 20px; }
.jp-description-title { font-size: 17px; }
.jp-description-body { font-size: 14.5px; line-height: 1.68; }
}
.jp-note {
  margin-top: 22px;
  padding: 16px 20px;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}
.jp-closed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 22px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  line-height: 1.55;
}
.jp-closed strong { color: var(--text); font-weight: 600; }
.jp-closed-link {
  color: var(--accent, #C2410C);
  font-weight: 600;
  text-decoration: none;
}
.jp-closed-link:hover { text-decoration: underline; }
.jp-browse {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.jp-browse-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.jp-browse-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.jp-browse-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 13.5px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.jp-browse-link:hover {
  background: var(--surface-3);
  border-color: var(--border-hover);
  color: var(--text-primary);
}
@media (max-width: 640px) {
.jp-main { padding: 20px var(--content-pad-x) 16px; }
.jp-hero { padding: 24px 22px 22px; border-radius: var(--radius-md); }
.jp-title { font-size: 22px; }
.jp-company { font-size: 15px; }
.jp-body { padding-top: 22px; }
.jp-apply { width: 100%; justify-content: center; }
}
