/* Journeys: the connective tissue between sections.
   One "Let's talk" window sorts the visitor's request; every section ends with a next step. */

.journey-action { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0; border:0; background:transparent; font-family:'Array','Spline Sans Mono',ui-monospace,monospace; font-size:12px; letter-spacing:.07em; text-transform:uppercase; cursor:pointer; text-decoration:none; color:inherit; }
.journey-action[hidden] { display:none; }
.journey-action::before { content:'>' / ''; color:var(--journey-chevron, #0B3FCF); }
.journey-action:hover { text-decoration:underline; text-underline-offset:5px; }
.journey-action:focus-visible { outline:2px solid #0B3FCF; outline-offset:3px; }

/* Header trigger */
.talk-trigger { border:0; background:transparent; padding:12px 0; font-family:'Array',ui-monospace,monospace; font-size:15px; color:#0B3FCF; cursor:pointer; white-space:nowrap; }
.talk-trigger:hover { text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:1px; }
.talk-trigger:focus-visible { outline:2px solid #0B3FCF; outline-offset:4px; }
@media(max-width:1000px) { .talk-trigger { padding:14px 0; text-align:left; } }

/* Project navigation */
.journey-pager { position:relative; margin-left:auto; height:14px; line-height:14px; padding:0 4px; border:0; background:transparent; cursor:pointer; font:inherit; letter-spacing:inherit; text-transform:inherit; color:#F0F0F2; }
.journey-pager::before { content:''; position:absolute; inset:-15px 0; }
.journey-pager::after { content:' >' / ''; color:#07BE43; }
.journey-pager:hover { text-decoration:underline; text-underline-offset:4px; }
.journey-pager:focus-visible { outline:2px solid #07BE43; outline-offset:2px; }

/* Agent run */
.agent-run-open { align-self:flex-start; color:#F0F0F2; --journey-chevron:#07BE43; }
.agent-run-open--light { color:#14130F; --journey-chevron:#0B3FCF; }
.agent-run { position:absolute; inset:0; z-index:2; display:flex; flex-direction:column; background:#14130F; color:#F0F0F2; }
.agent-run--light { position:static; margin-top:10px; border:1px solid #14130F; }
.agent-run__bar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 13px; border-bottom:1px solid #3A362E; font-family:'Array',ui-monospace,monospace; font-size:11px; letter-spacing:.09em; text-transform:uppercase; color:#A9A395; }
.agent-run__close { width:44px; height:32px; margin:-6px -10px -6px 0; border:0; background:transparent; cursor:pointer; color:#A9A395; display:grid; place-items:center; }
.agent-run__close span { width:12px; height:12px; background:currentColor; -webkit-mask:url(/assets/icons/close.svg) center/contain no-repeat; mask:url(/assets/icons/close.svg) center/contain no-repeat; }
.agent-run__close:hover, .agent-run__close:focus-visible { color:#F0F0F2; }
.agent-run__close:focus-visible { outline:2px solid #07BE43; outline-offset:-2px; }
.agent-run__body { flex:1; min-height:0; overflow-y:auto; padding:14px 15px 15px; display:flex; flex-direction:column; gap:12px; background:repeating-linear-gradient(to bottom, rgba(255,255,255,.022) 0, rgba(255,255,255,.022) 1px, transparent 1px, transparent 4px); }
.agent-run__request { margin:0; font-size:16px; line-height:1.4; font-weight:500; letter-spacing:-.01em; }
.agent-run__request span { display:block; margin-bottom:4px; font-family:'Array',ui-monospace,monospace; font-size:11px; font-weight:400; letter-spacing:.09em; text-transform:uppercase; color:#07BE43; }
.agent-run__steps { list-style:none; margin:0; padding:0; display:grid; }
.agent-run__step { position:relative; display:grid; grid-template-columns:14px minmax(0,1fr); gap:10px; padding:0 0 10px; opacity:.28; transition:opacity .25s steps(3); }
.agent-run__step::after { content:''; position:absolute; left:4px; top:12px; bottom:0; width:1px; background:#3A362E; }
.agent-run__step:last-child::after { display:none; }
.agent-run__step i { width:9px; height:9px; margin-top:4px; border:1px solid #A9A395; }
.agent-run__step.is-active { opacity:1; }
.agent-run__step.is-active i { border-color:#0B3FCF; background:#0B3FCF; animation:agent-run-blink .6s steps(2) infinite; }
.agent-run__step.is-done { opacity:1; }
.agent-run__step.is-done i { border-color:#07BE43; background:#07BE43; animation:none; }
.agent-run__who { display:block; font-family:'Array',ui-monospace,monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:#A9A395; }
.agent-run__what { display:block; font-size:15px; line-height:1.35; color:#D6D6D9; }
.agent-run__note { margin:0; font-family:'Array',ui-monospace,monospace; font-size:11px; letter-spacing:.05em; color:#A9A395; line-height:1.45; }
.agent-run__follow { display:flex; flex-direction:column; align-items:flex-start; padding-top:6px; border-top:1px solid #3A362E; }
.agent-run__follow .journey-action { color:#F0F0F2; --journey-chevron:#07BE43; text-align:left; }
.agent-run__follow[hidden] { display:none; }
@keyframes agent-run-blink { 50% { opacity:.2; } }

/* Let's talk window */
.talk-layer { position:fixed; inset:0; z-index:90; display:flex; align-items:center; justify-content:center; padding:24px; background:rgba(20,19,15,.42); }
.talk-layer[hidden] { display:none; }
.talk { position:relative; width:min(560px,100%); max-height:calc(100dvh - 48px); display:flex; flex-direction:column; border:1px solid #14130F; background:#F5F5F6; box-shadow:8px 8px 0 #9E9EA2; color:#14130F; font-family:'Sohne','Instrument Sans',sans-serif; }
.talk__bar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:6px 6px 6px 14px; border-bottom:1px solid #14130F; background:#E4E4E6; font-family:'Array',ui-monospace,monospace; font-size:12px; letter-spacing:.06em; text-transform:uppercase; }
.talk__lights { display:flex; gap:7px; margin-right:12px; }
.talk__lights i { width:9px; height:9px; border-radius:50%; border:1px solid #14130F20; }
.talk__lights i:nth-child(1) { background:#D76555; } .talk__lights i:nth-child(2) { background:#D8AF57; } .talk__lights i:nth-child(3) { background:#07BE43; }
.talk__title { display:flex; align-items:center; flex:1; min-width:0; }
.talk__close { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 10px; border:0; background:transparent; cursor:pointer; font:inherit; color:#413D35; }
.talk__close kbd { font:inherit; font-size:11px; padding:1px 5px; border:1px solid #BDBDC0; }
.talk__close span { width:12px; height:12px; background:currentColor; -webkit-mask:url(/assets/icons/close.svg) center/contain no-repeat; mask:url(/assets/icons/close.svg) center/contain no-repeat; }
.talk__close:focus-visible, .talk button:focus-visible, .talk a:focus-visible, .talk__status:focus-visible { outline:2px solid #0B3FCF; outline-offset:2px; }
.talk__heading:focus, .talk__status:focus:not(:focus-visible) { outline:none; }
.talk__body { overflow-y:auto; padding:22px 22px 24px; display:flex; flex-direction:column; gap:18px; }
.talk__heading { margin:0; font-weight:600; font-size:24px; line-height:1.1; letter-spacing:-.025em; }
.talk__lede { margin:8px 0 0; font-size:16px; line-height:1.5; color:#413D35; }
.talk__label { margin:0 0 8px; padding:0; font-family:'Array',ui-monospace,monospace; font-size:12px; letter-spacing:.05em; color:#413D35; }
.talk__reasons { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0; padding:0; border:0; min-width:0; }
.talk__reasons legend { grid-column:1 / -1; }
.talk__reason { position:relative; display:flex; align-items:center; gap:10px; min-height:48px; padding:10px 12px; border:1px solid #BDBDC0; background:#EFEFF0; cursor:pointer; font-size:16px; line-height:1.25; }
.talk__reason input { position:absolute; opacity:0; pointer-events:none; }
.talk__reason i { flex:none; width:10px; height:10px; border:1px solid #6B665C; }
.talk__reason { border-color:#8E8E93; }
.talk__reason:hover { border-color:#14130F; }
.talk__reason:has(input:checked) { border-color:#14130F; background:#DEDEE0; }
.talk__reason:has(input:checked) i { border-color:#0B3FCF; background:#0B3FCF; }
.talk__reason:has(input:focus-visible) { outline:2px solid #0B3FCF; outline-offset:2px; }
.talk__channels { display:grid; gap:8px; }
.talk__channel { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:52px; padding:0 14px; border:1px solid #14130F; background:#F5F5F6; color:#14130F; cursor:pointer; font-family:'Sohne','Instrument Sans',sans-serif; font-size:16px; text-align:left; text-decoration:none; box-shadow:3px 3px 0 #BDBDC0; }
.talk__channel small { font-family:'Array',ui-monospace,monospace; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:#6B665C; }
.talk__channel:hover { background:#FFFFFF; }
.talk__channel--primary { background:#14130F; color:#F0F0F2; box-shadow:3px 3px 0 #9E9EA2; }
.talk__channel--primary small { color:#A9A395; }
.talk__channel--primary:hover { background:#2A2924; }
.talk__ask { display:flex; flex-direction:column; gap:18px; }
.talk__done { display:flex; flex-direction:column; gap:14px; }
.talk__done[hidden], .talk__ask[hidden] { display:none; }
.talk__status { display:flex; align-items:flex-start; gap:12px; margin:0; font-size:18px; line-height:1.35; font-weight:500; letter-spacing:-.01em; }
.talk__status i { flex:none; width:14px; height:14px; margin-top:4px; background:#07BE43; }
.talk__status.is-warn i { background:transparent; border:2px solid #14130F; }
.talk__fallback { margin:0; font-size:16px; line-height:1.5; color:#413D35; }
.talk__fallback[hidden] { display:none; }
.talk__fallback button { padding:0; border:0; background:transparent; font:inherit; color:#0B3FCF; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.talk__more { padding-top:12px; border-top:1px solid #DCDCDF; }
[data-talk-more] { display:flex; flex-wrap:wrap; gap:0 22px; }
.talk__more .journey-action { color:#14130F; }
.talk__back { align-self:flex-start; margin:-12px 0 -6px; color:#14130F; }
.talk__back::before { content:'<' / ''; }

/* Contact footer copy feedback */
.contact-links:has(> .contact-copy) { grid-template-columns:max-content minmax(0,1fr); column-gap:6px; }
.contact-links:has(> .contact-copy) > * { grid-column:1 / -1; }
.contact-links:has(> .contact-copy) > [data-contact-channel="email"] { grid-column:1; }
.contact-links:has(> .contact-copy) > .contact-copy { grid-column:2; }
.contact-copy { grid-column:2; align-self:end; justify-self:start; display:inline-flex; align-items:center; gap:8px; min-width:44px; height:44px; margin-bottom:-6px; padding:0 10px; border:0; background:transparent; cursor:pointer; color:#A9A395; font-family:'Array','Spline Sans Mono',ui-monospace,monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
.contact-copy__icon { width:16px; height:16px; flex:none; background:currentColor; -webkit-mask:url(/assets/icons/copy.svg) center/contain no-repeat; mask:url(/assets/icons/copy.svg) center/contain no-repeat; }
.contact-copy:hover, .contact-copy:focus-visible { color:#F0F0F2; }
.contact-copy:focus-visible { outline:2px solid #07BE43; outline-offset:2px; }
.contact-copy[data-copied="true"] { color:#07BE43; }
.contact-copy__status:empty { margin-left:-8px; }

@media(max-width:600px) {
  .talk-layer { align-items:flex-end; padding:0; }
  .talk { width:100%; max-height:92dvh; box-shadow:none; border-width:1px 0 0; }
  .talk__reasons { grid-template-columns:minmax(0,1fr); }
  .talk__body { padding:18px 16px 22px; }
}
@media(prefers-reduced-motion:reduce) {
  .agent-run__step { transition:none; }
  .agent-run__step.is-active i { animation:none; }
}

@media(hover:none) { .talk__close kbd { display:none; } }

/* The page-wide a:hover turns links ink; keep each surface's own colour */
.talk__channel:hover { color:#14130F; text-decoration:none; }
.talk__channel--primary:hover { color:#F0F0F2; }
.talk__more a.journey-action:hover { color:#14130F; }
.agent-run__follow a.journey-action:hover { color:#F0F0F2; }
