/* Work With Us: see work.js. The template's own sections stay hidden; so does the footer's "Start a project" band. */
main.marketing-page-root > :not(.wk) { display: none !important; }
footer.site-footer [data-marketing-closing-cta], footer.site-footer .marketing-closing-ink { display: none !important; }
html[data-wk-fail] main.marketing-page-root > :not(.wk) { display: revert !important; }

html {
  --wk-top: 64px;
  --wk-rule: var(--rule, rgba(255,255,255,.1));
  --wk-soft: color-mix(in oklab, var(--foreground, #fff) 30%, transparent);
  --wk-faint: color-mix(in oklab, var(--foreground, #fff) 12%, transparent);
  --wk-mute: var(--muted-foreground, #b8b8b8);
  --wk-mono: var(--font-mono, "IBM Plex Mono", ui-monospace, monospace);
  --wk-ease: cubic-bezier(.16, 1, .3, 1);
  --wk-card: color-mix(in oklab, var(--card, #111) 45%, var(--background, #000));
  --wk-field: color-mix(in oklab, var(--foreground, #fff) 4%, var(--background, #000));
  --wk-danger: var(--destructive, #ff6b6b);
}
html.wk-locked { overflow: hidden; }
.wk { position: relative; color: var(--foreground); }
.wk *, .wk *::before, .wk *::after, .wk-dialog * { box-sizing: border-box; }
:where(.wk, .wk-dialog) :where(p, h1, h2, h3, h4, ul, ol, dl, dd, address) { margin: 0; padding: 0; }
:where(.wk, .wk-dialog) :where(ul, ol) { list-style: none; }
.wk-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .wk-wrap { padding: 0 40px; } }
.wk-sec { position: relative; border-top: 1px solid var(--wk-rule); padding: clamp(64px, 8vw, 120px) 0; scroll-margin-top: var(--wk-top); }

/* ---------- type ---------- */
.wk-eyebrow, .wk-label, .wk-role-n, .wk-role-meta, .wk-kv dt, .wk-detail dt {
  font-family: var(--wk-mono); font-size: 12px; line-height: 1.45; letter-spacing: .09em; text-transform: uppercase; color: var(--wk-mute); font-weight: 400;
}
.wk-h1 { font-size: clamp(2.6rem, 1.6rem + 3vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; margin-top: 1rem; }
.wk-h2 { font-size: clamp(2rem, 1.25rem + 1.9vw, 3.1rem); line-height: 1.06; letter-spacing: -.028em; font-weight: 500; margin-top: 1rem; text-wrap: balance; max-width: 18ch; }
.wk-h2:focus, .wk-h3:focus, .wk-result:focus { outline: none; }
.wk-h3 { font-size: clamp(1.35rem, 1.1rem + .6vw, 1.7rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 500; text-wrap: balance; }
.wk-h4 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 500; }
.wk-prose p { font-size: clamp(1rem, .97rem + .15vw, 1.1rem); line-height: 1.65; color: var(--wk-mute); max-width: 42rem; text-wrap: pretty; }
.wk-prose p + p { margin-top: .85em; }
.wk-prose-sm p { font-size: 1rem; line-height: 1.62; }

.wk-head { display: grid; gap: 22px; }
@media (min-width: 1024px) {
  .wk-head { grid-template-columns: 5fr 6fr; grid-template-rows: auto 1fr; column-gap: clamp(40px, 6vw, 112px); row-gap: 14px; align-items: start; }
  .wk-head .wk-h2 { grid-column: 1; margin: 0; }
  .wk-head .wk-prose { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- actions ---------- */
.wk-arr { width: 15px; height: 15px; flex: none; transition: transform .25s var(--wk-ease); }
.wk-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 32px; }
.wk-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: 0 22px; border-radius: 999px; font: inherit; font-size: .95rem; font-weight: 500; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s, opacity .2s; }
.wk-btn-sm { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.wk-btn--primary { background: var(--cta, var(--foreground)); color: var(--cta-foreground, var(--background)); }
.wk-btn--primary:hover { background: var(--cta-hover, var(--cta, var(--foreground))); }
.wk-btn--ghost { border-color: var(--wk-soft); color: var(--foreground); background: transparent; }
.wk-btn--ghost:hover { border-color: var(--foreground); }
.wk-btn:disabled { opacity: .55; cursor: progress; }
.wk-btn:hover .wk-arr, .wk-link:hover .wk-arr { transform: translateX(3px); }
.wk-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: 10px; padding: 4px 0; border-bottom: 1px solid var(--wk-soft); color: var(--foreground); font-size: .95rem; font-weight: 500; text-decoration: none; transition: border-color .2s; }
.wk-link:hover { border-color: var(--foreground); }
:is(.wk, .wk-dialog) :is(a, button, input, select, textarea, label.wk-btn):focus-visible { outline: 2px solid var(--cta, var(--foreground)); outline-offset: 3px; }

/* ---------- 01 hero ---------- */
.wk-hero { border-top: 0; overflow: hidden; min-height: min(60svh, 640px); padding: calc(var(--wk-top) + clamp(48px, 7vh, 96px)) 0 clamp(56px, 7vw, 96px); display: flex; align-items: flex-end; }
.wk-hero-in { position: relative; }
.wk-hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--wk-faint) 1px, transparent 1px), linear-gradient(90deg, var(--wk-faint) 1px, transparent 1px); background-size: 89px 40px; mask-image: linear-gradient(100deg, transparent 30%, #000 75%); opacity: .55; animation: wk-drift 28s linear infinite; }
@keyframes wk-drift { to { background-position: 89px 40px; } }
.wk-lead { margin-top: 26px; display: grid; gap: .55rem; max-width: 40rem; }
.wk-lead p { font-size: clamp(1.05rem, .98rem + .3vw, 1.25rem); line-height: 1.55; color: color-mix(in oklab, var(--foreground) 82%, transparent); }
.wk-in { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--wk-ease), transform .5s var(--wk-ease); transition-delay: calc(var(--d) * 110ms + 60ms); }
html.wk-ready .wk-in { opacity: 1; transform: none; }

/* ---------- 02 contact ---------- */
.wk-contact-grid { display: grid; gap: 40px; margin-top: clamp(40px, 5vw, 72px); }
@media (min-width: 1024px) { .wk-contact-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); column-gap: clamp(40px, 5vw, 72px); align-items: start; } }
.wk-details dl { border-top: 1px solid var(--wk-rule); }
.wk-detail { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--wk-rule); }
.wk-detail dt { padding-top: 3px; }
.wk-detail-v { font-size: 1.08rem; line-height: 1.5; color: var(--foreground); user-select: text; }
.wk-call { margin-top: 32px; padding: 24px; border: 1px solid var(--wk-rule); border-radius: 10px; background: var(--wk-card); }
.wk-call .wk-prose { margin-top: 10px; }
.wk-call .wk-btn { margin-top: 20px; }
.wk-formbox { padding: clamp(22px, 3vw, 40px); border: 1px solid var(--wk-rule); border-radius: 12px; background: var(--wk-card); }
.wk-form-d { margin-top: 10px; color: var(--wk-mute); line-height: 1.55; max-width: 38rem; }
.wk-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 16px; margin-top: 24px; }
.wk-wide { grid-column: 1 / -1; }
@media (max-width: 639px) { .wk-fields { grid-template-columns: minmax(0, 1fr); } }
.wk-field { display: grid; gap: 7px; min-width: 0; }
.wk-field > label, .wk-flabel { font-size: .9rem; font-weight: 500; color: var(--foreground); }
.wk-req { color: var(--wk-mute); }
.wk-field input:not([type=checkbox]):not([type=file]), .wk-field select, .wk-field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--wk-soft); border-radius: 8px; background: var(--wk-field); color: var(--foreground);
  font: inherit; font-size: 1rem; line-height: 1.4; transition: border-color .18s, box-shadow .18s;
}
.wk-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.wk-field select option { background: var(--background); color: var(--foreground); }
.wk-field textarea { min-height: 150px; resize: vertical; }
.wk-field ::placeholder { color: color-mix(in oklab, var(--wk-mute) 75%, transparent); }
.wk-field :is(input, select, textarea):hover { border-color: color-mix(in oklab, var(--foreground) 50%, transparent); }
.wk-field :is(input, select, textarea):focus { outline: none; border-color: var(--cta, var(--foreground)); box-shadow: 0 0 0 3px color-mix(in oklab, var(--cta, var(--foreground)) 22%, transparent); }
.wk-field input[readonly] { color: var(--wk-mute); background: transparent; border-style: dashed; }
.wk-field [aria-invalid="true"] { border-color: var(--wk-danger) !important; }
.wk-help { font-size: .85rem; color: var(--wk-mute); line-height: 1.45; }
.wk-err { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--wk-danger); line-height: 1.4; }
.wk-err[hidden] { display: none; }
.wk-err svg { width: 15px; height: 15px; flex: none; }
.wk-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; line-height: 1.5; color: var(--wk-mute); cursor: pointer; }
.wk-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--cta, var(--foreground)); }
.wk-check a { color: var(--foreground); text-decoration: underline; text-underline-offset: 3px; }
.wk-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wk-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.wk-status { font-size: .9rem; color: var(--wk-mute); }
.wk-result { padding: 8px 0; }
.wk-result p { margin-top: 12px; color: var(--wk-mute); line-height: 1.6; max-width: 40rem; }
.wk-result .wk-btn { margin-top: 24px; }
.wk-result.is-ok .wk-h3::before { content: "✓ "; }
.wk-result.is-err .wk-h3::before { content: "! "; color: var(--wk-danger); }
.wk-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.wk-file-in { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wk-file-in:focus-visible + .wk-file-name, .wk-file:focus-within label { outline: 2px solid var(--cta, var(--foreground)); outline-offset: 3px; }
.wk-file-name { font-size: .9rem; color: var(--foreground); overflow-wrap: anywhere; }

/* ---------- 03 careers ---------- */
.wk-roles-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-top: clamp(48px, 6vw, 88px); padding-bottom: 14px; }
.wk-support { color: var(--wk-mute); max-width: 44rem; }
.wk-roles { border-top: 1px solid var(--foreground); }
.wk-role { border-bottom: 1px solid var(--wk-rule); }
.wk-role-h button { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto 28px; gap: 6px 20px; align-items: start; width: 100%; padding: 22px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.wk-role-n { padding-top: 6px; }
.wk-role-main { display: grid; gap: 6px; min-width: 0; }
.wk-role-t { font-size: clamp(1.2rem, 1.05rem + .45vw, 1.5rem); line-height: 1.2; letter-spacing: -.015em; font-weight: 500; }
.wk-role-s { font-size: .98rem; line-height: 1.5; color: var(--wk-mute); max-width: 54ch; }
.wk-role-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 34rem; padding-top: 4px; }
.wk-role-meta span { padding: 4px 9px; border: 1px solid var(--wk-faint); border-radius: 999px; font-size: 11px; white-space: nowrap; }
.wk-role-ico { position: relative; width: 28px; height: 28px; border: 1px solid var(--wk-soft); border-radius: 50%; margin-top: 1px; transition: border-color .2s, transform .25s var(--wk-ease); }
.wk-role-ico::before, .wk-role-ico::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 1.3px; background: var(--foreground); transition: transform .25s var(--wk-ease); }
.wk-role-ico::after { transform: rotate(90deg); }
.wk-role.is-open .wk-role-ico { transform: rotate(180deg); border-color: var(--foreground); }
.wk-role.is-open .wk-role-ico::after { transform: rotate(0); }
.wk-role-h button:hover .wk-role-t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 860px) {
  .wk-role-h button { grid-template-columns: 2rem minmax(0, 1fr) 28px; }
  .wk-role-meta { grid-column: 2 / 3; grid-row: 2; justify-content: flex-start; max-width: none; }
  .wk-role-ico { grid-column: 3; grid-row: 1; }
}
.wk-role-body { overflow: hidden; }
.wk-role-in { display: grid; gap: 32px; padding: 6px 0 40px calc(2.6rem + 20px); opacity: 0; transform: translateY(-6px); transition: opacity .24s var(--wk-ease), transform .26s var(--wk-ease); }
.wk-role.is-shown .wk-role-in { opacity: 1; transform: none; }
@media (min-width: 1024px) { .wk-role-in { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(32px, 4vw, 72px); } }
@media (max-width: 860px) { .wk-role-in { padding-left: 0; } }
.wk-role-col .wk-label { margin: 26px 0 10px; }
.wk-role-col .wk-label:first-child { margin-top: 0; }
.wk-list li { position: relative; padding: 7px 0 7px 20px; line-height: 1.55; color: color-mix(in oklab, var(--foreground) 86%, transparent); max-width: 70ch; }
.wk-list li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 8px; height: 1px; background: var(--foreground); }
.wk-matters p { color: var(--foreground); }
.wk-role-side { align-self: start; padding: 22px; border: 1px solid var(--wk-rule); border-radius: 10px; background: var(--wk-card); }
@media (min-width: 1024px) { .wk-role-side { position: sticky; top: calc(var(--wk-top) + 24px); } }
.wk-kv { display: grid; gap: 4px; margin-top: 12px; }
.wk-kv dt { margin-top: 12px; font-size: 11px; }
.wk-kv dd { line-height: 1.5; }
.wk-role-side .wk-btn { margin-top: 22px; width: 100%; }
.wk-notes { display: grid; gap: 28px; margin-top: clamp(48px, 6vw, 80px); }
@media (min-width: 900px) { .wk-notes { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 88px); } }
.wk-notes .wk-prose { margin-top: 12px; }
.wk-notes > div { padding-top: 22px; border-top: 1px solid var(--wk-rule); }

/* ---------- application dialog ---------- */
.wk-dialog { position: fixed; inset: 0; margin: auto; height: fit-content; width: min(660px, calc(100vw - 32px)); max-height: min(92vh, 980px); padding: 0; border: 1px solid var(--wk-rule); border-radius: 14px; background: var(--background, #0f1d1c); color: var(--foreground, #f5f5f5); box-shadow: 0 40px 100px -30px rgba(0,0,0,.7); overflow: hidden; }
.wk-dialog[open] { display: flex; animation: wk-pop .22s var(--wk-ease); }
.wk-dialog::backdrop { background: rgba(0,0,0,.62); animation: wk-fade .2s ease; }
@keyframes wk-pop { from { opacity: 0; transform: translateY(12px); } }
@keyframes wk-fade { from { opacity: 0; } }
.wk-dialog-in { display: flex; flex-direction: column; width: 100%; max-height: inherit; min-height: 0; }
.wk-dialog-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 22px 24px 16px; border-bottom: 1px solid var(--wk-rule); }
.wk-dialog-head .wk-h3 { margin-top: 6px; }
.wk-x { width: 38px; height: 38px; flex: none; border: 1px solid var(--wk-soft); border-radius: 50%; background: none; color: var(--foreground); cursor: pointer; display: grid; place-items: center; }
.wk-x svg { width: 14px; height: 14px; }
.wk-dialog-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px 24px; }
.wk-dialog-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 12px; padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--wk-rule); background: var(--wk-card); }
.wk-dialog-foot .wk-status { margin-right: auto; }
.wk-dialog-foot[hidden] { display: none; }
@media (max-width: 639px) {
  .wk-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; }
  .wk-dialog-foot .wk-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .wk *, .wk *::before, .wk *::after, .wk-dialog, .wk-dialog::backdrop { animation: none !important; transition: none !important; }
  .wk-in { opacity: 1; transform: none; }
}
/* narrow screens: nothing wider than the screen */
.wk-contact-grid { grid-template-columns: minmax(0, 1fr); }
.wk-detail dd { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 1024px) { .wk-contact-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); } }
@media (max-width: 479px) {
  .wk-detail { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .wk-role-meta span { white-space: normal; }
}
