/* Reusable components */

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brass);
  color: var(--deep);
}
.btn--primary:hover { background: var(--brass-lit); }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ivory);
}
.btn--ghost:hover { border-color: var(--brass); color: var(--brass-lit); }

.btn--sm { padding: var(--sp-2) var(--sp-3); font-size: 13px; }

/* ---------- nav ---------- */
/* Fixed and transparent by default so it floats over the full-bleed hero
   (which relies on its own top darkening for legibility, see
   .hero-image-overlay); nav.js adds .is-compact past 40px of scroll, which
   is also where it picks up the solid backdrop for every section after
   the hero. */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding .25s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
body.nav-open .site-nav { z-index: 700; }
.site-nav.is-compact {
  background: rgba(4, 18, 26, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}
.site-nav .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-block: var(--sp-4);
  transition: padding .25s var(--ease);
}
.site-nav.is-compact .container { padding-block: var(--sp-2); }

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ivory);
}
.logo svg { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  justify-self: center;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ivory-dim);
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--ivory); }

.nav-links.nav-pill {
  background: rgba(243, 236, 221, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: var(--sp-2) var(--sp-4);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  justify-self: end;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-family: var(--font-mono);
  font-size: 12px;
}
.lang-switch button {
  background: none;
  border: 1px solid transparent;
  color: var(--ivory-dim);
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.lang-switch button[aria-pressed="true"] {
  color: var(--brass-lit);
  border-color: var(--line);
}
.lang-switch button:hover { color: var(--ivory); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--sp-1);
  width: 40px;
  height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ivory);
  position: relative;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 84vw);
  background: var(--navy);
  border-left: 1px solid var(--line);
  padding: var(--sp-7) var(--sp-4) var(--sp-4);
  transform: translateX(100%);
  transition: transform .3s var(--ease);
  z-index: 600;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer a {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ivory-dim);
}
.nav-drawer a:hover { color: var(--ivory); }
.nav-drawer-links { display: flex; flex-direction: column; gap: var(--sp-4); }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(4, 18, 26, 0.6);
  z-index: 550;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

/* ---------- how it works: radial process ---------- */
@property --dot-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: -90deg;
}

.process-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  /* extra top clearance: the top node's panel floats upward from it and
     needs room above the circle so a long description never runs into
     the section heading. */
  padding-block: var(--sp-8) var(--sp-5);
  padding-inline: var(--sp-4);
  overflow: visible;
}

.process-circle {
  position: relative;
  /* generous side margin baked into the cap (88vw, not 96+) so the
     diagram never hugs the viewport edge; container-type lets the
     nodes/indicator size themselves in cqw, proportional to whatever
     this actually renders at, instead of a fixed px/vw guess that can
     drift out of the box. */
  width: min(560px, 88vw);
  max-width: 100%;
  flex: none;
  aspect-ratio: 1 / 1;
  container-type: inline-size;
}

/* reserved space for a future "Your RFQ Assistant" block — empty on
   purpose, positioned independently of the circle (not a flex sibling)
   so it never pushes the circle off-centre or forces it to overflow. */
.process-rfq-slot {
  position: absolute;
  top: 50%;
  right: var(--sp-4);
  transform: translateY(-50%);
  width: min(300px, 20vw);
  height: 60%;
  pointer-events: none;
}

/* thin dotted circle the 5 nodes sit on — the "connecting arcs" */
.process-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.process-links-track {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
  stroke-dasharray: 2 9;
  stroke-linecap: round;
}

/* the bright dot that travels along the connecting circle, node to node */
.process-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(22, 217, 255, .16), 0 0 22px 6px rgba(22, 217, 255, .65);
  --r: 41cqw;
  transform: rotate(var(--dot-angle)) translate(var(--r)) translate(-50%, -50%);
  transition: --dot-angle .9s cubic-bezier(.65, 0, .35, 1);
  pointer-events: none;
}

/* centre: glowing, slowly rotating cyan/brass ring — "the flow running" */
.process-ring {
  position: absolute;
  inset: 24%;
  border-radius: 50%;
}
.process-ring-glow,
.process-ring-band {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--cyan), var(--brass) 35%, var(--cyan) 65%, var(--brass) 100%);
  animation: process-spin 14s linear infinite;
}
.process-ring-glow {
  filter: blur(24px);
  opacity: .55;
}
.process-ring-band {
  opacity: .9;
  -webkit-mask: radial-gradient(closest-side, transparent 79%, #000 81%, #000 91%, transparent 93%);
          mask: radial-gradient(closest-side, transparent 79%, #000 81%, #000 91%, transparent 93%);
}
@keyframes process-spin {
  to { transform: rotate(360deg); }
}

.process-centre {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: radial-gradient(circle at 35% 30%, var(--navy), var(--deep));
  border: 1px solid var(--line);
  text-align: center;
  animation: process-pulse 5s ease-in-out infinite;
}
@keyframes process-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 217, 255, 0); }
  50% { box-shadow: 0 0 26px 4px rgba(22, 217, 255, .18); }
}
.process-centre-mark {
  font-family: var(--font-clash);
  font-size: clamp(15px, 2vw, 19px);
  letter-spacing: .01em;
  color: var(--ivory);
}
.process-centre-mark em {
  font-style: normal;
  color: var(--brass-lit);
}
.process-centre-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: .85;
}

/* the 5 step nodes, placed evenly around the circle like clock points */
.process-nodes {
  list-style: none;
  margin: 0;
  padding: 0;
}
.process-node {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  --r: 41cqw;
  transform: rotate(var(--angle)) translate(var(--r)) rotate(calc(-1 * var(--angle))) translate(-50%, -50%);
  transition: filter .4s var(--ease), opacity .4s var(--ease);
}
.process-node.is-active { z-index: 5; }
.process-node:not(.is-active) {
  opacity: .55;
  filter: saturate(.6);
}

.process-node-btn {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--ivory);
}
.process-node-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(52px, 12cqw, 70px);
  height: clamp(52px, 12cqw, 70px);
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.process-node-num {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--brass);
  transition: color .35s var(--ease);
}
.process-node-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  white-space: nowrap;
  transition: color .35s var(--ease);
}
.process-node-btn:hover .process-node-dot,
.process-node-btn:focus-visible .process-node-dot,
.process-node.is-active .process-node-dot {
  border-color: var(--brass-lit);
  box-shadow: 0 0 0 6px rgba(200, 155, 74, .14), 0 0 28px rgba(200, 155, 74, .4);
  transform: scale(1.08);
}
.process-node-btn:hover .process-node-num,
.process-node-btn:focus-visible .process-node-num,
.process-node.is-active .process-node-num,
.process-node-btn:hover .process-node-label,
.process-node-btn:focus-visible .process-node-label,
.process-node.is-active .process-node-label {
  color: var(--brass-lit);
}

/* floating panel — anchored to its own node, one at a time. Base state is
   hidden; only the node carrying .is-active reveals its panel. Position
   (top/right/bottom/left of the node) comes from the node's data-pos. */
.process-panel {
  position: absolute;
  z-index: 6;
  width: min(252px, 68vw);
  padding: var(--sp-4);
  background: rgba(8, 34, 48, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(22, 217, 255, .5);
  border-radius: var(--radius-card);
  box-shadow: 0 0 0 1px rgba(22, 217, 255, .12), 0 18px 40px -16px rgba(4, 18, 26, .85), 0 0 22px -6px rgba(22, 217, 255, .3);
  opacity: 0;
  pointer-events: none;
  /* set by process-circle.js after measuring the panel against the
     viewport, so a panel that would clip off an edge slides back
     toward the centre instead. */
  --panel-shift-x: 0px;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.process-node.is-active .process-panel {
  opacity: 1;
  animation: panel-glow-pulse 2.4s ease-in-out infinite;
}

/* directional anchoring: panel sits on the side of the node that faces
   away from the circle, so it reads as attached to that node. Each also
   carries + var(--panel-shift-x) so the JS-computed edge correction
   rides along with the same transform, and animates together with it. */
.process-node[data-pos="top"] .process-panel {
  left: 50%;
  bottom: calc(100% + var(--sp-3));
  transform: translate(calc(-50% + var(--panel-shift-x)), 8px);
}
.process-node[data-pos="top"].is-active .process-panel { transform: translate(calc(-50% + var(--panel-shift-x)), 0); }

.process-node[data-pos="bottom"] .process-panel {
  left: 50%;
  top: calc(100% + var(--sp-3));
  transform: translate(calc(-50% + var(--panel-shift-x)), -8px);
}
.process-node[data-pos="bottom"].is-active .process-panel { transform: translate(calc(-50% + var(--panel-shift-x)), 0); }

.process-node[data-pos="right"] .process-panel {
  top: 50%;
  left: calc(100% + var(--sp-3));
  transform: translate(calc(8px + var(--panel-shift-x)), -50%);
}
.process-node[data-pos="right"].is-active .process-panel { transform: translate(var(--panel-shift-x), -50%); }

.process-node[data-pos="left"] .process-panel {
  top: 50%;
  right: calc(100% + var(--sp-3));
  transform: translate(calc(-8px + var(--panel-shift-x)), -50%);
}
.process-node[data-pos="left"].is-active .process-panel { transform: translate(var(--panel-shift-x), -50%); }

@keyframes panel-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(22, 217, 255, .12), 0 18px 40px -16px rgba(4, 18, 26, .85), 0 0 22px -6px rgba(22, 217, 255, .3); }
  50% { box-shadow: 0 0 0 1px rgba(22, 217, 255, .24), 0 18px 40px -16px rgba(4, 18, 26, .85), 0 0 30px -3px rgba(22, 217, 255, .55); }
}

.process-panel-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--brass);
  margin-bottom: 6px;
}
.process-panel-title {
  margin: 0 0 8px;
  font-family: var(--font-clash);
  font-size: 20px;
  min-height: 1.2em;
  background: linear-gradient(100deg, var(--brass-lit), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process-panel-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ivory-dim);
  min-height: 3.1em;
}

/* blinking terminal cursor appended while a field is typing */
.type-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  background: var(--cyan);
  vertical-align: text-bottom;
  animation: type-blink .8s steps(2, start) infinite;
}
@keyframes type-blink {
  50% { opacity: 0; }
}

/* mobile fallback list — hidden on desktop, shown ≤820px (responsive.css) */
.process-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--sp-3);
}
.process-list-item {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.process-list-num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brass);
}
.process-list-item h3 {
  margin: 0 0 6px;
  font-family: var(--font-clash);
  font-size: 17px;
  background: linear-gradient(100deg, var(--brass-lit), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process-list-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ivory-dim);
}

@media (prefers-reduced-motion: reduce) {
  .process-ring-glow,
  .process-ring-band,
  .process-centre { animation: none; }
  .process-indicator { transition: none; }
  .process-node { transition: none; }
  .process-node.is-active .process-panel { animation: none; }
  .process-panel { transition: opacity .01s linear; }
  .type-cursor { display: none; }
}

/* ---------- why this desk ---------- */
.why-col {
  border-left: 2px solid var(--brass);
  padding-left: var(--sp-3);
}
.why-col h3 {
  font-size: 17px;
  margin-bottom: var(--sp-2);
}
.why-col p {
  color: var(--ivory-dim);
  font-size: 15px;
}

/* ---------- reference table ---------- */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
table.pressure-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
}
.pressure-table caption {
  text-align: left;
  padding: var(--sp-3) var(--sp-4) 0;
  font-family: var(--font-body);
  color: var(--ivory-dim);
  font-size: 14px;
}
.pressure-table th, .pressure-table td {
  padding: var(--sp-2) var(--sp-4);
  text-align: left;
  border-top: 1px solid var(--line);
}
.pressure-table thead th {
  color: var(--brass);
  border-top: none;
  padding-top: var(--sp-4);
}
.pressure-table tbody tr:hover { background: rgba(200, 155, 74, 0.06); }
.table-note {
  font-size: 13px;
  color: var(--ivory-faint);
  margin-top: var(--sp-3);
}

/* ---------- FAQ accordion ---------- */
.accordion-item {
  border-top: 1px solid var(--line);
}
.accordion-item:last-child { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  background: none;
  border: none;
  text-align: left;
  padding: var(--sp-4) 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ivory);
}
.accordion-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}
.accordion-icon::before, .accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--brass);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.accordion-icon::before { width: 12px; height: 1px; }
.accordion-icon::after { width: 1px; height: 12px; transition: transform .2s var(--ease); }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: translate(-50%, -50%) scaleY(0); }

.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s var(--ease);
}
.accordion-panel p {
  color: var(--ivory-dim);
  font-size: 15px;
  padding-bottom: var(--sp-4);
}

/* ---------- form ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-bottom: var(--sp-4);
}
.field label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ivory-dim);
  letter-spacing: 0.03em;
}
.field input,
.field select,
.field textarea {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--sp-1);
  padding: var(--sp-3);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .2s var(--ease);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--brass);
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.form-status {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ivory-dim);
  margin-top: var(--sp-2);
  min-height: 18px;
}

.direct-contacts {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.direct-contacts a {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ivory);
  transition: color .2s var(--ease);
}
.direct-contacts a:hover { color: var(--brass-lit); }

/* ---------- robot RFQ assistant ---------- */
/* palette is deliberately its own "holographic HUD" cyan/navy, distinct
   from the brand --cyan/--navy used elsewhere on the page. */
.robot-assistant {
  position: fixed;
  right: var(--sp-4);
  bottom: calc(var(--sp-4) + 72px);
  z-index: 350;
  width: clamp(92px, 8vw, 115px);
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  transition: opacity .65s var(--ease), visibility 0s linear 0s, transform .65s var(--ease);
  will-change: opacity, transform;
}
.robot-assistant::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 14% 4% 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 217, 255, .22), rgba(8, 34, 48, .08) 46%, transparent 72%);
  filter: blur(9px);
  opacity: .78;
  pointer-events: none;
}
.robot-assistant::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 10% 5%;
  pointer-events: none;
  opacity: .22;
  background: repeating-linear-gradient(to bottom, transparent 0 5px, rgba(22, 217, 255, .28) 5px 6px);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 76%);
          mask-image: radial-gradient(ellipse at center, #000 40%, transparent 76%);
  mix-blend-mode: screen;
}
.robot-assistant.is-cycle-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(140px, 10px, 0);
  transition: opacity .65s var(--ease), visibility 0s linear .65s, transform .65s var(--ease);
}
.robot-assistant.is-walking {
  visibility: visible;
  pointer-events: auto;
  animation: robot-walk-in 10s linear both;
}
@keyframes robot-walk-in {
  0%   { opacity: 0; transform: translate3d(150px, 4px, 0) rotate(0deg); }
  5%   { opacity: 1; }
  10%  { transform: translate3d(135px, -3px, 0) rotate(-1.4deg); }
  20%  { transform: translate3d(120px, 3px, 0) rotate(1.4deg); }
  30%  { transform: translate3d(105px, -3px, 0) rotate(-1.3deg); }
  40%  { transform: translate3d(90px, 3px, 0) rotate(1.3deg); }
  50%  { transform: translate3d(75px, -3px, 0) rotate(-1.2deg); }
  60%  { transform: translate3d(60px, 3px, 0) rotate(1.2deg); }
  70%  { transform: translate3d(45px, -3px, 0) rotate(-1deg); }
  80%  { transform: translate3d(30px, 3px, 0) rotate(1deg); }
  90%  { transform: translate3d(15px, -2px, 0) rotate(-.7deg); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg); }
}
.robot-assistant:focus-visible {
  outline: 1px solid #00E5FF;
  outline-offset: 4px;
}

.robot-video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  opacity: .9;
  border-radius: 50%;
  filter: saturate(.72) hue-rotate(158deg) contrast(1.17) brightness(.92) drop-shadow(0 0 6px rgba(22, 217, 255, .28));
  -webkit-mask-image: radial-gradient(ellipse 52% 54% at 50% 50%, #000 48%, rgba(0,0,0,.94) 61%, rgba(0,0,0,.38) 78%, transparent 100%);
          mask-image: radial-gradient(ellipse 52% 54% at 50% 50%, #000 48%, rgba(0,0,0,.94) 61%, rgba(0,0,0,.38) 78%, transparent 100%);
  mix-blend-mode: screen;
}
.robot-assistant.is-walking .robot-video {
  animation: robot-step-bob .5s ease-in-out infinite alternate;
}
@keyframes robot-step-bob {
  from { transform: translateY(1px) rotate(-.8deg) scale(.985); }
  to { transform: translateY(-2px) rotate(.8deg) scale(1); }
}

/* ---- speech bubble ---- */
.robot-bubble {
  position: absolute;
  right: 0;
  bottom: calc(100% + 18px);
  width: min(220px, calc(100vw - 32px));
  opacity: 0;
  visibility: hidden;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, .45)) drop-shadow(0 0 26px rgba(0, 229, 255, .22));
  z-index: 5;
  animation: none;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.robot-bubble.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity .35s var(--ease), visibility 0s linear 0s;
}
@keyframes robot-bubble-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.robot-bubble-shape {
  position: relative;
  z-index: 2;
  padding: 14px 30px 12px 16px;
  background: rgba(26, 37, 58, .65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 229, 255, .55);
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
}
.robot-bubble-shape::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(0, 229, 255, .25);
  clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 11px 100%, 0 calc(100% - 11px), 0 11px);
  pointer-events: none;
}

.robot-bubble-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid #00E5FF;
  opacity: .85;
  pointer-events: none;
}
.robot-bubble-corner--tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.robot-bubble-corner--tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }

.robot-bubble-accent {
  display: block;
  height: 3px;
  margin-bottom: 8px;
  background-image: repeating-linear-gradient(to right, #00E5FF 0 6px, transparent 6px 10px);
  opacity: .6;
}

.robot-bubble-close {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 3;
  width: 18px;
  height: 18px;
  line-height: 16px;
  text-align: center;
  background: none;
  border: 1px solid rgba(0, 229, 255, .4);
  border-radius: 50%;
  color: #00E5FF;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.robot-bubble-close:hover,
.robot-bubble-close:focus-visible {
  border-color: #00E5FF;
  color: #ffffff;
}

.robot-bubble-text {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: #00E5FF;
  text-shadow: 0 0 6px rgba(0, 229, 255, .5);
  min-height: 3.3em;
  white-space: pre-line;
}
.robot-bubble-cursor {
  color: #00E5FF;
  animation: robot-cursor-blink .8s steps(2, start) infinite;
}
@keyframes robot-cursor-blink {
  50% { opacity: 0; }
}

.robot-bubble-tail {
  position: absolute;
  z-index: 1;
  top: calc(100% - 9px);
  right: 44px;
  width: 14px;
  height: 14px;
  background: rgba(26, 37, 58, .65);
  border-right: 1px solid rgba(0, 229, 255, .55);
  border-bottom: 1px solid rgba(0, 229, 255, .55);
  transform: rotate(45deg);
}

@media (max-width: 640px) {
  .robot-assistant {
    right: 10px;
    bottom: 78px;
    width: 70px;
  }

  .robot-bubble {
    width: min(190px, calc(100vw - 20px));
    bottom: calc(100% + 12px);
  }

  .robot-bubble-shape {
    padding: 12px 28px 10px 13px;
  }

  .robot-bubble-text {
    font-size: 11px;
  }

  .robot-bubble-tail {
    right: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .robot-assistant,
  .robot-assistant.is-cycle-hidden { transform: none; transition-duration: .01ms; }
  .robot-assistant.is-walking,
  .robot-assistant.is-walking .robot-video { animation: none; }
  .robot-bubble { animation: none; }
  .robot-bubble-cursor { animation: none; }
}

/* ---------- whatsapp float ---------- */
.wa-float {
  position: fixed;
  right: var(--sp-4);
  bottom: var(--sp-4);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  border: 1px solid var(--brass-lit);
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.wa-float:hover { background: var(--brass-lit); transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: var(--sp-6);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ivory-dim);
}
.footer-links a:hover { color: var(--ivory); }
.footer-meta {
  font-size: 13px;
  color: var(--ivory-faint);
  margin-top: var(--sp-4);
}
