/* The clients page and Talk to us. The daylight side of Eslabón: the same
   ink, ember and signal as the forge, on a white studio floor. */
:root {
  --paper: #f6f7f9;
  --ink: #0b0d12;
  --ink-2: #4a505a;
  --ink-3: #737a85;
  --rule: #e2e5ea;
  --ember: #ff5b1f;
  --ember-ink: #c23d0b;
  --signal: #3f6fe8;
  --display: "Bricolage Grotesque", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--ink); }
body { font: 400 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

/* the bar */
.wbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 26px; padding: 18px clamp(16px, 3vw, 40px); background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.wbar .mark { display: block; width: 150px; color: var(--ink); }
.wbar .mark svg { display: block; width: 100%; height: auto; }
.wbar nav { display: flex; gap: 22px; margin-left: 12px; }
.wbar nav a, .wbar .lang { font: 500 14px/1 var(--text); text-decoration: none; color: var(--ink-2); padding: 8px 0; }
.wbar nav a[aria-current] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ember); }
.wbar nav a:hover, .wbar .lang:hover { color: var(--ink); }
.wbar .lang { margin-left: auto; }
.wbar .cta { font: 600 14px/1 var(--text); text-decoration: none; color: #fff; background: var(--ink); padding: 12px 18px; border-radius: 999px; }
.wbar .cta:hover { background: #1d2230; }

/* the opening */
.intro { max-width: 1180px; margin: 0 auto; padding: clamp(28px, 6vh, 64px) clamp(16px, 3vw, 40px) 0; }
.kicker { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ember-ink); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ember) 18%, transparent); }
h1 { font: 700 clamp(40px, 6.4vw, 88px)/.98 var(--display); letter-spacing: -.035em; margin: 0; max-width: 14ch; text-wrap: balance; }
h1 span { display: block; }
h1 span + span { color: var(--ink-3); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 46ch; margin: 22px 0 0; }

/* the sky: the drones' canvas with every tag laid over it */
.sky { position: relative; height: clamp(440px, 52vh, 600px); margin-top: 0; }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fleet { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.craft { position: absolute; left: 0; top: 0; width: 0; will-change: transform; }
.craft button { position: absolute; left: 0; top: 0; translate: -50% 0; display: grid; justify-items: center; gap: 8px; padding: var(--hang, 60px) 0 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; min-width: 120px; }
/* the tether */
.craft button::before { content: ""; position: absolute; top: calc(var(--hang, 60px) * .42); height: calc(var(--hang, 60px) * .58 + 2px); left: 50%; width: 1px; background: linear-gradient(color-mix(in srgb, var(--ink) 0%, transparent), color-mix(in srgb, var(--ink) 35%, transparent)); }
.tile { width: 76px; height: 76px; border-radius: 20px; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 0 rgba(11, 13, 18, .04), 0 10px 30px -8px rgba(11, 13, 18, .22), inset 0 0 0 1px rgba(11, 13, 18, .06); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.tile img { width: 58px; height: 58px; object-fit: contain; display: block; }
.craft button:hover .tile, .craft button:focus-visible .tile { transform: translateY(-4px) scale(1.04); box-shadow: 0 1px 0 rgba(11, 13, 18, .04), 0 18px 40px -10px rgba(11, 13, 18, .3), inset 0 0 0 1px rgba(11, 13, 18, .08); }
.nm { font: 600 14px/1.2 var(--text); background: color-mix(in srgb, var(--paper) 80%, transparent); padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.st { font: 500 10.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1fa463; }
.st.soon::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.pause { position: absolute; right: clamp(16px, 3vw, 40px); bottom: 14px; font: 500 12px/1 var(--text); color: var(--ink-2); background: #fff; border: 1px solid var(--rule); border-radius: 999px; padding: 9px 14px; cursor: pointer; z-index: 120; }
.pause:hover { color: var(--ink); }

/* without WebGL the tags stand as a calm grid */
.no-gl .sky, html:not(.gl) .sky { height: auto; }
.no-gl #sky, html:not(.gl) #sky, .no-gl .pause, html:not(.gl) .pause { display: none; }
.no-gl .fleet, html:not(.gl) .fleet { position: static; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 12px; max-width: 1180px; margin: 0 auto; padding: 36px clamp(16px, 3vw, 40px); }
.no-gl .craft, html:not(.gl) .craft { position: static; width: auto; transform: none !important; }
.no-gl .craft button, html:not(.gl) .craft button { position: static; translate: none; padding: 0; width: 100%; }
.no-gl .craft button::before, html:not(.gl) .craft button::before { display: none; }

/* the card a tag opens */
#card { border: 0; padding: 0; border-radius: 24px; width: min(460px, calc(100vw - 32px)); background: #fff; color: var(--ink); box-shadow: 0 40px 100px -30px rgba(11, 13, 18, .45); }
#card::backdrop { background: rgba(246, 247, 249, .7); backdrop-filter: blur(6px); }
#card[open] { animation: rise .45s var(--ease-out); }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.cardin { padding: 26px 26px 24px; position: relative; }
.cardin .x { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--paper); font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink-2); }
.ch { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.ch .tile { width: 64px; height: 64px; border-radius: 16px; }
.ch .tile img { width: 48px; height: 48px; }
.ch h2 { font: 700 24px/1.1 var(--display); letter-spacing: -.02em; margin: 0; }
.kd { margin: 4px 0 0; color: var(--ink-3); font-size: 14px; }
.cardin .st span { text-transform: none; letter-spacing: 0; font-family: var(--text); font-size: 13px; color: var(--ink-3); }
.ln { margin: 14px 0 20px; color: var(--ink-2); }
.go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: #fff; background: var(--ink); padding: 12px 18px; border-radius: 999px; }
.go svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* the plain list, for readers and for search */
.roll { max-width: 1180px; margin: 0 auto; padding: 8px clamp(16px, 3vw, 40px) 0; }
.roll h2 { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.roll ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-top: 1px solid var(--rule); }
.roll li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); margin-right: 24px; }
.roll li a, .roll li b { font-weight: 600; text-decoration: none; }
.roll li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.roll li span { color: var(--ink-3); font-size: 14px; }

/* Talk to us */
.talk { max-width: 1180px; margin: 0 auto; padding: clamp(56px, 10vh, 110px) clamp(16px, 3vw, 40px) clamp(56px, 9vh, 96px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.talk h1, .talk h2 { font: 700 clamp(34px, 4.4vw, 60px)/1 var(--display); letter-spacing: -.03em; margin: 0; text-wrap: balance; }
.talk .p { color: var(--ink-2); font-size: 18px; margin: 18px 0 0; max-width: 38ch; }
.talk .mail { margin-top: 26px; color: var(--ink-3); font-size: 15px; }
.talk .mail a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.talkform { background: #fff; border-radius: 28px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 1px 0 rgba(11, 13, 18, .03), 0 30px 80px -40px rgba(11, 13, 18, .35), inset 0 0 0 1px rgba(11, 13, 18, .05); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field > span, .talkform legend { font: 600 15px/1.2 var(--text); color: var(--ink); padding: 0; }
.field small { font-weight: 400; color: var(--ink-3); }
.talkform input[type=text], .talkform input[type=email], .talkform textarea { font: 400 17px/1.4 var(--text); color: var(--ink); background: var(--paper); border: 1px solid transparent; border-radius: 14px; padding: 14px 16px; width: 100%; transition: border-color .2s, background .2s; }
.talkform textarea { min-height: 112px; resize: vertical; }
.talkform input:focus, .talkform textarea:focus { outline: none; background: #fff; border-color: var(--signal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--signal) 14%, transparent); }
.talkform fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; font: 500 15px/1 var(--text); padding: 11px 16px; border-radius: 999px; background: var(--paper); color: var(--ink-2); border: 1px solid var(--rule); transition: background .2s, color .2s, border-color .2s; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.chip:hover span { border-color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send { justify-self: start; font: 600 16px/1 var(--text); color: #fff; background: var(--ember); border: 0; border-radius: 999px; padding: 16px 26px; cursor: pointer; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--ember) 80%, transparent); transition: transform .2s var(--ease-out); }
.send:hover { transform: translateY(-1px); }
.send:disabled { opacity: .6; cursor: progress; }
.said { margin: 0; font-weight: 500; min-height: 1.5em; outline: none; }
.flash { display: none; margin: 22px 0 0; font-weight: 600; }
.flash:target { display: block; }
.flash.ok { color: #137a47; } .flash.bad { color: var(--ember-ink); }
.said.ok { color: #137a47; }
.said.bad { color: var(--ember-ink); }

.wfoot { max-width: 1180px; margin: 0 auto; padding: 24px clamp(16px, 3vw, 40px) 40px; border-top: 1px solid var(--rule); color: var(--ink-3); font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.wfoot a { text-underline-offset: 3px; }

@media (max-width: 860px) {
  .wbar { gap: 14px; }
  .wbar .mark { width: 118px; }
  .wbar nav { gap: 14px; margin-left: 0; }
  .wbar .lang { display: none; }
  .wbar .cta { margin-left: auto; padding: 10px 14px; }
  .sky { height: max(150vw, 640px); }
  .talk { grid-template-columns: 1fr; }
  .tile { width: 66px; height: 66px; border-radius: 18px; }
  .tile img { width: 50px; height: 50px; }
}
@media (max-width: 520px) { .wbar nav a:first-child { display: none; } }
@media (prefers-reduced-motion: reduce) { #card[open] { animation: none; } .tile, .send { transition: none; } }
