/* The looks (js/look.js turns the page to night for Obsidian; this sheet is not turned). It holds the Look tab, and the places where a look wants more than a change of colour. */
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500&display=swap');

.lk-tab{position:fixed;right:16px;bottom:16px;z-index:90;display:flex;align-items:center;gap:2px;height:40px;padding:0 4px 0 14px;border-radius:99px;
  background:rgba(255,255,255,.74);border:1px solid rgba(17,19,24,.1);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  box-shadow:0 6px 18px -10px rgba(17,19,24,.18);font:500 12px/1 var(--f);color:#111318;transition:opacity .8s var(--ease)}
.lk-l{margin-right:8px;font-weight:400;color:rgba(17,19,24,.55)}
.lk-tab button{height:30px;padding:0 11px;border:0;border-radius:99px;background:none;font:inherit;color:inherit;cursor:pointer;transition:background .3s var(--ease),color .3s}
.lk-tab button:hover{background:rgba(17,19,24,.07)}
.lk-tab button.on{background:#111318;color:#F4F5F6}
body.is-loading .lk-tab{opacity:0;pointer-events:none}
@media (max-width:860px){.lk-tab{right:10px;bottom:10px;height:36px;padding-left:10px}.lk-l{display:none}.lk-tab button{padding:0 9px}}

/* ============================================================ Obsidian
   The site at night. The pages are deep graphite and the spectrum glows on them (js/look.js, and the night of each WebGL
   scene). On top of that, two things change in kind, not only in colour:
   glass: every floating control is a pane of smoked glass (a blur that keeps the colour behind it alive, a hairline edge
   lit along its top, a soft inner highlight, a deep shadow), and the nav and the Look tab carry a faint rim of the spectrum;
   type: the small labels are set in Geist Mono, in capitals, spaced, like the readouts of an instrument. */
html[data-look="c"]{color-scheme:dark}
html[data-look="c"] ::selection{background:#6E5BFF;color:#fff}

/* the glass */
html[data-look="c"] .nav-pill,
html[data-look="c"] body[data-theme="dark"] .nav-pill,
html[data-look="c"] .cta-hour,
html[data-look="c"] body[data-theme="dark"] .cta-hour,
html[data-look="c"] .lk-tab,
html[data-look="c"] .ix-tab,
html[data-look="c"] body[data-theme="dark"] .ix-tab,
html[data-look="c"] .s-v3d .glass,
html[data-look="c"] .s-v3d.night .glass,
html[data-look="c"] .chips span,html[data-look="c"] .chips a{
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.03));
  -webkit-backdrop-filter:blur(16px) saturate(180%);backdrop-filter:blur(16px) saturate(180%);
  border:1px solid rgba(255,255,255,.1);border-top-color:rgba(255,255,255,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 14px 34px -14px rgba(0,0,0,.7);color:#EEF0F4}
html[data-look="c"] .chips span,html[data-look="c"] .chips a{box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
/* a faint rim of the spectrum round the nav and the Look tab */
html[data-look="c"] .nav-pill,html[data-look="c"] .lk-tab{position:relative}
html[data-look="c"] .lk-tab{position:fixed}
html[data-look="c"] .nav-pill::after,html[data-look="c"] .lk-tab::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;
  background:linear-gradient(100deg,rgba(255,255,255,.34),rgba(110,135,255,.55) 28%,rgba(170,110,255,.42) 52%,rgba(255,110,170,.36) 74%,rgba(255,165,90,.4));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  opacity:.5}
/* what is chosen is lit from inside the glass, not filled white */
html[data-look="c"] .nav-pill a{color:rgba(238,240,244,.74)}
html[data-look="c"] .nav-pill a:hover,html[data-look="c"] .nav-pill a.on,
html[data-look="c"] body[data-theme="dark"] .nav-pill a:hover,html[data-look="c"] body[data-theme="dark"] .nav-pill a.on{
  background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,.07));color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 0 0 1px rgba(255,255,255,.08)}
html[data-look="c"] .cta-hour:hover,html[data-look="c"] .cta-hour:focus-visible,
html[data-look="c"] body[data-theme="dark"] .cta-hour:hover,html[data-look="c"] body[data-theme="dark"] .cta-hour:focus-visible{
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(232,234,242,.9));border-color:rgba(255,255,255,.9);color:#0B0C10}
html[data-look="c"] .lk-l,html[data-look="c"] .ix-l{color:rgba(238,240,244,.5)}
html[data-look="c"] .lk-tab button:hover,html[data-look="c"] .ix-tab button:hover{background:rgba(255,255,255,.08)}
html[data-look="c"] .lk-tab button.on,html[data-look="c"] .ix-tab button.on,html[data-look="c"] body[data-theme="dark"] .ix-tab button.on{
  background:linear-gradient(180deg,rgba(255,255,255,.24),rgba(255,255,255,.08));color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34),inset 0 0 0 1px rgba(255,255,255,.1)}

/* the type: the instrument's readouts */
html[data-look="c"] .lk-l,html[data-look="c"] .ix-l,
html[data-look="c"] .ind-kick,html[data-look="c"] .ind-tag span,html[data-look="c"] .ind-rail span,
html[data-look="c"] .eng-rail span,html[data-look="c"] .lb-k,html[data-look="c"] .b-nums,
html[data-look="c"] .q-box b,html[data-look="c"] .q-cap b,html[data-look="c"] .q-t sup,
html[data-look="c"] .chips span,html[data-look="c"] .chips a{
  font-family:"Geist Mono",ui-monospace,"SF Mono","JetBrains Mono",Menlo,Consolas,monospace;font-weight:400;text-transform:uppercase;letter-spacing:.08em}
html[data-look="c"] .lk-l,html[data-look="c"] .ix-l{font-size:10.5px}
html[data-look="c"] .chips span,html[data-look="c"] .chips a{font-size:10.5px;padding:8px 12px}
html[data-look="c"] .ind-kick{font-size:11px}
html[data-look="c"] .ind-tag span{font-size:10.5px}
html[data-look="c"] .ind-rail span,html[data-look="c"] .eng-rail span{font-size:10px;letter-spacing:.1em}

/* the intro: its big word is cut out of the picture in white (a difference blend), as by day */
html[data-look="c"] .b-word{color:#fff}
/* the question's headline: its accent in a lit spectrum that reads on the night */
html[data-look="c"] .q-h b,html[data-look="o"] .q-h b{background:linear-gradient(92deg,#F4F5F8 0%,#A9B6FF 42%,#B79CFF 74%,#E7A2EE 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
html[data-look="o"] #library .tt{color:#454750}   /* the question at night, its first line the grey Obsidian gives it */

/* no glowing dots at night: the kicker's dot is a short tick, the markers keep only a quiet ring */
html[data-look="c"] .ind-kick i{width:14px;height:1px;border-radius:0;background:linear-gradient(90deg,#FF8A3D,#FF5C9A);box-shadow:none}
html[data-look="c"] .it-dot{box-shadow:0 0 0 3px rgba(255,255,255,.1)}
html[data-look="c"] .ind-rail span.cur::before{box-shadow:0 0 0 4px rgba(255,255,255,.08)}

/* phones: four looks no longer fit beside the intro's tab, so the Look tab sits just above it */
@media (max-width:600px){.lk-tab{bottom:54px;height:34px}.lk-tab button{height:26px;padding:0 9px;font-size:11.5px}}

/* ============================================================ the Original, with three things from Obsidian
   1. the intro at night (js/look.js turns only the intro and the loader); its big word is cut out in white
   2. the glass nav: on the dark sections exactly as in Obsidian; on the light ones the same pane in daylight (frosted white,
      a bright top edge, the faint rim of the spectrum, the chosen link raised as a white key)
   3. the industry's opening screen at night, clearing to the lab's light as the camera sets off for the fibre (main.js sets
      --dk on the section from 1 to 0 as the veil clears) */
html[data-look="o"] .b-word{color:#fff}
html[data-look="o"] .b-nums{font-family:"Geist Mono",ui-monospace,"SF Mono","JetBrains Mono",Menlo,Consolas,monospace;font-weight:400;text-transform:uppercase;letter-spacing:.08em}

html[data-look="o"] .nav-pill,html[data-look="o"] .cta-hour{
  background:linear-gradient(180deg,rgba(var(--nav-c,250,251,254),.8),rgba(var(--nav-c,250,251,254),.54));   /* the nav's tone, set at 250 */
  -webkit-backdrop-filter:blur(16px) saturate(180%);backdrop-filter:blur(16px) saturate(180%);
  border:1px solid rgba(17,19,24,.07);border-top-color:rgba(255,255,255,.95);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 1px 2px rgba(17,19,24,.04),0 14px 34px -16px rgba(17,19,24,.22);color:#111318}
/* the nav pill and the call to action sit flat: no drop shadow under them, only the thin light along their top */
html[data-look="o"] .nav-pill,html[data-look="o"] .cta-hour{box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
/* the call to action wears the same faint spectral rim as the nav pill */
html[data-look="o"] .nav-pill{position:relative}
html[data-look="o"] .nav-pill::after,html[data-look="o"] .cta-hour::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;
  background:linear-gradient(100deg,rgba(255,255,255,.34),rgba(110,135,255,.55) 28%,rgba(170,110,255,.42) 52%,rgba(255,110,170,.36) 74%,rgba(255,165,90,.4));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  opacity:.5}
html[data-look="o"] .nav-pill a{position:relative;isolation:isolate;color:rgba(17,19,24,.75);border:1px solid transparent;padding:6px 14px;
  transition:color .25s var(--ease)}
/* the chosen link: a key of smoked glass, lit along its edge by a light gradient stroke, as on the dark version. The key is its
   own layer that fades in on the same clock as the words turn white (a gradient can't fade, so it used to snap on first) */
html[data-look="o"] .nav-pill a::before{content:"";position:absolute;inset:-1px;z-index:-1;border-radius:inherit;border:1px solid transparent;pointer-events:none;
  background:linear-gradient(180deg,#2C2E36,#111318) padding-box,linear-gradient(180deg,rgba(255,255,255,.55),rgba(255,255,255,.06) 55%,rgba(255,255,255,.22)) border-box;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 3px 9px -5px rgba(17,19,24,.35);opacity:0;transition:opacity .25s var(--ease)}
html[data-look="o"] .nav-pill a:hover,html[data-look="o"] .nav-pill a.on{color:#fff;background:none}
html[data-look="o"] .nav-pill a:hover::before,html[data-look="o"] .nav-pill a.on::before{opacity:1}
/* on the dark sections: Obsidian's smoked glass */
html[data-look="o"] body[data-theme="dark"] .nav-pill,html[data-look="o"] body[data-theme="dark"] .cta-hour{
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.1);border-top-color:rgba(255,255,255,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 14px 34px -14px rgba(0,0,0,.7);color:#EEF0F4}
html[data-look="o"] body[data-theme="dark"] .nav-pill a{color:rgba(238,240,244,.74)}
html[data-look="o"] body[data-theme="dark"] .nav-pill a::before{
  background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,.07)) padding-box;box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 0 0 1px rgba(255,255,255,.08)}
html[data-look="o"] body[data-theme="dark"] .nav-pill a:hover,html[data-look="o"] body[data-theme="dark"] .nav-pill a.on{background:none;color:#fff;box-shadow:none}
html[data-look="o"] body[data-theme="dark"] .cta-hour:hover,html[data-look="o"] body[data-theme="dark"] .cta-hour:focus-visible{
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(232,234,242,.9));border-color:rgba(255,255,255,.9);color:#0B0C10}

/* the industry's opening screen at night */
html[data-look="o"] .ind-veil{background:radial-gradient(75% 65% at 50% 40%,#17181E 0%,rgba(11,12,16,0) 100%),#0B0C10}
html[data-look="o"] .ind-h{color:color-mix(in srgb,#F2F3F6 calc(var(--dk,0) * 100%),#111318)}
html[data-look="o"] .ind-one{color:color-mix(in srgb,#5A5E67 calc(var(--dk,0) * 100%),#B4B8BF)}
html[data-look="o"] .ind-lede{color:color-mix(in srgb,rgba(236,238,243,.62) calc(var(--dk,0) * 100%),rgba(17,19,24,.6))}
/* the call to action: its new colour is brought in by a soft-edged mask sweeping across, the words turning with it
   (here and in Obsidian; the pane itself keeps its glass) */
html[data-look="o"] .cta-hour,html[data-look="c"] .cta-hour{isolation:isolate;transition:transform .35s var(--ease),color .2s linear .13s,border-color .3s var(--ease)}   /* the words turn as the sweep passes its middle */
html[data-look="o"] .cta-hour::before,html[data-look="c"] .cta-hour::before{content:"";position:absolute;inset:-1px;border-radius:inherit;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,#2C2E36,#111318);box-shadow:inset 0 1px 0 rgba(255,255,255,.16);
  -webkit-mask-image:linear-gradient(105deg,#000 44%,transparent 56%);mask-image:linear-gradient(105deg,#000 44%,transparent 56%);
  -webkit-mask-size:260% 100%;mask-size:260% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  -webkit-mask-position:100% 0;mask-position:100% 0;transition:-webkit-mask-position .45s cubic-bezier(.6,0,.25,1),mask-position .45s cubic-bezier(.6,0,.25,1)}
html[data-look="o"] .cta-hour:hover::before,html[data-look="o"] .cta-hour:focus-visible::before,
html[data-look="c"] .cta-hour:hover::before,html[data-look="c"] .cta-hour:focus-visible::before{-webkit-mask-position:0 0;mask-position:0 0}
/* the arrow flies out and the new one in on the sweep's own clock, so arrow and colour arrive together */
html[data-look="o"] .cta-hour .ch-k svg,html[data-look="c"] .cta-hour .ch-k svg{transition:transform .45s cubic-bezier(.6,0,.25,1)}
html[data-look="o"] .cta-hour:hover .ch-k svg+svg,html[data-look="o"] .cta-hour:focus-visible .ch-k svg+svg,
html[data-look="c"] .cta-hour:hover .ch-k svg+svg,html[data-look="c"] .cta-hour:focus-visible .ch-k svg+svg{transition-delay:0s}
html[data-look="o"] .cta-hour:hover,html[data-look="o"] .cta-hour:focus-visible{color:#F4F5F6;border-color:rgba(17,19,24,.3);
  background:linear-gradient(180deg,rgba(255,255,255,.8),rgba(255,255,255,.54))}
/* on the dark: the sweep is of light, and the words turn to ink */
html[data-look="c"] .cta-hour::before,html[data-look="o"] body[data-theme="dark"] .cta-hour::before{background:linear-gradient(180deg,#FFFFFF,#E4E6EE);box-shadow:inset 0 -1px 0 rgba(17,19,24,.08)}
html[data-look="o"] body[data-theme="dark"] .cta-hour:hover,html[data-look="o"] body[data-theme="dark"] .cta-hour:focus-visible,
html[data-look="c"] .cta-hour:hover,html[data-look="c"] .cta-hour:focus-visible,
html[data-look="c"] body[data-theme="dark"] .cta-hour:hover,html[data-look="c"] body[data-theme="dark"] .cta-hour:focus-visible{
  color:#0B0C10;border-color:rgba(255,255,255,.6);background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.03))}
html[data-look="o"] .ind-bg::after{content:"";position:absolute;inset:0;background:radial-gradient(75% 65% at 50% 40%,#17181E 0%,rgba(11,12,16,0) 100%),#0B0C10;opacity:var(--dkb,0)}

/* guard: the industry's giant word has a space letter classed .sp; a section elsewhere uses .sp for itself (css/nv.css), so
   the space keeps its own size here, in every look */

/* the two switchers at the foot of the screen (Hero, Look), kept very small so they stay out of the way */
html[data-look] .lk-tab,html[data-look] .ix-tab{bottom:12px;height:26px;gap:1px;padding:0 3px 0 9px;font-size:10.5px;box-shadow:0 4px 12px -8px rgba(17,19,24,.18)}
html[data-look] .lk-tab{right:12px}
html[data-look] .ix-tab{left:12px}
html[data-look] .lk-l,html[data-look] .ix-l{margin-right:4px;font-size:10px}
html[data-look] .lk-tab button,html[data-look] .ix-tab button{height:20px;min-width:20px;padding:0 7px;font-size:10.5px}
html[data-look] .ix-tab .ix-r svg{width:11px;height:11px}
@media (max-width:860px){html[data-look] .lk-tab,html[data-look] .ix-tab{height:26px}html[data-look] .ix-tab{left:12px}}
@media (max-width:600px){html[data-look] .lk-tab{bottom:54px}}
