/* cyrillic-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("e3b360b7-b3f8-4562-83b7-e93007b61b63.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("91ef56b6-5f88-4729-b8d7-42140007cc19.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("b5c24491-c679-4e34-ad1e-38a15ecda899.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("a7326f61-1952-4810-8417-add3997e2142.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("f69b831c-3d18-4ee0-aaaf-a58912b86bfe.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("7bb3df9b-e9b2-4c9b-a1ab-4e63850b6120.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("df9048f9-3bc7-469a-8fca-b89eda11ba5a.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("99f27375-4667-4714-aea9-1157698070c9.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("a60232f8-43d8-445a-baa4-f6e54b6108f1.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("cfdaafeb-3c83-4332-ae36-d411901c5b48.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("e3acdb72-33e7-41d7-8c8b-52890551f071.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("159af447-c7a8-4e5c-b0ae-18268b6d64aa.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("80608ba7-c9c8-46fa-9e32-1303e075ac2e.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("2496bb6d-ae74-44ad-9314-5f60d9ab624d.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("18a10874-eb30-427a-8ab4-56738725e892.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("b1997755-a6c7-413c-8aaf-16cbcb032a1f.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("4c6e2a1a-830b-4631-844e-f9969bfe54bf.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("4fe005e4-b329-416f-906f-99859130c08d.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("9d6621d1-45fd-432b-a59b-a54e294ce973.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("2496bb6d-ae74-44ad-9314-5f60d9ab624d.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("18a10874-eb30-427a-8ab4-56738725e892.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("b1997755-a6c7-413c-8aaf-16cbcb032a1f.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("4c6e2a1a-830b-4631-844e-f9969bfe54bf.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("4fe005e4-b329-416f-906f-99859130c08d.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("9d6621d1-45fd-432b-a59b-a54e294ce973.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("2496bb6d-ae74-44ad-9314-5f60d9ab624d.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("18a10874-eb30-427a-8ab4-56738725e892.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("b1997755-a6c7-413c-8aaf-16cbcb032a1f.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("4c6e2a1a-830b-4631-844e-f9969bfe54bf.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("4fe005e4-b329-416f-906f-99859130c08d.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("9d6621d1-45fd-432b-a59b-a54e294ce973.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---- next block ---- */

/* ============================================================
   Clai · Careers
   Light cream "dawn" aesthetic, shared with the role
   application experiences. Careers home → job detail → apply.
   ============================================================ */

:root {
  --paper:        #F6F4EE;
  --paper-2:      #FBFAF6;
  --paper-3:      #ECE7DA;
  --ink:          #17201C;
  --ink-2:        #2C342F;
  --ink-mute:     #5E6B64;
  --ink-dim:      #8E978F;
  --hair:         rgba(20,30,25,0.10);
  --hair-2:       rgba(20,30,25,0.18);
  --hair-soft:    rgba(20,30,25,0.06);
  --green:        #2F8F5E;
  --green-deep:   #1E6B43;
  --green-bright: #44BA82;
  --amber:        #E5B64A;
  --amber-deep:   #8A6513;

  /* Themeable accent, driven by Tweaks. Defaults to Clai green. */
  --accent:       #1E6B43;
  --accent-bright:#44BA82;
  --accent-soft:  rgba(47,143,94,0.12);
  --accent-rgb:   47,143,94;
  --glow-mult:    1;

  --font-sans:  "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-script:"Caveat", "Brush Script MT", cursive;

  /* extra accent tints used by the orbit chips */
  --sky:          #6DA8E5;
  --sky-soft:     rgba(109,168,229,0.16);
  --lilac:        #7A5AE0;
  --lilac-soft:   rgba(122,90,224,0.14);
  --peach-soft:   rgba(229,105,74,0.16);
  --amber-soft:   rgba(229,182,74,0.18);

  --maxw: 1080px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; min-height: 100%; }
html { background: var(--paper); scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","cv11";
  overflow-x: hidden;
}
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
button, input, textarea, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(var(--accent-rgb),0.26); color: var(--ink); }

#root { min-height: 100dvh; }

/* ============================================================
   Ambient backdrop, dawn glow + grain
   ============================================================ */
.dawn { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.dawn::before {
  content: ""; position: absolute; inset: -25% -10% auto -10%; height: 90vh;
  background:
    radial-gradient(640px 360px at 76% 14%, rgba(var(--accent-rgb), calc(0.18 * var(--glow-mult))), transparent 70%),
    radial-gradient(560px 320px at 14% 6%, rgba(229,182,74, calc(0.14 * var(--glow-mult))), transparent 72%);
  animation: dawn-breathe 14s ease-in-out infinite;
}
.dawn::after {
  content: ""; position: absolute; inset: auto -10% -20% -10%; height: 50vh;
  background: radial-gradient(560px 280px at 50% 100%, rgba(var(--accent-rgb), calc(0.08 * var(--glow-mult))), transparent 70%);
}
@keyframes dawn-breathe {
  0%, 100% { opacity: 0.85; transform: translateY(0) scale(1); }
  50%      { opacity: 1;    transform: translateY(-12px) scale(1.04); }
}
.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image: repeating-linear-gradient(0deg, rgba(20,30,25,0.012) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}

.stage { position: relative; z-index: 1; min-height: 100dvh; display: flex; flex-direction: column; }
.shell { width: min(var(--maxw), 100%); margin: 0 auto; padding-inline: clamp(20px, 5vw, 56px); }

.screen { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .screen { animation: screen-in 520ms cubic-bezier(0.22,1,0.36,1) both; }
}
@keyframes screen-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   Brand chrome / topbar
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246,244,238,0.72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms ease, background 240ms ease;
}
.topbar--stuck { border-bottom-color: var(--hair); }
.topbar__in {
  width: min(var(--maxw), 100%); margin: 0 auto;
  padding: 16px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; cursor: pointer; }
.brand__mark { width: 26px; height: 26px; color: var(--accent); display: block; }
.brand__name { font: 600 18px/1 var(--font-sans); letter-spacing: -0.025em; color: var(--ink); }
.brand__tag {
  font: 500 9.5px/1 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); padding: 4px 7px; border: 1px solid var(--hair); border-radius: 5px; margin-left: 2px;
}
.topbar__meta {
  font: 500 10px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); white-space: nowrap;
}
.topbar__cta { display: inline-flex; align-items: center; gap: 16px; }

/* center nav links (Connect-style) */
.topbar__nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); }
.topbar__nav a {
  font: 500 14px/1 var(--font-sans); letter-spacing: -0.01em; color: var(--ink-2);
  cursor: pointer; transition: color 160ms ease; position: relative;
}
.topbar__nav a:hover { color: var(--accent); }
@media (max-width: 840px) { .topbar__nav { display: none; } }

.eyebrow {
  font: 500 11px/1 var(--font-mono); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  height: 52px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  font: 500 15px/1 var(--font-sans); letter-spacing: -0.005em;
  transition: transform 200ms cubic-bezier(0.22,1,0.36,1), background 200ms ease, box-shadow 220ms ease, color 160ms ease, border-color 160ms ease;
}
.btn:disabled { cursor: not-allowed; opacity: 0.45; }
.btn--primary { background: var(--ink); color: var(--paper); box-shadow: 0 14px 34px -12px rgba(20,30,25,0.5); }
.btn--primary:not(:disabled):hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 18px 40px -12px rgba(var(--accent-rgb),0.5); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 14px 36px -12px rgba(var(--accent-rgb),0.55); }
.btn--accent:not(:disabled):hover { background: var(--green-deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--hair-2); }
.btn--ghost:not(:disabled):hover { background: rgba(20,30,25,0.04); border-color: var(--ink); }
.btn--lg { height: 60px; padding: 0 32px; font-size: 16px; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn__arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.btn--ghost .btn__arrow { background: rgba(20,30,25,0.08); }
.btn__arrow svg { width: 13px; height: 13px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(36px, 6vw, 76px) 0 clamp(40px, 6vw, 72px); }
.hero__grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 64px); align-items: center;
}
@media (min-width: 920px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
}
.hero__copy { min-width: 0; }

/* live pill badge */
.badge {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--paper-2); border: 1px solid var(--hair-2);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset;
  font: 500 12px/1 var(--font-mono); letter-spacing: 0.04em; color: var(--ink-2);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); position: relative; flex: none; }
.badge__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--accent-bright); opacity: 0.7;
  animation: badgePing 1.8s ease-out infinite;
}
@keyframes badgePing { 0% { transform: scale(0.8); opacity: 0.7; } 100% { transform: scale(1.9); opacity: 0; } }
.badge b { color: var(--ink); font-weight: 600; }

.hero__h {
  margin: 22px 0 0; max-width: 14ch;
  font: 500 clamp(40px, 6.6vw, 84px)/0.96 var(--font-sans);
  letter-spacing: -0.045em; text-wrap: balance;
}
.hero__h em { color: var(--accent); }
.hero__sub {
  margin: clamp(20px, 2.4vw, 28px) 0 0; max-width: 52ch;
  font-size: clamp(16px, 1.7vw, 19px); line-height: 1.55; color: var(--ink-mute); text-wrap: pretty;
}
.hero__sub b { color: var(--ink-2); font-weight: 500; }
.hero__actions { margin-top: clamp(26px, 3vw, 36px); display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 48px);
  padding-top: 26px; border-top: 1px solid var(--hair);
}
.hero__stat { display: flex; flex-direction: column; gap: 6px; }
.hero__stat b { font: 500 clamp(24px, 3.2vw, 34px)/1 var(--font-sans); letter-spacing: -0.03em; color: var(--ink); }
.hero__stat span { font: 500 10px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }
.hero__visual { min-width: 0; display: flex; justify-content: center; padding: 8px; }
@media (max-width: 919px) {
  .hero__visual { order: -1; max-width: 460px; margin: 0 auto; width: 100%; }
}

/* ============================================================
   SECTION scaffolding
   ============================================================ */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--tint {
  background:
    linear-gradient(180deg, transparent, rgba(236,231,218,0.5) 12%, rgba(236,231,218,0.5) 88%, transparent),
    transparent;
}
.section__head { max-width: 640px; margin-bottom: clamp(34px, 5vw, 54px); }
.section__eyebrow { margin-bottom: 18px; }
.section__h {
  margin: 0; font: 500 clamp(30px, 5vw, 52px)/1.02 var(--font-sans);
  letter-spacing: -0.038em; text-wrap: balance;
}
.section__h em { color: var(--accent); }
.section__sub { margin: 16px 0 0; font-size: clamp(15px, 2vw, 18px); line-height: 1.55; color: var(--ink-mute); max-width: 52ch; text-wrap: pretty; }

/* ============================================================
   CULTURE / VALUES
   ============================================================ */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 20px); }
.value {
  position: relative; padding: clamp(24px, 3vw, 30px);
  background: var(--paper-2); border: 1px solid var(--hair); border-radius: 16px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 220ms ease, transform 220ms cubic-bezier(0.22,1,0.36,1), box-shadow 220ms ease;
}
.value:hover { transform: translateY(-3px); border-color: var(--hair-2); box-shadow: 0 18px 40px -24px rgba(20,30,25,0.35); }
.value__num {
  position: absolute; top: 22px; right: 24px;
  font: 400 15px/1 var(--font-serif); font-style: italic; color: var(--ink-dim);
}
.value__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.value__icon svg { width: 24px; height: 24px; }
.value__t { font: 500 19px/1.2 var(--font-sans); letter-spacing: -0.02em; color: var(--ink); }
.value__d { font-size: 14.5px; line-height: 1.55; color: var(--ink-mute); text-wrap: pretty; }

/* ============================================================
   PERKS
   ============================================================ */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 3vw, 34px) clamp(28px, 4vw, 48px); }
.perk { display: flex; gap: 16px; align-items: flex-start; }
.perk__icon { flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--hair); color: var(--accent); }
.perk__icon svg { width: 22px; height: 22px; }
.perk__t { font: 500 17px/1.3 var(--font-sans); letter-spacing: -0.015em; color: var(--ink); }
.perk__d { margin-top: 5px; font-size: 14px; line-height: 1.5; color: var(--ink-mute); text-wrap: pretty; }

/* ============================================================
   OPEN ROLES, grouped by department
   ============================================================ */
.roles__anchor { scroll-margin-top: 80px; }
.dept { margin-top: clamp(36px, 5vw, 52px); }
.dept:first-of-type { margin-top: clamp(28px, 4vw, 40px); }
.dept__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--hair); }
.dept__label { font: 500 13px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.dept__count {
  font: 500 10px/1 var(--font-mono); letter-spacing: 0.1em; color: var(--accent);
  padding: 4px 8px; border-radius: 999px; background: var(--accent-soft);
}
.dept__blurb { margin-left: auto; font-size: 13.5px; color: var(--ink-dim); text-align: right; }

/* ROW layout (default) */
.role-rows { display: flex; flex-direction: column; }
.role-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px;
  width: 100%; text-align: left; cursor: pointer;
  padding: clamp(20px, 2.6vw, 26px) clamp(6px, 1.5vw, 14px);
  background: transparent; border: 0; border-bottom: 1px solid var(--hair);
  transition: padding-left 240ms cubic-bezier(0.22,1,0.36,1), background 240ms ease;
}
.role-row:hover { background: rgba(255,255,255,0.6); padding-left: clamp(14px, 2.4vw, 24px); }
.role-row__main { min-width: 0; }
.role-row__title { font: 500 clamp(20px, 2.6vw, 26px)/1.15 var(--font-sans); letter-spacing: -0.025em; color: var(--ink); }
.role-row:hover .role-row__title { color: var(--accent); }
.role-row__teaser { margin-top: 7px; font-size: 14.5px; line-height: 1.5; color: var(--ink-mute); max-width: 62ch; text-wrap: pretty; }
.role-row__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.role-row__side { display: flex; align-items: center; gap: 20px; }
.role-row__arrow {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  border: 1px solid var(--hair-2);
  transition: background 220ms ease, color 220ms ease, transform 220ms ease, border-color 220ms ease;
}
.role-row:hover .role-row__arrow { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateX(3px); }
.role-row__arrow svg { width: 17px; height: 17px; }

/* CARD layout (tweak) */
.role-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.role-card {
  display: flex; flex-direction: column; gap: 14px; text-align: left; cursor: pointer;
  padding: clamp(22px, 2.6vw, 28px); background: var(--paper-2);
  border: 1px solid var(--hair); border-radius: 16px;
  transition: border-color 220ms ease, transform 220ms cubic-bezier(0.22,1,0.36,1), box-shadow 220ms ease;
}
.role-card:hover { transform: translateY(-3px); border-color: var(--hair-2); box-shadow: 0 22px 48px -28px rgba(20,30,25,0.4); }
.role-card__title { font: 500 22px/1.2 var(--font-sans); letter-spacing: -0.025em; color: var(--ink); }
.role-card:hover .role-card__title { color: var(--accent); }
.role-card__teaser { font-size: 14px; line-height: 1.5; color: var(--ink-mute); flex: 1; text-wrap: pretty; }
.role-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.role-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--hair); }
.role-card__comp { font: 500 13px/1 var(--font-mono); letter-spacing: -0.01em; color: var(--ink-2); }
.role-card__go { display: inline-flex; align-items: center; gap: 7px; font: 500 13px/1 var(--font-sans); color: var(--accent); }
.role-card__go svg { width: 14px; height: 14px; }

/* shared meta chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 11px/1 var(--font-mono); letter-spacing: 0.04em; color: var(--ink-mute);
  padding: 6px 10px; border-radius: 999px; background: var(--paper-3); border: 1px solid var(--hair);
}
.chip svg { width: 12px; height: 12px; opacity: 0.7; }
.chip--accent { color: var(--accent); background: var(--accent-soft); border-color: transparent; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { margin-top: auto; border-top: 1px solid var(--hair); }
.foot__in {
  width: min(var(--maxw), 100%); margin: 0 auto; padding: 36px clamp(20px, 5vw, 56px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.foot__brand { display: inline-flex; align-items: center; gap: 10px; }
.foot__brand svg { width: 22px; height: 22px; color: var(--accent); }
.foot__brand span { font: 600 16px/1 var(--font-sans); letter-spacing: -0.02em; }
.foot__note { font: 500 11px/1.6 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); }

/* ============================================================
   JOB DETAIL
   ============================================================ */
.detail { padding-bottom: clamp(40px, 6vw, 80px); }
.back {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  margin: clamp(24px, 4vw, 38px) 0 0; padding: 10px 4px; background: transparent; border: 0;
  font: 500 13px/1 var(--font-sans); color: var(--ink-mute); transition: color 160ms ease, gap 200ms ease;
}
.back:hover { color: var(--ink); gap: 12px; }
.back svg { width: 16px; height: 16px; }

.detail__hero { padding: clamp(20px, 3vw, 30px) 0 clamp(30px, 4vw, 44px); border-bottom: 1px solid var(--hair); }
.detail__dept { margin-bottom: 18px; }
.detail__h { margin: 0; font: 500 clamp(34px, 6vw, 60px)/1.0 var(--font-sans); letter-spacing: -0.04em; text-wrap: balance; max-width: 18ch; }
.detail__meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.detail__lede { margin: 26px 0 0; max-width: 60ch; font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }

.detail__grid { display: grid; grid-template-columns: 1fr; gap: clamp(30px, 5vw, 56px); padding-top: clamp(34px, 5vw, 50px); }
@media (min-width: 880px) { .detail__grid { grid-template-columns: minmax(0,1fr) 300px; align-items: start; } }

.detail__body { display: flex; flex-direction: column; gap: clamp(30px, 4vw, 44px); min-width: 0; }
.detail__block__h {
  font: 500 12px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 20px;
  display: inline-flex; align-items: center; gap: 10px;
}
.detail__block__h::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.detail-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.detail-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 16px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.detail-list__mark { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-top: 1px; }
.detail-list__mark svg { width: 13px; height: 13px; }
.detail-list--nice li { grid-template-columns: 1fr; }
.nice-tags { display: flex; flex-wrap: wrap; gap: 9px; }

/* apply rail */
.apply-rail { position: relative; }
@media (min-width: 880px) { .apply-rail__card { position: sticky; top: 84px; } }
.apply-rail__card {
  background: linear-gradient(176deg, var(--paper-2) 0%, #F3F0E7 100%);
  border: 1px solid var(--hair-2); border-radius: 16px; padding: 26px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 24px 56px -34px rgba(20,30,25,0.4);
}
.apply-rail__label { font: 500 10px/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }
.apply-rail__comp { margin: 10px 0 4px; font: 500 24px/1.1 var(--font-sans); letter-spacing: -0.025em; color: var(--ink); }
.apply-rail__sub { font-size: 13.5px; line-height: 1.5; color: var(--ink-mute); }
.apply-rail__divider { height: 1px; background: var(--hair); margin: 20px 0; }
.apply-rail__rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.apply-rail__row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.apply-rail__row svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.apply-rail__card .btn { width: 100%; }
.apply-rail__ext { margin-top: 12px; font: 500 11px/1.4 var(--font-mono); letter-spacing: 0.04em; color: var(--ink-dim); text-align: center; }

/* ============================================================
   APPLY FORM
   ============================================================ */
.apply { padding-bottom: clamp(48px, 7vw, 90px); }
.apply__head { padding: clamp(20px, 3vw, 28px) 0 clamp(26px, 4vw, 36px); max-width: 620px; }
.apply__role { margin-bottom: 14px; }
.apply__h { margin: 0; font: 500 clamp(30px, 5vw, 46px)/1.02 var(--font-sans); letter-spacing: -0.038em; text-wrap: balance; }
.apply__h em { color: var(--accent); }
.apply__sub { margin: 14px 0 0; font-size: clamp(15px, 2vw, 17px); line-height: 1.55; color: var(--ink-mute); text-wrap: pretty; }

.form { width: min(620px, 100%); display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px) { .field--row { grid-template-columns: 1fr; } }
.field__label {
  font: 500 11px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute);
  display: flex; align-items: center; justify-content: space-between;
}
.field__opt { color: var(--ink-dim); letter-spacing: 0.06em; }
.input, .textarea {
  width: 100%; font: 400 17px/1.5 var(--font-sans); color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--hair-2); border-radius: 12px;
  padding: 15px 17px; outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-dim); }
.input:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: #fff; }
.input:focus-visible, .textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 4px rgba(47, 143, 94, 0.25); }
.input--mono { font-family: var(--font-mono); font-size: 15px; letter-spacing: -0.01em; }
.textarea { min-height: 150px; resize: vertical; }

.dropzone {
  display: flex; align-items: center; gap: 14px; padding: 18px;
  border: 1.5px dashed var(--hair-2); border-radius: 12px; background: var(--paper-2);
  cursor: pointer; transition: border-color 160ms ease, background 160ms ease;
}
.dropzone:hover { border-color: var(--accent); background: #fff; }
.dropzone__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.dropzone__icon svg { width: 20px; height: 20px; }
.dropzone__t { font: 500 15px/1.3 var(--font-sans); color: var(--ink); }
.dropzone__s { font: 400 13px/1.4 var(--font-sans); color: var(--ink-dim); }
.dropzone--filled { border-style: solid; border-color: var(--accent); }
.dropzone--filled .dropzone__t { color: var(--accent); }

.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--hair); flex-wrap: wrap; }
.form__note { font-size: 13px; line-height: 1.5; color: var(--ink-dim); max-width: 36ch; }

/* ============================================================
   APPLY SUCCESS
   ============================================================ */
.success-wrap {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 40px); gap: clamp(26px, 4vw, 38px);
}
.success__ring {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 38% 32%, var(--green-bright), var(--accent) 60%, var(--green-deep));
  color: #fff; box-shadow: 0 18px 40px -14px rgba(var(--accent-rgb),0.6);
  transform: scale(0); animation: pop 600ms cubic-bezier(0.34,1.56,0.64,1) 120ms forwards;
}
.success__ring svg { width: 40px; height: 40px; }
@keyframes pop { to { transform: scale(1); } }
.success__h { margin: 0; font: 500 clamp(34px, 6vw, 60px)/1.0 var(--font-sans); letter-spacing: -0.04em; text-wrap: balance; }
.success__h em { color: var(--accent); }
.success__sub { margin: 0 auto; max-width: 46ch; font-size: clamp(15px, 2.2vw, 18px); line-height: 1.55; color: var(--ink-mute); text-wrap: pretty; }
.success__card {
  width: min(440px, 100%); background: var(--paper-2); border: 1px solid var(--hair-2); border-radius: 14px;
  padding: 22px 24px; text-align: left; display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 20px 48px -30px rgba(20,30,25,0.4);
}
.success__card__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; }
.success__card__row + .success__card__row { padding-top: 12px; border-top: 1px solid var(--hair); }
.success__card__k { font: 500 10px/1.4 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }
.success__card__v { font: 500 14px/1.3 var(--font-sans); color: var(--ink); text-align: right; }
.success__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* burst */
.burst { position: fixed; inset: 0; pointer-events: none; z-index: 40; overflow: hidden; }
.spark { position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; will-change: transform, opacity; animation: spark-fly 1500ms cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes spark-fly {
  0% { transform: translate(0,0) rotate(0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--dr)) scale(0.3); opacity: 0; }
}

/* ============================================================
   AURORA, drifting moving graphics behind everything
   ============================================================ */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora__blob { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.aurora__blob--a {
  right: -10%; top: -16%; width: 56%; height: 64%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), calc(0.30 * var(--glow-mult))) 0%, rgba(var(--accent-rgb), calc(0.12 * var(--glow-mult))) 42%, transparent 72%);
  animation: aurora-a 22s ease-in-out infinite alternate;
}
.aurora__blob--b {
  right: 8%; top: 6%; width: 42%; height: 52%;
  background: radial-gradient(circle at 50% 50%, rgba(229,182,74, calc(0.22 * var(--glow-mult))) 0%, rgba(229,182,74, calc(0.08 * var(--glow-mult))) 45%, transparent 75%);
  animation: aurora-b 28s ease-in-out infinite alternate;
}
.aurora__blob--c {
  left: -16%; top: -8%; width: 50%; height: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), calc(0.16 * var(--glow-mult))) 0%, transparent 70%);
  animation: aurora-c 34s ease-in-out infinite alternate;
}
.aurora__blob--d {
  left: 24%; top: 34%; width: 40%; height: 44%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), calc(0.10 * var(--glow-mult))) 0%, transparent 70%);
  animation: aurora-d 40s ease-in-out infinite alternate;
}
@keyframes aurora-a { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-4%,-3%,0) scale(1.08); } 100% { transform: translate3d(-8%,2%,0) scale(1.04); } }
@keyframes aurora-b { 0% { transform: translate3d(0,0,0) scale(1.05); } 50% { transform: translate3d(3%,-5%,0) scale(0.95); } 100% { transform: translate3d(-2%,-2%,0) scale(1.1); } }
@keyframes aurora-c { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(6%,4%,0) scale(1.06); } 100% { transform: translate3d(-3%,8%,0) scale(1.02); } }
@keyframes aurora-d { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-5%,-6%,0) scale(1.15); } 100% { transform: translate3d(4%,3%,0) scale(0.92); } }

/* ============================================================
   HERO GHOST, self-signing document orbited by capability chips
   ============================================================ */
.hghost { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 500px; margin: 0 auto; }
.hghost__paper {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-2deg);
  width: 62%; aspect-ratio: 0.78 / 1;
  background: linear-gradient(176deg, var(--paper-2) 0%, #F3F0E7 100%);
  border: 1px solid var(--hair-2); border-radius: 10px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 30px 60px rgba(20,30,25,0.12), 0 8px 18px rgba(20,30,25,0.06);
  overflow: hidden; padding: 22px; z-index: 2;
  animation: paperFloat 9s ease-in-out infinite;
}
@keyframes paperFloat {
  0%, 100% { transform: translate(-50%,-50%) rotate(-2deg); }
  50%      { transform: translate(-50%, calc(-50% - 8px)) rotate(-1.4deg); }
}
.hghost__filename { position: absolute; top: 14px; left: 16px; font: 500 9px/1 var(--font-mono); color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; }
.hghost__corner { position: absolute; top: 14px; right: 14px; font: 500 9px/1 var(--font-mono); color: var(--ink-dim); letter-spacing: 0.14em; }
.hghost__title { margin: 30px 0 14px; font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--ink); line-height: 1.05; letter-spacing: -0.01em; }
.hghost__lines { display: flex; flex-direction: column; gap: 7px; }
.hghost__lines .ln { height: 6px; border-radius: 3px; background: rgba(20,30,25,0.10); }
.hghost__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 10px; }
.hghost__fld {
  border: 1px dashed rgba(20,30,25,0.18); background: rgba(255,255,255,0.5);
  border-radius: 6px; padding: 6px 8px 8px; height: 44px; position: relative;
  transition: border-color 280ms ease, background 280ms ease, box-shadow 280ms ease;
}
.hghost__fld .lbl { font: 500 8px/1 var(--font-mono); color: var(--ink-mute); letter-spacing: 0.14em; text-transform: uppercase; }
.hghost__fld .val { margin-top: 6px; font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; }
.hghost__fld.is-lit { border-style: solid; border-color: var(--accent); background: rgba(var(--accent-rgb),0.10); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),0.10); }
.hghost__fld.is-lit .val::after {
  content: ""; display: inline-block; width: 7px; height: 13px; margin-left: 2px;
  background: var(--accent); vertical-align: -2px; animation: caretBlink 0.9s steps(2) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.hghost__sig {
  margin-top: 16px; height: 52px; border-bottom: 1px solid var(--hair-2);
  display: flex; align-items: flex-end; position: relative; overflow: hidden;
}
.hghost__sig svg { width: 100%; height: 100%; }
.hghost__sig path {
  fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 580; stroke-dashoffset: 580; animation: signWrite 4.5s cubic-bezier(0.65,0,0.35,1) infinite;
}
@keyframes signWrite { 0% { stroke-dashoffset: 580; } 35% { stroke-dashoffset: 0; } 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.hghost__sig .lbl { position: absolute; left: 0; bottom: -14px; font: 500 8px/1 var(--font-mono); color: var(--ink-mute); letter-spacing: 0.16em; text-transform: uppercase; }
.hghost__stamp {
  position: absolute; right: -14px; top: -8px; transform: rotate(8deg);
  border: 2px solid var(--accent); color: var(--accent); background: rgba(255,255,255,0.6);
  padding: 4px 10px; font: 600 10px/1 var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase;
  border-radius: 4px; z-index: 3; opacity: 0; pointer-events: none; animation: stampIn 9s ease-in-out infinite;
}
@keyframes stampIn { 0%, 80% { opacity: 0; transform: rotate(8deg) scale(1.4); } 85%, 100% { opacity: 1; transform: rotate(8deg) scale(1); } }
.hghost__sweep {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent 30%, rgba(var(--accent-rgb),0.10) 50%, transparent 70%);
  background-size: 250% 100%; background-position: 100% 0; animation: sweep 3.6s ease-in-out infinite;
}
@keyframes sweep { 0% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
.hghost__orbit { position: absolute; inset: 0; pointer-events: none; }
.hghost__ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 50%; border: 1px dashed rgba(20,30,25,0.10); }
.hghost__ring--a { width: 78%; height: 78%; }
.hghost__ring--b { width: 98%; height: 98%; border-color: rgba(20,30,25,0.06); }
.hghost__node {
  position: absolute; left: 50%; top: 50%; width: 50px; height: 50px;
  margin-left: -25px; margin-top: -25px; pointer-events: auto;
  animation: nodeFloat var(--ob-float, 3000ms) ease-in-out infinite; animation-delay: var(--ob-delay, 0ms);
}
@keyframes nodeFloat { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(0,-4px); } }
.hghost__chip {
  width: 100%; height: 100%; background: var(--paper-2); border: 1px solid var(--hair-2);
  border-radius: 15px; display: grid; place-items: center; color: var(--ink); cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  position: relative; box-shadow: 0 8px 20px rgba(20,30,25,0.06);
}
.hghost__chip svg { width: 21px; height: 21px; }
.hghost__chip:hover { transform: translateY(-3px) scale(1.05); border-color: var(--accent); box-shadow: 0 12px 26px rgba(var(--accent-rgb),0.2); }
.hghost__node[data-tone="green"] .hghost__chip { color: var(--green-deep); background: rgba(var(--accent-rgb),0.12); }
.hghost__node[data-tone="amber"] .hghost__chip { color: #8A6513; background: var(--amber-soft); }
.hghost__node[data-tone="sky"]   .hghost__chip { color: #1A5FA0; background: var(--sky-soft); }
.hghost__node[data-tone="lilac"] .hghost__chip { color: #5b48a8; background: var(--lilac-soft); }
.hghost__node[data-tone="peach"] .hghost__chip { color: #A8452B; background: var(--peach-soft); }
.hghost__node[data-tone="ink"]   .hghost__chip { color: var(--ink); background: var(--paper-2); }
.hghost__chip-ping { position: absolute; inset: -1px; border-radius: 15px; border: 1.5px solid currentColor; opacity: 0; animation: chipPing 2.6s ease-out infinite; animation-delay: var(--ob-delay, 0ms); }
@keyframes chipPing { 0% { transform: scale(0.9); opacity: 0.6; } 100% { transform: scale(1.4); opacity: 0; } }
.hghost__tip {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; font-size: 12px; line-height: 1.3;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 200ms ease, transform 200ms ease; z-index: 5;
}
.hghost__tip::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--ink); }
.hghost__tip .k { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 2px; }
.hghost__node:hover .hghost__tip { opacity: 1; transform: translateX(-50%) translateY(-2px); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 620px) {
  .topbar__meta { display: none; }
  .dept__blurb { display: none; }
  .role-row { grid-template-columns: 1fr; gap: 14px; }
  .role-row__side { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .dawn::before, .spark, .success__ring,
  .aurora__blob, .hghost__paper, .hghost__sig path, .hghost__stamp, .hghost__sweep,
  .hghost__node, .hghost__chip-ping, .badge__dot::after { animation: none !important; }
  .screen { animation-duration: 1ms !important; }
  .success__ring { transform: scale(1); }
  html { scroll-behavior: auto; }
}


/* ---- next block ---- */


/* iOS Safari zooms the page when a focused input's font-size is under 16px,
   which lets the page pan sideways. 16px controls on phones prevent the zoom;
   overflow-x:clip stops sideways panning from decorative elements (clip,
   unlike hidden, creates no scroll container). */
html,body{overflow-x:clip;}
@media (max-width:809px){
  input,select,textarea{font-size:16px !important;}
}


/* ---- next block ---- */

{__TWEAKS_STYLE}