:root {
  color-scheme: dark;
  --bg: #080a0b;
  --bg-soft: #0d1113;
  --surface: #121719;
  --surface-2: #1a2022;
  --line: #2b3437;
  --line-strong: #4b575a;
  --paper: #f3f0e8;
  --muted: #acb5b6;
  --gold: #c9a45d;
  --cyan: #57c7cb;
  --green: #66b982;
  --red: #c9574b;
  --orange: #dd8b4c;
  --header-height: 76px;
  --content-width: 1360px;
  --sans: "Aptos", "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

main,
section,
article,
aside,
form,
fieldset {
  min-width: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--bg);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, auto) auto;
  column-gap: 12px;
  align-items: center;
  min-height: var(--header-height);
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 11, 0.93);
  backdrop-filter: blur(18px) saturate(120%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(201, 164, 93, 0.8);
  background: #121310;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 19px;
  box-shadow: inset 0 0 0 4px #0b0d0d;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-copy strong {
  font-size: 14px;
  font-weight: 650;
}

.brand-copy span {
  margin-top: 4px;
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 13px;
  color: var(--muted);
  font-size: 14px;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--paper);
  background: #171c1e;
  transform: translateY(-1px) scale(1.04);
}

.language-switch {
  display: flex;
  margin-left: 18px;
  border: 1px solid var(--line-strong);
}

.language-switch button {
  min-width: 44px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.language-switch button.is-active {
  background: var(--gold);
  color: #0b0c0c;
  font-weight: 750;
}

.menu-toggle {
  display: none;
}

.workspace-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.72fr);
  gap: 48px;
  align-items: center;
  width: 100%;
  min-height: max(720px, calc(100dvh - var(--header-height)));
  margin: 0;
  padding: 52px max(32px, calc((100% - var(--content-width)) / 2)) 68px;
  overflow: hidden;
  isolation: isolate;
  background: #080b0c;
}

.workspace-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 9, 10, 0.97) 0%, rgba(7, 9, 10, 0.85) 35%, rgba(7, 9, 10, 0.48) 67%, rgba(7, 9, 10, 0.58) 100%),
    linear-gradient(0deg, rgba(7, 9, 10, 0.82) 0%, transparent 34%);
  content: "";
}

.workspace-hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 24%, var(--cyan) 66%, transparent);
  opacity: 0.72;
  content: "";
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.78) contrast(1.06);
}

.hero-intro {
  position: relative;
  z-index: 3;
  max-width: 780px;
  min-width: 0;
  animation: hero-enter 620ms ease-out both;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero-intro h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.48);
}

.hero-copy {
  max-width: 720px;
  margin: 28px 0 0;
  color: #cad0cf;
  font-size: 20px;
  line-height: 1.65;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.52);
}

.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 34px;
  color: #d3d7d5;
  font-size: 13px;
}

.status-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.status-line b {
  font-weight: 500;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status-dot--green {
  background: var(--green);
}

.status-dot--gold {
  background: var(--gold);
}

.status-dot--cyan {
  background: var(--cyan);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.primary-command,
.submit-command {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 18px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: var(--gold);
  color: #10110f;
  font-weight: 750;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.primary-command:hover,
.submit-command:hover {
  background: #dab871;
  transform: translateY(-2px) scale(1.03);
}

.text-command {
  padding: 11px 4px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.text-command:hover {
  border-color: var(--cyan);
  color: var(--paper);
  transform: scale(1.03);
}

.brief-panel {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 620px;
  justify-self: end;
  padding: 28px;
  border: 1px solid rgba(96, 112, 117, 0.8);
  border-radius: 6px;
  background: rgba(12, 16, 18, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(16px) saturate(110%);
  animation: panel-enter 720ms 100ms ease-out both;
}

.brief-panel::before {
  position: absolute;
  inset: -1px 28px auto;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--cyan), var(--green));
  content: "";
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.panel-kicker {
  margin-bottom: 6px;
  color: var(--cyan);
  letter-spacing: 2px;
}

.panel-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  letter-spacing: 0;
}

.panel-state {
  padding: 6px 10px;
  border: 1px solid rgba(94, 180, 122, 0.45);
  border-radius: 3px;
  color: #92d3a7;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  margin: 0 0 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.mode-switch label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.mode-switch label + label {
  border-left: 1px solid var(--line);
}

.mode-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mode-switch span {
  display: grid;
  min-height: 46px;
  place-items: center;
  padding: 10px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.mode-switch input:checked + span {
  background: var(--paper);
  color: #101315;
  font-weight: 700;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin-bottom: 16px;
}

.field > span {
  color: #dce0dd;
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: none;
  background: #0b0f12;
  color: var(--paper);
}

.field input,
.field select {
  min-height: 45px;
  padding: 9px 11px;
}

.field textarea {
  min-height: 118px;
  padding: 12px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.chat-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(85, 200, 206, 0.16);
}

.field-row {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 14px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 4px;
}

.form-footer p {
  max-width: 280px;
  margin: 0;
  color: #848e91;
  font-size: 12px;
}

.submit-command {
  border: 0;
  white-space: nowrap;
}

.section-band {
  padding: 100px max(32px, calc((100% - var(--content-width)) / 2));
}

.services-section {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.services-section::before {
  position: absolute;
  inset: 0 auto 0 max(32px, calc((100% - var(--content-width)) / 2));
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(87, 199, 203, 0.7), transparent);
  content: "";
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(320px, 1.18fr);
  column-gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  grid-column: 1;
  margin-bottom: 10px;
}

.section-heading h2 {
  grid-column: 1;
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.section-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.service-card {
  display: grid;
  min-height: 210px;
  align-content: start;
  gap: 13px;
  padding: 26px;
  border: 0;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  z-index: 1;
  background: #f1eee6;
  color: #111517;
  transform: translateY(-4px) scale(1.025);
}

.service-card:hover > span:last-child,
.service-card:focus-visible > span:last-child {
  color: #4a5558;
}

.service-index {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
}

.service-card strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0;
}

.service-card > span:last-child {
  color: var(--muted);
  font-size: 15px;
}

.system-section {
  width: min(100% - 64px, var(--content-width));
  margin: 0 auto;
  padding: 110px 0;
}

.system-workflow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  margin-top: 18px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.system-workflow > i {
  color: #5b666b;
  font-style: normal;
}

.workflow-step {
  display: grid;
  min-height: 110px;
  place-content: center;
  gap: 7px;
  padding: 14px 8px;
  border: 0;
  background: transparent;
  text-align: center;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.workflow-step span {
  color: var(--muted);
  font-size: 11px;
}

.workflow-step strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.workflow-step:hover,
.workflow-step.is-active {
  background: var(--paper);
  color: #0c1012;
  transform: translateY(-3px) scale(1.035);
}

.workflow-step.is-active span {
  color: #6f5a32;
}

.system-detail {
  display: grid;
  grid-template-columns: 0.34fr 1fr 0.8fr;
  gap: 42px;
  align-items: start;
  padding: 32px 0 0;
}

.system-detail > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.system-detail p {
  margin: 0;
  color: #d9ddda;
  font-size: 20px;
}

.system-detail ul {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  list-style: none;
}

.system-detail li::before {
  content: "•";
  margin-right: 9px;
  color: var(--green);
}

.visual-proof {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #101315;
}

.visual-proof picture,
.visual-proof img {
  width: 100%;
  height: 100%;
}

.visual-proof picture {
  position: absolute;
  inset: 0;
}

.visual-proof img {
  object-fit: cover;
  object-position: center top;
  opacity: 0.62;
  filter: saturate(0.82) contrast(1.03);
}

.visual-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 64px, var(--content-width));
  margin: 0 auto;
  padding-top: 96px;
  pointer-events: none;
}

.visual-copy::before {
  position: absolute;
  inset: 54px auto auto -18px;
  width: min(720px, 70%);
  height: 310px;
  border: 1px solid rgba(199, 162, 93, 0.55);
  background: rgba(7, 9, 11, 0.9);
  content: "";
  z-index: -1;
}

.visual-copy h2 {
  max-width: 700px;
  margin: 0;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.visual-copy > p:last-child {
  max-width: 650px;
  margin: 22px 0 0;
  color: #c5ccca;
  font-size: 18px;
}

.jobs-section {
  background: var(--paper);
  color: #111416;
}

.jobs-section .eyebrow {
  color: #715a2c;
}

.jobs-section .section-heading > p:last-child {
  color: #535b5e;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.role-card {
  display: grid;
  min-height: 200px;
  align-content: end;
  gap: 10px;
  padding: 24px;
  border: 1px solid #c7c7c2;
  border-radius: 6px;
  background: #e8e8e2;
  color: #151819;
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
  transition: background-color 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.role-card:hover,
.role-card:focus-visible {
  z-index: 1;
  border-color: #6c7c80;
  background: #ffffff;
  transform: translateY(-4px) scale(1.035);
}

.role-type {
  color: #667174;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.role-card strong {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0;
}

.role-card > span:last-child {
  color: #515a5c;
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 42px;
  align-items: center;
  padding: 38px max(32px, calc((100% - var(--content-width)) / 2));
  border-top: 1px solid var(--line);
  background: #050607;
  color: var(--muted);
  font-size: 13px;
}

.site-footer > div {
  display: flex;
  flex-direction: column;
}

.site-footer strong {
  color: var(--paper);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold);
}

.site-footer__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  white-space: nowrap;
}

.global-concierge-dock {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 140;
  width: min(384px, calc(100vw - 24px));
  pointer-events: none;
}

.global-concierge-dock.is-collapsed {
  width: min(230px, calc(100vw - 24px));
}

.concierge-open-button {
  position: relative;
  display: flex;
  width: min(230px, 100%);
  min-height: 58px;
  margin-left: auto;
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  padding: 10px 16px;
  pointer-events: auto;
  border: 1px solid rgba(232, 136, 93, 0.58);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 228, 175, 0.76) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 38%, rgba(255, 184, 114, 0.58) 0 1px, transparent 2px),
    linear-gradient(135deg, #651c16, #9e3424 55%, #350c0b);
  color: var(--paper);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.52), 0 0 26px rgba(186, 65, 41, 0.2);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease;
}

.concierge-open-button[hidden] {
  display: none;
}

.concierge-open-button::after {
  position: absolute;
  inset: -55%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 226, 183, 0.5), transparent 60%);
  content: "";
  opacity: 0.7;
  transform: translateX(-48%) rotate(8deg);
  animation: concierge-glimmer 20s ease-in-out infinite;
  pointer-events: none;
}

.concierge-open-button:hover {
  border-color: rgba(255, 187, 143, 0.82);
  transform: scale(1.06);
}

.concierge-open-button > span:first-child,
.concierge-open-button__sub {
  position: relative;
  z-index: 1;
}

.concierge-open-button > span:first-child {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.concierge-open-button__sub {
  color: rgba(255, 232, 209, 0.72);
  font-size: 11px;
}

.concierge-panel {
  display: grid;
  width: 100%;
  max-height: min(720px, calc(100dvh - 24px));
  grid-template-rows: auto auto minmax(148px, 1fr) auto;
  overflow: hidden;
  pointer-events: auto;
  border: 1px solid rgba(201, 164, 93, 0.58);
  border-radius: 6px;
  background: rgba(10, 14, 16, 0.97);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.68), 0 0 36px rgba(201, 164, 93, 0.1);
}

.concierge-panel[hidden] {
  display: none;
}

.concierge-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.concierge-topbar .eyebrow {
  margin: 0;
}

.concierge-panel h2 {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0;
}

.concierge-close-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(221, 139, 76, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(201, 87, 75, 0.18), rgba(221, 139, 76, 0.12));
  color: #f3c4a5;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.concierge-close-button:hover {
  border-color: rgba(242, 166, 112, 0.7);
  background: rgba(201, 87, 75, 0.25);
  transform: scale(1.06);
}

.icon-close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.icon-close:hover {
  border-color: var(--red);
  color: var(--paper);
  transform: scale(1.08);
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.quick-action {
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #eef0ed;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, filter 160ms ease;
}

.quick-action:hover,
.quick-action.is-active {
  filter: brightness(1.14);
  transform: scale(1.06);
}

.quick-action--gold {
  border-color: rgba(201, 164, 93, 0.42);
  background: linear-gradient(135deg, rgba(201, 164, 93, 0.3), rgba(244, 225, 180, 0.08));
}

.quick-action--violet {
  border-color: rgba(143, 111, 205, 0.4);
  background: linear-gradient(135deg, rgba(91, 60, 159, 0.34), rgba(175, 146, 229, 0.08));
}

.quick-action--green {
  border-color: rgba(102, 185, 130, 0.4);
  background: linear-gradient(135deg, rgba(34, 122, 67, 0.34), rgba(102, 185, 130, 0.07));
}

.quick-action--azure {
  border-color: rgba(87, 199, 203, 0.4);
  background: linear-gradient(135deg, rgba(40, 118, 145, 0.34), rgba(87, 199, 203, 0.07));
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 11px;
  overflow-y: auto;
  padding: 18px;
}

.chat-message {
  max-width: 88%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #d9dddc;
  font-size: 14px;
}

.chat-message--assistant {
  align-self: flex-start;
  background: var(--surface);
}

.chat-message--user {
  align-self: flex-end;
  border-color: rgba(199, 162, 93, 0.55);
  background: #292418;
}

.chat-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid var(--line);
}

.chat-form textarea {
  min-width: 0;
  min-height: 68px;
  padding: 10px;
  resize: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
  background: #080b0d;
  color: var(--paper);
}

.chat-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.chat-form-actions button {
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.chat-form-actions button:hover {
  filter: brightness(1.12);
  transform: scale(1.06);
}

.chat-restart-button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}

.chat-send-button {
  border: 1px solid rgba(201, 164, 93, 0.5);
  background: linear-gradient(135deg, #9f8147, var(--gold));
  color: #111;
  font-weight: 750;
}

.role-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
}

.role-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}

.role-dialog > .icon-close {
  position: absolute;
  top: 16px;
  right: 16px;
}

.role-dialog h2 {
  margin: 0;
  padding-right: 48px;
  font-family: var(--serif);
  font-size: 41px;
  font-weight: 400;
  letter-spacing: 0;
}

.role-dialog > p:not(.eyebrow) {
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: 18px;
}

.role-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-bottom: 26px;
  background: var(--line);
}

.role-facts span {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: #0d1114;
}

.role-facts b {
  color: var(--gold);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.role-facts i {
  color: #d5dad8;
  font-style: normal;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 300;
  max-width: calc(100vw - 32px);
  padding: 13px 17px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: #102117;
  color: #d8f1df;
  text-align: center;
  transform: translateX(-50%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.toast[hidden] {
  display: none;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.7);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}

@keyframes concierge-glimmer {
  0%,
  86% {
    transform: translateX(-55%) rotate(8deg);
  }
  92% {
    transform: translateX(55%) rotate(8deg);
  }
  100% {
    transform: translateX(55%) rotate(8deg);
  }
}

@media (max-width: 1180px) {
  .workspace-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    min-height: 0;
    padding-right: max(32px, calc((100% - 980px) / 2));
    padding-left: max(32px, calc((100% - 980px) / 2));
  }

  .hero-intro h1 {
    font-size: 52px;
  }

  .hero-intro,
  .brief-panel {
    max-width: 760px;
  }

  .brief-panel {
    justify-self: stretch;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .section-heading h2 {
    font-size: 40px;
  }

  .visual-copy h2 {
    font-size: 42px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    padding: 0 20px;
  }

  .menu-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    width: 20px;
    height: 2px;
    background: var(--paper);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    display: none;
    min-width: 220px;
    padding: 8px;
    border: 1px solid var(--line);
    background: #0b0e10;
  }

  .site-nav.is-open {
    display: grid;
  }

  .language-switch {
    grid-column: 3;
    grid-row: 1;
    margin-left: 10px;
  }

  .workspace-hero {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
    padding: 66px max(20px, calc((100% - 760px) / 2)) 78px;
  }

  .workspace-hero::before {
    background:
      linear-gradient(90deg, rgba(7, 9, 10, 0.96), rgba(7, 9, 10, 0.72)),
      linear-gradient(0deg, rgba(7, 9, 10, 0.9), transparent 45%);
  }

  .hero-media img {
    object-position: 63% center;
  }

  .hero-intro {
    max-width: none;
  }

  .brief-panel {
    max-width: none;
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.42);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .service-grid,
  .role-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .system-workflow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .system-workflow > i {
    display: none;
  }

  .workflow-step {
    min-height: 64px;
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-content: stretch;
    text-align: left;
  }

  .system-detail {
    grid-template-columns: 0.45fr 1.55fr;
  }

  .system-detail ul {
    grid-column: 2;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 820px) {
  .global-concierge-dock {
    top: auto;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: min(372px, calc(100vw - 24px));
  }

  .global-concierge-dock.is-collapsed {
    width: min(220px, calc(100vw - 24px));
  }

  .concierge-panel {
    max-height: min(78svh, calc(100dvh - 28px - env(safe-area-inset-bottom, 0px)));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0 12px;
  }

  .brand-copy {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    right: 12px;
    left: 12px;
  }

  .workspace-hero {
    width: 100%;
    padding: 46px 14px 70px;
  }

  .workspace-hero::before {
    background:
      linear-gradient(90deg, rgba(7, 9, 10, 0.94), rgba(7, 9, 10, 0.77)),
      linear-gradient(0deg, rgba(7, 9, 10, 0.96), rgba(7, 9, 10, 0.18) 70%);
  }

  .hero-media {
    height: 100%;
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero-intro h1 {
    font-size: 39px;
    line-height: 1.07;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-command,
  .text-command {
    width: 100%;
    text-align: center;
  }

  .brief-panel {
    padding: 18px;
    background: rgba(12, 16, 18, 0.98);
    box-shadow: none;
  }

  .panel-heading h2 {
    font-size: 27px;
  }

  .mode-switch,
  .field-row {
    grid-template-columns: 1fr;
  }

  .mode-switch label + label {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .form-footer p {
    max-width: none;
  }

  .submit-command {
    width: 100%;
  }

  .section-band {
    padding: 76px 14px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .visual-copy h2 {
    font-size: 34px;
  }

  .section-heading > p:last-child,
  .visual-copy > p:last-child {
    font-size: 16px;
  }

  .service-grid,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .role-card {
    min-height: 165px;
  }

  .system-section {
    width: min(100% - 28px, 580px);
    padding: 78px 0;
  }

  .system-detail {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .system-detail ul {
    grid-column: 1;
  }

  .visual-proof {
    min-height: 620px;
  }

  .visual-proof img {
    object-position: 55% top;
  }

  .visual-copy {
    width: min(100% - 28px, 580px);
    padding-top: 64px;
  }

  .visual-copy::before {
    inset: 30px -10px auto -10px;
    width: auto;
    height: 390px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 16px 96px;
  }

  .site-footer p {
    grid-column: auto;
    grid-row: auto;
  }

  .global-concierge-dock {
    top: auto;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: min(360px, calc(100vw - 20px));
  }

  .global-concierge-dock.is-collapsed {
    width: min(210px, calc(100vw - 20px));
  }

  .concierge-open-button {
    min-height: 52px;
    padding: 8px 14px;
  }

  .concierge-panel {
    max-height: min(76svh, calc(100dvh - 24px - env(safe-area-inset-bottom, 0px)));
  }

  .concierge-topbar {
    padding: 14px;
  }

  .concierge-panel h2 {
    font-size: 22px;
  }

  .quick-actions {
    gap: 6px;
    padding: 10px 12px;
  }

  .quick-action {
    min-height: 48px;
    padding: 8px 9px;
    font-size: 11px;
  }

  .chat-log {
    padding: 14px;
  }

  .chat-form {
    padding: 12px;
  }

  .chat-form-actions {
    justify-content: space-between;
  }

  .chat-form-actions button {
    min-height: 42px;
  }

  .role-dialog {
    padding: 28px 20px 20px;
  }

  .role-dialog h2 {
    font-size: 34px;
  }

  .role-facts {
    grid-template-columns: 1fr;
  }
}

/* International topics magazine and its independent editorial image cycle. */
.topics-section {
  position: relative;
  z-index: 2;
  scroll-margin-top: var(--header-height);
  background: rgba(255, 255, 255, 0.42);
  color: #14282d;
}

.topics-showcase {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(720px, 78dvh);
  align-items: end;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  background: #142a30;
  color: #ffffff;
}

.topics-showcase::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.3) 49%, rgba(0, 0, 0, 0.06) 78%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.52), transparent 58%);
  content: "";
  pointer-events: none;
}

.topics-showcase__slides,
.topics-showcase__slide {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.topics-showcase__slide {
  opacity: 0;
  object-fit: cover;
  transform: scale(1.035);
  transition: opacity 1900ms ease, transform 8500ms ease;
}

.topics-showcase__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.topics-showcase__copy {
  display: grid;
  width: min(100% - 64px, var(--content-width));
  max-width: 820px;
  gap: 22px;
  margin: 0 auto;
  padding: 110px 0 118px;
}

.topics-showcase__copy .eyebrow {
  color: #74e8e8;
}

.topics-showcase__copy h2 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.topics-showcase__copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.7;
}

.topics-showcase__open {
  display: inline-flex;
  width: fit-content;
  min-height: 50px;
  align-items: center;
  gap: 28px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #142a30;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.topics-showcase__open:hover,
.topics-showcase__open:focus-visible {
  background: #ffcf58;
  color: #111d20;
  outline: none;
  transform: translateY(-2px);
}

.topics-showcase__controls {
  position: absolute;
  right: max(32px, calc((100% - var(--content-width)) / 2));
  bottom: 34px;
  display: grid;
  grid-template-columns: 42px auto 42px;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.topics-showcase__controls button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

.topics-showcase__controls button:hover,
.topics-showcase__controls button:focus-visible {
  border-color: #74e8e8;
  background: rgba(16, 45, 51, 0.84);
  outline: none;
}

.topics-showcase__controls span {
  min-width: 70px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.topics-overview {
  width: min(100% - 64px, var(--content-width));
  margin: 0 auto;
  padding: 104px 0 118px;
}

.topics-heading {
  margin-bottom: 40px;
}

.topics-heading > p:last-child {
  color: #52676b;
}

.topic-filters {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  margin-bottom: 34px;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.topic-filters button {
  min-height: 40px;
  flex: 0 0 auto;
  padding: 0 15px;
  border: 1px solid rgba(32, 67, 73, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: #314b50;
  font-weight: 750;
  cursor: pointer;
}

.topic-filters button.is-active,
.topic-filters button:hover,
.topic-filters button:focus-visible {
  border-color: #14343b;
  background: #14343b;
  color: #ffffff;
  outline: none;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.topic-card {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid rgba(38, 67, 72, 0.19);
  border-radius: 7px;
  background: rgba(251, 253, 251, 0.96);
  box-shadow: 0 16px 34px rgba(24, 54, 60, 0.1);
}

.topic-card > img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 520ms ease;
}

.topic-card:hover > img {
  transform: scale(1.035);
}

.topic-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.topic-card__category {
  margin-bottom: 20px;
  color: #0b8a91;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.topic-card h3 {
  margin: 0 0 15px;
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
}

.topic-card p {
  margin: 0 0 24px;
  color: #586b6f;
  font-size: 14px;
  line-height: 1.55;
}

.topic-card__open {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding: 0;
  border: 0;
  border-top: 1px solid rgba(38, 67, 72, 0.2);
  background: transparent;
  color: #14343b;
  font-weight: 800;
  cursor: pointer;
}

.topic-card--dark {
  border-color: rgba(123, 163, 164, 0.32);
  background: rgba(16, 40, 46, 0.97);
  color: #ffffff;
}

.topic-card--dark .topic-card__category {
  color: #6ee0e0;
}

.topic-card--dark p {
  color: #c5d5d4;
}

.topic-card--dark .topic-card__open {
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffda78;
}

.topic-dialog {
  width: min(1080px, calc(100vw - 36px));
  max-height: calc(100dvh - 30px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  border: 1px solid rgba(121, 151, 151, 0.45);
  border-radius: 8px;
  background: #f9fbf8;
  color: #183036;
  box-shadow: 0 30px 90px rgba(7, 27, 32, 0.34);
}

.topic-dialog::backdrop {
  background: rgba(3, 15, 18, 0.78);
}

.topic-dialog__close {
  position: sticky;
  top: 18px;
  z-index: 5;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: 18px 18px -62px auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(9, 28, 33, 0.78);
  color: #ffffff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.topic-article__hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 640px;
  align-items: end;
  overflow: hidden;
  background: #122b31;
  color: #ffffff;
}

.topic-article__hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.22) 68%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 66%);
  content: "";
}

.topic-article__hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-article__headline {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 850px;
  gap: 18px;
  padding: 72px;
}

.topic-article__headline h1 {
  min-width: 0;
  margin: 0;
  overflow-wrap: break-word;
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
}

.topic-article__headline > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.6;
}

.topic-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #d0e1df;
  font-size: 12px;
  font-weight: 750;
}

.topic-article__body,
.topic-article__footer {
  width: min(100% - 64px, 760px);
  margin: 0 auto;
}

.topic-article__body {
  padding: 76px 0 48px;
}

.topic-article__lead {
  margin: 0 0 54px;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.45;
}

.topic-article__body section {
  margin-top: 48px;
}

.topic-article__body h2,
.topic-article__footer h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

.topic-article__body p {
  margin: 0 0 20px;
  color: #3f5357;
  font-size: 17px;
  line-height: 1.82;
}

.topic-article__footer {
  display: grid;
  gap: 28px;
  padding: 24px 0 80px;
  border-top: 1px solid #cfdbd7;
}

.topic-article__sources > div {
  display: grid;
  gap: 10px;
}

.topic-article__sources a {
  color: #0a747c;
  line-height: 1.5;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.topic-article__notice {
  margin: 0;
  padding: 16px 18px;
  border-left: 3px solid #e2b33d;
  background: #fff5d9;
  color: #5b512f;
  font-size: 13px;
  line-height: 1.55;
}

.topic-article__footer .primary-command {
  width: fit-content;
}

@media (max-width: 1040px) {
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic-card {
    grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  }
}

@media (max-width: 760px) {
  .topics-showcase {
    min-height: 700px;
  }

  .topics-showcase::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.16)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent 72%);
  }

  .topics-showcase__copy,
  .topics-overview {
    width: calc(100% - 28px);
  }

  .topics-showcase__copy {
    padding: 90px 0 130px;
  }

  .topics-showcase__copy h2 {
    font-size: 42px;
  }

  .topics-showcase__controls {
    right: 14px;
    bottom: 24px;
  }

  .topics-overview {
    padding: 76px 0 88px;
  }

  .topic-card {
    grid-template-columns: 1fr;
  }

  .topic-card > img {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .topic-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }

  .topic-dialog__close {
    top: 12px;
    margin: 12px 12px -56px auto;
  }

  .topic-article__hero {
    min-height: 650px;
  }

  .topic-article__headline {
    padding: 68px 24px 42px;
  }

  .topic-article__headline h1 {
    overflow-wrap: normal;
    font-size: 31px;
    hyphens: auto;
  }

  .topic-article__body,
  .topic-article__footer {
    width: calc(100% - 40px);
  }

  .topic-article__body {
    padding-top: 54px;
  }

  .topic-article__lead {
    font-size: 23px;
  }

  .topic-article__body h2,
  .topic-article__footer h2 {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topics-showcase__slide {
    transition: none;
  }
}

@media (max-width: 390px) {
  .site-header {
    padding-inline: 10px;
  }

  .language-switch {
    gap: 2px;
    margin-left: 2px;
  }

  .language-switch button {
    min-width: 38px;
    padding-inline: 8px;
  }

  .hero-content {
    padding-inline: 12px;
  }

  .hero-intro h1 {
    font-size: 34px;
  }

  .brief-panel {
    padding: 16px 14px;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .panel-state {
    align-self: flex-start;
  }

  .status-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .role-dialog h2 {
    font-size: 30px;
  }
}

/* 2026 visual refresh: brighter editorial surfaces, richer imagery and restrained motion. */
:root {
  color-scheme: light;
  --bg: #f7f8f4;
  --bg-soft: #edf5f3;
  --surface: #ffffff;
  --surface-2: #e7efec;
  --line: #d5dedb;
  --line-strong: #b7c6c1;
  --paper: #fffef9;
  --ink: #142126;
  --muted: #5f6d70;
  --gold: #e5b73f;
  --cyan: #12aeb5;
  --green: #2f9d69;
  --red: #e85e53;
  --orange: #ef8b43;
  --lavender: #8d7bd1;
  --hero-shift: 0px;
}

body {
  background: var(--bg);
  color: var(--ink);
}

body * {
  letter-spacing: 0;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 500;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--red));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.site-header {
  border-color: rgba(21, 39, 44, 0.1);
  background: rgba(250, 251, 248, 0.9);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(20, 33, 38, 0.04);
  backdrop-filter: blur(20px) saturate(145%);
  transition: min-height 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  background: rgba(255, 255, 252, 0.96);
  box-shadow: 0 12px 32px rgba(27, 54, 60, 0.1);
}

.brand-mark {
  border-color: rgba(19, 173, 181, 0.52);
  border-radius: 8px;
  background: #17353b;
  color: #ffe08a;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.08), 0 8px 20px rgba(19, 73, 82, 0.18);
}

.brand-copy span {
  color: #117f86;
}

.site-nav a {
  border-radius: 6px;
  color: #526267;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #e4f4f1;
  color: #123941;
}

.language-switch {
  overflow: hidden;
  border-color: #c6d4d0;
  border-radius: 8px;
  background: #ffffff;
}

.language-switch button {
  color: #526267;
}

.language-switch button.is-active {
  background: #17353b;
  color: #ffffff;
}

.workspace-hero {
  min-height: max(760px, calc(100dvh - var(--header-height)));
  background: #173038;
}

.workspace-hero::before {
  background:
    linear-gradient(90deg, rgba(11, 33, 39, 0.92) 0%, rgba(11, 33, 39, 0.73) 38%, rgba(11, 33, 39, 0.24) 68%, rgba(11, 33, 39, 0.32) 100%),
    linear-gradient(0deg, rgba(9, 28, 33, 0.66) 0%, transparent 42%),
    linear-gradient(135deg, rgba(18, 174, 181, 0.18), transparent 48%, rgba(232, 94, 83, 0.15));
}

.workspace-hero::after {
  height: 5px;
  background: linear-gradient(90deg, var(--cyan), #4fd19b 34%, var(--gold) 64%, var(--red));
  opacity: 1;
}

.hero-media img {
  filter: saturate(1.12) contrast(0.98) brightness(1.09);
  transform: scale(1.045) translateY(var(--hero-shift));
  transform-origin: center;
  will-change: transform;
}

.hero-intro {
  color: #ffffff;
}

.hero-intro .eyebrow {
  color: #76edf0;
}

.hero-intro h1 {
  font-size: 64px;
  text-shadow: 0 5px 28px rgba(5, 24, 29, 0.42);
}

.hero-copy {
  color: #f1f7f5;
  text-shadow: 0 3px 20px rgba(4, 23, 28, 0.52);
}

.status-line {
  color: #f3f7f6;
}

.status-line span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(9, 32, 38, 0.42);
  backdrop-filter: blur(10px);
}

.primary-command,
.submit-command {
  border-color: #ffce58;
  border-radius: 7px;
  background: #ffce58;
  color: #172126;
  box-shadow: 0 12px 28px rgba(229, 183, 63, 0.22);
}

.primary-command:hover,
.submit-command:hover {
  background: #ffdb7d;
  box-shadow: 0 16px 34px rgba(229, 183, 63, 0.3);
}

.text-command {
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.brief-panel {
  border-color: rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(252, 254, 251, 0.92);
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(5, 30, 36, 0.3), 0 0 0 1px rgba(20, 174, 181, 0.08);
  backdrop-filter: blur(22px) saturate(135%);
}

.brief-panel::before {
  inset: -1px 34px auto;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--red));
}

.panel-kicker {
  color: #0f8e95;
}

.panel-state {
  border-color: rgba(47, 157, 105, 0.35);
  border-radius: 999px;
  background: #e8f7ee;
  color: #23764e;
}

.mode-switch {
  overflow: hidden;
  border-color: #cfdad6;
  border-radius: 8px;
  background: #edf3f1;
}

.mode-switch label + label {
  border-color: #cfdad6;
}

.mode-switch span {
  color: #526267;
}

.mode-switch input:checked + span {
  background: #17353b;
  color: #ffffff;
}

.field > span {
  color: #263b41;
}

.field input,
.field select,
.field textarea {
  border-color: #cbd7d3;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.chat-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(18, 174, 181, 0.12);
}

.form-footer p {
  color: #68777a;
}

.section-band {
  padding-top: 112px;
  padding-bottom: 112px;
}

.services-section {
  overflow: hidden;
  border-color: #d6e2de;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), transparent 22%),
    #eef6f4;
}

.services-section::before {
  width: 5px;
  background: linear-gradient(180deg, transparent, var(--cyan) 25%, var(--gold) 58%, var(--red), transparent);
}

.section-heading .eyebrow,
.dev-specialties .eyebrow {
  color: #0f8e95;
}

.section-heading > p:last-child {
  color: #5b696d;
}

.service-grid {
  gap: 14px;
  border: 0;
  perspective: 1000px;
}

.service-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  min-height: 224px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(29, 57, 63, 0.1);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(32, 69, 74, 0.08);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: var(--card-accent, var(--cyan));
  content: "";
}

.service-card::after {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: rgba(20, 33, 38, 0.28);
  content: "↗";
  font-size: 25px;
  transition: color 180ms ease, transform 180ms ease;
}

.service-card:nth-child(1),
.service-card:nth-child(9) {
  --card-accent: #12aeb5;
  background: #ddf6f3;
}

.service-card:nth-child(2),
.service-card:nth-child(11) {
  --card-accent: #8d7bd1;
  background: #eeebfb;
}

.service-card:nth-child(3),
.service-card:nth-child(10) {
  --card-accent: #e5b73f;
  background: #fff4cb;
}

.service-card:nth-child(4),
.service-card:nth-child(8) {
  --card-accent: #2f9d69;
  background: #e1f3e7;
}

.service-card:nth-child(5),
.service-card:nth-child(7) {
  --card-accent: #e85e53;
  background: #fde8e4;
}

.service-card:nth-child(6),
.service-card:nth-child(12) {
  --card-accent: #397ec1;
  background: #e5f0fb;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: rgba(23, 88, 96, 0.28);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 24px 50px rgba(31, 73, 80, 0.16);
  transform: perspective(900px) translateY(-8px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.service-card:hover::after,
.service-card:focus-visible::after {
  color: var(--card-accent, var(--cyan));
  transform: translate(3px, -3px);
}

.service-index {
  color: #127d83;
}

.service-card strong {
  max-width: 92%;
  font-size: 26px;
}

.service-card > span:last-child,
.service-card:hover > span:last-child,
.service-card:focus-visible > span:last-child {
  max-width: 88%;
  color: #536367;
}

.dev-specialties {
  margin-top: 76px;
  padding-top: 56px;
  border-top: 1px solid #c9d9d4;
}

.dev-specialties__heading {
  position: relative;
  display: grid;
  min-height: 330px;
  align-content: end;
  overflow: hidden;
  padding: 42px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(10, 35, 42, 0.94), rgba(10, 35, 42, 0.7) 48%, rgba(10, 35, 42, 0.15)),
    url("/assets/role-tech.webp") center 42% / cover;
  color: #ffffff;
}

.dev-specialties__heading .eyebrow {
  color: #71e5e8;
}

.dev-specialties__heading h3 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.08;
}

.dev-specialties__heading > p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: #edf7f5;
  font-size: 17px;
}

.dev-specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  perspective: 1000px;
}

.dev-specialty {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  display: grid;
  min-height: 190px;
  align-content: start;
  gap: 10px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #d5e0dc;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(31, 73, 80, 0.06);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.dev-specialty:nth-child(3n + 1) {
  border-top: 6px solid var(--cyan);
}

.dev-specialty:nth-child(3n + 2) {
  border-top: 6px solid var(--red);
}

.dev-specialty:nth-child(3n) {
  border-top: 6px solid var(--gold);
}

.dev-specialty::after {
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: #9aa9a5;
  content: "↗";
  font-size: 22px;
}

.dev-specialty > span {
  color: #11878e;
  font-size: 12px;
  font-weight: 750;
}

.dev-specialty strong {
  max-width: 88%;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.16;
}

.dev-specialty small {
  max-width: 88%;
  color: #5a696c;
  font-size: 14px;
}

.dev-specialty:hover,
.dev-specialty:focus-visible {
  border-color: #aabdb7;
  box-shadow: 0 22px 44px rgba(31, 73, 80, 0.14);
  transform: perspective(900px) translateY(-7px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.system-section {
  width: 100%;
  max-width: none;
  padding: 112px max(32px, calc((100% - var(--content-width)) / 2));
  background:
    linear-gradient(120deg, rgba(18, 174, 181, 0.12), transparent 44%),
    linear-gradient(300deg, rgba(229, 183, 63, 0.12), transparent 38%),
    #123038;
  color: #ffffff;
}

.system-section .section-heading > p:last-child {
  color: #c6d9d7;
}

.system-section .eyebrow {
  color: #72e4e7;
}

.system-workflow {
  gap: 8px;
  border: 0;
}

.system-workflow > i {
  color: #7aa7a7;
}

.workflow-step {
  min-height: 116px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #f5fbf9;
}

.workflow-step span {
  color: #8dc2c2;
}

.workflow-step:hover,
.workflow-step.is-active {
  background: #ffcf5b;
  color: #172126;
  box-shadow: 0 16px 34px rgba(2, 19, 23, 0.24);
}

.system-detail {
  margin-top: 16px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.system-detail > span {
  color: #ffdc83;
}

.system-detail p {
  color: #f0f7f5;
}

.system-detail ul {
  color: #bdd1cf;
}

.visual-proof {
  min-height: 720px;
  border: 0;
  background: #17353b;
}

.visual-proof::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8, 31, 38, 0.9) 0%, rgba(8, 31, 38, 0.64) 48%, rgba(8, 31, 38, 0.05) 78%),
    linear-gradient(0deg, rgba(8, 31, 38, 0.55), transparent 42%);
  content: "";
}

.visual-proof img {
  opacity: 1;
  filter: saturate(1.08) contrast(0.98) brightness(1.06);
  transition: transform 900ms ease;
}

.visual-proof:hover img {
  transform: scale(1.025);
}

.visual-copy {
  padding-top: 118px;
  color: #ffffff;
}

.visual-copy::before {
  display: none;
}

.visual-copy .eyebrow {
  color: #73e9ec;
}

.visual-copy h2 {
  max-width: 760px;
  font-size: 54px;
  text-shadow: 0 5px 30px rgba(4, 23, 28, 0.45);
}

.visual-copy > p:last-child {
  color: #e4efed;
  text-shadow: 0 3px 18px rgba(4, 23, 28, 0.46);
}

.jobs-section {
  position: relative;
  overflow: hidden;
  background: #fbfaf6;
  color: var(--ink);
}

.jobs-section::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--cyan), #4fd19b, var(--gold), var(--red), var(--lavender));
  content: "";
}

.jobs-section .eyebrow {
  color: #b34b43;
}

.role-visuals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
  perspective: 1100px;
}

.role-visual {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --image-x: 0px;
  --image-y: 0px;
  position: relative;
  display: grid;
  min-height: 320px;
  align-items: end;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #18353c;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(31, 55, 60, 0.13);
  transform-style: preserve-3d;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.role-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 28, 34, 0.94), rgba(8, 28, 34, 0.18) 68%);
  content: "";
}

.role-visual img {
  position: absolute;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  object-fit: cover;
  transform: translate(var(--image-x), var(--image-y)) scale(1.015);
  transition: transform 260ms ease, filter 260ms ease;
}

.role-visual--operations img {
  object-position: 55% center;
}

.role-visual--coordination img {
  object-position: 56% center;
}

.role-visual > span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 24px;
}

.role-visual i {
  color: #8ee8e8;
  font-size: 11px;
  font-style: normal;
  font-weight: 750;
  text-transform: uppercase;
}

.role-visual strong {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.08;
}

.role-visual small {
  color: #e4efed;
  font-size: 13px;
}

.role-visual:hover,
.role-visual:focus-visible,
.role-visual.is-active {
  box-shadow: 0 28px 54px rgba(26, 63, 70, 0.22);
  transform: perspective(900px) translateY(-8px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.role-visual.is-active {
  outline: 4px solid #ffcf5b;
  outline-offset: -4px;
}

.role-filters {
  display: flex;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 24px;
  overflow-x: auto;
  padding: 6px;
  border: 1px solid #d5dfdb;
  border-radius: 8px;
  background: #ffffff;
  scrollbar-width: thin;
}

.role-filters button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 9px 15px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #536367;
  cursor: pointer;
  transition: background-color 170ms ease, color 170ms ease, transform 170ms ease;
}

.role-filters button:hover {
  background: #edf5f3;
  color: #17353b;
}

.role-filters button.is-active {
  background: #17353b;
  color: #ffffff;
}

.role-grid {
  gap: 12px;
  perspective: 1000px;
}

.role-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 26px;
  border-color: rgba(31, 55, 60, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(31, 55, 60, 0.07);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.role-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--role-accent, var(--cyan));
  content: "";
}

.role-card::after {
  position: absolute;
  right: 22px;
  top: 20px;
  color: rgba(20, 33, 38, 0.24);
  content: "↗";
  font-size: 22px;
}

.role-card[data-role-category="programming"] {
  --role-accent: #12aeb5;
  background: #e9f7f5;
}

.role-card[data-role-category="operations"] {
  --role-accent: #e5b73f;
  background: #fff5d7;
}

.role-card[data-role-category="coordination"] {
  --role-accent: #e85e53;
  background: #fdebe7;
}

.role-card[data-role-category="coaching"] {
  --role-accent: #8d7bd1;
  background: #efedfa;
}

.role-card:hover,
.role-card:focus-visible {
  border-color: rgba(31, 83, 90, 0.28);
  background: #ffffff;
  box-shadow: 0 24px 46px rgba(31, 64, 69, 0.15);
  transform: perspective(900px) translateY(-8px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.role-card[hidden] {
  display: none;
}

.role-type {
  color: #127c83;
}

.role-card strong {
  max-width: 90%;
}

.role-card > span:last-child {
  max-width: 90%;
  color: #536367;
}

.site-footer {
  border: 0;
  background: #10282f;
  color: #b9cdcb;
}

.site-footer strong {
  color: #ffffff;
}

.site-footer a {
  color: #ffda78;
}

.global-concierge-dock {
  top: auto;
  bottom: 18px;
  width: min(430px, calc(100vw - 24px));
}

.concierge-open-button {
  border-color: rgba(255, 255, 255, 0.46);
  background: linear-gradient(135deg, #e85e53, #ef8b43 58%, #e5b73f);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(135, 61, 50, 0.24);
}

.concierge-open-button::after {
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.5), transparent 60%);
}

.concierge-open-button__sub {
  color: rgba(255, 255, 255, 0.8);
}

.concierge-panel {
  grid-template-rows: auto auto minmax(180px, 1fr) auto;
  border-color: #cad8d4;
  border-radius: 8px;
  background: rgba(253, 254, 251, 0.97);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(28, 58, 64, 0.22);
}

.concierge-topbar,
.quick-actions,
.chat-form {
  border-color: #d8e2df;
}

.concierge-topbar .eyebrow {
  color: #11878e;
}

.chat-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: #5a6e71;
  font-size: 11px;
}

.chat-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28a678;
  box-shadow: 0 0 0 4px rgba(40, 166, 120, 0.12);
  content: "";
}

.concierge-close-button {
  border-color: #f0b1aa;
  background: #fce9e6;
  color: #a7423b;
}

.quick-action {
  display: flex;
  align-items: center;
  border-radius: 7px;
  color: #1f3439;
  font-weight: 700;
  line-height: 1.25;
}

.quick-action--restart {
  grid-column: 1 / -1;
  min-height: 38px;
  justify-content: center;
  border-color: #d5dfdc;
  background: #f3f6f4;
  color: #607174;
}

.quick-action--gold {
  border-color: #edd58d;
  background: #fff4cd;
}

.quick-action--violet {
  border-color: #c9c0eb;
  background: #efecfb;
}

.quick-action--green {
  border-color: #a9d6ba;
  background: #e6f5eb;
}

.quick-action--azure {
  border-color: #9dd9dc;
  background: #e1f5f4;
}

.chat-message {
  border-color: #d5e0dc;
  color: #35474b;
  line-height: 1.5;
}

.chat-message--assistant {
  background: #edf5f3;
}

.chat-message--with-options {
  width: 100%;
  max-width: 100%;
  padding: 13px;
}

.chat-message__text {
  white-space: pre-line;
}

.chat-choice-list {
  display: grid;
  gap: 7px;
  margin-top: 13px;
}

.chat-choice {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid #cbdad6;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.86);
  color: #223a3f;
  text-align: left;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.chat-choice:hover,
.chat-choice:focus-visible {
  border-color: #0d8c91;
  background: #ffffff;
  outline: none;
  transform: translateX(3px);
}

.chat-choice:disabled {
  cursor: default;
  opacity: 0.58;
  transform: none;
}

.chat-choice__number {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  background: #17353b;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.chat-choice:nth-child(4n + 2) .chat-choice__number {
  background: #c95249;
}

.chat-choice:nth-child(4n + 3) .chat-choice__number {
  background: #168584;
}

.chat-choice:nth-child(4n + 4) .chat-choice__number {
  background: #8a6d20;
}

.chat-choice__content {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.chat-choice__content strong {
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.35;
}

.chat-choice__content > span {
  overflow-wrap: anywhere;
  color: #647679;
  font-size: 11px;
  line-height: 1.4;
}

.chat-back-hint {
  display: block;
  margin-top: 12px;
  color: #718184;
  font-size: 11px;
}

.chat-message--user {
  border-color: #e6c15e;
  background: #fff2c9;
  white-space: pre-line;
}

.chat-form textarea {
  border-color: #cad7d3;
  border-radius: 7px;
  background: #ffffff;
  color: var(--ink);
}

.chat-restart-button {
  border-color: #cad7d3;
  color: #59696c;
}

.chat-restart-button:disabled,
.chat-send-button:disabled,
.quick-action:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.chat-send-button {
  border-color: #17353b;
  background: #17353b;
  color: #ffffff;
}

.role-dialog {
  border-color: #cbd8d4;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(22, 50, 56, 0.28);
}

.role-dialog::backdrop {
  background: rgba(17, 39, 46, 0.58);
}

.role-dialog > p:not(.eyebrow) {
  color: #59696c;
}

.role-facts {
  background: #d5e0dc;
}

.role-facts span {
  background: #edf5f3;
}

.role-facts b {
  color: #0f8087;
}

.role-facts i {
  color: #35474b;
}

.reveal-item {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 620ms ease var(--reveal-delay, 0ms), translate 620ms ease var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (max-width: 1180px) {
  .hero-intro h1 {
    font-size: 56px;
  }

  .role-visuals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .role-visual {
    min-height: 300px;
  }
}

@media (max-width: 960px) {
  .site-nav {
    border-color: #cad7d3;
    border-radius: 8px;
    background: rgba(255, 255, 252, 0.98);
    box-shadow: 0 18px 38px rgba(27, 54, 60, 0.14);
  }

  .menu-toggle > span:not(.sr-only) {
    background: #17353b;
  }

  .workspace-hero::before {
    background:
      linear-gradient(90deg, rgba(10, 32, 38, 0.9), rgba(10, 32, 38, 0.58)),
      linear-gradient(0deg, rgba(10, 32, 38, 0.72), transparent 48%);
  }

  .dev-specialty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .system-section {
    padding-right: max(20px, calc((100% - 760px) / 2));
    padding-left: max(20px, calc((100% - 760px) / 2));
  }

  .system-detail {
    grid-template-columns: 0.45fr 1.55fr;
  }

  .global-concierge-dock {
    top: auto;
    bottom: 14px;
  }
}

@media (max-width: 820px) {
  .global-concierge-dock {
    top: auto;
  }
}

@media (max-width: 640px) {
  .global-concierge-dock.is-open {
    right: 10px;
    left: 10px;
    width: auto;
  }

  .workspace-hero {
    padding-top: 52px;
  }

  .workspace-hero::before {
    background:
      linear-gradient(90deg, rgba(9, 30, 36, 0.88), rgba(9, 30, 36, 0.62)),
      linear-gradient(0deg, rgba(9, 30, 36, 0.9), rgba(9, 30, 36, 0.22) 72%);
  }

  .hero-intro h1 {
    font-size: 42px;
  }

  .status-line span {
    width: fit-content;
  }

  .brief-panel {
    background: rgba(252, 254, 251, 0.96);
    box-shadow: 0 20px 50px rgba(5, 30, 36, 0.22);
  }

  .mode-switch label + label {
    border-color: #cfdad6;
  }

  .section-band {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .service-card,
  .role-card {
    min-height: 190px;
  }

  .dev-specialties {
    margin-top: 58px;
    padding-top: 42px;
  }

  .dev-specialties__heading {
    min-height: 380px;
    padding: 28px 22px;
    background:
      linear-gradient(0deg, rgba(10, 35, 42, 0.94), rgba(10, 35, 42, 0.18) 78%),
      url("/assets/role-tech.webp") 58% center / cover;
  }

  .dev-specialties__heading h3 {
    font-size: 34px;
  }

  .dev-specialty-grid {
    grid-template-columns: 1fr;
  }

  .system-section {
    width: 100%;
    padding: 82px 14px;
  }

  .system-detail {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .visual-proof {
    min-height: 650px;
  }

  .visual-proof::after {
    background:
      linear-gradient(0deg, rgba(8, 31, 38, 0.92), rgba(8, 31, 38, 0.22) 76%),
      linear-gradient(90deg, rgba(8, 31, 38, 0.58), transparent);
  }

  .visual-copy {
    padding-top: 340px;
  }

  .visual-copy h2 {
    font-size: 36px;
  }

  .role-visuals {
    grid-template-columns: 1fr;
  }

  .role-visual {
    min-height: 290px;
  }

  .role-filters {
    justify-content: flex-start;
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 390px) {
  .hero-intro h1 {
    font-size: 36px;
  }

  .dev-specialties__heading,
  .role-visual {
    min-height: 270px;
  }

  .dev-specialties__heading h3 {
    font-size: 30px;
  }

  .role-visual strong {
    font-size: 24px;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .brief-panel,
  .concierge-panel {
    background: rgba(253, 254, 251, 0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Unified service gallery: every service appears once with its own visual. */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border: 0;
  perspective: none;
}

.service-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --image-x: 0px;
  --image-y: 0px;
  --card-accent: #16a4aa;
  --card-background: #ffffff;
  --card-foreground: var(--ink);
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(35, 63, 68, 0.18);
  border-radius: 8px;
  background: var(--card-background);
  color: var(--card-foreground);
  box-shadow: 0 16px 36px rgba(28, 60, 66, 0.11);
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card::before {
  display: none;
}

.service-card::after {
  right: 22px;
  bottom: 22px;
  color: var(--card-accent);
  content: "↗";
  font-size: 23px;
  line-height: 1;
}

.service-card__media {
  position: relative;
  display: block;
  width: 100%;
  max-width: none !important;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #dce7e4;
  color: inherit !important;
}

.service-card__media::after {
  position: absolute;
  inset: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 -24px 34px rgba(8, 22, 26, 0.12);
  content: "";
  pointer-events: none;
}

.service-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(var(--image-x), var(--image-y)) scale(1.035);
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 220ms ease;
}

.service-card__body,
.service-card > span:last-child,
.service-card:hover > span:last-child,
.service-card:focus-visible > span:last-child {
  display: grid;
  width: 100%;
  max-width: none;
  min-height: 178px;
  grid-template-columns: 34px minmax(0, 1fr);
  align-content: start;
  gap: 8px 12px;
  padding: 23px 54px 25px 22px;
  color: inherit;
}

.service-card .service-index {
  grid-row: 1 / span 2;
  align-self: start;
  padding-top: 4px;
  color: var(--card-accent);
  font-size: 12px;
  font-weight: 800;
}

.service-card strong {
  grid-column: 2;
  max-width: none;
  overflow-wrap: anywhere;
  font-size: 23px;
  line-height: 1.12;
}

.service-card .service-card__description {
  grid-column: 2;
  max-width: none;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.48;
}

.service-card.service-card--dark {
  --card-background: #13282d;
  --card-foreground: #f7fbfa;
  border-color: rgba(125, 164, 164, 0.32);
  background: var(--card-background);
  color: var(--card-foreground);
  box-shadow: 0 18px 40px rgba(8, 29, 34, 0.22);
}

.service-card.service-card--dark .service-card__description {
  color: #c8d8d6;
}

.service-card.service-card--light {
  --card-background: #fbfdfb;
  --card-foreground: #183238;
  background: var(--card-background);
  color: var(--card-foreground);
}

.service-card.service-card--light .service-card__description {
  color: #52666a;
}

.service-card:nth-child(4n + 1) {
  --card-accent: #dfb24d;
}

.service-card:nth-child(4n + 2) {
  --card-accent: #d9534f;
}

.service-card:nth-child(4n + 3) {
  --card-accent: #24b7bc;
}

.service-card:nth-child(4n) {
  --card-accent: #437fc0;
}

.service-card--light:nth-child(6n + 2) {
  --card-background: #fff8e9;
  background: var(--card-background);
}

.service-card--light:nth-child(6n + 4) {
  --card-background: #edf8f4;
  background: var(--card-background);
}

.service-card--light:nth-child(6n) {
  --card-background: #f2f5fb;
  background: var(--card-background);
}

.service-card:hover,
.service-card:focus-visible {
  z-index: 1;
  border-color: color-mix(in srgb, var(--card-accent) 58%, #24464c);
  background: var(--card-background);
  color: var(--card-foreground);
  box-shadow: 0 26px 54px rgba(24, 58, 64, 0.2);
  transform: perspective(900px) translateY(-7px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.service-card:hover .service-card__media img,
.service-card:focus-visible .service-card__media img {
  transform: translate(var(--image-x), var(--image-y)) scale(1.075);
}

.service-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--card-accent) 72%, white);
  outline-offset: 3px;
}

@media (max-width: 1020px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    min-height: 0;
  }

  .service-card__body,
  .service-card > span:last-child,
  .service-card:hover > span:last-child,
  .service-card:focus-visible > span:last-child {
    min-height: 162px;
    padding: 21px 50px 23px 20px;
  }

  .service-card strong {
    font-size: 22px;
  }
}

/* The assistant is the primary path; the written form remains an optional fallback. */
.workspace-hero {
  grid-template-columns: minmax(0, 860px);
  align-content: center;
  min-height: max(650px, calc(100dvh - var(--header-height) - 32px));
}

.hero-intro {
  max-width: 860px;
}

.brief-panel--bottom {
  width: min(calc(100% - 64px), 940px);
  max-width: 940px;
  margin: 104px auto 116px;
  justify-self: auto;
  scroll-margin-top: calc(var(--header-height) + 28px);
  animation: none;
}

@media (max-width: 640px) {
  .workspace-hero {
    min-height: 0;
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .brief-panel--bottom {
    width: calc(100% - 28px);
    margin: 64px auto 82px;
    padding: 22px;
  }
}

.service-card[data-service="live-interpreting-negotiation"] {
  grid-column: 2;
}

.service-card[data-service="live-interpreting-negotiation"] strong {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  font-size: 19px;
}

@media (max-width: 1020px) and (min-width: 681px) {
  .service-card[data-service="live-interpreting-negotiation"] {
    width: calc((100% - 18px) / 2);
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .service-card[data-service="live-interpreting-negotiation"] {
    width: 100%;
    grid-column: auto;
  }
}

/* Slow, logo-free image cycle. */
.workspace-hero {
  align-content: start;
  align-items: start;
  min-height: max(650px, calc(100dvh - var(--header-height) - 32px));
  padding-top: 200px;
}

.workspace-hero::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.26) 45%, rgba(0, 0, 0, 0.03) 78%, rgba(0, 0, 0, 0.07) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, transparent 52%);
}

.hero-slideshow {
  overflow: hidden;
  background: #10282d;
}

.hero-media .hero-slide {
  z-index: 0;
  opacity: 0;
  object-position: center center;
  animation: hero-background-cycle 99s ease-in-out infinite;
  will-change: opacity, transform;
}

.hero-slide:nth-child(2) {
  animation-delay: 11s;
}

.hero-slide:nth-child(3) {
  animation-delay: 22s;
}

.hero-slide:nth-child(4) {
  animation-delay: 33s;
}

.hero-slide:nth-child(5) {
  animation-delay: 44s;
}

.hero-slide:nth-child(6) {
  animation-delay: 55s;
}

.hero-slide:nth-child(7) {
  animation-delay: 66s;
}

.hero-slide:nth-child(8) {
  animation-delay: 77s;
}

.hero-slide:nth-child(9) {
  animation-delay: 88s;
}

@keyframes hero-background-cycle {
  0% {
    opacity: 0;
  }

  3.2% {
    opacity: 1;
  }

  10.7% {
    opacity: 1;
  }

  14% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.hero-intro {
  max-width: 780px;
}

.hero-intro h1 {
  font-size: 58px;
}

@media (max-width: 960px) {
  .workspace-hero {
    padding-top: 188px;
  }

  .workspace-hero::before {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 68%);
  }

  .hero-intro h1 {
    font-size: 50px;
  }
}

@media (max-width: 640px) {
  .workspace-hero {
    min-height: 0;
    padding-top: 164px;
    padding-bottom: 48px;
  }

  .hero-media .hero-slide {
    object-position: 62% center;
  }

  .hero-intro h1 {
    font-size: 40px;
  }
}

@media (max-width: 390px) {
  .hero-intro h1 {
    font-size: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media .hero-slide {
    opacity: 0;
    animation: none !important;
  }

  .hero-media .hero-slide:first-child {
    opacity: 1;
  }
}

/* The slideshow remains fixed behind every section while the page scrolls. */
html {
  background: #10282d;
}

body {
  position: relative;
  isolation: isolate;
  background: transparent;
}

.page-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.page-background::after {
  display: none;
}

.page-background .hero-slide {
  z-index: 0;
  transform: scale(1.045);
  transform-origin: center;
}

.site-header,
main,
.site-footer {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

main,
.site-footer {
  z-index: 1;
}

.brand-mark {
  width: 54px;
  height: 54px;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(10, 36, 43, 0.24));
}

.workspace-hero {
  align-content: center;
  align-items: center;
  padding-top: 64px;
  scroll-margin-top: var(--header-height);
  background: transparent;
}

.services-section,
.jobs-section,
.system-section,
.visual-proof {
  backdrop-filter: none;
}

.services-section {
  background: rgba(255, 255, 255, 0.46);
}

.system-section {
  background: rgba(0, 0, 0, 0.5);
}

.visual-proof {
  background: rgba(0, 0, 0, 0.36);
}

.visual-proof picture {
  display: none;
}

.visual-proof::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.28) 52%, rgba(0, 0, 0, 0.06) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 48%);
}

.jobs-section {
  background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 960px) {
  .workspace-hero {
    padding-top: 60px;
  }
}

@media (max-width: 640px) {
  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .workspace-hero {
    padding-top: 44px;
  }

}

/* Topics move as a continuous right-to-left editorial image loop. */
.topics-showcase {
  display: grid;
  min-height: 0;
  align-items: initial;
  gap: 34px;
  padding: 82px 0 34px;
  background: rgba(9, 31, 37, 0.96);
}

.topics-showcase::after {
  display: none;
}

.topics-showcase__copy {
  position: relative;
  z-index: 2;
  order: 1;
  width: min(100% - 64px, var(--content-width));
  max-width: none;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  align-items: end;
  gap: 16px 52px;
  margin: 0 auto;
  padding: 0;
}

.topics-showcase__copy .eyebrow {
  grid-column: 1 / -1;
}

.topics-showcase__copy h2 {
  max-width: 850px;
  font-size: clamp(44px, 5vw, 68px);
}

.topics-showcase__copy > p:not(.eyebrow) {
  align-self: start;
  font-size: 17px;
  line-height: 1.6;
}

.topics-showcase__open {
  grid-column: 2;
}

.topics-showcase__slides {
  position: relative;
  inset: auto;
  z-index: 1;
  order: 2;
  width: 100%;
  height: auto;
  overflow: hidden;
  padding: 8px 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3.5%, #000 96.5%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3.5%, #000 96.5%, transparent 100%);
}

.topics-showcase__track {
  display: flex;
  width: max-content;
  gap: 18px;
  will-change: transform;
}

.topics-showcase__track.is-moving {
  transition: transform 1250ms cubic-bezier(0.22, 0.7, 0.24, 1);
}

.topics-showcase__slide,
.topics-showcase__slide.is-active {
  position: relative;
  inset: auto;
  z-index: 0;
  display: block;
  flex: 0 0 calc(25vw - 13.5px);
  width: auto;
  height: auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: #17343a;
  color: #fff;
  opacity: 1;
  text-decoration: none;
  transform: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.topics-showcase__slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(5, 22, 27, 0.16) 54%, rgba(5, 22, 27, 0.95) 100%);
  content: "";
  pointer-events: none;
}

.topics-showcase__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 900ms cubic-bezier(0.22, 0.7, 0.24, 1), filter 220ms ease;
}

.topics-showcase__slide.is-leading {
  border-color: rgba(255, 211, 104, 0.92);
  box-shadow: inset 0 0 0 2px rgba(255, 211, 104, 0.26), 0 18px 38px rgba(1, 12, 15, 0.28);
}

.topics-showcase__slide:hover,
.topics-showcase__slide:focus-visible {
  z-index: 2;
  border-color: #75e4df;
  outline: none;
  transform: translateY(-6px);
}

.topics-showcase__slide:hover img,
.topics-showcase__slide:focus-visible img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.065);
}

.topics-showcase__caption {
  position: absolute;
  right: 22px;
  bottom: 24px;
  left: 22px;
  z-index: 1;
  display: grid;
  gap: 9px;
}

.topics-showcase__caption small {
  color: #77e7e1;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.topics-showcase__caption strong {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 27px);
  font-weight: 500;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.topics-showcase__controls {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 2;
  order: 3;
  width: min(100% - 64px, var(--content-width));
  justify-content: end;
  justify-self: center;
}

@media (max-width: 980px) {
  .topics-showcase__copy {
    grid-template-columns: 1fr;
  }

  .topics-showcase__copy .eyebrow,
  .topics-showcase__open {
    grid-column: 1;
  }

  .topics-showcase__track {
    gap: 16px;
  }

  .topics-showcase__slide,
  .topics-showcase__slide.is-active {
    flex-basis: calc(33.333vw - 10.667px);
  }
}

@media (max-width: 680px) {
  .topics-showcase {
    min-height: 0;
    gap: 24px;
    padding: 58px 0 26px;
  }

  .topics-showcase__copy,
  .topics-showcase__controls {
    width: calc(100% - 28px);
  }

  .topics-showcase__copy {
    gap: 14px;
    padding: 0;
  }

  .topics-showcase__copy h2 {
    font-size: 36px;
  }

  .topics-showcase__copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .topics-showcase__open {
    min-height: 46px;
    gap: 18px;
  }

  .topics-showcase__slides {
    padding-block: 6px 9px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
  }

  .topics-showcase__track {
    gap: 8px;
  }

  .topics-showcase__slide,
  .topics-showcase__slide.is-active {
    flex-basis: calc(33.333vw - 5.333px);
    aspect-ratio: 3 / 4;
  }

  .topics-showcase__caption {
    right: 9px;
    bottom: 11px;
    left: 9px;
    gap: 5px;
  }

  .topics-showcase__caption small {
    font-size: 8px;
  }

  .topics-showcase__caption strong {
    font-size: 13px;
    line-height: 1.05;
    -webkit-line-clamp: 4;
  }

  .topics-showcase__controls {
    right: auto;
    bottom: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topics-showcase__track.is-moving {
    transition: none;
  }
}

/* Compact looping process scenes. They stay crisp and lightweight at every density. */
.workflow-step {
  --loop-line: #72e4e7;
  --loop-accent: #ffcf5b;
  --loop-soft: rgba(114, 228, 231, 0.15);
  position: relative;
  min-height: 164px;
  grid-template-rows: 58px auto;
  place-items: center;
  align-content: center;
  gap: 9px;
  overflow: hidden;
  padding: 14px 10px 16px;
}

.workflow-step:hover,
.workflow-step.is-active {
  --loop-line: #145a61;
  --loop-accent: #df5f54;
  --loop-soft: rgba(20, 90, 97, 0.15);
}

.workflow-step__visual,
.workflow-step__visual span,
.workflow-step__copy {
  color: inherit;
}

.workflow-step__visual {
  position: relative;
  display: block;
  width: 94px;
  height: 54px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--loop-line) 44%, transparent);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    var(--loop-soft);
  box-shadow: inset 0 0 18px rgba(5, 26, 31, 0.14);
}

.workflow-step__scene,
.workflow-step__shape {
  position: absolute;
  display: block;
}

.workflow-step__scene {
  inset: 0;
}

.workflow-step__copy {
  display: grid;
  gap: 4px;
  justify-items: center;
}

.workflow-step__number {
  color: #8dc2c2 !important;
  font-size: 10px !important;
  font-weight: 750;
  line-height: 1;
}

.workflow-step:hover .workflow-step__number,
.workflow-step.is-active .workflow-step__number {
  color: #6f5a32 !important;
}

/* 01: a moving focus point locks onto the client's objective. */
.workflow-step[data-system-step="intent"] .workflow-step__shape--a,
.workflow-step[data-system-step="intent"] .workflow-step__shape--b {
  left: 50%;
  top: 50%;
  border: 1px solid var(--loop-line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.workflow-step[data-system-step="intent"] .workflow-step__shape--a {
  width: 40px;
  height: 40px;
  opacity: 0.72;
}

.workflow-step[data-system-step="intent"] .workflow-step__shape--b {
  width: 20px;
  height: 20px;
  animation: workflow-focus-pulse 2.6s ease-in-out infinite;
}

.workflow-step[data-system-step="intent"] .workflow-step__shape--c {
  left: calc(50% - 3px);
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--loop-accent);
  box-shadow: 0 0 9px var(--loop-accent);
  animation: workflow-intent-orbit 3.2s linear infinite;
}

.workflow-step[data-system-step="intent"] .workflow-step__shape--d {
  left: 14px;
  top: 50%;
  width: 66px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--loop-line), transparent);
  animation: workflow-scan-fade 2.6s ease-in-out infinite;
}

/* 02: a route draws itself between three planning milestones. */
.workflow-step[data-system-step="plan"] .workflow-step__scene::before {
  position: absolute;
  left: 18px;
  top: 15px;
  width: 58px;
  height: 25px;
  background:
    linear-gradient(26deg, transparent 47%, var(--loop-line) 48%, var(--loop-line) 52%, transparent 53%) 0 0 / 30px 25px no-repeat,
    linear-gradient(-26deg, transparent 47%, var(--loop-line) 48%, var(--loop-line) 52%, transparent 53%) 28px 0 / 30px 25px no-repeat;
  content: "";
  animation: workflow-plan-trace 3.4s ease-in-out infinite;
}

.workflow-step[data-system-step="plan"] .workflow-step__shape--a,
.workflow-step[data-system-step="plan"] .workflow-step__shape--b,
.workflow-step[data-system-step="plan"] .workflow-step__shape--c {
  width: 9px;
  height: 9px;
  border: 2px solid var(--loop-line);
  border-radius: 50%;
  background: #17353b;
  box-shadow: 0 0 0 3px var(--loop-soft);
  animation: workflow-node-pulse 3.4s ease-in-out infinite;
}

.workflow-step:hover[data-system-step="plan"] .workflow-step__shape--a,
.workflow-step:hover[data-system-step="plan"] .workflow-step__shape--b,
.workflow-step:hover[data-system-step="plan"] .workflow-step__shape--c,
.workflow-step.is-active[data-system-step="plan"] .workflow-step__shape--a,
.workflow-step.is-active[data-system-step="plan"] .workflow-step__shape--b,
.workflow-step.is-active[data-system-step="plan"] .workflow-step__shape--c {
  background: #ffcf5b;
}

.workflow-step[data-system-step="plan"] .workflow-step__shape--a {
  left: 14px;
  top: 10px;
}

.workflow-step[data-system-step="plan"] .workflow-step__shape--b {
  left: 43px;
  top: 32px;
  animation-delay: 0.38s;
}

.workflow-step[data-system-step="plan"] .workflow-step__shape--c {
  left: 72px;
  top: 10px;
  animation-delay: 0.76s;
}

.workflow-step[data-system-step="plan"] .workflow-step__shape--d {
  left: 14px;
  bottom: 7px;
  width: 66px;
  height: 2px;
  background: linear-gradient(90deg, var(--loop-accent) 0 28%, transparent 28% 36%, var(--loop-line) 36% 100%);
  animation: workflow-plan-progress 3.4s ease-in-out infinite;
  transform-origin: left;
}

/* 03: approval lands visibly on the prepared document. */
.workflow-step[data-system-step="approval"] .workflow-step__shape--a {
  left: 31px;
  top: 6px;
  width: 31px;
  height: 41px;
  border: 1px solid var(--loop-line);
  border-radius: 3px;
  background: linear-gradient(var(--loop-line), var(--loop-line)) 7px 10px / 16px 1px no-repeat,
    linear-gradient(var(--loop-line), var(--loop-line)) 7px 16px / 12px 1px no-repeat;
}

.workflow-step[data-system-step="approval"] .workflow-step__shape--b {
  left: 40px;
  top: 25px;
  width: 15px;
  height: 8px;
  border-bottom: 3px solid var(--loop-accent);
  border-left: 3px solid var(--loop-accent);
  animation: workflow-check-pop 3s ease-in-out infinite;
  transform: rotate(-45deg);
}

.workflow-step[data-system-step="approval"] .workflow-step__shape--c {
  left: 34px;
  top: 18px;
  width: 27px;
  height: 27px;
  border: 1px solid var(--loop-accent);
  border-radius: 50%;
  animation: workflow-approval-ring 3s ease-out infinite;
}

.workflow-step[data-system-step="approval"] .workflow-step__shape--d {
  left: 19px;
  bottom: 6px;
  width: 56px;
  height: 2px;
  background: var(--loop-line);
  opacity: 0.35;
}

/* 04: three live execution lanes keep moving at different rhythms. */
.workflow-step[data-system-step="execute"] .workflow-step__scene::before {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 1px;
  background: var(--loop-line);
  content: "";
  opacity: 0.5;
}

.workflow-step[data-system-step="execute"] .workflow-step__shape--a,
.workflow-step[data-system-step="execute"] .workflow-step__shape--b,
.workflow-step[data-system-step="execute"] .workflow-step__shape--c {
  bottom: 9px;
  width: 10px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--loop-accent), var(--loop-line));
  transform-origin: bottom;
  animation: workflow-execute-bars 2.2s ease-in-out infinite;
}

.workflow-step[data-system-step="execute"] .workflow-step__shape--a {
  left: 25px;
  height: 22px;
}

.workflow-step[data-system-step="execute"] .workflow-step__shape--b {
  left: 42px;
  height: 37px;
  animation-delay: -0.72s;
}

.workflow-step[data-system-step="execute"] .workflow-step__shape--c {
  left: 59px;
  height: 29px;
  animation-delay: -1.38s;
}

.workflow-step[data-system-step="execute"] .workflow-step__shape--d {
  left: 19px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--loop-accent);
  box-shadow: 0 0 8px var(--loop-accent);
  animation: workflow-execute-run 2.2s ease-in-out infinite;
}

/* 05: a scanning lens resolves into a confirmed quality check. */
.workflow-step[data-system-step="verify"] .workflow-step__shape--a {
  left: 27px;
  top: 7px;
  width: 31px;
  height: 31px;
  border: 2px solid var(--loop-line);
  border-radius: 50%;
  animation: workflow-lens-pulse 3.2s ease-in-out infinite;
}

.workflow-step[data-system-step="verify"] .workflow-step__shape--b {
  left: 56px;
  top: 34px;
  width: 19px;
  height: 3px;
  border-radius: 3px;
  background: var(--loop-line);
  transform: rotate(45deg);
  transform-origin: left;
}

.workflow-step[data-system-step="verify"] .workflow-step__shape--c {
  left: 34px;
  top: 18px;
  width: 14px;
  height: 7px;
  border-bottom: 3px solid var(--loop-accent);
  border-left: 3px solid var(--loop-accent);
  animation: workflow-check-pop 3.2s ease-in-out infinite;
  transform: rotate(-45deg);
}

.workflow-step[data-system-step="verify"] .workflow-step__shape--d {
  left: 26px;
  top: 8px;
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--loop-accent), transparent);
  box-shadow: 0 0 7px var(--loop-accent);
  animation: workflow-verify-scan 3.2s ease-in-out infinite;
}

@keyframes workflow-intent-orbit {
  from { transform: rotate(0deg) translateX(21px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(21px) rotate(-360deg); }
}

@keyframes workflow-focus-pulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.72); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes workflow-scan-fade {
  0%, 100% { opacity: 0.2; transform: scaleX(0.4); }
  50% { opacity: 0.9; transform: scaleX(1); }
}

@keyframes workflow-plan-trace {
  0%, 12% { clip-path: inset(0 100% 0 0); opacity: 0.2; }
  58%, 86% { clip-path: inset(0 0 0 0); opacity: 0.9; }
  100% { clip-path: inset(0 0 0 100%); opacity: 0.2; }
}

@keyframes workflow-node-pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--loop-soft); transform: scale(0.76); }
  38%, 62% { box-shadow: 0 0 0 5px var(--loop-soft); transform: scale(1); }
}

@keyframes workflow-plan-progress {
  0%, 14% { opacity: 0.2; transform: scaleX(0.08); }
  64%, 88% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0.2; transform: scaleX(0.08); }
}

@keyframes workflow-check-pop {
  0%, 24%, 100% { opacity: 0; transform: rotate(-45deg) scale(0.45); }
  42%, 82% { opacity: 1; transform: rotate(-45deg) scale(1); }
}

@keyframes workflow-approval-ring {
  0%, 30% { opacity: 0; transform: scale(0.45); }
  55% { opacity: 0.8; transform: scale(1); }
  82%, 100% { opacity: 0; transform: scale(1.35); }
}

@keyframes workflow-execute-bars {
  0%, 100% { opacity: 0.52; transform: scaleY(0.36); }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes workflow-execute-run {
  0%, 100% { opacity: 0.2; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(50px); }
}

@keyframes workflow-lens-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--loop-soft); transform: scale(0.92); }
  50% { box-shadow: 0 0 0 6px var(--loop-soft); transform: scale(1); }
}

@keyframes workflow-verify-scan {
  0%, 14%, 100% { opacity: 0; transform: translateY(0); }
  28% { opacity: 1; }
  68% { opacity: 1; transform: translateY(28px); }
  82% { opacity: 0; transform: translateY(28px); }
}

@media (max-width: 960px) {
  .workflow-step {
    min-height: 84px;
    grid-template: 1fr / 72px minmax(0, 1fr);
    place-content: stretch;
    align-items: center;
    justify-items: stretch;
    gap: 8px;
    padding: 10px 16px;
  }

  .workflow-step__visual {
    width: 68px;
    height: 48px;
    transform: scale(0.78);
    transform-origin: left center;
  }

  .workflow-step__copy {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 390px) {
  .workflow-step {
    grid-template-columns: 60px minmax(0, 1fr);
    padding-inline: 10px;
  }

  .workflow-step__visual {
    transform: scale(0.68);
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-step__visual *,
  .workflow-step__visual *::before,
  .workflow-step__visual *::after {
    animation: none !important;
    transition: none !important;
  }
}
