/* Tango Down shared navigation. Generated by tools/build_pages.py: edit there, not here. */
:root{--td-grad:linear-gradient(90deg,#1162F0 0%,#12BFBD 55%,#1BFD77 100%);--nav-ease:cubic-bezier(.2,.7,.2,1)}
.nav{position:fixed;z-index:50;display:flex;align-items:center;justify-content:space-between;font-family:"IBM Plex Mono",ui-monospace,monospace}
.nav *{box-sizing:border-box}
.nav .wordmark{display:block;line-height:0}
.nav ul{list-style:none;margin:0;padding:0}
.brief-fab{position:fixed;z-index:60;right:clamp(20px,3.4vw,56px);bottom:max(22px,env(safe-area-inset-bottom));display:inline-flex;align-items:center;gap:12px;padding:16px 22px 16px 18px;border-radius:999px;
  background:rgba(14,14,16,.72);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:#F2EEE6;text-decoration:none;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:13px;letter-spacing:.1em;text-transform:uppercase;
  box-shadow:0 0 0 1px rgba(242,238,230,.14),0 14px 40px rgba(0,0,0,.45);opacity:0;transform:translateY(24px) scale(.96);pointer-events:none;transition:opacity .45s,transform .45s var(--nav-ease),box-shadow .3s}
.brief-fab.on{opacity:1;transform:none;pointer-events:auto}
.brief-fab::before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;background:var(--td-grad);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.9;pointer-events:none}
.brief-fab svg{width:18px;height:18px;transition:transform .3s var(--nav-ease)}
.brief-fab:hover svg{transform:translateX(4px)}
.fab-dot{width:9px;height:9px;border-radius:50%;background:#1BFD77;animation:fabp 2.2s infinite}
@keyframes fabp{0%{box-shadow:0 0 0 0 rgba(27,253,119,.55)}70%{box-shadow:0 0 0 10px rgba(27,253,119,0)}100%{box-shadow:0 0 0 0 rgba(27,253,119,0)}}
@media (max-width:900px){.brief-fab{padding:14px 18px 14px 15px;font-size:11.5px;gap:10px}}
@media (prefers-reduced-motion:reduce){.fab-dot{animation:none}}
/* look: option A, quiet text nav; Services drops a full-width strip of hand-drawn icons */
.nav{top:0;left:0;right:0;padding:18px var(--pad,clamp(20px,3.4vw,56px));background:var(--nbg,#0B0B0C);color:var(--nfg,#F2EEE6);transition:background-color .45s,color .3s,opacity .4s,transform .4s}
.nav.away{opacity:0;pointer-events:none;transform:translateY(-16px)}
.nav .wordmark img{height:34px;width:auto}
.nav-links{display:flex;align-items:center;gap:clamp(22px,2.4vw,38px);font-size:12px;letter-spacing:.16em;text-transform:uppercase}
.nav-links a,.nl-svc{color:inherit;text-decoration:none;background:none;border:0;padding:6px 0;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;opacity:.88;transition:opacity .2s,color .2s}
.nav-links a:hover,.nl-svc:hover{opacity:1}
.nl-svc span{display:inline-block;font-size:9px;margin-left:4px;transition:transform .3s}
.nl-svc[aria-expanded=true]{color:#1BFD77;opacity:1}.nl-svc[aria-expanded=true] span{transform:rotate(180deg)}
.nl-audit{border-bottom:1px solid currentColor;padding-bottom:3px!important;opacity:1!important}
.mnav-btn{display:none}
.navdrop{position:absolute;left:0;right:0;top:100%;background:#0B0B0C;color:#F2EEE6;border-top:1px solid rgba(242,238,230,.12);border-bottom:1px solid rgba(242,238,230,.12);
  clip-path:inset(0 0 100% 0);visibility:hidden;transition:clip-path .55s cubic-bezier(.65,0,.35,1),visibility 0s .55s}
.navdrop.on{clip-path:inset(0 0 0 0);visibility:visible;transition:clip-path .55s cubic-bezier(.65,0,.35,1)}
.nd-grid{display:grid;grid-template-columns:repeat(6,1fr)}
.nd-card{display:block;padding:26px 20px 30px;border-right:1px solid rgba(242,238,230,.1);color:#F2EEE6;text-decoration:none;transition:background .3s}
.nd-card:last-child{border-right:0}
.nd-card:hover{background:#151517}
.nd-card img.nd-ic{display:block;width:80px;height:80px;transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.nd-card:hover img.nd-ic{transform:rotateY(360deg)}
.nd-card b{display:block;margin-top:14px;font-family:"Anton",sans-serif;font-weight:400;font-size:clamp(22px,2vw,30px);text-transform:uppercase;line-height:1}
.nd-card em{display:block;margin-top:4px;font-family:"Barlow","Archivo",sans-serif;font-weight:600;font-style:normal;font-size:14px;opacity:.6}
.navdrop.on .nd-card{animation:ndIn .6s cubic-bezier(.2,.7,.2,1) both}
.navdrop.on .nd-card:nth-child(2){animation-delay:.04s}.navdrop.on .nd-card:nth-child(3){animation-delay:.08s}.navdrop.on .nd-card:nth-child(4){animation-delay:.12s}.navdrop.on .nd-card:nth-child(5){animation-delay:.16s}.navdrop.on .nd-card:nth-child(6){animation-delay:.2s}
@keyframes ndIn{from{opacity:0;transform:translateY(16px)}}
.nd-mob{display:none}
@media (max-width:900px){
  .nav{padding:12px var(--pad,20px)}
  .nav .wordmark img{height:30px}
  .nav-links{display:none}
  .mnav-btn{display:inline-flex;align-items:center;height:38px;padding:0 16px;border-radius:999px;border:1px solid currentColor;background:none;color:inherit;font-size:11px;letter-spacing:.14em;cursor:pointer;opacity:.9}
  .mnav-btn[aria-expanded=true]{color:#1BFD77;border-color:#1BFD77}
  .navdrop{height:calc(100svh - 62px);overflow:auto}
  .nd-grid{grid-template-columns:1fr 1fr}
  .nd-card{padding:16px 14px 18px;border-bottom:1px solid rgba(242,238,230,.1)}
  .nd-card:nth-child(2n){border-right:0}
  .nd-card img.nd-ic{width:56px;height:56px}
  .nd-card b{font-size:22px;margin-top:8px}.nd-card em{font-size:12.5px}
  .nd-mob{display:flex;flex-wrap:wrap;gap:14px 22px;padding:22px 16px;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
  .nd-mob a{color:#F2EEE6;text-decoration:none}
}
.sk .ln{fill:none;stroke:#F2EEE6;stroke-width:6;stroke-linecap:round;stroke-linejoin:round}
/* ===== talk widget (replaces the Brief us pill) ===== */
.brief-fab{position:fixed!important;opacity:0!important;pointer-events:none!important;visibility:hidden}
.tdw{position:fixed;z-index:70;right:clamp(16px,3vw,48px);bottom:calc(max(18px,env(safe-area-inset-bottom)) + var(--slack,0px));display:flex;flex-direction:column;align-items:flex-end;gap:14px;
  opacity:0;transform:translateY(20px);pointer-events:none;transition:opacity .45s,transform .45s cubic-bezier(.2,.7,.2,1);font-family:"Archivo",system-ui,sans-serif}
.tdw.on{opacity:1;transform:none}
.tdw.on .tdw-fab,.tdw.on.open .tdw-card{pointer-events:auto}
.tdw svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tdw-fab{position:relative;width:62px;height:62px;border:0;border-radius:50%;cursor:pointer;color:#0B0B0C;background:linear-gradient(135deg,#1162F0,#12BFBD 55%,#1BFD77);
  box-shadow:inset 0 1.5px 1px rgba(255,255,255,.55),inset 0 -6px 12px rgba(0,0,0,.18),0 14px 34px -10px rgba(18,191,189,.7),0 0 0 6px rgba(27,253,119,.08);transition:transform .25s}
.tdw-fab:hover{transform:scale(1.05)}
.tdw-fab span{position:absolute;inset:0;display:grid;place-items:center}
.tdw-fab svg{width:26px;height:26px;stroke-width:2}
.tf-x{opacity:0;visibility:hidden}
.tdw-card{width:min(330px,calc(100vw - 32px));padding:20px 18px 16px;border-radius:22px;color:#F2EEE6;visibility:hidden;opacity:0;
  background:linear-gradient(160deg,rgba(64,68,78,.96),rgba(26,27,31,.97));-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 0 0 1px rgba(255,255,255,.14),0 30px 70px -24px rgba(0,0,0,.8);position:relative}
.tdw-x{position:absolute;z-index:3;top:12px;right:12px;width:28px;height:28px;border:0;border-radius:50%;display:grid;place-items:center;cursor:pointer;color:#F2EEE6;background:rgba(255,255,255,.1)}
.tdw-x svg{width:14px;height:14px}
.tdw-h{display:block;padding-right:34px;font-family:"Barlow","Archivo",sans-serif;font-weight:700;font-size:19px;line-height:1.2}
.tdw-on{display:flex;align-items:center;gap:8px;margin-top:6px;font-size:13.5px;color:#7BE3B0}
.tdw-on i{width:8px;height:8px;border-radius:50%;background:#1BFD77;box-shadow:0 0 0 3px rgba(27,253,119,.2);animation:fabp 2.2s infinite}
.tdw-faces{display:flex;align-items:center;margin-top:14px}
.tdw-faces span,.tdw-faces em{width:38px;height:38px;border-radius:50%;margin-right:-8px;display:grid;place-items:center;background:#0B0B0C;box-shadow:0 0 0 2px #2A2B30}
.tdw-faces img{width:30px;height:30px}
.tdw-faces em{margin:0 0 0 14px;border-radius:12px;background:linear-gradient(135deg,#12BFBD,#1BFD77);color:#0B0B0C;box-shadow:none}
.tdw-btns{display:grid;grid-template-columns:1.2fr 1fr;gap:8px;margin-top:16px}
.tdw-btns a{display:flex;align-items:center;justify-content:center;gap:8px;height:46px;border-radius:14px;text-decoration:none;font-size:14px;font-weight:600}
.tdw-a{background:linear-gradient(90deg,#1162F0,#12BFBD 55%,#1BFD77);color:#0B0B0C}
.tdw-b{background:rgba(255,255,255,.09);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);color:#F2EEE6}
.tdw-b svg{color:#25D366}
.tdw-call{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px;font-size:13px;opacity:.7;text-decoration:none;color:inherit}
.tdw-call svg{width:15px;height:15px}
.tdw-call:hover{opacity:1}
@media (max-width:900px){.tdw-fab{width:56px;height:56px}}
/* phone: hamburger icon instead of the word Menu; turns into an X when open */
@media (max-width:900px){
  .mnav-btn{width:44px;height:44px;padding:0;border:0;border-radius:50%;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;opacity:1}
  .mnav-btn i{display:block;width:22px;height:2px;border-radius:2px;background:currentColor;transition:transform .35s cubic-bezier(.65,0,.35,1),opacity .2s}
  .mnav-btn[aria-expanded=true]{color:#1BFD77}
  .mnav-btn[aria-expanded=true] i:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .mnav-btn[aria-expanded=true] i:nth-child(2){opacity:0}
  .mnav-btn[aria-expanded=true] i:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
}

/* ===== light theme switch ===== */
.th-btn{display:inline-grid;place-items:center;width:36px;height:36px;margin-left:18px;padding:0;border:1px solid currentColor;border-radius:50%;background:none;color:inherit;cursor:pointer;opacity:.85;transition:opacity .2s,transform .4s}
@media (hover:hover){.th-btn:hover{opacity:1;transform:rotate(-20deg)}}
.th-btn svg{grid-area:1/1;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:opacity .3s,transform .4s}
.th-sun{opacity:1}.th-moon{opacity:0;transform:rotate(-60deg) scale(.6)}
html.light .th-sun{opacity:0;transform:rotate(60deg) scale(.6)}html.light .th-moon{opacity:1;transform:none}
html.light{background:#F2EEE6}
html.light body{background:#F2EEE6}
html.light .inv{filter:invert(1) hue-rotate(180deg)}
html.light .inv :is(img,video,picture,iframe,.sh-blob,.sh-o,.rl-stage video):not(.sp-icon,.nd-ic,.wordmark img,.tdw-faces img,.lg-track img,.sh-o img,.sh-o *,img[src*="td_logo"],img[data-logo],.ft-logo){filter:invert(1) hue-rotate(180deg)}
@media (max-width:900px){.th-btn{margin:0 6px 0 auto;border:0;width:40px;height:40px}.th-btn svg{width:20px;height:20px}}
/* nested cards inside an already-flipped section stay flipped once, not twice */
html.light .inv .inv{filter:none}
/* service pages in light: cards become light panels (body already bone) */
html.light body.svc{background:#F2EEE6}
/* light theme: the top bar is always a bone strip (it is inverted, so set it dark here) */
html.light .nav.inv{background:#0B0B0C!important;color:#F2EEE6!important}
/* the client logo wall sits inside a flipped section: give it a bone ground so the flip paints it dark again */
html.light .inv #clients{background:#F2EEE6!important}

/* phones: no hover states on the top-bar controls, and no tap delay */
.th-btn,.mnav-btn,.nl-svc{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
